1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[657],{40883:function(e,l,i){"use strict";var s=i(83454);let n=i(51141),a=i(17075)||{},d=n.publicUrl,t={assetPrefix:d,distDir:s.env.NEXTJS_DIST_DIR||".next",env:{PUBLIC_URL:d},i18n:{locales:s.env.FRONTEND_MIDDLEWARE_ENABLED?["default","en","sc","tc","zh-HK","zh-CN"]:["en","sc","tc","zh-HK","zh-CN"],defaultLocale:s.env.FRONTEND_MIDDLEWARE_ENABLED?"default":"en"},reactStrictMode:!0,images:{remotePatterns:[{protocol:"https",hostname:"edge*.**",port:""},{protocol:"https",hostname:"feaas*.blob.core.windows.net",port:""}]},rewrites:async()=>[{source:"/sitecore/api/:path*",destination:"".concat(n.sitecoreApiHost,"/sitecore/api/:path*")},{source:"/-/:path*",destination:"".concat(n.sitecoreApiHost,"/-/:path*")},{source:"/healthz",destination:"/api/healthz"},{source:"/sitecore/service/:path*",destination:"".concat(n.sitecoreApiHost,"/sitecore/service/:path*")}],eslint:{ignoreDuringBuilds:!0},typescript:{ignoreBuildErrors:!0},trailingSlash:!0,headers:async()=>[{source:"/(.*)",headers:[{key:"Strict-Transport-Security",value:"max-age=63072000; includeSubDomains; preload"}]}]};e.exports=()=>Object.values(a).reduce((e,l)=>l(e),t)},27251:function(e,l,i){"use strict";i.d(l,{Z:function(){return H}});var s=i(85893),n=i(28991),a=i.n(n),d=i(76137),t=i.n(d),o=i(67294),r=i(9008),c=i.n(r),v=i(89508),u=i(53369),m=i(41134),x=i(6218),p=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u.Z,{}),(0,s.jsx)(m.default,{}),(0,s.jsx)(x.default,{})]}),h=i(88080),f=i(14318),g=i(63650),j=i(86859),N=i(72867),b=i(27769),T=i(52686),S=i(69107),k=i(88867),w=i(14448),y=i(27447),E=i(20758),C=i(6942),O=i(44524),L=i(97223),I=i(30947),F=i(67687),_=i(11163),M=i(55169),R=i(92484),P=i(19692),A=i(31955),D=i(4298),B=i.n(D),V=i(53007);let W=(0,M.WP)();var H=e=>{var l,i,n,d,r,u,m,x,M,D,H,G,U,z,q,Q;let{layoutData:Y,headLinks:K}=e,{route:Z}=Y.sitecore,J=null==Z?void 0:Z.fields,X=Y.sitecore.context.pageEditing,ee={pathname:null!==(Q=null===(l=Y.sitecore.context.itemPath)||void 0===l?void 0:l.toString())&&void 0!==Q?Q:"/"},el=(0,_.useRouter)(),ei=(null===(i=J.CanonicalUrl)||void 0===i?void 0:i.value.href)?null===(d=J.CanonicalUrl)||void 0===d?void 0:null===(n=d.value.href)||void 0===n?void 0:n.toLowerCase():"".concat(W,"/").concat(el.locale).concat(el.asPath).toLowerCase();return(0,o.useEffect)(()=>{var e,l,i,s,n;try{let e=(0,R.Xy)("triggersignin"),l=A.Z.get(e);if(l){let[i,s,n]=l.split("|");(0,P.sendGTMEvent)({event:"login_signup_status",login_or_signup:"login",status:s,method:i,member_id:n,intent:"successful login"}),A.Z.remove(e,{secure:e.startsWith("__Secure")})}}catch(e){console.error(e)}(null==Y?void 0:null===(l=Y.sitecore)||void 0===l?void 0:null===(e=l.context)||void 0===e?void 0:e.language)&&(window.lang=null==Y?void 0:null===(n=Y.sitecore)||void 0===n?void 0:null===(s=n.context)||void 0===s?void 0:null===(i=s.language)||void 0===i?void 0:i.toLowerCase(),document.body.setAttribute("data-lang",window.lang))},[]),[(null==J?void 0:null===(r=J.NoIndex)||void 0===r?void 0:r.value)?"noindex":"index",(null==J?void 0:null===(u=J.NoFollow)||void 0===u?void 0:u.value)?"nofollow":"follow"].join(", "),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p,{}),(0,s.jsxs)(c(),{children:[(0,s.jsx)("title",{children:(null==J?void 0:null===(m=J.PageTitle)||void 0===m?void 0:m.value)?null==J?void 0:null===(M=J.PageTitle)||void 0===M?void 0:null===(x=M.value)||void 0===x?void 0:x.toString():null==J?void 0:null===(H=J.Title)||void 0===H?void 0:null===(D=H.value)||void 0===D?void 0:D.toString()}),(0,s.jsx)(V.default,{...ee,locale:el.locale||"en"}),(0,s.jsx)("link",{rel:"canonical",href:ei},"link-canonical"),(0,s.jsx)("meta",{name:"description",content:null==J?void 0:null===(U=J.MetaDescription)||void 0===U?void 0:null===(G=U.value)||void 0===G?void 0:G.toString()},"meta-description"),(0,s.jsx)("meta",{name:"keywords",content:null==J?void 0:null===(q=J.MetaKeywords)||void 0===q?void 0:null===(z=q.value)||void 0===z?void 0:z.toString()},"meta-keywords"),K.map(e=>(0,s.jsx)("link",{rel:e.rel,href:e.href},e.href)),(0,s.jsx)(O.ThcIconMetadata,{...ee}),(0,s.jsx)(F.TmhIconMetadata,{...ee}),(0,s.jsx)(L.TthIconMetadata,{...ee}),(0,s.jsx)(I.TuhIconMetadata,{...ee}),(0,s.jsx)(f.ThcStyles,{...ee}),(0,s.jsx)(b.TmhStyles,{...ee}),(0,s.jsx)(S.TthStyles,{...ee}),(0,s.jsx)(E.TuhStyles,{...ee}),(0,s.jsx)(g.ThcScripts,{...ee}),(0,s.jsx)(N.TmhScripts,{...ee}),(0,s.jsx)(k.TthScripts,{...ee}),(0,s.jsx)(y.TuhScripts,{...ee})]}),(0,s.jsx)(B(),{id:"aliyun-captcha-config",children:"window.AliyunCaptchaConfig = ".concat(JSON.stringify({region:"cn",prefix:"52ble1j"}),";")}
1),(0,s.jsxs)("div",{className:"".concat(X?"editing-mode":"prod-mode"," ").concat(a().variable," ").concat(t().variable),children:[(0,s.jsxs)("div",{className:"global-container",children:[Z&&(0,s.jsx)(v.V,{name:"headless-header",rendering:Z}),Z&&(0,s.jsx)(v.V,{name:"headless-main",rendering:Z}),Z&&(0,s.jsx)(v.V,{name:"headless-footer",rendering:Z})]}),Z&&(0,s.jsx)(v.V,{name:"thc-gdpr",rendering:Z}),Z&&(0,s.jsx)(v.V,{name:"toh-gdpr",rendering:Z}),(0,s.jsx)(j.ThcScriptsBottom,{...ee}),(0,s.jsx)(T.TmhScriptsBottom,{...ee}),(0,s.jsx)(w.TthScriptsBottom,{...ee}),(0,s.jsx)(C.TuhScriptsBottom,{...ee}),(0,s.jsx)(h.default,{})]})]})}},53369:function(e,l,i){"use strict";i.d(l,{Z:function(){return o}});var s=i(64351);i(37708);var n=i(5152),a=i.n(n),d=i(91863);s.Xq(d.D);let t=a()(()=>i.e(68).then(i.bind(i,79068)),{loadableGenerated:{webpack:()=>[79068]},ssr:!1});s.v4(a(),t);var o=s.cd},41134:function(e,l,i){"use strict";i.r(l);var s=i(85893),n=i(32862),a=i(82796),d=i(3151),t=i(67294),o=i(51141),r=i.n(o),c=i(91863);l.default=()=>{let{sitecoreContext:{pageState:e,route:l,variantId:i,site:o}}=(0,n.z)(),v=()=>!1;return(0,t.useEffect)(()=>{if(e!==a.LayoutServicePageState.Normal||!(null==l?void 0:l.itemId)||v())return;let s=l.itemLanguage||r().defaultLanguage,n=d.sn.getPageVariantId(l.itemId,s,i,"");c.D.getSDK("Events").then(e=>e.pageView({channel:"WEB",currency:"USD",page:l.name,pageVariantId:n,language:s})).catch(e=>console.debug(e))},[e,l,i,o]),(0,s.jsx)(s.Fragment,{})}},6218:function(e,l,i){"use strict";i.r(l);var s=i(85893),n=i(25675),a=i.n(n),d=i(64351),t=i(40883),o=i.n(t);l.default=()=>{let e=e=>e.replace(".","\\.").replace(/\*/g,".*"),l=l=>{if(l.startsWith("http")){var i,s;let n=new URL(l),a=(null===(i=o()().images)||void 0===i?void 0:i.domains)||[],d=(null===(s=o()().images)||void 0===s?void 0:s.remotePatterns)||[];return a.some(e=>n.hostname===e)||d.some(l=>l.protocol===n.protocol.slice(0,-1)&&RegExp("^"+e(l.hostname)+"$").test(n.hostname))}return!0};return d.he("img",e=>{let{children:i,src:n,alt:d,...t}=e;return(0,s.jsx)(a(),{height:1920,width:1200,unoptimized:!l(n),src:n,alt:d,...t})}),(0,s.jsx)(s.Fragment,{})}},44524:function(e,l,i){"use strict";i.r(l),i.d(l,{ThcIconMetadata:function(){return a}});var s=i(85893),n=i(62262);let a=e=>{let{pathname:l}=e;return(0,n.NR)(l)!=n.Kc.thc?(0,s.jsx)(s.Fragment,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/upper-house/favicon/upperhouse-apple-icon-57x57.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/upper-house/favicon/upperhouse-apple-icon-60x60.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/upper-house/favicon/upperhouse-apple-icon-72x72.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/upper-house/favicon/upperhouse-apple-icon-76x76.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/upper-house/favicon/upperhouse-apple-icon-114x114.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/upper-house/favicon/upperhouse-apple-icon-120x120.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/upper-house/favicon/upperhouse-apple-icon-144x144.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/upper-house/favicon/upperhouse-apple-icon-152x152.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/upper-house/favicon/upperhouse-apple-icon-180x180.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/upper-house/favicon/upperhouse-android-icon-192x192.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/upper-house/favicon/upperhouse-favicon-32x32.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/upper-house/favicon/upperhouse-favicon-96x96.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/upper-house/favicon/upperhouse-favicon-16x16.png"}),(0,s.jsx)("link",{rel:"manifest",href:"/upper-house/favicon/manifest.json"}),(0,s.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,s.jsx)("meta",{name:"msapplication-TileImage",content:"/upper-house/favicon/upperhouse-ms-icon-144x144.png"}),(0,s.jsx)("meta",{name:"theme-color",content:"#ffffff"})]})}},67687:function(e,l,i){"use strict";i.r(l),i.d(l,{TmhIconMetadata:function(){return a}});var s=i(85893),n=i(62262);let a=e=>{let{pathname:l}=e;return(0,n.NR)(l)!=n.Kc.tmh?(0,s.jsx)(s.Fragment,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/upper-house/favicon/upperhouse-apple-icon-57x57.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/upper-house/favicon/upperhouse-apple-icon-60x60.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/upper-house/favicon/upperhouse-apple-icon-72x72.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/upper-house/favicon/upperhouse-apple-icon-76x76.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/upper-house/favicon/upperhouse-apple-icon-114x114.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/upper-house/favicon/upperhouse-apple-icon-120x120.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/upper-house/favicon/upperhouse-apple-icon-144x144.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/upper-house/favicon/upperhouse-apple-icon-152x152.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/upper-house/favicon/upperhouse-apple-icon-180x180.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/upper-house/favicon/upperhouse-android-icon-192x192.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/upper-house/favicon/upperhouse-favicon-32x32.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/upper-house/favicon/upperhouse-favicon-96x96.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/upper-house/favicon/upperhouse-favicon-16x16.png"}),(0,s.jsx)("link",{rel:"manifest",href:"/upper-house/favicon/manifest.json"}),(0,s.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,s.jsx)("meta",{name:"msapplication-TileImage",content:"/upper-house/favicon/upperhouse-ms-icon-144x144.png"}),(0,s.jsx)("meta",{name:"theme-color",content:"#ffffff"})]})}},97223:function(e,l,i){"use strict";i.r(l),i.d(l,{TthIconMetadata:function(){return a}});var s=i(85893),n=i(62262);let a=e=>{let{pathname:l}=e;return(0,n.NR)(l)!=n.Kc.tth?(0,s.jsx)(s.Fragment,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/upper-house/favicon/upperhouse-apple-icon-57x57.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/upper-house/favicon/upperhouse-apple-icon-60x60.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/upper-house/favicon/upperhouse-apple-icon-72x72.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/upper-house/favicon/upperhouse-apple-icon-76x76.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/upper-house/favicon/upperhouse-apple-icon-114x114.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/upper-house/favicon/upperhouse-apple-icon-120x120.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/upper-house/favicon/upperhouse-apple-icon-144x144.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/upper-house/favicon/upperhouse-apple-icon-152x152.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/upper-house/favicon/upperhouse-apple-icon-180x180.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/upper-house/favicon/upperhouse-android-icon-192x192.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/upper-house/favicon/upperhouse-favicon-32x32.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/upper-house/favicon/upperhouse-favicon-96x96.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/upper-house/favicon/upperhouse-favicon-16x16.png"}),(0,s.jsx)("link",{rel:"manifest",href:"/upper-house/favicon/manifest.json"}),(0,s.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,s.jsx)("meta",{name:"msapplication-TileImage",content:"/upper-house/favicon/upperhouse-ms-icon-144x144.png"}),(0,s.jsx)("meta",{name:"theme-color",content:"#ffffff"})]})}},30947:function(e,l,i){"use strict";i.r(l),i.d(l,{TuhIconMetadata:function(){return a}});var s=i(85893),n=i(62262);let a=e=>{let{pathname:l}=e;return(0,n.NR)(l)!=n.Kc.tuh?(0,s.jsx)(s.Fragment,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/upper-house/favicon/upperhouse-apple-icon-57x57.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/upper-house/favicon/upperhouse-apple-icon-60x60.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/upper-house/favicon/upperhouse-apple-icon-72x72.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/upper-house/favicon/upperhouse-apple-icon-76x76.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/upper-house/favicon/upperhouse-apple-icon-114x114.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/upper-house/favicon/upperhouse-apple-icon-120x120.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/upper-house/favicon/upperhouse-apple-icon-144x144.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/upper-house/favicon/upperhouse-apple-icon-152x152.png"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/upper-house/favicon/upperhouse-apple-icon-180x180.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/upper-house/favicon/upperhouse-android-icon-192x192.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/upper-house/favicon/upperhouse-favicon-32x32.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/upper-house/favicon/upperhouse-favicon-96x96.png"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/upper-house/favicon/upperhouse-favicon-16x16.png"}),(0,s.jsx)("link",{rel:"manifest",href:"/upper-house/favicon/manifest.json"}),(0,s.jsx)("meta",{name:"msapplication-TileColor",content:"#ffffff"}),(0,s.jsx)("meta",{name:"msapplication-TileImage",content:"/upper-house/favicon/upperhouse-ms-icon-144x144.png"}),(0,s.jsx)("meta",{name:"theme-color",content:"#ffffff"})]})}},63650:function(e,l,i){"use strict";i.r(l),i.d(l,{ThcScripts:function(){return t}});var s=i(85893),n=i(97024),a=i(62262);let d=["/files/the-house-collective/js/jquery-3.5.1.min.js","/files/the-house-collective/js/bootstrap.min.js","/files/the-house-collective/js/swiper.min.js","/files/the-house-collective/js/t-datepicker.min.js","/files/the-house-collective/js/typekit.min.js","/files/the-house-collective/js/perfect-scrollbar.min.js","/files/the-house-collective/js/jquery.mCustomScrollbar.min.js","/files/the-house-collective/js/msal-browser.min.js","/files/the-house-collective/js/amp.min.js"],t=e=>{let{pathname:l}=e;return(0,a.NR)(l)!=a.Kc.thc?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(n.CssJsBlock,{files:d,assetType:"js"})}},86859:function(e,l,i){"use strict";i.r(l),i.d(l,{ThcScriptsBottom:function(){return t}});var s=i(85893),n=i(97024),a=i(62262);let d=["/files/the-house-collective/js/thc-main.min.js","/files/the-house-collective/js/main.min.js?v=20241019","/files/the-house-collective/js/tab-ajax.min.js","/files/the-house-collective/js/jquery.validate.min.js","/files/the-house-collective/js/select2.full.min.js","/files/the-house-collective/js/perfect-scrollbar.min.js","/files/the-house-collective/js/tracking.min.js","/files/the-house-collective/js/anime.min.js","/files/the-house-collective/js/langfix.js","/files/the-house-collective/js/main-footer.min.js","/files/the-house-collective/js/shareFB.min.js","//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/js/all.min.js"],t=e=>{let{pathname:l}=e;return(0,a.NR)(l)!=a.Kc.thc?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(n.CssJsBlock,{files:d,assetType:"js"})}},14318:function(e,l,i){"use strict";i.r(l),i.d(l,{ThcStyles:function(){return t}});var s=i(85893),n=i(97024),a=i(62262);let d=["/files/the-house-collective/fontawesome/css/all.min.css","/files/the-house-collective/css/bootstrap.min.css","/files/the-house-collective/css/fonts.min.css","/files/the-house-collective/css/form.min.css","/files/the-house-collective/css/reset.min.css","/files/the-house-collective/css/swiper.min.css","/files/the-house-collective/css/master.min.css","/files/the-house-collective/css/part
1-footer.min.css","/files/the-house-collective/css/part-header.min.css","/files/the-house-collective/css/nav.min.css","/files/the-house-collective/css/modules.min.css","/files/the-house-collective/css/sliders.min.css","/files/the-house-collective/css/t-datepicker.min.css","/files/the-house-collective/css/select2.min.css","/files/the-house-collective/css/jquery.mCustomScrollbar.min.css","/files/the-house-collective/css/amp.min.css","/files/the-house-collective/css/thc_updates.css","/files/common/css/azuremediaplayer.min.css"],t=e=>{let{pathname:l}=e;return(0,a.NR)(l)!=a.Kc.thc?(0,s.jsx)(s.Fragment,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.CssJsBlock,{files:d,assetType:"css"}),(0,s.jsx)("style",{type:"text/css",dangerouslySetInnerHTML:{__html:'@media only screen and (min-width: 992px) {\n .header--desktop {\n display: inline-flex !important;\n }\n }\n \n \n \n body .menu--mobile .keep-in-touch a {\n width: 100%;\n height: 80px;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n }\n \n .prelogin-btn, .postlogin-btn {\n display: none !important;\n }\n \n .nav-list.ps li[data-subnav="0"], .nav-list.ps li[data-subnav="1"] {\n display: none !important;\n }'}})]})}},72867:function(e,l,i){"use strict";i.r(l),i.d(l,{TmhScripts:function(){return t}});var s=i(85893),n=i(97024),a=i(62262);let d=["/files/the-middle-house/js/jquery-3.5.1.min.js","/files/the-middle-house/js/jquery-ui.min.js","/files/the-middle-house/js/bootstrap.min.js","/files/the-middle-house/js/swiper.min.js","/files/the-middle-house/js/t-datepicker.min.js","/files/the-middle-house/js/jquery.waitforimages.min.js","/files/the-middle-house/js/select2.full.min.js","/files/the-middle-house/js/jquery.validate.min.js","/files/the-middle-house/js/gmap.min.js","/files/the-middle-house/js/typekit.min.js","/files/the-upper-house/js/amp.min.js","/files/the-middle-house/js/perfect-scrollbar.min.js","/files/the-middle-house/js/jquery.mCustomScrollbar.min.js","/files/the-house-collective/js/msal-browser.min.js"],t=e=>{let{pathname:l}=e;return(0,a.NR)(l)!=a.Kc.tmh?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(n.CssJsBlock,{files:d,assetType:"js"})}},52686:function(e,l,i){"use strict";i.r(l),i.d(l,{TmhScriptsBottom:function(){return t}});var s=i(85893),n=i(97024),a=i(62262);let d=["/files/the-middle-house/js/properties-main.min.js","/files/the-middle-house/js/properties-tmh.min.js","/files/the-house-collective/js/tab-ajax.min.js","/files/the-middle-house/js/tab-ajax.min.js","/files/the-middle-house/js/tracking.min.js","/files/the-middle-house/js/perfect-scrollbar.min.js","/files/the-house-collective/js/langfix.js","/files/the-middle-house/js/main-footer.min.js","/files/the-middle-house/js/shareFB.min.js","//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/js/all.min.js"],t=e=>{let{pathname:l}=e;return(0,a.NR)(l)!=a.Kc.tmh?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(n.CssJsBlock,{files:d,assetType:"js"})}},27769:function(e,l,i){"use strict";i.r(l),i.d(l,{TmhStyles:function(){return t}});var s=i(85893),n=i(97024),a=i(62262);let d=["/files/the-middle-house/fontawesome/css/all.min.css","/files/the-middle-house/css/bootstrap.min.css","/files/the-middle-house/css/jquery-ui.min.css","/files/the-middle-house/css/fonts.min.css","/files/the-middle-house/css/form.min.css","/files/the-middle-house/css/reset.min.css","/files/the-middle-house/css/swiper.min.css","/files/the-middle-house/css/properties-master.min.css","/files/the-middle-house/css/part-footer.min.css","/files/the-middle-house/css/part-header.min.css","/files/the-middle-house/css/nav.min.css","/files/the-middle-house/css/properties-modules.min.css","/files/the-middle-house/css/properties-sliders.min.css","/files/the-middle-house/css/t-datepicker.min.css","/files/the-middle-house/css/select2.min.css","/files/common/css/azuremediaplayer.min.css","/files/the-middle-house/css/jquery.mCustomScrollbar.min.css"],t=e=>{let{pathname:l}=e;return(0,a.NR)(l)!=a.Kc.tmh?(0,s.jsx)(s.Fragment,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.CssJsBlock,{files:d,assetType:"css"}),(0,s.jsx)("style",{type:"text/css",dangerouslySetInnerHTML:{__html:'::selection{background: #718275 !important;}\n\n\n@media only screen and (min-width: 992px) {\n.header--desktop {\n display: inline-flex !important;\n}\n}\n\n\n\nbody .menu--mobile .keep-in-touch a {\n width: 100%;\n height: 80px;\n display: flex;\n justify-content: center;
1\n align-items: center;\n position: relative;\n}\n\n.prelogin-btn, .postlogin-btn {\n display: none !important;\n}\n\n.nav-list.ps li[data-subnav="0"], .nav-list.ps li[data-subnav="1"] {\ndisplay: none !important;\n}'}})]})}},88867:function(e,l,i){"use strict";i.r(l),i.d(l,{TthScripts:function(){return t}});var s=i(85893),n=i(97024),a=i(62262);let d=["/files/the-temple-house/js/jquery-3.5.1.min.js","/files/the-temple-house/js/jquery-ui.min.js","/files/the-temple-house/js/jquery.ripples.min.js","/files/the-temple-house/js/bootstrap.min.js","/files/the-temple-house/js/swiper.min.js","/files/the-temple-house/js/t-datepicker.min.js","/files/the-temple-house/js/jquery.waitforimages.min.js","/files/the-temple-house/js/jquery.validate.min.js","/files/the-temple-house/js/select2.full.min.js","/files/the-temple-house/js/gmap.min.js","/files/the-temple-house/js/typekit.min.js","/files/the-upper-house/js/amp.min.js","/files/the-temple-house/js/perfect-scrollbar.min.js","/files/the-temple-house/js/jquery.mCustomScrollbar.min.js","/files/the-house-collective/js/msal-browser.min.js"],t=e=>{let{pathname:l}=e;return(0,a.NR)(l)!=a.Kc.tth?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(n.CssJsBlock,{files:d,assetType:"js"})}},14448:function(e,l,i){"use strict";i.r(l),i.d(l,{TthScriptsBottom:function(){return t}});var s=i(85893),n=i(97024),a=i(62262);let d=["/files/the-temple-house/js/properties-main.min.js","/files/the-temple-house/js/properties-tth.min.js","/files/the-house-collective/js/tab-ajax.min.js","/files/the-temple-house/js/tab-ajax.min.js","/files/the-temple-house/js/tracking.min.js","/files/the-temple-house/js/perfect-scrollbar.min.js","/files/the-house-collective/js/langfix.js","/files/the-temple-house/js/main-footer.min.js","/files/the-temple-house/js/shareFB.min.js","//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/js/all.min.js"],t=e=>{let{pathname:l}=e;return(0,a.NR)(l)!=a.Kc.tth?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(n.CssJsBlock,{files:d,assetType:"js"})}},69107:function(e,l,i){"use strict";i.r(l),i.d(l,{TthStyles:function(){return t}});var s=i(85893),n=i(97024),a=i(62262);let d=["/files/the-temple-house/fontawesome/css/all.min.css","/files/the-temple-house/css/bootstrap.min.css","/files/the-temple-house/css/jquery-ui.min.css","/files/the-temple-house/css/fonts.min.css","/files/the-temple-house/css/form.min.css","/files/the-temple-house/css/reset.min.css","/files/the-temple-house/css/swiper.min.css","/files/the-temple-house/css/properties-master.min.css","/files/the-temple-house/css/part-footer.min.css","/files/the-temple-house/css/part-header.min.css","/files/the-temple-house/css/nav.min.css","/files/the-temple-house/css/properties-modules.min.css","/files/the-temple-house/css/properties-sliders.min.css","/files/the-temple-house/css/t-datepicker.min.css","/files/the-temple-house/css/select2.min.css","/files/common/css/azuremediaplayer.min.css","/files/the-temple-house/css/jquery.mCustomScrollbar.min.css"],t=e=>{let{pathname:l}=e;return(0,a.NR)(l)!=a.Kc.tth?(0,s.jsx)(s.Fragment,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.CssJsBlock,{files:d,assetType:"css"}),(0,s.jsx)("style",{type:"text/css",dangerouslySetInnerHTML:{__html:'::selection{background: #718275 !important;}\n\n\n@media only screen and (min-width: 992px) {\n.header--desktop {\n display: inline-flex !important;\n}\n}\n\n\n\nbody .menu--mobile .keep-in-touch a {\n width: 100%;\n height: 80px;\n display: flex;\n justify-content: center;
1\n align-items: center;\n position: relative;\n}\n\n.prelogin-btn, .postlogin-btn {\n display: none !important;\n}\n\n.nav-list.ps li[data-subnav="0"], .nav-list.ps li[data-subnav="1"] {\ndisplay: none !important;\n}'}})]})}},27447:function(e,l,i){"use strict";i.r(l),i.d(l,{TuhScripts:function(){return t}});var s=i(85893),n=i(97024),a=i(62262);let d=["/files/the-upper-house/js/jquery-3.5.1.min.js","/files/the-upper-house/js/jquery-ui.min.js","/files/the-upper-house/js/bootstrap.min.js","/files/the-upper-house/js/swiper.min.js","/files/the-upper-house/js/t-datepicker.min.js","/files/the-upper-house/js/jquery.waitforimages.min.js","/files/the-upper-house/js/jquery.validate.min.js","/files/the-upper-house/js/select2.full.min.js","/files/the-upper-house/js/gmap.min.js","/files/the-upper-house/js/typekit.min.js","/files/the-upper-house/js/amp.min.js","/files/the-upper-house/js/perfect-scrollbar.min.js","/files/the-upper-house/js/jquery.mCustomScrollbar.min.js","/files/the-house-collective/js/msal-browser.min.js"],t=e=>{let{pathname:l}=e;return(0,a.NR)(l)!=a.Kc.tuh?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(n.CssJsBlock,{files:d,assetType:"js"})}},6942:function(e,l,i){"use strict";i.r(l),i.d(l,{TuhScriptsBottom:function(){return t}});var s=i(85893),n=i(97024),a=i(62262);let d=["/files/the-upper-house/js/properties-main.min.js","/files/the-upper-house/js/properties-tuh.min.js","/files/the-house-collective/js/tab-ajax.min.js","/files/the-upper-house/js/tab-ajax.min.js","/files/the-upper-house/js/tracking.min.js","/files/the-upper-house/js/perfect-scrollbar.min.js","/files/the-house-collective/js/langfix.js","/files/the-upper-house/js/main-footer.min.js","/files/the-upper-house/js/shareFB.min.js","//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/js/all.min.js"],t=e=>{let{pathname:l}=e;return(0,a.NR)(l)!=a.Kc.tuh?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(n.CssJsBlock,{files:d,assetType:"js"})}},20758:function(e,l,i){"use strict";i.r(l),i.d(l,{TuhStyles:function(){return t}});var s=i(85893),n=i(97024),a=i(62262);let d=["/files/the-upper-house/fontawesome/css/all.min.css","/files/the-upper-house/css/bootstrap.min.css","/files/the-upper-house/css/jquery-ui.min.css","/files/the-upper-house/css/fonts.min.css","/files/the-upper-house/css/form.min.css","/files/the-upper-house/css/reset.min.css","/files/the-upper-house/css/swiper.min.css","/files/the-upper-house/css/properties-master.min.css","/files/the-upper-house/css/part-footer.min.css","/files/the-upper-house/css/part-header.min.css","/files/the-upper-house/css/nav.min.css","/files/the-upper-house/css/properties-modules.min.css","/files/the-upper-house/css/properties-sliders.min.css","/files/the-upper-house/css/t-datepicker.min.css","/files/the-upper-house/css/select2.min.css","/files/common/css/azuremediaplayer.min.css","/files/the-upper-house/css/jquery.mCustomScrollbar.min.css"],t=e=>{let{pathname:l}=e;return(0,a.NR)(l)!=a.Kc.tuh?(0,s.jsx)(s.Fragment,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.CssJsBlock,{files:d,assetType:"css"}),(0,s.jsx)("style",{type:"text/css",dangerouslySetInnerHTML:{__html:'::selection{background: #a19581 !important;}\n\n@media only screen and (min-width: 992px) {\n.header--desktop {\n display: inline-flex !important;\n}\n}\n\n\n\nbody .menu--mobile .keep-in-touch a {\n width: 100%;\n height: 80px;\n display: flex;\n justify-content: center;
1\n align-items: center;\n position: relative;\n}\n\n.prelogin-btn, .postlogin-btn {\n display: none !important;\n}\n\n.nav-list.ps li[data-subnav="0"], .nav-list.ps li[data-subnav="1"] {\ndisplay: none !important;\n}'}})]})}},53007:function(e,l,i){"use strict";i.r(l);var s=i(85893),n=i(47978),a=i(51141),d=i.n(a);let t=e=>{let{pathname:l,locale:i}=e,a="/"===l,t="en"===i,o=d().publicUrl.endsWith("/")?d().publicUrl:"".concat(d().publicUrl,"/");return n.Z.common("SchemaMarkup render, isHomePage: ".concat(a,", isEnLocale: ").concat(t,", itemPath: ").concat(l)),(0,s.jsx)(s.Fragment,{children:a&&t&&(0,s.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"Hotel",name:"Upper House",url:o,logo:"".concat("https://edge.sitecorecloud.io/swirehotels1-swirehotels-production-ebf6","/media/SwireHotels/TheHouseCollective/Images/UH-logo.png?h=60&iar=0&w=352")},null,2)}})})};t.displayName="SchemaMarkup",l.default=t},97024:function(e,l,i){"use strict";i.r(l),i.d(l,{CssJsBlock:function(){return d}});var s=i(85893),n=i(55169),a=i(67294);let d=e=>{let{files:l,assetType:i}=e,d=(0,n.WP)();return(0,s.jsxs)(s.Fragment,{children:[(null==l?void 0:l.length)&&l.map((e,l)=>{let n=e.startsWith("/files/")?"".concat(d).concat(e):e;return(0,s.jsxs)(a.Fragment,{children:["css"===i&&(0,s.jsx)("link",{href:n,rel:"stylesheet"},l),"js"===i&&(0,s.jsx)("script",{defer:!0,src:n})]},l)}),(0,s.jsx)("link",{href:d+"/files/the-house-collective/css/select2.min.css",rel:"stylesheet"},999),(0,s.jsx)("link",{href:d+"/files/the-house-collective/css/jquery.mCustomScrollbar.min.css",rel:"stylesheet"},1e3),(0,s.jsx)("link",{href:d+"/files/the-house-collective/css/amp.min.css",rel:"stylesheet"},1001),(0,s.jsx)("link",{href:d+"/files/the-house-collective/css/thc_updates.css",rel:"stylesheet"},1002),(0,s.jsx)("link",{href:"/files/common/css/azuremediaplayer.min.css",rel:"stylesheet"},1003)]})}},88080:function(e,l,i){"use strict";i.r(l);var s=i(85893);l.default=()=>(0,s.jsxs)("div",{className:"lightbox lightbox--video","data-vid":"detail-hero-vid",children:[(0,s.jsx)("div",{className:"close-btn",children:(0,s.jsx)("div",{})}),(0,s.jsx)("div",{className:"wrapper",children:(0,s.jsx)("div",{className:"lightbox__wrap"})})]})},86878:function(e,l,i){"use strict";i.d(l,{D:function(){return m},q:function(){return u}});var s=i(79602),n=i(51141),a=i.n(n),d=i(42390);let t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetItemChildren"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"rootItemId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"templates"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pageSize"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},defaultValue:{kind:"IntValue",value:"10"}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"item"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"rootItemId"}}},{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"template"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"fields"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",name:{kind:"Name",value:"children"},arguments:[{kind:"Argument",name:{kind:"Name",value:"includeTemplateIDs"},value:{kind:"Variable",name:{kind:"Name",value:"templates"}}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"pageSize"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"results"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"url"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"path"}}]}},{kind:"Field",name:{kind:"Name",value:"path"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"template"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"fields"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"endCursor"}},{kind:"Field",name:{kind:"Name",value:"hasNext"}}]}},{kind:"Field",name:{kind:"Name",value:"total"}}]}}]}}]}}]};var o=i(4285),r=i(47978);let c="Service[GetItemChildren]",v=(0,o.J3)(c),u=async function(e,l,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,u=!(arguments.length>4)||void 0===arguments[4]||arguments[4],m=(0,o.ah)("GetItemChildrenService",{startItem:e,templateId:l,language:i,first:n.toString(),all:u.toString()}),x=await v.get(m);
1if((0,o.Dx)()&&x)return r.Z.common("[".concat(c,"] get cached value for ").concat(m)),x;let p=(0,s.W)(a())({}),h=[],f=performance.now(),g=l.split("|"),j=!0,N="";for(;j;){var b,T,S;let l=await p.request(t,{rootItemId:e,templates:g,language:i,after:N,pageSize:n});(null==l?void 0:null===(S=l.item)||void 0===S?void 0:null===(T=S.children)||void 0===T?void 0:null===(b=T.results)||void 0===b?void 0:b.length)?(h.push(...l.item.children.results.map(e=>(0,d.K1)(e))),j=u&&l.item.children.pageInfo.hasNext,N=l.item.children.pageInfo.endCursor):j=!1}await v.set(m,h);let k=performance.now();return console.log("".concat(c," taken to execute : ").concat(k-f,"ms for ").concat(m,".")),h},m=async function(e,l,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,u=!(arguments.length>4)||void 0===arguments[4]||arguments[4],m=(0,o.ah)("GetItemChildrenItemService",{startItem:e,templateId:l,language:i,first:n.toString(),all:u.toString()}),x=await v.get(m);if((0,o.Dx)()&&x)return r.Z.common("[".concat(c,"] get cached value for ").concat(m)),x;let p=(0,s.W)(a())({}),h=[],f=performance.now(),g=l.split("|").map(e=>(0,d.Z9)(e)),j=!0,N="";for(;j;){var b,T,S,k,w,y,E,C,O;let l=await p.request(t,{rootItemId:(0,d.Z9)(e),templates:g,language:i,after:N,pageSize:n});(null===(S=l.item)||void 0===S?void 0:null===(T=S.children)||void 0===T?void 0:null===(b=T.results)||void 0===b?void 0:b.length)&&h.push(...l.item.children.results.map(l=>(l.parentId=e,(0,d.M0)(l)))),j=u&&(null===(y=l.item)||void 0===y?void 0:null===(w=y.children)||void 0===w?void 0:null===(k=w.pageInfo)||void 0===k?void 0:k.hasNext),N=null===(O=l.item)||void 0===O?void 0:null===(C=O.children)||void 0===C?void 0:null===(E=C.pageInfo)||void 0===E?void 0:E.endCursor}let L=performance.now();return console.log("".concat(c," taken to execute : ").concat(L-f,"ms for ").concat(m,".")),await v.set(m,h),h}},79602:function(e,l,i){"use strict";i.d(l,{W:function(){return n}});var s=i(73961);let n=e=>{let l;if(e.sitecoreEdgeContextId)l={endpoint:(0,s.mm)(e.sitecoreEdgeContextId,e.sitecoreEdgeUrl)};else if(e.graphQLEndpoint&&e.sitecoreApiKey)l={endpoint:e.graphQLEndpoint,apiKey:e.sitecoreApiKey};else throw Error("Please configure either your sitecoreEdgeContextId, or your graphQLEndpoint and sitecoreApiKey.");return s.$m.createClientFactory(l)}},65057:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{env:Object.assign({},e.env||{},{SHG_SSO_ENABLED:"true",SABRE_FORM_URL:"https://reservations.upperhouse.com",SABRE_SHG_CHAIN_ID:"28804",SABRE_TEST_HOTEL_ID:"27299",SABRE_MODE:"prod",CAPTCHA_SCENE_ID:"v0q0fre5o",CAPTCHA_PREFIX_ID:"52ble1j",NEXTAUTH_URL:"https://www.upperhouse.com",AZURE_AD_B2C_AUTH_DOMAIN:"login.upperhouse.com",AZURE_AD_B2C_TENANT_NAME:"swirehotelssso2",AZURE_AD_B2C_CLIENT_ID:"cbea5314-ff3b-47de-877c-60ba6c9b4831",AZURE_AD_B2C_CLIENT_ID_SC:"c15c8066-b87a-41aa-9416-d939ec1bc3fd",AZURE_AD_B2C_CLIENT_ID_TC:"444f7a88-0213-4e59-b8bf-fcc3d0af6040",SSO_REG_DISABLE_MOBILE:"false",NEXTJS_TRAILING_SLASH:"true",SSO_EMAIL_REGEX:"XlthLXpBLVowLTldW2EtekEtWjAtOS5fJSstXSpAW2EtekEtWjAtOV0oKD8hLipbLi1dezJ9KVthLXpBLVowLTkuLV0qW2EtekEtWjAtOV0pKlwuW2EtekEtWl17Mix9JA",EDGE_MEDIA_PATH:"https://edge.sitecorecloud.io/swirehotels1-swirehotels-production-ebf6"})})}},14474:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{webpack:(l,i)=>(i.isServer||l.module.rules.unshift({test:/src\\components\\.*\.tsx$/,use:["@sitecore-jss\\sitecore-jss-dev-tools\\nextjs-component-props-loader"]}),"function"==typeof e.webpack)?e.webpack(l,i):l})}},95953:function(e,l,i){"use strict";var s,n=i(83454);let a=i(51141),d=(null!==(s=n.env.NO_CACHE_ASSETS)&&void 0!==s?s:"").split(",").map(e=>({source:e,headers:[{key:"Cache-Control",value:"no-cache"}]}));e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a.sitecoreApiHost?Object.assign({},e,{async headers(){let l="function"==typeof e.headers?await e.headers():[];return[...await l,{source:"/_next/:path*",headers:[{key:"Access-Control-Allow-Origin",value:a.sitecoreApiHost.replace(/\/$/,"")}]},{source:"/api/:path*",headers:[{key:"Access-Control-Allow-Origin",value:a.sitecoreApiHost.replace(/\/$/,"")}]},{source:"/files/:path*",headers:[{key:"Access-Control-Allow-Origin",value:a.sitecoreApiHost.replace(/\/$/,"")},{key:"Cache-Control",value:"public, max-age=14400"}]},{source:"/:file*\\.(\\w+)",headers:[{key:"Access-Control-Allow-Origin",value:a.sitecoreApiHost.replace(/\/$/,"")},{key:"Cache-Control",value:"public, max-age=31536000"}]},...d]}}):e}},33488:function(e,l,i){"use strict";var s=i(83454);e.exports=function(){var e;let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=(null===(e=s.env.FRONTEND_MIDDLEWARE_ENABLED)||void 0===e?void 0:e.toLowerCase())==="true";return Object.assign({},l,{poweredByHeader:!1,i18n:{...l.i18n,locales:i?["default","en","sc","tc"]:["en","sc","tc","zh-HK","zh-CN"],defaultLocale:i?"default":"en"},trailingSlash:true,typescript:{ignoreBuildErrors:!0},async headers(){let e="function"==typeof l.headers?await l.headers():[];return[...await e,{source:"/(.*)",headers:[{key:"Strict-Transport-Security",value:"max-age=63072000; includeSubDomains; preload"}]}]}})}},51844:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{rewrites:async()=>[...await e.rewrites(),{source:"/feaas-render",destination:"/api/editing/feaas/render"}],webpack:(l,i)=>(i.isServer&&(l.externals=[{"@sitecore-feaas/clientside/react":"commonjs @sitecore-feaas/clientside/react","@sitecore/byoc":"commonjs @sitecore/byoc","@sitecore/byoc/react":"commonjs @sitecore/byoc/react"},...l.externals]),"function"==typeof e.webpack)?e.webpack(l,i):l})}},29440:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{webpack:(l,i)=>(l.module.rules.push({test:/\.graphql$/,exclude:/node_modules/,use:[i.defaultLoaders.babel,{loader:"graphql-let/loader"}]}),l.module.rules.push({test:/\.graphqls$/,exclude:/node_modules/,use:["graphql-let/schema/loader"]}),l.module.rules.push({test:/\.ya?ml$/,type:"json",use:"yaml-loader"}),"function"==typeof e.webpack)?e.webpack(l,i):l})}},68194:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{rewrites:async()=>[...await e.rewrites(),{source:"/llms.txt",destination:"/api/llms"}]})}},16090:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=!!e.trailingSlash||true;return Object.assign({},e,{redirects:async()=>[..."function"==typeof e.redirects?await e.redirects():[],{source:"/:locale(zh-hk)/:path*",destination:l?"/tc/:path*/":"/tc/:path*",permanent:!0},{source:"/:locale(zh-cn)/:path*",destination:l?"/sc/:path*/":"/sc/:path*",permanent:!0}]})}},54326:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{async rewrites(){let l=await e.rewrites(),i="https://edge.sitecorecloud.io/swirehotels1-swirehotels-production-ebf6";return i.length&&l.unshift({source:"/-/media/:path*",destination:"".concat(i,"/media/:path*")}),[...l]}})}},13956:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{webpack:(l,i)=>(i.isServer||(l.resolve.fallback=Object.assign({},l.resolve.fallback||{},{fs:!1})),"function"==typeof e.webpack)?e.webpack(l,i):l})}},44371:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{rewrites:async()=>[...await e.rewrites(),{source:"/robots.txt",destination:"/api/robots"}]})}},92942:function(e,l,i){"use strict";let s=i(1864),n=i(41627);e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{sassOptions:{importer:new n({"@sass":s.join("/","../../../assets","sass"),"@fontawesome":s.join("/","../../../../node_modules","font-awesome")}).getImporter()}})}},20617:function(e){"use strict";e.exports=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({},e,{rewrites:async()=>[...await e.rewrites(),{source:"/sitemap:id([\\w-]{0,}).xml",destination:"/api/sitemap"}]})}},92484:function(e,l,i){"use strict";i.d(l,{Lz:function(){return E},m_:function(){return L},Xy:function(){return S},pT:function(){return F}}),i(62842),i(33282);var s,n,a=i(94916),d=i(93140),t=i(57398),o=i(15832),r=i.n(o),c=i(42474);i(83454);let v={},u=e=>e?(0,c.createHash)("md5").update(e).digest("hex"):"";function m(e,l){if("object"!=typeof e||null===e)return null;for(let i in e)l.includes(i)&&(e[i]=u(e[i])),"object"==typeof e[i]&&m(e[i],l);return e}let x=()=>(v.sso||(v.sso=r().createLogger({format:o.format.combine(o.format.timestamp(),o.format.json()),transports:[new(r()).transports.Console,new(r()).transports.File
1({filename:"logs/sso.log"})]})),v.sso);var p=i(83454);let h=["FirstName","LastName","Email","MobilePhoneNumber","Password","EmailAddress"];class f{getProfile(e,l){return this.sendGet(a.tr.PROFILE,e,l).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}getProfileV2(e,l){return this.sendGet(a.tr.PROFILE_WITH_PWD,e,l).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}updateProfile(e,l,i){return this.sendPost(a.tr.PROFILE,e,l,i).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}sabreLogin(e,l){return this.sendGet(a.tr.LOGIN_SABRE,e,l).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}sabreLoginRefresh(e,l){return this.sendGet(a.tr.LOGIN_SABRE_REFRESH,e,l).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}refreshSabreToken(e,l){return this.sendGet(a.tr.REFRESH_SABRE_TOKEN,e,l).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}getUpcomingBookings(e,l){return this.sendGet(a.tr.PROFILE_GET_UPCOMING_BOOKINGS,e,l).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}verifyAndBindPhone(e,l,i,s){return this.sendPost(a.tr.PROFILE_VERIFY_AND_BIND_PHONE,{Signature:e,UserInputCode:l},i,s).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}verifyAndBindEmail(e,l,i,s){return this.sendPost(a.tr.PROFILE_ERIFY_AND_BIND_EMAIL,{Signature:e,UserInputCode:l},i,s).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}createProfile(e,l){return this.sendPut(a.tr.PROFILE,e,void 0,l).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}createProfileWithPWD(e,l){return this.sendPut(a.tr.PROFILE_WITH_PWD,e,void 0,l).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}sendResetPassword(e,l){return"zh-hk"==e.locale.toLocaleLowerCase()?e.locale="tc":"zh-cn"==e.locale.toLocaleLowerCase()&&(e.locale="sc"),this.sendPost(a.tr.SEND_RESET_PWD.replace("/en/","/".concat(e.locale,"/")),e,void 0,l).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}verifyResetPassword(e,l){return this.sendGet(a.tr.VERIFY_RESET_PWD+"/"+e,void 0,l).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}resetPassword(e,l){return this.sendPost(a.tr.RESET_PWD,e,void 0,l).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}setPassword(e,l,i){return this.sendPost(a.tr.SET_PWD,e,l,i).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}verifyOTP(e,l,i){return this.sendPost(a.tr.OTP_VERIFY_CODE,{Signature:e,UserInputCode:l},void 0,i).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}sendEmailOtp(e,l,i,s){return"zh-hk"==l.toLocaleLowerCase()?l="tc":"zh-cn"==l.toLocaleLowerCase()&&(l="sc"),this.sendPost(a.tr.OTP_SEND_EMAIL.replace("/en/","/".concat(l,"/")),{EmailAddress:e},i,s).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}sendSmsOtp(e,l,i,s,n){return"zh-hk"==i.toLocaleLowerCase()?i="tc":"zh-cn"==i.toLocaleLowerCase()&&(i="sc"),this.sendPost(a.tr.OTP_SEND_SMS.replace("/en/","/".concat(i,"/")),{MobileCountry:e,MobilePhoneNumber:l},s,n).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}validatePhoneNumber(e,l,i){return this.sendPost(a.tr.VALIDATE_PHONE_NUMBER,{MobileCountry:e,MobilePhoneNumber:l},void 0,i).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}validateEmail(e,l){return this.sendPost(a.tr.VALIDATE_EMAIL,{Email:e},void 0,l).then(e=>{let l=e.data;return(null==l?void 0:l.Payload)?this.parseResponsePayload(l.Payload):l})}sendGet(e,l,i){let s,n={},a=p.hrtime();return this.axiosDataFetcher.get(this._prepareApiUrl(e),this._prepareAuthConfig(l,i)).then(e=>(s=e.status,n=e.data||{},e)).catch(e=>{var l,i;throw s=null===(l=e.response)||void 0===l?void 0:l.status,n=(null===(i=e.response)||void 0===i?void 0:i.data)||{},e}).finally(()=>{let l=p.hrtime(a),d=1e3*l[0]+l[1]/1e6;x().info("sendGet",{api_response_status:s,api_request_method:"GET",api_request_url:e,clientIp:i,api_response_data:n,api_request_time_msec:d})})}sendPost(e,l,i,s){let n,a={},d=p.hrtime(),t=this.prepareRequestPayload(l);return this.axiosDataFetcher.post(this._prepareApiUrl(e),t,this._prepareAuthConfig(i,s)).then(e=>(n=e.status,a=e.data||{},e)).catch(e=>{var l,i;throw n=null===(l=e.response)||void 0===l?void 0:l.status,a=(null===(i=e.response)||void 0===i?void 0:i.data)||{},e}).finally(()=>{let i=p.hrtime(d),o=1e3*i[0]+i[1]/1e6;x().info("sendPost",{api_request_body:m(Object.assign({},l||{}),h),api_response_status:n,api_request_method:"POST",api_request_url:e,api_request_payload:t,clientIp:s,api_response_data:a,api_request_time_msec:o})})}sendPut(e,l,i,s){let n,a={},d=p.hrtime(),t=this.prepareRequestPayload(l);return this.axiosDataFetcher.put(this._prepareApiUrl(e),t,this._prepareAuthConfig(i,s)).then(e=>(n=e.status,a=e.data||{},e)).catch(e=>{var l,i;throw n=null===(l=e.response)||void 0===l?void 0:l.status,a=(null===(i=e.response)||void 0===i?void 0:i.data)||{},e}).finally(()=>{let i=p.hrtime(d),o=1e3*i[0]+i[1]/1e6;x().info("sendPut",{api_request_body:m(Object.assign({},l||{}),h),api_response_status:n,api_request_method:"PUT",api_request_url:e,api_request_payload:t,clientIp:s,api_response_data:a,api_request_time_msec:o})})}prepareRequestPayload(e){let l=JSON.stringify(e);return{Payload:this.encryptionService.encrypt(l)}}parseResponsePayload(e){return JSON.parse(this.encryptionService.decrypt(e))}_prepareAuthConfig(e,l){let i=!1,s={"api-key":this.serviceConfig.ApiKey};return e&&(i=!0,s.Authorization="Bearer ".concat(e)),l&&(i=!0,s["x-forwarded-ip"]=l),i?{headers:s}:void 0}_prepareApiUrl(e){return"".concat(this.serviceConfig.ApiHost).concat(e.startsWith("/")?"":"/").concat(e)}constructor(e,l){this.encryptionService=e,this.serviceConfig=l,this.axiosDataFetcher=new d.$}}let g=new f(t.St,{ApiKey:null!==(s=p.env.SHG_SSO_API_KEY)&&void 0!==s?s:"",ApiHost:null!==(n=p.env.SHG_SSO_API_HOST)&&void 0!==n?n:""});var j=i(55169),N=i(93077),b=i(4285);
1i(50031),i(80208),(0,N.createCache)((0,N.memoryStore)(),{max:100,ttl:18e5}),i(4942),i(57166);var T=i(83454);i(48764).Buffer;let S=function(e){var l;let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=null!==(l=i||"https://www.upperhouse.com".includes("https"))&&void 0!==l&&l;return"".concat(s?"__Secure-":"").concat(e)};S("next-auth.locale");let k=e=>"login.upperhouse.com",w=e=>["openid",e].join(" "),y=()=>"code id_token";(0,N.createCache)((0,N.memoryStore)({max:9999,ttl:864e5}));let E={providers:[],debug:!!T.env.NEXTAUTH_DEBUG,callbacks:{async redirect(e){let{url:l,baseUrl:i}=e;return l.startsWith("/")?"".concat(i).concat(l):new URL(l).origin===i?l:i},async jwt(e){let{token:l,account:i}=e;return i&&(l.access_token=i.access_token,l.id_token=i.id_token),l},async session(e){let{session:l,token:i}=e;if(l.user||(l.user={access_token:"",id_token:""}),i.access_token&&(l.user.access_token=i.access_token,l.user.id_token=i.id_token,!l.user.profile)){let e=await C(i.sub,i.access_token);l.user.profile=e}if(null==l?void 0:l.user){var s;l.user.email=null!==(s=l.user.email)&&void 0!==s?s:null}return l}},logger:{error(e,l){console.error(e,l)},warn(e){console.warn(e)}},session:{maxAge:3600},pages:{error:a.tr.SIGN_IN_ERROR_PAGE}};async function C(e,l,i){try{if(e){let l=await b.dP.get(e);if(l)return console.log("Load from cache for "+e),l}let s=await g.getProfileV2(l,i);if(!s.ErrorCode)return e&&await b.dP.set(e,s),s}catch(e){console.error("Error fetching data:",e)}return null}let O=e=>{let l=null==e?void 0:e.toLowerCase(),i=a.is.AZURE_AD_B2C_CLIENT_ID,s=a.is.AZURE_AD_B2C_CLIENT_SECRET;if(l){var n,d;["tc","zh-hk","zh-hant"].includes(l)?(i="444f7a88-0213-4e59-b8bf-fcc3d0af6040",s=null!==(n=T.env.AZURE_AD_B2C_CLIENT_SECRET_TC)&&void 0!==n?n:s):["sc","zh-cn","zh-hans"].includes(l)&&(i="c15c8066-b87a-41aa-9416-d939ec1bc3fd",s=null!==(d=T.env.AZURE_AD_B2C_CLIENT_SECRET_SC)&&void 0!==d?d:s)}return[i,s]},L=(e,l)=>{let[i]=O(e),s="".concat((0,j.WP)(),"/api/auth/callback/azureb2c");return["https://".concat(k(a.is.AZURE_AD_B2C_TENANT_NAME),"/").concat(a.is.AZURE_AD_B2C_TENANT_NAME,".onmicrosoft.com/"),"".concat(a.is.AZURE_AD_B2C_PRIMARY_USER_FLOW,"/oauth2/v2.0/authorize"),"?client_id=".concat(i),"&scope=".concat(encodeURIComponent(w(i))),"&response_type=".concat(encodeURIComponent(y())),"&redirect_uri=".concat(encodeURIComponent(s)),"&prompt=login","&ui_locales=".concat(a.OE[e]),"&response_mode=query",l?"&callbackUrl=".concat(encodeURIComponent(l)):""].join("")},I=function(e,l){var i;let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!(arguments.length>3)||void 0===arguments[3]||arguments[3],a=null!==(i=s||"https://www.upperhouse.com".includes("https"))&&void 0!==i&&i,d=["".concat(e,"=").concat(encodeURIComponent(l)),"Path=/"];return n&&d.push("HttpOnly"),d.push("SameSite=Lax"),a&&d.push("Secure"),d.join("; ")},F=(e,l)=>{e&&l.appendHeader("set-cookie",I(S("next-auth.callback-url"),e))}},89741:function(e,l,i){"use strict";i.d(l,{L:function(){return s}});let s={THC:{ExperienceTheHouse:"THC/Experience The House",HouseNotHotel:"THC/House Not Hotel",Location:"THC/Location",Back:"THC/Back",AskQuestions:"THC/Ask Questions",OfferText:"THC/Offer Text",Required:"THC/All Fields Required",GoadeMap:"THC/Goade Map",GoogleMap:"THC/Google Map",FindUs:"THC/Find Us"},CommonForm:{Update:"Common Forms/Update"},Navigation:{SiteMap:"Navigation/Sitemap",GoBack:"Navigation/Back to",BookingButton:"Navigation/Booking Button",Arrival:"Navigation/Arrival",Departure:"Navigation/Departure",PromotionCode:"Navigation/Promotion Code",CorporateOrPromotionCode:"Navigation/Corporate Or Promotion Code",GroupCode:"Navigation/Group Code",Hotel:"Navigation/Hotel",Location:"Navigation/Location",OurHotels:"Navigation/Our Hotels",Explore:"Navigation/Explore",TheHouseCollective:"Navigation/The House Collective",SelectYourHouse:"Navigation/Select Your House",House:"Navigation/House",CheckIn:"Navigation/Check In",CheckOut:"Navigation/Check Out",Rooms:"Navigation/Rooms",Adults:"Navigation/Adults",Children:"Navigation/Children",SearchForRoom:"Navigation/Search For Room",BookNow:"Navigation/Book Now",InquiryType:"Navigation/Inquiry Type",FindOutMore:"Navigation/Find Out More",WelcomeTo:"Navigation/Welcome To",TheOppositeHouse:"Navigation/The Opposite House",TheMiddleHouse:"Navigation/The Middle House",TheTempleHouse:"Navigation/The Temple House",TheUpperHouse:"Navigation/The Upper House",Partner:"Navigation/Partner",SelectADestination:"Navigation/Select A Destination",GuestsMax:"Navigation/3 Guests Max",YearsOrOlder:"Navigation/12 Years Or Older",BelowYearsOld:"Navigation/Below 12 Years Old",Continue:"Navigation/Continue",Cancel:"Navigation/Cancel",LoginSignUp:"SSO Forms/LoginSignUp",Logout:"SSO Forms/Logout",ViewProfile:"SSO Forms/View Profile",LoginLink:"SSO Forms/Login Link",LogoutLink:"SSO Forms/Logout Link"},Teasers:{AlsoAvailable:"Teasers/Also Available",Explore:"Teasers/Explore",Beds:"Teasers/Beds",RoomSize:"Teasers/Room Size",Occupancy:"Teasers/Occupancy",FloorPlan:"Teasers/Floor Plan",FloorPlanDisclaimer:"Teasers/Floor Plan Disclaimer",DetailsAtAGlance:"Teasers/Details at a Glance",ViewVenueDetails:"Teasers/View Venue Details",SelectAYear:"Teasers/Select a Year",Awards:"Teasers/Awards",OurVenueOptions:"Teasers/Our Venue Options",DownloadFloorPlan:"Teasers/Download Floor Plan",All:"Teasers/All"},PageContent:{Offer:"PageContent/Offer",LearnMore:"Page Content/Learn More"}
1,Location:{Filter:{View:"Location/Filter/View",All:"Location/Filter/All"}},Property:{FloorPlan:{RoomSize:"Property/Floor Plan/Room Size",SquareMeterUnit:"Property/Floor Plan/Square Meter Unit",SquareFeetUnit:"Property/Floor Plan/Square Feet Unit"}},Residence:{FloorPlan:{ResidenceType:"Residence/FloorPlan/ResidenceType"},ResidenceSelection:{ViewResidenceDetails:"Residence/Residence Selection/View Residence Details"},OtherOption:{ViewResidenceDetails:"Residence/Other Option/View Residence Details"}},Room:{Filter:{View:"Room/Filter/View",All:"Room/Filter/All"},FloorPlan:{BestAvailableRate:"Room/Floor Plan/Best Available Rate",RateUnit:"Room/Floor Plan/Rate Unit",PrefixRateUnit:"Room/Floor Plan/Prefix Rate Unit"},Selection:{BookingButton:"Room/Selection/Booking Button"}},Social:{KeepInTouch:"Social/Keep in touch",KeepInTouchText:"Social/Keep in touch text",LatestInSocialStream:"Social/Latest in social stream",FollowUs:"Social/Follow Us",Share:"Social/Share",StayConnected:"Social/Stay Connected",SocialStreamBlockQuote:"Social/Social Stream Block Quote",TripAdvisor:"Social/TripAdvisor",FollowOurJourney:"Social/FollowOurJourney",ScanQRCode:"Social/Scan QR Code"}}},57398:function(e,l,i){"use strict";i.d(l,{St:function(){return v}});var s,n,a,d,t=i(42474),o=i(83454),r=i(48764).Buffer;class c{encrypt(e){let l=(0,t.createCipheriv)(this.serviceConfig.Algorithm,this.serviceConfig.SecretKey,this.serviceConfig.IV);return l.update(e,"utf8","base64")+l.final("base64")}decrypt(e){let l=(0,t.createDecipheriv)(this.serviceConfig.Algorithm,this.serviceConfig.SecretKey,this.serviceConfig.IV);return l.update(e,"base64","utf8")+l.final("utf8")}constructor(e){this.serviceConfig=e}}let v=new c({SecretKey:null!==(s=o.env.SHG_SSO_SECRET_KEY)&&void 0!==s?s:"",IV:r.alloc(16,0),Algorithm:null!==(n=o.env.SHG_SSO_ENCRYPTION_ALG)&&void 0!==n?n:"aes-256-cbc"});new c({SecretKey:null!==(a=o.env.OTP_TOKEN_KEY)&&void 0!==a?a:"",IV:r.alloc(16,0),Algorithm:null!==(d=o.env.SHG_SSO_ENCRYPTION_ALG)&&void 0!==d?d:"aes-256-cbc"})},63177:function(e,l,i){"use strict";i.d(l,{w9:function(){return LB}});var s,n,a,d,t={};i.r(t),i.d(t,{Default:function(){return vo}});var o={};i.r(o),i.d(o,{Default:function(){return vu}});var r={};i.r(r),i.d(r,{default:function(){return vh}});var c={};i.r(c),i.d(c,{default:function(){return vb}});var v={};i.r(v),i.d(v,{ScLink:function(){return vk}});var u={};i.r(u),i.d(u,{Banner:function(){return vy},Default:function(){return vE}});var m={};i.r(m),i.d(m,{Default:function(){return vO}});var x={};i.r(x),i.d(x,{ComponentContainer:function(){return vW}});var p={};i.r(p),i.d(p,{GridContainer:function(){return vH}});var h={};i.r(h),i.d(h,{default:function(){return vG}});var f={};i.r(f),i.d(f,{Default:function(){return vz}});var g={};i.r(g),i.d(g,{Default:function(){return vK}});var j={};i.r(j),i.d(j,{default:function(){return v$}});var N={};i.r(N),i.d(N,{Default:function(){return vJ},WithText:function(){return vX}});var b={};i.r(b),i.d(b,{Default:function(){return v0}});var T={};i.r(T),i.d(T,{Default:function(){return v1}});var S={};i.r(S),i.d(S,{Default:function(){return v5}});var k={};i.r(k),i.d(k,{FadeIn:function(){return v3}});var w={};i.r(w),i.d(w,{FadeInX:function(){return v4}});var y={};i.r(y),i.d(y,{FadeInY:function(){return v6}});var E={};i.r(E),i.d(E,{ShArticleDetail:function(){return v8}});var C={};i.r(C),i.d(C,{ShArticleDetailWithTags:function(){return v7}});var O={};i.r(O),i.d(O,{ShArticleLatestListingMedia:function(){return v9}});var L={};i.r(L),i.d(L,{ShArticleListing:function(){return ue}});var I={};i.r(I),i.d(I,{ShArticleListingLoadOnDemandPartialView:function(){return ul}});var F={};i.r(F),i.d(F,{ShArticleListingMedia:function(){return ui}});var _={};i.r(_),i.d(_,{ShArticleListingMediaLoadOnDemandPartialView:function(){return us}});var M={};i.r(M),i.d(M,{ShArticleListingMediaPartialView:function(){return un}});var R={};i.r(R),i.d(R,{ShArticleListingPartialView:function(){return ua}});var P={};i.r(P),i.d(P,{ShArticleListingWithTags:function(){return ud}});var A={};i.r(A),i.d(A,{ShArticleListingWithTagsLoadOnDemandPartialView:function(){return ut}});var D={};i.r(D),i.d(D,{ShArticleListingWithTagsPartialView:function(){return uo}});var B={};i.r(B),i.d(B,{ShTeaserArticlesGroup:function(){return ur}});var V={};i.r(V),i.d(V,{BaseLink:function(){return uv}});var W={};i.r(W),i.d(W,{DatePicker:function(){return uu}});var H={};i.r(H),i.d(H,{default:function(){return uf},styles:function(){return uh}});var G={};i.r(G),i.d(G,{default:function(){return ub}
1,getServerSideProps:function(){return uN}});var U={};i.r(U),i.d(U,{ThmContact:function(){return uT}});var z={};i.r(z),i.d(z,{ThmContact2:function(){return uS}});var q={};i.r(q),i.d(q,{TmhContactCards:function(){return uk}});var Q={};i.r(Q),i.d(Q,{TmhContactGroup:function(){return uw}});var Y={};i.r(Y),i.d(Y,{TmhContactWithAddressAndPhone:function(){return uy}});var K={};i.r(K),i.d(K,{TmhContactWithPhoneAndAddress:function(){return uE}});var Z={};i.r(Z),i.d(Z,{TmhContactWithPhoneAndEmail:function(){return uC}});var J={};i.r(J),i.d(J,{TmhContactWithTime:function(){return uO}});var X={};i.r(X),i.d(X,{TmhInformationContact:function(){return uL}});var ee={};i.r(ee),i.d(ee,{TmhMethodContact:function(){return uI}});var el={};i.r(el),i.d(el,{TmhTableContact:function(){return uF}});var ei={};i.r(ei),i.d(ei,{EHKContactUsFooter:function(){return u_}});var es={};i.r(es),i.d(es,{EHKFormFooter:function(){return uM}});var en={};i.r(en),i.d(en,{EHKLatestHappenings:function(){return uR}});var ea={};i.r(ea),i.d(ea,{EHKSocialStreamWithTripAdvisorData:function(){return uP}});var ed={};i.r(ed),i.d(ed,{EMLongTermStayOptions:function(){return uA}});var et={};i.r(et),i.d(et,{EhAboutDesignItems:function(){return uD}});var eo={};i.r(eo),i.d(eo,{EhAllHappeningsCarousel:function(){return uB}});var er={};i.r(er),i.d(er,{EhAllOfferCarousel:function(){return uV}});var ec={};i.r(ec),i.d(ec,{EhBEastGym:function(){return uW}});var ev={};i.r(ev),i.d(ev,{EhBEastGymVirtualTour:function(){return uH}});var eu={};i.r(eu),i.d(eu,{EhBEastPool:function(){return uG}});var em={};i.r(em),i.d(em,{EhBEastPoolWithVirtualTour:function(){return uU}});var ex={};i.r(ex),i.d(ex,{EhBaseItemBlock:function(){return uz}});var ep={};i.r(ep),i.d(ep,{EhBaseItemCTABlock:function(){return uq}});var eh={};i.r(eh),i.d(eh,{EhContactUs:function(){return uQ}});var ef={};i.r(ef),i.d(ef,{EhEastResidenceFloorPlan:function(){return uY}});var eg={};i.r(eg),i.d(eg,{EhEastResidenceGreyBox:function(){return uK}});var ej={};i.r(ej),i.d(ej,{EhEastResidenceImageGroup:function(){return u$}});var eN={};i.r(eN),i.d(eN,{EhFeaturedOffer:function(){return uZ}});var eb={};i.r(eb),i.d(eb,{EhHappeningInquireCard:function(){return uJ}});var eT={};i.r(eT),i.d(eT,{EhHappeningPictureBox:function(){return uX}});var eS={};i.r(eS),i.d(eS,{EHHappeningTeasers:function(){return u0}});var ek={};i.r(ek),i.d(ek,{EhHeroSlideshow:function(){return u1}});var ew={};i.r(ew),i.d(ew,{EhHomeBodyByEast:function(){return u2}});var ey={};i.r(ey),i.d(ey,{EhHomeEastsAndDrink:function(){return u5}});var eE={};i.r(eE),i.d(eE,{EhInnerSlideshow:function(){return u3}});var eC={};i.r(eC),i.d(eC,{EHKLatestHappenings:function(){return u4}});var eO={};i.r(eO),i.d(eO,{EhMap:function(){return u6}});var eL={};i.r(eL),i.d(eL,{EhMeetingsandEventFloorPlan:function(){return u8}});var eI={};i.r(eI),i.d(eI,{EhMeetingsandEventFoodandDrinkOptions:function(){return u7}});var eF={};i.r(eF),i.d(eF,{EhMeetingsandEventOtherSpaces:function(){return u9}});var e_={};i.r(e_),i.d(e_,{EhMeetingsandEventPictureBox:function(){return me}});var eM={};i.r(eM),i.d(eM,{EhOfferFilter:function(){return ml}});var eR={};i.r(eR),i.d(eR,{EhOfferInquireCard:function(){return mi}});var eP={};i.r(eP),i.d(eP,{EhOfferPictureBox:function(){return ms}});var eA={};i.r(eA),i.d(eA,{EhOfferTeasers:function(){return mn}});var eD={};i.r(eD),i.d(eD,{EhOfferTerms:function(){return ma}});var eB={};i.r(eB),i.d(eB,{EhOffercarousel:function(){return md}});var eV={};i.r(eV),i.d(eV,{EhPartnerGroup:function(){return mt}});var eW={};i.r(eW),i.d(eW,{EhPartnerships:function(){return mo}});var eH={};i.r(eH),i.d(eH,{EhResidenceFloorPlan:function(){return mr}});var eG={};i.r(eG),i.d(eG,{EhResidenceGreyBox:function(){return mc}});var eU={};i.r(eU),i.d(eU,{EhResidenceImageGroup:function(){return mv}});var ez={};i.r(ez),i.d(ez,{EhRestaurantImageGroup:function(){return mu}});var eq={};i.r(eq),i.d(eq,{EhRestaurantMoreChoices:function(){return mm}});var eQ={};i.r(eQ),i.d(eQ,{EhRestaurantPictureBox:function(){return mx}});var eY={};i.r(eY),i.d(eY,{EhRoomFloorPlan:function(){return mp}});var eK={};i.r(eK),i.d(eK,{EhRoomFloorPlanInContainer:function(){return mh}});var e$={};i.r(e$),i.d(e$,{EhRoomGreyBox:function(){return mf}});var eZ={};i.r(eZ),i.d(eZ,{EhRoomImageGroup:function(){return mg}});var eJ={};i.r(eJ),i.d(eJ,{EhRoomsLargeButton:function(){return mj}});var eX={};i.r(eX),i.d(eX,{EhServicesFacilities:function(){return mN}});var e0={};i.r(e0),i.d(e0,{EhTopSlideshow:function(){return mb}});var e1={};i.r(e1),i.d(e1,{default:function(){return mS}});var e2={};i.r(e2),i.d(e2,{default:function(){return mk}});var e5={};i.r(e5),i.d(e5,{DatasourceError:function(){return mw}});var e3={};i.r(e3),i.d(e3,{default:function(){return my}});var e4={};i.r(e4),i.d(e4,{default:function(){return mE}});var e6={};i.r(e6),i.d(e6,{default:function(){return mC}});var e8={};i.r(e8),i.d(e8,{default:function(){return mO}});var e7={};i.r(e7),i.d(e7,{default:function(){return mL}});var e9={};i.r(e9),i.d(e9,{default:function(){return mI}});var le={};i.r(le),i.d(le,{default:function(){return mF}});var ll={};i.r(ll),i.d(ll,{default:function(){return m_}});var li={};i.r(li),i.d(li,{default:function(){return mM}});var ls={};i.r(ls),i.d(ls,{default:function(){return mR}});var ln={};i.r(ln),i.d(ln,{default:function(){return mP}});var la={};i.r(la),i.d(la,{default:function(){return mA}}
1);var ld={};i.r(ld),i.d(ld,{default:function(){return mD}});var lt={};i.r(lt),i.d(lt,{default:function(){return mB}});var lo={};i.r(lo),i.d(lo,{default:function(){return mV}});var lr={};i.r(lr),i.d(lr,{default:function(){return mH}});var lc={};i.r(lc),i.d(lc,{default:function(){return mU}});var lv={};i.r(lv),i.d(lv,{default:function(){return mz}});var lu={};i.r(lu),i.d(lu,{default:function(){return mQ}});var lm={};i.r(lm),i.d(lm,{default:function(){return mY}});var lx={};i.r(lx),i.d(lx,{default:function(){return mK}});var lp={};i.r(lp),i.d(lp,{default:function(){return m$}});var lh={};i.r(lh),i.d(lh,{default:function(){return mZ}});var lf={};i.r(lf),i.d(lf,{default:function(){return mJ}});var lg={};i.r(lg),i.d(lg,{default:function(){return mX}});var lj={};i.r(lj),i.d(lj,{default:function(){return m0}});var lN={};i.r(lN),i.d(lN,{default:function(){return m1}});var lb={};i.r(lb),i.d(lb,{default:function(){return m2}});var lT={};i.r(lT),i.d(lT,{Default:function(){return m5},default:function(){return m3}});var lS={};
1i.r(lS),i.d(lS,{default:function(){return m7}});var lk={};i.r(lk),i.d(lk,{Default:function(){return m9},default:function(){return xe}});var lw={};i.r(lw),i.d(lw,{Default:function(){return xl},default:function(){return xi}});var ly={};i.r(ly),i.d(ly,{Default:function(){return xs},default:function(){return xn}});var lE={};i.r(lE),i.d(lE,{Default:function(){return xa},default:function(){return xd}});var lC={};i.r(lC),i.d(lC,{Default:function(){return xt},default:function(){return xo}});var lO={};i.r(lO),i.d(lO,{Default:function(){return xr},default:function(){return xc}});var lL={};i.r(lL),i.d(lL,{Default:function(){return xv},default:function(){return xu}});var lI={};i.r(lI),i.d(lI,{Default:function(){return xm},default:function(){return xx}});var lF={};i.r(lF),i.d(lF,{Default:function(){return xp},default:function(){return xh}});var l_={};i.r(l_),i.d(l_,{Default:function(){return xf},default:function(){return xg}});var lM={};i.r(lM),i.d(lM,{Default:function(){return xj},default:function(){return xN}});var lR={};i.r(lR),i.d(lR,{Default:function(){return xb},default:function(){return xT}});var lP={};i.r(lP),i.d(lP,{Default:function(){return xS},default:function(){return xk}});var lA={};i.r(lA),i.d(lA,{Default:function(){return xw},default:function(){return xy}});var lD={};i.r(lD),i.d(lD,{Default:function(){return xE},default:function(){return xC}});var lB={};i.r(lB),i.d(lB,{Default:function(){return xO}});var lV={};i.r(lV),i.d(lV,{Default:function(){return xL},default:function(){return xI}});var lW={};i.r(lW),i.d(lW,{Default:function(){return xF},default:function(){return x_}});var lH={};i.r(lH),i.d(lH,{Default:function(){return xM},default:function(){return xR}});var lG={};i.r(lG),i.d(lG,{Default:function(){return xP},default:function(){return xA}});var lU={};i.r(lU),i.d(lU,{Default:function(){return xD},default:function(){return xB}});var lz={};i.r(lz),i.d(lz,{Default:function(){return xV},default:function(){return xW}});var lq={};i.r(lq),i.d(lq,{Default:function(){return xH},default:function(){return xG}});var lQ={};i.r(lQ),i.d(lQ,{Default:function(){return xU},default:function(){return xz}});var lY={};i.r(lY),i.d(lY,{Default:function(){return xq},default:function(){return xQ}});var lK={};i.r(lK),i.d(lK,{Default:function(){return xY},default:function(){return xK}});var l$={};i.r(l$),i.d(l$,{Default:function(){return x$},default:function(){return xZ}});var lZ={};i.r(lZ),i.d(lZ,{Default:function(){return pc},getServerSideProps:function(){return pv}});var lJ={};i.r(lJ),i.d(lJ,{Default:function(){return pu},default:function(){return pm}});var lX={};i.r(lX),i.d(lX,{Default:function(){return px},default:function(){return pp}});var l0={};i.r(l0),i.d(l0,{TohLogo:function(){return ph},default:function(){return pg},getServerSideProps:function(){return pf}});var l1={};i.r(l1),i.d(l1,{TohLogoMobile:function(){return pj},default:function(){return pb},getServerSideProps:function(){return pN}});var l2={};i.r(l2),i.d(l2,{Default:function(){return pT},getServerSideProps:function(){return pS}});var l5={};i.r(l5),i.d(l5,{Default:function(){return pk},getServerSideProps:function(){return pw}});var l3={};i.r(l3),i.d(l3,{Default:function(){return py},getServerSideProps:function(){return pE}});var l4={};i.r(l4),i.d(l4,{Default:function(){return pC},getServerSideProps:function(){return pO}});var l6={};i.r(l6),i.d(l6,{Default:function(){return pL},getServerSideProps:function(){return pI}});var l8={};i.r(l8),i.d(l8,{Default:function(){return pF},getServerSideProps:function(){return p_}});var l7={};i.r(l7),i.d(l7,{Default:function(){return pM},getServerSideProps:function(){return pR}});var l9={};i.r(l9),i.d(l9,{Default:function(){return pP},getServerSideProps:function(){return pA}});var ie={};i.r(ie),i.d(ie,{Default:function(){return pD},default:function(){return pB}});var il={};i.r(il),i.d(il,{Default:function(){return pV},default:function(){return pW}});var ii={};i.r(ii),i.d(ii,{Default:function(){return pH},default:function(){return pG}});var is={};i.r(is),i.d(is,{Default:function(){return pU},default:function(){return pz}});var ia={};i.r(ia),i.d(ia,{Default:function(){return pq},default:function(){return pQ}});var id={};i.r(id),i.d(id,{Default:function(){return pY},default:function(){return pK}});var it={};i.r(it),i.d(it,{Default:function(){return p7},default:function(){return he},getServerSideProps:function(){return p9}});var io={};i.r(io),i.d(io,{Default:function(){return hl},default:function(){return hs},getServerSideProps:function(){return hi}});var ir={};i.r(ir),i.d(ir,{Default:function(){return hn},default:function(){return hd},getServerSideProps:function(){return ha}});var ic={};i.r(ic),i.d(ic,{Default:function(){return ht},default:function(){return hr},getServerSideProps:function(){return ho}});var iv={};i.r(iv),i.d(iv,{Default:function(){return hc},default:function(){return hv}});var iu={};i.r(iu),i.d(iu,{Default:function(){return hu},default:function(){return hm}});var im={};i.r(im),i.d(im,{Default:function(){return hx},default:function(){return hp}});var ix={};i.r(ix),i.d(ix,{Default:function(){return hh},default:function(){return hf}});var ip={};i.r(ip),i.d(ip,{Default:function(){return hg},default:function(){return hj}});var ih={};i.r(ih),i.d(ih,{Default:function(){return hN},default:function(){return hb}});var ig={};i.r(ig),i.d(ig,{Default:function(){return hw},default:function(){return hE},getServerSideProps:function(){return hy}});var ij={};i.r(ij),i.d(ij,{default:function(){return hO}});var iN={};i.r(iN),i.d(iN,{default:function(){return hL}});var ib={};i.r(ib),i.d(ib,{default:function(){return hI}});var iT={};i.r(iT),i.d(iT,{default:function(){return hF}});var iS={};i.r(iS),i.d(iS,{default:function(){return h_}});var ik={};i.r(ik),i.d(ik,{default:function(){return hM}});var iw={};i.r(iw),i.d(iw,{default:function(){return hR}});var iy={};i.r(iy),i.d(iy,{default:function(){return hP}});var iE={};i.r(iE),i.d(iE,{default:function(){return hA}});var iC={};i.r(iC),i.d(iC,{default:function(){return hD}});var iO={};i.r(iO),i.d(iO,{default:function(){return hW}});var iL={};i.r(iL),i.d(iL,{default:function(){return hH}});var iI={};i.r(iI),i.d(iI,{default:function(){return hG}});var iF={};i.r(iF),i.d(iF,{default:function(){return hU}});var i_={};i.r(i_),i.d(i_,{default:function(){return hz}});var iM={};i.r(iM),i.d(iM,{default:function(){return hq}});var iR={};i.r(iR),i.d(iR,{Default:function(){return hQ},default:function(){return hY}});var iP={};i.r(iP),i.d(iP,{Default:function(){return hK},default:function(){return h$}});var iA={};i.r(iA),i.d(iA,{Default:function(){return hZ},default:function(){return hJ}});var iD={};i.r(iD),i.d(iD,{Default:function(){return hX},default:function(){return h0}});var iB={};i.r(iB),i.d(iB,{Default:function(){return h1},default:function(){return h2}}
1);var iV={};i.r(iV),i.d(iV,{Default:function(){return h5},default:function(){return h3}});var iW={};i.r(iW),i.d(iW,{Default:function(){return h4},default:function(){return h6}});var iH={};i.r(iH),i.d(iH,{Default:function(){return h8},default:function(){return h7}});var iG={};i.r(iG),i.d(iG,{ShMainPageCarousel:function(){return h9}});var iU={};i.r(iU),i.d(iU,{Default:function(){return fe}});var iz={};i.r(iz),i.d(iz,{Default:function(){return fl}});var iq={};i.r(iq),i.d(iq,{DynamicImage:function(){return fi}});var iQ={};i.r(iQ),i.d(iQ,{default:function(){return fa}});var iY={};i.r(iY),i.d(iY,{default:function(){return fr},getServerSideProps:function(){return fo}});var iK={};i.r(iK),i.d(iK,{Default:function(){return fv},default:function(){return fu}});var i$={};i.r(i$),i.d(i$,{Default:function(){return fm},default:function(){return fx}});var iZ={};i.r(iZ),i.d(iZ,{Default:function(){return fp},default:function(){return fh}});var iJ={};i.r(iJ),i.d(iJ,{Default:function(){return ff},default:function(){return fj},getServerSideProps:function(){return fg}});var iX={};i.r(iX),i.d(iX,{Default:function(){return fb},default:function(){return fS},getServerSideProps:function(){return fT}});var i0={};i.r(i0),i.d(i0,{Default:function(){return fk},default:function(){return fy},getServerSideProps:function(){return fw}});var i1={};i.r(i1),i.d(i1,{Default:function(){return fE},default:function(){return fC}});var i2={};i.r(i2),i.d(i2,{Default:function(){return fO},default:function(){return fL}});var i5={};i.r(i5),i.d(i5,{Default:function(){return fI},default:function(){return fF}});var i3={};i.r(i3),i.d(i3,{Default:function(){return f_},default:function(){return fM}});var i4={};i.r(i4),i.d(i4,{Default:function(){return fR},default:function(){return fP}});var i6={};i.r(i6),i.d(i6,{Default:function(){return fA},default:function(){return fD}});var i8={};i.r(i8),i.d(i8,{Default:function(){return fB},default:function(){return fV}});var i7={};i.r(i7),i.d(i7,{Default:function(){return fW},default:function(){return fH}});var i9={};i.r(i9),i.d(i9,{Default:function(){return fG},default:function(){return fU}});var se={};i.r(se),i.d(se,{Default:function(){return fz},default:function(){return fq}});var sl={};i.r(sl),i.d(sl,{Default:function(){return fQ},default:function(){return fY}});var si={};i.r(si),i.d(si,{Default:function(){return fK},default:function(){return f$}});var ss={};i.r(ss),i.d(ss,{Default:function(){return fZ},default:function(){return fJ}});var sn={};i.r(sn),i.d(sn,{TmhFullwidthCarousel:function(){return fX}});var sa={};i.r(sa),i.d(sa,{TmhGalleryCarousel:function(){return f0}});var sd={};i.r(sd),i.d(sd,{TmhGalleryCarouselSelector:function(){return f1}});var st={};i.r(st),i.d(st,{TmhInnerVideoCarousel:function(){return f2}});var so={};i.r(so),i.d(so,{Default:function(){return f5}});var sr={};i.r(sr),i.d(sr,{TmhMediaFilter:function(){return f3}});var sc={};i.r(sc),i.d(sc,{TmhVideoCarousel:function(){return f4}});var sv={};i.r(sv),i.d(sv,{Default:function(){return f6}});var su={};i.r(su),i.d(su,{default:function(){return f7},getServerSideProps:function(){return f8}});var sm={};i.r(sm),i.d(sm,{default:function(){return f9}});var sx={};i.r(sx),i.d(sx,{default:function(){return ge}});var sp={};i.r(sp),i.d(sp,{Default:function(){return gl}});var sh={};i.r(sh),i.d(sh,{Default:function(){return gi}});var sf={};i.r(sf),i.d(sf,{Default:function(){return gs}});var sg={};i.r(sg),i.d(sg,{Default:function(){return gn}});var sj={};i.r(sj),i.d(sj,{Default:function(){return ga}});var sN={};i.r(sN),i.d(sN,{Default:function(){return gd}});var sb={};i.r(sb),i.d(sb,{Default:function(){return gt}});var sT={};i.r(sT),i.d(sT,{Default:function(){return go}});var sS={};i.r(sS),i.d(sS,{Default:function(){return gr}});var sk={};i.r(sk),i.d(sk,{Default:function(){return gc}});var sw={};i.r(sw),i.d(sw,{Default:function(){return gv}});var sy={};i.r(sy),i.d(sy,{Default:function(){return gu}});var sE={};i.r(sE),i.d(sE,{Default:function(){return gx}});var sC={};i.r(sC),i.d(sC,{Default:function(){return gh}});var sO={};i.r(sO),i.d(sO,{Default:function(){return gf}});var sL={};i.r(sL),i.d(sL,{Default:function(){return gg}});var sI={};i.r(sI),i.d(sI,{Default:function(){return gj}});var sF={};i.r(sF),i.d(sF,{Default:function(){return gN}});var s_={};i.r(s_),i.d(s_,{Default:function(){return gb}});var sM={};i.r(sM),i.d(sM,{Default:function(){return gT}});var sR={};i.r(sR),i.d(sR,{Default:function(){return gS}});var sP={};i.r(sP),i.d(sP,{Default:function(){return gy}});var sA={};i.r(sA),i.d(sA,{Default:function(){return gC}});var sD={};i.r(sD),i.d(sD,{Default:function(){return gL}});var sB={};i.r(sB),i.d(sB,{Default:function(){return gI}});var sV={};i.r(sV),i.d(sV,{Default:function(){return gF}});var sW={};i.r(sW),i.d(sW,{Default:function(){return g_}});var sH={};i.r(sH),i.d(sH,{Default:function(){return gM}});var sG={};i.r(sG),i.d(sG,{Default:function(){return gR}});var sU={};i.r(sU),i.d(sU,{Default:function(){return gP}});var sz={};i.r(sz),i.d(sz,{Default:function(){return gA}});var sq={};i.r(sq),i.d(sq,{Default:function(){return gD}});var sQ={};i.r(sQ),i.d(sQ,{Default:function(){return gB}});var sY={};i.r(sY),i.d(sY,{Default:function(){return gV}});var sK={};i.r(sK),i.d(sK,{Default:function(){return gW}});var s$={};i.r(s$),i.d(s$,{Default:function(){return gH}});var sZ={};i.r(sZ),i.d(sZ,{Default:function(){return gG}});var sJ={};i.r(sJ),i.d(sJ,{Default:function(){return gU}});var sX={};i.r(sX),i.d(sX,{Default:function(){return gz}});var s0={};i.r(s0),i.d(s0,{Default:function(){return gq}});var s1={};i.r(s1),i.d(s1,{Default:function(){return gQ}});var s2={};i.r(s2),i.d(s2,{Default:function(){return gY}});var s5={};i.r(s5),i.d(s5,{Default:function(){return g1},getServerSideProps:function(){return g2}});var s3={};i.r(s3),i.d(s3,{Default:function(){return g4},getServerSideProps:function(){return g6}});var s4={};i.r(s4),i.d(s4,{Default:function(){return g7}});var s6={};i.r(s6),i.d(s6,{Default:function(){return g9}});var s8={};i.r(s8),i.d(s8,{default:function(){return je}});var s7={};i.r(s7),i.d(s7,{default:function(){return jl}});var s9={};i.r(s9),i.d(s9,{Default:function(){return ji}});var ne={};i.r(ne),i.d(ne,{Default:function(){return js},getServerSideProps:function(){return jn}});var nl={};i.r(nl),i.d(nl,{Default:function(){return ja},getServerSideProps:function(){return jd}});var ni={};i.r(ni),i.d(ni,{Default:function(){return jt},getServerSideProps:function(){return jo}});var ns={};i.r(ns),i.d(ns,{Default:function(){return jr},getServerSideProps:function(){return jc}});var nn={};i.r(nn),i.d(nn,{Default:function(){return jv}
1,getServerSideProps:function(){return ju}});var na={};i.r(na),i.d(na,{Default:function(){return jm}});var nd={};i.r(nd),i.d(nd,{Default:function(){return jx}});var nt={};i.r(nt),i.d(nt,{Default:function(){return jp}});var no={};i.r(no),i.d(no,{Default:function(){return jh}});var nr={};i.r(nr),i.d(nr,{Default:function(){return jf}});var nc={};i.r(nc),i.d(nc,{Default:function(){return jg}});var nv={};i.r(nv),i.d(nv,{Default:function(){return jj}});var nu={};i.r(nu),i.d(nu,{Default:function(){return jN}});var nm={};i.r(nm),i.d(nm,{Default:function(){return jb}});var nx={};i.r(nx),i.d(nx,{Default:function(){return jT}});var np={};i.r(np),i.d(np,{Default:function(){return jS}});var nh={};i.r(nh),i.d(nh,{Default:function(){return jy}});var nf={};i.r(nf),i.d(nf,{Default:function(){return jE}});var ng={};i.r(ng),i.d(ng,{Default:function(){return jC}});var nj={};i.r(nj),i.d(nj,{Default:function(){return jO}});var nN={};i.r(nN),i.d(nN,{Default:function(){return jL}});var nb={};i.r(nb),i.d(nb,{Default:function(){return jI}});var nT={};i.r(nT),i.d(nT,{Default:function(){return jF}});var nS={};i.r(nS),i.d(nS,{Default:function(){return jM},getServerSideProps:function(){return jR}});var nk={};i.r(nk),i.d(nk,{Default:function(){return jP},getServerSideProps:function(){return jA}});var nw={};i.r(nw),i.d(nw,{Default:function(){return jD},getServerSideProps:function(){return jB}});var ny={};i.r(ny),i.d(ny,{default:function(){return jW},getServerSideProps:function(){return jV}});var nE={};i.r(nE),i.d(nE,{Default:function(){return jH}});var nC={};i.r(nC),i.d(nC,{Default:function(){return jG}});var nO={};i.r(nO),i.d(nO,{Default:function(){return jU},getServerSideProps:function(){return jz}});var nL={};i.r(nL),i.d(nL,{Default:function(){return jq}});var nI={};i.r(nI),i.d(nI,{Default:function(){return jQ},getServerSideProps:function(){return jY}});var nF={};i.r(nF),i.d(nF,{Default:function(){return jK},getServerSideProps:function(){return j$}});var n_={};i.r(n_),i.d(n_,{Default:function(){return jZ}});var nM={};i.r(nM),i.d(nM,{Default:function(){return jJ},default:function(){return jX}});var nR={};i.r(nR),i.d(nR,{Default:function(){return j0},default:function(){return j1}});var nP={};i.r(nP),i.d(nP,{Default:function(){return j2},default:function(){return j5}});var nA={};i.r(nA),i.d(nA,{Default:function(){return j3},default:function(){return j4}});var nD={};i.r(nD),i.d(nD,{Default:function(){return j6},default:function(){return j8}});var nB={};i.r(nB),i.d(nB,{default:function(){return j7}});var nV={};i.r(nV),i.d(nV,{Default:function(){return j9},default:function(){return Ne}});var nW={};i.r(nW),i.d(nW,{Default:function(){return Nl},default:function(){return Ni}});var nH={};i.r(nH),i.d(nH,{Default:function(){return Ns},default:function(){return Nn}});var nG={};i.r(nG),i.d(nG,{Default:function(){return Nt},default:function(){return Nr},getServerSideProps:function(){return No}});var nU={};i.r(nU),i.d(nU,{Default:function(){return Nc},default:function(){return Nv}});var nz={};i.r(nz),i.d(nz,{Default:function(){return Nu},default:function(){return Nm}});var nq={};i.r(nq),i.d(nq,{Default:function(){return Nx},default:function(){return Np}});var nQ={};i.r(nQ),i.d(nQ,{Default:function(){return Nh},default:function(){return Nf}});var nY={};i.r(nY),i.d(nY,{Default:function(){return Ng},default:function(){return Nj}});var nK={};i.r(nK),i.d(nK,{Default:function(){return NN},default:function(){return Nb}});var n$={};i.r(n$),i.d(n$,{Default:function(){return NT},default:function(){return NS}});var nZ={};i.r(nZ),i.d(nZ,{Default:function(){return Nk},default:function(){return Nw}});var nJ={};i.r(nJ),i.d(nJ,{Default:function(){return Ny},default:function(){return NE}});var nX={};i.r(nX),i.d(nX,{Default:function(){return NC},default:function(){return NO}});var n0={};i.r(n0),i.d(n0,{Default:function(){return NL},default:function(){return NI}});var n1={};i.r(n1),i.d(n1,{Default:function(){return NF},default:function(){return N_}});var n2={};i.r(n2),i.d(n2,{Default:function(){return NM},default:function(){return NR}});var n5={};i.r(n5),i.d(n5,{Default:function(){return NP},default:function(){return NA}});var n3={};i.r(n3),i.d(n3,{Default:function(){return ND},default:function(){return NB}});var n4={};i.r(n4),i.d(n4,{Default:function(){return NV},default:function(){return NW}});var n6={};i.r(n6),i.d(n6,{Default:function(){return NH},default:function(){return NG}});var n8={};i.r(n8),i.d(n8,{Default:function(){return NU},default:function(){return Nz}});var n7={};i.r(n7),i.d(n7,{Default:function(){return Nq},default:function(){return NQ}});var n9={};i.r(n9),i.d(n9,{Default:function(){return NY},default:function(){return NK}});var ae={};i.r(ae),i.d(ae,{Default:function(){return N$},default:function(){return NZ}});var al={};i.r(al),i.d(al,{Default:function(){return NJ},default:function(){return NX}});var ai={};i.r(ai),i.d(ai,{Default:function(){return N0},default:function(){return N1}});var as={};i.r(as),i.d(as,{Default:function(){return N2},default:function(){return N5}});var an={};i.r(an),i.d(an,{Default:function(){return N3},default:function(){return N4}}
1);var aa={};i.r(aa),i.d(aa,{Default:function(){return N6},default:function(){return N8}});var ad={};i.r(ad),i.d(ad,{Default:function(){return N7},default:function(){return N9}});var at={};i.r(at),i.d(at,{Default:function(){return be},default:function(){return bl}});var ao={};i.r(ao),i.d(ao,{Default:function(){return bi},default:function(){return bs}});var ar={};i.r(ar),i.d(ar,{Default:function(){return bn},default:function(){return ba}});var ac={};i.r(ac),i.d(ac,{Default:function(){return bd},default:function(){return bt}});var av={};i.r(av),i.d(av,{Default:function(){return bo},default:function(){return br}});var au={};i.r(au),i.d(au,{Default:function(){return bc},default:function(){return bv}});var am={};i.r(am),i.d(am,{Default:function(){return bu},default:function(){return bm}});var ax={};i.r(ax),i.d(ax,{Default:function(){return bx},default:function(){return bp}});var ap={};i.r(ap),i.d(ap,{RichTextRender:function(){return bN}});var ah={};i.r(ah),i.d(ah,{TextBlock:function(){return bb},default:function(){return bT}});var af={};i.r(af),i.d(af,{Default:function(){return bS},default:function(){return bk}});var ag={};i.r(ag),i.d(ag,{Default:function(){return bw},default:function(){return by}});var aj={};i.r(aj),i.d(aj,{Default:function(){return bE},default:function(){return bC}});var aN={};i.r(aN),i.d(aN,{default:function(){return bO}});var ab={};i.r(ab),i.d(ab,{default:function(){return bI},getServerSideProps:function(){return bL}});var aT={};i.r(aT),i.d(aT,{Default:function(){return bU},default:function(){return bq},getServerSideProps:function(){return bz}});var aS={};i.r(aS),i.d(aS,{default:function(){return bQ}});var ak={};i.r(ak),i.d(ak,{default:function(){return bY}});var aw={};i.r(aw),i.d(aw,{ThcArticleDataByHousesMobile:function(){return b$}});var ay={};i.r(ay),i.d(ay,{default:function(){return bJ}});var aE={};i.r(aE),i.d(aE,{ThcArticleDataByYearsHousesPartial:function(){return b0}});var aC={};i.r(aC),i.d(aC,{default:function(){return b1}});var aO={};i.r(aO),i.d(aO,{default:function(){return b5}});var aL={};i.r(aL),i.d(aL,{default:function(){return b3}});var aI={};i.r(aI),i.d(aI,{default:function(){return b4}});var aF={};i.r(aF),i.d(aF,{ThcOptionYearEnewsletterContentMobilePartial:function(){return b6}});var a_={};i.r(a_),i.d(a_,{ThcEnewsletterArticleDataByYearsMobilePartial:function(){return b7}});var aM={};i.r(aM),i.d(aM,{Default:function(){return b9},getServerSideProps:function(){return Te}});var aR={};i.r(aR),i.d(aR,{default:function(){return Ti},getServerSideProps:function(){return Tl}});var aP={};i.r(aP),i.d(aP,{default:function(){return Ts}});var aA={};i.r(aA),i.d(aA,{default:function(){return Tn}});var aD={};i.r(aD),i.d(aD,{default:function(){return Tr}});var aB={};i.r(aB),i.d(aB,{default:function(){return Tc}});var aV={};i.r(aV),i.d(aV,{default:function(){return Tv}});var aW={};i.r(aW),i.d(aW,{default:function(){return Tm},getServerSideProps:function(){return Tu}});var aH={};i.r(aH),i.d(aH,{default:function(){return Tx}});var aG={};i.r(aG),i.d(aG,{LinkWrapper:function(){return Tf}});var aU={};i.r(aU),i.d(aU,{default:function(){return Tg}});var az={};i.r(az),i.d(az,{default:function(){return Tj}});var aq={};i.r(aq),i.d(aq,{default:function(){return Tb},getServerSideProps:function(){return TN}});var aQ={};i.r(aQ),i.d(aQ,{default:function(){return Tk}});var aY={};i.r(aY),i.d(aY,{default:function(){return Tw}});var aK={};i.r(aK),i.d(aK,{default:function(){return Ty}});var a$={};i.r(a$),i.d(a$,{default:function(){return TC},getServerSideProps:function(){return TE}});var aZ={};i.r(aZ),i.d(aZ,{Default:function(){return TO}});var aJ={};i.r(aJ),i.d(aJ,{default:function(){return TI},getServerSideProps:function(){return TL}});var aX={};i.r(aX),i.d(aX,{default:function(){return TF}});var a0={};i.r(a0),i.d(a0,{Default:function(){return TM},default:function(){return TP},getServerSideProps:function(){return TR}});var a1={};i.r(a1),i.d(a1,{default:function(){return TD},getServerSideProps:function(){return TA}});var a2={};i.r(a2),i.d(a2,{default:function(){return TB}});var a5={};i.r(a5),i.d(a5,{Default:function(){return TV},default:function(){return TH},getServerSideProps:function(){return TW}});var a3={};i.r(a3),i.d(a3,{Default:function(){return TG},default:function(){return TU}});var a4={};i.r(a4),i.d(a4,{Default:function(){return Tz},default:function(){return TQ},getServerSideProps:function(){return Tq}});var a6={};i.r(a6),i.d(a6,{default:function(){return TY}});var a8={};i.r(a8),i.d(a8,{default:function(){return TK}});var a7={};i.r(a7),i.d(a7,{default:function(){return T$}});var a9={};i.r(a9),i.d(a9,{default:function(){return TZ}});var de={};i.r(de),i.d(de,{Default:function(){return TJ},getServerSideProps:function(){return TX}});var dl={};i.r(dl),i.d(dl,{default:function(){return T0}});var di={};i.r(di),i.d(di,{default:function(){return T2},getServerSideProps:function(){return T1}});var ds={};
1i.r(ds),i.d(ds,{BackgroundImage:function(){return T5}});var dn={};i.r(dn),i.d(dn,{Default:function(){return T4},getServerSideProps:function(){return T6}});var da={};i.r(da),i.d(da,{default:function(){return T7},getServerSideProps:function(){return T8}});var dd={};i.r(dd),i.d(dd,{default:function(){return Se},getServerSideProps:function(){return T9}});var dt={};i.r(dt),i.d(dt,{default:function(){return Sl}});var dr={};i.r(dr),i.d(dr,{default:function(){return Si}});var dc={};i.r(dc),i.d(dc,{default:function(){return Sn},getServerSideProps:function(){return Ss}});var dv={};i.r(dv),i.d(dv,{default:function(){return Sr},getServerSideProps:function(){return So}});var du={};i.r(du),i.d(du,{default:function(){return Sv},getServerSideProps:function(){return Sc}});var dm={};i.r(dm),i.d(dm,{default:function(){return Sh},getServerSideProps:function(){return Sp}});var dx={};i.r(dx),i.d(dx,{default:function(){return SN},getServerSideProps:function(){return Sj}});var dp={};i.r(dp),i.d(dp,{default:function(){return Sb}});var dh={};i.r(dh),i.d(dh,{default:function(){return ST}});var df={};i.r(df),i.d(df,{default:function(){return SS}});var dg={};i.r(dg),i.d(dg,{default:function(){return Sw},getServerSideProps:function(){return Sk}});var dj={};i.r(dj),i.d(dj,{default:function(){return SE},getServerSideProps:function(){return Sy}});var dN={};i.r(dN),i.d(dN,{default:function(){return SC}});var db={};i.r(db),i.d(db,{default:function(){return SF}});var dT={};i.r(dT),i.d(dT,{default:function(){return S_}});var dS={};i.r(dS),i.d(dS,{default:function(){return SM}});var dk={};i.r(dk),i.d(dk,{default:function(){return SR}});var dw={};i.r(dw),i.d(dw,{default:function(){return SP}});var dy={};i.r(dy),i.d(dy,{default:function(){return SA}});var dE={};i.r(dE),i.d(dE,{default:function(){return SD}});var dC={};i.r(dC),i.d(dC,{default:function(){return SB}});var dO={};i.r(dO),i.d(dO,{default:function(){return SV}});var dL={};i.r(dL),i.d(dL,{default:function(){return SW}});var dI={};i.r(dI),i.d(dI,{default:function(){return SH}});var dF={};i.r(dF),i.d(dF,{default:function(){return SG}});var d_={};i.r(d_),i.d(d_,{default:function(){return SU}});var dM={};i.r(dM),i.d(dM,{default:function(){return Sz}});var dR={};i.r(dR),i.d(dR,{default:function(){return Sq}});var dP={};i.r(dP),i.d(dP,{default:function(){return SQ}});var dA={};i.r(dA),i.d(dA,{default:function(){return SY}});var dD={};i.r(dD),i.d(dD,{default:function(){return SK}});var dB={};i.r(dB),i.d(dB,{default:function(){return S$}});var dV={};i.r(dV),i.d(dV,{default:function(){return SZ}});var dW={};i.r(dW),i.d(dW,{default:function(){return SJ}});var dH={};i.r(dH),i.d(dH,{default:function(){return SX}});var dG={};i.r(dG),i.d(dG,{default:function(){return S1},getServerSideProps:function(){return S0}});var dU={};i.r(dU),i.d(dU,{default:function(){return S5},getServerSideProps:function(){return S2}});var dz={};i.r(dz),i.d(dz,{default:function(){return S3}});var dq={};i.r(dq),i.d(dq,{default:function(){return S4}});var dQ={};i.r(dQ),i.d(dQ,{default:function(){return S6}});var dY={};i.r(dY),i.d(dY,{default:function(){return S7},getServerSideProps:function(){return S8}});var dK={};i.r(dK),i.d(dK,{default:function(){return ke},getServerSideProps:function(){return S9}});var d$={};i.r(d$),i.d(d$,{default:function(){return ka},getServerSideProps:function(){return kn}});var dZ={};i.r(dZ),i.d(dZ,{default:function(){return kt},getServerSideProps:function(){return kd}});var dJ={};i.r(dJ),i.d(dJ,{default:function(){return ko}});var dX={};i.r(dX),i.d(dX,{default:function(){return kr}});var d0={};i.r(d0),i.d(d0,{default:function(){return kc}});var d1={};i.r(d1),i.d(d1,{default:function(){return kv}});var d2={};i.r(d2),i.d(d2,{Default:function(){return ku}});var d5={};i.r(d5),i.d(d5,{Default:function(){return km}});var d3={};i.r(d3),i.d(d3,{Default:function(){return kx}});var d4={};i.r(d4),i.d(d4,{Default:function(){return kj},default:function(){return kb},getServerSideProps:function(){return kN}});var d6={};i.r(d6),i.d(d6,{Default:function(){return kT}});var d8={};i.r(d8),i.d(d8,{Default:function(){return kS}});var d7={};i.r(d7),i.d(d7,{Default:function(){return kk}});var d9={};i.r(d9),i.d(d9,{Default:function(){return kw}});var te={};
1i.r(te),i.d(te,{Default:function(){return ky}});var tl={};i.r(tl),i.d(tl,{Default:function(){return kE}});var ti={};i.r(ti),i.d(ti,{Default:function(){return kC}});var ts={};i.r(ts),i.d(ts,{Default:function(){return kO}});var tn={};i.r(tn),i.d(tn,{Default:function(){return kL}});var ta={};i.r(ta),i.d(ta,{Default:function(){return kI}});var td={};i.r(td),i.d(td,{Default:function(){return k_}});var tt={};i.r(tt),i.d(tt,{Default:function(){return kM}});var to={};i.r(to),i.d(to,{Default:function(){return kR}});var tr={};i.r(tr),i.d(tr,{Default:function(){return kP}});var tc={};i.r(tc),i.d(tc,{Default:function(){return kA}});var tv={};i.r(tv),i.d(tv,{Default:function(){return kD}});var tu={};i.r(tu),i.d(tu,{Default:function(){return kB}});var tm={};i.r(tm),i.d(tm,{Default:function(){return kV}});var tx={};i.r(tx),i.d(tx,{Default:function(){return kW}});var tp={};i.r(tp),i.d(tp,{Default:function(){return kH}});var th={};i.r(th),i.d(th,{default:function(){return kG}});var tf={};i.r(tf),i.d(tf,{Default:function(){return kU}});var tg={};i.r(tg),i.d(tg,{Default:function(){return kz}});var tj={};i.r(tj),i.d(tj,{Default:function(){return kQ}});var tN={};i.r(tN),i.d(tN,{Default:function(){return kY}});var tb={};i.r(tb),i.d(tb,{Default:function(){return kK}});var tT={};i.r(tT),i.d(tT,{Default:function(){return k$}});var tS={};i.r(tS),i.d(tS,{Default:function(){return kJ}});var tk={};i.r(tk),i.d(tk,{Default:function(){return kX}});var tw={};i.r(tw),i.d(tw,{Default:function(){return k0}});var ty={};i.r(ty),i.d(ty,{Default:function(){return k2}});var tE={};i.r(tE),i.d(tE,{Default:function(){return k5}});var tC={};i.r(tC),i.d(tC,{Default:function(){return k4}});var tO={};i.r(tO),i.d(tO,{Default:function(){return k6}});var tL={};i.r(tL),i.d(tL,{Default:function(){return k8},getServerSideProps:function(){return k7}});var tI={};i.r(tI),i.d(tI,{Default:function(){return k9}});var tF={};i.r(tF),i.d(tF,{Default:function(){return wl}});var t_={};i.r(t_),i.d(t_,{Default:function(){return wi}});var tM={};i.r(tM),i.d(tM,{default:function(){return wo},getServerSideProps:function(){return wr}});var tR={};i.r(tR),i.d(tR,{Default:function(){return wc},default:function(){return wv}});var tP={};i.r(tP),i.d(tP,{Default:function(){return wm},default:function(){return wx}});var tA={};i.r(tA),i.d(tA,{EhTeasersFilter:function(){return wp}});var tD={};i.r(tD),i.d(tD,{Default:function(){return wh}});var tB={};i.r(tB),i.d(tB,{Default:function(){return wf}});var tV={};i.r(tV),i.d(tV,{Default:function(){return wg}});var tW={};i.r(tW),i.d(tW,{Default:function(){return wj},getServerSideProps:function(){return wN}});var tH={};i.r(tH),i.d(tH,{default:function(){return wb}});var tG={};i.r(tG),i.d(tG,{default:function(){return wT}});var tU={};i.r(tU),i.d(tU,{ThcLuxeGuideList:function(){return wS},default:function(){return ww},getServerSideProps:function(){return wk}});var tz={};i.r(tz),i.d(tz,{default:function(){return wy}});var tq={};i.r(tq),i.d(tq,{default:function(){return wE}});var tQ={};i.r(tQ),i.d(tQ,{default:function(){return wO},getServerSideProps:function(){return wC}});var tY={};i.r(tY),i.d(tY,{Default:function(){return wL}});var tK={};i.r(tK),i.d(tK,{default:function(){return wF}});var t$={};i.r(t$),i.d(t$,{default:function(){return wM},getServerSideProps:function(){return w_}});var tZ={};i.r(tZ),i.d(tZ,{default:function(){return wD},getServerSideProps:function(){return wA}});var tJ={};i.r(tJ),i.d(tJ,{default:function(){return wH},getServerSideProps:function(){return wW}});var tX={};i.r(tX),i.d(tX,{Default:function(){return wG}});var t0={};i.r(t0),i.d(t0,{Default:function(){return wU}});var t1={};i.r(t1),i.d(t1,{Default:function(){return wz}});var t2={};i.r(t2),i.d(t2,{Default:function(){return wq}});var t5={};i.r(t5),i.d(t5,{Default:function(){return wQ}});var t3={};i.r(t3),i.d(t3,{default:function(){return wY}});var t4={};i.r(t4),i.d(t4,{Default:function(){return wK}});var t6={};i.r(t6),i.d(t6,{Default:function(){return w$}});var t8={};i.r(t8),i.d(t8,{Default:function(){return wZ}});var t7={};i.r(t7),i.d(t7,{Default:function(){return wJ}});var t9={};i.r(t9),i.d(t9,{Default:function(){return wX}});var oe={};i.r(oe),i.d(oe,{Default:function(){return w0}});var ol={};i.r(ol),i.d(ol,{Default:function(){return w1}});var oi={};i.r(oi),i.d(oi,{Default:function(){return w2}});var os={};i.r(os),i.d(os,{Default:function(){return w5}});var on={};i.r(on),i.d(on,{Default:function(){return w3}});var oa={};i.r(oa),i.d(oa,{Default:function(){return w4}});var od={};i.r(od),i.d(od,{Default:function(){return w6}});var ot={};i.r(ot),i.d(ot,{Default:function(){return w8}});var oo={};i.r(oo),i.d(oo,{Default:function(){return w7}});var or={};
1i.r(or),i.d(or,{Default:function(){return w9}});var oc={};i.r(oc),i.d(oc,{Default:function(){return ye}});var ov={};i.r(ov),i.d(ov,{Default:function(){return yl}});var ou={};i.r(ou),i.d(ou,{Default:function(){return yi}});var om={};i.r(om),i.d(om,{Default:function(){return ys}});var ox={};i.r(ox),i.d(ox,{Default:function(){return yn}});var op={};i.r(op),i.d(op,{Default:function(){return ya}});var oh={};i.r(oh),i.d(oh,{Default:function(){return yd}});var of={};i.r(of),i.d(of,{Default:function(){return yt}});var og={};i.r(og),i.d(og,{Default:function(){return yo}});var oj={};i.r(oj),i.d(oj,{Default:function(){return yr}});var oN={};i.r(oN),i.d(oN,{Default:function(){return yc}});var ob={};i.r(ob),i.d(ob,{Default:function(){return yv}});var oT={};i.r(oT),i.d(oT,{Default:function(){return yu}});var oS={};i.r(oS),i.d(oS,{Default:function(){return yw}});var ok={};i.r(ok),i.d(ok,{default:function(){return yF}});var ow={};i.r(ow),i.d(ow,{default:function(){return y_}});var oy={};i.r(oy),i.d(oy,{default:function(){return yM}});var oE={};i.r(oE),i.d(oE,{default:function(){return yR}});var oC={};i.r(oC),i.d(oC,{default:function(){return yA}});var oO={};i.r(oO),i.d(oO,{default:function(){return yB}});var oL={};i.r(oL),i.d(oL,{default:function(){return yV}});var oI={};i.r(oI),i.d(oI,{default:function(){return yG}});var oF={};i.r(oF),i.d(oF,{default:function(){return yU}});var o_={};i.r(o_),i.d(o_,{default:function(){return yz}});var oM={};i.r(oM),i.d(oM,{default:function(){return yQ}});var oR={};i.r(oR),i.d(oR,{default:function(){return yY}});var oP={};i.r(oP),i.d(oP,{default:function(){return yK}});var oA={};i.r(oA),i.d(oA,{default:function(){return yZ}});var oD={};i.r(oD),i.d(oD,{default:function(){return yX}});var oB={};i.r(oB),i.d(oB,{default:function(){return y1}});var oV={};i.r(oV),i.d(oV,{default:function(){return y2}});var oW={};i.r(oW),i.d(oW,{default:function(){return y3}});var oH={};i.r(oH),i.d(oH,{default:function(){return y6}});var oG={};i.r(oG),i.d(oG,{default:function(){return y8}});var oU={};i.r(oU),i.d(oU,{default:function(){return y7}});var oz={};i.r(oz),i.d(oz,{default:function(){return y9}});var oq={};i.r(oq),i.d(oq,{default:function(){return Ee}});var oQ={};i.r(oQ),i.d(oQ,{SabreLoginForm:function(){return El}});var oY={};i.r(oY),i.d(oY,{Default:function(){return Ei},getServerSideProps:function(){return Es}});var oK={};i.r(oK),i.d(oK,{default:function(){return Ea}});var o$={};i.r(o$),i.d(o$,{UserProfile:function(){return Et},default:function(){return Eo}});var oZ={};i.r(oZ),i.d(oZ,{UserProfileMobile:function(){return Er}});var oJ={};i.r(oJ);var oX={};i.r(oX),i.d(oX,{Default:function(){return Ec}});var o0={};i.r(o0),i.d(o0,{Default:function(){return Ev}});var o1={};i.r(o1),i.d(o1,{Default:function(){return Eu}});var o2={};i.r(o2),i.d(o2,{Default:function(){return Em}});var o5={};i.r(o5),i.d(o5,{Default:function(){return Ex}});var o3={};i.r(o3),i.d(o3,{Default:function(){return Ep}});var o4={};i.r(o4),i.d(o4,{Default:function(){return Eh}});var o6={};i.r(o6),i.d(o6,{Default:function(){return Ef}});var o8={};i.r(o8),i.d(o8,{Default:function(){return Eg}});var o7={};i.r(o7),i.d(o7,{Default:function(){return Ej}});var o9={};i.r(o9),i.d(o9,{Default:function(){return EN}});var re={};i.r(re),i.d(re,{Default:function(){return Eb}});var rl={};i.r(rl),i.d(rl,{Default:function(){return ET}});var ri={};i.r(ri),i.d(ri,{Default:function(){return ES}});var rs={};i.r(rs),i.d(rs,{Default:function(){return Ek}});var rn={};i.r(rn),i.d(rn,{Default:function(){return Ew}});var ra={};i.r(ra),i.d(ra,{Default:function(){return Ey}});var rd={};i.r(rd),i.d(rd,{Default:function(){return EE}});var rt={};i.r(rt),i.d(rt,{Default:function(){return EC}});var ro={};i.r(ro),i.d(ro,{Default:function(){return EO}});var rr={};i.r(rr),i.d(rr,{Default:function(){return EL}});var rc={};i.r(rc),i.d(rc,{Default:function(){return EI}});var rv={};i.r(rv),i.d(rv,{Default:function(){return EF}});var ru={};i.r(ru),i.d(ru,{Default:function(){return EU}});var rm={};i.r(rm),i.d(rm,{UpperHouseHeaderBookNow:function(){return EZ}});var rx={};i.r(rx),i.d(rx,{UpperHouseHeaderNavigationMenu:function(){return EX}});var rp={};i.r(rp),i.d(rp,{Default:function(){return E0}});var rh={};i.r(rh),i.d(rh,{Default:function(){return E1}});var rf={};i.r(rf),i.d(rf,{Default:function(){return E7}});var rg={};i.r(rg),i.d(rg,{PropertyHeaderBookNow:function(){return Ce}});
1var rj={};i.r(rj),i.d(rj,{PropertyHeaderNavigationMenu:function(){return Cl}});var rN={};i.r(rN),i.d(rN,{Default:function(){return Ci}});var rb={};i.r(rb),i.d(rb,{Default:function(){return Cs}});var rT={};i.r(rT),i.d(rT,{Default:function(){return Cn}});var rS={};i.r(rS),i.d(rS,{Default:function(){return Ca}});var rk={};i.r(rk),i.d(rk,{Default:function(){return Cd}});var rw={};i.r(rw),i.d(rw,{Default:function(){return Ct}});var ry={};i.r(ry),i.d(ry,{Default:function(){return Co}});var rE={};i.r(rE),i.d(rE,{Default:function(){return Cr}});var rC={};i.r(rC),i.d(rC,{Default:function(){return Cc}});var rO={};i.r(rO),i.d(rO,{Default:function(){return Cv}});var rL={};i.r(rL),i.d(rL,{Default:function(){return Cu}});var rI={};i.r(rI),i.d(rI,{Default:function(){return Cm}});var rF={};i.r(rF),i.d(rF,{Default:function(){return Cx}});var r_={};i.r(r_),i.d(r_,{Default:function(){return Cp}});var rM={};i.r(rM),i.d(rM,{Default:function(){return Ch}});var rR={};i.r(rR),i.d(rR,{Default:function(){return Cf}});var rP={};i.r(rP),i.d(rP,{Default:function(){return Cg}});var rA={};i.r(rA),i.d(rA,{Default:function(){return Cj}});var rD={};i.r(rD),i.d(rD,{Default:function(){return CN}});var rB={};i.r(rB),i.d(rB,{Default:function(){return Cb}});var rV={};i.r(rV),i.d(rV,{Default:function(){return CT}});var rW={};i.r(rW),i.d(rW,{Default:function(){return CS}});var rH={};i.r(rH),i.d(rH,{Default:function(){return Ck}});var rG={};i.r(rG),i.d(rG,{Default:function(){return Cw}});var rU={};i.r(rU),i.d(rU,{Default:function(){return Cy}});var rz={};i.r(rz),i.d(rz,{Default:function(){return CE}});var rq={};i.r(rq),i.d(rq,{Default:function(){return CC}});var rQ={};i.r(rQ),i.d(rQ,{Default:function(){return CO}});var rY={};i.r(rY),i.d(rY,{Default:function(){return CL}});var rK={};i.r(rK),i.d(rK,{Default:function(){return CI}});var r$={};i.r(r$),i.d(r$,{Default:function(){return CF}});var rZ={};i.r(rZ),i.d(rZ,{Default:function(){return C_}});var rJ={};i.r(rJ),i.d(rJ,{Default:function(){return CM}});var rX={};i.r(rX),i.d(rX,{Default:function(){return CR}});var r0={};i.r(r0),i.d(r0,{Default:function(){return CP}});var r1={};i.r(r1),i.d(r1,{Default:function(){return CD}});var r2={};i.r(r2),i.d(r2,{Default:function(){return CB}});var r5={};i.r(r5),i.d(r5,{default:function(){return Cz}});var r3={};i.r(r3),i.d(r3,{default:function(){return Cq}});var r4={};i.r(r4),i.d(r4,{default:function(){return CQ}});var r6={};i.r(r6),i.d(r6,{AliVideoPlayer:function(){return CX}});var r8={};i.r(r8),i.d(r8,{default:function(){return C0}});var r7={};i.r(r7),i.d(r7,{default:function(){return C1}});var r9={};i.r(r9),i.d(r9,{default:function(){return C2}});var ce={};i.r(ce),i.d(ce,{default:function(){return C3}});var cl={};i.r(cl),i.d(cl,{default:function(){return C4}});var ci={};i.r(ci),i.d(ci,{default:function(){return C6}});var cs={};i.r(cs),i.d(cs,{default:function(){return C8}});var cn={};i.r(cn),i.d(cn,{Default:function(){return C7}});var ca={};i.r(ca),i.d(ca,{AccordionItemContainer:function(){return Ol}});var cd={};i.r(cd),i.d(cd,{Default:function(){return Oi}});var ct={};i.r(ct),i.d(ct,{Default:function(){return Os}});var co={};i.r(co),i.d(co,{Default:function(){return On}});var cr={};i.r(cr),i.d(cr,{Default:function(){return Oa}});var cc={};i.r(cc),i.d(cc,{default:function(){return Ot}});var cv={};i.r(cv),i.d(cv,{default:function(){return Oo}});var cu={};i.r(cu),i.d(cu,{default:function(){return Oc}});var cm={};i.r(cm),i.d(cm,{CarouselTicker:function(){return Ov}});var cx={};i.r(cx),i.d(cx,{default:function(){return Ou}});var cp={};i.r(cp),i.d(cp,{default:function(){return Om}});var ch={};i.r(ch),i.d(ch,{default:function(){return Ox}});var cf={};i.r(cf),i.d(cf,{Default:function(){return Op}});var cg={};i.r(cg),i.d(cg,{default:function(){return Oj}});var cj={};i.r(cj),i.d(cj,{default:function(){return ON}});var cN={};i.r(cN),i.d(cN,{default:function(){return Ob}});var cb={};i.r(cb),i.d(cb,{default:function(){return OT}});var cT={};i.r(cT),i.d(cT,{FoodAndBarsListPartial:function(){return Ow}});var cS={};i.r(cS),i.d(cS,{default:function(){return Oy}});var ck={};i.r(ck),i.d(ck,{default:function(){return OE}});var cw={};i.r(cw),i.d(cw,{Default:function(){return OO},FrequentlyAskedQuestions:function(){return OI},HotelEnquiries:function(){return OL}});var cy={};i.r(cy),i.d(cy,{default:function(){return O_}});var cE={};i.r(cE),i.d(cE,{default:function(){return OM}});var cC={};i.r(cC),i.d(cC,{default:function(){return OP}});var cO={};i.r(cO),i.d(cO,{default:function(){return OA}});var cL={};i.r(cL),i.d(cL,{default:function(){return OD}});var cI={};i.r(cI),i.d(cI,{ImageTextPairCard:function(){return OB}});var cF={};i.r(cF),i.d(cF,{default:function(){return OV}});var c_={};i.r(c_),i.d(c_,{default:function(){return OW}});var cM={};i.r(cM),i.d(cM,{default:function(){return OH}});var cR={};i.r(cR),i.d(cR,{default:function(){return OK}});var cP={};
1i.r(cP),i.d(cP,{default:function(){return OJ}});var cA={};i.r(cA),i.d(cA,{default:function(){return O0}});var cD={};i.r(cD),i.d(cD,{default:function(){return O2}});var cB={};i.r(cB),i.d(cB,{default:function(){return O3}});var cV={};i.r(cV),i.d(cV,{default:function(){return O4}});var cW={};i.r(cW),i.d(cW,{default:function(){return O9}});var cH={};i.r(cH),i.d(cH,{default:function(){return Le}});var cG={};i.r(cG),i.d(cG,{Default:function(){return Ll}});var cU={};i.r(cU),i.d(cU,{default:function(){return Li}});var cz={};i.r(cz),i.d(cz,{default:function(){return Ls}});var cq={};i.r(cq),i.d(cq,{SliderContainer:function(){return Ln}});var cQ={};i.r(cQ),i.d(cQ,{default:function(){return Ld}});var cY={};i.r(cY),i.d(cY,{SpecialOffersAndBarsListPartial:function(){return Lr}});var cK={};i.r(cK),i.d(cK,{default:function(){return Lc}});var c$={};i.r(c$),i.d(c$,{default:function(){return Lv}});var cZ={};i.r(cZ),i.d(cZ,{default:function(){return Lu}});var cJ={};i.r(cJ),i.d(cJ,{Default:function(){return Lx},ShortImage:function(){return Lp}});var cX={};i.r(cX),i.d(cX,{default:function(){return Lh}});var c0={};i.r(c0),i.d(c0,{Default:function(){return Lf}});var c1={};i.r(c1),i.d(c1,{default:function(){return Lg}});var c2={};i.r(c2),i.d(c2,{default:function(){return LN}});var c5={};i.r(c5),i.d(c5,{default:function(){return Lb}});var c3={};i.r(c3),i.d(c3,{default:function(){return LT}});var c4={};i.r(c4),i.d(c4,{default:function(){return LS}});var c6={};i.r(c6),i.d(c6,{default:function(){return Lk}});var c8={};i.r(c8),i.d(c8,{default:function(){return LO}});var c7={};i.r(c7),i.d(c7,{default:function(){return LI}});var c9={};i.r(c9),i.d(c9,{EditModePanel:function(){return LF}});var ve={};i.r(ve),i.d(ve,{EditBgImage:function(){return LP}});var vl=i(97854),vi=i(3689),vs=i(5416),vn=i(41134),va=i(85893),vd=i(67294),vt=i(89508);let vo=e=>{var l,i;let s="".concat(null!==(l=e.params.GridParameters)&&void 0!==l?l:""," ").concat(null!==(i=e.params.Styles)&&void 0!==i?i:"").trimEnd(),n=[e.params.ColumnWidth1,e.params.ColumnWidth2,e.params.ColumnWidth3,e.params.ColumnWidth4,e.params.ColumnWidth5,e.params.ColumnWidth6,e.params.ColumnWidth7,e.params.ColumnWidth8],a=[e.params.Styles1,e.params.Styles2,e.params.Styles3,e.params.Styles4,e.params.Styles5,e.params.Styles6,e.params.Styles7,e.params.Styles8],d=e.params.EnabledPlaceholders.split(","),t=e.params.RenderingIdentifier;return(0,va.jsx)("div",{className:"row component column-splitter ".concat(s),id:t||void 0,children:d.map((l,i)=>{var s;let d="".concat(n[+l-1]," ").concat(null!==(s=a[+l-1])&&void 0!==s?s:"").trimEnd();return(0,va.jsx)("div",{className:d,children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)(vt.V,{name:"column-".concat(l,"-{*}"),rendering:e.rendering},i)},i)},i)})})};var vr=i(32862);let vc=new RegExp(/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/gi),vv=e=>{let{sitecoreContext:l}=(0,vr.z)(),i=e.params&&e.params.Styles?e.params.Styles:"",s="".concat(e.params.GridParameters," ").concat(i).trimEnd(),n="container-".concat(e.params.DynamicPlaceholderId),a=e.params.RenderingIdentifier,d=e.params.BackgroundImage,t={};if(d){var o,r;let e="".concat("normal"!==l.pageState?"/sitecore/shell":"","/-/media/");d="".concat(null==d?void 0:null===(r=d.match(vc))||void 0===r?void 0:null===(o=r.pop())||void 0===o?void 0:o.replace(/-/gi,"")),t={backgroundImage:"url('".concat(e).concat(d,"')")}}return(0,va.jsx)("div",{className:"component container-default ".concat(s),id:a||void 0,children:(0,va.jsx)("div",{className:"component-content",style:t,children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)(vt.V,{name:n,rendering:e.rendering})})})})},vu=e=>{var l,i;let s=null===(i=e.params)||void 0===i?void 0:null===(l=i.Styles)||void 0===l?void 0:l.split(" ");return s&&s.includes("container")?(0,va.jsx)("div",{className:"container-wrapper",children:(0,va.jsx)(vv,{...e})}):(0,va.jsx)(vv,{...e})};var vm=i(72433),vx=i(16606),vp=i(62099),vh=(0,vp.C)()(e=>{let{fields:l}=e;return(0,va.jsxs)("div",{className:"contentBlock",children:[(0,va.jsx)(vm.x,{tag:"h2",className:"contentTitle",field:l.heading}),(0,va.jsx)(vx.H,{className:"contentDescription",field:l.content})]})}),vf=i(6218),vg=i(87383),vj=i(82796),vN=i(82672),vb=e=>{let{error:l}=e,i=JSON.stringify(l,Object.getOwnPropertyNames(l)),{sitecoreContext:s}=(0,vr.z)(),n=s.pageState===vj.LayoutServicePageState.Edit||s.pageState===vj.LayoutServicePageState.Preview;return console.log(l),n?(0,va.jsxs)("p",{children:["Error Message: ",i]}):(0,va.jsx)(va.Fragment,{})},vT=i(22556),vS=i(57166);let vk=e=>{let{children:l,field:i,editable:s,...n}=e,{sitecoreContext:a}=(0,vr.z)(),{locale:d}=(0,vT.QT)();try{var t,o,r,c,v,u,m,x,p,h,f,g;let e=a.pageState===vj.LayoutServicePageState.Edit||a.pageState===vj.LayoutServicePageState.Preview,j={...i};(null==j?void 0:null===(o=j.value)||void 0===o?void 0:null===(t=o.href)||void 0===t?void 0:t.length)&&((null==j?void 0:null===(m=j.value)||void 0===m?void 0:m.linktype)==="internal"?e||(j.value.href=(0,vS.at)(null==j?void 0:null===(h=j.value)||void 0===h?void 0:h.href,d())):((null==j?void 0:null===(x=j.value)||void 0===x?void 0:x.href.toLowerCase().startsWith("https://mailto:"))||(null==j?void 0:null===(p=j.value)||void 0===p?void 0:p.href.toLowerCase().startsWith("http://mailto:")))&&(j.value.href=j.value.href.replace("https://","").replace("http://","")));let N=[];return N.push(null!==(f=null==j?void 0:null===(r=j.value)||void 0===r?void 0:r.class)&&void 0!==f?f:""),N.push(null!==(g=null==n?void 0:n.className)&&void 0!==g?g:""),e?(0,va.jsx)(vN.r,{field:i,...n,editable:s,children:l}):(0,va.jsx)("a",{href:null==j?void 0:null===(c=j.value)||void 0===c?void 0:c.href,target:null==j?void 0:null===(v=j.value)||void 0===v?void 0:v.target,title:null==j?void 0:null===(u=j.value)||void 0===u?void 0:u.title,className:N.join(" ").trim(),...n,children:l})}catch(e){return(0,va.jsx)(vb,{error:e})}},vw=e=>(0,va.jsx)("div",{className:"component image ".concat(e.params.styles).trimEnd(),children:(0,va.jsx)("div",{className:"component-content",children:(0,va.jsx)("span",{className:"is-empty-hint",children:"Image"})})}),vy=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p;let{sitecoreContext:h}=(0,vr.z)(),f=h.pageEditing&&(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Image)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.class)==="scEmptyImage"?"hero-banner-empty":"",g=(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Image)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src)&&{backgroundImage:"url('".concat(e.fields.Image.value.src,"')")},j={...e.fields.Image,editable:null==e?void 0:null===(p=e.fields)||void 0===p?void 0:null===(x=p.Image)||void 0===x?void 0:null===(m=x.editable)||void 0===m?void 0:m.replace('width="'.concat(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Image)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.width,'"'),'width="100%"').replace('height="'.concat(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Image)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.height,'"'),'height="100%"')},N=e.params.RenderingIdentifier;return(0,va.jsx)("div",{className:"component hero-banner ".concat(e.params.styles," ").concat(f),id:N||void 0,children:(0,va.jsx)("div",{className:"component-content sc-sxa-image-hero-banner",style:g,children:h.pageEditing?(0,va.jsx)(vg.E,{field:j}):""})})},vE=e=>{let{sitecoreContext:l}=(0,vr.z)();if(e.fields){var i,s;let n=()=>(0,va.jsx)(vg.E,{field:e.fields.Image}),a=e.params.RenderingIdentifier;return(0,va.jsx)("div",{className:"component image ".concat(e.params.styles),id:a||void 0,children:(0,va.jsxs)("div",{className:"component-content",children:["edit"!==l.pageState&&(null===(s=e.fields.TargetUrl)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)?(0,va.jsx)(vk,{field:e.fields.TargetUrl,children:(0,va.jsx)(n,{})}):(0,va.jsx)(n,{}),(0,va.jsx)(vm.x,{tag:"span",className:"image-caption field-imagecaption",field:e.fields.ImageCaption})]})})}return(0,va.jsx)(vw,{...e})},vC=e=>{let l="item".concat(e.index);return l+=(e.index+1)%2==0?" even":" odd",0==e.index&&(l+=" first"),e.index+1==e.total&&(l+=" last"),(0,va.jsx)("li",{className:l,children:(0,va.jsx)("div",{className:"field-link",children:(0,va.jsx)(vN.r,{field:e.field})})})},vO=e=>{var l,i,s;let n=null===(i=e.fields)||void 0===i?void 0:null===(l=i.data)||void 0===l?void 0:l.datasource,a="component link-list ".concat(e.params.styles).trimEnd(),d=e.params.RenderingIdentifier;if(n){let e=n.children.results.filter(e=>{var l;return null==e?void 0:null===(l=e.field)||void 0===l?void 0:l.link}).map((e,l)=>(0,va.jsx)(vC,{index:l,total:n.children.results.length,field:e.field.link},"".concat(l).concat(e.field.link)));return(0,va.jsx)("div",{className:a,id:d||void 0,children:(0,va.jsxs)("div",{className:"component-content",children:[(0,va.jsx)(vm.x,{tag:"h3",field:null==n?void 0:null===(s=n.field)||void 0===s?void 0:s.title}),(0,va.jsx)("ul",{children:e})]})})}return(0,va.jsx)("div",{className:a,id:d||void 0,children:(0,va.jsx)("div",{className:"component-content",children:(0,va.jsx)("h3",{children:"Link List"})})})};var vL=i(26038),vI=i(34715),vF=i(56546),v_=i.n(vF),vM=i(90512),vR=i(98388);function vP(){for(var e=arguments.length,l=Array(e),i=0;i<e;i++)l[i]=arguments[i];return(0,vR.m6)((0,vM.Z)(l))}function vA(e){for(var l=arguments.length,i=Array(l>1?l-1:0),s=1;s<l;s++)i[s-1]=arguments[s];let n=(0,vM.Z)(i);return n?n.split(" ").map(e=>e.trim()).filter(e=>e).map(l=>(0,vM.Z)(l,e[l])).join(" "):n}function vD(e,l){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&!!e.fields&&!!e.fields[l]&&(!i||("string"==typeof e.fields[l].value?!!e.fields[l].value:!!e.fields[l].length))}function vB(e){var l;return void 0===e||"string"==typeof e?!(null==e?void 0:e.length):!(null===(l=e.value)||void 0===l?void 0:l.length)}let vV=e=>"string"==typeof e||void 0===e?e:e.value,vW=e=>{let{className:l,style:i,children:s}=e;return(0,va.jsx)("section",{className:vP("relative reset-styles list-disc",l),style:i,children:s})},vH=e=>{let{className:l,style:i,children:s}=e;return(0,va.jsx)("div",{className:vP("lg:max-w-[1600px] max-w-full lg:px-[40px] px-[15px] grid lg:grid-cols-12 grid-cols-4 mx-auto","lg:gap-[20px] gap-[15px]",l),style:i,children:s})};vL.ZP.registerPlugin(v_()),vL.ZP.registerPlugin(vI.V);var vG=e=>
1{let{left:l,right:i,leftPaddingTop:s,rightPaddingTop:n,rightColSpan:a}=e,d=(0,vd.useRef)(null),t=(0,vd.useRef)(null),o=(0,vd.useRef)(null);(0,vI.V)(()=>{let e=vL.ZP.matchMedia(),l=null,i=null;return e.add({isDesktop:"(min-width: ".concat(992,"px)"),isMobile:"(max-width: ".concat(991,"px)")},e=>{var a,t,r,c,v;let u=e.conditions,m=!!(null==u?void 0:u.isDesktop),x=null,p=null===(a=d.current)||void 0===a?void 0:a.querySelector(".stay-at-info"),h=null===(t=d.current)||void 0===t?void 0:t.querySelector(".stay-at-images"),f=null===(r=d.current)||void 0===r?void 0:r.querySelector(".left-content-container"),g=null===(c=d.current)||void 0===c?void 0:c.querySelector(".right-content-container"),j=null===(v=o.current)||void 0===v?void 0:v.querySelector("section");return i=h,m&&d.current&&p&&j&&(x=v_().create({pin:p,trigger:d.current,pinSpacing:m,start:"top top",end:()=>{let e=f.offsetHeight+(s||180),l=g.offsetHeight+(n||180);return"+=".concat(l-e)},invalidateOnRefresh:!0}),l=new ResizeObserver(()=>{x&&d.current&&setTimeout(()=>{v_().refresh()},100)}),g&&l.observe(g)),()=>{x&&x.kill(),l&&i&&(l.unobserve(i),l.disconnect())}}),()=>{e.revert(),l&&i&&(l.unobserve(i),l.disconnect())}},{scope:d});let r={};return(s||0===s)&&(r["--left-p-t"]="".concat(s,"px")),(n||0===n)&&(r["--right-p-t"]="".concat(n,"px")),(0,va.jsx)(vW,{className:"pb-[60px] lg:pb-[120px] bg-uh-neutral-grey membershiptwocolumn",children:(0,va.jsx)("div",{ref:d,children:(0,va.jsxs)(vH,{children:[(0,va.jsx)("div",{ref:t,style:r,className:vP("col-span-full lg:col-span-3 pt-[140px]",r["--left-p-t"]&&"lg:pt-[var(--left-p-t)]"),children:(0,va.jsx)("div",{className:"left-content-container",children:l})}),(0,va.jsx)("div",{ref:o,style:r,className:vP("col-span-full lg:col-span-8 lg:col-start-4 items-start grid grid-cols-subgrid stay-at-images pt-[35px]",r["--right-p-t"]&&"lg:pt-[var(--right-p-t)]",!!a&&"lg:col-span-".concat(a)),children:(0,va.jsx)("section",{className:"col-span-full grid grid-cols-subgrid right-content-container",children:i})})]})})})};let vU=e=>({value:{href:e.fields.Href,title:vQ(e),querystring:e.fields.Querystring}}),vz=e=>{var l,i;let[s,n]=(0,vd.useState)(!1),{sitecoreContext:a}=(0,vr.z)(),d=null!=e.params?"".concat(null!==(l=e.params.GridParameters)&&void 0!==l?l:""," ").concat(null!==(i=e.params.Styles)&&void 0!==i?i:"").trimEnd():"",t=null!=e.params?e.params.RenderingIdentifier:null;if(!Object.values(e.fields).length)return(0,va.jsx)("div",{className:"component navigation ".concat(d),id:t||void 0,children:(0,va.jsx)("div",{className:"component-content",children:"[Navigation]"})});let o=(e,l)=>{if(e&&(null==a?void 0:a.pageEditing)&&e.preventDefault(),void 0!==l)return n(l);n(!s)},r=Object.values(e.fields).filter(e=>e).map((e,l)=>(0,va.jsx)(vq,{fields:e,handleClick:e=>o(e,!1),relativeLevel:1},"".concat(l).concat(e.Id)));return(0,va.jsx)("div",{className:"component navigation ".concat(d),id:t||void 0,children:(0,va.jsxs)("label",{className:"menu-mobile-navigate-wrapper",children:[(0,va.jsx)("input",{type:"checkbox",className:"menu-mobile-navigate",checked:s,onChange:()=>o()}),(0,va.jsx)("div",{className:"menu-humburger"}),(0,va.jsx)("div",{className:"component-content",children:(0,va.jsx)("nav",{children:(0,va.jsx)("ul",{className:"clearfix",children:r})})})]})})},vq=e=>{var l;let{sitecoreContext:i}=(0,vr.z)(),[s,n]=(0,vd.useState)(!1),a="".concat(e.fields.Styles.concat("rel-level"+e.relativeLevel).join(" ")),d=[];return e.fields.Children&&e.fields.Children.length&&(d=e.fields.Children.map((l,i)=>(0,va.jsx)(vq,{fields:l,handleClick:e.handleClick,relativeLevel:e.relativeLevel+1},"".concat(i).concat(l.Id)))),(0,va.jsxs)("li",{className:"".concat(a," ").concat(s?"active":""),tabIndex:0,children:[(0,va.jsx)("div",{className:"navigation-title ".concat(d.length?"child":""),onClick:()=>n(()=>!s),children:(0,va.jsx)(vk,{field:vU(e),editable:i.pageEditing,onClick:e.handleClick,children:(l=e).fields.NavigationTitle?(0,va.jsx)(vm.x,{field:l.fields.NavigationTitle}):l.fields.Title?(0,va.jsx)(vm.x,{field:l.fields.Title}):l.fields.DisplayName})}),d.length>0?(0,va.jsx)("ul",{className:"clearfix",children:d}):null]},e.fields.Id)},vQ=e=>{var l,i;return(null===(l=e.fields.NavigationTitle)||void 0===l?void 0:l.value)?e.fields.NavigationTitle.value.toString():(null===(i=e.fields.Title)||void 0===i?void 0:i.value)?e.fields.Title.value.toString():e.fields.DisplayName},vY=e=>{let l=e.id;return(0,va.jsx)("div",{className:"component content ".concat(e.styles),id:l||void 0,children:(0,va.jsx)("div",{className:"component-content",children:(0,va.jsx)("div",{className:"field-content",children:e.children})})})},vK=e=>{var l,i,s,n;let{sitecoreContext:a}=(0,vr.z)(),d=e.params.RenderingIdentifier;if(!(e.fields&&e.fields.Content)&&!(null==a?void 0:null===(i=a.route)||void 0===i?void 0:null===(l=i.fields)||void 0===l?void 0:l.Content))return(0,va.jsx)("div",{className:"component content ".concat(e.params.styles),id:d||void 0,children:(0,va.jsx)("div",{className:"component-content",children:(0,va.jsx)("div",{className:"field-content",children:"[Content]"})})});let t=e.fields&&e.fields.Content?e.fields.Content:null==a?void 0:null===(n=a.route)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:s.Content;return(0,va.jsx)(vY,{styles:e.params.styles,id:d,children:(0,va.jsx)(vx.H,{field:t})})};var v$=e=>{var l,i;return(0,va.jsx)(vt.V,{name:(null===(i=e.rendering)||void 0===i?void 0:null===(l=i.params)||void 0===l?void 0:l.sig)||"",rendering:e.rendering})};let vZ=e=>(0,va.jsx)("div",{className:"component promo ".concat(e.params.styles),children:(0,va.jsx)("div",{className:"component-content",children:(0,va.jsx)("span",{className:"is-empty-hint",children:"Promo"})})}),vJ=e=>{let l=e.params.RenderingIdentifier;return e.fields?(0,va.jsx)("div",{className:"component promo ".concat(e.params.styles),id:l||void 0,children:(0,va.jsxs)("div",{className:"component-content",children:[(0,va.jsx)("div",{className:"field-
1promoicon",children:(0,va.jsx)(vg.E,{field:e.fields.PromoIcon})}),(0,va.jsxs)("div",{className:"promo-text",children:[(0,va.jsx)("div",{children:(0,va.jsx)("div",{className:"field-promotext",children:(0,va.jsx)(vx.H,{field:e.fields.PromoText})})}),(0,va.jsx)("div",{className:"field-promolink",children:(0,va.jsx)(vN.r,{field:e.fields.PromoLink})})]})]})}):(0,va.jsx)(vZ,{...e})},vX=e=>{let l=e.params.RenderingIdentifier;return e.fields?(0,va.jsx)("div",{className:"component promo ".concat(e.params.styles),id:l||void 0,children:(0,va.jsxs)("div",{className:"component-content",children:[(0,va.jsx)("div",{className:"field-promoicon",children:(0,va.jsx)(vg.E,{field:e.fields.PromoIcon})}),(0,va.jsxs)("div",{className:"promo-text",children:[(0,va.jsx)("div",{children:(0,va.jsx)("div",{className:"field-promotext",children:(0,va.jsx)(vx.H,{className:"promo-text",field:e.fields.PromoText})})}),(0,va.jsx)("div",{className:"field-promotext",children:(0,va.jsx)(vx.H,{className:"promo-text",field:e.fields.PromoText2})})]})]})}):(0,va.jsx)(vZ,{...e})},v0=e=>{let l=e.fields?(0,va.jsx)(vx.H,{field:e.fields.Text}):(0,va.jsx)("span",{className:"is-empty-hint",children:"Rich text"}),i=e.params.RenderingIdentifier;return(0,va.jsx)("div",{className:"component rich-text ".concat(e.params.styles.trimEnd()),id:i||void 0,children:(0,va.jsx)("div",{className:"component-content",children:l})})},v1=e=>{var l,i;let s="".concat(null!==(l=e.params.GridParameters)&&void 0!==l?l:""," ").concat(null!==(i=e.params.Styles)&&void 0!==i?i:"").trimEnd(),n=[e.params.Styles1,e.params.Styles2,e.params.Styles3,e.params.Styles4,e.params.Styles5,e.params.Styles6,e.params.Styles7,e.params.Styles8],a=e.params.EnabledPlaceholders.split(","),d=e.params.RenderingIdentifier;return(0,va.jsx)("div",{className:"component row-splitter ".concat(s),id:d||void 0,children:a.map((l,i)=>{var s;let a="".concat(null!==(s=n[+l-1])&&void 0!==s?s:"").trimEnd();return(0,va.jsx)("div",{className:"container-fluid ".concat(a).trimEnd(),children:(0,va.jsx)("div",{children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)(vt.V,{name:"row-".concat(l,"-{*}"),rendering:e.rendering},i)},i)},i)},i)})})},v2=e=>{let l=e.id;return(0,va.jsx)("div",{className:"component title ".concat(e.styles),id:l||void 0,children:(0,va.jsx)("div",{className:"component-content",children:(0,va.jsx)("div",{className:"field-title",children:e.children})})})},v5=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let m=(null===(i=e.fields)||void 0===i?void 0:null===(l=i.data)||void 0===l?void 0:l.datasource)||(null===(n=e.fields)||void 0===n?void 0:null===(s=n.data)||void 0===s?void 0:s.contextItem),{sitecoreContext:x}=(0,vr.z)(),p={value:null==m?void 0:null===(d=m.field)||void 0===d?void 0:null===(a=d.jsonValue)||void 0===a?void 0:a.value,editable:null==m?void 0:null===(o=m.field)||void 0===o?void 0:null===(t=o.jsonValue)||void 0===t?void 0:t.editable},h={value:{href:null==m?void 0:null===(r=m.url)||void 0===r?void 0:r.path,title:null==m?void 0:null===(v=m.field)||void 0===v?void 0:null===(c=v.jsonValue)||void 0===c?void 0:c.value,editable:!0}};return"normal"===x.pageState||(h.value.querystring="sc_site=".concat(null==m?void 0:null===(u=m.url)||void 0===u?void 0:u.siteName),p.value||(p.value="Title field",h.value.href="#")),(0,va.jsx)(v2,{styles:e.params.styles,id:e.params.RenderingIdentifier,children:(0,va.jsx)(va.Fragment,{children:"edit"===x.pageState?(0,va.jsx)(vm.x,{field:p}):(0,va.jsx)(vk,{field:h,children:(0,va.jsx)(vm.x,{field:p})})})})};vL.ZP.registerPlugin(v_()),vL.ZP.registerPlugin(vI.V);let v3=e=>{let{children:l,scrub:i=!0,...s}=e,n=(0,vd.useRef)(null);return(0,vI.V)(()=>{var e;(!s.skipAnimation||(null===(e=document)||void 0===e?void 0:e.querySelector(".page--home")))&&vL.ZP.fromTo(n.current,{opacity:0},{scrollTrigger:{trigger:n.current,start:s.start||"top 80%",end:s.end||"+=500",scrub:i},x:0,y:0,opacity:1,ease:s.ease||"power1.inOut",duration:s.duration||.001})},{scope:n}),(0,va.jsx)("div",{className:(0,vM.Z)("fade-in",s.className),ref:n,children:l})};vL.ZP.registerPlugin(v_()),vL.ZP.registerPlugin(vI.V);let v4=e=>{let{children:l,scrub:i=!0,...s}=e,n=(0,vd.useRef)(null);return(0,vI.V)(()=>{var e;(!s.skipAnimation||(null===(e=document)||void 0===e?void 0:e.querySelector(".page--home")))&&vL.ZP.fromTo(n.current,{opacity:0}
1,{scrollTrigger:{trigger:n.current,start:s.start||"top 90%",end:s.end||"+=250",scrub:i},x:0,opacity:1,ease:s.ease||"power1.inOut",duration:s.duration||.001})},{scope:n}),(0,va.jsx)("div",{className:(0,vM.Z)("fade-in-x",s.className),ref:n,children:l})};vL.ZP.registerPlugin(v_()),vL.ZP.registerPlugin(vI.V);let v6=e=>{let{children:l,scrub:i=!0,...s}=e,n=(0,vd.useRef)(null);return(0,vI.V)(()=>{var e;(!s.skipAnimation||(null===(e=document)||void 0===e?void 0:e.querySelector(".page--home")))&&vL.ZP.fromTo(n.current,{opacity:0},{scrollTrigger:{trigger:n.current,start:s.start||"top 80%",end:s.end||"+=300",scrub:i},y:0,opacity:1,ease:s.ease||"power1.inOut",duration:s.duration||.001})},{scope:n}),(0,va.jsx)("div",{className:(0,vM.Z)("fade-in-y",s.className),ref:n,children:l})},v8=e=>(0,va.jsxs)("div",{className:"intro plain articledetail container",children:[(0,va.jsx)("div",{className:"row articledetail",children:(0,va.jsxs)("div",{className:"col",children:[(0,va.jsx)("span",{className:"date",children:e.fields.ReleaseDate.value.toDateString()}),(0,va.jsx)("div",{className:"action-bar",children:(0,va.jsx)(vt.V,{name:"sh-sheare",rendering:e.rendering})}),(0,va.jsx)("h1",{className:"title"})]})}),(0,va.jsx)(vt.V,{name:"sh-article-detail-background-graphik",rendering:e.rendering}),(0,va.jsx)("div",{className:"divider row"})]}),v7=e=>{let l=Object.values(e.fields.Tags).map((e,l)=>(0,va.jsx)("span",{children:e.fields.Title.value},l));return null===e?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"intro plain articledetail container",children:[(0,va.jsx)("div",{className:"row articledetail",children:(0,va.jsxs)("div",{className:"col",children:[(0,va.jsx)("span",{className:"date",children:e.fields.PublicationDate.toDateString()}),e.fields.Tags.length>0&&(0,va.jsx)("div",{className:"tag-container",children:l}),(0,va.jsx)("div",{className:"action-bar",children:(0,va.jsx)(vt.V,{name:"sh-sheare",rendering:e.rendering})}),(0,va.jsx)("h1",{className:"title"})]})}),(0,va.jsx)(vt.V,{name:"sh-article-detail-tag-background-graphik",rendering:e.rendering}),(0,va.jsx)("div",{className:"divider row"}),(0,va.jsx)("div",{className:"row articledetail",children:(0,va.jsx)("div",{className:"col",children:(0,va.jsx)("div",{className:"desc"})})})]})},v9=e=>null===e||0===e.fields.Data.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"item-wrapper latest-listing-media",children:[(0,va.jsx)("h2",{className:"media-title item-list"}),(0,va.jsx)("a",{className:"load-more btn",href:"@currentUrl"})]}),ue=e=>null===e||0===e.fields.Data.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("ul",{id:"articlelisting",className:"desc-first theme-dark-even left-right item-list","data-sc-className":"maxh @@tablet@@desktop","data-sc-max-target":"li","data-sc-max-adjust-css":"margin-top"}),(0,va.jsx)("div",{id:"loadMore",style:{display:e.fields.HasNext?"block":"none"},className:"row action-bar ".concat(""),children:(0,va.jsx)("div",{className:"col",children:(0,va.jsx)("a",{className:"load-more btn with-icon arrow-round",href:"javascript:void(0);"})})})]}),ul=()=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{id:"articlelisting_temp_tagitem",style:{display:"none"},children:(0,va.jsx)("span",{},"articlelisting_tagitem")}),(0,va.jsx)("ul",{id:"articlelisting_temp_item",style:{display:"none"},children:(0,va.jsxs)("li",{className:"listitemondemand",children:[(0,va.jsx)("a",{href:"#",className:"thumbnail",children:(0,va.jsx)("picture",{children:(0,va.jsx)("img",{src:"#",alt:"#"},"articlelisting_image_src")})},"articlelisting_fullurl"),(0,va.jsxs)("div",{className:"desc",children:[(0,va.jsx)("span",{className:"date"},"articlelisting_date"),(0,va.jsx)("h2",{},"articlelisting_title"),(0,va.jsx)("div",{},"articlelisting_shortdescription"),(0,va.jsx)("a",{href:"#",className:"secondary btn with-icon-after chevron-round right"},"articlelisting_fullurl")]})]})})]}),ui=e=>null===e||0===e.fields.Data.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"item-wrapper no-bottom-border"}),(0,va.jsx)("div",{id:"loadMore",className:"row action-bar view-more-no-border ".concat(""),style:{display:e.fields.HasNext?"block":"none"},children:(0,va.jsx)("div",{className:"col",children:(0,va.jsx)("a",{className:"load-more btn with-icon arrow-round",href:"javascript:void(0);"})})})]}),us=()=>(0,va.jsx)("ul",{id:"articlelisting_temp_item",className:"item-list",style:{display:"none"},children:(0,va.jsx)("li",{className:"listitemondemand",children:(0,va.jsxs)("a",{href:"#",className:"thumbnail",children:[(0,va.jsx)("picture",{children:(0,va.jsx)("img",{src:"#",alt:"#"},"articlelisting_image_src")}),(0,va.jsx)("span",{className:"date"},"articlelisting_date"),(0,va.jsx)("h2",{},"articlelisting_title")]},"articlelisting_fullurl")})}),un=e=>{let l=Object.values(e).map((e,l)=>(0,va.jsx)("li",{className:"listitemondemand",children:(0,va.jsxs)("a",{className:"thumbnail",href:e.fields.FullUrl.value,children:[(0,va.jsx)("picture",{children:(0,va.jsx)("img",{src:"@(item.TeaserImage?.Src)",alt:"@(item.TeaserImage?.Alt)"})}),null!==e.fields.ReleaseDate&&(0,va.jsx)("span",{className:"date",children:e.fields.ReleaseDate.value.toDateString()}),(0,va.jsx)("h2",{})]})},l));return null===e||0===e.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("ul",{id:"articlelisting",className:"item-list",children:l})},ua=e=>{let l=Object.values(e).map((e,l)=>(0,va.jsxs)("li",{className:"listitemondemand",children:[(0,va.jsx)("a",{className:"thumbnail",href:e.fields.FullUrl.value,children:(0,va.jsx)("picture",{children:(0,va.jsx)("img",{src:"@(item.TeaserImage?.Src)",alt:"@(item.TeaserImage?.Alt)"})})}),(0,va.jsxs)("div",{className:"desc",children:[(0,va.jsx)("span",{className:"date",children:"@ArticleDateFormatExtensions.FormatArticleDate(item.ReleaseDate)"}),(0,va.jsx)("a",{href:e.fields.FullUrl.value,className:"secondary btn with-icon-after chevron-round right"})]})]},l));return null===e||0===e.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:l})},ud=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("ul",{id:"articlelisting",className:"thumbnail-first theme-dark-even left-right item-list","data-sc-className":"maxh @@desktop","data-sc-max-target":"li","data-sc-max-adjust-css":"margin-top"}),(0,va.jsxs)("div",{id:"loadMore",className:"row action-bar ".concat(""),style:{display:e.fields.HasNext?"block":"none"},children:[" ",(0,va.jsx)("div",{className:"col",children:(0,va.jsx)("a",{className:"load-more btn with-icon arrow-round",href:"javascript:void(0);"})})]})]}),ut=()=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{id:"articlelisting_temp_tagitem",style:{display:"none"},children:(0,va.jsx)("span",{},"articlelisting_tagitem")}),(0,va.jsx)("ul",{id:"articlelisting_temp_item",style:{display:"none"},children:(0,va.jsxs)("li",{className:"listitemondemand",children:[(0,va.jsx)("a",{href:"#",className:"thumbnail",children:(0,va.jsx)("picture",{children:(0,va.jsx)("img",{src:"#",alt:"#"},"articlelisting_image_src")})},"articlelisting_fullurl"),(0,va.jsxs)("div",{className:"desc",children:[(0,va.jsx)("span",{className:"date"},"articlelisting_date"),(0,va.jsx)("div",{className:"tag-container"},"articlelisting_taglist"),(0,va.jsx)("h2",{}
1,"articlelisting_title"),(0,va.jsx)("div",{},"articlelisting_shortdescription"),(0,va.jsx)("a",{href:"#",className:"secondary btn with-icon-after chevron-round right"},"articlelisting_fullurl")]})]})})]}),uo=e=>{let l=e.fields.ContentWithTags.map((e,l)=>(0,va.jsxs)("li",{className:"listitemondemand",children:[(0,va.jsx)(vt.V,{name:"sh-detail-article-listing-with-tags_"+(l+1),rendering:e.rendering}),(0,va.jsx)("a",{href:e.fields.FullUrl.value,className:"thumbnail",children:(0,va.jsx)("picture",{})}),(0,va.jsxs)("div",{className:"desc",children:[null!==e.fields.PublicationDate&&(0,va.jsx)("span",{className:"date",children:e.fields.PublicationDate.toDateString()}),e.fields.Tags.length>0&&(0,va.jsx)("div",{className:"tag-container",children:e.fields.Tags.map((e,l)=>(0,va.jsx)("span",{children:e.fields.Title.value},l))}),(0,va.jsx)("a",{href:e.fields.FullUrl.value,className:"secondary btn with-icon-after chevron-round right"})]})]},l));return null===e.fields.ContentWithTags||0===e.fields.ContentWithTags.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:l})},ur=e=>{let l=e.map((e,l)=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"info",children:[(0,va.jsx)("a",{className:"p1",href:e.fields.Link.Url.value,children:(0,va.jsx)("picture",{})}),(0,va.jsx)("a",{className:"p2",href:e.fields.Link.Url.value}),(0,va.jsxs)("div",{className:"desc",children:[(0,va.jsx)("h3",{}),(0,va.jsx)("h2",{})]})]}),e.fields.Articles.length>0?(0,va.jsx)("ul",{className:"left-right thumbnail-first item-list","data-sc-class":"maxh @@tablet@@desktop","data-sc-max-target":"li","data-sc-max-adjust-css":"margin-top"}):(0,va.jsx)(vt.V,{name:"sh-detail_"+(l+1),rendering:e.rendering})]}));return null===e||0===e.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:l})};var uc=i(8906);let uv=e=>{let{href:l,children:i,...s}=e,{locale:n}=(0,vT.QT)(),a=l;l&&(l.toLowerCase().startsWith("https://mailto:")||l.toLowerCase().startsWith("http://mailto:"))&&(a=l.replace("https://","").replace("http://",""));let d=(null==a?void 0:a.startsWith("/"))?(0,vS.at)(a,n()):a;return d=(0,uc.G8)(d),(0,va.jsx)("a",{href:d,...s,onClick:s.onClick,children:i})},uu=e=>{let{value:l,onChange:i,label:s}=e,[n,a]=(0,vd.useState)(new Date),[d,t,o]=n.toLocaleDateString("en-US",{weekday:"long",year:"numeric",month:"short",day:"numeric"}).split(", ");return(0,va.jsxs)("div",{className:"relative",children:[(0,va.jsx)("label",{className:"block text-[10px] lg:text-[12px] font-bold text-[#787b7f] tracking-wider leading-none mb-[10px]",children:s}),(0,va.jsxs)("div",{className:"flex items-center justify-between border-b-[1px] border-[#787b7f] pb-[15px]",children:[(0,va.jsxs)("div",{className:"flex flex-col",children:[(0,va.jsx)("span",{className:"text-[14px] lg:text-[15px] font-normal leading-none",children:d.toUpperCase()}),(0,va.jsxs)("span",{className:"text-[14px] lg:text-[15px] font-normal leading-none",children:[t.toUpperCase(),", ",o]})]}),(0,va.jsx)("svg",{className:"w-4",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5049",children:(0,va.jsx)("path",{d:"M535.466667 812.8l450.133333-563.2c14.933333-19.2 2.133333-49.066667-23.466667-49.066667H61.866667c-25.6 0-38.4 29.866667-23.466667 49.066667l450.133333 563.2c12.8 14.933333 34.133333 14.933333 46.933334 0z",fill:"#232a82","p-id":"5050"})})]}),(0,va.jsx)("input",{type:"date",className:"absolute inset-0 w-full h-full opacity-0 top-2",value:n.toISOString().split("T")[0],onChange:e=>{let l=new Date(e.target.value);a(l),null==i||i(l)}})]})};var um=i(18205),ux=i(13576),up=i(86878);let uh={heading:"font-Belleza text-[36px] leading-[40px] lg:text-[56px] lg:leading-[56px] font-normal not-italic uppercase",subhead:"font-Amiko text-[20px] leading-[24px] lg:text-[26px] lg:leading-[30px] font-semibold uppercase",body:"font-Amiko text-[14px] leading-[18px] lg:text-[18px] lg:leading-[26px] !font-normal","subhead-1":"font-Amiko text-[14px] leading-[18px] font-bold uppercase","subhead-2":"font-Amiko text-[18px] leading-[24px] font-normal uppercase",tagContent:"font-Amiko text-[12px] leading-[18px] font-semibold uppercase","content-1":"font-Amiko text-[12px] leading-[16
1px] lg:text-[18px] lg:leading-[26px] font-bold uppercase","content-2":"font-Amiko text-[14px] leading-[18px] lg:text-[18px] lg:leading-[26px] font-bold uppercase",cta:"font-Amiko text-[14px] leading-[14px] lg:text-[16px] lg:leading-[16px] font-bold uppercase",landing:"font-Belleza text-[26px] leading-[30px] lg:text-[40px] lg:leading-[46px] font-normal uppercase","Large-heading":"font-Belleza text-[36px] leading-[40px] lg:text-[92px] lg:leading-[92px] font-normal not-italic uppercase",breadcrumb:"font-Amiko text-[20px] leading-[20px] align-middle font-semibold uppercase"};var uf=e=>{let{Text:l,tag:i,raw:s,...n}=e,{sitecoreContext:a}=(0,vr.z)(),d=a.pageEditing;return!d&&vB(l)&&n.HideIfEmpty?(0,va.jsx)(va.Fragment,{}):"string"==typeof l||void 0===l?(0,va.jsx)(vm.x,{field:{value:l},tag:i,encode:s,className:vP(n.variant&&uh[n.variant],n.className)}):(0,va.jsx)(vm.x,{field:l,tag:i,encode:d||!s,className:vP(n.variant&&uh[n.variant],n.className)})};let ug=e=>{var l;let{Text:i,className:s}=e;return(0,va.jsx)(va.Fragment,{children:!!(null==i?void 0:null===(l=i.value)||void 0===l?void 0:l.length)&&(0,va.jsxs)("div",{className:"nbh-list--item",children:[(0,va.jsx)("span",{className:s}),(0,va.jsx)(uf,{Text:i})]})})},uj=e=>{var l,i,s,n;let a=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Items)||void 0===i?void 0:i.length)&&(a=e.fields.Items.map(e=>({name:"",Title:{value:""},fields:e.fields})));let d=a&&(null==a?void 0:a.map((e,l)=>{var i,s,n;return(0,va.jsxs)("div",{className:"content-wrap",children:[(0,va.jsx)(uf,{tag:"h4",raw:!0,Text:null===(i=e.fields)||void 0===i?void 0:i.ContactLabel}),(0,va.jsx)(ug,{className:"icon-phone",Text:null===(s=e.fields)||void 0===s?void 0:s.Telephone}),(0,va.jsx)(ug,{className:"icon-envelope",Text:null===(n=e.fields)||void 0===n?void 0:n.Email})]},l)}));return a&&(null==a?void 0:a.length)!==0?(0,va.jsx)("div",{className:"col-12 col-lg-6 ",children:(0,va.jsxs)("div",{className:"col-wrapper pr-20",children:[(0,va.jsx)(uf,{tag:"h2",Text:null===(n=e.fields)||void 0===n?void 0:n.Title}),d]})}):(0,va.jsx)(va.Fragment,{})},uN=async(e,l)=>{var i,s,n,a,d,t,o,r,c;if(e.dataSource&&(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Items)||void 0===i?void 0:i.length))return[];let v=e.dataSource?e.dataSource:null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.route)||void 0===n?void 0:n.itemId,u=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.DetailTemplate)?null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.DetailTemplate:ux.t9.ContactItem,m=null!==(c=null==l?void 0:null===(r=l.sitecore)||void 0===r?void 0:null===(o=r.context)||void 0===o?void 0:o.language)&&void 0!==c?c:"en";return v?await (0,up.D)(v,u,m,100,!1):[]};uj.displayName="ThcContactInfoList";var ub=(0,vp.C)()(uj);let uT=e=>(0,va.jsxs)("div",{className:"contacts",children:[null!==e.fields.Telephone.value&&""!==e.fields.Telephone.value&&(0,va.jsxs)("p",{children:[(0,va.jsx)("span",{className:"sp sp-icon_tel"}),(0,va.jsx)(vm.x,{filed:e.fields.Telephone.value})]}),null!==e.fields.Email.value&&""!==e.fields.Email.value&&(0,va.jsxs)("p",{children:[(0,va.jsx)("span",{className:"sp sp-icon_mail"}),(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.value),children:e.fields.Email.value})]})]}),uS=e=>(0,va.jsxs)("div",{className:"contacts",children:[null!==e.fields.Telephone.value&&""!==e.fields.Telephone.value&&(0,va.jsxs)("p",{children:[(0,va.jsx)("span",{className:"sp sp-icon_tel_green"}),(0,va.jsx)(vm.x,{filed:e.fields.Telephone.value})]}),null!==e.fields.Email.value&&""!==e.fields.Email.value&&(0,va.jsxs)("p",{children:[(0,va.jsx)("span",{className:"sp sp-icon_mail_green"}),(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.value),children:e.fields.Email.value})]})]}),uk=e=>(0,va.jsx)("div",{className:"item",children:(0,va.jsxs)("div",{className:"text grey-border",children:[(0,va.jsxs)("div",{className:"upper",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.ContactTitle})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.ContactName})})]}),(0,va.jsx)("hr",{}),null!==e.fields.Telephone.value&&""!==e.fields.Telephone.value&&(0,va.jsx)(vm.x,{filed:e.fields.Telephone.value}),null!==e.fields.Email.value&&""!==e.fields.Email.value&&(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.value),children:e.fields.Email.value})})]})}),uw=e=>{let l=e.fields.ContactSelected.map((e,l)=>(0,va.jsx)("div",{className:"item",children:(0,va.jsxs)("div",{className:"text grey-border",children:[(0,va.jsxs)("div",{className:"upper",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.ContactTitle})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.ContactName})})]}),(0,va.jsx)("hr",{}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{filed:e.fields.Telephone.value})}),(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.value),children:e.fields.Email.value})})]})},l));return(0,va.jsx)("div",{className:"content contact-cards",children:(0,va.jsxs)("div",{className:"content expandable",children:[(0,va.jsxs)("h2",{className:"expandable-title",children:[(0,va.jsx)(vm.x,{field:e.fields.ContactText}),(0,va.jsx)("span",{className:"sp sp-m_collapse_w"})]}),(0,va.jsx)("div",{className:"expandable-content",children:l})]})})},uy=e=>null===e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("div",{className:"contacts",children:(0,va.jsxs)("table",{children:[(0,va.jsx)("tr",{className:"address",children:null!==e.fields.Address.value&&""!==e.fields.Address.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("td",{children:(0,va.jsx)("span",{className:"sp sp-icon_address"})}),(0,va.jsx)("td",{children:(0,va.jsx)(vm.x,{field:e.fields.Address})})]})}),(0,va.jsx)("tr",{children:null!==e.fields.Telephone.value&&""!==e.fields.Telephone.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("td",{children:(0,va.jsx)("span",{className:"sp sp-icon_tel"})}),(0,va.jsx)("td",{children:(0,va.jsx)(vm.x,{field:e.fields.Telephone})})]})}),(0,va.jsx)("tr",{children:null!==e.fields.Email.value&&""!==e.fields.Email.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("td",{children:(0,va.jsx)("td",{children:(0,va.jsx)("span",{className:"sp sp-icon_mail"})})}),(0,va.jsx)("td",{children:(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.value),children:e.fields.Email.value})})]})})]})}),uE=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"contacts",children:(0,va.jsxs)("table",{children:[(0,va.jsx)("tr",{children:null!==e.fields.Telephone.value&&""!==e.fields.Telephone.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("td",{children:(0,va.jsx)("span",{className:"sp sp-icon_tel"})}),(0,va.jsx)("td",{children:(0,va.jsx)(vm.x,{field:e.fields.Telephone})})]})}),(0,va.jsx)("tr",{className:"address",children:null!==e.fields.Address.value&&""!==e.fields.Address.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("td",{children:(0,va.jsx)("span",{className:"sp sp-icon_address"})}),(0,va.jsx)("td",{children:(0,va.jsx)(vm.x,{field:e.fields.Address})})]})}),(0,va.jsx)("tr",{children:null!==e.fields.Email.value&&""!==e.fields.Email.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("td",{children:(0,va.jsx)("td",{children:(0,va.jsx)("span",{className:"sp sp-icon_mail"})})}),(0,va.jsx)("td",{children:(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.value),children:e.fields.Email.value})})]})})]})})}),uC=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("div",{className:"col",children:(0,va.jsxs)("p",{children:[(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.value),style:{textDecoration:"underline"}}),(0,va.jsx)("br",{}),(0,va.jsx)(vm.x,{field:e.fields.Telephone})]})}),uO=e=>(0,va.jsxs)("div",{className:"contacts",children:[null!==e.fields.ContactTime.value&&""!==e.fields.ContactTime.value&&(0,va.jsxs)("p",{children:[(0,va.jsx)("span",{className:"sp sp-icon_clock"}),e.fields.ContactTime.value]}),null!==e.fields.Telephone.value&&""!==e.fields.Telephone.value&&(0,va.jsxs)("p",{children:[(0,va.jsx)("span",{className:"sp sp-icon_tel"}),(0,va.jsx)(vm.x,{field:e.fields.Telephone})]}),null!==e.fields.Email.value&&""!==e.fields.Email.value&&(0,va.jsxs)("p",{children:[(0,va.jsx)("span",{className:"sp sp-icon_mail"}),(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.value),children:e.fields.Email.value})]})]}),uL=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"contact",children:[(0,va.jsx)("h3",{children:e.fields.ContactTitle.value}),(0,va.jsx)("p",{children:e.fields.ContactName.value}),(0,va.jsxs)("p",{children:[null!==e.fields.Telephone.value&&""!==e.fields.Telephone.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"sp sp-icon_tel"}),(0,va.jsx)(vm.x,{field:e.fields.Telephone})]}),(0,va.jsx)("br",{}),null!==e.fields.Email.value&&""!==e.fields.Email.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"sp sp-icon_mail"}),(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.value),children:e.fields.Email.value})]})]})]}),uI=e=>{var l;return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h1",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Headline})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.Body})})]}),(0,va.jsx)("div",{className:"text padtop0",children:(0,va.jsx)("h2",{})})]})},uF=e=>(0,va.jsx)("div",{className:"contacts",children:(0,va.jsxs)("table",{children:[(0,va.jsx)("tr",{children:null!==e.fields.Address.value&&""!==e.fields.Address.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("td",{children:(0,va.jsx)("span",{className:"sp sp-icon_address"})}),(0,va.jsx)("td",{children:(0,va.jsx)(vm.x,{field:e.fields.Address})})]})}),(0,va.jsx)("tr",{children:null!==e.fields.Telephone.value&&""!==e.fields.Telephone.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("td",{children:(0,va.jsx)("span",{className:"sp sp-icon_tel"})}),(0,va.jsx)("td",{children:(0,va.jsx)(vm.x,{field:e.fields.Telephone})})]})}),(0,va.jsx)("tr",{children:null!==e.fields.Fax.value&&""!==e.fields.Fax.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("td",{children:(0,va.jsx)("span",{className:"sp sp-icon_fax"})}),(0,va.jsx)("td",{children:(0,va.jsx)(vm.x,{field:e.fields.Fax})})]})}),(0,va.jsx)("tr",{children:null!==e.fields.Email.value&&""!==e.fields.Email.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("td",{children:(0,va.jsx)("span",{className:"sp sp-icon_mail"})}),(0,va.jsx)("td",{children:(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.value),children:e.fields.Email.value})})]})})]})}),u_=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"open-sitemap__places",children:[(0,va.jsxs)("div",{className:"open-sitemap__block",children:[(0,va.jsx)("p",{className:" open-sitemap__title",children:(0,va.jsx)(vm.x,{field:e.fields.PropertyName})}),(0,va.jsxs)("p",{children:[(0,va.jsx)(vm.x,{field:e.fields.Address}),(0,va.jsx)("br",{}),null!==e.fields.Telephone.GlossaryValue&&""!==e.fields.Telephone.GlossaryValue.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("a",{href:"tel:".concat(e.fields.Telephone.GlossaryValue),className:"tel",children:(0,va.jsx)(vm.x,{field:e.fields.Telephone.GlossaryValue})}),(0,va.jsx)("br",{})]}),null!==e.fields.Fax.GlossaryValue&&""!==e.fields.Fax.GlossaryValue.value&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Fax.GlossaryValue),className:"tel",children:(0,va.jsx)(vm.x,{field:e.fields.Fax.GlossaryValue})})})]})]}),(0,va.jsxs)("div",{className:"open-sitemap__block",children:[(0,va.jsx)("p",{className:" open-sitemap__title",children:(0,va.jsx)(vm.x,{field:e.fields.PropertyName2})}),(0,va.jsxs)("p",{children:[(0,va.jsx)(vm.x,{field:e.fields.Address2}),(0,va.jsx)("br",{}),null!==e.fields.Telephone2.GlossaryValue&&""!==e.fields.Telephone2.GlossaryValue.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("a",{href:"tel:".concat(e.fields.Telephone2.GlossaryValue),className:"tel",children:(0,va.jsx)(vm.x,{field:e.fields.Telephone2.GlossaryValue})}),(0,va.jsx)("br",{})]}),null!==e.fields.Fax2.GlossaryValue&&""!==e.fields.Fax2.GlossaryValue.value&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Fax2.GlossaryValue),className:"tel",children:(0,va.jsx)(vm.x,{field:e.fields.Fax2.GlossaryValue})})})]})]})]}),uM=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("div",{className:"open-sitemap__places",children:(0,va.jsxs)("div",{className:"open-sitemap__block",children:[(0,va.jsx)("p",{className:" open-sitemap__title",children:(0,va.jsx)(vm.x,{field:e.fields.AddressTitle})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.AddressDetail})}),(0,va.jsx)(vm.x,{field:e.fields.Emails}),(0,va.jsx)(vm.x,{field:e.fields.ContactNumbers}),(0,va.jsx)(vm.x,{field:e.fields.Others})]})}),uR=e=>
1{let l=e.fields.HighlightedDetails.map((e,l)=>(0,va.jsxs)("div",{className:"slider-item",children:[(0,va.jsx)("picture",{children:(0,va.jsx)(vg.E,{field:e.TeaserImage})}),(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.TeaserTitle})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.TeaserContent})}),(0,va.jsx)("p",{children:(0,va.jsx)("a",{className:"cta",href:e.FullUrl.value,title:'"@Html.Sitecore().Glossary("/link text/details", "[details]")"'})})]},l));return null===e.fields||0===e.fields.HighlightedDetails.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("div",{className:"slider hSlider",children:l})},uP=e=>null===e.fields||0===e.fields.SocialStreamItems.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"social-feed-wrapper",children:[(0,va.jsxs)("div",{className:"content-wrapper title-only",children:[(0,va.jsx)("h2",{className:"title",children:(0,va.jsx)("span",{className:"before"})}),(0,va.jsx)("h3",{className:"hashtag"})]}),(0,va.jsxs)("div",{className:"social-feed",children:[(0,va.jsx)("div",{className:"col50",children:(0,va.jsxs)("div",{className:"img-wrapper img-wrapper-sm ins",children:[(0,va.jsx)("div",{className:"wrap",style:{overflow:"hidden",position:"relative"}}),(0,va.jsx)("div",{className:"ro-overlay",children:(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"@item.SocialLink",target:"_blank",children:"@@@item.FullName_Display"})})})]})}),(0,va.jsx)("div",{className:"quote-wrapper quote-wrapper-lg ta",style:{visibility:"visible"},children:(0,va.jsxs)("div",{className:"content",children:[(0,va.jsx)("blockquote",{children:"@Html.Raw(tripadvisorContent)"}),(0,va.jsx)("span",{className:"orange-hr"}),(0,va.jsxs)("a",{className:"ta-source",href:"@tripadvisorLink",target:"_blank",children:["@tripadvisorLinkText",(0,va.jsx)("br",{}),(0,va.jsx)("span",{className:"sp sp-icon-tripadvisor"})]})]})}),(0,va.jsxs)("div",{className:"img-wrapper img-wrapper-sm ins",children:[(0,va.jsxs)("div",{className:"wrap",style:{overflow:"hidden",position:"relative"},children:["@try",(0,va.jsx)("img",{src:"@MediaManager.GetMediaUrl(mediaItem)",alt:"@item.SocialText",className:"coverimg"}),"catch (Exception ex)"]}),(0,va.jsx)("div",{className:"ro-overlay",children:(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"@item.SocialLink",target:"_blank",children:"@@@item.FullName_Display"})})})]})]})]})}),uA=e=>(0,va.jsx)("div",{className:"box-wrapper",children:(0,va.jsxs)("div",{children:[(0,va.jsx)("h3",{className:"title",children:(0,va.jsx)("span",{className:"before"})}),(0,va.jsx)("div",{className:"left",children:(0,va.jsx)(vt.V,{name:"em-long-term-stay-options-image",rendering:e.rendering})})]})}),uD=e=>{let l=e.fields.Children.map((e,l)=>(0,va.jsxs)("section",{className:"page-intro page-intro--backdrop",children:[(0,va.jsx)("div",{className:"page-intro__img",children:(0,va.jsx)(vg.E,{field:e.fields.TeaserImage})}),(0,va.jsx)("div",{className:"main-container",children:(0,va.jsxs)("div",{className:"page-intro__cont",children:[(0,va.jsx)("div",{className:"page-intro__title",children:(0,va.jsx)("h2",{className:"is-size-2",children:(0,va.jsx)(vm.x,{field:e.fields.TeaserTitle})})}),(0,va.jsxs)("div",{className:"page-intro__body",children:[(0,va.jsx)(vm.x,{field:e.fields.TeaserContent}),(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"@linkUrl",className:"call-to-action",children:"@linkText"})})]})]})})]},l));return null===e.fields.Children?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:l})},uB=e=>{let l=e.fields.Children.map((e,l)=>(0,va.jsxs)("div",{children:[(0,va.jsxs)("div",{className:"img-wrapper",children:[(0,va.jsx)("div",{className:"wrap bgimg",children:(0,va.jsx)(vg.E,{field:e.fields.TeaserImage,id:"coverimg",className:"coverimg"})}),(0,va.jsxs)("div",{className:"cover",children:[(0,va.jsx)("div",{className:"content",children:(0,va.jsx)("div",{className:"inner",children:(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserTitle})})})}),(0,va.jsx)("a",{href:e.fields.Url.value,className:"hidden-link"})]})]}),(0,va.jsx)("div",{className:"content-wrapper",children:(0,va.jsx)(vm.x,{field:e.fields.TeaserContent})})]},l));return null===e.fields.Children?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"content-wrapper title-only","data-sr":"move 20px",children:(0,va.jsx)("h2",{className:"title",children:(0,va.jsx)("span",{className:"before"})})}),(0,va.jsx)("div",{"data-sr":"wait 0.1s, move 20px",children:(0,va.jsx)("section",{className:"carousel",children:l})})]})},uV=e=>{let l=(e.fields.Children.length>0?e.fields.Children:e.fields.FeaturedOffers).map((e,l)=>(0,va.jsxs)("div",{children:[(0,va.jsxs)("div",{className:"img-wrapper",children:[(0,va.jsx)("div",{className:"wrap bgimg",children:(0,va.jsx)(vg.E,{field:e.fields.TeaserImage})}),(0,va.jsxs)("div",{className:"cover",children:[(0,va.jsx)("div",{className:"content",children:(0,va.jsx)("div",{className:"inner",children:(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserTitle})})})}),(0,va.jsx)("a",{href:"@item.Url",className:"hidden-link"})]})]}),(0,va.jsx)("div",{className:"content-wrapper",children:(0,va.jsx)(vm.x,{field:e.fields.TeaserContent})})]},l));return null===e.fields.Children?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"content-wrapper title-only","data-sr":"move 20px",children:(0,va.jsx)("h2",{className:"title",children:(0,va.jsx)("span",{className:"before"})})}),(0,va.jsx)("div",{"data-sr":"wait 0.1s, move 20px",children:(0,va.jsx)("section",{className:"carousel",children:l})})]})},uW=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"content-wrapper title-only","data-sr":"move 20px",children:(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.GymTitle})]})}),(0,va.jsxs)("div",{className:"img-gp-6",children:[(0,va.jsxs)("div",{className:"col-d left",children:[(0,va.jsx)("div",{className:"img-wrapper w1","data-sr":"wait 0.1s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.GymImage1,id:"coverimg",className:"coverimg"})})}),(0,va.jsx)("div",{className:"img-wrapper w2","data-sr":"wait 0.2s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.GymImage2,id:"coverimg",className:"coverimg"})})})]}),(0,va.jsx)("div",{className:"img-wrapper w3","data-sr":"wait 0.3s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.GymImage3,id:"coverimg",className:"coverimg"})})}),(0,va.jsxs)("div",{className:"info-box","data-sr":"wait 0.4s, move 20px",children:[(0,va.jsx)("div",{children:(0,va.jsx)(vm.x,{field:e.fields.GymContent})}),(0,va.jsx)("h3",{className:"subtitle",children:(0,va.jsx)(vm.x,{field:e.fields.GymOpeningHour})})]})]})]}),uH=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"content-wrapper",children:[(0,va.jsx)(vm.x,{field:e.fields.GymContent2}),null!==e.fields.VirtualTourLinkURL&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.VirtualTourLinkText.GlossaryValue})})]}),uG=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"content-wrapper title-only","data-sr":"move 20px",children:(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.PoolTitle})]})}),(0,va.jsxs)("div",{className:"img-gp-5",children:[(0,va.jsx)("div",{className:"img-wrapper w1","data-sr":"wait 0.1s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.PoolImage1,id:"coverimg",className:"coverimg"})})}),(0,va.jsx)("div",{className:"img-wrapper w2","data-sr":"wait 0.2s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.PoolImage2,id:"coverimg",className:"coverimg"})})}),(0,va.jsx)("div",{className:"img-wrapper w3","data-sr":"wait 0.4s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.PoolImage3,id:"coverimg",className:"coverimg"})})}),(0,va.jsxs)("div",{className:"info-box","data-sr":"wait 0.3s, move 20px",children:[(0,va.jsx)(vm.x,{field:e.fields.PoolContent}),(0,va.jsxs)("h3",{className:"subtitle",children:[(0,va.jsx)("br",{}),(0,va.jsx)("span",{className:"ptext",children:(0,va.jsx)(vm.x,{field:e.fields.PoolOpeningHour})})]}),(0,va.jsx)(vt.V,{name:"easthotels-pool-virtual-tour",rendering:e.rendering})]})]})]}),uU=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"content-wrapper title-only","data-sr":"move 20px",children:(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.PoolTitle})]})}),(0,va.jsxs)("div",{className:"img-gp-5",children:[(0,va.jsx)("div",{className:"img-wrapper w1","data-sr":"wait 0.1s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.PoolImage1,id:"coverimg",className:"coverimg"})})}),(0,va.jsx)("div",{className:"img-wrapper w2","data-sr":"wait 0.2s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.PoolImage2,id:"coverimg",className:"coverimg"})})}),(0,va.jsx)("div",{className:"img-wrapper w3","data-sr":"wait 0.4s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.PoolImage3,id:"coverimg",className:"coverimg"})})}),(0,va.jsxs)("div",{className:"info-box","data-sr":"wait 0.3s, move 20px",children:[(0,va.jsx)(vm.x,{field:e.fields.PoolContent}),(0,va.jsxs)("h3",{className:"subtitle",children:[(0,va.jsx)("br",{}),(0,va.jsx)("span",{className:"ptext",children:(0,va.jsx)(vm.x,{field:e.fields.PoolOpeningHour})})]}),(0,va.jsx)("div",{className:"clearfix"}
1),null!=e.fields.PoolVirtualTourLinkUrl&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.PoolVirtualTourLinkText.GlossaryValue})})]})]})]}),uz=()=>(0,va.jsx)(va.Fragment,{}),uq=e=>null===e?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"".concat(e.fields.Name.value.toLocaleLowerCase().replaceAll(" ","")," content-wrapper"),children:[(0,va.jsxs)("h2",{className:"title","data-sr":"move 20px",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.Title})]}),(0,va.jsxs)("div",{"data-sr":"wait 0.1s, move 20px",children:[(0,va.jsx)("section",{className:"wide_slide_carousel2",children:(0,va.jsx)("div",{children:(0,va.jsx)("div",{className:"img-wrapper",children:(0,va.jsx)(vg.E,{field:e.fields.TeaserImage})})})}),(0,va.jsx)(vm.x,{field:e.fields.Content}),null!=e.fields.Link&&(0,va.jsx)(va.Fragment,{})]})]}),uQ=e=>{let l=null===e.fields.OurAddressTitle2?"singleCol":"";return null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("section",{className:"page-intro page-intro--yin-yang ".concat(l),children:(0,va.jsxs)("div",{className:"main-container",children:[(0,va.jsxs)("div",{className:"page-intro__info",children:[(0,va.jsx)("h2",{className:"title is-size-2",children:(0,va.jsx)(vm.x,{field:e.fields.OurAddressTitle.GlossaryValue})}),(0,va.jsxs)("p",{children:[(0,va.jsx)(vm.x,{field:e.fields.OurAddressText}),(0,va.jsx)("br",{}),""!==e.fields.Telephone.GlossaryValue.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("a",{href:"tel:".concat(e.fields.Telephone.GlossaryValue),className:"tel",children:(0,va.jsx)(vm.x,{field:e.fields.Telephone.GlossaryValue})}),(0,va.jsx)("br",{})]}),""!==e.fields.Email.GlossaryValue.value&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.GlossaryValue),className:"email",children:(0,va.jsx)(vm.x,{field:e.fields.Email.GlossaryValue})})})]})]}),null!==e.fields.OurAddressTitle2&&(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"page-intro__info",children:[(0,va.jsx)("h2",{className:"title is-size-2",children:(0,va.jsx)(vm.x,{field:e.fields.OurAddressTitle2.GlossaryValue})}),(0,va.jsxs)("p",{children:[(0,va.jsx)(vm.x,{field:e.fields.OurAddressText2}),(0,va.jsx)("br",{}),""!==e.fields.Telephone2.GlossaryValue.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("a",{href:"tel:".concat(e.fields.Telephone2.GlossaryValue),className:"tel",children:(0,va.jsx)(vm.x,{field:e.fields.Telephone2.GlossaryValue})}),(0,va.jsx)("br",{})]}),""!==e.fields.Email2.GlossaryValue.value&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email2.GlossaryValue),className:"email",children:(0,va.jsx)(vm.x,{field:e.fields.Email2.GlossaryValue})})})]})]})})]})}),(0,va.jsx)("div",{className:"main-container",children:(0,va.jsxs)("div",{className:"form-container",children:[(0,va.jsx)("div",{className:"btn-gp tabs",children:(0,va.jsx)("div",{className:"row"})}),(0,va.jsx)(vt.V,{name:"ehk-contact-form",rendering:e.rendering})]})}),(0,va.jsxs)("div",{className:"nav-tab-content active",id:"east-hongkong-gettinghere",children:[(0,va.jsx)("div",{className:" bg-beige",children:(0,va.jsx)("div",{className:"main-container",children:(0,va.jsx)("div",{className:"map-wrapper box-wrapper","data-sr":"move 20px",children:(0,va.jsx)(vt.V,{name:"ehk-getting-here",rendering:e.rendering})})})}),"@if (Model.HotelPickUpFormShow)",(0,va.jsx)("div",{className:"bg-white",children:(0,va.jsxs)("div",{className:"main-container",children:[(0,va.jsx)("div",{className:"content-wrapper title-only","data-sr":"move 20px",children:(0,va.jsx)("h2",{className:"title",children:(0,va.jsx)("span",{children:"Pick Up"})})}),(0,va.jsxs)("div",{className:"single-slide","data-sr":"wait 0.1s, move 20px",children:[(0,va.jsx)(vt.V,{name:"ehk-hotel-pick-up-slider",rendering:e.rendering}),(0,va.jsxs)("div",{className:"box-grey",children:[(0,va.jsx)(vt.V,{name:"ehk-hotel-pick-up-text",rendering:e.rendering}),(0,va.jsx)("a",{href:"#","data-overlay":"#overlay-form",className:"btn-primary modal-open",id:"overlay-form-open"})]})]})]})})]}),(0,va.jsx)("div",{id:"overlay_bg"}),(0,va.jsx)("div",{className:"overlay",id:"overlay",children:(0,va.jsxs)("div",{className:"outer",children:[(0,va.jsx)("div",{className:"placehold"}),(0,va.jsx)("a",{href:"#",className:"btn-next modal-next",children:(0,va.jsx)("span",{className:"sp sp-next"})}),(0,va.jsx)("a",{href:"#",className:"btn-prev modal-prev",children:(0,va.jsx)("span",{className:"sp sp-prev"})})]})}),e.fields.HotelPickUpFormShow&&(0,va.jsx)("div",{className:"overlay pickup-overlay",id:"overlay-form",children:(0,va.jsx)("div",{className:"outer",children:(0,va.jsxs)("div",{className:"inner",children:[(0,va.jsxs)("div",{className:"content-wrapper title-only",children:[(0,va.jsx)("button",{id:"pickup-modal-close",type:"button",role:"button",className:"lines-button x close","data-dismiss":"modal","aria-label":"Close",children:(0,va.jsx)("span",{className:"lines"})}),(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)("span",{children:"Pick Up"})]})]}),(0,va.jsxs)("div",{className:"single-slide",children:[(0,va.jsx)(vt.V,{name:"ehk-hotel-pick-up-sli
1der",rendering:e.rendering}),(0,va.jsx)("div",{className:"box-grey",children:(0,va.jsx)(vt.V,{name:"ehk-hotel-pick-up-text",rendering:e.rendering})})]}),(0,va.jsx)(vt.V,{name:"ehk-hotel-pick-up-form",rendering:e.rendering})]})})})]})},uY=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"box-grey box-wrapper picture-box","data-sr":"move 20px",children:[(0,va.jsxs)("div",{className:"left",children:[(0,va.jsx)("h2",{className:"title",children:(0,va.jsx)("span",{className:"before"})}),(0,va.jsx)(vm.x,{field:e.fields.FeaturesContent})]}),(0,va.jsxs)("div",{className:"right",children:[(0,va.jsx)("div",{className:"floorplan-img-wrapper",children:(0,va.jsx)(vg.E,{field:e.fields.FeaturesImage,id:"coverimg",className:"coverimg"})}),(0,va.jsxs)("div",{className:"btn-container clearfix",children:[(0,va.jsx)("span",{className:"sp sp-icon-download"}),null!==e.fields.FeaturesDownloadLink.value?(0,va.jsx)(vm.x,{field:e.fields.FeaturesDownloadLabel}):(0,va.jsx)("a",{href:"#",className:"btn-primary btn-download",children:(0,va.jsx)(vm.x,{field:e.fields.FeaturesDownloadLabel})})]})]})]})}),uK=e=>null===e?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"box-grey section1",children:[(0,va.jsxs)("h1",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.Title})]}),(0,va.jsx)(vm.x,{field:e.fields.Content}),(0,va.jsx)("a",{children:(0,va.jsx)(vm.x,{field:e.fields.RoomSize})}),(0,va.jsx)("br",{className:"m"}),null!=e.fields.RoomView.value&&""!=e.fields.RoomView.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"inline-seperator",children:"|"}),(0,va.jsx)("a",{children:(0,va.jsx)(vm.x,{field:e.fields.RoomView})}),(0,va.jsx)("br",{className:"m"})]}),null!=e.fields.BedType.value&&""!=e.fields.BedType.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"inline-seperator",children:"|"}),(0,va.jsx)("a",{children:(0,va.jsx)(vm.x,{field:e.fields.BedType})})]}),(0,va.jsx)("br",{}),null!==e.fields.LinkURL.value?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.LinkText.GlossaryValue})}):(0,va.jsx)("a",{href:"#",className:"btn-primary inquire-button",children:(0,va.jsx)(vm.x,{field:e.fields.LinkText.GlossaryValue})})]}),(0,va.jsxs)("div",{className:"form-wrapper pop-up-form modal",id:"inquiry-form",children:[(0,va.jsx)(vt.V,{name:"ehk-east-residence-inquiry-form",rendering:e.rendering}),(0,va.jsx)("a",{href:"#close-modal",rel:"modal:close",className:"close-modal ",children:"Close"})]})]}),u$=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"col-wrapper clearfix",children:[(0,va.jsx)("div",{className:"img-col-3","data-sr":"move 20px",children:(0,va.jsx)(vg.E,{field:e.fields.ImageA,id:"coverimg",className:"coverimg"})}),(0,va.jsx)("div",{className:"img-col-3","data-sr":"wai1 0.1s, move 20px",children:(0,va.jsx)(vg.E,{field:e.fields.ImageB,id:"coverimg",className:"coverimg"})}),(0,va.jsx)("div",{className:"img-col-3","data-sr":"wai1 0.2s, move 20px",children:(0,va.jsx)(vg.E,{field:e.fields.ImageC,id:"coverimg",className:"coverimg"})})]}),uZ=e=>{let l=["pink","orange","grey","yellow"],i=e.fields.FeaturedOffers.map((e,i)=>(0,va.jsx)("div",{className:"editframe-fix",children:(0,va.jsxs)("div",{className:"".concat(l[i%l.length],"-cube cube hover "),"data-sr":"wait 0.".concat(i+1,"s, move 20px"),children:[null!==e.fields.TeaserImage&&(0,va.jsx)(vg.E,{field:e.fields.TeaserImage,id:"coverimg",className:"coverimg"}),(0,va.jsxs)("div",{className:"details",children:[(0,va.jsxs)("div",{className:"basic-details",children:[(0,va.jsx)("span",{className:"sp sp-expand-arrow"}),(0,va.jsx)("span",{className:"sp sp-collapse-arrow"}),(0,va.jsx)("div",{children:(0,va.jsx)("h2",{className:"title",children:null!==e.fields.TeaserTitle&&(0,va.jsx)(vm.x,{field:e.fields.TeaserTitle})})})]}),(0,va.jsx)("div",{className:"more-details",children:(0,va.jsxs)("div",{className:"wrap",children:[(0,va.jsx)(vm.x,{field:e.fields.TeaserContent}
1),(0,va.jsx)("a",{href:e.fields.Url.value,className:"btn-transparent"})]})})]})]})},i));return null===e?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"content-wrapper title-only",children:(0,va.jsxs)("h1",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.FeaturedTitle})]})}),(0,va.jsx)("div",{className:"m3 m3b clearfix",children:i})]})},uJ=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing;return null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"content-wrapper title-only","data-sr":"move 20px",children:[(0,va.jsxs)("h1",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(l||""!==e.fields.Title.value)&&(0,va.jsx)(vm.x,{field:e.fields.Title})]}),(l||""!==e.fields.Content.value)&&(0,va.jsx)(vm.x,{field:e.fields.Content}),(l||""!==e.fields.ContactTitle.value)&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("h3",{className:"subtitle",children:(0,va.jsx)(vm.x,{field:e.fields.ContactTitle})}),(0,va.jsx)(vm.x,{field:e.fields.ContactContent}),(0,va.jsxs)("p",{className:"contact",children:[(l||""!==e.fields.Telephone.GlossaryValue.value)&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:"tel:".concat(e.fields.Telephone.GlossaryValue),className:"tel",children:(0,va.jsx)(vm.x,{field:e.fields.Telephone.GlossaryValue})})}),(0,va.jsx)("br",{}),(l||""!==e.fields.Email.GlossaryValue.value)&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.GlossaryValue),className:"email",children:(0,va.jsx)(vm.x,{field:e.fields.Email.GlossaryValue})})})]})]})]})})},uX=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing;return null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"big-slide box-wrapper","data-sr":"move 20px",children:[(0,va.jsxs)("div",{className:"box-grey right",children:[(0,va.jsxs)("h1",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(l||""!==e.fields.Title.value)&&(0,va.jsx)(vm.x,{field:e.fields.Title})]}),(0,va.jsx)(vm.x,{field:e.fields.Content}),(0,va.jsx)(vm.x,{field:e.fields.ButtonLabel})]}),(0,va.jsx)("div",{className:"img-wrapper left",children:(0,va.jsx)("div",{className:"inner",children:(0,va.jsx)(vg.E,{field:e.fields.Image,id:"coverimg",className:"coverimg"})})}),(0,va.jsx)("div",{className:"box-grey mobile_only",children:(0,va.jsx)(vm.x,{field:e.fields.ButtonLabel})})]})},u0=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing,i=e.fields.Children.map((e,i)=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"item",children:[(0,va.jsx)("figure",{children:(0,va.jsx)(vg.E,{field:e.fields.TeaserImage,id:"coverimg",className:"coverimg"})}),(0,va.jsxs)("div",{className:"content clearfix",children:[(0,va.jsx)("h2",{children:(l||""!==e.fields.TeaserTitle.value)&&(0,va.jsx)(vm.x,{field:e.fields.TeaserTitle})}),(l||""!==e.fields.TeaserContent.value)&&(0,va.jsx)(vm.x,{field:e.fields.TeaserContent}),(0,va.jsx)("div",{className:"more",children:(l||""!==e.fields.Content.value)&&(0,va.jsx)(vm.x,{field:e.fields.Content})}),(0,va.jsx)("a",{href:"@item.Url",className:"link toggle-more",children:(0,va.jsx)("span",{className:"sp sp-link-arrow"})})]})]}),0===i&&(0,va.jsx)("div",{className:"gutter-sizer"})]}));return null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("div",{className:"item-feed",children:i})},u1=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"header-spacer"}),(0,va.jsx)("section",{id:"m1",children:e.fields.Slides.map((e,l)=>(0,va.jsxs)("div",{children:[(0,va.jsx)(vg.E,{field:e.fields.Image,id:"slide-img",className:"slide-img"}),""!=e.fields.VideoPath.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(vg.E,{field:e.fields.Image,id:"slide-img",className:"slide-img video-placeholder"}),(0,va.jsx)("div",{className:"video-player",style:{display:"none"},children:(0,va.jsx)("video",{id:"EhHeroSlideshow",poster:"data:image/gif,AAAA",loop:!0,preload:"auto",src:e.fields.VideoPath.value})}),(0,va.jsx)("div",{className:"content",children:(0,va.jsxs)("div",{className:"inner
1-content",children:[(0,va.jsx)("img",{src:"/files/east-hongkong/img/sunglass.png",alt:"sunglass bg"}),(0,va.jsxs)("div",{className:"inner",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsx)(vm.x,{field:e.fields.Content}),null!=e.fields.Link&&""!=e.fields.LinkText.value&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.LinkText})})]})]})}),null!=e.fields.Link&&""!=e.fields.LinkText.value&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vN.r,{field:e.fields.Link,className:"fake-link"})})]})]},l))})]}),u2=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("section",{className:"home-pattern",children:[(0,va.jsx)("div",{className:"main-container pt-0",children:(0,va.jsx)("div",{className:"box-slider box-slider--5050 box-slider--text-first box-slider--na",children:(0,va.jsxs)("div",{className:"slide",children:[(0,va.jsx)("div",{className:"slide__img",children:(0,va.jsx)(vg.E,{field:e.fields.ContentImage})}),(0,va.jsxs)("div",{className:"slide__cont",children:[(0,va.jsx)("h3",{className:"slide__title is-size-2",children:(0,va.jsx)(vm.x,{field:e.fields.ContentTitle})}),(0,va.jsx)(vm.x,{field:e.fields.ContentBody}),"@if (Model.ContentLink != null)",null!==e.fields.ContentLink&&(0,va.jsx)("p",{})]})]})})}),(0,va.jsx)(vt.V,{name:"easthotels-work-play",rendering:e.rendering})]}),u5=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("section",{children:(0,va.jsx)("div",{className:"img-grid",children:(0,va.jsxs)("div",{className:"main-container pt-0",children:[(0,va.jsxs)("div",{className:"img-grid__img",children:[(0,va.jsx)("div",{className:"img-grid__img__item",children:(0,va.jsx)(vg.E,{field:e.fields.ContentImage})}),(0,va.jsxs)("div",{className:"img-grid__img__row",children:[(0,va.jsx)("div",{className:"img-grid__img__item",children:(0,va.jsx)(vg.E,{field:e.fields.ContentImage2})}),(0,va.jsx)("div",{className:"img-grid__img__item",children:(0,va.jsx)(vg.E,{field:e.fields.ContentImage3})}),(0,va.jsx)("div",{className:"img-grid__img__item",children:(0,va.jsx)(vg.E,{field:e.fields.ContentImage4})}),(0,va.jsx)("div",{className:"img-grid__img__item",children:(0,va.jsx)(vg.E,{field:e.fields.ContentImage5})})]})]}),(0,va.jsxs)("div",{className:"img-grid__cont",children:[(0,va.jsx)("h3",{className:"img-grid__title is-size-2",children:(0,va.jsx)(vm.x,{field:e.fields.ContentTitle})}),(0,va.jsx)(vm.x,{field:e.fields.ContentBody}),null!==e.fields.ContentLink&&(0,va.jsx)("p",{})]})]})})}),u3=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"header-spacer"}),(0,va.jsx)("section",{id:"m1",children:e.fields.Slides.map((e,l)=>(0,va.jsx)("div",{children:(0,va.jsx)(vg.E,{field:e.fields.Image,id:"slide-img",className:"slide-img"})},l))})]}),u4=e=>{let l=e.fields.HighlightedDetails.map((e,l)=>{var i;return(0,va.jsxs)("div",{className:"slider-item",children:[(0,va.jsx)("picture",{children:(0,va.jsx)(vg.E,{field:e.TeaserImage})}),(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null===(i=e.PropertyLocation)||void 0===i?void 0:i.Title})}),(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.TeaserTitle})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.TeaserContent})}),(0,va.jsx)("p",{children:(0,va.jsx)("a",{className:"cta",href:"@item.FullUrl",title:'"@Html.Sitecore().Dictionary(SwireHotels.Feature.ContentType.Dictionary.Happenings.Details, "[details]")"'})})]},l)});return null===e.fields||0===e.fields.HighlightedDetails.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("div",{className:"slider album",children:l})},u6=e=>{let l=e.fields.ContentSettings,{locale:i}=(0,vT.QT)(),s=i.name.toLocaleLowerCase();return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"content-wrapper title-only",children:(0,va.jsx)("h2",{className:"title"})}),(0,va.jsxs)("div",{className:"search-field clearfix",children:[(0,va.jsxs)("div",{id:"start-point-select",className:"select toggle-link start-point-select","data-href":"#start-point-ul-east-hong-kong",children:[(0,va.jsx)("div",{className:"fake-text"}),(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsx)("ul",{id:"start-point-ul-east-hong-kong",className:"start-point-ul",children:e.fields.Locations.map((e,l)=>(0,va.jsx)("li",{"data-lat":e.fields.Latitude.value,"data-lng":e.fields.Longitude.value,"data-start":e.fields.Origin.value,"data-alat":e.fields.GaodeLatitude,"data-alng":e.fields.GaodeLongitude,children:(0,va.jsx)(vm.x,{field:e.fields.Title})},l))})]}),(0,va.jsxs)("div",{id:"alternative-location-text",className:"select toggle-link alternative-location-text-className",children:[(0,va.jsx)("label",{className:"hidden"}),(0,va.jsx)("input",{id:"alternative-location",className:"alternative-location-className",type:"text",value:"",placeholder:"@alternativeLocation"})]}
1),(0,va.jsx)("span",{id:"destination-point","data-lat":l.BaiduLatitude,"data-alat":l.GaodeLatitude,"data-alng":l.GaodeLongitude,"data-lng":l.Longitude,"data-dest":l.Destination,className:"hidden destination-point-className"}),(0,va.jsx)("a",{href:"#",className:"search search-button-className btn-primary",id:"search-button"})]}),"zh-cn"===s?(0,va.jsx)("div",{className:"gmap","data-mapkey":l.GoogleMapKey,"data-refPoint":"hotel","data-lang":s,"data-zoom":l.Zoom,"data-lat":l.Latitude,"data-lng":l.Longitude}):(0,va.jsx)("div",{className:"amap",id:"amap","data-mapkey":l.GaodeMapKey,"data-refPoint":"hotel","data-lang":s,"data-zoom":l.Zoom,"data-lat":l.GaodeLatitude,"data-lng":l.GaodeLongitude}),(0,va.jsxs)("div",{className:"right",children:[(0,va.jsxs)("div",{id:"travel-mode",className:"switch-wrapper clearfix travel-mode-className",children:[(0,va.jsx)("a",{href:"#","data-mode":"DRIVING",className:"driving active",children:(0,va.jsx)("img",{src:"/files/east-hongkong/img/map/icon-car.png",className:"map-icon map-icon-car",alt:"car"})}),(0,va.jsx)("a",{href:"#","data-mode":"TRANSIT",className:"public-transport",children:(0,va.jsx)("img",{src:"/files/east-hongkong/img/map/icon-bus.png",className:"map-icon map-icon-bus",alt:"bus"})}),(0,va.jsx)("a",{href:"#","data-mode":"WALKING",className:"walking",children:(0,va.jsx)("img",{src:"/files/east-hongkong/img/map/icon-foot.png",className:"map-icon map-icon-foot",alt:"foot"})})]}),(0,va.jsx)("div",{className:"route"}),(0,va.jsx)("div",{className:"directions"})]})]})},u8=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"box-grey box-wrapper picture-box floorplan","data-sr":"move 20px",children:[(0,va.jsx)("div",{className:"left",children:(0,va.jsx)("h2",{className:"title",children:(0,va.jsx)("span",{className:"before"})})}),(0,va.jsx)("div",{className:"right",children:(0,va.jsx)("div",{className:"floorplan-img-wrapper",children:(0,va.jsx)(vg.E,{field:e.fields.FloorPlanImage,id:"coverimg",className:"coverimg"})})}),(0,va.jsxs)("div",{className:"left",children:[(0,va.jsx)(vm.x,{field:e.fields.FloorPlanContent}),(0,va.jsx)("br",{}),null!==e.fields.FloorPlanDownloadLink&&(0,va.jsx)(va.Fragment,{})]})]}),u7=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"section2 box-wrapper",children:[(0,va.jsxs)("div",{className:"right","data-sr":"wait 0.4s, move 20px",children:[(0,va.jsx)("h2",{className:"title",children:(0,va.jsx)("span",{className:"before"})}),(0,va.jsx)(vm.x,{field:e.fields.FoodDrinkContent}),null!==e.fields.FoodDrinkCTALink&&(0,va.jsx)(va.Fragment,{})]}),(0,va.jsxs)("div",{className:"left img-gp-sm",children:[(0,va.jsx)("div",{className:"img-wrapper w1","data-sr":"wait 0.1s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.FoodDrinkImage1,id:"coverimg",className:"coverimg"})})}),(0,va.jsx)("div",{className:"img-wrapper w2","data-sr":"wait 0.2s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.FoodDrinkImage2,id:"coverimg",className:"coverimg"})})}),(0,va.jsx)("div",{className:"img-wrapper w3","data-sr":"wait 0.3s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.FoodDrinkImage3,id:"coverimg",className:"coverimg"})})})]})]}),u9=e=>{let l=(e.fields.MeetingsandEventsRepository.length<=3?e.fields.MeetingsandEventsRepository.slice(0):e.fields.MeetingsandEventsRepository.slice(0,3)).map((e,l)=>{let i=.1*l+"s",s="w"+(l+1),n="coverimg"+(l+1)+"-gp3";return(0,va.jsx)("div",{className:"editframe-fix",children:(0,va.jsx)("div",{className:"img-wrapper ro-overlayed ".concat(s),"data-sr":"wait ".concat(i,", move 20px"),children:0!==l?(0,va.jsxs)("div",{className:"wrap",children:[(0,va.jsx)(vg.E,{field:e.fields.TeaserImage,className:"coverimg",id:n}),(0,va.jsx)("div",{className:"ro-overlay",children:(0,va.jsx)("div",{className:"content",children:(0,va.jsxs)("div",{className:"inner",children:[(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.Title})]}
1),(0,va.jsx)("a",{href:e.fields.Url.value,className:"btn-transparent"})]})})}),(0,va.jsx)("div",{className:"cover",children:(0,va.jsx)("div",{className:"content",children:(0,va.jsx)("div",{className:"inner",children:(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.Title})]})})})})]}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(vg.E,{field:e.fields.TeaserImage,className:"coverimg",id:n}),(0,va.jsx)("div",{className:"ro-overlay",children:(0,va.jsx)("div",{className:"content",children:(0,va.jsxs)("div",{className:"inner",children:[(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.Title})]}),(0,va.jsx)("a",{href:e.fields.Url.value,className:"btn-transparent"})]})})}),(0,va.jsx)("div",{className:"cover",children:(0,va.jsx)("div",{className:"content",children:(0,va.jsx)("div",{className:"inner",children:(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.Title})]})})})})]})})},l)});return null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"content-wrapper title-only","data-sr":"move 20px",children:(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.MeetingsandEventsTeaserTitle.GlossaryValue})]})}),(0,va.jsx)("div",{className:"img-gp-3",children:l})]})},me=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing;return null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"picture-box box-with-sideinfo",children:[(0,va.jsxs)("h1",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(l||null!=e.fields.Title.value)&&(0,va.jsx)(vm.x,{field:e.fields.Title})]}),(0,va.jsx)("div",{className:"left content",children:(l||null!=e.fields.Content.value)&&(0,va.jsx)(vm.x,{field:e.fields.Content})}),(0,va.jsxs)("div",{className:"left",children:[null!=e.fields.LinkURL.value&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{fields:e.fields.LinkText})}),null!==e.fields.VirtualTourLinkURL.value&&(0,va.jsxs)(va.Fragment,{children:["@Html.Raw(Model.VirtualTourLinkText.GlossaryValue)",(0,va.jsx)(vm.x,{field:e.fields.VirtualTourLinkText.GlossaryValue})]})]})]})},ml=e=>{var l;let i=(0,vr.z)().sitecoreContext.pageEditing,s=null!==e.fields.Content&&(null===(l=e.fields.Content)||void 0===l?void 0:l.value)!=="";return null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"content-wrapper special-offers ".concat(s?"":"title-only"),"data-sr":"move 20px",children:[(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(i||""!==e.fields.Title.value)&&(0,va.jsx)(vm.x,{field:e.fields.Title})]}),(i||""!==e.fields.Content.value)&&(0,va.jsx)(vm.x,{field:e.fields.Content})]}),(0,va.jsx)("div",{className:"btn-gp item-filter",id:"offer-ul",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"btnwrap",children:(0,va.jsx)("a",{href:"#","data-type":"all",className:"btn-primary active",children:(0,va.jsx)("span",{})})})})})]})},mi=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing;return null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"special-offers content-wrapper","data-sr":"move 20px",children:[(0,va.jsx)("h3",{className:"subtitle",children:(l||""!==e.fields.ContactTitle.value)&&(0,va.jsx)(vm.x,{field:e.fields.ContactTitle})}),(l||""!==e.fields.ContactContent.value)&&(0,va.jsx)(vm.x,{field:e.fields.ContactContent}),(0,va.jsxs)("p",{className:"contact",children:[""!==e.fields.Telephone.GlossaryValue.value&&(0,va.jsx)("a",{href:"tel:".concat(e.fields.Telephone.GlossaryValue),className:"tel",children:(0,va.jsx)(vm.x,{field:e.fields.Telephone.GlossaryValue})}),(0,va.jsx)("br",{}),""!==e.fields.Email.GlossaryValue.value&&(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.GlossaryValue),className:"email",children:(0,va.jsx)(vm.x,{field:e.fields.Email.GlossaryValue})})]})]})},ms=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing;return null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"big-slide box-wrapper","data-sr":"move 20px",children:[(0,va.jsxs)("div",{className:"box-grey right",children:[(0,va.jsxs)("h1",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(l||""!==e.fields.Title.value)&&(0,va.jsx)(vm.x,{field:e.fields.Title})]}),(l||""!==e.fields.Content.value)&&(0,va.jsx)(vm.x,{field:e.fields.Content}),(0,va.jsxs)("div",{className:"terms mobile_only",children:[(0,va.jsx)("h2",{className:"title",children:(0,va.jsx)(vm.x,{field:e.fields.TermsandConditionsLabel})}),(0,va.jsx)(vm.x,{field:e.fields.TermsandConditionsContent})]}),(0,va.jsxs)("div",{className:"desktop_only",children:[(l||""!==e.fields.ContactContent.value)&&(0,va.jsx)(vm.x,{field:e.fields.ContactContent}),""==e.fields.BookThisOfferLink.value.href&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.BookThisOfferLabel})})]})]}),(0,va.jsx)("div",{className:"img-wrapper left",children:(0,va.jsx)("div",{className:"inner",children:(0,va.jsx)(vg.E,{field:e.fields.Image,id:"coverimg",className:"coverimg"})})}),(0,va.jsxs)("div",{className:"box-grey mobile_only",children:[""==e.fields.BookThisOfferLink.value.href&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.BookThisOfferLabel})}),(0,va.jsx)(vm.x,{field:e.fields.ContactContent})]})]})},mn=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing,i=(e.fields.Children.length>0?e.fields.Children:e.fields.FeaturedOffers).map((e,i)=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"item","data-type":null!=e.f
1ields.OfferType.Value?e.fields.OfferType.Value:"",children:[(0,va.jsx)("figure",{children:(0,va.jsx)(vg.E,{field:e.fields.TeaserImage,id:"coverimg",className:"coverimg"})}),(0,va.jsxs)("div",{className:"content clearfix",children:[(0,va.jsx)("h3",{children:(l||""!==e.fields.TeaserTitle.value)&&(0,va.jsx)(vm.x,{field:e.fields.TeaserTitle})}),(l||""!==e.fields.TeaserContent.value)&&(0,va.jsx)(vm.x,{field:e.fields.TeaserContent}),(0,va.jsx)("div",{className:"more",children:(l||""!==e.fields.Content.value)&&(0,va.jsx)(vm.x,{field:e.fields.Content})}),(0,va.jsx)("a",{href:"@item.Url",className:"link toggle-more",children:(0,va.jsx)("span",{className:"sp sp-link-arrow"})})]})]}),0===i&&(0,va.jsx)("div",{className:"gutter-sizer"})]}));return null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"item-feed",children:i})})},ma=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing;return null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"terms desktop_only box-wrapper","data-sr":"move 20px",children:[(0,va.jsx)("h2",{className:"title",children:(l||""!==e.fields.TermsandConditionsLabel.value)&&(0,va.jsx)(vm.x,{field:e.fields.TermsandConditionsLabel})}),(l||""!==e.fields.TermsandConditionsContent.value)&&(0,va.jsx)(vm.x,{field:e.fields.TermsandConditionsContent})]})},md=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"content-wrapper title-only","data-sr":"move 20px",children:(0,va.jsx)("h2",{className:"title",children:(0,va.jsx)("span",{className:"before"})})}),(0,va.jsx)("div",{"data-sr":"wait 0.1s, move 20px",children:(0,va.jsx)("section",{className:"carousel",children:e.fields.OffersRepository.map((e,l)=>(0,va.jsxs)("div",{children:[(0,va.jsxs)("div",{className:"img-wrapper",children:[(0,va.jsx)("div",{className:"wrap bgimg",children:(0,va.jsx)(vg.E,{field:e.fields.TeaserImage,id:"coverimg",className:"coverimg"})}),(0,va.jsxs)("div",{className:"cover",children:[(0,va.jsx)("div",{className:"content",children:(0,va.jsx)("div",{className:"inner",children:(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserTitle})})})}),(0,va.jsx)("a",{href:e.fields.Url.value,className:"hidden-link"})]})]}),(0,va.jsx)("div",{className:"content-wrapper",children:(0,va.jsx)(vm.x,{field:e.fields.TeaserContent})})]},l))})})]}),mt=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("div",{className:"container2",children:(0,va.jsx)("div",{className:"content-wrapper",children:(0,va.jsxs)("div",{className:"partner-group",children:[(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.GroupTitle})]}),e.fields.Partners.map((e,l)=>(0,va.jsx)("div",{className:"boxHolder",children:(0,va.jsxs)("div",{className:"rect mh360 hasText clearfix",children:[(0,va.jsx)("div",{className:"image","data-sr":"move 20px",children:(0,va.jsx)("div",{className:"img-wrapper",children:(0,va.jsx)(vg.E,{field:e.fields.Logo})})}),(0,va.jsxs)("div",{className:"text content-text content-text-1","data-sr":"wait 0.2s, move 20px",children:[(0,va.jsx)("h2",{className:"title",children:(0,va.jsx)(vm.x,{field:e.fields.Name})}),(0,va.jsx)(vm.x,{field:e.fields.Description}),(0,va.jsx)(vm.x,{field:e.fields.LinkText})]})]})},l))]})})}),mo=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("div",{className:"content-wrapper clearfix top",children:(0,va.jsxs)("div",{"data-sr":"move 20px",children:[(0,va.jsxs)("h1",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.Title})]}),(0,va.jsx)("div",{className:"careers_intro",children:(0,va.jsx)(vm.x,{field:e.fields.Content})})]})}),mr=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"box-grey box-wrapper picture-box","data-sr":"move 20px",children:[(0,va.jsx)("div",{className:"left",children:(0,va.jsx)("h2",{className:"title",children:(0,va.jsx)("span",{className:"before"})})}),(0,va.jsx)("div",{className:"right",children:(0,va.jsx)("div",{className:"floorplan-img-wrapper",children:(0,va.jsx)(vg.E,{field:e.fields.FloorPlanImage,className:"coverimg",id:"c
1overimg"})})}),(0,va.jsxs)("div",{className:"left",children:[(0,va.jsx)(vm.x,{field:e.fields.FloorPlanContent}),"@if (Model.FloorPlanDownloadLink != null)",null!==e.fields.FloorPlanDownloadLink&&(0,va.jsx)(va.Fragment,{})]})]}),mc=e=>{var l,i;return null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"box-grey section1",children:[(0,va.jsxs)("h1",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.Title})]}),(0,va.jsx)(vm.x,{field:e.fields.Content}),(0,va.jsx)("a",{children:(0,va.jsx)(vm.x,{field:e.fields.RoomSize})}),(0,va.jsx)("br",{className:"m"}),null!==e.fields.RoomView&&""!==e.fields.RoomView.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"inline-seperator",children:"|"}),(0,va.jsx)("a",{children:(0,va.jsx)(vm.x,{field:e.fields.RoomView})}),(0,va.jsx)("br",{className:"m"})]}),null!==e.fields.BedType&&""!==e.fields.BedType.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"inline-seperator",children:"|"}),(0,va.jsx)("a",{children:(0,va.jsx)(vm.x,{field:e.fields.BedType})})]}
1),(0,va.jsx)("div",{className:"virtual-tour-wrap",children:null!==e.fields.VirtualTourLinkURL?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.VirtualTourLinkText.GlossaryValue})}):(0,va.jsx)("a",{href:"#",className:"btn-primary",children:(0,va.jsx)(vm.x,{field:e.fields.VirtualTourLinkText.GlossaryValue})})}),(0,va.jsxs)("div",{className:"box-bottom info-box",children:[(0,va.jsx)("h4",{className:"subtitle",children:(0,va.jsx)(vm.x,{field:e.fields.EnquireTitle})}),(0,va.jsx)(vm.x,{field:e.fields.EnquireContent}),(0,va.jsx)("em",{children:(0,va.jsx)("a",{href:"tel:".concat(null===(l=e.fields.Telephone)||void 0===l?void 0:l.GlossaryValue),className:"tel",children:(0,va.jsx)(vm.x,{field:null===(i=e.fields.Telephone)||void 0===i?void 0:i.GlossaryValue})})}),(0,va.jsx)("em",{children:(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.GlossaryValue),className:"email",children:(0,va.jsx)(vm.x,{field:e.fields.Email.GlossaryValue})})}),null!==e.fields.VirtualTourLinkURL?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.EnquireLinkText.GlossaryValue})}):(0,va.jsx)("a",{href:"#",className:"btn-primary",children:(0,va.jsx)(vm.x,{field:e.fields.EnquireLinkText.GlossaryValue})})]})]})},mv=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"img-gp-4",children:[(0,va.jsxs)("div",{className:"row-m",children:[(0,va.jsx)("div",{className:"img-wrapper w1","data-sr":"move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.TallImage,className:"coverimg",id:"coverimg1-gp4"})})}),(0,va.jsx)("div",{className:"img-wrapper w2","data-sr":"wait 0.1s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.LargeSquareImage,className:"coverimg",id:"coverimg2-gp4"})})}),(0,va.jsx)("div",{className:"img-wrapper w3","data-sr":"wait 0.2s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.SmallSquareImageA,className:"coverimg",id:"coverimg3-gp4"})})})]}),(0,va.jsx)("div",{className:"img-wrapper w4","data-sr":"wait 0.3s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.SmallSquareImageB,className:"coverimg",id:"coverimg4-gp4"})})})]}),mu=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"img-gp-4",children:[(0,va.jsxs)("div",{className:"row-m",children:[(0,va.jsx)("div",{className:"img-wrapper w1","data-sr":"move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.Image230x460,id:"coverimg",className:"coverimg"})})}),(0,va.jsx)("div",{className:"img-wrapper w2","data-sr":"wait 0.1s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.Image459x459,id:"coverimg",className:"coverimg"})})}),(0,va.jsx)("div",{className:"img-wrapper w3","data-sr":"wait 0.2s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.Image230x225a,id:"coverimg",className:"coverimg"})})})]}),(0,va.jsx)("div",{className:"img-wrapper w4","data-sr":"wait 0.3s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:null!==e.fields.Image230x225b&&(0,va.jsx)(vg.E,{field:e.fields.Image230x225b,id:"coverimg",className:"coverimg"})})})]}),mm=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:null!==e.fields.MoreChoicesTitle&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"content-wrapper title-only","data-sr":"move 20px",children:(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.MoreChoicesTitle.GlossaryValue})]})}),(0,va.jsx)("div",{className:"img-gp-3",children:e.fields.DiningOptionsRepository.map((e,l)=>{var i;return(0,va.jsx)("div",{className:"editframe-fix",children:(0,va.jsxs)("div",{className:"img-wrapper ro-overlayed ".concat("w"+(l+1)," left"),"data-sr":"wait ".concat(.1*l+"s"," move 20px"),children:[(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.TeaserImage,className:"coverimg"})}),(0,va.jsx)("div",{className:"ro-overlay",children:(0,va.jsx)("div",{className:"content",children:(0,va.jsxs)("div",{className:"inner",children:[(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.Title})]}
1),(0,va.jsx)("a",{href:e.fields.Url.value,className:"btn-transparent",children:(0,va.jsx)(vm.x,{field:null===(i=e.fields.TeaserLinkText)||void 0===i?void 0:i.GlossaryValue})})]})})}),(0,va.jsx)("div",{className:"cover",children:(0,va.jsx)("div",{className:"content",children:(0,va.jsx)("div",{className:"inner",children:(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.Title})]})})})})]})},l)})})]})}),mx=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing;return null==e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"picture-box box-with-sideinfo",children:[(0,va.jsxs)("h1",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(l||""!=e.fields.Title.value)&&(0,va.jsx)(vm.x,{field:e.fields.Title})]}),(0,va.jsx)("div",{className:"left",children:(0,va.jsx)(vm.x,{field:e.fields.Content})}),(0,va.jsxs)("div",{className:"right info-box",children:[null!=e.fields.OpeningHours&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("h4",{className:"subtitle",children:null!=e.fields.OpeningHoursTitle?e.fields.OpeningHoursTitle.GlossaryValue.value:""}),(0,va.jsx)(vm.x,{field:e.fields.OpeningHours})]}),null!=e.fields.Telephone&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("h4",{className:"subtitle",children:null!=e.fields.ReservationsTitle?e.fields.ReservationsTitle.GlossaryValue.value:""}),(0,va.jsx)("em",{children:(0,va.jsx)("a",{href:"tel:".concat(e.fields.Telephone.GlossaryValue.value," "),className:"tel",children:(0,va.jsx)(vm.x,{field:e.fields.Telephone.GlossaryValue})})}),(0,va.jsx)("em",{children:null!=e.fields.Email&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:"mailto:".concat(e.fields.Email.GlossaryValue),className:"email",children:(0,va.jsx)(vm.x,{field:e.fields.Email.GlossaryValue})})})})]}),null!=e.fields.LocationText&&""!=e.fields.LocationText.value&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("h4",{className:"subtitle",children:null!=e.fields.LocationTitle?e.fields.LocationTitle.GlossaryValue.value:""}),(0,va.jsx)("em",{children:(0,va.jsx)(vm.x,{field:e.fields.LocationText})})]}),null!=e.fields.LocationLink&&(0,va.jsx)("em",{className:"location-anchor",children:(0,va.jsx)("span",{className:"sp sp-pin"})})]}),(0,va.jsxs)("div",{className:"left",children:[null!=e.fields.LinkText1&&(0,va.jsx)(va.Fragment,{children:null!=e.fields.LinkURL1?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.LinkText1.GlossaryValue})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:"#",className:"btn-primary",children:(0,va.jsx)(vm.x,{field:e.fields.LinkText1.GlossaryValue})})})}),null!=e.fields.LinkText2&&(0,va.jsx)(va.Fragment,{children:null!=e.fields.LinkURL2?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.LinkText2.GlossaryValue})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:"#",className:"btn-primary",children:(0,va.jsx)(vm.x,{field:e.fields.LinkText2.GlossaryValue})})})}),null!=e.fields.VirtualTourLinkURL&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.VirtualTourLinkText.GlossaryValue})})]})]})},mp=e=>null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"box-grey box-wrapper picture-box","data-sr":"move 20px",children:[(0,va.jsxs)("div",{className:"left",children:[(0,va.jsx)("h2",{className:"title",children:(0,va.jsx)("span",{className:"before"})}),(0,va.jsx)(vm.x,{field:e.fields.FeaturesContent})]}),(0,va.jsxs)("div",{className:"right",children:[(0,va.jsx)("div",{className:"floorplan-img-wrapper",children:(0,va.jsx)(vg.E,{field:e.fields.FeaturesImage,id:"coverimg",className:"coverimg"})}),(0,va.jsxs)("div",{className:"btn-container clearfix",children:["@if (Model.FeaturesDownloadLink != null)",null!==e.fields.FeaturesDownloadLabel&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.FeaturesDownloadLabel})})]})]})]})}),mh=e=>{var l;return e.fields.FloorPlanContainers.length>0?(0,va.jsxs)("div",{className:"box-grey box-wrapper picture-box","data-sr":"move 20px",children:[(0,va.jsxs)("div",{className:"left",children:[(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.FeaturesTitle})]}),(0,va.jsx)(vm.x,{field:e.fields.FeaturesContent})]}),(0,va.jsxs)("div",{className:"right",children:[(0,va.jsx)("div",{className:"floorplan-img-wrapper",children:(0,va.jsx)("div",{className:"room-floor-plan-slider",children:e.fields.FloorPlanContainers[0].Children.map(e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(vg.E,{field:e.Image,className:"slide-img ".concat(null!==e.MP4VideoPath&&""!==e.MP4VideoPath.value?"video-placeholder":"")}),null!==e.MP4VideoPath&&""!==e.MP4VideoPath.value&&(0,va.jsx)("video",{id:"T06aResidencesDetails",poster:"data:image/gif,AAAA",preload:"auto",src:e.MP4VideoPath.value})]}))})}),(0,va.jsx)("div",{className:"btn-container clearfix",children:null!=e.f
1ields.FeaturesDownloadLink?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.FeaturesDownloadLabel})}):(0,va.jsx)("a",{href:"#",className:"btn-primary btn-download",children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.FeaturesDownloadLabel})})})]})]}):(0,va.jsx)(va.Fragment,{})},mf=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing;return null===e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"box-grey section1",children:[(0,va.jsxs)("h1",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(l||""!==e.fields.Title.value)&&(0,va.jsx)(vm.x,{field:e.fields.Title})]}),(l||""!==e.fields.Content.value)&&(0,va.jsx)(vm.x,{field:e.fields.Content}),(0,va.jsx)("br",{}),(l||""!==e.fields.RoomSize.value)&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("a",{children:(0,va.jsx)(vm.x,{field:e.fields.RoomSize})}),(0,va.jsx)("br",{className:"m"})]}),(l||""!==e.fields.RoomView.value)&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"inline-seperator",children:"|"}),(0,va.jsx)("a",{children:(0,va.jsx)(vm.x,{field:e.fields.RoomView})}),(0,va.jsx)("br",{className:"m"})]}),(l||""!==e.fields.BedType.value)&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"inline-seperator",children:"|"}),(0,va.jsx)("a",{children:(0,va.jsx)(vm.x,{field:e.fields.BedType})}),(0,va.jsx)("br",{className:"m"})]}),"if (Model.LinkURL != null)",null!=e.fields.LinkURL?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("a",{href:"#",className:"btn-primary",children:(0,va.jsx)(vm.x,{field:e.fields.LinkText.GlossaryValue})}),"if (Model.VirtualTourLinkURL != null)",null!=e.fields.VirtualTourLinkURL&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.VirtualTourLinkText.GlossaryValue})})]})},mg=e=>null==e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"col-wrapper clearfix",children:[(0,va.jsx)("div",{className:"img-col-3","data-sr":"move 20px",children:(0,va.jsx)(vg.E,{field:e.fields.ImageA,id:"coverimg",className:"coverimg"})}),(0,va.jsx)("div",{className:"img-col-3","data-sr":"wai1 0.1s, move 20px",children:(0,va.jsx)(vg.E,{field:e.fields.ImageB,id:"coverimg",className:"coverimg"})}),(0,va.jsx)("div",{className:"img-col-3","data-sr":"wai1 0.2s, move 20px",children:(0,va.jsx)(vg.E,{field:e.fields.ImageC,id:"coverimg",className:"coverimg"})})]}),mj=e=>null==e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("div",{className:"text-center bottom-link",children:null!=e.fields.ButtonLink&&(0,va.jsxs)(va.Fragment,{children:["@Html.Raw(Model.ButtonText?.GlossaryValue)",(0,va.jsx)(vm.x,{field:e.fields.ButtonText.GlossaryValue})]})}),mN=e=>null==e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:e.fields.ServicesFacilities.map((e,l)=>(0,va.jsxs)("div",{className:"section2 box-wrapper",children:[(0,va.jsxs)("div",{className:"right","data-sr":"wait 0.4s, move 20px",children:[(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:e.fields.TeaserTitle})]}),(0,va.jsx)(vm.x,{field:e.fields.TeaserContent})]}),(0,va.jsxs)("div",{className:"left img-gp-sm",children:[(0,va.jsx)("div",{className:"img-wrapper w1","data-sr":"wait 0.1s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.Image1,id:"coverimg",className:"coverimg"})})}),(0,va.jsx)("div",{className:"img-wrapper w2","data-sr":"wait 0.2s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.Image2,id:"coverimg",className:"coverimg"})})}),(0,va.jsx)("div",{className:"img-wrapper w3","data-sr":"wait 0.3s, move 20px",children:(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)(vg.E,{field:e.fields.Image3,id:"coverimg",className:"coverimg"})})})]})]},l))}),mb=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"header-spacer"}),(0,va.jsx)("section",{id:"m1",children:e.fields.Slides.map((e,l)=>(0,va.jsx)("div",{children:(0,va.jsx)(vg.E,{field:e.fields.Image,id:"slide-img",className:"slide-img"})},l))})]});var mT=i(74237),mS=(0,vp.C)()(e=>{let{t:l}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:e.fields.SelectedGifts?Object.values(e.fields.SelectedGifts).map((e,i)=>{var s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g;return(0,va.jsxs)("div",{id:"item-".concat(null==e?void 0:null===(s=e.fields.Id)||void 0===s?void 0:s.value),
1className:"offer-item shop-item item bg-white cat-".concat(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.ProductType)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:n.Value),children:[(0,va.jsx)("div",{className:"img",children:(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.ProductImage)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.src)?(0,va.jsx)(vg.E,{field:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.ProductImage,"data-full-img":null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.ProductImage)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:x.ProductTitle})}),(0,va.jsx)("p",{className:"price",children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(p=e.fields)||void 0===p?void 0:p.ProductPrice})}),(0,va.jsx)("div",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(h=e.fields)||void 0===h?void 0:h.ProductDescription})}),(0,va.jsx)("p",{className:"link mobile",children:(0,va.jsxs)("a",{href:"#item-".concat(null==e?void 0:null===(g=e.fields)||void 0===g?void 0:null===(f=g.Id)||void 0===f?void 0:f.value),children:[l(mT.W.Gift.READMORE),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]},i)}):(0,va.jsx)(va.Fragment,{})})}),mk=(0,vp.C)()(e=>{var l,i,s,n;let{t:a}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"filters pull-left w-50",children:[(0,va.jsxs)("ul",{className:"filter-radio desktop",children:[(0,va.jsx)("li",{children:(0,va.jsxs)("a",{href:"#all",className:"active",children:[(0,va.jsx)("span",{className:"sp sp-radio_bt_off"}),a(mT.W.Gift.ALL)]})}),(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.EnquiryFilters)?Object.values(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.EnquiryFilters).map((e,l)=>{var i,s;return(0,va.jsx)("li",{children:(0,va.jsxs)("a",{href:"#".concat(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value),children:[(0,va.jsx)("span",{className:"sp sp-radio_bt_off"}),(0,va.jsx)(vm.x,{field:null==e?void 0:e.fields.Title})]})},l)}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsxs)("div",{className:"filter-dropdown tablet mobile",children:[(0,va.jsx)("span",{className:"label",children:a(mT.W.Gift.VIEW)}),(0,va.jsxs)("select",{className:"custom",children:[(0,va.jsx)("option",{value:"all",children:a(mT.W.Gift.ALL)}),(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.EnquiryFilters)?Object.values(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.EnquiryFilters).map((e,l)=>{var i;return(0,va.jsx)("option",{value:null===(i=e.fields.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:e.fields.Title})},l)}):(0,va.jsx)(va.Fragment,{})]})]})]})})});let mw=()=>{let{sitecoreContext:e}=(0,vr.z)(),l=e.pageEditing;return(0,va.jsx)(va.Fragment,{children:l&&(0,va.jsx)("div",{className:"sc-jss-editing-error",role:"alert",children:"Datasource is required or datasource is invaid. Please choose a content item for this component."})})};var my=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j;let{t:N}=(0,vT.QT)();return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("h1",{children:"Event Enquiry Form"}),(0,va.jsxs)("form",{method:"post",action:null===(l=e.fields.ApiUrl)||void 0===l?void 0:l.value,children:[(0,va.jsx)("input",{type:"hidden",name:"contextId",value:null===(s=e.fields.EventForm)||void 0===s?void 0:null===(i=s.fields.Id)||void 0===i?void 0:i.value}),(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:null===(a=e.fields)||void 0===a?void 0:null===(n=a.SuccessRedirectUrl)||void 0===n?void 0:n.value}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.FailRedirectUrl)||void 0===d?void 0:d.value}),(0,va.jsx)("span",{children:N(mT.W.COMMONFORM.TITLE)}),(0,va.jsxs)("select",{name:"Title",required:!0,children:[(0,va.jsx)("option",{disabled:!0,children:N(mT.W.COMMONFORM.SELECTTITLE)}),(null===(c=e.fields.EventForm)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:null===(o=r.Title)||void 0===o?void 0:o.fields.Links)?Object.values(null===(m=e.fields.EventForm)||void 0===m?void 0:null===(u=m.fields)||void 0===u?void 0:null===(v=u.Title)||void 0===v?void 0:v.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsx)("br",{}),(0,va.jsx)("span",{children:N(mT.W.COMMONFORM.FIRSTNAME)}),(0,va.jsx)("input",{type:"text",required:!0,name:"FirstName"}),(0,va.jsx)("span",{children:N(mT.W.COMMONFORM.LASTNAME)}),(0,va.jsx)("input",{type:"text",required:!0,name:"LastName"}),(0,va.jsx)("br",{}),(0,va.jsx)("span",{children:N(mT.W.COMMONFORM.EMAIL)}),(0,va.jsx)("input",{type:"email",required:!0,name:"Email"}),(0,va.jsx)("span",{children:N(mT.W.COMMONFORM.CONTACTNUMBER)}),(0,va.jsx)("input",{type:"email",required:!0,name:"ContactNumber"}),(0,va.jsx)("br",{}),(0,va.jsx)("span",{children:N(mT.W.COMMONFORM.EVENTDATE)}),(0,va.jsx)("input",{type:"date",required:!0,name:"EventDate"}),(0,va.jsxs)("span",{children:[" ",N(mT.W.COMMONFORM.EVENTTIME)]}),(0,va.jsx)("input",{type:"time",required:!0,name:"EventTime"}),(0,va.jsxs)("span",{children:[" ",N(mT.W.COMMONFORM.ESTIMATEDGUESTS)]}),(0,va.jsx)("input",{type:"text",required:!0,name:"Guests"}),(0,va.jsx)("br",{}),(0,va.jsx)("span",{children:N(mT.W.COMMONFORM.TYPEOFEVENT)}),(0,va.jsx)("input",{type:"text",required:!0,name:"EventType"}),(0,va.jsx)("span",{children:N(mT.W.COMMONFORM.HOWYOUHEAR)}),(0,va.jsx)("input",{type:"text",required:!0,name:"Answer"}),(0,va.jsx)("span",{children:N(mT.W.COMMONFORM.PREFERREDVENUE)}),(0,va.jsxs)("select",{name:"PreferredVenue",required:!0,children:[(0,va.jsx)("option",{disabled:!0,children:N(mT.W.COMMONFORM.SELECTPREFERREDVENUE)}),(null===(h=e.fields.EventForm)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:null===(x=p.PreferredVenue)||void 0===x?void 0:x.fields.Links)?Object.values(null===(j=e.fields.EventForm)||void 0===j?void 0:null===(g=j.fields)||void 0===g?void 0:null===(f=g.PreferredVenue)||void 0===f?void 0:f.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsx)("br",{}),(0,va.jsx)("span",{children:N(mT.W.COMMONFORM.MESSAGE)}),(0,va.jsx)("textarea",{name:"Message",required:!0}),(0,va.jsx)("input",{type:"submit",value:N(mT.W.COMMONFORM.SUBMIT)})]})]})}),mE=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T;let{t:S}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"bordered container",children:(0,va.jsx)("div",{className:"narrow row",children:(0,va.jsx)("div",{className:"col",children:(0,va.jsxs)("form",{method:"POST",action:null===(l=e.fields.ApiUrl)||void 0===l?void 0:l.value,className:"form","data-formtype":"sendamessage",noValidate:!0,children:[(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:null===(s=e.fields)||void 0===s?void 0:null===(i=s.SuccessRedirectUrl)||void 0===i?void 0:i.value}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:null===(a=e.fields)||void 0===a?void 0:null===(n=a.FailRedirectUrl)||void 0===n?void 0:n.value}),(0,va.jsx)("input",{type:"hidden",name:"CaptchaId",value:null===(t=e.fields)||void 0===t?void 0:null===(d=t.CaptchaId)||void 0===d?void 0:d.value}),(0,va.jsx)("p",{className:"error-msg inactive",children:S(mT.W.COMMONFORM.CORRECTFORMAT)}),(0,va.jsx)("p",{className:"required",children:S(mT.W.COMMONFORM.REQUIRED)}),(0,va.jsx)("input",{type:"hidden",name:"contextId",value:null===(c=e.fields.GeneralEnquiryForm)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:null===(o=r.Id)||void 0===o?void 0:o.value}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("div",{className:"select primary",children:(0,va.jsxs)("select",{name:"Brand",children:[(0,va.jsx)("option",{disabled:!0,children:S(mT.W.COMMONFORM.SELECTBRANDHOTEL)}),(null===(m=e.fields.GeneralEnquiryForm)||void 0===m?void 0:null===(u=m.fields)||void 0===u?void 0:null===(v=u.BrandHotel)||void 0===v?void 0:v.fields.Links)?Object.values(null===(h=e.fields.GeneralEnquiryForm)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:null===(x=p.BrandHotel)||void 0===x?void 0:x.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)}):(0,va.jsx)(va.Fragment,{})]})})})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("div",{className:"select primary","data-valid":"isSelected",children:(0,va.jsxs)("select",{name:"Title",required:!0,children:[(0,va.jsx)("option",{disabled:!0,children:S(mT.W.COMMONFORM.SELECTTITLE)}),(null===(j=e.fields.GeneralEnquiryForm)||void 0===j?void 0:null===(g=j.fields)||void 0===g?void 0:null===(f=g.Title)||void 0===f?void 0:f.fields.Links)?Object.values(null===(T=e.fields.GeneralEnquiryForm)||void 0===T?void 0:null===(b=T.fields)||void 0===b?void 0:null===(N=b.Title)||void 0===N?void 0:N.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)}):(0,va.jsx)(va.Fragment,{})]})})})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("input",{className:"input",type:"text",name:"firstname",id:"firstname",maxLength:254,placeholder:S(mT.W.COMMONFORM.FIRSTNAME),required:!0,"data-valid":"isFilled"})})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("input",{className:"input",type:"text",name:"lastname",id:"lastname",maxLength:254,placeholder:S(mT.W.COMMONFORM.LASTNAME),required:!0,"data-valid":"isFilled"})})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("input",{className:"input",type:"email",name:"email",id:"email",maxLength:254,placeholder:S(mT.W.COMMONFORM.EMAIL),required:!0,"data-valid":"isFilled;isEmail"})})}),(0,va.jsxs)("div",{className:"field is-grouped",children:[(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("input",{className:"input",type:"text",name:"areacode",id:"areacode",maxLength:3,placeholder:S(mT.W.COMMONFORM.AREACODE),"data-valid":"isAreaCode"})}),(0,va.jsx)("p",{className:"control is-expanded",children:(0,va.jsx)("input",{className:"input",type:"text",name:"contactnumber",id:"c
1ontactnumber",maxLength:50,placeholder:S(mT.W.COMMONFORM.CONTACTNUMBER),"data-valid":"isPhone"})})]}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("textarea",{rows:10,required:!0,className:"input",name:"message",id:"message",maxLength:300,placeholder:S(mT.W.COMMONFORM.MESSAGE),"data-valid":"isFilled"})})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsxs)("div",{className:"captcha-textbox",children:[(0,va.jsx)("p",{children:S(mT.W.COMMONFORM.CAPTCHAHINT)}),(0,va.jsx)("input",{type:"text",name:"CaptchaCode",placeholder:S(mT.W.COMMONFORM.AREACODE),"data-valid":"isCaptchaFilled"}),(0,va.jsx)("p",{className:"error-msg-captcha inactive",children:S(mT.W.COMMONFORM.CAPTCHAERROR)})]})}),(0,va.jsx)("div",{className:"field field--button",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("button",{className:"primary clear btn with-icon-after chevron-round right",children:S(mT.W.COMMONFORM.SUBMIT)})})})]})})})})})}),mC=(0,vp.C)()(e=>{let{t:l}=(0,vT.QT)();return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("h1",{children:"Media Registration Form"}),(0,va.jsxs)("form",{method:"post",action:"@Model.ApiUrl",children:[(0,va.jsx)("span",{children:l(mT.W.COMMONFORM.FIRSTNAME)}),(0,va.jsx)("input",{type:"text",name:"Firstname"}),(0,va.jsx)("span",{children:l(mT.W.COMMONFORM.LASTNAME)}),(0,va.jsx)("input",{type:"text",name:"Lastname"}),(0,va.jsx)("br",{}),(0,va.jsx)("span",{children:l(mT.W.COMMONFORM.EMAIL)}),(0,va.jsx)("input",{type:"text",name:"Email"}),(0,va.jsx)("span",{children:l(mT.W.COMMONFORM.PUBLICATION)}),(0,va.jsx)("input",{type:"text",name:"Publication"}),(0,va.jsx)("br",{}),(0,va.jsx)("input",{type:"submit",value:l(mT.W.COMMONFORM.SUBMIT)})]})]})}),mO=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei,es,en,ea,ed,et,eo,er,ec,ev,eu,em,ex,ep,eh,ef,eg,ej,eN,eb,eT,eS,ek,ew,ey,eE,eC,eO,eL,eI,eF,e_,eM,eR,eP,eA,eD,eB,eV,eW,eH,eG,eU;let{t:ez}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"form-wrapper",children:[(0,va.jsx)("div",{className:"form-description",children:(0,va.jsx)(vt.V,{name:"ehk-book-a-transfer-introduction",rendering:e.rendering})}),(0,va.jsxs)("p",{className:"instruction",children:[(0,va.jsx)("span",{className:"asterisk",children:"*"}),ez(mT.W.COMMONFORM.REQUIRED)]}),(0,va.jsxs)("form",{id:"bookatransfer",name:"bookatransfer",className:"type2",action:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.ApiUrl)||void 0===l?void 0:l.value,method:"POST",encType:"multipart/form-data",noValidate:!0,children:[(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.SuccessRedirectUrl)||void 0===s?void 0:s.value}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.FailRedirectUrl)||void 0===a?void 0:a.value}),(0,va.jsx)("input",{type:"hidden",name:"contextId",value:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.BookATransferForm)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:null===(t=o.Id)||void 0===t?void 0:t.value}),(0,va.jsx)("div",{className:"error-message"}),(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("label",{className:"guest-preference-form-title",children:ez(mT.W.COMMONFORM.PERSONALINFORMATION)})}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"BookingConfirmationNumber",children:[ez(mT.W.COMMONFORM.BOOKATRANSFERFLIGHTNUMBER),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.BookingConfirmationNumber)||void 0===v?void 0:v.value)?(0,va.jsx)("input",{className:"input-text",type:"text",id:"BookingConfirmationNumber",name:"BookingConfirmationNumber",value:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.BookingConfirmationNumber)||void 0===m?void 0:m.value,maxLength:254,"data-valid":"isFilled",readOnly:!0}):(0,va.jsx)("input",{className:"input-text",type:"text",id:"BookingConfirmationNumber",name:"BookingConfirmationNumber",value:null==e?void 0:null===(h=e.fields)||void 0===h?void 0:null===(p=h.BookingConfirmationNumber)||void 0===p?void 0:p.value,maxLength:254,"data-valid":"isFilled"})]}),(0,va.jsx)("div",{className:"input-field input-field-50 odd",children:(0,va.jsxs)("div",{className:"control",children:[(0,va.jsxs)("label",{htmlFor:"Title",children:[ez(mT.W.COMMONFORM.TITLE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"Title",required:!0,"data-valid":"isSelected",children:[(0,va.jsx)("option",{disabled:!0,children:ez(mT.W.COMMONFORM.SELECTTITLE)}),(null===(j=e.fields.BookATransferForm)||void 0===j?void 0:null===(g=j.fields)||void 0===g?void 0:null===(f=g.Title)||void 0===f?void 0:f.fields.Links)?Object.values(null===(T=e.fields.BookATransferForm)||void 0===T?void 0:null===(b=T.fields)||void 0===b?void 0:null===(N=b.Title)||void 0===N?void 0:N.fields.Links).map((l,i)=>{var s,n,a,d,t,o,r,c,v,u;return(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value)==(null==l?void 0:null===(d=l.fields)||void 0===d?void 0:null===(a=d.Value)||void 0===a?void 0:a.value)?(0,va.jsx)("option",{value:null==l?void 0:null===(o=l.fields)||void 0===o?void 0:null===(t=o.Value)||void 0===t?void 0:t.value,selected:!0,children:(0,va.jsx)(vm.x,{field:null==l?void 0:null===(r=l.fields)||void 0===r?void 0:r.Text})},i):(0,va.jsx)("option",{value:null==l?void 0:null===(v=l.fields)||void 0===v?void 0:null===(c=v.Value)||void 0===c?void 0:c.value,children:(0,va.jsx)(vm.x,{field:null==l?void 0:null===(u=l.fields)||void 0===u?void 0:u.Text})},i)})}):(0,va.jsx)(va.Fragment,{})]})]})]})}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"FirstName",children:[ez(mT.W.COMMONFORM.FIRSTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(null===(k=e.fields)||void 0===k?void 0:null===(S=k.FirstName)||void 0===S?void 0:S.value)?(0,va.jsx)("input",{className:"input-text",type:"text",name:"FirstName",id:"FirstName",value:null===(y=e.fields)||void 0===y?void 0:null===(w=y.FirstName)||void 0===w?void 0:w.value,maxLength:254,"data-valid":"isFilled",readOnly:!0}):(0,va.jsx)("input",{className:"input-text",type:"text",name:"FirstName",id:"FirstName",value:null===(C=e.fields)||void 0===C?void 0:null===(E=C.FirstName)||void 0===E?void 0:E.value,maxLength:254,"data-valid":"isFilled"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"LastName",children:[ez(mT.W.COMMONFORM.LASTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(null===(L=e.fields)||void 0===L?void 0:null===(O=L.LastName)||void 0===O?void 0:O.value)?(0,va.jsx)("input",{className:"input-text",type:"text",name:"LastName",id:"LastName",value:null===(F=e.fields)||void 0===F?void 0:null===(I=F.LastName)||void 0===I?void 0:I.value,maxLength:254,"data-valid":"isFilled",readOnly:!0}):(0,va.jsx)("input",{className:"input-text",type:"text",name:"LastName",id:"LastName",value:null===(M=e.fields)||void 0===M?void 0:null===(_=M.LastName)||void 0===_?void 0:_.value,maxLength:254,"data-valid":"isFilled"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"Email",children:[ez(mT.W.COMMONFORM.EMAIL),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{id:"Email",className:"input-text",type:"text",name:"Email",value:null===(P=e.fields)||void 0===P?void 0:null===(R=P.Email)||void 0===R?void 0:R.value,maxLength:254,"data-valid":"isFilled;isEmail"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"ContactNumber",children:[ez(mT.W.COMMONFORM.CONTACTNUMBER),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"ContactNumber",id:"ContactNumber",value:null===(D=e.fields)||void 0===D?void 0:null===(A=D.ContactNumber)||void 0===A?void 0:A.value,maxLength:254,"data-valid":"isFilled;isPhone"})]}),(0,va.jsx)("div",{className:"input-field input-field-100",children:(0,va.jsx)("div",{className:"description-flightinfo",children:(0,va.jsx)(vt.V,{name:"ehk-book-a-transfer-flightinfo-description",rendering:e.rendering})})})]}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"guest-preference-section-title",id:"guest-preference",children:(0,va.jsx)("button",{className:"accordion",type:"button",children:ez(mT.W.COMMONFORM.SERVICEREQUIRED)})}),(0,va.jsxs)("div",{id:"ServiceRequiredCollapse",className:"guest-preference-section-content collapse show",children:[(0,va.jsxs)("div",{className:"",children:[(0,va.jsxs)("label",{htmlFor:"ServiceRequired",children:[ez(mT.W.COMMONFORM.ONEWAYORRETURN),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{value:"return",type:"radio",name:"OneWayOrReturn",
1id:"OneWayOrReturn_Return",className:"radio-button-OneWayOrReturn",checked:!0}),(0,va.jsx)("label",{htmlFor:"OneWayOrReturn_Return",className:"radiobutton radiobutton-span-OneWayOrReturn",children:ez(mT.W.COMMONFORM.RETURN)}),(0,va.jsx)("input",{value:"arrival_only",type:"radio",name:"OneWayOrReturn",id:"OneWayOrReturn_ArrivalOnly",className:"radio-button-OneWayOrReturn",checked:!0}),(0,va.jsx)("label",{htmlFor:"OneWayOrReturn_ArrivalOnly",className:"radiobutton radiobutton-span-OneWayOrReturn",children:ez(mT.W.COMMONFORM.ARRIVALONLY)}),(0,va.jsx)("input",{value:"departure_only",type:"radio",name:"OneWayOrReturn",id:"OneWayOrReturn_DepartureOnly",className:"radio-button-OneWayOrReturn",checked:!0}),(0,va.jsx)("label",{htmlFor:"OneWayOrReturn_DepartureOnly",className:"radiobutton radiobutton-span-OneWayOrReturn",children:ez(mT.W.COMMONFORM.DEPARTUREONLY)})]}),(0,va.jsx)("div",{className:"",children:(0,va.jsx)("button",{type:"button",name:"button-service-required",className:"btn-change-section btn-primary btn",children:ez(mT.W.COMMONFORM.ADDDETAILSBUTTON)})})]})]}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"guest-preference-section-title",id:"guest-preference",children:(0,va.jsx)("button",{className:"this-close accordion collapsed",type:"button","data-toggle":"collapse","data-target":"#ArrivalCollapse","aria-expanded":"true","aria-controls":"GuestPreferenceCollapse",children:ez(mT.W.COMMONFORM.ARRIVALDETAILS)})}),(0,va.jsxs)("div",{id:"ArrivalCollapse",className:"guest-preference-section-content collapse",children:[(0,va.jsxs)("div",{className:"input-field input-field-50 date-picker",children:[(0,va.jsxs)("label",{htmlFor:"book-a-transfer_arrivalDate",children:[ez(mT.W.COMMONFORM.ARRIVALDATE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{value:null==e?void 0:null===(V=e.fields)||void 0===V?void 0:null===(B=V.ArrivalDate)||void 0===B?void 0:B.value,id:"book-a-transfer_arrivalDate","data-valid":"isFilledWhenRequiredArrival",type:"text",className:"input-text book-a-transfer-arrival",name:"ArrivalDate"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd arrival_time time-picker",children:[(0,va.jsxs)("label",{htmlFor:"book-a-transfer_arrivalTime",children:[ez(mT.W.COMMONFORM.ARRIVALTIME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{id:"book-a-transfer_arrivalTime","data-valid":"isFilledWhenRequiredArrival",type:"text",className:"input-text book-a-transfer-arrival",name:"ArrivalTime"})]}),(0,va.jsx)("div",{className:"input-field input-field-50",children:(0,va.jsxs)("div",{className:"control",children:[(0,va.jsxs)("label",{htmlFor:"ArrivalNumberOfGuest",children:[ez(mT.W.COMMONFORM.NUMBEROFGUEST),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"ArrivalNumberOfGuest",className:"book-a-transfer-arrival","data-valid":"isFilledWhenRequiredArrival",children:[(0,va.jsx)("option",{disabled:!0,children:ez(mT.W.COMMONFORM.SELECTNUMBEROFGUEST)}),(null===(G=e.fields.BookATransferForm)||void 0===G?void 0:null===(H=G.fields)||void 0===H?void 0:null===(W=H.NumberOfGuest)||void 0===W?void 0:W.fields.Links)?Object.values(null===(q=e.fields.BookATransferForm)||void 0===q?void 0:null===(z=q.fields)||void 0===z?void 0:null===(U=z.NumberOfGuest)||void 0===U?void 0:U.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)}):(0,va.jsx)(va.Fragment,{})]})]})]})}),(0,va.jsx)("div",{className:"input-field input-field-50 odd",children:(0,va.jsxs)("div",{className:"control",children:[(0,va.jsxs)("label",{htmlFor:"ArrivalCarType",children:[ez(mT.W.COMMONFORM.CARTYPE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"ArrivalCarType",className:"book-a-transfer-arrival","data-valid":"isFilledWhenRequiredArrival",children:[(0,va.jsx)("option",{disabled:!0,children:ez(mT.W.COMMONFORM.SELECTCARTYPE)}),(null===(K=e.fields.BookATransferForm)||void 0===K?void 0:null===(Y=K.fields)||void 0===Y?void 0:null===(Q=Y.CarType)||void 0===Q?void 0:Q.fields.Links)?Object.values(null===(X=e.fields.BookATransferForm)||void 0===X?void 0:null===(J=X.fields)||void 0===J?void 0:null===(Z=J.CarType)||void 0===Z?void 0:Z.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)}):(0,va.jsx)(va.Fragment,{})]})]})]})}),(0,va.jsx)("div",{className:"input-field input-field-50",children:(0,va.jsxs)("div",{className:"control",children:[(0,va.jsxs)("label",{htmlFor:"ArrivalP
1ickUpLocation",children:[ez(mT.W.COMMONFORM.PICKUPLOCATION),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"ArrivalPickUpLocation",className:"book-a-transfer-arrival","data-valid":"isFilledWhenRequiredArrival",children:[(0,va.jsx)("option",{disabled:!0,children:ez(mT.W.COMMONFORM.SELECTPICKUPLOCATION)}),(null===(ei=e.fields.BookATransferForm)||void 0===ei?void 0:null===(el=ei.fields)||void 0===el?void 0:null===(ee=el.OnOffLocation)||void 0===ee?void 0:ee.fields.Links)?Object.values(null===(ea=e.fields.BookATransferForm)||void 0===ea?void 0:null===(en=ea.fields)||void 0===en?void 0:null===(es=en.OnOffLocation)||void 0===es?void 0:es.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)}):(0,va.jsx)(va.Fragment,{})]})]})]})}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsx)("label",{htmlFor:"ArrivalPickUpLocationOthers",children:ez(mT.W.COMMONFORM.PICKUPLOCATIONOTHERS)}),(0,va.jsx)("input",{type:"text",name:"ArrivalPickUpOtherLocation",className:"input-text book-a-transfer-arrival"})]}),(0,va.jsxs)("div",{className:"input-field input-field-100 clearfix",children:[(0,va.jsx)("label",{htmlFor:"ArrivalFlightNumber",children:ez(mT.W.COMMONFORM.BOOKATRANSFERFLIGHTNUMBER)}),(0,va.jsx)("input",{type:"text",name:"ArrivalFlightNumber",className:"input-text book-a-transfer-arrival"})]}),(0,va.jsx)("div",{className:"",children:(0,va.jsx)("button",{type:"button",name:"button-arrival-details",className:"btn-change-section btn-primary btn",children:ez(mT.W.COMMONFORM.NEXTBUTTON)})})]})]}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"guest-preference-section-title",id:"guest-preference",children:(0,va.jsx)("button",{className:"this-close accordion collapsed",type:"button","data-toggle":"collapse","data-target":"#DepartureCollapse","aria-expanded":"true","aria-controls":"GuestPreferenceCollapse",children:ez(mT.W.COMMONFORM.DEPARTUREDETAILS)})}),(0,va.jsxs)("div",{id:"DepartureCollapse",className:"guest-preference-section-content collapse",children:[(0,va.jsxs)("div",{className:"input-field input-field-50 date-picker",children:[(0,va.jsxs)("label",{htmlFor:"book-a-transfer_departureDate",children:[ez(mT.W.COMMONFORM.DEPARTUREDATE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{value:null==e?void 0:null===(et=e.fields)||void 0===et?void 0:null===(ed=et.DepartureDate)||void 0===ed?void 0:ed.value,id:"book-a-transfer_departureDate","data-valid":"isFilledWhenRequiredDeparture",type:"text",className:"input-text book-a-transfer-departure",name:"DepartureDate"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd departure_time time-picker",children:[(0,va.jsxs)("label",{htmlFor:"book-a-transfer_departureTime",children:[ez(mT.W.COMMONFORM.DEPARTURETIME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{value:null==e?void 0:null===(er=e.fields)||void 0===er?void 0:null===(eo=er.DepartureDate)||void 0===eo?void 0:eo.value,id:"book-a-transfer_departureTime","data-valid":"isFilledWhenRequiredDeparture",type:"text",className:"input-text book-a-transfer-departure",name:"DepartureTime"}),(0,va.jsx)("div",{className:"input-field input-field-50",children:(0,va.jsxs)("div",{className:"control",children:[(0,va.jsxs)("label",{htmlFor:"DepartureNumberOfGuest",children:[ez(mT.W.COMMONFORM.NUMBEROFGUEST),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"DepartureNumberOfGuest",className:"book-a-transfer-departure","data-valid":"isFilledWhenRequiredDeparture",children:[(0,va.jsx)("option",{disabled:!0,children:ez(mT.W.COMMONFORM.SELECTNUMBEROFGUEST)}),(null===(eu=e.fields.BookATransferForm)||void 0===eu?void 0:null===(ev=eu.fields)||void 0===ev?void 0:null===(ec=ev.NumberOfGuest)||void 0===ec?void 0:ec.fields.Links)?Object.values(null===(ep=e.fields.BookATransferForm)||void 0===ep?void 0:null===(ex=ep.fields)||void 0===ex?void 0:null===(em=ex.NumberOfGuest)||void 0===em?void 0:em.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)}):(0,va.jsx)(va.Fragment,{})]})]})]})}),(0,va.jsx)("div",{className:"input-field input-field-50 odd",children:(0,va.jsxs)("div",{className:"control",children:[(0,va.jsxs)("label",{htmlFor:"DepartureCarType",children:[ez(mT.W.COMMONFORM.CARTYPE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"DepartureCarType",className:"book-a-transfer-departure","data-valid":"isFilledWhenRequiredDeparture",children:[(0,va.jsx)("option",{disabled:!0,children:ez(mT.W.COMMONFORM.SELECTCARTYPE)}),(null===(eg=e.fields.BookATransferForm)||void 0===eg?void 0:null===(ef=eg.fields)||void 0===ef?void 0:null===(eh=ef.CarType)||void 0===eh?void 0:eh.fields.Links)?Object.values(null===(eb=e.fields.BookATransferForm)||void 0===eb?void 0:null===(eN=eb.fields)||void 0===eN?void 0:null===(ej=eN.CarType)||void 0===ej?void 0:ej.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)}):(0,va.jsx)(va.Fragment,{})]})]})]})}),(0,va.jsx)("div",{className:"input-field input-field-50",children:(0,va.jsxs)("div",{className:"control",children:[(0,va.jsxs)("label",{htmlFor:"DepartureDropOffLocation",children:[ez(mT.W.COMMONFORM.DROPOFFLOCATION),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"DepartureDropOffLocation",className:"book-a-transfer-departure","data-valid":"isFilledWhenRequiredDeparture",children:[(0,va.jsx)("option",{disabled:!0,children:ez(mT.W.COMMONFORM.SELECTDROPOFFLOCATION)}),(null===(ek=e.fields.BookATransferForm)||void 0===ek?void 0:null===(eS=ek.fields)||void 0===eS?void 0:null===(eT=eS.OnOffLocation)||void 0===eT?void 0:eT.fields.Links)?Object.values(null===(eE=e.fields.BookATransferForm)||void 0===eE?void 0:null===(ey=eE.fields)||void 0===ey?void 0:null===(ew=ey.OnOffLocation)||void 0===ew?void 0:e
1w.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)}):(0,va.jsx)(va.Fragment,{})]})]})]})}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsx)("label",{htmlFor:"DepartureDropOffLocationOthers",children:ez(mT.W.COMMONFORM.DROPOFFLOCATIONOTHERS)}),(0,va.jsx)("input",{type:"text",name:"DepartureDropOffOtherLocation",className:"input-text book-a-transfer-departure"})]}),(0,va.jsxs)("div",{className:"input-field input-field-100 clearfix",children:[(0,va.jsx)("label",{htmlFor:"DepartureFlightNumber",children:ez(mT.W.COMMONFORM.BOOKATRANSFERFLIGHTNUMBER)}),(0,va.jsx)("input",{type:"text",name:"DepartureFlightNumber",className:"input-text book-a-transfer-departure"})]}),(0,va.jsx)("div",{className:"",children:(0,va.jsx)("button",{type:"button",name:"button-departure-details",className:"btn-change-section btn-primary btn",children:ez(mT.W.COMMONFORM.NEXTBUTTON)})})]})]})]}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"guest-preference-section-title",id:"guest-preference",children:(0,va.jsx)("button",{className:"this-close accordion collapsed",type:"button","data-toggle":"collapse","data-target":"#RemarksCollapse","aria-expanded":"true","aria-controls":"GuestPreferenceCollapse",children:ez(mT.W.COMMONFORM.REMARKSSECTION)})}),(0,va.jsx)("div",{id:"RemarksCollapse",className:"guest-preference-section-content collapse",children:(0,va.jsxs)("div",{className:"",children:[(0,va.jsx)("label",{htmlFor:"remarks",children:ez(mT.W.COMMONFORM.REMARKS)}),(0,va.jsx)("textarea",{className:"input-text question",name:"remarks",rows:3,placeholder:ez(mT.W.COMMONFORM.REMARKSPLACEHOLDER)})]})})]}),(0,va.jsx)("div",{className:"after-remark-line"}),(0,va.jsxs)("div",{className:"field",children:[(0,va.jsxs)("div",{className:"book-a-transfer-service-fee-section",children:[(0,va.jsx)("span",{className:"book-a-transfer-service-fee-title",children:ez(mT.W.COMMONFORM.SERVICEFEE)}),(0,va.jsx)("span",{className:"book-a-transfer-service-currency",children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(eO=e.fields.BookATransferForm)||void 0===eO?void 0:null===(eC=eO.fields)||void 0===eC?void 0:eC.Currency})}),(0,va.jsx)("span",{className:"book-a-transfer-service-fee",children:"0"})]}),(0,va.jsx)("div",{className:"book-a-transfer-other-service-fee-section",style:{display:"none"},children:(0,va.jsx)("span",{className:"book-a-transfer-other-service-fee",children:ez(mT.W.COMMONFORM.OTHERSERVICEFEE)})})]}),(0,va.jsxs)("div",{className:"checkAllSubConsent","data-valid":"isLeastOneSelected",children:[(0,va.jsx)("input",{type:"checkbox",name:"PrivacyPolicyConsent",className:"consent",value:"agree",id:"PrivacyPolicyConsent"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null===(eF=e.fields)||void 0===eF?void 0:null===(eI=eF.BookATransferForm)||void 0===eI?void 0:null===(eL=eI.fields)||void 0===eL?void 0:eL.PrivacyPolicyConsent})})]}),(0,va.jsxs)("div",{className:"consent-field","data-valid":"isLeastOneSelected",children:[(0,va.jsx)("input",{type:"checkbox",name:"SensitiveInfoConsent",className:"consent",value:"agree",id:"SensitiveInfoConsent"}),(0,va.jsx)("label",{className:"checkbox sub-consent",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null===(eR=e.fields)||void 0===eR?void 0:null===(eM=eR.BookATransferForm)||void 0===eM?void 0:null===(e_=eM.fields)||void 0===e_?void 0:e_.SensitiveInfoConsent})})]}),(0,va.jsxs)("div",{className:"consent-field","data-valid":"isLeastOneSelected",children:[(0,va.jsx)("input",{type:"checkbox",name:"DataManageOutsideResidence",className:"consent",value:"agree",id:"DataManageOutsideResidence"}),(0,va.jsx)("label",{className:"checkbox sub-consent",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null===(eD=e.fields)||void 0===eD?void 0:null===(eA=eD.BookATransferForm)||void 0===eA?void 0:null===(eP=eA.fields)||void 0===eP?void 0:eP.DataManageOutsideResidence})})]}),(0,va.jsxs)("div",{className:"consent-field","data-valid":"isLeastOneSelected",children:[(0,va.jsx)("input",{type:"checkbox",name:"DataManageWithinResidence",className:"consent",value:"agree",id:"DataManageWithinResidence"}),(0,va.jsx)("label",{className:"checkbox sub-consent",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null===(eW=e.fields)||void 0===eW?void 0:null===(eV=eW.BookATransferForm)||void 0===eV?void 0:null===(eB=eV.fields)||void 0===eB?void 0:eB.DataManageWithinResidence})})]}),(0,va.jsxs)("div",{className:"consent-field",children:[(0,va.jsx)("input",{type:"checkbox",name:"MarketingConsent",className:"consent",value:"agree",id:"MarketingConsent"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null===(eU=e.f
1ields)||void 0===eU?void 0:null===(eG=eU.BookATransferForm)||void 0===eG?void 0:null===(eH=eG.fields)||void 0===eH?void 0:eH.MarketingConsent})})]}),(0,va.jsx)("div",{className:"submit-button-container",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("button",{className:"btn-primary btn",children:ez(mT.W.COMMONFORM.SUBMITBUTTON)})})})]})]})})}),mL=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f;let{t:g}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"form-wrapper",id:"@phrase","data-tab":"#@phrase-tab",children:[(0,va.jsx)("div",{className:"form-description",children:(0,va.jsx)(vx.H,{field:null==e?void 0:e.fields.FormDescription})}),(0,va.jsxs)("p",{className:"instruction",children:[(0,va.jsx)("span",{className:"asterisk",children:"*"}),g(mT.W.FORMS.DENOTEREQUIREDFIELDS)]}),(0,va.jsx)("div",{className:"success",children:(0,va.jsx)("p",{children:g(mT.W.FORMS.THANKYOUMESSAGE)})}),(0,va.jsx)("div",{className:"fail",children:(0,va.jsx)("p",{children:g(mT.W.FORMS.ERRORMESSAGE)})}),(0,va.jsxs)("form",{method:"POST",action:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.ApiUrl)||void 0===l?void 0:l.value,className:"form","data-formtype":"developmentenquiry",noValidate:!0,children:[(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.SuccessRedirectUrl)||void 0===s?void 0:s.value}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.FailRedirectUrl)||void 0===a?void 0:a.value}),(0,va.jsx)("input",{type:"hidden",name:"contextId",value:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.DevelopmentForm)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:t.Id.value}),(0,va.jsx)("input",{type:"hidden",name:"CaptchaId",value:null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(c=v.CaptchaId)||void 0===c?void 0:c.value}),(0,va.jsx)("p",{className:"error-msg inactive",children:(0,va.jsx)("label",{className:"error",children:g(mT.W.COMMONFORM.CORRECTFORMAT)})}),(0,va.jsxs)("div",{className:"fieldset",children:[(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"Title",children:[g(mT.W.FORMS.TITLE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"Title",required:!0,"data-valid":"isFilled",children:[(0,va.jsx)("option",{disabled:!0,children:g(mT.W.FORMS.SELECTTITLE)}),(null===(x=e.fields.DevelopmentForm)||void 0===x?void 0:null===(m=x.fields)||void 0===m?void 0:null===(u=m.Title)||void 0===u?void 0:u.fields.Links)?Object.values(null===(f=e.fields.DevelopmentForm)||void 0===f?void 0:null===(h=f.fields)||void 0===h?void 0:null===(p=h.Title)||void 0===p?void 0:p.fields.Links).map((l,i)=>{var s,n,a,d,t,o,r,c,v,u;return(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value)==(null==l?void 0:null===(d=l.fields)||void 0===d?void 0:null===(a=d.Value)||void 0===a?void 0:a.value)?(0,va.jsx)("option",{value:null==l?void 0:null===(o=l.fields)||void 0===o?void 0:null===(t=o.Value)||void 0===t?void 0:t.value,selected:!0,children:(0,va.jsx)(vm.x,{field:null==l?void 0:null===(r=l.fields)||void 0===r?void 0:r.Text})},i):(0,va.jsx)("option",{value:null==l?void 0:null===(v=l.fields)||void 0===v?void 0:null===(c=v.Value)||void 0===c?void 0:c.value,children:(0,va.jsx)(vm.x,{field:null==l?void 0:null===(u=l.fields)||void 0===u?void 0:u.Text})},i)})}):(0,va.jsx)(va.Fragment,{})]})]})]}),(0,va.jsx)("div",{className:"input-field input-field-50 odd dummy"}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"firstname",children:[g(mT.W.FORMS.FIRSTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"firstname",id:"firstname",maxLength:50,required:!0,"data-valid":"isFilled;isName"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"lastname",children:[g(mT.W.FORMS.LASTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"lastname",id:"lastname",maxLength:50,required:!0,"data-valid":"isFilled;isName"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"email",children:[g(mT.W.FORMS.EMAIL),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"email",id:"email",maxLength:50,required:!0,"data-valid":"isFilled;isEmail"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsx)("label",{htmlFor:"contactnumber",children:g(mT.W.FORMS.CONTACTNUMBER)}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"contactnumber",id:"c
1ontactnumber",maxLength:30,"data-valid":"isPhone"})]}),(0,va.jsxs)("div",{className:"input-field input-field-100 enquiry-field",children:[(0,va.jsxs)("label",{htmlFor:"companyname",children:[g(mT.W.FORMS.COMPANYNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"companyname",id:"companyname",maxLength:80,required:!0,"data-valid":"isFilled"})]}),(0,va.jsx)("div",{className:"input-field input-field-100 enquiry-field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("textarea",{rows:5,required:!0,className:"input-text",name:"message",id:"message",maxLength:50,"data-valid":"isFilled",placeholder:g(mT.W.FORMS.MESSAGE)})})})]}),(0,va.jsx)("div",{className:"clearfix"}),(0,va.jsx)("div",{className:"formCaptchaSection field",children:(0,va.jsxs)("div",{className:"captcha-textbox",children:[(0,va.jsx)("span",{children:g(mT.W.FORMS.CAPTCHAHINT)}),(0,va.jsx)("br",{}),(0,va.jsx)("input",{type:"text",name:"CaptchaId",className:"input-text","data-valid":"isCaptchaFilled"}),(0,va.jsx)("p",{className:"error-msg-captcha inactive",children:g(mT.W.FORMS.CAPTCHAERROR)})]})}),(0,va.jsx)("div",{className:"clearfix"}),(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("span",{className:"error-msg inactive",children:g(mT.W.FORMS.CORRECTFORMAT)})}),(0,va.jsx)("div",{className:"submit-button-container",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("button",{className:"btn-primary btn",children:g(mT.W.FORMS.SUBMIT)})})})]})]})})}),mI=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E;let{t:C}=(0,vT.QT)(),O=null===(i=e.fields.FormTitle)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.replaceAll(" ","_");return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"form-wrapper",id:O,"data-tab":"#".concat(O,"-tab"),children:[(0,va.jsx)("div",{className:"form-description",children:(0,va.jsx)(vx.H,{field:null===(s=e.fields)||void 0===s?void 0:s.FormDescription})}),(0,va.jsxs)("p",{className:"instruction",children:[(0,va.jsx)("span",{className:"asterisk",children:"*"}),C(mT.W.FORMS.DENOTEREQUIREDFIELDS)]}),(0,va.jsx)("div",{className:"success",children:(0,va.jsx)("p",{children:C(mT.W.FORMS.THANKYOUMESSAGE)})}),(0,va.jsx)("div",{className:"fail",children:(0,va.jsx)("p",{children:C(mT.W.FORMS.ERRORMESSAGE)})}),(0,va.jsxs)("form",{method:"post",action:null===(a=e.fields)||void 0===a?void 0:null===(n=a.ApiUrl)||void 0===n?void 0:n.value,className:"form","data-formtype":"eventenquiry",noValidate:!0,children:[(0,va.jsx)("input",{type:"hidden",name:"contextId",value:null===(r=e.fields)||void 0===r?void 0:null===(o=r.EventForm)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:null===(d=t.Id)||void 0===d?void 0:d.value}),(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:null===(v=e.fields)||void 0===v?void 0:null===(c=v.SuccessRedirectUrl)||void 0===c?void 0:c.value}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:null===(m=e.fields)||void 0===m?void 0:null===(u=m.FailRedirectUrl)||void 0===u?void 0:u.value}),(0,va.jsx)("input",{type:"hidden",name:"CaptchaId",value:null===(p=e.fields)||void 0===p?void 0:null===(x=p.CaptchaId)||void 0===x?void 0:x.value}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"Title",children:[C(mT.W.FORMS.TITLE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"Title","data-valid":"isFilled",children:[(0,va.jsx)("option",{disabled:!0,children:C(mT.W.FORMS.SELECTTITLE)}),(null===(g=e.fields.EventForm)||void 0===g?void 0:null===(f=g.fields)||void 0===f?void 0:null===(h=f.Title)||void 0===h?void 0:h.fields.Links)?Object.values(null===(b=e.fields.EventForm)||void 0===b?void 0:null===(N=b.fields)||void 0===N?void 0:null===(j=N.Title)||void 0===j?void 0:j.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})]})]}),(0,va.jsx)("div",{className:"input-field input-field-50 odd dummy"}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"FirstName",children:[C(mT.W.FORMS.FIRSTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{type:"text",name:"FirstName","data-valid":"isFilled;isName",className:"input-text",maxLength:254})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"LastName",children:[C(mT.W.FORMS.LASTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{type:"text",name:"LastName","data-valid":"isFilled;isName",className:"input-text",maxLength:254})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"Email",children:[C(mT.W.FORMS.EMAILADDRESS),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{type:"text",name:"Email","data-valid":"isFilled;isEmail",className:"input-text",maxLength:254})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsx)("label",{htmlFor:"ContactNumber",children:C(mT.W.FORMS.CONTACTNUMBER)}),(0,va.jsx)("input",{type:"text",name:"ContactNumber",className:"input-text",maxLength:50})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsx)("label",{htmlFor:"EventDate",children:C(mT.W.FORMS.EVENTDATE)}),(0,va.jsx)("input",{value:"",id:"event-enquiry_eventDate","data-validate":"required dateonly",type:"text",className:"input-text",name:"EventDate"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd event_time",children:[(0,va.jsxs)("label",{htmlFor:"EventTime",children:[C(mT.W.FORMS.EVENTTIME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{type:"text","data-valid":"isFilled",name:"EventTime",id:"event-enquiry_eventTime",className:"input-text"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"Guests",children:[C(mT.W.FORMS.ESTIMATEDNUMBEROFGUESTS),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{maxLength:3,type:"text","data-valid":"isFilled",name:"Guests",className:"input-text posint"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"EventType",children:[C(mT.W.FORMS.TYPEOFEVENTS),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{maxLength:50,type:"text","data-valid":"isFilled",name:"EventType",className:"input-text"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsx)("label",{htmlFor:"Answer",children:C(mT.W.FORMS.HOWTOKNOW)}),(0,va.jsx)("input",{maxLength:50,type:"text",name:"Answer",className:"input-text"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"PreferredVenue",children:[C(mT.W.FORMS.PREFERREDVENUE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"PreferredVenue","data-valid":"isFilled",children:[(0,va.jsx)("option",{disabled:!0,children:C(mT.W.FORMS.SELECTPREFERREDVENUE)}),(null===(k=e.fields.EventForm)||void 0===k?void 0:null===(S=k.fields)||void 0===S?void 0:null===(T=S.PreferredVenue)||void 0===T?void 0:T.fields.Links)?Object.values(null===(E=e.fields.EventForm)||void 0===E?void 0:null===(y=E.fields)||void 0===y?void 0:null===(w=y.PreferredVenue)||void 0===w?void 0:w.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})]})]}),(0,va.jsx)("br",{}),(0,va.jsx)("div",{className:"input-field input-field-100 enquiry-field",children:(0,va.jsx)("textarea",{name:"Message","data-valid":"isFilled",className:"input-text",maxLength:300,placeholder:C(mT.W.FORMS.MESSAGE)})}),(0,va.jsx)("div",{className:"clearfix"}),(0,va.jsx)("div",{className:"formCaptchaSection field",children:(0,va.jsxs)("div",{className:"captcha-textbox",children:[(0,va.jsx)("span",{children:C(mT.W.FORMS.CAPTCHAHINT)}),(0,va.jsx)("br",{}),(0,va.jsx)("input",{type:"text",name:"CaptchaId",className:"input-text","data-valid":"isCaptchaFilled"}),(0,va.jsx)("p",{className:"error-msg-captcha inactive",children:C(mT.W.FORMS.CAPTCHAERROR)})]})}),(0,va.jsx)("div",{className:"clearfix"}),(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("span",{className:"error-msg inactive",children:C(mT.W.COMMONFORM.CORRECTFORMAT)})}),(0,va.jsx)("div",{className:"submit-button-container",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("button",{className:"btn-primary btn",children:C(mT.W.FORMS.SUBMIT)})})})]})]})})}),mF=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V;let{t:W}=(0,vT.QT)();return null==e||null===(l=e.fields.FormTitle)||void 0===l||l.value.replaceAll(" ","_"),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"form-wrapper",id:"@phrase","data-tab":"#@phrase-tab",children:[(0,va.jsx)("div",{className:"form-description",children:(0,va.jsx)(vx.H,{field:e.fields.FormDescription})}),(0,va.jsxs)("p",{className:"instruction",children:[(0,va.jsx)("span",{className:"asterisk",children:"*"}),W(mT.W.FORMS.DENOTEREQUIREDFIELDS)]}),(0,va.jsx)("div",{className:"success",children:(0,va.jsx)("p",{children:W(mT.W.FORMS.THANKYOUMESSAGE)})}),(0,va.jsx)("div",{className:"fail",children:(0,va.jsx)("p",{children:W(mT.W.FORMS.ERRORMESSAGE)})}),(0,va.jsxs)("form",{method:"POST",action:null===(s=e.fields)||void 0===s?void 0:null===(i=s.ApiUrl)||void 0===i?void 0:i.value,className:"form","data-formtype":"generalenquiry",noValidate:!0,children:[(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:null===(a=e.fields)||void 0===a?void 0:null===(n=a.SuccessRedirectUrl)||void 0===n?void 0:n.value}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:null===(t=e.fields)||void 0===t?void 0:null===(d=t.FailRedirectUrl)||void 0===d?void 0:d.value}),(0,va.jsx)("input",{type:"hidden",name:"contextId",value:null===(r=e.fields)||void 0===r?void 0:null===(o=r.GeneralEnquiryForm)||void 0===o?void 0:o.fields.Id.value}),(0,va.jsx)("input",{type:"hidden",name:"CaptchaId",value:null===(v=e.fields)||void 0===v?void 0:null===(c=v.CaptchaId)||void 0===c?void 0:c.value}),(0,va.jsxs)("div",{className:"fieldset",children:[(null==e?void 0:null===(h=e.fields)||void 0===h?void 0:null===(p=h.GeneralEnquiryForm)||void 0===p?void 0:null===(x=p.fields)||void 0===x?void 0:null===(m=x.BrandHotel)||void 0===m?void 0:null===(u=m.fields.Links)||void 0===u?void 0:u.length)>0?(0,va.jsx)("div",{className:"input-field input-field-50",children:(0,va.jsxs)("div",{className:"control",children:[(0,va.jsxs)("label",{htmlFor:"Brand",children:[W(mT.W.FORMS.ENQUIRYTYPE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsx)("select",{name:"Brand",children:(null===(j=e.fields.GeneralEnquiryForm)||void 0===j?void 0:null===(g=j.fields)||void 0===g?void 0:null===(f=g.BrandHotel)||void 0===f?void 0:f.fields.Links)?Object.values(null===(T=e.fields.GeneralEnquiryForm)||void 0===T?void 0:null===(b=T.fields)||void 0===b?void 0:null===(N=b.BrandHotel)||void 0===N?void 0:N.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})})]})]})}):(0,va.jsx)(va.Fragment,{}),(0,va.jsx)("div",{className:"input-field input-field-50 ".concat((null==e?void 0:null===(C=e.fields)||void 0===C?void 0:null===(E=C.GeneralEnquiryForm)||void 0===E?void 0:null===(y=E.fields)||void 0===y?void 0:null===(w=y.BrandHotel)||void 0===w?void 0:null===(k=w.fields)||void 0===k?void 0:null===(S=k.Links)||void 0===S?void 0:S.length)>0?"odd":""),children:(0,va.jsxs)("div",{className:"control",children:[(0,va.jsxs)("label",{htmlFor:"Title",children:[W(mT.W.FORMS.TITLE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{required:!0,"data-valid":"isSelected",name:"Title",children:[(0,va.jsx)("option",{children:W(mT.W.FORMS.SELECTTITLE)}),(null===(I=e.fields.GeneralEnquiryForm)||void 0===I?void 0:null===(L=I.fields)||void 0===L?void 0:null===(O=L.Title)||void 0===O?void 0:O.fields.Links)?Object.values(null===(M=e.fields.GeneralEnquiryForm)||void 0===M?void 0:null===(_=M.fields)||void 0===_?void 0:null===(F=_.Title)||void 0===F?void 0:F.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})]})]})}),(null==e?void 0:null===(V=e.fields)||void 0===V?void 0:null===(B=V.GeneralEnquiryForm)||void 0===B?void 0:null===(D=B.fields)||void 0===D?void 0:null===(A=D.BrandHotel)||void 0===A?void 0:null===(P=A.fields)||void 0===P?void 0:null===(R=P.Links)||void 0===R?void 0:R.length)>0?(0,va.jsx)("div",{className:"input-field input-field-50 odd dummy"}):(0,va.jsx)(va.Fragment,{}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"firstname",children:[W(mT.W.FORMS.FIRSTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"firstname",id:"firstname",maxLength:254,required:!0,"data-valid":"isFilled;isName"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"lastname",children:[W(mT.W.FORMS.LASTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"lastname",id:"lastname",maxLength:254,required:!0,"data-valid":"isFilled;isName"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"email",children:[W(mT.W.FORMS.EMAIL),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"email",id:"email",maxLength:254,required:!0,"data-valid":"isFilled;isEmail"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsx)("label",{htmlFor:"contactnumber",children:W(mT.W.FORMS.CONTACTNUMBER)}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"contactnumber",id:"c
1ontactnumber",maxLength:50,"data-valid":"isPhone"})]}),(0,va.jsx)("div",{className:"input-field input-field-100 enquiry-field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("textarea",{rows:5,required:!0,className:"input-text",name:"message",id:"message",maxLength:300,"data-valid":"isFilled",placeholder:W(mT.W.FORMS.MESSAGE)})})})]}),(0,va.jsx)("div",{className:"clearfix"}),(0,va.jsx)("div",{className:"formCaptchaSection clearfix",children:(0,va.jsxs)("div",{className:"captcha-textbox",children:[(0,va.jsx)("span",{children:W(mT.W.FORMS.CAPTCHAHINT)}),(0,va.jsx)("br",{}),(0,va.jsx)("input",{type:"text",name:"CaptchaId",className:"input-text","data-valid":"isCaptchaFilled"}),(0,va.jsx)("p",{className:"error-msg-captcha inactive",children:W(mT.W.FORMS.CAPTCHAERROR)})]})}),(0,va.jsx)("div",{className:"clearfix"}),(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("span",{className:"error-msg inactive",children:W(mT.W.COMMONFORM.CORRECTFORMAT)})}),(0,va.jsx)("div",{className:"submit-button-container",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("button",{className:"btn-primary btn",children:W(mT.W.FORMS.SUBMIT)})})})]})]})})}),m_=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei;let{t:es}=(0,vT.QT)();return null==e||null===(l=e.fields.FormTitle)||void 0===l||l.value.replaceAll(" ","_"),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"form-wrapper",children:[(0,va.jsx)("div",{className:"form-description",children:(0,va.jsx)(vt.V,{name:"eh-form-title",rendering:e.rendering})}),(0,va.jsxs)("p",{className:"instruction",children:[(0,va.jsx)("span",{className:"asterisk",children:"*"}),es(mT.W.COMMONFORM.REQUIRED)]}),(0,va.jsxs)("form",{id:"guestpreference",name:"guestpreference",className:"type2",action:null===(i=e.fields.ApiUrl)||void 0===i?void 0:i.value,method:"POST",encType:"multipart/form-data",noValidate:!0,children:[(0,va.jsx)("label",{className:"errorMessageForsub error",htmlFor:"thisform","data-msg":es(mT.W.COMMONFORM.CORRECTFORMAT)}),(0,va.jsx)("input",{type:"hidden",name:"ContextId",value:null===(n=e.fields.GuestPreferenceForm)||void 0===n?void 0:null===(s=n.fields.Id)||void 0===s?void 0:s.value}),(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:null===(a=e.fields.SuccessRedirectUrl)||void 0===a?void 0:a.value}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:null===(d=e.fields.FailRedirectUrl)||void 0===d?void 0:d.value}),(0,va.jsx)("input",{type:"hidden",className:"captchaErrorMessage",value:es(mT.W.COMMONFORM.CAPTCHAERROR)}),(0,va.jsx)("div",{className:"error-message"}),(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("label",{className:"guest-preference-form-title",children:es(mT.W.COMMONFORM.PERSONALINFORMATION)})}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"BookingConfirmationNumber",children:[es(mT.W.COMMONFORM.BOOKATRANSFERFLIGHTNUMBER),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(null==e?void 0:null===(t=e.fields.BookingConfirmationNumber)||void 0===t?void 0:t.value)?(0,va.jsx)("input",{className:"input-text",type:"text",name:"BookingConfirmationNumber",id:"BookingConfirmationNumber","data-valid":"isFilled",value:null==e?void 0:null===(o=e.fields.BookingConfirmationNumber)||void 0===o?void 0:o.value,maxLength:254,readOnly:!0}):(0,va.jsx)("input",{className:"input-text",type:"text",name:"BookingConfirmationNumber",id:"BookingConfirmationNumber","data-valid":"isFilled",maxLength:254})]}),(0,va.jsx)("div",{className:"input-field input-field-50 odd",children:(0,va.jsxs)("div",{className:"control",children:[(0,va.jsxs)("label",{htmlFor:"Title",children:[es(mT.W.COMMONFORM.TITLE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"Title",required:!0,"data-valid":"isSelected",children:[(0,va.jsx)("option",{children:es(mT.W.COMMONFORM.SELECTTITLE)}),(null===(v=e.fields.GuestPreferenceForm)||void 0===v?void 0:null===(c=v.fields)||void 0===c?void 0:null===(r=c.Title)||void 0===r?void 0:r.fields.Links)?Object.values(null===(x=e.fields.GuestPreferenceForm)||void 0===x?void 0:null===(m=x.fields)||void 0===m?void 0:null===(u=m.Title)||void 0===u?void 0:u.fields.Links).map((l,i)=>{var s,n,a,d,t,o,r,c,v,u;return(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value)==(null==l?void 0:null===(d=l.fields)||void 0===d?void 0:null===(a=d.Value)||void 0===a?void 0:a.value)?(0,va.jsx)("option",{value:null==l?void 0:null===(o=l.fields)||void 0===o?void 0:null===(t=o.Value)||void 0===t?void 0:t.value,selected:!0,children:(0,va.jsx)(vm.x,{field:null==l?void 0:null===(r=l.fields)||void 0===r?void 0:r.Text})},i):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==l?void 0:null===(v=l.fields)||void 0===v?void 0:null===(c=v.Value)||void 0===c?void 0:c.value,children:(0,va.jsx)(vm.x,{field:null==l?void 0:null===(u=l.fields)||void 0===u?void 0:u.Text})},i)})})}):(0,va.jsx)(va.Fragment,{})]})]})]})}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"FirstName",children:[es(mT.W.COMMONFORM.FIRSTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(null===(h=e.fields)||void 0===h?void 0:null===(p=h.FirstName)||void 0===p?void 0:p.value)?(0,va.jsx)("input",{className:"input-text",type:"text",name:"FirstName",id:"FirstName",value:null===(g=e.fields)||void 0===g?void 0:null===(f=g.FirstName)||void 0===f?void 0:f.value,maxLength:254,"data-valid":"isFilled",readOnly:!0}):(0,va.jsx)("input",{className:"input-text",type:"text",name:"FirstName",id:"FirstName",maxLength:254,"data-valid":"isFilled"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"LastName",children:[es(mT.W.COMMONFORM.LASTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(null==e?void 0:null===(N=e.fields)||void 0===N?void 0:null===(j=N.LastName)||void 0===j?void 0:j.value)?(0,va.jsx)("input",{className:"input-text",type:"text",name:"LastName",id:"LastName",value:null==e?void 0:null===(T=e.fields)||void 0===T?void 0:null===(b=T.LastName)||void 0===b?void 0:b.value,maxLength:254,"data-valid":"isFilled",readOnly:!0}):(0,va.jsx)("input",{className:"input-text",type:"text",name:"LastName",id:"LastName",maxLength:254,"data-valid":"isFilled"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"Email",children:[es(mT.W.COMMONFORM.EMAIL),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"Email",id:"Email",value:null==e?void 0:null===(S=e.fields.Email)||void 0===S?void 0:S.value,maxLength:254,"data-valid":"isFilled;isEmail"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"ContactNumber",children:[es(mT.W.COMMONFORM.CONTACTNUMBER),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"ContactNumber",id:"ContactNumber",value:null==e?void 0:null===(w=e.fields)||void 0===w?void 0:null===(k=w.ContactNumber)||void 0===k?void 0:k.value,maxLength:254,"data-valid":"isFilled;isPhone"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 date-picker",children:[(0,va.jsxs)("label",{htmlFor:"guest-preference_arrivalDate",children:[es(mT.W.COMMONFORM.ARRIVALDATE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{value:null==e?void 0:null===(E=e.fields)||void 0===E?void 0:null===(y=E.ArrivalDate)||void 0===y?void 0:y.value,id:"guest-preference_arrivalDate","data-valid":"isFilled",type:"text",className:"input-text",name:"ArrivalDate"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd arrival_time time-picker",children:[(0,va.jsxs)("label",{htmlFor:"guest-preference_arrivalTime",children:[es(mT.W.COMMONFORM.ARRIVALTIME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{value:null==e?void 0:null===(O=e.fields)||void 0===O?void 0:null===(C=O.ArrivalTime)||void 0===C?void 0:C.value,id:"guest-preference_arrivalTime","data-valid":"isFilled",type:"text",className:"input-text",name:"ArrivalTime"})]})]}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"guest-preference-section-title",id:"guest-preference",children:(0,va.jsx)("button",{className:"this-close accordion",type:"button","data-toggle":"collapse","data-target":"#GuestPreferenceCollapse","aria-expanded":"true","aria-controls":"GuestPreferenceCollapse",children:es(mT.W.COMMONFORM.GUESTPREFERENCESECTION)})}),(0,va.jsx)("div",{id:"GuestPreferenceCollapse",className:"guest-preference-section-content collapse show",children:(null==e?void 0:null===(R=e.fields)||void 0===R?void 0:null===(M=R.GuestPreferenceForm)||void 0===M?void 0:null===(_=M.fields)||void 0===_?void 0:null===(F=_.QuestionList)||void 0===F?void 0:null===(I=F.fields)||void 0===I?void 0:null===(L=I.Links)||void 0===L?void 0:L.length)>0?Object.values(null==e?void 0:null===(V=e.fields)||void 0===V?void 0:null===(B=V.GuestPreferenceForm)||void 0===B?void 0:null===(D=B.fields)||void 0===D?void 0:null===(A=D.QuestionList)||void 0===A?void 0:null===(P=A.fields)||void 0===P?void 0:P.Links).map((e,l)=>{var i,s,n,a,d;return(0,va.jsxs)("div",{className:"",children:[(0,va.jsx)("label",{htmlFor:"questions",children:"".concat(null==e?void 0:null===(i=e.fields.QuestionId)||void 0===i?void 0:i.value,". ").concat(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.QuestionTitle)||void 0===s?void 0:s.value)}),(0,va.jsx)("textarea",{className:"input-text question",name:"questionResponse[".concat(l,"]"),rows:3,placeholder:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.QuestionPlaceholder)||void 0===a?void 0:a.value})]},l)}):(0,va.jsx)(va.Fragment,{})})]}),(0,va.jsxs)("div",{className:"clearfix checkAllSubConsent","data-valid":"isLeastOneSelected",children:[(0,va.jsx)("input",{type:"checkbox",name:"PrivacyPolicyConsent",className:"consent",value:"agree",id:"PrivacyPolicyConsent"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(G=e.fields)||void 0===G?void 0:null===(H=G.GuestPreferenceForm)||void 0===H?void 0:null===(W=H.fields)||void 0===W?void 0:W.PrivacyPolicyConsent})})]}),(0,va.jsxs)("div",{className:"clearfix consent-field","data-valid":"isLeastOneSelected",children:[(0,va.jsx)("input",{type:"checkbox",name:"SensitiveInfoConsent",className:"consent",value:"agree",id:"SensitiveInfoConsent"}),(0,va.jsx)("label",{className:"checkbox sub-consent",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(q=e.fields)||void 0===q?void 0:null===(z=q.GuestPreferenceForm)||void 0===z?void 0:null===(U=z.fields)||void 0===U?void 0:U.SensitiveInfoConsent})})]}),(0,va.jsxs)("div",{className:"clearfix consent-field","data-valid":"isLeastOneSelected",children:[(0,va.jsx)("input",{type:"checkbox",name:"DataManageOutsideResidence",className:"consent",value:"agree",id:"DataManageOutsideResidence"}),(0,va.jsx)("label",{className:"checkbox sub-consent",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(K=e.fields)||void 0===K?void 0:null===(Y=K.GuestPreferenceForm)||void 0===Y?void 0:null===(Q=Y.fields)||void 0===Q?void 0:Q.DataManageOutsideResidence})})]}),(0,va.jsxs)("div",{className:"clearfix consent-field","data-valid":"isLeastOneSelected",children:[(0,va.jsx)("input",{type:"checkbox",name:"DataManageWithinResidence",className:"consent",value:"agree",id:"DataManageWithinResidence"}),(0,va.jsx)("label",{className:"checkbox sub-consent",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(X=e.fields)||void 0===X?void 0:null===(J=X.GuestPreferenceForm)||void 0===J?void 0:null===(Z=J.fields)||void 0===Z?void 0:Z.DataManageWithinResidence})})]}),(0,va.jsxs)("div",{className:"clearfix consent-field",children:[(0,va.jsx)("input",{type:"checkbox",name:"MarketingConsent",className:"consent",value:"agree",id:"MarketingConsent"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(ei=e.fields)||void 0===ei?void 0:null===(el=ei.GuestPreferenceForm)||void 0===el?void 0:null===(ee=el.fields)||void 0===ee?void 0:ee.MarketingConsent})})]}),(0,va.jsx)("div",{className:"submit-button-container",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("button",{className:"btn-primary btn submit-btn",children:es(mT.W.COMMONFORM.SUBMITBUTTON)})})})]})]})})}),mM=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h;let{t:f}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"form-container",children:(0,va.jsxs)("div",{className:"form-wrapper",children:[(0,va.jsxs)("p",{className:"instruction",children:[(0,va.jsx)("span",{className:"asterisk",children:"*"}),f(mT.W.FORMS.DENOTEREQUIREDFIELDS)]}),(0,va.jsx)("div",{className:"success",children:(0,va.jsx)("p",{children:f(mT.W.FORMS.THANKYOUMESSAGE)})}),(0,va.jsx)("div",{className:"fail",children:(0,va.jsx)("p",{children:f(mT.W.FORMS.ERRORMESSAGE)})}),(0,va.jsxs)("form",{method:"POST",className:"form",action:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.ApiUrl)||void 0===l?void 0:l.value,noValidate:!0,children:[(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.SuccessRedirectUrl)||void 0===s?void 0:s.value}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.FailRedirectUrl)||void 0===a?void 0:a.value}),(0,va.jsx)("input",{type:"hidden",name:"contextId",value:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.HotelPickUpForm)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:null===(t=o.Id)||void 0===t?void 0:t.value}),(0,va.jsx)("div",{className:"error-message"}),(0,va.jsxs)("div",{className:"input-field input-field-100 clearfix",children:[(0,va.jsxs)("label",{htmlFor:"Title",children:[f(mT.W.FORMS.TITLE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"Title",required:!0,"data-valid":"isFilled",children:[(0,va.jsx)("option",{children:f(mT.W.COMMONFORM.SELECTTITLE)}),(null===(m=e.fields.HotelPickUpForm)||void 0===m?void 0:null===(u=m.fields)||void 0===u?void 0:null===(v=u.Title)||void 0===v?void 0:v.fields.Links)?Object.values(null===(h=e.fields.HotelPickUpForm)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:null===(x=p.Title)||void 0===x?void 0:x.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})]})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"FirstName",children:[f(mT.W.FORMS.FIRSTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{type:"text",name:"FirstName","data-valid":"isFilled",className:"input-text"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"LastName",children:[f(mT.W.FORMS.LASTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{type:"text",name:"LastName",className:"input-text","data-valid":"isFilled"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"Email",children:[f(mT.W.FORMS.EMAILADDRESS),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{type:"text",name:"Email",className:"input-text","data-val
1id":"isFilled;isEmail"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsx)("label",{htmlFor:"ContactNumber",children:f(mT.W.FORMS.CONTACTNUMBER)}),(0,va.jsx)("input",{type:"text",name:"ContactNumber",className:"input-text"})]}),(0,va.jsxs)("div",{className:"input-field odd input-field-50",children:[(0,va.jsx)("label",{htmlFor:"flight",children:f(mT.W.FORMS.FLIGHTNUMBER)}),(0,va.jsx)("input",{type:"text",name:"FlightNumber",className:"input-text"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"bookingref",children:[f(mT.W.FORMS.HOTELBOOKINGREF),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{type:"text",name:"HotelBookingRef",className:"input-text","data-valid":"isFilled"})]}),(0,va.jsxs)("div",{className:"input-field odd input-field-50",children:[(0,va.jsx)("label",{htmlFor:"notefield",children:f(mT.W.FORMS.NOTE)}),(0,va.jsx)("input",{type:"text",name:"Note",className:"input-text"})]}),(0,va.jsx)("input",{type:"hidden"}),(0,va.jsx)("input",{name:"machine",id:"machine",type:"text",value:"",className:"hidden"}),(0,va.jsx)("input",{name:"formName",id:"formName",type:"text",value:"reservationenquiry",className:"hidden"}),(0,va.jsx)("div",{className:"submit-button-container",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("button",{className:"btn-primary btn",children:f(mT.W.FORMS.SUBMIT)})})})]})]})})})}),mR=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z;let{t:q}=(0,vT.QT)(),Q=null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.FormTitle)||void 0===l?void 0:l.value.replaceAll(" ","_");return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"form-wrapper",id:Q,"data-tab":"#".concat(Q,"-tab"),children:[(0,va.jsx)("div",{className:"form-description",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.FormDescription})}),(0,va.jsxs)("p",{className:"instruction",children:[(0,va.jsx)("span",{className:"asterisk",children:"*"}),q(mT.W.FORMS.DENOTEREQUIREDFIELDS)]}),(0,va.jsx)("div",{className:"success",children:(0,va.jsx)("p",{children:q(mT.W.FORMS.THANKYOUMESSAGE)})}),(0,va.jsx)("div",{className:"fail",children:(0,va.jsx)("p",{children:q(mT.W.FORMS.ERRORMESSAGE)})}),(0,va.jsxs)("form",{method:"POST",action:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.ApiUrl)||void 0===n?void 0:n.value,className:"form","data-formtype":"mediaenquiry",noValidate:!0,children:[(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.SuccessRedirectUrl)||void 0===d?void 0:d.value}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.FailRedirectUrl)||void 0===o?void 0:o.value}),(0,va.jsx)("input",{type:"hidden",name:"contextId",value:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.GeneralEnquiryForm)||void 0===u?void 0:null===(v=u.fields)||void 0===v?void 0:null===(c=v.Id)||void 0===c?void 0:c.value}),(0,va.jsx)("input",{type:"hidden",name:"CaptchaId",value:null==e?void 0:null===(p=e.fields)||void 0===p?void 0:null===(x=p.CaptchaId)||void 0===x?void 0:x.value}),(0,va.jsxs)("div",{className:"fieldset",children:[(null==e?void 0:null===(b=e.fields)||void 0===b?void 0:null===(N=b.GeneralEnquiryForm)||void 0===N?void 0:null===(j=N.fields)||void 0===j?void 0:null===(g=j.BrandHotel)||void 0===g?void 0:null===(f=g.fields)||void 0===f?void 0:null===(h=f.Links)||void 0===h?void 0:h.length)>0?(0,va.jsx)("div",{className:"input-field input-field-50",children:(0,va.jsxs)("div",{className:"control",children:[(0,va.jsxs)("label",{htmlFor:"Brand",children:[q(mT.W.FORMS.ENQUIRYTYPE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsx)("select",{name:"Brand",children:(null===(k=e.fields.GeneralEnquiryForm)||void 0===k?void 0:null===(S=k.fields)||void 0===S?void 0:null===(T=S.BrandHotel)||void 0===T?void 0:T.fields.Links)?Object.values(null===(E=e.fields.GeneralEnquiryForm)||void 0===E?void 0:null===(y=E.fields)||void 0===y?void 0:null===(w=y.BrandHotel)||void 0===w?void 0:w.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})})]})]})}):(0,va.jsx)(va.Fragment,{}),(0,va.jsx)("div",{className:"input-field input-field-50 ".concat((null==e?void 0:null===(_=e.fields)||void 0===_?void 0:null===(F=_.GeneralEnquiryForm)||void 0===F?void 0:null===(I=F.fields)||void 0===I?void 0:null===(L=I.BrandHotel)||void 0===L?void 0:null===(O=L.fields)||void 0===O?void 0:null===(C=O.Links)||void 0===C?void 0:C.length)>0?"odd":""),children:(0,va.jsxs)("div",{className:"control",children:[(0,va.jsxs)("label",{htmlFor:"Title",children:[q(mT.W.FORMS.TITLE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"Title",required:!0,"data-valid":"isSelected",children:[(0,va.jsx)("option",{children:q(mT.W.COMMONFORM.SELECTTITLE)}),(null===(P=e.fields.GeneralEnquiryForm)||void 0===P?void 0:null===(R=P.fields)||void 0===R?void 0:null===(M=R.Title)||void 0===M?void 0:M.fields.Links)?Object.values(null===(B=e.fields.GeneralEnquiryForm)||void 0===B?void 0:null===(D=B.fields)||void 0===D?void 0:null===(A=D.Title)||void 0===A?void 0:A.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})]})]})}),(null==e?void 0:null===(z=e.fields)||void 0===z?void 0:null===(U=z.GeneralEnquiryForm)||void 0===U?void 0:null===(G=U.fields)||void 0===G?void 0:null===(H=G.BrandHotel)||void 0===H?void 0:null===(W=H.fields)||void 0===W?void 0:null===(V=W.Links)||void 0===V?void 0:V.length)<=0?(0,va.jsx)("div",{className:"input-field input-field-50 odd dummy"}):(0,va.jsx)(va.Fragment,{}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"firstname",children:[q(mT.W.FORMS.FIRSTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"firstname",id:"firstname",maxLength:254,required:!0,"data-valid":"isFilled;isName"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"lastname",children:[q(mT.W.FORMS.LASTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"lastname",id:"lastname",maxLength:254,required:!0,"data-valid":"isFilled;isName"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"email",children:[q(mT.W.FORMS.EMAIL),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"email",id:"email",maxLength:254,required:!0,"data-valid":"isFilled;isEmail"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsx)("label",{htmlFor:"contactnumber",children:q(mT.W.FORMS.CONTACTNUMBER)}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"contactnumber",id:"c
1ontactnumber",maxLength:50,"data-valid":"isPhone"})]}),(0,va.jsx)("div",{className:"input-field input-field-100 enquiry-field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("textarea",{rows:5,required:!0,className:"input-text",name:"message",id:"message",maxLength:300,"data-valid":"isFilled",placeholder:q(mT.W.FORMS.MESSAGE)})})})]}),(0,va.jsx)("div",{className:"clearfix"}),(0,va.jsx)("div",{className:"formCaptchaSection field",children:(0,va.jsxs)("div",{className:"captcha-textbox",children:[(0,va.jsx)("span",{children:q(mT.W.FORMS.CAPTCHAHINT)}),(0,va.jsx)("br",{}),(0,va.jsx)("input",{name:"CaptchaId",type:"text",className:"input-text","data-valid":"isCaptchaFilled"}),(0,va.jsx)("p",{className:"error-msg-captcha inactive",children:q(mT.W.FORMS.CAPTCHAERROR)})]})}),(0,va.jsx)("div",{className:"clearfix"}),(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("span",{className:"error-msg inactive",children:q(mT.W.COMMONFORM.CORRECTFORMAT)})}),(0,va.jsx)("div",{className:"submit-button-container",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("button",{className:"btn-primary btn",children:q(mT.W.FORMS.SUBMIT)})})})]})]})})}),mP=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei,es,en,ea;let{t:ed}=(0,vT.QT)(),et=null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.FormTitle)||void 0===l?void 0:l.value.replaceAll(" ","_"),eo=null==e?void 0:null===(a=e.fields.NewsletterForm)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.ResidenceLocation)||void 0===s?void 0:s.value.replaceAll('<item name="Hear_From_Us">',"").replaceAll("<Countries>","").replaceAll("</Countries>","").replaceAll("</item>","").replaceAll("Country","option").replaceAll("countryCode","value").replaceAll('description="',">").replaceAll('" />',"</option>");return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"form-wrapper",id:et,"data-tab":"#-".concat(et,"tab"),children:[(0,va.jsx)("div",{className:"form-description",children:(0,va.jsx)(vx.H,{field:null===(d=e.fields)||void 0===d?void 0:d.FormDescription})}),(0,va.jsxs)("p",{className:"instruction",children:[(0,va.jsx)("span",{className:"asterisk",children:"*"}),ed(mT.W.FORMS.ALLFIELDSAREREQUIRED)]}),(0,va.jsx)("div",{className:"success",children:(0,va.jsx)("p",{children:ed(mT.W.FORMS.THANKYOUMESSAGE)})}),(0,va.jsx)("div",{className:"fail",children:(0,va.jsx)("p",{children:ed(mT.W.FORMS.ERRORMESSAGE)})}),(0,va.jsxs)("form",{action:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.ApiUrl)||void 0===t?void 0:t.value,method:"POST",encType:"multipart/form-data",className:"form","data-formtype":"subscription",noValidate:!0,children:[(0,va.jsx)("input",{type:"hidden",name:"ContextId",value:null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.NewsletterForm)||void 0===v?void 0:null===(c=v.fields)||void 0===c?void 0:null===(r=c.Id)||void 0===r?void 0:r.value}),(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.SuccessRedirectUrl)||void 0===m?void 0:m.value}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:null==e?void 0:null===(h=e.fields)||void 0===h?void 0:null===(p=h.FailRedirectUrl)||void 0===p?void 0:p.value}),(0,va.jsx)("input",{type:"hidden",name:"SubscriptionSource",value:null==e?void 0:null===(g=e.fields)||void 0===g?void 0:null===(f=g.SubscriptionSource)||void 0===f?void 0:f.value}),(0,va.jsx)("input",{type:"hidden",name:"CaptchaId",value:null==e?void 0:null===(N=e.fields)||void 0===N?void 0:null===(j=N.CaptchaId)||void 0===j?void 0:j.value}),(0,va.jsx)("input",{type:"hidden",name:"LastOptinSource",value:null==e?void 0:null===(T=e.fields)||void 0===T?void 0:null===(b=T.LastOptinSource)||void 0===b?void 0:b.value}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"Title",children:[ed(mT.W.FORMS.TITLE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"Title",required:!0,"data-valid":"isSelected",children:[(0,va.jsx)("option",{disabled:!0,children:ed(mT.W.FORMS.TITLE)}),(null===(w=e.fields.NewsletterForm)||void 0===w?void 0:null===(k=w.fields)||void 0===k?void 0:null===(S=k.Title)||void 0===S?void 0:S.fields.Links)?Object.values(null===(C=e.fields.NewsletterForm)||void 0===C?void 0:null===(E=C.fields)||void 0===E?void 0:null===(y=E.Title)||void 0===y?void 0:y.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})]})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"ResidenceLocation",children:[ed(mT.W.FORMS.RESIDENCELOCATION),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{"data-valid":"isSelected",id:"ResidenceLocation",name:"ResidenceLocation",required:!0,children:[(0,va.jsx)("option",{value:"",children:ed(mT.W.FORMS.RESIDENCELOCATION)}),(0,va.jsx)(vx.H,{children:eo})]})]})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"FirstName",children:[ed(mT.W.FORMS.FIRSTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{type:"text",name:"FirstName",required:!0,"data-valid":"isFilled;isName",className:"input-text",maxLength:254})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"LastName",children:[ed(mT.W.FORMS.LASTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{type:"text",name:"LastName",required:!0,"data-valid":"isFilled;isName",className:"input-text",maxLength:254})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"email",children:[ed(mT.W.FORMS.EMAILADDRESS),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{type:"text",name:"Email",required:!0,"data-valid":"isFilled;isEmail",className:"input-text",maxLength:254,id:"email"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"email2",children:[ed(mT.W.FORMS.CONFIRMEMAILADDRESS),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{type:"text",name:"ConfirmEmail",required:!0,"data-valid":"isFilled;isEmail;isEqual","data-valid-equal":"email",className:"input-text",maxLength:254,id:"email2"})]}),(0,va.jsxs)("div",{className:"input-field radio-field clearfix",children:[(0,va.jsx)("label",{className:"question",htmlFor:"stay_in_past_yes",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(I=e.fields)||void 0===I?void 0:null===(L=I.NewsletterForm)||void 0===L?void 0:null===(O=L.fields)||void 0===O?void 0:O.RadioButtionContent})}),(0,va.jsx)("span",{className:"asterisk",children:"*"}),(0,va.jsxs)("div",{className:"radio",children:[(0,va.jsx)("input",{name:"StayedWithUs","data-target":"#hotel-options",type:"radio",value:"yes",id:"stay_in_past_yes",checked:!0,className:"select-toggle"}),(0,va.jsx)("span",{className:"fake-radio"}),(0,va.jsx)("label",{htmlFor:"stay_in_past_yes",children:ed(mT.W.FORMS.YES)})]}),(0,va.jsxs)("div",{className:"radio",children:[(0,va.jsx)("input",{name:"StayedWithUs","data-target":"#hotel-options",id:"stay_in_past_no",type:"radio",value:"no",className:"select-toggle"}),(0,va.jsx)("span",{className:"fake-radio"}),(0,va.jsx)("label",{htmlFor:"stay_in_past_no",children:ed(mT.W.FORMS.NO)})]})]}),(0,va.jsx)("div",{className:"linebreak"}),(0,va.jsx)("div",{className:"input-field check-field is-active",id:"hotel-options","data-valid":"isLeastOneSelected",style:{display:"none"},children:(null==e?void 0:null===(P=e.fields)||void 0===P?void 0:null===(R=P.NewsletterForm)||void 0===R?void 0:null===(M=R.fields.StayedHotelList)||void 0===M?void 0:null===(_=M.fields)||void 0===_?void 0:null===(F=_.Links)||void 0===F?void 0:F.length)>0?Object.values(null==e?void 0:null===(V=e.fields)||void 0===V?void 0:null===(B=V.NewsletterForm)||void 0===B?void 0:null===(D=B.fields.StayedHotelList)||void 0===D?void 0:null===(A=D.fields)||void 0===A?void 0:A.Links).map((e,l)=>{var i,s,n,a,d,t,o,r;return(0,va.jsxs)("div",{className:"checkbox",children:[(0,va.jsx)("input",{type:"checkbox",name:"StayedHotels",id:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,value:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.V
1alue)||void 0===n?void 0:n.value}),(0,va.jsx)("span",{className:"fake-cb"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Value)||void 0===d?void 0:d.value,children:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Text)||void 0===o?void 0:o.value})]},l)}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsxs)("div",{className:"input-field check-field consent",children:[(0,va.jsxs)("div",{className:"checkbox checkAllSubConsent","data-valid":"is-consent-checked",children:[(0,va.jsx)("input",{type:"checkbox",name:"PrivacyPolicyConsent",id:"PrivacyPolicyConsent",value:"PrivacyPolicyConsent"}),(0,va.jsx)("span",{className:"fake-cb"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"PrivacyPolicyConsent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(G=e.fields)||void 0===G?void 0:null===(H=G.NewsletterForm)||void 0===H?void 0:null===(W=H.fields)||void 0===W?void 0:W.PrivacyPolicyConsent})})]}),(0,va.jsxs)("div",{className:"checkbox sub-consent","data-valid":"is-consent-checked",children:[(0,va.jsx)("input",{type:"checkbox",name:"SensitiveInfoConsent",id:"SensitiveInfoConsent",value:"SensitiveInfoConsent"}),(0,va.jsx)("span",{className:"fake-cb"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"SensitiveInfoConsent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(q=e.fields)||void 0===q?void 0:null===(z=q.NewsletterForm)||void 0===z?void 0:null===(U=z.fields)||void 0===U?void 0:U.SensitiveInfoConsent})})]}),(0,va.jsxs)("div",{className:"checkbox sub-consent","data-valid":"is-consent-checked",children:[(0,va.jsx)("input",{type:"checkbox",name:"DataManageOutsideResidence",id:"DataManageOutsideResidence",value:"DataManageOutsideResidence"}),(0,va.jsx)("span",{className:"fake-cb"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"DataManageOutsideResidence",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(K=e.fields)||void 0===K?void 0:null===(Y=K.NewsletterForm)||void 0===Y?void 0:null===(Q=Y.fields)||void 0===Q?void 0:Q.DataManageOutsideResidence})})]}),(0,va.jsxs)("div",{className:"checkbox sub-consent","data-valid":"is-consent-checked",children:[(0,va.jsx)("input",{type:"checkbox",name:"DataManageWithinResidence",id:"DataManageWithinResidence",value:"DataManageWithinResidence"}),(0,va.jsx)("span",{className:"fake-cb"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"DataManageWithinResidence",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(X=e.fields)||void 0===X?void 0:null===(J=X.NewsletterForm)||void 0===J?void 0:null===(Z=J.fields)||void 0===Z?void 0:Z.DataManageWithinResidence})})]}),(0,va.jsxs)("div",{className:"checkbox",children:[(0,va.jsx)("input",{type:"checkbox",name:"MarketingOptinConsent",id:"MarketingOptinConsent",value:"MarketingOptinConsent"}),(0,va.jsx)("span",{className:"fake-cb"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"MarketingOptinConsent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(ei=e.fields)||void 0===ei?void 0:null===(el=ei.NewsletterForm)||void 0===el?void 0:null===(ee=el.fields)||void 0===ee?void 0:ee.MarketingOptinConsent})})]})]}),(0,va.jsx)("div",{id:"agreement",className:"input-field check-field clearfix",children:(0,va.jsx)("div",{className:"checkbox",children:(0,va.jsx)("label",{htmlFor:"cb_subscription",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(ea=e.fields)||void 0===ea?void 0:null===(en=ea.NewsletterForm)||void 0===en?void 0:null===(es=en.fields)||void 0===es?void 0:es.CheckboxContent})})})}),(0,va.jsx)("div",{className:"input-field clearfix",children:(0,va.jsxs)("div",{className:"captcha-textbox",children:[(0,va.jsx)("span",{children:ed(mT.W.FORMS.CAPTCHAHINT)}),(0,va.jsx)("br",{}),(0,va.jsx)("input",{type:"text",name:"CaptchaId",className:"input-text","data-valid":"isCaptchaFilled"}),(0,va.jsx)("p",{className:"error-msg-captcha inactive",children:ed(mT.W.FORMS.CAPTCHAERROR)})]})}),(0,va.jsx)("div",{className:"input-field",children:(0,va.jsx)("span",{className:"error-msg inactive",children:ed(mT.W.COMMONFORM.CORRECTFORMAT)})}),(0,va.jsx)("div",{className:"input-field marketing-consent-error",children:ed(mT.W.COMMONFORM.MARKETINGCONSENT)}),(0,va.jsx)("div",{className:"clearfix"}),(0,va.jsx)("div",{className:"submit-button-container",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("button",{className:"btn-primary subscription_submit btn",children:ed(mT.W.FORMS.SUBMIT)})})})]})]})})}),mA=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X;let{t:ee}=(0,vT.QT)();return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.FormTitle})}),(0,va.jsxs)("p",{className:"instruction",children:[(0,va.jsx)("span",{className:"asterisk",children:"*"}),ee(mT.W.FORMS.DENOTEREQUIREDFIELDS)]}),(0,va.jsx)("div",{className:"success",children:(0,va.jsx)("p",{children:ee(mT.W.FORMS.THANKYOUMESSAGE)})}),(0,va.jsx)("div",{className:"fail",children:(0,va.jsx)("p",{children:ee(mT.W.FORMS.ERRORMESSAGE)})}),(0,va.jsxs)("form",{method:"POST",action:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.ApiUrl)||void 0===i?void 0:i.value,className:"form","data-formtype":"residenceenquiry",noValidate:!0,children:[(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.SuccessRedirectUrl)||void 0===n?void 0:n.value}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.FailRedirectUrl)||void 0===d?void 0:d.value}),(0,va.jsx)("input",{type:"hidden",name:"contextId",value:null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(c=v.GeneralEnquiryForm)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:null===(o=r.Id)||void 0===o?void 0:o.value}),(0,va.jsx)("input",{type:"hidden",name:"CaptchaId",value:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.CaptchaId)||void 0===u?void 0:u.value}),(0,va.jsxs)("div",{className:"fieldset",children:[(null==e?void 0:null===(j=e.fields)||void 0===j?void 0:null===(g=j.GeneralEnquiryForm)||void 0===g?void 0:null===(f=g.fields)||void 0===f?void 0:null===(h=f.BrandHotel)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:null===(x=p.Links)||void 0===x?void 0:x.length)>0?(0,va.jsx)("div",{className:"input-field input-field-50",children:(0,va.jsxs)("div",{className:"control",children:[(0,va.jsxs)("label",{htmlFor:"Brand",children:[ee(mT.W.FORMS.ENQUIRYTYPE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsx)("select",{name:"Brand",children:(null===(T=e.fields.GeneralEnquiryForm)||void 0===T?void 0:null===(b=T.fields)||void 0===b?void 0:null===(N=b.BrandHotel)||void 0===N?void 0:N.fields.Links)?Object.values(null===(w=e.fields.GeneralEnquiryForm)||void 0===w?void 0:null===(k=w.fields)||void 0===k?void 0:null===(S=k.BrandHotel)||void 0===S?void 0:S.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})})]})]})}):(0,va.jsx)(va.Fragment,{}),(0,va.jsx)("div",{className:"input-field ".concat((null==e?void 0:null===(I=e.fields)||void 0===I?void 0:null===(L=I.GeneralEnquiryForm)||void 0===L?void 0:null===(O=L.fields)||void 0===O?void 0:null===(C=O.BrandHotel)||void 0===C?void 0:null===(E=C.fields)||void 0===E?void 0:null===(y=E.Links)||void 0===y?void 0:y.length)>0?"input-field-50 odd":"input-field-100 clearfix"),children:(0,va.jsxs)("div",{className:"control",children:[(0,va.jsxs)("label",{htmlFor:"Title",children:[ee(mT.W.FORMS.TITLE),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsxs)("select",{name:"Title",required:!0,"data-valid":"isSelected",children:[(0,va.jsx)("option",{disabled:!0,children:ee(mT.W.FORMS.SELECTTITLE)}),(null===(M=e.fields.GeneralEnquiryForm)||void 0===M?void 0:null===(_=M.fields)||void 0===_?void 0:null===(F=_.Title)||void 0===F?void 0:F.fields.Links)?Object.values(null===(A=e.fields.GeneralEnquiryForm)||void 0===A?void 0:null===(P=A.fields)||void 0===P?void 0:null===(R=P.Title)||void 0===R?void 0:R.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})]})]})}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"firstname",children:[ee(mT.W.FORMS.FIRSTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"firstname",id:"firstname",maxLength:254,required:!0,"data-valid":"isFilled;isName"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsxs)("label",{htmlFor:"lastname",children:[ee(mT.W.FORMS.LASTNAME),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"lastname",id:"lastname",maxLength:254,required:!0,"data-valid":"isFilled;isName"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50",children:[(0,va.jsxs)("label",{htmlFor:"email",children:[ee(mT.W.FORMS.EMAIL),(0,va.jsx)("span",{className:"asterisk",children:"*"})]}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"email",id:"email",maxLength:254,required:!0,"data-valid":"isFilled;isEmail"})]}),(0,va.jsxs)("div",{className:"input-field input-field-50 odd",children:[(0,va.jsx)("label",{htmlFor:"contactnumber",children:ee(mT.W.FORMS.CONTACTNUMBER)}),(0,va.jsx)("input",{className:"input-text",type:"text",name:"contactnumber",id:"c
1ontactnumber",maxLength:50,"data-valid":"isPhone"})]}),(0,va.jsx)("div",{className:"input-field input-field-100 enquiry-field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("textarea",{rows:5,required:!0,className:"input-text",name:"message",id:"message",maxLength:300,"data-valid":"isFilled",placeholder:ee(mT.W.FORMS.MESSAGE)})})})]}),(0,va.jsx)("div",{className:"clearfix"}),(0,va.jsx)("div",{className:"clearfix checkAllSubConsent","data-valid":"isLeastOneSelected",children:(0,va.jsxs)("div",{className:"field_rsef",children:[(0,va.jsx)("input",{type:"checkbox",name:"PrivacyPolicyConsent",className:"consent_rsef",value:"agree",id:"PrivacyPolicyConsent"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(V=e.fields)||void 0===V?void 0:null===(B=V.GeneralEnquiryForm)||void 0===B?void 0:null===(D=B.fields)||void 0===D?void 0:D.PrivacyPolicyConsent})})]})}),(0,va.jsx)("div",{className:"clearfix residence_enquiry_field","data-valid":"isLeastOneSelected",children:(0,va.jsxs)("div",{className:"field_rsef",children:[(0,va.jsx)("input",{type:"checkbox",name:"SensitiveInfoConsent",className:"consent_rsef sub-consent",value:"agree",id:"SensitiveInfoConsent"}),(0,va.jsx)("label",{className:"checkbox sub-consent",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(G=e.fields)||void 0===G?void 0:null===(H=G.GeneralEnquiryForm)||void 0===H?void 0:null===(W=H.fields)||void 0===W?void 0:W.SensitiveInfoConsent})})]})}),(0,va.jsx)("div",{className:"clearfix residence_enquiry_field","data-valid":"isLeastOneSelected",children:(0,va.jsxs)("div",{className:"field_rsef",children:[(0,va.jsx)("input",{type:"checkbox",name:"DataManageOutsideResidence",className:"consent_rsef sub-consent",value:"agree",id:"DataManageOutsideResidence"}),(0,va.jsx)("label",{className:"checkbox sub-consent",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(q=e.fields)||void 0===q?void 0:null===(z=q.GeneralEnquiryForm)||void 0===z?void 0:null===(U=z.fields)||void 0===U?void 0:U.DataManageOutsideResidence})})]})}),(0,va.jsx)("div",{className:"clearfix residence_enquiry_field","data-valid":"isLeastOneSelected",children:(0,va.jsxs)("div",{className:"field_rsef",children:[(0,va.jsx)("input",{type:"checkbox",name:"DataManageWithinResidence",className:"consent_rsef sub-consent",value:"agree",id:"DataManageWithinResidence"}),(0,va.jsx)("label",{className:"checkbox sub-consent",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(K=e.fields)||void 0===K?void 0:null===(Y=K.GeneralEnquiryForm)||void 0===Y?void 0:null===(Q=Y.fields)||void 0===Q?void 0:Q.DataManageWithinResidence})})]})}),(0,va.jsx)("div",{className:"clearfix residence_enquiry_field",children:(0,va.jsxs)("div",{className:"field_rsef",children:[(0,va.jsx)("input",{type:"checkbox",name:"MarketingConsent",className:"consent_rsef",value:"agree",id:"MarketingConsent"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"consent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(X=e.fields)||void 0===X?void 0:null===(J=X.GeneralEnquiryForm)||void 0===J?void 0:null===(Z=J.fields)||void 0===Z?void 0:Z.MarketingConsent})})]})}),(0,va.jsx)("div",{className:"input-field clearfix",children:(0,va.jsxs)("div",{className:"captcha-textbox",children:[(0,va.jsx)("span",{children:ee(mT.W.FORMS.CAPTCHAHINT)}),(0,va.jsx)("br",{}),(0,va.jsx)("input",{type:"text",name:"CaptchaId",className:"input-text-residencecaptcha","data-valid":"isCaptchaFilled"}),(0,va.jsx)("p",{className:"error-msg-captcha inactive",children:ee(mT.W.FORMS.CAPTCHAERROR)})]})}),(0,va.jsx)("div",{className:"input-field",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("button",{className:"btn-primary btn",children:ee(mT.W.FORMS.SUBMIT)})})})]})]})}),mD=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y;let{t:K}=(0,vT.QT)(),Z=null==e?void 0:null===(s=e.fields.NewsletterForm)||void 0===s?void 0:null===(i=s.fields.ResidenceLocation)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.replaceAll('<item name="Hear_From_Us">',"").replaceAll("<Countries>","").replaceAll("</Countries>","").replaceAll("</item>
1","").replaceAll("Country","option").replaceAll("countryCode","value").replaceAll('description="',">").replaceAll('" />',"</option>");return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("section",{className:"headbanner",children:[(0,va.jsx)("img",{className:"responsiveimg",src:"/files/east-hotels/img/banner_header.jpg"}),(0,va.jsx)("div",{className:"container",children:(0,va.jsx)("h1",{children:(0,va.jsx)(vt.V,{name:"eh-header-title",rendering:e.rendering})})})]}),(0,va.jsx)("section",{className:"inside",children:(0,va.jsxs)("div",{className:"container",children:[(0,va.jsx)("h2",{className:"intro-text",children:K(mT.W.COMMONFORM.INTROTEXT)}),(0,va.jsxs)("form",{action:null==e?void 0:null===(n=e.fields.ApiUrl)||void 0===n?void 0:n.value,method:"POST",encType:"multipart/form-data",className:"form","data-formtype":"subscription",noValidate:!0,children:[(0,va.jsx)("input",{type:"hidden",name:"ContextId",value:null==e?void 0:null===(d=e.fields.NewsletterForm)||void 0===d?void 0:null===(a=d.fields.Id)||void 0===a?void 0:a.value}),(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:null==e?void 0:null===(t=e.fields.SuccessRedirectUrl)||void 0===t?void 0:t.value}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:null==e?void 0:null===(o=e.fields.FailRedirectUrl)||void 0===o?void 0:o.value}),(0,va.jsx)("input",{type:"hidden",name:"CaptchaId",value:null==e?void 0:null===(r=e.fields.CaptchaId)||void 0===r?void 0:r.value}),(0,va.jsx)("input",{type:"hidden",name:"LastOptinSource",value:null==e?void 0:null===(c=e.fields.LastOptinSource)||void 0===c?void 0:c.value}),(0,va.jsx)("p",{className:"required",children:K(mT.W.COMMONFORM.REQUIRED)}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsxs)("div",{className:"col-12 col-md-6",children:[(0,va.jsx)("label",{htmlFor:"title",children:K(mT.W.COMMONFORM.TITLE)}),(0,va.jsx)("div",{className:"select primary",children:(0,va.jsxs)("select",{name:"Title",required:!0,"data-valid":"isSelected",children:[(0,va.jsx)("option",{children:K(mT.W.COMMONFORM.TITLE)}),(null===(m=e.fields.NewsletterForm)||void 0===m?void 0:null===(u=m.fields)||void 0===u?void 0:null===(v=u.Title)||void 0===v?void 0:v.fields.Links)?Object.values(null===(h=e.fields.NewsletterForm)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:null===(x=p.Title)||void 0===x?void 0:x.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})})]}),(0,va.jsxs)("div",{className:"col-12 col-md-6",children:[(0,va.jsx)("label",{htmlFor:"title",children:K(mT.W.COMMONFORM.RESIDENCELOCATION)}),(0,va.jsx)("div",{className:"select primary",children:(0,va.jsxs)("select",{"data-valid":"isSelected",id:"ResidenceLocation",name:"ResidenceLocation",required:!0,children:[(0,va.jsx)("option",{value:"",children:K(mT.W.COMMONFORM.RESIDENCELOCATION)}),(0,va.jsx)(vx.H,{children:Z})]})})]}),(0,va.jsxs)("div",{className:"col-12 col-md-6",children:[(0,va.jsx)("label",{htmlFor:"firstname",children:K(mT.W.COMMONFORM.FIRSTNAME)}),(0,va.jsx)("input",{required:!0,"data-valid":"isFilled",className:"input",maxLength:254,name:"FirstName",type:"text",placeholder:K(mT.W.COMMONFORM.FIRSTNAME)})]}),(0,va.jsxs)("div",{className:"col-12 col-md-6",children:[(0,va.jsx)("label",{htmlFor:"lastname",children:K(mT.W.COMMONFORM.LASTNAME)}),(0,va.jsx)("input",{required:!0,"data-valid":"isFilled",className:"input",maxLength:254,name:"LastName",type:"text",placeholder:K(mT.W.COMMONFORM.LASTNAME)})]}),(0,va.jsxs)("div",{className:"col-12 col-md-6",children:[(0,va.jsx)("label",{htmlFor:"email",children:K(mT.W.COMMONFORM.EMAIL)}),(0,va.jsx)("input",{required:!0,"data-valid":"isFilled;isEmail",className:"input",maxLength:254,name:"Email",type:"text",placeholder:K(mT.W.COMMONFORM.EMAIL),id:"email"})]}),(0,va.jsxs)("div",{className:"col-12 col-md-6",children:[(0,va.jsx)("label",{htmlFor:"email2",children:K(mT.W.COMMONFORM.CONFIRMEMAIL)}),(0,va.jsx)("input",{required:!0,id:"email2","data-valid":"isFilled;isEmail;isEqual","data-valid-equal":"email",className:"input",maxLength:254,name:"ConfirmEmail",type:"text",placeholder:K(mT.W.COMMONFORM.CONFIRMEMAIL)})]}),(0,va.jsxs)("div",{className:"col-12",children:[(0,va.jsx)("label",{htmlFor:"stay_in_past_yes",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(j=e.fields)||void 0===j?void 0:null===(g=j.NewsletterForm)||void 0===g?void 0:null===(f=g.fields)||void 0===f?void 0:f.RadioButtionContent})}),(0,va.jsx)("div",{className:"control",children:(0,va.jsxs)("div",{className:"field is-float",children:[(0,va.jsxs)("div",{className:"control",children:[(0,va.jsx)("input",{className:"select-toggle","data-target":"#hotel-options",type:"radio",name:"StayedWithUs",value:"yes",id:"stay_in_past_yes",checked:!0}),(0,va.jsx)("label",{className:"radio",htmlFor:"stay_in_past_yes",children:K(mT.W.COMMONFORM.YES)})]}),(0,va.jsxs)("div",{className:"control",children:[(0,va.jsx)("input",{className:"select-toggle","data-target":"#hotel-options",type:"radio",name:"StayedWithUs",value:"no",id:"stay_in_past_no"}),(0,va.jsx)("label",{className:"radio",htmlFor:"stay_in_past_no",children:K(mT.W.COMMONFORM.NO)})]})]})}),(0,va.jsx)("div",{className:"field is-grid is-active",id:"hotel-options","data-valid":"isLeastOneSelected",children:(null==e?void 0:null===(w=e.fields)||void 0===w?void 0:null===(k=w.NewsletterForm)||void 0===k?void 0:null===(S=k.fields)||void 0===S?void 0:null===(T=S.StayedHotelList)||void 0===T?void 0:null===(b=T.fields)||void 0===b?void 0:null===(N=b.Links)||void 0===N?void 0:N.length)>0?Object.values(null==e?void 0:null===(L=e.fields)||void 0===L?void 0:null===(O=L.NewsletterForm)||void 0===O?void 0:null===(C=O.fields)||void 0===C?void 0:null===(E=C.StayedHotelList)||void 0===E?void 0:null===(y=E.fields)||void 0===y?void 0:y.Links).map((e,l)=>{var i,s,n,a,d,t,o;return(0,va.jsxs)("div",{className:"field",children:[(0,va.jsx)("input",{type:"checkbox",name:"StayedHotels",id:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,value:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.V
1alue)||void 0===n?void 0:n.value}),(0,va.jsx)("label",{className:"checkbox",htmlFor:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Value)||void 0===d?void 0:d.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.Text})})]},l)}):(0,va.jsx)(va.Fragment,{})})]}),(0,va.jsxs)("div",{className:"col-12",children:[(0,va.jsxs)("div",{className:"field","data-valid":"is-consent-checked",children:[(0,va.jsx)("input",{type:"checkbox",name:"PrivacyPolicyConsent",id:"PrivacyPolicyConsent",value:"PrivacyPolicyConsent"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"PrivacyPolicyConsent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(_=e.fields)||void 0===_?void 0:null===(F=_.NewsletterForm)||void 0===F?void 0:null===(I=F.fields)||void 0===I?void 0:I.PrivacyPolicyConsent})})]}),(0,va.jsxs)("div",{className:"field sub-consent","data-valid":"is-consent-checked",children:[(0,va.jsx)("input",{type:"checkbox",name:"SensitiveInfoConsent",id:"SensitiveInfoConsent",value:"SensitiveInfoConsent"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"SensitiveInfoConsent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(P=e.fields)||void 0===P?void 0:null===(R=P.NewsletterForm)||void 0===R?void 0:null===(M=R.fields)||void 0===M?void 0:M.SensitiveInfoConsent})})]}),(0,va.jsxs)("div",{className:"field sub-consent","data-valid":"is-consent-checked",children:[(0,va.jsx)("input",{type:"checkbox",name:"DataManageOutsideResidence",id:"DataManageOutsideResidence",value:"DataManageOutsideResidence"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"DataManageOutsideResidence",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(B=e.fields)||void 0===B?void 0:null===(D=B.NewsletterForm)||void 0===D?void 0:null===(A=D.fields)||void 0===A?void 0:A.DataManageOutsideResidence})})]}),(0,va.jsxs)("div",{className:"field sub-consent","data-valid":"is-consent-checked",children:[(0,va.jsx)("input",{type:"checkbox",name:"DataManageWithinResidence",id:"DataManageWithinResidence",value:"DataManageWithinResidence"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"DataManageWithinResidence",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(H=e.fields)||void 0===H?void 0:null===(W=H.NewsletterForm)||void 0===W?void 0:null===(V=W.fields)||void 0===V?void 0:V.SensitiveInfoConsent})})]}),(0,va.jsxs)("div",{className:"field",children:[(0,va.jsx)("input",{type:"checkbox",name:"MarketingOptinConsent",id:"MarketingOptinConsent",value:"MarketingOptinConsent"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"MarketingOptinConsent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(z=e.fields)||void 0===z?void 0:null===(U=z.NewsletterForm)||void 0===U?void 0:null===(G=U.fields)||void 0===G?void 0:G.MarketingOptinConsent})})]})]}),(0,va.jsxs)("div",{className:"col-12",children:[(0,va.jsx)("p",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(Y=e.fields)||void 0===Y?void 0:null===(Q=Y.NewsletterForm)||void 0===Q?void 0:null===(q=Q.fields)||void 0===q?void 0:q.CheckboxContent})}),(0,va.jsxs)("div",{className:"captcha-textbox",children:[(0,va.jsx)("span",{children:K(mT.W.COMMONFORM.CAPTCHAHINT)}),(0,va.jsx)("input",{name:"CaptchaCode",className:"input","data-valid":"isCaptchaFilled"}),(0,va.jsx)("p",{className:"error-msg-captcha inactive",children:K(mT.W.COMMONFORM.CAPTCHAERROR)})]})]}),(0,va.jsxs)("div",{className:"col-12",children:[(0,va.jsx)("span",{className:"error-msg inactive",children:K(mT.W.COMMONFORM.CORRECTFORMAT)})," ",(0,va.jsx)("br",{}),(0,va.jsx)("span",{className:"marketing-consent-error",children:K(mT.W.COMMONFORM.MARKETINGCONSENT)})]}),(0,va.jsx)("div",{children:(0,va.jsx)("p",{className:"text-center",children:(0,va.jsx)("button",{className:"primary clear btn with-icon-after chevron-round right",children:K(mT.W.COMMONFORM.SUBMIT)})})})]})]})]})})]})}),mB=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K;let{t:Z}=(0,vT.QT)(),J=null==e?void 0:null===(s=e.fields.NewsletterForm)||void 0===s?void 0:null===(i=s.fields.ResidenceLocation)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.replaceAll('<item name="Hear_From_Us">',"").replaceAll("<Countries>","").replaceAll("</Countries>","").replaceAll("</item>
1","").replaceAll("Country","option").replaceAll("countryCode","value").replaceAll('description="',">").replaceAll('" />',"</option>");return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"bordered container",children:(0,va.jsx)("div",{className:"narrow row",children:(0,va.jsx)("div",{className:"col",children:(0,va.jsxs)("form",{action:null==e?void 0:null===(n=e.fields.ApiUrl)||void 0===n?void 0:n.value,method:"POST",className:"form",noValidate:!0,children:[(0,va.jsx)("input",{type:"hidden",name:"ContextId",value:null==e?void 0:null===(t=e.fields.NewsletterForm)||void 0===t?void 0:null===(d=t.fields)||void 0===d?void 0:null===(a=d.Id)||void 0===a?void 0:a.value}),(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:null==e?void 0:null===(o=e.fields.SuccessRedirectUrl)||void 0===o?void 0:o.value}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:null==e?void 0:null===(r=e.fields.FailRedirectUrl)||void 0===r?void 0:r.value}),(0,va.jsx)("input",{type:"hidden",name:"CaptchaId",value:null==e?void 0:null===(c=e.fields.CaptchaId)||void 0===c?void 0:c.value}),(0,va.jsx)("input",{type:"hidden",name:"LastOptinSource",value:null==e?void 0:null===(v=e.fields.LastOptinSource)||void 0===v?void 0:v.value}),(0,va.jsx)("p",{className:"required",children:Z(mT.W.COMMONFORM.REQUIRED)}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("div",{className:"select primary",children:(0,va.jsxs)("select",{name:"Title",required:!0,"data-valid":"isSelected",children:[(0,va.jsx)("option",{disabled:!0,children:Z(mT.W.COMMONFORM.TITLE)}),(null===(x=e.fields.NewsletterForm)||void 0===x?void 0:null===(m=x.fields)||void 0===m?void 0:null===(u=m.Title)||void 0===u?void 0:u.fields.Links)?Object.values(null===(f=e.fields.NewsletterForm)||void 0===f?void 0:null===(h=f.fields)||void 0===h?void 0:null===(p=h.Title)||void 0===p?void 0:p.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})})})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("input",{required:!0,"data-valid":"isFilled",className:"input",maxLength:254,name:"FirstName",type:"text",placeholder:Z(mT.W.COMMONFORM.FIRSTNAME)})})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("input",{required:!0,"data-valid":"isFilled",className:"input",maxLength:254,name:"LastName",type:"text",placeholder:Z(mT.W.COMMONFORM.LASTNAME)})})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("input",{required:!0,id:"email","data-valid":"isFilled;isEmail",className:"input",maxLength:254,name:"Email",type:"text",placeholder:Z(mT.W.COMMONFORM.EMAIL)})})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("input",{required:!0,id:"email2","data-valid":"isFilled;isEmail;isEqual",className:"input",maxLength:254,name:"ConfirmEmail",type:"text",placeholder:Z(mT.W.COMMONFORM.CONFIRMEMAIL)})})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("div",{className:"select primary",children:(0,va.jsxs)("select",{"data-valid":"isSelected",id:"ResidenceLocation",name:"ResidenceLocation",required:!0,children:[(0,va.jsx)("option",{value:"",children:Z(mT.W.COMMONFORM.RESIDENCELOCATION)}),(0,va.jsx)(vx.H,{children:J})]})})})}),(0,va.jsxs)("div",{className:"field field--vertical-pad",children:[(0,va.jsxs)("div",{className:"control",children:[(0,va.jsx)("label",{htmlFor:"stay_in_past_yes",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(N=e.fields)||void 0===N?void 0:null===(j=N.NewsletterForm)||void 0===j?void 0:null===(g=j.fields)||void 0===g?void 0:g.RadioButtionContent})}),(0,va.jsxs)("div",{className:"field is-float",children:[(0,va.jsxs)("div",{className:"control",children:[(0,va.jsx)("input",{className:"select-toggle","data-target":"#hotel-options",type:"radio",name:"StayedWithUs",value:"yes",id:"stay_in_past_yes",checked:!0}),(0,va.jsx)("label",{className:"radio",htmlFor:"stay_in_past_yes",children:Z(mT.W.COMMONFORM.YES)})]}),(0,va.jsxs)("div",{className:"control",children:[(0,va.jsx)("input",{className:"select-toggle","data-target":"#hotel-options",type:"radio",name:"StayedWithUs",value:"no",id:"stay_in_past_no"}),(0,va.jsx)("label",{className:"radio",htmlFor:"stay_in_past_no",children:Z(mT.W.COMMONFORM.NO)})]})]})]}),(0,va.jsx)("div",{className:"field is-grid is-active",id:"hotel-options","data-valid":"isLeastOneSelected",children:(null==e?void 0:null===(y=e.fields)||void 0===y?void 0:null===(w=y.NewsletterForm)||void 0===w?void 0:null===(k=w.fields)||void 0===k?void 0:null===(S=k.StayedHotelList)||void 0===S?void 0:null===(T=S.fields)||void 0===T?void 0:null===(b=T.Links)||void 0===b?void 0:b.length)>0?Object.values(null==e?void 0:null===(I=e.fields)||void 0===I?void 0:null===(L=I.NewsletterForm)||void 0===L?void 0:null===(O=L.fields)||void 0===O?void 0:null===(C=O.StayedHotelList)||void 0===C?void 0:null===(E=C.fields)||void 0===E?void 0:E.Links).map((e,l)=>{var i,s,n,a,d,t,o;return(0,va.jsxs)("div",{className:"field",children:[(0,va.jsx)("input",{type:"checkbox",name:"StayedHotels",id:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,value:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.V
1alue)||void 0===n?void 0:n.value}),(0,va.jsx)("label",{className:"checkbox",htmlFor:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Value)||void 0===d?void 0:d.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.Text})})]},l)}):(0,va.jsx)(va.Fragment,{})})]}),(0,va.jsxs)("div",{className:"field","data-valid":"isChecked",children:[(0,va.jsx)("input",{type:"checkbox",name:"PrivacyPolicyConsent",id:"PrivacyPolicyConsent",value:"PrivacyPolicyConsent"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"PrivacyPolicyConsent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(M=e.fields)||void 0===M?void 0:null===(_=M.NewsletterForm)||void 0===_?void 0:null===(F=_.fields)||void 0===F?void 0:F.PrivacyPolicyConsent})})]}),(0,va.jsxs)("div",{className:"field sub-consent","data-valid":"isChecked",children:[(0,va.jsx)("input",{type:"checkbox",name:"SensitiveInfoConsent",id:"SensitiveInfoConsent",value:"SensitiveInfoConsent"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"SensitiveInfoConsent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(A=e.fields)||void 0===A?void 0:null===(P=A.NewsletterForm)||void 0===P?void 0:null===(R=P.fields)||void 0===R?void 0:R.SensitiveInfoConsent})})]}),(0,va.jsxs)("div",{className:"field sub-consent","data-valid":"isChecked",children:[(0,va.jsx)("input",{type:"checkbox",name:"DataManageOutsideResidence",id:"DataManageOutsideResidence",value:"DataManageOutsideResidence"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"DataManageOutsideResidence",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(V=e.fields)||void 0===V?void 0:null===(B=V.NewsletterForm)||void 0===B?void 0:null===(D=B.fields)||void 0===D?void 0:D.DataManageOutsideResidence})})]}),(0,va.jsxs)("div",{className:"field sub-consent","data-valid":"isChecked",children:[(0,va.jsx)("input",{type:"checkbox",name:"DataManageWithinResidence",id:"DataManageWithinResidence",value:"DataManageWithinResidence"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"DataManageWithinResidence",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(G=e.fields)||void 0===G?void 0:null===(H=G.NewsletterForm)||void 0===H?void 0:null===(W=H.fields)||void 0===W?void 0:W.DataManageWithinResidence})})]}),(0,va.jsxs)("div",{className:"field",children:[(0,va.jsx)("input",{type:"checkbox",name:"MarketingOptinConsent",id:"MarketingOptinConsent",value:"MarketingOptinConsent"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"MarketingOptinConsent",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(q=e.fields)||void 0===q?void 0:null===(z=q.NewsletterForm)||void 0===z?void 0:null===(U=z.fields)||void 0===U?void 0:U.MarketingOptinConsent})})]}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(K=e.fields)||void 0===K?void 0:null===(Y=K.NewsletterForm)||void 0===Y?void 0:null===(Q=Y.fields)||void 0===Q?void 0:Q.CheckboxContent})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsxs)("div",{className:"captcha-textbox",children:[(0,va.jsx)("p",{children:Z(mT.W.COMMONFORM.CAPTCHAHINT)}),(0,va.jsx)("input",{name:"CaptchaCode","data-valid":"isCaptchaFilled"}),(0,va.jsx)("p",{className:"error-msg-captcha inactive",children:Z(mT.W.COMMONFORM.CAPTCHAERROR)})]})}),(0,va.jsx)("p",{className:"error-msg inactive",children:Z(mT.W.COMMONFORM.CORRECTFORMAT)}),(0,va.jsx)("div",{className:"field error marketing-consent-error",children:(0,va.jsx)("p",{children:Z(mT.W.COMMONFORM.MARKETINGCONSENT)})}),(0,va.jsx)("div",{className:"field field--button",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("button",{className:"primary clear btn with-icon-after chevron-round right",children:Z(mT.W.COMMONFORM.SUBMIT)})})})]})})})})})}),mV=(0,vp.C)()(e=>{let{t:l}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{})}),mW=i(87536),mH=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei,es,en,ea,ed,et,eo,er,ec,ev,eu,em,ex,ep,eh,ef,eg,ej,eN,eb,eT,eS,ek,ew,ey,eE,eC,eO,eL,eI,eF,e_,eM,eR,eP,eA,eD,eB,eV,eW,eH,eG,eU,ez,eq,eQ,eY;let{t:eK,locale:e$}=(0,vT.QT)(),eZ={};async function eJ(){var l,i;return await (0,up.D)(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.OnOffLocation)||void 0===l?void 0:l.id,ux.t9.OptionItem,e$(),10,!0)}let eX=["00:00","00:30","01:00","01:30","02:00","02:30","03:00","03:30","04:00","04:30","05:00","05:30","06:00","06:30","07:00","07:30","08:00","08:30","09:00","09:30","10:00","10:30","11:00","11:30","12:00","12:30","13:00","13:30","14:00","14:30","15:00","15:30","16:00","16:30","17:00","17:30","18:00","18:30","19:00","19:30","20:00","20:30","21:00","21:30","22:00","22:30","23:00","23:30"],e0=(0,vd.useRef)(null),e1=(0,vd.useRef)(null),e2=(0,vd.useRef)(null),e5=(0,vd.useRef)(null),e3=(0,vd.useRef)(null),[e4,e6]=(0,vd.useState)(!1),[e8,e7]=(0,vd.useState)(!1),e9="",le=0,ll=-1,li=-1,ls=-1,ln=-1;(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.ExtraServiceCharge)&&((null==e?void 0:null===(ec=e.fields)||void 0===ec?void 0:null===(er=ec.E
1xtraServiceCharge)||void 0===er?void 0:null===(eo=er.fields)||void 0===eo?void 0:eo.ExtraServiceChargeStartTime)&&(null==e?void 0:null===(eh=e.fields)||void 0===eh?void 0:null===(ep=eh.ExtraServiceCharge)||void 0===ep?void 0:null===(ex=ep.fields)||void 0===ex?void 0:null===(em=ex.ExtraServiceChargeStartTime)||void 0===em?void 0:null===(eu=em.value)||void 0===eu?void 0:null===(ev=eu.split(":"))||void 0===ev?void 0:ev.length)>=2&&(ll=parseInt(null==e?void 0:null===(eI=e.fields)||void 0===eI?void 0:null===(eL=eI.ExtraServiceCharge)||void 0===eL?void 0:null===(eO=eL.fields)||void 0===eO?void 0:null===(eC=eO.ExtraServiceChargeStartTime)||void 0===eC?void 0:null===(eE=eC.value)||void 0===eE?void 0:eE.split(":")[0]),li=parseInt(null==e?void 0:null===(eP=e.fields)||void 0===eP?void 0:null===(eR=eP.ExtraServiceCharge)||void 0===eR?void 0:null===(eM=eR.fields)||void 0===eM?void 0:null===(e_=eM.ExtraServiceChargeStartTime)||void 0===e_?void 0:null===(eF=e_.value)||void 0===eF?void 0:eF.split(":")[1])),(null==e?void 0:null===(ej=e.fields)||void 0===ej?void 0:null===(eg=ej.ExtraServiceCharge)||void 0===eg?void 0:null===(ef=eg.fields)||void 0===ef?void 0:ef.ExtraServiceChargeEndTime)&&(null==e?void 0:null===(ek=e.fields)||void 0===ek?void 0:null===(eS=ek.ExtraServiceCharge)||void 0===eS?void 0:null===(eT=eS.fields)||void 0===eT?void 0:null===(eb=eT.ExtraServiceChargeEndTime)||void 0===eb?void 0:null===(eN=eb.value.split(":"))||void 0===eN?void 0:eN.length)>=2&&(ls=parseInt(null==e?void 0:null===(eV=e.fields)||void 0===eV?void 0:null===(eB=eV.ExtraServiceCharge)||void 0===eB?void 0:null===(eD=eB.fields)||void 0===eD?void 0:null===(eA=eD.ExtraServiceChargeEndTime)||void 0===eA?void 0:eA.value.split(":")[0]),ln=parseInt(null==e?void 0:null===(eU=e.fields)||void 0===eU?void 0:null===(eG=eU.ExtraServiceCharge)||void 0===eG?void 0:null===(eH=eG.fields)||void 0===eH?void 0:null===(eW=eH.ExtraServiceChargeEndTime)||void 0===eW?void 0:eW.value.split(":")[1])),(null==e?void 0:null===(ey=e.fields)||void 0===ey?void 0:null===(ew=ey.ExtraServiceCharge)||void 0===ew?void 0:ew.fields.ExtraServiceCharge)&&(le=null==e?void 0:null===(eY=e.fields)||void 0===eY?void 0:null===(eQ=eY.ExtraServiceCharge)||void 0===eQ?void 0:null===(eq=eQ.fields)||void 0===eq?void 0:null===(ez=eq.ExtraServiceCharge)||void 0===ez?void 0:ez.value));let{handleSubmit:la,register:ld}=(0,mW.cI)(),[lt,lo]=(0,vd.useState)("return"),lr=async()=>{try{var l,i,s;if(await lx(lc,!1),await lx(lv,!0),"return"==lt?(await lx(lu,!1),await lx(lm,!1)):"arrival_only"==lt?(await lx(lu,!1),$("#DepartureCollapse").find(".error").removeClass("error")):"departure_only"==lt&&(await lx(lm,!1),$("#ArrivalCollapse").find(".error").removeClass("error")),(null===(l=$(".btn.btn--mega.btn--white:visible").closest("form").find(".error"))||void 0===l?void 0:l.length)>0){e7(!0),$(".btn.btn--mega.btn--white:visible").closest("form").find(".error")[0].focus();return}e7(!1),null==e1||null===(i=e1.current)||void 0===i||i.setAttribute("disabled","true");let n={},a=null==e0?void 0:e0.current;if(a){for(let e=0;e<a.elements.length;e++){let l=a.elements[e],i=l.getAttribute("name");i&&((null==l?void 0:l.getAttribute("type"))=="checkbox"?n[i]=(null===(s=$('[name="'.concat(i,'"]:checked')))||void 0===s?void 0:s.length)>0:n[i]=$(l).val())}n.oneWayOrReturn=$("[name=oneWayOrReturn]:checked").val()}fetch(uc.MD.THC_PPA_FORM,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)}).then(e=>e.json()).then(l=>{var i,s,n,a;console.log(l),(null==l?void 0:l.RedirectUrl)?window.location.href=null==l?void 0:l.RedirectUrl:window.location.href=null!==(a=(0,vS.at)(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.FailRedirectUrl)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,e$()))&&void 0!==a?a:"/"+e$()})}catch(e){console.log(e)}};e9||eJ().then(function(e){let l={};if(e&&(null==e?void 0:e.length)>0)for(let u=0;u<(null==e?void 0:e.length);u++){var i,s,n,a,d,t,o,r,c,v;let m=e[u];if(m&&(null==m?void 0:null===(s=m.fields)||void 0===s?void 0:null===(i=s.CarType)||void 0===i?void 0:i.length)>0)for(let e=0;e<(null==m?void 0:null===(n=m.fields)||void 0===n?void 0:n.CarType.length);e++){let i=null==m?void 0:null===(a=m.fields)||void 0===a?void 0:a.CarType[e];l[(null==m?void 0:null===(t=m.fields)||void 0===t?void 0:null===(d=t.Value)||void 0===d?void 0:d.value)+"-"+(null==i?void 0:null===(r=i.fields)||void 0===r?void 0:null===(o=r.Value)||void 0===o?void 0:o.value)]=null==i?void 0:null===(v=i.fields)||void 0===v?void 0:null===(c=v.Price)||void 0===c?void 0:c.value}}e6(!0),eZ=l});let lc=[{name:"contactNumber",rule:"^[0-9]+$"},{name:"Email",rule:"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$"},"LastName","FirstName","Title","bookingConfirmationNumber"],lv=["dataManageWithinResidence","dataManageOutsideResidence","sensitiveInfo","privacyPolicyConsent"],lu=["arrivalPickU
1pLocation","arrivalCarType","arrivalNumberOfGuest","arrivalTime","arrivalDate"],lm=["departureDropOffLocation","departureCarType","departureNumberOfGuest","departureTime","departureDate"];async function lx(e,l){if((null==e?void 0:e.length)>0)for(let i=0;i<e.length;i++){let s=e[i];if(!0===l){let e=$("[name=".concat(s,"]")).next("span");!0===$("[name=".concat(s,"]")).prop("checked")?$(e).removeClass("error"):$(e).hasClass("error")||$(e).addClass("error")}else if("string"==typeof s)$("[name=".concat(s,"]")).val()?$("[name=".concat(s,"]")).removeClass("error"):$("[name=".concat(s,"]")).hasClass("error")||$("[name=".concat(s,"]")).addClass("error");else{let e=null==s?void 0:s.name,l=$("[name=".concat(e,"]")).val();l&&l.match(s.rule)?$("[name=".concat(e,"]")).removeClass("error"):$("[name=".concat(e,"]")).hasClass("error")||$("[name=".concat(e,"]")).addClass("error")}}}return(0,vd.useEffect)(function(){e9=$(".havaMap").text(),function(){function e(){var e=$('select[name="arrivalCarType"]').val(),l=$('select[name="arrivalPickUpLocation"]').val()+"-"+e,i=eZ[l]?eZ[l]:0;if(-1==i)return i;var n=$('select[name="arrivalTime"]').val();return le>0&&s(n)?i+le:i}function l(){var e=$('select[name="departureCarType"]').val(),l=$('select[name="departureDropOffLocation"]').val()+"-"+e,i=eZ[l]?eZ[l]:0;if(-1==i)return i;var n=$('select[name="departureTime"]').val();return le>0&&s(n)?i+le:i}function i(){var i=$('input[name="oneWayOrReturn"]:checked').val(),s=0;if("return"==i){var n=e(),a=l();s=n>=0&&a>=0?n+a:-1}else"arrival_only"==i?s=e():"departure_only"==i&&(s=l());return s<0?($(".book-a-transfer-service-fee-section").hide(),$(".book-a-transfer-other-service-fee-section").show()):($(".book-a-transfer-service-fee-section").show(),$(".book-a-transfer-other-service-fee-section").hide()),s}function s(e){if(""==e||ll<0||li<0||ls<0||ln<0)return!1;var l=parseInt(e.split(":")[0]),i=parseInt(e.split(":")[1]);return 0>=n(l,i,ll,li)&&1==n(l,i,ls,ln)}function n(e,l,i,s){return e<i?1:e>i?-1:l<s?1:l>s?-1:0}$(".input-radio.radio-button-OneWayOrReturn").on("change",function(){var e;$(".book-a-transfer-service-fee").html(null===(e=i())||void 0===e?void 0:e.toString()),lo($(".input-radio.radio-button-OneWayOrReturn:checked").val())}),$('select[name="arrivalTime"]').on("change",function(){var e;$(".book-a-transfer-service-fee").html(null===(e=i())||void 0===e?void 0:e.toString())}),$('select[name="departureTime"]').on("change",function(){var e;$(".book-a-transfer-service-fee").html(null===(e=i())||void 0===e?void 0:e.toString())}),$('select[name="arrivalCarType"]').on("change",function(){var e;$(".book-a-transfer-service-fee").html(null===(e=i())||void 0===e?void 0:e.toString())}),$('select[name="departureCarType"]').on("change",function(){var e;$(".book-a-transfer-service-fee").html(null===(e=i())||void 0===e?void 0:e.toString())}),$('select[name="arrivalPickUpLocation"]').on("change",function(){var e;$(".book-a-transfer-service-fee").html(null===(e=i())||void 0===e?void 0:e.toString())}),$('select[name="departureDropOffLocation"]').on("change",function(){var e;$(".book-a-transfer-service-fee").html(null===(e=i())||void 0===e?void 0:e.toString())}),$(".input-radio.radio-button-OneWayOrReturn").on("change",function(){var e=$
1('input[name="oneWayOrReturn"]:checked').val();"return"==e?$("#ArrivalCollapse input, #DepartureCollapse input, #ArrivalCollapse select, #DepartureCollapse select").each(function(){$(this).prop("disabled",!1)}):"arrival_only"==e?($("#ArrivalCollapse input, #ArrivalCollapse select").each(function(){$(this).prop("disabled",!1)}),$("#DepartureCollapse input, #DepartureCollapse select").each(function(){$(this).prop("disabled",!0),$(this).hasClass("error")&&$(this).removeClass("error")})):"departure_only"==e&&($("#ArrivalCollapse input, #ArrivalCollapse select").each(function(){$(this).prop("disabled",!0),$(this).hasClass("error")&&$(this).removeClass("error")}),$("#DepartureCollapse input, #DepartureCollapse select").each(function(){$(this).prop("disabled",!1)}))}),$('button[name="button"]').on("click",async function(){var e,l,i,s,n=$('input[name="oneWayOrReturn"]:checked').val();"return"==n?((null===(e=$("#ArrivalCollapse:visible"))||void 0===e?void 0:e.length)<=0&&$("[data-target ='#ArrivalCollapse']").trigger("click"),(null===(l=$("#DepartureCollapse:visible"))||void 0===l?void 0:l.length)<=0&&$("[data-target ='#DepartureCollapse']").trigger("click")):"arrival_only"==n?(null===(i=$("#ArrivalCollapse:visible"))||void 0===i?void 0:i.length)<=0&&$("[data-target ='#ArrivalCollapse']").trigger("click"):"departure_only"==n&&(null===(s=$("#DepartureCollapse:visible"))||void 0===s?void 0:s.length)<=0&&$("[data-target ='#DepartureCollapse']").trigger("click")})}(),$("input").off("blur").on("blur",function(){let e=$(this).attr("name"),l=$(this).val();e&&l?$(this).removeClass("error"):$(this).hasClass("error")||$(this).addClass("error")}),$("select").on("change",function(){let e=$(this).attr("name");$(this).val()&&e?$(this).removeClass("error"):$(this).hasClass("error")||$(this).addClass("error")}),$(".next-btn-arrival").off("click").on("click",function(){if("return"==lt||"arrival_only"==lt){var e;lx(lu,!1),(null===(e=$(".next-btn-arrival").closest(".row").find(".error"))||void 0===e?void 0:e.length)<=0&&("return"==lt?$("[data-target ='#DepartureCollapse']").trigger("click"):$("[data-target ='#RemarksCollapse']").trigger("click"))}}),$(".next-btn-departure").off("click").on("click",function(){if("return"==lt||"departure_only"==lt){var e;lx(lm,!1),(null===(e=$(".next-btn-arrival").closest(".row").find(".error"))||void 0===e?void 0:e.length)<=0&&$("[data-target ='#RemarksCollapse']").trigger("click")}}),$("#PrivacyPolicyConsent").on("change",function(){!0===$(this).prop("checked")&&lx(lv,!0)})}),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"body--form mb-100 module-wrapperx no_taiwind",children:[(0,va.jsx)("div",{style:{display:"none"},className:"havaMap",children:e4&&"111"}),(0,va.jsxs)("p",{children:[(0,va.jsx)("span",{className:"remark",children:"*"}),eK(mT.W.COMMONFORM.REQUIRED)||"Required"]}),(0,va.jsxs)("form",{ref:e0,onSubmit:la(lr),id:"BookATransfer",className:"form form--subspt",method:"POST",encType:"multipart/form-data",children:[(0,va.jsx)("input",{type:"hidden",name:"ContextId",value:null==e?void 0:null===(i=e.rendering)||void 0===i?void 0:i.dataSource}),(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",defaultValue:(0,vS.at)(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.SuccessRedirectUrl)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.href,e$())}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",defaultValue:(0,vS.at)(null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.FailRedirectUrl)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.href,e$())}),(0,va.jsx)("input",{type:"hidden",className:"captchaErrorMessage",value:eK(mT.W.COMMONFORM.CAPTCHAERROR)}),(0,va.jsx)("input",{type:"hidden",className:"residenceLocation",value:""}),(0,va.jsx)("input",{type:"hidden",className:"stayedInThePast",value:"no"}),(0,va.jsx)("input",{type:"hidden",className:"stayedInProperty",value:""}),(0,va.jsx)("input",{type:"hidden",name:"language",value:"".concat(e$())}),(0,va.jsx)("input",{type:"hidden",name:"emailConfigurationId",value:"".concat(null==e?void 0:null===(r=e.rendering)||void 0===r?void 0:r.dataSource)}),(0,va.jsx)("input",{type:"hidden",className:"createdLocation",value:"".concat((null==e?void 0:null===(c=e.params)||void 0===c?void 0:c.ShortCode)||"THC")}),(0,va.jsx)("input",{type:"hidden",className:"MarketingOptinLastModifiedSource",value:"Website"}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("p",{id:"bookATransferError",className:"errorMessageForBookATransfer error-msg ".concat(e8?"":"inactive"),children:eK(mT.W.COMMONFORM.CORRECTFORMAT)})}),(0,va.jsxs)("div",{className:"col-sm-12 col-md-12 col-lg-12 accordion book-a-transfer-section-accordion",id:"howToGetThereAcc",children:[(0,va.jsxs)("div",{className:"book-a-transfer-section-item",children:[(0,va.jsx)("div",{className:"book-a-transfer-section-title",id:"PersonalInformation",children:(0,va.jsx)("button",{className:"never-close",type:"button","data-toggle":"collapse","data-target":"#PersonalInformationCollapse","aria-expanded":"false","aria-controls":"PersonalInformationCollapse",children:eK(mT.W.COMMONFORM.PERSONALINFORMATION)||"Personal Information"})}),(0,va.jsx)("div",{className:"book-a-transfer-section-content",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-left col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"BookingConfirmationNumber",children:[eK(mT.W.COMMONFORM.BOOKINGCONFIRMATIONNUMBER)||"CONFIRMATION NUMBER",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.BookingConfirmationNumber)||void 0===v?void 0:v.value)?(0,va.jsx)("input",{className:"input-field",type:"text",name:"bookingConfirmationNumber",value:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.BookingConfirmationNumber)||void 0===m?void 0:m.value,maxLength:254,readOnly:!0}):(0,va.jsx)("input",{className:"input-field",type:"text",name:"bookingConfirmationNumber",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-right col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-title",children:[(0,va.jsxs)("label",{htmlFor:"title",children:[eK(mT.W.COMMONFORM.TITLE)||"Title",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{name:"Title",className:"select2-hidden-accessible sel2-dropdown sel2-dropdown--title select-wrapper",children:[(0,va.jsx)("option",{value:"",children:eK(mT.W.COMMONFORM.SELECTTITLE)||"Select Title"}),(null===(f=e.fields)||void 0===f?void 0:null===(h=f.Title)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:p.Links)?Object.values(null===(N=e.fields)||void 0===N?void 0:null===(j=N.Title)||void 0===j?void 0:null===(g=j.fields)||void 0===g?void 0:g.Links).map((e,l)=>{var i,s,n,a,d;return(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value)&&(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.V
1alue)||void 0===n?void 0:n.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Text})})},l)})}):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-left col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"FirstName",children:[eK(mT.W.COMMONFORM.FIRSTNAME)||"First Name",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(null==e?void 0:null===(b=e.fields.FirstName)||void 0===b?void 0:b.value)?(0,va.jsx)("input",{className:"input-field",type:"text",name:"FirstName",value:null==e?void 0:null===(T=e.fields.FirstName)||void 0===T?void 0:T.value,maxLength:254,readOnly:!0}):(0,va.jsx)("input",{className:"input-field",type:"text",name:"FirstName",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-right col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"LastName",children:[eK(mT.W.COMMONFORM.LASTNAME)||"Last Name",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(null==e?void 0:null===(S=e.fields.LastName)||void 0===S?void 0:S.value)?(0,va.jsx)("input",{className:"input-field",type:"text",name:"LastName",value:null==e?void 0:null===(k=e.fields.LastName)||void 0===k?void 0:k.value,maxLength:254,readOnly:!0}):(0,va.jsx)("input",{className:"input-field",type:"text",name:"LastName",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-left col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"Email",children:[eK(mT.W.COMMONFORM.EMAIL)||"Email",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{id:"subEmail",className:"input-field",type:"text",name:"Email",value:null==e?void 0:null===(w=e.fields.Email)||void 0===w?void 0:w.value,maxLength:254})]})}),(0,va.jsx)("div",{className:"col-right col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"contactNumber",children:[eK(mT.W.COMMONFORM.CONTACTNUMBER)||"Contact Number",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"contactNumber",value:null==e?void 0:null===(y=e.fields.ContactNumber)||void 0===y?void 0:y.value,maxLength:254})]})}),(0,va.jsx)("div",{className:"col-left col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"description-flightinfo",children:(0,va.jsx)(vt.V,{name:"thc-book-a-transfer-flightinfo-description",rendering:e.rendering})})})]})})]}),(0,va.jsxs)("div",{className:"book-a-transfer-section-item",children:[(0,va.jsx)("div",{className:"book-a-transfer-section-title",id:"ServiceRequired",children:(0,va.jsx)("button",{className:"never-close",type:"button","data-toggle":"collapse","data-target":"#ServiceRequiredCollapse","aria-expanded":"false","aria-controls":"ServiceRequiredCollapse",children:eK(mT.W.COMMONFORM.SERVICEREQUIRED)||"Service Required"})}),(0,va.jsx)("div",{className:"book-a-transfer-section-content xm-col-sm-12",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"form--subspt--item ",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("h5",{children:eK(mT.W.COMMONFORM.ONEWAYORRETURN)||"One Way Or Return"})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsxs)("div",{className:"book-a-transfer-radio-wrap",children:[(0,va.jsxs)("label",{className:"book-a-transfer-radio-checkitem",children:[(0,va.jsx)("span",{"aria-labelledby":"OneWayOrReturn_Return",children:eK(mT.W.COMMONFORM.RETURN)||"Return"}),(0,va.jsx)("input",{...ld("oneWayOrReturn"),ref:e2,type:"radio",value:"return",name:"oneWayOrReturn",id:"OneWayOrReturn_Return",className:"input-radio radio-button-OneWayOrReturn",defaultChecked:!0}),(0,va.jsx)("span",{className:"book-a-transfer-radio-checkbox"})]}),(0,va.jsxs)("label",{className:"book-a-transfer-radio-checkitem",children:[(0,va.jsx)("span",{"aria-labelledby":"OneWayOrReturn_ArrivalOnly",children:eK(mT.W.COMMONFORM.ARRIVALONLY)||"Arrival Only"}),(0,va.jsx)("input",{...ld("oneWayOrReturn"),ref:e5,type:"radio",name:"oneWayOrReturn",value:"arrival_only",id:"OneWayOrReturn_ArrivalOnly",className:"input-radio radio-button-OneWayOrReturn"}),(0,va.jsx)("span",{className:"book-a-transfer-radio-checkbox"})]}),(0,va.jsxs)("label",{className:"book-a-transfer-radio-checkitem",children:[(0,va.jsx)("span",{"aria-labelledby":"OneWayOrReturn_DepartureOnly",children:eK(mT.W.COMMONFORM.DEPARTUREONLY)||"Departure Only"}),(0,va.jsx)("input",{...ld("oneWayOrReturn"),ref:e3,type:"radio",name:"oneWayOrReturn",value:"departure_only",id:"OneWayOrReturn_DepartureOnly",className:"input-radio radio-button-OneWayOrReturn"}),(0,va.jsx)("span",{className:"book-a-transfer-radio-checkbox"})]})]})})]})})}),(0,va.jsx)("div",{className:"col-button col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("button",{type:"button",name:"button-service-required",className:"btn btn--form btn--white",children:(0,va.jsx)("span",{children:eK(mT.W.COMMONFORM.ADDDETAILSBUTTON)||"ADD Details"})})})]})})]}),(0,va.jsxs)("div",{className:"book-a-transfer-section-item",children:[(0,va.jsx)("div",{className:"book-a-transfer-section-title",id:"Arrival",children:(0,va.jsx)("button",{className:"collapsed this-close",type:"button","data-toggle":"collapse","data-target":"#ArrivalCollapse","aria-expanded":"false","aria-controls":"ArrivalCollapse",children:eK(mT.W.COMMONFORM.ARRIVALDETAILS)||"Arrival Details"})}),(0,va.jsx)("div",{id:"ArrivalCollapse",className:"collapse ArrivalOnly Return","aria-labelledby":"Arrival","data-parent":"#howToGetThereAcc",children:(0,va.jsx)("div",{className:"book-a-transfer-section-content",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-left col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"ArrivalDate",children:[eK(mT.W.COMMONFORM.ARRIVALDATE)||"Arrival Date",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("div",{className:"ui-datepicker-wrapper",children:(null==e?void 0:null===(E=e.fields.ArrivalDate)||void 0===E?void 0:E.value)?(0,va.jsx)("input",{className:"input-field ",type:"text",id:"datepickerArrivalDate",name:"arrivalDate",value:null==e?void 0:null===(C=e.fields.ArrivalDate)||void 0===C?void 0:C.value,readOnly:!0}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("input",{className:"input-field",type:"text",id:"datepickerArrivalDate",name:"arrivalDate"})})})]})}),(0,va.jsx)("div",{className:"col-right col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper s-border",id:"value-time",children:[(0,va.jsxs)("label",{htmlFor:"arrivalTime",children:[eK(mT.W.COMMONFORM.ARRIVALTIME)||"Arrival Time",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{name:"arrivalTime",className:"select2-hidden-accessible sel2-dropdown sel2-dropdown--eventTime select-wrapper",children:[(0,va.jsx)("option",{className:"sel2-dropdown-opt",value:""}),eX?Object.values(eX).map((l,i)=>{var s,n;return(0,va.jsx)(vd.Fragment,{children:((null==e?void 0:null===(s=e.fields.ArrivalTime)||void 0===s?void 0:s.value)&&(null==e||null===(n=e.fields.ArrivalTime)||void 0===n||n.value),(0,va.jsx)("option",{className:"sel2-dropdown-opt",value:l,children:l}))},i)}):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-left col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-arrival-guest",children:[(0,va.jsxs)("label",{htmlFor:"arrivalNumberOfGuest",children:[eK(mT.W.COMMONFORM.NUMBEROFGUEST)||"Number Of Guest",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{name:"arrivalNumberOfGuest",className:"select2-hidden-accessible sel2-dropdown sel2-dropdown--arrival-guest select-wrapper",children:[(0,va.jsx)("option",{value:"",children:eK(mT.W.COMMONFORM.SELECTNUMBEROFGUEST)||"Select Number Of Guest"}),(null==e?void 0:null===(L=e.fields)||void 0===L?void 0:null===(O=L.NumberOfGuest)||void 0===O?void 0:O.fields.Links)?Object.values(null==e?void 0:null===(F=e.fields)||void 0===F?void 0:null===(I=F.NumberOfGuest)||void 0===I?void 0:I.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})})},l)}):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-right col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-arrival-car",children:[(0,va.jsxs)("label",{htmlFor:"arrivalCarType",children:[eK(mT.W.COMMONFORM.CARTYPE)||"Car Type",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{className:"select2-hidden-accessible sel2-dropdown sel2-dropdown--arrival-car select-wrapper",name:"arrivalCarType",children:[(0,va.jsx)("option",{value:"",children:eK(mT.W.COMMONFORM.SELECTCARTYPE)||"Select Car Type"}),(null==e?void 0:null===(M=e.fields)||void 0===M?void 0:null===(_=M.CarType)||void 0===_?void 0:_.fields.Links)?Object.values(null==e?void 0:null===(P=e.fields)||void 0===P?void 0:null===(R=P.CarType)||void 0===R?void 0:R.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})})},l)}):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-left col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-pickup-location",children:[(0,va.jsxs)("label",{htmlFor:"arrivalPickU
1pLocation",children:[eK(mT.W.COMMONFORM.PICKUPLOCATION)||"Pick Up Location",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{className:"select2-hidden-accessible sel2-dropdown sel2-dropdown--pickup-location select-wrapper",name:"arrivalPickUpLocation",children:[(0,va.jsx)("option",{value:"",children:eK(mT.W.COMMONFORM.SELECTPICKUPLOCATION)||"Select Pick Up Location"}),(null==e?void 0:null===(D=e.fields)||void 0===D?void 0:null===(A=D.OnOffLocation)||void 0===A?void 0:A.fields.Links)?Object.values(null==e?void 0:null===(V=e.fields)||void 0===V?void 0:null===(B=V.OnOffLocation)||void 0===B?void 0:B.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})})},l)}):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-right col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"arrivalPickupOtherLocation",children:eK(mT.W.COMMONFORM.PICKUPLOCATIONOTHERS)||"Pick Up Location Others"}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"arrivalPickupOtherLocation",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-left col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"arrivalFlightNumber",children:eK(mT.W.COMMONFORM.BOOKATRANSFERFLIGHTNUMBER)||"Book A Transfer Flight Number"}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"arrivalFlightNumber",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-button col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("button",{type:"button",name:"button-arrival-details",className:"btn btn--form btn--white next-btn-arrival",children:(0,va.jsx)("span",{children:eK(mT.W.COMMONFORM.NEXTBUTTON)||"Next"})})})]})})})]}),(0,va.jsxs)("div",{className:"book-a-transfer-section-item",children:[(0,va.jsx)("div",{className:"book-a-transfer-section-title",id:"Departure",children:(0,va.jsx)("button",{className:"collapsed this-close",type:"button","data-toggle":"collapse","data-target":"#DepartureCollapse","aria-expanded":"false","aria-controls":"DepartureC
1ollapse",children:eK(mT.W.COMMONFORM.DEPARTUREDETAILS)||"Departure Details"})}),(0,va.jsx)("div",{id:"DepartureCollapse",className:"collapse DepartureOnly Return","aria-labelledby":"Departure","data-parent":"#howToGetThereAcc",children:(0,va.jsx)("div",{className:"book-a-transfer-section-content",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-left col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"departureDate",children:[eK(mT.W.COMMONFORM.DEPARTUREDATE)||"Departure Date",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("div",{className:"ui-datepicker-wrapper",children:(0,va.jsx)("input",{className:"input-field",type:"text",id:"datepickerDepartureDate",name:"departureDate",value:null==e?void 0:null===(H=e.fields)||void 0===H?void 0:null===(W=H.DepartureDate)||void 0===W?void 0:W.value})})]})}),(0,va.jsx)("div",{className:"col-right col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper s-border",id:"value-time",children:[(0,va.jsxs)("label",{htmlFor:"departureTime",children:[eK(mT.W.COMMONFORM.DEPARTURETIME)||"Departure Time",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{className:"select2-hidden-accessible sel2-dropdown sel2-dropdown--eventTime select-wrapper",name:"departureTime",children:[(0,va.jsx)("option",{className:"sel2-dropdown-opt",value:""}),eX?Object.values(eX).map((e,l)=>(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)("option",{className:"sel2-dropdown-opt",value:e,children:e})},l)):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-left col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-departure-guest",children:[(0,va.jsxs)("label",{htmlFor:"departureNumberOfGuest",children:[eK(mT.W.COMMONFORM.NUMBEROFGUEST)||"Number Of Guest",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{className:"select2-hidden-accessible sel2-dropdown sel2-dropdown--departure-guest select-wrapper",name:"departureNumberOfGuest",children:[(0,va.jsx)("option",{value:"",children:eK(mT.W.COMMONFORM.SELECTNUMBEROFGUEST)||"Select Number Of Guest"}),(null==e?void 0:null===(U=e.fields)||void 0===U?void 0:null===(G=U.NumberOfGuest)||void 0===G?void 0:G.fields.Links)?Object.values(null==e?void 0:null===(q=e.fields)||void 0===q?void 0:null===(z=q.NumberOfGuest)||void 0===z?void 0:z.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})})},l)}):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-right col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-departure-car",children:[(0,va.jsxs)("label",{htmlFor:"departureCarType",children:[eK(mT.W.COMMONFORM.CARTYPE)||"Car Type",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{className:"select2-hidden-accessible sel2-dropdown sel2-dropdown--departure-car select-wrapper",name:"departureCarType",children:[(0,va.jsx)("option",{value:"",children:eK(mT.W.COMMONFORM.SELECTCARTYPE)||"Select Car Type"}),(null==e?void 0:null===(Y=e.fields)||void 0===Y?void 0:null===(Q=Y.CarType)||void 0===Q?void 0:Q.fields.Links)?Object.values(null==e?void 0:null===(Z=e.fields)||void 0===Z?void 0:null===(K=Z.CarType)||void 0===K?void 0:K.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})})},l)}):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-left col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-pickup-location",children:[(0,va.jsxs)("label",{htmlFor:"departureDropOffLocation",children:[eK(mT.W.COMMONFORM.DROPOFFLOCATION)||"Drop Off Location",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{className:"select2-hidden-accessible sel2-dropdown sel2-dropdown--pickup-location select-wrapper",name:"departureDropOffLocation",children:[(0,va.jsx)("option",{value:"",children:eK(mT.W.COMMONFORM.SELECTDROPOFFLOCATION)||"Select Drop Off Location"}),(null==e?void 0:null===(X=e.fields)||void 0===X?void 0:null===(J=X.OnOffLocation)||void 0===J?void 0:J.fields.Links)?Object.values(null==e?void 0:null===(el=e.fields)||void 0===el?void 0:null===(ee=el.OnOffLocation)||void 0===ee?void 0:ee.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})})},l)}):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-right col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"departureDropOffOtherLocation",children:eK(mT.W.COMMONFORM.DROPOFFLOCATIONOTHERS)||"Drop Off Location Others"}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"departureDropOffOtherLocation",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-left col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"departureFlightNumber",children:eK(mT.W.COMMONFORM.BOOKATRANSFERFLIGHTNUMBER)||"Book A Transfer Flight Number"}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"departureFlightNumber",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-button col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("button",{type:"button",name:"button-departure-details",className:"btn btn--form btn--white next-btn-departure",children:(0,va.jsx)("span",{children:eK(mT.W.COMMONFORM.NEXTBUTTON)||"Next"})})})]})})})]}),(0,va.jsxs)("div",{className:"book-a-transfer-section-item",children:[(0,va.jsx)("div",{className:"book-a-transfer-section-title",id:"Remarks",children:(0,va.jsx)("button",{className:"collapsed this-close",type:"button","data-toggle":"collapse","data-target":"#RemarksCollapse","aria-expanded":"false","aria-controls":"RemarksCollapse",children:eK(mT.W.COMMONFORM.REMARKSSECTION)||"Remarks Section"})}),(0,va.jsx)("div",{id:"RemarksCollapse",className:"collapse","aria-labelledby":"Remarks","data-
1parent":"#howToGetThereAcc",children:(0,va.jsx)("div",{className:"book-a-transfer-section-content",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"remarks",children:eK(mT.W.COMMONFORM.REMARKS)||"Remarks"}),(0,va.jsx)("textarea",{className:"input-field-textarea",name:"remarks",rows:5,placeholder:eK(mT.W.COMMONFORM.REMARKSPLACEHOLDER)||"Remarks Placeholder"})]})})})})})]})]}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"form--subspt--item ",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsxs)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:[(0,va.jsxs)("div",{className:"book-a-transfer-service-fee-section",children:[(0,va.jsx)("span",{className:"book-a-transfer-service-fee-title",children:eK(mT.W.COMMONFORM.SERVICEFEE)||"Service Fee"}),(0,va.jsx)("span",{className:"book-a-transfer-service-currency",children:(0,va.jsx)(vm.x,{field:(null==e?void 0:null===(ei=e.fields)||void 0===ei?void 0:ei.Currency)||"HKD"})}),(0,va.jsx)("span",{className:"book-a-transfer-service-fee",children:"0"})]}),(0,va.jsx)("div",{className:"book-a-transfer-other-service-fee-section",style:{display:"none"},children:(0,va.jsx)("span",{className:"",children:eK(mT.W.COMMONFORM.OTHERSERVICEFEE)||"Other Service Fee"})})]}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"book-a-transfer-radio-wrap",children:(0,va.jsxs)("label",{className:"book-a-transfer-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(es=e.fields)||void 0===es?void 0:es.PrivacyPolicyConsent})}),(0,va.jsx)("input",{type:"checkbox",name:"privacyPolicyConsent",id:"PrivacyPolicyConsent",value:"true",className:"input-radio"}),(0,va.jsx)("span",{className:"book-a-transfer-consent-checkbox"})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"book-a-transfer-radio-wrap small_checkbox sub-consent",children:(0,va.jsxs)("label",{className:"book-a-transfer-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(en=e.fields)||void 0===en?void 0:en.SensitiveInfoConsent})}),(0,va.jsx)("input",{type:"checkbox",name:"sensitiveInfo",id:"SensitiveInfoConsent",value:"true",className:"input-radio"}),(0,va.jsx)("span",{className:"book-a-transfer-consent-checkbox"})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"book-a-transfer-radio-wrap small_checkbox sub-consent",children:(0,va.jsxs)("label",{className:"book-a-transfer-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(ea=e.fields)||void 0===ea?void 0:ea.DataManageOutsideResidence})}),(0,va.jsx)("input",{type:"checkbox",name:"dataManageOutsideResidence",id:"DataManageOutsideResidence",value:"true",className:"input-radio"}),(0,va.jsx)("span",{className:"book-a-transfer-consent-checkbox"})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"book-a-transfer-radio-wrap small_checkbox sub-consent",children:(0,va.jsxs)("label",{className:"book-a-transfer-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(ed=e.fields)||void 0===ed?void 0:ed.DataManageWithinResidence})}),(0,va.jsx)("input",{type:"checkbox",name:"dataManageWithinResidence",id:"DataManageWithinResidence",value:"true",className:"input-radio"}),(0,va.jsx)("span",{className:"book-a-transfer-consent-checkbox"})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"book-a-transfer-radio-wrap",children:(0,va.jsxs)("label",{className:"book-a-transfer-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(et=e.fields)||void 0===et?void 0:et.ConsentMarketing})}),(0,va.jsx)("input",{type:"checkbox",name:"MarketingConsent",id:"MarketingConsent",value:"true",className:"input-radio"}),(0,va.jsx)("span",{className:"book-a-transfer-consent-checkbox"})]})})})]})})})]}),(0,va.jsx)("button",{ref:e1,type:"submit",name:"button",className:"btn btn--mega btn--white btn-go",children:(0,va.jsx)("span",{children:eK(null===mT.W||void 0===mT.W?void 0:mT.W.COMMONFORM.SUBMITBUTTON)||"Submit"})})]})]})})},mG={src:"https://www.upperhouse.com/_next/static/media/1x1.a2b8a221.png"},mU=e=>{let l=e=>{},i=async l=>{console.log("captchaVerifyCallback: ".concat(l));
1let i=await fetch(uc.MD.CAPTCHA,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({captchaVerifyParam:l})});if("200"!==i.status.toString())return{captchaResult:!1};{let l=await i.json();return(null==e?void 0:e.setToken)&&l.Token&&e.setToken(l.Token),{captchaResult:l.captchaVerifyResult}}},s=l=>{if(console.log("onBizResultCallback",l),l){var i;null===(i=document.getElementById("aliyun-captcha-div-"+(null==e?void 0:e.name)))||void 0===i||i.remove(),null==e||e.fnUpdate(!0)}},[n,a]=(0,vd.useState)(!1),{locale:d}=(0,vT.QT)();(0,vd.useEffect)(()=>{if(n){let n=()=>{window.initAliyunCaptcha({captchaLogoImg:mG.src,SceneId:"v0q0fre5o",mode:"embed",element:"#captcha-element-"+(null==e?void 0:e.name),button:"#captcha-button-"+(null==e?void 0:e.name),success:async e=>{let l=await i(e);(null==l?void 0:l.captchaResult)?s(!0):n()},fail:e=>{console.error(e)},getInstance:l,slideStyle:{width:360,height:40},language:vS.QJ[d()],immediate:!0})};n();return}{let e=document.createElement("script");e.id="aliyun-captcha",e.src="https://o.alicdn.com/captcha-frontend/aliyunCaptcha/AliyunCaptcha.js",document.body.appendChild(e),e.onload=()=>{a(!0)}}return()=>{var e,l;null===(e=document.getElementById("aliyunCaptcha-mask"))||void 0===e||e.remove(),null===(l=document.getElementById("aliyunCaptcha-window-popup"))||void 0===l||l.remove()}},[n]);let t={"--aliyun-captcha-z-index-base":25};return(null==e?void 0:e.zIndex)&&(t["--aliyun-captcha-z-index-base"]=e.zIndex),(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{style:t,children:(0,va.jsxs)("div",{id:"aliyun-captcha-div-".concat(e.name),className:vP(null==e?void 0:e.wrapperCssClass),children:[(0,va.jsx)("div",{id:"captcha-button-".concat(e.name),className:"invisible",children:"ç¹å»å¼¹åºéªè¯ç B"}),(0,va.jsx)("div",{id:"captcha-element-".concat(e.name),className:vP(null==e?void 0:e.elementCssClass)})]})})})},mz=e=>{var l,i,s,n,a,d;let{t,locale:o}=(0,vT.QT)(),r="DevelopmentEnquiry",c=(0,vd.useRef)(null),v=(0,vd.useRef)(null),[u,m]=(0,vd.useState)(!1),[x,p]=(0,vd.useState)(!1),{handleSubmit:h,register:f,formState:{errors:g}}=(0,mW.cI)();{let e=new MutationObserver(()=>{var e;(null==c?void 0:null===(e=c.current)||void 0===e?void 0:e.checkVisibility())?x||p(!0):p(!1)});(null==c?void 0:c.current)&&e.observe(null==c?void 0:c.current,{attributes:!0})}return(0,vd.useEffect)(function(){var e;(null==c?void 0:null===(e=c.current)||void 0===e?void 0:e.checkVisibility())&&p(!0)}),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("form",{ref:c,method:"post",onSubmit:h(()=>{var e,l,i;try{let i={},s=null==c?void 0:c.current;if(s)for(let e=0;e<s.elements.length;e++){let l=s.elements[e],n=l.getAttribute("name");n&&(i[n]=$(l).val())}if((null===(e=$(".btn.btn--white.btn--mega:visible").closest("form").find(".error"))||void 0===e?void 0:e.length)>0)return;null==v||null===(l=v.current)||void 0===l||l.setAttribute("disabled","true"),fetch(uc.MD.SEND_EMAIL,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)}).then(e=>e.json()).then(e=>{console.log(e),window.location.href=window.location.pathname+"/Thank-You"})}catch(e){console.log(e),null==v||null===(i=v.current)||void 0===i||i.removeAttribute("disabled")}}),"data-formtype":"developmentenquiry",id:r,className:"form form--subspt contact-form--item","data-form":r,children:[(0,va.jsx)("input",{type:"hidden",name:"emailConfigurationId",value:"".concat(null==e?void 0:null===(l=e.rendering)||void 0===l?void 0:l.dataSource)}),(0,va.jsx)("input",{type:"hidden",name:"language",value:"".concat(o())}),(0,va.jsx)("input",{type:"hidden",name:"section",value:"Development Enquiry Form"}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("p",{id:"developmentError",className:"errorMessageForDevelopment error-msg ".concat((null===(i=Object.keys(g))||void 0===i?void 0:i.length)>0?"":"inactive"),children:t(mT.W.COMMONFORM.CORRECTFORMAT)})}),(0,va.jsx)("div",{className:"col-12 col-lg-4",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-title3","data-value":"mr",children:[(0,va.jsxs)("label",{htmlFor:"dropdown--house",children:[t(mT.W.COMMONFORM.TITLE),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("select",{name:"title",className:"sel2-dropdown sel2-dropdown--title select-wrapper",children:(null===(n=e.fields)||void 0===n?void 0:null===(s=n.DevelopmentEnquiryFormTitle)||void 0===s?void 0:s.fields.Links)?Object.values(null===(d=e.fields)||void 0===d?void 0:null===(a=d.DevelopmentEnquiryFormTitle)||void 0===a?void 0:a.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})})]})})}),(0,va.jsx)("div",{className:"col-12 col-lg-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"firstname",children:[t(mT.W.COMMONFORM.FIRSTNAME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...f("firstname",{required:!0}),className:"input-field ".concat((null==g?void 0:g.firstname)&&"error"),type:"text",name:"firstname",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"lastname",children:[t(mT.W.COMMONFORM.LASTNAME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...f("lastname",{required:!0}),className:"input-field ".concat((null==g?void 0:g.lastname)&&"error"),type:"text",name:"lastname",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"",children:[t(mT.W.COMMONFORM.EMAIL),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...f("email",{required:!0,pattern:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/}),className:"input-field ".concat((null==g?void 0:g.email)&&"error"),type:"text",name:"email",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"",children:t(mT.W.COMMONFORM.CONTACTNUMBER)}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-4 col-lg-4",children:(0,va.jsx)("input",{...f("areacode",{pattern:/^[0-9+]+$/}),className:"input-field ".concat((null==g?void 0:g.areacode)&&"error"),type:"text",name:"areacode",maxLength:10,placeholder:t(mT.W.COMMONFORM.AREACODE)})}),(0,va.jsx)("div",{className:"col-8 col-lg-8",children:(0,va.jsx)("input",{...f("contactnumber",{pattern:/^[0-9+]+$/}),className:"input-field ".concat((null==g?void 0:g.contactnumber)&&"error"),type:"text",name:"contactnumber",maxLength:20})})]})]})}),(0,va.jsx)("div",{className:"col-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"companyname",children:[t(mT.W.COMMONFORM.COMPANYNAME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{type:"text",...f("companyname",{required:!0}),className:"input-field ".concat((null==g?void 0:g.companyname)&&"error"),name:"companyname",maxLength:80})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-12",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsx)("textarea",{...f("message",{required:!0}),className:"input-field ".concat((null==g?void 0:g.message)&&"error"),name:"message",rows:8,cols:80,maxLength:300,placeholder:t(mT.W.COMMONFORM.YOURENQUIRY)})})}),(0,va.jsx)("div",{className:"col-12",children:x&&(0,va.jsx)(mU,{fnUpdate:e=>{m(e)},name:"development"})})]}),(0,va.jsx)("button",{type:"submit",name:"button",className:"btn btn--white btn--mega",disabled:!u,children:t(mT.W.COMMONFORM.SUBMIT)})]})})},mq=i(39332),mQ=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H;let G=(0,mq.useSearchParams)(),U={},z={bookingConfirmationNumber:"confirmationNumber",Title:"Title",FirstName:"first",LastName:"last",Email:"email"};
1Object.keys(z).forEach(e=>{let l=G.get(z[e]);l&&(U[e]=l)});let{t:q,locale:Q}=(0,vT.QT)(),Y=(0,vd.useRef)(null),{handleSubmit:K,register:Z,setValue:J,formState:{errors:X}}=(0,mW.cI)({defaultValues:U}),ee=["00:00","00:30","01:00","01:30","02:00","02:30","03:00","03:30","04:00","04:30","05:00","05:30","06:00","06:30","07:00","07:30","08:00","08:30","09:00","09:30","10:00","10:30","11:00","11:30","12:00","12:30","13:00","13:30","14:00","14:30","15:00","15:30","16:00","16:30","17:00","17:30","18:00","18:30","19:00","19:30","20:00","20:30","21:00","21:30","22:00","22:30","23:00","23:30"];return(0,vd.useEffect)(function(){$("select").on("change",function(){let e=$(this).attr("name"),l=$(this).val();l&&e?($(this).removeClass("error"),J(e,l)):$(this).hasClass("error")||$(this).addClass("error")}),$("#PrivacyPolicyConsent").on("change",function(){$(this).closest(".row").find("span.guest-preference-radio-checkbox").each(function(){$(this).removeClass("error")}),!0===$(this).prop("checked")&&($("[name=dataManageWithinResidence]").prop("checked",!0),$("[name=dataManageOutsideResidence]").prop("checked",!0),$("[name=sensitiveInfo]").prop("checked",!0),J("dataManageWithinResidence","true"),J("dataManageOutsideResidence","true"),J("sensitiveInfo","true"))}),$("[name=arrivalDate]").on("blur",function(){$(this).val()&&$(this).removeClass("error")})}),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"body--form module-wrapperx",children:[(0,va.jsxs)("p",{children:[(0,va.jsx)("span",{className:"remark",children:"*"}),q(mT.W.COMMONFORM.REQUIRED)]}),(0,va.jsxs)("form",{onSubmit:K(()=>{try{var l,i;if((null===(l=$(".btn.btn--mega.btn--white:visible").closest("form").find(".error"))||void 0===l?void 0:l.length)>0)return;let s={},n=null==Y?void 0:Y.current;if(n){let e="";for(let l=0;l<n.elements.length;l++){let a=n.elements[l],d=a.getAttribute("name");d&&((null==a?void 0:a.getAttribute("type"))=="checkbox"?s[d]=(null===(i=$('[name="'.concat(d,'"]:checked')))||void 0===i?void 0:i.length)>0:s[d]=$(a).val(),d.startsWith("questionResponse")&&(e+="<p>".concat($(a).prev("label").text().replace(". "," - "),"</p><p>").concat($(a).val(),"</p><br/><br/>")))}s.questions=e}fetch(uc.MD.THC_PPA_FORM,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}).then(e=>e.json()).then(l=>{var i,s,n,a;console.log(l),(null==l?void 0:l.RedirectUrl)?window.location.href=null==l?void 0:l.RedirectUrl:window.location.href=null!==(a=(0,vS.at)(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.FailRedirectUrl)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,Q()))&&void 0!==a?a:"/"+Q()})}catch(e){console.log(e)}}),ref:Y,id:"guestpreference",className:"form form--subspt",encType:"multipart/form-data",children:[(0,va.jsx)("input",{type:"hidden",name:"ContextId",value:null==e?void 0:null===(l=e.rendering)||void 0===l?void 0:l.dataSource}),(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",defaultValue:(0,vS.at)(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.SuccessRedirectUrl)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,Q())}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",defaultValue:(0,vS.at)(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.FailRedirectUrl)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href,Q())}),(0,va.jsx)("input",{type:"hidden",name:"stayedInThePast",value:"no"}),(0,va.jsx)("input",{type:"hidden",name:"language",value:"".concat(Q())}),(0,va.jsx)("input",{type:"hidden",name:"emailConfigurationId",value:"".concat(null==e?void 0:null===(o=e.rendering)||void 0===o?void 0:o.dataSource)}),(0,va.jsx)("input",{type:"hidden",name:"marketingOptinLastModifiedSource",value:"Website"}),(0,va.jsx)("input",{type:"hidden",className:"createdLocation",value:"".concat((null==e?void 0:null===(r=e.params)||void 0===r?void 0:r.ShortCode)||"THC")}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("p",{id:"guestPreferenceError",className:"errorMessageForGuestPreference error-msg inactive",children:q(mT.W.COMMONFORM.CORRECTFORMAT)})}),(0,va.jsxs)("div",{className:"col-sm-12 col-md-12 col-lg-12 accordion guest-preference-section-accordion",id:"howToGetThereAcc",children:[(0,va.jsxs)("div",{className:"guest-preference-section-item",children:[(0,va.jsx)("div",{className:"guest-preference-section-title",id:"PersonalInformation",children:(0,va.jsx)("button",{className:"collapsed this-close",type:"button","data-toggle":"colBookATransferFormlapse","data-target":"#PersonalInformationCollapse","aria-expanded":"false","aria-controls":"PersonalInformationCollapse",children:q(mT.W.COMMONFORM.PERSONALINFORMATION)||"Personal Information"})}),(0,va.jsx)("div",{className:"guest-preference-section-content",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"bookingConfirmationNumber",children:[q(mT.W.COMMONFORM.BOOKINGCONFIRMATIONNUMBER)||"CONFIRMATION NUMBER",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(c=v.BookingConfirmationNumber)||void 0===c?void 0:c.value)?(0,va.jsx)("input",{className:"input-field",type:"text",name:"bookingConfirmationNumber",value:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.BookingConfirmationNumber)||void 0===u?void 0:u.value,maxLength:254,readOnly:!0}):(0,va.jsx)("input",{...Z("bookingConfirmationNumber",{required:!0}),className:"input-field ".concat((null==X?void 0:X.bookingConfirmationNumber)&&"error"),type:"text",name:"bookingConfirmationNumber",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-title",children:[(0,va.jsxs)("label",{htmlFor:"Title",children:[q(mT.W.COMMONFORM.TITLE)||"TITLE",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{...Z("Title",{required:!0}),className:"select2-hidden-accessible sel2-dropdown sel2-dropdown--title select-wrapper ".concat((null==X?void 0:X.Title)&&"error"),name:"Title",children:[(0,va.jsx)("option",{value:"",children:q(mT.W.COMMONFORM.SELECTTITLE)||"SELECT TITLE"}),(null==e?void 0:null===(p=e.fields)||void 0===p?void 0:null===(x=p.Title)||void 0===x?void 0:x.fields.Links)?Object.values(null==e?void 0:null===(f=e.fields)||void 0===f?void 0:null===(h=f.Title)||void 0===h?void 0:h.fields.Links).map((e,l)=>{var i,s,n,a,d;return(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value)&&(0,va.jsx)("option",{value:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.V
1alue)||void 0===n?void 0:n.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"FirstName",children:[q(mT.W.COMMONFORM.FIRSTNAME)||"FIRST NAME",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(null==e?void 0:null===(j=e.fields)||void 0===j?void 0:null===(g=j.FirstName)||void 0===g?void 0:g.value)?(0,va.jsx)("input",{className:"input-field",type:"text",name:"FirstName",value:null==e?void 0:null===(b=e.fields)||void 0===b?void 0:null===(N=b.FirstName)||void 0===N?void 0:N.value,maxLength:254,readOnly:!0}):(0,va.jsx)("input",{...Z("FirstName",{required:!0}),className:"input-field ".concat((null==X?void 0:X.FirstName)&&"error"),type:"text",name:"FirstName",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"LastName",children:[q(mT.W.COMMONFORM.LASTNAME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(null==e?void 0:null===(S=e.fields)||void 0===S?void 0:null===(T=S.FirstName)||void 0===T?void 0:T.value)?(0,va.jsx)("input",{className:"input-field",type:"text",name:"LastName",value:null==e?void 0:null===(w=e.fields)||void 0===w?void 0:null===(k=w.LastName)||void 0===k?void 0:k.value,maxLength:254,readOnly:!0}):(0,va.jsx)("input",{...Z("LastName",{required:!0}),className:"input-field ".concat((null==X?void 0:X.LastName)&&"error"),type:"text",name:"LastName",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"Email",children:[q(mT.W.COMMONFORM.EMAIL),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{id:"subEmail",...Z("Email",{required:!0,pattern:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/}),className:"input-field ".concat((null==X?void 0:X.Email)&&"error"),type:"text",name:"Email",defaultValue:null==e?void 0:null===(E=e.fields)||void 0===E?void 0:null===(y=E.Email)||void 0===y?void 0:y.value,maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"contactNumber",children:[q(mT.W.COMMONFORM.CONTACTNUMBER)||"CONTACT NUMBER",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...Z("contactNumber",{required:!0,pattern:/^[0-9+]+$/}),className:"input-field ".concat((null==X?void 0:X.contactNumber)&&"error"),type:"text",name:"contactNumber",defaultValue:null==e?void 0:null===(O=e.fields)||void 0===O?void 0:null===(C=O.ContactNumber)||void 0===C?void 0:C.value,maxLength:254})]})}),(0,va.jsx)("div",{className:"col-left col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"arrivalDate",children:[q(mT.W.COMMONFORM.ARRIVALDATE)||"ARRIVAL DATE",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("div",{className:"ui-datepicker-wrapper",children:(0,va.jsx)("input",{...Z("arrivalDate",{required:!0}),className:"input-field ".concat((null==X?void 0:X.arrivalDate)&&"error"),type:"text",id:"datepicker",name:"arrivalDate",defaultValue:null==e?void 0:null===(I=e.fields)||void 0===I?void 0:null===(L=I.ArrivalDate)||void 0===L?void 0:L.value})})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper s-border",id:"value-time",children:[(0,va.jsxs)("label",{htmlFor:"arrivalTime",children:[q(mT.W.COMMONFORM.ARRIVALTIME)||"ARRIVAL TIME",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{...Z("arrivalTime",{required:!0}),className:"select2-hidden-accessible sel2-dropdown sel2-dropdown--eventTime select-wrapper ".concat((null==X?void 0:X.arrivalTime)&&"error"),name:"arrivalTime",children:[(0,va.jsx)("option",{className:"sel2-dropdown-opt",value:""}),ee?Object.values(ee).map((e,l)=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{className:"sel2-dropdown-opt",value:e,children:e},l)})):(0,va.jsx)(va.Fragment,{})]})]})})})]})})]}),(0,va.jsxs)("div",{className:"no_taiwind",children:[(0,va.jsx)("div",{className:"guest-preference-section-title",id:"guest-preference",children:(0,va.jsx)("button",{className:"this-close",type:"button","data-toggle":"collapse","data-target":"#GuestPreferenceCollapse","aria-expanded":"true","aria-controls":"GuestPreferenceCollapse",children:q(mT.W.COMMONFORM.GUESTPREFERENCESECTION)||"YOUR PREFERENCE"})}),(0,va.jsx)("div",{id:"GuestPreferenceCollapse",className:"guest-preference-section-content collapse show",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"row",children:(null==e?void 0:null===(R=e.fields)||void 0===R?void 0:null===(M=R.QuestionList)||void 0===M?void 0:null===(_=M.fields)||void 0===_?void 0:null===(F=_.Links)||void 0===F?void 0:F.length)>0?Object.values(null==e?void 0:null===(A=e.fields)||void 0===A?void 0:null===(P=A.QuestionList)||void 0===P?void 0:P.fields.Links).map((e,l)=>{var i,s,n,a,d,t;let o="questionResponse[".concat(l,"]");return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"questions",children:(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.QuestionId)||void 0===i?void 0:i.value)+". "+(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.QuestionTitle)||void 0===n?void 0:n.value)}),(0,va.jsx)("textarea",{className:"input-field-textarea question",name:o,rows:3,placeholder:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.QuestionPlaceholder)||void 0===d?void 0:d.value})]})},l)})}):(0,va.jsx)(va.Fragment,{})})})})})]}),(0,va.jsx)("div",{className:"guest-preference-section-content",children:(0,va.jsx)("div",{className:"guest-preference-section-item",children:(0,va.jsxs)("div",{className:"form--subspt--item ",children:[(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"guest-preference-radio-wrap",children:(0,va.jsxs)("label",{className:"guest-preference-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(D=e.fields)||void 0===D?void 0:D.PrivacyPolicyConsent})}),(0,va.jsx)("input",{...Z("privacyPolicyConsent",{required:!0}),className:"input-radio",type:"checkbox",name:"privacyPolicyConsent",id:"PrivacyPolicyConsent",value:"true"}),(0,va.jsx)("span",{className:"guest-preference-radio-checkbox ".concat((null==X?void 0:X.privacyPolicyConsent)&&"error")})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"guest-preference-radio-wrap small_checkbox sub-consent",children:(0,va.jsxs)("label",{className:"guest-preference-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(B=e.fields)||void 0===B?void 0:B.SensitiveInfoConsent})}),(0,va.jsx)("input",{type:"checkbox",id:"SensitiveInfoConsent",value:"true",...Z("sensitiveInfo",{required:!0}),className:"input-radio",name:"sensitiveInfo"}),(0,va.jsx)("span",{className:"guest-preference-radio-checkbox ".concat((null==X?void 0:X.sensitiveInfo)&&"error")})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"guest-preference-radio-wrap small_checkbox sub-consent",children:(0,va.jsxs)("label",{className:"guest-preference-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null===(V=e.fields)||void 0===V?void 0:V.DataManageOutsideResidence})}),(0,va.jsx)("input",{...Z("dataManageOutsideResidence",{required:!0}),className:"input-radio",type:"checkbox",name:"dataManageOutsideResidence",id:"DataManageOutsideResidence",value:"true"}),(0,va.jsx)("span",{className:"guest-preference-radio-checkbox ".concat((null==X?void 0:X.dataManageOutsideResidence)&&"error")})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"guest-preference-radio-wrap small_checkbox sub-consent",children:(0,va.jsxs)("label",{className:"guest-preference-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(W=e.fields)||void 0===W?void 0:W.DataManageWithinResidence})}),(0,va.jsx)("input",{...Z("dataManageWithinResidence",{required:!0}),className:"input-radio",type:"checkbox",name:"dataManageWithinResidence",id:"DataManageWithinResidence",value:"true"}),(0,va.jsx)("span",{className:"guest-preference-radio-checkbox ".concat((null==X?void 0:X.dataManageWithinResidence)&&"error")})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"guest-preference-radio-wrap",children:(0,va.jsxs)("label",{className:"guest-preference-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(H=e.f
1ields)||void 0===H?void 0:H.ConsentMarketing})}),(0,va.jsx)("input",{className:"input-radio",type:"checkbox",name:"MarketingConsent",id:"MarketingConsent",value:"true"}),(0,va.jsx)("span",{className:"guest-preference-radio-checkbox"})]})})})]}),(0,va.jsx)("button",{type:"submit",name:"button",className:"btn btn--mega btn--white btn-go",children:(0,va.jsx)("span",{children:q(mT.W.COMMONFORM.SUBMITBUTTON)||"Submit"})})]})})})]})]})]})]})})},mY=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j;let[N,b]=(0,vd.useState)(!1),{locale:T}=(0,vT.QT)(),{sitecoreContext:S}=(0,vr.z)(),k=null!==(j=null==e?void 0:e.fields)&&void 0!==j?j:null==S?void 0:null===(l=S.route)||void 0===l?void 0:l.fields,{t:w}=(0,vT.QT)(),y='<option></option><option value="2"></option>'+(null==k?void 0:null===(s=k.ResidenceLocation)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.replaceAll('<item name="Hear_From_Us">',"").replaceAll("<Countries>","").replaceAll("</Countries>","").replaceAll("</item>","").replaceAll("Country","option").replaceAll("countryCode","value").replaceAll('description="',">").replaceAll('" />',"</option>")),E=uc.MD.THC_NEWSLETTER_FORM,C=(0,vd.useRef)(null),[O,L]=(0,vd.useState)(!1);return(0,vd.useEffect)(()=>{if(C.current)return $(document).on("ajaxSend.form",function(e,l,i){i.url==E&&L(!0)}),$(document).on("ajaxComplete.form",function(){L(!1)}),()=>{$(document).off("ajaxSend.form"),$(document).off("ajaxComplete.form")}},[E]),(0,va.jsxs)(va.Fragment,{children:[O?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsxs)("div",{className:"body--form mb-100 module-wrapper",children:[(0,va.jsxs)("p",{children:[(0,va.jsx)("span",{className:"remark",children:"*"}),w(mT.W.COMMONFORM.REQUIRED)]}),(0,va.jsxs)("form",{id:"keepInTouch",name:"keepintouch",className:"form form--subspt",action:E,method:"POST",encType:"multipart/form-data",ref:C,children:[(0,va.jsx)("input",{type:"hidden",name:"ContextId",value:null==k?void 0:null===(d=k.NewsletterForm)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:null===(n=a.Id)||void 0===n?void 0:n.value}),(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:(0,vS.at)(null==k?void 0:null===(o=k.SuccessRedirectUrl)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.href,T())}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:(0,vS.at)(null==k?void 0:null===(c=k.FailRedirectUrl)||void 0===c?void 0:null===(r=c.value)||void 0===r?void 0:r.href,T())}),(0,va.jsx)("input",{type:"hidden",name:"LastOptinSource",value:null==k?void 0:null===(v=k.LastOptinSource)||void 0===v?void 0:v.value}),(0,va.jsx)("input",{type:"hidden",className:"captchaErrorMessage",value:w(mT.W.COMMONFORM.CAPTCHAERROR)}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-title",children:[(0,va.jsxs)("label",{htmlFor:"dropdown--house",children:[w(mT.W.COMMONFORM.TITLE),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("select",{name:"Title",required:!0,className:"sel2-dropdown sel2-dropdown--title select-wrapper",children:(null==k?void 0:null===(u=k.NewsLetterFormTitle)||void 0===u?void 0:u.fields.Links)?Object.values(null==k?void 0:null===(m=k.NewsLetterFormTitle)||void 0===m?void 0:m.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-location","data-value":"",children:[(0,va.jsxs)("label",{htmlFor:"country",children:[w(mT.W.COMMONFORM.RESIDENCELOCATION),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("select",{"data-placeholder":w(mT.W.COMMONFORM.SELECTYOURLOCATION),name:"ResidenceLocation",className:"sel2-dropdown sel2-dropdown--country select-wrapper",dangerouslySetInnerHTML:{__html:y}})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"firstname",children:[w(mT.W.COMMONFORM.FIRSTNAME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"firstname",defaultValue:"",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"lastname",children:[w(mT.W.COMMONFORM.LASTNAME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"lastname",defaultValue:"",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"",children:[w(mT.W.COMMONFORM.EMAIL),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{id:"subEmail",className:"input-field",type:"text",name:"email",defaultValue:"",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"",children:[w(mT.W.COMMONFORM.CONFIRMEMAIL),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"confirmEmail",defaultValue:"",maxLength:254})]})}),(0,va.jsxs)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:[(0,va.jsx)("div",{className:"form--subspt--item ",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-sm-12 col-md-8 col-lg-8",children:(0,va.jsx)("h5",{children:(0,va.jsx)(vx.H,{field:k.RadioButtonContent})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-4 col-lg-4",children:(0,va.jsxs)("div",{className:"form--checkWrap",children:[(0,va.jsxs)("label",{className:"form--checkItem",children:[(0,va.jsx)("span",{children:w(mT.W.COMMONFORM.YES)}),(0,va.jsx)("input",{id:"stay_in_past_yes",type:"radio",defaultValue:"yes",name:"StayedWithUs",className:"input-radio",required:!0}),(0,va.jsx)("span",{className:"form--radio "})]}),(0,va.jsxs)("label",{className:"form--checkItem",children:[(0,va.jsx)("span",{children:w(mT.W.COMMONFORM.NO)}),(0,va.jsx)("input",{id:"stay_in_past_no",type:"radio",defaultValue:"no",name:"StayedWithUs",className:"input-radio"}),(0,va.jsx)("span",{className:"form--radio "})]})]})})]})}),(0,va.jsx)("div",{className:"hotel-opt hotel-opt--hotels js-field",children:(null==k?void 0:null===(h=k.StayedHotel)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:null===(x=p.Links)||void 0===x?void 0:x.length)>0?Object.values(null==k?void 0:null===(g=k.StayedHotel)||void 0===g?void 0:null===(f=g.fields)||void 0===f?void 0:f.Links).map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsxs)("label",{className:"hotel-opt--item",children:[(0,va.jsx)("span",{children:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Text)||void 0===i?void 0:i.value}),(0,va.jsx)("input",{type:"checkbox",name:"StayedHotels",id:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.V
1alue)||void 0===n?void 0:n.value,defaultValue:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Value)||void 0===d?void 0:d.value,className:"cb-stayhls"}),(0,va.jsx)("span",{className:"hotel-opt--cbox checkmark"})]},l)}):(0,va.jsx)(va.Fragment,{})})]}),(0,va.jsxs)("div",{className:"col-12 hotel-opt",children:[(0,va.jsxs)("label",{className:"hotel-opt--item consent-box consent",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==k?void 0:k.PrivacyPolicyConsent})}),(0,va.jsx)("input",{type:"checkbox",name:"PrivacyPolicyConsent",id:"PrivacyPolicyConsent",defaultValue:"yes"}),(0,va.jsx)("span",{className:"hotel-opt--cbox checkmark"})]}),(0,va.jsxs)("label",{className:"hotel-opt--item sub-consent",children:[(0,va.jsxs)("span",{children:[" ",(0,va.jsx)(vx.H,{field:null==k?void 0:k.SensitiveInfoConsent})]}),(0,va.jsx)("input",{type:"checkbox",name:"SensitiveInfoConsent",id:"SensitiveInfoConsent",defaultValue:"yes"}),(0,va.jsx)("span",{className:"hotel-opt--cbox checkmark"})]}),(0,va.jsxs)("label",{className:"hotel-opt--item sub-consent",children:[(0,va.jsxs)("span",{children:[" ",(0,va.jsx)(vx.H,{field:null==k?void 0:k.DataManageOutsideResidence})]}),(0,va.jsx)("input",{type:"checkbox",name:"DataManageOutsideResidence",id:"DataManageOutsideResidence",defaultValue:"yes"}),(0,va.jsx)("span",{className:"hotel-opt--cbox checkmark"})]}),(0,va.jsxs)("label",{className:"hotel-opt--item sub-consent",children:[(0,va.jsxs)("span",{children:[" ",(0,va.jsx)(vx.H,{field:null==k?void 0:k.DataManageWithinResidence})]}),(0,va.jsx)("input",{type:"checkbox",name:"DataManageWithinResidence",id:"DataManageWithinResidence",defaultValue:"yes"}),(0,va.jsx)("span",{className:"hotel-opt--cbox checkmark"})]}),(0,va.jsxs)("label",{className:"hotel-opt--item consent",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==k?void 0:k.MarketingOptinConsent})}),(0,va.jsx)("input",{type:"checkbox",name:"MarketingOptinConsent",id:"MarketingOptinConsent",defaultValue:"yes"}),(0,va.jsx)("span",{className:"hotel-opt--cbox checkmark"})]})]}),(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("div",{className:"hotel-opt form--agree",children:(0,va.jsx)("label",{className:" hotel-opt--item pl-0",children:(0,va.jsx)(vx.H,{field:null==k?void 0:k.CheckboxContent})})})}),(0,va.jsx)("div",{className:"col-sm-12",children:(0,va.jsx)(mU,{fnUpdate:e=>{b(e)},name:"subscription"})}),(0,va.jsx)("div",{className:"col-sm-12",children:(0,va.jsx)("div",{className:"form--subspt--item ",children:(0,va.jsx)("label",{className:"errorMessageForsub error",htmlFor:"thisform","data-msg":w(null===mT.W||void 0===mT.W?void 0:mT.W.COMMONFORM.CORRECTFORMAT)})})}),(0,va.jsx)("div",{className:"col-sm-12 marketing-consent-error",children:(0,va.jsx)("div",{className:"form--subspt--item ",children:w(null===mT.W||void 0===mT.W?void 0:mT.W.COMMONFORM.MARKETINGCONSENT)})})]}),(0,va.jsx)("button",{type:"submit",name:"button",className:"btn btn--mega btn--white",disabled:!N,children:(0,va.jsx)("span",{children:w(null===mT.W||void 0===mT.W?void 0:mT.W.COMMONFORM.SUBMIT)})})]})]})]})},mK=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k;let[w,y]=(0,vd.useState)(!1),{t:E,locale:C}=(0,vT.QT)(),O='<option selected></option><option value="2"></option>'+(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Location)||void 0===l?void 0:l.value.replaceAll('<item name="Hear_From_Us">',"").replaceAll("<Countries>","").replaceAll("</Countries>","").replaceAll("</item>","").replaceAll("Country","option").replaceAll("countryCode","value").replaceAll('description="',">").replaceAll('" />',"</option>")),L=uc.MD.THC_PPA_FORM,I=(0,vd.useRef)(null),[F,_]=(0,vd.useState)(!1);return(0,vd.useEffect)(()=>{if(I.current)return $(document).on("ajaxSend.form",function(e,l,i){i.url==L&&_(!0)}),$(document).on("ajaxComplete.form",function(){_(!1)}),()=>{$(document).off("ajaxSend.form"),$(document).off("ajaxComplete.form")}},[]),(0,va.jsxs)(va.Fragment,{children:[F?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsxs)("div",{className:"body--form module-wrapper",children:[(0,va.jsxs)("p",{children:[(0,va.jsx)("span",{className:"remark",children:"*"}),E(mT.W.COMMONFORM.REQUIRED)||"Required"]}),(0,va.jsxs)("form",{id:"ppaform",name:"ppaform",className:"form form--subspt",action:L,method:"POST",encType:"multipart/form-data",noValidate:!0,ref:I,children:[(0,va.jsx)("input",{type:"hidden",name:"ContextId",value:null==e?void 0:null===(s=e.rendering)||void 0===s?void 0:s.dataSource}),(0,va.jsx)("input",{type:"hidden",name:"language",value:C()}),(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",defaultValue:(0,vS.at)(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.SuccessRedirectUrl)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href,C())}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",defaultValue:(0,vS.at)(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.FailRedirectUrl)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.href,C())}),(0,va.jsx)("input",{type:"hidden",name:"CaptchaId"}),(0,va.jsx)("input",{type:"hidden",name:"captchaErrorMessage",className:"captchaErrorMessage",defaultValue:E(mT.W.COMMONFORM.CAPTCHAERROR)}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("p",{id:"ppaError",className:"errorMessageForPPA error-msg inactive",children:E(mT.W.COMMONFORM.CORRECTFORMAT)})}),(0,va.jsxs)("div",{className:"col-sm-12 col-md-12 col-lg-12 accordion ppa-form-section-accordion",id:"howToGetThereAcc",children:[(0,va.jsx)("div",{className:"ppa-section-item",children:(0,va.jsx)("div",{className:"ppa-section-content",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"FirstName",children:[E(mT.W.COMMONFORM.FIRSTNAME)||"First Name",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"FirstName",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"LastName",children:[E(mT.W.COMMONFORM.LASTNAME)||"Last Name",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"LastName",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"CompanyName",children:E(mT.W.COMMONFORM.COMPANYNAME)||"Company Name"}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"CompanyName",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"Address",children:E(mT.W.COMMONFORM.ADDRESS)||"Address"}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"Address",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-location","data-value":"",children:[(0,va.jsx)("label",{htmlFor:"Location",children:E(mT.W.COMMONFORM.LOCATION)||"Location"}),(0,va.jsx)("select",{"data-placeholder":E(mT.W.COMMONFORM.SELECTYOURLOCATION)||"Select Your Location",name:"Location",className:"sel2-dropdown sel2-dropdown--country select-wrapper",dangerouslySetInnerHTML:{__html:O}})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"ContactNumber",children:[E(mT.W.COMMONFORM.TELEPHONE)||"Telephone",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"ContactNumber",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"FaxNumber",children:E(mT.W.COMMONFORM.FAXNUMBER)||"Fax Number"}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"FaxNumber",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"Email",children:[E(mT.W.COMMONFORM.EMAIL)||"Email",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{id:"subEmail",className:"input-field",type:"text",name:"Email",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"WechatId",children:E(mT.W.COMMONFORM.WECHATID)||"Wechat Id"}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"WechatId",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"ArrivalDate",children:[E(mT.W.COMMONFORM.ARRIVALDATE)||"Arrival Date",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("div",{className:"ui-datepicker-wrapper",children:(0,va.jsx)("input",{className:"input-field ",type:"text",id:"datepickerPPAArrivalDate",name:"ArrivalDate",autoComplete:"off"})})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"DepartureDate",children:[E(mT.W.COMMONFORM.DEPARTUREDATE)||"Departure Date",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("div",{className:"ui-datepicker-wrapper",children:(0,va.jsx)("input",{className:"input-field ",type:"text",id:"datepickerPPADepartureDate",name:"DepartureDate",autoComplete:"off"})}),(0,va.jsx)("div",{className:"note-under-input-field",children:E(mT.W.COMMONFORM.DEPARTUREDATENOTE)||"Departure Date Note"})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"NumberOfAdults",children:E(mT.W.COMMONFORM.NUMBEROFADULTS)||"Number Of Adults"}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"NumberOfAdults",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"NumberOfChildren",children:E(mT.W.COMMONFORM.NUMBEROFCHILDREN)||"Number Of Children"}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"NumberOfChildren",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-numberofbedrooms",children:[(0,va.jsxs)("label",{htmlFor:"NumberOfBedrooms",children:[E(mT.W.COMMONFORM.NUMBEROFBEDROOMS)||"Number Of Bedrooms",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{name:"NumberOfBedrooms",className:"sel2-dropdown sel2-dropdown--ppa-numberofbedrooms select-wrapper",children:[(0,va.jsx)("option",{disabled:!0,children:E(mT.W.COMMONFORM.SELECTNUMBEROFBEDROOMS)||"Select Number of Bedrooms"}),(null===(u=e.fields)||void 0===u?void 0:null===(v=u.NumberOfBedrooms)||void 0===v?void 0:null===(c=v.fields.Links)||void 0===c?void 0:c.length)?Object.values(null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.NumberOfBedrooms)||void 0===m?void 0:m.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"MonthlyEstimatedBudget",children:E(mT.W.COMMONFORM.MONTHLYESTIMATEDBUDGET)||"Monthly Estimated Budget"}),(0,va.jsx)("input",{className:"input-field",type:"text",name:"MonthlyEstimatedBudget",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-howdidyouheaerfromus",children:[(0,va.jsx)("label",{htmlFor:"HowDidYouHearFromUs",children:E(mT.W.COMMONFORM.HOWDIDYOUHEARFROMUS)||"How Did You Hear From Us"}),(0,va.jsxs)("select",{name:"HowDidYouHearFromUs",className:"sel2-dropdown sel2-dropdown--ppa-howdidyouhearfromus select-wrapper",children:[(0,va.jsx)("option",{disabled:!0,children:E(mT.W.COMMONFORM.SELECTHOWDIDYOUHEARFROMUS)||"Select How Did You Hear From Us"}),(null==e?void 0:null===(f=e.fields)||void 0===f?void 0:null===(h=f.HowDidYouHearFromUs)||void 0===h?void 0:null===(p=h.fields.Links)||void 0===p?void 0:p.length)?Object.values(null==e?void 0:null===(j=e.fields)||void 0===j?void 0:null===(g=j.HowDidYouHearFromUs)||void 0===g?void 0:g.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-12 col-lg-12",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsx)("textarea",{rows:8,cols:80,name:"EnquiryMessage",maxLength:300,placeholder:E(mT.W.COMMONFORM.ENQUIRYMESSAGE)||"Enquiry Message"})})})]})})}),(0,va.jsx)("div",{className:"ppa-section-content",children:(0,va.jsx)("div",{className:"ppa-section-item",children:(0,va.jsx)("div",{className:"form--subspt--item ",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"ppa-form-consent",children:(0,va.jsxs)("label",{className:"ppa-form-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(N=e.fields)||void 0===N?void 0:N.PrivacyPolicyConsent})}),(0,va.jsx)("input",{type:"checkbox",name:"PrivacyPolicyConsent",id:"PrivacyPolicyConsent",value:"agree",className:"input-radio"}),(0,va.jsx)("span",{className:"ppa-form-radio-checkbox"})]})})})})})})}),(0,va.jsx)("div",{className:"ppa-section-content",children:(0,va.jsx)("div",{className:"ppa-section-item",children:(0,va.jsx)("div",{className:"form--subspt--item ",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"ppa-form-consent small_checkbox sub-consent",children:(0,va.jsxs)("label",{className:"ppa-form-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(b=e.fields)||void 0===b?void 0:b.SensitiveInfoConsent})}),(0,va.jsx)("input",{type:"checkbox",name:"SensitiveInfoConsent",id:"SensitiveInfoConsent",value:"agree",className:"input-radio"}),(0,va.jsx)("span",{className:"ppa-form-radio-checkbox"})]})})})})})})}),(0,va.jsx)("div",{className:"ppa-section-content",children:(0,va.jsx)("div",{className:"ppa-section-item",children:(0,va.jsx)("div",{className:"form--subspt--item ",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"ppa-form-consent small_checkbox sub-consent",children:(0,va.jsxs)("label",{className:"ppa-form-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(T=e.fields)||void 0===T?void 0:T.DataManageOutsideResidence})}),(0,va.jsx)("input",{type:"checkbox",name:"DataManageOutsideResidence",id:"DataManageOutsideResidence",value:"agree",className:"input-radio"}),(0,va.jsx)("span",{className:"ppa-form-radio-checkbox"})]})})})})})})}),(0,va.jsx)("div",{className:"ppa-section-content",children:(0,va.jsx)("div",{className:"ppa-section-item",children:(0,va.jsx)("div",
1{className:"form--subspt--item ",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"ppa-form-consent small_checkbox sub-consent",children:(0,va.jsxs)("label",{className:"ppa-form-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(S=e.fields)||void 0===S?void 0:S.DataManageWithinResidence})}),(0,va.jsx)("input",{type:"checkbox",name:"DataManageWithinResidence",id:"DataManageWithinResidence",value:"agree",className:"input-radio"}),(0,va.jsx)("span",{className:"ppa-form-radio-checkbox"})]})})})})})})}),(0,va.jsx)("div",{className:"ppa-section-content",children:(0,va.jsx)("div",{className:"ppa-section-item",children:(0,va.jsx)("div",{className:"form--subspt--item ",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"ppa-form-consent",children:(0,va.jsxs)("label",{className:"ppa-form-radio-checkitem",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(k=e.fields)||void 0===k?void 0:k.ConsentMarketing})}),(0,va.jsx)("input",{type:"checkbox",name:"MarketingConsent",id:"MarketingConsent",value:"agree",className:"input-radio"}),(0,va.jsx)("span",{className:"ppa-form-radio-checkbox"})]})})})})})})}),(0,va.jsx)("div",{className:"ppa-section-content",children:(0,va.jsx)("div",{className:"ppa-section-item",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)(mU,{wrapperCssClass:"bg-transparent",elementCssClass:"thc",fnUpdate:e=>{y(e)},name:"ppa"})}),(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("button",{type:"submit",name:"button",className:"btn btn--mega btn--white",disabled:!w,children:(0,va.jsx)("span",{children:E(mT.W.COMMONFORM.SUBMITBUTTON)||"Submit Button"})})})]})})})]})]})]})]})]})},m$=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x;let{t:p}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("form",{method:"post",action:null==e?void 0:null===(l=e.fields.ApiUrl)||void 0===l?void 0:l.value,id:"mainform",children:(0,va.jsxs)("div",{id:"login-form",className:"form","data-action":null==e?void 0:null===(i=e.fields.ApiUrl)||void 0===i?void 0:i.value,"data-redirect":null==e?void 0:null===(a=e.fields.MediaLoginForm)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.RedirectUrl)||void 0===s?void 0:s.value,children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(t=e.fields.MediaLoginForm)||void 0===t?void 0:null===(d=t.fields)||void 0===d?void 0:d.LoginTitle})}),(0,va.jsx)("p",{className:"error-message",children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(r=e.fields.MediaLoginForm)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:o.LoginErrorMessage})}),(0,va.jsxs)("div",{className:"fieldset",children:[(0,va.jsx)(vm.x,{field:null==e?void 0:null===(v=e.fields.MediaLoginForm)||void 0===v?void 0:null===(c=v.fields)||void 0===c?void 0:c.LoginBody}),(0,va.jsx)("div",{className:"field fullwidth",children:(0,va.jsx)("input",{placeholder:p(mT.W.FORMS.PASSWORD),maxLength:10,type:"password",name:"Password",className:"fullwidth","data-validate":"required"})}),(0,va.jsx)("input",{name:"Machine",type:"hidden",className:"hidden"}),(0,va.jsx)("input",{name:"FormName",type:"hidden",className:"hidden",value:"login"}),(0,va.jsx)("input",{type:"submit",value:p(mT.W.FORMS.LOGIN),className:"button small"})]}),(0,va.jsx)("div",{className:"fail",children:(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.MediaLoginForm)||void 0===m?void 0:null===(u=m.fields)||void 0===u?void 0:u.LoginFailMessage})})})]})})})}),mZ=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let{t:m}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("form",{method:"post",action:null==e?void 0:null===(l=e.fields.ApiUrl)||void 0===l?void 0:l.value,id:"mainform",children:(0,va.jsxs)("div",{id:"register-form",className:"form","data-action":null==e?void 0:null===(i=e.fields.ApiUrl)||void 0===i?void 0:i.value,children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields.MediaRegisterForm)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:s.RegisterTitle})}),(0,va.jsx)("p",{className:"error-message",children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(d=e.fields.MediaRegisterForm)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:a.RegisterErrorMessage})}),(0,va.jsxs)("div",{className:"fieldset",children:[(0,va.jsx)(vm.x,{field:null==e?void 0:null===(o=e.fields.MediaRegisterForm)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:t.RegisterBody}),(0,va.jsx)("div",{className:"field odd",children:(0,va.jsx)("input",{type:"text","data-validate":"required",name:"Firstname",placeholder:m(mT.W.FORMS.FIRSTNAME)})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("input",{type:"text","data-validate":"required",name:"Lastname",placeholder:m(mT.W.FORMS.LASTNAME)})}),(0,va.jsx)("div",{className:"field odd",children:(0,va.jsx)("input",{type:"text","data-validate":"required email",name:"email",placeholder:m(mT.W.FORMS.EMAIL)})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("input",{type:"text","data-validate":"required",name:"Publication",placeholder:m(mT.W.FORMS.PUBLICATION)})}),(0,va.jsx)("input",{type:"hidden",name:"Machine",className:"hidden"}),(0,va.jsx)("input",{type:"hidden",name:"FormName",className:"hidden",value:"mediaregistration"}),(0,va.jsx)("input",{type:"submit",value:m(mT.W.FORMS.REGISTER),className:"button small"})]}),(0,va.jsx)("div",{className:"success",children:(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(c=e.fields.MediaRegisterForm)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:r.RegisterSuccessMessage})})}),(0,va.jsx)("div",{className:"fail",children:(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(u=e.fields.MediaRegisterForm)||void 0===u?void 0:null===(v=u.fields)||void 0===v?void 0:v.RegisterFailMessage})})})]})})})}),mJ=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w;let{t:y}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("form",{method:"post",action:null==e?void 0:null===(l=e.fields.ApiUrl)||void 0===l?void 0:l.value,id:"mainform",children:(0,va.jsxs)("div",{id:"subscription-form",className:"form","data-action":null==e?void 0:null===(i=e.fields.ApiUrl)||void 0===i?void 0:i.value,children:[(0,va.jsx)("p",{className:"error-message",children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields.SubscriptionForm)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:s.SubscriptionErrorMessage})}),(0,va.jsxs)("div",{className:"fieldset",children:[(0,va.jsx)(vm.x,{field:null==e?void 0:null===(d=e.fields.SubscriptionForm)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:a.SubscriptionBody}),(0,va.jsxs)("div",{className:"cols2-content personal-info",children:[(0,va.jsxs)("div",{className:"col",children:[(0,va.jsx)("div",{className:"field",children:(0,va.jsxs)("select",{name:"Title","data-validate":"required",className:"custom",children:[(0,va.jsx)("option",{disabled:!0,children:y(mT.W.COMMONFORM.SELECTTITLE)}),(null===(r=e.fields.SubscriptionForm)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:null===(t=o.TitleOptions)||void 0===t?void 0:t.fields.Links)?Object.values(null===(u=e.fields.SubscriptionForm)||void 0===u?void 0:null===(v=u.fields)||void 0===v?void 0:null===(c=v.TitleOptions)||void 0===c?void 0:c.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("input",{type:"text","data-validate":"required",name:"Firstname",placeholder:y(mT.W.FORMS.FIRSTNAME)})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("input",{type:"text","data-validate":"required",name:"Lastname",placeholder:y(mT.W.FORMS.LASTNAME)})})]}),(0,va.jsxs)("div",{className:"col",children:[(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("input",{type:"email","data-validate":"required email",name:"Email",placeholder:y(mT.W.FORMS.EMAIL)})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("input",{type:"email","data-validate":"required email equal","data-equal":"Email",n
1ame:"ConfirmEmail",placeholder:y(mT.W.FORMS.CONFIRMEMAIL)})})]})]}),(0,va.jsxs)("div",{className:"stays",children:[(0,va.jsx)("label",{htmlFor:"stay_y",children:y(mT.W.FORMS.HAVEYOUSTAYEDWITHUSBEFORE)}),(0,va.jsxs)("span",{className:"field",children:[(0,va.jsx)("input",{type:"radio",name:"Stay",value:"1",id:"stay_y",className:"stay radio","data-validate":"refChecked","data-ref":"hotels[]"}),(0,va.jsx)("label",{htmlFor:"stay_y",children:y(mT.W.FORMS.YES)})]}),(0,va.jsxs)("span",{className:"field",children:[(0,va.jsx)("input",{type:"radio",name:"Stay",value:"0",id:"stay_n",className:"stay radio"}),(0,va.jsx)("label",{htmlFor:"stay_n",children:y(mT.W.FORMS.NO)})]})]}),(0,va.jsx)("div",{className:"hotels cols-3",children:(null==e?void 0:null===(h=e.fields.SubscriptionForm)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:null===(x=p.Hotels)||void 0===x?void 0:null===(m=x.fields.Links)||void 0===m?void 0:m.length)>0?Object.values(null==e?void 0:null===(j=e.fields.SubscriptionForm)||void 0===j?void 0:null===(g=j.fields)||void 0===g?void 0:null===(f=g.Hotels)||void 0===f?void 0:f.fields.Links).map((e,l)=>{var i,s,n,a,d,t,o,r;return(0,va.jsxs)("span",{className:"field col",children:[(0,va.jsx)("input",{name:"hotels[]",id:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,type:"checkbox",value:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.V
1alue)||void 0===n?void 0:n.value,className:"checkbox"}),(0,va.jsx)("label",{htmlFor:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Value)||void 0===d?void 0:d.value,children:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Text)||void 0===o?void 0:o.value})]},l)}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsxs)("div",{children:[(0,va.jsx)("input",{name:"agree_privacy",id:"agree_privacy",type:"checkbox",value:"true",className:"checkbox long-text checked",checked:!0}),(0,va.jsx)("label",{htmlFor:"agree_privacy",children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(b=e.fields)||void 0===b?void 0:null===(N=b.SubscriptionForm)||void 0===N?void 0:N.fields.SubscriptionPicAgreement})})]}),(0,va.jsx)("input",{name:"Machine",className:"hidden",type:"hidden"}),(0,va.jsx)("input",{name:"FormName",className:"hidden",type:"hidden",value:"subscription"}),(0,va.jsx)("input",{type:"submit",value:y(mT.W.FORMS.SUBMIT),className:"button small","data-confirm-msg":y(mT.W.FORMS.ALERTMESSAGE)})]}),(0,va.jsx)("div",{className:"success",children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(S=e.fields)||void 0===S?void 0:null===(T=S.SubscriptionForm)||void 0===T?void 0:T.fields.SubscriptionSuccessMessage})}),(0,va.jsx)("div",{className:"fail",children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(w=e.fields)||void 0===w?void 0:null===(k=w.SubscriptionForm)||void 0===k?void 0:k.fields.SubscriptionFailMessage})})]})})})}),mX=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;let{t:x,locale:p}=(0,vT.QT)(),h=(0,vd.useRef)(null),f=["12:00pm","12:30pm","01:00pm","01:30pm","02:00pm","02:30pm","03:00pm","03:30pm","04:00pm","04:30pm","05:00pm","05:30pm","06:00pm","06:30pm","07:00pm","07:30pm","08:00pm","08:30pm","09:00pm","09:30pm","10:00pm","10:30pm","11:00pm","11:30pm","11:30pm"],g="EventInquiry",[j,N]=(0,vd.useState)(!0),[b,T]=(0,vd.useState)(!1),[S,k]=(0,vd.useState)(!1);{let e=new MutationObserver(()=>{var e;(null==h?void 0:null===(e=h.current)||void 0===e?void 0:e.checkVisibility())?S||k(!0):k(!1)});(null==h?void 0:h.current)&&e.observe(null==h?void 0:h.current,{attributes:!0})}async function w(){try{var e;let l={},i=null==h?void 0:h.current;if(i)for(let e=0;e<i.elements.length;e++){let s=i.elements[e],n=s.getAttribute("name");n&&(l[n]=$(s).val())}if((null===(e=$(".btn.btn--white.btn--mega:visible").closest("form").find(".error"))||void 0===e?void 0:e.length)>0||j){N(!1);return}T(!0),N(!0),fetch(SiteApiPaths.SEND_EMAIL,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)}).then(e=>e.json()).then(e=>{console.log(e),window.location.href=window.location.pathname+"/Thank-You"})}catch(e){console.log(e),T(!1)}}let{handleSubmit:y,register:E,setValue:C,trigger:O,formState:{errors:L}}=(0,mW.cI)();return(0,vd.useEffect)(function(){var e;$(".datepicker-field").on("blur",function(){$(this).val()&&$(this).removeClass("error")}),(null==h?void 0:null===(e=h.current)||void 0===e?void 0:e.checkVisibility())&&k(!0),(null==h?void 0:h.current)&&$(null==h?void 0:h.current).find("select,[name=eventdate]").off("change").on("change",function(){let e=this,l=$(this).attr("name"),i=$(this).val();l&&i?O(l).then(function(){C(l,i,{shouldValidate:!0,shouldTouch:!0}),$(e).removeClass("error")}):$(this).hasClass("error")||$(this).addClass("error")}),(null==h?void 0:h.current)&&$(null==h?void 0:h.current).find("[name=eventdate]").off("blur").on("blur",function(){let e=this,l=$(this).attr("name"),i=$(this).val();l&&i?O(l).then(function(){C(l,i,{shouldValidate:!0,shouldTouch:!0}),$(e).removeClass("error")}):$(this).hasClass("error")||$(this).addClass("error")})}),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("form",{"data-formtype":"eventenquiry",id:g,className:"form form--subspt contact-form--item","data-form":g,ref:h,children:[(0,va.jsx)("input",{type:"hidden",name:"emailConfigurationId",value:"".concat(null==e?void 0:null===(l=e.rendering)||void 0===l?void 0:l.dataSource)}),(0,va.jsx)("input",{type:"hidden",name:"language",value:"".concat(p())}),(0,va.jsx)("input",{type:"hidden",name:"section",value:"Event Enquiry Form"}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("p",{id:"eventError",className:"errorMessageForEvent error-msg ".concat((null===(i=Object.keys(L))||void 0===i?void 0:i.length)>
10?"":"inactive"),children:x(mT.W.COMMONFORM.CORRECTFORMAT)})}),(0,va.jsx)("div",{className:"col-12 col-lg-4",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-title3","data-value":"mr",children:[(0,va.jsxs)("label",{htmlFor:"dropdown--house",children:[x(mT.W.COMMONFORM.TITLE),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("select",{...E("title",{required:!0}),name:"title",className:"isSesel2-dropdown sel2-dropdown--title select-wrapperlected",children:(null===(n=e.fields)||void 0===n?void 0:null===(s=n.EventFormTitle)||void 0===s?void 0:s.fields.Links)?Object.values(null===(d=e.fields)||void 0===d?void 0:null===(a=d.EventFormTitle)||void 0===a?void 0:a.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})})]})})}),(0,va.jsx)("div",{className:"col-12 col-lg-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"firstname",children:[x(mT.W.COMMONFORM.FIRSTNAME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...E("firstname",{required:!0}),className:"input-field ".concat((null==L?void 0:L.firstname)&&"error"),type:"text",name:"firstname",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"lastname",children:[x(mT.W.COMMONFORM.LASTNAME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...E("lastname",{required:!0}),className:"input-field ".concat((null==L?void 0:L.lastname)&&"error"),type:"text",name:"lastname",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"",children:[x(mT.W.COMMONFORM.EMAIL),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...E("email",{required:!0,pattern:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/}),className:"input-field ".concat((null==L?void 0:L.email)&&"error"),type:"text",name:"email",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"",children:x(mT.W.COMMONFORM.CONTACTNUMBER)}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-4 col-lg-4",children:(0,va.jsx)("input",{...E("areacode",{pattern:/^[0-9+]+$/}),className:"input-field ".concat((null==L?void 0:L.areacode)&&"error"),type:"text",name:"areacode",maxLength:10,placeholder:x(mT.W.COMMONFORM.AREACODE)})}),(0,va.jsx)("div",{className:"col-8 col-lg-8",children:(0,va.jsx)("input",{...E("contactnumber",{pattern:/^[0-9+]+$/}),className:"input-field ".concat((null==L?void 0:L.contactnumber)&&"error"),type:"text",name:"contactnumber",maxLength:20})})]})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"",children:[x(mT.W.COMMONFORM.EVENTDATE),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("div",{className:"ui-datepicker-wrapper",children:(0,va.jsx)("input",{...E("eventdate",{required:!0}),className:"datepicker-field input-field ".concat((null==L?void 0:L.eventdate)&&"error"),type:"text",id:"datepicker",name:"eventdate",style:{cursor:"pointer"}})})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper s-border",id:"value-time",children:[(0,va.jsxs)("label",{htmlFor:"dropdown--house",children:[x(mT.W.COMMONFORM.EVENTTIME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{...E("eventtime",{required:!0}),name:"eventtime",className:"select2-hidden-accessible sel2-dropdown sel2-dropdown--eventTime select-wrapper ".concat((null==L?void 0:L.eventtime)&&"error"),children:[(0,va.jsx)("option",{className:"sel2-dropdown-opt",value:""}),f?Object.values(f).map((e,l)=>(0,va.jsx)("option",{className:"sel2-dropdown-opt",value:e,label:e,children:e},l)):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-12 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"",children:[x(mT.W.COMMONFORM.ESTIMATEDGUESTS),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...E("guests",{required:!0,pattern:/^[0-9+]+$/}),className:"input-field ".concat((null==L?void 0:L.guests)&&"error"),name:"guests",type:"text",maxLength:3})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"",children:[x(mT.W.COMMONFORM.TYPEOFEVENT),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...E("eventtype",{required:!0}),className:"input-field ".concat((null==L?void 0:L.eventtype)&&"error"),name:"eventtype",type:"text",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"",children:null===(r=(0,vr.z)().sitecoreContext.route)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:null===(t=o.SiteNavigationTitle)||void 0===t?void 0:t.value}),(0,va.jsx)("input",{name:"answer",type:"text",className:"input-field",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-12",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper s-border",id:"value-venue",children:[(0,va.jsxs)("label",{htmlFor:"dropdown--house",children:[x(mT.W.COMMONFORM.PREFERREDVENUE),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{...E("preferredvenue",{required:!0}
1),className:"sel2-dropdown sel2-dropdown--eventVenue select-wrapper ".concat((null==L?void 0:L.preferredvenue)&&"error"),name:"preferredvenue",children:[(0,va.jsx)("option",{disabled:!0,value:""}),(null===(v=e.fields)||void 0===v?void 0:null===(c=v.PreferredVenue)||void 0===c?void 0:c.fields.Links)?Object.values(null===(m=e.fields)||void 0===m?void 0:null===(u=m.PreferredVenue)||void 0===u?void 0:u.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-12 col-lg-12",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsx)("textarea",{...E("message",{required:!0}),className:"".concat((null==L?void 0:L.message)&&"error"),rows:8,cols:80,name:"message",maxLength:300,placeholder:x(mT.W.COMMONFORM.YOURENQUIRY)})})}),(0,va.jsx)("div",{className:"col-12",children:S&&(0,va.jsx)(mU,{fnUpdate:e=>{T(e)},name:"event"})})]}),(0,va.jsx)("button",{disabled:!b,type:"submit",name:"button",className:"btn btn--white btn--mega btn-event",onClick:y(w),children:x(mT.W.COMMONFORM.SUBMIT)})]})})},m0=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let{t:m,locale:x}=(0,vT.QT)(),p="GeneralInquiry",h=(0,vd.useRef)(null),[f,g]=(0,vd.useState)(!1),[j,N]=(0,vd.useState)(!1),{handleSubmit:b,register:T,formState:{errors:S}}=(0,mW.cI)();{let e=new MutationObserver(()=>{var e;(null==h?void 0:null===(e=h.current)||void 0===e?void 0:e.checkVisibility())?j||N(!0):N(!1)});(null==h?void 0:h.current)&&e.observe(null==h?void 0:h.current,{attributes:!0})}return(0,vd.useEffect)(function(){var e;(null==h?void 0:null===(e=h.current)||void 0===e?void 0:e.checkVisibility())&&N(!0)}),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("form",{onSubmit:b(()=>{try{var e;let l={},i=null==h?void 0:h.current;if(i)for(let e=0;e<i.elements.length;e++){let s=i.elements[e],n=s.getAttribute("name");n&&(l[n]=$(s).val())}if((null===(e=$(".btn.btn--white.btn--mega:visible").closest("form").find(".error"))||void 0===e?void 0:e.length)>0)return;g(!0),fetch(uc.MD.SEND_EMAIL,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)}).then(e=>e.json()).then(e=>{console.log(e),window.location.href=window.location.pathname+"/Thank-You"})}catch(e){console.log(e),g(!1)}}),ref:h,"data-formtype":"generalenquiry",id:p,className:"form form--subspt contact-form--item no_taiwind","data-form":p,children:[(0,va.jsx)("input",{type:"hidden",name:"emailConfigurationId",value:"".concat(null==e?void 0:null===(l=e.rendering)||void 0===l?void 0:l.dataSource)}),(0,va.jsx)("input",{type:"hidden",name:"language",value:"".concat(x())}),(0,va.jsx)("input",{type:"hidden",name:"section",value:"General Enquiry Form"}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("p",{id:"generalError",className:"errorMessageForGeneral error-msg ".concat((null===(i=Object.keys(S))||void 0===i?void 0:i.length)>0?"":"inactive"),children:m(mT.W.COMMONFORM.CORRECTFORMAT)})}),(null==e?void 0:null===(n=e.fields.GeneralEnquiryFormBrandHotel)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:s.Links.length)>0?(0,va.jsx)("div",{className:"col-12 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-general-inquiry-type","data-value":"hotel-inquiry",children:[(0,va.jsxs)("label",{htmlFor:"dropdown--house",children:[m(mT.W.COMMONFORM.ENQUIRYTYPE),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("select",{name:"brand",className:"sel2-dropdown sel2-dropdown--geInquiry select-wrapper",children:(null===(a=e.fields.GeneralEnquiryFormBrandHotel)||void 0===a?void 0:a.fields.Links)?Object.values(null===(d=e.fields.GeneralEnquiryFormBrandHotel)||void 0===d?void 0:d.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})})]})})}):(0,va.jsx)(va.Fragment,{}),(0,va.jsx)("div",{className:"col-12 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-title1",children:[(0,va.jsxs)("label",{htmlFor:"dropdown--house",children:[m(mT.W.COMMONFORM.TITLE),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("select",{name:"title",className:"sel2-dropdown sel2-dropdown--title select-wrapper",children:(null===(r=e.fields)||void 0===r?void 0:null===(o=r.GeneralEnquiryFormTitle)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:t.Links)?Object.values(null===(u=e.fields)||void 0===u?void 0:null===(v=u.GeneralEnquiryFormTitle)||void 0===v?void 0:null===(c=v.fields)||void 0===c?void 0:c.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})})]})})}),(0,va.jsx)("div",{className:"col-12 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"firstname",children:[m(mT.W.COMMONFORM.FIRSTNAME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...T("firstname",{required:!0}),className:'input-field" '.concat((null==S?void 0:S.firstname)&&"error"),type:"text",name:"firstname",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"lastname",children:[m(mT.W.COMMONFORM.LASTNAME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...T("lastname",{required:!0}),className:'input-field" '.concat((null==S?void 0:S.lastname)&&"error"),type:"text",name:"lastname",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"email",children:[m(mT.W.COMMONFORM.EMAIL),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...T("email",{required:!0,pattern:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/}),className:'input-field" '.concat((null==S?void 0:S.email)&&"error"),type:"text",name:"email",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"",children:m(mT.W.COMMONFORM.CONTACTNUMBER)}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-4 col-lg-4",children:(0,va.jsx)("input",{...T("areacode",{pattern:/^[0-9+]+$/}),className:"input-field ".concat((null==S?void 0:S.areacode)&&"error"),type:"text",name:"areacode",maxLength:10,placeholder:m(mT.W.COMMONFORM.AREACODE)})}),(0,va.jsx)("div",{className:"col-8 col-lg-8",children:(0,va.jsx)("input",{...T("contactnumber",{pattern:/^[0-9+]+$/}),className:"input-field ".concat((null==S?void 0:S.contactnumber)&&"error"),type:"text",name:"contactnumber",maxLength:20})})]})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-12",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsx)("textarea",{...T("message",{required:!0}),className:"".concat((null==S?void 0:S.message)&&"error"),rows:8,cols:80,name:"message",maxLength:300,placeholder:m(mT.W.COMMONFORM.MESSAGE)})})}),(0,va.jsx)("div",{className:"col-12 ",children:j&&(0,va.jsx)(mU,{fnUpdate:e=>{g(e)},name:"enquiry"})})]}),(0,va.jsx)("button",{type:"submit",disabled:!f,name:"button",className:"btn btn--white btn--mega general-enquiry",children:m(mT.W.COMMONFORM.SUBMIT)})]})})},m1=(0,vp.C)()(e=>{var l,i,s,n,a,d;let[t,o]=(0,vd.useState)(!1),{t:r,locale:c}=(0,vT.QT)(),v="MediaInquiry",[u,m]=(0,vd.useState)(!1),x=(0,vd.useRef)(null),{handleSubmit:p,register:h,formState:{errors:f}}=(0,mW.cI)();{let e=new MutationObserver(()=>{var e,l;console.log("media:",null==x?void 0:null===(e=x.current)||void 0===e?void 0:e.checkVisibility()),(null==x?void 0:null===(l=x.current)||void 0===l?void 0:l.checkVisibility())?u||m(!0):m(!1)});(null==x?void 0:x.current)&&e.observe(null==x?void 0:x.current,{attributes:!0})}return(0,vd.useEffect)(function(){var e;(null==x?void 0:null===(e=x.current)||void 0===e?void 0:e.checkVisibility())&&m(!0)}),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("form",{ref:x,onSubmit:p(()=>{try{var e;let l={},i=null==x?void 0:x.current;if(i)for(let e=0;e<i.elements.length;e++){let s=i.elements[e],n=s.getAttribute("name");n&&(l[n]=$(s).val())}if((null===(e=$(".btn.btn--white.btn--mega:visible").closest("form").find(".error"))||void 0===e?void 0:e.length)>0)return;o(!0),fetch(uc.MD.SEND_EMAIL,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)}).then(e=>e.json()).then(e=>{console.log(e),window.location.href=window.location.pathname+"/Thank-You"})}catch(e){console.log(e),o(!1)}}),method:"POST","data-formtype":"mediaenquiry",id:v,className:"form form--subspt contact-form--item","data-form":v,children:[(0,va.jsx)("input",{type:"hidden",name:"emailConfigurationId",value:"".concat(null==e?void 0:null===(l=e.rendering)||void 0===l?void 0:l.dataSource)}),(0,va.jsx)("input",{type:"hidden",name:"language",value:"".concat(c())}),(0,va.jsx)("input",{type:"hidden",name:"section",value:"General Enquiry Form"}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("p",{id:"mediaError",className:"errorMessageForMedia error-msg ".concat((null===(i=Object.keys(f))||void 0===i?void 0:i.length)>
10?"":"inactive"),children:r(mT.W.COMMONFORM.CORRECTFORMAT)})}),(0,va.jsx)("div",{className:"col-12 col-lg-4",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-title2",children:[(0,va.jsxs)("label",{htmlFor:"dropdown--house",children:[r(mT.W.COMMONFORM.TITLE),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("select",{name:"title",className:"sel2-dropdown sel2-dropdown--title select-wrapper",children:(null===(n=e.fields)||void 0===n?void 0:null===(s=n.GeneralEnquiryFormTitle)||void 0===s?void 0:s.fields.Links)?Object.values(null===(d=e.fields)||void 0===d?void 0:null===(a=d.GeneralEnquiryFormTitle)||void 0===a?void 0:a.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})})]})})}),(0,va.jsx)("div",{className:"col-12 col-lg-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"firstname",children:[r(mT.W.COMMONFORM.FIRSTNAME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...h("firstname",{required:!0}),className:"input-field ".concat((null==f?void 0:f.firstname)&&"error"),type:"text",name:"firstname",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"lastname",children:[r(mT.W.COMMONFORM.LASTNAME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...h("lastname",{required:!0}),className:"input-field ".concat((null==f?void 0:f.lastname)&&"error"),type:"text",name:"lastname",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"email",children:[r(mT.W.COMMONFORM.EMAIL),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...h("email",{required:!0,pattern:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/}),className:"input-field ".concat((null==f?void 0:f.email)&&"error"),type:"text",name:"email",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"",children:r(mT.W.COMMONFORM.CONTACTNUMBER)}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-4 col-lg-4",children:(0,va.jsx)("input",{...h("areacode",{pattern:/^[0-9+]+$/}),className:"input-field ".concat((null==f?void 0:f.areacode)&&"error"),type:"text",name:"areacode",maxLength:10,placeholder:r(mT.W.COMMONFORM.AREACODE)})}),(0,va.jsx)("div",{className:"col-8 col-lg-8",children:(0,va.jsx)("input",{...h("contactnumber",{pattern:/^[0-9+]+$/}),className:"input-field ".concat((null==f?void 0:f.contactnumber)&&"error"),type:"text",name:"contactnumber",maxLength:20})})]})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-12",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsx)("textarea",{...h("message",{required:!0}),className:"input-field ".concat((null==f?void 0:f.message)&&"error"),rows:8,cols:80,name:"message",maxLength:300,placeholder:r(mT.W.COMMONFORM.MESSAGE)})})}),(0,va.jsx)("div",{className:"col-12",children:u&&(0,va.jsx)(mU,{fnUpdate:e=>{o(e)},name:"media"})})]}),(0,va.jsx)("button",{disabled:!t,type:"submit",name:"button",className:"btn btn--white btn--mega",children:r(mT.W.COMMONFORM.SUBMIT)})]})})}),m2=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p;let{t:h}=(0,vT.QT)(),f="SubscriptionForm",g=null===(n=e.fields.NewsletterForm)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.ResidenceLocation)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.replaceAll('<item name="Hear_From_Us">',"").replaceAll("<Countries>","").replaceAll("</Countries>","").replaceAll("</item>
1","").replaceAll("Country","option").replaceAll("countryCode","value").replaceAll('description="',">").replaceAll('" />',"</option>"),j=(0,vd.useRef)(null);(0,vd.useRef)(null);let{handleSubmit:N,register:b,formState:{errors:T}}=(0,mW.cI)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("form",{method:"post",ref:j,onSubmit:N(()=>{}),id:f,className:"form form--subspt contact-form--item","data-formtype":"subscription","data-form":f,children:[(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("p",{id:"subError",className:"errorMessageForsub error-msg inactive",children:h(mT.W.COMMONFORM.CORRECTFORMAT)})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-title4","data-value":"mr",children:[(0,va.jsxs)("label",{htmlFor:"dropdown--house",children:[h(mT.W.COMMONFORM.TITLE),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("select",{...b("title",{required:!0}),className:"sel2-dropdown sel2-dropdown--title select-wrapper ".concat((null==T?void 0:T.title)&&"error"),name:"title",children:(null===(d=e.fields)||void 0===d?void 0:null===(a=d.NewsLetterFormTitle)||void 0===a?void 0:a.fields.Links)?Object.values(null===(o=e.fields)||void 0===o?void 0:null===(t=o.NewsLetterFormTitle)||void 0===t?void 0:t.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-location","data-value":"",children:[(0,va.jsxs)("label",{htmlFor:"residencelocation",children:[h(mT.W.COMMONFORM.RESIDENCELOCATION),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{...b("residencelocation",{required:!0}),"data-placeholder":h(mT.W.COMMONFORM.SELECTYOURLOCATION),name:"residencelocation",className:"sel2-dropdown sel2-dropdown--country select-wrapper ".concat((null==T?void 0:T.residencelocation)&&"error"),children:[(0,va.jsx)("option",{selected:!0}),(0,va.jsx)("option",{value:"2"}),(0,va.jsx)(vx.H,{children:g})]})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"firstname",children:[h(mT.W.COMMONFORM.FIRSTNAME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...b("firstname",{required:!0}),className:"input-field ".concat((null==T?void 0:T.firstname)&&"error"),type:"text",name:"firstname",value:"",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-6",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"lastname",children:[h(mT.W.COMMONFORM.LASTNAME),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...b("lastname",{required:!0}),className:"input-field ".concat((null==T?void 0:T.lastname)&&"error"),type:"text",name:"lastname",value:"",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"",children:[h(mT.W.COMMONFORM.EMAIL),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{id:"subEmail",...b("email",{required:!0}),className:"input-field ".concat((null==T?void 0:T.email)&&"error"),type:"text",name:"email",value:"",maxLength:50})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"",children:[h(mT.W.COMMONFORM.CONFIRMEMAIL),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{...b("confirmemail",{required:!0}),className:"input-field ".concat((null==T?void 0:T.confirmemail)&&"error"),type:"text",name:"confirmemail",value:"",maxLength:50,required:!0})]})}),(0,va.jsxs)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:[(0,va.jsx)("div",{className:"form--subspt--item ",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-sm-12 col-md-8 col-lg-8",children:(0,va.jsx)("h5",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(c=v.NewsletterForm)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:r.RadioButtionContent})})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-4 col-lg-4",children:(0,va.jsxs)("div",{className:"form--checkWrap",children:[(0,va.jsxs)("label",{className:"form--checkItem",children:[(0,va.jsx)("span",{children:h(mT.W.COMMONFORM.YES)}),(0,va.jsx)("input",{name:"StayedWithUs",type:"radio",value:"yes",id:"stay_in_past_yes",className:"input-radio"}),(0,va.jsx)("span",{className:"form--radio "})]}),(0,va.jsxs)("label",{className:"form--checkItem",children:[(0,va.jsx)("span",{children:h(mT.W.COMMONFORM.NO)}),(0,va.jsx)("input",{name:"StayedWithUs",type:"radio",value:"no",id:"stay_in_past_no",className:"input-radio"}),(0,va.jsx)("span",{className:"form--radio "})]})]})})]})}),(0,va.jsx)("div",{className:"hotel-opt hotel-opt--hotels js-field",children:(null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.StayedHotel.fields.Links)||void 0===u?void 0:u.length)>0?Object.values(null==e?void 0:null===(x=e.fields)||void 0===x?void 0:x.StayedHotel.fields.Links).map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsxs)("label",{className:"hotel-opt--item",children:[(0,va.jsx)("span",{children:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Text)||void 0===i?void 0:i.value}),(0,va.jsx)("input",{type:"checkbox",name:"StayedHotels",className:"cb-stayhls",id:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.V
1alue)||void 0===n?void 0:n.value,value:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Value)||void 0===d?void 0:d.value}),(0,va.jsx)("span",{className:"hotel-opt--cbox checkmark"})]},l)}):(0,va.jsx)(va.Fragment,{})})]}),(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("div",{className:"hotel-opt form--agree",children:(0,va.jsx)("label",{className:" hotel-opt--item pl-0",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(p=e.fields.NewsletterForm)||void 0===p?void 0:p.fields.CheckboxContent})})})})]}),(0,va.jsx)("button",{type:"submit",name:"button",className:"btn btn--mega btn--white",children:(0,va.jsx)("span",{children:h(mT.W.COMMONFORM.SUBMIT)})})]})})};let m5=e=>{var l;return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(vx.H,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Copyright}),";"]})};var m3=(0,vp.C)()(m5);let m4=e=>{if(e&&"editable"in e){var l,i,s;return{...e,value:{...e.value,width:void 0,height:void 0},editable:null==e?void 0:null===(s=e.editable)||void 0===s?void 0:s.replace('width="'.concat(null==e?void 0:null===(i=e.value)||void 0===i?void 0:i.width,'"'),"").replace('height="'.concat(null==e?void 0:null===(l=e.value)||void 0===l?void 0:l.height,'"'),"")}}return e&&"value"in e?{...e,value:{...e.value,width:void 0,height:void 0}}:e&&"src"in e?{...e,width:void 0,height:void 0}:e},m6=e=>void 0===e||e<=0?1:Math.min(e/100,1),m8=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return e||"#000"};var m7=e=>{let{field:l,...i}=e;return(0,va.jsx)(vg.E,{...i,field:m4(l)})};let m9=e=>{var l;return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)(vk,{field:e.fields.FooterLogoLink,children:[(0,va.jsx)(m7,{field:null===(l=e.fields)||void 0===l?void 0:l.FooterLogo}),";"]})})};var xe=(0,vp.C)()(m9);let xl=e=>{var l;return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)(vk,{field:e.fields.LogoLink,children:[(0,va.jsx)(m7,{field:null===(l=e.fields)||void 0===l?void 0:l.LogoDesktop}),";"]})})};var xi=(0,vp.C)()(xl);let xs=e=>{var l;return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(vx.H,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Copyright}),";"]})};var xn=(0,vp.C)()(xs);let xa=e=>{var l;return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)(vk,{field:e.fields.FooterLogoLink,children:[(0,va.jsx)(m7,{field:null===(l=e.fields)||void 0===l?void 0:l.FooterLogo}),";"]})})};var xd=(0,vp.C)()(xa);let xt=e=>{var l;return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)(vk,{field:e.fields.LogoLink,children:[(0,va.jsx)(m7,{field:null===(l=e.fields)||void 0===l?void 0:l.LogoDesktop}),";"]})})};var xo=(0,vp.C)()(xt);let xr=e=>null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.OrganisationAddress})});var xc=(0,vp.C)()(xr);let xv=e=>null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:"mailto:"+e.fields.OrganisationEmail,children:(0,va.jsx)(vm.x,{field:e.fields.OrganisationEmail})})});var xu=(0,vp.C)()(xv);let xm=e=>null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.OrganisationName})});var xx=(0,vp.C)()(xm);let xp=e=>null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:"tel:"+e.fields.OrganisationPhone,children:(0,va.jsx)(vm.x,{field:e.fields.OrganisationPhone})})});var xh=(0,vp.C)()(xp);let xf=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vx.H,{field:e.fields.Copyright})});var xg=(0,vp.C)()(xf);let xj=e=>{var l;return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)(vk,{field:e.fields.LogoLink,children:[(0,va.jsx)(vg.E,{field:null===(l=e.fields)||void 0===l?void 0:l.LogoDesktop}),";"]})})};var xN=(0,vp.C)()(xj);let xb=e=>null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.OrganisationAddress})});var xT=(0,vp.C)()(xb);let xS=e=>null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:"mailto:"+e.fields.OrganisationEmail,children:(0,va.jsx)(vm.x,{field:e.fields.OrganisationEmail})})});var xk=(0,vp.C)()(xS);let xw=e=>null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.OrganisationName})});var xy=(0,vp.C)()(xw);let xE=e=>null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:"tel:"+e.fields.OrganisationPhone,children:(0,va.jsx)(vm.x,{field:e.fields.OrganisationPhone})})});var xC=(0,vp.C)()(xE);let xO=e=>{var l,i,s,n,a,d,t,o,r;return(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.data)||void 0===s?void 0:null===(i=s.context)||void 0===i?void 0:null===(l=i.ancestors)||void 0===l?void 0:l.length)?(0,va.jsx)(vx.H,{field:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.data)||void 0===o?void 0:null===(t=o.context)||void 0===t?void 0:null===(d=t.ancestors[0])||void 0===d?void 0:null===(a=d.copyright)||void 0===a?void 0:a.jsonValue}):(0,va.jsx)(va.Fragment,{})},xL=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vk,{field:null===(d=e.fields)||void 0===d?void 0:null===(a=d.data)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:null===(s=n.ancestors)||void 0===s?void 0:null===(i=s[0])||void 0===i?void 0:null===(l=i.footerLogoLink)||void 0===l?void 0:l.jsonValue,children:(0,va.jsx)(m7,{field:null===(u=e.fields)||void 0===u?void 0:null===(v=u.data)||void 0===v?void 0:null===(c=v.context)||void 0===c?void 0:null===(r=c.ancestors)||void 0===r?void 0:null===(o=r[0])||void 0===o?void 0:null===(t=o.footerLogo)||void 0===t?void 0:t.jsonValue})})})};var xI=(0,vp.C)()(xL);let xF=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;return(0,va.jsx)(vk,{field:null===(d=e.fields)||void 0===d?void 0:null===(a=d.data)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:null===(s=n.ancestors)||void 0===s?void 0:null===(i=s[0])||void 0===i?void 0:null===(l=i.logoLink)||void 0===l?void 0:l.jsonValue,children:(0,va.jsx)(m7,{field:null===(u=e.fields)||void 0===u?void 0:null===(v=u.data)||void 0===v?void 0:null===(c=v.context)||void 0===c?void 0:null===(r=c.ancestors)||void 0===r?void 0:null===(o=r[0])||void 0===o?void 0:null===(t=o.footerLogoMobile)||void 0===t?void 0:t.jsonValue})})};var x_=(0,vp.C)()(xF);let xM=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O;return e.fields?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)(vk,{field:null===(a=e.fields)||void 0===a?void 0:null===(n=a.data)||void 0===n?void 0:null===(s=n.context)||void 0===s?void 0:null===(i=s.ancestors)||void 0===i?void 0:null===(l=i[0])||void 0===l?void 0:l.logoLink.jsonValue,children:[(0,va.jsxs)("div",{className:"menu-logo__symbol",children:[(0,va.jsx)("div",{className:"menu-logo-color menu-logo-color--white",children:(0,va.jsx)(m7,{field:null===(v=e.fields)||void 0===v?void 0:null===(c=v.data)||void 0===c?void 0:null===(r=c.context)||void 0===r?void 0:null===(o=r.ancestors)||void 0===o?void 0:null===(t=o[0])||void 0===t?void 0:null===(d=t.logoDesktop)||void 0===d?void 0:d.jsonValue})}),(0,va.jsx)("div",{className:"menu-logo-color menu-logo-color--black",children:(0,va.jsx)(m7,{field:null===(f=e.fields)||void 0===f?void 0:null===(h=f.data)||void 0===h?void 0:null===(p=h.context)||void 0===p?void 0:null===(x=p.ancestors)||void 0===x?void 0:null===(m=x[0])||void 0===m?void 0:null===(u=m.logoInverted)||void 0===u?void 0:u.jsonValue})})]}),(0,va.jsxs)("div",{className:"menu-logo__word",children:[(0,va.jsx)("div",{className:"menu-logo-color menu-logo-color--white",children:(0,va.jsx)(m7,{field:null===(S=e.fields)||void 0===S?void 0:null===(T=S.data)||void 0===T?void 0:null===(b=T.context)||void 0===b?void 0:null===(N=b.ancestors)||void 0===N?void 0:null===(j=N[0])||void 0===j?void 0:null===(g=j.logoTextDesktop)||void 0===g?void 0:g.jsonValue})}),(0,va.jsx)("div",{className:"menu-logo-color menu-logo-color--black",children:(0,va.jsx)(m7,{field:null===(O=e.fields)||void 0===O?void 0:null===(C=O.data)||void 0===C?void 0:null===(E=C.context)||void 0===E?void 0:null===(y=E.ancestors)||void 0===y?void 0:null===(w=y[0])||void 0===w?void 0:null===(k=w.logoTextInverted)||void 0===k?void 0:k.jsonValue})})]})]})}):(0,va.jsx)(va.Fragment,{})};var xR=(0,vp.C)()(xM);let xP=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g;let{t:j}=(0,vT.QT)();return e.fields?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)(vk,{field:null===(d=e.fields)||void 0===d?void 0:null===(a=d.data)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:null===(s=n.ancestors)||void 0===s?void 0:null===(i=s[0])||void 0===i?void 0:null===(l=i.logoLink)||void 0===l?void 0:l.jsonValue,children:[(0,va.jsxs)("div",{className:"menu-logo__symbol",children:[(0,va.jsx)("div",{className:"menu-logo-color menu-logo-color--white",children:(0,va.jsx)(m7,{field:null===(u=e.fields)||void 0===u?void 0:null===(v=u.data)||void 0===v?void 0:null===(c=v.context)||void 0===c?void 0:null===(r=c.ancestors)||void 0===r?void 0:null===(o=r[0])||void 0===o?void 0:null===(t=o.logoDesktop)||void 0===t?void 0:t.jsonValue})}),(0,va.jsx)("div",{className:"menu-logo-color menu-logo-color--black",children:(0,va.jsx)(m7,{field:null===(g=e.fields)||void 0===g?void 0:null===(f=g.data)||void 0===f?void 0:null===(h=f.context)||void 0===h?void 0:null===(p=h.ancestors)||void 0===p?void 0:null===(x=p[0])||void 0===x?void 0:null===(m=x.logoInverted)||void 0===m?void 0:m.jsonValue})})]}),(0,va.jsx)("div",{className:"menu-logo__word",children:j(mT.W.IDENTITY.THEHOUSECOLLECTIVE)})]})}):(0,va.jsx)(va.Fragment,{})};var xA=(0,vp.C)()(xP);let xD=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;return(null===(i=e.fields)||void 0===i?void 0:null===(l=i.data)||void 0===l?void 0:l.datasource)&&(null===(t=e.fields)||void 0===t?void 0:null===(d=t.data)||void 0===d?void 0:null===(a=d.datasource)||void 0===a?void 0:null===(n=a.logoList)||void 0===n?void 0:null===(s=n.targetItems)||void 0===s?void 0:s.length)?(0,va.jsx)(va.Fragment,{children:null===(u=e.fields)||void 0===u?void 0:null===(v=u.data)||void 0===v?void 0:null===(c=v.datasource)||void 0===c?void 0:null===(r=c.logoList)||void 0===r?void 0:null===(o=r.targetItems)||void 0===o?void 0:o.map((e,l)=>{var i,s;return(0,va.jsx)(vk,{field:null===(i=e.logoLink)||void 0===i?void 0:i.jsonValue,children:(0,va.jsx)(m7,{field:null===(s=e.footerLogo)||void 0===s?void 0:s.jsonValue})},l)})}):(0,va.jsx)(va.Fragment,{})};var xB=(0,vp.C)()(xD);let xV=e=>{var l;return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(vx.H,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Copyright}),";"]})};var xW=(0,vp.C)()(xV);let xH=e=>{var l,i,s;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("li",{className:"last group desktop tablet",children:(0,va.jsxs)(vk,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.FooterLogoLink,children:[(0,va.jsx)(m7,{field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.FooterLogo}),null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.FooterLogoLink.value.text]})})})};var xG=(0,vp.C)()(xH);let xU=e=>(0,va.jsx)("li",{className:"last group",children:(0,va.jsxs)(vk,{field:e.fields.FooterLogoLink,children:[(0,va.jsx)(m7,{field:e.fields.FooterLogo}),e.fields.FooterLogoLink.value.text]})});var xz=(0,vp.C)()(xU);let xq=e=>(0,va.jsxs)(vk,{field:e.fields.LogoLink,className:"logo",children:[(0,va.jsx)(m7,{field:e.fields.LogoDesktop,className:"desktop"}),(0,va.jsx)(m7,{field:e.fields.LogoTablet,className:"tablet"}),(0,va.jsx)(m7,{field:e.fields.LogoMobile,className:"mobile"})]});var xQ=(0,vp.C)()(xq);let xY=e=>(0,va.jsx)(vm.x,{field:e.fields.OrganisationPhone});var xK=(0,vp.C)()(xY);let x$=e=>(0,va.jsx)(vm.x,{field:e.fields.OrganisationAddress});var xZ=(0,vp.C)()(x$),xJ=i(62262),xX=i(4285),x0=i(79602),x1=i(51141),x2=i.n(x1),x5=i(42390);let x3={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetItemAncestors"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"rootItemId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"templates"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"item"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"rootItemId"}}},{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"template"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"fields"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",name:{kind:"Name",value:"ancestors"},arguments:[{kind:"Argument",name:{kind:"Name",value:"includeTemplateIDs"},value:{kind:"Variable",name:{kind:"Name",value:"templates"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"path"}},{kind:"Field",name:{kind:"Name",value:"url"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"path"}}]}},{kind:"Field",name:{kind:"Name",value:"template"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"fields"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}}]}}]}}]}}]};var x4=i(47978);let x6="Service[GetItemAncestors]",x8=(0,xX.J3)(x6),x7=async(e,l,i)=>{var s,n;let a=performance.now(),d=(0,xX.ah)("GetItemParentSiblingsService",{startItem:e,templateId:l,language:i}),t=await x8.get(d);if((0,xX.Dx)()&&t)return x4.Z.common("[".concat(x6,"] get cached value for ").concat(d)),t;let o=(0,x0.W)(x2())({}),r=[],c=await o.request(x3,{rootItemId:(0,x5.Z9)(e),templates:[(0,x5.Z9)(l)],language:i});(null===(n=c.item)||void 0===n?void 0:null===(s=n.ancestors)||void 0===s?void 0:s.length)&&r.push(...c.item.ancestors.map(e=>(0,x5.K1)(e)));let v=performance.now();return console.log("".concat(x6," taken to execute : ").concat(v-a,"ms for ").concat(d,".")),await x8.set(d,r),r};var x9=i(70321),pe=i.n(x9);let pl="Service[GetItemFields]",pi=(0,xX.J3)(pl),ps="\n query GetItem($rootItemId: String!, $language: String!) {\n item(path: $rootItemId, language: $language) {\n id\n name\n template {\n id\n name\n }\n url {\n url\n path\n }\n fields {\n definition {\n section\n }\n name\n jsonValue\n }\n }\n }\n",pn=async(e,l)=>{let i=performance.now(),s=(0,xX.ah)("GetItemParentService",{rootItemId:e,language:l}),n=await pi.get(s);if((0,xX.Dx)()&&n)return x4.Z.common("[".concat(pl,"] get cached value for ").concat(s)),n;let a=(0,x0.W)(x2())({}),d=await a.request(ps,{rootItemId:(0,x5.Z9)(e),language:l}),t=(0,x5.K1)(null==d?void 0:d.item),o=performance.now();return console.log("".concat(pl," taken to execute : ").concat(o-i,"ms for ").concat(s,".")),await pi.set(s,t),t},pa=async(e,l)=>{let i=(0,x0.W)(x2())({}),s=await i.request(ps,{rootItemId:(0,x5.Z9)(e),language:l});return null==s?void 0:s.item};class pd{async fetchSiteIdentity(e,l,i){var s;let n=(0,xJ.NR)(e),a="#_site:".concat(n,"#_lang:").concat(i),d=this.getCacheValue(a);if(d)return console.log("using cached identity data for [Site: ".concat(n,", Path: ").concat(e,", ID: ").concat(l,", Language: ").concat(i,"]")),d;console.log("fetching identity data for [Site: ".concat(n,", Path: ").concat(e,", ID: ").concat(l,", Language: ").concat(i,"]"));let t=await x7(l,null!==(s=this.options.identityTemplateId)&&void 0!==s?s:ux.t9.IdentityLogoExtension,i);return(null==t?void 0:t.length)?(this.setCacheValue(a,t[0]),t[0]):{}}async fetchSiteIdentityLogoList(e,l,i){let s=(0,xJ.NR)(e),n="#_logolist#_site:".concat(s,"#_lang:").concat(i),a=this.getCacheValue(n);if(a)return console.log("using cached identity logo list data for [Site: ".concat(s,", Path: ").concat(e,", ID: ").concat(l,", Language: ").concat(i,"]")),a;console.log("fetching identity logo list data for [Site: ".concat(s,", Path: ").concat(e,", ID: ").concat(l,", Language: ").concat(i,"]"));let d=await pn(l,i);
1if(d){let e={IdentityLogoList:null==d?void 0:d.LogoList,LogoList:null==d?void 0:d.LogoList};return this.setCacheValue(n,e),e}return{}}setCacheValue(e,l){return this.cache.set(e,l)}getCacheValue(e){return this.cache.get(e)}getCacheClient(){return new(pe())({stdTTL:this.options.cacheTimeout})}constructor(e){this.options=e,this.cache=this.getCacheClient()}}let pt=new pd({identityTemplateId:ux.t9.IdentityLogoExtension,cacheTimeout:300}),po=async function(e,l){var i,s,n,a,d;let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3?arguments[3]:void 0;return(null==o?void 0:null===(n=o.sitecore)||void 0===n?void 0:null===(s=n.route)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:i.OrganisationName)?null==o?void 0:null===(d=o.sitecore)||void 0===d?void 0:null===(a=d.route)||void 0===a?void 0:a.fields:await pt.fetchSiteIdentity(t,e,l)},pr=async function(e,l){var i,s,n,a,d;let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3?arguments[3]:void 0;return(null==o?void 0:null===(n=o.sitecore)||void 0===n?void 0:null===(s=n.route)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:i.LogoList)?null==o?void 0:null===(d=o.sitecore)||void 0===d?void 0:null===(a=d.route)||void 0===a?void 0:a.fields:await pt.fetchSiteIdentityLogoList(t,e,l)},pc=e=>{var l,i;let s=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);vD(e,"Copyright",!0)&&(s=e.fields);let n=new Date().getFullYear().toString();return(0,va.jsx)(vx.H,{field:{value:null==s?void 0:null===(i=s.Copyright)||void 0===i?void 0:i.value.replace("#year#",n)},editable:!1})},pv=async(e,l)=>{var i,s,n,a,d,t,o,r;if(vD(e,"Copyright",!0))return{};let c=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,v=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en";return c?await po(c,v,"".concat(null!==(r=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.itemPath)&&void 0!==r?r:""),l):{}},pu=e=>{var l,i;return(null==e?void 0:e.fields)?(0,va.jsx)(vk,{field:null===(l=e.fields)||void 0===l?void 0:l.LogoLink,children:(0,va.jsx)(m7,{field:null===(i=e.fields)||void 0===i?void 0:i.FooterLogo})}):(0,va.jsx)(va.Fragment,{})};var pm=(0,vp.C)()(pu);let px=e=>{var l,i;return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(vk,{field:null===(l=e.fields)||void 0===l?void 0:l.LogoLink,children:(0,va.jsx)(m7,{field:null===(i=e.fields)||void 0===i?void 0:i.FooterLogoMobile})})};var pp=(0,vp.C)()(px);let ph=e=>{var l;let i=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return i?(0,va.jsx)(vk,{field:null==i?void 0:i.LogoLink,children:(0,va.jsxs)("div",{className:"menu-logo__symbol",children:[(0,va.jsx)("div",{className:"menu-logo-color menu-logo-color--white",children:(0,va.jsx)(m7,{field:null==i?void 0:i.LogoDesktop})}),(0,va.jsx)("div",{className:"menu-logo-color menu-logo-color--black",children:(0,va.jsx)(m7,{field:null==i?void 0:i.LogoInverted})})]})}):(0,va.jsx)(va.Fragment,{})},pf=async(e,l)=>{var i,s,n,a,d,t,o,r;let c=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,v=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en";return c?await po(c,v,"".concat(null!==(r=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.itemPath)&&void 0!==r?r:""),l):{}};var pg=ph;let pj=e=>{var l;let{t:i}=(0,vT.QT)(),s=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return s?(0,va.jsxs)(vk,{field:null==s?void 0:s.LogoLink,children:[(0,va.jsxs)("div",{className:"menu-logo__symbol",children:[(0,va.jsx)("div",{className:"menu-logo-color menu-logo-color--white",children:(0,va.jsx)(m7,{field:null==s?void 0:s.LogoDesktop})}),(0,va.jsx)("div",{className:"menu-logo-color menu-logo-color--black",children:(0,va.jsx)(m7,{field:null==s?void 0:s.LogoInverted})})]}),(0,va.jsx)("div",{className:"menu-logo__word",children:i(mT.W.IDENTITY.THEHOUSECOLLECTIVE)})]}):(0,va.jsx)(va.Fragment,{})},pN=async(e,l)=>{var i,s,n,a,d,t,o,r;let c=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,v=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en";return c?await po(c,v,"".concat(null!==(r=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.itemPath)&&void 0!==r?r:""),l):{}};var pb=pj;let pT=e=>{var l;let i=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"icon-place"}),(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:null==i?void 0:i.OrganisationAddress})})]})},pS=async(e,l)=>{var i,s,n,a,d,t,o,r;let c=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,v=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en";return c?await po(c,v,"".concat(null!==(r=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.itemPath)&&void 0!==r?r:""),l):{}},pk=e=>{var l;let i=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:null==i?void 0:i.OrganisationAddress})})},pw=async(e,l)=>{var i,s,n,a,d,t,o,r;let c=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,v=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en";return c?await po(c,v,"".concat(null!==(r=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.itemPath)&&void 0!==r?r:""),l):{}},py=e=>{var l,i,s;let n=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:"mailto:".concat(null!==(s=null==n?void 0:null===(i=n.OrganisationEmail)||void 0===i?void 0:i.value)&&void 0!==s?s:""),children:(0,va.jsx)(vm.x,{field:null==n?void 0:n.OrganisationEmail})})})},pE=async(e,l)=>{var i,s,n,a,d,t,o,r;let c=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,v=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en";return c?await po(c,v,"".concat(null!==(r=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.itemPath)&&void 0!==r?r:""),l):{}},pC=e=>{var l;let i=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"icon-print"}),(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:null==i?void 0:i.OrganizationFax})})]})},pO=async(e,l)=>{var i,s,n,a,d,t,o,r;let c=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,v=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en";return c?await po(c,v,"".concat(null!==(r=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.itemPath)&&void 0!==r?r:""),l):{}},pL=e=>{var l;let i=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:null==i?void 0:i.OrganisationName})})},pI=async(e,l)=>{var i,s,n,a,d,t,o,r;let c=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,v=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en";return c?await po(c,v,"".concat(null!==(r=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.itemPath)&&void 0!==r?r:""),l):{}},pF=e=>{var l,i,s;let n=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"icon-phone"}),(0,va.jsx)("h4",{children:(0,va.jsx)("a",{href:"tel:".concat(null!==(s=null==n?void 0:null===(i=n.OrganisationPhone)||void 0===i?void 0:i.value)&&void 0!==s?s:""),children:(0,va.jsx)(vm.x,{field:null==n?void 0:n.OrganisationPhone})})})]})}
1,p_=async(e,l)=>{var i,s,n,a,d,t,o,r;let c=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,v=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en";return c?await po(c,v,"".concat(null!==(r=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.itemPath)&&void 0!==r?r:""),l):{}},pM=e=>{var l;let i=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:null==i?void 0:i.OrganisationPhone})})},pR=async(e,l)=>{var i,s,n,a,d,t,o,r;let c=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,v=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en";return c?await po(c,v,"".concat(null!==(r=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.itemPath)&&void 0!==r?r:""),l):{}},pP=e=>{var l,i,s,n;let a=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);if(!(null==a?void 0:null===(i=a.IdentityLogoList)||void 0===i?void 0:i.length)&&!(null==a?void 0:null===(s=a.LogoList)||void 0===s?void 0:s.length))return(0,va.jsx)(va.Fragment,{});let d=(null==a?void 0:null===(n=a.IdentityLogoList)||void 0===n?void 0:n.length)?null==a?void 0:a.IdentityLogoList:null==a?void 0:a.LogoList;return(0,va.jsx)(va.Fragment,{children:d.map((e,l)=>{var i,s;return(0,va.jsx)(vk,{field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.LogoLink,editable:!1,children:(0,va.jsx)(m7,{field:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.FooterLogo,editable:!1})},l)})})},pA=async(e,l)=>{var i,s,n,a,d,t,o,r;let c=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,v=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en";return c?await pr(c,v,"".concat(null!==(r=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.itemPath)&&void 0!==r?r:""),l):{}},pD=e=>{let{t:l}=(0,vT.QT)();if(null==e||0==e.fields.Languages.length)return(0,va.jsx)(va.Fragment,{});let i="";return e.fields.Languages.map(s=>{let n="/Languages/"+s.fields.Name.value;s.fields.Name.value.toLowerCase()==e.fields.Current.fields.Name.value.toLowerCase()&&(i=l(n))}),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("li",{className:"nopipe lang",children:[(0,va.jsx)("a",{className:"lang-switch",href:"#",children:i}),(0,va.jsx)("div",{className:"lang-opt",children:(0,va.jsx)("ul",{children:e.fields.Languages.map(i=>{let s;let n="/Languages/"+i.fields.Name.value;return i.fields.Name.value.toLowerCase()!=e.fields.Current.fields.Name.value.toLowerCase()&&(s=(0,va.jsx)("li",{children:(0,va.jsx)("a",{href:i.fields.Url+"@HttpContext.Current.Request.Url.Query",children:l(n)})})),s})})}),(0,va.jsx)("div",{className:"lang-backdrop"})]})})};var pB=(0,vp.C)()(pD);let pV=e=>{let{t:l}=(0,vT.QT)();return null==e||null==e.fields.Languages||0==e.fields.Languages.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("ul",{className:"lvl2",children:e.fields.Languages.map((e,i)=>{va.Fragment;let s="/Languages/"+e.fields.Name.value;return(0,va.jsx)("li",{className:0==i?"active":"",children:(0,va.jsxs)("a",{children:[l(s,{defaultValue:e.fields.Name.value}),"@Html.Sitecore().DictionaryField(dictionaryPath, language.NativeName)"]})})})})})};var pW=(0,vp.C)()(pV);let pH=e=>{let{t:l}=(0,vT.QT)();if(null==e||0==e.fields.Languages.length)return(0,va.jsx)(va.Fragment,{});let i="";return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("select",{children:e.fields.Languages.map(s=>{let n="/Languages/"+s.fields.Name.value;return va.Fragment,s.fields.Name.value.toLowerCase()==e.fields.Current.fields.Name.value.toLowerCase()&&(i=l(n,{defaultValue:s.fields.NativeName.value})),(0,va.jsx)("option",{value:s.fields.NativeName.value,children:l(n,{defaultValue:s.fields.NativeName.value})})})}),(0,va.jsx)("div",{className:"select-selected",children:i})]})};var pG=(0,vp.C)()(pH);let pU=e=>{let{t:l}=(0,vT.QT)();return null==e||null==e.fields.Current||null==e.fields.Languages||0==e.fields.Languages.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("ul",{className:"no-ls",children:e.fields.Languages.map(i=>{let s="/Languages/"+i.fields.Name.value,n=(0,va.jsx)(va.Fragment,{});return i.fields.Name.value.toLowerCase()!=e.fields.Current.fields.Name.value.toLowerCase()&&(n=(0,va.jsx)("li",{className:i.fields.Name.value.toLowerCase()==e.fields.Current.fields.Name.value.toLowerCase()?"current":"",children:(0,va.jsx)("a",{children:l(s)})})),n})})})};var pz=(0,vp.C)()(pU);let pq=e=>{let{t:l}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"language selector",children:[(0,va.jsx)("label",{children:l(mT.W.LANGUAGE.LANG)}),(0,va.jsx)("ul",{className:"item-list h-float",children:e.fields.Languages.map(i=>{let s="/Languages/"+i.fields.Name.value,n="",a="";return va.Fragment,i.fields.Name.value.toLowerCase()==e.fields.Current.fields.Name.value.toLowerCase()&&(n="active",a="activator"),(0,va.jsx)("li",{className:n,children:(0,va.jsx)("a",{className:a,title:l(s),children:l(s)})})})})]})})};var pQ=(0,vp.C)()(pq);let pY=e=>{let{t:l}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"language dropdown selector",children:[(0,va.jsx)("ul",{className:"item-list",children:e.fields.Languages.map(i=>{va.Fragment;let s="/Languages/"+i.fields.Name.value,n="";return i.fields.Name.value.toLowerCase()==e.fields.Current.fields.Name.value.toLowerCase()&&(n="active"),(0,va.jsx)("li",{className:n,children:(0,va.jsx)("a",{title:l(s),children:l(s)})})})}),(0,va.jsxs)("a",{className:"toggler",href:"#",children:[(0,va.jsx)("label",{}),(0,va.jsx)("span",{className:"icon chevron-round"})]})]})})};var pK=(0,vp.C)()(pY);let p$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetItemDescendants"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"rootItemId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"templates"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pageSize"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},defaultValue:{kind:"IntValue",value:"10"}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"after"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"search"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"AND"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"_path",block:!1}},{kind:"ObjectField",name:{kind:"Name",value:"value"},value:{kind:"Variable",name:{kind:"Name",value:"rootItemId"}}},{kind:"ObjectField",name:{kind:"Name",value:"operator"},value:{kind:"EnumValue",value:"CONTAINS"}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"_language",block:!1}},{kind:"ObjectField",name:{kind:"Name",value:"value"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}},{kind:"ObjectField",name:{kind:"Name",value:"operator"},value:{kind:"EnumValue",value:"EQ"}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"_templates",block:!1}},{kind:"ObjectField",name:{kind:"Name",value:"value"},value:{kind:"Variable",name:{kind:"Name",value:"templates"}}},{kind:"ObjectField",name:{kind:"Name",value:"operator"},value:{kind:"EnumValue",value:"CONTAINS"}}]}]}}]}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"Variable",name:{kind:"Name",value:"pageSize"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"after"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"results"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"version"}},{kind:"Field",name:{kind:"Name",value:"url"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"}},{kind:"Field",name:{kind:"Name",value:"path"}}]}},{kind:"Field",name:{kind:"Name",value:"template"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"fields"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"endCursor"}},{kind:"Field",name:{kind:"Name",value:"hasNext"}}]}},{kind:"Field",name:{kind:"Name",value:"total"}}]}}]}}]},pZ="Service[GetItemDescendants]",pJ=(0,xX.J3)(pZ),pX=async function(e,l,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,n=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=(0,xX.ah)("GetItemDescendantsService",{startItem:e,templateId:l,language:i,first:s.toString(),all:n.toString()}),d=await pJ.get(a);if((0,xX.Dx)()&&d)return x4.Z.common("[".concat(pZ,"] get cached value for ").concat(a)),d;let t=performance.now(),o=[],r=await p1(e,l,i,s,n);(null==r?void 0:r.length)&&o.push(...r.map(e=>e.fields)),await pJ.set(a,o);let c=performance.now();return console.log("".concat(pZ," taken to execute : ").concat(c-t,"ms for ").concat(a,".")),o},p0=e=>{let l=new Map;return e.filter(e=>!l.has(e.id)&&l.set(e.id,e))},p1=async function(e,l,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,n=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=(0,xX.ah)("GetItemDescendantsItemService",{startItem:e,templateId:l,language:i,first:s.toString(),all:n.toString()}),d=await pJ.get(a);if((0,xX.Dx)()&&d)return x4.Z.common("[".concat(pZ,"] get cached value for ").concat(a)),d;let t=(0,x0.W)(x2())({}),o=[],r=performance.now(),c=!0,v="";for(;c;){let a=await t.request(p$,{rootItemId:(0,x5.Z9)(e),templates:(0,x5.Z9)(l),language:i,after:v,pageSize:s});o.push(...a.search.results.map(e=>(0,x5.M0)(e))),c=n&&a.search.pageInfo.hasNext,v=a.search.pageInfo.endCursor}o=p0(o.sort((e,l)=>l.version-e.version)),await pJ.set(a,o);let u=performance.now();return console.log("".concat(pZ," taken to execute : ").concat(u-r,"ms for ").concat(a,".")),o},p2="Service[GetItemWithMultiFieldValue]",p5=(0,xX.J3)(p2),p3=async function(e,l,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,n=!(arguments.length>4)||void 0===arguments[4]||arguments[4];if(!l||l.length<=0)return console.log("condition is null"),[];let a=new Date().getTime().toString();try{a=JSON.stringify(i)}catch(e){}let d=performance.now(),t=(0,xX.ah)("GetItemParentSiblingsService",{paramter:e,condition:l,searchKey:a,first:s.toString(),all:n.toString()}),o=await p5.get(t);if((0,xX.Dx)()&&o)return x4.Z.common("[".concat(p2,"] get cached value for ").concat(t)),o;let r=(0,x0.W)(x2())({}),c=[],v=!0,u="",m='\n query GetItems(\n $rootItemId: String!\n $language: String!\n $template:
1String!\n {1}\n $pageSize: Int = 10\n $after: String\n ) {\n search(\n where: {\n AND: [\n { name: "_path", operator: CONTAINS, value: $rootItemId }\n { name: "_language", operator: EQ, value: $language }\n { name: "_templates", operator: CONTAINS, value: $template }\n {0}\n ]\n }\n orderBy:{ name:"SocialDate",direction:DESC}\n first: $pageSize\n after: $after\n ) {\n results {\n id\n path\n version\n fields {\n name\n jsonValue\n }\n url {\n url\n path\n }\n }\n pageInfo {\n endCursor\n hasNext\n }\n total\n }\n }\n'.replace("{1}",e).replace("{0}",l);for(;v;){var x,p;i={...i,pageSize:s,after:u};let e=await r.request(m,i),l=[];(null===(x=e.search.results)||void 0===x?void 0:x.length)&&e.search.results.forEach(e=>{let i=null==e?void 0:e.id,s=l.find(e=>e.id==i);if(s){if(s.version<e.version){let i=l.indexOf(s);l.splice(i,1),l.push(e)}}else l.push(e)}),c.push(...l.map(e=>(0,x5.K1)(e))),v=(n=null!==(p=e.search.results)&&void 0!==p&&!!p.length&&(null==c?void 0:c.length)<s&&!!e.search.pageInfo.hasNext)&&e.search.pageInfo.hasNext,u=e.search.pageInfo.endCursor}let h=performance.now();return console.log("".concat(p2," taken to execute : ").concat(h-d,"ms for ").concat(t,".")),await p5.set(t,c),c};class p4{getClient(){return(0,x0.W)(x2())({})}setCacheValue(e,l){return this.cache.set(e,l)}getCacheValue(e){return this.cache.get(e)}async request(e,l,i){let s=this.getCacheValue(e);if(s)return console.log("[request] fetched from cache ".concat(e)),s;let n=await this.client.request(l,i);return n&&this.setCacheValue(e,n),n}async GetAncestorsItem(e,l,i,s){var n,a;let d="".concat(e,"#_GetItemChildrenItem#_itemid:").concat(l,"#_language:").concat(i,"#_template:").concat(s),t=this.getCacheValue(d);if(t)return console.log("[GetAncestorsItem] fetched from cache ".concat(d)),t;let o=[],r=s.split("|").map(e=>(0,x5.Z9)(e)),c=await this.client.request(x3,{rootItemId:(0,x5.Z9)(l),templates:r,language:i});return(null===(a=c.item)||void 0===a?void 0:null===(n=a.ancestors)||void 0===n?void 0:n.length)&&o.push(...c.item.ancestors.map(e=>(0,x5.M0)(e))),o.length&&this.setCacheValue(d,o),o}async GetItemChildrenItem(e,l,i,s){let n=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:ux.tl.DefaultPageSize,d="".concat(e,"#_GetItemChildrenItem#_itemid:").concat(l,"#_language:").concat(i,"#_template:").concat(s,"#_all:").concat(n,"#_pageSize:").concat(a),t=this.getCacheValue(d);if(t)return console.log("[GetItemChildrenItem] fetched from cache ".concat(d)),t;let o=[],r=await (0,up.D)(l,s,i,a,n);return(null==r?void 0:r.length)&&o.push(...r),o.length&&this.setCacheValue(d,o),o}async GetItemDescendantsItem(e,l,i,s){let n="".concat(e,"#_GetItemDescendantsItem#_itemid:").concat(l,"#_language:").concat(i,"#_template:").concat(s),a=this.getCacheValue(n);if(a)return console.log("[GetItemDescendantsItem] fetched from cache ".concat(n)),a;let d=[],t=await p1(l,s,i,ux.tl.DefaultPageSize);return(null==t?void 0:t.length)&&d.push(...t),d.length&&this.setCacheValue(n,d),d}async GetRoot(e,l){let i=await this.GetAncestorsItem("GetRoot",e,l,[ux.t9.jssAppTemplateId,ux.t9.PropertyHome].join("|"));if(null==i?void 0:i.length)return i[0]}getCacheClient(){return new(pe())({stdTTL:this.options.cacheTimeout})}async GetItemWithMultiFieldValue(e,l,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,n=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a="".concat(e,"#_GetItemWithMultiFieldValue#_condition:").concat(l,"#_search:").concat(JSON.stringify(i)),d=this.getCacheValue(a);if(d)return console.log("[GetItemWithMultiFieldValue] fetched from cache ".concat(a)),d;let t=[],o=await p3(e,l,i,s,n);return(null==o?void 0:o.length)&&t.push(...o),t.length&&this.setCacheValue(a,t),t}constructor(e){this.options=e,this.cache=this.getCacheClient(),this.client=this.getClient()}}class p6 extends p4{async GetLanguageSelectors(e,l){var i,s,n,a,d,t,o;let r=await this.request("GetLanguageSelectors#_language:".concat(l),'\n query LanguageRootQuery($templateId: String!, $itemId: String!, $language: String!) {\n item(path: $itemId, language: $language) {\n ancestors(includeTemplateIDs: [$templateId]) {\n SupportedLanguages: field(name: "SupportedLanguages") {\n jsonValue\n }\n }\n }\n }\n',{itemId:e,language:l,templateId:ux.t9.LanguageSettings}),c={Languages:[]};return(null==r?void 0:null===(s=r.item)||void 0===s?void 0:null===(i=s.ancestors)||void 0===i?void 0:i.length)&&(null==r?void 0:null===(d=r.item)||void 0===d?void 0:null===(a=d.ancestors[0].SupportedLanguages)||void 0===a?void 0:null===(n=a.jsonValue)||void 0===n?void 0:n.length)&&c.Languages.push(...null==r?void 0:null===(o=r.item)||void 0===o?void 0:null===(t=o.ancestors[0].SupportedLanguages)||void 0===t?void 0:t.jsonValue.map(e=>({name:e.name}))),c}constructor(e){super(e)}}
1let p8=new p6({cacheTimeout:300}),p7=e=>{var l,i,s;let{t:n,locale:a}=(0,vT.QT)(),d=(0,vd.useRef)(null),t=a(),o=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return((0,vd.useEffect)(()=>{let e=location.pathname.concat(location.search);(null==d?void 0:d.current)&&d.current.querySelectorAll("a[data-lang]").forEach(l=>{let i=l.dataset.lang;i&&(l.href=(0,vS.KJ)(e,t,i))})},[t]),null==o?void 0:null===(i=o.Languages)||void 0===i?void 0:i.length)?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("li",{className:"lang",children:["en"==t?(0,va.jsx)("div",{className:"lang-current",children:(0,va.jsx)("span",{children:n("Languages/"+(null===(s=o.Languages.filter(e=>{var l;return(null===(l=e.name)||void 0===l?void 0:l.toLowerCase())!=t.toLowerCase()})[0])||void 0===s?void 0:s.name))})}):(0,va.jsx)("div",{className:"lang-current",children:(0,va.jsx)("span",{children:n("Languages/en")})}),(0,va.jsx)("ul",{className:"lang-list pl-0",ref:d,children:o.Languages.map((e,l)=>{let i="Languages/"+e.name;return(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)("li",{children:(0,va.jsx)("a",{href:"#","data-lang":e.name.toLocaleString(),children:n(i)})})},l)})})]})}):(0,va.jsx)(va.Fragment,{})},p9=async(e,l)=>{var i,s,n,a,d;let t=null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en";return t?await p8.GetLanguageSelectors(t,o):{}};var he=p7;let hl=e=>{var l,i;let{t:s,locale:n}=(0,vT.QT)(),a=(0,vd.useRef)(null),d=(0,vd.useRef)(null),t=n(),o=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return((0,vd.useEffect)(()=>{let e=location.pathname.concat(location.search);(null==d?void 0:d.current)&&(d.current.href=e),(null==a?void 0:a.current)&&a.current.querySelectorAll("a[data-lang]").forEach(l=>{let i=l.dataset.lang;i&&(l.href=(0,vS.KJ)(e,t,i))})},[t]),null==o?void 0:null===(i=o.Languages)||void 0===i?void 0:i.length)?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"mobile-lang",children:[o.Languages.map((e,l)=>{let i=(0,va.jsx)(va.Fragment,{}),n="Languages/"+e.name;return t.toLowerCase()==e.name.toLowerCase()&&(i=(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"mobile-lang-default",children:s(n)}),(0,va.jsx)("span",{className:"mobile-lang-expanded",children:(0,va.jsx)("a",{href:"#",ref:d,children:s(n)})})]})),(0,va.jsx)(vd.Fragment,{children:i},l)}),(0,va.jsx)("ul",{className:"mobile-lang__nav pl-0",ref:a,children:o.Languages.map((e,l)=>{let i=(0,va.jsx)(va.Fragment,{}),n="Languages/"+e.name;return t.toLowerCase()!=e.name.toLowerCase()&&(i=(0,va.jsx)("li",{children:(0,va.jsx)("a",{href:"#","data-lang":e.name.toLocaleString(),children:s(n)})})),(0,va.jsx)(vd.Fragment,{children:i},l)})})]})}):(0,va.jsx)(va.Fragment,{})},hi=async(e,l)=>{var i,s,n,a,d;let t=null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en";return t?await p8.GetLanguageSelectors(t,o):{}};var hs=(0,vp.C)()(hl);let hn=e=>{var l,i;let{t:s,locale:n}=(0,vT.QT)(),a=(0,vd.useRef)(null),d=n(),t=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return((0,vd.useEffect)(()=>{let e=location.pathname.concat(location.search);(null==a?void 0:a.current)&&a.current.querySelectorAll("a[data-sclang]").forEach(l=>{let i=l.dataset.sclang;i&&(l.href=(0,vS.KJ)(e,d,i))})},[d]),null==t?void 0:null===(i=t.Languages)||void 0===i?void 0:i.length)?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("li",{className:"nopipe lang",children:[(0,va.jsx)("span",{className:"sp sp-lang_globe"}),(0,va.jsx)("a",{className:"lang-switch",href:"#",children:s("Languages/"+d)}),(0,va.jsx)("span",{className:"sp sp-lang_arrow"}),(0,va.jsx)("div",{className:"lang-opt",children:(0,va.jsx)("ul",{ref:a,children:null==t?void 0:t.Languages.map((e,l)=>{let i=(0,va.jsx)(va.Fragment,{});if(e.name.toLowerCase()!=d.toLowerCase()){let l="Languages/"+e.name;i=(0,va.jsx)("li",{children:(0,va.jsx)("a",{href:"#","data-sclang":e.name.toLowerCase(),children:s(l)})})}return(0,va.jsx)(vd.Fragment,{children:i},l)})})}),(0,va.jsx)("div",{className:"lang-backdrop"})]})}):(0,va.jsx)(va.Fragment,{})},ha=async(e,l)=>{var i,s,n,a,d;let t=null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en";return t?await p8.GetLanguageSelectors(t,o):{}};var hd=hn;let ht=e=>{var l,i;let{t:s,locale:n}=(0,vT.QT)(),a=n(),d=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),t=(0,vd.useRef)(null);return((0,vd.useEffect)(()=>{let e=location.pathname.concat(location.search);(null==t?void 0:t.current)&&t.current.querySelectorAll("a[data-sclang]").forEach(l=>{let i=l.dataset.sclang;i&&(l.href=(0,vS.KJ)(e,a,i))})},[a]),null==d?void 0:null===(i=d.Languages)||void 0===i?void 0:i.length)?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("li",{className:"tablet mobile horizontal",children:(0,va.jsx)("ul",{className:"lang",children:null==d?void 0:d.Languages.map((e,l)=>{let i="Languages/"+e.name,n=e.name.toLowerCase()==a.toLowerCase()?"current":"";return(0,va.jsx)("li",{children:(0,va.jsx)("a",{href:"#",className:n,"data-sclang":e.name.toLowerCase(),children:s(i)})},l)})})})}):(0,va.jsx)(va.Fragment,{})},ho=async(e,l)=>{var i,s,n,a,d;let t=null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en";return t?await p8.GetLanguageSelectors(t,o):{}};var hr=ht;let hc=e=>{let{t:l,locale:i}=(0,vT.QT)();return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:e.fields.LocationItems.map((e,s)=>{var n,a,d;va.Fragment;let t="",o="#item"+s;return(null===(n=e.fields.LocationLink)||void 0===n?void 0:n.value.href)!=""&&(null===(a=e.fields.LocationLink)||void 0===a?void 0:a.value.href)!=void 0&&(t=o=e.fields.LocationLink.value.href),(0,va.jsxs)("div",{className:"location-item location-image-item item bg-white cat-"+(null===(d=e.fields.LocationCategory.fields)||void 0===d?void 0:d.Value),id:"item"+s,children:[(0,va.jsx)(vg.E,{field:e.fields.LocationImage,className:"flex-img"}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.LocationTitle})}),(0,va.jsx)("div",{className:"dot",children:(0,va.jsx)(vx.H,{field:e.fields.LocationBody})}),(0,va.jsxs)("p",{className:"travel",children:[(0,va.jsx)("span",{className:"sp"+e.fields.VehicleCssClass.fields.Value}),(0,va.jsx)(vm.x,{field:e.fields.VehicleSummary})]}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{className:"toggle-content ",title:""!=t?"title":"",href:(0,vS.at)(o,i()),target:"_blank",children:[l(mT.W.LOCATION.READMORE),(0,va.jsx)("span",{className:"sp sp-view_link_
1icon"})]})})]})]})})})};var hv=(0,vp.C)()(hc);let hu=e=>{var l,i,s,n;let{t:a}=(0,vT.QT)(),d=null===(i=e.fields)||void 0===i?void 0:null===(l=i.GoogleMapLocation)||void 0===l?void 0:l.value.split(","),t=null===(n=e.fields)||void 0===n?void 0:null===(s=n.BaiduMapLocation)||void 0===s?void 0:s.value.split(",");return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"map",children:[(0,va.jsx)("div",{className:"gmap","data-lang":a.name,"data-google-api":"","data-baidu-api":"","data-lat":(null==d?void 0:d.length)>0?d[0]:"","data-lng":(null==d?void 0:d.length)>0?d[d.length-1]:"","data-blat":(null==t?void 0:t.length)>0?t[0]:"","data-blng":(null==t?void 0:t.length)>0?t[t.length-1]:"","data-bcity":e.fields.BaiduCity.value,"data-zoom":"","data-title":e.fields.MapTitle.value}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:e.fields.GoogleMapLink,target:"_blank",children:[a(mT.W.MAPS.OPENGOOGLEMAP),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})})};var hm=(0,vp.C)()(hu);let hx=e=>{var l,i,s,n;let{t:a}=(0,vT.QT)(),d=null===(i=e.fields)||void 0===i?void 0:null===(l=i.GoogleMapLocation)||void 0===l?void 0:l.value.split(","),t=null===(n=e.fields)||void 0===n?void 0:null===(s=n.BaiduMapLocation)||void 0===s?void 0:s.value.split(",");return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"map",children:(0,va.jsx)("div",{className:"gmap","data-lang":a.name,"data-google-api":"","data-baidu-api":"","data-lat":(null==d?void 0:d.length)>0?d[0]:"","data-lng":(null==d?void 0:d.length)>0?d[d.length-1]:"","data-blat":(null==t?void 0:t.length)>0?t[0]:"","data-blng":(null==t?void 0:t.length)>0?t[t.length-1]:"","data-bcity":e.fields.BaiduCity.value,"data-zoom":"","data-title":e.fields.MapTitle.value})})})};var hp=(0,vp.C)()(hx);let hh=e=>{var l,i,s,n;let{t:a}=(0,vT.QT)(),d=null===(i=e.fields)||void 0===i?void 0:null===(l=i.GoogleMapLocation)||void 0===l?void 0:l.value.split(","),t=null===(n=e.fields)||void 0===n?void 0:null===(s=n.BaiduMapLocation)||void 0===s?void 0:s.value.split(",");return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"map col",children:(0,va.jsx)("div",{className:"gmap","data-lang":a.name,"data-google-api":"","data-baidu-api":"","data-lat":(null==d?void 0:d.length)>0?d[0]:"","data-lng":(null==d?void 0:d.length)>0?d[d.length-1]:"","data-blat":(null==t?void 0:t.length)>0?t[0]:"","data-blng":(null==t?void 0:t.length)>0?t[t.length-1]:"","data-zoom":"","data-title":e.fields.MapTitle.value})})})};var hf=(0,vp.C)()(hh);let hg=e=>{let{t:l}=(0,vT.QT)(),i=!0;return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"action-bar row csspositionsticky",children:(0,va.jsx)("div",{className:"col",children:(0,va.jsxs)("div",{className:"article-filter dropdown selector","data-sc-class":"maxw @desktop use-os-select @mobile@tablet@touchevents",children:[(0,va.jsx)("ul",{className:"item-list",children:e.fields.SelectedItems.map(e=>{var l,s;let n=(0,va.jsx)(va.Fragment,{}),a=i?"active":"";return n=(0,va.jsx)("li",{className:a,children:(0,va.jsx)("a",{href:"#",title:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(l=s.Title)||void 0===l?void 0:l.value,children:(0,va.jsx)(vm.x,{field:e.fields.Title})})}),i=!1,n})}),(0,va.jsxs)("a",{className:"toggler",href:"#",children:[(0,va.jsx)("span",{className:"icon triangle"})," ",(0,va.jsx)("label",{children:e.fields.SelectedItems.length>0?(0,va.jsx)(vm.x,{field:e.fields.SelectedItems[0].fields.Title}):""})]})]})})}),(0,va.jsx)("ul",{className:"static-result item-list",children:e.fields.SelectedItems.map((e,i)=>(0,va.jsxs)("li",{children:[(0,va.jsx)("div",{className:"info container",children:(0,va.jsxs)("div",{className:"row c2--desktop",children:[(0,va.jsxs)("div",{className:"address col",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsx)("p",{children:(0,va.jsx)(vx.H,{field:e.fields.Address})}),(0,va.jsxs)("p",{children:[l(mT.W.MAPS.TEL),(0,va.jsx)("a",{href:"tel:"+e.fields.Contact,children:(0,va.jsx)(vm.x,{field:e.fields.Contact})}),(0,va.jsx)("br",{}),null!=e.fields.GeneralEnquiriesEmail&&""!=e.fields.GeneralEnquiriesEmail.value.href?(0,va.jsxs)(va.Fragment,{children:[l(mT.W.MAPS.GENERALENQUIRIES),(0,va.jsx)(vk,{field:e.fields.GeneralEnquiriesEmail})]}
1):"",null!=e.fields.MediaEnquiriesEmail&&""!=e.fields.MediaEnquiriesEmail.value.href?(0,va.jsxs)(va.Fragment,{children:[l(mT.W.MAPS.MEDIAENQUIRIES),(0,va.jsx)(vk,{field:e.fields.MediaEnquiriesEmail})]}):""]})]}),(0,va.jsx)("div",{className:"google map col",children:(0,va.jsx)("div",{className:"map-container","data-google-lng":e.fields.GoogleMapLocation.value.split(",").length>=1?e.fields.GoogleMapLocation.value.split(",")[1]:"","data-google-lat":e.fields.GoogleMapLocation.value.split(",").length>=0?e.fields.GoogleMapLocation.value.split(",")[0]:"","data-gaode-lng":e.fields.GoogleMapLocation.value.split(",").length>=1?e.fields.GoogleMapLocation.value.split(",")[1]:"","data-gaode-lat":e.fields.GoogleMapLocation.value.split(",").length>=0?e.fields.GoogleMapLocation.value.split(",")[0]:"","data-zoom":"17",children:(0,va.jsxs)("ul",{className:"action-bar item-list","data-sc-class":"h-float @@tablet@@desktop",children:[(0,va.jsx)("li",{className:"google open-map",children:null!=e.fields.GoogleMapLink?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vk,{field:e.fields.GoogleMapLink,className:"secondary btn with-icon-after chevron-round right",children:l(mT.W.MAPS.OPENINMAPS)})}):""}),(0,va.jsx)("li",{className:"gaode open-map",children:null!=e.fields.GaodeMapLink?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vk,{field:e.fields.GaodeMapLink,className:"secondary btn with-icon-after chevron-round right",children:l(mT.W.MAPS.OPENINMAPS)})}):""}),(0,va.jsx)("li",{className:"google download-map",children:null!=e.fields.DownloadGoogleMapLink?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vk,{field:e.fields.DownloadGoogleMapLink,className:"secondary btn with-icon-after chevron-round right",children:l(mT.W.MAPS.DOWNLOADTHEMAP)})}):""}),(0,va.jsx)("li",{className:"gaode download-map",children:null!=e.fields.DownloadGaodeMapLink?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vk,{field:e.fields.DownloadGaodeMapLink,className:"secondary btn with-icon-after chevron-round right",children:l(mT.W.MAPS.DOWNLOADTHEMAP)})}):""}),(0,va.jsx)("li",{className:"switch-gaode-map",children:(0,va.jsx)("a",{className:"secondary btn with-icon-after chevron-round right",href:"#",title:l(mT.W.MAPS.SWITCHTOGOODEMAP),children:l(mT.W.MAPS.SWITCHTOGOODEMAP)})}),(0,va.jsx)("li",{className:"switch-google-map",children:(0,va.jsx)("a",{className:"secondary btn with-icon-after chevron-round right",href:"#",title:l(mT.W.MAPS.SWITCHTOGOOGLEMAP),children:l(mT.W.MAPS.SWITCHTOGOOGLEMAP)})})]})})})]})}),l("sh-article-detail-content-"+e.fields.Id.value)]},i))})]})};var hj=(0,vp.C)()(hg);let hN=e=>(0,va.jsx)(va.Fragment,{});var hb=(0,vp.C)()(hN);class hT extends p4{async GetLookupItems(e,l,i){let s=[],n=[ux.t9.jssAppTemplateId,ux.t9.PropertyHome].join("|"),a=await this.GetAncestorsItem("GetItems",l,i,n);if(null==a?void 0:a.length){let l="".concat(a[0].path,"/Settings/Lookup/").concat(e),n=await this.GetItemChildrenItem("GetLookupItems",l,i,ux.t9.Lookup,!0,5);(null==n?void 0:n.length)&&s.push(...n)}return s}async GetSettingItem(e,l,i){let s=[ux.t9.jssAppTemplateId,ux.t9.PropertyHome].join("|"),n=await this.GetAncestorsItem("GetSettingItem"+e,e,l,s);if(null==n?void 0:n.length){let e=i||ux.t9.Map,s="".concat(n[0].path,"/Settings"),a=await this.GetItemChildrenItem("GetSettingItem"+e,s,l,e,!1,2);if(null==a?void 0:a.length)return a[0]}return{}}constructor(e){super(e)}}let hS=new hT({cacheTimeout:300}),hk=e=>(0,va.jsx)("div",{className:"map--item","data-target":e.MapType,children:(0,va.jsx)("div",{id:e.MapId,"data-lat":e.Latitude,"data-lng":e.Longitude,"data-zoom":e.MapZoom})}),hw=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_;let{t:M}=(0,vT.QT)(),R=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);vD(e,"GoogleMapApiKey")&&(R=e);let P=(0,vr.z)().sitecoreContext;return((0,vd.useEffect)(()=>{var e,l;let i=document.createElement("script");i.setAttribute("src","https://maps.googleapis.com/maps/api/js?key=".concat(null==R?void 0:null===(l=R.fields)||void 0===l?void 0:null===(e=l.GoogleMapApiKey)||void 0===e?void 0:e.value,"&callback=initMap")),i.setAttribute("type","text/javascript"),document.getElementsByTagName("head")[0].appendChild(i)}),R)?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"map--content",children:"zh-cn"==M.name.toLowerCase()?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(hk,{MapType:"GaodeMap",MapId:"GaodeMap",Latitude:null==P?void 0:null===(n=P.route)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.GaodeLatitude)||void 0===i?void 0:i.value,Longitude:null==P?void 0:null===(t=P.route)||void 0===t?void 0:null===(d=t.fields)||void 0===d?void 0:null===(a=d.GaodeLongitude)||void 0===a?void 0:a.value,MapZoom:null==R?void 0:null===(r=R.fields)||void 0===r?void 0:null===(o=r.MapZoom)||void 0===o?void 0:o.value}),(0,va.jsx)(hk,{MapType:"googleMap",MapId:"googleMap",Latitude:null==P?void 0:null===(u=P.route)||void 0===u?void 0:null===(v=u.fields)||void 0===v?void 0:null===(c=v.Latitude)||void 0===c?void 0:c.value,Longitude:null==P?void 0:null===(p=P.route)||void 0===p?void 0:null===(x=p.fields)||void 0===x?void 0:null===(m=x.Longitude)||void 0===m?void 0:m.value,MapZoom:null==R?void 0:null===(f=R.fields)||void 0===f?void 0:null===(h=f.MapZoom)||void 0===h?void 0:h.value})]}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(hk,{MapType:"googleMap",MapId:"googleMap",Latitude:null==P?void 0:null===(N=P.route)||void 0===N?void 0:null===(j=N.fields)||void 0===j?void 0:null===(g=j.Latitude)||void 0===g?void 0:g.value,Longitude:null==P?void 0:null===(S=P.route)||void 0===S?void 0:null===(T=S.fields)||void 0===T?void 0:null===(b=T.Longitude)||void 0===b?void 0:b.value,MapZoom:null==R?void 0:null===(w=R.fields)||void 0===w?void 0:null===(k=w.MapZoom)||void 0===k?void 0:k.value}),(0,va.jsx)(hk,{MapType:"GaodeMap",MapId:"GaodeMap",Latitude:null==P?void 0:null===(C=P.route)||void 0===C?void 0:null===(E=C.fields)||void 0===E?void 0:null===(y=E.GaodeLatitude)||void 0===y?void 0:y.value,Longitude:null==P?void 0:null===(I=P.route)||void 0===I?void 0:null===(L=I.fields)||void 0===L?void 0:null===(O=L.GaodeLongitude)||void 0===O?void 0:O.value,MapZoom:null==R?void 0:null===(_=R.fields)||void 0===_?void 0:null===(F=_.MapZoom)||void 0===F?void 0:F.value})]})})}):(0,va.jsx)(va.Fragment,{})},hy=async(e,l)=>{var i,s,n,a,d,t;if(vD(e,"GoogleMapApiKey"))return{};let o=null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,r=null!==(t=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==t?t:"en";return o&&await hS.GetSettingItem(o,r,(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.tid)||"")};var hE=hw,hC=i(48764).Buffer,hO=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R;let{t:P}=(0,vT.QT)(),[A,D]=(0,vd.useState)("");D((null==e?void 0:null===(l=e.fields.CSSPosition)||void 0===l?void 0:l.value)?A+"position:"+(null==e?void 0:null===(i=e.fields.CSSPosition)||void 0===i?void 0:i.value)+";":A);let B=(null==e?void 0:null===(s=e.fields.CSSAdjustableLeftOrRight)||void 0===s?void 0:s.value)?null==e?void 0:null===(n=e.fields.CSSAdjustableLeftOrRight)||void 0===n?void 0:n.value:"0",V=(null==e?void 0:null===(a=e.fields.CSSTop)||void 0===a?void 0:a.value)?null==e?void 0:null===(d=e.fields.CSSTop)||void 0===d?void 0:d.value:"0";D(A+" transform: translate("+B+", "+V+");"),D((null==e?void 0:null===(t=e.fields.CSSZIndex)||void 0===t?void 0:t.value)?A+"z-index:"+(null==e?void 0:null===(o=e.fields.CSSZIndex)||void 0===o?void 0:o.value)+";":A),D((null==e?void 0:null===(r=e.fields.CSSWidth)||void 0===r?void 0:r.value)?A+"width:"+(null==e?void 0:null===(c=e.fields.CSSWidth)||void 0===c?void 0:c.value)+" !important;":A),D((null==e?void 0:null===(v=e.fields.CSSHeight)||void 0===v?void 0:v.value)?A+"height:"+(null==e?void 0:null===(u=e.fields.CSSHeight)||void 0===u?void 0:u.value)+" !important;":A);let[W,H]=(0,vd.useState)("");H((null==e?void 0:null===(m=e.fields.CSSMobileWidth)||void 0===m?void 0:m.value)?W+"width:"+(null==e?void 0:null===(x=e.fields.CSSMobileWidth)||void 0===x?void 0:x.value)+" !important;":W),H((null==e?void 0:null===(p=e.fields.CSSMobileHeight)||void 0===p?void 0:p.value)?W+"height:"+(null==e?void 0:null===(h=e.fields.CSSMobileHeight)||void 0===h?void 0:h.value)+" !important;":W),H((null==e?void 0:null===(f=e.fields.CSSMobilePosition)||void 0===f?void 0:f.value)?W+"position:"+(null==e?void 0:null===(g=e.fields.CSSMobilePosition)||void 0===g?void 0:g.value)+";":W),H(W+" transform: translate("+((null==e?void 0:null===(j=e.fields.CSSMobileAdjustableLeftOrRight)||void 0===j?void 0:j.value)?null==e?void 0:null===(N=e.fields.CSSMobileAdjustableLeftOrRight)||void 0===N?void 0:N.value:B)+", "+((null==e?void 0:null===(b=e.fields.CSSMobileTop)||void 0===b?void 0:b.value)?null==e?void 0:null===(T=e.fields.CSSMobileTop)||void 0===T?void 0:T.value:V)+");");let[G,U]=(0,vd.useState)("");U((null==e?void 0:null===(S=e.fields.CSSTabletPotraitWidth)||void 0===S?void 0:S.value)?G+"width:"+(null==e?void 0:null===(k=e.fields.CSSTabletPotraitWidth)||void 0===k?void 0:k.value)+" !important;":G),U((null==e?void 0:null===(w=e.fields.CSSTabletPotraitHeight)||void 0===w?void 0:w.value)?G+"height:"+(null==e?void 0:null===(y=e.fields.CSSTabletPotraitHeight)||void 0===y?void 0:y.value)+" !important;":G),U((null==e?void 0:null===(E=e.fields.CSSTabletPotraitPosition)||void 0===E?void 0:E.value)?G+"position:"+(null==e?void 0:null===(C=e.fields.CSSTabletPotraitPosition)||void 0===C?void 0:C.value)+";":G),U(G+" transform: translate("+((null==e?void 0:null===(O=e.fields.CSSTabletPotraitAdjustableLeftOrRight)||void 0===O?void 0:O.value)?null==e?void 0:null===(L=e.fields.CSSTabletPotraitAdjustableLeftOrRight)||void 0===L?void 0:L.value:B)+", "+((null==e?void 0:null===(I=e.fields.CSSTabletPotraitTop)||void 0===I?void 0:I.value)?null==e?void 0:null===(F=e.fields.CSSTabletPotraitTop)||void 0===F?void 0:F.value:V)+");");let z=(null==e?void 0:e.fields.DisplayMobile)==!1?"hide-configurable-image-mobile":"show-configurable-image-mobile",q=(null==e?void 0:e.fields.DisplayTabletPotrait)==!1?"hide-configurable-image-tablet":"show-configurable-image-tablet",Q="configurable-image-"+hC.from(null==e?void 0:null===(_=e.fields.Id)||void 0===_?void 0:_.value).toString("base64").replace(/[\/+=]/g,"");return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(vg.E,{className:"configurable-image ".concat(z," ").concat(q," ").concat(Q)}),(0,va.jsx)("img",{src:null==e?void 0:null===(R=e.fields.Graphik)||void 0===R?void 0:null===(M=R.value)||void 0===M?void 0:M.src,className:"configurable-image ".concat(z," ").concat(q," ").concat(Q),"data-componentid":Q,"data-css":A,"data-mcss":W,"data-tcss":G})]})}),hL=(0,vp.C)()(e=>{var l,i,s,n;let a=(0,vr.z)().sitecoreContext.pageEditing,{locale:d}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(l=e.fields.MediaList)||void 0===l?void 0:l.length)<=0?(0,va.jsx)(va.Fragment,{children:a?(0,va.jsx)("div",{className:"full-container slider full-width",children:(0,va.jsx)("div",{className:"slider-item"})}):(0,va.jsx)(va.Fragment,{})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"home-hero__img slider full-width","data-autoplayspeed":(null==e?void 0:null===(i=e.fields.AutoPlaySpeedSeconds)||void 0===i?void 0:i.value)>0?(null==e?void 0:null===(s=e.fields.AutoPlaySpeedSeconds)||void 0===s?void 0:s.value)*1e3:3e3,children:Object.values(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.MediaList).map((l,i)=>{var s,n,a,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei,es,en,ea,ed,et,eo,er,ec,ev,eu,em,ex,ep,eh,ef,eg,ej,eN,eb,eT,eS,ek,ew,ey,eE,eC,eO,eL,eI,eF,e_,eM,eR,eP,eA,eD,eB,eV,eW,eH,eG,eU,ez,eq,eQ,eY,eK,e$,eZ,eJ,eX;return(0,va.jsx)("div",{className:"slider-item",children:(null==l?void 0:null===(a=l.fields)||void 0===a?void 0:null===(n=a.VideoLink)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.href)?(0,va.jsx)(va.Fragment,{children:(null==l?void 0:null===(ee=l.fields.VideoLink)||void 0===ee?void 0:null===(X=ee.value)||void 0===X?void 0:X.href.toLocaleLowerCase().indexOf("mediaservices"))>
1=0||(null==l?void 0:null===(ei=l.fields.VideoLink)||void 0===ei?void 0:null===(el=ei.value)||void 0===el?void 0:el.href.toLocaleLowerCase().indexOf("azure"))>=0||(null==l?void 0:null===(en=l.fields.VideoLink)||void 0===en?void 0:null===(es=en.value)||void 0===es?void 0:es.href.toLocaleLowerCase().indexOf("media"))>=0?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"home-hero__video",children:(0,va.jsxs)("video",{id:"MediaCarouselWithVideoLink",className:"azuremediaplayer amp-default-skin amp-big-play-centered",controls:null==l?void 0:null===(ed=l.fields)||void 0===ed?void 0:null===(ea=ed.ShowVideoControl)||void 0===ea?void 0:ea.value,autoPlay:null==l?void 0:null===(eo=l.fields)||void 0===eo?void 0:null===(et=eo.AutoPlay)||void 0===et?void 0:et.value,muted:null==l?void 0:null===(ec=l.fields)||void 0===ec?void 0:null===(er=ec.AutoPlay)||void 0===er?void 0:er.value,width:"100%",height:"auto",loop:(null==e?void 0:null===(ev=e.fields.MediaList)||void 0===ev?void 0:ev.length)==1,poster:null==l?void 0:null===(em=l.fields.MediaThumbnail)||void 0===em?void 0:null===(eu=em.value)||void 0===eu?void 0:eu.src,children:[(0,va.jsx)("source",{src:null==l?void 0:null===(ep=l.fields.VideoLink)||void 0===ep?void 0:null===(ex=ep.value)||void 0===ex?void 0:ex.href,type:"application/vnd.ms-sstr+xml"}),(0,va.jsx)("p",{className:"amp-no-js",children:"To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video"})]})}),(0,va.jsxs)("div",{className:"home-hero__img",children:[(0,va.jsx)("img",{src:null==l?void 0:null===(ef=l.fields.MediaThumbnail_Mobile)||void 0===ef?void 0:null===(eh=ef.value)||void 0===eh?void 0:eh.src,className:"small"}),(0,va.jsx)("img",{src:null==l?void 0:null===(ej=l.fields.MediaThumbnail)||void 0===ej?void 0:null===(eg=ej.value)||void 0===eg?void 0:eg.src,className:"large"})]}),(null==l?void 0:null===(eN=l.fields.Description)||void 0===eN?void 0:eN.value)||(null==l?void 0:null===(eT=l.fields.Link)||void 0===eT?void 0:null===(eb=eT.value)||void 0===eb?void 0:eb.href)?(0,va.jsxs)("article",{className:"main-container ".concat(null==l?void 0:null===(ek=l.fields)||void 0===ek?void 0:null===(eS=ek.TextPosition)||void 0===eS?void 0:eS.Value),children:[(null==l?void 0:null===(ew=l.fields.Description)||void 0===ew?void 0:ew.value)?(0,va.jsx)("h1",{children:(0,va.jsx)(vx.H,{field:null==l?void 0:l.fields.Description})}):(0,va.jsx)(va.Fragment,{}),(null==l?void 0:null===(eE=l.fields.Link)||void 0===eE?void 0:null===(ey=eE.value)||void 0===ey?void 0:ey.href)?(0,va.jsx)(va.Fragment,{children:(null==l?void 0:null===(eO=l.fields.Link)||void 0===eO?void 0:null===(eC=eO.value)||void 0===eC?void 0:eC.href.toLocaleLowerCase().indexOf("mediaservices"))>=0||(null==l?void 0:null===(eI=l.fields.Link)||void 0===eI?void 0:null===(eL=eI.value)||void 0===eL?void 0:eL.href.toLocaleLowerCase().indexOf("azure"))>=0||(null==l?void 0:null===(e_=l.fields.Link)||void 0===e_?void 0:null===(eF=e_.value)||void 0===eF?void 0:eF.href.toLocaleLowerCase().indexOf("media"))>=0?(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"javascript:void(0);","data-video":null==l?void 0:null===(eR=l.fields.Link)||void 0===eR?void 0:null===(eM=eR.value)||void 0===eM?void 0:eM.href,className:"btn call-to-action call-to-action--button",title:null==l?void 0:null===(eD=l.fields.LinkTitle)||void 0===eD?void 0:null===(eA=eD.fields)||void 0===eA?void 0:null===(eP=eA.Phrase)||void 0===eP?void 0:eP.value,"data-poster":null==l?void 0:null===(eV=l.fields.MediaThumbnail)||void 0===eV?void 0:null===(eB=eV.value)||void 0===eB?void 0:eB.src,children:(0,va.jsx)(vx.H,{field:null==l?void 0:null===(eH=l.fields.LinkTitle)||void 0===eH?void 0:null===(eW=eH.fields)||void 0===eW?void 0:eW.Phrase})})}):(0,va.jsx)("p",{children:(0,va.jsx)("a",{title:null==l?void 0:null===(ez=l.fields.LinkTitle)||void 0===ez?void 0:null===(eU=ez.fields)||void 0===eU?void 0:null===(eG=eU.Phrase)||void 0===eG?void 0:eG.value,href:(0,vS.at)(null==l?void 0:null===(eQ=l.fields.Link)||void 0===eQ?void 0:null===(eq=eQ.value)||void 0===eq?void 0:eq.href,d()),className:(null==l?void 0:null===(eK=l.fields.Link)||void 0===eK?void 0:null===(eY=eK.value)||void 0===eY?void 0:eY.class)?null==l?void 0:null===(eZ=l.fields.Link)||void 0===eZ?void 0:null===(e$=eZ.value)||void 0===e$?void 0:e$.class:(null==l?void 0:null===(eX=l.fields)||void 0===eX?void 0:null===(eJ=eX.IsButton)||void 0===eJ?void 0:eJ.value)==!0?"btn":""})})}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsx)(va.Fragment,{})}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"home-hero__img",children:[(0,va.jsx)("img",{src:null==l?void 0:null===(r=l.fields)||void 0===r?void 0:null===(o=r.MediaThumbnail_Mobile)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.src,className:"small"}),(0,va.jsx)("img",{src:null==l?void 0:null===(u=l.fields)||void 0===u?void 0:null===(v=u.MediaThumbnail)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.src,className:"large"})]}),(null==l?void 0:null===(x=l.fields)||void 0===x?void 0:null===(m=x.Description)||void 0===m?void 0:m.value)||(null==l?void 0:null===(f=l.fields)||void 0===f?void 0:null===(h=f.Link)||void 0===h?void 0:null===(p=h.value)||void 0===p?void 0:p.href)?(0,va.jsxs)("article",{className:"main-container ".concat(null==l?void 0:null===(j=l.fields)||void 0===j?void 0:null===(g=j.TextPosition)||void 0===g?void 0:g.Value),children:[(null==l?void 0:null===(b=l.fields)||void 0===b?void 0:null===(N=b.Description)||void 0===N?void 0:N.value)?(0,va.jsx)("h1",{children:(0,va.jsx)(vx.H,{field:null==l?void 0:null===(T=l.fields)||void 0===T?void 0:T.Description})}):(0,va.jsx)(va.Fragment,{}),(null==l?void 0:null===(w=l.fields)||void 0===w?void 0:null===(k=w.Link)||void 0===k?void 0:null===(S=k.value)||void 0===S?void 0:S.href)?(0,va.jsx)(va.Fragment,{children:(null==l?void 0:null===(E=l.fields.Link)||void 0===E?void 0:null===(y=E.value)||void 0===y?void 0:y.href.toLocaleLowerCase().indexOf("mediaservices"))>=0||(null==l?void 0:null===(O=l.fields.Link)||void 0===O?void 0:null===(C=O.value)||void 0===C?void 0:C.href.toLocaleLowerCase().indexOf("azure"))>=0||(null==l?void 0:null===(I=l.fields.Link)||void 0===I?void 0:null===(L=I.value)||void 0===L?void 0:L.href.toLocaleLowerCase().indexOf("media"))>=0?(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"javascript:void(0);
1","data-video":null==l?void 0:null===(_=l.fields.Link)||void 0===_?void 0:null===(F=_.value)||void 0===F?void 0:F.href,className:"btn call-to-action call-to-action--button",title:null==l?void 0:null===(P=l.fields.LinkTitle)||void 0===P?void 0:null===(R=P.fields)||void 0===R?void 0:null===(M=R.Phrase)||void 0===M?void 0:M.value,"data-poster":null==l?void 0:null===(D=l.fields.MediaThumbnail)||void 0===D?void 0:null===(A=D.value)||void 0===A?void 0:A.src,children:(0,va.jsx)(vx.H,{field:null==l?void 0:null===(V=l.fields.LinkTitle)||void 0===V?void 0:null===(B=V.fields)||void 0===B?void 0:B.Phrase})})}):(0,va.jsx)("p",{children:(0,va.jsx)("a",{title:null==l?void 0:null===(G=l.fields.LinkTitle)||void 0===G?void 0:null===(H=G.fields)||void 0===H?void 0:null===(W=H.Phrase)||void 0===W?void 0:W.value,href:(0,vS.at)(null==l?void 0:null===(z=l.fields.Link)||void 0===z?void 0:null===(U=z.value)||void 0===U?void 0:U.href,d()),className:(null==l?void 0:null===(Q=l.fields.Link)||void 0===Q?void 0:null===(q=Q.value)||void 0===q?void 0:q.class)?null==l?void 0:null===(K=l.fields.Link)||void 0===K?void 0:null===(Y=K.value)||void 0===Y?void 0:Y.class:(null==l?void 0:null===(J=l.fields)||void 0===J?void 0:null===(Z=J.IsButton)||void 0===Z?void 0:Z.value)==!0?"btn":""})})}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsx)(va.Fragment,{})]})},i)})})})})}),hI=(0,vp.C)()(e=>{var l,i,s;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"img-wrapper",children:(0,va.jsx)("div",{className:"inner",children:(0,va.jsx)("div",{className:"top_slider",children:(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.SelectedImages)||void 0===l?void 0:l.length)>0?Object.values(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.SelectedImages).map((e,l)=>{var i,s,n;return(0,va.jsx)("div",{children:(0,va.jsx)("img",{src:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.MediaThumbnail)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src,className:"slide-img tiny-width"})},l)}):(0,va.jsx)(va.Fragment,{})})})})})}),hF=(0,vp.C)()(e=>{var l,i,s;let n=(0,vr.z)().sitecoreContext.pageEditing,{locale:a}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.MediaList)||void 0===l?void 0:l.length)<=0?(0,va.jsx)(va.Fragment,{children:n?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"full-container slider full-width",children:(0,va.jsx)("div",{className:"slider-item"})}),(0,va.jsx)("div",{className:"full-container slider full-width",children:(0,va.jsx)("div",{className:"slider-item"})})]}):(0,va.jsx)(va.Fragment,{})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("section",{className:"home-hero",children:(0,va.jsx)("div",{className:"home-hero__img slider full-width",children:Object.values(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.MediaList).map((l,i)=>{var s,n,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei,es,en,ea,ed,et,eo,er,ec,ev,eu,em,ex,ep,eh,ef,eg,ej,eN,eb,eT,eS,ek,ew,ey,eE,eC,eO,eL,eI,eF,e_,eM,eR,eP,eA,eD,eB,eV,eW,eH,eG,eU,ez,eq,eQ,eY,eK,e$,eZ,eJ,eX,e0,e1,e2,e5,e3,e4,e6,e8,e7,e9,le,ll,li,ls,ln,la,ld,lt,lo,lr,lc,lv,lu,lm,lx,lp,lh,lf,lg,lj,lN;return(0,va.jsx)("div",{className:"slider-item",children:(null==l?void 0:null===(d=l.fields)||void 0===d?void 0:null===(n=d.VideoLink)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.href)?(0,va.jsx)(va.Fragment,{children:(null==l?void 0:null===(c=l.fields)||void 0===c?void 0:null===(r=c.VideoLink)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:null===(t=o.href)||void 0===t?void 0:t.toLocaleLowerCase().indexOf("mediaservices"))>=0||(null==l?void 0:null===(x=l.fields)||void 0===x?void 0:null===(m=x.VideoLink)||void 0===m?void 0:null===(u=m.value)||void 0===u?void 0:null===(v=u.href)||void 0===v?void 0:v.toLocaleLowerCase().indexOf("azure"))>=0||(null==l?void 0:null===(g=l.fields)||void 0===g?void 0:null===(f=g.VideoLink)||void 0===f?void 0:null===(h=f.value)||void 0===h?void 0:null===(p=h.href)||void 0===p?void 0:p.toLocaleLowerCase().indexOf("media."))>=0?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"home-hero__video",children:(0,va.jsxs)("video",{id:"MediaCarouselWithVideoLink",className:"azuremediaplayer amp-default-skin amp-big-play-centered",autoPlay:null==l?void 0:null===(N=l.fields)||void 0===N?void 0:null===(j=N.AutoPlay)||void 0===j?void 0:j.value,muted:null==l?void 0:null===(T=l.fields)||void 0===T?void 0:null===(b=T.AutoPlay)||void 0===b?void 0:b.value,controls:null==l?void 0:null===(k=l.fields)||void 0===k?void 0:null===(S=k.ShowVideoControl)||void 0===S?void 0:S.value,loop:(null==e?void 0:null===(y=e.fields)||void 0===y?void 0:null===(w=y.MediaList)||void 0===w?void 0:w.length)==1,width:"100%",height:"auto",poster:null==l?void 0:null===(O=l.fields)||void 0===O?void 0:null===(C=O.MediaThumbnail)||void 0===C?void 0:null===(E=C.value)||void 0===E?void 0:E.src,"data-setup":'{"nativeControlsForTouch": false}',children:[(0,va.jsx)("source",{src:null==l?void 0:null===(F=l.fields)||void 0===F?void 0:null===(I=F.VideoLink)||void 0===I?void 0:null===(L=I.value)||void 0===L?void 0:L.href,type:"application/vnd.ms-sstr+xml"}),(0,va.jsx)("p",{className:"amp-no-js",children:"To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video"})]})}),(0,va.jsxs)("div",{className:"home-hero__img",children:[(0,va.jsx)("img",{src:null==l?void 0:null===(R=l.fields)||void 0===R?void 0:null===(M=R.MediaThumbnail_Mobile)||void 0===M?void 0:null===(_=M.value)||void 0===_?void 0:_.src,className:"small"}),(0,va.jsx)("img",{src:null==l?void 0:null===(D=l.fields)||void 0===D?void 0:null===(A=D.MediaThumbnail)||void 0===A?void 0:null===(P=A.value)||void 0===P?void 0:P.src,className:"large"})]}),(null==l?void 0:null===(V=l.fields)||void 0===V?void 0:null===(B=V.Description)||void 0===B?void 0:B.value)||(null==l?void 0:null===(G=l.fields)||void 0===G?void 0:null===(H=G.Link)||void 0===H?void 0:null===(W=H.value)||void 0===W?void 0:W.href)?(0,va.jsxs)("article",{className:"full-container ".concat(null==l?void 0:null===(z=l.fields)||void 0===z?void 0:null===(U=z.TextPosition)||void 0===U?void 0:U.Value),children:[(null==l?void 0:null===(Q=l.fields)||void 0===Q?void 0:null===(q=Q.Description)||void 0===q?void 0:q.value)?(0,va.jsx)("h1",{children:(0,va.jsx)(vx.H,{field:null==l?void 0:null===(Y=l.fields)||void 0===Y?void 0:Y.Description})}):(0,va.jsx)(va.Fragment,{}),(null==l?void 0:null===(J=l.fields)||void 0===J?void 0:null===(Z=J.Link)||void 0===Z?void 0:null===(K=Z.value)||void 0===K?void 0:K.href)?(0,va.jsx)(va.Fragment,{children:(null==l?void 0:null===(ei=l.f
1ields)||void 0===ei?void 0:null===(el=ei.Link)||void 0===el?void 0:null===(ee=el.value)||void 0===ee?void 0:null===(X=ee.href)||void 0===X?void 0:X.toLocaleLowerCase().indexOf("mediaservices"))>=0||(null==l?void 0:null===(ed=l.fields)||void 0===ed?void 0:null===(ea=ed.Link)||void 0===ea?void 0:null===(en=ea.value)||void 0===en?void 0:null===(es=en.href)||void 0===es?void 0:es.toLocaleLowerCase().indexOf("azure"))>=0||(null==l?void 0:null===(ec=l.fields)||void 0===ec?void 0:null===(er=ec.Link)||void 0===er?void 0:null===(eo=er.value)||void 0===eo?void 0:null===(et=eo.href)||void 0===et?void 0:et.toLocaleLowerCase().indexOf("media."))>=0?(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"javascript:void(0);","data-video":null==l?void 0:null===(eu=l.fields.Link)||void 0===eu?void 0:null===(ev=eu.value)||void 0===ev?void 0:ev.href,className:"btn call-to-action call-to-action--button",title:null==l?void 0:null===(ep=l.fields.LinkTitle)||void 0===ep?void 0:null===(ex=ep.fields)||void 0===ex?void 0:null===(em=ex.Phrase)||void 0===em?void 0:em.value,"data-poster":null==l?void 0:null===(ef=l.fields.MediaThumbnail)||void 0===ef?void 0:null===(eh=ef.value)||void 0===eh?void 0:eh.src,children:(0,va.jsx)(vx.H,{field:null==l?void 0:null===(ej=l.fields.LinkTitle)||void 0===ej?void 0:null===(eg=ej.fields)||void 0===eg?void 0:eg.Phrase})})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("p",{children:(0,va.jsx)("a",{title:null==l?void 0:null===(eT=l.fields.LinkTitle)||void 0===eT?void 0:null===(eb=eT.fields)||void 0===eb?void 0:null===(eN=eb.Phrase)||void 0===eN?void 0:eN.value,href:(0,vS.at)(null==l?void 0:null===(ek=l.fields.Link)||void 0===ek?void 0:null===(eS=ek.value)||void 0===eS?void 0:eS.href,a()),className:(null==l?void 0:null===(ey=l.fields.Link)||void 0===ey?void 0:null===(ew=ey.value)||void 0===ew?void 0:ew.class)?null==l?void 0:null===(eC=l.fields.Link)||void 0===eC?void 0:null===(eE=eC.value)||void 0===eE?void 0:eE.class:(null==l?void 0:null===(eL=l.fields)||void 0===eL?void 0:null===(eO=eL.IsButton)||void 0===eO?void 0:eO.value)==!0?"btn":"",children:(0,va.jsx)(vx.H,{field:null==l?void 0:null===(eF=l.fields.LinkTitle)||void 0===eF?void 0:null===(eI=eF.fields)||void 0===eI?void 0:eI.Phrase})})})})}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsx)(va.Fragment,{})}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"home-hero__img",children:[(0,va.jsx)("img",{src:null==l?void 0:null===(eM=l.fields.MediaThumbnail_Mobile)||void 0===eM?void 0:null===(e_=eM.value)||void 0===e_?void 0:e_.src,className:"small"}),(0,va.jsx)("img",{src:null==l?void 0:null===(eP=l.fields.MediaThumbnail)||void 0===eP?void 0:null===(eR=eP.value)||void 0===eR?void 0:eR.src,className:"large"})]}),(null==l?void 0:null===(eD=l.fields)||void 0===eD?void 0:null===(eA=eD.Description)||void 0===eA?void 0:eA.value)||(null==l?void 0:null===(eW=l.fields)||void 0===eW?void 0:null===(eV=eW.Link)||void 0===eV?void 0:null===(eB=eV.value)||void 0===eB?void 0:eB.href)?(0,va.jsxs)("article",{className:"full-container ".concat(null==l?void 0:null===(eG=l.fields)||void 0===eG?void 0:null===(eH=eG.TextPosition)||void 0===eH?void 0:eH.Value),children:[(null==l?void 0:null===(ez=l.fields)||void 0===ez?void 0:null===(eU=ez.Description)||void 0===eU?void 0:eU.value)?(0,va.jsxs)("h1",{children:[(0,va.jsx)(vm.x,{Field:null==l?void 0:null===(eq=l.fields)||void 0===eq?void 0:eq.Description})," "]}):(0,va.jsx)(va.Fragment,{}),(null==l?void 0:null===(eK=l.fields)||void 0===eK?void 0:null===(eY=eK.Link)||void 0===eY?void 0:null===(eQ=eY.value)||void 0===eQ?void 0:eQ.href)?(0,va.jsx)(va.Fragment,{children:(null==l?void 0:null===(eX=l.fields)||void 0===eX?void 0:null===(eJ=eX.Link)||void 0===eJ?void 0:null===(eZ=eJ.value)||void 0===eZ?void 0:null===(e$=eZ.href)||void 0===e$?void 0:e$.toLocaleLowerCase().indexOf("mediaservices"))>=0||(null==l?void 0:null===(e5=l.fields)||void 0===e5?void 0:null===(e2=e5.Link)||void 0===e2?void 0:null===(e1=e2.value)||void 0===e1?void 0:null===(e0=e1.href)||void 0===e0?void 0:e0.toLocaleLowerCase().indexOf("azure"))>=0||(null==l?void 0:null===(e8=l.fields)||void 0===e8?void 0:null===(e6=e8.Link)||void 0===e6?void 0:null===(e4=e6.value)||void 0===e4?void 0:null===(e3=e4.href)||void 0===e3?void 0:e3.toLocaleLowerCase().indexOf("media."))>=0?(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"javascript:void(0);
1","data-video":null==l?void 0:null===(e9=l.fields.Link)||void 0===e9?void 0:null===(e7=e9.value)||void 0===e7?void 0:e7.href,className:"btn call-to-action call-to-action--button",title:null==l?void 0:null===(li=l.fields.LinkTitle)||void 0===li?void 0:null===(ll=li.fields)||void 0===ll?void 0:null===(le=ll.Phrase)||void 0===le?void 0:le.value,"data-poster":null==l?void 0:null===(ln=l.fields.MediaThumbnail)||void 0===ln?void 0:null===(ls=ln.value)||void 0===ls?void 0:ls.href,children:(0,va.jsx)(vx.H,{field:null==l?void 0:null===(lt=l.fields)||void 0===lt?void 0:null===(ld=lt.LinkTitle)||void 0===ld?void 0:null===(la=ld.fields)||void 0===la?void 0:la.Phrase})})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("p",{children:(0,va.jsx)("a",{title:null==l?void 0:null===(lc=l.fields.LinkTitle)||void 0===lc?void 0:null===(lr=lc.fields)||void 0===lr?void 0:null===(lo=lr.Phrase)||void 0===lo?void 0:lo.value,href:(0,vS.at)(null==l?void 0:null===(lu=l.fields.Link)||void 0===lu?void 0:null===(lv=lu.value)||void 0===lv?void 0:lv.href,a()),className:(null==l?void 0:null===(lx=l.fields.Link)||void 0===lx?void 0:null===(lm=lx.value)||void 0===lm?void 0:lm.class)?null==l?void 0:null===(lh=l.fields.Link)||void 0===lh?void 0:null===(lp=lh.value)||void 0===lp?void 0:lp.class:(null==l?void 0:null===(lg=l.fields)||void 0===lg?void 0:null===(lf=lg.IsButton)||void 0===lf?void 0:lf.value)==!0?"btn":"",children:(0,va.jsx)(vx.H,{field:null==l?void 0:null===(lN=l.fields.LinkTitle)||void 0===lN?void 0:null===(lj=lN.fields)||void 0===lj?void 0:lj.Phrase})})})})}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsx)(va.Fragment,{})]})},i)})})})})})}),h_=(0,vp.C)()(e=>{let{t:l,locale:i}=(0,vT.QT)();null==e||e.fields.Children;let s={Title:""},n=[];return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"select mobile_only toggle-link","data-href":"#attraction-ul",children:(0,va.jsxs)("div",{children:[(0,va.jsx)("span",{className:"faketext",children:null==s?void 0:s.Title}),(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})]})}),(null==n?void 0:n.length)>1?(0,va.jsxs)("div",{className:"btn-gp clearfix item-filter",id:"attraction-ul",children:[(0,va.jsx)("a",{"data-type":"all",className:"btn-primary active",children:null==s?void 0:s.Title}),Object.values(n).map((e,l)=>(0,va.jsx)("a",{"data-type":null==e?void 0:e.Value,className:"btn-primary ".concat(l==(null==n?void 0:n.length)-1?"last":""),children:null==e?void 0:e.Title},l))]}):(0,va.jsx)(va.Fragment,{}),(0,va.jsx)("div",{className:"item-feed expandable",children:Object.values(null==e?void 0:e.fields.Children).map((e,s)=>{var n,a,d,t,o,r,c,v,u,m;return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"item","data-type":null===(a=e.fields)||void 0===a?void 0:null===(n=a.AttractionTypes.map(e=>{var l;return null==e?void 0:null===(l=e.Value)||void 0===l?void 0:l.value}))||void 0===n?void 0:n.join(","),children:[(0,va.jsx)("figure",{children:(0,va.jsx)(vg.E,{field:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Image,id:"coverimg",className:"coverimg"})}),(0,va.jsxs)("div",{className:"content clearfix",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Name})}),(0,va.jsx)(vx.H,{field:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.TeaserContent}),(null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.Content)||void 0===r?void 0:r.value)?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"more",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(v=e.fields)||void 0===v?void 0:v.Content})}),(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Url)||void 0===u?void 0:u.value,i()),className:"link toggle-more",children:[l(mT.W.LINKTEXT.READMORE),(0,va.jsx)("span",{className:"sp sp-link-arrow"})]})]}):(0,va.jsx)(va.Fragment,{})]})]},s),0==s?(0,va.jsx)("div",{className:"gutter-sizer"}):(0,va.jsx)(va.Fragment,{})]})})})]})}),hM=e=>{var l,i,s;let{t:n,locale:a}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"main-container pt-0",children:(0,va.jsx)("div",{className:"box-slider box-slider--boxed",children:(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Children)||void 0===l?void 0:l.length)>0?Object.values(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Children).map((l,i)=>{var s,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z;return(0,va.jsxs)("div",{className:"slide",children:[(0,va.jsxs)("div",{className:"slide__cont",children:[(0,va.jsx)("h3",{className:"slide__title is-size-2",children:(null==l?void 0:null===(d=l.fields)||void 0===d?void 0:null===(s=d.ContentTitle)||void 0===s?void 0:s.value)?(0,va.jsx)(vx.H,{field:null==l?void 0:null===(t=l.fields)||void 0===t?void 0:t.ContentTitle}):(0,va.jsx)(vx.H,{field:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.Title})}),(0,va.jsx)(vx.H,{field:null==l?void 0:null===(r=l.fields)||void 0===r?void 0:r.ContentBody}),(null==l?void 0:null===(c=l.fields.ContentLink.value)||void 0===c?void 0:c.href)?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:null==l?void 0:l.fields.ContentLink,className:"call-to-action call-to-action--button",children:(null==l?void 0:null===(u=l.fields)||void 0===u?void 0:null===(v=u.ContentLinkText)||void 0===v?void 0:v.value)?(0,va.jsx)(vm.x,{field:null==l?void 0:null===(m=l.fields)||void 0===m?void 0:m.ContentLinkText}
1):(0,va.jsx)(vm.x,{children:n(mT.W.LINKTEXT.READMORE)})})})}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsx)("div",{className:"slide__img",children:(0,va.jsx)(vg.E,{field:null==l?void 0:null===(x=l.fields)||void 0===x?void 0:x.ContentImage})}),(null==l?void 0:null===(f=l.fields)||void 0===f?void 0:null===(h=f.ContentImage2)||void 0===h?void 0:null===(p=h.value)||void 0===p?void 0:p.src)?(0,va.jsxs)("div",{className:"slide__thumbnails",children:[(null==l?void 0:null===(N=l.fields)||void 0===N?void 0:null===(j=N.ContentImage)||void 0===j?void 0:null===(g=j.value)||void 0===g?void 0:g.src)?(0,va.jsx)("a",{className:"slide__thumbnails__item",href:(0,vS.at)(null==l?void 0:null===(S=l.fields)||void 0===S?void 0:null===(T=S.ContentImage)||void 0===T?void 0:null===(b=T.value)||void 0===b?void 0:b.src,a()),children:(0,va.jsx)(vg.E,{field:null==l?void 0:null===(k=l.fields)||void 0===k?void 0:k.ContentImage})}):(0,va.jsx)(va.Fragment,{}),(null==l?void 0:null===(E=l.fields)||void 0===E?void 0:null===(y=E.ContentImage2)||void 0===y?void 0:null===(w=y.value)||void 0===w?void 0:w.src)?(0,va.jsx)("a",{className:"slide__thumbnails__item",href:(0,vS.at)(null==l?void 0:null===(L=l.fields)||void 0===L?void 0:null===(O=L.ContentImage2)||void 0===O?void 0:null===(C=O.value)||void 0===C?void 0:C.src,a()),children:(0,va.jsx)(vg.E,{field:null==l?void 0:null===(I=l.fields)||void 0===I?void 0:I.ContentImage2})}):(0,va.jsx)(va.Fragment,{}),(null==l?void 0:null===(M=l.fields)||void 0===M?void 0:null===(_=M.ContentImage3)||void 0===_?void 0:null===(F=_.value)||void 0===F?void 0:F.src)?(0,va.jsx)("a",{className:"slide__thumbnails__item",href:(0,vS.at)(null==l?void 0:null===(A=l.fields)||void 0===A?void 0:null===(P=A.ContentImage3)||void 0===P?void 0:null===(R=P.value)||void 0===R?void 0:R.src,a()),children:(0,va.jsx)(vg.E,{field:null==l?void 0:null===(D=l.fields)||void 0===D?void 0:D.ContentImage3})}):(0,va.jsx)(va.Fragment,{}),(null==l?void 0:null===(W=l.fields)||void 0===W?void 0:null===(V=W.ContentImage4)||void 0===V?void 0:null===(B=V.value)||void 0===B?void 0:B.src)?(0,va.jsx)("a",{className:"slide__thumbnails__item",href:(0,vS.at)(null==l?void 0:null===(U=l.fields)||void 0===U?void 0:null===(G=U.ContentImage4)||void 0===G?void 0:null===(H=G.value)||void 0===H?void 0:H.src,a()),children:(0,va.jsx)(vg.E,{field:null==l?void 0:null===(z=l.fields)||void 0===z?void 0:z.ContentImage4})}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsx)(va.Fragment,{})]},i)}):(0,va.jsx)(va.Fragment,{})})})})},hR=(0,vp.C)()(e=>{var l;let{t:i}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"box-wrapper",children:(null==e?void 0:null===(l=e.fields.Children)||void 0===l?void 0:l.length)>0?Object.values(null==e?void 0:e.fields.Children).map((e,l)=>{var i,s;return(0,va.jsxs)("div",{className:"box-2-2","data-sr":"wait 0.".concat(l+1,"s, move 20px"),children:[(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Title})]}),(0,va.jsx)(vx.H,{field:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Content})]},l)}):(0,va.jsx)(va.Fragment,{})})})}),hP=(0,vp.C)()(e=>{var l,i,s,n,a,d;let t=(0,vr.z)().sitecoreContext.pageEditing,{t:o}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(l=e.fields.MediaList)||void 0===l?void 0:l.length)<=0?(0,va.jsx)(va.Fragment,{children:t?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"full-container slider full-width",children:(0,va.jsx)("div",{className:"slider-item"})})}):(0,va.jsx)(va.Fragment,{})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"full-container slider full-width","data-autoplayspeed":(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.AutoPlaySpeedSeconds)||void 0===i?void 0:i.value)>0?(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.AutoPlaySpeedSeconds)||void 0===n?void 0:n.value)*1e3:3e3,children:Object.values(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.MediaList).map((e,l)=>{var i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei,es,en,ea,ed,et,eo,er,ec,ev,eu,em,ex,ep,eh,ef,eg,ej,eN,eb,eT,eS,ek,ew,ey,eE,eC,eO,eL,eI,eF,e_,eM,eR,eP,eA,eD,eB,eV,eW,eH,eG,eU,ez,eq,eQ,eY,eK,e$,eZ,eJ,eX,e0,e1,e2,e5,e3,e4,e6,e8,e7,e9,le,ll,li,ls,ln,la,ld,lt,lo,lr,lc,lv,lu,lm,lx,lp,lh,lf,lg,lj,lN,lb,lT,lS,lk,lw,ly;return(0,va.jsx)("div",{className:"slider-item",children:(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.VideoLink)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)?(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.VideoLink)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:null===(a=d.href)||void 0===a?void 0:a.toLocaleLowerCase().indexOf("mediaservices"))>=0||(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.VideoLink)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:null===(r=c.href)||void 0===r?void 0:r.toLocaleLowerCase().indexOf("azure"))>=0||(null==e?void 0:null===(h=e.fields)||void 0===h?void 0:null===(p=h.VideoLink)||void 0===p?void 0:null===(x=p.value)||void 0===x?void 0:null===(m=x.href)||void 0===m?void 0:m.toLocaleLowerCase().indexOf("media."))>=0?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("video",{id:"MediaCarouselWithVideoLink",className:"azuremediaplayer amp-default-skin amp-big-play-centered ehcarouselvideo",autoPlay:null!=e&&null!==(g=e.fields)&&void 0!==g&&null!==(f=g.AutoPlay)&&void 0!==f&&!!f.value,muted:null!=e&&null!==(N=e.fields)&&void 0!==N&&null!==(j=N.AutoPlay)&&void 0!==j&&!!j.value,controls:null!=e&&null!==(T=e.fields)&&void 0!==T&&null!==(b=T.ShowVideoControl)&&void 0!==b&&!!b.value,width:"100%",height:"auto","data-setup":'{"logo": { "enabled": false }}',poster:null==e?void 0:null===(w=e.fields)||void 0===w?void 0:null===(k=w.MediaThumbnail)||void 0===k?void 0:null===(S=k.value)||void 0===S?void 0:S.src,children:[(0,va.jsx)("source",{src:null==e?void 0:null===(C=e.fields)||void 0===C?void 0:null===(E=C.VideoLink)||void 0===E?void 0:null===(y=E.value)||void 0===y?void 0:y.href,type:"application/vnd.ms-sstr+xml"}),(0,va.jsx)("p",{className:"amp-no-js",children:"To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video"})]}),(0,va.jsx)("figure",{"data-sc-src":"".concat(null==e?void 0:null===(I=e.fields)||void 0===I?void 0:null===(L=I.MediaThumbnail_Mobile)||void 0===L?void 0:null===(O=L.value)||void 0===O?void 0:O.src," @mobile ").concat(null==e?void 0:null===(M=e.fields)||void 0===M?void 0:null===(_=M.MediaThumbnail)||void 0===_?void 0:null===(F=_.value)||void 0===F?void 0:F.src," @tablet@desktop")}),(null==e?void 0:null===(P=e.fields)||void 0===P?void 0:null===(R=P.Description)||void 0===R?void 0:R.value)||(null==e?void 0:null===(B=e.fields)||void 0===B?void 0:null===(D=B.Link)||void 0===D?void 0:null===(A=D.value)||void 0===A?void 0:A.href)?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("article",{children:[(null==e?void 0:null===(W=e.fields)||void 0===W?void 0:null===(V=W.Description)||void 0===V?void 0:V.value)?(0,va.jsx)("h1",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(H=e.f
1ields)||void 0===H?void 0:H.Description})}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(z=e.fields)||void 0===z?void 0:null===(U=z.Link)||void 0===U?void 0:null===(G=U.value)||void 0===G?void 0:G.href)?(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(K=e.fields)||void 0===K?void 0:null===(Y=K.Link)||void 0===Y?void 0:null===(Q=Y.value)||void 0===Q?void 0:null===(q=Q.href)||void 0===q?void 0:q.toLocaleLowerCase().indexOf("mediaservices"))>=0||(null==e?void 0:null===(ee=e.fields)||void 0===ee?void 0:null===(X=ee.Link)||void 0===X?void 0:null===(J=X.value)||void 0===J?void 0:null===(Z=J.href)||void 0===Z?void 0:Z.toLocaleLowerCase().indexOf("azure"))>=0||(null==e?void 0:null===(en=e.fields)||void 0===en?void 0:null===(es=en.Link)||void 0===es?void 0:null===(ei=es.value)||void 0===ei?void 0:null===(el=ei.href)||void 0===el?void 0:el.toLocaleLowerCase().indexOf("media."))>=0?(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"javascript:void(0);","data-video":null==e?void 0:null===(et=e.fields)||void 0===et?void 0:null===(ed=et.Link)||void 0===ed?void 0:null===(ea=ed.value)||void 0===ea?void 0:ea.href,className:"btn",title:null==e?void 0:null===(ev=e.fields)||void 0===ev?void 0:null===(ec=ev.LinkTitle)||void 0===ec?void 0:null===(er=ec.fields)||void 0===er?void 0:null===(eo=er.Phrase)||void 0===eo?void 0:eo.value,"data-poster":null==e?void 0:null===(ex=e.fields)||void 0===ex?void 0:null===(em=ex.MediaThumbnail)||void 0===em?void 0:null===(eu=em.value)||void 0===eu?void 0:eu.src,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(ef=e.fields)||void 0===ef?void 0:null===(eh=ef.LinkTitle)||void 0===eh?void 0:null===(ep=eh.fields)||void 0===ep?void 0:ep.Phrase})})}):(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:null==e?void 0:null===(eg=e.fields)||void 0===eg?void 0:eg.Link,className:(null==e?void 0:null===(eb=e.fields)||void 0===eb?void 0:null===(eN=eb.Link)||void 0===eN?void 0:null===(ej=eN.value)||void 0===ej?void 0:ej.class)?null==e?void 0:null===(ek=e.fields)||void 0===ek?void 0:null===(eS=ek.Link)||void 0===eS?void 0:null===(eT=eS.value)||void 0===eT?void 0:eT.class:(null==e?void 0:null===(ew=e.fields)||void 0===ew?void 0:ew.IsButton)?"btn":"",children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(eC=e.fields)||void 0===eC?void 0:null===(eE=eC.LinkTitle)||void 0===eE?void 0:null===(ey=eE.fields)||void 0===ey?void 0:ey.Phrase})})})}):(0,va.jsx)(va.Fragment,{})]})}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(eF=e.fields)||void 0===eF?void 0:null===(eI=eF.VideoLink)||void 0===eI?void 0:null===(eL=eI.value)||void 0===eL?void 0:null===(eO=eL.href)||void 0===eO?void 0:eO.toLocaleLowerCase().indexOf("youtu"))>=0?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"ytvideo",children:[(0,va.jsx)("button",{className:"ytbtn",children:"Play"}),(0,va.jsx)("img",{className:"ythumbnail",id:"play-button",src:"media/swirehotels/images/apple-tv-bitmap.png"}),(0,va.jsx)("iframe",{id:"player1",width:"100%",height:"100%",src:null==e?void 0:null===(eR=e.fields)||void 0===eR?void 0:null===(eM=eR.VideoLink)||void 0===eM?void 0:null===(e_=eM.value)||void 0===e_?void 0:e_.href,frameBorder:"0",allow:"accelerometer; ".concat((null==e?void 0:null===(eA=e.fields)||void 0===eA?void 0:null===(eP=eA.AutoPlay)||void 0===eP?void 0:eP.value)==!0?"autoplay;":""," encrypted-media; gyroscope; picture-in-picture"),allowFullScreen:!0})]})}):(0,va.jsx)(va.Fragment,{})})}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("figure",{"data-sc-src":"".concat(null==e?void 0:null===(eV=e.fields)||void 0===eV?void 0:null===(eB=eV.MediaThumbnail_Mobile)||void 0===eB?void 0:null===(eD=eB.value)||void 0===eD?void 0:eD.src," @mobile ").concat(null==e?void 0:null===(eG=e.fields)||void 0===eG?void 0:null===(eH=eG.MediaThumbnail)||void 0===eH?void 0:null===(eW=eH.value)||void 0===eW?void 0:eW.src,"\n @tablet@desktop")}),(null==e?void 0:null===(ez=e.fields)||void 0===ez?void 0:null===(eU=ez.Description)||void 0===eU?void 0:eU.value)||(null==e?void 0:null===(eY=e.fields)||void 0===eY?void 0:null===(eQ=eY.Link)||void 0===eQ?void 0:null===(eq=eQ.value)||void 0===eq?void 0:eq.href)?(0,va.jsxs)("article",{children:[(null==e?void 0:null===(e$=e.fields)||void 0===e$?void 0:null===(eK=e$.Description)||void 0===eK?void 0:eK.value)?(0,va.jsxs)("h1",{children:[" ",(0,va.jsx)(vx.H,{field:null==e?void 0:null===(eZ=e.fields)||void 0===eZ?void 0:eZ.Description})]}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(e0=e.fields)||void 0===e0?void 0:null===(eX=e0.Link)||void 0===eX?void 0:null===(eJ=eX.value)||void 0===eJ?void 0:eJ.href)?(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(e3=e.fields)||void 0===e3?void 0:null===(e5=e3.Link)||void 0===e5?void 0:null===(e2=e5.value)||void 0===e2?void 0:null===(e1=e2.href)||void 0===e1?void 0:e1.toLocaleLowerCase().indexOf("mediaservices"))>=0||(null==e?void 0:null===(e7=e.fields)||void 0===e7?void 0:null===(e8=e7.Link)||void 0===e8?void 0:null===(e6=e8.value)||void 0===e6?void 0:null===(e4=e6.href)||void 0===e4?void 0:e4.toLocaleLowerCase().indexOf("azure"))>=0||(null==e?void 0:null===(li=e.fields)||void 0===li?void 0:null===(ll=li.Link)||void 0===ll?void 0:null===(le=ll.value)||void 0===le?void 0:null===(e9=le.href)||void 0===e9?void 0:e9.toLocaleLowerCase().indexOf("media."))>=0?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"javascript:void(0);
1","data-video":null==e?void 0:null===(la=e.fields)||void 0===la?void 0:null===(ln=la.Link)||void 0===ln?void 0:null===(ls=ln.value)||void 0===ls?void 0:ls.href,className:"btn",title:null==e?void 0:null===(lr=e.fields)||void 0===lr?void 0:null===(lo=lr.LinkTitle)||void 0===lo?void 0:null===(lt=lo.fields)||void 0===lt?void 0:null===(ld=lt.Phrase)||void 0===ld?void 0:ld.value,"data-poster":null==e?void 0:null===(lu=e.fields)||void 0===lu?void 0:null===(lv=lu.MediaThumbnail)||void 0===lv?void 0:null===(lc=lv.value)||void 0===lc?void 0:lc.src,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(lp=e.fields)||void 0===lp?void 0:null===(lx=lp.LinkTitle)||void 0===lx?void 0:null===(lm=lx.fields)||void 0===lm?void 0:lm.Phrase})})})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:null==e?void 0:null===(lh=e.fields)||void 0===lh?void 0:lh.Link,className:(null==e?void 0:null===(lj=e.fields)||void 0===lj?void 0:null===(lg=lj.Link)||void 0===lg?void 0:null===(lf=lg.value)||void 0===lf?void 0:lf.class)?null==e?void 0:null===(lT=e.fields)||void 0===lT?void 0:null===(lb=lT.Link)||void 0===lb?void 0:null===(lN=lb.value)||void 0===lN?void 0:lN.class:(null==e?void 0:null===(lS=e.fields)||void 0===lS?void 0:lS.IsButton)?"btn":"",children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(ly=e.fields)||void 0===ly?void 0:null===(lw=ly.LinkTitle)||void 0===lw?void 0:null===(lk=lw.fields)||void 0===lk?void 0:lk.Phrase})})})})}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsx)(va.Fragment,{})]})},l)})})})})}),hA=(0,vp.C)()(e=>{var l,i,s;let{t:n}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"box-wrapper",children:(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Children)||void 0===l?void 0:l.length)>0?Object.values(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Children).map((e,l)=>{var i,s;return(0,va.jsxs)("div",{className:"box-2-2","data-sr":"wait 0.".concat(l+1,"s, move 20px"),children:[(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vm.x,{field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Title})]}),(0,va.jsx)(vx.H,{field:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Content})]},l)}):(0,va.jsx)(va.Fragment,{})})})}),hD=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let{t:m}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("section",{className:"promotion-banner",style:{backgroundColor:"".concat((null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.BackgroundColor)||void 0===l?void 0:l.value)?"#".concat(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.BackgroundColor)||void 0===s?void 0:s.value):"")},children:(0,va.jsx)("div",{className:"full-container",children:(0,va.jsx)(vk,{field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.MediaLink,title:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.MediaLinkTitle)||void 0===d?void 0:d.value,children:(0,va.jsx)("img",{"data-sc-src":"".concat(null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.MediaThumbnail_Mobile)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.src," @mobile@tablet ").concat(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.MediaThumbnail)||void 0===v?void 0:v.value," @desktop")})})})})})});let hB=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let m=(0,vr.z)().sitecoreContext.pageEditing,x="".concat(e.index%5*.1,"s"),[p,h]=(0,vd.useState)("");h((e.index+1)%10==1?"img-wrapper ro-overlayed w1":(e.index+1)%10==8?"img-wrapper ro-overlayed w2":"img-wrapper ro-overlayed");let f="coverimg"+e.index,[g,j]=(0,vd.useState)(!1),[N,b]=(0,vd.useState)(!1);return(null==e?void 0:null===(i=e.fields.Image)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&j(!0),(null==e?void 0:null===(n=e.fields.DownloadVersion)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.src)&&b(!0),(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{"data-sr":"wait ".concat(x,", move 20px"),className:p,children:(0,va.jsxs)("div",{className:"wrap gallery-img-wrap",id:"".concat(f,"_div"),children:[!0==m?(0,va.jsx)(vg.E,{field:null==e?void 0:e.fields.Image,className:"coverimg",id:""}):(0,va.jsx)(va.Fragment,{children:g?(0,va.jsx)("img",{className:"coverimg galleryimg",id:f,src:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Image)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.src,"data-image":e.index}):(0,va.jsx)(va.Fragment,{children:N?(0,va.jsx)("img",{className:"coverimg galleryimg",id:f,src:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.DownloadVersion)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.src,"data-image":e.index}):(0,va.jsx)(va.Fragment,{})})}),(0,va.jsxs)("div",{className:"ro-overlay",children:[(0,va.jsx)("a",{href:"#",className:"anchor-overlay hires-link"}),(0,va.jsx)("div",{className:"content",children:(0,va.jsxs)("div",{className:"inner",children:[(0,va.jsx)("p",{children:(0,va.jsx)("p",{children:(0,va.jsx)("span",{className:"sp sp-icon-download-l"})})}),(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.DownloadVersion)||void 0===v?void 0:v.value)?(0,va.jsx)("p",{children:(0,va.jsx)("p",{children:(0,va.jsx)(vx.H,{children:null==e?void 0:e.Text})})}):(0,va.jsx)(va.Fragment,{})]})})]})]})},e.index)})},hV=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;e.index;let x="coverimg".concat(e.index,"_img"),[p,h]=(0,vd.useState)(!1),[f,g]=(0,vd.useState)(!1);return(null==e?void 0:null===(i=e.fields.Image)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&h(!0),(null==e?void 0:null===(n=e.fields.DownloadVersion)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.src)&&g(!0),f?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("img",{className:"gallery_popup_img",id:"@idImg",src:"@image.DownloadVersion.Src"}),(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Caption)||void 0===a?void 0:a.value)?(0,va.jsx)("div",{className:"gallery_popup_img_caption_box",children:(0,va.jsx)("p",{className:"gallery_popup_img_caption",children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Caption})})}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsx)(va.Fragment,{children:p?(0,va.jsxs)(va.Fragment,{children:[(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Caption)||void 0===o?void 0:o.value)?(0,va.jsx)("div",{className:"gallery_popup_img_caption_box",children:(0,va.jsx)("p",{className:"gallery_popup_img_caption",children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.Caption})})}):(0,va.jsx)(va.Fragment,{}),(0,va.jsx)("img",{className:"gallery_popup_img",id:x,src:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Image)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src})]}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsx)(va.Fragment,{})};var hW=(0,vp.C)()(e=>{var l,i;(0,vr.z)().sitecoreContext.pageEditing;let{t:s}=(0,vT.QT)(),n=null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Children.flatMap(e=>e.fields.Children),a=Object.values(n).map((l,i)=>{var s;return(0,va.jsx)(hB,{fields:null==l?void 0:l.fields,index:i,Text:null==e?void 0:null===(s=e.fields.DownloadButtonText)||void 0===s?void 0:s.value},i)}),d=Object.values(n).map((l,i)=>{var s;return(0,va.jsx)(hV,{fields:null==l?void 0:l.fields,index:i,Text:null==e?void 0:null===(s=e.fields.DownloadButtonText)||void 0===s?void 0:s.value},i)});return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"container2",id:"media_contact",children:(0,va.jsxs)("div",{className:"gallery",children:[(0,va.jsx)("div",{className:"content-wrapper title-only clearfix","data-sr":"move 20px",children:(0,va.jsxs)("h1",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vx.H,{field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.ContainerTitle})]})}),(0,va.jsx)("div",{className:"img-gp-7 clearfix",children:a})]})}),(0,va.jsx)("div",{className:"gallery_background"}),(0,va.jsx)("div",{className:"gallery-wrap",children:d})]})}),hH=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f;(0,vr.z)().sitecoreContext.pageEditing;let{t:g}=(0,vT.QT)(),j=null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.MediaItemsWithOptionalText[0];return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"header-spacer"}),(0,va.jsxs)("section",{className:"page-hero",children:[(0,va.jsxs)("div",{className:"page-hero__img ".concat((null==j?void 0:null===(s=j.fields)||void 0===s?void 0:null===(i=s.NoOverlay)||void 0===i?void 0:i.value)?"page-hero__img--no-overlay":""),children:[(0,va.jsx)("img",{className:"large",src:null==j?void 0:null===(d=j.fields)||void 0===d?void 0:null===(a=d.Image)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src}),(0,va.jsx)("img",{className:"small",src:null==j?void 0:null===(r=j.fields)||void 0===r?void 0:null===(o=r.MobileImage)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.src})]}),(null==j?void 0:null===(v=j.fields)||void 0===v?void 0:null===(c=v.Title)||void 0===c?void 0:c.value)||(null==j?void 0:null===(m=j.fields)||void 0===m?void 0:null===(u=m.Content)||void 0===u?void 0:u.value)?(0,va.jsx)("div",{className:"main-container",children:(0,va.jsxs)("div",{className:"page-hero__cont",children:[(null==j?void 0:null===(p=j.fields)||void 0===p?void 0:null===(x=p.Title)||void 0===x?void 0:x.value)?(0,va.jsx)("h1",{className:"is-size-1",children:(0,va.jsx)(vm.x,{field:null==j?void 0:null===(h=j.fields)||void 0===h?void 0:h.Title})}):(0,va.jsx)(va.Fragment,{}),(0,va.jsx)(vx.H,{field:null==j?void 0:null===(f=j.fields)||void 0===f?void 0:f.Content})]})}):(0,va.jsx)(va.Fragment,{})]})]})}),hG=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o;return(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.MediaThumbnail)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.MediaLink)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href)?(0,va.jsx)("section",{className:"home-promotion",style:{backgroundColor:"#".concat(null==e?void 0:e.fields.Backgroun
1dColor)},children:(0,va.jsx)(vk,{field:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.MediaLink,children:(0,va.jsx)(vg.E,{field:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.MediaThumbnail})})}):(0,va.jsx)(va.Fragment,{})})}),hU=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("img",{"data-sc-src":"".concat((null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.MediaThumbnail_Mobile)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)?null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.MediaThumbnail_Mobile)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.MediaThumbnail)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.src," @mobile ").concat((null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.MediaThumbnail)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.src)?null==e?void 0:null===(p=e.fields)||void 0===p?void 0:null===(x=p.MediaThumbnail)||void 0===x?void 0:null===(m=x.value)||void 0===m?void 0:m.src:null==e?void 0:null===(g=e.fields)||void 0===g?void 0:null===(f=g.MediaThumbnail_Mobile)||void 0===f?void 0:null===(h=f.value)||void 0===h?void 0:h.src," @tablet@desktop")})})}),hz=(0,vp.C)()(e=>{var l,i,s;let n=(0,vr.z)().sitecoreContext.pageEditing,{locale:a}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.MediaWithVideoLinkWrapper)||void 0===l?void 0:l.length)<=0?(0,va.jsx)(va.Fragment,{children:n?(0,va.jsx)("div",{className:"full-container slider full-width",children:(0,va.jsx)("div",{className:"slider-item"})}):(0,va.jsx)(va.Fragment,{})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"slider @extra full-width inner",children:Object.values(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.MediaWithVideoLinkWrapper).map((l,i)=>{var s,n,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei,es,en,ea,ed,et,eo,er,ec,ev,eu,em,ex,ep,eh,ef,eg,ej,eN,eb,eT,eS,ek,ew,ey,eE,eC,eO,eL,eI,eF,e_,eM,eR,eP,eA,eD,eB,eV,eW,eH,eG,eU,ez,eq,eQ,eY,eK,e$,eZ,eJ,eX,e0,e1,e2,e5,e3,e4,e6,e8,e7,e9,le,ll,li,ls,ln,la,ld,lt,lo,lr,lc,lv,lu,lm,lx,lp,lh,lf,lg,lj,lN,lb,lT,lS,lk,lw,ly,lE,lC,lO,lL,lI,lF,l_,lM,lR,lP,lA;return(0,va.jsx)("div",{className:"slider-item",children:(null==l?void 0:null===(d=l.fields)||void 0===d?void 0:null===(n=d.VideoLink)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.href)?(0,va.jsx)(va.Fragment,{children:(null==l?void 0:null===(ep=l.fields)||void 0===ep?void 0:null===(ex=ep.VideoLink)||void 0===ex?void 0:null===(em=ex.value)||void 0===em?void 0:null===(eu=em.href)||void 0===eu?void 0:null===(ev=eu.toLocaleLowerCase())||void 0===ev?void 0:ev.indexOf("mediaservices"))>=0||(null==l?void 0:null===(eN=l.fields)||void 0===eN?void 0:null===(ej=eN.VideoLink)||void 0===ej?void 0:null===(eg=ej.value)||void 0===eg?void 0:null===(ef=eg.href)||void 0===ef?void 0:null===(eh=ef.toLocaleLowerCase())||void 0===eh?void 0:eh.indexOf("azure"))>=0||(null==l?void 0:null===(ew=l.fields)||void 0===ew?void 0:null===(ek=ew.VideoLink)||void 0===ek?void 0:null===(eS=ek.value)||void 0===eS?void 0:null===(eT=eS.href)||void 0===eT?void 0:null===(eb=eT.toLocaleLowerCase())||void 0===eb?void 0:eb.indexOf("media."))>=0?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"home-hero__video",children:(0,va.jsxs)("video",{id:"MediaWithVideoLinkWrapper",className:"azuremediaplayer amp-default-skin amp-big-play-centered",autoPlay:null==l?void 0:null===(eE=l.fields)||void 0===eE?void 0:null===(ey=eE.AutoPlay)||void 0===ey?void 0:ey.value,muted:null==l?void 0:null===(eO=l.fields)||void 0===eO?void 0:null===(eC=eO.AutoPlay)||void 0===eC?void 0:eC.value,controls:null==l?void 0:null===(eI=l.fields)||void 0===eI?void 0:null===(eL=eI.ShowVideoControl)||void 0===eL?void 0:eL.value,loop:(null==e?void 0:null===(eF=e.fields.MediaWithVideoLinkWrapper)||void 0===eF?void 0:eF.length)==1,width:"100%",height:"auto",poster:null==l?void 0:null===(eR=l.fields)||void 0===eR?void 0:null===(eM=eR.MediaThumbnail)||void 0===eM?void 0:null===(e_=eM.value)||void 0===e_?void 0:e_.src,children:[(0,va.jsx)("source",{src:null==l?void 0:null===(eD=l.fields)||void 0===eD?void 0:null===(eA=eD.VideoLink)||void 0===eA?void 0:null===(eP=eA.value)||void 0===eP?void 0:eP.href,type:"application/vnd.ms-sstr+xml"}),(0,va.jsx)("p",{className:"amp-no-js",children:"To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video"})]})}),(0,va.jsxs)("div",{className:"page-hero__img @overlay",children:[(0,va.jsx)("img",{className:"small",src:null==l?void 0:null===(eW=l.fields)||void 0===eW?void 0:null===(eV=eW.MediaThumbnail_Mobile)||void 0===eV?void 0:null===(eB=eV.value)||void 0===eB?void 0:eB.src}),(0,va.jsx)("img",{className:"large",src:null==l?void 0:null===(eU=l.fields)||void 0===eU?void 0:null===(eG=eU.MediaThumbnail)||void 0===eG?void 0:null===(eH=eG.value)||void 0===eH?void 0:eH.src})]}),(null==l?void 0:null===(eq=l.fields)||void 0===eq?void 0:null===(ez=eq.Description)||void 0===ez?void 0:ez.value)||(null==l?void 0:null===(eY=l.fields)||void 0===eY?void 0:null===(eQ=eY.Content)||void 0===eQ?void 0:eQ.value)||(null==l?void 0:null===(eZ=l.fields)||void 0===eZ?void 0:null===(e$=eZ.Link)||void 0===e$?void 0:null===(eK=e$.value)||void 0===eK?void 0:eK.href)?(0,va.jsxs)("article",{className:"main-container ".concat(null==l?void 0:null===(eX=l.fields)||void 0===eX?void 0:null===(eJ=eX.TextPosition)||void 0===eJ?void 0:eJ.fields.Value),children:[(null==l?void 0:null===(e1=l.fields)||void 0===e1?void 0:null===(e0=e1.Description)||void 0===e0?void 0:e0.value)?(0,va.jsx)("h2",{children:(0,va.jsx)(vx.H,{field:null==l?void 0:null===(e2=l.fields)||void 0===e2?void 0:e2.Description})}):(0,va.jsx)(va.Fragment,{}),(0,va.jsx)(vx.H,{field:null==l?void 0:null===(e5=l.fields)||void 0===e5?void 0:e5.Content}),(null==l?void 0:null===(e6=l.fields)||void 0===e6?void 0:null===(e4=e6.Link)||void 0===e4?void 0:null===(e3=e4.value)||void 0===e3?void 0:e3.href)?(0,va.jsx)(va.Fragment,{children:(null==l?void 0:null===(ll=l.fields)||void 0===ll?void 0:null===(le=ll.Link)||void 0===le?void 0:null===(e9=le.value)||void 0===e9?void 0:null===(e7=e9.href)||void 0===e7?void 0:null===(e8=e7.toLocaleLowerCase())||void 0===e8?void 0:e8.indexOf("mediaservices"))>=0||(null==l?void 0:null===(ld=l.fields)||void 0===ld?void 0:null===(la=ld.Link)||void 0===la?void 0:null===(ln=la.value)||void 0===ln?void 0:null===(ls=ln.href)||void 0===ls?void 0:null===(li=ls.toLocaleLowerCase())||void 0===li?void 0:li.indexOf("azure"))>=0||(null==l?void 0:null===(lv=l.fields)||void 0===lv?void 0:null===(lc=lv.Link)||void 0===lc?void 0:null===(lr=lc.value)||void 0===lr?void 0:null===(lo=lr.href)||void 0===lo?void 0:null===(lt=lo.toLocaleLowerCase())||void 0===lt?void 0:lt.indexOf("media."))>=0?(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"javascript:void(0);
1","data-video":null==l?void 0:null===(lx=l.fields)||void 0===lx?void 0:null===(lm=lx.Link)||void 0===lm?void 0:null===(lu=lm.value)||void 0===lu?void 0:lu.href,className:"btn call-to-action call-to-action--button",title:null==l?void 0:null===(lg=l.fields)||void 0===lg?void 0:null===(lf=lg.LinkTitle)||void 0===lf?void 0:null===(lh=lf.fields)||void 0===lh?void 0:null===(lp=lh.Phrase)||void 0===lp?void 0:lp.value,"data-poster":null==l?void 0:null===(lb=l.fields)||void 0===lb?void 0:null===(lN=lb.MediaThumbnail)||void 0===lN?void 0:null===(lj=lN.value)||void 0===lj?void 0:lj.src,children:(0,va.jsx)(vx.H,{field:null==l?void 0:null===(lk=l.fields)||void 0===lk?void 0:null===(lS=lk.LinkTitle)||void 0===lS?void 0:null===(lT=lS.fields)||void 0===lT?void 0:lT.Phrase})})}):(0,va.jsx)("p",{children:(0,va.jsx)("a",{title:null==l?void 0:null===(lE=l.fields.LinkTitle)||void 0===lE?void 0:null===(ly=lE.fields)||void 0===ly?void 0:null===(lw=ly.Phrase)||void 0===lw?void 0:lw.value,href:(0,vS.at)(null==l?void 0:null===(lO=l.fields.Link)||void 0===lO?void 0:null===(lC=lO.value)||void 0===lC?void 0:lC.href,a()),className:(null==l?void 0:null===(lI=l.fields.Link)||void 0===lI?void 0:null===(lL=lI.value)||void 0===lL?void 0:lL.class)?null==l?void 0:null===(l_=l.fields.Link)||void 0===l_?void 0:null===(lF=l_.value)||void 0===lF?void 0:lF.class:(null==l?void 0:null===(lR=l.fields)||void 0===lR?void 0:null===(lM=lR.IsButton)||void 0===lM?void 0:lM.value)==!0?"btn":"",children:(0,va.jsx)(vx.H,{field:null==l?void 0:null===(lA=l.fields.LinkTitle)||void 0===lA?void 0:null===(lP=lA.fields)||void 0===lP?void 0:lP.Phrase})})})}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsx)(va.Fragment,{})}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"page-hero__img ".concat((null==l?void 0:null===(t=l.fields)||void 0===t?void 0:t.NoOverlay)?"":"wFrame"),children:[(0,va.jsx)("img",{className:"small",src:null==l?void 0:null===(c=l.fields)||void 0===c?void 0:null===(r=c.MediaThumbnail_Mobile)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.src}),(0,va.jsx)("img",{className:"large",src:null==l?void 0:null===(m=l.fields)||void 0===m?void 0:null===(u=m.MediaThumbnail)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src})]}),(null==l?void 0:null===(p=l.fields)||void 0===p?void 0:null===(x=p.Description)||void 0===x?void 0:x.value)||(null==l?void 0:null===(f=l.fields)||void 0===f?void 0:null===(h=f.Content)||void 0===h?void 0:h.value)||(null==l?void 0:null===(N=l.fields)||void 0===N?void 0:null===(j=N.Link)||void 0===j?void 0:null===(g=j.value)||void 0===g?void 0:g.href)?(0,va.jsxs)("article",{className:"main-container @(item.TextPosition?.Value)",children:[(null==l?void 0:null===(T=l.fields)||void 0===T?void 0:null===(b=T.Description)||void 0===b?void 0:b.value)?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null==l?void 0:null===(S=l.fields)||void 0===S?void 0:S.Description})}):(0,va.jsx)(va.Fragment,{}),(0,va.jsx)(vx.H,{field:null==l?void 0:null===(k=l.fields)||void 0===k?void 0:k.Content}),(null==l?void 0:null===(E=l.fields)||void 0===E?void 0:null===(y=E.Link)||void 0===y?void 0:null===(w=y.value)||void 0===w?void 0:w.href)?(0,va.jsx)(va.Fragment,{children:(null==l?void 0:null===(F=l.fields)||void 0===F?void 0:null===(I=F.Link)||void 0===I?void 0:null===(L=I.value)||void 0===L?void 0:null===(O=L.href)||void 0===O?void 0:null===(C=O.toLocaleLowerCase())||void 0===C?void 0:C.indexOf("mediaservices"))>=0||(null==l?void 0:null===(A=l.fields)||void 0===A?void 0:null===(P=A.Link)||void 0===P?void 0:null===(R=P.value)||void 0===R?void 0:null===(M=R.href)||void 0===M?void 0:null===(_=M.toLocaleLowerCase())||void 0===_?void 0:_.indexOf("azure"))>=0?(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"javascript:void(0);","data-video":null==l?void 0:null===(V=l.fields)||void 0===V?void 0:null===(B=V.Link)||void 0===B?void 0:null===(D=B.value)||void 0===D?void 0:D.href,className:"btn call-to-action call-to-action--button",title:null==l?void 0:null===(U=l.fields)||void 0===U?void 0:null===(G=U.LinkTitle)||void 0===G?void 0:null===(H=G.fields)||void 0===H?void 0:null===(W=H.Phrase)||void 0===W?void 0:W.value,"data-
1poster":null==l?void 0:null===(Q=l.fields)||void 0===Q?void 0:null===(q=Q.MediaThumbnail)||void 0===q?void 0:null===(z=q.value)||void 0===z?void 0:z.src,children:(0,va.jsx)(vm.x,{field:null==l?void 0:null===(Z=l.fields)||void 0===Z?void 0:null===(K=Z.LinkTitle)||void 0===K?void 0:null===(Y=K.fields)||void 0===Y?void 0:Y.Phrase})})}):(0,va.jsx)("p",{children:(0,va.jsx)("a",{title:null==l?void 0:null===(ee=l.fields.LinkTitle)||void 0===ee?void 0:null===(X=ee.fields)||void 0===X?void 0:null===(J=X.Phrase)||void 0===J?void 0:J.value,href:(0,vS.at)(null==l?void 0:null===(ei=l.fields.Link)||void 0===ei?void 0:null===(el=ei.value)||void 0===el?void 0:el.href,a()),className:(null==l?void 0:null===(en=l.fields.Link)||void 0===en?void 0:null===(es=en.value)||void 0===es?void 0:es.class)?null==l?void 0:null===(ed=l.fields.Link)||void 0===ed?void 0:null===(ea=ed.value)||void 0===ea?void 0:ea.class:(null==l?void 0:null===(eo=l.fields)||void 0===eo?void 0:null===(et=eo.IsButton)||void 0===et?void 0:et.value)==!0?"btn call-to-action call-to-action--button":"",children:(0,va.jsx)(vx.H,{field:null==l?void 0:null===(ec=l.fields.LinkTitle)||void 0===ec?void 0:null===(er=ec.fields)||void 0===er?void 0:er.Phrase})})})}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsx)(va.Fragment,{})]})},i)})})})})}),hq=(0,vp.C)()(e=>{var l,i,s;let{t:n}=(0,vT.QT)(),a=null==e?void 0:null===(l=e.params)||void 0===l?void 0:l.slideModifierCss;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("section",{children:(0,va.jsx)("div",{className:"main-container pt-0",children:(0,va.jsx)("div",{className:"box-slider box-slider--5050 ".concat(a),"data-speed":"4000",children:(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Children)?Object.values(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Children).map((l,i)=>{var s,a,d,t,o,r,c,v,u,m,x,p;return(0,va.jsxs)("div",{className:"slide",children:[(0,va.jsx)("div",{className:"slide__img",children:(0,va.jsx)(vg.E,{field:null==l?void 0:null===(s=l.fields)||void 0===s?void 0:s.ContentImage})}),(0,va.jsxs)("div",{className:"slide__cont",children:[(0,va.jsx)("h2",{className:"slide__title is-size-2",children:(null==l?void 0:null===(d=l.fields)||void 0===d?void 0:null===(a=d.ContentTitle)||void 0===a?void 0:a.value)?(0,va.jsx)(vx.H,{field:null==l?void 0:null===(t=l.fields)||void 0===t?void 0:t.ContentTitle}):(0,va.jsx)(vx.H,{field:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.Title})}),(0,va.jsx)(vx.H,{field:null==l?void 0:null===(r=l.fields)||void 0===r?void 0:r.ContentBody}),(null==l?void 0:null===(u=l.fields)||void 0===u?void 0:null===(v=u.ContentLink)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.href)?(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:null==l?void 0:l.fields.ContentLink,className:"call-to-action call-to-action--button",children:(0,va.jsx)(vx.H,{children:(null==l?void 0:null===(x=l.fields)||void 0===x?void 0:null===(m=x.ContentLinkText)||void 0===m?void 0:m.value)?(0,va.jsx)(vm.x,{field:null==l?void 0:null===(p=l.fields)||void 0===p?void 0:p.ContentLinkText}):(0,va.jsx)(va.Fragment,{children:n(null===mT.W||void 0===mT.W?void 0:mT.W.LINKTEXT.LEARNMORE)})})})}):(0,va.jsx)(va.Fragment,{})]})]},i)}):(0,va.jsx)(va.Fragment,{})})})})})});let hQ=e=>{let{t:l}=(0,vT.QT)(),i=(0,vr.z)().sitecoreContext.pageEditing;return null==e&&i?(0,va.jsx)("div",{className:"splash",children:(0,va.jsx)("div",{className:"slideshow",children:(0,va.jsxs)("div",{className:"swiper-container white-text",children:[(0,va.jsx)("div",{className:"swiper-wrapper"}),"Empty Carousel"]})})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"splash",children:(0,va.jsx)("div",{className:"slideshow",children:(0,va.jsxs)("div",{className:"swiper-container white-text",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:e.fields.SelectedImages.map((e,l)=>{var i,s;return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)("img",{"data-sc-src":(null===(i=e.fields.MediaThumbnail_Mobile.value)||void 0===i?void 0:i.src)+" @@mobile"+(null===(s=e.fields.MediaThumbnail.value)||void 0===s?void 0:s.src)+" @@tablet@@de
1sktop",alt:"@(item.MediaThumbnail_Mobile?.Alt)"})},l)})}),l("sh-banner-title"),e.fields.SelectedImages.length>=2?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"swiper-pagination"}),(0,va.jsx)("div",{className:"swiper-button-prev",children:l(mT.W.MEDAL.PREVIOUS)}),(0,va.jsx)("div",{className:"swiper-button-next",children:l(mT.W.MEDAL.NEXT)})]}):""]})})})})};var hY=(0,vp.C)()(hQ);let hK=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("figure",{className:e.fields.ClassName.value,children:[(0,va.jsx)(vg.E,{field:e.fields.MediaThumbnail}),null!=e.fields.MediaThumbnail_Secondary?(0,va.jsx)(vg.E,{field:e.fields.MediaThumbnail_Secondary}):""]})});var h$=(0,vp.C)()(hK);let hZ=e=>{var l,i;return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"bordered compact container",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col",children:(0,va.jsx)("div",{className:"sub-banner light-theme",children:(0,va.jsxs)("div",{className:"border",children:[(0,va.jsx)("img",{"data-sc-src":(null===(l=e.fields.MediaThumbnail_Mobile.value)||void 0===l?void 0:l.src)+" @@mobile@@tablet "+(null===(i=e.fields.MediaThumbnail.value)||void 0===i?void 0:i.src)+" @@desktop",alt:"@(Model.MediaThumbnail_Mobile?.Alt)"}),(0,va.jsxs)("div",{className:"desc",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:e.fields.MediaLink,className:"primary btn with-icon-after chevron-round right",title:e.fields.MediaLinkTitle.value,children:(0,va.jsx)(vm.x,{field:e.fields.MediaLinkTitle})})})]})]})})})})})})};var hJ=(0,vp.C)()(hZ);let hX=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"bordered compact container",children:(0,va.jsx)("div",{className:"narrow row",children:(0,va.jsxs)("div",{className:"col",children:[e.fields.Link.value.toString().toLowerCase().indexOf("mediaservices")>=0||e.fields.Link.value.toString().toLowerCase().indexOf("azure")>=0||e.fields.Link.value.toString().toLowerCase().indexOf("media")>=0?(0,va.jsxs)("video",{id:"azuremediaplayer1",className:"azuremediaplayer amp-default-skin amp-big-play-centered",controls:!0,width:"100%",height:"auto",poster:null===(l=e.fields.VideoThumbnail.value)||void 0===l?void 0:l.src,children:[(0,va.jsx)("source",{src:e.fields.Link.value.href,type:"application/vnd.ms-sstr+xml"}),(0,va.jsx)("p",{className:"amp-no-js",children:"To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video"})]}):"",e.fields.Link.value.toString().toLowerCase().indexOf("youtu")>=0?(0,va.jsxs)("div",{className:"ytvideo",children:[(0,va.jsx)("button",{className:"ytbtn",children:"Play"}),(0,va.jsx)("img",{className:"ythumbnail","data-sc-src":(null===(i=e.fields.VideoThumbnail_Mobile.value)||void 0===i?void 0:i.src)+" @@mobile@@tablet "+(null===(s=e.fields.VideoThumbnail.value)||void 0===s?void 0:s.src)+" @@desktop",alt:"@(Model.VideoThumbnail?.Alt)"}),(0,va.jsx)("iframe",{id:"player1",width:"100%",height:"100%",src:(null===(a=e.fields.Link)||void 0===a?void 0:null===(n=a.value.toString())||void 0===n?void 0:n.toLowerCase().indexOf("?enablejsapi=1"))>=0?null===(d=e.fields.Link)||void 0===d?void 0:d.value.href:(null===(t=e.fields.Link)||void 0===t?void 0:t.value.href)+"?enablejsapi=1",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})]}):"",(null===(o=e.fields.Link.value.toString())||void 0===o?void 0:o.toLowerCase().indexOf("youku"))>0?(0,va.jsxs)("div",{className:"ytvideo yk",children:[null!=e.fields.Link&&""!=e.fields.Link.value.href?(0,va.jsx)("button",{className:"ytbtn",children:"Play"}):"",(0,va.jsx)("img",{className:"ythumbnail","data-sc-src":(null===(r=e.fields.VideoThumbnail_Mobile.value)||void 0===r?void 0:r.src)+" @@mobile@@tablet "+(null===(c=e.fields.VideoThumbnail.value)||void 0===c?void 0:c.src)+" @@desktop",alt:"@(Model.VideoThumbnail?.Alt)"}),null!=e.fields.Link&&""!=e.fields.Link.value.href?(0,va.jsx)("iframe",{id:"player1",width:"100%",height:"100%",src:null===(v=e.fields.Link)||void 0===v?void 0:v.value.href,frameBorder:"0",allow:"autoplay; accelerometer; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):""]}):"",null==e.fields.Link?(0,va.jsx)("img",{"data-sc-src":(null===(u=e.fields.VideoThumbnail_Mobile.value)||void 0===u?void 0:u.src)+" @@mobile@@tablet "+(null===(m=e.fields.VideoThumbnail.value)||void 0===m?void 0:m.src)+" @@desktop",alt:"@(Model.VideoThumbnail?.Alt)"}):""]})})})})};var h0=(0,vp.C)()(hX);let h1=e=>{let{t:l}=(0,vT.QT)();return null==e||0==e.fields.SelectedImages.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"",children:(0,va.jsx)("div",{className:"slideshow",children:(0,va.jsxs)("div",{className:"swiper-container",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:e.fields.SelectedImages.map((e,l)=>{var i,s;return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)("picture",{children:(0,va.jsx)("img",{"data-sc-src":(null===(i=e.fields.MediaThumbnail.value)||void 0===i?void 0:i.src)+" @@mobile "+(null===(s=e.fields.MediaThumbnail.value)||void 0===s?void 0:s.src)+" @@tablet@@de
1sktop",alt:"@(item.MediaThumbnail?.Alt)"})})},l)})}),e.fields.SelectedImages.length>=2?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"swiper-pagination"}),(0,va.jsx)("div",{className:"swiper-button-prev",children:l(mT.W.MEDAL.PREVIOUS)}),(0,va.jsx)("div",{className:"swiper-button-next",children:l(mT.W.MEDAL.NEXT)})]}):""]})})})})};var h2=(0,vp.C)()(h1);let h5=e=>(0,va.jsx)(va.Fragment,{});var h3=(0,vp.C)()(h5);let h4=e=>{var l,i;let{t:s}=(0,vT.QT)();return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"secondary simple splash","data-sc-src":(null===(l=e.fields.MediaThumbnail_Mobile.value)||void 0===l?void 0:l.src)+" @@mobile "+(null===(i=e.fields.MediaThumbnail.value)||void 0===i?void 0:i.src)+" @@tablet@@desktop ",title:"@(Model.MediaThumbnail_Mobile?.Alt)",children:s("sh-banner-title")})})};var h6=(0,vp.C)()(h4);let h8=e=>{var l,i;let{t:s}=(0,vT.QT)();return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"simple splash","data-sc-src":(null===(l=e.fields.MediaThumbnail_Mobile.value)||void 0===l?void 0:l.src)+" @@mobile "+(null===(i=e.fields.MediaThumbnail.value)||void 0===i?void 0:i.src)+" @@tablet@@desktop ",title:"@(Model.MediaThumbnail_Mobile?.Alt)",children:s("sh-banner-title")})})};var h7=(0,vp.C)()(h8);let h9=e=>{var l;let i=(0,vr.z)().sitecoreContext.pageEditing;return null==e.fields||(null===(l=e.fields)||void 0===l?void 0:l.MediaList.length)==0?(0,va.jsx)(va.Fragment,{children:i&&(0,va.jsx)("div",{style:{width:"100%",padding:"200px 0",textAlign:"center"},children:"Empty carousel. Please select a datasource"})}):(0,va.jsx)("section",{className:"slider",children:(0,va.jsx)("div",{className:"sh-slider","data-autoplayspeed":e.fields.AutoPlaySpeedSeconds.value>0?1e3*e.fields.AutoPlaySpeedSeconds.value:"3000",children:e.fields.MediaList.map((e,l)=>{var i,s,n,a,d,t,o,r,c,v;return(0,va.jsx)(va.Fragment,{children:null!=e.fields&&(0,va.jsx)("div",{className:"item",children:(null===(i=e.fields.VideoLink)||void 0===i?void 0:i.value)?(0,va.jsx)(va.Fragment,{children:e.fields.Link.value.toString().toLocaleLowerCase().indexOf("mediaservices")>=0||e.fields.Link.value.toString().toLocaleLowerCase().indexOf("azure")>=0||e.fields.Link.value.toString().toLocaleLowerCase().indexOf("media.")>=0?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("video",{id:"azuremediaplayer1",className:"azuremediaplayer amp-default-skin amp-big-play-centered",autoPlay:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.AutoPlay)||void 0===s?void 0:s.value,muted:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.AutoPlay)||void 0===a?void 0:a.value,controls:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.ShowVideoControl)||void 0===t?void 0:t.value,width:"100%",height:"auto",children:[(0,va.jsx)("source",{src:e.fields.VideoLink.value.toString(),type:"application/vnd.ms-sstr+xml"}),(0,va.jsx)("p",{className:"amp-no-js",children:"To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video"})]}),(0,va.jsx)("figure",{"data-sc-src":"".concat(e.fields.MediaThumbnail_Mobile.value," @@mobile ").concat(e.fields.MediaThumbnail_Tablet.value," @@tablet ").concat(e.fields.MediaThumbnail.value," @@desktop")}),(""!=e.fields.Description.value||""!=e.fields.Link.value.toString())&&(0,va.jsxs)("article",{children:[""!=e.fields.Description.value&&(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Description})}),""!=e.fields.Content.value&&(0,va.jsx)("div",{className:"shmainpagecarousel-content",children:(0,va.jsx)(vm.x,{field:e.fields.Content})}),""!=e.fields.Link.value.toString()&&(0,va.jsx)(va.Fragment,{children:e.fields.Link.value.toString().toLocaleLowerCase().indexOf("mediaservices")>=0||e.fields.Link.value.toString().toLocaleLowerCase().indexOf("azure")>=0||e.fields.Link.value.toString().toLocaleLowerCase().indexOf("media.")>=0?(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"javascript:void(0)","data-vi
1deo":e.fields.Link.value,className:"sw-btn wbr dark",title:e.fields.LinkTitle.fields.Phrase.value,"data-poster":e.fields.MediaThumbnail.value,children:(0,va.jsx)(vm.x,{field:e.fields.LinkTitle.fields.Phrase})})}):(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.LinkTitle.fields.Phrase})})})]})]}):(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(c=v.VideoLink)||void 0===c?void 0:null===(r=c.value)||void 0===r?void 0:r.toString().toLocaleLowerCase().indexOf("youtu"))>=0?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"video-wrapper",children:(0,va.jsxs)("div",{className:"ytvideo",children:[(0,va.jsx)("button",{className:"ytbtn",children:"Play"}),(0,va.jsx)("img",{className:"ythumbnail",id:"play-button",src:"media/swirehotels/images/apple-tv-bitmap.png",alt:""}),(0,va.jsx)("iframe",{id:"player1",width:"100%",height:"100%",src:e.fields.VideoLink.value.toString(),allow:"accelerometer; ".concat(e.fields.AutoPlay?"autoplay":""," encrypted-media; gyroscope; picture-in-picture")})]})}),(0,va.jsx)("figure",{"data-sc-src":"".concat(e.fields.MediaThumbnail_Mobile.value," @@mobile ").concat(e.fields.MediaThumbnail_Tablet.value," @@tablet ").concat(e.fields.MediaThumbnail.value," @@desktop")})]}):(0,va.jsx)(va.Fragment,{})})}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("figure",{"data-sc-src":"".concat(e.fields.MediaThumbnail_Mobile.value," @@mobile ").concat(e.fields.MediaThumbnail_Tablet.value," @@tablet ").concat(e.fields.MediaThumbnail.value," @@desktop")}),(""!=e.fields.Description.value||""!=e.fields.Link.value.toString())&&(0,va.jsxs)("article",{children:[""!=e.fields.Description.value&&(0,va.jsxs)("h2",{children:[(0,va.jsx)(vm.x,{field:e.fields.Description})," "]}),""!=e.fields.Content.value&&(0,va.jsx)("div",{className:"shmainpagecarousel-content",children:(0,va.jsx)(vm.x,{field:e.fields.Content})}),""!=e.fields.Link.value.toString()&&(0,va.jsx)(va.Fragment,{children:e.fields.Link.value.toString().toLocaleLowerCase().indexOf("mediaservices")>=0||e.fields.Link.value.toString().toLocaleLowerCase().indexOf("azure")>=0||e.fields.Link.value.toString().toLocaleLowerCase().indexOf("media.")>=0?(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:"javascript:void(0)","data-vi
1deo":e.fields.Link.value,className:"sw-btn wbr dark",title:e.fields.LinkTitle.fields.Phrase.value,"data-poster":e.fields.MediaThumbnail.value,children:(0,va.jsx)(vm.x,{field:e.fields.LinkTitle.fields.Phrase})})}):(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.LinkTitle.fields.Phrase})})})]})]})},l)})})})})},fe=e=>{var l,i,s;let n=(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Image)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&{backgroundImage:"url('".concat(e.fields.Image.value.src,"')")};return null==e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("div",{className:"bg",style:n})},fl=e=>{var l;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(m7,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.MediaThumbnail})})},fi=e=>{var l,i;let{tag:s,image:n,imageMobile:a,...d}=e,t=Object.assign({"data-src-d":null==n?void 0:null===(l=n.value)||void 0===l?void 0:l.src,"data-src-m":null==a?void 0:null===(i=a.value)||void 0===i?void 0:i.src},d);return vd.createElement(s||"img",t,e.children)};var fs=i(53870),fn=i.n(fs),fa=e=>{var l,i,s;let{locale:n}=(0,vT.QT)(),a=n(),d={cta:"font-bold font-Amiko text-[14px] leading-[14px] lg:text-[16px] lg:leading-[16px] uppercase",angle:"icon-angle",arrow:"icon-arrow","btn-black":"btn btn--black","btn-white":"btn btn--white","cta-type-a":"font-Amiko font-bold text-[14px]/[14px] lg:text-[16px]/[16px] uppercase after:block after:h-[2px] after:bg-[#968359]"};d["cta-hero"]=vP("font-Amiko font-semibold text-[14px]/[14px] lg:text-[16px]/[16px] uppercase inline-block py-[10px] px-[20px] text-uh-white","rounded-[50px] border border-white","hover:bg-white hover:text-uh-gold","".concat("en"===a?"pb-[7px]":"")),d["cta-type-b"]=vP("font-Amiko font-bold text-uh-black text-[14px]/[14px] lg:text-[16px]/[16px] uppercase py-[15px] px-[30px] inline-block","border-[1px] border-solid border-black","before:bg-black","hover:text-uh-white","".concat("en"===a?"pb-[12px]":"")),d["cta-type-b-reverse"]=vP(d["cta-type-b"],"text-uh-white border-white hover:text-uh-black before:bg-white");let{sitecoreContext:t}=(0,vr.z)(),o=t.pageEditing,r=d[null!==(l=e.IconVariant)&&void 0!==l?l:"angle"]||"",c=e.ButtonVariant&&d[e.ButtonVariant],v=e.hideIconAngle,u=e.URL,m=e.TextTag;if(e.ButtonVariant&&-1!==["cta-type-b","cta-type-b-reverse"].indexOf(e.ButtonVariant)&&(m=m||"span",c=vP(c,fn()["cta-type-b"])),"cta-hero"===e.ButtonVariant&&(v=!0),e.hideLinkIfEmpty&&!o){if("string"==typeof u||void 0===u){if(!(null==u?void 0:u.length))return(0,va.jsx)(va.Fragment,{})}else if(!(null===(s=u.value)||void 0===s?void 0:null===(i=s.href)||void 0===i?void 0:i.length))return(0,va.jsx)(va.Fragment,{})}return"string"==typeof u||void 0===u?(0,va.jsxs)("a",{href:u,className:vP(c,e.className),title:vV(e.TEXT),target:e.Target,onClick:e.onClick,children:[(0,va.jsx)(uf,{Text:e.TEXT,tag:m,raw:e.RawText}),!v&&(0,va.jsx)("span",{className:r})]}):(0,va.jsxs)(vk,{field:u,className:vP(c,e.className),title:vV(e.TEXT),target:e.Target,onClick:e.onClick,children:[(0,va.jsx)(uf,{Text:e.TEXT,tag:m,raw:e.RawText}),!v&&(0,va.jsx)("span",{className:r})]})},fd=i(88238);let ft=e=>{let{width:l}=(0,fd.iP)();return(0,vd.useEffect)(()=>{let i="";(s=>{if(e.current&&void 0!==l){let n=s(e.current).find(".lazyload");n.each(function(e){let a=s(this),d=s(this).find("img"),t=a.data("src-d"),o=a.data("src-m"),r=d.data("src-d"),c=d.data("src-m");l>=992&&"desktop"!=i&&0==a.children().length?(a.css("background-image","url(".concat(t,")")),e===n.length-1&&(i="desktop")):l<992&&"mobile"!=i&&0==a.children().length&&(a.css("background-image","url(".concat(o,")")),e===n.length-1&&(i="mobile")),l>=992&&"desktop"!=i&&a.children().length>0?(d.attr("src","".concat(r)),d.closest(".art-horizontal-wrapper").length>0&&d.waitForImages({finished:()=>{let e=d.prop("naturalWidth")/2;d.width(e)}}),e===n.length-1&&(i="desktop")):l<992&&"mobile"!=i&&a.children().length>0&&(d.attr("src","".concat(c)),d.closest(".art-horizontal-wrapper").length>0&&d.waitForImages({finished:()=>{let e=d.prop("naturalWidth")/2;d.width(e)}}),e===n.length-1&&(i="mobile"))})}})(jQuery)},[l,e]),{}},fo=async(e,l)=>{var i,s,n,a,d;if(vD(e,"Slides",!0))return[];let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en";return t?await (0,up.D)(t,ux.t9.MediaCarouselSideMainPage,o):[]};var fr=(0,vp.C)()(e=>{var l,i,s;let n=(0,vd.useRef)(null);ft(n);let a=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);vD(e,"Slides",!0)&&(a=null===(s=e.fields)||void 0===s?void 0:null===(i=s.Slides)||void 0===i?void 0:i.map(e=>e));let d=0;return(0,va.jsx)("section",{className:"home-hero home-module home-0",id:"home-hero",ref:n,children:(0,va.jsxs)("div",{className:"hero-wrapper",children:[(0,va.jsx)("div",{className:"swiper-container home-hero__slider--img swiper-no-swiping",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:null==a?void 0:a.map((e,l)=>{var i,s,n,a,t,o,r,c,v,u,m,x,p;return(0,va.jsx)("div",{className:"swiper-slide",children:(null===(s=e.fields.VideoLink)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)?(0,va.jsxs)(va.Fragment,{children:[d+=1,(0,va.jsx)("div",{className:"vid-poster-m bg-img d-block d-lg-none parallax-section",style:{backgroundImage:(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(a=t.MediaThumbnailSecondary)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src)?"url(".concat(null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.MediaThumbnailSecondary)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.src,")"):void 0}}),(0,va.jsx)("div",{className:"hero--landing__vid-wrap vid-wrapper d-none d-lg-block parallax-section",children:(0,va.jsx)("video",{id:"hmHeroVid".concat(d),className:"azuremediaplayer amp-default-skin",muted:!0,poster:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.VideoThumbnail)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src,children:(0,va.jsx)("source",{src:null===(p=e.fields.VideoLink)||void 0===p?void 0:null===(x=p.value)||void 0===x?void 0:x.href})})})]}):(0,va.jsx)("div",{className:"img-wrapper parallax-section",children:(0,va.jsx)(fi,{tag:"div",className:"bg-img lazyload",image:e.fields.MediaThumbnail,imageMobile:e.fields.MediaThumbnailSecondary})})},l)})})}),(0,va.jsx)("div",{className:"bottom-wrap p-b-120",children:(0,va.jsxs)("div",{className:"swiper-container home-hero__slider",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:null==a?void 0:a.map((e,l)=>{var i,s;return(0,va.jsxs)("div",{className:"swiper-slide",children:[(0,va.jsx)(uf,{tag:"h1",Text:e.fields.Title,raw:!0}),(0,va.jsx)(vx.H,{field:e.fields.Content}),(0,va.jsx)(fa,{TextTag:"span",TEXT:null===(s=e.fields.LinkTitle)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:i.Phrase,URL:e.fields.Link,className:"btn btn--white"})]},l)})}),(0,va.jsx)("div",{className:"swiper-pagination"})]})}),(0,va.jsx)("div",{className:"bottom-wrap-btn",children:(0,va.jsx)("div",{className:"swiper-container home-hero__videobtn",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:null==a?void 0:a.map((e,l)=>{var i,s,n,a,d,t,o;return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)("div",{className:"btn--pointer",children:!!(null===(s=e.fields.VideoLink)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)&&(0,va.jsx)("button",{className:"js-triggerVid playvid-btn",type:"button",name:"button","data-vi
1dink":null===(a=e.fields.VideoLink)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href,dangerouslySetInnerHTML:{__html:null===(o=e.fields.VideoButtonTitle)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:null===(d=t.Phrase)||void 0===d?void 0:d.value}})})},l)})})})})]})})}),fc=i(5245);let fv=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei,es,en,ea,ed,et,eo,er,ec,ev,eu,em,ex,ep,eh,ef,eg,ej,eN,eb,eT,eS,ek,ew,ey,eE,eC,eO,eL,eI,eF,e_;let eM=(0,vr.z)().sitecoreContext.pageEditing,eR=m6(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Opacity)||void 0===l?void 0:l.value);return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"hero hero--landing",children:[(0,va.jsxs)("div",{className:"row no-gutters",children:[(0,va.jsx)("div",{className:"col-sm-12 col-md-4 col-xl-4 order-last order-md-first hero-module left-1",children:(0,va.jsxs)("div",{className:"hero--landing--info",children:[(0,va.jsx)(uf,{Text:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Headline,tag:"h1",raw:!0}),(null===(a=e.fields)||void 0===a?void 0:null===(n=a.FullVideoLink)||void 0===n?void 0:n.value.href)&&(0,va.jsx)("div",{className:"d-block d-xl-none btn--pointer",children:(0,va.jsx)("button",{className:"js-triggerVid playvid-btn",type:"button",name:"button","data-vid":"hero-index-bg-01","data-vidink":"@(Model.FullVideoLink?.Url)",children:(0,va.jsx)(fc.H,{field:null===(t=e.fields)||void 0===t?void 0:null===(d=t.FullVideoLinkTitle)||void 0===d?void 0:d.fields.Phrase})})}),(0,va.jsxs)("div",{className:"d-block d-sm-none d-xl-block hero--landing--info-Content",children:[(0,va.jsxs)("div",{className:"quote-wrapper",children:[eM||(null===(r=e.fields)||void 0===r?void 0:null===(o=r.Quote)||void 0===o?void 0:o.value)&&(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.Quote})}),eM||(null===(u=e.fields)||void 0===u?void 0:null===(v=u.FullName)||void 0===v?void 0:v.value)&&(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:m.FullName})}),eM||(null===(p=e.fields)||void 0===p?void 0:null===(x=p.Positionandinfo)||void 0===x?void 0:x.value)&&(0,va.jsx)("h5",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(h=e.fields)||void 0===h?void 0:h.Positionandinfo})})]}),eM||(null===(g=e.fields)||void 0===g?void 0:null===(f=g.ShortParagraph)||void 0===f?void 0:f.value)&&(0,va.jsx)("h4",{children:(0,va.jsx)(fc.H,{field:null==e?void 0:null===(j=e.fields)||void 0===j?void 0:j.ShortParagraph})}),eM||(null===(T=e.fields)||void 0===T?void 0:null===(b=T.Link)||void 0===b?void 0:null===(N=b.value)||void 0===N?void 0:N.href)&&(0,va.jsx)(vk,{field:null==e?void 0:null===(S=e.fields)||void 0===S?void 0:S.Link,className:"btn btn--white "+(null==e?void 0:null===(y=e.fields)||void 0===y?void 0:null===(w=y.Link)||void 0===w?void 0:null===(k=w.value)||void 0===k?void 0:k.class),children:(0,va.jsx)("span",{children:(0,va.jsx)(fc.H,{field:null===(O=e.fields)||void 0===O?void 0:null===(C=O.LinkTitle)||void 0===C?void 0:null===(E=C.fields)||void 0===E?void 0:E.Phrase})})})]})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-md-8 col-xl-8 order-first order-first-x ordermd-last hero--landing__banner hero-module",children:(0,va.jsxs)("div",{className:"hero--landing__bannerWrap",style:{backgroundColor:"".concat(m8())},children:[(null===(F=e.fields)||void 0===F?void 0:null===(I=F.Image)||void 0===I?void 0:null===(L=I.value)||void 0===L?void 0:L.src)&&!(null===(M=e.fields)||void 0===M?void 0:null===(_=M.VideoLink)||void 0===_?void 0:_.value.href)&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"hero--landing__img d-none d-lg-block",style:{backgroundImage:"url(".concat(null==e?void 0:null===(A=e.fields)||void 0===A?void 0:null===(P=A.Image)||void 0===P?void 0:null===(R=P.value)||void 0===R?void 0:R.src,")"),opacity:"".concat(eR)}}),(null===(V=e.fields)||void 0===V?void 0:null===(B=V.VideoLink)||void 0===B?void 0:null===(D=B.value)||void 0===D?void 0:D.href)&&(0,va.jsx)("div",{className:"d-none d-xl-block btn--pointer",children:(0,va.jsx)("button",{className:"js-triggerVid playvid-btn",type:"button",name:"button","data-vi
1d":"hero-index-bg-01","data-vidink":null==e?void 0:null===(G=e.fields)||void 0===G?void 0:null===(H=G.VideoLink)||void 0===H?void 0:null===(W=H.value)||void 0===W?void 0:W.href,children:(0,va.jsx)(fc.H,{field:null==e?void 0:null===(z=e.fields)||void 0===z?void 0:null===(U=z.FullVideoLinkTitle)||void 0===U?void 0:U.fields.Phrase})})})]}),(null===(Y=e.fields)||void 0===Y?void 0:null===(Q=Y.VideoLink)||void 0===Q?void 0:null===(q=Q.value)||void 0===q?void 0:q.href)?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"hero--landing__vid d-none d-lg-block",children:(0,va.jsxs)("div",{className:"hero--landing__vid-wrap",children:[(0,va.jsx)("video",{id:"herolandingVid",className:"azuremediaplayer amp-default-skin",loop:!0,muted:!0,autoPlay:!0,poster:null==e?void 0:null===(J=e.fields)||void 0===J?void 0:null===(Z=J.Image)||void 0===Z?void 0:null===(K=Z.value)||void 0===K?void 0:K.src,children:(0,va.jsx)("source",{src:null==e?void 0:null===(el=e.fields)||void 0===el?void 0:null===(ee=el.VideoLink)||void 0===ee?void 0:null===(X=ee.value)||void 0===X?void 0:X.href})}),(null===(es=e.fields.FullVideoLink)||void 0===es?void 0:null===(ei=es.value)||void 0===ei?void 0:ei.href)&&(0,va.jsx)("div",{className:"d-none d-xl-block btn--pointer",children:(0,va.jsx)("button",{className:"js-triggerVid playvid-btn",type:"button",name:"button","data-vid":"hero-index-bg-01","data-vidink":null==e?void 0:null===(ed=e.fields)||void 0===ed?void 0:null===(ea=ed.FullVideoLink)||void 0===ea?void 0:null===(en=ea.value)||void 0===en?void 0:en.href,children:(0,va.jsx)(fc.H,{field:null==e?void 0:null===(eo=e.fields)||void 0===eo?void 0:null===(et=eo.FullVideoLinkTitle)||void 0===et?void 0:et.fields.Phrase})})})]})})}):"",(0,va.jsx)("div",{className:"hero--landing__img d-block d-lg-none",style:{backgroundImage:"url(".concat(null===(ev=e.fields)||void 0===ev?void 0:null===(ec=ev.MobileImage)||void 0===ec?void 0:null===(er=ec.value)||void 0===er?void 0:er.src,")"),opacity:"".concat(eR)}})]})})]}),(0,va.jsx)("div",{className:"row no-gutters",children:(0,va.jsx)("div",{className:"col-sm-12 col-lg-9 col-xl-4 order-last order-md-first hero--landing--info d-none d-sm-block d-lg-block d-xl-none",children:(0,va.jsxs)("div",{className:"hero--landing--info-Content hero-module left-1",children:[(0,va.jsxs)("div",{className:"quote-wrapper",children:[eM||(null==e?void 0:null===(em=e.fields)||void 0===em?void 0:null===(eu=em.Quote)||void 0===eu?void 0:eu.value)&&(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null===(ex=e.fields)||void 0===ex?void 0:ex.Quote})}),eM||(null==e?void 0:null===(eh=e.fields)||void 0===eh?void 0:null===(ep=eh.FullName)||void 0===ep?void 0:ep.value)&&(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(ef=e.fields)||void 0===ef?void 0:ef.FullName})}),eM||(null==e?void 0:null===(ej=e.fields)||void 0===ej?void 0:null===(eg=ej.Positionandinfo)||void 0===eg?void 0:eg.value)&&(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(eN=e.fields)||void 0===eN?void 0:eN.Positionandinfo})})]}),eM||(null==e?void 0:null===(eT=e.fields)||void 0===eT?void 0:null===(eb=eT.ShortParagraph)||void 0===eb?void 0:eb.value)&&(0,va.jsx)("h4",{children:(0,va.jsx)(fc.H,{field:null==e?void 0:null===(eS=e.fields)||void 0===eS?void 0:eS.ShortParagraph})}),eM||(null==e?void 0:null===(ey=e.fields)||void 0===ey?void 0:null===(ew=ey.Link)||void 0===ew?void 0:null===(ek=ew.value)||void 0===ek?void 0:ek.href)&&(0,va.jsx)(vk,{field:null==e?void 0:null===(eE=e.fields)||void 0===eE?void 0:eE.Link,className:"btn btn--white "+(null==e?void 0:null===(eL=e.fields)||void 0===eL?void 0:null===(eO=eL.Link)||void 0===eO?void 0:null===(eC=eO.value)||void 0===eC?void 0:eC.class),children:(0,va.jsx)("span",{children:(0,va.jsx)(fc.H,{field:null==e?void 0:null===(e_=e.fields)||void 0===e_?void 0:null===(eF=e_.LinkTitle)||void 0===eF?void 0:null===(eI=eF.fields)||void 0===eI?void 0:eI.Phrase})})})]})})})]})})};var fu=(0,vp.C)()(fv);let fm=e=>{var l,i,s,n,a,d;if(!e.fields)return(0,va.jsx)(va.Fragment,{});let t=m6(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Opacity)||void 0===l?void 0:l.value);return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"hero hero--hHeight",style:{backgroundColor:"".concat(m8())},children:(0,va.jsx)("div",{className:"hero--hHeight__banner",style:{backgroundImage:(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Image.value)||void 0===s?void 0:s.src)?"url(".concat(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Image.value)||void 0===a?void 0:a.src,")"):void 0,opacity:t}})})})};var fx=(0,vp.C)()(fm);let fp=e=>{var l,i,s,n,a,d,t,o;return(null===(i=e.fields)||void 0===i?void 0:null===(l=i.MediaSelector)||void 0===l?void 0:l.length)?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("ul",{className:"menu-img pl-0",style:{backgroundImage:"url(".concat(null===(o=e.fields)||void 0===o?void 0:null===(t=o.MediaSelector)||void 0===t?void 0:null===(d=t[0])||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:null===(n=a.MediaThumbnail)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.src,")")},children:e.fields.MediaSelector.map((e,l)=>{var i;return l>0?(0,va.jsx)("li",{className:"menu-img__item","data-subnav":l-1,style:{backgroundImage:"url(".concat(null===(i=e.fields.MediaThumbnail.value)||void 0===i?void 0:i.src,")")}},l):""})})}):(0,va.jsx)(va.Fragment,{})};var fh=(0,vp.C)()(fp);let ff=e=>{var l,i,s;let n=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(vD(e,"Media",!0)&&(n=e.fields),n)?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"slider__backdrop",children:[(0,va.jsx)("div",{className:"gallery-thumbs gallery-thumbs--left d-none d-lg-block",children:(0,va.jsx)("div",{className:"swiper-container slider--backdrop slider--set5__top",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:!!(null==n?void 0:null===(i=n.Media)||void 0===i?void 0:i.length)&&(null==n?void 0:n.Media.map((e,l)=>(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)("div",{className:"slider--itemwrap",children:(0,va.jsx)("div",{className:"slider--item ",children:(0,va.jsx)(m7,{field:e.fields.MediaThumbnail})})})},l)))})})}),(0,va.jsx)("div",{className:"gallery-thumbs gallery-thumbs--right",children:(0,va.jsx)("div",{className:"swiper-container slider--backdrop slider--set5__top",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:!!(null==n?void 0:null===(s=n.Media)||void 0===s?void 0:s.length)&&(null==n?void 0:n.Media.map((e,l)=>(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)("div",{className:"slider--itemwrap",children:(0,va.jsx)("div",{className:"slider--item ",children:(0,va.jsx)(m7,{field:e.fields.MediaThumbnail})})})},l)))})})})]})}):(0,va.jsx)(va.Fragment,{})},fg=async(e,l)=>{var i,s,n,a,d;if(vD(e,"Media",!0))return{};let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en",r=t?await pX(t,ux.t9.MediaPageData,o,1,!1):[];return(null==r?void 0:r.length)?r[0]:void 0};var fj=ff;let fN=e=>{var l;return(0,va.jsx)("div",{className:"swiper-container slider--backdrop slider--set5__top",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:!!(null==e?void 0:null===(l=e.Media)||void 0===l?void 0:l.length)&&(null==e?void 0:e.Media.map((e,l)=>{var i;return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)("div",{className:"slider--itemwrap",children:(0,va.jsx)("div",{className:"slider--item ",children:(0,va.jsx)(m7,{field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.MediaThumbnail})})})},l)}))})})},fb=e=>{var l,i,s,n,a;let{sitecoreContext:d}=(0,vr.z)(),t=d.pageEditing,o=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(vD(e,"Media",!0)&&(o=e.fields),t||(null==o?void 0:null===(i=o.Media)||void 0===i?void 0:i.length))?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"slider--wrap module-wrapper",children:[(0,va.jsxs)("div",{className:"slider__backdrop",children:[(0,va.jsx)("div",{className:"gallery-thumbs gallery-thumbs--left d-none d-lg-block",children:(0,va.jsx)(fN,{Media:null==o?void 0:o.Media})}),(0,va.jsx)("div",{className:" gallery-thumbs gallery-thumbs--right",children:(0,va.jsx)(fN,{Media:null==o?void 0:o.Media})})]}),(0,va.jsxs)("div",{className:"slider slider--set5 art--slider slider--set5__padd",children:[(0,va.jsx)("div",{className:"swiper-container gallery-top slider--set5__top",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:!!(null==o?void 0:null===(s=o.Media)||void 0===s?void 0:s.length)&&(null==o?void 0:o.Media.map((e,l)=>{var i,s,n,a,d,t,o,r,c,v,u,m,x,p,h;return(0,va.jsx)("div",{className:"gallery-top__slide swiper-slide",children:(0,va.jsxs)("div",{className:"slider--itemwrap",children:[(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.VideoLink)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)?(0,va.jsxs)("div",{className:"slider--item slider--item--video js-triggerVid","data-vi
1d":"hero-index-bg-01","data-vidink":null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.VideoLink)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href,children:[(0,va.jsx)(m7,{field:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.MediaThumbnail}),(0,va.jsx)("button",{className:"icon-playvid",type:"button",name:"button"})]}):(0,va.jsx)("div",{className:"slider--item",children:(0,va.jsx)(m7,{field:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:r.MediaThumbnail})}),(0,va.jsxs)("div",{className:"slider--set5--info ",children:[(0,va.jsxs)("div",{className:"caption-wrapper",children:[(0,va.jsx)(uf,{tag:"h5",raw:!0,Text:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.Subtitle}),(0,va.jsx)(uf,{tag:"h2",raw:!0,Text:null==e?void 0:null===(v=e.fields)||void 0===v?void 0:v.Headline}),(0,va.jsx)(vx.H,{field:null==e?void 0:null===(u=e.fields)||void 0===u?void 0:u.Shortparagraph})]}),(0,va.jsx)(fa,{className:"btn btn--white",URL:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:m.Link,TEXT:null==e?void 0:null===(h=e.fields)||void 0===h?void 0:null===(p=h.LinkTitle)||void 0===p?void 0:null===(x=p.fields)||void 0===x?void 0:x.Phrase,hideIconAngle:!0,RawText:!0,hideLinkIfEmpty:!0})]})]})},l)}))})}),(null!==(a=null==o?void 0:null===(n=o.Media)||void 0===n?void 0:n.length)&&void 0!==a?a:0)>1&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"swiper-button-next slider--set5--button slider--set5--button-next"}),(0,va.jsx)("div",{className:"swiper-button-prev slider--set5--button slider--set5--button-prev"})]})]})]})}):(0,va.jsx)(va.Fragment,{})},fT=async(e,l)=>{var i,s,n,a,d;if(vD(e,"Media",!0))return{};let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en",r=t?await pX(t,ux.t9.MediaPageData,o,1,!1):[];return(null==r?void 0:r.length)?r[0]:void 0};var fS=fb;let fk=e=>{var l,i,s,n,a,d,t,o,r,c;let{sitecoreContext:v}=(0,vr.z)(),u=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);vD(e,"MediaItems",!0)&&(u=e.fields.MediaItems.map(e=>e.fields));let m=null!==(c=null==e?void 0:e.fields)&&void 0!==c?c:null==v?void 0:null===(i=v.route)||void 0===i?void 0:i.fields,x=(null==u?void 0:u.length)?null===(s=u[0].VideoLink)||void 0===s?void 0:s.value:void 0,p=(null==u?void 0:u.length)?null===(n=u[0].VideoThumbnail)||void 0===n?void 0:n.value:void 0,h=(null==u?void 0:u.length)?m6(null===(a=u[0].Opacity)||void 0===a?void 0:a.value):void 0;return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"hero hero--w900 mb-100",children:[(0,va.jsxs)("div",{className:"banner-wrap bgModule opacity hero-module",style:{backgroundColor:"".concat(m8())},children:[(0,va.jsx)(m7,{field:p,style:{opacity:"".concat(h)},className:"object-cover"}),!!(null==x?void 0:x.href)&&(0,va.jsx)("div",{className:"js-triggerVid video-btn-wrap js-triggerVid slider--item--video","data-vid":"detail-hero-vid","data-vidink":null==x?void 0:x.href,children:(0,va.jsx)("button",{className:"icon-playvid",type:"button",name:"button"})})]}),(0,va.jsx)("div",{className:"flex-wrapper hero-module fadeUp",children:(0,va.jsx)("div",{className:"hero--w900__title",children:(null==m?void 0:null===(d=m.OffersMatchingTag)||void 0===d?void 0:d.fields)?(0,va.jsxs)("div",{className:"offer-tag",children:[(0,va.jsx)("span",{className:null==m?void 0:null===(t=m.OffersMatchingTag)||void 0===t?void 0:t.fields.IconCssClass.value})," ",(0,va.jsx)(uf,{tag:"span",raw:!0,Text:null==m?void 0:null===(r=m.OffersMatchingTag)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:o.Text})]}):(0,va.jsx)("div",{className:"text-wrap",children:(0,va.jsx)(uf,{tag:"h4",raw:!0,Text:null==m?void 0:m.SubTitle})})})})]})})},fw=async(e,l)=>{var i,s,n,a,d;if(vD(e,"MediaItems",!0))return[];let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en";return t?await pX(t,ux.t9.MediaVideoWithCaptionAndTag,o,1,!1):[]};var fy=fk;let fE=e=>{try{var l,i,s,n,a,d,t;if(!(null===(l=e.fields)||void 0===l?void 0:l.MediaThumbnail))return(0,va.jsx)(va.Fragment,{});return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"bg-color",children:(0,va.jsx)("div",{className:"bg",style:{backgroundImage:(null===(n=e.fields)||void 0===n?void 0:null===(s=n.MediaThumbnail)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src)?"url(".concat(null===(t=e.fields)||void 0===t?void 0:null===(d=t.MediaThumbnail)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.src,")"):void 0}})})})}catch(e){return(0,va.jsx)(vb,{error:e})}};var fC=(0,vp.C)()(fE);let fO=e=>{var l,i,s,n;let{t:a}=(0,vT.QT)();return(null==e?void 0:e.fields)?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("input",{id:"loadMoreBackgroun
1d",name:"loadMoreBackground",type:"hidden",defaultValue:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Image.value)||void 0===l?void 0:l.src}),(0,va.jsx)("div",{className:"tab--img__item tab--loadmore",style:{backgroundImage:"url(".concat(null===(n=e.fields)||void 0===n?void 0:null===(s=n.Image.value)||void 0===s?void 0:s.src,")")},children:(0,va.jsx)("p",{className:"slide-append-button btn btn--mega btn--white",children:(0,va.jsx)("span",{children:a(mT.W.PAGECONTENT.LOADMORE)})})})]}):(0,va.jsx)(va.Fragment,{})};var fL=(0,vp.C)()(fO);let fI=e=>{var l,i,s,n,a,d;let{sitecoreContext:t}=(0,vr.z)(),o=null!==(d=e.fields)&&void 0!==d?d:null==t?void 0:null===(l=t.route)||void 0===l?void 0:l.fields;return(null==o?void 0:o.LeftImage)?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"feat feat--imgs p-40",children:[(0,va.jsxs)("div",{className:"feat--left feat--imgItem module-wrapper",children:[(0,va.jsx)("img",{src:null==o?void 0:null===(s=o.LeftImage)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src}),(null==o?void 0:o.LeftImageTitle.value)!=null&&(null==o?void 0:o.LeftImageTitle.value)!=""&&(0,va.jsx)("div",{className:"feat--caption",children:(null==o?void 0:o.LeftImageTitle.value)&&(0,va.jsx)("p",{children:(0,va.jsx)(fc.H,{field:null==o?void 0:o.LeftImageTitle})})})]}),(0,va.jsxs)("div",{className:"feat--right feat--imgItem module-wrapper right-1",children:[(0,va.jsx)("img",{src:null==o?void 0:null===(a=o.RightImage)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src}),(null==o?void 0:o.RightImageTitle.value)!=null&&(null==o?void 0:o.RightImageTitle.value)!=""&&(0,va.jsx)("div",{className:"feat--caption",children:(null==o?void 0:o.RightImageTitle.value)&&(0,va.jsx)("p",{children:(0,va.jsx)(fc.H,{field:null==o?void 0:o.RightImageTitle})})})]})]})}):(0,va.jsx)(va.Fragment,{})};var fF=fI;let f_=e=>{let{t:l}=(0,vT.QT)(),i=(0,vr.z)().sitecoreContext.pageEditing;return null==e&&i?(0,va.jsx)("div",{style:{width:"100%",padding:"200px",textAlign:"center"},children:"Empty carousel. Please select a datasource"}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"splash",children:(0,va.jsxs)("div",{className:"slideshow",children:[(0,va.jsx)("div",{className:"swiper-container",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:e.fields.SelectedImages.map((e,l)=>(0,va.jsxs)("div",{className:"slide white-text",children:[(0,va.jsx)(vg.E,{field:e.fields.MediaThumbnail,className:"backdrop"}),i||""!=e.fields.MediaTitle.value||""!=e.fields.MediaDescription.value?(0,va.jsx)("div",{className:"panel",children:(0,va.jsxs)("div",{className:"content",children:[i||""!=e.fields.MediaTitle.value?(0,va.jsx)("p",{className:"title",children:(0,va.jsx)(vm.x,{field:e.fields.MediaTitle})}):"",(0,va.jsx)(vm.x,{field:e.fields.MediaDescription})]})}):""]},l))})}),e.fields.SelectedImages.length>=2?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"pagination"}),(0,va.jsx)("div",{className:"ctrl prev ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_larrow_off",children:l(mT.W.MEDAL.PREVIOUS)})}),(0,va.jsx)("div",{className:"ctrl next ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_rarrow_off",children:l(mT.W.MEDAL.NEXT)})})]}):""]})})})};var fM=(0,vp.C)()(f_);let fR=e=>{let{t:l}=(0,vT.QT)(),i=(0,vr.z)().sitecoreContext.pageEditing;return null==e&&i?(0,va.jsx)("div",{style:{width:"100%",padding:"200px",textAlign:"center"},children:"Empty carousel. Please select a datasource"}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"splash",children:(0,va.jsxs)("div",{className:"slideshow",children:[(0,va.jsx)("div",{className:"swiper-container",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:e.fields.SelectedImages.map((e,l)=>(0,va.jsx)("div",{className:"slide",children:(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.MediaThumbnail})})},l))})}),e.fields.SelectedImages.length>=2?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"pagination"}),(0,va.jsx)("div",{className:"ctrl prev ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_larrow_off",children:l(mT.W.MEDAL.PREVIOUS)})}),(0,va.jsx)("div",{className:"ctrl next ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_rarrow_off",children:l(mT.W.MEDAL.NEXT)})})]}):""]})})})};var fP=(0,vp.C)()(fR);let fA=e=>{let{t:l}=(0,vT.QT)();return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"content full-width-bg-content",children:(0,va.jsxs)("div",{className:"text-img",children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.MediaTitle})}),(0,va.jsx)(vm.x,{field:e.fields.MediaDescription}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:e.fields.MediaLink,target:"_blank",children:[(0,va.jsx)(vm.x,{field:e.fields.MediaLinkTitle}
1),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]}),null!=e.fields.SelectedInnerVideos?(0,va.jsx)("div",{className:"img",children:(0,va.jsxs)("div",{className:"inner slideshow",children:[(0,va.jsxs)("div",{className:"swiper-container",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:e.fields.SelectedInnerVideos.map((e,l)=>(0,va.jsxs)("div",{className:"slide",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.VideoThumbnail})}),null!=e.fields.Link?(0,va.jsx)(vk,{field:e.fields.Link,className:"video ro",target:"_blank",children:(0,va.jsx)("span",{className:"sp sp-play_video_off"})}):""]},l))}),e.fields.SelectedInnerVideos.length>1?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"ctrl prev ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_larrow_off",children:l(mT.W.MEDAL.PREVIOUS)})}),(0,va.jsx)("div",{className:"ctrl next ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_rarrow_off",children:l(mT.W.MEDAL.NEXT)})})]}):""]}),(0,va.jsx)("div",{className:"panel"}),(0,va.jsx)("div",{className:"pagination"})]})}):""]})})})};var fD=(0,vp.C)()(fA);let fB=e=>{let{t:l}=(0,vT.QT)();return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"text-img item",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.MediaTitle})}),null!=e.fields.SelectedInnerVideos?(0,va.jsx)("div",{className:"img",children:(0,va.jsxs)("div",{className:"inner slideshow",children:[(0,va.jsxs)("div",{className:"swiper-container",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:e.fields.SelectedInnerVideos.map((e,l)=>(0,va.jsxs)("div",{className:"slide",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.VideoThumbnail})}),null!=e.fields.Link?(0,va.jsx)(vk,{field:e.fields.Link,className:"video ro",target:"_blank",children:(0,va.jsx)("span",{className:"sp sp-play_video_off"})}):""]},l))}),e.fields.SelectedInnerVideos.length>1?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"ctrl prev ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_larrow_off",children:l(mT.W.MEDAL.PREVIOUS)})}),(0,va.jsx)("div",{className:"ctrl next ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_rarrow_off",children:l(mT.W.MEDAL.NEXT)})})]}):""]}),(0,va.jsx)("div",{className:"panel"}),(0,va.jsx)("div",{className:"pagination"})]})}):"",(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)(fc.H,{field:e.fields.MediaDescription}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:e.fields.MediaLink,children:[(0,va.jsx)(vm.x,{field:e.fields.MediaLinkTitle}),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]})})};var fV=(0,vp.C)()(fB);let fW=e=>{let{t:l}=(0,vT.QT)();return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"bg-dark-grey",children:(0,va.jsxs)("div",{className:"content full-width-bg-content",children:[(0,va.jsxs)("h2",{children:[" ",(0,va.jsx)(vm.x,{field:e.fields.MediaTitle})]}),(0,va.jsxs)("div",{className:"img-text",children:[null!=e.fields.SelectedInnerVideos?(0,va.jsx)("div",{className:"img",children:(0,va.jsxs)("div",{className:"inner slideshow",children:[(0,va.jsxs)("div",{className:"swiper-container",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:e.fields.SelectedInnerVideos.map((e,l)=>(0,va.jsxs)("div",{className:"slide",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.VideoThumbnail})}),null!=e.fields.Link?(0,va.jsx)(vk,{field:e.fields.Link,className:"video ro",target:"_blank",children:(0,va.jsx)("span",{className:"sp sp-play_video_off"})}):""]},l))}),e.fields.SelectedInnerVideos.length>1?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"ctrl prev ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_larrow_off",children:l(mT.W.MEDAL.PREVIOUS)})}),(0,va.jsx)("div",{className:"ctrl next ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_rarrow_off",children:l(mT.W.MEDAL.NEXT)})})]}):""]}),(0,va.jsx)("div",{className:"panel"}),(0,va.jsx)("div",{className:"pagination"})]})}):"",(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)(fc.H,{field:e.fields.MediaDescription}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:e.fields.MediaLink,target:"_blank",children:[(0,va.jsx)(vm.x,{field:e.fields.MediaLinkTitle}
1),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]})]})})})};var fH=(0,vp.C)()(fW);let fG=e=>{let{t:l}=(0,vT.QT)();return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"text-img item",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.MediaTitle})}),null!=e.fields.SelectedInnerVideos?(0,va.jsx)("div",{className:"img",children:(0,va.jsxs)("div",{className:"inner slideshow",children:[(0,va.jsxs)("div",{className:"swiper-container",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:e.fields.SelectedInnerVideos.map((e,l)=>(0,va.jsxs)("div",{className:"slide",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.VideoThumbnail})}),null!=e.fields.Link?(0,va.jsx)(vk,{field:e.fields.Link,className:"video ro",target:"_blank",children:(0,va.jsx)("span",{className:"sp sp-play_video_off"})}):""]},l))}),e.fields.SelectedInnerVideos.length>1?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"ctrl prev ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_larrow_off",children:l(mT.W.MEDAL.PREVIOUS)})}),(0,va.jsx)("div",{className:"ctrl next ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_rarrow_off",children:l(mT.W.MEDAL.NEXT)})})]}):""]}),(0,va.jsx)("div",{className:"panel"}),(0,va.jsx)("div",{className:"pagination"})]})}):"",(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)(fc.H,{field:e.fields.MediaDescription}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:e.fields.MediaLink,children:[(0,va.jsx)(vm.x,{field:e.fields.MediaLinkTitle}),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]})})};var fU=(0,vp.C)()(fG);let fz=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing;return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:l?(0,va.jsx)("div",{style:{float:"left"},children:(0,va.jsx)(vg.E,{field:e.fields.MediaThumbnail,className:"floorplan-img"})}):(0,va.jsx)(vg.E,{field:e.fields.MediaThumbnail,className:"floorplan-img"})})};var fq=(0,vp.C)()(fz);let fQ=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing,{t:i}=(0,vT.QT)();return null==e.fields.SelectedImagesWithAnimation?l?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("li",{className:"partners desktop tablet",children:(0,va.jsx)("a",{className:"ro",children:"Empty partners link"})})}):(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("li",{className:"partners desktop tablet",children:[(0,va.jsx)("div",{className:"title",children:i(mT.W.MEDAL.OURPARTNERS)}),e.fields.SelectedImagesWithAnimation.map((e,l)=>(0,va.jsxs)(vk,{field:e.fields.MediaLink,className:"ro",children:[(0,va.jsx)(vg.E,{field:e.fields.MediaImageOff,className:"off"}),(0,va.jsx)(vg.E,{field:e.fields.MediaImageOn,className:"on"}),(0,va.jsx)(vm.x,{field:e.fields.MediaLinkTitle})]},l))]})})};var fY=(0,vp.C)()(fQ);let fK=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing,{t:i}=(0,vT.QT)();return null==e.fields.SelectedImagesWithAnimation?l?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("li",{className:"partners desktop tablet",children:(0,va.jsx)("a",{className:"ro",children:"Empty mobile partners link"})})}):(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("li",{className:"partners",children:[(0,va.jsx)("div",{className:"title",children:i(mT.W.MEDAL.OURPARTNERS)}),e.fields.SelectedImagesWithAnimation.map((e,l)=>(0,va.jsxs)(vk,{field:e.fields.MediaLink,className:"ro",children:[(0,va.jsx)(vg.E,{field:e.fields.MediaImageOff,className:"off"}),(0,va.jsx)(vg.E,{field:e.fields.MediaImageOn,className:"on"}),(0,va.jsx)(vm.x,{field:e.fields.MediaLinkTitle})]},l))]})})};var f$=(0,vp.C)()(fK);let fZ=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing;return null==e.fields.SelectedImagesWithAnimation?l?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("li",{children:(0,va.jsx)("a",{className:"ro",children:"Empty relation link"})})}):(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:e.fields.SelectedImagesWithAnimation.map((e,l)=>(0,va.jsx)("li",{children:(0,va.jsxs)(vk,{field:e.fields.MediaLink,className:"ro",children:[(0,va.jsx)(vg.E,{field:e.fields.MediaImageOff,className:"off"}),(0,va.jsx)(vg.E,{field:e.fields.MediaImageOn,className:"on"}),(0,va.jsx)(vm.x,{field:e.fields.MediaLinkTitle})]},l)},l))})};var fJ=(0,vp.C)()(fZ);let fX=e=>(0,va.jsxs)("div",{className:"bg-transparent-black full-width-content ".concat(e.fields.ShowSlidesDescription?"":"no-caption"),children:[e.fields.ShowTitle&&(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsxs)("div",{className:"slideshow",children:[(0,va.jsxs)("div",{className:"swiper-container",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:e.fields.MediaSelector.map((e,l)=>(0,va.jsx)("div",{className:"slide",children:(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.MediaThumbnail})})},l))}),e.fields.ShowPrevNextNav&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"ctrl prev ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_larrow_off"})}),(0,va.jsx)("div",{className:"ctrl next ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_rarrow_off"})})]})]}),e.fields.ShowSlidesDescription&&(0,va.jsx)("div",{className:"panel",children:e.fields.MediaSelector.map((e,l)=>(0,va.jsx)("div",{className:"content",children:(0,va.jsx)(vm.x,{field:e.fields.MediaDescription})},l))}),(0,va.jsx)("div",{className:"pagination"})]})]}),f0=e=>0==e.fields.MediaCarousel.fields.MediaList.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"slideshow",children:[(0,va.jsxs)("div",{className:"swiper-container",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:e.fields.MediaCarousel.fields.MediaList.map((e,l)=>(0,va.jsx)("div",{className:"slide cat-".concat(e.fields.MediaType.fields.Value),children:(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.MediaThumbnail})})},l))}),e.fields.MediaCarousel.fields.MediaList.length>1&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"ctrl prev ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_larrow_off"})}),(0,va.jsx)("div",{className:"ctrl next ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_rarrow_off"})})]})]}),(0,va.jsx)("div",{className:"panel","data-action":"@Model.ApiUrl",children:e.fields.MediaCarousel.fields.MediaList.map((l,i)=>(0,va.jsxs)("div",{className:"content",children:[(0,va.jsxs)("div",{className:"pager",children:[i+1,"/",e.fields.MediaCarousel.fields.MediaList.length]}),(0,va.jsx)("div",{className:"caption",children:(0,va.jsx)("div",{className:"dot",children:(0,va.jsx)(vm.x,{field:l.fields.MediaTitle})})}),(0,va.jsx)(vt.V,{name:"tmh-media-gallery-login",rendering:e.rendering})]},i))})]})}),f1=e=>0==e.fields.MediaList.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("div",{className:"content wide tablet desktop",children:(0,va.jsxs)("div",{className:"wrap slideshow-nav",children:[(0,va.jsx)("div",{className:"swiper-nav",children:(0,va.jsxs)("div",{className:"swiper-wrapper",children:["@foreach (var media in Model.MediaList)",e.fields.MediaList.map((e,l)=>(0,va.jsx)("div",{className:"slide cat-".concat(e.fields.MediaType.fields.Value),children:(0,va.jsx)(vg.E,{field:e.fields.MediaThumbnail})},l))]})}),(0,va.jsx)("div",{className:"ctrl prev ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_larrow_off"})}),(0,va.jsx)("div",{className:"ctrl next ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_rarrow_off"})})]})}),f2=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing;return 0==e.fields.SelectedInnerVideos.length?(0,va.jsx)(va.Fragment,{children:l&&(0,va.jsx)("div",{style:{width:"100%",padding:"100px 0",textAlign:"center"},children:"Empty carousel. Please select a datasource"})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"inner slideshow",children:[(0,va.jsxs)("div",{className:"swiper-container",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:e.fields.SelectedInnerVideos.map((e,l)=>(0,va.jsxs)("div",{className:"slide",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.VideoThumbnail})}
1),null!=e.fields.VideoLink&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("span",{className:"sp sp-play_video_off"})})]},l))}),e.fields.SelectedInnerVideos.length>1&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"ctrl prev ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_larrow_off"})}),(0,va.jsx)("div",{className:"ctrl next ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_rarrow_off"})})]})]}),(0,va.jsx)("div",{className:"panel"}),(0,va.jsx)("div",{className:"pagination"})]})})},f5=()=>(0,va.jsx)(va.Fragment,{}),f3=e=>0===e.fields.MediaFilter.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("div",{className:"filters pull-left w-50",children:(0,va.jsxs)("div",{className:"filter-dropdown",children:[(0,va.jsx)("span",{className:"label"}),(0,va.jsxs)("select",{className:"custom",children:[(0,va.jsx)("option",{value:"all"}),e.fields.MediaFilter.map((e,l)=>(0,va.jsx)("option",{value:e.fields.Value.value,children:(0,va.jsx)(vm.x,{field:e.fields.Title})},l))]})]})}),f4=e=>{let l=(0,vr.z)().sitecoreContext.pageEditing;return 0==e.fields.SelectedVideos.length?(0,va.jsx)(va.Fragment,{children:l&&(0,va.jsx)("div",{style:{height:"30px",backgroundColor:"#eee"},children:"Empty carousel"})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"bg-transparent-black full-width-content",children:(0,va.jsxs)("div",{className:"slideshow",children:[(0,va.jsxs)("div",{className:"swiper-container",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:e.fields.SelectedVideos.map((e,l)=>(0,va.jsxs)("div",{className:"slide",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.VideoThumbnail})}),null!=e.fields.VideoLink&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("span",{className:"sp sp-play_video_off"})})]},l))}),e.fields.SelectedVideos.length>1&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"ctrl prev ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_larrow_off"})}),(0,va.jsx)("div",{className:"ctrl next ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_rarrow_off"})})]})]}),(0,va.jsx)("div",{className:"pagination"})]})})})},f6=e=>{var l,i,s,n,a,d;return e.fields?(0,va.jsx)("div",{className:"bg",style:{backgroundImage:(null===(s=e.fields)||void 0===s?void 0:null===(i=s.MediaThumbnail)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)?"url(".concat(null===(d=e.fields)||void 0===d?void 0:null===(a=d.MediaThumbnail)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src,")"):void 0}}):(0,va.jsx)(va.Fragment,{})},f8=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"Slides",!0))return{};let r=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,c=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en",v=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.pageTid)||ux.t9.CarouselSlideMainPage,u=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.rootpath)||r,m=u?await (0,up.D)(u,v,c,10,!0):[],x=r?await pn(r,c):{};return{BrandVideoLink:x,ContentItem:{item:x},MediaCarousel:m}};var f7=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let m=(0,vd.useRef)(null);ft(m);let x=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);vD(e,"Slides",!0)&&(x={MediaCarousel:null===(v=e.fields)||void 0===v?void 0:v.Slides,ContentItem:{item:{BrandVideoLink:null===(u=e.fields)||void 0===u?void 0:u.BrandVideoLink}}});let{sitecoreContext:p}=(0,vr.z)(),h=p.pageEditing,{t:f}=(0,vT.QT)();return(null==x?void 0:x.MediaCarousel)&&(null==x?void 0:null===(i=x.MediaCarousel)||void 0===i?void 0:i.length)<=0?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"swiper-container home-hero__slider--img swiper-no-swiping",ref:m,children:(0,va.jsx)("div",{className:"swiper-wrapper",children:null==x?void 0:x.MediaCarousel.map((e,l)=>{var i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b;return(0,va.jsx)("div",{className:"swiper-slide",children:(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.VideoLink)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"vid-poster-m bg-img d-block d-lg-none parallax-section",style:{backgroundImage:(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.MediaThumbnailSecondary)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.src)?"url(".concat(null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.MediaThumbnailSecondary)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.src,")"):void 0}}),(0,va.jsx)("div",{className:"hero--landing__vid-wrap vid-wrapper d-none d-lg-block parallax-section",children:(0,va.jsx)("video",{id:"hmHeroVid".concat(l+1),className:"azuremediaplayer amp-default-skin",muted:!0,poster:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.VideoThumbnail)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src,children:(0,va.jsx)("source",{src:"".concat(null==e?void 0:null===(p=e.fields)||void 0===p?void 0:null===(x=p.VideoLink.value)||void 0===x?void 0:x.href)})})})]}):(0,va.jsx)("div",{className:"img-wrapper parallax-section",children:(0,va.jsx)("div",{className:"bg-img lazyload","data-src-d":null==e?void 0:null===(g=e.fields)||void 0===g?void 0:null===(f=g.MediaThumbnail)||void 0===f?void 0:null===(h=f.value)||void 0===h?void 0:h.src,"data-src-m":null==e?void 0:null===(b=e.fields)||void 0===b?void 0:null===(N=b.MediaThumbnailSecondary)||void 0===N?void 0:null===(j=N.value)||void 0===j?void 0:j.src})})},l)})})}),(0,va.jsxs)("div",{className:"bottom-wrap",children:[(0,va.jsxs)("div",{className:"swiper-container home-hero__slider",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:null==x?void 0:x.MediaCarousel.map((e,l)=>{var i,s,n,a,d,t,o,r,c,v;return(0,va.jsxs)("div",{className:"swiper-slide",children:[(0,va.jsx)("h1",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Title)||void 0===i?void 0:i.value}}),(0,va.jsx)(vx.H,{field:e.fields.Content}),(0,va.jsxs)(vk,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Link,className:"btn btn--white",children:[h?(0,va.jsx)(vm.x,{field:null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(c=v.LinkTitle)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:r.Phrase,tag:"span"}):(0,va.jsx)("span",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.LinkTitle)||void 0===t?void 0:null===(d=t.fields)||void 0===d?void 0:null===(a=d.Phrase)||void 0===a?void 0:a.value}}),(0,va.jsx)("span",{className:"icon-angle"})]})]},l)})}),(0,va.jsx)("div",{className:"swiper-pagination"})]}),(null==x?void 0:null===(d=x.ContentItem)||void 0===d?void 0:null===(a=d.item)||void 0===a?void 0:null===(n=a.BrandVideoLink)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.href)&&(0,va.jsx)("div",{className:"btn--pointer",children:(0,va.jsx)("button",{className:"js-triggerVid playvid-btn",type:"button",name:"button","data-vi
1dink":null==x?void 0:null===(c=x.ContentItem)||void 0===c?void 0:null===(r=c.item)||void 0===r?void 0:null===(o=r.BrandVideoLink)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.href,children:f(mT.W.MEDAL.WATCHBRANDVIDEO)})})]})]})},f9=e=>{var l,i,s,n,a;return(null==e?void 0:e.fields)==null?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"hero hero--full hero--full-2",children:[(0,va.jsx)("div",{className:"fixed-container",children:(0,va.jsx)("div",{className:"slider hero--full--silder slider-hero-fullWidth",style:(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.SelectedImages)||void 0===l?void 0:l.length)>0?{backgroundColor:"".concat(m8())}:{},children:(0,va.jsx)("div",{className:"swiper-container slider-hero-fullWidth-container",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.SelectedImages.map((e,l)=>{var i,s,n;let a=m6(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Opacity)||void 0===i?void 0:i.value);return(0,va.jsx)("div",{className:"swiper-slide",style:{opacity:"".concat(a)},children:(0,va.jsx)("div",{className:"hero--full--imgWrap",children:(0,va.jsx)("div",{className:"hero--full--img",children:(0,va.jsx)(vg.E,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Image})})})},l)})})})})}),(0,va.jsxs)("div",{className:"hero--full--info",children:[(0,va.jsx)("div",{className:"hero--full--infoWrap",children:(0,va.jsxs)("div",{className:(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.ShowBackground)||void 0===n?void 0:n.value)==!1?"hero--title":"hero--full--logoWrapper",children:[(0,va.jsx)(vt.V,{name:"toh-media-carousel-title-image",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-media-carousel-title",rendering:e.rendering})]})}),(0,va.jsxs)("div",{className:"hero--full--nav",children:[(0,va.jsx)("div",{className:"slider-hero-page swiper-pagination"}),(0,va.jsx)("div",{className:"slider-hero-btn swiper-button-next"}),(0,va.jsx)("div",{className:"slider-hero-btn swiper-button-prev"})]})]})]})},ge=e=>{var l,i;let s=(0,vr.z)().sitecoreContext.pageEditing;return null==e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("div",{className:"slider textOver-slider module-wrapper tw-off",children:(0,va.jsxs)("div",{className:"row no-gutters",children:[(0,va.jsx)("div",{className:"col-12 col-lg-3",children:(0,va.jsx)("div",{className:"section-wraper",children:(0,va.jsxs)("div",{className:"textOver-slider--infoWrap",children:[(0,va.jsxs)("div",{className:"infoWrap-content",children:[(0,va.jsx)("h5",{children:(0,va.jsx)(vt.V,{name:"toh-carousel-title",rendering:e.rendering})}),(0,va.jsx)("div",{className:"swiper-container overlap-title-section",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:Object.values(null===(l=e.fields)||void 0===l?void 0:l.SelectedImages).map((e,l)=>{var i,n,a,d,t,o,r,c;return(0,va.jsx)("div",{className:"swiper-slide title-wrapper",children:(null===(a=e.fields)||void 0===a?void 0:null===(n=a.TitleImage)||void 0===n?void 0:null===(i=n.value)||void 0===i?void 0:i.src)?(0,va.jsx)(vg.E,{field:null===(c=e.fields)||void 0===c?void 0:c.TitleImage}):(0,va.jsx)(va.Fragment,{children:s?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null===(d=e.fields)||void 0===d?void 0:d.TitleText})}):(0,va.jsx)(va.Fragment,{children:(null===(o=e.fields)||void 0===o?void 0:null===(t=o.TitleText)||void 0===t?void 0:t.value)&&(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null===(r=e.fields)||void 0===r?void 0:r.TitleText})})})})},l)})})})]}),(0,va.jsxs)("div",{className:"btn-wraper d-none d-lg-block",children:[(0,va.jsx)("div",{className:"textOver-slider-btn swiper-button-next"}),(0,va.jsx)("div",{className:"textOver-slider-btn swiper-button-prev"})]})]})})}),(0,va.jsxs)("div",{className:"col-12 col-lg-9",children:[(0,va.jsx)("div",{className:"swiper-container textOver-slide-container",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:null===(i=e.fields)||void 0===i?void 0:i.SelectedImages.map((e,l)=>{var i,n,a,d;return(0,va.jsx)("div",{className:"swiper-slide",children:s?(0,va.jsx)(vk,{className:"textOver-slider--wrap",field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Link,children:(0,va.jsx)("div",{className:"textOver-slider--item",children:(0,va.jsx)("div",{className:"textOver-slider--imgWrap",children:(0,va.jsx)(vg.E,{field:null===(n=e.fields)||void 0===n?void 0:n.Image})})})}):(0,va.jsx)(vk,{className:"textOver-slider--wrap",field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Link,children:(0,va.jsx)("div",{className:"textOver-slider--item",children:(0,va.jsx)("div",{className:"textOver-slider--imgWrap",children:(0,va.jsx)(vg.E,{field:null===(d=e.fields)||void 0===d?void 0:d.Image})})})})},l)})})}),(0,va.jsxs)("div",{className:"btn-wraper d-block d-lg-none",children:[(0,va.jsx)("div",{className:"textOver-slider-btn swiper-button-next"}),(0,va.jsx)("div",{className:"textOver-slider-btn swiper-button-prev"})]})]})]})})};let gl=e=>{var l,i;return(0,va.jsx)("link",{rel:"canonical",href:null===(i=e.fields)||void 0===i?void 0:null===(l=i.CanonicalURL)||void 0===l?void 0:l.value})},gi=e=>{let l=[];
1if(null==e?void 0:e.AlternateUrls){let i=Object.keys(e.AlternateUrls);(null==i?void 0:i.length)&&(l=i.map((l,i)=>(0,va.jsx)("link",{rel:"alternate",href:e.AlternateUrls[l],hrefLang:l},i)))}return(0,va.jsx)(va.Fragment,{children:l})},gs=e=>{var l,i,s,n,a,d,t,o,r,c;return e.fields?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("title",{children:null===(i=e.fields)||void 0===i?void 0:null===(l=i.PageTitle)||void 0===l?void 0:l.value}),(0,va.jsx)("meta",{name:"description",content:null===(n=e.fields)||void 0===n?void 0:null===(s=n.MetaDescription)||void 0===s?void 0:s.value}),(0,va.jsx)("meta",{name:"keywords",content:null===(d=e.fields)||void 0===d?void 0:null===(a=d.MetaKeywords)||void 0===a?void 0:a.value}),(0,va.jsx)("meta",{name:"robots",content:"".concat((null===(o=e.fields)||void 0===o?void 0:null===(t=o.CanIndex)||void 0===t?void 0:t.value)?"index":"noindex",",").concat((null===(c=e.fields)||void 0===c?void 0:null===(r=c.SeoFollowLinks)||void 0===r?void 0:r.value)?"follow":"nofollow")})]}):(0,va.jsx)(va.Fragment,{})},gn=e=>{var l,i;return(0,va.jsx)(va.Fragment,{children:"".concat(null===(i=e.fields)||void 0===i?void 0:null===(l=i.SiteAnalyticsCode)||void 0===l?void 0:l.value)})},ga=e=>{var l,i;return(0,va.jsx)(va.Fragment,{children:"".concat(null===(i=e.fields)||void 0===i?void 0:null===(l=i.SiteAnalyticsCodeNoScript)||void 0===l?void 0:l.value)})},gd=e=>{var l,i,s,n,a,d,t,o,r,c;return e.fields?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("title",{children:null===(i=e.fields)||void 0===i?void 0:null===(l=i.PageTitle)||void 0===l?void 0:l.value}),(0,va.jsx)("meta",{name:"description",content:null===(n=e.fields)||void 0===n?void 0:null===(s=n.MetaDescription)||void 0===s?void 0:s.value}),(0,va.jsx)("meta",{name:"keywords",content:null===(d=e.fields)||void 0===d?void 0:null===(a=d.MetaKeywords)||void 0===a?void 0:a.value}),(0,va.jsx)("meta",{name:"robots",content:"".concat((null===(o=e.fields)||void 0===o?void 0:null===(t=o.CanIndex)||void 0===t?void 0:t.value)?"index":"noindex",",").concat((null===(c=e.fields)||void 0===c?void 0:null===(r=c.SeoFollowLinks)||void 0===r?void 0:r.value)?"follow":"nofollow")})]}):(0,va.jsx)(va.Fragment,{})},gt=e=>{var l,i;return e.fields?(0,va.jsx)("link",{rel:"canonical",href:null===(i=e.fields)||void 0===i?void 0:null===(l=i.CanonicalURL)||void 0===l?void 0:l.value}):(0,va.jsx)(va.Fragment,{})},go=e=>{var l,i,s,n,a,d,t,o,r,c;return e.fields?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("title",{children:null===(i=e.fields)||void 0===i?void 0:null===(l=i.PageTitle)||void 0===l?void 0:l.value}),(0,va.jsx)("meta",{name:"description",content:null===(n=e.fields)||void 0===n?void 0:null===(s=n.MetaDescription)||void 0===s?void 0:s.value}),(0,va.jsx)("meta",{name:"keywords",content:null===(d=e.fields)||void 0===d?void 0:null===(a=d.MetaKeywords)||void 0===a?void 0:a.value}),(0,va.jsx)("meta",{name:"robots",content:"".concat((null===(o=e.fields)||void 0===o?void 0:null===(t=o.CanIndex)||void 0===t?void 0:t.value)?"index":"noindex",",").concat((null===(c=e.fields)||void 0===c?void 0:null===(r=c.SeoFollowLinks)||void 0===r?void 0:r.value)?"follow":"nofollow")})]}):(0,va.jsx)(va.Fragment,{})},gr=e=>{var l,i,s,n,a,d,t,o,r,c;return e.fields?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("title",{children:null===(i=e.fields)||void 0===i?void 0:null===(l=i.PageTitle)||void 0===l?void 0:l.value}),(0,va.jsx)("meta",{name:"description",content:null===(n=e.fields)||void 0===n?void 0:null===(s=n.MetaDescription)||void 0===s?void 0:s.value}),(0,va.jsx)("meta",{name:"keywords",content:null===(d=e.fields)||void 0===d?void 0:null===(a=d.MetaKeywords)||void 0===a?void 0:a.value}),(0,va.jsx)("meta",{name:"robots",content:"".concat((null===(o=e.fields)||void 0===o?void 0:null===(t=o.CanIndex)||void 0===t?void 0:t.value)?"index":"noindex",",").concat((null===(c=e.fields)||void 0===c?void 0:null===(r=c.SeoFollowLinks)||void 0===r?void 0:r.value)?"follow":"nofollow")})]}):(0,va.jsx)(va.Fragment,{})},gc=e=>{var l,i;return(0,va.jsx)(va.Fragment,{children:"".concat(null===(i=e.fields)||void 0===i?void 0:null===(l=i.SiteAnalyticsCode)||void 0===l?void 0:l.value)})},gv=e=>{var l,i;return(0,va.jsx)(va.Fragment,{children:"".concat(null===(i=e.fields)||void 0===i?void 0:null===(l=i.SiteAnalyticsCodeNoScript)||void 0===l?void 0:l.value)})},gu=e=>{var l,i,s,n,a,d,t,o;let r=(null===(i=e.fields)||void 0===i?void 0:null===(l=i.ControlType)||void 0===l?void 0:l.value)=="m_"?"sub-list":(null===(n=e.fields)||void 0===n?void 0:null===(s=n.ControlType)||void 0===s?void 0:s.value)=="nav_"?"no_col":"";return(0,va.jsx)("div",{id:"sub-list"==r?"sub-list":void 0,className:"".concat("sub-list"==r?"row":""," toggle-panel booking-widget js-booking-form"),"form-url":null===(o=e.fields)||void 0===o?void 0:null===(t=o.BookingLink)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href})};var gm=i(89741);let gx=e=>{var l,i;let{t:s}=(0,vT.QT)();return(0,va.jsx)("div",{className:"form-wrapper contact-form--formtype form-selection",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsx)("div",{className:"form",children:(0,va.jsx)("div",{className:"input-field input-field-50",children:(0,va.jsxs)("div",{className:"fieldset",children:[(0,va.jsxs)("label",{htmlFor:"Brand",children:[s(gm.L.Navigation.InquiryType),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("div",{className:"select primary",children:[(0,va.jsx)("a",{href:"#",className:"dropdown-trigger",children:(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})}),(0,va.jsx)("select",{id:"enquiryType",name:"enquiryType",className:"dropdown--filter__wrap",children:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.map((e,l)=>{var i,s,n,a,d,t,o,r,c,v,u,m;return(0,va.jsx)("option",{className:"dropdown--filter__opt","data-form":null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,"data-title":null===(a=e.fields)||void 0===a?void 0:null===(n=a.Title)||void 0===n?void 0:n.value,"data-value":null===(t=e.fields)||void 0===t?void 0:null===(d=t.Title)||void 0===d?void 0:d.value,"data-id":null===(r=e.fields)||void 0===r?void 0:null===(o=r.Title)||void 0===o?void 0:o.value,value:null===(v=e.fields)||void 0===v?void 0:null===(c=v.Title)||void 0===c?void 0:c.value,children:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Title)||void 0===u?void 0:u.value},l)})})]})]})})})})})},gp=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return l},gh=e=>{var l,i;return(0,va.jsxs)("div",{className:"open-sitemap__block",children:[(0,va.jsx)("p",{className:"open-sitemap__title",children:gp("labels/our hotels","[Our Hotels]")}),null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.map((e,l)=>{var i,s;return(0,va.jsx)("p",{className:"open-sitemap__link",children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.Link,editable:!1,
1children:(0,va.jsx)(vm.x,{field:null===(s=e.fields)||void 0===s?void 0:s.LinkTitle,editable:!1})})},l)})]})},gf=e=>{var l,i,s,n;return e.fields&&(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.length)?(0,va.jsxs)("li",{className:"nopipe lang",children:[(0,va.jsx)("a",{className:"lang-switch",href:"javascript:void(0)",children:gp("link text/locations","[Locations]")}),(0,va.jsx)("div",{className:"lang-opt location-opt",children:(0,va.jsx)("ul",{children:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Items)||void 0===s?void 0:s.map((e,l)=>{var i,s;return(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.Link,editable:!1,children:(0,va.jsx)(vm.x,{field:null===(s=e.fields)||void 0===s?void 0:s.LinkTitle,editable:!1})})},l)})})}),(0,va.jsx)("div",{className:"lang-backdrop"})]}):(0,va.jsx)(va.Fragment,{})},gg=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h;if(!e.fields||!(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Link)||void 0===l?void 0:l.value))return(0,va.jsx)("a",{href:"#",className:"btn"});let f=(null!==(h=null===(a=e.fields)||void 0===a?void 0:null===(n=a.Link)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.class)&&void 0!==h?h:null===(t=e.fields)||void 0===t?void 0:null===(d=t.IsButton)||void 0===d?void 0:d.value)?"btn":"",g=null===(v=e.fields)||void 0===v?void 0:null===(c=v.GlossaryTitle)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:null===(o=r.GlossaryValue)||void 0===o?void 0:o.value;return(0,va.jsx)(vk,{field:null===(u=e.fields)||void 0===u?void 0:u.Link,editable:!1,className:f,title:g,children:null===(p=e.fields)||void 0===p?void 0:null===(x=p.GlossaryTitle)||void 0===x?void 0:null===(m=x.fields)||void 0===m?void 0:m.GlossaryValue.value})},gj=e=>{var l,i,s,n;return e.fields&&(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Link)||void 0===l?void 0:l.value)?(0,va.jsx)(vk,{field:null===(s=e.fields)||void 0===s?void 0:s.Link,editable:!1,children:(0,va.jsx)(m7,{field:null===(n=e.fields)||void 0===n?void 0:n.Image,editable:!1})}):(0,va.jsx)(va.Fragment,{})},gN=e=>{var l,i;return(0,va.jsxs)("div",{className:"footer__copyright",children:[null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.map((l,i)=>{var s,n,a,d,t;return(0,va.jsxs)(vd.Fragment,{children:[(0,va.jsx)(vk,{field:null===(s=l.fields)||void 0===s?void 0:s.Link,editable:!1,children:null===(a=l.fields)||void 0===a?void 0:null===(n=a.LinkTitle)||void 0===n?void 0:n.value}),i<(null===(t=e.fields)||void 0===t?void 0:null===(d=t.Items)||void 0===d?void 0:d.length)-1&&"|"]},i)}),(0,va.jsx)("p",{children:(0,va.jsx)(vt.V,{name:"ehk-primary-footer-copyright",rendering:e.rendering})})]})},gb=e=>{var l,i;return(0,va.jsx)("div",{className:"open-sitemap__links",children:(0,va.jsx)("ul",{className:"no-ls",children:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.map((e,l)=>{var i,s,n;return(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.Link,children:null===(n=e.fields)||void 0===n?void 0:null===(s=n.LinkTitle)||void 0===s?void 0:s.value})},l)})})})},gT=e=>{var l,i;let{locale:s}=(0,vT.QT)(),{fields:n}=e;return n&&(null==n?void 0:null===(l=n.Items)||void 0===l?void 0:l.length)?(0,va.jsx)("div",{className:"secondary",children:(0,va.jsx)("div",{className:"secondary__wrap",children:(0,va.jsx)("ul",{className:"main-navigation",children:null==n?void 0:null===(i=n.Items)||void 0===i?void 0:i.map((e,l)=>{var i,n,a,d,t,o,r,c,v,u,m,x,p,h,f;return(0,va.jsxs)("li",{children:[(0,va.jsx)("a",{href:(0,vS.at)(null===(a=e.fields)||void 0===a?void 0:null===(n=a.Link)||void 0===n?void 0:null===(i=n.value)||void 0===i?void 0:i.href,s()),className:null===(o=e.fields)||void 0===o?void 0:null===(t=o.Link)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.class,title:null===(c=e.fields)||void 0===c?void 0:null===(r=c.LinkTitle)||void 0===r?void 0:r.value,target:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Link)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.target,children:null===(p=e.fields)||void 0===p?void 0:null===(x=p.LinkTitle)||void 0===x?void 0:x.value}),(null==e?void 0:null===(h=e.fields)||void 0===h?void 0:h.SubLinks)&&(0,va.jsx)("ul",{children:null==e?void 0:null===(f=e.fields)||void 0===f?void 0:f.SubLinks.map((e,l)=>{var i,n,a,d,t,o,r,c,v,u,m,x,p,h,f;return(0,va.jsxs)("li",{children:[(0,va.jsx)("a",{href:(0,vS.at)(null===(a=e.fields)||void 0===a?void 0:null===(n=a.Link)||void 0===n?void 0:null===(i=n.value)||void 0===i?void 0:i.href,s()),className:null===(o=e.fields)||void 0===o?void 0:null===(t=o.Link)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.class,title:null===(c=e.fields)||void 0===c?void 0:null===(r=c.LinkTitle)||void 0===r?void 0:r.value,target:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Link)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.target,children:null===(p=e.fields)||void 0===p?void 0:null===(x=p.LinkTitle)||void 0===x?void 0:x.value}),(null===(h=e.fields)||void 0===h?void 0:h.SubLinks)&&(0,va.jsx)("ul",{style:{to
1p:"".concat(56*l,"px")},children:null===(f=e.fields)||void 0===f?void 0:f.SubLinks.map((e,l)=>{var i,n,a,d,t,o,r,c,v,u,m,x,p;return(0,va.jsx)("li",{children:(0,va.jsx)("a",{href:(0,vS.at)(null===(a=e.fields)||void 0===a?void 0:null===(n=a.Link)||void 0===n?void 0:null===(i=n.value)||void 0===i?void 0:i.href,s()),className:null===(o=e.fields)||void 0===o?void 0:null===(t=o.Link)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.class,title:null===(c=e.fields)||void 0===c?void 0:null===(r=c.LinkTitle)||void 0===r?void 0:r.value,target:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Link)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.target,children:null===(p=e.fields)||void 0===p?void 0:null===(x=p.LinkTitle)||void 0===x?void 0:x.value})},l)})})]},l)})})]},l)})})})}):(0,va.jsx)(va.Fragment,{})},gS=e=>{var l,i;let{fields:s}=e;return s&&(null==s?void 0:null===(l=s.Items)||void 0===l?void 0:l.length)?(0,va.jsx)(va.Fragment,{children:null==s?void 0:null===(i=s.Items)||void 0===i?void 0:i.map((e,l)=>{var i,s;return(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.Link,editable:!1,children:(0,va.jsx)(vm.x,{field:null===(s=e.fields)||void 0===s?void 0:s.LinkTitle,editable:!1})})},l)})}):(0,va.jsx)(va.Fragment,{})};var gk=i(11163);let gw={hongkong:{id:"26885",name:"EAST Hong Kong"},miami:{id:"65056",name:"EAST Miami"},beijing:{id:"54937",name:"EAST Beijing"}},gy=()=>{let e="",l="",i=(0,gk.useRouter)();return i.asPath.startsWith("/hongkong")?(e=gw.hongkong.id,l=gw.hongkong.name):i.asPath.startsWith("/miami")?(e=gw.miami.id,l=gw.miami.name):i.asPath.startsWith("/beijing")&&(e=gw.beijing.id,l=gw.beijing.name),(0,va.jsx)("div",{className:"reservation booking-widget-control",id:"reservation-widget",children:(0,va.jsx)("div",{className:"form","data-action":"#","data-eventcat":"reservation enquiry",children:(0,va.jsx)("div",{className:"reservation__widget",children:(0,va.jsxs)("div",{className:"reservation__widget__form",children:[(0,va.jsx)("div",{className:"reservation__widget__form__hidden-picker",children:(0,va.jsx)("input",{type:"text",id:"reservation__widget_hidden_input",name:"reservation__widget_hidden_input",value:"",className:"widget_hidden_input"})}),(0,va.jsx)("div",{className:"reservation__widget__form__block reservation__widget__form__block--border-left",children:(0,va.jsxs)("div",{className:"reservation__widget__form__fieldset",children:[(0,va.jsx)("label",{htmlFor:"reservation__widget_arrival",className:"reservation__widget__form__label",children:gp("labels/arrival","[arrival]")}),(0,va.jsx)("input",{type:"text",className:"reservation__widget__form__input date_picker widget_arrival",id:"reservation__widget_arrival",name:"arrive",value:"",maxLength:10})]})}),(0,va.jsx)("div",{className:"reservation__widget__form__block reservation__widget__form__block--border-left",children:(0,va.jsxs)("div",{className:"reservation__widget__form__fieldset",children:[(0,va.jsx)("label",{htmlFor:"reservation__widget_departure",className:"reservation__widget__form__label",children:gp("labels/departure","[departure]")}),(0,va.jsx)("input",{type:"text",className:"reservation__widget__form__input date_picker widget_departure",id:"reservation__widget_departure",name:"depart",value:"",maxLength:10})]})}),(0,va.jsx)("div",{className:"reservation__widget__form__block reservation__widget__form__block--border-left",children:(0,va.jsxs)("div",{className:"reservation__widget__form__fieldset",children:[(0,va.jsx)("label",{htmlFor:"reservation__widget_promo_code",className:"reservation__widget__form__label",children:gp("labels/promotion code","[promotion code]")}),(0,va.jsxs)("div",{className:"reservation__widget__form__hidden-items",children:[(0,va.jsx)("input",{type:"text",className:"reservation__widget__form__input widget_promo_code",id:"reservation__widget_promo_code",name:"promo",value:"",placeholder:gp("labels/corp promotion code","[corporate / promotion code]")}),(0,va.jsx)("input",{type:"text",className:"reservation__widget__form__input widget_group_code",id:"reservation__widget_group_code",name:"group",value:"",placeholder:gp("labels/group code","[Group Code]")})]})]})}),(0,va.jsx)("div",{className:"reservation__widget__form__block",children:(0,va.jsx)("a",{className:"reservation__widget__form__button booking-widget-control-button",href:"https://reservations.easthotels.com/?Hotel=".concat(e),target:"_blank","data-hotelname":l,children:gp("link text/book now","[Book Now]")})})]})})})})},gE={hongkong:{id:"26885",name:"EAST Hong Kong"},miami:{id:"65056",name:"EAST Miami"},beijing:{id:"54937",name:"EAST Beijing"}},gC=()=>{let e="",l="",i=(0,gk.useRouter)();return i.asPath.startsWith("/hongkong")?(e=gE.hongkong.id,l=gE.hongkong.name):i.asPath.startsWith("/miami")?(e=gE.miami.id,l=gE.miami.name):i.asPath.startsWith("/beijing")&&(e=gE.beijing.id,l=gE.beijing.name),(0,va.jsx)("div",{className:"home-hero__widget booking-widget-control",children:(0,va.jsxs)("div",{className:"home-hero__widget__form",children:[(0,va.jsx)("div",{className:"home-hero__widget__form__hidden-picker",children:(0,va.jsx)("input",{type:"text",id:"widget_hidden_input",name:"widget_hidden_input",value:"",className:"widget_hidden_input"})}),(0,va.jsx)("div",{className:"home-hero__widget__form__block",children:(0,va.jsxs)("div",{className:"home-hero__widget__form__fieldset",children:[(0,va.jsx)("label",{htmlFor:"widget_arrival",className:"home-hero__widget__form__label",children:gp("labels/arrival","[arrival]")}),(0,va.jsx)("input",{type:"text",className:"home-hero__widget__form__input date_picker widget_arrival",id:"widget_arrival",name:"arrive",value:"",maxLength:10})]})}),(0,va.jsx)("div",{className:"home-hero__widget__form__block home-hero__widget__form__block--border-left",children:(0,va.jsxs)("div",{className:"home-hero__widget__form__fieldset",children:[(0,va.jsx)("label",{htmlFor:"widget_departure",className:"home-hero__widget__form__label",children:gp("labels/departure","[departure]")}),(0,va.jsx)("input",{type:"text",className:"home-hero__widget__form__input date_picker widget_departure",id:"widget_departure",name:"depart",value:"",maxLength:10})]})}),(0,va.jsx)("div",{className:"home-hero__widget__form__block home-hero__widget__form__block--border-left",children:(0,va.jsxs)("div",{className:"home-hero__widget__form__fieldset",children:[(0,va.jsx)("label",{htmlFor:"widget_promo_code",className:"home-hero__widget__form__label",children:gp("labels/promotion code","[promotion code]")}),(0,va.jsxs)("div",{className:"home-hero__widget__form__hidden-items",children:[(0,va.jsx)("input",{type:"text",className:"home-hero__widget__form__input widget_promo_code",id:"widget_promo_code",name:"promo",value:"",placeholder:gp("labels/promotion code","[promotion code]")}),(0,va.jsx)("input",{type:"text",className:"home-hero__widget__form__input widget_group_code",id:"widget_group_code",name:"group",value:"",placeholder:gp("labels/group code","[Group Code]")})]})]})}),(0,va.jsx)("div",{className:"home-hero__widget__form__block",children:(0,va.jsx)("a",{className:"home-hero__widget__form__button booking-widget-control-button",href:"https://reservations.easthotels.com/?Hotel=".concat(e),target:"_blank","data-hotelname":l,children:gp("link text/book now","[Book Now]")})})]})})},gO={hongkong:{id:"26885",name:"EAST Hong Kong"},miami:{id:"65056",name:"EAST Miami"},beijing:{id:"54937",name:"EAST Beijing"}},gL=()=>{let e="",l="",i=(0,gk.useRouter)();return i.asPath.startsWith("/hongkong")?(e=gO.hongkong.id,l=gO.hongkong.name):i.asPath.startsWith("/miami")?(e=gO.miami.id,l=gO.miami.name):i.asPath.startsWith("/beijing")&&(e=gO.beijing.id,l=gO.beijing.name),(0,va.jsxs)("div",{id:"sub-list",className:"toggle-panel booking-widget booking-widget-control",children:[(0,va.jsx)("label",{htmlFor:"m_arrive",className:"widget-label",children:gp("labels/arrival","[arrival]")}),(0,va.jsx)("input",{type:"text",className:"widget-selected",id:"m_arrive",name:"arrive",value:"",maxLength:10,readOnly:!0}),(0,va.jsx)("label",{htmlFor:"m_depart",className:"widget-label",children:gp("labels/departure","[departure]")}),(0,va.jsx)("input",{type:"text",className:"widget-selected",id:"m_depart",name:"depart",value:"",maxLength:10,readOnly:!0}),(0,va.jsx)("p",{id:"m_booknow",children:(0,va.jsx)("a",{className:"call-to-action call-to-action--button booking-widget-control-button",href:"https://reservations.easthotels.com/?Hotel=".concat(e),target:"_blank","data-hotelname":l,children:gp("link text/book now","[Book Now]")})})]})},gI=()=>(0,va.jsxs)("html",{children:[(0,va.jsxs)("head",{children:[(0,va.jsx)("meta",{name:"viewport",content:"width=device-width"}),(0,va.jsx)("title",{children:"EhMainNav"})]}),(0,va.jsx)("body",{children:(0,va.jsx)("div",{})})]}),gF=()=>(0,va.jsx)(va.Fragment,{}),g_=e=>{var l,i,s,n,a,d,t,o,r,c;let{fields:v}=e;if(!v||!v.Link)return(0,va.jsx)("a",{href:"#",className:"btn"});let u=(null!==(r=null===(i=v.Link)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.class)&&void 0!==r?r:null===(s=v.IsButton)||void 0===s?void 0:s.value)?"btn":"",m=null!==(c=null===(d=v.LinkTitle)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:null===(n=a.Phrase)||void 0===n?void 0:n.value)&&void 0!==c?c:"";return(0,va.jsx)(vk,{field:v.Link,className:u,title:m,children:(0,va.jsx)(vm.x,{field:null===(o=v.LinkTitle)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:t.Phrase,editable:!1})})},gM=e=>{var l,i,s,n,a,d,t,o;let{model:r}=e.fields.data,{locale:c}=(0,vT.QT)();return(0,va.jsxs)("div",{id:"sticky-nav",children:[(0,va.jsxs)("a",{className:"btn-nextpg hover",href:(0,vS.at)(null==r?void 0:null===(i=r.Right)||void 0===i?void 0:null===(l=i.url)||void 0===l?void 0:l.url,c()),style:{width:"0px"},children:[(0,va.jsx)("span",{className:"sp-icon",children:(0,va.jsx)("span",{className:"sp sp-next",children:gp("link text/next page","[Next Page:]")})}),(0,va.jsx)("span",{className:"page-info",children:(0,va.jsx)(vm.x,{field:null==r?void 0:null===(n=r.Right)||void 0===n?void 0:null===(s=n.NavigationTitle)||void 0===s?void 0:s.jsonValue})})]}),(0,va.jsxs)("a",{className:"btn-prevpg hover",href:(0,vS.at)(null==r?void 0:null===(d=r.Left)||void 0===d?void 0:null===(a=d.url)||void 0===a?void 0:a.url,c()),style:{width:"0px"},children:[(0,va.jsx)("span",{className:"sp-icon",children:(0,va.jsx)("span",{className:"sp sp-prev",children:gp("link text/previous page","[Previous Page:]")})}),(0,va.jsx)("span",{className:"page-info",children:(0,va.jsx)(vm.x,{field:null==r?void 0:null===(o=r.Left)||void 0===o?void 0:null===(t=o.NavigationTitle)||void 0===t?void 0:t.jsonValue})})]})]})},gR=e=>{var l;let{fields:i}=e;return(0,va.jsx)("ul",{className:"no-ls",children:null==i?void 0:null===(l=i.Items)||void 0===l?void 0:l.map((e,l)=>{var i,s;return(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.Link,editable:!1,
1children:(0,va.jsx)(vm.x,{field:null===(s=e.fields)||void 0===s?void 0:s.LinkTitle,editable:!1})})},l)})})},gP=e=>{var l,i;let{t:s}=(0,vT.QT)(),{fields:n}=e;return n&&(null==n?void 0:null===(l=n.Items)||void 0===l?void 0:l.length)?(0,va.jsxs)("div",{children:[(0,va.jsx)("select",{children:null===(i=n.Items)||void 0===i?void 0:i.map((e,l)=>{var i;return(0,va.jsx)("option",{children:(0,va.jsx)(vm.x,{field:null===(i=e.fields)||void 0===i?void 0:i.LinkTitle,editable:!1})},l)})}),(0,va.jsx)("div",{className:"select-selected",children:s(gm.L.Navigation.Location)})]}):(0,va.jsx)(va.Fragment,{})},gA=e=>{var l,i;let{fields:s}=e;return s&&(null==s?void 0:null===(l=s.Items)||void 0===l?void 0:l.length)?(0,va.jsx)("ul",{className:"no-ls",children:null===(i=s.Items)||void 0===i?void 0:i.map((e,l)=>{var i,s;return(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.Link,editable:!0,children:(0,va.jsx)(vm.x,{field:null===(s=e.fields)||void 0===s?void 0:s.LinkTitle,editable:!1})})},l)})}):(0,va.jsx)(va.Fragment,{})},gD=()=>(0,va.jsx)(va.Fragment,{}),gB=e=>{var l,i,s,n;let a=null!==(n=null===(s=e.fields)||void 0===s?void 0:null===(i=s.Link)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href)&&void 0!==n?n:"/",d=(0,gk.useRouter)();return(0,vd.useEffect)(()=>{d.push(a)},[d,a]),(0,va.jsx)(va.Fragment,{})},gV=e=>{var l,i,s,n,a;if((null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.data)||void 0===i?void 0:null===(l=i.model.Items)||void 0===l?void 0:l.length)<3)return(0,va.jsx)(va.Fragment,{});let d=e.fields.data.model.Items.sort((e,l)=>e.Index-l.Index),t=d.at(d.length-2);return(0,va.jsx)("div",{className:"white-text carousel-bac",children:(0,va.jsx)("div",{className:"content",children:(0,va.jsx)("a",{href:(0,vS.at)(null==t?void 0:null===(n=t.url)||void 0===n?void 0:n.url,(0,vT.QT)().locale()),children:(0,va.jsx)(vm.x,{field:null==t?void 0:null===(a=t.NavigationTitle)||void 0===a?void 0:a.jsonValue,editable:!1})})})})},gW=e=>{let{nav:l}=e.fields.data,i=null==l?void 0:l.Items,{locale:s}=(0,vT.QT)();return(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("nav",{className:"col",children:(0,va.jsx)("ul",{className:"item-list h-float",children:i.map((e,l)=>{var n,a,d,t;return(0,va.jsx)("li",{children:l<i.length-1?(0,va.jsx)("a",{href:(0,vS.at)(e.url.url,s()),children:null===(a=e.NavigationTitle)||void 0===a?void 0:null===(n=a.jsonValue)||void 0===n?void 0:n.value}):null===(t=e.NavigationTitle)||void 0===t?void 0:null===(d=t.jsonValue)||void 0===d?void 0:d.value},l)})})})})},gH=e=>{var l;let{fields:i}=e;return(0,va.jsxs)("div",{children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null==i?void 0:i.Title})}),(0,va.jsx)("ul",{className:"brochures-list",children:null==i?void 0:null===(l=i.Items)||void 0===l?void 0:l.map((e,l)=>{var i,s,n,a;return(0,va.jsxs)("li",{children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null===(i=e.fields)||void 0===i?void 0:i.Title})}),(0,va.jsx)(m7,{field:null===(s=e.fields)||void 0===s?void 0:s.Image}),null===(a=e.fields)||void 0===a?void 0:null===(n=a.Links)||void 0===n?void 0:n.map((e,l)=>{var i,s,n,a,d;return(0,va.jsx)("div",{children:(0,va.jsx)(vk,{field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Link,className:"icon-download",title:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.LinkTitle)||void 0===s?void 0:s.value,target:"_blank",children:null===(d=e.fields)||void 0===d?void 0:null===(a=d.LinkTitle)||void 0===a?void 0:a.value})},l)})]},l)})})]})},gG=e=>{var l,i,s,n,a,d,t,o,r,c;if(!e.fields||!(null===(l=e.fields)||void 0===l?void 0:l.Link))return(0,va.jsx)("a",{href:"",className:"primary btn with-icon-after chevron-round right"});let v=(null===(i=e.fields.Link.value)||void 0===i?void 0:i.class)?null===(s=e.fields.Link)||void 0===s?void 0:s.value.class:e.fields.IsButton.value?"primary btn with-icon-after chevron-round right":"sw-btn btn",u=null!==(c=null===(t=e.fields)||void 0===t?void 0:null===(d=t.LinkTitle)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:null===(n=a.Phrase)||void 0===n?void 0:n.value)&&void 0!==c?c:"";return(0,va.jsx)(vk,{field:e.fields.Link,className:v,title:u,children:(0,va.jsx)(vm.x,{field:null===(r=e.fields.LinkTitle)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:o.Phrase})})},gU=e=>{var l;let i=(0,gk.useRouter)();return(0,va.jsx)(va.Fragment,{children:null===(l=e.fields)||void 0===l?void 0:l.Items.map((e,l)=>{var s,n,a,d,t;return(0,va.jsx)("div",{className:"article-filter dropdown","data-sc-class":"use-os-select @mobile@tablet@touchevents","data-sc-processed":"responsive-sc-data-el",children:(0,va.jsx)(vk,{field:null===(s=e.fields)||void 0===s?void 0:s.Link,onClick:()=>{var l,s,n,a;return i.push(null!==(a=null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(l=s.value)||void 0===l?void 0:l.href)&&void 0!==a?a:"")},className:"toggler ".concat((null===(d=e.fields)||void 0===d?void 0:null===(a=d.Link)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href)===window.location.href?"current":""),children:(0,va.jsx)(vm.x,{field:null===(t=e.fields)||void 0===t?void 0:t.LinkTitle})})},l)})})},gz=e=>{var l,i;return e.fields?(0,va.jsx)("div",{className:"sitemap bordered container",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col",children:(0,va.jsx)("div",{className:"third-col-grid",children:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.data)||void 0===l?void 0:l.Items.map((e,l)=>(0,va.jsxs)("div",{className:"third-col-item",children:[(0,va.jsx)(vm.x,{field:e.Title,tag:"h2"}),(0,va.jsx)("ul",{children:e.SubmenuItems.map((e,l)=>{var i;return(0,va.jsxs)("li",{children:[(0,va.jsx)(vk,{field:e.Link,title:null===(i=e.Title)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:e.Title})}),e.SubmenuItems&&(0,va.jsx)("ul",{children:e.SubmenuItems.map((e,l)=>{var i;return(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:e.Link,title:null===(i=e.Title)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:e.Title})})},l)})})]},l)})})]},l))})})})}):(0,va.jsx)(va.Fragment,{})},gq=e=>{var l,i,s,n,a;let d=null!==(a=null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.length)&&void 0!==a?a:0,t=e=>{var l,i;let{item:s,index:n}=e;return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(vk,{field:s.fields.Link,editable:!1,
1children:null===(i=s.fields)||void 0===i?void 0:null===(l=i.LinkTitle)||void 0===l?void 0:l.value}),n<d-1?(0,va.jsx)("span",{children:"|"}):""]})};return(0,va.jsx)(va.Fragment,{children:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Items)||void 0===s?void 0:s.map((e,l)=>(0,va.jsx)(t,{item:e,index:l},l))})},gQ=e=>{var l,i;return(0,va.jsx)("ul",{className:"root item-list","data-sc-active-key":"nav-tree",children:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsxs)("li",{children:[(0,va.jsx)("a",{href:"#",title:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Title)||void 0===i?void 0:i.value,children:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Title)||void 0===n?void 0:n.value}),(0,va.jsx)("ul",{className:"item-list",children:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Links)||void 0===d?void 0:d.map((e,l)=>{var i,s;return(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.Link,children:(0,va.jsx)(vm.x,{field:null===(s=e.fields)||void 0===s?void 0:s.LinkTitle})})},l)})})]},l)})})},gY=e=>{var l,i,s,n,a;if((null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.data)||void 0===i?void 0:null===(l=i.model.Items)||void 0===l?void 0:l.length)<3)return(0,va.jsx)(va.Fragment,{});let d=e.fields.data.model.Items.sort((e,l)=>e.Index-l.Index),t=d.at(d.length-2),o=d.at(d.length-1);return(0,va.jsx)("div",{className:"white-text panel",children:(0,va.jsxs)("div",{className:"content",children:[(0,va.jsx)("p",{className:"title",children:(0,va.jsx)(vm.x,{field:null==t?void 0:null===(n=t.NavigationTitle)||void 0===n?void 0:n.jsonValue,editable:!1})}),(0,va.jsx)("h1",{children:(0,va.jsx)(vm.x,{field:null==o?void 0:null===(a=o.NavigationTitle)||void 0===a?void 0:a.jsonValue,editable:!1})})]})})};var gK=i(62842),g$=i(95549),gZ=i(94916);let gJ=e=>{let{selectedHotelId:l}=e,{locale:i}=(0,vT.QT)(),[s,n]=(0,vd.useState)(1),[a,d]=(0,vd.useState)(0),[t,o]=(0,vd.useState)(1),[r,c]=(0,vd.useState)(new Date().toISOString().split("T")[0]),[v,u]=(0,vd.useState)((0,g$.E)(new Date,1).toISOString().split("T")[0]),[m,x]=(0,vd.useState)(""),p=vS.Jl[i()],h="".concat("https://reservations.upperhouse.com","/?adult=").concat(s,"&arrive=").concat(r,"&child=").concat(a,"&depart=").concat(v,"&rooms=").concat(t,"&locale=").concat(p),f="".concat(gZ.YL.URL,"/?adult=").concat(s,"&arrive=").concat(r,"&child=").concat(a,"&depart=").concat(v,"&rooms=").concat(t,"&locale=").concat(p);l&&(h+="&hotel=".concat(l));let g=!1,j=()=>{if(!document.getElementById("loading-state")){let e=document.createElement("div");e.id="loading-state";let l=document.createElement("div");l.id="loading",e.appendChild(l),document.body.appendChild(e),g=!0}},N=()=>{if(g){let e=document.getElementById("loading-state");e&&e.remove(),g=!1}},b=(0,vd.useCallback)(function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];let e=e=>{var i;let s=document.createElement("form");s.action=f,s.method="post";let n={level:"hotel",chain:gZ.YL.SHG_CHAIN_ID,session:e};for(let e in l&&(n.hotel="".concat(l)),n){let l=document.createElement("input");l.type="hidden",l.name=e,l.value=n[e],s.appendChild(l)}document.body.appendChild(s),s.submit(),null===(i=s.parentNode)||void 0===i||i.removeChild(s)};if(m)e(m);else{j();let l=!0;fetch(uc.MD.BOOKING_SABRE_LOGIN).then(e=>e.json()).then(i=>{(null==i?void 0:i.Token)&&(x(null==i?void 0:i.Token),e(null==i?void 0:i.Token),l=!1)}).finally(()=>{N(),l&&location.assign(h)})}},[h,m,f,l]),T=(0,vd.useCallback)(()=>{n(1),d(0),c(new Date().toISOString().split("T")[0]),u((0,g$.E)(new Date,1).toISOString().split("T")[0])},[]);return{url:h,adultNum:s,setAdultNum:n,childrenNum:a,setChildrenNum:d,selectedArrive:r,setSelectedArrive:c,selectedDepart:v,setSelectedDepart:u,roomNum:t,setRoomNum:o,resetAll:T,sabreLogin:b}};var gX=i(92484);let g0=e=>{let l=e.getTimezoneOffset();return(e=new Date(e.getTime()-6e4*l)).toISOString().split("T")[0]},g1=e=>{var l,i;let{t:s}=(0,vT.QT)(),n=(0,vd.useRef)(null),[a,d]=(0,vd.useState)(""),{url:t,adultNum:o,childrenNum:r,roomNum:c,setSelectedArrive:v,setSelectedDepart:u,setAdultNum:m,setChildrenNum:x,setRoomNum:p,sabreLogin:h}=gJ({selectedHotelId:a}),f=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),g=[];return f&&vD(e,"Items",!0)&&(f.Items=e.fields.Items.map(e=>({name:e.name,id:e.id,fields:e.fields}))),(null==f?void 0:null===(i=f.Items)||void 0===i?void 0:i.length)&&g.push(...null==f?void 0:f.Items.map((e,l)=>{var i,s,n;return(0,va.jsx)("div",{className:"dropdown--filter__opt","data-value":null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null===(n=e.fields)||void 0===n?void 0:n.Title,editable:!1})},l)})),(0,vd.useEffect)(()=>{let e=e=>{for(let i of(d(e.target.getAttribute("data-value")),["rooms","adults","children"])){let e=null==l?void 0:l.querySelector("input[name=".concat(i,"]"));e&&("adults"==i?m(Number(e.value)):"rooms"==i?p(Number(e.value)):"children"==i&&x(Number(e.value)))}},l=n.current;if(l){var i;return null===(i=l.querySelectorAll(".dropdown--filter__opt"))||void 0===i||i.forEac
1h(l=>{l.addEventListener("click",e)}),()=>{var i;null===(i=l.querySelectorAll(".dropdown--filter__opt"))||void 0===i||i.forEach(l=>{l.removeEventListener("click",e)})}}}),(0,vd.useEffect)(()=>{let e=(e,l)=>{v(g0(new Date(l)))},l=(e,l)=>{u(g0(new Date(l)))},i=n.current;if(i){let s=i.querySelector(".t-datepicker");if(s)return window.jQuery(s).on("selectedCI",e),window.jQuery(s).on("selectedCO",l),()=>{window.jQuery(s).off("selectedCI",e),window.jQuery(s).off("selectedCO",l)}}}),(0,vd.useEffect)(()=>{let e=e=>{e.preventDefault(),a&&((null==f?void 0:f.isLogged)?h():window.open(t,"_blank"))},l=n.current;if(l){var i,s;return null===(i=l.querySelectorAll(".btn--submit"))||void 0===i||i.forEach(e=>{e.replaceWith(e.cloneNode(!0))}),null===(s=l.querySelectorAll(".btn--submit"))||void 0===s||s.forEach(l=>{l.addEventListener("click",e)}),()=>{var i;null===(i=l.querySelectorAll(".btn--submit"))||void 0===i||i.forEach(l=>{l.removeEventListener("click",e)})}}},[null==f?void 0:f.isLogged,h,a,t]),(0,vd.useEffect)(()=>{let e=n.current,l=()=>{for(let l of["rooms","adults","children"]){let i=null==e?void 0:e.querySelector("input[name=".concat(l,"]"));i&&("adults"==l?m(Number(i.value)):"rooms"==l?p(Number(i.value)):"children"==l&&x(Number(i.value)))}};if(e)return e.querySelectorAll(".num-control").forEach(e=>{e.addEventListener("click",l)}),e.querySelectorAll("input.number--rooms").forEach(e=>{e.addEventListener("change",l)}),()=>{e.querySelectorAll(".num-control").forEach(e=>{e.removeEventListener("click",l)}),e.querySelectorAll("input.number--rooms").forEach(e=>{e.removeEventListener("change",l)})}}),(0,vd.useEffect)(()=>{let e=$("#dropdown-hotel").attr("data-value");e&&d(e)}),(0,va.jsxs)("section",{className:"form-widget form-widget--booking",ref:n,children:[(0,va.jsxs)("div",{className:"form-widget__header",children:[(0,va.jsx)("div",{className:"icon-arrow"}),(0,va.jsxs)("div",{className:"label",children:[(0,va.jsx)("span",{className:"icon-bed"})," ",s(gm.L.Navigation.BookNow)]})]}),(0,va.jsxs)("form",{className:"form form--booking form--black",action:"index.html",method:"post",children:[(0,va.jsx)("div",{className:"form__gp",children:(0,va.jsxs)("div",{className:"dropdown-wrapper","data-value":"",id:"dropdown-hotel",children:[(0,va.jsx)("label",{htmlFor:"dropdown--house",children:s(gm.L.Navigation.House)}),(0,va.jsx)("button",{type:"button",name:"button",className:"dropdown dropdown--filter",children:(0,va.jsx)("span",{children:s(gm.L.Navigation.SelectYourHouse)})}),(0,va.jsx)("div",{className:"dropdown--filter__wrap js-filter-opts",children:g})]})}),(0,va.jsx)("div",{className:"form__gp",children:(0,va.jsx)("div",{className:"range-datepicker t-datepicker",children:(0,va.jsxs)("div",{className:"row no-gutters",children:[(0,va.jsxs)("div",{className:"row__col col-6 pr-3",children:[(0,va.jsx)("label",{htmlFor:"check-in",children:s(gm.L.Navigation.CheckIn)}),(0,va.jsx)("div",{className:"range-select-field t-check-in"})]}),(0,va.jsxs)("div",{className:"row__col col-6 pl-3",children:[(0,va.jsx)("label",{htmlFor:"check-out",children:s(gm.L.Navigation.CheckOut)}),(0,va.jsx)("div",{className:"range-select-field t-check-out"})]})]})})}),(0,va.jsx)("div",{className:"form__gp",children:(0,va.jsxs)("div",{className:"row no-gutters",children:[(0,va.jsxs)("div",{className:"row__col col-12 col-sm-4 pr-sm-3 col--rooms",children:[(0,va.jsx)("label",{htmlFor:"rooms",children:s(gm.L.Navigation.Rooms)}),(0,va.jsx)("input",{className:"number number--rooms",type:"number",name:"rooms",defaultValue:c,min:"1"}),(0,va.jsx)("div",{className:"num-control icon-minus"}),(0,va.jsx)("div",{className:"num-control icon-plus"})]}),(0,va.jsxs)("div",{className:"row__col col-12 col-sm-4 pr-sm-3 pl-sm-3 col--adults",children:[(0,va.jsx)("label",{htmlFor:"adults",children:s(gm.L.Navigation.Adults)}),(0,va.jsx)("input",{className:"number number--rooms",type:"number",name:"adults",defaultValue:o,min:"1"}),(0,va.jsx)("div",{className:"num-control icon-minus"}),(0,va.jsx)("div",{className:"num-control icon-plus"})]}),(0,va.jsxs)("div",{className:"row__col col-12 col-sm-4 pl-sm-3 col--children",children:[(0,va.jsx)("label",{htmlFor:"children",children:s(gm.L.Navigation.Children)}),(0,va.jsx)("input",{className:"number number--rooms",type:"number",name:"children",defaultValue:r,min:"0"}),(0,va.jsx)("div",{className:"num-control icon-minus"}),(0,va.jsx)("div",{className:"num-control icon-plus r-0"})]})]})}),(0,va.jsx)("button",{className:"btn btn--mega btn--solid-black btn--submit",children:(0,va.jsx)("span",{children:s(gm.L.Navigation.SearchForRoom)})})]})]})},g2=async(e,l,i)=>{var s,n,a,d,t,o,r;let c=!1,v=await (0,gK.getServerSession)(i.req,i.res,gX.Lz),u=null==l?void 0:null===(n=l.sitecore)||void 0===n?void 0:null===(s=n.route)||void 0===s?void 0:s.itemId,m=null!==(t=null==l?void 0:null===(d=l.sitecore)||void 0===d?void 0:null===(a=d.context)||void 0===a?void 0:a.language)&&void 0!==t?t:"en",x=[];if(vD(e,"Items",!0));else if(null==u?void 0:u.length){let e=await hS.GetLookupItems("booking widget houses",u,m);(null==e?void 0:e.length)&&x.push(...e)}return v&&(null==v?void 0:null===(r=v.user)||void 0===r?void 0:null===(o=r.access_token)||void 0===o?void 0:o.length)&&(c=!0),{isLogged:c,Items:x}};class g5 extends p4{async GetSitemap(e,l){let i=[],s=await this.GetLinks(e,l);if(null==s?void 0:s.length)for(let e of s){if(e.id){let i=await this.GetLinks(e.id,l);(null==i?void 0:i.length)&&(e.fields.SubLinks=i)}i.push(e)}return i}async GetLinks(e,l){return await this.GetLinksByTemplate(e,l,ux.t9.Link)}async GetLinksByTemplate(e,l,i){return await this.GetItemChildrenItem("GetLinksByTemplate",e,l,i)}async GetBreadcrumb(e,l,i){let s=[],n=await this.GetAncestorsItem("GetBreadcrumb",e,l,ux.t9.Navigable);return(null==n?void 0:n.length)&&s.push(...n),(null==s?void 0:s.length)&&(s=s.filter(e=>{var l,i;return null===(i=e.fields)||void 0===i?void 0:null===(l=i.ShowInNavigation)||void 0===l?void 0:l.value})),s}constructor(e){super(e)}}let g3=new g5({cacheTimeout:300}),g4=e=>{var l,i,s,n,a,d,t,o,r,c;let{sitecoreContext:v}=(0,vr.z)(),u=[],m=[];v.route&&m.push(v.route);let x=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);(null==x?void 0:x.length)&&m.push(...x),u.push(...m.reverse().map(e=>{var l,i,s;return{id:e.id,name:e.name,url:e.urlInfo,NavigationTitle:{jsonValue:null!==(s=null===(l=e.fields)||void 0===l?void 0:l.SiteNavigationTitle)&&void 0!==s?s:null===(i=e.fields)||void 0===i?void 0:i.NavigationTitle}}}));let p=Math.max(0,u.length-2),h=[];for(let e=p;e<u.length;e++){let l=u[e];e<u.length-1?h.push((0,va.jsxs)(vd.Fragment,{children:[(0,va.jsx)(uv,{href:null===(i=l.url)||void 0===i?void 0:i.path,className:"breadcrumb--back align-self-center",children:(null==l?void 0:null===(a=l.NavigationTitle)||void 0===a?void 0:null===(n=a.jsonValue)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.length)?(0,va.jsx)(vm.x,{field:null==l?void 0:null===(d=l.NavigationTitle)||void 0===d?void 0:d.jsonValue}):null==l?void 0:l.name}),(0,va.jsx)("span",{})]},e)):h.push((0,va.jsx)(vd.Fragment,{children:(0,va.jsx)("h5",{className:"breadcrumb--here align-self-center !lg:text-[20px] !lg:leading-[20px] font-medium",children:(null==l?void 0:null===(r=l.NavigationTitle)||void 0===r?void 0:null===(o=r.jsonValue)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.length)?(0,va.jsx)(vm.x,{field:null==l?void 0:null===(c=l.NavigationTitle)||void 0===c?void 0:c.jsonValue}):null==l?void 0:l.name})},e))}return(0,va.jsx)("div",{className:"w-full lg:max-w-[1600px] px-[15px] lg:px-[40px] absolute top-[90px] lg:top-[110px] left-[50%] translate-x-[-50%] z-10 uppercase",children:(0,va.jsx)("div",{className:"breadcrumb breadcrumb--wrap d-none d-lg-block static",children:(0,va.jsx)("div",{className:"breadcrumb--item",children:h})})})},g6=async(e,l)=>{var i,s,n,a,d;let t=null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en";return t?await g3.GetBreadcrumb(t,o,l):[]},g8=e=>{let{link:l,title:i}=e;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vk,{field:l,children:(0,va.jsx)(vm.x,{field:i,editable:!1})})})},g7=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let m=[];return(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.length)>0?m=e.fields.Items.map((e,l)=>{var i,s;return(0,va.jsx)("li",{children:(0,va.jsx)(g8,{link:null===(i=e.fields)||void 0===i?void 0:i.Link,title:null===(s=e.fields)||void 0===s?void 0:s.LinkTitle})},l)}):(null===(t=e.fields)||void 0===t?void 0:null===(d=t.data)||void 0===d?void 0:null===(a=d.datasource)||void 0===a?void 0:null===(n=a.children)||void 0===n?void 0:null===(s=n.results)||void 0===s?void 0:s.length)&&(m=null===(u=e.fields)||void 0===u?void 0:null===(v=u.data)||void 0===v?void 0:null===(c=v.datasource)||void 0===c?void 0:null===(r=c.children)||void 0===r?void 0:null===(o=r.results)||void 0===o?void 0:o.map((e,l)=>{var i,s;return(0,va.jsx)("li",{children:(0,va.jsx)(g8,{link:null===(i=e.Link)||void 0===i?void 0:i.jsonValue,title:null===(s=e.LinkTitle)||void 0===s?void 0:s.jsonValue})},l)})),(0,va.jsx)("ul",{className:"footer__nav p-0 row",children:m})},g9=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x;let{t:p}=(0,vT.QT)();if((null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.data)||void 0===n?void 0:null===(s=n.datasource)||void 0===s?void 0:null===(i=s.children)||void 0===i?void 0:null===(l=i.results)||void 0===l?void 0:l.length)==0)return(0,va.jsx)(va.Fragment,{});let h=[];return(null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.data)||void 0===r?void 0:null===(o=r.datasource)||void 0===o?void 0:null===(t=o.children)||void 0===t?void 0:null===(d=t.results)||void 0===d?void 0:d.length)>0&&(h=null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.data)||void 0===m?void 0:null===(u=m.datasource)||void 0===u?void 0:null===(v=u.children)||void 0===v?void 0:v.results.map((e,l)=>{var i,s,n,a,d,t,o;return(0,va.jsx)("li",{children:(0,va.jsx)(uv,{href:null===(n=e.Link)||void 0===n?void 0:null===(s=n.jsonValue)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,target:null===(t=e.Link)||void 0===t?void 0:null===(d=t.jsonValue)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.target,children:(0,va.jsx)(m7,{field:null===(o=e.Image)||void 0===o?void 0:o.jsonValue,editable:!1})})},l)})),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("p",{className:"footer-partner-label",children:p(gm.L.Navigation.Partner)}),(0,va.jsx)("ul",{className:"footer__partner p-0 row",children:h})]})};var je=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b;let T=null!==(N=null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.IsButton)||void 0===l?void 0:l.value)&&void 0!==N&&N,{locale:S}=(0,vT.QT)(),k=null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Link)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.href,w=(0,vS.at)(k,S());return w=e.rendering.dataSource==ux.jH.THCBookNowHeader||e.rendering.dataSource==ux.jH.TUHBookNowHeader?(0,uc.Ay)(w):(0,uc.G8)(w),(0,va.jsx)("a",{href:w,target:null!==(b=null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.Link)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.target)&&void 0!==b?b:void 0,className:"".concat(T?"btn btn--white":null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(c=v.Link)||void 0===c?void 0:null===(r=c.value)||void 0===r?void 0:r.class),title:null==e?void 0:null===(p=e.fields)||void 0===p?void 0:null===(x=p.LinkTitle)||void 0===x?void 0:null===(m=x.fields)||void 0===m?void 0:null===(u=m.Phrase)||void 0===u?void 0:u.value,dangerouslySetInnerHTML:{__html:null==e?void 0:null===(j=e.fields)||void 0===j?void 0:null===(g=j.LinkTitle)||void 0===g?void 0:null===(f=g.fields)||void 0===f?void 0:null===(h=f.Phrase)||void 0===h?void 0:h.value}})}),jl=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;return(0,va.jsx)("div",{className:"module-button module-wrapper reveal",children:(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Link)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href)&&(0,va.jsx)(vk,{field:null===(n=e.fields)||void 0===n?void 0:n.Link,className:"".concat(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.class," btn btn--white"),title:null===(r=e.fields)||void 0===r?void 0:null===(o=r.LinkTitle)||void 0===o?void 0:o.name,children:(0,va.jsx)("span",{children:(0,va.jsx)(vx.H,{field:null===(u=e.fields)||void 0===u?void 0:null===(v=u.LinkTitle)||void 0===v?void 0:null===(c=v.fields)||void 0===c?void 0:c.Phrase,editable:!1})})})})};let ji=e=>{var l,i,s,n,a,d,t;return(0,va.jsxs)(vk,{field:null===(l=e.fields)||void 0===l?void 0:l.Link,className:"".concat((null===(s=e.fields)||void 0===s?void 0:null===(i=s.IsButton)||void 0===i?void 0:i.value)?"btn btn--white":""),title:null===(a=e.fields)||void 0===a?void 0:null===(n=a["Link Title"])||void 0===n?void 0:n.value,children:[(0,va.jsx)(m7,{field:null===(d=e.fields)||void 0===d?void 0:d.ImageItem,editable:!1}),(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:null===(t=e.fields)||void 0===t?void 0:t["Link Title"]})})]})},js=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x;let{locale:p}=(0,vT.QT)(),h=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);(null===(d=e.fields)||void 0===d?void 0:null===(a=d.data)||void 0===a?void 0:null===(n=a.menuitems)||void 0===n?void 0:null===(s=n.children)||void 0===s?void 0:null===(i=s.results)||void 0===i?void 0:i.length)?h=null===(u=e.fields.data)||void 0===u?void 0:null===(v=u.menuitems)||void 0===v?void 0:null===(c=v.children)||void 0===c?void 0:null===(r=c.results)||void 0===r?void 0:r.map(e=>
1({fields:{LinkTitle:e.LinkTitle.jsonValue,Link:e.Link.jsonValue}})):(null===(o=e.fields)||void 0===o?void 0:null===(t=o.Items)||void 0===t?void 0:t.length)&&(h=null===(x=e.fields)||void 0===x?void 0:null===(m=x.Items)||void 0===m?void 0:m.map(e=>e.fields));let f=[];return(null==h?void 0:h.length)&&(f=null==h?void 0:h.map((e,l)=>{var i,s,n,a,d,t,o;return(0,va.jsx)("li",{"data-subnav":l,children:(0,va.jsx)("a",{href:(0,vS.at)((0,uc.G8)(null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href),p()),target:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.target,children:(0,va.jsx)(vm.x,{field:null===(o=e.fields)||void 0===o?void 0:o.LinkTitle,editable:!1})})},l)})),(0,va.jsx)("div",{className:"main-nav",children:(0,va.jsx)("ul",{className:"nav-list",children:f})})},jn=async(e,l)=>{var i,s,n,a,d,t,o;if(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.data)||void 0===i?void 0:i.menuitems)return[];let r=e.dataSource?e.dataSource:null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.route)||void 0===n?void 0:n.itemId,c=null!==(o=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.language)&&void 0!==o?o:"en";return r?await g3.GetLinks(r,c):[]},ja=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;let x=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),{t:p}=(0,vT.QT)(),h=[];if(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Items)||void 0===i?void 0:i.length)h=e.fields.Items.map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsx)("li",{children:(0,va.jsx)(uv,{href:null===(s=e.fields.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,target:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Link)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.target,children:null===(t=e.fields.LinkTitle)||void 0===t?void 0:t.value})},l)});else if(null===(o=e.fields)||void 0===o?void 0:null===(t=o.data)||void 0===t?void 0:null===(d=t.datasource)||void 0===d?void 0:null===(a=d.children)||void 0===a?void 0:null===(n=a.results)||void 0===n?void 0:n.length)h=null===(m=e.fields)||void 0===m?void 0:null===(u=m.data)||void 0===u?void 0:null===(v=u.datasource)||void 0===v?void 0:null===(c=v.children)||void 0===c?void 0:null===(r=c.results)||void 0===r?void 0:r.map((e,l)=>{var i,s,n,a,d,t,o,r;return(0,va.jsx)("li",{children:(0,va.jsx)(uv,{href:null==e?void 0:null===(n=e.Link)||void 0===n?void 0:null===(s=n.jsonValue)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,target:null==e?void 0:null===(t=e.Link)||void 0===t?void 0:null===(d=t.jsonValue)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.target,children:null==e?void 0:null===(r=e.LinkTitle)||void 0===r?void 0:null===(o=r.jsonValue)||void 0===o?void 0:o.value})},l)});else{if(null==x||!x.length)return(0,va.jsx)(va.Fragment,{});h=x.map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsx)("li",{children:(0,va.jsx)(uv,{href:null===(s=e.fields.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,target:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Link)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.target,children:null===(t=e.fields.LinkTitle)||void 0===t?void 0:t.value})},l)})}return(0,va.jsxs)("div",{className:"greetings",children:[(0,va.jsx)("h3",{children:p(gm.L.Navigation.Explore)}),(0,va.jsx)("h4",{children:p(gm.L.Navigation.TheHouseCollective)}),(0,va.jsx)("ul",{className:"property-nav property-nav--desktop pl-0",children:h})]})},jd=async(e,l)=>{var i,s,n,a,d,t;if(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.data)return[];let o=e.dataSource?e.dataSource:null==l?void 0:null===(n=l.sitecore)||void 0===n?void 0:null===(s=n.route)||void 0===s?void 0:s.itemId,r=null!==(t=null==l?void 0:null===(d=l.sitecore)||void 0===d?void 0:null===(a=d.context)||void 0===a?void 0:a.language)&&void 0!==t?t:"en";return o?await g3.GetLinks(o,r):[]},jt=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;let x=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),p=[];if(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Items)||void 0===i?void 0:i.length)p=e.fields.Items.map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsx)("li",{children:(0,va.jsx)(uv,{href:null===(s=e.fields.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,target:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Link)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.target,children:null===(t=e.fields.LinkTitle)||void 0===t?void 0:t.value})},l)});else if(null===(o=e.fields)||void 0===o?void 0:null===(t=o.data)||void 0===t?void 0:null===(d=t.datasource)||void 0===d?void 0:null===(a=d.children)||void 0===a?void 0:null===(n=a.results)||void 0===n?void 0:n.length)p=null===(m=e.fields)||void 0===m?void 0:null===(u=m.data)||void 0===u?void 0:null===(v=u.datasource)||void 0===v?void 0:null===(c=v.children)||void 0===c?void 0:null===(r=c.results)||void 0===r?void 0:r.map((e,l)=>{var i,s,n,a,d,t,o,r;return(0,va.jsx)("li",{children:(0,va.jsx)(uv,{href:null==e?void 0:null===(n=e.Link)||void 0===n?void 0:null===(s=n.jsonValue)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,target:null==e?void 0:null===(t=e.Link)||void 0===t?void 0:null===(d=t.jsonValue)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.target,children:null==e?void 0:null===(r=e.LinkTitle)||void 0===r?void 0:null===(o=r.jsonValue)||void 0===o?void 0:o.value})},l)});else{if(null==x||!x.length)return(0,va.jsx)(va.Fragment,{});p=x.map((e,l)=>{var i,s,n,a,d,t,o,r;return(0,va.jsx)("li",{children:(0,va.jsx)(uv,{href:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,target:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.target,children:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.LinkTitle)||void 0===o?void 0:o.value})},l)})}return(0,va.jsx)("ul",{className:"property-nav property-nav--mobile",children:p})},jo=async(e,l)=>{var i,s,n,a,d,t;if(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.data)return[];let o=e.dataSource?e.dataSource:null==l?void 0:null===(n=l.sitecore)||void 0===n?void 0:null===(s=n.route)||void 0===s?void 0:s.itemId,r=null!==(t=null==l?void 0:null===(d=l.sitecore)||void 0===d?void 0:null===(a=d.context)||void 0===a?void 0:a.language)&&void 0!==t?t:"en";return o?await g3.GetLinks(o,r):[]},jr=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p;let h=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),f=null!==(c=null===(i=e.params)||void 0===i?void 0:i.Subnav)&&void 0!==c?c:"4",g=[];if((null===(n=e.fields)||void 0===n?void 0:null===(s=n.Items)||void 0===s?void 0:s.length)>0)g=e.fields.Items.map((e,l)=>{var i,s,n,a,d,t,o;return(0,va.jsx)("li",{children:(0,va.jsx)(uv,{href:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,target:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.target,children:null===(o=e.fields.LinkTitle)||void 0===o?void 0:o.value})},l)});else if(null===(r=e.fields)||void 0===r?void 0:null===(o=r.data)||void 0===o?void 0:null===(t=o.datasource)||void 0===t?void 0:null===(d=t.children)||void 0===d?void 0:null===(a=d.results)||void 0===a?void 0:a.length)g=null===(p=e.fields)||void 0===p?void 0:null===(x=p.data)||void 0===x?void 0:null===(m=x.datasource)||void 0===m?void 0:null===(u=m.children)||void 0===u?void 0:null===(v=u.results)||void 0===v?void 0:v.map((e,l)=>{var i,s,n,a,d,t,o,r;return(0,va.jsx)("li",{children:(0,va.jsx)(uv,{href:null===(n=e.Link)||void 0===n?void 0:null===(s=n.jsonValue)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,target:null===(t=e.Link)||void 0===t?void 0:null===(d=t.jsonValue)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.target,children:null===(r=e.LinkTitle)||void 0===r?void 0:null===(o=r.jsonValue)||void 0===o?void 0:o.value})},l)});else{if(null==h||!h.length)return(0,va.jsx)(va.Fragment,{});g=h.map((e,l)=>{var i,s,n,a,d,t,o;return(0,va.jsx)("li",{children:(0,va.jsx)(uv,{href:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,target:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.target,children:null===(o=e.fields.LinkTitle)||void 0===o?void 0:o.value})},l)})}return(0,va.jsx)("ul",{className:"nav-list","data-subnav":f,children:g})},jc=async(e,l)=>{var i,s,n,a,d,t;if(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.data)return[];let o=e.dataSource?e.dataSource:null==l?void 0:null===(n=l.sitecore)||void 0===n?void 0:null===(s=n.route)||void 0===s?void 0:s.itemId,r=null!==(t=null==l?void 0:null===(d=l.sitecore)||void 0===d?void 0:null===(a=d.context)||void 0===a?void 0:a.language)&&void 0!==t?t:"en";return o?await g3.GetLinks(o,r):[]};vL.ZP.registerPlugin(v_());let jv=e=>{var l;let i=(0,vd.useRef)(null),[s,n]=(0,vd.useState)(!0),[{y:a}]=(0,fd.b)(),{height:d}=(0,fd.iP)();a=a||0,d=d||0;let t=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);vD(e,"Items",!0)&&(t=e.fields.Items.map(e=>({fields:{...e.fields,id:e.id,name:e.name}})));let o=[];return t&&(null==t?void 0:t.length)>0&&(o=null==t?void 0:t.map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsxs)("div",{className:"anchor__nav anchor-".concat(l),"data-anchor":null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,id:"anchor-".concat(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.V
1alue)||void 0===n?void 0:n.value),children:[(0,va.jsx)("div",{className:"label",children:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Title)||void 0===d?void 0:d.value}),(0,va.jsx)("div",{className:"shape"})]},l)})),(0,vd.useEffect)(()=>{n(!document.querySelector(".page--home"))},[]),(0,vI.V)(()=>{if(document.querySelector(".page--home")&&i.current){let e=window.innerWidth,l=window.innerHeight,s=[],n=i.current,a=()=>{n.querySelectorAll(".anchor__nav").forEach((i,n)=>{let a;let d=".home-".concat(n),t=i.getAttribute("id");a="anchor-home-experiences"===t?v_().create({invalidateOnRefresh:!0,id:t,trigger:d,start:"top center",end:()=>{var i;let s=(null!==(i=$(d).find(".exp-horizontal-wrapper").outerWidth())&&void 0!==i?i:0)-e+l;return"+=".concat(s)},toggleClass:{targets:".anchor-".concat(n),className:"active"}}):v_().create({invalidateOnRefresh:!0,id:t||void 0,trigger:d,start:"top center",refreshPriority:-99,end:()=>"+=".concat($(d).outerHeight()),toggleClass:{targets:".anchor-".concat(n),className:"active"}}),s.push(a)})},d=()=>{e=window.innerWidth,l=window.innerHeight,e>=768&&0==s.length&&a()};return window.addEventListener("resize",d),d(),e>=768&&a(),()=>{window.removeEventListener("resize",d)}}}),(0,va.jsx)("div",{className:(0,vM.Z)("anchor",!s&&a>d/2&&"reveal"),ref:i,children:o})},ju=async(e,l)=>{var i,s,n,a,d,t;if(vD(e,"Items",!0))return[];let o=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,r=null!==(t=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==t?t:"en";return o&&await (0,up.D)(o,(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.tid)||ux.t9.Lookup,r,5,!0)},jm=e=>{var l,i,s,n,a;let d=[];(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.data)||void 0===s?void 0:null===(i=s.context)||void 0===i?void 0:null===(l=i.ancestors)||void 0===l?void 0:l.length)>0&&(d=d.concat(e.fields.data.context.ancestors.reverse())),d.push(e.fields.data.context);let t=Math.max(0,d.length-2),o=[];for(let e=t;e++;d.length){let l=d[e];e==d.length-1?o.push((0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("a",{href:(0,vS.at)(null===(a=l.url)||void 0===a?void 0:a.url,(0,vT.QT)().locale()),children:(0,va.jsx)(vm.x,{field:l.NavigationTitle.jsonValue})}),(0,va.jsx)("span",{className:"slash",children:" / "})]})):o.push((0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{className:"current",children:(0,va.jsx)(vm.x,{field:l.NavigationTitle.jsonValue})})}))}return(0,va.jsx)("div",{className:"breadcrumb",children:o})},jx=e=>{var l,i,s;return(0,va.jsx)("div",{className:"box item bg-dark-grey",children:(0,va.jsxs)("div",{className:"text",children:[(0,va.jsxs)("h2",{children:[(0,va.jsx)(vm.x,{field:null===(l=e.fields)||void 0===l?void 0:l.LinkTitle})," "]}),(0,va.jsx)(vx.H,{field:null===(i=e.fields)||void 0===i?void 0:i.Summary}),(0,va.jsx)("p",{className:"link",children:(0,va.jsx)(vk,{field:null===(s=e.fields)||void 0===s?void 0:s.Link,className:"sp sp-view_link_icon"})})]})})},jp=e=>{var l;let i=(0,vr.z)().sitecoreContext.pageEditing,s=[];if((null===(l=e.fields)||void 0===l?void 0:l.Items.length)>0)s=e.fields.Items.map((e,l)=>{var i,s;return(0,va.jsx)("li",{className:"pipe",children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.Link,children:(0,va.jsx)(vm.x,{field:null===(s=e.fields)||void 0===s?void 0:s.LinkTitle})})},l)});else if(i)return(0,va.jsx)("li",{className:"pipe",children:(0,va.jsx)("a",{href:"javascript:;",children:"Empty global menu"})});else return(0,va.jsx)(va.Fragment,{});return(0,va.jsx)(va.Fragment,{children:s})},jh=e=>{var l,i,s,n,a;let{t:d}=(0,vT.QT)(),t="#",o=(0,va.jsx)(va.Fragment,{});if(null===(n=e.fields)||void 0===n?void 0:null===(s=n.data)||void 0===s?void 0:null===(i=s.context)||void 0===i?void 0:null===(l=i.ancestors)||void 0===l?void 0:l.length){let l=e.fields.data.context.ancestors.length-1;l=l<=0?0:l;let i=e.fields.data.context.ancestors.at(l);i&&(t=null===(a=i.url)||void 0===a?void 0:a.url,o=(0,va.jsx)(vm.x,{field:i.NavigationTitle.jsonValue}))}return(0,va.jsxs)("a",{href:(0,vS.at)(t,(0,vT.QT)().locale()),children:[(0,va.jsx)("span",{className:"sp sp-back_link_icon"}),d(gm.L.Navigation.GoBack)," ",o]})},jf=e=>{var l,i;let s=[];return(null===(i=e.fields)||void 0===i?void 0:null===(l=i.LatestOffers)||void 0===l?void 0:l.length)&&(s=e.fields.LatestOffers.map((e,l)=>(0,va.jsx)("div",{className:"col",children:(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)(vx.H,{field:e.fields.Summary}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:e.fields.Link,children:[(0,va.jsx)(vm.x,{field:e.fields.LinkTitle}
1),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})},l))),(0,va.jsx)(va.Fragment,{children:s})},jg=e=>{var l,i,s,n,a,d,t,o,r,c;if(!(null===(d=e.fields)||void 0===d?void 0:null===(a=d.data)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:null===(s=n.parent)||void 0===s?void 0:null===(i=s.children)||void 0===i?void 0:null===(l=i.results)||void 0===l?void 0:l.length))return(0,va.jsx)(va.Fragment,{});let v=e.fields.data.context.parent.children.results,u=v.findIndex(l=>{var i,s,n;return l.id==(null===(n=e.fields)||void 0===n?void 0:null===(s=n.data)||void 0===s?void 0:null===(i=s.context)||void 0===i?void 0:i.id)}),m=u==v.length-1?v.at(0):v.at(u+1),x=0==u?v.at(v.length-1):v.at(u-1);return(0,va.jsx)("div",{className:"content",children:(0,va.jsxs)("ul",{className:"section-nav",children:[(0,va.jsx)("li",{children:(0,va.jsxs)("a",{href:(0,vS.at)(null==x?void 0:null===(t=x.url)||void 0===t?void 0:t.url,(0,vT.QT)().locale()),className:"prev-page ro",children:[(0,va.jsx)("span",{className:"sp sp-room_prev_off"}),(0,va.jsx)(vm.x,{field:null==x?void 0:null===(o=x.NavigationTitle)||void 0===o?void 0:o.jsonValue})]})}),(0,va.jsx)("li",{children:(0,va.jsxs)("a",{href:(0,vS.at)(null==m?void 0:null===(r=m.url)||void 0===r?void 0:r.url,(0,vT.QT)().locale()),className:"next-page ro",children:[(0,va.jsx)(vm.x,{field:null==m?void 0:null===(c=m.NavigationTitle)||void 0===c?void 0:c.jsonValue}),(0,va.jsx)("span",{className:"sp sp-room_next_off"})]})})]})})},jj=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g;if(!(null===(d=e.fields)||void 0===d?void 0:null===(a=d.data)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:null===(s=n.parent)||void 0===s?void 0:null===(i=s.children)||void 0===i?void 0:null===(l=i.results)||void 0===l?void 0:l.length))return(0,va.jsx)(va.Fragment,{});let j=e.fields.data.context.parent.children.results,N=j.findIndex(l=>{var i,s,n;return l.id==(null===(n=e.fields)||void 0===n?void 0:null===(s=n.data)||void 0===s?void 0:null===(i=s.context)||void 0===i?void 0:i.id)}),b=N==j.length-1?j.at(0):j.at(N+1),T=0==N?j.at(j.length-1):j.at(N-1);return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("a",{href:(0,vS.at)(null==T?void 0:null===(t=T.url)||void 0===t?void 0:t.url,(0,vT.QT)().locale()),className:"prev-page ro",title:null==T?void 0:null===(r=T.NavigationTitle)||void 0===r?void 0:null===(o=r.jsonValue)||void 0===o?void 0:o.value,children:[(0,va.jsx)("span",{className:"sp sp-room_prev_off"}),(0,va.jsx)(vm.x,{field:null==T?void 0:null===(c=T.NavigationTitle)||void 0===c?void 0:c.jsonValue})]}),(0,va.jsx)("h1",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.data)||void 0===m?void 0:null===(u=m.context)||void 0===u?void 0:null===(v=u.NavigationTitle)||void 0===v?void 0:v.jsonValue})}),(0,va.jsxs)("a",{href:(0,vS.at)(null==b?void 0:null===(p=b.url)||void 0===p?void 0:p.url,(0,vT.QT)().locale()),className:"next-page ro",title:null==b?void 0:null===(f=b.NavigationTitle)||void 0===f?void 0:null===(h=f.jsonValue)||void 0===h?void 0:h.value,children:[(0,va.jsx)(vm.x,{field:null==b?void 0:null===(g=b.NavigationTitle)||void 0===g?void 0:g.jsonValue}),(0,va.jsx)("span",{className:"sp sp-room_next_off"})]})]})},jN=e=>{var l,i;let s=[];return(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.length)&&(s=e.fields.Items.map((e,l)=>{var i,s,n,a;return(0,va.jsx)("li",{className:null===(s=e.fields)||void 0===s?void 0:null===(i=s.LinkCssClass)||void 0===i?void 0:i.value,children:(0,va.jsx)(vk,{field:null===(n=e.fields)||void 0===n?void 0:n.Link,children:(0,va.jsx)(vm.x,{field:null===(a=e.fields)||void 0===a?void 0:a.LinkTitle})})},l)})),(0,va.jsx)("ul",{children:s})},jb=e=>{var l,i;let s=[],n=[],a=e=>{var l,i;let{link:s}=e;return(0,va.jsx)("li",{className:null===(i=s.fields)||void 0===i?void 0:null===(l=i.LinkCssClass)||void 0===l?void 0:l.value})};return(null===(i=e.fields)||void 0===i?void 0:null===(l=i.MobileLinks)||void 0===l?void 0:l.length)&&(s=e.fields.MobileLinks.map((e,l)=>{var i,s,n;let d=null!==(n=null===(s=e.fields)||void 0===s?void 0:null===(i=s.ShowInBottom)||void 0===i?void 0:i.value)&&void 0!==n&&n;return(0,va.jsx)(va.Fragment,{children:d?"":(0,va.jsx)(a,{link:e},l)})}),n=e.fields.MobileLinks.map((e,l)=>{var i,s,n;let d=null!==(n=null===(s=e.fields)||void 0===s?void 0:null===(i=s.ShowInBottom)||void 0===i?void 0:i.value)&&void 0!==n&&n;return(0,va.jsx)(va.Fragment,{children:d?(0,va.jsx)(a,{link:e},l):""})})),(0,va.jsxs)(va.Fragment,{children:[s,[],n]})},jT=e=>{var l,i;return(0,va.jsx)("li",{className:"nopipe reservation",children:(0,va.jsx)(vk,{field:null===(l=e.fields)||void 0===l?void 0:l.Link,children:(0,va.jsx)(vm.x,{field:null===(i=e.fields)||void 0===i?void 0:i.LinkTitle})})})},jS=e=>{var l,i;return(0,va.jsx)("li",{className:"nopipe reservation",children:(0,va.jsx)(vk,{field:null===(l=e.fields)||void 0===l?void 0:l.Link,children:(0,va.jsx)(vm.x,{field:null===(i=e.fields)||void 0===i?void 0:i.LinkTitle})})})};var jk=i(32686),jw=i.n(jk);let jy=e=>{let l=[0,1,2,3,4,5,6,7,8,9,10,11].map(e=>e.toString()),i=[0,1,2,3,4,5,6].map(e=>e.toString());return(0,vd.useEffect)(()=>{window.monthNamesShort=l,window.dayNamesMin=i},[l,i]),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(jw(),{id:"1cdec1661ae72fcd",children:".union.jsx-1cdec1661ae72fcd{margin-top:10px;text-align:center}.union.jsx-1cdec1661ae72fcd span.jsx-1cdec1661ae72fcd{position:relative;text-transform:none;font-weight:bold;top:-6px;padding-left:6px}.union.jsx-1cdec1661ae72fcd img.jsx-1cdec1661ae72fcd{width:37px}"}),(0,vj.getFieldValue)(e.fields,"Widget")]})},jE=e=>{var l,i,s;return(0,va.jsxs)("div",{className:"text left-link",children:[(0,va.jsx)(vx.H,{field:null===(l=e.fields)||void 0===l?void 0:l.Summary}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.Link,children:[(0,va.jsx)(vm.x,{field:null===(s=e.fields)||void 0===s?void 0:s.LinkTitle}
1),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})},jC=e=>{var l,i;let s=[];return(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.length)&&(s=e.fields.Items.map((e,l)=>{var i,s,n,a;let d=[];return(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Links)||void 0===i?void 0:i.length)&&(d=e.fields.Links.map((e,l)=>{var i,s;return(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.Link,children:(0,va.jsx)(vm.x,{field:null===(s=e.fields)||void 0===s?void 0:s.LinkTitle})})},l)})),(0,va.jsx)("ul",{className:null===(a=e.fields)||void 0===a?void 0:null===(n=a.LinkCssClass)||void 0===n?void 0:n.value,children:d},l)})),(0,va.jsx)("nav",{id:"sitemap",className:"sitemap",children:(0,va.jsx)("ul",{children:(0,va.jsx)("li",{className:"col",children:s})})})},jO=()=>{let{t:e}=(0,vT.QT)();return(0,va.jsx)("div",{className:"sitemap-link",children:(0,va.jsxs)("a",{href:"#sitemap",className:"toggle",children:[e(gm.L.Navigation.SiteMap),(0,va.jsx)("span",{className:"sp sp-sitemap_arrow_down"})]})})},jL=e=>(0,va.jsx)(va.Fragment,{children:(0,vj.getFieldValue)(e.fields,"Widget")}),jI=e=>{var l,i,s,n;let a=(0,va.jsx)(va.Fragment,{});if(null===(n=e.fields)||void 0===n?void 0:null===(s=n.data)||void 0===s?void 0:null===(i=s.context)||void 0===i?void 0:null===(l=i.ancestors)||void 0===l?void 0:l.length){let l=e.fields.data.context.ancestors.length-1;l=l<=0?0:l;let i=e.fields.data.context.ancestors.at(l);i&&(a=(0,va.jsx)(vm.x,{field:i.NavigationTitle.jsonValue}))}return(0,va.jsx)(va.Fragment,{children:a})},jF=e=>{var l,i;return(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:null===(l=e.fields)||void 0===l?void 0:l.Link,className:"ro",children:[(0,va.jsx)(vm.x,{field:null===(i=e.fields)||void 0===i?void 0:i.LinkTitle}),(0,va.jsx)("span",{className:"sp sp-view_list_off"})]})})},j_=e=>{let l=e.getTimezoneOffset();return(e=new Date(e.getTime()-6e4*l)).toISOString().split("T")[0]},jM=e=>{var l,i,s,n,a;let d;let t=(0,vd.useRef)(null),{t:o}=(0,vT.QT)(),{sitecoreContext:r}=(0,vr.z)(),c=(0,xJ.C1)(r),v=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);v&&vD(e,"Items",!0)&&(v.Items=e.fields.Items.map(e=>({name:e.name,id:e.id,fields:e.fields}))),(null==v?void 0:null===(i=v.Items)||void 0===i?void 0:i.length)&&(d=null===(a=v.Items.find(e=>{var l;return(null===(l=e.name)||void 0===l?void 0:l.toLocaleLowerCase())==c.split("/")[1].toLocaleLowerCase()}))||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.Value)||void 0===s?void 0:s.value);let{url:u,setSelectedArrive:m,setSelectedDepart:x,sabreLogin:p}=gJ({selectedHotelId:d});return(0,vd.useEffect)(()=>{let e=(e,l)=>{m(j_(new Date(l)))},l=(e,l)=>{x(j_(new Date(l)))},i=t.current;if(i){let s=i.querySelector(".t-datepicker");if(s)return window.jQuery(s).on("selectedCI",e),window.jQuery(s).on("selectedCO",l),()=>{window.jQuery(s).off("selectedCI",e),window.jQuery(s).off("selectedCO",l)}}}),(0,vd.useEffect)(()=>{let e=e=>{e.preventDefault(),e.stopImmediatePropagation(),(null==v?void 0:v.isLogged)?p():window.open(u,"_blank")},l=t.current;if(l){var i,s;return null===(i=l.querySelectorAll(".btn--submit"))||void 0===i||i.forEach(e=>{e.replaceWith(e.cloneNode(!0))}),null===(s=l.querySelectorAll(".btn--submit"))||void 0===s||s.forEach(l=>{l.addEventListener("click",e)}),()=>{var i;null===(i=l.querySelectorAll(".btn--submit"))||void 0===i||i.forEach(l=>{l.removeEventListener("click",e)})}}},[null==v?void 0:v.isLogged,p,u]),(0,va.jsxs)("div",{className:"booking-panel","data-value":d,ref:t,children:[(0,va.jsx)("h5",{children:o(gm.L.Navigation.WelcomeTo)}),(0,va.jsx)("h4",{children:o(c)}),(0,va.jsxs)("form",{className:"form form--booking form--booking-sm",action:"",method:"post",children:[(0,va.jsx)("div",{className:"form__gp",children:(0,va.jsx)("div",{className:"range-datepicker t-datepicker",children:(0,va.jsxs)("div",{className:"row no-gutters",children:[(0,va.jsxs)("div",{className:"row__col col-6 pr-3",children:[(0,va.jsx)("label",{htmlFor:"check-in",children:o(gm.L.Navigation.CheckIn)}),(0,va.jsx)("div",{className:"range-select-field t-check-in"})]}
1),(0,va.jsxs)("div",{className:"row__col col-6 pl-3",children:[(0,va.jsx)("label",{htmlFor:"check-out",children:o(gm.L.Navigation.CheckOut)}),(0,va.jsx)("div",{className:"range-select-field t-check-out"})]})]})})}),(0,va.jsx)("button",{className:"btn btn--white btn--submit",children:(0,va.jsx)("span",{children:o(gm.L.Navigation.SearchForRoom)})}),(0,va.jsx)("a",{className:"btn btn--white prelogin-btn btn-login",target:"_blank",href:void 0,children:(0,va.jsx)("span",{children:o(gm.L.Navigation.LoginSignUp)})}),(0,va.jsx)("a",{className:"btn btn--white postlogin-btn",href:"/login/user-profile",children:(0,va.jsx)("span",{children:o(gm.L.Navigation.ViewProfile)})}),(0,va.jsx)("a",{className:"btn btn--white postlogin-btn logout",href:void 0,children:(0,va.jsx)("span",{children:o(gm.L.Navigation.Logout)})})]})]})},jR=async(e,l,i)=>{var s,n,a,d,t,o,r;let c=!1,v=await (0,gK.getServerSession)(i.req,i.res,gX.Lz),u=null==l?void 0:null===(n=l.sitecore)||void 0===n?void 0:null===(s=n.route)||void 0===s?void 0:s.itemId,m=null!==(t=null==l?void 0:null===(d=l.sitecore)||void 0===d?void 0:null===(a=d.context)||void 0===a?void 0:a.language)&&void 0!==t?t:"en",x=[];if(vD(e,"Items",!0));else if(null==u?void 0:u.length){let e=await hS.GetLookupItems("booking widget houses",u,m);(null==e?void 0:e.length)&&x.push(...e)}return v&&(null==v?void 0:null===(r=v.user)||void 0===r?void 0:null===(o=r.access_token)||void 0===o?void 0:o.length)&&(c=!0),{isLogged:c,Items:x}},jP=e=>{var l;let i=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),{t:s}=(0,vT.QT)(),n=[];return null!=i&&i.length?(n=i.map((e,l)=>{var i,s,n,a,d,t,o;return(0,va.jsx)("li",{children:(0,va.jsx)(uv,{href:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,target:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.target,children:(0,va.jsx)(vm.x,{field:null===(o=e.fields)||void 0===o?void 0:o.LinkTitle})})},l)}),(0,va.jsxs)("ul",{className:"footer__nav p-0 property row",children:[n,(0,va.jsx)("li",{className:"sitemap-btn",children:(0,va.jsxs)("a",{children:[s(gm.L.Navigation.SiteMap),(0,va.jsx)("div",{className:"icon icon-opt-angle"})]})})]})):(0,va.jsx)(va.Fragment,{})},jA=async(e,l)=>{var i,s,n,a,d,t;let o=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,r=null!==(t=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==t?t:"en";return o?await (0,up.D)(o,(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.tid)||ux.t9.LinkMenuItem,r,10,!0):[]},jD=e=>{var l;let i=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);if(!(null==i?void 0:i.length))return(0,va.jsx)(va.Fragment,{});let s=[];return null!=i&&i.length?(s=i.map((e,l)=>{var i,s,n,a,d,t;let o=[];return(null===(s=e.fields)||void 0===s?void 0:null===(i=s.SubLinks)||void 0===i?void 0:i.length)&&(o=e.fields.SubLinks.map((e,l)=>{var i,s;return(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.Link,editable:!1,children:(0,va.jsx)(vm.x,{field:null===(s=e.fields)||void 0===s?void 0:s.LinkTitle,editable:!1})})},l)})),(0,va.jsxs)("div",{className:"col-6 col-sm-4 col-md-3",children:[(0,va.jsx)("h6",{children:(0,va.jsx)(vk,{field:null===(n=e.fields)||void 0===n?void 0:n.Link,editable:!1,title:null===(d=e.fields)||void 0===d?void 0:null===(a=d.LinkTitle)||void 0===a?void 0:a.value,children:(0,va.jsx)(vm.x,{field:null===(t=e.fields)||void 0===t?void 0:t.LinkTitle})})}),o.length>0?(0,va.jsx)("ul",{className:"sitemap-nav pl-0",children:o}):""]},l)}),(0,va.jsx)("div",{className:"footer__sitemap",children:(0,va.jsx)("div",{className:"row",children:s})})):(0,va.jsx)(va.Fragment,{})},jB=async(e,l)=>{var i,s,n,a,d;let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en";return t?await g3.GetSitemap(t,o):[]},jV=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"Items",!0))return[];let r=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,c=(null==e?void 0:null===(n=e.params)||void 0===n?void 0:n.DetailTemplate)?null==e?void 0:null===(a=e.params)||void 0===a?void 0:a.DetailTemplate:ux.t9.Lookup,v=null!==(o=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.language)&&void 0!==o?o:"en";return r?await (0,up.D)(r,c,v,100,!1):[]};var jW=e=>{var l;let{t:i}=(0,vT.QT)(),s=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);vD(e,"Items",!0)&&(s=e.fields.Items);let n=[];return s&&(null==s?void 0:s.length)>0&&(n=s.map((e,l)=>{var i,s,n,a;let d=null===(s=e.fields)||void 0===s?void 0:null===(i=s.Title)||void 0===i?void 0:i.value,t=null===(a=e.fields)||void 0===a?void 0:null===(n=a.V
1alue)||void 0===n?void 0:n.value;return(0,va.jsx)("div",{className:"dropdown--filter__opt","data-form":t,"data-title":d,"data-value":t,"data-id":t,children:d},l)})),(0,va.jsx)("div",{className:"contact-form--formtype",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-inquiry-type","data-value":"","data-id":"",children:[(0,va.jsxs)("label",{htmlFor:"dropdown--house",children:[i(gm.L.Navigation.InquiryType),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("button",{type:"button",name:"button",className:"dropdown dropdown--filter",children:(0,va.jsx)("span",{children:"\xa0"})}),(0,va.jsx)("div",{className:"dropdown--filter__wrap js-filter-opts",children:n})]})})})};let jH=e=>{var l,i;let s=[];return null!==(i=e.fields)&&void 0!==i&&null!==(l=i.Items)&&void 0!==l&&l.length?(s=e.fields.Items.map((e,l)=>{var i,s;return(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.Link,children:(0,va.jsx)(vm.x,{field:null===(s=e.fields)||void 0===s?void 0:s.LinkTitle})})},l)}),(0,va.jsx)("div",{className:"bottom-nav",children:(0,va.jsx)("ul",{className:"property-list pl-0",children:s})})):(0,va.jsx)(va.Fragment,{})},jG=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h;let{locale:f}=(0,vT.QT)();if(!(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Link))return(0,va.jsx)(va.Fragment,{});let g=null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,j=(0,vS.at)(g,f());return j=e.rendering.dataSource==ux.jH.THCBookNowHeader||e.rendering.dataSource==ux.jH.TUHBookNowHeader?(0,uc.Ay)(j):(0,uc.G8)(j),(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:j,className:"".concat((null===(d=e.fields)||void 0===d?void 0:null===(a=d.IsButton)||void 0===a?void 0:a.value)?"btn btn-white":""," ").concat(null!==(h=null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Link)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.class)&&void 0!==h?h:""),title:null===(v=e.fields)||void 0===v?void 0:null===(c=v.LinkTitle)||void 0===c?void 0:c.name,dangerouslySetInnerHTML:{__html:null===(p=e.fields)||void 0===p?void 0:null===(x=p.LinkTitle)||void 0===x?void 0:null===(m=x.fields)||void 0===m?void 0:null===(u=m.Phrase)||void 0===u?void 0:u.value}})})},jU=e=>{var l;let i=[],s=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(null==s?void 0:s.length)&&(i=s.map((e,l)=>{var i,s,n,a,d;let t=(0,uc.G8)(null==e?void 0:null===(s=e.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href);return(0,va.jsx)("li",{"data-subnav":l,children:(0,va.jsx)(uv,{href:t,target:null==e?void 0:null===(a=e.Link)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.target,children:null===(d=e.LinkTitle)||void 0===d?void 0:d.value})},l)})),(0,va.jsx)("div",{className:"main-nav",children:(0,va.jsx)("ul",{className:"nav-list",children:i})})},jz=async(e,l)=>{var i,s,n,a,d;let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en";return t?await (0,up.q)(t,ux.t9.Link,o):[]},jq=()=>{let{t:e}=(0,vT.QT)(),{sitecoreContext:l}=(0,vr.z)(),i=(0,xJ.C1)(l);return(0,va.jsxs)("div",{className:"greetings",children:[(0,va.jsx)("h3",{children:e(gm.L.Navigation.WelcomeTo)}),(0,va.jsx)("h4",{children:e(i)})]})},jQ=e=>{var l;let i=[],s=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return null!=s&&s.length?(i=s.map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsx)("li",{children:(0,va.jsx)(uv,{href:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,target:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.target,children:(0,va.jsx)(vm.x,{field:e.fields.LinkTitle,editable:!1})})},l)}),(0,va.jsx)("ul",{className:"property-nav property-nav--mobile",children:i})):(0,va.jsx)(va.Fragment,{})},jY=async(e,l)=>{var i,s,n,a,d;let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en";return t?await (0,uc.Nc)(t,o):[]},jK=e=>{var l;let i=[],s=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return null!=s&&s.length?(i=null==s?void 0:s.map((e,l)=>{var i,s;let n=[];return(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Links)||void 0===i?void 0:i.length)&&(n=e.fields.Links.map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsx)("li",{children:(0,va.jsx)(uv,{href:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,target:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.target,children:(0,va.jsx)(vm.x,{field:e.fields.LinkTitle,editable:!1})})},l)})),(0,va.jsx)(vd.Fragment,{children:n.length>0?(0,va.jsx)("ul",{className:"nav-list","data-subnav":l,children:n}):""},l)}),(0,va.jsx)(va.Fragment,{children:i})):(0,va.jsx)(va.Fragment,{})},j$=async(e,l)=>{var i,s,n,a,d;let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en";return t?await (0,uc.R4)(t,o):[]},jZ=e=>(0,va.jsxs)("div",{children:["CommonJobApplicationForm",e.fields.Title.value]}),jJ=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"keydata col",children:[(0,va.jsx)("p",{id:"job_property",children:(0,va.jsx)(vm.x,{field:e.fields.PropertyItem.fields.Property.fields.Text})}),(0,va.jsx)("p",{id:"job_title",children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.EmploymentType.fields.Text})}
1),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.RefNo})}),(0,va.jsx)("p",{children:e.fields.JobPostedDate.getValue()})]})});var jX=(0,vp.C)()(jJ);let j0=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"grid",children:(0,va.jsx)("div",{className:"grid__container clearfix",children:(0,va.jsxs)("div",{className:"grid__desc grid__desc--full",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsx)("div",{children:(0,va.jsx)(vx.H,{field:e.fields.Body})})]})})})});var j1=(0,vp.C)()(j0);let j2=e=>{let{t:l,locale:i}=(0,vT.QT)();return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("h3",{children:l(mT.W.JOBDETAIL.APPLYNOWDESCRIPTION)}),(0,va.jsx)("p",{children:(0,va.jsx)("a",{className:"primary btn with-icon-after chevron-round right",href:(0,vS.at)(e.fields.ApplyUrl.value.href,i()),target:"_blank",children:l(mT.W.JOBDETAIL.APPLYNOW)})})]})};var j5=(0,vp.C)()(j2);let j3=e=>{let{t:l}=(0,vT.QT)();return(0,va.jsxs)(va.Fragment,{children:[e.fields.Description?(0,va.jsx)(vx.H,{field:e.fields.Description}):"",l(mT.W.COMMONJOBDESCRIPTION.SWIREHOTELSJOBREQUIREDSKILLS)]})};var j4=(0,vp.C)()(j3);let j6=e=>{let{t:l}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("dl",{children:[(0,va.jsx)("dt",{children:l(mT.W.JOBDETAIL.PROPERTY)}),(0,va.jsx)("dd",{children:(0,va.jsx)(vm.x,{field:e.fields.PropertyItem.fields.Property.fields.Text})}),(0,va.jsx)("dt",{children:l(mT.W.JOBDETAIL.DEPARTMENT)}),(0,va.jsx)("dd",{children:(0,va.jsx)(vm.x,{field:e.fields.Department.fields.Text})}),(0,va.jsxs)("dt",{children:[" ",l(mT.W.JOBDETAIL.EMPLOYMENTTYPE)]}),(0,va.jsx)("dd",{children:(0,va.jsx)(vm.x,{field:e.fields.EmploymentType.fields.Text})}),(0,va.jsx)("dt",{children:l(mT.W.JOBDETAIL.REFNO)}),(0,va.jsx)("dd",{children:(0,va.jsx)(vm.x,{field:e.fields.RefN
1o})}),(0,va.jsx)("dt",{children:l(mT.W.JOBDETAIL.JOBPOSTEDDATE)}),(0,va.jsx)("dd",{children:e.fields.JobPostedDate.getValue()})]})})};var j8=(0,vp.C)()(j6),j7=(0,vp.C)()(e=>{let{t:l}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"article-result bordered col3 container",children:[(0,va.jsx)("div",{className:"action-bar row csspositionsticky",children:(0,va.jsxs)("div",{className:"col",children:[(0,va.jsx)("div",{className:"mobile-btn",children:(0,va.jsx)("a",{href:"javascript:void(0)",children:"Filter"})}),(0,va.jsxs)("div",{className:"mobile-bar",children:[(0,va.jsxs)("div",{className:"article-filter dropdown selector","data-sc-className":"maxw@@desktop use-os-select @@mobile@@tablet",children:[(0,va.jsxs)("ul",{className:"item-list",children:[(0,va.jsx)("li",{className:"active",children:(0,va.jsxs)("a",{href:"#",title:l(mT.W.JOBLISTING.ALLPROPERTIES),className:"item-filter","data-filter":"property:","data-list":"#latest-jobs",children:[l(mT.W.JOBLISTING.ALLPROPERTIES)," "]})}),e.fields.Filter_Property?Object.values(e.fields.Filter_Property).map((e,l)=>{var i,s,n,a;return(0,va.jsx)("li",{children:(0,va.jsx)("a",{href:"#",title:null===(s=e.fields.Text)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.toUpperCase(),className:"item-filter","data-filter":"property:".concat(e.fields.Value),"data-list":"#latest-jobs",children:null===(a=e.fields.Text)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.toUpperCase()})},l)}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsxs)("a",{className:"toggler",href:"#",children:[(0,va.jsx)("span",{className:"icon triangle"}),(0,va.jsx)("label",{children:l(mT.W.JOBLISTING.ALLPROPERTIES)})]})]}),(0,va.jsxs)("div",{className:"article-filter dropdown selector","data-sc-className":"maxw@@desktop use-os-select @@mobile@@tablet",children:[(0,va.jsxs)("ul",{className:"item-list",children:[(0,va.jsx)("li",{className:"active",children:(0,va.jsx)("a",{href:"#",title:l(mT.W.JOBLISTING.ALLEMPLOYEETYPE),className:"item-filter","data-filter":"employeetype:","data-list":"#latest-jobs",children:l(mT.W.JOBLISTING.ALLPROPERTIES)})}),e.fields.Filter_EmployeeType?Object.values(e.fields.Filter_EmployeeType).map((e,l)=>{var i,s,n,a;return(0,va.jsx)("li",{children:(0,va.jsx)("a",{href:"#",title:null===(s=e.fields.Text)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.toUpperCase(),className:"item-filter","data-filter":"employeetype:".concat(e.fields.Value),"data-list":"#latest-jobs",children:null===(a=e.fields.Text)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.toUpperCase()})},l)}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsxs)("a",{className:"toggler",href:"#",children:[(0,va.jsx)("span",{className:"icon triangle"}),(0,va.jsx)("label",{children:l(mT.W.JOBLISTING.ALLPROPERTIES)})]})]}),(0,va.jsxs)("div",{className:"article-filter dropdown selector","data-sc-className":"maxw@@desktop use-os-select @@mobile@@tablet",children:[(0,va.jsxs)("ul",{className:"item-list",children:[(0,va.jsx)("li",{className:"active",children:(0,va.jsx)("a",{href:"#",title:l(mT.W.JOBLISTING.ALLLOCATIONS),className:"item-filter","data-filter":"location:","data-list":"#latest-jobs",children:l(mT.W.JOBLISTING.ALLLOCATIONS)})}),e.fields.Filter_Location?Object.values(e.fields.Filter_Location).map((e,l)=>{var i,s,n,a;return(0,va.jsx)("li",{children:(0,va.jsx)("a",{href:"#",title:null===(s=e.fields.Text)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.toUpperCase(),className:"item-filter","data-filter":"location:".concat(e.fields.Value),"data-list":"#latest-jobs",children:null===(a=e.fields.Text)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.toUpperCase()})},l)}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsxs)("a",{className:"toggler",href:"#",children:[(0,va.jsx)("span",{className:"icon triangle"})," ",(0,va.jsxs)("label",{children:["title=",l(mT.W.JOBLISTING.ALLLOCATIONS)]})]})]}),(0,va.jsxs)("div",{className:"article-filter dropdown selector","data-sc-className":"maxw@@desktop use-os-select @@mobile@@tablet",children:[(0,va.jsxs)("ul",{className:"item-list",children:[(0,va.jsx)("li",{className:"active",children:(0,va.jsx)("a",{href:"#",title:l(mT.W.JOBLISTING.ALLDEPARTMENT),className:"item-filter","data-filter":"dept:","data-list":"#latest-jobs",children:l(mT.W.JOBLISTING.ALLDEPARTMENT)})}),e.fields.Filter_Department?Object.values(e.fields.Filter_Department).map((e,l)=>{var i,s,n,a;return(0,va.jsx)("li",{children:(0,va.jsx)("a",{href:"#",title:null===(s=e.fields.Text)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.toUpperCase(),className:"item-filter","data-filter":"dept:".concat(e.fields.Value),"data-list":"#latest-jobs",children:null===(a=e.fields.Text)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.toUpperCase()})},l)}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsxs)("a",{className:"toggler",href:"#",children:[(0,va.jsx)("span",{className:"icon triangle"})," ",(0,va.jsx)("label",{children:l(mT.W.JOBLISTING.ALLDEPARTMENT)})]})]})]}),(0,va.jsx)("a",{className:"anchor"})]})}),(0,va.jsx)("ul",{className:"filter-list",id:"latest-jobs","data-api":e.fields.ApiUrl,"data-filter":"","data-item-per-page":e.fields.ItemPerPage,children:(0,va.jsx)("li",{className:"filter-list__item no-results",children:(0,va.jsx)("div",{className:"container job__link",children:(0,va.jsx)("span",{className:"job__title",children:l(mT.W.JOBLISTING.NORELATEDRESULTS)})})})}),(0,va.jsx)("div",{className:"row action-bar ".concat(e.params?"component-no-bottom-border":""),children:(0,va.jsx)("div",{className:"col",children:(0,va.jsx)("a",{className:"load-more btn with-icon arrow-round load-items",href:"#latest-jobs",title:l(mT.W.JOBLISTING.LOADMORE),children:l(mT.W.JOBLISTING.LOADMORE)})})})]})})});let j9=e=>{let l=Object.values(e.fields.IPageJobDetail).map((e,l)=>(0,va.jsx)("li",{className:"filter-list__item",children:(0,va.jsxs)("a",{href:(0,vS.at)(e.f
1ields.FullUrl.value,(0,vT.QT)().locale()),className:"job__link",children:[(0,va.jsx)("span",{className:"job__property",children:(0,va.jsx)(vm.x,{field:e.fields.PropertyItem.fields.Property.fields.Text})}),(0,va.jsx)("span",{className:"job__dept",children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsx)("span",{className:"job__loc",children:(0,va.jsx)(vm.x,{field:e.fields.PropertyItem.fields.Location.fields.Text})})]})},l)),{t:i}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"hot-job article-result bordered container",children:[(0,va.jsx)("div",{className:"row",children:(0,va.jsxs)("div",{className:"col",children:[(0,va.jsx)("h3",{children:i(mT.W.JOBLISTING.HOTPOSITION)}),(0,va.jsx)("a",{className:"anchor"})]})}),(0,va.jsx)("div",{className:"divider row"}),(0,va.jsx)("ul",{className:"filter-list",children:l}),(0,va.jsx)("div",{className:"action-bar row",children:(0,va.jsx)("div",{className:"col",children:i(mT.W.COMMONJOBLISTINGHOTPOSITION.SHHOTPOSITIONBUTTON)})})]})})};var Ne=(0,vp.C)()(j9);let Nl=e=>{let{t:l}=(0,vT.QT)(),i=Object.values(e.fields.RequiredSkills).map((e,l)=>(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:e.fields.Text})},l));return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("h3",{children:l(mT.W.JOBDETAIL.REQUIREDSKILLS)}),(0,va.jsx)("div",{className:"tag-container",children:i})]})};var Ni=(0,vp.C)()(Nl);let Ns=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("h1",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})})});var Nn=(0,vp.C)()(Ns);class Na extends p4{async GetDetailDataHouseYears(e,l,i,s){let n="GetDetailDataHouseYears#_itemid:".concat(e,"#_language:").concat(l,"#_rootId:").concat(i),a=this.getCacheValue(n);if(a)return console.log("fetched from cache ".concat(n)),a;let d=[];if(i){let n=await (0,up.D)(e,i,l),a=null==n?void 0:n.filter(e=>(0,x5.Ie)(e.template.id,i));if(null==a?void 0:a.length)for(let e of a){let i=await (0,up.D)(e.id,"".concat((null==s?void 0:s.ADTID)||ux.t9.ActicleDetail,"|").concat((null==s?void 0:s.HDTID)||ux.t9.HappeningsDetail,"|").concat((null==s?void 0:s.UDTID)||ux.t9.UpcloseDetail),l,20);(null==i?void 0:i.length)&&d.push(...i)}else{let e=await (0,up.D)(i,"".concat((null==s?void 0:s.ADTID)||ux.t9.ActicleDetail,"|").concat((null==s?void 0:s.HDTID)||ux.t9.HappeningsDetail,"|").concat((null==s?void 0:s.UDTID)||ux.t9.UpcloseDetail),l,20);(null==e?void 0:e.length)&&d.push(...e)}}else{let i=await pX((0,x5.Z9)(e),(null==s?void 0:s.ADTID)||ux.t9.ActicleDetail,l);i.length&&d.push(...i.map(e=>({id:"",url:"",version:0,path:"",template:{id:"",name:""},urlInfo:{url:"",path:""},name:"",fields:e,parentId:""})))}return d.length&&this.setCacheValue(n,d),d}async GetYearsContent(e,l){let i="GetYearsContent#_itemid:".concat(e,"#_language:").concat(l),s=this.getCacheValue(i);if(s)return console.log("fetched from cache ".concat(i)),s;let n=[],a=await (0,up.D)((0,x5.Z9)(e),ux.t9.YearContent,l,ux.tl.DefaultPageSize);return(null==a?void 0:a.length)&&n.push(...a),n.length&&this.setCacheValue(i,n),n}async GetHousesContents(e,l){let i="GetHousesContents#_itemid:".concat(e,"#_language:").concat(l),s=this.getCacheValue(i);if(s)return console.log("fetched from cache ".concat(i)),s;let n=[],a=await (0,up.D)(e,ux.t9.HouseContent,l,ux.tl.DefaultPageSize);return(null==a?void 0:a.length)&&n.push(...a),n.length&&this.setCacheValue(i,n),n}async GetENewsletterAndChildArticles(e,l){return this.GetItemDescendantsItem("GetENewsletterAndChildArticles",e,l,ux.t9.THCENewsletterArticleContent)}async GetNotificationBar(e,l){let i=await this.GetSessionExpiryMinutes(e,l),s=await this.GetPageLevelNotificationBar(e,l);if(s)return{ExpiryMinutes:i,NotificationBar:s};let n=await this.GetSiteLevelNotificationBar(e,l);if(n)return{ExpiryMinutes:i,NotificationBar:n}}async GetGDPR(e,l){let i=await this.GetRoot(e,l);if(i){let e=await this.GetItemChildrenItem("PageContent",i.id,l,ux.t9.SettingsFolder);if(null==e?void 0:e.length){let i=await this.GetItemChildrenItem("PageContent",e[0].id,l,ux.t9.GDPR);if(null==i?void 0:i.length)return i[0]}}}async GetSessionExpiryMinutes(e,l){let i=await this.GetAncestorsItem("PopupSettings",e,l,ux.t9.PopupSettings);if(null==i?void 0:i.length){var s,n,a;let e=i[i.length-1];return null!==(a=null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.ExpiryMinutes)||void 0===s?void 0:s.value)&&void 0!==a?a:-1}return -1}async GetSiteLevelNotificationBar(e,l){let i=await this.GetAncestorsItem("PopupSettings",e,l,ux.t9.PopupSettings);if(null==i?void 0:i.length){var s,n;return null===(n=i[0])||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:s.GlobalNotificationBar}}async GetPageLevelNotificationBar(e,l){let i=await this.GetItemChildrenItem("GetPageLevelNotificationBar",e,l,[ux.t9.LocalDatasourceFolder,ux.t9.SxaLocalDatasourcePageData].join("|"));if(null==i?void 0:i.length){let e=i[0],s=await this.GetItemChildrenItem("GetPageLevelNotificationBar",e.id,l,ux.t9.NotificationBar);if(null==s?void 0:s.length)return s[0]}}async GetSocialItems(e,l,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,n=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=await this.GetItemWithMultiFieldValue(e,l,i,s,n);return(null==a?void 0:a.length)?a:[]}constructor(e){super(e)}}let Nd=new Na({cacheTimeout:300}),Nt=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x;let{sitecoreContext:p}=(0,vr.z)(),h=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);vD(e,"NotificationBar")&&(h={ExpiryMinutes:null!==(u=null===(c=e.fields)||void 0===c?void 0:null===(r=c.ExpiryMinutes)||void 0===r?void 0:r.value)&&void 0!==u?u:5,NotificationBar:null===(v=e.fields)||void 0===v?void 0:v.NotificationBar});let f=null!==(m=null===(i=p.site)||void 0===i?void 0:i.name)&&void 0!==m?m:"",g=(null!==(x=null==h?void 0:h.ExpiryMinutes)&&void 0!==x?x:0)>0?null==h?void 0:h.ExpiryMinutes:5,j="";return(j=f.startsWith("East")?"/files/east-hotels/img/notificationbar_close.png":f.startsWith("SwireHotels")?"/files/swire-hotels/img/notificationbar_close.png":"/files/the-house-collective/img/notificationbar_close.png",(0,vd.useEffect)(()=>
1{window.notificationBarExpiryTime=(null!=g?g:5)*6e4},[g]),null==h?void 0:null===(d=h.NotificationBar)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:null===(n=a.Message)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.length)?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"notification-bar",children:[(0,va.jsx)("img",{className:"notification-bar-checkmark",src:j,alt:""}),(0,va.jsx)("div",{className:"notification-bar-message",children:(0,va.jsx)(vx.H,{field:null==h?void 0:null===(o=h.NotificationBar)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:t.Message})})]})}):(0,va.jsx)(va.Fragment,{})},No=async(e,l)=>{var i,s,n,a,d;if(vD(e,"NotificationBar"))return{};let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en";return t?await Nd.GetNotificationBar(t,o):{}};var Nr=Nt;let Nc=e=>{var l,i,s,n;let a="";a=null!=e.fields.Graphik&&(null===(l=e.fields.Graphik.value)||void 0===l?void 0:l.src)?a+"background-image: url('"+(null===(i=e.fields.Graphik.value)||void 0===i?void 0:i.srcc)+"');":a,a=e.fields.CSSPosition?a+"position:"+e.fields.CSSPosition+";":a,a=e.fields.CSSTop?a+"top:"+e.fields.CSSTop+";":a+"top:0px;",a=(null===(s=e.fields.GraphikPosition)||void 0===s?void 0:s.value)=="Left"?e.fields.CSSAdjustableLeftOrRight?a+"left:"+e.fields.CSSAdjustableLeftOrRight+";":a+"left: 0px;":e.fields.CSSAdjustableLeftOrRight?a+"right:"+e.fields.CSSAdjustableLeftOrRight+";":a+"right: 0px;",a=e.fields.CSSZIndex?a+"z-index:"+e.fields.CSSZIndex+";":a,a=e.fields.CSSWidth?a+"width:"+e.fields.CSSWidth+";":a,a=(e.fields.CSSHeight?a+"height:"+e.fields.CSSHeight+";":a)+"content: ''; background-repeat: no-repeat; background-size: contain; ";let d="";d=e.fields.CSSMobileWidth?d+"width:"+e.fields.CSSMobileWidth+";":d,d=e.fields.CSSMobileHeight?d+"height:"+e.fields.CSSMobileHeight+";":d,d=e.fields.CSSMobilePosition?d+"position:"+e.fields.CSSMobilePosition+";":d,d=e.fields.CSSMobileTop?d+"top:"+e.fields.CSSMobileTop:d,d=(null===(n=e.fields.GraphikPosition)||void 0===n?void 0:n.value)=="Left"?e.fields.CSSMobileAdjustableLeftOrRight?d+"left:"+e.fields.CSSMobileAdjustableLeftOrRight+";":d:e.fields.CSSMobileAdjustableLeftOrRight?d+"right:"+e.fields.CSSMobileAdjustableLeftOrRight+";":d;let t="";t=e.fields.CSSTabletPotraitWidth?t+"width:"+e.fields.CSSTabletPotraitWidth+" !important;":t,t=e.fields.CSSTabletPotraitHeight?t+"height:"+e.fields.CSSTabletPotraitHeight+" !important;":t,t=e.fields.CSSTabletPotraitPosition?t+"position:"+e.fields.CSSTabletPotraitPosition+";":t,t=e.fields.CSSTabletPotraitTop?d+"top:"+e.fields.CSSTabletPotraitTop+";":t,t="Left"==e.fields.GraphikPosition.value?e.fields.CSSTabletPotraitAdjustableLeftOrRight?t+"left:"+e.fields.CSSTabletPotraitAdjustableLeftOrRight+";":t:e.fields.CSSTabletPotraitAdjustableLeftOrRight?t+"right:"+e.fields.CSSTabletPotraitAdjustableLeftOrRight+";":t;let o="overlayBackgroundGraphik";return o=e.fields.DisplayMobile?o+" overlayBackgroundGraphikHiddenMobile":o,o=e.fields.DisplayTabletPotrait?o+" overlayBackgroundGraphikHiddenTablet":o,(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"bordered container configurable-background-graphik-parent",children:(0,va.jsx)("div",{className:"configurable-background-graphik"+o,"data-id":"","data-css":a,"data-tcss":t,"data-mcss":d})})})};var Nv=(0,vp.C)()(Nc);let Nu=e=>{var l,i;let{sitecoreContext:s}=(0,vr.z)(),n=null===(l=s.route)||void 0===l?void 0:l.fields,a=null!==(i=null==e?void 0:e.fields)&&void 0!==i?i:n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(uf,{Text:null==a?void 0:a.Title,raw:!0})})};var Nm=(0,vp.C)()(Nu);let Nx=e=>{let l=e.fields.PriceTableItems.length>0,{t:i}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"book-a-transfer-introduction",children:[(0,va.jsx)("div",{className:"book-a-transfer-introduction-section",children:i(mT.W.EHK.EHKBOOKATRANSFERINTRODUCTIONBEFORETABLE)}),l?(0,va.jsxs)("div",{className:"book-a-transfer-introduction-section",children:[(0,va.jsx)("div",{className:"book-a-transfer-pricetable-header",children:i(mT.W.BOOKATRANSFER.CARTYPEANDPRICE)}),(0,va.jsx)("table",{className:"book-a-transfer-pricetable",children:e.fields.PriceTableItems.map((e,l)=>(0,va.jsxs)("tr",{children:[(0,va.jsx)("td",{children:(0,va.jsx)(vm.x,{field:e.fields.Name})}),(0,va.jsx)("td",{className:"price-column",children:(0,va.jsx)(vm.x,{field:e.fields.Price})})]},l))})]}):"",(0,va.jsx)("div",{className:"book-a-transfer-introduction-section",children:i(mT.W.EHK.EHKBOOKATRANSFERINTRODUCTIONAFTERTABLE)})]})})};var Np=(0,vp.C)()(Nx);let Nh=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{id:"consentMessageBox",children:(0,va.jsxs)("div",{className:"MessageBox clearfix",children:[(0,va.jsx)("div",{className:"mbody",children:(0,va.jsx)(vx.H,{field:e.fields.Text})}),(0,va.jsx)("img",{alt:"",className:"btn-close",src:"\\files\\east-hongkong\\img\\consent-message-btn-close.png"})]})})});var Nf=(0,vp.C)()(Nh);let Ng=e=>{var l,i,s;let n="";
1return n=null!=e.fields.BannerImage&&(null===(l=e.fields.BannerImage.value)||void 0===l?void 0:l.src)!=""?(null===(i=e.fields.BannerImage.value)||void 0===i?void 0:i.src)?null===(s=e.fields.BannerImage.value)||void 0===s?void 0:s.src:"":"/files/east-hotels/img/banner_header.jpg",(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("img",{alt:"",className:"responsiveimg",src:n})})};var Nj=(0,vp.C)()(Ng);let NN=e=>{var l;let i=e.fields.Popup.fields.Image?"":"popup-box-grid__cont_noimage";return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"popup-box-background popup-box-overlay",children:(0,va.jsxs)("div",{className:"popup-box",children:[(0,va.jsx)("img",{className:"popup-checkmark",src:"/files/east-hotels/img/popup_close.png",alt:""}),(0,va.jsxs)("div",{className:"popup-box-content "+i,children:[(0,va.jsxs)("div",{className:"popup-box-grid__img",children:[(null===(l=e.fields.Popup.fields.Image.value)||void 0===l?void 0:l.src)?(0,va.jsx)(vg.E,{field:e.fields.Popup.fields.Image,className:"popup-box-img"}):"",(0,va.jsx)("img",{className:"popup-box-graphik",src:"/files/east-hotels/img/graphik.svg",alt:""})]}),(0,va.jsxs)("div",{className:"popup-box-grid__cont",children:[(0,va.jsx)("div",{className:"popup-box-grid__title",children:(0,va.jsx)(vx.H,{field:e.fields.Popup.fields.Title})}),null!=e.fields.Popup.fields.CTAButtonText&&null!=e.fields.Popup.fields.CTAButtonURL?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"popup-box-grid__message",children:(0,va.jsx)(vx.H,{field:e.fields.Popup.fields.MessageContent})}),(0,va.jsx)("div",{className:"popup-box-grid__button",children:(0,va.jsx)(vk,{field:e.fields.Popup.fields.CTAButtonURL,className:"popup-button",children:(0,va.jsx)(vm.x,{field:e.fields.Popup.fields.CTAButtonText})})})]}):(0,va.jsx)("div",{className:"popup-box-grid__message",children:(0,va.jsx)(vx.H,{field:e.fields.Popup.fields.MessageContent})})]})]})]})})})};var Nb=(0,vp.C)()(NN);let NT=e=>{let l=Object.values(e.fields.ContentSlides).map((e,l)=>{var i,s,n,a;return(0,va.jsxs)("div",{className:"row carousel"+e.fields.CssClass,children:[(null===(s=e.fields.CoverImage)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src)?(0,va.jsx)("picture",{className:"col","data-sc-src":null===(a=e.fields.CoverImage)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src}):"",(0,va.jsx)("div",{className:"col slider-nav",children:e.fields.Slides.map((e,l)=>(0,va.jsxs)("article",{children:[e.fields.Title?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):"",e.fields.Content?(0,va.jsx)("h2",{children:(0,va.jsx)(vx.H,{field:e.fields.Content})}):"",e.fields.Link?(0,va.jsx)(vk,{field:e.fields.Link,className:"cta",children:(0,va.jsx)("p",{children:e.fields.Link.value.title})}):""]},l))},l),(0,va.jsx)("div",{className:"col slider",children:e.fields.Slides.map((e,l)=>(0,va.jsx)("picture",{children:(0,va.jsx)(vg.E,{field:e.fields.Image})},l))})]},l)});return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("section",{className:"sub-title",children:e.fields.Title?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):""}),null!=e.fields.ContentSlides&&e.fields.ContentSlides.length>0?(0,va.jsx)("section",{children:l}):""]})};var NS=(0,vp.C)()(NT);let Nk=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"consentMessageBox",style:{display:"block"},children:(0,va.jsxs)("div",{className:"MessageBox row",children:[(0,va.jsx)(vx.H,{field:e.fields.Text}),(0,va.jsx)("a",{className:"btn-close",href:"javascript:void(0);",children:"Close"})]})})});var Nw=(0,vp.C)()(Nk);let Ny=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("section",{className:"relative",children:[(0,va.jsx)("img",{id:"triangle",className:"vector","data-sc-src":"/files/east-hotels/img/triangle.png","data-sc-processed":"responsive-sc-data-el",src:"/files/east-hotels/img/triangle.png",alt:""}),(0,va.jsx)("img",{id:"circle",className:"vector","data-sc-src":"/files/east-hotels/img/circle.png","data-sc-processed":"responsive-sc-data-el",src:"/files/east-hotels/img/circle.png",alt:""}),(0,va.jsxs)("div",{className:"marquee",children:[(0,va.jsx)("h3",{className:"centered big-title back",children:e.fields.Texts.map((e,l)=>(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:e.fields.SingleText})},l))}),(0,va.jsx)("div",{className:"centered clipping-container",children:(0,va.jsx)("h3",{className:"centered big-title front",children:e.fields.Texts.map((e,l)=>(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:e.fields.SingleText})},l))})}),(0,va.jsx)("h3",{className:"small-title",children:(0,va.jsx)(vm.x,{field:e.fields.Title})})]})]})});var NE=(0,vp.C)()(Ny);let NC=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"content-wrapper","data-sr":"move 20px",children:[(0,va.jsxs)("h1",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(0,va.jsx)(vx.H,{field:e.fields.Title}),e.fields.TitleImage?(0,va.jsx)(vx.H,{field:e.fields.Title}):"",e.fields.TitleImage?(0,va.jsx)(vg.E,{field:e.fields.TitleImage,className:"title-image"}):""]}),(0,va.jsx)(vx.H,{field:e.fields.Content})]})});var NO=(0,vp.C)()(NC);let NL=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("section",{className:"page-intro page-intro--horizontal",children:(0,va.jsx)("div",{className:"main-container",children:(0,va.jsxs)("div",{className:"page-intro__cont",children:[(0,va.jsx)("div",{className:"page-intro__title",children:(0,va.jsx)("h1",{className:"is-size-2",children:(0,va.jsx)(vm.x,{field:e.fields.Title})})}),(0,va.jsx)("div",{className:"page-intro__body",children:(0,va.jsx)(vx.H,{field:e.fields.Content})})]})})})});var NI=(0,vp.C)()(NL);let NF=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("section",{className:"sub-title",children:(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})})})});var N_=(0,vp.C)()(NF);let NM=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("section",{className:"sub-title",children:e.fields.Title?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):""}),(0,va.jsx)("section",{className:"bg-grey destination",children:(0,va.jsx)("div",{className:"full-container row",children:null!=e.f
1ields.SimpleContents&&e.fields.SimpleContents.length>0?e.fields.SimpleContents.map((e,l)=>{var i,s;return(0,va.jsxs)("div",{className:"col",children:[(0,va.jsx)("picture",{"data-sc-src":null===(i=e.fields.Image.value)||void 0===i?void 0:i.src,children:(0,va.jsx)(vg.E,{field:e.fields.Image_Overlay})}),e.fields.Title?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):"",e.fields.Content?(0,va.jsx)("h2",{children:(0,va.jsx)(vx.H,{field:e.fields.Content})}):"",null!=e.fields.Link?(0,va.jsx)("p",{children:(0,va.jsx)(vk,{className:"btn",field:e.fields.Link,children:(0,va.jsx)(vm.x,{field:null===(s=e.fields.LinkTitle)||void 0===s?void 0:s.fields.Phrase})})}):""]},l)}):""})})]});var NR=(0,vp.C)()(NM);let NP=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("section",{className:"sub-title",children:(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})})}),null!=e.fields.SimpleSlides&&e.fields.SimpleSlides.length>0?(0,va.jsx)("section",{children:(0,va.jsx)("div",{className:"container slider brands",children:e.fields.SimpleSlides.map((e,l)=>{var i;return(0,va.jsxs)("div",{className:"slider-item",children:[(0,va.jsx)("picture",{children:(0,va.jsx)(vg.E,{field:e.fields.Image})}),e.fields.Title?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):"",e.fields.Content?(0,va.jsx)("h2",{children:(0,va.jsx)(vx.H,{field:e.fields.Content})}):"",null!=e.fields.Link?(0,va.jsx)("p",{children:(0,va.jsx)(vk,{className:"cta",field:e.fields.Link,children:(0,va.jsx)(vm.x,{field:null===(i=e.fields.LinkTitle)||void 0===i?void 0:i.fields.Phrase})})}):""]},l)})})}):""]});var NA=(0,vp.C)()(NP);let ND=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"text expandable",children:[(0,va.jsxs)("h2",{className:"expandable-title",children:[(0,va.jsx)(vm.x,{field:e.fields.Title}),(0,va.jsx)("span",{className:"sp sp-m_collapse_w"})]}),(0,va.jsx)("div",{className:"expandable-content",children:(0,va.jsx)(vx.H,{field:e.fields.Body})})]})});var NB=(0,vp.C)()(ND);let NV=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"plain container",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col",children:(0,va.jsxs)("blockquote",{children:[(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.Quote})}),(0,va.jsx)("p",{children:(0,va.jsx)("cite",{children:(0,va.jsx)(vm.x,{field:e.fields.Author})})})]})})})})});var NW=(0,vp.C)()(NV);let NH=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"bordered container",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col",children:(0,va.jsx)(vt.V,{name:"sh-container-detail",rendering:e.rendering})})})})});var NG=(0,vp.C)()(NH);let NU=e=>{let l=Object.values(e.fields.list).map((l,i)=>{var s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K;return(0,va.jsxs)(va.Fragment,{children:["item != null ? (",(0,va.jsxs)("li",{className:i==e.fields.list.length?"":"component-no-bottom-border",children:[(0,va.jsx)(vt.V,{name:"sh-detail-content-block-list_UniqueComponentId_"+(i+1),rendering:l.fields.rendering}),(null==l?void 0:null===(d=l.fields)||void 0===d?void 0:null===(a=d.VideoLink)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:null===(s=n.href)||void 0===s?void 0:s.toLowerCase().indexOf("mediaservices"))||(null==l?void 0:null===(c=l.fields)||void 0===c?void 0:null===(r=c.VideoLink)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:null===(t=o.href)||void 0===t?void 0:t.toLowerCase().indexOf("azure"))||(null==l?void 0:null===(x=l.fields)||void 0===x?void 0:null===(m=x.VideoLink)||void 0===m?void 0:null===(u=m.value)||void 0===u?void 0:null===(v=u.href)||void 0===v?void 0:v.toLowerCase().indexOf("media."))?(0,va.jsx)("div",{className:"videothumbnail thumbnail",children:(0,va.jsxs)("video",{id:"azuremediaplayer1",className:"azuremediaplayer amp-default-skin amp-big-play-centered",controls:!0,width:"100%",height:"auto",poster:null===(p=l.fields.Image.value)||void 0===p?void 0:p.src,children:[(0,va.jsx)("source",{src:l.fields.VideoLink.value.href,type:"application/vnd.ms-sstr+xml"}),(0,va.jsx)("p",{className:"amp-no-js",children:"To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video"})]})}):"",(null==l?void 0:null===(j=l.fields)||void 0===j?void 0:null===(g=j.VideoLink)||void 0===g?void 0:null===(f=g.value)||void 0===f?void 0:null===(h=f.href)||void 0===h?void 0:h.toLowerCase().indexOf("youtu"))?(0,va.jsx)("div",{className:"videothumbnail thumbnail",children:(0,va.jsxs)("div",{className:"ytvideo",children:[(0,va.jsx)("button",{className:"ytbtn",children:"Play"}),(0,va.jsx)("img",{className:"ythumbnail",src:null===(N=l.fields.Image.value)||void 0===N?void 0:N.src,alt:""}),(0,va.jsx)("iframe",{id:"player1",width:"100%",height:"100%",src:l.fields.VideoLink.value.href.indexOf("?enablejsapi=1")?null===(b=l.fields.VideoLink)||void 0===b?void 0:b.value.href:(null===(T=l.fields.VideoLink)||void 0===T?void 0:T.value.href)+"?enablejsapi=1",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})]})}):"",(null==l?void 0:null===(y=l.fields)||void 0===y?void 0:null===(w=y.VideoLink)||void 0===w?void 0:null===(k=w.value)||void 0===k?void 0:null===(S=k.href)||void 0===S?void 0:S.toLowerCase().indexOf("youku"))?(0,va.jsx)("div",{className:"videothumbnail thumbnail",children:(0,va.jsxs)("div",{className:"ytvideo yk",children:[(null==l?void 0:null===(O=l.fields)||void 0===O?void 0:null===(C=O.VideoLink)||void 0===C?void 0:null===(E=C.value)||void 0===E?void 0:E.href)?(0,va.jsx)("button",{className:"ytbtn",children:"Play"}):"",(0,va.jsx)("img",{alt:"",src:null===(L=l.fields.Image.value)||void 0===L?void 0:L.src,className:"ythumbnail"}),(null==l?void 0:null===(_=l.fields)||void 0===_?void 0:null===(F=_.VideoLink)||void 0===F?void 0:null===(I=F.value)||void 0===I?void 0:I.href)?(0,va.jsx)("iframe",{id:"player1",width:"100%",height:"100%",src:null===(M=l.fields.VideoLink)||void 0===M?void 0:M.value.href,frameBorder:"0",allow:"autoplay; accelerometer; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):""]})}):"",(null==l?void 0:null===(A=l.fields)||void 0===A?void 0:null===(P=A.VideoLink)||void 0===P?void 0:null===(R=P.value)||void 0===R?void 0:R.href)?"":(null==l?void 0:null===(V=l.fields)||void 0===V?void 0:null===(B=V.Link)||void 0===B?void 0:null===(D=B.value)||void 0===D?void 0:D.href)?(0,va.jsx)("picture",{children:null==l.fields.Image_Mobile?(0,va.jsx)("img",{alt:"",src:null===(H=l.fields.Image)||void 0===H?void 0:null===(W=H.value)||void 0===W?void 0:W.src}):(0,va.jsx)("img",{alt:"","data-sc-src":(null===(G=l.fields.Image_Mobile.value)||void 0===G?void 0:G.src)+" @@mobile "+(null===(U=l.fields.Image.value)||void 0===U?void 0:U.src
1)+" @@tablet@@desktop"})}):(0,va.jsx)("div",{className:"thumbnail",children:(0,va.jsx)("picture",{children:null==l.fields.Image_Mobile?(0,va.jsx)("img",{alt:"",src:null===(q=l.fields.Image)||void 0===q?void 0:null===(z=q.value)||void 0===z?void 0:z.src}):(0,va.jsx)("img",{alt:"","data-sc-src":(null===(Q=l.fields.Image_Mobile.value)||void 0===Q?void 0:Q.src)+" @@mobile "+(null===(Y=l.fields.Image.value)||void 0===Y?void 0:Y.src)+" @@tablet@@desktop"})})}),(0,va.jsxs)("div",{className:"desc",children:[l.fields.Title?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:l.fields.Title})}):"",(0,va.jsx)(vm.x,{field:l.fields.SubTitle}),l.fields.QuotedBy?(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:l.fields.QuotedBy})}):"",(0,va.jsx)(vm.x,{field:l.fields.Detail}),l.fields.VideoLink?(0,va.jsx)(vk,{field:l.fields.Link,className:l.fields.IsButton?"primary btn with-icon-after chevron-round right":"sw-btn btn",children:(0,va.jsx)(vm.x,{field:null===(K=l.fields.LinkTitle)||void 0===K?void 0:K.fields.Phrase})}):""]})]}),")"]})});return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"article-result bordered container ",children:(0,va.jsx)("ul",{className:"article-result bordered container ","data-sc-class":"maxh @@tablet@@desktop","data-sc-max-target":"li","data-sc-max-adjust-css":"margin-top",children:l})})})};var Nz=(0,vp.C)()(NU);let Nq=e=>{if(0===e.fields.list.length)return(0,va.jsx)(va.Fragment,{});let l=Object.values(e.fields.list).map(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K;return(0,va.jsx)(va.Fragment,{children:null!=e&&(0,va.jsxs)("div",{className:"slider-item",children:[(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.VideoLink)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:null===(l=i.href)||void 0===l?void 0:l.toLowerCase().indexOf("mediaservices"))||(null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.VideoLink)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:null===(a=d.href)||void 0===a?void 0:a.toLowerCase().indexOf("azure"))||(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.VideoLink)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:null===(r=c.href)||void 0===r?void 0:r.toLowerCase().indexOf("media."))?(0,va.jsx)("div",{className:"videothumbnail thumbnail",children:(0,va.jsxs)("video",{id:"azuremediaplayer1",className:"azuremediaplayer amp-default-skin amp-big-play-centered",controls:!0,width:"100%",height:"auto",poster:null===(m=e.fields.Image.value)||void 0===m?void 0:m.src,children:[(0,va.jsx)("source",{src:e.fields.VideoLink.value.href,type:"application/vnd.ms-sstr+xml"}),(0,va.jsx)("p",{className:"amp-no-js",children:"To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video"})]})}):"",(null==e?void 0:null===(f=e.fields)||void 0===f?void 0:null===(h=f.VideoLink)||void 0===h?void 0:null===(p=h.value)||void 0===p?void 0:null===(x=p.href)||void 0===x?void 0:x.toLowerCase().indexOf("youtu"))?(0,va.jsx)("div",{className:"videothumbnail thumbnail",children:(0,va.jsxs)("div",{className:"ytvideo",children:[(0,va.jsx)("button",{className:"ytbtn",children:"Play"}),(0,va.jsx)("img",{className:"ythumbnail",src:null===(g=e.fields.Image.value)||void 0===g?void 0:g.src,alt:""}),(0,va.jsx)("iframe",{id:"player1",width:"100%",height:"100%",src:e.fields.VideoLink.value.href.indexOf("?enablejsapi=1")?null===(j=e.fields.VideoLink)||void 0===j?void 0:j.value.href:(null===(N=e.fields.VideoLink)||void 0===N?void 0:N.value.href)+"?enablejsapi=1",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})]})}):"",(null==e?void 0:null===(k=e.fields)||void 0===k?void 0:null===(S=k.VideoLink)||void 0===S?void 0:null===(T=S.value)||void 0===T?void 0:null===(b=T.href)||void 0===b?void 0:b.toLowerCase().indexOf("youku"))?(0,va.jsx)("div",{className:"videothumbnail thumbnail",children:(0,va.jsxs)("div",{className:"ytvideo yk",children:[(null==e?void 0:null===(E=e.fields)||void 0===E?void 0:null===(y=E.VideoLink)||void 0===y?void 0:null===(w=y.value)||void 0===w?void 0:w.href)?(0,va.jsx)("button",{className:"ytbtn",children:"Play"}):"",(0,va.jsx)("img",{alt:"",src:null===(C=e.fields.Image.value)||void 0===C?void 0:C.src,className:"ythumbnail"}),(null==e?void 0:null===(I=e.fields)||void 0===I?void 0:null===(L=I.VideoLink)||void 0===L?void 0:null===(O=L.value)||void 0===O?void 0:O.href)?(0,va.jsx)("iframe",{id:"player1",width:"100%",height:"100%",src:null===(F=e.fields.VideoLink)||void 0===F?void 0:F.value.href,frameBorder:"0",allow:"autoplay; accelerometer; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):""]})}):"",(null==e?void 0:null===(R=e.fields)||void 0===R?void 0:null===(M=R.VideoLink)||void 0===M?void 0:null===(_=M.value)||void 0===_?void 0:_.href)?"":(null==e?void 0:null===(D=e.fields)||void 0===D?void 0:null===(A=D.Link)||void 0===A?void 0:null===(P=A.value)||void 0===P?void 0:P.href)?(0,va.jsx)("picture",{children:(null===(V=e.fields.Image_Mobile)||void 0===V?void 0:null===(B=V.value)||void 0===B?void 0:B.src)?(0,va.jsx)("img",{alt:"",src:null===(H=e.f
1ields.Image)||void 0===H?void 0:null===(W=H.value)||void 0===W?void 0:W.src}):(0,va.jsx)("img",{alt:"","data-sc-src":(null===(G=e.fields.Image_Mobile.value)||void 0===G?void 0:G.src)+" @mobile "+(null===(U=e.fields.Image.value)||void 0===U?void 0:U.src)+" @tablet@desktop"})}):(0,va.jsx)("div",{className:"thumbnail",children:(0,va.jsx)("picture",{children:null==e.fields.Image_Mobile?(0,va.jsx)("img",{alt:"",src:null===(q=e.fields.Image)||void 0===q?void 0:null===(z=q.value)||void 0===z?void 0:z.src}):(0,va.jsx)("img",{alt:"","data-sc-src":(null===(Q=e.fields.Image_Mobile.value)||void 0===Q?void 0:Q.src)+" @mobile "+(null===(Y=e.fields.Image.value)||void 0===Y?void 0:Y.src)+" @tablet@desktop"})})}),(0,va.jsxs)("div",{className:"desc",children:[e.fields.Title?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):"",(0,va.jsx)(vm.x,{field:e.fields.SubTitle}),e.fields.QuotedBy?(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.QuotedBy})}):"",(0,va.jsx)(vm.x,{field:e.fields.Detail}),e.fields.VideoLink?(0,va.jsx)(vk,{field:e.fields.Link,className:e.fields.IsButton?"primary btn with-icon-after chevron-round right":"sw-btn btn",children:(0,va.jsx)(vm.x,{field:null===(K=e.fields.LinkTitle)||void 0===K?void 0:K.fields.Phrase})}):""]})]})})});return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"article-result bordered container ",children:(0,va.jsx)("ul",{className:"article-result bordered container ","data-sc-class":"maxh @@tablet@@desktop","data-sc-max-target":"li","data-sc-max-adjust-css":"margin-top",children:(0,va.jsx)("li",{className:"",children:l})})})})};var NQ=(0,vp.C)()(Nq);let NY=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;if(0===e.fields.list.length)return(0,va.jsx)(va.Fragment,{});let m=e.fields.list[0];if(null===m)return(0,va.jsx)(va.Fragment,{});let x="";x=null!=m.fields.Graphik&&(null===(l=m.fields.Graphik.value)||void 0===l?void 0:l.src)?x+"background-image: url('"+(null===(i=m.fields.Graphik.value)||void 0===i?void 0:i.src)+"');":x,x=m.fields.CSSPosition.value?x+"position:"+m.fields.CSSPosition.value+";":x,x=m.fields.CSSTop.value?x+"top:"+m.fields.CSSTop.value+";":x+"top:0px;",x="Left"===m.fields.GraphikPosition.value?m.fields.CSSAdjustableLeftOrRight.value?x+"left:"+m.fields.CSSAdjustableLeftOrRight.value+";":x+"left: 0px;":m.fields.CSSAdjustableLeftOrRight.value?x+"right:"+m.fields.CSSAdjustableLeftOrRight.value+";":x+"right: 0px;",x=m.fields.CSSZIndex.value?x+"z-index:"+m.fields.CSSZIndex.value+";":x,x=m.fields.CSSWidth.value?x+"width:"+m.fields.CSSWidth.value+";":x,x=(m.fields.CSSHeight.value?x+"height:"+m.fields.CSSHeight.value+";":x)+"content: ''; background-repeat: no-repeat; background-size: contain; ";let p="";p=m.fields.CSSMobileWidth.value?p+"width:"+m.fields.CSSMobileWidth.value+";":p,p=m.fields.CSSMobileHeight.value?p+"height:"+m.fields.CSSMobileHeight.value+";":p,p=m.fields.CSSMobilePosition.value?p+"position:"+m.fields.CSSMobilePosition.value+";":p,p=m.fields.CSSMobileTop.value?p+"top:"+m.fields.CSSMobileTop.value+";":p,p="Left"==m.fields.GraphikPosition.value?m.fields.CSSMobileAdjustableLeftOrRight.value?p+"left:"+m.fields.CSSMobileAdjustableLeftOrRight.value+";":p:m.fields.CSSMobileAdjustableLeftOrRight.value?p+"right:"+m.fields.CSSMobileAdjustableLeftOrRight.value+";":p;let h="";h=m.fields.CSSTabletPotraitWidth.value?h+"width:"+m.fields.CSSTabletPotraitWidth.value+" !important;":h,h=m.fields.CSSTabletPotraitHeight.value?h+"height:"+m.fields.CSSTabletPotraitHeight.value+" !important;":h,h=m.fields.CSSTabletPotraitPosition.value?h+"position:"+m.fields.CSSTabletPotraitPosition.value+";":h,h=m.fields.CSSTabletPotraitTop.value?p+"top:"+m.fields.CSSTabletPotraitTop.value+";":h,h="Left"==m.fields.GraphikPosition.value?m.fields.CSSTabletPotraitAdjustableLeftOrRight.value?h+"left:"+m.fields.CSSTabletPotraitAdjustableLeftOrRight.value+";":h:m.fields.CSSTabletPotraitAdjustableLeftOrRight.value?h+"right:"+m.fields.CSSTabletPotraitAdjustableLeftOrRight.value+";":h;let f="overlayBackgroundGraphik";f=m.fields.DisplayMobile?f+" overlayBackgroundGraphikHiddenMobile":f,f=m.fields.DisplayTabletPotrait?f+" overlayBackgroun
1dGraphikHiddenMobile":f;let g=null===(s=m.fields.Image_Mobile.value)||void 0===s?void 0:s.src;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"article-result configurable-background-graphik container shcontentblocklist "+f,"data-id":"shcontentblocklist","data-css":x,"data-tcss":h,"data-mcss":p,children:(0,va.jsxs)("div",{className:"thumbnail-first1",children:[(0,va.jsxs)("div",{className:"image",children:[(null===(n=m.fields.VideoLink.value.href)||void 0===n?void 0:n.toLowerCase().indexOf("mediaservices"))||(null===(a=m.fields.VideoLink.value.href)||void 0===a?void 0:a.toLowerCase().indexOf("azure"))||(null===(d=m.fields.VideoLink.value.href)||void 0===d?void 0:d.toLowerCase().indexOf("media."))?(0,va.jsx)("div",{className:"videothumbnail thumbnail",children:(0,va.jsxs)("video",{id:"azuremediaplayer1",className:"azuremediaplayer amp-default-skin amp-big-play-centered",controls:!0,width:"100%",height:"auto",poster:null===(t=m.fields.Image.value)||void 0===t?void 0:t.src,children:[(0,va.jsx)("source",{src:m.fields.VideoLink.value.href,type:"application/vnd.ms-sstr+xml"}),(0,va.jsx)("p",{className:"amp-no-js",children:"To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video"})]})}):"",m.fields.VideoLink?m.fields.Link?(0,va.jsx)("picture",{children:m.fields.Image_Mobile?(0,va.jsx)(vg.E,{field:m.fields.Image}):(0,va.jsx)("img",{"data-sc-src":g+" @@mobile "+(null===(o=m.fields.Image.value)||void 0===o?void 0:o.src)+" @@tablet@@desktop",alt:""})}):(0,va.jsx)("div",{className:"thumbnail",children:(0,va.jsxs)("picture",{children:["item.fields.Image_Mobile? (",(0,va.jsx)(vg.E,{field:m.fields.Image}),") else (",(0,va.jsx)("img",{"data-sc-src":g+" @@mobile "+(null===(r=m.fields.Image.value)||void 0===r?void 0:r.src)+" @@tablet@@desktop",alt:""}),")"]})}):""]}),(0,va.jsx)("div",{className:"desc1",children:(0,va.jsxs)("div",{className:"content",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:m.fields.Title})}),(0,va.jsx)(vx.H,{field:m.fields.Detail}),(0,va.jsx)(vk,{field:m.fields.Link,className:m.fields.IsButton?"primary btn with-icon-after chevron-round right":"sw-btn btn",children:(0,va.jsx)(vm.x,{field:null===(u=m.fields)||void 0===u?void 0:null===(v=u.LinkTitle)||void 0===v?void 0:null===(c=v.fields)||void 0===c?void 0:c.Phrase})})]})})]})})})};var NK=(0,vp.C)()(NY);let N$=e=>{var l,i;return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"",children:(0,va.jsx)("ul",{className:(e.fields.ImageOnRight?"desc-first":"thumbnail-first")+" left-right item-list","data-sc-class":"maxh @@tablet@@desktop","data-sc-max-target":"li","data-sc-max-adjust-css":"margin-top","data-sc-processed":"responsive-sc-data-el layout-adjust",children:(0,va.jsxs)("li",{children:[(0,va.jsxs)("div",{className:"desc",children:[e.fields.Title?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):"",e.fields.SubTitle?(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.SubTitle})}):"",e.fields.QuotedBy?(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.QuotedBy})}):"",(0,va.jsx)(vx.H,{field:e.fields.Detail}),(0,va.jsx)(vk,{field:e.fields.Link,className:e.fields.IsButton?"primary btn with-icon-after chevron-round right":"sw-btn btn",children:(0,va.jsx)(vm.x,{field:null===(i=e.fields.LinkTitle)||void 0===i?void 0:null===(l=i.fields)||void 0===l?void 0:l.Phrase})})]}),e.fields.Link?(0,va.jsx)(vk,{field:e.fields.Link,className:"thumbnail",children:(0,va.jsx)("picture",{children:(0,va.jsx)(vg.E,{field:e.fields.Image})})}):(0,va.jsx)("div",{className:"thumbnail",children:(0,va.jsx)("picture",{children:(0,va.jsx)(vg.E,{field:e.fields.Image})})}),e.fields.ImageCaption?(0,va.jsx)("figcaption",{children:(0,va.jsx)("img",{src:e.fields.ImageCaption.value,alt:""})}):""]})})})})};var NZ=(0,vp.C)()(N$);let NJ=e=>null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"bordered container",children:[(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col",children:(0,va.jsxs)("div",{className:"desc",children:[e.fields.Title?(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):"",(0,va.jsx)(vx.H,{field:e.fields.Content})]})})}),e.fields.Image?(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col",children:(0,va.jsx)("div",{className:"sub-banner light-theme",children:(0,va.jsx)("div",{className:"border",children:(0,va.jsx)(vg.E,{field:e.fields.Image})})})})}):""]})});var NX=(0,vp.C)()(NJ);let N0=e=>null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"gallery bordered container",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"carousell col",children:e.fields.SelectedItems.map((e,l)=>(0,va.jsxs)("div",{className:"slide-item",children:[(0,va.jsx)("picture",{children:(0,va.jsx)(vg.E,{field:e.fields.Image})}),e.fields.Title?(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):"",e.fields.Subtitle?(0,va.jsx)("h5",{children:(0,va.jsx)(vm.x,{field:e.fields.Subtitle})}):"",e.fields.Content?(0,va.jsx)("p",{children:(0,va.jsx)(vx.H,{field:e.fields.Content})}):""]},l))})})})});var N1=(0,vp.C)()(N0);let N2=e=>{let{t:l}=(0,vT.QT)();return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"container article-inner",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsxs)("div",{className:"col",children:[(0,va.jsx)("h3",{className:"txt-center",children:l(mT.W.PAGECONTENT.BENEFITSOURTEAMMEMBER)}),(0,va.jsx)("ul",{className:"col5-list",children:e.fields.list.map((e,l)=>null!=e?(0,va.jsxs)("li",{children:[(0,va.jsx)(vg.E,{field:e.fields.Image}),(0,va.jsxs)("span",{children:[(0,va.jsx)(vm.x,{field:e.fields.Title}),"@item.Title"]})]},l):"")})]})})})})};var N5=(0,vp.C)()(N2);let N3=e=>null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"agreement overlay container active",children:[(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col",children:(0,va.jsx)(vx.H,{field:e.fields.Text})})}),(0,va.jsx)("a",{className:"close-btn deactivator","data-sc-active-target":".agreement.overlay","data-sc-active-cancelable":"false",href:"#",children:"Close"})]})});var N4=(0,vp.C)()(N3);let N6=e=>{var l,i;let{t:s}=(0,vT.QT)();if(null==e)return(0,va.jsx)(va.Fragment,{});let n="";
1n=null!=e.fields.Graphik&&(null===(l=e.fields.Graphik.value)||void 0===l?void 0:l.src)?n+"background-image: url('"+(null===(i=e.fields.Graphik.value)||void 0===i?void 0:i.src)+"');":n,n=e.fields.CSSPosition.value?n+"position:"+e.fields.CSSPosition.value+";":n,n=e.fields.CSSTop.value?n+"top:"+e.fields.CSSTop.value+";":n+"top:0px;",n="Left"===e.fields.GraphikPosition.value?e.fields.CSSAdjustableLeftOrRight.value?n+"left:"+e.fields.CSSAdjustableLeftOrRight.value+";":n+"left: 0px;":e.fields.CSSAdjustableLeftOrRight.value?n+"right:"+e.fields.CSSAdjustableLeftOrRight.value+";":n+"right: 0px;",n=e.fields.CSSZIndex.value?n+"z-index:"+e.fields.CSSZIndex.value+";":n,n=e.fields.CSSWidth.value?n+"width:"+e.fields.CSSWidth.value+";":n,n=(e.fields.CSSHeight.value?n+"height:"+e.fields.CSSHeight.value+";":n)+"content: ''; background-repeat: no-repeat; background-size: contain; ";let a="";a=e.fields.CSSMobileWidth.value?a+"width:"+e.fields.CSSMobileWidth.value+";":a,a=e.fields.CSSMobileHeight.value?a+"height:"+e.fields.CSSMobileHeight.value+";":a,a=e.fields.CSSMobilePosition.value?a+"position:"+e.fields.CSSMobilePosition.value+";":a,a=e.fields.CSSMobileTop.value?a+"top:"+e.fields.CSSMobileTop.value+";":a,a="Left"==e.fields.GraphikPosition.value?e.fields.CSSMobileAdjustableLeftOrRight.value?a+"left:"+e.fields.CSSMobileAdjustableLeftOrRight.value+";":a:e.fields.CSSMobileAdjustableLeftOrRight.value?a+"right:"+e.fields.CSSMobileAdjustableLeftOrRight.value+";":a;let d="";d=e.fields.CSSTabletPotraitWidth.value?d+"width:"+e.fields.CSSTabletPotraitWidth.value+" !important;":d,d=e.fields.CSSTabletPotraitHeight.value?d+"height:"+e.fields.CSSTabletPotraitHeight.value+" !important;":d,d=e.fields.CSSTabletPotraitPosition.value?d+"position:"+e.fields.CSSTabletPotraitPosition.value+";":d,d=e.fields.CSSTabletPotraitTop.value?a+"top:"+e.fields.CSSTabletPotraitTop.value+";":d,d="Left"==e.fields.GraphikPosition.value?e.fields.CSSTabletPotraitAdjustableLeftOrRight.value?d+"left:"+e.fields.CSSTabletPotraitAdjustableLeftOrRight.value+";":d:e.fields.CSSTabletPotraitAdjustableLeftOrRight.value?d+"right:"+e.fields.CSSTabletPotraitAdjustableLeftOrRight.value+";":d;let t="overlayBackgroundGraphik";t=e.fields.DisplayMobile?t+" overlayBackgroundGraphikHiddenMobile":t,t=e.fields.DisplayTabletPotrait?t+" overlayBackgroundGraphikHiddenMobile":t;let o=e.fields.TextDisplayWidth.value?"width:"+e.fields.TextDisplayWidth.value+";":"";"Left"==e.fields.GraphikPosition.value&&(o+=" float: right;");let r=e.fields.TabletPotraitTextDisplayWidth.value?"width:"+e.fields.TabletPotraitTextDisplayWidth.value+";":"",c=e.fields.MobileTextDisplayWidth.value?"width:"+e.fields.MobileTextDisplayWidth.value+";":"",v="shtextblock";return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"intro lain container",children:[(0,va.jsx)("div",{className:"row",children:(0,va.jsxs)("div",{className:"col",children:[(e.fields.GraphikPosition.value,(0,va.jsx)("div",{className:"configurable-background-graphik-text "+v+"text","data-id":v+"text","data-css":o,"data-tcss":r,"data-mcss":c,children:(0,va.jsxs)("div",{className:"intro-graphik-text",children:[(0,va.jsx)("h1",{children:s(mT.W.PAGECONTENT.SHTITLE)}),(0,va.jsx)(vm.x,{field:e.fields.Text})]})})),s(mT.W.PAGECONTENT.SHINTROLINK)]})}),(0,va.jsx)("div",{className:v+" configurable-background-graphik "+t,"data-id":v,"data-css":n,"data-tcss":d,"data-mcss":a})]})})};var N8=(0,vp.C)()(N6);let N7=e=>{var l,i,s,n,a,d,t,o,r;let{t:c}=(0,vT.QT)();if(e.fields.list.length<9||null==e)return(0,va.jsx)(va.Fragment,{});for(let l=0;l<e.fields.list.length;l++)if(null==e.fields.list[l])return(0,va.jsx)(va.Fragment,{});let v=null!=e.fields.list[5].fields.Image_Mobile.value?e.fields.list[5].fields.Image_Mobile.value.src:"",u=null!=e.fields.list[5].fields.Image.value?e.fields.list[5].fields.Image.value.src:"";return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"cursor",children:(0,va.jsx)("a",{href:"javascript:void(0)",onClick:function(){return""},title:"Click to scroll",children:"Click to scroll"})}),(0,va.jsxs)("section",{className:"slider hz_ls",id:"home-intro",children:[(0,va.jsx)("figure",{className:"graph_fh full-height animate",id:"sh-mainpage-intro-media",children:c(mT.W.PAGECONTENT.SHMAINPAGEINTROMEDIA)}),(0,va.jsxs)("div",{className:"container animate",children:[(0,va.jsxs)("h1",{children:[(0,va.jsx)("span",{className:"grey-txt",children:c(mT.W.PAGECONTENT.SHORGANIZATIONNAME)}),(0,va.jsx)(vm.x,{field:e.fields.list[0].fields.Title})]}),(0,va.jsx)(vx.H,{field:e.fields.list[0].fields.Detail}),(0,va.jsxs)("div",{className:"hz_ls",children:[(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:e.fields.list[0].fields.Link,className:"sw-btn "+(e.fields.list[0].fields.IsButton?"wbr":""),children:(0,va.jsx)(vm.x,{field:null===(l=e.fields.list[0].fields.LinkTitle)||void 0===l?void 0:l.fields.Phrase})})}),(0,va.jsxs)("div",{className:"inline_ls",children:[(0,va.jsx)("p",{children:c(mT.W.PAGECONTENT.FOLLOWUS)}),c(mT.W.PAGECONTENT.SHMAINPAGEFOLLOWUS)]})]})]})]}),(0,va.jsxs)("section",{className:"slider two-col",id:"home-thc",children:[c(mT.W.PAGECONTENT.SHMAINPAGESEPARTER1),(0,va.jsx)("figure",{className:"graph_item animate",id:"home-thc-doodle",children:c(mT.W.PAGECONTENT.SHMAINPAGETHEMEDIA)}),(0,va.jsxs)("div",{className:"h-50 hz_ls",children:[(0,va.jsxs)("figure",{className:"logo_item",children:[(0,va.jsx)(vg.E,{field:e.fields.list[1].fields.Image}),(0,va.jsx)("picture",{children:(0,va.jsx)(vg.E,{field:e.fields.list[1].fields.Image_Overlay})})]}),(0,va.jsx)("figure",{id:"home-thc-line",children:c(mT.W.PAGECONTENT.SHMAINPAGETHELINEGRAPHIK)}),(0,va.jsxs)("article",{className:"animate",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.list[1].fields.Title})}),(0,va.jsx)(vx.H,{field:e.fields.list[1].fields.Detail}),(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:e.fields.list[1].fields.Link,className:"sw-btn "+(e.fields.list[1].fields.IsButton?"wbr":""),children:(0,va.jsx)(vm.x,{field:null===(i=e.fields.list[1].fields.LinkTitle)||void 0===i?void 0:i.fields.Phrase})})})]})]})]}),(0,va.jsxs)("section",{className:"slider two-col reserved",id:"home-east",children:[c(mT.W.PAGECONTENT.SHMAINPAGESEPARTER2),(0,va.jsx)("figure",{className:"graph_item animate",id:"home-east-doodle",children:c(mT.W.PAGECONTENT.SHMAINPAGEEASTMEDIA)}),(0,va.jsxs)("div",{className:"h-50 hz_ls",children:[(0,va.jsxs)("figure",{className:"logo_item",children:[(0,va.jsx)(vg.E,{field:e.fields.list[2].fields.Image}),(0,va.jsx)("picture",{children:(0,va.jsx)(vg.E,{field:e.fields.list[2].fields.Image_Overlay})})]}),"@*",(0,va.jsx)("img",{src:"/files/swire-hotels/img/logo_east.png",alt:"THE EAST HOTEL"}),"*@",(0,va.jsxs)("article",{className:"animate",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.list[2].fields.Title})}),(0,va.jsx)(vx.H,{field:e.fields.list[2].fields.Detail}),(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:e.fields.list[2].fields.Link,className:"sw-btn "+(e.fields.list[2].fields.IsButton?"wbr":""),children:(0,va.jsx)(vm.x,{field:null===(s=e.fields.list[2].fields.LinkTitle)||void 0===s?void 0:s.fields.Phrase})})})]})]})]}),(0,va.jsxs)("section",{className:"slider vt_ls animate",id:"highlight-intro",children:[(0,va.jsx)("figure",{className:"img-triangle"}),(0,va.jsx)("figure",{className:"graph_fh",style:{backgroundImage:"url('/files/swire-hotels/img/highlight_fh.png')"}}),(0,va.jsx)("figure",{className:"graph_layer animate",style:{backgroundImage:"url('/files/swire-hotels/img/highlight_layer.png')"}}),(0,va.jsx)("h2",{className:"animate",children:c(mT.W.PAGECONTENT.SHMAINPAGEHIGHLIGHT)})]}),(0,va.jsxs)("section",{className:"slider hl_section",id:"highlight1",children:[(0,va.jsx)("figure",{className:"graph_fh full-height animate",children:(0,va.jsx)("img",{"data-sc-src":"@(Model[3].Image_Mobile?.Src) @@mobile @(Model[3].Image?.Src) @@tablet@@de
1sktop"})}),(0,va.jsxs)("article",{className:"animate",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.list[3].fields.Title})}),(0,va.jsx)(vx.H,{field:e.fields.list[3].fields.Detail}),(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:e.fields.list[3].fields.Link,className:"sw-btn "+(e.fields.list[3].fields.IsButton?"wbr":""),children:(0,va.jsx)(vm.x,{field:null===(n=e.fields.list[3].fields.LinkTitle)||void 0===n?void 0:n.fields.Phrase})})})]})]}),(0,va.jsxs)("section",{className:"slider hl_section",id:"highlight2",children:[(0,va.jsx)("figure",{className:"graph_layer animate",id:"highlight2-doodle",children:c(mT.W.PAGECONTENT.SHMAINPAGEHIGLIGHT2)}),(0,va.jsxs)("div",{children:[(0,va.jsx)("figure",{className:"graph_br animate",children:(0,va.jsx)(vg.E,{field:e.fields.list[4].fields.Image})}),(0,va.jsxs)("article",{className:"animate",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.list[4].fields.Title})}),(0,va.jsx)(vx.H,{field:e.fields.list[4].fields.Detail}),(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:e.fields.list[4].fields.Link,className:"sw-btn "+(e.fields.list[4].fields.IsButton?"wbr":""),children:(0,va.jsx)(vm.x,{field:null===(a=e.fields.list[4].fields.LinkTitle)||void 0===a?void 0:a.fields.Phrase})})})]})]})]}),(0,va.jsxs)("section",{className:"slider hl_section",id:"highlight3",children:[(0,va.jsx)("figure",{className:"graph_fh full-height animate ",id:"highlight3-doodle",children:(0,va.jsx)("img",{"data-sc-src":v+" @@mobile"+u+" @@tablet@@desktop"})}),(0,va.jsx)("figure",{children:c(mT.W.PAGECONTENT.SHMAINPAGEHIGHLIGHT3DOODLE)}),(0,va.jsxs)("article",{className:"animate ",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.list[5].fields.Title})}),(0,va.jsx)(vx.H,{field:e.fields.list[5].fields.Detail}),(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:e.fields.list[5].fields.Link,className:"sw-btn "+(e.fields.list[5].fields.IsButton?"wbr":""),children:(0,va.jsx)(vm.x,{field:null===(d=e.fields.list[5].fields.LinkTitle)||void 0===d?void 0:d.fields.Phrase})})})]})]}),(0,va.jsxs)("section",{className:"slider hl_section",id:"highlight4",children:[(0,va.jsx)("figure",{className:"graph_layer animate ",id:"highlight4-doodle",children:c(mT.W.PAGECONTENT.SHMAINPAGEHIGHLIGHT4)}),(0,va.jsxs)("div",{children:[(0,va.jsxs)("article",{className:"animate ",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.list[6].fields.Title})}),(0,va.jsx)(vx.H,{field:e.fields.list[6].fields.Detail}),(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:e.fields.list[6].fields.Link,className:"sw-btn "+(e.fields.list[6].fields.IsButton?"wbr":""),children:(0,va.jsx)(vm.x,{field:null===(t=e.fields.list[6].fields.LinkTitle)||void 0===t?void 0:t.fields.Phrase})})})]}),(0,va.jsx)("figure",{className:"graph_br animate ",children:(0,va.jsx)(vg.E,{field:e.fields.list[6].fields.Image})})]})]}),(0,va.jsxs)("section",{className:"slider hl_section",id:"highlight5",children:[(0,va.jsxs)("article",{className:"animate ",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.list[7].fields.Title})}),(0,va.jsx)(vx.H,{field:e.fields.list[7].fields.Detail}),(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:e.fields.list[7].fields.Link,className:"sw-btn "+(e.fields.list[7].fields.IsButton?"wbr":""),children:(0,va.jsx)(vm.x,{field:null===(o=e.fields.list[7].fields.LinkTitle)||void 0===o?void 0:o.fields.Phrase})})})]}),(0,va.jsx)("figure",{className:"graph_layer",children:(0,va.jsx)(vg.E,{field:e.fields.list[7].fields.Image})})]}),(0,va.jsxs)("section",{className:"slider hl_section vt_ls",id:"highlight6",children:[(0,va.jsx)("figure",{className:"graph_br animate ",children:(0,va.jsx)(vg.E,{field:e.fields.list[8].fields.Image})}),(0,va.jsxs)("article",{className:"animate ",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.list[8].fields.Title})}),(0,va.jsx)(vx.H,{field:e.fields.list[8].fields.Detail}),(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:e.fields.list[8].fields.Link,className:"sw-btn "+(e.fields.list[8].fields.IsButton?"wbr":""),children:(0,va.jsx)(vm.x,{field:null===(r=e.fields.list[8].fields.LinkTitle)||void 0===r?void 0:r.fields.Phrase})})})]})]})]})};var N9=(0,vp.C)()(N7);let be=()=>{let{t:e}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"plain container",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col",children:e(mT.W.PAGECONTENT.SHCONTAINERDETAIL)})})})})};var bl=(0,vp.C)()(be);let bi=e=>{var l,i,s;if(null==e||null==e.fields.Popup)return(0,va.jsx)(va.Fragment,{});
1let n=null!=e.fields.Popup.fields.Image?"":"popup-box-grid__cont_noimage";return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"popup-box-background popup-box-overlay",children:(0,va.jsxs)("div",{className:"popup-box",children:[(0,va.jsx)("img",{className:"popup-checkmark",src:"/files/swire-hotels/img/popup_close.png",alt:""}),(0,va.jsxs)("div",{className:"popup-box-content "+n,children:[(0,va.jsx)("div",{className:"popup-box-grid__img",children:(0,va.jsx)(vg.E,{field:e.fields.Popup.fields.Image})}),(0,va.jsxs)("div",{className:"popup-box-grid__cont",children:[(0,va.jsx)("div",{className:"popup-box-grid__title",children:(0,va.jsx)(vm.x,{field:e.fields.Popup.fields.Title})}),(null===(l=e.fields.Popup.fields.CTAButtonText)||void 0===l?void 0:l.value)&&(null===(s=e.fields.Popup.fields.CTAButtonURL)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"popup-box-grid__message",children:(0,va.jsx)(vx.H,{field:e.fields.Popup.fields.MessageContent})}),(0,va.jsx)("div",{className:"popup-box-grid__button",children:(0,va.jsx)(vk,{field:e.fields.Popup.fields.CTAButtonURL,className:"primary btn with-icon-after chevron-round right",children:(0,va.jsx)(vm.x,{field:e.fields.Popup.fields.CTAButtonText})})})]}):(0,va.jsx)("div",{className:"popup-box-grid__message",children:(0,va.jsx)(vx.H,{field:e.fields.Popup.fields.MessageContent})})]})]})]})})})};var bs=(0,vp.C)()(bi);let bn=e=>null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"plain container",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col",children:(0,va.jsx)(vm.x,{field:e.fields.Text})})})})});var ba=(0,vp.C)()(bn);let bd=e=>{var l,i;if(null==e)return(0,va.jsx)(va.Fragment,{});let s="";s=null!=e.fields.Graphik&&(null===(l=e.fields.Graphik.value)||void 0===l?void 0:l.src)?s+"background-image: url('"+(null===(i=e.fields.Graphik.value)||void 0===i?void 0:i.src)+"');":s,s=e.fields.CSSPosition.value?s+"position:"+e.fields.CSSPosition.value+";":s,s=e.fields.CSSTop.value?s+"top:"+e.fields.CSSTop.value+";":s+"top:0px;",s="Left"===e.fields.GraphikPosition.value?e.fields.CSSAdjustableLeftOrRight.value?s+"left:"+e.fields.CSSAdjustableLeftOrRight.value+";":s+"left: 0px;":e.fields.CSSAdjustableLeftOrRight.value?s+"right:"+e.fields.CSSAdjustableLeftOrRight.value+";":s+"right: 0px;",s=e.fields.CSSZIndex.value?s+"z-index:"+e.fields.CSSZIndex.value+";":s,s=e.fields.CSSWidth.value?s+"width:"+e.fields.CSSWidth.value+";":s,s=(e.fields.CSSHeight.value?s+"height:"+e.fields.CSSHeight.value+";":s)+"content: ''; background-repeat: no-repeat; background-size: contain; ";let n="";n=e.fields.CSSMobileWidth.value?n+"width:"+e.fields.CSSMobileWidth.value+";":n,n=e.fields.CSSMobileHeight.value?n+"height:"+e.fields.CSSMobileHeight.value+";":n,n=e.fields.CSSMobilePosition.value?n+"position:"+e.fields.CSSMobilePosition.value+";":n,n=e.fields.CSSMobileTop.value?n+"top:"+e.fields.CSSMobileTop.value+";":n,n="Left"==e.fields.GraphikPosition.value?e.fields.CSSMobileAdjustableLeftOrRight.value?n+"left:"+e.fields.CSSMobileAdjustableLeftOrRight.value+";":n:e.fields.CSSMobileAdjustableLeftOrRight.value?n+"right:"+e.fields.CSSMobileAdjustableLeftOrRight.value+";":n;let a="";a=e.fields.CSSTabletPotraitWidth.value?a+"width:"+e.fields.CSSTabletPotraitWidth.value+" !important;":a,a=e.fields.CSSTabletPotraitHeight.value?a+"height:"+e.fields.CSSTabletPotraitHeight.value+" !important;":a,a=e.fields.CSSTabletPotraitPosition.value?a+"position:"+e.fields.CSSTabletPotraitPosition.value+";":a,a=e.fields.CSSTabletPotraitTop.value?n+"top:"+e.fields.CSSTabletPotraitTop.value+";":a,a="Left"==e.fields.GraphikPosition.value?e.fields.CSSTabletPotraitAdjustableLeftOrRight.value?a+"left:"+e.fields.CSSTabletPotraitAdjustableLeftOrRight.value+";":a:e.fields.CSSTabletPotraitAdjustableLeftOrRight.value?a+"right:"+e.fields.CSSTabletPotraitAdjustableLeftOrRight.value+";":a;let d="overlayBackgroundGraphik";d=e.fields.DisplayMobile?d+" overlayBackgroundGraphikHiddenMobile":d,d=e.fields.DisplayTabletPotrait?d+" overlayBackgroun
1dGraphikHiddenMobile":d;let t=e.fields.TextDisplayWidth.value?"width:"+e.fields.TextDisplayWidth.value+";":"";"Left"==e.fields.GraphikPosition.value&&(t+=" float: right;");let o=e.fields.TabletPotraitTextDisplayWidth.value?"width:"+e.fields.TabletPotraitTextDisplayWidth.value+";":"",r=e.fields.MobileTextDisplayWidth.value?"width:"+e.fields.MobileTextDisplayWidth.value+";":"",c="shtextblock";return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"intro lain container",children:[(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col",children:(e.fields.GraphikPosition.value,(0,va.jsx)("div",{className:"configurable-background-graphik-text "+c+"text","data-id":c+"text","data-css":t,"data-tcss":o,"data-mcss":r,children:(0,va.jsx)(vm.x,{field:e.fields.Text})}))})}),(0,va.jsx)("div",{className:c+" configurable-background-graphik "+d,"data-id":c,"data-css":s,"data-tcss":a,"data-mcss":n})]})})};var bt=(0,vp.C)()(bd);let bo=e=>null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"gallery theme-dark bordered container",children:(0,va.jsxs)("ul",{className:"item-list","data-sc-class":"h-float @@tablet@@desktop c3 @@tablet@@desktop",children:[(0,va.jsx)("li",{children:(0,va.jsx)("picture",{children:(0,va.jsx)(vg.E,{field:e.fields.LeftImage})})}),(0,va.jsx)("li",{children:(0,va.jsx)("picture",{children:(0,va.jsx)(vg.E,{field:e.fields.MiddleImage})})}),(0,va.jsx)("li",{children:(0,va.jsx)("picture",{children:(0,va.jsx)(vg.E,{field:e.fields.RightImage})})})]})})});var br=(0,vp.C)()(bo);let bc=e=>null==e||0==e.fields.list.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"framed bordered container",children:(0,va.jsx)("div",{className:"row",children:e.fields.list.map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsx)("div",{className:"col",children:null!=e?(0,va.jsxs)("div",{className:"desc",children:[null!=e.fields.Image?(0,va.jsx)("picture",{children:null==e.fields.Image_Mobile?(0,va.jsx)(vg.E,{field:e.fields.Image}):(0,va.jsx)("img",{"data-sc-src":(null===(i=e.fields.Image_Mobile.value)||void 0===i?void 0:i.src)+" @@mobile "+(null===(s=e.fields.Image.value)||void 0===s?void 0:s.src)+" @@tablet@@desktop",alt:""})}):"",e.fields.Title?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):"",e.fields.SubTitle?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.SubTitle})}):"",(0,va.jsx)(vx.H,{field:e.fields.Detail}),null!=e.fields.QuotedBy||(null===(a=e.fields.Link)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href)?(0,va.jsxs)(va.Fragment,{children:[(null===(d=e.fields.QuotedBy)||void 0===d?void 0:d.value)?(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.QuotedBy})}):"",(0,va.jsx)(vk,{field:e.fields.Link,className:"primary btn with-icon-after chevron-round right",children:(0,va.jsx)(vm.x,{field:null===(t=e.fields.LinkTitle)||void 0===t?void 0:t.fields.Phrase})})]}):""]}):""},l)})})})});var bv=(0,vp.C)()(bc);let bu=e=>null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"gallery theme-dark bordered container ",children:(0,va.jsxs)("ul",{className:"item-list","data-sc-class":"h-float @@tablet@@desktop c2 @@tablet@@desktop",children:[(0,va.jsx)("li",{children:(0,va.jsx)("picture",{children:(0,va.jsx)(vg.E,{field:e.fields.LeftImage})})}),(0,va.jsx)("li",{children:(0,va.jsx)("picture",{children:(0,va.jsx)(vg.E,{field:e.fields.RightImage})})})]})})});var bm=(0,vp.C)()(bu);let bx=e=>null==e||0==e.fields.list.length?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"divided bordered container",children:(0,va.jsx)("div",{className:"row",children:e.fields.list.map((e,l)=>{var i,s;return l<2?(0,va.jsx)("div",{className:"col",children:null!=e?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{children:[(null===(i=e.fields.Title)||void 0===i?void 0:i.value)?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):"",(0,va.jsx)(vx.H,{field:e.fields.Detail})]}),(0,va.jsx)("div",{children:(0,va.jsx)(vk,{field:e.fields.Link,className:"primary btn with-icon-after chevron-round right",children:(0,va.jsx)(vm.x,{field:null===(s=e.fields.LinkTitle)||void 0===s?void 0:s.fields.Phrase})})})]}):""},l):""})})})});var bp=(0,vp.C)()(bx);let bh={heading:"font-Belleza text-[36px] leading-[40px] lg:text-[56px] lg:leading-[56px] font-normal not-italic uppercase",subhead:"font-Amiko text-[20px] leading-[24px] lg:text-[26px] lg:leading-[30px] font-semibold uppercase [&_p:last-child]:mb-0","subhead-1":"font-Amiko text-[14px] leading-[18px] lg:text-[26px] lg:leading-[30px] font-semibold uppercase [&_p:last-child]:mb-0",body:"font-Amiko text-[14px] leading-[18px] lg:text-[18px] lg:leading-[26px] font-normal [&_p:last-child]:mb-0 [&_a]:underline","body-content-1":"font-Amiko text-[12px] leading-[16
1px] lg:text-[18px] lg:leading-[26px] font-bold [&_p:last-child]:mb-0 [&_a]:underline",cta:"font-Amiko text-[14px] leading-[14px] lg:text-[16px] lg:leading-[16px] font-bold uppercase",landing:"font-Belleza text-[26px] leading-[30px] lg:text-[40px] lg:leading-[46px] font-normal uppercase"},bf=/^\/(en|zh-cn|zh-hk)(?=\/|$)/i,bg=/(<a\b[^>]*\bhref\s*=\s*)(["'])([^"']*)(\2)/gi,bj=(e,l)=>vB(e)?e:null==e?void 0:e.replace(bg,(e,i,s,n,a)=>{if(!bf.test(n))return"".concat(i).concat(s).concat(n).concat(a);let d=l(n);return"".concat(i).concat(s).concat(d).concat(a)}),bN=e=>{let{Text:l,tag:i,...s}=e,{sitecoreContext:n}=(0,vr.z)(),a=n.pageEditing;if(!a&&vB(l)&&s.HideIfEmpty)return(0,va.jsx)(va.Fragment,{});let d=(null==n?void 0:n.language)||"en",t=e=>(0,vS.at)(e,d)||e,o=l;return a||(o="string"==typeof l||void 0===l?bj(l,t):{...l,value:bj(null==l?void 0:l.value,t)}),"string"==typeof o||void 0===o?(0,va.jsx)(vx.H,{field:{value:o},tag:i,className:vP(s.variant&&bh[s.variant],s.className)}):(0,va.jsx)(vx.H,{field:o,tag:i,className:vP(s.variant&&bh[s.variant],s.className)})},bb=e=>{var l;return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(bN,{Text:null===(l=e.fields)||void 0===l?void 0:l.Text})})};var bT=(0,vp.C)()(bb);let bS=e=>{var l,i;if(null==e)return(0,va.jsx)(va.Fragment,{});let s="";s=null!=e.fields.Graphik&&(null===(l=e.fields.Graphik.value)||void 0===l?void 0:l.src)?s+"background-image: url('"+(null===(i=e.fields.Graphik.value)||void 0===i?void 0:i.src)+"');":s,s=e.fields.CSSPosition.value?s+"position:"+e.fields.CSSPosition.value+";":s,s=e.fields.CSSTop.value?s+"top:"+e.fields.CSSTop.value+";":s+"top:0px;",s="Left"===e.fields.GraphikPosition.value?e.fields.CSSAdjustableLeftOrRight.value?s+"left:"+e.fields.CSSAdjustableLeftOrRight.value+";":s+"left: 0px;":e.fields.CSSAdjustableLeftOrRight.value?s+"right:"+e.fields.CSSAdjustableLeftOrRight.value+";":s+"right: 0px;",s=e.fields.CSSZIndex.value?s+"z-index:"+e.fields.CSSZIndex.value+";":s,s=e.fields.CSSWidth.value?s+"width:"+e.fields.CSSWidth.value+";":s,s=(e.fields.CSSHeight.value?s+"height:"+e.fields.CSSHeight.value+";":s)+"content: ''; background-repeat: no-repeat; background-size: contain; ";let n="";n=e.fields.CSSMobileWidth.value?n+"width:"+e.fields.CSSMobileWidth.value+";":n,n=e.fields.CSSMobileHeight.value?n+"height:"+e.fields.CSSMobileHeight.value+";":n,n=e.fields.CSSMobilePosition.value?n+"position:"+e.fields.CSSMobilePosition.value+";":n,n=e.fields.CSSMobileTop.value?n+"top:"+e.fields.CSSMobileTop.value+";":n,n="Left"==e.fields.GraphikPosition.value?e.fields.CSSMobileAdjustableLeftOrRight.value?n+"left:"+e.fields.CSSMobileAdjustableLeftOrRight.value+";":n:e.fields.CSSMobileAdjustableLeftOrRight.value?n+"right:"+e.fields.CSSMobileAdjustableLeftOrRight.value+";":n;let a="overlayBackgroundGraphik";a=e.fields.DisplayMobile?a+" overlayBackgroundGraphikHiddenMobile":a,a=e.fields.DisplayTabletPotrait?a+" overlayBackgroundGraphikHiddenMobile":a;let d=e.fields.TextDisplayWidth.value?"width:"+e.fields.TextDisplayWidth.value+";":"";"Left"==e.fields.GraphikPosition.value&&(d+=" float: right;");let t=e.fields.TabletPotraitTextDisplayWidth.value?"width:"+e.fields.TabletPotraitTextDisplayWidth.value+";":"",o=e.fields.MobileTextDisplayWidth.value?"width:"+e.fields.MobileTextDisplayWidth.value+";":"",r="shtextblock";return(0,va.jsx)(va.Fragment,{children:"Left"==e.fields.GraphikPosition.value?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"configurable-background-graphik "+r+" "+a,"data-id":r,"data-css":s,"data-mcss":n}),(0,va.jsx)("div",{className:"configurable-background-graphik-text "+r+"text","data-id":r+"text","data-css":d,"data-tcss":t,"data-mcss":o,children:(0,va.jsx)(vm.x,{field:e.fields.Text})})]}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"configurable-background-graphik-text "+r+"text","data-id":r+"text","data-css":d,"data-tcss":t,"data-mcss":o,children:(0,va.jsx)(vm.x,{field:e.fields.Text})}),(0,va.jsx)("div",{className:"configurable-background-graphik "+r+" "+a,"data-id":r,"data-css":s,"data-mcss":n})]})})};var bk=(0,vp.C)()(bS);let bw=e=>{var l,i;let{t:s}=(0,vT.QT)();return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"pl-20",children:(0,va.jsx)("div",{className:"htgt",children:(0,va.jsx)("div",{className:"accordion htgt--accordion",children:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.List)||void 0===l?void 0:l.map((l,i)=>{var n,a,d,t,o,r,c,v,u;return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"htgt--item",children:[(0,va.jsx)("div",{className:"htgt--title",id:null==l?void 0:null===(n=l.name)||void 0===n?void 0:n.replaceAll(" ",""),"data-scid":null==l?void 0:null===(a=l.id)||void 0===a?void 0:a.toUpperCase(),children:(0,va.jsx)("button",{className:"collapsed this-close enews-collapsible-button",type:"button","data-target":"#".concat((null==l?void 0:null===(d=l.name)||void 0===d?void 0:d.replaceAll(" ",""))+"Collapse"),"aria-expanded":"false","aria-controls":(null==l?void 0:null===(t=l.name)||void 0===t?void 0:t.replaceAll(" ",""))+"Collapse","data-login":(null===(o=l.fields)||void 0===o?void 0:o.RequiredLogin)?"True":"False",children:(0,va.jsxs)("div",{className:"accordion--row-wrapper",children:[(0,va.jsx)("div",{className:"col-sm-12 col-lg-5 px-0",children:(0,va.jsx)("div",{className:"accordion--imgWrap",children:(0,va.jsx)(m7,{field:l.fields.TeaserImage})})}),(0,va.jsx)("div",{className:"col-sm-12 col-lg-7",children:(0,va.jsx)("div",{className:"accordion--info-wrap",children:(0,va.jsxs)("div",{className:"accordion--info",children:[(null===(r=l.fields)||void 0===r?void 0:r.RequiredLogin)?(0,va.jsx)("span",{className:"member-exclusive",children:s(mT.W.PAGECONTENT.MEMBEREXCLUSIVE)}):"",(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:l.fields.Title})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:l.fields.SubTitle})})]})})})]})})}),(0,va.jsx)("div",{id:(null==l?void 0:null===(c=l.name)||void 0===c?void 0:c.replaceAll(" ",""))+"Collapse",className:"collapse show","aria-labelledby":null==l?void 0:null===(v=l.name)||void 0===v?void 0:v.replaceAll(" ",""),children:(0,va.jsxs)("div",{className:"enews htgt--content",children:[(0,va.jsx)("div",{className:"enew--share",children:(0,va.jsx)(vt.V,{name:"thc-enewsletter-socialshare-".concat(i),rendering:e.rendering})}),(0,va.jsx)("div",{className:"enews--banner",children:(0,va.jsx)("div",{className:"col-12 px-0",children:(0,va.jsx)(m7,{field:l.fields.Image})})}),(0,va.jsx)("div",{className:"enews--title",children:(0,va.jsx)("div",{className:"px-0",children:(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:l.fields.Title})})})}),(0,va.jsx)("div",{className:"enews--description",children:(0,va.jsx)("div",{className:"col-12 px-0",children:(0,va.jsx)(vx.H,{field:null===(u=l.fields)||void 0===u?void 0:u.ShortParagraph})})}),(0,va.jsx)("div",{className:"enew--media",children:(0,va.jsx)(vt.V,{name:"thc-enewsletter-media-".concat(i),rendering:e.rendering})}),(0,va.jsx)("div",{className:"enew--teaserlist",children:(0,va.jsx)(vt.V,{name:"thc-enewsletter-teaserlist-".concat(i),rendering:e.rendering})}),(0,va.jsx)("div",{className:"enew--carousel",children:(0,va.jsx)(vt.V,{name:"thc-enewsletter-carousel-".concat(i),rendering:e.rendering})}),(0,va.jsx)("div",{className:"enew--cta",children:(0,va.jsx)(vt.V,{name:"thc-enewsletter-cta-".concat(i),rendering:e.rendering})})]})})]},i)})})})})})})};var by=bw;let bE=e=>{var l,i,s,n,a,d;let{t}=(0,vT.QT)();return null==e?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"mb-100 pl-20",children:[(0,va.jsx)("div",{className:"htgt",children:(0,va.jsx)("div",{className:"accordion htgt--accordion mobile-htgt--accordion",children:null===(i=e.fields)||void 0===i?void 0:null===(l=i.List)||void 0===l?void 0:l.map((l,i)=>{var s,n,a,d,t,o,r,c,v,u,m;return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"htgt--item",children:[(0,va.jsx)("div",{className:"htgt--title",id:null==l?void 0:null===(s=l.name)||void 0===s?void 0:s.replace(" ",""),"data-scid":null==l?void 0:null===(n=l.id)||void 0===n?void 0:n.toUpperCase(),children:(0,va.jsxs)("button",{className:"collapsed this-close ",type:"button","data-toggle":"collapse","data-target":"#".concat((null==l?void 0:null===(a=l.name)||void 0===a?void 0:a.replace(" ",""))+"Collapse"),"aria-expanded":"false","aria-controls":(null==l?void 0:null===(d=l.name)||void 0===d?void 0:d.replace(" ",""))+"Collapse",children:[(0,va.jsx)("div",{className:"accordion--index mb-20",children:(i+1).toString().padStart(2,"0")}),(0,va.jsx)("div",{className:"accordion--row-wrapper",children:(0,va.jsxs)("div",{className:"col-sm-12 col-lg-5 px-0",children:[(0,va.jsx)("div",{className:"accordion--imgWrap",children:(0,va.jsx)(m7,{field:l.fields.TeaserImage})}),(0,va.jsx)("div",{className:"accordion--info-wrap",children:(0,va.jsxs)("div",{className:"accordion--info",children:[(0,va.jsx)("h3",{children:null===(o=l.fields)||void 0===o?void 0:null===(t=o.Title)||void 0===t?void 0:t.value}),(0,va.jsx)("p",{children:null===(c=l.fields)||void 0===c?void 0:null===(r=c.SubTitle)||void 0===r?void 0:r.value})]})})]})})]})}),(0,va.jsx)("div",{id:(null==l?void 0:null===(v=l.name)||void 0===v?void 0:v.replace(" ",""))+"Collapse",className:"collapse show","aria-labelledby":null==l?void 0:null===(u=l.name)||void 0===u?void 0:u.replace(" ",""),children:(0,va.jsxs)("div",{className:"enews htgt--content",children:[(0,va.jsx)("div",{className:"enew--share",children:(0,va.jsx)(vt.V,{name:"thc-enewsletter-socialshare-".concat(i),rendering:e.rendering})}),(0,va.jsx)("div",{className:"enews--banner",children:(0,va.jsx)("div",{className:"col-12 px-0",children:(0,va.jsx)(m7,{field:l.fields.Image})})}),(0,va.jsx)("div",{className:"enews--title",children:(0,va.jsx)("div",{className:"px-0",children:(0,va.jsx)(vm.x,{field:l.fields.Title})})}),(0,va.jsx)("div",{className:"enews--description",children:(0,va.jsx)("div",{className:"col-12 px-0",children:(0,va.jsx)(vx.H,{field:null===(m=l.fields)||void 0===m?void 0:m.ShortParagraph})})}),(0,va.jsx)("div",{className:"enew--media",children:(0,va.jsx)(vt.V,{name:"thc-enewsletter-media-".concat(i),rendering:e.rendering})}),(0,va.jsx)("div",{className:"enew--teaserlist",children:(0,va.jsx)(vt.V,{name:"thc-enewsletter-teaserlist-".concat(i),rendering:e.rendering})}),(0,va.jsx)("div",{className:"enew--carousel",children:(0,va.jsx)(vt.V,{name:"thc-enewsletter-carousel-".concat(i),rendering:e.rendering})}),(0,va.jsx)("div",{className:"enew--cta",children:(0,va.jsx)(vt.V,{name:"thc-enewsletter-cta-".concat(i),rendering:e.rendering})})]})})]})})})})}),(0,va.jsx)("div",{className:"mobile-article-list","data-toggle":"close",children:(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.List)||void 0===s?void 0:s.length)&&(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.List)||void 0===a?void 0:a.map((e,l)=>{var i,s,n;let a=l+1;return(0,va.jsxs)("div",{className:"mobile-article-list-index",children:[(0,va.jsx)("div",{className:"mobile-article-index-number",children:a.toString().padStart(2,"0")}),(0,va.jsx)("div",{className:"mobile-article-index-title",children:(0,va.jsx)("a",{href:"#","data-scid":null==e?void 0:null===(i=e.id)||void 0===i?void 0:i.toUpperCase(),children:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value})})]},l)}))}),(0,va.jsxs)("div",{className:"mobile-article-list-index-label","data-toggle":"close",children:[t(mT.W.PAGECONTENT.ARTICLE),(0,va.jsx)("span",{className:"open-menu",children:(0,va.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"bi bi-chevron-up",viewBox:"0 0 16 16",children:(0,va.jsx)("path",{"stroke-width":"10","fill-rule":"evenodd",d:"M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l
1-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"})})}),(0,va.jsx)("span",{className:"close-menu",children:(0,va.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"bi bi-chevron-down",viewBox:"0 0 16 16",children:(0,va.jsx)("path",{"stroke-width":"10","fill-rule":"evenodd",d:"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"})})})]})]})})};var bC=bE,bO=e=>{var l,i,s;let{locale:n}=(0,vT.QT)(),a=n(),{sitecoreContext:d}=(0,vr.z)(),t=d.pageEditing,o=null===(l=e.ItemName)||void 0===l?void 0:l.replace(/\s+/g,""),r="".concat(o,"Collapse");return(0,va.jsxs)("div",{className:"htgt--item no_taiwind",children:[(0,va.jsx)("div",{className:"htgt--title",id:o,children:(0,va.jsx)("button",{className:"collapsed this-close",type:"button","data-toggle":"collapse","data-target":"#".concat(r),"aria-expanded":"false","aria-controls":r,children:(0,va.jsx)(uf,{Text:e.Title,raw:!0,className:"".concat({en:"","zh-HK":"text-[14px] lg:text-[18px] leading-[26px] font-bold","zh-CN":"text-[14px] lg:text-[18px] leading-[26px] font-bold"}[a])})})}),(0,va.jsxs)("div",{id:r,className:"collapse","aria-labelledby":o,"data-parent":"#".concat(e.ParentName),children:[t&&(0,va.jsx)(fc.H,{field:e.Content,className:"htgt--content"}),!t&&(0,va.jsx)("div",{className:"htgt--content",dangerouslySetInnerHTML:{__html:null!==(s=null===(i=e.Content)||void 0===i?void 0:i.value)&&void 0!==s?s:""}})]})]})};let bL=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"Items",!0))return[];let r=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,c=(null==e?void 0:null===(n=e.params)||void 0===n?void 0:n.DetailTemplate)?null==e?void 0:null===(a=e.params)||void 0===a?void 0:a.DetailTemplate:ux.t9.RichCotent,v=null!==(o=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.language)&&void 0!==o?o:"en";return r?await (0,up.D)(r,c,v,100,!1):[]};var bI=(0,vp.C)()(e=>{var l,i;let s=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);vD(e,"Items",!0)&&(s=e.fields.Items);let n="howToGetThereAcc";return s&&s.length>0?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"mb-100 pl-20 module-wrapper",children:(0,va.jsxs)("div",{className:"htgt",children:[(0,va.jsx)(uf,{Text:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Title,tag:"h1",HideIfEmpty:!0}),(0,va.jsx)("div",{className:"accordion htgt--accordion",id:n,children:s.map((e,l)=>{var i,s;return(0,va.jsx)(bO,{Title:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Title,ItemName:e.name,Content:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Content,ParentName:n},l)})})]})})}):(0,va.jsx)(va.Fragment,{})});let bF="Service[GetItemParent]",b_=(0,xX.J3)(bF),bM=async(e,l)=>{let i=performance.now(),s=(0,xX.ah)("GetItemParentService",{startItem:e,language:l}),n=await b_.get(s);if((0,xX.Dx)()&&n)return x4.Z.common("[".concat(bF,"] get cached value for ").concat(s)),n;let a=(0,x0.W)(x2())({}),d=await a.request("\n query GetItemSiblings($rootItemId: String!, $language: String!) {\n item(path: $rootItemId, language: $language) {\n parent {\n id\n name\n template {\n id\n name\n }\n fields {\n name\n jsonValue\n }\n }\n }\n }\n",{rootItemId:(0,x5.Z9)(e),language:l}),t=(0,x5.K1)(d.item.parent),o=performance.now();return console.log("".concat(bF," taken to execute : ").concat(o-i,"ms for ").concat(s,".")),await b_.set(s,t),t},bR="Service[GetItemSiblings]",bP=(0,xX.J3)(bR),bA=async function(e,l,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,n=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",d=performance.now(),t=(0,xX.ah)("GetItemParentSiblingsService",{startItem:e,templateId:l,language:i,first:s.toString(),all:n.toString()}),o=await bP.get(t);if((0,xX.Dx)()&&o)return x4.Z.common("[".concat(bR,"] get cached value for ").concat(t)),o;let r=await bM((0,x5.Z9)(e),i);if(r){let e=(await (0,up.q)((0,x5.Z9)(null==r?void 0:r.id),l,i,s,n)
1).filter(e=>!a||!(0,x5.Ie)(e.id,a)),o=performance.now();return console.log("".concat(bR," taken to execute : ").concat(o-d,"ms for ").concat(t,".")),await bP.set(t,e),e}return[]},bD="Service[GetItemParentSiblings]",bB=(0,xX.J3)(bD),bV=async function(e,l,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,n=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=performance.now(),d=(0,xX.ah)("GetItemParentSiblingsService",{startItem:e,templateId:l,language:i,first:s.toString(),all:n.toString()}),t=await bB.get(d);if((0,xX.Dx)()&&t)return x4.Z.common("[".concat(bD,"] get cached value for ").concat(d)),t;let o=(0,x0.W)(x2())({}),r=[],c=!0,v="";for(;c;){let a=await o.request("\n query GetItemSiblings(\n $rootItemId: String!\n $language: String!\n $templates: [String]!\n $pageSize: Int = 10\n $after: String\n ) {\n item(path: $rootItemId, language: $language) {\n parent {\n parent {\n children(includeTemplateIDs: $templates, first: $pageSize, after: $after) {\n results {\n id\n name\n template {\n id\n name\n }\n fields {\n name\n jsonValue\n }\n url {\n url\n path\n }\n }\n pageInfo {\n endCursor\n hasNext\n }\n total\n }\n }\n }\n }\n }\n",{rootItemId:(0,x5.Z9)(e),templates:(0,x5.Z9)(l),language:i,afterCurs
1or:v,pageSize:s});r.push(...a.item.parent.parent.children.results),c=n&&a.item.parent.parent.children.pageInfo.hasNext,v=a.item.parent.parent.children.pageInfo.endCursor}let u=performance.now();return console.log("".concat(bD," taken to execute : ").concat(u-a,"ms for ").concat(d,".")),await bB.set(d,r),r},bW="Service[GetItemParentWithParent]",bH=(0,xX.J3)(bW),bG=async(e,l)=>{let i=performance.now(),s=(0,xX.ah)("GetItemParentService",{startItem:e,language:l}),n=await bH.get(s);if((0,xX.Dx)()&&n)return x4.Z.common("[".concat(bW,"] get cached value for ").concat(s)),n;let a=(0,x0.W)(x2())({}),d=await a.request("\n query GetItemParentWithParent($rootItemId: String!, $language: String!) {\n item(path: $rootItemId, language: $language) {\n parent {\n parent {\n id\n name\n template {\n id\n name\n }\n fields {\n name\n jsonValue\n }\n url {\n url\n path\n }\n }\n }\n }\n }\n",{rootItemId:(0,x5.Z9)(e),language:l}),t=(0,x5.K1)(d.item.parent.parent),o=performance.now();return console.log("".concat(bW," taken to execute : ").concat(o-i,"ms for ").concat(s,".")),await bH.set(s,t),t},bU=e=>{var l;let{t:i,locale:s}=(0,vT.QT)(),n=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),a=null==n?void 0:n.slice(0,3).map(e=>({fields:e}));return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"more more--wrap mb-100 p-40",children:(0,va.jsx)("div",{className:"row",children:(null==a?void 0:a.length)&&(null==a?void 0:a.map((e,l)=>{var n,a,d,t,o;return(0,va.jsx)("div",{className:"col-sm-12 col-lg-4 module-wrapper",children:(0,va.jsxs)("div",{className:"more--item",children:[(0,va.jsx)("a",{href:(0,vS.at)(null===(a=e.fields)||void 0===a?void 0:null===(n=a._UrlInfo)||void 0===n?void 0:n.path,s()),className:"more--img",children:(0,va.jsx)(m7,{field:e.fields.TeaserImage})}),(0,va.jsx)("div",{className:"more--info",children:(0,va.jsxs)("div",{className:"info-wrapper",children:[e.fields.SubTitle?(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:e.fields.SubTitle})}):"",e.fields.Title?(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):"",(null===(d=e.fields.VenueHouses)||void 0===d?void 0:d.fields.Text)?(0,va.jsx)("h5",{children:(0,va.jsx)(vm.x,{field:e.fields.VenueHouses.fields.Text})}):"",e.fields.ShortParagraph?(0,va.jsx)(vx.H,{field:e.fields.ShortParagraph}):"",(0,va.jsxs)("a",{href:(0,vS.at)(null===(o=e.fields)||void 0===o?void 0:null===(t=o._UrlInfo)||void 0===t?void 0:t.path,s()),className:"btn btn--white",children:[(0,va.jsx)("span",{children:i(mT.W.PAGECONTENT.DETAILBUTTON)}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})]})},l)}))})})})},bz=async(e,l)=>{var i,s,n,a,d,t,o,r,c,v,u;let m=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,x=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.route)||void 0===n?void 0:n.templateName,p=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.DetailTemplate)?null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.DetailTemplate:ux.t9.ExperienceDetail,h=null!==(u=null==l?void 0:null===(r=l.sitecore)||void 0===r?void 0:null===(o=r.context)||void 0===o?void 0:o.language)&&void 0!==u?u:"en";if(m&&x&&-1===x.indexOf("Experiences")){let e=[];
1if(m&&x&&x.indexOf("Article Detail")>-1){let l=await bG(m,h);l&&(m=l.id);let i=await pX(m,ux.t9.YearContent,h,10,!0);if(null==i?void 0:i.length)for(let l of i){let i=await (0,up.q)(l.id,ux.t9.ActicleDetail,h,10,!0);if((null==i?void 0:i.length)&&e.push(...i.filter(e=>{var l;return null===(l=e.HasDetailsContent)||void 0===l?void 0:l.value})),e.length>=3)break}return e.slice(0,Math.min(3,e.length))}let l=await bV(m,ux.t9.YearContent,h,10,!0);if(null==l?void 0:l.length)for(let i of l){let l=await (0,up.q)(i.id,ux.t9.ActicleDetail,h,10,!0);if((null==l?void 0:l.length)&&e.push(...l.filter(e=>{var l;return null===(l=e.HasDetailsContent)||void 0===l?void 0:l.value})),e.length>=3)break}return e.slice(0,Math.min(3,e.length))}return m?await bA(m,p,h,4,!1,null==l?void 0:null===(v=l.sitecore)||void 0===v?void 0:null===(c=v.route)||void 0===c?void 0:c.itemId):[]};var bq=bU,bQ=(0,vp.C)()(e=>{var l,i;let{t:s,locale:n}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"col-sm-12 col-lg-9",children:(0,va.jsx)("div",{className:"tab--right module-wrapper reveal",children:(0,va.jsx)("div",{className:"row js-append-here",children:(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.ArticleDetailWithHouseFilterAndTitleImagePageContents)?Object.values(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.ArticleDetailWithHouseFilterAndTitleImagePageContents).map((e,l)=>{var i,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b;return(0,va.jsx)("div",{className:"col-lg-6",children:(0,va.jsx)("a",{className:"tab--item",href:"",children:(0,va.jsx)("div",{className:"tab--img__wrap",children:(0,va.jsxs)("div",{className:"tab--img",children:[(0,va.jsx)(vg.E,{field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.TeaserImage}),(0,va.jsxs)("div",{className:"tab--item__inner",children:[(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.TitleImage)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.src)||null==e||null===(r=e.fields)||void 0===r||null===(o=r.Title)||void 0===o||!o.value?(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.TitleImage)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src)?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vg.E,{field:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:x.TitleImage})}):(0,va.jsx)(va.Fragment,{})}):(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.Title})}),(0,va.jsxs)("div",{className:"tab--item__cta",children:[(null==e?void 0:null===(h=e.fields)||void 0===h?void 0:null===(p=h.ShortParagraph)||void 0===p?void 0:p.value)?(0,va.jsx)("div",{className:"sc-richtext-wrapper",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(f=e.fields)||void 0===f?void 0:f.ShortParagraph})}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(j=e.fields)||void 0===j?void 0:null===(g=j.HasDetailsContent)||void 0===g?void 0:g.value)==!0?(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(b=e.fields)||void 0===b?void 0:null===(N=b.Url)||void 0===N?void 0:N.value,n()),className:"btn btn--white",children:[(0,va.jsx)("span",{children:s(mT.W.PAGECONTENT.DISCOVERMORE)}),(0,va.jsx)("span",{className:"icon-angle"})]}):(0,va.jsx)(va.Fragment,{})]})]})]})})})},l)}):(0,va.jsx)(va.Fragment,{})})})})})}),bY=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h;let{t:f}=(0,vT.QT)(),g=e.fields.HousesContent[0];return(0,va.jsxs)(va.Fragment,{children:[(null==g?void 0:null===(n=g.fields)||void 0===n?void 0:null===(s=n.FilterType)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value)!="-"?(0,va.jsx)("h2",{children:null==g?void 0:null===(o=g.fields)||void 0===o?void 0:null===(t=o.FilterType)||void 0===t?void 0:null===(d=t.fields)||void 0===d?void 0:null===(a=d.Title)||void 0===a?void 0:a.value}):(0,va.jsx)(va.Fragment,{}),e.fields.HousesContent.length<2?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("div",{className:"dropdown-wrapper",children:[(0,va.jsx)("label",{htmlFor:"dropdown--year",children:f(mT.W.PAGECONTENT.HOUSES)}),(0,va.jsxs)("select",{className:"dropdown m-select ".concat(null==g?void 0:null===(c=g.fields)||void 0===c?void 0:null===(r=c.TemplateId)||void 0===r?void 0:r.value),children:[(0,va.jsx)("option",{value:null==g?void 0:null===(u=g.fields)||void 0===u?void 0:null===(v=u.TemplateId)||void 0===v?void 0:v.value,children:null==g?void 0:null===(h=g.fields)||void 0===h?void 0:null===(p=h.FilterType)||void 0===p?void 0:null===(x=p.fields)||void 0===x?void 0:null===(m=x.Title)||void 0===m?void 0:m.value}),e.fields.HousesContent?Object.values(e.fields.HousesContent).map((e,l)=>{var i,s,n,a;return(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.TemplateId)||void 0===i?void 0:i.value,children:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Title)||void 0===n?void 0:n.value},l)}):(0,va.jsx)(va.Fragment,{})]})]})]})};let bK=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K;let{article:Z}=e;if(!Z)return(0,va.jsx)(va.Fragment,{});let{t:J,locale:X}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsxs)("div",{className:"tab--item",children:[(null===(l=Z.fields.HasDetail
1sContent)||void 0===l?void 0:l.value)?(0,va.jsx)("a",{href:(0,vS.at)(null===(s=Z.fields)||void 0===s?void 0:null===(i=s._UrlInfo)||void 0===i?void 0:i.path,X()),children:(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null==Z?void 0:null===(d=Z.fields)||void 0===d?void 0:null===(a=d.TeaserImage)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src)&&(0,va.jsxs)("div",{className:"tab--img",children:[(0,va.jsx)("img",{src:null==Z?void 0:null===(r=Z.fields)||void 0===r?void 0:null===(o=r.TeaserImage)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.src}),(0,va.jsx)("div",{className:"tab--item__inner"})]}),(null==Z?void 0:null===(v=Z.fields)||void 0===v?void 0:null===(c=v.UpComing)||void 0===c?void 0:c.value)&&(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:J(mT.W.PAGECONTENT.UPCOMING)})})]})}):(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null==Z?void 0:null===(x=Z.fields)||void 0===x?void 0:null===(m=x.TeaserImage)||void 0===m?void 0:null===(u=m.value)||void 0===u?void 0:u.src)&&(0,va.jsxs)("div",{className:"tab--img",children:[(0,va.jsx)("img",{src:null==Z?void 0:null===(f=Z.fields)||void 0===f?void 0:null===(h=f.TeaserImage)||void 0===h?void 0:null===(p=h.value)||void 0===p?void 0:p.src}),(0,va.jsx)("div",{className:"tab--item__inner"})]}),(null==Z?void 0:null===(j=Z.fields)||void 0===j?void 0:null===(g=j.UpComing)||void 0===g?void 0:g.value)&&(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:J(mT.W.PAGECONTENT.UPCOMING)})})]}),(0,va.jsxs)("div",{className:"tab--info",children:[(null==Z?void 0:null===(b=Z.fields)||void 0===b?void 0:null===(N=b.isTitleFirst)||void 0===N?void 0:N.value)?(0,va.jsxs)(va.Fragment,{children:[(null==Z?void 0:null===(S=Z.fields)||void 0===S?void 0:null===(T=S.Title)||void 0===T?void 0:T.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null==Z?void 0:null===(w=Z.fields)||void 0===w?void 0:null===(k=w.Title)||void 0===k?void 0:k.value}}),(null==Z?void 0:null===(E=Z.fields)||void 0===E?void 0:null===(y=E.SubTitle)||void 0===y?void 0:y.value)&&(0,va.jsx)("h5",{dangerouslySetInnerHTML:{__html:null==Z?void 0:null===(O=Z.fields)||void 0===O?void 0:null===(C=O.SubTitle)||void 0===C?void 0:C.value}})]}):(0,va.jsxs)(va.Fragment,{children:[(null==Z?void 0:null===(I=Z.fields)||void 0===I?void 0:null===(L=I.SubTitle)||void 0===L?void 0:L.value)&&(0,va.jsx)("h3",{dangerouslySetInnerHTML:{__html:null==Z?void 0:null===(_=Z.fields)||void 0===_?void 0:null===(F=_.SubTitle)||void 0===F?void 0:F.value}}),(null==Z?void 0:null===(R=Z.fields)||void 0===R?void 0:null===(M=R.Title)||void 0===M?void 0:M.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null==Z?void 0:null===(A=Z.fields)||void 0===A?void 0:null===(P=A.Title)||void 0===P?void 0:P.value}}),(null==Z?void 0:null===(D=Z.fields)||void 0===D?void 0:D.VenueHouses)&&(0,va.jsx)("h5",{dangerouslySetInnerHTML:{__html:null==Z?void 0:null===(W=Z.fields)||void 0===W?void 0:null===(V=W.VenueHouses)||void 0===V?void 0:null===(B=V.fields)||void 0===B?void 0:B.Text}})]}),(null==Z?void 0:null===(G=Z.fields)||void 0===G?void 0:null===(H=G.ShortParagraph)||void 0===H?void 0:H.value)&&(0,va.jsx)(vx.H,{children:null==Z?void 0:null===(z=Z.fields)||void 0===z?void 0:null===(U=z.ShortParagraph)||void 0===U?void 0:U.value}),(null==Z?void 0:null===(Q=Z.fields)||void 0===Q?void 0:null===(q=Q.HasDetailsContent)||void 0===q?void 0:q.value)&&(0,va.jsxs)("a",{href:(0,vS.at)(null===(K=Z.fields)||void 0===K?void 0:null===(Y=K._UrlInfo)||void 0===Y?void 0:Y.path,X()),className:"btn btn--white",children:[(0,va.jsx)("span",{children:J(mT.W.PAGECONTENT.DISCOVERMORE)}),(0,va.jsx)("span",{className:"icon-angle"})]})]})]})})})},b$=(0,vd.forwardRef)((e,l)=>{let{pageFields:i,dictArticleDetailPageContent:s,housesContents:n,filterValue:a,...d}=e,{t}=(0,vT.QT)(),o=a||(null==n?void 0:null===(c=n[0])||void 0===c?void 0:c.template.id),r=[];var c,v,u,m,x,p,h=!1,f=0;if(s){if(null==i?void 0:null===(u=i.HasFilter)||void 0===u?void 0:u.value){let e=Object.keys(s).find(e=>(0,x5.Ie)(e,o));e&&(null===(x=s[e])||void 0===x?void 0:x.length)&&r.push(...s[e])}else for(let e in s)r.push(...s[e]);f=(null==i?void 0:null===(m=i.NumberRangeItem)||void 0===m?void 0:m.value)?i.NumberRangeItem.value:r.length}let[g,j]=(0,vd.useState)(f);return r.length&&(h=r.length-g>0),(0,vd.useImperativeHandle)(l,()=>({setRecordToShow(e){j(e)}}),[]),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"m-tab--intro p-40 module-wrapper",children:(0,va.jsx)(bY,{fields:{HousesContent:n},rendering:d.rendering,params:d.params})}),(0,va.jsx)("div",{className:"m-tab--slider module-wrapper",children:(0,va.jsx)("div",{className:"swiper-container m-tab--sliderContainer","data-parameterId":o,"data-pageBefore":f,children:(0,va.jsxs)("div",{className:"swiper-wrapper",children:[r&&Object.values(r.splice(0,g)).map((e,l)=>(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)(bK,{article:e},l)},l)),h?(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)("div",{className:"tab--item",children:(0,va.jsx)("div",{className:"tab--img__wrap",children:(0,va.jsxs)("div",{className:"tab--img",children:[(0,va.jsx)("input",{type:"hidden",name:"numberRangeItem",id:"numberRangeItem",defaultValue:null!==(p=null==i?void 0:null===(v=i.NumberRangeItem)||void 0===v?void 0:v.value)&&void 0!==p?p:0}),(0,va.jsx)("input",{type:"hidden",name:"hasMoreContent",id:"hasMoreContent",value:"1"}
1),(0,va.jsx)("input",{id:"loadMoreBackground",name:"loadMoreBackground",type:"hidden",defaultValue:"".concat("https://edge.sitecorecloud.io/swirehotels1-swirehotels-production-ebf6","/media/SwireHotels/TheHouseCollective/TheUpperHouse/Images/tuh-filter-loadmore.jpg?h=300&iar=0&w=450&rev=11be9dbe554040ee9e8c9eeef2d41d9b&hash=8132D5988B51E29F9B04D72E93303484")}),(0,va.jsx)("div",{className:"tab--img__item tab--loadmore",style:{backgroundImage:"url(".concat("".concat("https://edge.sitecorecloud.io/swirehotels1-swirehotels-production-ebf6","/media/SwireHotels/TheHouseCollective/TheUpperHouse/Images/tuh-filter-loadmore.jpg?h=300&iar=0&w=450&rev=11be9dbe554040ee9e8c9eeef2d41d9b&hash=8132D5988B51E29F9B04D72E93303484"),")")},children:(0,va.jsx)("p",{className:"slide-append-button btn btn--mega btn--white",onClick:()=>{var e,l;return j(g+(null!==(l=null==i?void 0:null===(e=i.NumberRangeItem)||void 0===e?void 0:e.value)&&void 0!==l?l:0))},children:(0,va.jsx)("span",{children:t(mT.W.PAGECONTENT.LOADMORE)})})})]})})})}):(0,va.jsx)("input",{type:"hidden",name:"hasMoreContent",id:"hasMoreContent",value:"0"})]})})})]})});b$.displayName="ThcArticleDataByHousesMobile";let bZ=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R;if(!(null===(l=e.Data)||void 0===l?void 0:l.fields))return(0,va.jsx)(va.Fragment,{});let{t:P,locale:A}=(0,vT.QT)();function D(l){var i,s,n=null===(s=e.Data)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:i.filter(e=>e.name==l);return n&&n.length>0?JSON.parse(JSON.stringify(n[0].jsonValue)):null}return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"col-lg-6",children:(0,va.jsxs)("div",{className:"tab--item",children:[(null===(i=D("hasDetails"))||void 0===i?void 0:i.value)=="1"?(0,va.jsx)("a",{href:(0,vS.at)(null===(s=D("url"))||void 0===s?void 0:s.url,A()),children:(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null===(a=D("TeaserImage"))||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src)&&(0,va.jsx)("div",{className:"tab--img",children:(0,va.jsx)("img",{src:null===(t=D("TeaserImage"))||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.src,alt:null===(r=D("TeaserImage"))||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.alt})}),(null===(c=D("Upcoming"))||void 0===c?void 0:c.value)==!0&&(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:P(mT.W.PAGECONTENT.UPCOMING)})})]})}):(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null===(u=D("TeaserImage"))||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src)&&(0,va.jsx)("div",{className:"tab--img",children:(0,va.jsx)("img",{src:null===(x=D("TeaserImage"))||void 0===x?void 0:null===(m=x.value)||void 0===m?void 0:m.src,alt:null===(h=D("TeaserImage"))||void 0===h?void 0:null===(p=h.value)||void 0===p?void 0:p.alt})}),(null===(f=D("UpComing"))||void 0===f?void 0:f.value)==!0&&(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:P(mT.W.PAGECONTENT.UPCOMING)})})]}),(0,va.jsxs)("div",{className:"tab--info",children:[(null===(g=D("isTitleFirst"))||void 0===g?void 0:g.value)==!0?(0,va.jsxs)(va.Fragment,{children:[(null===(j=D("Title"))||void 0===j?void 0:j.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null===(N=D("Title"))||void 0===N?void 0:N.value}}),(null===(b=D("SubTitle"))||void 0===b?void 0:b.value)&&(0,va.jsx)("h5",{dangerouslySetInnerHTML:{__html:null===(T=D("SubTitle"))||void 0===T?void 0:T.value}})]}):(0,va.jsxs)(va.Fragment,{children:[(null===(S=D("SubTitle"))||void 0===S?void 0:S.value)&&(0,va.jsx)("h3",{dangerouslySetInnerHTML:{__html:null===(k=D("SubTitle"))||void 0===k?void 0:k.value}}),(null===(w=D("Title"))||void 0===w?void 0:w.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null===(y=D("Title"))||void 0===y?void 0:y.value}}),(null===(E=D("VenueHouses"))||void 0===E?void 0:E.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null===(I=D("VenueHouses"))||void 0===I?void 0:null===(L=I.fields)||void 0===L?void 0:null===(O=L.Location)||void 0===O?void 0:null===(C=O.fields)||void 0===C?void 0:C.Text}})]}),(null===(F=D("ShortParagraph"))||void 0===F?void 0:F.value)&&(0,va.jsx)("div",{dangerouslySetInnerHTML:{__html:null===(_=D("ShortParagraph"))||void 0===_?void 0:_.value}}
1),(null===(M=D("HasDetailsContent"))||void 0===M?void 0:M.value)==!0&&(0,va.jsxs)("a",{href:(0,vS.at)(null===(R=D("url"))||void 0===R?void 0:R.url,A()),className:"btn btn--white",children:[(0,va.jsx)("span",{children:P(null===mT.W||void 0===mT.W?void 0:mT.W.PAGECONTENT.DISCOVERMORE)}),(0,va.jsx)("span",{className:"icon-angle"})]})]})]})})})};var bJ=(0,vp.C)()(e=>{let l=e.params.parameter,i=null===(o=e.fields.ResultData)||void 0===o?void 0:null===(t=o.children)||void 0===t?void 0:t.results,{t:s}=(0,vT.QT)();var n=[],a=!1,d=0;if(i&&(null==i?void 0:i.length)>0){if(n=(null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(c=v.ResultData)||void 0===c?void 0:null===(r=c.HasFilter)||void 0===r?void 0:r.value)=="1"?i.filter(e=>{var i,s;return(null==e?void 0:null===(i=e.template)||void 0===i?void 0:i.id)&&(null==e?void 0:null===(s=e.template)||void 0===s?void 0:s.id)==l}):i,(null===(x=e.fields)||void 0===x?void 0:null===(m=x.ResultData)||void 0===m?void 0:null===(u=m.NumberRangeItem)||void 0===u?void 0:u.value)!="0"){var t,o,r,c,v,u,m,x,p,h,f=parseInt(null===(h=e.fields)||void 0===h?void 0:null===(p=h.ResultData.NumberRangeItem)||void 0===p?void 0:p.value);n&&(console.log(null==n?void 0:n.length,f),a=(null==n?void 0:n.length)-f>0,n=n.slice(0,f)),d=f}else d=n.length}var g=n.map(e=>({Item:e.children.results}));return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("input",{type:"hidden",name:"pageBefore",value:d}),(0,va.jsx)("div",{className:"col-sm-12 col-lg-9",id:"divtoDisplayPartial",children:(0,va.jsxs)("div",{className:"tab--right module-wrapper",children:[(0,va.jsx)("div",{className:"row js-append-here",children:g&&Object.values(g).map((e,l)=>(0,va.jsx)(vd.Fragment,{children:(null==e?void 0:e.Item)&&Object.values(null==e?void 0:e.Item).map((e,l)=>(0,va.jsx)(bZ,{Data:e},l))},l))}),(0,va.jsx)("button",{className:"btn btn--white btn--mega js-append",id:"btn-LoadMore",style:{display:"".concat(a?"":"none")},children:(0,va.jsx)("span",{children:s(null===mT.W||void 0===mT.W?void 0:mT.W.PAGECONTENT.LOADMORE)})})]})})]})});let bX=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G;let{article:U}=e,{t:z,locale:q}=(0,vT.QT)();return(0,va.jsx)("div",{className:"col-lg-6",children:(0,va.jsxs)("div",{className:"tab--item",children:[(null==U?void 0:null===(i=U.fields)||void 0===i?void 0:null===(l=i.HasDetailsContent)||void 0===l?void 0:l.value)?(0,va.jsx)("a",{href:(0,vS.at)(null==U?void 0:null===(s=U.urlInfo)||void 0===s?void 0:s.path,q()),children:(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null==U?void 0:null===(a=U.fields)||void 0===a?void 0:null===(n=a.TeaserImage)||void 0===n?void 0:n.value)&&(0,va.jsx)("div",{className:"tab--img",children:(0,va.jsx)(m7,{field:null==U?void 0:null===(d=U.fields)||void 0===d?void 0:d.TeaserImage})}),(null==U?void 0:null===(o=U.fields)||void 0===o?void 0:null===(t=o.UpComing)||void 0===t?void 0:t.value)&&(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:z(mT.W.PAGECONTENT.UPCOMING)||"Upcoming"})})]})}):(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null==U?void 0:null===(c=U.fields)||void 0===c?void 0:null===(r=c.TeaserImage)||void 0===r?void 0:r.value)&&(0,va.jsx)("div",{className:"tab--img",children:(0,va.jsx)(m7,{field:null==U?void 0:null===(v=U.fields)||void 0===v?void 0:v.TeaserImage})}),(null==U?void 0:null===(m=U.fields)||void 0===m?void 0:null===(u=m.UpComing)||void 0===u?void 0:u.value)&&(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:z(mT.W.PAGECONTENT.UPCOMING)||"Upcoming"})})]}),(0,va.jsxs)("div",{className:"tab--info",children:[(null==U?void 0:null===(p=U.fields)||void 0===p?void 0:null===(x=p.isTitleFirst)||void 0===x?void 0:x.value)?(0,va.jsxs)(va.Fragment,{children:[(null==U?void 0:null===(I=U.fields)||void 0===I?void 0:null===(L=I.Title)||void 0===L?void 0:L.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null==U?void 0:null===(_=U.fields)||void 0===_?void 0:null===(F=_.Title)||void 0===F?void 0:F.value}}),(null==U?void 0:null===(R=U.fields)||void 0===R?void 0:null===(M=R.SubTitle)||void 0===M?void 0:M.value)&&(0,va.jsx)("h3",{dangerouslySetInnerHTML:{__html:null==U?void 0:null===(A=U.fields)||void 0===A?void 0:null===(P=A.SubTitle)||void 0===P?void 0:P.value}})]}):(0,va.jsxs)(va.Fragment,{children:[(null==U?void 0:null===(f=U.fields)||void 0===f?void 0:null===(h=f.SubTitle)||void 0===h?void 0:h.value)&&(0,va.jsx)("h3",{dangerouslySetInnerHTML:{__html:null==U?void 0:null===(j=U.fields)||void 0===j?void 0:null===(g=j.SubTitle)||void 0===g?void 0:g.value}}),(null==U?void 0:null===(b=U.fields)||void 0===b?void 0:null===(N=b.Title)||void 0===N?void 0:N.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null==U?void 0:null===(S=U.fields)||void 0===S?void 0:null===(T=S.Title)||void 0===T?void 0:T.value}}),(null==U?void 0:null===(w=U.fields)||void 0===w?void 0:null===(k=w.VenueHouses)||void 0===k?void 0:k.fields)&&(0,va.jsx)("h5",{dangerouslySetInnerHTML:{__html:null==U?void 0:null===(O=U.fields)||void 0===O?void 0:null===(C=O.VenueHouses)||void 0===C?void 0:null===(E=C.fields)||void 0===E?void 0:null===(y=E.Text)||void 0===y?void 0:y.value}})]}),(null==U?void 0:null===(B=U.fields)||void 0===B?void 0:null===(D=B.ShortParagraph)||void 0===D?void 0:D.value)&&(0,va.jsx)(fc.H,{field:null==U?void 0:null===(V=U.fields)||void 0===V?void 0:V.ShortParagraph,className:"sc-richtext-wrapper"}),(null==U?void 0:null===(H=U.fields)||void 0===H?void 0:null===(W=H.HasDetail
1sContent)||void 0===W?void 0:W.value)&&(0,va.jsxs)("a",{href:(0,vS.at)(null==U?void 0:null===(G=U.urlInfo)||void 0===G?void 0:G.path,q()),className:"btn btn--white",children:[(0,va.jsx)("span",{children:z(mT.W.PAGECONTENT.DISCOVERMORE)||"Discover more"}),(0,va.jsx)("span",{className:"icon-angle"})]})]})]})})},b0=(0,vd.forwardRef)((e,l)=>{let{defaultValue:i,dictArticleDetailPageContent:s,pageFields:n,defaultFilterValue:a}=e,{t:d}=(0,vT.QT)(),t=[],o=!1,r=0;if(s){var c,v,u;if(null==n?void 0:null===(c=n.HasFilter)||void 0===c?void 0:c.value){let e=Object.keys(s).find(e=>(0,x5.Ie)(e,i));e&&(null===(u=s[e])||void 0===u?void 0:u.length)&&t.push(...s[e])}else for(let e in s)t.push(...s[e]);a&&(t=t.filter(e=>(0,x5.Ie)(e.parentId,a))),r=(null==n?void 0:null===(v=n.NumberRangeItem)||void 0===v?void 0:v.value)?n.NumberRangeItem.value:t.length}let[m,x]=(0,vd.useState)(r);return t.length&&(o=t.length-m>0),(0,vd.useImperativeHandle)(l,()=>({setRecordToShow(e){x(e)}}),[]),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("input",{type:"hidden",name:"pageBefore",id:"pageBefore",defaultValue:m}),(0,va.jsxs)("div",{className:"col-sm-12 col-lg-9",id:"divtoDisplayPartial",children:[(0,va.jsx)("div",{className:"tab--right module-wrapper",children:(0,va.jsx)("div",{className:"row js-append-here",children:t.slice(0,m).map((e,l)=>(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)(bX,{article:e})},l))})}),(0,va.jsx)("button",{className:"btn btn--white btn--mega",id:"btn-LoadMore",onClick:()=>{var e,l;return x(m+(null!==(l=null==n?void 0:null===(e=n.NumberRangeItem)||void 0===e?void 0:e.value)&&void 0!==l?l:0))},style:{display:o?void 0:"none"},children:(0,va.jsx)("span",{children:d(mT.W.PAGECONTENT.LOADMORE)||"Load more"})})]})]})});b0.displayName="ThcArticleDataByYearsHousesPartial";var b1=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c;let{t:v}=(0,vT.QT)(),u=e.fields.YearsContent[0],m=e.fields.YearsContent.length>1?"":"none";return(0,va.jsxs)(va.Fragment,{children:[(null==u?void 0:null===(s=u.FilterType)||void 0===s?void 0:null===(i=s.targetItem)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value)=="-"?(0,va.jsx)(va.Fragment,{}):(0,va.jsxs)("h2",{children:[null==u?void 0:null===(a=u.FilterType)||void 0===a?void 0:null===(n=a.targetItem.Title)||void 0===n?void 0:n.value," "]}),(0,va.jsxs)("div",{className:"dropdown-wrapper",style:{display:"".concat(m)},children:[(0,va.jsx)("label",{htmlFor:"dropdown--year",children:v(mT.W.PAGECONTENT.YEAR)}),(0,va.jsxs)("select",{className:"dropdown m-select ".concat(null==u?void 0:null===(d=u.template)||void 0===d?void 0:d.id),children:[u?(0,va.jsx)("option",{value:null==u?void 0:null===(t=u.template)||void 0===t?void 0:t.id,children:null==u?void 0:null===(c=u.FilterType)||void 0===c?void 0:null===(r=c.targetItem)||void 0===r?void 0:null===(o=r.Value)||void 0===o?void 0:o.value}):(0,va.jsx)(va.Fragment,{}),e.fields.YearsContent?Object.values(e.fields.YearsContent).map((e,l)=>(0,va.jsxs)("option",{value:null==e?void 0:e.id,children:[null==e?void 0:e.name," "]},l)):(0,va.jsx)(va.Fragment,{})]})]})]})});let b2=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R;if(!(null===(l=e.Data)||void 0===l?void 0:l.fields))return(0,va.jsx)(va.Fragment,{});let{t:P,locale:A}=(0,vT.QT)();function D(l){var i,s,n=null===(s=e.Data)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:i.filter(e=>e.name==l);return n&&n.length>0?JSON.parse(JSON.stringify(n[0].jsonValue)):null}return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsxs)("div",{className:"tab--item",children:[(null===(i=D("hasDetails"))||void 0===i?void 0:i.value)=="1"?(0,va.jsx)("a",{href:(0,vS.at)(null===(s=D("url"))||void 0===s?void 0:s.url,A()),children:(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null===(a=D("TeaserImage"))||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src)?(0,va.jsxs)("div",{className:"tab--img",children:[(0,va.jsx)("img",{src:null===(t=D("TeaserImage"))||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.src,alt:null===(r=D("TeaserImage"))||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.alt}),(0,va.jsx)("div",{className:"tab--item__inner"})]}):(0,va.jsx)(va.Fragment,{}),(null===(c=D("Upcoming"))||void 0===c?void 0:c.value)==!0&&(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:P(mT.W.PAGECONTENT.UPCOMING)})})]})}):(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null===(u=D("TeaserImage"))||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src)?(0,va.jsxs)("div",{className:"tab--img",children:[(0,va.jsx)("img",{src:null===(x=D("TeaserImage"))||void 0===x?void 0:null===(m=x.value)||void 0===m?void 0:m.src,alt:null===(h=D("TeaserImage"))||void 0===h?void 0:null===(p=h.value)||void 0===p?void 0:p.alt}),(0,va.jsx)("div",{className:"tab--item__inner"})]}):(0,va.jsx)(va.Fragment,{}),(null===(f=D("Upcoming"))||void 0===f?void 0:f.value)==!0?(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:P(mT.W.PAGECONTENT.UPCOMING)})}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsxs)("div",{className:"tab--info",children:[(null===(g=D("isTitleFirst"))||void 0===g?void 0:g.value)==!0?(0,va.jsxs)(va.Fragment,{children:[(null===(j=D("Title"))||void 0===j?void 0:j.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null===(N=D("Title"))||void 0===N?void 0:N.value}}),(null===(b=D("SubTitle"))||void 0===b?void 0:b.value)&&(0,va.jsx)("h5",{dangerouslySetInnerHTML:{__html:null===(T=D("SubTitle"))||void 0===T?void 0:T.value}})]}):(0,va.jsxs)(va.Fragment,{children:[(null===(S=D("SubTitle"))||void 0===S?void 0:S.value)&&(0,va.jsx)("h3",{dangerouslySetInnerHTML:{__html:null===(k=D("SubTitle"))||void 0===k?void 0:k.value}}),(null===(w=D("Title"))||void 0===w?void 0:w.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null===(y=D("Title"))||void 0===y?void 0:y.value}}),(null===(E=D("VenueHouses"))||void 0===E?void 0:E.value)&&(0,va.jsx)("h5",{dangerouslySetInnerHTML:{__html:null===(I=D("VenueHouses"))||void 0===I?void 0:null===(L=I.fields)||void 0===L?void 0:null===(O=L.Location)||void 0===O?void 0:null===(C=O.fields)||void 0===C?void 0:C.Text}})]}),(null===(F=D("ShortParagraph"))||void 0===F?void 0:F.value)&&(0,va.jsx)(vx.H,{children:null===(_=D("ShortParagraph"))||void 0===_?void 0:_.value}
1),(null===(M=D("hasDetails"))||void 0===M?void 0:M.value)=="1"&&(0,va.jsxs)("a",{href:(0,vS.at)(null===(R=D("url"))||void 0===R?void 0:R.url,A()),className:"btn btn--white",children:[(0,va.jsx)("span",{children:P(mT.W.PAGECONTENT.DISCOVERMORE)}),(0,va.jsx)("span",{className:"icon-angle"})]})]})]})})})};var b5=e=>{var l="",i=null===(a=e.fields)||void 0===a?void 0:a.YeasArticle,s=!1,n=0;if((null===(t=e.fields)||void 0===t?void 0:null===(d=t.YeasArticle)||void 0===d?void 0:d.length)>0){l=null===(c=e.fields.YeasArticle[0])||void 0===c?void 0:null===(r=c.template)||void 0===r?void 0:r.id;var a,d,t,o,r,c,v,u,m=parseInt(e.fields.NumberRangeItem);m?(s=(null===(u=e.fields)||void 0===u?void 0:null===(v=u.YeasArticle)||void 0===v?void 0:v.length)-m>0,i=i.slice(0,m),n=m):n=i.length}let x={hasFilter:!0==e.fields.HasFilter?"true":""};return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"m-tab--intro p-40 module-wrapper",children:(0,va.jsx)(b1,{fields:{YearsContent:null===(o=e.fields)||void 0===o?void 0:o.YeasArticle},rendering:e.rendering,params:x})}),(0,va.jsx)("div",{className:"m-tab--slider module-wrapper",children:(0,va.jsx)("div",{className:"swiper-container m-tab--sliderContainer","data-parameterId":l,"data-pageBefore":n,children:(0,va.jsxs)("div",{className:"swiper-wrapper",children:[i&&Object.values(i).map((e,l)=>{var i;return(0,va.jsx)(vd.Fragment,{children:Object.values(null===(i=e.children)||void 0===i?void 0:i.results).map((e,l)=>(0,va.jsx)(b2,{Data:e},l))},l)}),s?(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)("div",{className:"tab--item",children:(0,va.jsx)("div",{className:"tab--img__wrap",children:(0,va.jsx)("div",{className:"tab--img",children:(0,va.jsx)(vt.V,{name:"thc-mobile-load-more",rendering:e.rendering})})})})}):(0,va.jsx)(va.Fragment,{})]})})})]})},b3=e=>{let{t:l}=(0,vT.QT)(),i=e.fields.YearsContent[0],s=e.isShow?"block":"none",n=l=>{e.onChange&&e.onChange(l)};return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"dropdown-wrapper dropdown-wrapper--year",style:{display:s},children:[(0,va.jsx)("label",{htmlFor:"dropdown--year",children:l(mT.W.PAGECONTENT.YEAR)}),(0,va.jsx)("button",{type:"button",name:"button",className:"dropdown dropdown--filter",value:null==i?void 0:i.TemplateId,children:(0,va.jsxs)("span",{children:[null==i?void 0:i.FilterOptionsValue," "]})}),(0,va.jsxs)("div",{className:"dropdown--filter__wrap js-filter-opts",children:[(0,va.jsxs)("div",{className:"dropdown--filter__opt","data-value":null==i?void 0:i.TemplateId,onClick:()=>{n("")},children:[null==i?void 0:i.FilterOptionsValue," "]}),e.fields.YearsContent?Object.values(e.fields.YearsContent).map((e,l)=>(0,va.jsxs)("div",{className:"dropdown--filter__opt","data-value":null==e?void 0:e.Id,onClick:()=>{n(null==e?void 0:e.Id)},children:[null==e?void 0:e.Name," "]},l)):(0,va.jsx)(va.Fragment,{})]})]})})},b4=e=>{let{t:l}=(0,vT.QT)(),i=e.fields.HousesContent[0],s=e.isShow?"block":"none",n=l=>{e.onChange&&e.onChange(l)};return(0,va.jsx)(va.Fragment,{children:e.fields.HousesContent.length<2?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"dropdown-wrapper dropdown-wrapper--houses",style:{display:s},children:[(0,va.jsx)("label",{htmlFor:"dropdown--year",children:l(mT.W.PAGECONTENT.HOUSES)}),(0,va.jsx)("button",{type:"button",name:"button",className:"dropdown dropdown--filter",value:null==i?void 0:i.TemplateId,children:(0,va.jsxs)("span",{children:[null==i?void 0:i.FilterOptionsValue," "]})}),(0,va.jsxs)("div",{className:"dropdown--filter__wrap js-filter-opts",children:[(0,va.jsxs)("div",{className:"dropdown--filter__opt","data-value":null==i?void 0:i.TemplateId,onClick:()=>{n("")},children:[null==i?void 0:i.FilterOptionsValue," "]}),e.fields.HousesContent?Object.values(e.fields.HousesContent).map((e,l)=>(0,va.jsx)("div",{className:"dropdown--filter__opt","data-value":null==e?void 0:e.Id,onClick:()=>{n(null==e?void 0:e.Id)},children:(null==e?void 0:e.Title)?null==e?void 0:e.Title:e.Name},l)):(0,va.jsx)(va.Fragment,{})]})]})})})};let b6=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;let{t:x}=(0,vT.QT)(),p=null===(i=e.fields)||void 0===i?void 0:null===(l=i.YearsContent)||void 0===l?void 0:l[0],h=(null!==(m=null===(n=e.fields)||void 0===n?void 0:null===(s=n.YearsContent)||void 0===s?void 0:s.length)&&void 0!==m?m:0)>1?void 0:"none";return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"dropdown-wrapper",style:{display:"".concat(h)},children:[(0,va.jsx)("label",{htmlFor:"dropdown--year",children:x(mT.W.PAGECONTENT.YEAR)}),(0,va.jsxs)("select",{className:"dropdown m-select ".concat(null==p?void 0:null===(a=p.template)||void 0===a?void 0:a.id),children:[p?(0,va.jsx)("option",{value:null==p?void 0:null===(d=p.template)||void 0===d?void 0:d.id,children:null===(c=p.fields.FilterOptions)||void 0===c?void 0:null===(r=c[0])||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:null===(t=o.Value)||void 0===t?void 0:t.value}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.YearsContent)||void 0===v?void 0:v.length)&&Object.values(e.fields.YearsContent).map((e,l)=>(0,va.jsx)("option",{value:null==e?void 0:e.id,children:null==e?void 0:e.name},l))]})]})})},b8=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G;let{article:U}=e,{t:z,locale:q}=(0,vT.QT)();return(0,va.jsx)("div",{className:"col-lg-6",children:(0,va.jsxs)("div",{className:"tab--item",children:[(null==U?void 0:null===(i=U.fields)||void 0===i?void 0:null===(l=i.HasDetail
1sContent)||void 0===l?void 0:l.value)?(0,va.jsx)("a",{href:(0,vS.at)(null==U?void 0:null===(s=U.urlInfo)||void 0===s?void 0:s.path,q()),children:(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null==U?void 0:null===(a=U.fields)||void 0===a?void 0:null===(n=a.TeaserImage)||void 0===n?void 0:n.value)&&(0,va.jsxs)("div",{className:"tab--img",children:[(0,va.jsx)(m7,{field:null==U?void 0:null===(d=U.fields)||void 0===d?void 0:d.TeaserImage}),(0,va.jsx)("div",{className:"tab--item__inner"})]}),(null==U?void 0:null===(o=U.fields)||void 0===o?void 0:null===(t=o.UpComing)||void 0===t?void 0:t.value)&&(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:z(mT.W.PAGECONTENT.UPCOMING)})})]})}):(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null==U?void 0:null===(c=U.fields)||void 0===c?void 0:null===(r=c.TeaserImage)||void 0===r?void 0:r.value)&&(0,va.jsxs)("div",{className:"tab--img",children:[(0,va.jsx)(m7,{field:null==U?void 0:null===(v=U.fields)||void 0===v?void 0:v.TeaserImage}),(0,va.jsx)("div",{className:"tab--item__inner"})]}),(null==U?void 0:null===(m=U.fields)||void 0===m?void 0:null===(u=m.UpComing)||void 0===u?void 0:u.value)&&(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:z(mT.W.PAGECONTENT.UPCOMING)})})]}),(0,va.jsxs)("div",{className:"tab--info",children:[(null==U?void 0:null===(p=U.fields)||void 0===p?void 0:null===(x=p.isTitleFirst)||void 0===x?void 0:x.value)?(0,va.jsxs)(va.Fragment,{children:[(null==U?void 0:null===(I=U.fields)||void 0===I?void 0:null===(L=I.Title)||void 0===L?void 0:L.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null==U?void 0:null===(_=U.fields)||void 0===_?void 0:null===(F=_.Title)||void 0===F?void 0:F.value}}),(null==U?void 0:null===(R=U.fields)||void 0===R?void 0:null===(M=R.SubTitle)||void 0===M?void 0:M.value)&&(0,va.jsx)("h3",{dangerouslySetInnerHTML:{__html:null==U?void 0:null===(A=U.fields)||void 0===A?void 0:null===(P=A.SubTitle)||void 0===P?void 0:P.value}})]}):(0,va.jsxs)(va.Fragment,{children:[(null==U?void 0:null===(f=U.fields)||void 0===f?void 0:null===(h=f.SubTitle)||void 0===h?void 0:h.value)&&(0,va.jsx)("h3",{dangerouslySetInnerHTML:{__html:null==U?void 0:null===(j=U.fields)||void 0===j?void 0:null===(g=j.SubTitle)||void 0===g?void 0:g.value}}),(null==U?void 0:null===(b=U.fields)||void 0===b?void 0:null===(N=b.Title)||void 0===N?void 0:N.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null==U?void 0:null===(S=U.fields)||void 0===S?void 0:null===(T=S.Title)||void 0===T?void 0:T.value}}),(null==U?void 0:null===(w=U.fields)||void 0===w?void 0:null===(k=w.VenueHouses)||void 0===k?void 0:k.fields)&&(0,va.jsx)("h5",{dangerouslySetInnerHTML:{__html:null==U?void 0:null===(O=U.fields)||void 0===O?void 0:null===(C=O.VenueHouses)||void 0===C?void 0:null===(E=C.fields)||void 0===E?void 0:null===(y=E.Text)||void 0===y?void 0:y.value}})]}),(null==U?void 0:null===(B=U.fields)||void 0===B?void 0:null===(D=B.ShortParagraph)||void 0===D?void 0:D.value)&&(0,va.jsx)(vx.H,{field:null==U?void 0:null===(V=U.fields)||void 0===V?void 0:V.ShortParagraph,className:"sc-richtext-wrapper"}),(null==U?void 0:null===(H=U.fields)||void 0===H?void 0:null===(W=H.HasDetailsContent)||void 0===W?void 0:W.value)&&(0,va.jsxs)("a",{href:(0,vS.at)(null==U?void 0:null===(G=U.urlInfo)||void 0===G?void 0:G.path,q()),className:"btn btn--white",children:[(0,va.jsx)("span",{children:z(mT.W.PAGECONTENT.DISCOVERMORE)}),(0,va.jsx)("span",{className:"icon-angle"})]})]})]})})},b7=(0,vd.forwardRef)((e,l)=>{var i,s,n,a,d,t;let{pageFields:o,dictArticleDetailPageContent:r,yearsContents:c,housesContents:v,...u}=e,m=null==c?void 0:c[0],x=[],p=!1,h=0;if(r){if(null==o?void 0:null===(a=o.HasFilter)||void 0===a?void 0:a.value){let e=Object.keys(r).find(e=>{var l;return(0,x5.Ie)(e,null==m?void 0:null===(l=m.template)||void 0===l?void 0:l.id)});e&&(null===(t=r[e])||void 0===t?void 0:t.length)&&x.push(...r[e])}else for(let e in r)x.push(...r[e]);h=(null==o?void 0:null===(d=o.NumberRangeItem)||void 0===d?void 0:d.value)?o.NumberRangeItem.value:x.length}let[f,g]=(0,vd.useState)(h);return x.length&&(p=x.length-f>0),(0,vd.useImperativeHandle)(l,()=>({setRecordToShow(e){g(e)}}),[]),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"enews-mobile m-tab--intro p-40 module-wrapper reveal",children:[(0,va.jsxs)("p",{className:"enews-mobile-title",children:[(0,va.jsx)("span",{children:"\xa0"}),(0,va.jsx)("span",{className:"enews-decoration",children:"\xa0"}),(0,va.jsx)("span",{children:null==o?void 0:null===(i=o.Name)||void 0===i?void 0:i.value})]}),(0,va.jsx)(b6,{...u,hasFilter:null==o?void 0:null===(s=o.HasFilter)||void 0===s?void 0:s.value,fields:{YearsContent:null!=c?c:[]}})]}),(0,va.jsx)("div",{className:"enews-mobile--listing module-wrapper reveal",children:(0,va.jsxs)("div",{className:"","data-parameterId":null==m?void 0:null===(n=m.template)||void 0===n?void 0:n.id,"data-pageBefore":h,children:[(0,va.jsx)("div",{className:"js-append-here",children:x.slice(0,f).map((e,l)=>(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)(b8,{article:e})},l))}),p&&(0,va.jsx)("div",{className:"swiper-slide js-append-disable",onClick:()=>{g(f+h)},children:(0,va.jsx)("div",{className:"tab--item",children:(0,va.jsx)("div",{className:"tab--img__wrap",children:(0,va.jsx)("div",{className:"tab--img",children:(0,va.jsx)(vt.V,{name:"thc-mobile-load-more",rendering:u.rendering})})})})})]})})]})});b7.displayName="ThcEnewsletterArticleDataByYearsMobilePartial";let b9=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el;let ei=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),{sitecoreContext:es}=(0,vr.z)(),{locale:en}=(0,vT.QT)(),ea=(0,vd.useRef)(null),ed=(0,vd.useRef)(null),et=(null==e?void 0:null===(i=e.rendering)||void 0===i?void 0:i.dataSource)?e.rendering.dataSource:null==es?void 0:null===(s=es.route)||void 0===s?void 0:s.itemId,eo=vD(e,"NumberRangeItem")?e.fields:null==es?void 0:null===(n=es.route)||void 0===n?void 0:n.fields;(vD(e,"SelectedYears",!0)||vD(e,"SelectedHouses",!0))&&((ei={}).YearsContents=e.fields.SelectedYears.map(e=>(e.template={id:ux.t9.YearContent,name:"YearContent"},e.fields=Object.assign({},e.fields||{},{TemplateId:{value:e.template.id}}),e)),ei.HousesContents=e.fields.SelectedHouses.map(e=>(e.template={id:ux.t9.HouseContent,name:"HouseContent"},e.fields=Object.assign({},e.fields||{},{TemplateId:{value:e.template.id}}),e)),ei.DictArticleDetailPageContent={},ei.DictArticleDetailPageContent[ux.t9.YearContent]=[],ei.DictArticleDetailPageContent[ux.t9.HouseContent]=[],(null===(B=e.fields)||void 0===B?void 0:null===(D=B.SelectedYears)||void 0===D?void 0:D.length)&&ei.DictArticleDetailPageContent[ux.t9.YearContent].push(...null===(H=e.f
1ields)||void 0===H?void 0:H.SelectedYears.flatMap((e,l)=>{var i,s;return(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Items)||void 0===i?void 0:i.map((i,s)=>({...i,parentId:e.id,urlInfo:{url:i.url,path:i.url},fields:{...i.fields,__Sortorder:{value:String(1e4*l+s).padStart(10,"0")}}})))||[]})),(null===(W=e.fields)||void 0===W?void 0:null===(V=W.SelectedHouses)||void 0===V?void 0:V.length)&&ei.DictArticleDetailPageContent[ux.t9.HouseContent].push(...null===(G=e.fields)||void 0===G?void 0:G.SelectedHouses.flatMap((e,l)=>{var i,s;return(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Items)||void 0===i?void 0:i.map((i,s)=>({...i,parentId:e.id,urlInfo:{url:i.url,path:i.url},fields:{...i.fields,__Sortorder:{value:String(1e4*l+s).padStart(10,"0")}}})))||[]})));let er=!1;(null==ei?void 0:ei.YearsContents)&&(null==ei?void 0:null===(a=ei.YearsContents)||void 0===a?void 0:a.length)&&(er=(null===(Y=ei.YearsContents)||void 0===Y?void 0:null===(Q=Y[0].fields)||void 0===Q?void 0:null===(q=Q.FilterType)||void 0===q?void 0:null===(z=q.fields)||void 0===z?void 0:null===(U=z.Title)||void 0===U?void 0:U.value)!="-"),!er&&(null==ei?void 0:ei.HousesContents)&&(null==ei?void 0:null===(d=ei.HousesContents)||void 0===d?void 0:d.length)&&(er=(null===(ee=ei.HousesContents)||void 0===ee?void 0:null===(X=ee[0].fields)||void 0===X?void 0:null===(J=X.FilterType)||void 0===J?void 0:null===(Z=J.fields)||void 0===Z?void 0:null===(K=Z.Title)||void 0===K?void 0:K.value)!="-");let ec=er||!((null!==(el=null==ei?void 0:null===(t=ei.YearsContents)||void 0===t?void 0:t.length)&&void 0!==el?el:0)<2)||(null==ei?void 0:null===(o=ei.HousesContents)||void 0===o?void 0:o.length)?void 0:"none",ev=(null==ei?void 0:null===(r=ei.YearsContents)||void 0===r?void 0:r.length)?ei.YearsContents[0].template.id:null==ei?void 0:null===(u=ei.HousesContents)||void 0===u?void 0:null===(v=u[0])||void 0===v?void 0:null===(c=v.template)||void 0===c?void 0:c.id,[eu,em]=(0,vd.useState)(ev),ex=!!(null==ei?void 0:null===(m=ei.YearsContents)||void 0===m?void 0:m.length),[ep,eh]=(0,vd.useState)(ex),[ef,eg]=(0,vd.useState)(!ex),[ej,eN]=(0,vd.useState)(""),[eb,eT]=(0,vd.useState)("");return(null==ei?void 0:ei.DictArticleDetailPageContent)?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("input",{type:"hidden",name:"pageNumber",id:"pageNumber",defaultValue:null==eo?void 0:null===(x=eo.NumberRangeItem)||void 0===x?void 0:x.value}),(0,va.jsx)("input",{type:"hidden",name:"itemID",id:"itemID",defaultValue:et}),(0,va.jsx)("input",{type:"hidden",name:"requestLang",id:"requestLang",defaultValue:en()}),(0,va.jsx)("div",{className:"tab p-40 mb-150 d-none d-lg-block tab--hasinfo",children:(0,va.jsxs)("div",{className:"row justify-content-center",children:[(null==eo?void 0:null===(p=eo.HasFilter)||void 0===p?void 0:p.value)?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"col-sm-12 col-lg-3",style:{display:ec},children:(0,va.jsxs)("div",{className:"module-wrapper",children:[(0,va.jsxs)("div",{className:"tab--opt",style:{display:"".concat(er?"block":"none")},children:[(null==ei?void 0:ei.YearsContents)&&(null==ei?void 0:null===(h=ei.YearsContents)||void 0===h?void 0:h.length)>0&&(0,va.jsx)("button",{type:"button",name:"button-programme",className:(0,x5.Ie)(ux.t9.YearContent,eu)?"on":"",id:"btn-programme",value:null==ei?void 0:null===(j=ei.YearsContents)||void 0===j?void 0:null===(g=j[0])||void 0===g?void 0:null===(f=g.template)||void 0===f?void 0:f.id,onClick:()=>{var e,l,i;em(null==ei?void 0:null===(i=ei.YearsContents)||void 0===i?void 0:null===(l=i[0])||void 0===l?void 0:null===(e=l.template)||void 0===e?void 0:e.id),eh(!0),eg(!1),eN(ej)},children:(0,va.jsx)(uf,{tag:"h4",Text:null==ei?void 0:null===(S=ei.YearsContents)||void 0===S?void 0:null===(T=S[0])||void 0===T?void 0:null===(b=T.fields.FilterType)||void 0===b?void 0:null===(N=b.fields)||void 0===N?void 0:N.Title})}),(null==ei?void 0:ei.HousesContents)&&(null==ei?void 0:null===(k=ei.HousesContents)||void 0===k?void 0:k.length)>0&&(0,va.jsx)("button",{type:"button",name:"button-programme",className:!(null==ei?void 0:ei.YearsContents)||(null==ei?void 0:null===(w=ei.YearsContents)||void 0===w?void 0:w.length)==0||(0,x5.Ie)(ux.t9.HouseContent,eu)?"on":"",id:"btn-programme",value:null==ei?void 0:null===(C=ei.HousesContents)||void 0===C?void 0:null===(E=C[0])||void 0===E?void 0:null===(y=E.template)||void 0===y?void 0:y.id,onClick:()=>{var e,l,i;em(null==ei?void 0:null===(i=ei.HousesContents)||void 0===i?void 0:null===(l=i[0])||void 0===l?void 0:null===(e=l.template)||void 0===e?void 0:e.id),eh(!1),eg(!0),eT(eb)},children:(0,va.jsx)("h4",{children:null==ei?void 0:null===(_=ei.HousesContents)||void 0===_?void 0:null===(F=_[0])||void 0===F?void 0:null===(I=F.fields.FilterType)||void 0===I?void 0:null===(L=I.fields)||void 0===L?void 0:null===(O=L.Title)||void 0===O?void 0:O.value})})]}),(null==ei?void 0:ei.YearsContents)&&(null==ei?void 0:null===(M=ei.YearsContents)||void 0===M?void 0:M.length)>0?(0,va.jsx)(b3,{rendering:e.rendering,params:e.params,fields:{YearsContent:ei.YearsContents.map(e=>{var l,i,s,n,a,d;return{TemplateId:null===(i=e.fields)||void 0===i?void 0:null===(l=i.TemplateId)||void 0===l?void 0:l.value,FilterOptionsValue:null===(d=e.fields)||void 0===d?void 0:null===(a=d.FilterType)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.Value)||void 0===s?void 0:s.value,Id:e.id,Name:e.name}})},isShow:ep,onChange:e=>{eN(e)}}):(0,va.jsx)(va.Fragment,{}),(null==ei?void 0:ei.HousesContents)&&(null==ei?void 0:null===(R=ei.HousesContents)||void 0===R?void 0:R.length)>0?(0,va.jsx)(b4,{rendering:e.rendering,params:e.params,fields:{HousesContent:ei.HousesContents.map(e=>{var l,i,s,n,a,d,t,o;return{TemplateId:null===(i=e.fields)||void 0===i?void 0:null===(l=i.TemplateId)||void 0===l?void 0:l.value,FilterOptionsValue:null===(d=e.fields)||void 0===d?void 0:null===(a=d.FilterType)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.Value)||void 0===s?void 0:s.value,Id:e.id,Name:e.name,Title:null===(o=e.fields)||void 0===o?void 0:null===(t=o.Title)||void 0===t?void 0:t.value}})},isShow:ef,onChange:e=>{eT(e)}}):(0,va.jsx)(va.Fragment,{})]})})})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"tab--opt",style:{display:"none"},children:(0,va.jsx)("button",{type:"button",name:"button-programme",className:"on",id:"btn-programme",value:"-",children:(0,va.jsx)("h4",{children:"-"})})})}),(0,va.jsx)(b0,{ref:ea,pageFields:eo,dictArticleDetailPageContent:ei.DictArticleDetailPageContent,defaultValue:eu,defaultFilterValue:(0,x5.Ie)(ux.t9.YearContent,eu)?ej:eb})]})}),(0,va.jsxs)("div",{className:"tab m-tab m-tab--progWrap d-block d-lg-none mb-50 tab--hasinfo thcenewsletterarticleindex",children:[(null==ei?void 0:null===(P=ei.YearsContents)||void 0===P?void 0:P.length)?(0,va.jsx)(b7,{ref:ed,params:e.params,rendering:e.rendering,pageFields:eo,yearsContents:ei.YearsContents,housesContents:ei.HousesContents,dictArticleDetailPageContent:ei.DictArticleDetailPageContent}):(0,va.jsx)(va.Fragment,{}),(null==ei?void 0:null===(A=ei.HousesContents)||void 0===A?void 0:A.length)?(0,va.jsx)(b$,{housesContents:ei.HousesContents,dictArticleDetailPageContent:ei.DictArticleDetailPageContent,pageFields:eo,filterValue:"",rendering:e.rendering,params:e.params}):(0,va.jsx)(va.Fragment,{})]})]}):(0,va.jsx)(va.Fragment,{})},Te=async(e,l)=>{var i,s,n,a,d;if(vD(e,"SelectedYears",!0)||vD(e,"SelectedHouses",!0))return{};let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en",r={};try{if(e.params)for(let l in e.params){let i=t?await Nd.GetDetailDataHouseYears(t,o,e.params[l],e.params):[];r[e.params[l]]=i}let l=t?await Nd.GetYearsContent(t,o):[],i=t?await Nd.GetHousesContents(t,o):[];return{DictArticleDetailPageContent:r,YearsContents:null==l?void 0:l.sort((e,l)=>parseInt(l.name)-parseInt(e.name)),HousesContents:i}}catch(e){console.log("ThcArticleIndex props",e)}return{}},Tl=async(e,l)=>{var i,s,n,a,d;if(vD(e,"Items",!0))return[];let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en";return t?await Nd.GetENewsletterAndChildArticles(t,o):[]};var Ti=e=>{var l;let{t:i}=(0,vT.QT)(),s=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(null==s?void 0:s.length)&&(s=s.sort((e,l)=>e.name.localeCompare(l.name))),vD(e,"Items",!0)&&(s=e.fields.Items),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"tab p-40 d-none d-lg-block tab--hasinfo",children:(0,va.jsxs)("div",{className:"row justify-content-center",children:[(0,va.jsx)("div",{className:"col-sm-12 col-lg-3",children:(0,va.jsx)("div",{className:"module-wrapper article-list-wrapper",children:(0,va.jsxs)("div",{className:"tab--opt",children:[(0,va.jsx)("div",{className:"article-list-index-label",children:i(mT.W.PAGECONTENT.ARTICLE)}),(null==s?void 0:s.length)&&(null==s?void 0:s.map((e,l)=>{var i,s,n;return(0,va.jsxs)("div",{className:"article-list-index",children:[(0,va.jsx)("div",{className:"article-index-number",children:(l+1).toString().padStart(2,"0")}),(0,va.jsx)("div",{className:"article-index-title",children:(0,va.jsx)("a",{href:"#","data-scid":null==e?void 0:null===(i=e.id)||void 0===i?void 0:i.toUpperCase(),children:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value})})]},l)}))]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-lg-9",id:"divtoDisplayPartial",children:(0,va.jsx)("div",{className:"tab--right",children:(0,va.jsx)(by,{fields:{List:s},rendering:e.rendering,params:e.params})})})]})}),(0,va.jsx)("div",{className:"tab m-tab m-tab--progWrap d-block d-lg-none tab--hasinfo",children:(0,va.jsx)(bC,{fields:{List:s},rendering:e.rendering,params:e.params})})]})},Ts=(0,vp.C)()(e=>{var l,i;let s={};return null===(l=e.fields.ArticleOnSelectionList)||void 0===l||l.forEach(e
1=>{var l,i,n,a,d,t,o,r,c,v;let u=null!==(d=null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.DropdownMatchingTag)||void 0===n?void 0:null===(i=n.fields)||void 0===i?void 0:null===(l=i.Value)||void 0===l?void 0:l.value)&&void 0!==d?d:"";s[u]||(s[u]=null!==(v=null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.DropdownMatchingTag)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:null===(t=o.Text)||void 0===t?void 0:t.value)&&void 0!==v?v:"")}),(0,va.jsx)(va.Fragment,{children:(null===(i=Object.keys(s))||void 0===i?void 0:i.length)?Object.keys(s).map((e,l)=>(0,va.jsx)("div",{className:"dropdown--filter__opt","data-value":e,children:s[e]},l)):(0,va.jsx)(va.Fragment,{})})}),Tn=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o;let{t:r}=(0,vT.QT)(),c={};return null===(l=e.fields.ArticleOnSelectionList)||void 0===l||l.forEach(e=>{var l,i,s,n,a,d,t,o,r,v;let u=null!==(a=null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.DropdownMatchingTag)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Value)||void 0===l?void 0:l.value)&&void 0!==a?a:"";c[u]||(c[u]=null!==(v=null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.DropdownMatchingTag)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:null===(d=t.Text)||void 0===d?void 0:d.value)&&void 0!==v?v:"")}),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("select",{className:"dropdown m-select","selection-value":null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.ArticleOnSelectionList[0])||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:null===(n=a.OffersMatchingTag)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:[(0,va.jsx)("option",{value:"",children:r(mT.W.PAGECONTENT.ALLHOUSES)}),(null===(o=Object.keys(c))||void 0===o?void 0:o.length)?Object.keys(c).map((e,l)=>(0,va.jsx)("option",{value:e,children:c[e]},l)):(0,va.jsx)(va.Fragment,{})]})})}),Ta=i(78592);let Td=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j;let{fields:N,url:b}=e,{t:T,locale:S}=(0,vT.QT)(),k=null==N?void 0:null===(s=N.DropdownMatchingTag)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Value)||void 0===l?void 0:l.value;return(0,va.jsx)("div",{className:"col-lg-6 article--item","dropdown-value":k,children:(0,va.jsx)("a",{className:"tab--item",href:(0,vS.at)(b,S()),children:(0,va.jsx)("div",{className:"tab--img__wrap",children:(0,va.jsxs)("div",{className:"tab--img this-add-overlay",children:[(null==N?void 0:null===(a=N.TeaserImage)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src)&&(null==N?void 0:null===(o=N.TeaserImage)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:null===(d=t.src)||void 0===d?void 0:d.length)>0?(0,va.jsx)("img",{src:null==N?void 0:null===(c=N.TeaserImage)||void 0===c?void 0:null===(r=c.value)||void 0===r?void 0:r.src,alt:"".concat((null==N?void 0:null===(u=N.TeaserImage)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.alt)||"")}):(0,va.jsx)(va.Fragment,{}),(0,va.jsxs)("div",{className:"tab--item__inner",children:[(null==N?void 0:null===(x=N.TitleImage)||void 0===x?void 0:null===(m=x.value)||void 0===m?void 0:m.src)?(0,va.jsx)("div",{className:"tab--item__logo",children:(0,va.jsx)("img",{className:"",src:null==N?void 0:null===(h=N.TitleImage)||void 0===h?void 0:null===(p=h.value)||void 0===p?void 0:p.src,alt:"".concat(null==N?void 0:null===(g=N.TitleImage)||void 0===g?void 0:null===(f=g.value)||void 0===f?void 0:f.alt)})}):(0,va.jsx)("h4",{dangerouslySetInnerHTML:{__html:null==N?void 0:null===(j=N.Title)||void 0===j?void 0:j.value}}),(0,va.jsxs)("div",{className:"tab--item__cta",children:[(0,va.jsx)(vx.H,{field:null==N?void 0:N.TeaserContent,editable:!1}),(0,va.jsxs)("button",{className:"btn btn--white",type:"button",name:"button",children:[(0,va.jsx)("span",{children:T(mT.W.PAGECONTENT.DISCOVERMORE)}),(0,va.jsx)("span",{className:"icon-angle"})]})]})]})]})})})})},Tt=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;let{fields:x}=e,{locale:p}=(0,vT.QT)(),h=null==x?void 0:null===(s=x.DropdownMatchingTag)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Value)||void 0===l?void 0:l.value;return(0,va.jsx)("div",{className:"swiper-slide article--item","dropdown-value":h,children:(0,va.jsx)("a",{className:"tab--item",href:(0,vS.at)(null==x?void 0:null===(n=x.Url)||void 0===n?void 0:n.value,p()),children:(0,va.jsx)("div",{className:"tab--img__wrap",children:(0,va.jsxs)("div",{className:"tab--img this-add-overlay",children:[(0,va.jsx)("img",{src:null==x?void 0:null===(d=x.TeaserImage)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.src}),(0,va.jsxs)("div",{className:"tab--item__inner",children:[(null==x?void 0:null===(o=x.TitleImage)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.src)?(0,va.jsx)("div",{className:"tab--item__logo",children:(0,va.jsx)("img",{className:"",src:null==x?void 0:null===(c=x.TitleImage)||void 0===c?void 0:null===(r=c.value)||void 0===r?void 0:r.src,alt:"".concat(null==x?void 0:null===(u=x.TitleImage)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.alt)})}):(0,va.jsx)("h4",{dangerouslySetInnerHTML:{__html:null==x?void 0:null===(m=x.Title)||void 0===m?void 0:m.value}}),(0,va.jsx)("div",{className:"tab--item__cta",children:(0,va.jsx)(vx.H,{field:null==x?void 0:x.TeaserContent,editable:!1})})]})]})})})})},To=()=>{let{t:e}=(0,vT.QT)();return(0,va.jsx)("div",{className:"tab--item js-append--module40-mobile",children:(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(0,va.jsx)("div",{className:"tab--img",children:(0,va.jsx)("div",{className:"tab--img__item tab--loadmore",children:(0,va.jsx)("p",{className:"slide-append-button btn btn--mega btn--white",children:(0,va.jsx)("span",{children:e(mT.W.PAGECONTENT.LOADMORE)})})})}),(0,va.jsx)("div",{})]})})};var Tr=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y;let{t:K}=(0,vT.QT)(),Z=(0,vd.useRef)(null),J=(0,vd.useRef)(null),X=(0,vd.useRef)(null),ee=(0,vd.useRef)(null),el=(0,vd.useRef)(null),ei=(0,vd.useRef)(null),es=(0,vd.useRef)(null),en=(0,vd.useRef)(null),ea=null===(n=e.fields.FirstSelectionList[0])||void 0===n?void 0:null===(s=n.fields.OffersMatchingTag)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Value)||void 0===l?void 0:l.value,ed=null===(o=e.fields.SecondSelectionList[0])||void 0===o?void 0:null===(t=o.fields.OffersMatchingTag)||void 0===t?void 0:null===(d=t.fields)||void 0===d?void 0:null===(a=d.Value)||void 0===a?void 0:a.value,et=(null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.NumberPerLoad)||void 0===r?void 0:r.value)>0?null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.NumberPerLoad)||void 0===v?void 0:v.value:0,[eo,er]=(0,vd.useState)(et),[ec,ev]=(0,vd.useState)(et),[eu,em]=(0,vd.useState)(et),[ex,ep]=(0,vd.useState)(),[eh,ef]=(0,vd.useState)(""),[eg,ej]=(0,vd.useState)(""),[eN,eb]=(0,vd.useState)(""),[eT,eS]=(0,vd.useState)("");(0,vd.useEffect)(()=>{var e,l,i,s,n,a,d,t;null===(l=ee.current)||void 0===l||null===(e=l.querySelector("button"))||void 0===e||e.click();let o=e=>{var l,i,s;ef(null!==(s=null===(i=e.target)||void 0===i?void 0:null===(l=i.dataset)||void 0===l?void 0:l.value)&&void 0!==s?s:""),er(et)},r=e=>{var l,i,s;ej(null!==(s=null===(i=e.target)||void 0===i?void 0:null===(l=i.dataset)||void 0===l?void 0:l.value)&&void 0!==s?s:""),er(et)},c=e=>{var l,i;eb(null!==(i=null===(l=e.target)||void 0===l?void 0:l.value)&&void 0!==i?i:""),ev(et)},v=e=>{var l,i;eS(null!==(i=null===(l=e.target)||void 0===l?void 0:l.value)&&void 0!==i?i:""),em(et)};return null===(i=Z.current)||void 0===i||i.querySelectorAll('.dropdown-wrapper--houses--module40[dropdown-value="'.concat(ea,'"] .dropdown--filter__opt')).forEac
1h(e=>{e.addEventListener("click",o)}),null===(s=Z.current)||void 0===s||s.querySelectorAll('.dropdown-wrapper--houses--module40[dropdown-value="'.concat(ed,'"] .dropdown--filter__opt')).forEach(e=>{e.addEventListener("click",r)}),null===(a=J.current)||void 0===a||null===(n=a.querySelector('.dropdown.m-select[selection-value="'.concat(ea,'"]')))||void 0===n||n.addEventListener("change",c),null===(t=J.current)||void 0===t||null===(d=t.querySelector('.dropdown.m-select[selection-value="'.concat(ed,'"]')))||void 0===d||d.addEventListener("change",v),el.current&&(es.current=new Ta.Z(el.current,{slidesPerView:1.2,spaceBetween:5,slidesOffsetAfter:50})),ei.current&&(en.current=new Ta.Z(ei.current,{slidesPerView:1.2,spaceBetween:5,slidesOffsetAfter:50})),()=>{var e,l,i,s,n,a,d,t,u,m;Z.current&&(null===(n=Z.current)||void 0===n||n.querySelectorAll('.dropdown-wrapper[dropdown-value="'.concat(ea,'"] .dropdown--filter__opt')).forEach(e=>{e.removeEventListener("click",o)}),null===(a=Z.current)||void 0===a||a.querySelectorAll('.dropdown-wrapper[dropdown-value="'.concat(ed,'"] .dropdown--filter__opt')).forEach(e=>{e.removeEventListener("click",r)})),J.current&&(null===(t=J.current)||void 0===t||null===(d=t.querySelector('.dropdown.m-select[selection-value="'.concat(ea,'"]')))||void 0===d||d.removeEventListener("change",c),null===(m=J.current)||void 0===m||null===(u=m.querySelector('.dropdown.m-select[selection-value="'.concat(ed,'"]')))||void 0===u||u.removeEventListener("change",v)),(null===(e=es.current)||void 0===e?void 0:e.destory)&&(null===(l=es.current)||void 0===l||l.destory()),(null===(i=es.current)||void 0===i?void 0:i.destory)&&(null===(s=en.current)||void 0===s||s.destory())}},[]),(0,vd.useEffect)(()=>{var e,l,i,s;if(!eh){let e=null===(i=Z.current)||void 0===i?void 0:i.querySelector('.dropdown-wrapper--houses--module40[dropdown-value="'.concat(ea,'"]'));if(e){e.dataset.value="";let l=e.querySelector("span"),i=e.querySelector(".dropdown--filter__opt");l&&i&&(l.innerHTML=i.innerHTML)}}if(!eg){let e=null===(s=Z.current)||void 0===s?void 0:s.querySelector('.dropdown-wrapper--houses--module40[dropdown-value="'.concat(ed,'"]'));if(e){e.dataset.value="";let l=e.querySelector("span"),i=e.querySelector(".dropdown--filter__opt");l&&i&&(l.innerHTML=i.innerHTML)}}null===(e=es.current)||void 0===e||e.update(),null===(l=en.current)||void 0===l||l.update()},[eh,eg,eN,eT,eo]),(0,vd.useEffect)(()=>{var e,l;null===(e=es.current)||void 0===e||e.update(),null===(l=en.current)||void 0===l||l.update()},[eN,eT,ec,eu]);let ek=e=>{ep(e),ef(""),ej(""),er(et)};if(!(null===(x=e.fields)||void 0===x?void 0:null===(m=x.FirstSelectionList)||void 0===m?void 0:m.length)&&(null===(h=e.fields)||void 0===h?void 0:null===(p=h.SecondSelectionList)||void 0===p?void 0:p.length))return(0,va.jsx)(va.Fragment,{});let ew=ex==ed?eg:eh,ey=ex==ed?e.fields.SecondSelectionList:e.fields.FirstSelectionList,eE=null==ey?void 0:ey.filter(e=>{var l,i,s,n;return!ew||ew===(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.DropdownMatchingTag)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Value)||void 0===l?void 0:l.value)}),eC=null===(g=e.fields)||void 0===g?void 0:null===(f=g.FirstSelectionList)||void 0===f?void 0:f.filter(e=>{var l,i,s,n;return!eN||eN===(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.DropdownMatchingTag)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Value)||void 0===l?void 0:l.value)}),eO=null===(N=e.fields)||void 0===N?void 0:null===(j=N.SecondSelectionList)||void 0===j?void 0:j.filter(e=>{var l,i,s,n;return!eT||eT===(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.DropdownMatchingTag)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Value)||void 0===l?void 0:l.value)});return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"tab p-40 mb-150 d-none d-lg-block tab--module40",ref:Z,children:(0,va.jsxs)("div",{className:"row justify-content-center",children:[(0,va.jsx)("div",{className:"col-sm-12 col-lg-3",children:(0,va.jsxs)("div",{className:"module-wrapper",children:[(0,va.jsxs)("div",{className:"tab--opt tab--opt--module40",ref:ee,children:[(null===(b=e.fields.FirstSelectionList)||void 0===b?void 0:b.length)>0?(0,va.jsx)("button",{type:"button",name:ea,onClick:()=>ek(ea),className:ex===ea?"on":"",children:(0,va.jsx)("h4",{children:null===(w=e.fields.FirstSelectionList[0])||void 0===w?void 0:null===(k=w.fields.OffersMatchingTag)||void 0===k?void 0:null===(S=k.fields)||void 0===S?void 0:null===(T=S.Text)||void 0===T?void 0:T.value})}):(0,va.jsx)(va.Fragment,{}),(null===(y=e.fields.SecondSelectionList)||void 0===y?void 0:y.length)>0?(0,va.jsx)("button",{type:"button",name:ed,onClick:()=>ek(ed),className:ex===ed?"on":"",children:(0,va.jsx)("h4",{children:null===(L=e.fields.SecondSelectionList[0])||void 0===L?void 0:null===(O=L.fields.OffersMatchingTag)||void 0===O?void 0:null===(C=O.fields)||void 0===C?void 0:null===(E=C.Text)||void 0===E?void 0:E.value})}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsxs)("div",{className:"dropdown-wrapper dropdown-wrapper--houses--module40","data-value":"","dropdown-value":ea,style:{display:ex===ea?void 0:"none"},children:[(0,va.jsx)("label",{children:K(mT.W.PAGECONTENT.HOUSES)}),(0,va.jsx)("button",{type:"button",name:"button",className:"dropdown dropdown--filter","data-value":"",children:(0,va.jsx)("span",{children:K(mT.W.PAGECONTENT.ALLHOUSES)})}),(0,va.jsxs)("div",{className:"dropdown--filter__wrap js-filter-opts",children:[(0,va.jsx)("div",{className:"dropdown--filter__opt",children:K(mT.W.PAGECONTENT.ALLHOUSES)}),(0,va.jsx)(Ts,{fields:{ArticleOnSelectionList:e.fields.FirstSelectionList},rendering:e.rendering,params:e.params})]})]}),(0,va.jsxs)("div",{className:"dropdown-wrapper dropdown-wrapper--houses--module40","dropdown-value":ed,style:{display:ex===ed?void 0:"none"},children:[(0,va.jsx)("label",{htmlFor:"dropdown--houses",children:K(mT.W.PAGECONTENT.HOUSES)}),(0,va.jsx)("button",{type:"button",name:"button",className:"dropdown dropdown--filter","data-value":"",children:(0,va.jsx)("span",{children:K(mT.W.PAGECONTENT.ALLHOUSES)})}),(0,va.jsxs)("div",{className:"dropdown--filter__wrap js-filter-opts",children:[(0,va.jsx)("div",{className:"dropdown--filter__opt",children:K(mT.W.PAGECONTENT.ALLHOUSES)}),(0,va.jsx)(Ts,{fields:{ArticleOnSelectionList:e.fields.SecondSelectionList},rendering:e.rendering,params:e.params})]})]})]})}),(0,va.jsx)("div",{className:"col-sm-12 col-lg-9",children:(0,va.jsxs)("div",{className:"tab--right module-wrapper",children:[(0,va.jsx)("div",{className:"row js-append-here--module40",ref:X,children:(null==eE?void 0:eE.length)?eE.slice(0,eo).map((e,l)=>(0,va.jsx)(Td,{fields:e.fields,url:null==e?void 0:e.url},l)):""}),(0,va.jsx)("button",{className:"btn btn--white btn--mega js-append--module40",style:{display:(null==eE?void 0:eE.length)>eo?void 0:"none"},onClick:()=>{er(eo+et)},children:(0,va.jsx)("span",{children:K(mT.W.PAGECONTENT.LOADMORE)})})]})})]})}),(0,va.jsxs)("div",{className:"tab m-tab m-tab--progWrap d-block d-lg-none mb-100 tab--module40-mobile",ref:J,children:[(null===(I=e.fields.FirstSelectionList)||void 0===I?void 0:I.length)>0?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"m-tab--intro p-40 module-wrapper m-tab--selection first",children:[(0,va.jsx)("h2",{children:null===(R=e.fields.FirstSelectionList[0])||void 0===R?void 0:null===(M=R.fields.OffersMatchingTag)||void 0===M?void 0:null===(_=M.fields)||void 0===_?void 0:null===(F=_.Text)||void 0===F?void 0:F.value}),(0,va.jsxs)("div",{className:"dropdown-wrapper",children:[(0,va.jsx)("label",{children:K(mT.W.PAGECONTENT.HOUSES)}),(0,va.jsx)(Tn,{fields:{ArticleOnSelectionList:e.fields.FirstSelectionList},rendering:e.rendering,params:e.params})]})]}),(0,va.jsx)("div",{className:"m-tab--slider module-wrapper","selection-value":null===(B=e.fields.FirstSelectionList[0])||void 0===B?void 0:null===(D=B.fields.OffersMatchingTag)||void 0===D?void 0:null===(A=D.fields)||void 0===A?void 0:null===(P=A.Value)||void 0===P?void 0:P.value,children:(0,va.jsx)("div",{className:"swiper-container m-tab--sliderContainer",ref:el,children:(0,va.jsxs)("div",{className:"swiper-wrapper",children:[(null==eC?void 0:eC.length)?eC.slice(0,ec).map((e,l)=>(0,va.jsx)(Tt,{fields:e.fields},l)):"",(null==eC?void 0:eC.length)>ec?(0,va.jsx)("div",{className:"swiper-slide",onClick:()=>{ev(ec+et)},children:(0,va.jsx)(To,{})}):""]})})})]}):(0,va.jsx)(va.Fragment,{}),(null===(V=e.fields.SecondSelectionList)||void 0===V?void 0:V.length)>0?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"m-tab--intro p-40 module-wrapper m-tab--selection second",children:[(0,va.jsx)("h2",{children:null===(U=e.fields.SecondSelectionList[0])||void 0===U?void 0:null===(G=U.fields.OffersMatchingTag)||void 0===G?void 0:null===(H=G.fields)||void 0===H?void 0:null===(W=H.Text)||void 0===W?void 0:W.value}),(0,va.jsxs)("div",{className:"dropdown-wrapper",children:[(0,va.jsx)("label",{children:K(mT.W.PAGECONTENT.HOUSES)}),(0,va.jsx)(Tn,{fields:{ArticleOnSelectionList:e.fields.SecondSelectionList},rendering:e.rendering,params:e.params})]})]}),(0,va.jsx)("div",{className:"m-tab--slider module-wrapper","selection-value":null===(Y=e.fields.SecondSelectionList[0])||void 0===Y?void 0:null===(Q=Y.fields.OffersMatchingTag)||void 0===Q?void 0:null===(q=Q.fields)||void 0===q?void 0:null===(z=q.Value)||void 0===z?void 0:z.value,children:(0,va.jsx)("div",{className:"swiper-container m-tab--sliderContainer",ref:ei,children:(0,va.jsxs)("div",{className:"swiper-wrapper",children:[(null==eO?void 0:eO.length)?eO.slice(0,eu).map((e,l)=>(0,va.jsx)(Tt,{fields:e.fields},l)):"",(null==eO?void 0:eO.length)>eu?(0,va.jsx)("div",{className:"swiper-slide",onClick:()=>{em(eu+et)},children:(0,va.jsx)(To,{})}):""]})})})]}):(0,va.jsx)(va.Fragment,{})]})]})}),Tc=(0,vp.C)()(e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{children:e.fields.ArticleOnSelectionList?Ob
1ject.values(e.fields.ArticleOnSelectionList).map((e,l)=>{var i,s,n,a,d,t,o;return(0,va.jsx)("div",{className:"swiper-slide article--item","dropdown-value":null===(n=e.fields.DropdownMatchingTag)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)("a",{className:"tab--item",href:(0,vS.at)(null===(a=e.fields.FullUrl)||void 0===a?void 0:a.value,(0,vT.QT)().locale()),children:(0,va.jsx)("div",{className:"tab--img__wrap",children:(0,va.jsxs)("div",{className:"tab--img this-add-overlay",children:[(0,va.jsx)(vg.E,{field:e.fields.TeaserImage}),(0,va.jsxs)("div",{className:"tab--item__inner",children:[(null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.TitleImage)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.src)?(0,va.jsx)("div",{className:"tab--item__logo",children:(0,va.jsx)(vg.E,{field:e.fields.TitleImage})}):(0,va.jsx)("h4",{children:(0,va.jsx)(vx.H,{field:e.fields.Title})}),(0,va.jsx)("div",{className:"tab--item__cta",children:(0,va.jsx)(vx.H,{field:e.fields.TeaserContent})})]})]})})})},l)}):(0,va.jsx)(va.Fragment,{})})})),Tv=(0,vp.C)()(e=>{let{t:l,locale:i}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{children:e.fields.ArticleOnSelectionList?Object.values(e.fields.ArticleOnSelectionList).map((e,s)=>{var n,a,d,t,o,r,c;return(0,va.jsx)("div",{className:"col-lg-6 article--item","dropdown-value":null===(d=e.fields.DropdownMatchingTag)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:null===(n=a.V
1alue)||void 0===n?void 0:n.value,children:(0,va.jsx)("a",{className:"tab--item",href:(0,vS.at)(null===(t=e.fields.FullUrl)||void 0===t?void 0:t.value,i()),children:(0,va.jsx)("div",{className:"tab--img__wrap",children:(0,va.jsxs)("div",{className:"tab--img this-add-overlay",children:[(0,va.jsx)(vg.E,{field:e.fields.TeaserImage}),(0,va.jsxs)("div",{className:"tab--item__inner",children:[(null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.TitleImage)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.src)?(0,va.jsx)("div",{className:"tab--item__logo",children:(0,va.jsx)(vg.E,{field:e.fields.TitleImage})}):(0,va.jsx)("h4",{children:(0,va.jsx)(vx.H,{field:e.fields.Title})}),(0,va.jsxs)("div",{className:"tab--item__cta",children:[(0,va.jsx)(vx.H,{field:e.fields.TeaserContent}),(0,va.jsxs)("button",{className:"btn btn--white",type:"button",name:"button",children:[(0,va.jsx)("span",{children:l(mT.W.PAGECONTENT.DISCOVERMORE)}),(0,va.jsx)("span",{className:"icon-angle"})]})]})]})]})})})},s)}):(0,va.jsx)(va.Fragment,{})})})});let Tu=async(e,l)=>{var i,s,n,a,d,t;if(vD(e,"ArticleListing",!0))return[];let o=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,r=null!==(t=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==t?t:"en",c=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.template)||ux.t9.THCArticlePageData;return o?await p1(o,c,r,10,!0):[]};var Tm=e=>{var l,i,s,n,a,d,t,o;let r=(0,um.VG)(null==e?void 0:null===(l=e.rendering)||void 0===l?void 0:l.uid);if(vD(e,"ArticleListing",!0)&&(r=[{fields:e.fields}]),!(null==r?void 0:r.length))return(0,va.jsx)(va.Fragment,{});let c=r[0],v=(null==c?void 0:null===(s=c.fields)||void 0===s?void 0:null===(i=s.IsRightImage)||void 0===i?void 0:i.value)==!0;return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"prog prog--wrap p-90 d-none d-lg-block ",children:[!!(null==c?void 0:null===(a=c.fields)||void 0===a?void 0:null===(n=a.ArticleListing)||void 0===n?void 0:n.length)&&Object.values(null==c?void 0:null===(d=c.fields)||void 0===d?void 0:d.ArticleListing).map((e,l)=>{var i,s,n,a,d,t,o,r,c,u,m,x,p,h,f,g,j,N,b,T,S,k,w;return v=!v,(0,va.jsx)("div",{className:"prog--item mb-100 module-wrapper ".concat(v?"imgR":"imgL"),children:(0,va.jsxs)("div",{className:"row align-items-center",children:[(0,va.jsx)("div",{className:"prog--item__info col-sm-12 col-lg-7 d-flex",children:(0,va.jsx)("div",{className:"prog--infoWrap",children:(0,va.jsxs)("div",{className:"prog--info",children:[(0,va.jsx)(uf,{tag:"h3",Text:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Title,HideIfEmpty:!0}),(0,va.jsx)(uf,{tag:"h2",Text:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.SubTitle,HideIfEmpty:!0}),(0,va.jsx)(uf,{tag:"h4",Text:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.HouseVenue)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:n.Text,HideIfEmpty:!0}),(0,va.jsx)(vx.H,{field:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.ShortParagraph}),(0,va.jsx)(fa,{URL:e.fields.Link,hideLinkIfEmpty:!0,TEXT:null===(c=e.fields)||void 0===c?void 0:null===(r=c.LinkTitle)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:o.Phrase,hideIconAngle:!0,className:"btn btn--white",RawText:!0})]})})}),(null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.Image)||void 0===m?void 0:null===(u=m.value)||void 0===u?void 0:u.src)||(null==e?void 0:null===(f=e.fields)||void 0===f?void 0:null===(h=f.Video)||void 0===h?void 0:null===(p=h.value)||void 0===p?void 0:p.href)?(0,va.jsx)("div",{className:"prog--item__img col-sm-12 col-lg-5",children:(null==e?void 0:null===(N=e.fields)||void 0===N?void 0:null===(j=N.Video)||void 0===j?void 0:null===(g=j.value)||void 0===g?void 0:g.href)?(0,va.jsxs)("div",{className:"prog--imgItem js-triggerVid prog--video","data-vidink":null==e?void 0:null===(S=e.fields)||void 0===S?void 0:null===(T=S.Video)||void 0===T?void 0:null===(b=T.value)||void 0===b?void 0:b.href,children:[(0,va.jsx)(m7,{field:null==e?void 0:null===(k=e.fields)||void 0===k?void 0:k.Image}),(0,va.jsx)("button",{className:"icon-playvid",type:"button",name:"button"})]}):(0,va.jsx)("div",{className:"prog--imgItem",children:(0,va.jsx)(m7,{field:null==e?void 0:null===(w=e.fields)||void 0===w?void 0:w.Image})})}):(0,va.jsx)(va.Fragment,{})]})},l)}),(0,va.jsx)("div",{className:"prog m-prog m-prog--slider d-block d-lg-none mb-100 p-40",children:(0,va.jsx)("div",{className:"swiper-container m-prog--slider-container module-wrapper",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:(null==c?void 0:null===(t=c.fields)||void 0===t?void 0:t.ArticleListing)&&Object.values(null==c?void 0:null===(o=c.fields)||void 0===o?void 0:o.ArticleListing).map((e,l)=>{var i,s,n,a,d,t,o,r,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y;return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)("div",{className:"m-prog--item",children:((null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Image)||(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Video))&&(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"prog--item__img col-sm-12 col-lg-5",children:[(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Video)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href)?(0,va.jsxs)("div",{className:"prog--imgItem js-triggerVid prog--video","data-vi
1dink":null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Video)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.href,children:[(null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Image)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src)&&(0,va.jsx)(m7,{field:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:x.Image}),(0,va.jsx)("button",{className:"icon-playvid",type:"button",name:"button"})]}):(0,va.jsx)("div",{className:"prog--imgItem",children:(0,va.jsx)(m7,{field:null==e?void 0:null===(p=e.fields)||void 0===p?void 0:p.Image})}),(null==c?void 0:null===(f=c.fields)||void 0===f?void 0:null===(h=f.ArticleListing)||void 0===h?void 0:h.length)>1?(0,va.jsx)("div",{className:"swiper-pagination mobile-pagination"}):(0,va.jsx)(va.Fragment,{}),(0,va.jsxs)("div",{className:"prog--info",children:[(0,va.jsx)(uf,{tag:"h3",Text:null==e?void 0:null===(g=e.fields)||void 0===g?void 0:g.Title,HideIfEmpty:!0}),(0,va.jsx)(uf,{tag:"h2",Text:null==e?void 0:null===(j=e.fields)||void 0===j?void 0:j.SubTitle,HideIfEmpty:!0}),(0,va.jsx)(uf,{tag:"h4",Text:null==e?void 0:null===(T=e.fields)||void 0===T?void 0:null===(b=T.HouseVenue)||void 0===b?void 0:null===(N=b.fields)||void 0===N?void 0:N.Text,HideIfEmpty:!0}),(0,va.jsx)(vx.H,{field:null==e?void 0:null===(S=e.fields)||void 0===S?void 0:S.ShortParagraph}),(0,va.jsx)(fa,{URL:e.fields.Link,hideLinkIfEmpty:!0,TEXT:null===(y=e.fields)||void 0===y?void 0:null===(w=y.LinkTitle)||void 0===w?void 0:null===(k=w.fields)||void 0===k?void 0:k.Phrase,hideIconAngle:!0,className:"btn btn--white",RawText:!0})]})]})})})},l)})})})})]})})},Tx=e=>{var l,i,s;let{t:n}=(0,vT.QT)(),a=null!==(s=e.selectedYear)&&void 0!==s?s:Math.max(...e.fields.Years);return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"col-sm-12 col-lg-3",children:(0,va.jsx)("div",{className:"module-wrapper",children:(0,va.jsxs)("div",{className:"dropdown-wrapper dropdown-wrapper--year",children:[(0,va.jsx)(uf,{tag:"h2",Text:e.fields.Title}),!!(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Years)||void 0===l?void 0:l.length)&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("label",{htmlFor:"dropdown--year",children:n(mT.W.PAGECONTENT.YEAR)}),(0,va.jsx)("button",{type:"button",name:"button",className:"dropdown dropdown--filter",children:(0,va.jsx)("span",{className:"current_year",children:a})}),(0,va.jsx)("div",{className:"js-filter-year dropdown--filter__wrap js-filter-opts",children:Object.values(e.fields.Years).map((e,l)=>(0,va.jsx)("div",{className:"dropdown--filter__opt",children:e},l))})]})]})})})})},Tp=i(53723),Th=i(38622);let Tf=e=>{var l,i;let s;let{children:n,...a}=e;return(null==(s="string"==typeof a.URL?{value:{href:a.URL}}:a.URL)?void 0:null===(i=s.value)||void 0===i?void 0:null===(l=i.href)||void 0===l?void 0:l.length)?(0,va.jsx)(vk,{field:s,className:"fnb-imgtext--imgWrap",target:a.Target,children:n}):n};var Tg=(0,vp.C)()(e=>{var l,i,s,n;let a="dd MMMM, yyyy",{locale:d}=(0,vT.QT)();-1!==["zh-cn","zh-hk","sc","tc"].indexOf(d().toLowerCase())&&(a="yyyyå¹´MMæddæ¥");let t=(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.ContentAwardDetails)||void 0===l?void 0:l.length)&&(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.ContentAwardDetails)||void 0===s?void 0:s.sort((e,l)=>{var i,s,n,a;return new Date(null==l?void 0:null===(s=l.fields)||void 0===s?void 0:null===(i=s.Date)||void 0===i?void 0:i.value).getTime()-new Date(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Date)||void 0===n?void 0:n.value).getTime()}));return(0,va.jsx)(va.Fragment,{children:!!t&&Object.values(t).map((e,l)=>{var i,s,n,d,t,o;return(0,va.jsxs)("div",{className:"award--item",children:[(0,va.jsx)(Tp.N,{field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Date,tag:"h5",render:e=>e?(0,Th.WU)(e,a):""}),(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.AwardsName)||void 0===s?void 0:s.value)&&(0,va.jsx)(Tf,{URL:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Link,Target:"_blank",children:(0,va.jsx)(uf,{Text:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.AwardsName})}),(0,va.jsx)(uf,{tag:"h4",Text:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.Prize})]},l)})})}),Tj=(0,vp.C)()(e=>{var l,i,s;let{t:n}=(0,vT.QT)(),a=null!==(s=e.selectedYear)&&void 0!==s?s:Math.max(...e.fields.Years);return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"m-tab--intro p-40 module-wrapper",children:[(0,va.jsx)(uf,{tag:"h2",Text:e.fields.Title}),!!(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Years)||void 0===l?void 0:l.length)&&(0,va.jsxs)("div",{className:"dropdown-wrapper",children:[(0,va.jsx)("label",{htmlFor:"dropdown--year",children:n(mT.W.PAGECONTENT.YEAR)}),(0,va.jsx)("select",{className:"dropdown m-select",children:Object.values(e.fields.Years).map((e,l)=>(0,va.jsx)("option",{value:e,selected:e==a,children:e},l))})]})]})})});let TN=async(e,l)=>{var i,s,n,a,d,t,o;let r=e.dataSource||(null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId),c=(null==e?void 0:null===(n=e.params)||void 0===n?void 0:n.tid)||ux.t9.CommonFolder,v=null!==(o=null==l?void 0:null===(d=l.sitecore)||void 0===d?void 0:null===(a=d.context)||void 0===a?void 0:a.language)&&void 0!==o?o:"en",u=r?await (0,up.D)(r,c,v,10,!0):[],m=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.dtid)||ux.t9.TUHAward,x=Math.max(...u.map(e=>parseInt(e.name))),p=u.find(e=>e.name==x.toString());return p?{Years:u,Award:(null==p?void 0:p.id)?await pX(null==p?void 0:p.id,m,v,10,!0):[]}:{Years:u,Award:null}};var Tb=e=>{var l,i,s,n,a,d,t,o;let{locale:r}=(0,vT.QT)(),c=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);async function v(e,l){return await (0,up.D)(e,l,r(),10,!0)}let u=c&&(null==c?void 0:c.Years)&&(null==c?void 0:null===(i=c.Years)||void 0===i?void 0:i.map(e=>parseInt(e.name)).sort((e,l)=>l-e)),m=c&&(null==c?void 0:c.Award)&&(null==c?void 0:null===(s=c.Award)||void 0===s?void 0:s.map(e=>({fields:e}))),x={Years:u&&(null==u?void 0:u.length)>0?u:[],Title:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Title}
1,[p,h]=(0,vd.useState)({ContentAwardDetails:m});async function f(l,i){let s=null==c?void 0:c.Years.find(e=>e.name==l);if(null==s?void 0:s.id){var n;let l=await v(null==s?void 0:s.id,(null==e?void 0:null===(n=e.params)||void 0===n?void 0:n.dtid)||(null===ux.t9||void 0===ux.t9?void 0:ux.t9.TUHAward));if(l&&(null==l?void 0:l.length)>0){let e={ContentAwardDetails:l.map(e=>({fields:null==e?void 0:e.fields}))};setTimeout(function(){h(e),i.find(".js-append-here .award--item").show()},200)}}}return(0,vd.useEffect)(()=>{$(".js-filter-year .dropdown--filter__opt").off("click").on("click",function(){let e=$(this).closest(".dropdown-wrapper.dropdown-wrapper--year").find("button span").text();if($(this).text()&&$(this).text()!=e){$(this).closest(".dropdown-wrapper.dropdown-wrapper--year").find("button span").text($(this).text());var l=$(this).closest(".award--tab");$(this).text()&&l.find(".js-append-here .award--item").fadeOut(),f($(this).text(),l)}})}),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("input",{type:"hidden",name:"itemAward",value:null===(a=e.fields.Id)||void 0===a?void 0:a.value}),(0,va.jsx)("input",{type:"hidden",name:"dataSourceId",value:null===(d=e.fields.DataSourceID)||void 0===d?void 0:d.value}),(0,va.jsx)("input",{type:"hidden",name:"requestLang",value:r.name}),(0,va.jsxs)("div",{className:"mb-100 award",children:[(0,va.jsx)("div",{className:"p-40 mb-150 d-none d-lg-block award--tab",children:(0,va.jsxs)("div",{className:"row justify-content-center",children:[(0,va.jsx)(Tx,{fields:x,rendering:e.rendering,params:e.params}),p&&(null==p?void 0:null===(t=p.ContentAwardDetails)||void 0===t?void 0:t.length)?(0,va.jsx)("div",{className:"col-sm-12 col-lg-9",children:(0,va.jsx)("div",{className:"tab--right module-wrapper",children:(0,va.jsx)("div",{className:"js-append-here",children:(0,va.jsx)("div",{className:"js-content-wrapper",children:(0,va.jsx)(Tg,{fields:p,rendering:e.rendering,params:e.params})})})})}):(0,va.jsx)(va.Fragment,{})]})}),(0,va.jsxs)("div",{className:"m-tab m-tab--progWrap d-block d-lg-none mb-100 award--tab",children:[(0,va.jsx)(Tj,{fields:x,rendering:e.rendering,params:e.params}),p&&(null==p?void 0:null===(o=p.ContentAwardDetails)||void 0===o?void 0:o.length)?(0,va.jsx)("div",{className:"module-wrapper p-40",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("div",{className:"tab--right module-wrapper",children:(0,va.jsx)("div",{className:"js-append-here",children:(0,va.jsx)("div",{className:"js-content-wrapper",children:(0,va.jsx)(Tg,{fields:p,rendering:e.rendering,params:e.params})})})})})})}):(0,va.jsx)(va.Fragment,{})]})]})]})},TT=i(30381),TS=i.n(TT),Tk=(0,vp.C)()(e=>{var l,i,s,n,a,d;let t=(0,vd.useRef)(null),o=null===(i=e.fields)||void 0===i?void 0:null===(l=i.SelectedAwards)||void 0===l?void 0:l.map(e=>{var l,i;return TS()(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Date)||void 0===l?void 0:l.value).year()});(o=[...new Set(o)]).sort((e,l)=>l-e);let[r,c]=(0,vd.useState)(null!==(d=o[0])&&void 0!==d?d:-1),v=null===(n=e.fields)||void 0===n?void 0:null===(s=n.SelectedAwards)||void 0===s?void 0:s.filter(e=>{var l,i;return TS()(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Date)||void 0===l?void 0:l.value).year()==r}),u={Years:o,Title:null===(a=e.fields)||void 0===a?void 0:a.Title},m={ContentAwardDetails:v};return(0,vd.useEffect)(()=>{if(t.current){let e,l=0,i=t.current,s=()=>{$(i).find(".js-filter-year .dropdown--filter__opt").off("click").on("click",function(){$(this).text()&&$(this).text()!=r.toString()&&c(Number($(this).text()))}),$(i).find(".dropdown.m-select").off("change").on("change",function(){c(Number($(this).val()))}),l<5&&(e=setTimeout(s,5e3),l++)};return s(),()=>{clearTimeout(e),$(i).find(".js-filter-year .dropdown--filter__opt").off("click"),$(i).find(".dropdown.m-select").off("change")}}},[r]),(0,va.jsxs)("div",{className:"mb-100 award",ref:t,children:[(0,va.jsx)("div",{className:"p-40 mb-150 d-none d-lg-block award--tab",children:(0,va.jsxs)("div",{className:"row justify-content-center",children:[(0,va.jsx)(Tx,{selectedYear:r,rendering:e.rendering,params:e.params,fields:u}),!!(null==v?void 0:v.length)&&(0,va.jsx)("div",{className:"col-sm-12 col-lg-9",children:(0,va.jsx)("div",{className:"tab--right module-wrapper",children:(0,va.jsx)("div",{className:"js-append-here",children:(0,va.jsx)("div",{className:"js-content-wrapper",children:(0,va.jsx)(Tg,{fields:m,rendering:e.rendering,params:e.params})})})})})]})}),(0,va.jsxs)("div",{className:"m-tab m-tab--progWrap d-block d-lg-none mb-100 award--tab",children:[(0,va.jsx)(Tj,{selectedYear:r,fields:u,rendering:e.rendering,params:e.params}),!!(null==v?void 0:v.length)&&(0,va.jsx)("div",{className:"module-wrapper p-40",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-12",children:(0,va.jsx)("div",{className:"tab--right module-wrapper",children:(0,va.jsx)("div",{className:"js-append-here",children:(0,va.jsx)("div",{className:"js-content-wrapper",children:(0,va.jsx)(Tg,{fields:m,rendering:e.rendering,params:e.params})})})})})})})]})]})}),Tw=(0,vp.C)()(e=>{var l,i,s;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"p-40 quote-only module-wrapper reveal",children:(0,va.jsxs)("div",{className:"quote-wrapper",children:[(null===(l=e.fields.Quote)||void 0===l?void 0:l.value)?(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.Quote})}):(0,va.jsx)(va.Fragment,{}),(null===(i=e.fields.Author)||void 0===i?void 0:i.value)?(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:e.fields.Author})}):(0,va.jsx)(va.Fragment,{}),(null===(s=e.fields.Position)||void 0===s?void 0:s.value)?(0,va.jsx)("h5",{children:(0,va.jsx)(vm.x,{field:e.fields.Position})}):(0,va.jsx)(va.Fragment,{})]})})})}),Ty=(0,vp.C)()(e=>{var l,i,s;let{locale:n}=(0,vT.QT)(),a=n(),d=(0,vr.z)().sitecoreContext.pageEditing,t=e.fields,o={en:"","zh-HK":"!text-[12px] leading-[14px] lg:leading-[18px]","zh-CN":"!text-[12px] leading-[14px] lg:leading-[18px]"};return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"p-40 quote-only module-wrapper reveal",children:(0,va.jsxs)("div",{className:"quote-wrapper",children:[!0==d?(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null==t?void 0:t.Quote})}):(0,va.jsx)(va.Fragment,{children:(null==t?void 0:null===(l=t.Quote)||void 0===l?void 0:l.value)&&(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null==t?void 0:t.Quote})})}),!0==d?(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:null==t?void 0:t.Author})}):(0,va.jsx)(va.Fragment,{children:(null==t?void 0:null===(i=t.Author)||void 0===i?void 0:i.value)&&(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:null==t?void 0:t.Author})})}),!0==d?(0,va.jsx)("h5",{className:"".concat(o[a]),children:(0,va.jsx)(vm.x,{field:null==t?void 0:t.Position})}):(0,va.jsx)(va.Fragment,{children:(null==t?void 0:null===(s=t.Position)||void 0===s?void 0:s.value)&&(0,va.jsx)("h5",{className:"".concat(o[a]),children:(0,va.jsx)(vm.x,{field:null==t?void 0:t.Position})})})]})})})});let TE=async(e,l)=>{var i,s,n,a,d;if(vD(e,"Items",!0))return[];let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en",r=t?await pX(t,ux.t9.BookATransferPriceTableItem,o,10,
1!0):[];return null!=r?r:[]};var TC=e=>{var l,i;let{t:s}=(0,vT.QT)(),n=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(vD(e,"Items",!0)&&(n=null===(i=e.fields.Items)||void 0===i?void 0:i.map(e=>e.fields)),null==n?void 0:n.length)?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"book-a-transfer-introduction",children:[(0,va.jsx)("div",{className:"book-a-transfer-introduction-section",children:(0,va.jsx)(vt.V,{name:"toh-book-a-transfer-introduction-before-table",rendering:e.rendering})}),!!(null==n?void 0:n.length)&&(0,va.jsxs)("div",{className:"book-a-transfer-introduction-section",children:[(0,va.jsx)("div",{className:"book-a-transfer-pricetable-header",children:s(mT.W.COMMONFORM.CARTYPEANDPRICE)||"Car Type And Price"}),(0,va.jsx)("table",{className:"book-a-transfer-pricetable",children:Object.values(n).map((e,l)=>{var i,s;return(0,va.jsxs)("tr",{children:[(0,va.jsx)("td",{children:null==e?void 0:null===(i=e.Name)||void 0===i?void 0:i.value}),(0,va.jsx)("td",{className:"price-column",children:null==e?void 0:null===(s=e.Price)||void 0===s?void 0:s.value})]},l)})})]}),(0,va.jsx)("div",{className:"book-a-transfer-introduction-section",children:(0,va.jsx)(vt.V,{name:"toh-book-a-transfer-introduction-after-table",rendering:e.rendering})})]})}):(0,va.jsx)(va.Fragment,{})};let TO=e=>{var l,i,s;let{sitecoreContext:n}=(0,vr.z)(),a=n.pageEditing,d=null===(l=n.route)||void 0===l?void 0:l.fields,t=null!==(s=null==e?void 0:e.fields)&&void 0!==s?s:d;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"sect-title sect-title--center module-wrapper mb-50 reveal",children:!0==a?(0,va.jsx)("h1",{children:(0,va.jsx)(vm.x,{field:null==t?void 0:t.Title})}):(0,va.jsx)(va.Fragment,{children:(null==t?void 0:null===(i=t.Title)||void 0===i?void 0:i.value)?(0,va.jsx)(vm.x,{field:t.Title,tag:"h1"}):(0,va.jsx)(va.Fragment,{})})})})},TL=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"SelectedPartners",!0))return[];let r=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,c=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en",v=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.template)?null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.template:ux.t9.PartnerDetail;return r?await (0,up.q)(r,v,c,10,!1):[]};var TI=e=>{var l;let i=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return vD(e,"SelectedPartners",!0)&&(i=e.fields.SelectedPartners.map(e=>({...e.fields}))),(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"row",children:!!(null==i?void 0:i.length)&&Object.values(i).map((e,l)=>(0,va.jsx)("div",{className:"col-12 col-lg-6",children:(0,va.jsxs)("div",{className:"page--partner--item module-wrapper",children:[(0,va.jsx)("div",{className:"logo-wrap",children:(0,va.jsx)(m7,{field:null==e?void 0:e.TeaserImage})}),(0,va.jsxs)("div",{className:"page--partner--info",children:[(0,va.jsx)(uf,{tag:"h4",Text:null==e?void 0:e.Title}),(0,va.jsx)(vx.H,{field:null==e?void 0:e.ShortParagraph})]}),(0,va.jsx)(fa,{IconVariant:"arrow",TextTag:"span",TEXT:null==e?void 0:e.LinkTitle,URL:null==e?void 0:e.Link,className:"btn btn--black"})]})},l))})})},TF=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S;let k=null!==(T=null===(s=e.fields)||void 0===s?void 0:null===(i=s.BlurImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&void 0!==T?T:void 0,w=null!==(S=null===(d=e.fields)||void 0===d?void 0:null===(a=d.Image)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src)&&void 0!==S?S:void 0;return(0,va.jsx)("section",{className:"home-art home-module home-3",id:"home-art",children:(0,va.jsxs)("div",{id:"blur-section",children:[(0,va.jsxs)(v3,{className:"blur-wrapper",children:[(0,va.jsx)("div",{className:"blur-image","data-src-desktop":k,"data-src-touch":w,style:{backgroundImage:'url("")'}}),(0,va.jsx)("div",{className:"clear-circle",style:{backgroundImage:"url('".concat(w,"')")}})]}),(0,va.jsx)("div",{className:"page--container d-flex text-layer",children:(0,va.jsx)("div",{className:"home-art--info p-40",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)(v4,{className:"col-12 col-lg-6 col--title",children:(0,va.jsx)("div",{className:"home-art--infoItem home-art--infoItem_left title-wrap d-flex justify-content-end ustify-content-lg-start justify-content-xl-start",children:(null===(o=e.fields)||void 0===o?void 0:null===(t=o.ThemeTitle)||void 0===t?void 0:t.value)&&(0,va.jsx)("h1",{dangerouslySetInnerHTML:{__html:null===(c=e.fields)||void 0===c?void 0:null===(r=c.ThemeTitle)||void 0===r?void 0:r.value}})})}),(0,va.jsx)("div",{className:"col-12 col-lg-6 col--content",children:(0,va.jsxs)(v4,{className:"home-art--infoItem home-art--infoItem_right",children:[(null===(u=e.fields)||void 0===u?void 0:null===(v=u.Title)||void 0===v?void 0:v.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null===(x=e.fields)||void 0===x?void 0:null===(m=x.Title)||void 0===m?void 0:m.value}}),(0,va.jsx)("div",{dangerouslySetInnerHTML:{__html:null===(h=e.fields)||void 0===h?void 0:null===(p=h.Content)||void 0===p?void 0:p.value}}),(0,va.jsxs)(vk,{field:null===(f=e.fields)||void 0===f?void 0:f.Link,className:"btn btn--white",children:[(0,va.jsx)("span",{children:null===(b=e.fields)||void 0===b?void 0:null===(N=b.LinkTitle)||void 0===N?void 0:null===(j=N.fields)||void 0===j?void 0:null===(g=j.Phrase)||void 0===g?void 0:g.value}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})]})})})]})})});let T_={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ContentBlockExperiences"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"datasource"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"datasource"},name:{kind:"Name",value:"item"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"datasource"}}},{kind:"Argument",name:{kind:"Name",value:"language"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"Title"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"Title",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",alias:{kind:"Name",value:"Content"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"Content",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",alias:{kind:"Name",value:"Link"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"Link",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",alias:{kind:"Name",value:"LinkTitle"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"LinkTitle",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",alias:{kind:"Name",value:"Slides"},name:{kind:"Name",value:"children"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"results"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",alias:{kind:"Name",value:"Image"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"Image",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",alias:{kind:"Name",value:"ImageMobile"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"ImageMobile",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}}]}}]}}]}}]}}]};vL.ZP.registerPlugin(v_()),vL.ZP.registerPlugin(vI.V);let TM=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x;let p=(0,vd.useRef)(null),h=(0,vd.useRef)(null);ft(p);let f=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),g=(null==f?void 0:null===(n=f.datasource)||void 0===n?void 0:null===(s=n.Slides)||void 0===s?void 0:null===(i=s.results)||void 0===i?void 0:i.length)?Object.values(null==f?void 0:null===(d=f.datasource)||void 0===d?void 0:null===(a=d.Slides)||void 0===a?void 0:a.results).map(e=>{var l,i,s,n;return{Image:{value:null==e?void 0:null===(i=e.Image)||void 0===i?void 0:null===(l=i.jsonValue)||void 0===l?void 0:l.value},ImageMobile:{value:null==e?void 0:null===(n=e.ImageMobile)||void 0===n?void 0:null===(s=n.jsonValue)||void 0===s?void 0:s.value}}}):[];vD(e,"Items",!0)&&(g=null===(x=e.fields)||void 0===x?void 0:null===(m=x.Items)||void 0===m?void 0:m.map(e=>e.fields));let j=!!(null==g?void 0:g.length)&&g.map((e,l)=>(0,va.jsx)(v4,{className:"img-wrapper",children:(0,va.jsx)("div",{className:"exp-img lazyload",children:(0,va.jsx)(fi,{image:null==e?void 0:e.Image,imageMobile:null==e?void 0:e.ImageMobile})})},l));return(0,vI.V)(()=>{if(document.querySelector(".page--home")&&p.current){let e=window.innerWidth,l=0,i=0,s=p.current,n=s=>{var n;i=(l=null!==(n=$(s).find(".exp-horizontal-wrapper").outerWidth())&&void 0!==n?n:0)-e},a=()=>{e=window.innerWidth,n(s)};return window.addEventListener("resize",a),a(),vL.ZP.fromTo(".houses-content-wrapper",{opacity:0}
1,{scrollTrigger:{trigger:h.current,scrub:!0,start:"top 70%",end:"+=500"},opacity:1,left:0,ease:"power1.inOut",duration:.001,invalidateOnRefresh:!0}),v_().create({trigger:h.current,pin:p.current,start:"top top",end:()=>"+=".concat(i),invalidateOnRefresh:!0}),vL.ZP.to(".exp-horizontal-wrapper",{scrollTrigger:{trigger:h.current,scrub:!0,start:"top top",end:()=>"+=".concat(i),invalidateOnRefresh:!0},left:()=>-l+e,ease:"none"}),()=>{window.removeEventListener("resize",a)}}},{scope:p}),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{id:"trigger-exp",ref:h}),(0,va.jsx)("section",{className:"home-experiences home-module home-4",id:"home-experiences",ref:p,children:(0,va.jsxs)("div",{className:"page--container p-0",children:[(0,va.jsx)("div",{className:"vt-center-wrapper",children:(0,va.jsx)("div",{className:"horizontal-wrapper exp-horizontal-wrapper",children:j})}),(0,va.jsxs)("div",{className:"houses-content-wrapper",children:[(0,va.jsx)("div",{className:"title-wrap",children:(0,va.jsx)(uf,{tag:"h1",Text:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Title,raw:!0})}),(0,va.jsxs)("div",{className:"text-wrap",children:[(0,va.jsx)(vx.H,{field:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.Content,className:"sc-richtext-wrapper"}),(0,va.jsx)(fa,{className:"btn btn--white",TEXT:null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(c=v.LinkTitle)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:r.Phrase,URL:null==e?void 0:null===(u=e.fields)||void 0===u?void 0:u.Link,TextTag:"span"})]})]})]})})]})},TR=async(e,l)=>{var i,s,n,a;let d=(0,x0.W)(x2())({});return await d.request(T_,{datasource:e.dataSource,contextItem:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,language:null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language})};var TP=(0,vp.C)()(TM);let TA=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"ArticleList",!0)||vD(null==l?void 0:null===(i=l.sitecore)||void 0===i?void 0:i.route,"ArticleList",!0))return[];let r=e.dataSource?e.dataSource:null==l?void 0:null===(n=l.sitecore)||void 0===n?void 0:null===(s=n.route)||void 0===s?void 0:s.itemId,c=null!==(o=null==l?void 0:null===(d=l.sitecore)||void 0===d?void 0:null===(a=d.context)||void 0===a?void 0:a.language)&&void 0!==o?o:"en";return r?await pX(r,(null===(t=e.params)||void 0===t?void 0:t.tid)||ux.t9.ShowInContentBlockExperienceAndDetails,c):[]};var TD=e=>{var l,i,s,n,a,d,t,o,r,c,v;let{sitecoreContext:u}=(0,vr.z)(),{t:m,locale:x}=(0,vT.QT)(),p="thc-xbead-",h="".concat(p,"-").concat(null===(l=e.rendering)||void 0===l?void 0:l.uid,"-slider"),f="".concat(p,"-").concat(null===(i=e.rendering)||void 0===i?void 0:i.uid,"-slider-prev"),g="".concat(p,"-").concat(null===(s=e.rendering)||void 0===s?void 0:s.uid,"-slider-next"),j=(0,um.VG)(null===(n=e.rendering)||void 0===n?void 0:n.uid);j&&(j=j.sort((e,l)=>{var i,s,n,a;return new Date((null==l?void 0:null===(s=l.ReleaseDate)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.toString())||"1900-01-01").getTime()-new Date((null==e?void 0:null===(a=e.ReleaseDate)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.toString())||"1900-01-01").getTime()}));let N=null!==(o=null==e?void 0:e.fields)&&void 0!==o?o:null==u?void 0:null===(a=u.route)||void 0===a?void 0:a.fields;vD({fields:N},"ArticleList",!0)&&(j=null==N?void 0:null===(r=N.ArticleList)||void 0===r?void 0:r.map(e=>({...e.fields,FullUrl:{value:e.url},_UrlInfo:{path:e.url}})));let b=null!==(c=null==j?void 0:j.length)&&void 0!==c?c:0,T=null!==(v=null==N?void 0:null===(d=N.ContentBlockLimit)||void 0===d?void 0:d.value)&&void 0!==v?v:0;return T=T>0?Math.min(T,b):b,(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"slider slider--3column module-wrapper mb-100",id:h,children:[(0,va.jsxs)("div",{className:"title-wrap",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vt.V,{name:"thc-exp-title",rendering:e.rendering})}),(null==N?void 0:null===(t=N.ContentBlockArrowDisplay)||void 0===t?void 0:t.value)?(0,va.jsxs)("div",{className:"swiper-button-wrap",children:[(0,va.jsx)("div",{className:"swiper-button-prev slider--3column--button slider--3column--button-prev",id:f}),(0,va.jsx)("div",{className:"swiper-button-next slider--3column--button slider--3column--button-next",id:g})]}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsx)("div",{className:"swiper-container slider--3column-container",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:!!(null==j?void 0:j.length)&&Object.values(j).slice(0,T).map((e,l)=>{var i,s;return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsxs)("div",{className:"slider--3column__item",children:[(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(i=e.FullUrl)||void 0===i?void 0:i.value,x()),children:(0,va.jsx)("div",{className:"slider--3column__img",children:(0,va.jsx)("div",{className:"img-wrap",children:(0,va.jsx)(m7,{field:null==e?void 0:e.TeaserImage})})})}),(0,va.jsx)("div",{className:"slider--3column__content",children:(0,va.jsxs)("div",{className:"info-wrapper",children:[(0,va.jsx)(uf,{tag:"h5",raw:!0,Text:null==e?void 0:e.SubTitle,HideIfEmpty:!0}),(0,va.jsx)(uf,{tag:"h3",raw:!0,Text:null==e?void 0:e.Title,HideIfEmpty:!0}),(0,va.jsx)(vx.H,{field:null==e?void 0:e.ShortParagraph}),(0,va.jsx)(fa,{TEXT:m(mT.W.PAGECONTENT.DETAILS),TextTag:"span",className:"btn btn--white",U
1RL:(0,vS.at)(null==e?void 0:null===(s=e._UrlInfo)||void 0===s?void 0:s.path,x())})]})})]})},l)})})})]})})},TB=(0,vp.C)()(e=>{var l,i,s,n,a,d,t;let{t:o,locale:r}=(0,vT.QT)(),c=(0,vd.useId)().replace(/:/g,""),v=(0,vd.useId)().replace(/:/g,""),u=(0,vd.useId)().replace(/:/g,"");return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"home-happenings home-module home-6",id:"home-happenings",children:(0,va.jsxs)("div",{className:"slider slider--3column module-wrapper mb-100",id:c,children:[(0,va.jsxs)("div",{className:"title-wrap",children:[(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value}}),(null===(n=e.fields)||void 0===n?void 0:null===(s=n.ArrowDisplay)||void 0===s?void 0:s.value)?(0,va.jsxs)("div",{className:"swiper-button-wrap",children:[(0,va.jsx)("div",{className:"swiper-button-prev slider--3column--button slider--3column--button-prev",id:v}),(0,va.jsx)("div",{className:"swiper-button-next slider--3column--button slider--3column--button-next",id:u})]}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsx)("div",{className:"swiper-container slider--3column-container",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:(null===(d=e.fields)||void 0===d?void 0:null===(a=d.ArticleList)||void 0===a?void 0:a.length)?Object.values(null===(t=e.fields)||void 0===t?void 0:t.ArticleList).map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsxs)("div",{className:"slider--3column__item",children:[(0,va.jsx)("a",{href:(0,vS.at)(e.url,r()),children:(0,va.jsx)("div",{className:"slider--3column__img",children:(0,va.jsx)("div",{className:"img-wrap",children:(0,va.jsx)(m7,{field:null===(i=e.fields)||void 0===i?void 0:i.TeaserImage,editable:!1})})})}),(0,va.jsx)("div",{className:"slider--3column__content",children:(0,va.jsxs)("div",{className:"info-wrapper",children:[(null===(s=e.fields.SubTitle)||void 0===s?void 0:s.value)?(0,va.jsx)("h5",{dangerouslySetInnerHTML:{__html:null===(n=e.fields.SubTitle)||void 0===n?void 0:n.value}}):(0,va.jsx)(va.Fragment,{}),(null===(a=e.fields.Title)||void 0===a?void 0:a.value)?(0,va.jsx)("h3",{dangerouslySetInnerHTML:{__html:null===(d=e.fields.Title)||void 0===d?void 0:d.value}}):(0,va.jsx)(va.Fragment,{}),(0,va.jsx)(vx.H,{field:null===(t=e.fields)||void 0===t?void 0:t.ShortParagraph}),(0,va.jsxs)(uv,{href:e.url,className:"btn btn--white",title:o(mT.W.PAGECONTENT.DETAILS),children:[(0,va.jsx)("span",{children:o(mT.W.PAGECONTENT.DETAILS)}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})]})},l)}):(0,va.jsx)(va.Fragment,{})})})]})})})});vL.ZP.registerPlugin(vI.V);let TV=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;let x=(0,vd.useRef)(null),p=(0,vd.useRef)(null);ft(x);let h=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);vD(e,"Items",!0)&&(h=null===(i=e.fields)||void 0===i?void 0:i.Items),(0,vI.V)(()=>{if(!document.querySelector(".page--home"))return;let e,l,i,s=[];if(x.current){let n=window.innerWidth,a=x.current,d=()=>{let n=$(a).find(".houses-horizontal-wrapper .houses-m-wrapper"),d=n.length,t=n.outerHeight()||0,o=t*d+.5*t*d-t;e=v_().create({trigger:p.current,start:"top top",end:()=>"+=".concat(o),pin:".home-houses__slider--img"}),a.querySelectorAll(".houses-m-wrapper").forEach((e,n)=>{let a=vL.ZP.timeline().to(e,{duration:1,opacity:1,ease:"power1.inOut"}).to(e,{duration:1,delay:2,opacity:0,ease:"power1.inOut"});i=v_().create({id:"houses-m-wrapper-".concat(n),animation:a,trigger:e,start:"top center",scrub:1,end:()=>"+=150%"}),l=v_().create({id:"houses-m-wrapper-pin-".concat(n),trigger:".houses-m-wrapper-".concat(n),pin:".houses-m-wrapper-".concat(n),scrub:1,start:"top top",end:()=>"+=50%"}),s.push(i),s.push(l)})},t=()=>{(n=window.innerWidth)<768&&!e?d():n>768&&e&&(e.kill(),s.forEach(e=>{e.kill()}),e=void 0,i=void 0,l=void 0,s=[])};return window.addEventListener("resize",t),t(),()=>{window.removeEventListener("resize",t)}}},{scope:x});try{return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{id:"trigger-house",className:"d-block d-md-none",ref:p}),(0,va.jsxs)("section",{className:"home-houses home-module home-houses--2 home-2",id:"home-houses",ref:x,children:[(0,va.jsxs)(v3,{className:"home-houses__slider--img",children:[(0,va.jsx)(v4,{className:"title-wrap d-block d-md-none",children:(null===(n=e.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value)?(0,va.jsx)("h1",{dangerouslySetInnerHTML:{__html:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Title)||void 0===a?void 0:a.value}}):(0,va.jsx)(va.Fragment,{})}),h&&(null==h?void 0:h.length)>0&&Object.values(h).map((e,l)=>{var i,s,n,a,d,t,o,r,c,v,u,m,x,p,h;return(0,va.jsx)("div",{className:"slide","data-index":l,children:(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.CoverVideoLink)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)?(0,va.jsx)("div",{className:"video-wrapper d-none d-lg-block",children:(0,va.jsx)("div",{className:"houses__vid",children:(0,va.jsx)("div",{className:"houses__vid-wrap parallax-section",children:(0,va.jsx)("video",{id:"hmHouseVid".concat(l),className:"hmHouseVid azuremediaplayer amp-default-skin",loop:!0,muted:!0,autoPlay:!0,poster:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.CoverImage)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src,children:(0,va.jsx)("source",{src:null==e?void 0:null===(h=e.fields)||void 0===h?void 0:null===(p=h.CoverVideoLink)||void 0===p?void 0:null===(x=p.value)||void 0===x?void 0:x.href})})})})}):(0,va.jsx)("div",{className:"img-wrapper parallax-section",children:(0,va.jsx)("div",{className:"bg-img lazyload","data-src-d":null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.CoverImage)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.src,"data-src-m":null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.CoverImageMobile)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.src})})},l)})]}),(0,va.jsx)("div",{className:"page--container home-houses-desktop d-none d-md-flex",children:(0,va.jsxs)("div",{className:"row align-items-center no-gutters",children:[(0,va.jsx)(v6,{className:"row__col
1col-6 row__col--l",children:(0,va.jsx)("div",{className:"home-houses__list pl-0",children:h&&(null==h?void 0:h.length)>0&&Object.values(h).map((e,l)=>{var i,s,n,a,d;return(0,va.jsx)(vd.Fragment,{children:(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Logo)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src)?(0,va.jsx)(vk,{field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.LogoLink,className:"house-logo-item","data-index":l,children:(0,va.jsx)(m7,{field:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Logo})}):(0,va.jsx)(va.Fragment,{})},l)})})}),(0,va.jsxs)("div",{className:"row__col col-6 row__col--r",children:[(0,va.jsx)(v4,{className:"title-wrap d-none d-md-block",children:(null===(t=e.fields)||void 0===t?void 0:t.Title)?(0,va.jsx)("h1",{dangerouslySetInnerHTML:{__html:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Title)||void 0===o?void 0:o.value}}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsx)(v4,{className:"swiper-container home-houses__slider home-houses__slider--content",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:h&&(null==h?void 0:h.length)>0&&Object.values(h).map((e,l)=>{var i,s,n,a,d,t,o,r,c,v,u,m;return(0,va.jsxs)("div",{className:"swiper-slide",children:[(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Title)?(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value}}):"",(0,va.jsx)("div",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Content)||void 0===a?void 0:a.value}}),(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Link)&&(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Link)||void 0===o?void 0:o.value.href)?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)(vk,{field:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.Link,className:"btn btn--white",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.LinkTitle)||void 0===u?void 0:null===(v=u.fields)||void 0===v?void 0:v.Phrase})}),(0,va.jsx)("span",{className:"icon-angle"})]})}):""]},l)})})})]})]})}),(0,va.jsxs)("div",{className:"home-houses-mobile d-flex d-md-none",children:[(0,va.jsx)(v4,{className:"title-wrap d-none d-lg-block",children:(null===(v=e.fields)||void 0===v?void 0:null===(c=v.Title)||void 0===c?void 0:c.value)&&(0,va.jsx)("h1",{dangerouslySetInnerHTML:{__html:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Title)||void 0===u?void 0:u.value}})}),(0,va.jsx)("div",{className:"horizontal-wrapper houses-horizontal-wrapper",children:(null==h?void 0:h.length)&&h.map((e,l)=>{var i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T;return(0,va.jsxs)("div",{className:"houses-m-wrapper houses-m-wrapper-".concat(l),children:[(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.LogoMobile)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src)&&(0,va.jsx)(vk,{field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.LogoLink,children:(0,va.jsx)(vg.E,{field:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.LogoMobile,className:"house-logo-item","data-index":l})}),(null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.Title)||void 0===t?void 0:t.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.Title)||void 0===r?void 0:r.value}}),(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Content)||void 0===v?void 0:v.value)&&(0,va.jsx)("p",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.Content)||void 0===m?void 0:m.value}}),(null==e?void 0:null===(f=e.fields)||void 0===f?void 0:null===(h=f.Link)||void 0===h?void 0:null===(p=h.value)||void 0===p?void 0:p.href)&&(0,va.jsxs)(vk,{field:null==e?void 0:null===(g=e.fields)||void 0===g?void 0:g.Link,className:"btn btn--white",children:[(0,va.jsx)("span",{children:null==e?void 0:null===(T=e.fields)||void 0===T?void 0:null===(b=T.LinkTitle)||void 0===b?void 0:null===(N=b.fields)||void 0===N?void 0:null===(j=N.Phrase)||void 0===j?void 0:j.value}),(0,va.jsx)("span",{className:"icon-angle"})]})]},l)})})]})]})]})}catch(e){return(0,va.jsx)(vb,{error:e})}},TW=async(e,l)=>{var i,s,n,a,d,t;if(vD(e,"Items",!0))return[];let o=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,r=null!==(t=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==t?t:"en";return o&&await (0,up.D)(o,(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.tid)||ux.t9.ContentBlockWithImageAndVideo,r,5,!0)};var TH=(0,vp.C)()(TV);let TG=e=>{var l,i,s,n,a,d,t;let o=(0,vd.useRef)(null);ft(o);let r=!!(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.ArticleList)||void 0===l?void 0:l.length)&&Object.values(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.ArticleList).map((e,l)=>{var i,s;return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)("div",{className:"img-wrapper parallax-section",children:(0,va.jsx)(fi,{className:"offer-img lazyload",image:null===(i=e.fields)||void 0===i?void 0:i.Image,imageMobile:null===(s=e.fields)||void 0===s?void 0:s.ImageMobile})})},l)}),c=!!(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.ArticleList)||void 0===n?void 0:n.length)&&Object.values(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.ArticleList).map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsxs)("div",{className:"swiper-slide",children:[(0,va.jsx)(uf,{tag:"h2",Text:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Title,raw:!0,HideIfEmpty:!0}),(0,va.jsx)(vx.H,{field:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Detail}),(0,va.jsx)(fa,{hideLinkIfEmpty:!0,className:"btn btn--white",TextTag:"span",TEXT:null===(d=e.fields)||void 0===d?void 0:null===(a=d.LinkTitle)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:n.Phrase,URL:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Link})]},l)});return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("section",{className:"home-offers home-module home-5",id:"home-offers",ref:o,children:[(0,va.jsx)(v3,{className:"swiper-container home-offers__slider home-offers__slider--img",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:r})}),(0,va.jsx)("div",{className:"page--container",children:(0,va.jsxs)("div",{className:"offers-content-wrapper",children:[(0,va.jsx)(v4,{className:"title-wrap",children:(0,va.jsx)(uf,{tag:"h2",Text:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Title,raw:!0,HideIfEmpty:!0})}),(0,va.jsx)(v4,{className:"swiper-container home-offers__slider home-offers__slider--content",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:c})})]})})]})})};var TU=(0,vp.C)()(TG);let Tz=e=>{var l,i,s,n,a,d,t,o,r,c;let v=(0,vd.useRef)(null);ft(v);let{sitecoreContext:u}=(0,vr.z)(),m=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);vD(e,"Items",!0)&&(m=null===(c=e.fields)||void 0===c?void 0:null===(r=c.Items)||void 0===r?void 0:r.map(e=>e));let x=(null==e?void 0:null===(i=e.rendering)||void 0===i?void 0:i.dataSource)&&(null==e?void 0:e.fields)?e:null==u?void 0:u.route,p=m&&Object.values(m).map((e,l)=>{var i,s;return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)("div",{className:"img-wrapper lazyload",children:(0,va.jsx)(fi,{image:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.CoverImage,imageMobile:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.CoverImageMobile})})},l)}),h=m&&Object.values(m).map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsxs)("div",{className:"quote-wrapper",children:[(0,va.jsx)(uf,{tag:"h3",raw:!0,Text:null===(i=e.fields)||void 0===i?void 0:i.Quote}),(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Signature)||void 0===s?void 0:s.value)&&(0,va.jsx)("div",{className:"signature",children:(0,va.jsx)(m7,{className:"w-auto",field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Signature})}),(0,va.jsx)(uf,{tag:"h4",Text:null===(d=e.fields)||void 0===d?void 0:d.QuotedBy,raw:!0}),(0,va.jsx)(uf,{tag:"h5",Text:null===(t=e.fields)||void 0===t?void 0:t.Position})]})},l)});return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{id:"trigger-ppl"}),(0,va.jsx)("section",{className:"home-people home-module home-1",id:"home-people",ref:v,children:(0,va.jsx)("div",{className:"page--container p-0",children:(0,va.jsxs)("div",{className:"row align-items-center no-gutters",children:[(0,va.jsxs)(v4,{className:"row__col row__col--l col-12 col-lg-6 col--img",children:[(0,va.jsx)("div",{className:"title-wrap d-flex d-lg-none justify-content-end",children:(0,va.jsx)(uf,{tag:"h1",raw:!0,Text:null===(s=x.fields)||void 0===s?void 0:s.Title})}),(0,va.jsx)("div",{className:"swiper-container home-people__slider home-people__slider--img swiper-no-swiping",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:p})}),(0,va.jsx)("div",{className:"progress-bar-wrapper",children:(0,va.jsx)("div",{className:"swiper-pagination ppl-progress-bar"})})]}),(0,va.jsxs)("div",{className:"row__col row__col--r col-12 col-lg-6 col--content",children:[(0,va.jsx)(v4,{className:"title-wrap d-none d-lg-block",children:(0,va.jsx)(uf,{tag:"h1",raw:!0,Text:null===(n=x.fields)||void 0===n?void 0:n.Title})}),(0,va.jsxs)(v4,{className:"swiper-container home-people__slider home-people__slider--quote swiper-no-swiping",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:h}),(0,va.jsx)(fa,{hideLinkIfEmpty:!0,className:"btn btn--white",U
1RL:null==x?void 0:null===(a=x.fields)||void 0===a?void 0:a.Link,TEXT:null==x?void 0:null===(o=x.fields)||void 0===o?void 0:null===(t=o.LinkTitle)||void 0===t?void 0:null===(d=t.fields)||void 0===d?void 0:d.Phrase,TextTag:"span"})]})]})]})})})]})},Tq=async(e,l)=>{var i,s,n,a,d,t;if(vD(e,"Items",!0))return[];let o=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,r=ux.t9.ContentWithImageTid,c=null!==(t=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==t?t:"en";return o&&await (0,up.D)(o,(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.tid)||r,c,10,!0)};var TQ=(0,vp.C)()(Tz),TY=(0,vp.C)()(e=>{let{t:l,locale:i}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:e.fields.ArticleDetailPageContents?Object.values(e.fields.ArticleDetailPageContents).map((e,s)=>{var n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D;return(0,va.jsx)("div",{className:"col-lg-6",children:(0,va.jsxs)("div",{className:"tab--item",children:[(null==e?void 0:null===(n=e.fields.HasDetailsContent)||void 0===n?void 0:n.value)?(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Url)||void 0===a?void 0:a.value,i()),children:(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.TeaserImage)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.src)?(0,va.jsx)("div",{className:"tab--img",children:(0,va.jsx)(vg.E,{field:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.TeaserImage})}):(0,va.jsx)(va.Fragment,{}),e.fields.UpComing?(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:l(mT.W.PAGECONTENT.UPCOMING)})}):(0,va.jsx)(va.Fragment,{})]})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.TeaserImage)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src)?(0,va.jsx)("div",{className:"tab--img",children:(0,va.jsx)(vg.E,{field:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:x.TeaserImage})}):(0,va.jsx)(va.Fragment,{}),e.fields.UpComing?(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:l(mT.W.PAGECONTENT.UPCOMING)})}):(0,va.jsx)(va.Fragment,{})]})}),(0,va.jsxs)("div",{className:"tab--info",children:[(null==e?void 0:null===(p=e.fields)||void 0===p?void 0:p.isTitleFirst)?(0,va.jsxs)(va.Fragment,{children:[(null==e?void 0:null===(f=e.fields)||void 0===f?void 0:null===(h=f.SubTitle)||void 0===h?void 0:h.value)?(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(g=e.fields)||void 0===g?void 0:g.SubTitle})}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(N=e.fields)||void 0===N?void 0:null===(j=N.Title)||void 0===j?void 0:j.value)?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(b=e.fields)||void 0===b?void 0:b.Title})}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(T=e.fields)||void 0===T?void 0:T.VenueHouses)?(0,va.jsx)("h5",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(w=e.fields)||void 0===w?void 0:null===(k=w.VenueHouses)||void 0===k?void 0:null===(S=k.fields)||void 0===S?void 0:S.Text})}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsxs)(va.Fragment,{children:[(null==e?void 0:null===(E=e.fields)||void 0===E?void 0:null===(y=E.Title)||void 0===y?void 0:y.value)?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(C=e.fields)||void 0===C?void 0:C.Title})}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(L=e.fields)||void 0===L?void 0:null===(O=L.SubTitle)||void 0===O?void 0:O.value)?(0,va.jsx)("h5",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(I=e.fields)||void 0===I?void 0:I.SubTitle})}):(0,va.jsx)(va.Fragment,{})]}),(null==e?void 0:null===(_=e.fields)||void 0===_?void 0:null===(F=_.ShortParagraph)||void 0===F?void 0:F.value)?(0,va.jsx)(vx.H,{field:null==e?void 0:null===(M=e.fields)||void 0===M?void 0:M.ShortParagraph}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(P=e.fields)||void 0===P?void 0:null===(R=P.HasDetail
1sContent)||void 0===R?void 0:R.value)?(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(D=e.fields)||void 0===D?void 0:null===(A=D.Url)||void 0===A?void 0:A.value,i()),className:"btn btn--white",children:[(0,va.jsx)("span",{children:l(mT.W.PAGECONTENT.DISCOVERMORE)}),(0,va.jsx)("span",{className:"icon-angle"})]}):(0,va.jsx)(va.Fragment,{})]})]})},s)}):(0,va.jsx)(va.Fragment,{})})}),TK=(0,vp.C)()(e=>{let{t:l,locale:i}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:e.fields.ArticleDetailPageContents?Object.values(e.fields.ArticleDetailPageContents).map((e,s)=>{var n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D;return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsxs)("div",{className:"tab--item",children:[(null===(n=e.fields.HasDetailsContent)||void 0===n?void 0:n.value)?(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Url)||void 0===a?void 0:a.value,i()),children:(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.TeaserImage)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.src)?(0,va.jsxs)("div",{className:"tab--img",children:[(0,va.jsx)(vg.E,{field:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.TeaserImage}),(0,va.jsx)("div",{className:"tab--item__inner"})]}):(0,va.jsx)(va.Fragment,{}),e.fields.UpComing?(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:l(mT.W.PAGECONTENT.UPCOMING)})}):(0,va.jsx)(va.Fragment,{})]})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.TeaserImage)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src)?(0,va.jsxs)("div",{className:"tab--img",children:[(0,va.jsx)(vg.E,{field:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:x.TeaserImage}),(0,va.jsx)("div",{className:"tab--item__inner"})]}):(0,va.jsx)(va.Fragment,{}),e.fields.UpComing?(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:l(mT.W.PAGECONTENT.UPCOMING)})}):(0,va.jsx)(va.Fragment,{})]})}),(0,va.jsxs)("div",{className:"tab--info",children:[(null==e?void 0:null===(p=e.fields)||void 0===p?void 0:p.isTitleFirst)?(0,va.jsxs)(va.Fragment,{children:[(null==e?void 0:null===(f=e.fields)||void 0===f?void 0:null===(h=f.SubTitle)||void 0===h?void 0:h.value)?(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(g=e.fields)||void 0===g?void 0:g.SubTitle})}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(N=e.fields)||void 0===N?void 0:null===(j=N.Title)||void 0===j?void 0:j.value)?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(b=e.fields)||void 0===b?void 0:b.Title})}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(T=e.fields)||void 0===T?void 0:T.VenueHouses)?(0,va.jsx)("h5",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(w=e.fields)||void 0===w?void 0:null===(k=w.VenueHouses)||void 0===k?void 0:null===(S=k.fields)||void 0===S?void 0:S.Text})}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsxs)(va.Fragment,{children:[(null==e?void 0:null===(E=e.fields)||void 0===E?void 0:null===(y=E.Title)||void 0===y?void 0:y.value)?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(C=e.fields)||void 0===C?void 0:C.Title})}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(L=e.fields)||void 0===L?void 0:null===(O=L.SubTitle)||void 0===O?void 0:O.value)?(0,va.jsx)("h5",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(I=e.fields)||void 0===I?void 0:I.SubTitle})}):(0,va.jsx)(va.Fragment,{})]}),(null==e?void 0:null===(_=e.fields)||void 0===_?void 0:null===(F=_.ShortParagraph)||void 0===F?void 0:F.value)?(0,va.jsx)(vx.H,{field:null==e?void 0:null===(M=e.fields)||void 0===M?void 0:M.ShortParagraph}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(P=e.fields)||void 0===P?void 0:null===(R=P.HasDetailsContent)||void 0===R?void 0:R.value)?(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(D=e.fields)||void 0===D?void 0:null===(A=D.Url)||void 0===A?void 0:A.value,i()),className:"btn btn--white",children:[(0,va.jsx)("span",{children:l(mT.W.PAGECONTENT.DISCOVERMORE)}),(0,va.jsx)("span",{className:"icon-angle"})]}):(0,va.jsx)(va.Fragment,{})]})]})},s)}):(0,va.jsx)(va.Fragment,{})})}),T$=(0,vp.C)()(e=>{var l,i,s;let{t:n}=(0,vT.QT)(),a=e.fields.YearsContent[0],d=e.fields.YearsContent.length>1?"":"none";return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"dropdown-wrapper",style:{display:"".concat(d)},children:[(0,va.jsx)("label",{htmlFor:"dropdown--year",children:n(mT.W.PAGECONTENT.YEAR)}),(0,va.jsxs)("select",{className:"dropdown m-select ".concat(null==a?void 0:null===(l=a.fields.TemplateId)||void 0===l?void 0:l.value),children:[a?(0,va.jsx)("option",{value:null==a?void 0:null===(i=a.fields.TemplateId)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null===(s=a.fields.FilterOptions[0])||void 0===s?void 0:s.fields.Value})}):(0,va.jsx)(va.Fragment,{}),e.fields.YearsContent?Object.values(e.fields.YearsContent).map((e,l)=>{var i;return(0,va.jsx)("option",{value:null===(i=e.fields.Id)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:e.fields.Name})},l)}):(0,va.jsx)(va.Fragment,{})]})]})})}),TZ=(0,vp.C)()(e=>{var l,i,s,n,a,d;let{t,locale:o}
1=(0,vT.QT)(),r=e.fields.YearsContents[0],c=e.fields.DictArticleDetailPageContent,[v,u]=(0,vd.useState)([]),[m,x]=(0,vd.useState)(!1),[p,h]=(0,vd.useState)(0);u(Object.keys(c).filter(e=>{var l;return e==(null===(l=r.fields.TemplateId)||void 0===l?void 0:l.value)}).map(e=>c[e]).filter(e=>void 0!==e)||[]),c&&((null===(s=e.fields.NumberRangeItem)||void 0===s?void 0:s.value)>0?((null==v?void 0:v.length)>0&&(x((null==v?void 0:v.length)-(null===(a=e.fields.NumberRangeItem)||void 0===a?void 0:a.value)>0),u(v.slice(0,null===(d=e.fields.NumberRangeItem)||void 0===d?void 0:d.value))),h(null===(n=e.fields.NumberRangeItem)||void 0===n?void 0:n.value)):h(null==v?void 0:v.length));let f={YearsContent:e.fields.YearsContents},g={hasFilter:(null===(l=e.fields.HasFilter)||void 0===l?void 0:l.value)==!0?"true":""};return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"enews-mobile m-tab--intro p-40 module-wrapper reveal",children:[(0,va.jsxs)("p",{className:"enews-mobile-title",children:[(0,va.jsx)("span",{children:"\xa0"}),(0,va.jsx)("span",{className:"enews-decoration",children:"\xa0"}),(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:e.fields.Name})})]}),(0,va.jsx)(T$,{fields:f,rendering:e.rendering,params:g})]}),(0,va.jsx)("div",{className:"enews-mobile--listing module-wrapper reveal",children:(0,va.jsxs)("div",{className:"","data-parameterId":null==r?void 0:null===(i=r.fields)||void 0===i?void 0:i.TemplateId,"data-pageBefore":p,children:[(0,va.jsx)("div",{className:"js-append-here",children:v?Object.values(v).map((e,l)=>{var i,s,n,a,d,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D;return(0,va.jsx)("div",{className:"col-lg-6",children:(0,va.jsxs)("div",{className:"tab--item",children:[(null==e?void 0:null===(i=e.fields.HasDetailsContent)||void 0===i?void 0:i.value)?(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Url)||void 0===s?void 0:s.value,o()),children:(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(d=r.TeaserImage)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.src)?(0,va.jsxs)("div",{className:"tab--img",children:[(0,va.jsx)(vg.E,{field:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.TeaserImage}),(0,va.jsx)("div",{className:"tab--item__inner"})]}):(0,va.jsx)(va.Fragment,{}),e.fields.UpComing?(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:t(mT.W.PAGECONTENT.UPCOMING)})}):(0,va.jsx)(va.Fragment,{})]})}):(0,va.jsxs)("div",{className:"tab--img__wrap",children:[(null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.TeaserImage)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src)?(0,va.jsxs)("div",{className:"tab--img",children:[(0,va.jsx)(vg.E,{field:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:x.TeaserImage}),(0,va.jsx)("div",{className:"tab--item__inner"})]}):(0,va.jsx)(va.Fragment,{}),e.fields.UpComing?(0,va.jsx)("div",{className:"tab--tag",children:(0,va.jsx)("span",{children:t(mT.W.PAGECONTENT.UPCOMING)})}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsxs)("div",{className:"tab--info",children:[(null==e?void 0:null===(p=e.fields)||void 0===p?void 0:p.isTitleFirst)?(0,va.jsxs)(va.Fragment,{children:[(null==e?void 0:null===(f=e.fields)||void 0===f?void 0:null===(h=f.SubTitle)||void 0===h?void 0:h.value)?(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(g=e.fields)||void 0===g?void 0:g.SubTitle})}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(N=e.fields)||void 0===N?void 0:null===(j=N.Title)||void 0===j?void 0:j.value)?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(b=e.fields)||void 0===b?void 0:b.Title})}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(T=e.fields)||void 0===T?void 0:T.VenueHouses)?(0,va.jsx)("h5",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(w=e.fields)||void 0===w?void 0:null===(k=w.VenueHouses)||void 0===k?void 0:null===(S=k.fields)||void 0===S?void 0:S.Text})}):(0,va.jsx)(va.Fragment,{})]}):(0,va.jsxs)(va.Fragment,{children:[(null==e?void 0:null===(E=e.fields)||void 0===E?void 0:null===(y=E.Title)||void 0===y?void 0:y.value)?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(C=e.fields)||void 0===C?void 0:C.Title})}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(L=e.fields)||void 0===L?void 0:null===(O=L.SubTitle)||void 0===O?void 0:O.value)?(0,va.jsx)("h5",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(I=e.fields)||void 0===I?void 0:I.SubTitle})}):(0,va.jsx)(va.Fragment,{})]}),(null==e?void 0:null===(_=e.fields)||void 0===_?void 0:null===(F=_.ShortParagraph)||void 0===F?void 0:F.value)?(0,va.jsx)(vx.H,{field:null==e?void 0:null===(M=e.fields)||void 0===M?void 0:M.ShortParagraph}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(P=e.fields)||void 0===P?void 0:null===(R=P.HasDetail
1sContent)||void 0===R?void 0:R.value)?(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(D=e.fields)||void 0===D?void 0:null===(A=D.Url)||void 0===A?void 0:A.value,o()),className:"btn btn--white",children:[(0,va.jsx)("span",{children:t(mT.W.PAGECONTENT.DISCOVERMORE)}),(0,va.jsx)("span",{className:"icon-angle"})]}):(0,va.jsx)(va.Fragment,{})]})]})},l)}):(0,va.jsx)(va.Fragment,{})}),m?(0,va.jsx)("div",{className:"swiper-slide js-append",children:(0,va.jsx)("div",{className:"tab--item",children:(0,va.jsx)("div",{className:"tab--img__wrap",children:(0,va.jsx)("div",{className:"tab--img",children:(0,va.jsx)(vt.V,{name:"thc-mobile-load-more",rendering:e.rendering})})})})}):(0,va.jsx)(va.Fragment,{})]})})]})});let TJ=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W;let H=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),{sitecoreContext:G}=(0,vr.z)(),{locale:U}=(0,vT.QT)(),z=(0,vd.useRef)(null),q=(0,vd.useRef)(null);(vD(e,"SelectedYears",!0)||vD(e,"SelectedHouses",!0))&&((H={}).YearsContents=e.fields.SelectedYears.map(e=>(e.template={id:"year-list",name:"year-list"},e.fields=Object.assign({},e.fields||{},{TemplateId:{value:e.template.id}}),e)),H.HousesContents=e.fields.SelectedHouses.map(e=>
1(e.template={id:"house-list",name:"house-list"},e.fields=Object.assign({},e.fields||{},{TemplateId:{value:e.template.id}}),e)),H.DictArticleDetailPageContent={},H.DictArticleDetailPageContent["year-list"]=[],H.DictArticleDetailPageContent["house-list"]=[],(null===(b=e.fields)||void 0===b?void 0:null===(N=b.SelectedYears)||void 0===N?void 0:N.length)&&H.DictArticleDetailPageContent["year-list"].push(...null===(k=e.fields)||void 0===k?void 0:k.SelectedYears.flatMap((e,l)=>{var i,s;return(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Items)||void 0===i?void 0:i.map((e,i)=>({...e,urlInfo:{url:e.url,path:e.url},fields:{...e.fields,__Sortorder:{value:String(1e4*l+i).padStart(10,"0")}}})))||[]})),(null===(S=e.fields)||void 0===S?void 0:null===(T=S.SelectedHouses)||void 0===T?void 0:T.length)&&H.DictArticleDetailPageContent["house-list"].push(...null===(w=e.fields)||void 0===w?void 0:w.SelectedHouses.flatMap((e,l)=>{var i,s;return(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Items)||void 0===i?void 0:i.map((e,i)=>({...e,urlInfo:{url:e.url,path:e.url},fields:{...e.fields,__Sortorder:{value:String(1e4*l+i).padStart(10,"0")}}})))||[]})));let Q=(null==e?void 0:null===(i=e.rendering)||void 0===i?void 0:i.dataSource)?e.rendering.dataSource:null==G?void 0:null===(s=G.route)||void 0===s?void 0:s.itemId,Y=vD(e,"NumberRangeItem")?e.fields:null==G?void 0:null===(n=G.route)||void 0===n?void 0:n.fields;if(!(null==H?void 0:H.DictArticleDetailPageContent))return(0,va.jsx)(va.Fragment,{});let K=!1;(null==H?void 0:null===(a=H.YearsContents)||void 0===a?void 0:a.length)&&(K=(null===(I=H.YearsContents)||void 0===I?void 0:null===(L=I[0].fields)||void 0===L?void 0:null===(O=L.FilterOptions)||void 0===O?void 0:null===(C=O[0])||void 0===C?void 0:null===(E=C.fields)||void 0===E?void 0:null===(y=E.Title)||void 0===y?void 0:y.value)!="-"),!K&&(null==H?void 0:null===(d=H.HousesContents)||void 0===d?void 0:d.length)&&(K=(null===(A=H.HousesContents)||void 0===A?void 0:null===(P=A[0].fields)||void 0===P?void 0:null===(R=P.FilterOptions)||void 0===R?void 0:null===(M=R[0])||void 0===M?void 0:null===(_=M.fields)||void 0===_?void 0:null===(F=_.Title)||void 0===F?void 0:F.value)!="-");let Z=!K&&(null!==(D=null==H?void 0:null===(t=H.YearsContents)||void 0===t?void 0:t.length)&&void 0!==D?D:0)<2&&(null!==(B=null==H?void 0:null===(o=H.HousesContents)||void 0===o?void 0:o.length)&&void 0!==B?B:0)==0?"none":void 0,J=(null==H?void 0:null===(r=H.YearsContents)||void 0===r?void 0:r.length)?H.YearsContents[0].template.id:null==H?void 0:null===(u=H.HousesContents)||void 0===u?void 0:null===(v=u[0])||void 0===v?void 0:null===(c=v.template)||void 0===c?void 0:c.id;return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("input",{type:"hidden",name:"pageNumber",id:"pageNumber",defaultValue:null==Y?void 0:null===(m=Y.NumberRangeItem)||void 0===m?void 0:m.value}),(0,va.jsx)("input",{type:"hidden",name:"itemID",id:"itemID",defaultValue:Q}),(0,va.jsx)("input",{type:"hidden",name:"requestLang",id:"requestLang",defaultValue:U()}),(0,va.jsx)("div",{className:"tab p-40 mb-100 d-none d-lg-block tab--hasinfo thcenewsletterarticleindex",children:(0,va.jsxs)("div",{className:"row justify-content-center",children:[(null==Y?void 0:null===(x=Y.HasFilter)||void 0===x?void 0:x.value)?(0,va.jsx)(va.Fragment,{children:(null!==(V=null==H?void 0:null===(p=H.YearsContents)||void 0===p?void 0:p.length)&&void 0!==V?V:0)>=2||(null!==(W=null==H?void 0:null===(h=H.HousesContents)||void 0===h?void 0:h.length)&&void 0!==W?W:0)>=2?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"col-sm-12 col-lg-3",style:{display:Z},children:(0,va.jsxs)("div",{className:"module-wrapper",children:[(null==H?void 0:null===(f=H.YearsContents)||void 0===f?void 0:f.length)?(0,va.jsx)(b3,{rendering:e.rendering,params:e.params,fields:{YearsContent:H.YearsContents.map(e=>{var l,i,s,n,a,d,t;return{TemplateId:null===(i=e.fields)||void 0===i?void 0:null===(l=i.TemplateId)||void 0===l?void 0:l.value,FilterOptionsValue:null===(t=e.fields)||void 0===t?void 0:null===(d=t.FilterOptions)||void 0===d?void 0:null===(a=d[0])||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.Value)||void 0===s?void 0:s.value,Id:e.id,Name:e.name}})}}):(0,va.jsx)(va.Fragment,{}),(null==H?void 0:null===(g=H.HousesContents)||void 0===g?void 0:g.length)?(0,va.jsx)(b4,{rendering:e.rendering,params:e.params,fields:{HousesContent:H.HousesContents.map(e=>{var l,i,s,n,a,d,t,o,r;return{TemplateId:null===(i=e.fields)||void 0===i?void 0:null===(l=i.TemplateId)||void 0===l?void 0:l.value,FilterOptionsValue:null===(t=e.fields)||void 0===t?void 0:null===(d=t.FilterOptions)||void 0===d?void 0:null===(a=d[0])||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.Value)||void 0===s?void 0:s.value,Id:e.id,Name:e.name,Title:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Title)||void 0===o?void 0:o.value}})}}):(0,va.jsx)(va.Fragment,{})]})})}):(0,va.jsx)(va.Fragment,{})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"tab--opt",style:{display:"none"},children:(0,va.jsx)("button",{type:"button",name:"button-programme",className:"on",id:"btn-programme",value:"-",children:(0,va.jsx)("h4",{children:"-"})})})}),(0,va.jsx)(b0,{ref:z,pageFields:Y,dictArticleDetailPageContent:H.DictArticleDetailPageContent,defaultValue:J})]})}),(0,va.jsx)("div",{className:"tab m-tab m-tab--progWrap d-block d-lg-none mb-50 tab--hasinfo thcenewsletterarticleindex",children:(null==H?void 0:null===(j=H.YearsContents)||void 0===j?void 0:j.length)?(0,va.jsx)(b7,{ref:q,params:e.params,rendering:e.rendering,pageFields:Y,yearsContents:H.YearsContents,housesContents:H.HousesContents,dictArticleDetailPageContent:H.DictArticleDetailPageContent}):(0,va.jsx)(va.Fragment,{})})]})},TX=async(e,l)=>{var i,s,n,a,d;if(vD(e,"SelectedYears",!0)||vD(e,"SelectedHouses",!0))return{};let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en",r={};try{if(e.params)for(let l in e.params){let i=t?await Nd.GetDetailDataHouseYears(t,o,e.params[l],e.params):[];r[e.params[l]]=i}let l=t?await Nd.GetYearsContent(t,o):[],i=t?await Nd.GetHousesContents(t,o):[];return{DictArticleDetailPageContent:r,YearsContents:l,HousesContents:i}}catch(e){console.log("ThcEnewsletterArticleIndex props",e)}return{}};var T0=e=>((0,vd.useEffect)(()=>{$(document).ready(function(){$(".main-nav ul.nav-list li[data-subnav='0'] a").hide(),$(".header--desktop a.header__btn.header__btn--l").remove(),$(".menu--mobile .keep-in-touch").hide(),$(".main-nav ul.nav-list li[data-subnav='2'] a").text("ãã¼ã æ§æ"),$("ul.nav-list[data-subnav='2'] li:nth-child(1) a").text("ã¨ã¯ã¹ããªã¨ã³ã¹"),$("ul.nav-list[data-subnav='2'] li:nth-child(2) a").text("ã·ã§ãã®è©±"),$("ul.nav-list[data-subnav='2'] li:nth-child(3) a").text("ã¢ãã ã¯ãã¼ãºï¼Up Closeï¼"),$(".main-nav ul.nav-list li[data-subnav='3'] a").text("ã¢ã¼ãï¼ã«ã«ãã£ã¼"),$(".main-nav ul.nav-list li[data-subnav='4'] a").text("ã¨ã¯ã¹ããªã¨ã³ã¹"),$(".main-nav ul.nav-list li[data-subnav='5'] a").text("ãµã¹ããããªãã£"),$(".main-nav ul.nav-list li[data-subnav='6'] a").text("æ°çæ
å ±"),$(".main-nav ul.nav-list li[data-subnav='7'] a").text("åãã¦ã¹ã®ãç´¹ä»"),$(".main-nav ul.nav-list li[data-subnav='9'] a").text("ã·ã§ãã"),$(".main-nav ul.nav-list li[data-subnav='8'] a").text("ã¹ãã·ã£ã«ã»ãªãã¡ã¼"),$("div.greetings h3").hide(),$("div.greetings h4").text("ã¶ã»ãã¦ã¹ã»ã³ã¬ã¯ãã£ãã¸ãããã"),$("div.greetings ul li:nth-child(4) a").text("ã¶ã»ããã«ãã¦ã¹"),$(".menu--mobile ul.property-nav--mobile li:nth-child(4) a").text("ã¶ã»ããã«ãã¦ã¹"),$("div.greetings ul li:nth-child(1) a").text("ã¶ã»ãªãã¸ãããã¦ã¹"),$(".menu--mobile ul.property-nav--mobile li:nth-child(1) a").text("ã¶ã»ãªãã¸ãããã¦ã¹"),$("div.greetings ul li:nth-child(3) a").text("ã¶ã»ãã³ãã«ãã¦ã¹"),$(".menu--mobile ul.property-nav--mobile li:nth-child(3) a").text("ã¶ã»ãã³ãã«ãã¦ã¹"),$("div.greetings ul li:nth-child(2) a").text("ã¶ã»ã¢ããã¼ãã¦ã¹"),$(".menu--mobile ul.property-nav--mobile li:nth-child(2) a").text("ã¶ã»ã¢ããã¼ãã¦ã¹"),$("a.header__btn--book.btn--book").hide(),$("footer a.btn--subscribe span:first").text("ãåãåã"),$("footer ul.footer__nav li:nth-child(1) a").text("æ±äººæ
å ±"),$("footer ul.footer__nav li:nth-child(2) a").text("å人æ
å ±ä¿è·æ¹é"),$("footer ul.footer__nav li:nth-child(3) a").text("ã¯ããã¼ããªã·ã¼"),$("footer ul.footer__nav li:nth-child(4) a").text("Swire Hotels "),$("footer div.logo-swire a").text("Swire Hotels "),$(".playvid-btn.hero--video").text("ãããªè¦è´"),setTimeout(function(){$(".header-sso").hide(),$("div.main-nav").append("<p style='font-size:15px; bottom:5%;position: absolute;margin-left: 45px;'>ä»ã®ãã¼ã¸ã§ã¯ãè±èªãä¸å½èªï¼ç¹ä½åãç°¡ä½åï¼ã®ã¿ã§ãã</p>"),$(".menu--mobile .main-nav p").css("margin-left","20px"),$(".menu--mobile .main-nav p").css("top","0"),$(".menu--mobile .main-nav p").css("position","relative")},3e3),$(".logo-gp--brand a img").attr("src","/-/media/swirehotels/thehousecollective/images/Japan-campaign-site/footer/THC_Logo_Black_EN-2.ashx?la=en"),$(".logo-gp--brand .logo-gp__img--thc-m a img").attr("src","/-/media/swirehotels/thehousecollective/images/Japan-campaign-site/footer/THC_Logo_Black_EN-1.ashx?la=en"),$(".logo-gp--property a:nth-child(1) img").attr("src","/-/media/swirehotels/thehousecollective/images/Japan-campaign-site/footer/TTH_Logo_Black_EN-1.ashx?la=en"),$(".logo-gp--property a:nth-child(2) img").attr("src","/-/media/swirehotels/thehousecollective/images/Japan-campaign-site/footer/TOH_Logo_Black_EN-1.ashx?la=en"),$(".logo-gp--property a:nth-child(3) img").attr("src","/-/media/swirehotels/thehousecollective/images/Japan-campaign-site/footer/TUH_Logo_Black_EN-1.ashx?la=en"),$(".logo-gp--property a:nth-child(4) img").attr("src","/-/media/swirehotels/thehousecollective/images/Japan-campaign-site/footer/TMH_Logo_Black_EN-1.ashx?la=en"),$(".footer-partner-label").hide(),$(".footer__partner").hide()})}),(0,va.jsx)(va.Fragment,{}));let T1=async(e,l)=>{var i,s,n,a,d;if(vD(e,"Text"))return{};let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en";if(t){let e=await Nd.GetGDPR(t,o);return null!=e?e:{}}return{}};var T2=e=>{var l,i;let{t:s}=(0,vT.QT)(),n=null==e?void 0:e.fields,a=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),d=vD(e,"Text")?{fields:n}:a;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"cookies-consent",children:(0,va.jsxs)("div",{className:"container",children:[(0,va.jsx)(vx.H,{field:null==d?void 0:null===(i=d.fields)||void 0===i?void 0:i.Text}),(0,va.jsx)("a",{className:"btn btn--white",children:(0,va.jsx)("span",{children:s(mT.W.PAGECONTENT.OKAY)})})]})})})};let T5=e=>{var l,i,s;let n={backgroundImage:"url(".concat(null!==(s=null===(i=e.Image)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&void 0!==s?s:"",")"),...void 0!=e.opacity&&e.opacity>0&&{opacity:e.opacity}};return(0,va.jsx)("div",{className:e.className,style:n})},T3={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"HeroPageContentQuery"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"contextItem"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"language"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"hero"},name:{kind:"Name",value:"search"},arguments:[{kind:"Argument",name:{kind:"Name",value:"where"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"AND"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"_path",block:!1}},{kind:"ObjectField",name:{kind:"Name",value:"value"},value:{kind:"Variable",name:{kind:"Name",value:"contextItem"}}},{kind:"ObjectField",name:{kind:"Name",value:"operator"},value:{kind:"EnumValue",value:"CONTAINS"}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"_templates",block:!1}},{kind:"ObjectField",name:{kind:"Name",value:"value"},value:{kind:"StringValue",value:"{8CE57EC3-A9B6-4DA2-BB27-B5549AB96B50}",block:!1}},{kind:"ObjectField",name:{kind:"Name",value:"operator"},value:{kind:"EnumValue",value:"CONTAINS"}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"_language",block:!1}},{kind:"ObjectField",name:{kind:"Name",value:"value"},value:{kind:"Variable",name:{kind:"Name",value:"language"}}},{kind:"ObjectField",name:{kind:"Name",value:"operator"},value:{kind:"EnumValue",value:"EQ"}}]}]}}]}},{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"results"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",alias:{kind:"Name",value:"ParagraphTitle"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"ParagraphTitle",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",alias:{kind:"Name",value:"ShortParagraph"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"ShortParagraph",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",alias:{kind:"Name",value:"FullVideoLink"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"FullVideoLink",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",alias:{kind:"Name",value:"MediaThumbnail"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"MediaThumbnail",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",alias:{kind:"Name",value:"MediaThumbnailMobile"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"MediaThumbnailMobile",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",alias:{kind:"Name",value:"BackgroundVideoLink"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"VideoLink",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",alias:{kind:"Name",value:"AutoPlay"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"AutoPlay",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",alias:{kind:"Name",value:"FullVideoLinkTitle"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"FullVideoLinkTitle",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}},{kind:"Field",alias:{kind:"Name",value:"Opacity"},name:{kind:"Name",value:"field"},arguments:[{kind:"Argument",name:{kind:"Name",value:"name"},value:{kind:"StringValue",value:"Opacity",block:!1}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"jsonValue"}}]}}]}}]}}]}}]},T4=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h;let f;let g=(0,um.VG)(e.rendering.uid),j=null==g?void 0:null===(i=g.hero)||void 0===i?void 0:null===(l=i.results)||void 0===l?void 0:l[0];if(j&&(f={AutoPlay:null===(v=j.AutoPlay)||void 0===v?void 0:v.jsonValue,MediaThumbnail:null===(u=j.MediaThumbnail)||void 0===u?void 0:u.jsonValue,MediaThumbnailMobile:null===(m=j.MediaThumbnailMobile)||void 0===m?void 0:m.jsonValue,Backgroun
1dVideoLink:null===(x=j.BackgroundVideoLink)||void 0===x?void 0:x.jsonValue,Opacity:null===(p=j.Opacity)||void 0===p?void 0:p.jsonValue}),vD(e,"MediaThumbnail")&&(f=e.fields),!f)return(0,va.jsx)(va.Fragment,{});let N=m6(null==f?void 0:null===(s=f.Opacity)||void 0===s?void 0:s.value);return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"hero hero--full",children:(0,va.jsxs)("div",{className:"hero--full__wrap ",style:{backgroundColor:"".concat(m8())},children:[(0,va.jsx)(T5,{className:"hero--full__banner d-none d-lg-block bgModule opacity",Image:null==f?void 0:f.MediaThumbnail,opacity:N}),(0,va.jsx)(T5,{className:"d-block d-lg-none hero--full__banner hero--full__banner-img bgModule opacity",Image:null==f?void 0:f.MediaThumbnailMobile,opacity:N}),!!(null==f?void 0:null===(n=f.AutoPlay)||void 0===n?void 0:n.value)&&!!(null==f?void 0:null===(d=f.BackgroundVideoLink)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href)&&(0,va.jsx)("div",{className:"hero--full__wrap--video d-none d-lg-block",children:(0,va.jsx)("div",{className:"hero--full__banner bgModule opacity",children:(0,va.jsx)("div",{className:"hero--landing__vid-wrap hero--full__video",children:(0,va.jsx)("video",{id:"detailsherobgVid",className:"full-width-video azuremediaplayer amp-default-skin",autoPlay:!0,loop:!0,muted:!0,poster:null!==(h=null==f?void 0:null===(o=f.MediaThumbnail)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.src)&&void 0!==h?h:"",children:(0,va.jsx)("source",{src:null==f?void 0:null===(c=f.BackgroundVideoLink)||void 0===c?void 0:null===(r=c.value)||void 0===r?void 0:r.href})})})})})]})})})},T6=async(e,l)=>{var i,s,n,a;let d=(0,x0.W)(x2())({});return await d.request(T3,{datasource:e.dataSource,contextItem:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,language:null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language})},T8=async(e,l)=>{var i,s,n,a,d;if(vD(e,"ParagraphTitle"))return{};let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en",r=t?await pX(t,ux.t9.HeroPageContent,o,1,!1):[];return(null==r?void 0:r.length)?r[0]:{}};var T7=e=>{var l;let i=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(vD(e,"ParagraphTitle")&&(i=e.fields),null==i?void 0:i.ParagraphTitle)?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"hero--full__body p-40 module-wrapper",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-sm-12 col-lg-4 offset-lg-3",children:(0,va.jsx)(uf,{tag:"h2",Text:null==i?void 0:i.ParagraphTitle,raw:!0})}),(0,va.jsx)("div",{className:"col-sm-12 col-lg-5",children:(0,va.jsx)(bN,{Text:null==i?void 0:i.ShortParagraph})})]})})}):(0,va.jsx)(va.Fragment,{})};let T9=async(e,l)=>{var i,s,n,a,d;if(vD(e,"FullVideoLink"))return{};let t=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,o=null!==(d=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==d?d:"en",r=t?await pX(t,ux.t9.HeroPageContent,o,1,!1):[];return(null==r?void 0:r.length)?r[0]:{}};var Se=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let{sitecoreContext:m}=(0,vr.z)(),x=null==m?void 0:null===(l=m.route)||void 0===l?void 0:l.fields,p=(0,um.VG)(null===(i=e.rendering)||void 0===i?void 0:i.uid);return vD(e,"FullVideoLink")&&(p=e.fields),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"hero--full__intro bgModule opacity",children:[(0,va.jsx)(uf,{tag:"h3",Text:null==x?void 0:x.SubTitle}),(0,va.jsx)(uf,{tag:"h1",Text:null==x?void 0:x.Title}),(0,va.jsx)(vx.H,{field:null==x?void 0:x.ShortParagraph}),(0,va.jsx)(uf,{tag:"h4",Text:null==x?void 0:null===(n=x.VenueHouses)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:s.Text}),(null==p?void 0:p.FullVideoLink)&&(null==p?void 0:null===(a=p.FullVideoLink)||void 0===a?void 0:a.value)&&(null==p?void 0:null===(t=p.FullVideoLink)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.href)&&(0,va.jsx)("button",{className:"js-triggerVid playvid-btn hero--video","data-vi
1d":"hero-index-bg-01","data-vidink":null==p?void 0:null===(r=p.FullVideoLink)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.href,children:null==p?void 0:null===(u=p.FullVideoLinkTitle)||void 0===u?void 0:null===(v=u.fields)||void 0===v?void 0:null===(c=v.Phrase)||void 0===c?void 0:c.value})]})})},Sl=(0,vp.C)()(e=>{var l,i,s,n,a,d,t;let o=(0,vr.z)().sitecoreContext.pageEditing;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"slider slider--moreImg module-wrapper",children:(0,va.jsxs)("div",{className:"swiper-container slider--moreImg-container",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:(null===(n=e.fields.data)||void 0===n?void 0:null===(s=n.item)||void 0===s?void 0:null===(i=s.children)||void 0===i?void 0:null===(l=i.results)||void 0===l?void 0:l.length)>0?Object.values(null===(t=e.fields.data)||void 0===t?void 0:null===(d=t.item)||void 0===d?void 0:null===(a=d.children)||void 0===a?void 0:a.results).map((e,l)=>{var i,s,n,a;return!0==o?(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsxs)("div",{className:"slider--moreImg--item",children:[(0,va.jsx)("div",{className:"slider--moreImg--img",children:(0,va.jsx)(vg.E,{field:null==e?void 0:null===(i=e.Image)||void 0===i?void 0:i.jsonValue})}),(0,va.jsx)("div",{className:"slider--moreImg--caption",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(s=e.Content)||void 0===s?void 0:s.jsonValue})})]})},l):(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsxs)("div",{className:"slider--moreImg--item",children:[(0,va.jsx)("div",{className:"slider--moreImg--img",children:(0,va.jsx)(vg.E,{field:null==e?void 0:null===(n=e.Image)||void 0===n?void 0:n.jsonValue})}),(0,va.jsx)("div",{className:"slider--moreImg--caption",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(a=e.Content)||void 0===a?void 0:a.jsonValue})})]})},l)}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsx)("div",{className:"swiper-pagination"}),(0,va.jsx)("div",{className:"swiper-button-next slider-button"}),(0,va.jsx)("div",{className:"swiper-button-prev slider-button"})]})})})}),Si=e=>{var l,i,s,n,a;let d=(0,vr.z)().sitecoreContext.pageEditing,{sitecoreContext:t}=(0,vr.z)(),o=null!==(n=null==e?void 0:e.fields)&&void 0!==n?n:null==t?void 0:null===(l=t.route)||void 0===l?void 0:l.fields;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"sect-title sect-title--left module-wrapper mb-50 reveal",children:!0==d?(0,va.jsx)(vm.x,{field:null==o?void 0:o.Title,tag:"h1"}):(0,va.jsx)(va.Fragment,{children:(null==o?void 0:null===(i=o.Title)||void 0===i?void 0:i.value)?(0,x5.Ie)(t.itemId,ux.jH.TMHNeighbourhood)?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("h1",{}),(0,va.jsx)(vx.H,{field:null==o?void 0:o.Title})]}):(0,va.jsx)("h1",{dangerouslySetInnerHTML:{__html:null!==(a=null==o?void 0:null===(s=o.Title)||void 0===s?void 0:s.value)&&void 0!==a?a:""}}):(0,va.jsx)(va.Fragment,{})})})})};let Ss=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"Items",!0))return{};let r=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,c=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en",v=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.pageTid)||ux.t9.RichContentSlideImageWithButton,u=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.rootpath)||r,m=u?await (0,up.q)(u,v,c,10,!0):[],x=u?await pn(u,c):void 0;return{StartwithLeftImageRightText:null==x?void 0:x.StartwithLeftImageRightText,Slides:m}};var Sn=(0,vp.C)()(e=>{var l,i,s,n,a;let d=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);vD(e,"Items",!0)&&(d={StartwithLeftImageRightText:e.fields.StartwithLeftImageRightText,Slides:null!==(a=null===(n=e.fields.Items)||void 0===n?void 0:n.map(e=>({...e.fields,fields:e.fields})))&&void 0!==a?a:[]});let t=(null==d?void 0:null===(i=d.StartwithLeftImageRightText)||void 0===i?void 0:i.value)?"imageL":"imageR";return(0,va.jsx)(va.Fragment,{children:!!(null==d?void 0:null===(s=d.Slides)||void 0===s?void 0:s.length)&&Object.values(null==d?void 0:d.Slides).map((e,l)=>{var i,s;return(0,va.jsx)("div",{className:"marginless module-wrapper mb-100 reveal",children:(0,va.jsxs)("div",{className:"row no-gutters align-items-center ".concat("imageL"==t&&l%2==1?"imgR":"imageR"==t&&l%2==0?"imgR":"imgL"),children:[(0,va.jsx)("div",{className:"marginless__img col-sm-12 col-lg-7",children:(0,va.jsx)("div",{className:"img-wrap",children:(0,va.jsx)(m7,{field:null==e?void 0:e.Image})})}),(0,va.jsx)("div",{className:"marginless__content col-sm-12 col-lg-5",children:(0,va.jsxs)("div",{className:"content-wrap",children:[(0,va.jsx)(uf,{tag:"h2",raw:!0,Text:null==e?void 0:e.Title}),(0,va.jsx)(vx.H,{field:null==e?void 0:e.Content}),(0,va.jsx)(fa,{URL:e.Link,className:"btn btn--white",RawText:!0,TEXT:null==e?void 0:null===(s=e.LinkTitle)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:i.Phrase,hideIconAngle:!0,hideLinkIfEmpty:!0})]})})]})},l)})})});let Sa=e=>{var l;let{Image:i,Mobile:s}=e,{sitecoreContext:n}=(0,vr.z)(),a=n.pageEditing;return(0,va.jsx)("div",{className:"tab--img__wrap",children:a||!!(null==i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(0,va.jsxs)("div",{className:"tab--img",children:[(0,va.jsx)(m7,{field:i}),s&&(0,va.jsx)("div",{className:"tab--item__inner"})]})})},Sd=e=>{var l,i,s,n,a,d,t;
1let{Item:o,hasDetails:r,...c}=e,{t:v}=(0,vT.QT)(),u=(null===(s=o.fields)||void 0===s?void 0:null===(i=s.Link)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href)?null===(n=o.fields)||void 0===n?void 0:n.LinkTitle:v(mT.W.PAGECONTENT.DISCOVERMORE);return(0,va.jsxs)("div",{className:"tab--info",children:[(0,va.jsx)(uf,{tag:"h3",Text:null===(a=o.fields)||void 0===a?void 0:a.SubTitle,raw:!0}),(0,va.jsx)(uf,{tag:"h2",Text:null===(d=o.fields)||void 0===d?void 0:d.Title,raw:!0}),(0,va.jsx)(vx.H,{field:null===(t=o.fields)||void 0===t?void 0:t.ShortParagraph}),r&&(0,va.jsx)(fa,{className:"btn btn--white",URL:c.LinkUrl,TEXT:u,TextTag:"span",RawText:!0,Target:c.LinkTarget})]})},St=e=>{var l,i,s,n,a,d;let t,o,{Item:r,...c}=e,{locale:v}=(0,vT.QT)(),u=!!(null===(i=r.fields)||void 0===i?void 0:null===(l=i.HasDetailsContent)||void 0===l?void 0:l.value);u?t=r.urlInfo.path:vB(null===(d=r.fields)||void 0===d?void 0:null===(a=d.Link)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href)||(u=!0,o="_blank",t=r.fields.Link.value.href);let m=(0,va.jsx)(Sa,{Image:null===(s=r.fields)||void 0===s?void 0:s.TeaserImage,...c});return(0,va.jsxs)("div",{className:"tab--item",children:[u?(0,va.jsx)("a",{href:(0,vS.at)(t,v()),target:o,children:m}):m,(0,va.jsx)(Sd,{Item:r,hasDetails:u,LinkTarget:o,LinkUrl:(0,vS.at)(t,v())})]})},So=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"ArticleListing",!0))return[];let r=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,c=(null==e?void 0:null===(n=e.params)||void 0===n?void 0:n.tid)?null==e?void 0:null===(a=e.params)||void 0===a?void 0:a.tid:ux.t9.WellnessDetail,v=null!==(o=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.language)&&void 0!==o?o:"en";return r?await (0,up.D)(r,c,v,100,!1):[]};var Sr=e=>{var l;let i=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return vD(e,"ArticleListing",!0)&&(i=e.fields.ArticleListing.map(e=>({...e,urlInfo:{url:e.url,path:e.url}}))),i&&i.length>0?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"tab p-40 mb-150 d-none d-lg-block tab--hasinfo",children:(0,va.jsx)("div",{className:"row justify-content-center",children:(0,va.jsx)("div",{className:"col-sm-12 col-lg-9",children:(0,va.jsx)("div",{className:"tab--right module-wrapper",children:(0,va.jsx)("div",{className:"row js-append-here",children:i&&Object.values(i).map((e,l)=>(0,va.jsx)("div",{className:"col-lg-6",children:(0,va.jsx)("div",{className:"tab--item",children:(0,va.jsx)(St,{Item:e})})},l))})})})})}),(0,va.jsx)("div",{className:"tab m-tab m-tab--progWrap d-block d-lg-none mb-100 tab--hasinfo",children:(0,va.jsx)("div",{className:"m-tab--slider module-wrapper",children:(0,va.jsx)("div",{className:"swiper-container m-tab--sliderContainer",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:!!i.length&&Object.values(i).map((e,l)=>(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)(St,{Item:e})},l))})})})})]}):(0,va.jsx)(va.Fragment,{})};let Sc=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"SelectedOfferList",!0))return[];let r=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,c=(null==e?void 0:null===(n=e.params)||void 0===n?void 0:n.DetailTemplate)?null==e?void 0:null===(a=e.params)||void 0===a?void 0:a.DetailTemplate:ux.t9.OfferDetail,v=null!==(o=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.language)&&void 0!==o?o:"en";return r?await (0,up.q)(r,c,v,100,!1):[]};var Sv=e=>{var l,i,s,n,a,d,t,o,r,c,v;let{t:u,locale:m}=(0,vT.QT)(),x=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),p=(0,vr.z)().sitecoreContext.pageEditing;vD(e,"SelectedOfferList",!0)&&(x=null===(s=e.fields)||void 0===s?void 0:null===(i=s.SelectedOfferList)||void 0===i?void 0:i.map(e=>({...e.fields,id:e.id,url:{url:e.url,path:e.url}})));let h=x,f=[];x&&x.forEach(e=>{var l,i,s,n,a,d,t;(null==e?void 0:null===(s=e.OffersMatchingTag)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Text)||void 0===l?void 0:l.value)&&(f.find(l=>{var i,s,n;return l.key==(null==e?void 0:null===(n=e.OffersMatchingTag)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Text)||void 0===i?void 0:i.value)})?null===(n=f.find(l=>{var i,s,n;return l.key==(null==e?void 0:null===(n=e.OffersMatchingTag)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Text)||void 0===i?void 0:i.value)}))||void 0===n||n.value.push(e):f.push({key:null==e?void 0:null===(t=e.OffersMatchingTag)||void 0===t?void 0:null===(d=t.fields)||void 0===d?void 0:null===(a=d.Text)||void 0===a?void 0:a.value,value:[e]}))});let g=[],j="";for(let e=0;e<(h?null==h?void 0:h.length:0);e++){let l=h?null===(t=h[e])||void 0===t?void 0:null===(d=t.OffersMatchingTag)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:null===(n=a.Text)||void 0===n?void 0:n.value:"",i=h?null===(v=h[e])||void 0===v?void 0:null===(c=v.OffersMatchingTag)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:null===(o=r.IconCssClass)||void 0===o?void 0:o.value:"";l&&0>j.indexOf(i)&&(g.push({key:l,value:i}),j+=i+",")}return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"offer-filter module-wrapper p-40",children:(0,va.jsxs)("div",{className:"offer-filter--wrap",children:[(0,va.jsx)("button",{type:"button",name:"button","data-type":"Viewall",children:u(mT.W.PAGECONTENT.VIEWALL)}),g?Object.values(g).map((e,l)=>(0,va.jsx)("button",{type:"button",name:"button","data-type":e.key,children:(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:e.value})," ",e.key]})},l)):(0,va.jsx)(va.Fragment,{})]})}),(0,va.jsxs)("div",{className:"offeritem-wrap",children:[(0,va.jsx)("div",{className:"offeritem","data-type":"Viewall",children:x?Object.values(x).map((e,l)=>l<=(null==x?void 0:x.length)/3?(0,va.jsx)("div",{className:"more more--wrap mb-100 p-40",children:(0,va.jsx)("div",{className:"row",children:Object.values(null==x?void 0:x.slice(3*l,3*l+3)).map((e,l)=>{var i,s,n,a,d,t,o,r,c,v,x,h;return(0,va.jsx)("div",{className:"col-sm-12 col-lg-4 module-wrapper",children:(0,va.jsxs)("div",{className:"more--item",children:[(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(i=e.url)||void 0===i?void 0:i.path,m()),"data-scid":null==e?void 0:e.id,className:"more--img",children:!0==p?(0,va.jsx)(vg.E,{field:null==e?void 0:e.TeaserImage}):(0,va.jsx)(va.Fragment,{children:(null==e?void 0:e.TeaserImage)?(0,va.jsx)(vg.E,{field:null==e?void 0:e.TeaserImage}):(0,va.jsx)(va.Fragment,{})})}),(0,va.jsx)("div",{className:"more--info",children:(0,va.jsxs)("div",{className:"offer-wrapper",children:[(0,va.jsxs)("div",{className:"offer-tag",children:[(null==e?void 0:null===(a=e.OffersMatchingTag)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.IconCssClass)||void 0===s?void 0:s.value)?(0,va.jsx)("span",{className:null==e?void 0:null===(o=e.OffersMatchingTag)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:null===(d=t.IconCssClass)||void 0===d?void 0:d.value}):(0,va.jsx)(va.Fragment,{})," ",(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(c=e.OffersMatchingTag)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:r.Text})})]}),!0==p?(0,va.jsx)("h3",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:e.Title})}):(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(v=e.Title)||void 0===v?void 0:v.value)?(0,va.jsx)("h3",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:e.Title})}):(0,va.jsx)(va.Fragment,{})}),!0==p?(0,va.jsx)(vx.H,{field:null==e?void 0:e.ShortParagraph}):(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(x=e.ShortParagraph)||void 0===x?void 0:x.value)?(0,va.jsx)(vx.H,{field:null==e?void 0:e.ShortParagraph}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(h=e.url)||void 0===h?void 0:h.path,m()),"data-scid":null==e?void 0:e.id,className:"btn btn--white",children:[(0,va.jsx)("span",{children:u(mT.W.PAGECONTENT.LEARNMORE)}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})]})},l)})})},l):(0,va.jsx)(va.Fragment,{})):(0,va.jsx)(va.Fragment,{})}),f?Object.values(f).map((e,l)=>(0,va.jsx)("div",{className:"offeritem","data-type":null==e?void 0:e.key,children:e.value.map((i,s)=>{var n,a;return s<=(null===(n=e.value)||void 0===n?void 0:n.length)/3?(0,va.jsx)("div",{className:"more more--wrap mb-100 p-40",children:(0,va.jsx)("div",{className:"row",children:Object.values(null===(a=e.value)||void 0===a?void 0:a.slice(3*s,3*s+3)).map((e,l)=>{var i,s,n,a,d,t,o,r,c,v,x,h,f;return(0,va.jsx)("div",{className:"col-sm-12 col-lg-4 module-wrapper",children:(0,va.jsxs)("div",{className:"more--item",children:[(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(i=e.url)||void 0===i?void 0:i.path,m()),"data-scid":null==e?void 0:e.id,className:"more--img",children:e.TeaserImage?(0,va.jsx)(vg.E,{field:null==e?void 0:e.TeaserImage}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsx)("div",{className:"more--info",children:(0,va.jsxs)("div",{className:"offer-wrapper",children:[(0,va.jsxs)("div",{className:"offer-tag",children:[(null==e?void 0:null===(n=e.OffersMatchingTag)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:s.IconCssClass)?(0,va.jsx)("span",{className:null===(t=e.OffersMatchingTag)||void 0===t?void 0:null===(d=t.fields)||void 0===d?void 0:null===(a=d.IconCssClass)||void 0===a?void 0:a.value}):(0,va.jsx)(va.Fragment,{})," ",!0==p?(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(r=e.OffersMatchingTag)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:o.Text})}):(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(v=e.OffersMatchingTag)||void 0===v?void 0:null===(c=v.fields)||void 0===c?void 0:c.Text)?(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(h=e.OffersMatchingTag)||void 0===h?void 0:null===(x=h.fields)||void 0===x?void 0:x.Text})}):(0,va.jsx)(va.Fragment,{})})]}),!0==p?(0,va.jsx)("h3",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:e.Title})}):(0,va.jsx)(va.Fragment,{children:(null==e?void 0:e.Title)?(0,va.jsx)("h3",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:e.Title})}):(0,va.jsx)(va.Fragment,{})}),!0==p?(0,va.jsx)("div",{className:"offer-shortparagraph",children:(0,va.jsx)(vx.H,{field:null==e?void 0:e.ShortParagraph})}):(0,va.jsx)(va.Fragment,{children:(null==e?void 0:e.ShortParagraph)?(0,va.jsx)(vx.H,{field:e.ShortParagraph}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(f=e.url)||void 0===f?void 0:f.path,m()),"data-scid":null==e?void 0:e.id,className:"btn btn--white",children:[(0,va.jsx)("span",{children:u(mT.W.PAGECONTENT.LEARNMORE)}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})]})},l)})})},l):(0,va.jsx)(va.Fragment,{})})},l)):(0,va.jsx)(va.Fragment,{})]})]})};let Su="Service[GetItemWithFieldValue]",Sm=(0,xX.J3)(Su),Sx=async function(e,l,i,s,n){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:10,d=!(arguments.length>6)||void 0===arguments[6]||arguments[6],t=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"",o=performance.now(),r=(0,xX.ah)("GetItemParentSiblingsService",{startItem:e,template:l,language:i,fieldName:s,fieldValue:n,first:a.toString(),all:d.toString(),currentItem:t}),c=await Sm.get(r);if((0,xX.Dx)()&&c)return x4.Z.common("[".concat(Su,"] get cached value for ").concat(r)),c;let v=(0,x0.W)(x2())({}),u=[],m=!0,x="";for(;m;){let o=await v.request('\n query GetItems(\n $rootItemId: String!\n $language: String!\n $template:
1String!\n $fieldName: String!\n $fieldValue: String!\n $pageSize: Int = 10\n $after: String\n ) {\n search(\n where: {\n AND: [\n { name: "_path", operator: CONTAINS, value: $rootItemId }\n { name: "_language", operator: EQ, value: $language }\n { name: "_templates", operator: CONTAINS, value: $template }\n { name: $fieldName, operator: EQ, value: $fieldValue }\n ]\n }\n first: $pageSize\n after: $after\n ) {\n results {\n id\n path\n fields {\n name\n jsonValue\n }\n url {\n url\n path\n }\n }\n pageInfo {\n endCursor\n hasNext\n }\n total\n }\n }\n',{rootItemId:(0,x5.Z9)(e),template:(0,x5.Z9)(l),language:i,after:x,pageSize:a,fieldName:s,fieldValue:(0,x5.Z9)(n)});u.push(...o.search.results.filter(e=>!t||!(0,x5.Ie)(e.id,t)).map(e=>(0,x5.K1)(e))),m=d&&o.search.pageInfo.hasNext,x=o.search.pageInfo.endCursor}let p=performance.now();return console.log("".concat(Su," taken to execute : ").concat(p-o,"ms for ").concat(r,".")),await Sm.set(r,u),u},Sp=async(e,l)=>{var i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T;let S=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,k=null!==(t=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==t?t:"en",w=null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.tid;if(w){let e=S?await bM(S,k):void 0;return e&&(null==e?void 0:e.id)?await (0,up.q)(e.id,w,k,4,!1):[]}{let i=(null==l?void 0:null===(r=l.sitecore)||void 0===r?void 0:null===(o=r.route)||void 0===o?void 0:o.itemId)||"",s=await x7(i,null!==(T=null==e?void 0:null===(c=e.params)||void 0===c?void 0:c.rootid)&&void 0!==T?T:ux.t9.TMHHomeTid,k),n=(null==e?void 0:null===(v=e.params)||void 0===v?void 0:v.pageTid)||ux.t9.OfferDetail,a=(null==e?void 0:null===(u=e.params)||void 0===u?void 0:u.rootpath)||(null===(m=s[0])||void 0===m?void 0:m.id),d=null==l?void 0:null===(h=l.sitecore)||void 0===h?void 0:null===(p=h.route)||void 0===p?void 0:null===(x=p.fields)||void 0===x?void 0:x.OffersMatchingTag;return a&&((null==e?void 0:null===(f=e.params)||void 0===f?void 0:f.fvalue)||(null==d?void 0:d.id))?await Sx(a,n,k,(null==e?void 0:null===(g=e.params)||void 0===g?void 0:g.fname)||"OffersMatchingTag",(null==e?void 0:null===(j=e.params)||void 0===j?void 0:j.fvalue)||"{".concat(null==d?void 0:d.id,"}"),4,!1,null==l?void 0:null===(b=l.sitecore)||void 0===b?void 0:null===(N=b.route)||void 0===N?void 0:N.itemId):[]}};var Sh=e=>{var l,i,s,n,a;let{t:d,locale:t}=(0,vT.QT)(),o=(0,vr.z)().sitecoreContext.pageEditing,r=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),c=[];c=null==(c=(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.selectedOffer)?null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.selectedOffer:r||c)?void 0:c.slice(0,Math.min(3,c.length));let v=null===(n=(0,vr.z)().sitecoreContext)||void 0===n?void 0:null===(s=n.route)||void 0===s?void 0:s.templateId;return(0,va.jsx)(va.Fragment,{children:v&&["{88AC91E3-FF73-40DE-B71C-A73C9C118BFC}","{518657F8-D33F-4236-A158-93994169AF1C}","{28874BF7-D8F3-453D-BBE1-31548A8BFC81}","{BCCAF730-EE81-4F9C-9727-EE3B3993C16A}","{311A8435-95B8-4CB4-A420-670BF598FCFB}"].indexOf(v)>=0?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"offerSameKind more more--wrap mb-100 p-40",children:(0,va.jsx)("div",{className:"row",children:c?Object.values(c).map((e,l)=>{var i,s,n,a,r,c,v,u,m,x;return(0,va.jsx)("div",{className:"col-sm-12 col-lg-4 module-wrapper",children:(0,va.jsxs)("div",{className:"more--item",children:[(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(i=e.url)||void 0===i?void 0:i.path,t()),"data-scid":null==e?void 0:e.id,className:"more--img",children:(null==e?void 0:null===(n=e.TeaserImage)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.src)?(0,va.jsx)(vg.E,{field:null==e?void 0:e.TeaserImage}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsx)("div",{className:"more--info",children:(0,va.jsxs)("div",{className:"offer-wrapper",children:[(0,va.jsxs)("div",{className:"offer-tag",children:[(0,va.jsx)("span",{className:null==e?void 0:null===(c=e.OffersMatchingTag)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:null===(a=r.IconCssClass)||void 0===a?void 0:a.value})," ",(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(u=e.OffersMatchingTag)||void 0===u?void 0:null===(v=u.fields)||void 0===v?void 0:v.Text})})]}),!0==o?(0,va.jsx)("h3",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:e.Title})}):(null==e?void 0:null===(m=e.Title)||void 0===m?void 0:m.value)&&(0,va.jsx)("h3",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:e.Title})}),!0==o?(0,va.jsx)("h3",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:e.ShortParagraph})}):(null==e?void 0:e.ShortParagraph)?(0,va.jsx)("h3",{children:(0,va.jsx)(vx.H,{field:null==e?void 0:e.ShortParagraph})}):(0,va.jsx)(va.Fragment,{}),(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(x=e.url)||void 0===x?void 0:x.path,t()),"data-scid":null==e?void 0:e.id,className:"btn btn--white",children:[(0,va.jsx)("span",{children:d(mT.W.PAGECONTENT.LEARNMORE)}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})]})},l)}):(0,va.jsx)(va.Fragment,{})})})}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"offerSameKind more more--wrap mb-100 p-40",children:(0,va.jsx)("div",{className:"row",children:c?Object.values(c).map((e,l)=>{var i,s,n,a,r,c,v,u,m;return(0,va.jsx)("div",{className:"col-sm-12 col-lg-4 module-wrapper",children:(0,va.jsxs)("div",{className:"more--item",children:[!0==o?(0,va.jsx)("div",{className:"more--img",children:(null==e?void 0:e.TeaserImage)?(0,va.jsx)(vg.E,{field:null==e?void 0:e.TeaserImage}):(0,va.jsx)(va.Fragment,{})}):(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(i=e.url)||void 0===i?void 0:i.path,t()),"data-scid":null==e?void 0:e.id,className:"more--img",children:(null==e?void 0:e.TeaserImage)?(0,va.jsx)(vg.E,{field:null==e?void 0:e.TeaserImage}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsx)("div",{className:"more--info",children:(0,va.jsxs)("div",{className:"offer-wrapper",children:[(0,va.jsxs)("div",{className:"offer-tag",children:[(0,va.jsx)("span",{className:null==e?void 0:null===(a=e.OffersMatchingTag)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.IconCssClass)||void 0===s?void 0:s.value})," ",(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(c=e.OffersMatchingTag)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:r.Text})})]}),(null==e?void 0:null===(v=e.Title)||void 0===v?void 0:v.value)?(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:e.Title})}):(0,va.jsx)(va.Fragment,{}),(null==e?void 0:null===(u=e.ShortParagraph)||void 0===u?void 0:u.value)?(0,va.jsx)(vx.H,{field:null==e?void 0:e.ShortParagraph}):(0,va.jsx)(va.Fragment,{}),(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(m=e.url)||void 0===m?void 0:m.path,t()),"data-scid":null==e?void 0:e.id,className:"btn btn--white",children:[(0,va.jsx)("span",{children:d(mT.W.PAGECONTENT.LEARNMORE)}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})]})},l)}):(0,va.jsx)(va.Fragment,{})})})})})},Sf=i(31955);let Sg=e=>{if(document.cookie.split(";").find(e=>e.trim().startsWith("Popup-Box-Read="))){let l=new Date;return l.setTime(l.getTime()+6e4*e),document.cookie="Popup-Box-Read=true; expires=".concat(l.toUTCString(),"; path=/"),!0}return!1},Sj=async(e,l)=>{var i,s,n,a,d,t,o,r,c,v,u,m;let x=null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,p=null!==(t=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==t?t:"en",h=x?await x7(x,ux.t9.PopupConfigs,p):[],f=5;h&&h.length>0&&(f=(null===(r=h[0])||void 0===r?void 0:null===(o=r.ExpiryMinutes)||void 0===o?void 0:o.value)||-1);let g=x?await (0,up.q)(x,ux.t9.LocalDatasourceFolder,p,1,!1):[];if(g&&g.length>0&&(null===(d=g[0])||void 0===d?void 0:d.id)){let e=(null===(c=g[0])||void 0===c?void 0:c.id)?await (0,up.q)(null===(v=g[0])||void 0===v?void 0:v.id,ux.t9.Popup,p,1,!1):[];if(e&&e.length>0)return{ExpiryMinutes:f,Popup:e[0]}}if(h&&h.length>0){let e=null===(m=h[0])||void 0===m?void 0:null===(u=m.GlobalPopupMessage)||void 0===u?void 0:u.fields;return{ExpiryMinutes:f,Popup:null!=e?e:null}}return{ExpiryMinutes:f,Popup:null}};var SN=e=>{var l,i,s,n,a,d,t;let o=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);if(!o)return(0,va.jsx)(va.Fragment,{});let r=null!==(t=null==o?void 0:o.ExpiryMinutes)&&void 0!==t?t:5,c=null==o?void 0:o.Popup;if(!c)return(0,va.jsx)(va.Fragment,{});if(Sf.Z.get("Popup-Box-Read"))return Sg(r),(0,va.jsx)(va.Fragment,{});let v=(null==c?void 0:null===(s=c.Image)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src)?"":"popup-box-grid__cont_noimage";(0,vd.useEffect)(function(){$(document).ready(function(){Sg(r)||($(".popup-box").show(),setTimeout(()=>{$(".popup-checkmark").click(function(e){e.preventDefault(),$(this).hide(),u(r)})},2e3))})});let u=e=>{$(".popup-box").hide(),$(".popup-box-overlay").hide(),$(".popup-checkmark").hide();let l=new Date;l.setTime(l.getTime()+(e>0?e:5)*6e4),document.cookie="Popup-Box-Read=true; expires=".concat(l.toUTCString(),"; path=/")}
1;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"popup-box-background popup-box-overlay",children:(0,va.jsxs)("div",{className:"popup-box",style:{display:"none"},children:[(0,va.jsx)("img",{className:"popup-checkmark",src:"/files/the-house-collective/img/popup_close.svg"}),(0,va.jsxs)("div",{className:"popup-box-content ".concat(v),children:[(0,va.jsx)("div",{className:"popup-box-grid__img",children:(0,va.jsx)(vg.E,{field:null==c?void 0:c.Image})}),(0,va.jsxs)("div",{className:"popup-box-grid__cont",children:[(0,va.jsx)("div",{className:"popup-box-grid__title",children:(0,va.jsx)(vm.x,{field:null==c?void 0:c.Title})}),(null==c?void 0:null===(n=c.CTAButtonText)||void 0===n?void 0:n.value)&&(null==c?void 0:null===(d=c.CTAButtonURL)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href)?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"popup-box-grid__message",children:(0,va.jsx)(vx.H,{field:null==c?void 0:c.MessageContent})}),(0,va.jsx)("div",{className:"popup-box-grid__button",children:(0,va.jsx)(vk,{field:null==c?void 0:c.CTAButtonURL,className:"btn btn--white",children:(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:null==c?void 0:c.CTAButtonText})})})})]}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"popup-box-grid__message",children:(0,va.jsx)(vx.H,{field:null==c?void 0:c.MessageContent})})})]})]})]})})})},Sb=(0,vp.C)()(e=>{var l,i;let{t:s}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"dropdown-wrapper dropdown-wrapper--houses",children:[(0,va.jsx)("label",{htmlFor:"dropdown--year",children:s(mT.W.PAGECONTENT.HOUSES)}),(0,va.jsx)("button",{type:"button",name:"button",className:"dropdown dropdown--filter",children:(0,va.jsxs)("span",{children:[null===(i=e.fields.OptionRelatedHouses[0])||void 0===i?void 0:null===(l=i.fields.Text)||void 0===l?void 0:l.value," "]})}),(0,va.jsx)("div",{className:"dropdown--filter__wrap js-filter-opts",children:e.fields.OptionRelatedHouses?Object.values(e.fields.OptionRelatedHouses).map((e,l)=>(0,va.jsx)("div",{className:"dropdown--filter__opt",id:"houseFilter",children:(0,va.jsx)(vm.x,{field:e.fields.Text})},l)):(0,va.jsx)(va.Fragment,{})})]})})}),ST=(0,vp.C)()(e=>{let{t:l}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"dropdown-wrapper",children:[(0,va.jsx)("label",{htmlFor:"dropdown--year",children:l(mT.W.PAGECONTENT.HOUSES)}),(0,va.jsx)("select",{className:"dropdown m-select",id:"houseFilterM",children:e.fields.OptionRelatedHouses?Object.values(e.fields.OptionRelatedHouses).map((e,l)=>{var i;return(0,va.jsx)("option",{value:null===(i=e.fields.Text)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:e.fields.Text})},l)}):(0,va.jsx)(va.Fragment,{})})]})})}),SS=(0,vp.C)()(e=>{var l;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"post post--benefit module-wrapper mb-50 reveal",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"post__text col-12 px-0",children:(0,va.jsx)("div",{className:"text-wrap",children:(0,va.jsx)(bN,{Text:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Text,className:"sc-richtext-wrapper"})})})})})})});let Sk=async(e,l)=>{var i,s,n,a,d,t;if(vD(e,"Items",!0))return{};let o=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,r=null!==(t=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==t?t:"en",c=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.template)||"{16FDCFFA-91E5-4E77-AA4B-8A8799E679F4}",v=o?await pn(o,r):void 0;return{SlidesWithSubtitleAndButton:o?await (0,up.q)(o,c,r,10,!0):[],Item:v}};var Sw=e=>{var l,i,s,n,a,d,t,o;let r=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return vD(e,"Items",!0)&&(r={SlidesWithSubtitleAndButton:null===(o=e.fields)||void 0===o?void 0:null===(t=o.Items)||void 0===t?void 0:t.map(e=>e.fields),Item:e.fields}),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"slider slider--3column module-wrapper mb-100",id:"slider-".concat(null===(i=e.rendering)||void 0===i?void 0:i.uid),children:[(0,va.jsxs)("div",{className:"title-wrap",children:[(0,va.jsx)(uf,{tag:"h2",Text:null==r?void 0:null===(s=r.Item)||void 0===s?void 0:s.Title}),(0,va.jsxs)("div",{className:"swiper-button-wrap",children:[(0,va.jsx)("div",{className:"swiper-button-prev slider--3column--button slider--3column--button-prev",id:"slider-".concat(null===(n=e.rendering)||void 0===n?void 0:n.uid,"-prev")}),(0,va.jsx)("div",{className:"swiper-button-next slider--3column--button slider--3column--button-next",id:"slider-".concat(null===(a=e.rendering)||void 0===a?void 0:a.uid,"-next")})]})]}),(0,va.jsx)("div",{className:"swiper-container slider--3column-container",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:!!(null==r?void 0:null===(d=r.SlidesWithSubtitleAndButton)||void 0===d?void 0:d.length)&&Object.values(r.SlidesWithSubtitleAndButton).map((e,l)=>{var i,s;return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsxs)("div",{className:"slider--3column__item",children:[(null===(s=e.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)?(0,va.jsx)(vk,{field:e.Link,children:(0,va.jsx)("div",{className:"slider--3column__img",children:(0,va.jsx)("div",{className:"img-wrap",children:(0,va.jsx)(m7,{field:null==e?void 0:e.Image})})})}):(0,va.jsx)("div",{className:"slider--3column__img",children:(0,va.jsx)("div",{className:"img-wrap",children:(0,va.jsx)(m7,{field:null==e?void 0:e.Image})})}),(0,va.jsx)("div",{className:"slider--3column__content",children:(0,va.jsxs)("div",{className:"quote-wrapper",children:[(0,va.jsx)(uf,{tag:"h2",Text:null==e?void 0:e.Quote,HideIfEmpty:!0}),(0,va.jsx)(uf,{tag:"h4",Text:null==e?void 0:e.Author,HideIfEmpty:!0}),(0,va.jsx)(uf,{tag:"h5",Text:null==e?void 0:e.Title,HideIfEmpty:!0})]})})]})},l)})})})]})})};let Sy=async(e,l)=>{var i,s,n,a,d,t,o,r;if(vD(e,"Items",!0))return[];let c=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,v=null!==(r=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==r?r:"en";return c&&await bA(c,(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.tid)||ux.t9.UpcloseDetail,v,5,!1,null==l?void 0:null===(o=l.sitecore)||void 0===o?void 0:null===(t=o.route)||void 0===t?void 0:t.itemId)};var SE=e=>{var l;let{sitecoreContext:i}=(0,vr.z)(),{t:s,locale:n}=(0,vT.QT)(),a=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return vD(e,"Items",!0)&&(a=e.fields.Items.filter(e=>!(0,x5.Ie)(e.id,i.itemId)).map(e=>({...e.fields,_UrlInfo:{path:e.url,url:e.url}}))),(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"more more--wrap mb-100 p-40",children:(0,va.jsx)("div",{className:"row",children:!!(null==a?void 0:a.length)&&Object.values(a.slice(0,3)).map((e,l)=>{var i,a,d,t;return(0,va.jsx)("div",{className:"col-sm-12 col-lg-4 module-wrapper",children:(0,va.jsxs)("div",{className:"more--item",children:[(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(i=e._UrlInfo)||void 0===i?void 0:i.path,n()),className:"more--img",children:(null==e?void 0:null===(d=e.TeaserImage)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.src)&&(0,va.jsx)(m7,{field:e.TeaserImage})}),(0,va.jsx)("div",{className:"more--info",children:(0,va.jsxs)("div",{className:"info-wrapper",children:[(0,va.jsx)(uf,{tag:"h3",raw:!0,Text:e.Title}),(0,va.jsx)(uf,{tag:"h4",raw:!0,Text:e.SubTitle}),(0,va.jsx)(fa,{URL:null==e?void 0:null===(t=e._UrlInfo)||void 0===t?void 0:t.path,className:"btn btn--white",TextTag:"span",TEXT:s(mT.W.PAGECONTENT.DISCOVERMORE)})]})})]})},l)})})})})},SC=(0,vp.C)()(e=>{let{t:l,locale:i}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:e.fields.SelectedOffers?Object.values(e.fields.SelectedOffers).map((s,n)=>{var a,d,t,o,r,c,v,u,m,x,p;return(0,va.jsxs)("div",{className:"offer-item item bg-white cat-".concat(null===(d=s.fields.Category)||void 0===d?void 0:null===(a=d.Value)||void 0===a?void 0:a.value),
1children:[(0,va.jsxs)("h2",{children:[(0,va.jsx)("span",{className:"sp sp-icon_".concat(null===(o=s.fields.Category)||void 0===o?void 0:null===(t=o.Value)||void 0===t?void 0:t.value)}),(null===(c=s.fields.Category)||void 0===c?void 0:null===(r=c.Title)||void 0===r?void 0:r.value)?(0,va.jsx)(vm.x,{field:null===(v=s.fields.Category)||void 0===v?void 0:v.Title,children:" "}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Url)||void 0===u?void 0:u.value,i()),children:(0,va.jsx)(vm.x,{field:s.fields.Title})})}),(0,va.jsx)("p",{className:"price",children:(0,va.jsx)(vm.x,{field:s.fields.ShortDescription})}),(0,va.jsx)("div",{className:"dot",children:(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:s.fields.Summary})})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(p=e.fields)||void 0===p?void 0:null===(x=p.Url)||void 0===x?void 0:x.value,i()),children:[l(mT.W.OFFERS.READMORE),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]},n)}):(0,va.jsx)(va.Fragment,{})})}),SO=i(48929),SL=i(46651),SI=i.n(SL);vL.ZP.registerPlugin(vI.V),vL.ZP.registerPlugin(v_());var SF=(0,vp.C)()(e=>{var l;let i=(0,vd.useRef)(null),s=(0,vd.useRef)(null),n=(0,vd.useRef)(null),a=(0,vd.useRef)(null),d=(0,vd.useRef)(null);ft(i);let{sitecoreContext:t}=(0,vr.z)(),o=t.pageEditing,r=(0,vd.forwardRef)((e,l)=>{let i=e.fields.ArticleList,s={direction:"vertical",speed:800};return(null==i?void 0:i.length)&&e.reverse&&(i=i.reverse(),s.initialSlide=i.length-1),(0,va.jsx)(SO.tq,{ref:l,className:(0,vM.Z)(vA(SI(),"swiper-container home-house-slider"),e.className,vA(SI(),"swiper-no-swiping")),...s,children:!!(null==i?void 0:i.length)&&i.map((e,l)=>(0,va.jsx)(SO.o5,{className:vA(SI(),"swiper-slide"),children:(0,va.jsx)(fi,{tag:"div",image:e.fields.Image,imageMobile:e.fields.ImageMobile,className:vA(SI(),"img-wrap lazyload")})},l))})});return(0,vI.V)(()=>{if(!document.querySelector(".page--home"))return;let e=i.current;if(e){let l=e.querySelectorAll(".home-house-slider--r .swiper-slide").length;v_().create({trigger:s.current,start:"top top",end:"+="+(l+1)*100+"%",pin:e,onUpdate:function(e){let i=Number(e.progress.toFixed(3)),s=1/l;for(var t,o,r,c,v,u,m=0;m<l;m++)i>=s*m&&(null===(o=n.current)||void 0===o||null===(t=o.swiper)||void 0===t||t.slideTo(m),null===(c=a.current)||void 0===c||null===(r=c.swiper)||void 0===r||r.slideTo(m),null===(u=d.current)||void 0===u||null===(v=u.swiper)||void 0===v||v.slideTo(l-(m+1)))}})}},{scope:i}),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{id:"triggerHouseThis",ref:s}),(0,va.jsxs)("section",{className:vA(SI(),"home-house home-module"),id:"home-house",ref:i,children:[(0,va.jsxs)("div",{className:vA(SI(),"bgslider-wrapper"),children:[(0,va.jsx)(r,{...e,className:vA(SI(),"home-house-slider--r"),ref:a}),(0,va.jsx)(r,{...e,className:vA(SI(),"home-house-slider--l"),reverse:!0,ref:d})]}),(0,va.jsx)("div",{className:vA(SI(),"content-wrapper"),children:(0,va.jsx)(SO.tq,{ref:n,className:vA(SI(),"swiper-container home-house-content-slider swiper-no-swiping"),direction:"vertical",speed:800,children:!!(null===(l=e.fields.ArticleList)||void 0===l?void 0:l.length)&&Object.values(e.fields.ArticleList).map((e,l)=>{var i,s,n,a,d;return(0,va.jsxs)(SO.o5,{className:vA(SI(),"swiper-slide"),children:[(0,va.jsx)(uf,{tag:"h1",Text:e.fields.Title}),(o||!!(null===(i=e.fields.Detail)||void 0===i?void 0:i.value))&&(0,va.jsx)(vx.H,{field:e.fields.Detail}),(0,va.jsx)(fa,{className:vA(SI(),"btn btn--white"),hideLinkIfEmpty:!0,TextTag:"span",TEXT:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.LinkTitle)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:s.Phrase,URL:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Link})]},l)})})})]})]})}),S_=(0,vp.C)()(e=>{var l,i,s;let{t:n}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"download",children:(0,va.jsxs)("a",{className:"ro",href:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Document)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.webkitRelativePath,children:[(0,va.jsx)("span",{className:"cell",children:(0,va.jsx)("span",{className:"sp sp-icon_floorplan_off"})}),(0,va.jsx)("span",{className:"cell",children:n(mT.W.FLOORPLAN.DOWNLOADFILE)})]})})})}),SM=(0,vp.C)()(e=>{var l,i,s;let{t:n}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"download",children:(0,va.jsx)("div",{className:"download",children:(0,va.jsxs)("a",{className:"ro",href:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Document)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.webkitRelativePath,children:[(0,va.jsx)("span",{className:"cell",children:(0,va.jsx)("span",{className:"sp sp-icon_floorplan_off"})}),(0,va.jsx)("span",{className:"cell",children:n(mT.W.INTRO.DOWNLOADMENU)})]})})})})}),SR=(0,vp.C)()(e=>{var l,i,s;let{t:n}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"download",children:(0,va.jsxs)("a",{className:"ro",href:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Document)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.webkitRelativePath,target:"_blank",children:[(0,va.jsx)("span",{className:"cell",children:(0,va.jsx)("span",{className:"sp sp-icon_floorplan_off"})}),(0,va.jsx)("span",{className:"cell",children:n(mT.W.CONTACT.DOWNLOADHOTELBROCHURE)})]})})})}),SP=(0,vp.C)()(e=>{var l,i,s;let{t:n}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"download",children:(0,va.jsxs)("a",{className:"ro",href:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Document)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.webkitRelativePath,children:[(0,va.jsx)("span",{className:"cell",children:(0,va.jsx)("span",{className:"sp sp-icon_vcard_off"})}),(0,va.jsx)("span",{className:"cell",children:n(mT.W.CONTACT.DOWNLOADVCARD)})]})})})}),SA=(0,vp.C)()(e=>{var l,i;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"download",children:(0,va.jsxs)("a",{className:"ro",href:null===(i=e.fields.Document)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.webkitRelativePath,children:[(0,va.jsx)("span",{className:"cell",children:(0,va.jsx)("span",{className:"sp sp-icon_floorplan_off"})}),(0,va.jsx)("span",{className:"cell",children:e.params.Title})]})})})}),SD=(0,vp.C)()(e=>{let{t:l,locale:i}=(0,vT.QT)();e.params.DateTimeFormat&&e.params.DateTimeFormat;let s=e.fields.SelectedItems.map(e=>{var l;return null===(l=e.fields.ReleaseDate)||void 0===l?void 0:l.value.getFullYear()});return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"press-list",children:[(0,va.jsx)("div",{className:"filters w-50",children:(0,va.jsxs)("div",{className:"filter-dropdown",children:[(0,va.jsx)("span",{className:"label",children:l(mT.W.PAGECONTENT.SELECTAYEAR)}),(0,va.jsxs)("select",{className:"custom",children:[(0,va.jsx)("option",{value:"all",children:l(mT.W.PAGECONTENT.ALL)}),s?Object.values(s).map((e,l)=>(0,va.jsx)("option",{value:e,children:e},l)):(0,va.jsx)(va.Fragment,{})]})]})}),(0,va.jsx)("div",{children:e.fields.SelectedItems?Object.values(e.fields.SelectedItems).map((l,s)=>{var n,a,d,t,o;return(0,va.jsxs)("div",{className:"item cat-".concat(null===(a=l.fields.ReleaseDate)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.getFullYear()),children:[(0,va.jsx)("h3",{children:(0,va.jsxs)("a",{href:(0,vS.at)(null===(d=e.fields.Url)||void 0===d?void 0:d.value,i()),children:[(0,va.jsx)(vm.x,{field:l.fields.Title}),(0,va.jsx)("span",{className:"sp sp-m_view_arrow_b"})]})}),(0,va.jsxs)("p",{children:[(0,va.jsx)(vm.x,{field:l.fields.SingleText}),(0,va.jsx)("text",{children:"-"}),(0,va.jsx)(vm.x,{children:null===(o=l.fields.ReleaseDate)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.toDateString()})]})]},s)}):(0,va.jsx)(va.Fragment,{})})]})})}),SB=(0,vp.C)()(e=>{let{t:l}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"tab-content",children:(0,va.jsxs)("div",{className:"content","data-mobile-list":"1",children:[(0,va.jsxs)("div",{className:"offer-item room-item item bg-white cat-studio ",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:"/en/rooms/studio-60",children:(0,va.jsx)("img",{src:"//spl-tth-dev.tekcent.com/en/~/media/Images/The_Temple_House/The-Rooms/Room-Thumbnail/Studio-60_2_300x200.ashx?h=200&la=en&w=300&hash=C555E84DF0F7ABF0DF9FA0402809EE887A3BE51C",alt:"Studio 60"})})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:"Studio 60"}),(0,va.jsx)("p",{className:"dimension",children:"63 sqm | 678 sq ft"}),(0,va.jsx)("p",{className:"reserve",children:(0,va.jsxs)("a",{className:"ro",href:"https://gc.synxis.com/rez.aspx?tps=fml&step=1&hotel=63146&shell=CTUTH2&chain=10237&template=CTUTH&avcurrency=USD",target:"_blank",children:[(0,va.jsx)("span",{className:"sp sp-icon_calendar_off"}),"Check Availability"]})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:"/en/rooms/studio-60",children:["View Room Details",(0,va.jsx)("span",{className:"sp sp-view_link_
1icon"})]})})]})]}),(0,va.jsxs)("div",{className:"offer-item room-item item bg-white cat-studio ",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:"/en/rooms/studio-70",children:(0,va.jsx)("img",{src:"//spl-tth-dev.tekcent.com/en/~/media/Images/The_Temple_House/The-Rooms/Room-Thumbnail/Studio70-300x200/Studio_70/Studio_70.ashx?h=200&la=en&w=300&hash=ED782BA5C4CDECF4C57851E47B2CAEF26ECEEF99",alt:"Studio 70"})})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:"Studio 70"}),(0,va.jsx)("p",{className:"dimension",children:"72 sqm | 775 sq ft"}),(0,va.jsx)("p",{className:"reserve",children:(0,va.jsxs)("a",{className:"ro",href:"https://gc.synxis.com/rez.aspx?tps=fml&step=1&hotel=63146&shell=CTUTH2&chain=10237&template=CTUTH&avcurrency=USD",target:"_blank",children:[(0,va.jsx)("span",{className:"sp sp-icon_calendar_off"}),"Check Availability"]})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:"/en/rooms/studio-70",children:["View Room Details",(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]}),(0,va.jsxs)("div",{className:"offer-item room-item item bg-white cat-studio ",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:"/en/rooms/studio-90",children:(0,va.jsx)("img",{src:"//spl-tth-dev.tekcent.com/en/~/media/Images/The_Temple_House/The-Rooms/Room-Thumbnail/Studio_90_1_300x200.ashx?h=200&la=en&w=300&hash=649F2DB89A7FD3E5ACC3BF33B1BC556CD6D33D9E",alt:"Studio 90"})})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:"Studio 90"}),(0,va.jsx)("p",{className:"dimension",children:"96 sqm | 1033 sq ft"}),(0,va.jsx)("p",{className:"reserve",children:(0,va.jsxs)("a",{className:"ro",href:"https://gc.synxis.com/rez.aspx?tps=fml&step=1&hotel=63146&shell=CTUTH2&chain=10237&template=CTUTH&avcurrency=USD",target:"_blank",children:[(0,va.jsx)("span",{className:"sp sp-icon_calendar_off"}),"Check Availability"]})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:"/en/rooms/studio-90",children:["View Room Details",(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]}),(0,va.jsxs)("div",{className:"offer-item room-item item bg-white cat-suite ",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:"/en/rooms/temple-suite",children:(0,va.jsx)("img",{src:"//spl-tth-dev.tekcent.com/en/~/media/Images/The_Temple_House/The-Rooms/Room-Thumbnail/Temple-Suite_1_300x200.ashx?h=200&la=en&w=300&hash=21DA5A85B4D4CE647EACDFBF15CA1D7BAB1076B7",alt:"Temple Suite"})})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:"Temple Suite"}),(0,va.jsx)("p",{className:"dimension",children:"90 sqm | 968 sq ft"}),(0,va.jsx)("p",{className:"reserve",children:(0,va.jsxs)("a",{className:"ro",href:"https://gc.synxis.com/rez.aspx?tps=fml&step=1&hotel=63146&shell=CTUTH2&chain=10237&template=CTUTH&avcurrency=USD",target:"_blank",children:[(0,va.jsx)("span",{className:"sp sp-icon_calendar_off"}),"Check Availability"]})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:"/en/rooms/temple-suite",children:["View Suite Details",(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]}),(0,va.jsxs)("div",{className:"offer-item room-item item bg-white cat-suite ",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:"/en/rooms/deluxe-temple-suite",children:(0,va.jsx)("img",{src:"//spl-tth-dev.tekcent.com/en/~/media/Images/The_Temple_House/The-Rooms/Room-Thumbnail/Deluxe-Temple-Suite_2_300x200.ashx?h=200&la=en&w=300&hash=0CFD5B6C2820C6900001E21AA1E7EA4C7C741196",alt:"Deluxe Temple Suite"})})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:"Deluxe Temple Suite"}),(0,va.jsx)("p",{className:"dimension",children:"117 sqm | 1259 sq ft"}),(0,va.jsx)("p",{className:"reserve",children:(0,va.jsxs)("a",{className:"ro",href:"https://gc.synxis.com/rez.aspx?tps=fml&step=1&hotel=63146&shell=CTUTH2&chain=10237&template=CTUTH&avcurrency=USD",target:"_blank",children:[(0,va.jsx)("span",{className:"sp sp-icon_calendar_off"}),"Check Availability"]})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:"/en/rooms/deluxe-temple-suite",children:["View Suite Details",(0,va.jsx)("span",{className:"sp sp-view_link_
1icon"})]})})]})]}),(0,va.jsxs)("div",{className:"offer-item room-item item bg-white cat-suite ",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:"/en/rooms/courtyard-suite-2",children:(0,va.jsx)("img",{src:"//spl-tth-dev.tekcent.com/en/~/media/Images/The_Temple_House/The-Rooms/Room-Thumbnail/Courtyard-Suite-living-room-2.ashx?h=234&la=en&w=312&hash=DCBA97672690AA688E85D0CC3CDD1BB8541FC49E",alt:"Courtyard Suite"})})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:"Courtyard Suite"}),(0,va.jsx)("p",{className:"dimension",children:"106 sqm | 1140 sq ft"}),(0,va.jsx)("p",{className:"reserve",children:(0,va.jsxs)("a",{className:"ro",href:"https://gc.synxis.com/rez.aspx?tps=fml&step=1&hotel=63146&shell=CTUTH2&chain=10237&template=CTUTH&avcurrency=USD",target:"_blank",children:[(0,va.jsx)("span",{className:"sp sp-icon_calendar_off"}),"Check Availability"]})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:"/en/rooms/courtyard-suite-2",children:["View Suite Details",(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]}),(0,va.jsxs)("div",{className:"offer-item room-item item bg-white cat-suite ",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:"/en/rooms/courtyard-suite-3",children:(0,va.jsx)("img",{src:"//spl-tth-dev.tekcent.com/en/~/media/Images/The_Temple_House/The-Rooms/Room-Thumbnail/Courtyard-Suite-bedroom-2.ashx?h=234&la=en&w=312&hash=F3F6725123872022CB080DB8437EFE20BE8BAF98",alt:"Courtyard Suite"})})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:"Courtyard Suite"}),(0,va.jsx)("p",{className:"dimension",children:"123 sqm | 1324 sq ft"}),(0,va.jsx)("p",{className:"reserve",children:(0,va.jsxs)("a",{className:"ro",href:"https://gc.synxis.com/rez.aspx?tps=fml&step=1&hotel=63146&shell=CTUTH2&chain=10237&template=CTUTH&avcurrency=USD",target:"_blank",children:[(0,va.jsx)("span",{className:"sp sp-icon_calendar_off"}),"Check Availability"]})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:"/en/rooms/courtyard-suite-3",children:["View Suite Details",(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]}),(0,va.jsxs)("div",{className:"offer-item room-item item bg-white cat-suite ",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:"/en/rooms/deluxe-courtyard-suite-1",children:(0,va.jsx)("img",{src:"//spl-tth-dev.tekcent.com/en/~/media/Images/The_Temple_House/The-Rooms/Room-Thumbnail/Courtyard-Suite-livingroom-1.ashx?h=234&la=en&w=312&hash=499C11F05F975A938DB3AF7EC423F71A11A631DB",alt:"Deluxe Courtyard Suite"})})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:"Deluxe Courtyard Suite"}),(0,va.jsx)("p",{className:"dimension",children:"215 sqm | 2314 sq ft"}),(0,va.jsx)("p",{className:"reserve",children:(0,va.jsxs)("a",{className:"ro",href:"https://gc.synxis.com/rez.aspx?tps=fml&step=1&hotel=63146&shell=CTUTH2&chain=10237&template=CTUTH&avcurrency=USD",target:"_blank",children:[(0,va.jsx)("span",{className:"sp sp-icon_calendar_off"}),"Check Availability"]})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:"/en/rooms/deluxe-courtyard-suite-1",children:["View Suite Details",(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]}),(0,va.jsxs)("div",{className:"offer-item room-item item bg-white cat-suite ",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:"/en/rooms/penthouse",children:(0,va.jsx)("img",{src:"//spl-tth-dev.tekcent.com/en/~/media/Images/The_Temple_House/The-Rooms/Room-Thumbnail/Penthouse/Penthouse_1.ashx?h=224&la=en&w=300&hash=442158A11665B47F236355E69D75A4B0B5921CBC",alt:"Penthouse"})})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:"Penthouse"}),(0,va.jsx)("p",{className:"dimension",children:"287 sqm | 3089 sq ft"}),(0,va.jsx)("p",{className:"reserve",children:(0,va.jsxs)("a",{className:"ro",href:"https://gc.synxis.com/rez.aspx?tps=fml&step=1&hotel=63146&shell=CTUTH2&chain=10237&template=CTUTH&avcurrency=USD",target:"_blank",children:[(0,va.jsx)("span",{className:"sp sp-icon_calendar_off"}),"Check Availability"]})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:"/en/rooms/penthouse",children:["View Suite Details",(0,va.jsx)("span",{className:"sp sp-view_link_
1icon"})]})})]})]})]})})})}),SV=(0,vp.C)()(e=>{var l;let{t:i,locale:s}=(0,vT.QT)(),n=e.params.MaxItems?parseInt(e.params.MaxItems):3,a=e.fields.SelectedItems.slice(0,n);return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"expandable",children:[(0,va.jsxs)("h2",{className:"expandable-title",children:[(0,va.jsx)(vm.x,{field:e.fields.Title}),(0,va.jsx)("span",{className:"sp sp-m_collapse_w"})]}),(0,va.jsxs)("div",{className:"expandable-content","data-mobile-list":"1",children:[a?Object.values(a).map((l,n)=>{var a,d,t;return(0,va.jsxs)("div",{className:"text item",children:[(0,va.jsx)("div",{className:"dot",style:{wordWrap:"break-word"},children:(0,va.jsx)(vm.x,{field:l.fields.Title})}),(0,va.jsxs)("p",{className:"caption",children:[(0,va.jsx)(vm.x,{field:l.fields.Title}),(0,va.jsx)("text",{children:"-"}),(0,va.jsx)(vm.x,{children:null===(d=l.fields.ReleaseDate)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.toDateString()})]}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:(0,vS.at)(null===(t=e.fields.Url)||void 0===t?void 0:t.value,s()),children:[i(mT.W.PAGECONTENT.READMORE),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]},n)}):(0,va.jsx)(va.Fragment,{}),(0,va.jsx)("div",{className:"text",children:(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:(0,vS.at)(null===(l=e.fields.Url)||void 0===l?void 0:l.value,s()),className:"ro",children:[i(mT.W.PAGECONTENT.VIEWALL),(0,va.jsx)(vm.x,{field:e.fields.Title}),(0,va.jsx)("span",{className:"sp sp-view_list_off"})]})})})]})]})})}),SW=(0,vp.C)()(e=>(0,va.jsx)(va.Fragment,{children:e.fields.SelectedItems?Object.values(e.fields.SelectedItems).map((e,l)=>(0,va.jsxs)("div",{className:"item item".concat(l+1),children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsxs)("h2",{children:[" ",(0,va.jsx)(vm.x,{field:e.fields.Title})]}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.Content})})]}),(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.Image,alt:e.fields.Title})})]})):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{style:{height:"30px",backgroundColor:"#eee"},children:"Empty list"})})})),SH=(0,vp.C)()(e=>{var l,i;return(0,va.jsxs)(va.Fragment,{children:[(null===(l=e.fields.Title)||void 0===l?void 0:l.value)?(0,va.jsx)("p",{className:"title",children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):(0,va.jsx)(va.Fragment,{}),(null===(i=e.fields.ShortDescription)||void 0===i?void 0:i.value)?(0,va.jsx)("span",{className:"price",children:(0,va.jsx)(vm.x,{field:e.fields.ShortDescription})}):(0,va.jsx)(va.Fragment,{})]})}),SG=(0,vp.C)()(e=>{var l,i,s;let{t:n,locale:a}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"col",children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:(0,va.jsx)("a",{href:(0,vS.at)(null===(l=e.fields.Url)||void 0===l?void 0:l.value,a()),children:(0,va.jsx)(vm.x,{field:e.fields.Title})})}),(0,va.jsx)("div",{className:"dot",children:(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.Summary})})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:(0,vS.at)(null===(i=e.fields.Url)||void 0===i?void 0:i.value,a()),children:[n(mT.W.PAGECONTENT.VIEWHOUSEDETAILS),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]}),(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:(0,vS.at)(null===(s=e.fields.Url)||void 0===s?void 0:s.value,a()),children:(0,va.jsx)(vg.E,{field:e.fields.Image})})})]})})}),SU=(0,vp.C)()(e=>{var l,i,s;let{t:n,locale:a}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"col",children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:(0,va.jsx)("a",{href:(0,vS.at)(null===(l=e.fields.Url)||void 0===l?void 0:l.value,a()),children:(0,va.jsx)(vm.x,{field:e.fields.Title})})}),(0,va.jsx)("p",{className:"size"}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:(0,vS.at)(null===(i=e.fields.Url)||void 0===i?void 0:i.value,a()),children:[n(mT.W.PAGECONTENT.VIEWHOUSEDETAILS),(0,va.jsx)("span",{className:"sp sp-view_link_
1icon"})]})})]}),(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:(0,vS.at)(null===(s=e.fields.Url)||void 0===s?void 0:s.value,a()),children:(0,va.jsx)(vg.E,{field:e.fields.Image})})})]})})}),Sz=(0,vp.C)()(e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.Body})})),Sq=(0,vp.C)()(e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.Summary})})),SQ=(0,vp.C)()(e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vm.x,{field:e.fields.Title})})),SY=e=>{var l,i;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Url)||void 0===l?void 0:l.value,(0,vT.QT)().locale()),children:(0,va.jsxs)("div",{className:"col",children:[(0,va.jsxs)("div",{className:"text white-text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsx)("div",{className:"dot",children:(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.Summary})})})]}),(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.Image})})]})})})},SK=(0,vp.C)()(e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"bg-transparent-black full-width-content",children:(0,va.jsx)("div",{className:"content",children:(0,va.jsx)("div",{className:"text",children:(0,va.jsx)(vm.x,{field:e.fields.Text})})})})})),S$=(0,vp.C)()(e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"box bg-white",children:(0,va.jsx)("div",{className:"text",children:(0,va.jsx)(vm.x,{field:e.fields.Text})})})})),SZ=(0,vp.C)()(e=>{let{locale:l}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"cols-wrap",children:e.fields.SelectedItems?Object.values(e.fields.SelectedItems).map((e,i)=>{var s,n,a,d,t,o,r,c,v;return(0,va.jsx)("div",{className:"cols-3 equal-height-col","data-mobile-list":"1",children:(0,va.jsxs)("div",{className:"col bg-white ".concat(0==i?"first":""),children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Url)||void 0===s?void 0:s.value,l()),children:(0,va.jsx)(vg.E,{field:e.fields.Image})})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{className:"logo",children:(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Url)||void 0===a?void 0:a.value,l()),children:[(0,va.jsx)(vg.E,{className:"desktop tablet",field:e.fields.Logo}),(0,va.jsx)("span",{className:"mobile",children:(0,va.jsx)(vm.x,{field:e.fields.Title})})]})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.ShortDescription})}),(0,va.jsxs)("div",{className:"contacts",children:[(0,va.jsx)("p",{className:"loc"}),(0,va.jsxs)("p",{className:"tel",children:[(0,va.jsx)("span",{className:"sp sp-icon_tel"}),(0,va.jsx)(vm.x,{field:e.fields.Telephone})]})]}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.Url)||void 0===t?void 0:t.value,l()),children:[(null===(c=e.fields.Category)||void 0===c?void 0:null===(r=c.Title)||void 0===r?void 0:r.value)&&(0,va.jsx)(vm.x,{field:null===(v=e.fields.Category)||void 0===v?void 0:v.Title}),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]})},i)}):(0,va.jsx)(va.Fragment,{})})})}),SJ=(0,vp.C)()(e=>{let{t:l,locale:i}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"box bg-grey-gradient other-options",children:(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:l(mT.W.PAGECONTENT.SEEOTHEROPTIONS)}),(0,va.jsx)("div",{className:"cols-3 overlap","data-mobile-list":"0",children:e.fields.SelectedItems?Object.values(e.fields.SelectedItems).map((e,s)=>{var n,a,d,t,o,r;return(0,va.jsxs)("div",{className:"col",children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Url)||void 0===n?void 0:n.value,i()),children:(0,va.jsx)(vm.x,{field:e.fields.Title})})}),(0,va.jsx)("p",{className:"size",children:(0,va.jsx)(vm.x,{field:e.fields.ShortDescription})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Url)||void 0===d?void 0:d.value,i()),children:[l(mT.W.PAGECONTENT.VIEWHOUSEDETAILS),(0,va.jsx)("span",{className:"sp sp-view_link_
1icon"})]})})]}),(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Url)||void 0===o?void 0:o.value,i()),children:(0,va.jsx)(vg.E,{field:e.fields.Image})})})]},s)}):(0,va.jsx)(va.Fragment,{})})]})})})}),SX=(0,vp.C)()(e=>{let{t:l,locale:i}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"text other-offers",children:[(0,va.jsx)("h2",{children:l(mT.W.SEEOTHEROFFERS.SEEOTHEROFFERS)}),(0,va.jsx)("div",{className:"cols-3 equal-height-col cols-text","data-mobile-list":"0",children:(0,va.jsx)("div",{className:"cols",children:e.fields.SelectedItems?Object.values(e.fields.SelectedItems).map((e,s)=>{var n,a,d,t;return(0,va.jsx)("div",{className:"col",children:(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Url)||void 0===n?void 0:n.value,i()),children:[(0,va.jsx)(vm.x,{field:e.fields.Title}),(0,va.jsx)("span",{className:"price",children:(0,va.jsx)(vm.x,{field:e.fields.ShortDescription})})]})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Url)||void 0===d?void 0:d.value,i()),children:[l(mT.W.SEEOTHEROFFERS.VIEWOFFERDETAILS),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})},s)}):(0,va.jsx)(va.Fragment,{})})}),(0,va.jsx)("p",{className:"link"})]})})});vL.ZP.registerPlugin(vI.V),vL.ZP.registerPlugin(v_());let S0=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"Items",!0))return[];let r=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,c=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en",v=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.pageTid)||ux.t9.ContentBlockWithImage,u=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.rootpath)||r;return u?await (0,up.q)(u,v,c,10,!0):[]};var S1=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c;let v=(0,vd.useRef)(null),u=(0,vd.useRef)(null);ft(v);let m=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(vD(e,"Items",!0)&&(m=null===(c=e.fields)||void 0===c?void 0:null===(r=c.Items)||void 0===r?void 0:r.map(e=>e.fields)),(0,vI.V)(()=>{let e;if(!document.querySelector(".page--home"))return;let l=v.current;if(l){let i=()=>l.querySelector(".art-horizontal-wrapper").offsetWidth-window.innerWidth,s=()=>{e=v_().create({trigger:u.current,start:"top top",end:()=>"+=".concat(i()),pin:l,scrub:1,onUpdate:e=>{let l=-i();l*=Number(e.progress.toFixed(3)),vL.ZP.to(".art-horizontal-wrapper",{left:l,duration:0})}})},n=()=>{$(l).find(".art-horizontal-wrapper").waitForImages({finished:()=>{null==e||e.refresh()}})};return window.addEventListener("resize",n),$(l).find(".art-horizontal-wrapper").waitForImages({finished:()=>{$(l).find(".art-horizontal-wrapper img").each((e,l)=>{let i=$(l),s=i.prop("naturalWidth")/2;i.width(s)}),s()}}),()=>{window.removeEventListener("resize",n)}}},{scope:v}),e.fields)?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{id:"trigger-art",ref:u}),(0,va.jsx)("section",{className:"home-art home-module home-4",id:"home-art",ref:v,children:(0,va.jsxs)("div",{className:"page--container p-0",children:[(0,va.jsx)(v4,{className:"vt-center-wrapper",children:(0,va.jsx)("div",{className:"horizontal-wrapper art-horizontal-wrapper",children:!!(null==m?void 0:m.length)&&Object.values(m).map((e,l)=>(0,va.jsx)("div",{className:"img-wrapper",children:(0,va.jsx)("div",{className:"art-img lazyload",children:(0,va.jsx)(fi,{image:e.Image,imageMobile:e.ImageMobile})})},l))})}),(0,va.jsxs)(v4,{className:"content-wrapper",children:[(0,va.jsx)("div",{className:"title-wrap",children:(0,va.jsx)(uf,{tag:"h1",Text:e.fields.Title,raw:!0})}),(0,va.jsxs)("div",{className:"text-wrap",children:[(0,va.jsx)(uf,{tag:"h2",Text:e.fields.Subtitle,raw:!0}),(0,va.jsx)(vx.H,{field:e.fields.Content,className:"sc-richtext-wrapper"}),(0,va.jsx)(fa,{URL:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Link,TEXT:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.LinkTitle)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:s.Phrase,className:(0,vM.Z)("btn btn--white",null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.Link)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.class),TextTag:"span"})]})]})]})})]}):(0,va.jsx)(va.Fragment,{})});let S2=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"Items",!0))return[];let r=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,c=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en",v=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.pageTid)||ux.t9.ContentBlockWithImageLogoAndButton,u=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.rootpath)||r;return u?await (0,up.q)(u,v,c,10,!0):[]};var S5=(0,vp.C)()(e=>{var l,i,s;let n=(0,vd.useRef)(null),{sitecoreContext:a}=(0,vr.z)(),d=a.pageEditing,t=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(ft(n),vD(e,"Items",!0)&&(t=null===(s=e.fields)||void 0===s?void 0:null===(i=s.Items)||void 0===i?void 0:i.map(e=>e.fields)),d||(null==t?void 0:t.length))?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"hm-dnd module-wrapper",id:"home-dineNdrink",ref:n,children:(0,va.jsxs)(v4,{className:"hm-dnd-wrap",children:[!(null==t?void 0:t.length)&&(0,va.jsx)("div",{className:"text-center w-full",children:(0,va.jsx)(mw,{})}),(0,va.jsx)("div",{className:"hm-dnd--slider module-wrapper",children:(0,va.jsx)("div",{className:"hm-dnd--slider-container swiper-container",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:!!(null==t?void 0:t.length)&&Object.values(t).map((e,l)=>{var i,s,n,a,d,t,o,r;return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsxs)("div",{className:"hm-dnd--itemWrap",children:[(0,va.jsxs)("div",{className:"hm-dnd--item",children:[(0,va.jsx)("div",{className:"logo-left",children:(0,va.jsx)("div",{className:"logo-wrap",children:(0,va.jsx)(m7,{field:e.LogoImage})})}),(0,va.jsx)("div",{className:"hm-dnd--inner",children:(0,va.jsxs)("div",{className:"hm-dnd--logowrap",children:[(0,va.jsx)(m7,{field:e.LogoImage}),(0,va.jsxs)("div",{className:"caption",children:[(0,va.jsx)(vx.H,{field:e.Content}),(0,va.jsx)(fa,{URL:null==e?void 0:e.Link,TEXT:null==e?void 0:null===(s=e.LinkTitle)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:i.Phrase,className:(0,vM.Z)("btn btn--white",null==e?void 0:null===(a=e.Link)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.class),TextTag:"span"})]})]})}),(0,va.jsxs)("div",{className:"hm-dnd--img lazyload",children:[(0,va.jsx)("div",{className:"overlay"}),(0,va.jsx)(fi,{image:e.Image,imageMobile:e.ImageMobile})]}),(0,va.jsx)("div",{className:"processbar",style:{display:"none"}}),(0,va.jsx)("div",{className:"logo-right",children:(0,va.jsx)("div",{className:"logo-wrap",children:(0,va.jsx)(m7,{field:e.LogoImage})})})]}),(0,va.jsxs)("div",{className:"m-caption",children:[(0,va.jsx)(vx.H,{field:e.Content}),(0,va.jsx)(fa,{URL:null==e?void 0:e.Link,TEXT:null==e?void 0:null===(t=e.LinkTitle)||void 0===t?void 0:null===(d=t.fields)||void 0===d?void 0:d.Phrase,className:(0,vM.Z)("btn btn--white",null==e?void 0:null===(r=e.Link)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.class),TextTag:"span"})]})]})},l)})})})})]})})}):(0,va.jsx)(va.Fragment,{})}),S3=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{id:"HeventSec",className:"hm-event",children:(0,va.jsxs)("div",{className:"hm-event-wrap page--container",children:[(0,va.jsx)("div",{className:"m-title",children:(null===(l=e.fields.Title)||void 0===l?void 0:l.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null===(i=e.fields.Title)||void 0===i?void 0:i.value}})}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsxs)(v6,{className:"col-12 col-md-7",children:[(0,va.jsx)("div",{className:"hm-event-item",children:(0,va.jsx)("div",{className:"img-wrap hr-img",children:(0,va.jsx)(m7,{field:e.fields.ImageVertical})})}),(0,va.jsxs)("div",{className:"text-wrap module-wrapper",children:[(null===(s=e.fields.Title)||void 0===s?void 0:s.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null===(n=e.fields.Title)||void 0===n?void 0:n.value}}),(0,va.jsx)("div",{className:"sc-richtext-wrapper",children:(null===(a=e.fields.Content)||void 0===a?void 0:a.value)?(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null===(d=e.fields.Content)||void 0===d?void 0:d.value}}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsxs)(vk,{field:null===(t=e.fields)||void 0===t?void 0:t.Link,title:null===(v=e.fields)||void 0===v?void 0:null===(c=v.LinkTitle)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:null===(o=r.Phrase)||void 0===o?void 0:o.value,className:"".concat(null===(x=e.fields)||void 0===x?void 0:null===(m=x.Link)||void 0===m?void 0:null===(u=m.value)||void 0===u?void 0:u.class," btn btn--white"),children:[(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:null===(h=e.fields.LinkTitle)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:p.Phrase})}),(0,va.jsx)("span",{className:"icon-angle"})]})]})]}),(0,va.jsx)(v4,{className:"col-12 col-md-5 d-none d-md-block",children:(0,va.jsx)("div",{className:"img-wrap vt-img",children:(0,va.jsx)(m7,{field:e.fields.ImageHorizontal})})})]})]})})})},S4=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S;return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{id:"triggerHouseThis"}),(0,va.jsx)("section",{className:"home-house home-module",id:"home-house",children:(0,va.jsx)("div",{className:"house-wrapper",children:(0,va.jsxs)("div",{className:"page--container p-0",children:[(0,va.jsxs)("div",{className:"canvas-wrapper",children:[(0,va.jsx)("canvas",{id:"canvas"}),(0,va.jsx)("div",{id:"canvas-img","data-src":null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Image)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src})]}),(0,va.jsx)("div",{className:"",children:(0,va.jsx)("div",{className:"title-wrapper",children:(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.ThemeTitle)||void 0===n?void 0:n.value)&&(0,va.jsx)("h1",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.ThemeTitle})})})}),(0,va.jsx)("div",{className:"",children:(0,va.jsxs)("div",{className:"content-wrapper",children:[(null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.Title)||void 0===t?void 0:t.value)&&(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:r.Title})}),(0,va.jsx)(vx.H,{field:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.Content}),(0,va.jsxs)(uv,{href:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Link)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.href,title:null==e?void 0:null===(f=e.fields)||void 0===f?void 0:null===(h=f.LinkTitle)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:null===(x=p.Phrase)||void 0===x?void 0:x.value,className:"".concat(null==e?void 0:null===(N=e.fields)||void 0===N?void 0:null===(j=N.Link)||void 0===j?void 0:null===(g=j.value)||void 0===g?void 0:g.class," btn btn--white"),children:[(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(S=e.fields)||void 0===S?void 0:null===(T=S.LinkTitle)||void 0===T?void 0:null===(b=T.fields)||void 0===b?void 0:b.Phrase})}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})]})})})]})}),S6=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"hm-loc home-module",id:"home-location",children:(0,va.jsxs)(v6,{className:"page--container p-0",children:[(0,va.jsx)("div",{className:"content-wrapper module-wrapper",children:(0,va.jsxs)("div",{className:"content-inner",children:[(0,va.jsx)("div",{className:"overlay"}),(null===(l=e.fields)||void 0===l?void 0:l.VideoLink)&&(null===(s=e.fields)||void 0===s?void 0:null===(i=s.VideoLink)||void 0===i?void 0:i.value)&&(null===(d=e.fields)||void 0===d?void 0:null===(a=d.VideoLink)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href)?(0,va.jsx)("div",{className:"video-wrapper d-none d-lg-block",children:(0,va.jsx)("video",{id:"hmlocationVid",className:"azuremediaplayer amp-default-skin",loop:!0,muted:!0,autoPlay:!0,poster:null===(o=e.fields.Image)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.src,children:(0,va.jsx)("source",{src:null===(v=e.fields)||void 0===v?void 0:null===(c=v.VideoLink)||void 0===c?void 0:null===(r=c.value)||void 0===r?void 0:r.href})})}):(0,va.jsx)(m7,{field:e.fields.Image}),(0,va.jsx)("div",{className:"d-block d-lg-none",children:(0,va.jsx)(m7,{field:e.fields.Image})})]})}),(0,va.jsx)("div",{className:"title-wrapper",children:(null===(u=e.fields.Title)||void 0===u?void 0:u.value)&&(0,va.jsx)("h1",{dangerouslySetInnerHTML:{__html:null===(m=e.fields.Title)||void 0===m?void 0:m.value}})}),(0,va.jsxs)("div",{className:"caption-wrapper",children:[e.fields.ThemeTitle&&(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.ThemeTitle})}),(null===(x=e.fields.Content)||void 0===x?void 0:x.value)?(0,va.jsx)(vx.H,{field:e.fields.Content}):(0,va.jsx)(va.Fragment,{}),(0,va.jsxs)(vk,{field:null===(p=e.fields)||void 0===p?void 0:p.Link,title:null===(j=e.fields)||void 0===j?void 0:null===(g=j.LinkTitle)||void 0===g?void 0:null===(f=g.fields)||void 0===f?void 0:null===(h=f.Phrase)||void 0===h?void 0:h.value,className:"".concat(null===(T=e.fields)||void 0===T?void 0:null===(b=T.Link)||void 0===b?void 0:null===(N=b.value)||void 0===N?void 0:N.class," btn btn--white"),children:[(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:null===(k=e.fields.LinkTitle)||void 0===k?void 0:null===(S=k.fields)||void 0===S?void 0:S.Phrase})}),(0,va.jsx)("span",{className:"icon-angle"})]})]})]})})})};let S8=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"Items",!0))return[];let r=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,c=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en",v=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.pageTid)||ux.t9.ContentBlockWithImageTitleAndShortDescriptionLink,u=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.rootpath)||r;return u?await (0,up.q)(u,v,c,10,!0):[]};var S7=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;let x=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return vD(e,"Items",!0)&&(x=null===(m=e.fields)||void 0===m?void 0:null===(u=m.Items)||void 0===u?void 0:u.map(e=>e.fields)),(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{id:"",className:"hm-offer",children:(0,va.jsx)(v4,{className:"hm-offer-wrap",children:(0,va.jsxs)("div",{className:"page--container p-0",children:[(0,va.jsx)("div",{className:"title-wrap module-wrapper",children:(0,va.jsx)(uf,{tag:"h1",Text:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Title,raw:!0})}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12 col-lg-6 hero-module left-1",children:(0,va.jsx)("div",{className:"hm-offer--slider",children:(0,va.jsxs)("div",{className:"swiper-container hm-offer--slider-container",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:!!(null==x?void 0:x.length)&&Object.values(x).map((e,l)=>{var i,s,n,a;return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsxs)(uv,{href:(null==e?void 0:null===(s=e.ReferenceLink)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)?null==e?void 0:null===(a=e.ReferenceLink)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href:"#",className:"hm-offer-item",children:[(0,va.jsx)("div",{className:"img-item",children:(0,va.jsx)("div",{className:"img-wrap",children:(0,va.jsx)(m7,{field:null==e?void 0:e.Image})})}),(0,va.jsx)(uf,{tag:"h4",Text:null==e?void 0:e.Title}
1),(0,va.jsx)(uf,{tag:"h3",Text:null==e?void 0:e.ShortDescription,raw:!0})]})},l)})}),(0,va.jsx)("div",{className:"swiper-pagination"})]})})}),(0,va.jsx)("div",{className:"col-12 col-lg-6 d-none d-lg-block hero-module",children:(0,va.jsxs)("div",{className:"hm-offer--intro",children:[(0,va.jsx)(uf,{tag:"h2",Text:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Subtitle}),(0,va.jsx)(vx.H,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Content}),(0,va.jsx)(fa,{TextTag:"span",className:(0,vM.Z)("btn btn--white",null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.class),TEXT:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.LinkTitle)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:o.Phrase,URL:null==e?void 0:null===(v=e.fields)||void 0===v?void 0:v.Link})]})})]})]})})})})};let S9=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"Items",!0))return[];let r=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,c=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en",v=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.pageTid)||ux.t9.ContentBlockWithImageAndTitle,u=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.rootpath)||r;return u?await (0,up.q)(u,v,c,10,!0):[]};var ke=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p;let h=(0,vd.useRef)(null),f=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return vD(e,"Items",!0)&&(f=null===(p=e.fields)||void 0===p?void 0:null===(x=p.Items)||void 0===x?void 0:x.map(e=>e.fields)),ft(h),(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("section",{className:"home-stay home-module",id:"home-stay",ref:h,children:(0,va.jsx)("div",{className:"page--container p-0",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)(v4,{className:"row__col col-12 col-lg-7 row--slider",children:(0,va.jsx)("div",{className:"swiper-container home-stay__slider swiper-no-swiping",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:!!(null==f?void 0:f.length)&&Object.values(f).map((e,l)=>(0,va.jsxs)("div",{className:"swiper-slide",children:[(0,va.jsx)("div",{className:"img-wrapper lazyload",children:(0,va.jsx)(fi,{image:null==e?void 0:e.Image,imageMobile:null==e?void 0:e.ImageMobile})}),(0,va.jsx)(uf,{Text:null==e?void 0:e.ImageTitle,tag:"h5",raw:!0})]},l))})})}),(0,va.jsxs)(v4,{className:"row__col col-12 col-lg-5 row--content",children:[(0,va.jsx)(uf,{Text:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Title,tag:"h1",raw:!0}),(0,va.jsxs)("div",{className:"content-wrapper",children:[(0,va.jsx)(uf,{Text:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Subtitle,tag:"h2",raw:!0}),(0,va.jsxs)("div",{className:"quote-wrapper",children:[(0,va.jsx)(uf,{Text:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Quote,tag:"h3",raw:!0}),(0,va.jsxs)("div",{className:"signature",children:[(0,va.jsx)(uf,{Text:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.QuotedBy,tag:"h4",raw:!0}),(0,va.jsx)(uf,{Text:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.QuotedByPosition,tag:"h5",raw:!0})]})]}),(0,va.jsx)(fa,{URL:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Link,TEXT:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.LinkTitle)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:o.Phrase,className:(0,vM.Z)("btn btn--white",null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Link)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.class),TextTag:"span"})]})]})]})})})})};let kl=e=>{let{ImageTitle:l}=e;return(0,va.jsx)("div",{className:"hm-well--nav__item",children:(0,va.jsx)(uf,{Text:l,raw:!0,tag:"h3"})})},ki=e=>(0,va.jsx)("div",{className:"img-wrap",id:e.SlideId,children:(0,va.jsx)("div",{className:"well-img",children:(0,va.jsx)(fi,{image:null==e?void 0:e.Image,imageMobile:null==e?void 0:e.ImageMobile,tag:"div",className:"well-imgItem lazyload"})})}),ks=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"spacer","data-item":e.SlideName}),(0,va.jsx)("div",{className:"img-trigger",id:"img-trigger-".concat(e.SlideIndex)})]});vL.ZP.registerPlugin(vI.V),vL.ZP.registerPlugin(v_());let kn=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"Items",!0))return[];let r=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,c=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en",v=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.pageTid)||ux.t9.ContentBlockWithImageAndTitle,u=(null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.rootpath)||r;return u?await (0,up.q)(u,v,c,10,!0):[]};var ka=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o;let r=(0,vd.useRef)(null),c=(0,vd.useRef)(null),v=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return ft(r),vD(e,"Items",!0)&&(v=e.fields.Items.map(e=>({...e.fields,Name:{value:e.name}}))),(0,vI.V)(()=>
1{if(!document.querySelector(".page--home"))return;let e=r.current;e&&(v_().create({id:"well-container",trigger:c.current,pin:e,start:"top top",end:()=>{let e=vL.ZP.utils.toArray(".hm-well--nav__item").length;console.log(e);let l=(100*e+50*e)/100*window.innerHeight;return"".concat(l," 100%")}}),vL.ZP.utils.toArray(".hm-well--nav__item").forEach((e,l)=>{vL.ZP.fromTo("#img-wrap-".concat(l),{left:0},{scrollTrigger:{trigger:".wellnessPin",id:"img-wrap-".concat(l),start:()=>{let e=100*l+50*(l+1);return e=e/100*window.innerHeight,"".concat(e," top")},end:()=>{let e=100*l+50*(l+1)+100;return e=e/100*window.innerHeight,"".concat(e," top")},scrub:!0,onUpdate:e=>{let i="-".concat(100*Number(e.progress.toFixed(3))+100*l,"vh");vL.ZP.to(".hm-well--nav",{top:i,duration:0})}},left:"-100vw",ease:"none",duration:.001})}))},{scope:r}),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{id:"triggerWell",ref:c}),(0,va.jsx)("div",{className:"hm-well home-module",id:"home-wellness",ref:r,children:(0,va.jsxs)("div",{className:"hm-well--wrap",children:[(0,va.jsxs)("div",{className:"hm-well--list",children:[(0,va.jsx)("div",{className:"hm-well--nav",children:v&&(null==v?void 0:v.length)>0&&Object.values(v).map((e,l)=>(0,va.jsx)(kl,{ImageTitle:e.ImageTitle},l))}),(0,va.jsx)("div",{className:"hm-well--intro",children:(0,va.jsxs)("div",{className:"hm-well--intro--wrapper",children:[(0,va.jsx)("div",{className:"title",children:(0,va.jsx)(uf,{Text:e.fields.TitleMobile,tag:"h2",raw:!0})}),(0,va.jsxs)("div",{className:"content",children:[(0,va.jsx)(uf,{Text:e.fields.Title,tag:"h2",raw:!0}),(0,va.jsx)(vx.H,{field:e.fields.Content}),(0,va.jsx)(fa,{className:(0,vM.Z)("btn btn--white",null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.class),URL:null===(a=e.fields)||void 0===a?void 0:a.Link,TEXT:null===(o=e.fields)||void 0===o?void 0:null===(t=o.LinkTitle)||void 0===t?void 0:null===(d=t.fields)||void 0===d?void 0:d.Phrase,TextTag:"span"})]})]})})]}),(0,va.jsx)("div",{className:"wellnessPin",children:(0,va.jsx)("div",{className:"hm-well--slide",children:(0,va.jsx)("div",{className:"fullw-container",children:(0,va.jsx)("div",{className:"horizontal-wrapper well-horizontal-wrapper",children:v&&(null==v?void 0:v.length)>0&&Object.values(v).map((e,l)=>(0,va.jsx)(ki,{SlideId:"img-wrap-".concat(v.length-1-l),Image:e.Image,ImageMobile:e.ImageMobile},l))})})})}),(0,va.jsx)("div",{id:"triggerIntro"}),(0,va.jsx)("div",{className:"img-trigger-wrapper",children:v&&(null==v?void 0:v.length)>0&&Object.values(v).map((e,l)=>{var i;return(0,va.jsx)(ks,{SlideIndex:l,SlideName:null==e?void 0:null===(i=e.Name)||void 0===i?void 0:i.value},l)})})]})}),(0,va.jsx)("div",{className:"hm-well-divider"})]})});let kd=async(e,l)=>{var i,s,n,a,d,t;if(vD(e,"Items",!0))return[];let o=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,r=ux.t9.RichCotent,c=null!==(t=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==t?t:"en";return o&&await (0,up.D)(o,(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.tid)||r,c,10,!0)};var kt=e=>{var l;let i=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return vD(e,"Items",!0)&&(i=e.fields.Items.map(e=>({fields:e.fields}))),(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"component component__col p-40 module-wrapper reveal",children:(0,va.jsx)("div",{className:"text-module text-module--table",children:i&&(null==i?void 0:i.length)>0&&Object.values(i).map((e,l)=>(0,va.jsxs)("div",{className:"row p-0",children:[(0,va.jsx)("div",{className:"col-4 col-md-3",children:(0,va.jsx)(uf,{tag:"h5",Text:null==e?void 0:e.fields.Title,raw:!0})}),(0,va.jsx)("div",{className:"col-8 col-md-9",children:(0,va.jsx)(vx.H,{field:null==e?void 0:e.fields.Content})})]},l))})})})},ko=e=>{let{children:l,...i}=e;return(0,va.jsxs)("div",{className:i.className,children:[(0,va.jsx)(uf,{tag:"h5",Text:i.SubTitle,raw:!0}),(0,va.jsx)(uf,{tag:"h4",Text:i.Title,raw:!0}),(0,va.jsx)(vx.H,{field:i.Details}),l]})},kr=(0,vp.C)()(e=>e&&!e.fields?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"p-40",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-12 col-lg-6",children:(0,va.jsx)("div",{className:"component component__col p-40 module-wrapper",children:(0,va.jsx)(ko,{className:"text-module text-module--offer",SubTitle:e.fields.SubTitle,Title:e.fields.Title,Details:e.fields.Detail,children:(0,va.jsx)(fa,{URL:e.fields.Link,TEXT:e.fields["Link Title"],className:"btn btn--white",TextTag:"span"})})})})})})})),kc=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L;return e.fields?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{id:"triggerHouseThis"}),(0,va.jsxs)("section",{className:"home-house home-module",id:"home-house",children:[(0,va.jsx)("div",{className:"water",style:{backgroundImage:(null===(n=e.fields)||void 0===n?void 0:null===(s=n.Image)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:null===(l=i.src)||void 0===l?void 0:l.length)?"url(".concat(null===(t=e.fields)||void 0===t?void 0:null===(d=t.Image)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.src,")"):void 0}}),(0,va.jsxs)("div",{className:"page--container",children:[(0,va.jsx)("div",{className:"title-wrapper",children:(0,va.jsx)(v4,{children:(null===(c=e.fields)||void 0===c?void 0:null===(r=c.Title)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.length)&&(0,va.jsx)("h1",{dangerouslySetInnerHTML:{__html:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Title)||void 0===v?void 0:v.value}})})}),(0,va.jsx)("div",{className:"content-wrapper",children:(0,va.jsxs)(v4,{children:[(null===(p=e.fields)||void 0===p?void 0:null===(x=p.SubTitle)||void 0===x?void 0:null===(m=x.value)||void 0===m?void 0:m.length)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null===(f=e.fields)||void 0===f?void 0:null===(h=f.SubTitle)||void 0===h?void 0:h.value}}),(null===(N=e.fields)||void 0===N?void 0:null===(j=N.Content)||void 0===j?void 0:null===(g=j.value)||void 0===g?void 0:g.length)&&(0,va.jsx)("div",{dangerouslySetInnerHTML:{__html:null===(T=e.fields)||void 0===T?void 0:null===(b=T.Content)||void 0===b?void 0:b.value}}),(null===(S=e.fields)||void 0===S?void 0:S.Link)&&(0,va.jsxs)(uv,{href:null===(y=e.fields)||void 0===y?void 0:null===(w=y.Link)||void 0===w?void 0:null===(k=w.value)||void 0===k?void 0:k.href,className:"btn btn--white",children:[(0,va.jsx)("span",{children:null==e?void 0:null===(L=e.fields)||void 0===L?void 0:null===(O=L.LinkTitle)||void 0===O?void 0:null===(C=O.fields)||void 0===C?void 0:null===(E=C.Phrase)||void 0===E?void 0:E.value}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})]})]})]}):(0,va.jsx)(va.Fragment,{})});vL.ZP.registerPlugin(vI.V),vL.ZP.registerPlugin(v_());var kv=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S;let k=(0,vd.useRef)(null),w=(0,vd.useRef)(null),y=(0,vd.useRef)(null),E=null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.ImagePath)||void 0===l?void 0:l.value;if(null==E?void 0:E.startsWith("/-/media/")){let e="https://edge.sitecorecloud.io/swirehotels1-swirehotels-production-ebf6";e.length&&(E="".concat(e).concat(E.replace("/-/media/","/media/")))}return(0,vI.V)(()=>
1{if(document.querySelector(".page--home")){class s{start(){this.render()}to(e){this._requestFrame&&cancelAnimationFrame(this._requestFrame);let l=Math.round(this.totalImages*e);l==this.totalImages&&(l=this.totalImages-1),this.toIndex=l,this._onUpdate()}_onUpdate(){this._requestFrame=requestAnimationFrame(this._onUpdate.bind(this)),this.update(),this.render()}render(){if(this.canvasWrapper&&this.canvas&&this.ctx){let i=this.canvasWrapper.offsetWidth/this.canvasWrapper.offsetHeight,s=this.canvas.width,n=s/i;n>this.canvas.height&&(s=(n=this.canvas.height)*i),i=0,s=0,n=0;let a=this.canvasWrapper.offsetWidth,d=this.canvasWrapper.offsetHeight;a>=d?(i=a/d,n=(s=this.canvas.width)*i):(i=d/a,s=(n=this.canvas.height)*i);var e=s>this.canvas.width?(s-this.canvas.width)/2:0,l=n>this.canvas.height?(n-this.canvas.height)/2:0;this.ctx.fillRect(0,0,this.canvas.width,this.canvas.height),this.ctx.drawImage(this.images[this.frameIndex],-e,-l,s,n),this.frameIndex==this.toIndex&&void 0!==this._requestFrame&&cancelAnimationFrame(this._requestFrame)}}update(){this.tickCount+=1,this.tickCount>this.ticksPerFrame&&(this.tickCount=0,this.frameIndex<this.toIndex&&(this.frameIndex+=1),this.frameIndex>this.toIndex&&(this.frameIndex-=1),this.frameIndex<0&&(this.frameIndex=0),this.frameIndex>this.totalImages-1&&(this.frameIndex=this.totalImages-1))}constructor(e){var l,i;this.images=e.images,this.canvas=y.current,this.ctx=null===(l=this.canvas)||void 0===l?void 0:l.getContext("2d"),this.totalImages=e.totalImages,this.frameIndex=0,this.toIndex=0,this.tickCount=0,this.ticksPerFrame=e.ticksPerFrame||0,this.canvasWrapper=null===(i=w.current)||void 0===i?void 0:i.querySelector(".canvas-wrapper")}}if(w.current){var e,l;let n=[],a=(null===(e=w.current.querySelector(".video-onscroll"))||void 0===e?void 0:e.getAttribute("data-imageValue"))||"0",d=(null===(l=w.current.querySelector(".video-onscroll"))||void 0===l?void 0:l.getAttribute("data-fileName"))||"",t=Number(a);if(t>0){for(let e=0;e<t;e++){let l=new Image,i="0000"+e;l.src=d+i.slice(-4)+".jpg",n.push(l)}var i=new s({images:n,totalImages:t});let e=()=>{i.start()};return v_().create({trigger:k.current,start:"top top",end:"+=350%",pin:w.current}),v_().create({trigger:k.current,start:"top top",end:"+=260%",onUpdate:e=>{if(window.innerWidth>=992){var l=window.innerWidth,s=window.innerWidth,n=window.innerWidth-l,a=window.innerHeight-s,d=l+n*Number(e.progress.toFixed(3)),t=s+a*Number(e.progress.toFixed(3));vL.ZP.to(".canvas-wrapper",{width:d,height:t})}else{var l=window.innerWidth,s=window.innerHeight,n=window.innerWidth-l,a=window.innerHeight-s,d=l+n*Number(e.progress.toFixed(3)),t=s+a*Number(e.progress.toFixed(3));vL.ZP.to(".canvas-wrapper",{width:d,height:t})}i.to(Number(e.progress.toFixed(3)))}}),n[0].addEventListener("load",e),()=>{n[0].removeEventListener("load",e)}}}}},{scope:w}),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{id:"triggerHouseThis",ref:k}),(0,va.jsx)("section",{className:"home-house home-module",id:"home-house",ref:w,children:(0,va.jsxs)("div",{className:"house-wrapper",children:[(0,va.jsx)("div",{className:"canvas-wrapper",children:(0,va.jsx)("canvas",{ref:y,id:"background","data-fileName":E,"data-imageValue":null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.NumberOfImages)||void 0===s?void 0:s.value,className:"video-onscroll",width:"1280",height:"1280"})}),(0,va.jsxs)("div",{className:"page--container",children:[(0,va.jsx)("div",{className:"title-wrapper",children:(0,va.jsx)(v4,{children:(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Title)||void 0===a?void 0:a.value)&&(0,va.jsx)("h1",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.Title)||void 0===t?void 0:t.value}})})}),(0,va.jsx)("div",{className:"content-wrapper",children:(0,va.jsxs)(v4,{children:[(null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.SubTitle)||void 0===r?void 0:r.value)&&(0,va.jsx)("h2",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.SubTitle)||void 0===v?void 0:v.value}}),(null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.Content)||void 0===m?void 0:m.value)&&(0,va.jsx)(vx.H,{field:null==e?void 0:null===(p=e.fields)||void 0===p?void 0:p.Content}),(null==e?void 0:null===(g=e.fields)||void 0===g?void 0:null===(f=g.Link)||void 0===f?void 0:null===(h=f.value)||void 0===h?void 0:h.href)&&(0,va.jsxs)(vk,{field:null==e?void 0:null===(j=e.fields)||void 0===j?void 0:j.Link,className:"btn btn--white",children:[(0,va.jsx)("span",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(S=e.fields)||void 0===S?void 0:null===(T=S.LinkTitle)||void 0===T?void 0:null===(b=T.fields)||void 0===b?void 0:null===(N=b.Phrase)||void 0===N?void 0:N.value}}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})]})]})})]})};let ku=e=>{var l,i,s,n,a,d;return(0,va.jsxs)("div",{children:[(0,va.jsx)("div",{className:"content-wrapper title-only","data-sr":"move 20px",children:(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),(null===(l=e.fields)||void 0===l?void 0:l.RoomsTeaserTitle)&&(0,va.jsx)(vm.x,{field:null===(n=e.fields)||void 0===n?void 0:null===(s=n.RoomsTeaserTitle)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:i.GlossaryValue,editable:!1})]})}),(0,va.jsx)("div",{className:"img-gp-3",children:null===(d=e.fields)||void 0===d?void 0:null===(a=d.RoomsRepository)||void 0===a?void 0:a.map((e,l)=>{var i,s,n,a,d,t,o,r,c,v,u,m;let x="0.".concat(l+1,"s"),p="w".concat(l+1);return(0,va.jsx)("div",{className:"editframe-fix",children:(0,va.jsxs)("div",{className:"img-wrapper ro-overlayed ".concat(p),"data-sr":"wait ".concat(x,", move 20px"),children:[1!==l&&(0,va.jsx)("div",{className:"wrap"}),(null===(n=e.fields)||void 0===n?void 0:null===(s=n.TeaserImage)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src)&&(0,va.jsx)("div",{className:"wrap",children:(0,va.jsx)("img",{className:"coverimg",id:"c
1overimg",src:null===(t=e.fields)||void 0===t?void 0:null===(d=t.TeaserImage)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.src,alt:"Teaser"})}),(0,va.jsx)("div",{className:"ro-overlay",children:(0,va.jsx)("div",{className:"content",children:(0,va.jsxs)("div",{className:"inner",children:[(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),null===(r=e.fields)||void 0===r?void 0:null===(o=r.Name)||void 0===o?void 0:o.value]}),(0,va.jsx)("a",{href:(0,vS.at)(null===(v=e.fields)||void 0===v?void 0:null===(c=v.Url)||void 0===c?void 0:c.value,(0,vT.QT)().locale()),className:"btn-transparent",children:gp("link text/learn more","[Learn More:]")})]})})}),(0,va.jsx)("div",{className:"cover",children:(0,va.jsx)("div",{className:"content",children:(0,va.jsx)("div",{className:"inner",children:(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),null===(m=e.fields)||void 0===m?void 0:null===(u=m.Name)||void 0===u?void 0:u.value]})})})}),1!==l&&(0,va.jsx)("div",{className:"wrap"})]})},l)})})]})},km=e=>{var l,i,s,n;let a=(0,gk.useRouter)(),{t:d,locale:t}=(0,vT.QT)(),o=(0,mq.useSearchParams)();if(!(null===(i=e.fields)||void 0===i?void 0:null===(l=i.FilterOptionList)||void 0===l?void 0:l.length))return(0,va.jsx)(va.Fragment,{});let r=(0,vS.at)(a.asPath,t()),c=o.get(ux.tl.QueryStringParameters.Tag),v=e=>{window.queryListingFromSelection("?".concat(ux.tl.QueryStringParameters.Tag,"=").concat(e))};return(0,va.jsxs)("div",{className:"article-filter dropdown selector","data-sc-class":"maxw@desktop use-os-select @mobile@tablet",children:[(0,va.jsxs)("ul",{className:"item-list",children:[(0,va.jsx)("li",{children:(0,va.jsx)("a",{href:r,className:c?"":"active",title:"All",children:d(gm.L.Teasers.All)})}),null===(n=e.fields)||void 0===n?void 0:null===(s=n.FilterOptionList)||void 0===s?void 0:s.map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsx)("li",{className:c===(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value)?"active":"",children:(0,va.jsx)("a",{href:"#",title:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Title)||void 0===n?void 0:n.value,onClick:()=>{var l,i;return v(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Value)||void 0===l?void 0:l.value)},children:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Title)||void 0===d?void 0:d.value})},l)})]}),(0,va.jsxs)("a",{className:"toggler",href:"#",children:[(0,va.jsx)("span",{className:"icon triangle"}),(0,va.jsx)("label",{children:d(gm.L.Teasers.All)})]})]})},kx=e=>{var l,i,s,n;let a=(0,mq.useSearchParams)();if(!(null===(n=e.fields)||void 0===n?void 0:null===(s=n.data)||void 0===s?void 0:null===(i=s.item)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.length))return(0,va.jsx)(va.Fragment,{});let d=(e,l)=>{window.queryListingMedia(window.$(e).closest("li"),l)},t=[ux.tl.QueryStringParameters.Category,ux.tl.QueryStringParameters.SubCategory],o=[a.get(t[0]),a.get(t[1])],r=[[],[]],c=[[],[]],v=o[0]||o[1]?"?".concat(t[0],"=").concat(o[0],"&").concat(t[1],"="):"";return(0,va.jsx)("div",{children:t.map((e,l)=>{let i="",s=!1,n=0===l?"first-filter":"";return(0,va.jsxs)("div",{className:"article-filter dropdown selector ".concat(n),"data-sc-class":"use-os-select @@mobile@@tablet@@touchevents",children:[(0,va.jsxs)("ul",{className:"item-list",children:[""===v&&(v=r[0][0]),r[l].map((e,n)=>{if(0===l||e.indexOf(v)>=0){let a=v===e||v+o[l]===e||!s&&""===o[l];return a&&(i=c[l][n],s=!0),(0,va.jsx)("li",{className:a?"active":"","filter-key":e,children:(0,va.jsx)("a",{href:"javascript:void(0);",onClick:()=>d(void 0,r[l][n]),title:c[l][n],children:c[l][n]})},n)}return null})]}),(0,va.jsxs)("a",{className:"toggler",href:"#",children:[(0,va.jsx)("span",{className:"icon triangle"}),(0,va.jsx)("label",{children:i})]})]},l)})})},kp={Venuemaxcapacity:"Venue max capacity",Board:"Board",Classroom:"Classroom",Cocktail:"Cocktail",HollowSquare:"HollowSquare",Theatre:"Theatre",UShape:"UShape",Wedding:"Wedding",Dining:"Dining",Venuesize:"Venue size",Area:"Area",Ceilling:"Ceilling",Dimensions:"Dimensions",M:"M",Sqm:"Sqm",Rooms:"Rooms"},kh=(e,l,i,s)=>{var n,a,d,t;let o=i?null==s?void 0:s.find(e=>e.name===i):void 0;return{RoomName:null!=e?e:"",Value:null!==(d=null==l?void 0:l.value)&&void 0!==d?d:"",ValueUnit:null!==(t=null==o?void 0:null===(a=o.fields)||void 0===a?void 0:null===(n=a.GlossaryValue)||void 0===n?void 0:n.value)&&void 0!==t?t:""}},kf=(e,l)=>{if(e&&(null==l?void 0:l.length))return l.filter(e=>{var l;return!vB(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.GlossaryValue)}).map(i=>{var s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M;let R=parseInt(null===(n=i.fields)||void 0===n?void 0:null===(s=n.GlossaryRow)||void 0===s?void 0:s.value,10),P=1===R?kp.Venuesize:kp.Venuemaxcapacity,A=[];for(let s of e){let e=null==s?void 0:null===(v=s.fields)||void 0===v?void 0:null===(c=v.RoomName)||void 0===c?void 0:c.value;i.name!==kp.Dimensions||vB(null==s?void 0:null===(u=s.fields)||void 0===u?void 0:u.Dimensions)?i.name!==kp.Ceilling||vB(null==s?void 0:null===(m=s.fields)||void 0===m?void 0:m.Ceilling)?i.name!==kp.Area||vB(null==s?void 0:null===(x=s.fields)||void 0===x?void 0:x.Area)?i.name!==kp.Board||vB(null==s?void 0:null===(p=s.fields)||void 0===p?void 0:p.Board)?i.name!==kp.Classroom||vB(null==s?void 0:null===(h=s.fields)||void 0===h?void 0:h.Classroom)?i.name!==kp.Cocktail||vB(null==s?void 0:null===(f=s.fields)||void 0===f?void 0:f.CocktailReception)?i.name!==kp.HollowSquare||vB(null==s?void 0:null===(g=s.fields)||void 0===g?void 0:g.HollowSquare)?i.name!==kp.Theatre||vB(null==s?void 0:null===(j=s.fields)||void 0===j?void 0:j.Theatre)?i.name!==kp.UShape||vB(null==s?void 0:null===(N=s.fields)||void 0===N?void 0:N.UShape)?i.name!==kp.Wedding||vB(null==s?void 0:null===(b=s.fields)||void 0===b?void 0:b.WeddingReception)?i.name!==kp.Dining||vB(null==s?void 0:null===(T=s.fields)||void 0===T?void 0:T.Dining)||A.push(kh(e,null==s?void 0:null===(_=s.fields)||void 0===_?void 0:_.Dining,void 0,l)):A.push(kh(e,null==s?void 0:null===(F=s.fields)||void 0===F?void 0:F.WeddingReception,void 0,l)):A.push(kh(e,null==s?void 0:null===(I=s.fields)||void 0===I?void 0:I.UShape,void 0,l)):A.push(kh(e,null==s?void 0:null===(L=s.fields)||void 0===L?void 0:L.Theatre,void 0,l)):A.push(kh(e,null==s?void 0:null===(O=s.fields)||void 0===O?void 0:O.HollowSquare,void 0,l)):A.push(kh(e,null==s?void 0:null===(C=s.fields)||void 0===C?void 0:C.CocktailReception,void 0,l)):A.push(kh(e,null==s?void 0:null===(E=s.fields)||void 0===E?void 0:E.Classroom,void 0,l)):A.push(kh(e,null==s?void 0:null===(y=s.fields)||void 0===y?void 0:y.Board,void 0,l)):A.push(kh(e,null==s?void 0:null===(w=s.fields)||void 0===w?void 0:w.Area,kp.Sqm,l)):A.push(kh(e,null==s?void 0:null===(k=s.fields)||void 0===k?void 0:k.Ceilling,kp.M,l)):A.push(kh(e,null==s?void 0:null===(S=s.fields)||void 0===S?void 0:S.Dimensions,kp.M,l))}return{GlossaryName:null===(d=i.fields)||void 0===d?void 0:null===(a=d.GlossaryValue)||void 0===a?void 0:a.value,LeftNameValue:null!==(M=null===(r=l.find(e=>e.name===P))||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:null===(t=o.GlossaryValue)||void 0===t?void 0:t.value)&&void 0!==M?M:"",Row:R,VenuesDetails:A}})},kg=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p;if(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.length){let l=null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.GlossaryRepository)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.GlossaryItems)||void 0===s?void 0:s.find(e=>(null==e?void 0:e.name)===kp.Rooms),i=null!==(p=null==l?void 0:null===(o=l.fields)||void 0===o?void 0:null===(t=o.GlossaryValue)||void 0===t?void 0:t.value)&&void 0!==p?p:"",h=null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.Items)||void 0===r?void 0:r.filter(e=>!vB(e.fields.Dimensions)||!vB(e.fields.Ceilling)||!vB(e.fields.Area)||!vB(e.fields.Board)||!vB(e.fields.Classroom)||!vB(e.fields.Dining)||!vB(e.fields.HollowSquare)||!vB(e.fields.Theatre)||!vB(e.fields.UShape)||!vB(e.fields.WeddingReception)),f=null==h?void 0:h.map(e=>{var l,i;return null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.RoomName)||void 0===l?void 0:l.value}),g=null===(v=kf(h,null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.GlossaryRepository)||void 0===m?void 0:null===(u=m.fields)||void 0===u?void 0:u.GlossaryItems))||void 0===v?void 0:v.filter(e=>{var l;return null==e?void 0:null===(l=e.VenuesDetails)||void 0===l?void 0:l.some(e=>!vB(e.Value))});return{Venue:null!=g?g:[],Rooms:f,RoomLabel:i,VenueContent:{fields:e.fields}}}},kj=e=>{var l,i,s,n,a,d,t,o,r,c,v;let u=(0,um.VG)(null==e?void 0:null===(l=e.rendering)||void 0===l?void 0:l.uid);if(vD(e,"Items")&&(u=kg(e)),!u)return(0,va.jsx)(va.Fragment,{});let m=[];
1return u.Venue&&u.Venue.forEach(e=>{if(null==e?void 0:e.Row){if(m.find(l=>{var i;return l.key==(null==e?void 0:null===(i=e.Row)||void 0===i?void 0:i.toString())})){var l;null===(l=m.find(l=>{var i;return l.key==(null==e?void 0:null===(i=e.Row)||void 0===i?void 0:i.toString())}))||void 0===l||l.value.push(e)}else m.push({key:null==e?void 0:e.Row.toString(),value:[e]})}}),(0,va.jsx)("div",{className:"comTable module-wrapper",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12 col-lg-6 m-auto order-last order-lg-first",children:(0,va.jsxs)("div",{className:"content-wrap",children:[(null==u?void 0:null===(n=u.VenueContent)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Title)||void 0===i?void 0:i.value)&&(0,va.jsx)(vm.x,{field:null==u?void 0:null===(d=u.VenueContent)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:a.Title,tag:"h2"}),(0,va.jsx)("div",{className:"table-wrap",children:(0,va.jsxs)("table",{children:[(0,va.jsxs)("tr",{children:[(0,va.jsx)("th",{colSpan:2,dangerouslySetInnerHTML:{__html:null!==(v=null==u?void 0:u.RoomLabel)&&void 0!==v?v:""}}),(null==u?void 0:u.Rooms)&&(null==u?void 0:u.Rooms.map((e,l)=>(0,va.jsx)("th",{dangerouslySetInnerHTML:{__html:e}},l)))]}),m.map(e=>e.value.map((l,i)=>(0,va.jsxs)("tr",{children:[0==i?(0,va.jsx)("td",{rowSpan:e.value.length,dangerouslySetInnerHTML:{__html:l.LeftNameValue}}):(0,va.jsx)(va.Fragment,{}),(0,va.jsx)("td",{dangerouslySetInnerHTML:{__html:l.GlossaryName}}),l.VenuesDetails.map((e,l)=>(0,va.jsx)("td",{dangerouslySetInnerHTML:{__html:e.Value?e.Value+" "+e.ValueUnit:"-"}},l))]},i)))]})})]})}),(null===(c=u.VenueContent)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:null===(o=r.Image)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.src)&&(0,va.jsx)("div",{className:"col-12 col-lg-6 order-first order-lg-last",children:(0,va.jsx)("div",{className:"img-wrap",children:(0,va.jsx)(m7,{field:u.VenueContent.fields.Image})})})]})})},kN=async(e,l)=>{var i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N;if(vD(e,"Items"))return{};let b=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,T=null!==(g=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==g?g:"en",S=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.template)||ux.t9.VenueContent,k=b?await p1(b,S,T,1,!1):[];b=k&&(null==k?void 0:null===(t=k[0])||void 0===t?void 0:t.id),S=ux.t9.VenueDetail,T=null!==(j=null==l?void 0:null===(r=l.sitecore)||void 0===r?void 0:null===(o=r.context)||void 0===o?void 0:o.language)&&void 0!==j?j:"en";let w=b?await (0,up.D)(b,S,T,10,!0):[],y=[];w.map(e=>{var l,i;y.push(null===(i=e.fields)||void 0===i?void 0:null===(l=i.RoomName)||void 0===l?void 0:l.value)}),b=k&&(null==k?void 0:null===(u=k[0])||void 0===u?void 0:null===(v=u.fields)||void 0===v?void 0:null===(c=v.GlossaryRepository)||void 0===c?void 0:c.id),S=ux.t9.GlossaryDetail,T=null!==(N=null==l?void 0:null===(x=l.sitecore)||void 0===x?void 0:null===(m=x.context)||void 0===m?void 0:m.language)&&void 0!==N?N:"en";let E=b?await p1(b,S,T,10,!0):[],C=[];E&&(C=E.filter(e=>"Rooms"==e.name));let O=[],L=[];return E.map(e=>{var l,i,s,n,a;L=[],w.map(l=>{var i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w;switch(e.name){case"Dimensions":L.push({RoomName:null===(i=l.fields.RoomName)||void 0===i?void 0:i.value,Value:l.fields.Dimensions?null===(s=l.fields.Dimensions)||void 0===s?void 0:s.value:"",ValueUnit:l.fields.Dimensions?null===(n=E.filter(e=>"M"==e.name))||void 0===n?void 0:n[0].fields.GlossaryValue.value:""});break;case"Area":L.push({RoomName:null===(a=l.fields.RoomName)||void 0===a?void 0:a.value,Value:l.fields.Area?null===(d=l.fields.Area)||void 0===d?void 0:d.value:"",ValueUnit:l.fields.Dimensions?null===(t=E.filter(e=>"Sqm"==e.name))||void 0===t?void 0:t[0].fields.GlossaryValue.value:""});break;case"Board":L.push({RoomName:null===(o=l.fields.RoomName)||void 0===o?void 0:o.value,Value:l.fields.Board?null===(r=l.fields.Board)||void 0===r?void 0:r.value:"",ValueUnit:""});break;case"Classroom":L.push({RoomName:null===(c=l.fields.RoomName)||void 0===c?void 0:c.value,Value:l.fields.Classroom?null===(v=l.fields.Classroom)||void 0===v?void 0:v.value:"",ValueUnit:""});break;case"Cocktail":L.push({RoomName:null===(u=l.fields.RoomName)||void 0===u?void 0:u.value,Value:l.fields.CocktailReception?null===(m=l.fields.CocktailReception)||void 0===m?void 0:m.value:"",ValueUnit:""});break;case"HollowSquare":(null===(x=l.fields.HollowSquare)||void 0===x?void 0:x.value)&&(null===(p=l.fields.HollowSquare)||void 0===p?void 0:p.value.length)>0&&L.push({RoomName:null===(h=l.fields.RoomName)||void 0===h?void 0:h.value,Value:l.fields.HollowSquare?null===(f=l.fields.HollowSquare)||void 0===f?void 0:f.value:"",ValueUnit:""});break;case"Theatre":L.push({RoomName:null===(g=l.fields.RoomName)||void 0===g?void 0:g.value,Value:l.fields.Theatre?null===(j=l.fields.Theatre)||void 0===j?void 0:j.value:"",ValueUnit:""});break;case"UShape":L.push({RoomName:null===(N=l.fields.RoomName)||void 0===N?void 0:N.value,Value:l.fields.UShape?null===(b=l.fields.UShape)||void 0===b?void 0:b.value:"",ValueUnit:""});break;case"Wedding":L.push({RoomName:null===(T=l.fields.RoomName)||void 0===T?void 0:T.value,Value:l.fields.WeddingReception?null===(S=l.fields.WeddingReception)||void 0===S?void 0:S.value:"",ValueUnit:""});break;case"Dining":L.push({RoomName:null===(k=l.fields.RoomName)||void 0===k?void 0:k.value,Value:l.fields.Dining?null===(w=l.fields.Dining)||void 0===w?void 0:w.value:"",ValueUnit:""})}}),O.push({GlossaryName:e.fields.GlossaryValue.value,LeftNameValue:(null===(l=e.fields.GlossaryRow)||void 0===l?void 0:l.value)=="1"?null===(i=E.filter(e=>"Venue size"==e.name))||void 0===i?void 0:i[0].fields.GlossaryValue.value:null===(s=E.filter(e=>"Venue max capacity"==e.name))||void 0===s?void 0:s[0].fields.GlossaryValue.value,Row:(null===(n=e.fields.GlossaryRow)||void 0===n?void 0:n.value)?parseInt(null===(a=e.fields.GlossaryRow)||void 0===a?void 0:a.value):0,VenuesDetails:L})}),{VenueContent:k[0],Venue:O.filter(e=>{var l;return e&&e.VenuesDetails&&(null===(l=e.VenuesDetails.filter(e=>e.Value&&e.Value.length>0))||void 0===l?void 0:l.length)>0}),Rooms:y,RoomLabel:null==C?void 0:null===(f=C[0])||void 0===f?void 0:null===(h=f.fields)||void 0===h?void 0:null===(p=h.GlossaryValue)||void 0===p?void 0:p.value}};var kb=kj;let kT=e=>{var l,i,s,n,a,d,t,o,r,c;return(0,vr.z)().sitecoreContext.pageEditing||(null===(i=e.fields)||void 0===i?void 0:null===(l=i.SelectedLink)||void 0===l?void 0:l.fields)?(0,va.jsx)("div",{className:"call-to-action",children:(null===(n=e.fields)||void 0===n?void 0:null===(s=n.SelectedLink)||void 0===s?void 0:s.fields)?(0,va.jsxs)(vk,{field:null===(t=e.fields)||void 0===t?void 0:null===(d=t.SelectedLink)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:a.Link,children:[(0,va.jsx)(vm.x,{field:null===(c=e.fields)||void 0===c?void 0:null===(r=c.SelectedLink)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:o.Title}),(0,va.jsx)("span",{className:"sp sp-icon_avail"})]}):(0,va.jsxs)("a",{href:"javascript:void(0)",children:["no link",(0,va.jsx)("span",{className:"sp sp-icon_avail"})]})}):(0,va.jsx)(va.Fragment,{})},kS=e=>{var l,i;let{t:s}=(0,vT.QT)();if(!e.fields)return(0,va.jsx)(va.Fragment,{});let n=[],a=[];return(null===(i=e.fields)||void 0===i?void 0:null===(l=i.FilterFolderList)||void 0===l?void 0:l.length)&&(n=e.fields.FilterFolderList.map((e,l)=>{var i,s,n;return(0,va.jsx)("li",{children:(0,va.jsxs)("a",{href:"#".concat(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value),
1children:[(0,va.jsx)("span",{className:"sp sp-radio_bt_off"}),(0,va.jsx)(vm.x,{field:null===(n=e.fields)||void 0===n?void 0:n.Title})]})},l)}),a=e.fields.FilterFolderList.map((e,l)=>{var i,s,n;return(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null===(n=e.fields)||void 0===n?void 0:n.Title,editable:!1})},l)})),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("ul",{className:"filter-radio desktop",children:[(0,va.jsx)("li",{children:(0,va.jsxs)("a",{href:"#all",className:"active",children:[(0,va.jsx)("span",{className:"sp sp-radio_bt_off"}),s(gm.L.Location.Filter.All)]})}),n]}),(0,va.jsxs)("div",{className:"filter-dropdown tablet mobile",children:[(0,va.jsx)("span",{className:"label",children:s(gm.L.Location.Filter.View)}),(0,va.jsxs)("select",{className:"custom",children:[(0,va.jsx)("option",{value:"all",children:s(gm.L.Location.Filter.All)}),a]})]})]})},kk=e=>{var l,i;let{t:s,locale:n}=(0,vT.QT)();return(0,va.jsxs)("div",{className:"col",children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:(0,va.jsx)("a",{href:(0,vS.at)(e.url,n()),children:(0,va.jsx)(vm.x,{field:null===(l=e.fields)||void 0===l?void 0:l.PropertyName})})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:(0,vS.at)(e.url,n()),children:[s(gm.L.Residence.OtherOption.ViewResidenceDetails),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]}),(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:(0,vS.at)(e.url,n()),children:(0,va.jsx)(m7,{field:null===(i=e.fields)||void 0===i?void 0:i.PreviewImage})})})]})},kw=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let{t:m,locale:x}=(0,vT.QT)();return(0,va.jsxs)("div",{className:"col",children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:(0,va.jsx)("a",{href:(0,vS.at)(e.url,x()),children:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.PropertyName)||void 0===l?void 0:l.value})}),(0,va.jsxs)("p",{className:"size",children:[null===(n=e.fields)||void 0===n?void 0:null===(s=n.SizeInMeteres)||void 0===s?void 0:s.value.toFixed(0)," ",m(gm.L.Property.FloorPlan.SquareMeterUnit)," |",((null===(d=e.fields)||void 0===d?void 0:null===(a=d.SizeInMeteres)||void 0===a?void 0:a.value)*ux.tl.SquareMeterInSquareFeet).toFixed(0)," ",m(gm.L.Property.FloorPlan.SquareFeetUnit)]}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:(0,vS.at)(e.url,x()),children:[(null===(o=e.fields)||void 0===o?void 0:null===(t=o.RoomType)||void 0===t?void 0:t.fields)?(0,va.jsx)(vm.x,{field:null===(v=e.fields)||void 0===v?void 0:null===(c=v.RoomType)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:r.ViewDetailLinkText}):"",(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]}),(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:e.url,children:(0,va.jsx)(m7,{field:null===(u=e.fields)||void 0===u?void 0:u.PreviewImage})})})]})},ky=e=>{var l,i,s,n,a,d,t,o,r;let{t:c}=(0,vT.QT)(),v=(0,vr.z)().sitecoreContext.pageEditing;return(0,va.jsxs)("div",{className:"room-details",children:[(0,va.jsx)("div",{className:"border",children:v||(null===(i=e.fields)||void 0===i?void 0:null===(l=i.ResidenceType)||void 0===l?void 0:l.fields)?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"heading",children:c(gm.L.Residence.FloorPlan.ResidenceType)}),(0,va.jsx)(vm.x,{field:null===(a=e.fields)||void 0===a?void 0:null===(n=a.ResidenceType)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:s.Title})]}):""}),(0,va.jsxs)("div",{children:[(0,va.jsx)("span",{className:"heading",children:c(gm.L.Property.FloorPlan.RoomSize)}),null===(t=e.fields)||void 0===t?void 0:null===(d=t.SizeInMeteres)||void 0===d?void 0:d.value.toFixed(0)," ",c(gm.L.Property.FloorPlan.SquareMeterUnit),(0,va.jsx)("br",{}),((null===(r=e.fields)||void 0===r?void 0:null===(o=r.SizeInMeteres)||void 0===o?void 0:o.value)*ux.tl.SquareMeterInSquareFeet).toFixed(0)," ",c(gm.L.Property.FloorPlan.SquareFeetUnit)]})]})},kE=e=>{var l,i,s;let{t:n,locale:a}=(0,vT.QT)();return e.fields?(0,va.jsx)("div",{className:"col bg-white",children:(0,va.jsxs)("div",{className:"img-text",children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)("a",{href:(0,vS.at)(e.url,a()),children:(0,va.jsx)(vm.x,{field:null===(l=e.fields)||void 0===l?void 0:l.PropertyName})})}),(0,va.jsx)("div",{className:"dot",children:(0,va.jsx)(vx.H,{field:null===(i=e.fields)||void 0===i?void 0:i.Summary})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:(0,vS.at)(e.url,a()),children:[n(gm.L.Residence.ResidenceSelection.ViewResidenceDetails),(0,va.jsx)("span",{className:"sp sp-view_link_
1icon"})]})})]}),(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:(0,vS.at)(e.url,a()),children:(0,va.jsx)(m7,{field:null===(s=e.fields)||void 0===s?void 0:s.PreviewImage})})})]})}):(0,va.jsx)(va.Fragment,{})},kC=e=>{var l,i,s;let{t:n,locale:a}=(0,vT.QT)();return e.fields?(0,va.jsx)("div",{className:"col bg-white",children:(0,va.jsxs)("div",{className:"text-img",children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)("a",{href:(0,vS.at)(e.url,a()),children:(0,va.jsx)(vm.x,{field:null===(l=e.fields)||void 0===l?void 0:l.PropertyName})})}),(0,va.jsx)("div",{className:"dot",children:(0,va.jsx)(vx.H,{field:null===(i=e.fields)||void 0===i?void 0:i.Summary})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:(0,vS.at)(e.url,a()),children:[n(gm.L.Residence.ResidenceSelection.ViewResidenceDetails),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]}),(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:(0,vS.at)(e.url,a()),children:(0,va.jsx)(m7,{field:null===(s=e.fields)||void 0===s?void 0:s.PreviewImage})})})]})}):(0,va.jsx)(va.Fragment,{})},kO=e=>{var l,i,s,n,a,d;let{t}=(0,vT.QT)();return(0,va.jsxs)("div",{className:"room-details",children:[(0,va.jsxs)("div",{className:"border",children:[(0,va.jsx)("span",{className:"heading",children:t(gm.L.Room.FloorPlan.BestAvailableRate)}),t(gm.L.Room.FloorPlan.PrefixRateUnit),null===(i=e.fields)||void 0===i?void 0:null===(l=i.Rate)||void 0===l?void 0:l.value.toFixed(0),t(gm.L.Room.FloorPlan.RateUnit)]}),(0,va.jsxs)("div",{children:[(0,va.jsx)("span",{className:"heading",children:t(gm.L.Property.FloorPlan.RoomSize)}),null===(n=e.fields)||void 0===n?void 0:null===(s=n.SizeInMeteres)||void 0===s?void 0:s.value.toFixed(0)," ",t(gm.L.Property.FloorPlan.SquareMeterUnit),(0,va.jsx)("br",{}),((null===(d=e.fields)||void 0===d?void 0:null===(a=d.SizeInMeteres)||void 0===a?void 0:a.value)*ux.tl.SquareMeterInSquareFeet).toFixed(0)," ",t(gm.L.Property.FloorPlan.SquareFeetUnit)]})]})},kL=e=>{var l,i;let{t:s}=(0,vT.QT)(),n=[],a=[];return(null===(i=e.fields)||void 0===i?void 0:null===(l=i.FilterFolderList)||void 0===l?void 0:l.length)&&(n=e.fields.FilterFolderList.map((e,l)=>{var i,s,n;return(0,va.jsx)("li",{children:(0,va.jsxs)("a",{href:"#".concat(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value),children:[(0,va.jsx)("span",{className:"sp sp-radio_bt_off"}),(0,va.jsx)(vm.x,{field:null===(n=e.fields)||void 0===n?void 0:n.Title})]})},l)}),a=e.fields.FilterFolderList.map((e,l)=>{var i,s,n;return(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null===(n=e.fields)||void 0===n?void 0:n.Title,editable:!1})},l)})),(0,va.jsxs)("div",{className:"filters pull-left w-50",children:[(0,va.jsxs)("ul",{className:"filter-radio desktop",children:[(0,va.jsx)("li",{children:(0,va.jsxs)("a",{href:"#all",className:"active",children:[(0,va.jsx)("span",{className:"sp sp-radio_bt_off"}),s(gm.L.Room.Filter.All)]})}),n]}),(0,va.jsxs)("div",{className:"filter-dropdown tablet mobile",children:[(0,va.jsx)("span",{className:"label",children:s(gm.L.Room.Filter.View)}),(0,va.jsxs)("select",{className:"custom",children:[(0,va.jsx)("option",{value:"all",children:s(gm.L.Room.Filter.All)}),a]})]})]})},kI=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k;let{t:w,locale:y}=(0,vT.QT)(),E=null!==(k=null===(n=e.fields)||void 0===n?void 0:null===(s=n.RoomType)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Value)||void 0===l?void 0:l.value)&&void 0!==k?k:"";return(0,va.jsxs)("div",{className:"offer-item room-item item bg-white cat-".concat(E),children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)("a",{href:(0,vS.at)(e.url,y()),children:(0,va.jsx)(m7,{field:null===(a=e.fields)||void 0===a?void 0:a.PreviewImage})})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null===(d=e.fields)||void 0===d?void 0:d.PropertyName})}),(0,va.jsxs)("p",{className:"dimension",children:[null===(o=e.fields)||void 0===o?void 0:null===(t=o.SizeInMeteres)||void 0===t?void 0:t.value.toFixed(0)," ",w(gm.L.Property.FloorPlan.SquareMeterUnit),(0,va.jsx)("br",{}),((null===(c=e.fields)||void 0===c?void 0:null===(r=c.SizeInMeteres)||void 0===r?void 0:r.value)*ux.tl.SquareMeterInSquareFeet).toFixed(0)," ",w(gm.L.Property.FloorPlan.SquareFeetUnit)]}),(null===(p=e.fields)||void 0===p?void 0:null===(x=p.SelectedLink)||void 0===x?void 0:null===(m=x.fields)||void 0===m?void 0:null===(u=m.Link)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.href)?(0,va.jsx)("p",{className:"reserve",children:(0,va.jsxs)(vk,{field:null===(g=e.fields)||void 0===g?void 0:null===(f=g.SelectedLink)||void 0===f?void 0:null===(h=f.fields)||void 0===h?void 0:h.Link,className:"ro",children:[(0,va.jsx)("span",{className:"sp sp-icon_calendar_off"}),w(gm.L.Room.Selection.BookingButton)]})}):"",(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:(0,vS.at)(e.url,y()),children:[(null===(N=e.fields)||void 0===N?void 0:null===(j=N.RoomType)||void 0===j?void 0:j.fields)?(0,va.jsx)(vm.x,{field:null===(S=e.fields)||void 0===S?void 0:null===(T=S.RoomType)||void 0===T?void 0:null===(b=T.fields)||void 0===b?void 0:b.ViewDetailLinkText}
1):"",(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]})};var kF=i(55169);let k_=e=>{let{t:l}=(0,vT.QT)(),i=(0,kF.WP)(),s=[];return(0,va.jsxs)("div",{className:"mobile-menu-login",children:[(0,va.jsx)("a",{href:"",className:"login-btn prelogin-btn",title:l(mT.W.SSOFORMS.LOGIN),children:(0,va.jsx)("h5",{children:l(mT.W.SSOFORMS.LOGIN)})}),(0,va.jsxs)("div",{className:"logout-btn-container postlogin-btn",children:[(0,va.jsx)("img",{src:"".concat(i,"/files/the-house-collective/img/sign-out-alt-solid-white.svg")}),(0,va.jsx)("a",{href:"",className:"logout-btn",title:l(mT.W.SSOFORMS.LOGOUT),children:(0,va.jsx)("span",{children:l(mT.W.SSOFORMS.LOGOUT)})})]}),(0,va.jsx)("div",{className:"postlogin-btns-container",children:(null==s?void 0:s.length)?s.map((e,l)=>{var i,s,n,a,d,t,o,r,c,v,u;let m=(0,uc.G8)(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href);return(0,va.jsx)("a",{href:m,target:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.target,className:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.Link)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.class,children:null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.LinkTitle)||void 0===v?void 0:v.value},l)}):(0,va.jsx)(va.Fragment,{})})]})},kM=e=>{var l;let i=null===(l=e.Breadcrumbs)||void 0===l?void 0:l.map((e,l)=>({"@type":"ListItem",position:l+1,name:e.name,item:e.item}));return(0,va.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:i})}})},kR=e=>{var l,i,s,n,a,d,t,o,r;let c=[];(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Image)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&c.push(e.fields.Image.value.src);let v={"@context":"https://schema.org","@type":"Article",name:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Title)||void 0===n?void 0:n.value,datePublished:null===(t=e.fields)||void 0===t?void 0:null===(d=t.CreatedDate)||void 0===d?void 0:d.value,image:c,articleBody:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Content)||void 0===o?void 0:o.value};return(0,va.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(v)}})},kP=e=>{var l;let i=null===(l=e.Breadcrumbs)||void 0===l?void 0:l.map((e,l)=>({"@type":"ListItem",position:l+1,name:e.name,item:e.item}));return(0,va.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:i})}})},kA=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let m=[];if(null===(i=e.fields)||void 0===i?void 0:null===(l=i.ImageSrcs)||void 0===l?void 0:l.value)try{JSON.parse("[".concat(e.fields.ImageSrcs.value,"]")).forEach(e=>{m.push(e)})}catch(e){}let x={"@context":"https://schema.org","@type":"Article",name:null===(d=e.fields)||void 0===d?void 0:null===(a=d.ArticleDetail)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value,datePublished:null===(c=e.fields)||void 0===c?void 0:null===(r=c.ArticleDetail)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:null===(t=o.CreatedDate)||void 0===t?void 0:t.value,image:m,articleBody:null===(u=e.fields)||void 0===u?void 0:null===(v=u.ArticleBody)||void 0===v?void 0:v.value};return(0,va.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(x)}})},kD=e=>{var l,i,s,n,a,d,t,o,r,c,v;let u=[];if(null===(i=e.fields)||void 0===i?void 0:null===(l=i.ImageSrcs)||void 0===l?void 0:l.value)try{JSON.parse("[".concat(e.fields.ImageSrcs.value,"]")).forEach(e=>{u.push(e)})}catch(e){}let m={"@context":"https://schema.org","@type":"Article",name:null===(d=e.fields)||void 0===d?void 0:null===(a=d.ArticleDetail)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value,datePublished:null===(r=e.fields)||void 0===r?void 0:null===(o=r.ArticleDetail)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:t.PublicationDate,image:u,articleBody:null===(v=e.fields)||void 0===v?void 0:null===(c=v.ArticleBody)||void 0===c?void 0:c.value};return(0,va.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(m)}})},kB=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y;let E={"@context":"http://schema.org","@type":"JobPosting",title:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value,hiringOrganization:null===(o=e.fields)||void 0===o?void 0:null===(t=o.PropertyItem)||void 0===t?void 0:null===(d=t.fields)||void 0===d?void 0:null===(a=d.Property)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.Text)||void 0===s?void 0:s.value,
1jobLocation:{"@type":"Place",address:{"@type":"PostalAddress",addressLocally:null===(u=e.fields)||void 0===u?void 0:null===(v=u.PropertyItem)||void 0===v?void 0:null===(c=v.fields)||void 0===c?void 0:null===(r=c.Address)||void 0===r?void 0:r.value,addressRegion:null===(g=e.fields)||void 0===g?void 0:null===(f=g.PropertyItem)||void 0===f?void 0:null===(h=f.fields)||void 0===h?void 0:null===(p=h.Location)||void 0===p?void 0:null===(x=p.fields)||void 0===x?void 0:null===(m=x.Text)||void 0===m?void 0:m.value}},datePosted:null===(N=e.fields)||void 0===N?void 0:null===(j=N.JobPostedDate)||void 0===j?void 0:j.toString(),description:null===(T=e.fields)||void 0===T?void 0:null===(b=T.Description)||void 0===b?void 0:b.value,employeeType:null===(y=e.fields)||void 0===y?void 0:null===(w=y.EmploymentType)||void 0===w?void 0:null===(k=w.fields)||void 0===k?void 0:null===(S=k.Text)||void 0===S?void 0:S.value};return(0,va.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(E)}})},kV=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let m=[];if(null===(i=e.fields)||void 0===i?void 0:null===(l=i.ImageSrcs)||void 0===l?void 0:l.value)try{JSON.parse("[".concat(e.fields.ImageSrcs.value,"]")).forEach(e=>{m.push(e)})}catch(e){}let x={"@context":"https://schema.org","@type":"Article",name:null===(d=e.fields)||void 0===d?void 0:null===(a=d.ArticleDetail)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value,datePublished:null===(c=e.fields)||void 0===c?void 0:null===(r=c.ArticleDetail)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:null===(t=o.CreatedDate)||void 0===t?void 0:t.value,image:m,articleBody:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Body)||void 0===v?void 0:v.value};return(0,va.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(x)}})},kW=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el;let ei=[];if(null===(l=e.fields)||void 0===l?void 0:l.ImageSrcs)try{JSON.parse("[".concat(e.fields.ImageSrcs,"]")).forEach(e=>{ei.push(e)})}catch(e){}let es={"@context":"https://schema.org","@type":"Event",name:null===(a=e.fields)||void 0===a?void 0:null===(n=a.ArticleDetail)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Title)||void 0===i?void 0:i.value,startDate:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.ArticleDetail)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:null===(d=t.StartDate)||void 0===d?void 0:d.value,endDate:null===(m=e.fields)||void 0===m?void 0:null===(u=m.ArticleDetail)||void 0===u?void 0:null===(v=u.fields)||void 0===v?void 0:null===(c=v.EndDate)||void 0===c?void 0:c.value,location:{"@type":"Place",address:{"@type":"PostalAddress",addressCountry:null===(j=e.fields)||void 0===j?void 0:null===(g=j.ArticleDetail)||void 0===g?void 0:null===(f=g.fields)||void 0===f?void 0:null===(h=f.VenueHousesWithAddress)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:null===(x=p.Country)||void 0===x?void 0:x.value,addressLocality:null===(y=e.fields)||void 0===y?void 0:null===(w=y.ArticleDetail)||void 0===w?void 0:null===(k=w.fields)||void 0===k?void 0:null===(S=k.VenueHousesWithAddress)||void 0===S?void 0:null===(T=S.fields)||void 0===T?void 0:null===(b=T.Location)||void 0===b?void 0:null===(N=b.Name)||void 0===N?void 0:N.value,addressRegion:null===(_=e.fields)||void 0===_?void 0:null===(F=_.ArticleDetail)||void 0===F?void 0:null===(I=F.fields)||void 0===I?void 0:null===(L=I.VenueHousesWithAddress)||void 0===L?void 0:null===(O=L.fields)||void 0===O?void 0:null===(C=O.Location)||void 0===C?void 0:null===(E=C.Name)||void 0===E?void 0:E.value,postalCode:null===(B=e.fields)||void 0===B?void 0:null===(D=B.ArticleDetail)||void 0===D?void 0:null===(A=D.fields)||void 0===A?void 0:null===(P=A.VenueHousesWithAddress)||void 0===P?void 0:null===(R=P.fields)||void 0===R?void 0:null===(M=R.PostalCode)||void 0===M?void 0:M.value,streetAddress:null===(z=e.fields)||void 0===z?void 0:null===(U=z.ArticleDetail)||void 0===U?void 0:null===(G=U.fields)||void 0===G?void 0:null===(H=G.VenueHousesWithAddress)||void 0===H?void 0:null===(W=H.fields)||void 0===W?void 0:null===(V=W.Address)||void 0===V?void 0:V.value},name:null===(X=e.fields)||void 0===X?void 0:null===(J=X.ArticleDetail)||void 0===J?void 0:null===(Z=J.fields)||void 0===Z?void 0:null===(K=Z.VenueHousesWithAddress)||void 0===K?void 0:null===(Y=K.fields)||void 0===Y?void 0:null===(Q=Y.Property)||void 0===Q?void 0:null===(q=Q.Text)||void 0===q?void 0:q.value},image:ei,description:null===(ee=e.fields)||void 0===ee?void 0:ee.Description,url:null===(el=e.url)||void 0===el?void 0:el.replace(/ /g,"-").replace(/\%20/g,"-")};return(0,va.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(es)}})},kH=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R;let P=[];if(null===(l=e.fields)||void 0===l?void 0:l.ImageSrcs)try{JSON.parse("[".concat(e.fields.ImageSrcs,"]")).forEac
1h(e=>{P.push(e)})}catch(e){}let A={"@context":"https://schema.org","@type":"Event",name:null===(a=e.fields)||void 0===a?void 0:null===(n=a.ArticleDetail)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Title)||void 0===i?void 0:i.value,startDate:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.ArticleDetail)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:null===(d=t.StartDate)||void 0===d?void 0:d.value,endDate:null===(m=e.fields)||void 0===m?void 0:null===(u=m.ArticleDetail)||void 0===u?void 0:null===(v=u.fields)||void 0===v?void 0:null===(c=v.EndDate)||void 0===c?void 0:c.value,location:{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:null===(f=e.fields)||void 0===f?void 0:null===(h=f.VenueDetail)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:null===(x=p.AddressLocality)||void 0===x?void 0:x.value,addressRegion:null===(b=e.fields)||void 0===b?void 0:null===(N=b.VenueDetail)||void 0===N?void 0:null===(j=N.fields)||void 0===j?void 0:null===(g=j.AddressLocality)||void 0===g?void 0:g.value,postalCode:null===(w=e.fields)||void 0===w?void 0:null===(k=w.VenueDetail)||void 0===k?void 0:null===(S=k.fields)||void 0===S?void 0:null===(T=S.PostalCode)||void 0===T?void 0:T.value,streetAddress:null===(O=e.fields)||void 0===O?void 0:null===(C=O.VenueDetail)||void 0===C?void 0:null===(E=C.fields)||void 0===E?void 0:null===(y=E.StreetAddress)||void 0===y?void 0:y.value},name:null===(_=e.fields)||void 0===_?void 0:null===(F=_.VenueDetail)||void 0===F?void 0:null===(I=F.fields)||void 0===I?void 0:null===(L=I.Name)||void 0===L?void 0:L.value},image:P,description:null===(M=e.fields)||void 0===M?void 0:M.Description,url:null===(R=e.url)||void 0===R?void 0:R.replace(/ /g,"-").replace(/\%20/g,"-")};return(0,va.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(A)}})};var kG=e=>{let l=void 0;return l?(0,va.jsx)("img",{src:l,alt:e.mediaAlt,className:e.className}):(0,va.jsx)(va.Fragment,{})};let kU=e=>{var l,i;let s=[];return null!==(i=e.fields)&&void 0!==i&&null!==(l=i.Items)&&void 0!==l&&l.length?(s=e.fields.Items.map((e,l)=>{var i,s,n,a,d,t,o;if(!e)return(0,va.jsx)(va.Fragment,{});let r=[];return(null===(s=e.fields)||void 0===s?void 0:null===(i=s.SocialDetail)||void 0===i?void 0:i.length)&&(r=e.fields.SocialDetail.map((e,l)=>{var i,s,n,a;return(0,va.jsx)("li",{children:(0,va.jsx)(ScLink,{field:null===(i=e.fields)||void 0===i?void 0:i.SocialLink,rel:"nofollow",target:"_blank",className:null===(n=e.fields)||void 0===n?void 0:null===(s=n.CssClass)||void 0===s?void 0:s.value,children:(0,va.jsx)(vm.x,{field:null===(a=e.fields)||void 0===a?void 0:a.SocialName,editable:!1})})},l)})),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("li",{children:[(0,va.jsx)("a",{href:"javascript:void(0);",className:"open-sitemap__sns__list__item",children:(0,va.jsx)("span",{className:"open-sitemap__sns__icon ".concat(null===(a=e.fields)||void 0===a?void 0:null===(n=a.CssClass)||void 0===n?void 0:n.value),children:(0,va.jsx)(vm.x,{field:null===(d=e.fields)||void 0===d?void 0:d.SocialName,editable:!1})})}),(0,va.jsx)("div",{className:"open-sitemap__sns__submenu","data-for":null===(o=e.fields)||void 0===o?void 0:null===(t=o.SocialName)||void 0===t?void 0:t.value,children:(0,va.jsx)("ul",{children:r})})]},l)})}),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"open-sitemap__title is-centered",children:""}),(0,va.jsx)("div",{className:"open-sitemap__sns",children:(0,va.jsx)("ul",{className:"open-sitemap__sns__list",children:s})})]})):(0,va.jsx)(va.Fragment,{})},kz=e=>{var l,i;let s=[];if(null===(i=e.fields)||void 0===i||null===(l=i.Items)||void 0===l||!l.length)return(0,va.jsx)(va.Fragment,{});{let l=Math.min(4,e.fields.Items.length);s=e.fields.Items.slice(0,l-1).map((e,l)=>{var i,s,n,a,d,t,o,r,c,v;let u=(null===(s=e.fields)||void 0===s?void 0:null===(i=s.SocialNetwork)||void 0===i?void 0:i.value)=="weibo"?"weibo":void 0;return(0,va.jsxs)("div",{className:"ugc__item",children:[(0,va.jsx)("div",{className:"ugc__item__img","data-fit":"height",children:(0,va.jsx)(kG,{mediaID:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.SocialImage)||void 0===n?void 0:n.value})}),(0,va.jsx)("div",{className:"ugc__item__cont",children:(0,va.jsx)("div",{className:"ugc__item__cont__wrap",children:(0,va.jsxs)("a",{href:(0,vS.at)(null===(t=e.fields)||void 0===t?void 0:null===(d=t.SocialLink)||void 0===d?void 0:d.value,(0,vT.QT)().locale()),target:"_blank",className:u,children:[null===(r=e.fields)||void 0===r?void 0:null===(o=r.FullName_Display)||void 0===o?void 0:o.value,(0,va.jsx)("br",{}),(0,va.jsx)("div",{children:null===(v=e.fields)||void 0===v?void 0:null===(c=v.SocialText)||void 0===c?void 0:c.value})]})})})]},l)})}return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("section",{className:"latest-happenings",children:(0,va.jsx)("div",{className:"latest-happenings__head",children:(0,va.jsx)("div",{className:"main-container pt-0",children:(0,va.jsx)("h3",{className:"latest-happenings__title is-size-2",children:gp("teaser titles/latest happenings","[Latest Happenings]")})})})}),(0,va.jsx)("section",{className:"ugc",children:(0,va.jsxs)("div",{className:"main-container pt-0 happenings",children:[(0,va.jsx)(vt.V,{name:"ehk-latest-happenings",rendering:e.rendering}),(0,va.jsx)("div",{className:"ugc__wrap",children:s})]})})]})},kq=e=>{var l,i,s,n,a,d,t,o;let{className:r,item:c,locale:v}=e;if(!c)return(0,va.jsx)(va.Fragment,{});let u="zh-cn"==v.toLocaleLowerCase()?"sp-icon-weibo":"sp-icon-instagram";return(0,va.jsxs)("div",{className:r,children:[(0,va.jsx)("div",{className:"wrap",style:{overflow:"hidden",position:"relative"},children:(0,va.jsx)(kG,{mediaID:null===(i=c.fields)||void 0===i?void 0:null===(l=i.SocialImage)||void 0===l?void 0:l.value,mediaAlt:null===(n=c.fields)||void 0===n?void 0:null===(s=n.SocialText)||void 0===s?void 0:s.value,className:"coverimg"})}),(0,va.jsxs)("div",{className:"ro-overlay",children:[(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:(0,vS.at)(null===(d=c.fields)||void 0===d?void 0:null===(a=d.SocialLink)||void 0===a?void 0:a.value,(0,vT.QT)().locale()),target:"_blank",children:null===(o=c.fields)||void 0===o?void 0:null===(t=o.FullName_Display)||void 0===t?void 0:t.value})}),(0,va.jsx)("span",{className:"sp ".concat(u)})]})]})},kQ=e=>{var l,i,s,n;let{locale:a}=(0,vT.QT)(),d=[],t=[];if(null===(i=e.fields)||void 0===i||null===(l=i.Items)||void 0===l||!l.length)return(0,va.jsx)(va.Fragment,{});{let l=e.fields.Items.length,i=Math.min(2,l);for(let l=0;l<i;l++){let i=e.fields.Items.at(l);i&&d.push((0,va.jsx)(kq,{item:i,className:"img-wrapper img-wrapper-sm ins",locale:a()}))}let s=Math.min(4,l);for(let l=2;l<s;l++){let i=e.fields.Items.at(l);
1i&&t.push((0,va.jsx)(kq,{item:i,className:"img-wrapper img-wrapper-sm ins",locale:a()}))}}return(0,va.jsxs)("div",{className:"social-feed-wrapper",children:[(0,va.jsxs)("div",{className:"content-wrapper title-only",children:[(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),gp("teaser titles/latest in social stream","[Latest In Social Stream]")]}),(0,va.jsx)("h3",{className:"hashtag"})]}),(0,va.jsxs)("div",{className:"social-feed",children:[(0,va.jsx)("div",{className:"col25",children:d}),(0,va.jsx)("div",{className:"col25",children:t}),(null===(n=e.fields)||void 0===n?void 0:null===(s=n.Items)||void 0===s?void 0:s.length)>4?(0,va.jsx)(kq,{locale:a(),item:e.fields.Items.at(4),className:"-wrapper img-wrapper-lg ins"}):""]})]})},kY=()=>(0,va.jsx)(va.Fragment,{}),kK=e=>{var l,i;let s=[];if(null===(i=e.fields)||void 0===i||null===(l=i.Items)||void 0===l||!l.length)return(0,va.jsx)(va.Fragment,{});{let l=Math.min(4,e.fields.Items.length);s=e.fields.Items.slice(0,l-1).map((e,l)=>{var i,s,n,a,d,t,o,r,c,v;let u=(null===(s=e.fields)||void 0===s?void 0:null===(i=s.SocialNetwork)||void 0===i?void 0:i.value)=="weibo"?"sp-icon-weibo":"sp-icon-instagram";return(0,va.jsxs)("div",{className:"img-wrapper img-wrapper-sm ins",children:[(0,va.jsx)("div",{className:"wrap",style:{overflow:"hidden",position:"relative"},children:(0,va.jsx)(kG,{mediaID:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.SocialImage)||void 0===n?void 0:n.value,className:"coverimg",mediaAlt:null===(t=e.fields)||void 0===t?void 0:null===(d=t.SocialText)||void 0===d?void 0:d.value})}),(0,va.jsxs)("div",{className:"ro-overlay",children:[(0,va.jsx)("a",{href:(0,vS.at)(null===(r=e.fields)||void 0===r?void 0:null===(o=r.SocialLink)||void 0===o?void 0:o.value,(0,vT.QT)().locale()),target:"_blank",children:null===(v=e.fields)||void 0===v?void 0:null===(c=v.FullName_Display)||void 0===c?void 0:c.value}),(0,va.jsx)("span",{className:"sp ".concat(u)})]})]},l)})}return(0,va.jsxs)("div",{className:"social-feed-wrapper",children:[(0,va.jsxs)("div",{className:"content-wrapper title-only",children:[(0,va.jsxs)("h2",{className:"title",children:[(0,va.jsx)("span",{className:"before"}),gp("teaser titles/latest in social stream","[Latest In Social Stream]")]}),(0,va.jsx)("h3",{className:"hashtag"})]}),(0,va.jsx)("div",{className:"social-feed",children:s})]})},k$=e=>{var l,i;let s=[];return null!==(i=e.fields)&&void 0!==i&&null!==(l=i.Items)&&void 0!==l&&l.length?(s=e.fields.Items.map((e,l)=>{var i,s,n,a;if(!e)return(0,va.jsx)(va.Fragment,{});let d=[];return(null===(s=e.fields)||void 0===s?void 0:null===(i=s.SocialDetail)||void 0===i?void 0:i.length)&&(d=e.fields.SocialDetail.map((e,l)=>{var i,s,n,a;return(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.SocialLink,target:"_blank",className:null===(n=e.fields)||void 0===n?void 0:null===(s=n.CssClass)||void 0===s?void 0:s.value,children:(0,va.jsx)(vm.x,{field:null===(a=e.fields)||void 0===a?void 0:a.SocialName,editable:!1})})},l)})),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("li",{children:[(0,va.jsx)("a",{href:"javascript:void(0);",className:null===(a=e.fields)||void 0===a?void 0:null===(n=a.CssClass)||void 0===n?void 0:n.value}),(0,va.jsx)("ul",{className:"no-ls sub-list",children:d})]},l)})}),(0,va.jsx)("ul",{className:"no-ls social-share",children:s})):(0,va.jsx)(va.Fragment,{})},kZ=e=>{let{item:l}=e;try{var i,s;console.log(null===(s=l.fields)||void 0===s?void 0:null===(i=s.SocialImage)||void 0===i?void 0:i.value)}catch(e){}return(0,va.jsx)(va.Fragment,{})},kJ=e=>{var l,i;let s=[];if(null===(i=e.fields)||void 0===i||null===(l=i.Items)||void 0===l||!l.length)return(0,va.jsx)(va.Fragment,{});{let l=Math.min(4,e.fields.Items.length);s=e.fields.Items.slice(0,l-1).map((e,l)=>{var i,s,n,a,d;let t=(null===(s=e.fields)||void 0===s?void 0:null===(i=s.SocialNetwork)||void 0===i?void 0:i.value)=="weibo"?"icon-detail-weibo":"icon-detail-ig";return(0,va.jsxs)("div",{className:"col",children:[(0,va.jsx)(kZ,{item:e}),(0,va.jsxs)("article",{children:[(0,va.jsxs)("p",{className:t,children:["@",null===(a=e.fields)||void 0===a?void 0:null===(n=a.FullName_Display)||void 0===n?void 0:n.value]}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:null===(d=e.fields)||void 0===d?void 0:d.SocialText,editable:!1})})]})]},l)})}return(0,va.jsx)("section",{className:"bg-light-brown happenings",children:(0,va.jsxs)("div",{className:"container",children:[(0,va.jsx)(vt.V,{name:"eh-latest-happenings",rendering:e.rendering}),(0,va.jsx)("div",{className:"row",children:s})]})})},kX=e=>{var l,i;let s=[];return null!==(i=e.fields)&&void 0!==i&&null!==(l=i.Items)&&void 0!==l&&l.length?(s=e.fields.Items.map((e,l)=>{var i,s,n,a;return e?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.SocialLink,target:"_blank",className:"icon ".concat(null===(n=e.fields)||void 0===n?void 0:null===(s=n.CssClass)||void 0===s?void 0:s.value),editable:!1,
1children:(0,va.jsx)(vm.x,{field:null===(a=e.fields)||void 0===a?void 0:a.SocialName,editable:!1})})},l)}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsx)("ul",{className:"h-float item-list",children:s})):(0,va.jsx)(va.Fragment,{})},k0=e=>{var l,i;let s=[];return null!==(i=e.fields)&&void 0!==i&&null!==(l=i.Items)&&void 0!==l&&l.length?(s=e.fields.Items.map((e,l)=>{var i,s,n,a;return e?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.SocialLink,target:"_blank",className:"icon ".concat(null===(n=e.fields)||void 0===n?void 0:null===(s=n.CssClass)||void 0===s?void 0:s.value),children:(0,va.jsx)(vm.x,{field:null===(a=e.fields)||void 0===a?void 0:a.SocialName})})},l)}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsx)("ul",{className:"social_ls h-float item-list",children:s})):(0,va.jsx)(va.Fragment,{})},k1=e=>{let{property:l,content:i}=e;return(0,va.jsx)("meta",{property:l,content:i})},k2=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y;return(0,va.jsxs)(va.Fragment,{children:[(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value)&&(0,va.jsx)(k1,{property:"og:title",content:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value}),(null===(d=e.fields)||void 0===d?void 0:null===(a=d.SiteName)||void 0===a?void 0:a.value)&&(0,va.jsx)(k1,{property:"og:site_name",content:null===(o=e.fields)||void 0===o?void 0:null===(t=o.SiteName)||void 0===t?void 0:t.value}),(0,va.jsx)(k1,{property:"og:url",content:e.url}),(null===(c=e.fields)||void 0===c?void 0:null===(r=c.Description)||void 0===r?void 0:r.value)&&(0,va.jsx)(k1,{property:"og:description",content:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Description)||void 0===v?void 0:v.value}),(null===(p=e.fields)||void 0===p?void 0:null===(x=p.ImageUrl)||void 0===x?void 0:null===(m=x.value)||void 0===m?void 0:m.src)&&(0,va.jsx)(k1,{property:"og:image",content:null===(g=e.fields)||void 0===g?void 0:null===(f=g.ImageUrl)||void 0===f?void 0:null===(h=f.value)||void 0===h?void 0:h.src}),(null===(N=e.fields)||void 0===N?void 0:null===(j=N.Locale)||void 0===j?void 0:j.value)&&(0,va.jsx)(k1,{property:"og:locale",content:null===(T=e.fields)||void 0===T?void 0:null===(b=T.Locale)||void 0===b?void 0:b.value}),(null===(k=e.fields)||void 0===k?void 0:null===(S=k.Type)||void 0===S?void 0:S.value)&&(0,va.jsx)(k1,{property:"og:type",content:null===(y=e.fields)||void 0===y?void 0:null===(w=y.Type)||void 0===w?void 0:w.value})]})},k5=e=>{var l,i;let{t:s}=(0,vT.QT)(),n=[];return null!==(i=e.fields)&&void 0!==i&&null!==(l=i.Items)&&void 0!==l&&l.length?(n=e.fields.Items.filter(e=>e.fields).map((e,l)=>{var i,s,n,a;return(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null===(i=e.fields)||void 0===i?void 0:i.SocialLink,target:"_blank",children:(0,va.jsx)("span",{className:"icon ".concat(null===(n=e.fields)||void 0===n?void 0:null===(s=n.CssClass)||void 0===s?void 0:s.value),children:(0,va.jsx)(vm.x,{field:null===(a=e.fields)||void 0===a?void 0:a.SocialName})})})},l)}),(0,va.jsxs)("div",{className:"share dropdown selector",children:[(0,va.jsxs)("a",{className:"toggler",href:"#",children:[(0,va.jsx)("span",{className:"icon share"}),s(gm.L.Social.Share)]}),(0,va.jsx)("ul",{className:"item-list",children:n})]})):(0,va.jsx)(va.Fragment,{})},k3=e=>{let{property:l,content:i}=e;return(0,va.jsx)("meta",{property:l,content:i})},k4=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y;return(0,va.jsxs)(va.Fragment,{children:[(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value)&&(0,va.jsx)(k3,{property:"og:title",content:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value}),(null===(d=e.fields)||void 0===d?void 0:null===(a=d.SiteName)||void 0===a?void 0:a.value)&&(0,va.jsx)(k3,{property:"og:site_name",content:null===(o=e.fields)||void 0===o?void 0:null===(t=o.SiteName)||void 0===t?void 0:t.value}),(0,va.jsx)(k3,{property:"og:url",content:e.url}),(null===(c=e.fields)||void 0===c?void 0:null===(r=c.Description)||void 0===r?void 0:r.value)&&(0,va.jsx)(k3,{property:"og:description",content:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Description)||void 0===v?void 0:v.value}),(null===(p=e.fields)||void 0===p?void 0:null===(x=p.ImageUrl)||void 0===x?void 0:null===(m=x.value)||void 0===m?void 0:m.src)&&(0,va.jsx)(k3,{property:"og:image",content:null===(g=e.fields)||void 0===g?void 0:null===(f=g.ImageUrl)||void 0===f?void 0:null===(h=f.value)||void 0===h?void 0:h.src}),(null===(N=e.fields)||void 0===N?void 0:null===(j=N.Locale)||void 0===j?void 0:j.value)&&(0,va.jsx)(k3,{property:"og:locale",content:null===(T=e.fields)||void 0===T?void 0:null===(b=T.Locale)||void 0===b?void 0:b.value}),(null===(k=e.fields)||void 0===k?void 0:null===(S=k.Type)||void 0===S?void 0:S.value)&&(0,va.jsx)(k3,{property:"og:type",content:null===(y=e.fields)||void 0===y?void 0:null===(w=y.Type)||void 0===w?void 0:w.value})]})},k6=e=>{var l,i,s,n,a,d,t,o,r,c;console.error(e),(0,vd.useEffect)(function(){$(".share .share__list").length&&$.each($(".share .share__list li a"),function(e,l){let i=$(l);if(i.children("svg").length)switch(i.children("svg").attr("data-icon")){case"weibo":i.attr("href","http://service.weibo.com/share/share.php?url="+encodeURI(document.location)+"&appkey=&title="+encodeURI(document.title)+"&pic=&ralateUid=&language=zh_cn");break;case"envelope":i.attr("href","mailto:?subject="+document.title+"&body="+encodeURI(document.location));break;case"linkedin-in":i.attr("href","https://www.linkedin.com/sharing/share-offsite/?url="+encodeURI(document.location))}});let e=setInterval(function(){var l;(null===(l=$("#facebook-jssdk"))||void 0===l?void 0:l.length)>0&&(window.shareFB(),clearInterval(e))},2e3)});let{t:v}=(0,vT.QT)(),u=[];return null!==(a=e.fields)&&void 0!==a&&null!==(n=a.data)&&void 0!==n&&null!==(s=n.datasoure)&&void 0!==s&&null!==(i=s.children)&&void 0!==i&&null!==(l=i.results)&&void 0!==l&&l.length?(u=null===(c=e.fields)||void 0===c?void 0:null===(r=c.data)||void 0===r?void 0:null===(o=r.datasoure)||void 0===o?void 0:null===(t=o.children)||void 0===t?void 0:null===(d=t.results)||void 0===d?void 0:d.filter(e=>e).map((e,l)=>{var i,s,n,a,d;let t=(null==e?void 0:null===(i=e.CssClass)||void 0===i?void 0:i.value)&&(null==e?void 0:null===(n=e.CssClass)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.indexOf("facebook"))>=0?"FBshare":"";return(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null==e?void 0:null===(a=e.Link)||void 0===a?void 0:a.jsonValue,className:"share",target:"_blank",id:t,children:(0,va.jsx)("i",{className:null==e?void 0:null===(d=e.CssClass)||void 0===d?void 0:d.value})})},l)}),(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"share-wrapper module-wrapper reveal",children:(0,va.jsxs)("div",{className:"share hero--w900__share",children:[(0,va.jsx)("span",{children:v(gm.L.Social.Share)}),(0,va.jsx)("ul",{className:"share__list",children:u})]})})})):(0,va.jsx)(va.Fragment,{})},k8=e=>{var l;let{t:i}=(0,vT.QT)(),s=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),{sitecoreContext:n}=(0,vr.z)(),a=[];return null!=s&&s.length?(a=s.map((e,l)=>{var i,s,a,d,t,o,r,c,v,u;let m=null==n?void 0:null===(s=n.route)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:i.SocialStreamFilterDisplay,x=null==n?void 0:null===(d=n.route)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:a.SocialStreamFilter,p="";if((null==x?void 0:x.value)&&(null==m?void 0:m.value)){let l=null==x?void 0:null===(u=x.value)||void 0===u?void 0:u.split("|").indexOf(null==e?void 0:null===(v=e.FullName)||void 0===v?void 0:v.value);p=null==m?void 0:m.value.split("|")[l]}return(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)("a",{href:null==e?void 0:null===(t=e.SocialLink)||void 0===t?void 0:t.value,target:"_blank",children:(0,va.jsxs)("div",{className:"img-wrapper",children:[(0,va.jsx)("div",{className:"social-img",style:{backgroundImage:"url(".concat(null==e?void 0:null===(r=e.SocialImageItem)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.src,")")}}),(0,va.jsxs)("div",{className:"social-name",children:[(0,va.jsx)("i",{className:"fab ".concat((null==e?void 0:null===(c=e.SocialNetwork)||void 0===c?void 0:c.value)=="weibo"?"fa-weibo":"fa-instagram")}),(0,va.jsx)("h5",{children:p})]})]})})},l)}),(0,va.jsx)("section",{className:"home-follow module-wrapper",children:(0,va.jsxs)("div",{className:"page--container",children:[(0,va.jsx)("div",{className:"title-wrap",children:(0,va.jsx)("h2",{children:i(gm.L.Social.FollowOurJourney)})}),(0,va.jsx)("div",{className:"swiper-container home-follow__slider",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:a})})]})})):(0,va.jsx)(va.Fragment,{})},k7=async(e,l)=>{var i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N;let b=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,T=null!==(h=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==h?h:"en",S="",k="{OR :[{0}]}",w="",y="{OR :[{0}]}",E="",C=null==l?void 0:null===(c=l.sitecore)||void 0===c?void 0:null===(r=c.route)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:null===(t=o.SocialNetworkDisplayType)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.split("|");if(C&&(null==C?void 0:C.length)>0)for(let e=0;e<C.length;
1e++)S+="$field".concat(e+1,": String!\n $fvalue").concat(e+1,": String!"),w+="{ name: $field".concat(e+1,", operator: CONTAINS, value: $fvalue").concat(e+1," }");let O=null==l?void 0:null===(p=l.sitecore)||void 0===p?void 0:null===(x=p.route)||void 0===x?void 0:null===(m=x.fields)||void 0===m?void 0:null===(u=m.SocialStreamFilter)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.split("|");if(O&&(null==O?void 0:O.length)>0)for(let e=0;e<O.length;e++)S+="$field".concat(e+1+(null==C?void 0:C.length),": String!\n $fvalue").concat(e+1+(null==C?void 0:C.length),": String!"),E+="{ name: $field".concat(e+1+(null==C?void 0:C.length),", operator: CONTAINS, value: $fvalue").concat(e+1+(null==C?void 0:C.length)," }");if(k=k.replace("{0}",w),y=y.replace("{0}",E),b){let l={rootItemId:(0,x5.Z9)(b),template:(0,x5.Z9)((null==e?void 0:null===(f=e.params)||void 0===f?void 0:f.tid)||ux.t9.SocialFeed),language:T},i=k+y;for(let e=0;e<C.length;e++){let i=C[e],s=await pn(i,T);s&&(l={...l,["field"+(e+1)]:"SocialNetwork",["fvalue"+(e+1)]:null==s?void 0:null===(N=s.Value)||void 0===N?void 0:N.value})}for(let e=0;e<O.length;e++){let i=O[e];l={...l,["field"+(e+1+C.length)]:"FullName",["fvalue"+(e+1+C.length)]:i}}let s=(null==e?void 0:null===(g=e.fields)||void 0===g?void 0:g.SocialLimit)&&parseInt(null==e?void 0:null===(j=e.fields)||void 0===j?void 0:j.SocialLimit.toString())||6;return b?await Nd.GetSocialItems(S,i,l,s,!1):[]}},k9=e=>{var l,i;let{t:s}=(0,vT.QT)(),n=[];if(null===(i=e.fields)||void 0===i||null===(l=i.Items)||void 0===l||!l.length)return(0,va.jsx)(va.Fragment,{});{let l=e.fields.Items.length;n=e.fields.Items.map((e,i)=>{var s,n,a,d,t,o,r,c,v,u,m,x,p;let h=[];return(null===(n=e.fields)||void 0===n?void 0:null===(s=n.Children)||void 0===s?void 0:s.length)&&(h=e.fields.Children.map((e,l)=>{var i,s,n,a,d,t,o,r,c,v,u,m,x;let p=null!==(m=null===(n=e.fields)||void 0===n?void 0:null===(s=n.SocialLink)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)&&void 0!==m?m:void 0,h=null!==(x=null===(d=e.fields)||void 0===d?void 0:null===(a=d.DataSns)||void 0===a?void 0:a.value)&&void 0!==x?x:void 0;return(0,va.jsx)("li",{"data-sns":h,children:(0,va.jsxs)("a",{href:(0,vS.at)(p,(0,vT.QT)().locale()),rel:"nofollow",target:"_blank",className:null===(r=e.fields)||void 0===r?void 0:null===(o=r.SocialLink)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.class,children:[(0,va.jsx)("span",{className:"sp ".concat(null===(v=e.fields)||void 0===v?void 0:null===(c=v.CssClass)||void 0===c?void 0:c.value)}),(0,va.jsx)(vm.x,{field:null===(u=e.fields)||void 0===u?void 0:u.SocialName})]})},l)})),e?(0,va.jsxs)("li",{className:i==l-1?"last":void 0,children:[(null===(t=e.fields)||void 0===t?void 0:null===(d=t.SocialLink)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href)?(0,va.jsx)(vk,{field:null===(o=e.fields)||void 0===o?void 0:o.SocialLink,children:(0,va.jsx)("span",{className:"sp ".concat(null===(c=e.fields)||void 0===c?void 0:null===(r=c.CssClass)||void 0===r?void 0:r.value),children:(0,va.jsx)(vm.x,{field:null===(v=e.fields)||void 0===v?void 0:v.SocialName})})}):(0,va.jsx)("a",{href:"#",target:"_blank",className:"ro",children:(0,va.jsx)("span",{className:"sp ".concat(null===(m=e.fields)||void 0===m?void 0:null===(u=m.CssClass)||void 0===u?void 0:u.value),children:(0,va.jsx)(vm.x,{field:null===(x=e.fields)||void 0===x?void 0:x.SocialName})})}),(0,va.jsx)("div",{className:"submenu",children:(0,va.jsx)("ul",{className:"submenu",children:(0,va.jsxs)("li",{children:[(0,va.jsx)(vm.x,{field:null===(p=e.fields)||void 0===p?void 0:p.SocialName}),h]})})})]},i):(0,va.jsx)(va.Fragment,{})})}return(0,va.jsxs)("div",{className:"sns",children:[(0,va.jsx)("span",{children:s(gm.L.Social.KeepInTouch)}),(0,va.jsx)("ul",{className:"sns",children:n})]})},we=e=>{let{property:l,content:i}=e;return(0,va.jsx)("meta",{property:l,content:i})},wl=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y;return(0,va.jsxs)(va.Fragment,{children:[(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value)&&(0,va.jsx)(we,{property:"og:title",content:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value}),(null===(d=e.fields)||void 0===d?void 0:null===(a=d.SiteName)||void 0===a?void 0:a.value)&&(0,va.jsx)(we,{property:"og:site_name",content:null===(o=e.fields)||void 0===o?void 0:null===(t=o.SiteName)||void 0===t?void 0:t.value}),(0,va.jsx)(we,{property:"og:url",content:e.url}),(null===(c=e.fields)||void 0===c?void 0:null===(r=c.Description)||void 0===r?void 0:r.value)&&(0,va.jsx)(we,{property:"og:description",content:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Description)||void 0===v?void 0:v.value}),(null===(p=e.fields)||void 0===p?void 0:null===(x=p.ImageUrl)||void 0===x?void 0:null===(m=x.value)||void 0===m?void 0:m.src)&&(0,va.jsx)(we,{property:"og:image",content:null===(g=e.fields)||void 0===g?void 0:null===(f=g.ImageUrl)||void 0===f?void 0:null===(h=f.value)||void 0===h?void 0:h.src}),(null===(N=e.fields)||void 0===N?void 0:null===(j=N.Locale)||void 0===j?void 0:j.value)&&(0,va.jsx)(we,{property:"og:locale",content:null===(T=e.fields)||void 0===T?void 0:null===(b=T.Locale)||void 0===b?void 0:b.value}),(null===(k=e.fields)||void 0===k?void 0:null===(S=k.Type)||void 0===S?void 0:S.value)&&(0,va.jsx)(we,{property:"og:type",content:null===(y=e.fields)||void 0===y?void 0:null===(w=y.Type)||void 0===w?void 0:w.value})]})},wi=e=>{let{t:l}=(0,vT.QT)();return(0,vd.useEffect)(()=>{var l,i;window.ssItems=JSON.parse(null===(i=e.fields)||void 0===i?void 0:null===(l=i.JsonData)||void 0===l?void 0:l.value)},[e]),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("script",{id:"socialStreamTemplate",type:"text/x-jsrender",children:'<div className="item slide {{if !image}}noimg{{/if}}">
1\n <div className="card">\n <div className="text {{if image}}dot{{/if}}">\n <p>{{:text}}</p>\n </div>\n <a target="_blank" href="{{:url}}">@Html.Glass().RenderImage(x=>x.SocialStreamSettings.SocialFeedLogo)<span className="fullname">{{:fullname}}</span><span className="sp sp-ss_{{:social}}"></span><span className="date">{{:date}}</span></a>\n </div>\n {{if image}}<div className="img"><img src="{{:image.replace("http","https").replace("httpss","")}}" alt="" /></div>{{/if}}\n {{if !image}}<div className="img"><img src="/files/the-middle-house/img/ss-bg-{{:social}}.png" alt="" /></div>{{/if}}\n </div>'}),(0,va.jsxs)("div",{className:"social-stream",children:[(0,va.jsx)("p",{className:"heading",children:l(gm.L.Social.LatestInSocialStream)}),(0,va.jsxs)("div",{className:"slideshow",children:[(0,va.jsx)("div",{className:"swiper-container",children:(0,va.jsx)("div",{className:"swiper-wrapper"})}),(0,va.jsx)("div",{className:"pagination"})]})]})]})},ws=e=>!!e&&(null==e?void 0:e.indexOf("weixin"))!==-1,wn=e=>e.indexOf("javascript:")>-1,wa=e=>e.replaceAll("https://","").replaceAll("http://",""),wd=e=>(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)(vx.H,{tag:"p",field:e.Text})}),wt=e=>(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)(m7,{field:e.Image})});var wo=(0,vp.C)()(e=>{var l;let{locale:i}=(0,vT.QT)(),s=[],n=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);return(vD(e,"SelectedItems",!0)&&(n=e.fields.SelectedItems),n&&null!=n&&n.length)?(s=n.map((e,l)=>{var s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g;return(0,va.jsx)("li",{className:(0,vM.Z)({qr:ws(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.CssClass)||void 0===s?void 0:s.value)}),children:(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href)?wn(null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.Link)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.href)?(0,va.jsx)("a",{href:(0,vS.at)(wa(null==e?void 0:null===(h=e.fields)||void 0===h?void 0:null===(p=h.Link)||void 0===p?void 0:null===(x=p.value)||void 0===x?void 0:x.href),i()),children:(0,va.jsx)("i",{className:null==e?void 0:null===(g=e.fields)||void 0===g?void 0:null===(f=g.CssClass)||void 0===f?void 0:f.value})}):(0,va.jsx)(vk,{field:null==e?void 0:null===(v=e.fields)||void 0===v?void 0:v.Link,children:(0,va.jsx)("i",{className:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.CssClass)||void 0===u?void 0:u.value})}):(0,va.jsx)(va.Fragment,{})},l)}),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("ul",{className:"footer__social p-0",children:s}),(0,va.jsxs)("div",{className:"lightbox lightbox--slider lightbox--footer",children:[(0,va.jsx)("div",{className:"close-btn",children:(0,va.jsx)("div",{})}),(0,va.jsx)("div",{className:"wrapper",children:(0,va.jsxs)("div",{className:"lightbox__wrap",children:[(0,va.jsxs)("div",{className:"swiper-container multi-qrcode",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:!!(null==n?void 0:n.length)&&n.map((e,l)=>{var i,s,n,a,d,t,o;return(0,va.jsx)(vd.Fragment,{children:(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.CssClass)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.indexOf("weixin"))>=0&&(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.SocialDetail)||void 0===a?void 0:a.length)>1?(0,va.jsx)(va.Fragment,{children:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.SocialDetail.map((e,l)=>{var i;return(0,va.jsx)(wt,{Image:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Image},l)})}):(0,va.jsx)(wt,{Image:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.Image})})},l)})}),(0,va.jsx)("div",{className:"swiper-pagination"})]}),(0,va.jsx)("div",{className:"swiper-container multi-qrcode-text",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:!!(null==n?void 0:n.length)&&n.map((e,l)=>{var i,s,n,a,d,t;return(0,va.jsx)(vd.Fragment,{children:ws(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.CssClass)||void 0===i?void 0:i.value)&&(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.SocialDetail)||void 0===n?void 0:n.length)>1?(0,va.jsx)(va.Fragment,{children:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.SocialDetail.map((e,l)=>{var i;return(0,va.jsx)(wd,{Text:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Description},l)})}):(0,va.jsx)(wd,{Text:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Description})})},l)})})})]})})]})]})):(0,va.jsx)(va.Fragment,{})});let wr=async(e,l)=>{var i,s,n,a,d,t;if(vD(e,"SelectedItems",!0))return[];let o=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,r=null!==(t=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==t?t:"en";return o?await (0,up.D)(o,(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.tid)||ux.t9.SocialDetail,r,10,!0):[]},wc=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g;let{t:j}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("section",{className:"page-intro page-intro--backdrop",children:[(0,va.jsx)("div",{className:"page-intro__img",children:(0,va.jsx)("img",{src:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.TeaserImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src})}),(0,va.jsx)("div",{className:"main-container",children:(0,va.jsxs)("div",{className:"page-intro__cont",children:[(0,va.jsx)("div",{className:"page-intro__title",children:(0,va.jsx)("h2",{className:"is-size-2",children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.TeaserTitle})})}),(0,va.jsxs)("div",{className:"page-intro__body",children:[(0,va.jsx)(vx.H,{field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.TeaserContent}),(0,va.jsx)("p",{children:(0,va.jsx)("a",{href:(null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.TeaserLinkURL)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.href)?null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(c=v.TeaserLinkURL)||void 0===c?void 0:null===(r=c.value)||void 0===r?void 0:r.href:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Url)||void 0===u?void 0:u.value,className:"call-to-action",children:(null==e?void 0:null===(h=e.fields)||void 0===h?void 0:null===(p=h.TeaserLinkText)||void 0===p?void 0:null===(x=p.GlossaryValue)||void 0===x?void 0:x.value)?(0,va.jsx)(vm.x,{field:null==e?void 0:null===(g=e.fields)||void 0===g?void 0:null===(f=g.TeaserLinkText)||void 0===f?void 0:f.GlossaryValue}
1):(0,va.jsx)(vm.x,{children:j(mT.W.LINKTEXT.DISCOVERMORE)})})})]})]})})]})})};var wv=(0,vp.C)()(wc);let wu=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x;let{t:p}=(0,vT.QT)(),h=e.colors[e.index%e.colors.length],f="0.".concat(e.index+1,"s,"),g=null===(l=e.fields.TemplateName)||void 0===l?void 0:l.value.startsWith("T06a"),j=null===(i=e.fields.TemplateName)||void 0===i?void 0:i.value.startsWith("T06");return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"".concat(h,"-cube cube hover ").concat(g?"inquire":""),"data-sr":"wait ".concat(f," move 20px"),"data-type":"",children:[(0,va.jsx)("img",{id:"coverimg",className:"coverimg",src:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.TeaserImage)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.src}),(0,va.jsxs)("div",{className:"details",children:[(0,va.jsxs)("div",{className:"basic-details",children:[(0,va.jsx)("span",{className:"sp sp-expand-arrow"}),(0,va.jsx)("span",{className:"sp sp-collapse-arrow"}),(0,va.jsxs)("div",{children:[(0,va.jsx)("h2",{className:"title",children:(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.TeaserTitle)||void 0===d?void 0:d.value)?(0,va.jsx)(vm.x,{field:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.TeaserTitle}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsx)("br",{}),(0,va.jsx)("p",{})]})]}),(0,va.jsx)("div",{className:"more-details",children:(0,va.jsxs)("div",{className:"wrap",children:[(0,va.jsx)(vx.H,{field:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:r.TeaserContent}),j?(0,va.jsx)("a",{href:null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(c=v.Url)||void 0===c?void 0:c.value,className:"first",children:p(mT.W.LINKTEXT.VIEWDETAILS)}):(0,va.jsx)("a",{href:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Url)||void 0===u?void 0:u.value,className:"btn-transparent",children:p(mT.W.LINKTEXT.MOREINFO)}),j?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("br",{className:"m"}),(0,va.jsx)("span",{className:"inline-seperator",children:"|"}),(0,va.jsx)("a",{href:"","data-haschildren":!0,className:g?"inquire-button":""}),!g&&(0,va.jsx)("span",{className:"sp sp-icon-calendar"}),(null===(x=e.fields.TemplateName)||void 0===x?void 0:x.value.startsWith("T06a"))?(0,va.jsx)(vm.x,{children:p(mT.W.LINKTEXT.INQUIRENOW)}):(0,va.jsx)(vm.x,{children:p(mT.W.LINKTEXT.CHECKAVAILABILITY)})]}):(0,va.jsx)(va.Fragment,{})]})})]})]})})},wm=e=>{let{t:l}=(0,vT.QT)(),[i,s]=(0,vd.useState)(["pink","orange","grey","yellow"]);var n,a,d,t,o,r,c,v,u=((null===(n=e.fields.Children)||void 0===n?void 0:n.length)>0?e.fields.Children:e.fields.ContentList).filter(e=>{var l;return(null===(l=e.fields)||void 0===l?void 0:l.TemplateName.value.indexOf("Services_Facilities"))<0});"".startsWith("T05")&&u.length>0&&(null===(t=u[0])||void 0===t||null===(d=t.fields)||void 0===d||null===(a=d.TemplateName)||void 0===a||a.value.startsWith("T06a"));var m="".startsWith("T05")&&u.length>0&&(null===(c=u[0])||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:null===(o=r.TemplateName)||void 0===o?void 0:o.value.startsWith("T06a"));(null==e?void 0:e.params.classes)&&s(null==e?void 0:null===(v=e.params.classes)||void 0===v?void 0:v.split(" "));let x=Object.values(u).map((e,l)=>(0,va.jsx)(wu,{fields:null==e?void 0:e.fields,colors:i,index:l},l));return(0,va.jsxs)(va.Fragment,{children:[m&&(0,va.jsxs)("div",{className:"form-wrapper pop-up-form modal",id:"inquiry-form",children:[(0,va.jsx)(vt.V,{name:"ehk-east-residence-inquiry-form",rendering:null==e?void 0:e.rendering}),(0,va.jsx)("a",{href:"#close-modal",rel:"modal:close",className:"close-modal ",children:"Close"})]}),(0,va.jsxs)("div",{className:"m3 clearfix item-feed",children:[x,(0,va.jsx)(vt.V,{name:"easthotels-teasers-extra",rendering:e.rendering})]}),(0,va.jsx)("div",{className:"suites-wrapper",style:{display:"none"},children:(0,va.jsx)(vt.V,{name:"easthotels-teasers-extra-suite",rendering:e.rendering})})]})};var wx=(0,vp.C)()(wm);let wp=()=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"select mobile_only toggle-link","data-href":"#stay-ul",children:(0,va.jsxs)("div",{children:[(0,va.jsx)("span",{className:"faketext",children:"Select"}),(0,va.jsx)("span",{className:"sp sp-orange-arrow-down"})]})}),(0,va.jsx)("div",{className:"btn-gp al-left clearfix item-filter",id:"stay-ul"})]}),wh=e=>e.fields?(0,va.jsxs)(va.Fragment,{children:[e.fields.Children.map((e,l)=>{vg.E,e.TeaserImage,vm.x,e.TeaserTitle,vm.x,e.TeaserContent,va.Fragment}),";"]}):(0,va.jsx)(va.Fragment,{}),wf=e=>e?(0,va.jsxs)(va.Fragment,{children:[e.fields.Children.map((e,l)=>{var i,s;return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("section",{className:"page-intro page-intro--sides page-intro--sides--".concat(l%2==0?"right":"left"),children:(0,va.jsxs)("div",{className:"main-container",children:[(0,va.jsx)("div",{className:"page-intro__img",children:(0,va.jsx)(vg.E,{media:e.TeaserImage})}),(0,va.jsxs)("div",{className:"page-intro__cont",children:[(0,va.jsx)("div",{className:"page-intro__title",children:(0,va.jsx)("h2",{className:"is-size-2",children:(0,va.jsx)(vm.x,{field:e.TeaserTitle})})}),(0,va.jsxs)("div",{className:"page-intro__body",children:[(0,va.jsx)(vm.x,{field:e.TeaserContent}),(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:e.TeaserLinkURL,className:"call-to-action",children:(null===(s=e.TeaserLinkText)||void 0===s?void 0:null===(i=s.GlossaryValue)||void 0===i?void 0:i.value)?e.TeaserLinkText.GlossaryValue.value:(0,va.jsx)(va.Fragment,{})})})]})]})]})}),";"]})}),";"]}):(0,va.jsx)(va.Fragment,{}),wg=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let m="order-lg-first",x="order-lg-last",p=e.fields;return(null==p?void 0:null===(s=p.Direction)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Value)||void 0===l?void 0:l.value)==ux.tl.PageContent.TextLeftImageRight?(m="order-lg-first",x="order-lg-last"):(m="order-lg-last",x="order-lg-first"),(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"square-box mb-100",children:[(0,va.jsx)("div",{className:"square square--wrapper p-40 d-none d-lg-block",children:(0,va.jsx)("div",{className:"square--item even-row module-wrapper",children:(0,va.jsxs)("div",{className:"row no-gutters",children:[(0,va.jsx)("div",{className:"col-sm-12 col-lg-6 order-last ".concat(m),children:(0,va.jsx)("div",{className:"square--content",children:(0,va.jsxs)("div",{className:"square--content__inner",children:[(0,va.jsxs)("div",{className:"caption-wrapper",children:[(null==p?void 0:null===(n=p.Headline)||void 0===n?void 0:n.value)?(0,va.jsx)("h4",{children:(0,va.jsx)(vx.H,{field:null==p?void 0:p.Headline})}):"",(null==p?void 0:null===(a=p.SubTitle)||void 0===a?void 0:a.value)?(0,va.jsx)("h2",{children:(0,va.jsx)(vx.H,{field:null==p?void 0:p.SubTitle})}):"",(null==p?void 0:null===(d=p.Shortparagraph)||void 0===d?void 0:d.value)?(0,va.jsx)(vx.H,{field:null==p?void 0:p.Shortparagraph}):""]}),(null==p?void 0:null===(o=p.Link)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.href)&&(0,va.jsxs)(vk,{field:null==p?void 0:p.Link,className:"btn btn--white",children:[(0,va.jsx)("span",{dangerouslySetInnerHTML:{__html:null==p?void 0:null===(r=p.LinkTitle)||void 0===r?void 0:r.value}}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-lg-6 order-first ".concat(x),children:(0,va.jsx)("div",{className:"square--imgWrap",children:(0,va.jsx)(m7,{field:null==p?void 0:p.Image})})})]})})}),(0,va.jsx)("div",{className:"square square-m-wrap d-block d-lg-none",children:(0,va.jsxs)("div",{className:"square--item m-even-row module-wrapper",children:[(0,va.jsx)("div",{className:"square--imgWrap p-40",children:(0,va.jsx)(m7,{field:null==p?void 0:p.Image})}),(0,va.jsx)("div",{className:"square-m-bg d-block d-lg-none",children:(0,va.jsxs)("div",{className:"square--content__inner",children:[(0,va.jsxs)("div",{className:"caption-wrapper",children:[(null==p?void 0:null===(c=p.Headline)||void 0===c?void 0:c.value)?(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:null==p?void 0:p.Headline})}):"",(null==p?void 0:null===(v=p.SubTitle)||void 0===v?void 0:v.value)?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null==p?void 0:p.SubTitle})}):"",(null==p?void 0:null===(u=p.Shortparagraph)||void 0===u?void 0:u.value)?(0,va.jsx)(vx.H,{field:null==p?void 0:p.Shortparagraph}):""]}),(null==p?void 0:p.Link)?(0,va.jsxs)(vk,{field:null==p?void 0:p.Link,className:"btn btn--white",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:null==p?void 0:p.LinkTitle})}),(0,va.jsx)("span",{className:"icon-angle"})]}):""]})})]})})]})})},wj=e=>{var l,i,s,n,a;let{sitecoreContext:d}=(0,vr.z)(),t=d.pageEditing,o=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);if(vD(e,"Items",!0)&&(o={datasource:{StartwithLeftImageRightText:e.fields.StartwithLeftImageRightText},result:e.fields.Items.map(e=>e.fields)}),!o||(null==o?void 0:null===(i=o.result)||void 0===i?void 0:i.length)<=0)return(0,va.jsx)(va.Fragment,{});let r="order-lg-first",c="order-lg-last",v=(null==o?void 0:null===(n=o.datasource)||void 0===n?void 0:null===(s=n.StartwithLeftImageRightText)||void 0===s?void 0:s.value)||!1;function u(e,l){var i;let s=(null==e?void 0:null===(i=e.template)||void 0===i?void 0:i.name)==l;return s||("Artist Intro with Quote"===l?s=!!(null==e?void 0:e.Quotesentences):"Artist Intro"!==l||(s=!!(null==e?void 0:e.Shortparagraph)&&!!(null==e?void 0:e.Image)&&!(null==e?void 0:e.Quotesentences))),s}return(0,va.jsx)(va.Fragment,{children:null==o?void 0:null===(a=o.result)||void 0===a?void 0:a.map((e,l)=>{var i,s,n,a,d,o,m,x;return v=!v,(0,va.jsx)(vd.Fragment,{children:u(e,"Artist Intro")?(0,va.jsxs)("div",{className:"thc-artist-intro-list square-box mb-100",children:[(0,va.jsx)("div",{className:"square square--wrapper p-40 d-none d-lg-block",children:(0,va.jsx)("div",{className:"square--item even-row module-wrapper",children:(0,va.jsxs)("div",{className:"row no-gutters",children:[(0,va.jsx)("div",{className:"col-sm-12 col-lg-6 order-last ".concat(v?r:c),children:(0,va.jsx)("div",{className:"square--content",children:(0,va.jsxs)("div",{className:"square--content__inner",children:[(0,va.jsxs)("div",{className:"caption-wrapper",children:[(0,va.jsx)(uf,{Text:null==e?void 0:e.Headline,tag:"h4",raw:!0}),(0,va.jsx)(uf,{Text:null==e?void 0:e.SubTitle,tag:"h2",raw:!0}),(0,va.jsx)(fc.H,{field:null==e?void 0:e.Shortparagraph})]}),(null==e?void 0:null===(i=e.LinkTitle)||void 0===i?void 0:i.value)&&(0,va.jsxs)(vk,{className:"btn btn--white",f
1ield:null==e?void 0:e.Link,children:[(0,va.jsx)("span",{children:null==e?void 0:null===(s=e.LinkTitle)||void 0===s?void 0:s.value}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-lg-6 order-first ".concat(v?c:r),children:(0,va.jsx)("div",{className:"square--imgWrap",children:(0,va.jsx)(m7,{field:null==e?void 0:e.Image})})})]})})}),(0,va.jsx)("div",{className:"square square-m-wrap d-block d-lg-none",children:(0,va.jsxs)("div",{className:"square--item m-even-row module-wrapper",children:[(0,va.jsx)("div",{className:"square--imgWrap p-40",children:(0,va.jsx)(m7,{field:null==e?void 0:e.Image})}),(0,va.jsx)("div",{className:"square-m-bg d-block d-lg-none",children:(0,va.jsxs)("div",{className:"square--content__inner",children:[(0,va.jsxs)("div",{className:"caption-wrapper",children:[(0,va.jsx)(uf,{Text:null==e?void 0:e.Headline,tag:"h4",raw:!0}),(0,va.jsx)(uf,{Text:null==e?void 0:e.SubTitle,tag:"h2",raw:!0}),(0,va.jsx)(fc.H,{field:null==e?void 0:e.Shortparagraph})]}),(null==e?void 0:null===(n=e.LinkTitle)||void 0===n?void 0:n.value)&&(0,va.jsxs)(vk,{className:"btn btn--white",field:null==e?void 0:e.Link,children:[(0,va.jsx)("span",{children:null==e?void 0:null===(a=e.LinkTitle)||void 0===a?void 0:a.value}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})]})})]}):u(e,"Artist Intro with Quote")&&(0,va.jsxs)("div",{className:"thc-artist-intro-list square-box mb-100",children:[(0,va.jsx)("div",{className:"square square--wrapper p-40 d-none d-lg-block",children:(0,va.jsx)("div",{className:"square--item even-row module-wrapper",children:(0,va.jsxs)("div",{className:"row no-gutters",children:[(0,va.jsx)("div",{className:"col-sm-12 col-lg-6 order-last ".concat(v?r:c),children:(0,va.jsx)("div",{className:"square--content",children:(0,va.jsxs)("div",{className:"square--content__inner",children:[(0,va.jsxs)("div",{className:"quote-wrapper",children:[(0,va.jsx)(uf,{Text:null==e?void 0:e.Quotesentences,tag:"h3",raw:!0}),(0,va.jsx)(uf,{Text:null==e?void 0:e.FullName,tag:"h4",raw:!0}),(0,va.jsx)(uf,{Text:null==e?void 0:e.Positionandinfo,tag:"h5"}),(0,va.jsx)(fc.H,{field:null==e?void 0:e.Shortparagraph})]}),(t||(null==e?void 0:null===(d=e.LinkTitle)||void 0===d?void 0:d.value))&&(0,va.jsxs)(vk,{className:"btn btn--white",field:null==e?void 0:e.Link,children:[(0,va.jsx)("span",{children:null==e?void 0:null===(o=e.LinkTitle)||void 0===o?void 0:o.value}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-lg-6 order-first ".concat(v?c:r),children:(0,va.jsx)("div",{className:"square--imgWrap",children:(0,va.jsx)(m7,{field:null==e?void 0:e.Image})})})]})})}),(0,va.jsx)("div",{className:"square square-m-wrap d-block d-lg-none",children:(0,va.jsxs)("div",{className:"square--item m-even-row module-wrapper",children:[(0,va.jsx)("div",{className:"square--imgWrap p-40",children:(0,va.jsx)(m7,{field:null==e?void 0:e.Image})}),(0,va.jsx)("div",{className:"square-m-bg d-block d-lg-none",children:(0,va.jsxs)("div",{className:"square--content__inner",children:[(0,va.jsxs)("div",{className:"quote-wrapper",children:[(0,va.jsx)(uf,{Text:null==e?void 0:e.Quotesentences,tag:"h3",raw:!0}),(0,va.jsx)(uf,{Text:null==e?void 0:e.FullName,tag:"h4",raw:!0}),(0,va.jsx)(uf,{Text:null==e?void 0:e.Positionandinfo,tag:"h5"}),(0,va.jsx)(fc.H,{field:null==e?void 0:e.Shortparagraph})]}),(t||(null==e?void 0:null===(m=e.LinkTitle)||void 0===m?void 0:m.value))&&(0,va.jsxs)(vk,{className:"btn btn--white",field:null==e?void 0:e.Link,children:[(0,va.jsx)("span",{children:null==e?void 0:null===(x=e.LinkTitle)||void 0===x?void 0:x.value}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})]})})]},l)},l)})})},wN=async(e,l)=>{var i,s,n,a,d,t;if(vD(e,"Items",!0))return{};let o=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,r=null!==(t=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==t?t:"en",c=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.tid)||ux.t9.ArtistIntroWithQuote;if(c){let e=o?await (0,up.q)(o,c,r,10,!0):[];return{datasource:o&&await pn(o,r),result:e}}};var wb=e=>{var l,i,s,n;if(!e.fields)return(0,va.jsx)(va.Fragment,{});let a=e.fields,d="TextLeftImageRight"===String(null===(l=e.fields.Direction)||void 0===l?void 0:l.Value)?"order-lg-first":"order-lg-last",t="TextLeftImageRight"===String(null===(i=a.Direction)||void 0===i?void 0:i.Value)?"order-lg-last":"order-lg-first";return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"square-box mb-100",children:[(0,va.jsx)("div",{className:"square square--wrapper p-40 d-none d-lg-block",children:(0,va.jsx)("div",{className:"square--item even-row module-wrapper",children:(0,va.jsxs)("div",{className:"row no-gutters",children:[(0,va.jsx)("div",{className:"col-sm-12 col-lg-6 ".concat(d),children:(0,va.jsx)("div",{className:"square--content",children:(0,va.jsxs)("div",{className:"square--content__inner",children:[(0,va.jsxs)("div",{className:"quote-wrapper",children:[a.Quotesentences&&(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:a.Quotesentences})}),a.FullName&&(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:a.FullName})}),a.Positionandinfo&&(0,va.jsx)("h5",{children:(0,va.jsx)(vm.x,{field:a.Positionandinfo})}),a.Shortparagraph&&(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:a.Shortparagraph})})]}),a&&(null==a?void 0:a.Link)&&(null==a?void 0:null===(n=a.Link)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.href)&&(0,va.jsxs)(vk,{field:a.Link,className:"btn btn--white",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:a.LinkTitle})}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})}),(0,va.jsx)("div",{className:"col-sm-12 col-lg-6 ".concat(t),children:(0,va.jsx)("div",{className:"square--imgWrap",children:(0,va.jsx)(vg.E,{field:a.Image,alt:"Image"})})})]})})}),(0,va.jsx)("div",{className:"square square-m-wrap d-block d-lg-none",children:(0,va.jsxs)("div",{className:"square--item m-even-row module-wrapper",children:[(0,va.jsx)("div",{className:"square--imgWrap p-40",children:(0,va.jsx)(vg.E,{field:a.Image,alt:"Image"})}),(0,va.jsx)("div",{className:"square-m-bg d-block d-lg-none",children:(0,va.jsxs)("div",{className:"square--content__inner",children:[(0,va.jsxs)("div",{className:"quote-wrapper",children:[a.Quotesentences&&(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:a.Quotesentences})}),a.FullName&&(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:a.FullName})}),a.Positionandinfo&&(0,va.jsx)("h5",{children:(0,va.jsx)(vm.x,{field:a.Positionandinfo})}),a.Shortparagraph&&(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:a.Shortparagraph})})]}),a.Link&&(0,va.jsxs)(vk,{field:a.Link,className:"btn btn--white",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:a.LinkTitle})}),(0,va.jsx)("span",{className:"icon-angle"})]})]})})]})})]})})},wT=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;return e.fields?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"thc-enewsletter",children:(0,va.jsx)("div",{className:"p-40 d-none d-lg-block",children:(0,va.jsx)("div",{className:"module-wrapper",children:(0,va.jsxs)("div",{className:"row no-gutters",children:[(0,va.jsxs)("div",{className:"col-10",children:[(0,va.jsx)("div",{className:"thc-enewsletter--banner",children:(0,va.jsx)(m7,{field:e.fields.Image})}),(0,va.jsxs)("div",{className:"thc-enewsletter--content",children:[(0,va.jsxs)("div",{className:"",children:[(0,kF.RB)()?(0,va.jsx)("h5",{children:(0,va.jsx)(vm.x,{field:e.fields.SubTitle})}):(0,va.jsx)(va.Fragment,{children:(null===(i=e.fields)||void 0===i?void 0:null===(l=i.SubTitle)||void 0===l?void 0:l.value)?(0,va.jsx)("h5",{children:(0,va.jsx)(vm.x,{field:e.fields.SubTitle})}):""}),(0,kF.RB)()?(0,va.jsx)("h1",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):(0,va.jsx)(va.Fragment,{children:(null===(n=e.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value)?(0,va.jsx)("h1",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})}):""}),(0,kF.RB)()?(0,va.jsx)(vx.H,{field:e.fields.Detail}):(0,va.jsx)(va.Fragment,{children:(null===(d=e.fields)||void 0===d?void 0:null===(a=d.Detail)||void 0===a?void 0:a.value)?(0,va.jsx)(vx.H,{field:e.fields.Detail}):""})]}),(null===(o=e.fields)||void 0===o?void 0:null===(t=o.Link)||void 0===t?void 0:t.value)?(0,va.jsxs)(vk,{field:null===(r=e.fields)||void 0===r?void 0:r.Link,className:"btn btn--white",children:[(0,va.jsx)("span",{children:(0,va.jsx)(vm.x,{field:null===(u=e.fields)||void 0===u?void 0:null===(v=u.LinkTitle)||void 0===v?void 0:null===(c=v.fields)||void 0===c?void 0:c.Phrase})}),(0,va.jsx)("span",{className:"icon-angle"})]}):""]})]}),(0,va.jsx)("div",{className:"col-2",children:(0,va.jsx)("div",{className:""})})]})})})})}):(0,va.jsx)(va.Fragment,{})};let wS=e=>{var l;let{sitecoreContext:i}=(0,vr.z)(),s=i.pageEditing,n=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);vD(e,"Items",!0)&&(n=e.fields.Items.map(e=>e.fields));let a=[];return n&&(null==n?void 0:n.length)>0&&(a=n.map((e,l)=>{var i,n,a,d;return(0,va.jsx)("div",{className:"col-12 col-lg-6",children:(0,va.jsxs)("div",{className:"nebh-item module-wrapper reveal",children:[(0,va.jsx)("div",{className:"nebh-imgWrap",children:(0,va.jsx)(m7,{field:e.Image})}),(0,va.jsxs)("div",{className:"nebh-info",children:[(0,va.jsx)(uf,{tag:"h4",raw:!0,Text:null==e?void 0:e.DateRange}),(0,va.jsx)(uf,{tag:"h3",raw:!0,Text:null==e?void 0:e.EventName}),(0,va.jsx)(vx.H,{field:null==e?void 0:e.Shortparagraph}),(s||(null==e?void 0:null===(i=e.Address)||void 0===i?void 0:i.value))&&(0,va.jsxs)("div",{className:"address-wrap",children:[(0,va.jsx)("span",{className:"icon-location_on"}),(0,va.jsx)(uf,{Text:null==e?void 0:e.Address,raw:!0})]}),(s||(null==e?void 0:null===(n=e.Telephone)||void 0===n?void 0:n.value))&&(0,va.jsxs)("div",{className:"tel-wrap",children:[(0,va.jsx)("span",{className:"icon-call"}),(0,va.jsx)(uf,{Text:null==e?void 0:e.Telephone,raw:!0})]}),(s||(null==e?void 0:null===(d=e.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href))&&(0,va.jsx)(vk,{field:null==e?void 0:e.Link,target:"_blank",rel:"noopener noreferrer",children:(0,va.jsx)(uf,{Text:null==e?void 0:e.LinkText,raw:!0})})]})]})},l)})),(0,va.jsx)("div",{className:"row",children:a})},wk=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"Items",!0))return[];let r=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,c=(null==e?void 0:null===(n=e.params)||void 0===n?void 0:n.DetailTemplate)?null==e?void 0:null===(a=e.params)||void 0===a?void 0:a.DetailTemplate:ux.t9.NeighborhoodTeaser,v=null!==(o=null==l?void 0:null===(t=l.sitecore)||void 0===t?void 0:null===(d=t.context)||void 0===d?void 0:d.language)&&void 0!==o?o:"en";return r?await (0,up.q)(r,c,v,4,!0):[]};var ww=wS,wy=e=>{var l;let{t:i,locale:s}=(0,vT.QT)();if(!(null==e?void 0:e.Items)||(null==e?void 0:null===(l=e.Items)||void 0===l?void 0:l.length)<=0)return(0,va.jsx)(va.Fragment,{});let n=Object.values(null==e?void 0:e.Items).map((e,l)=>{var n,a,d;return(0,va.jsxs)("div",{className:"swiper-slide",children:[(0,kF.RB)()?(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:e.Title})}):(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(n=e.Title)||void 0===n?void 0:n.value)&&(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:e.Title})})}),(0,kF.RB)()?(0,va.jsx)(vx.H,{field:null==e?void 0:e.LandingTeaserText}):(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(a=e.LandingTeaserText)||void 0===a?void 0:a.value)?(0,va.jsx)(vx.H,{field:null==e?void 0:e.LandingTeaserText}):""}),(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(d=e._UrlInfo)||void 0===d?void 0:d.path,s()),className:"btn btn--white",children:[(0,va.jsx)("span",{children:i(gm.L.Teasers.Explore)?i(gm.L.Teasers.Explore):"Explore"}),(0,va.jsx)("span",{className:"icon-angle"})]})]},l)});return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"swiper-container slider slider--stay-hero slider--stay-hero--content",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:n})})})},wE=e=>{let{locale:l}=(0,vT.QT)(),i=[];
1return null==e||e.Items.forEach(e=>{var l,s,n,a,d,t,o;(null===(n=e.RoomType)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(l=s.Value)||void 0===l?void 0:l.value)&&(i.find(l=>{var i,s,n;return l.key==(null===(n=e.RoomType)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value)})?null===(a=i.find(l=>{var i,s,n;return l.key==(null===(n=e.RoomType)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value)}))||void 0===a||a.value.push(e):i.push({key:null==e?void 0:null===(o=e.RoomType)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:null===(d=t.Value)||void 0===d?void 0:d.value,value:[e]}))}),(0,va.jsx)("div",{className:"stay-list d-none d-lg-block force",children:Object.values(i).map((e,i)=>(0,va.jsx)("div",{className:"stay-nav stay-nav--".concat(null==e?void 0:e.key.toLowerCase()," pl-0"),"data-anchor":"stay-".concat(null==e?void 0:e.key.toLowerCase()),children:Object.values(null==e?void 0:e.value).map((e,i)=>{var s,n;return(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)("div",{className:"stay-nav__item",children:(0,va.jsx)("h2",{children:(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(s=e._UrlInfo)||void 0===s?void 0:s.path,l()),children:null==e?void 0:null===(n=e.Title)||void 0===n?void 0:n.value})})})},i)})},i))})};vL.ZP.registerPlugin(vI.V),vL.ZP.registerPlugin(v_());let wC=async(e,l)=>{var i,s,n,a,d,t,o;if(vD(e,"SelectedRooms",!0))return[];let r=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,c=null!==(o=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==o?o:"en",v=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.template)?null==e?void 0:null===(t=e.params)||void 0===t?void 0:t.template:ux.t9.RoomDetail;return r?await (0,up.q)(r,v,c,50,!1):[]};var wO=e=>{var l;let i=(0,vd.useRef)(null),s=(0,vd.useRef)(null),{locale:n}=(0,vT.QT)(),a=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid);if(vD(e,"SelectedRooms",!0)&&(a=e.fields.SelectedRooms.map(e=>({...e.fields,_UrlInfo:{url:e.url,path:e.url},Url:{value:e.url}}))),(0,vI.V)(()=>{if(!document.querySelector(".page--stay"))return;let e=i.current,l=0,n=()=>{let i=null==e?void 0:e.querySelector(".stay-horizontal-wrapper");i&&(l=i.offsetWidth-window.innerWidth)};e&&(n(),v_().create({trigger:s.current,start:"top top",end:()=>{if(!(window.innerWidth>=992))return n(),"+=".concat(l);{var i;let l=(null===(i=e.querySelector(".stay-list"))||void 0===i?void 0:i.offsetHeight)-window.innerHeight;return"+=".concat(l)}},pin:".hero-wrapper",onUpdate:e=>{let i=-l;i*=Number(e.progress.toFixed(3)),vL.ZP.to(".stay-horizontal-wrapper",{left:i,duration:0})}}))},{scope:i}),!(null==a?void 0:a.length))return(0,va.jsx)(va.Fragment,{});let d=[];return a.forEach(e=>{var l,i,s,n,a,t,o,r,c;(null==e?void 0:null===(s=e.RoomType)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Value)||void 0===l?void 0:l.value)&&!d.find(l=>{var i,s,n;return l.key==(null==e?void 0:null===(n=e.RoomType)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value)})&&d.push({key:null==e?void 0:null===(t=e.RoomType)||void 0===t?void 0:null===(a=t.fields)||void 0===a?void 0:null===(n=a.V
1alue)||void 0===n?void 0:n.value,value:null==e?void 0:null===(c=e.RoomType)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:null===(o=r.Text)||void 0===o?void 0:o.value})}),(0,va.jsxs)("div",{ref:i,children:[(0,va.jsx)("div",{id:"trigger-stay",ref:s}),(0,va.jsxs)("div",{className:"hero-wrapper",children:[(0,va.jsxs)("div",{className:"stay-hero",children:[(0,va.jsx)("div",{className:"swiper-container slider slider--stay-hero slider--stay-hero--img d-none d-lg-block",children:(0,va.jsx)("div",{className:"swiper-wrapper",children:Object.values(a).map((e,l)=>{var i,s,a,d,t,o,r,c;return(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsx)("div",{className:"img-wrap",children:(0,va.jsx)("a",{href:(0,vS.at)(null==e?void 0:null===(i=e.Url)||void 0===i?void 0:i.value,n()),children:(null==e?void 0:null===(a=e.LandingTeaserImage)||void 0===a?void 0:null===(s=a.value)||void 0===s?void 0:s.src)&&(0,va.jsx)("img",{alt:"".concat(null!==(c=null==e?void 0:null===(t=e.LandingTeaserImage)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.alt)&&void 0!==c?c:""),src:null==e?void 0:null===(r=e.LandingTeaserImage)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.src})})})},l)},l)})})}),(0,va.jsx)("div",{className:"stay-horizontal-wrapper d-inline-flex d-lg-none",children:Object.values(a).map((e,l)=>{var i,s,n,a,d,t,o,r,c,v,u;return(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)("div",{className:"img-wrap img-wrap--stay-".concat(null==e?void 0:null===(a=e.RoomType)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.Value)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.toLocaleLowerCase()),children:(null==e?void 0:null===(t=e.LandingTeaserMobileImage)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.src)&&(0,va.jsx)("img",{src:null==e?void 0:null===(r=e.LandingTeaserMobileImage)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.src,alt:"".concat(null!==(u=null==e?void 0:null===(v=e.LandingTeaserMobileImage)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.alt)&&void 0!==u?u:"")})},l)},l)})}),(0,va.jsx)(wy,{Items:a})]}),(0,va.jsx)("div",{className:"anchor anchor-d d-none d-lg-block",children:Object.values(d).map((e,l)=>{var i,s;return(0,va.jsx)(vd.Fragment,{children:(0,va.jsxs)("div",{className:"anchor__nav ".concat(0==l&&"active"),"data-anchor":"stay-".concat(null===(i=e.key)||void 0===i?void 0:i.toLocaleLowerCase()),id:"anchor-stay-".concat(null===(s=e.key)||void 0===s?void 0:s.toLocaleLowerCase()),children:[(0,va.jsx)("div",{className:"label",children:e.value}),(0,va.jsx)("div",{className:"shape"})]},l)},l)})}),(0,va.jsx)("div",{className:"anchor anchor-m d-block d-lg-none",children:Object.values(d).map((e,l)=>{var i,s;return(0,va.jsx)(vd.Fragment,{children:(0,va.jsxs)("div",{className:"anchor__nav ".concat(0==l&&"active"),"data-anchor":"stay-".concat(null===(i=e.key)||void 0===i?void 0:i.toLocaleLowerCase()),id:"anchor-m-stay-".concat(null===(s=e.key)||void 0===s?void 0:s.toLocaleLowerCase()),children:[(0,va.jsx)("div",{className:"label",children:e.value}),(0,va.jsx)("div",{className:"shape"})]},l)},l)})})]}),(0,va.jsx)(wE,{Items:a}),(0,va.jsx)("div",{className:"spacer"})]})};let wL=e=>{var l,i,s,n,a,d,t;let{sitecoreContext:o}=(0,vr.z)(),{t:r,locale:c}=(0,vT.QT)(),v=c(),u={en:"","zh-HK":"!text-[12px] lg:!text-[18px] leading-[12px] lg:leading-[26px] font-bold","zh-CN":"!text-[12px] lg:!text-[18px] leading-[12px] lg:leading-[26px] font-bold"},m=null!==(t=e.fields)&&void 0!==t?t:null==o?void 0:null===(l=o.route)||void 0===l?void 0:l.fields;return m?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"p-40",children:(0,va.jsx)("div",{className:"stay-fpMod module-wrapper",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12 col-lg-6 order-last order-lg-first",children:(0,va.jsx)("div",{className:"stay-fpMod--leftcol",children:(0,va.jsxs)("div",{className:"info-wrap",children:[(0,va.jsx)("h2",{children:r(gm.L.Teasers.DetailsAtAGlance)||"Details at a Glance"}),(null==m?void 0:null===(i=m.Beds)||void 0===i?void 0:i.value)&&(0,va.jsxs)("div",{className:"infoitem",children:[(0,va.jsxs)("div",{className:"title",children:[(0,va.jsx)("span",{className:"icon-bed"}),(0,va.jsx)("h4",{className:"".concat(u[v]),children:r(gm.L.Teasers.Beds)})]}),(0,va.jsx)("div",{className:"content",children:(0,va.jsx)(vm.x,{field:null==m?void 0:m.Beds})})]}),(null==m?void 0:null===(s=m.Beds)||void 0===s?void 0:s.value)&&(0,va.jsxs)("div",{className:"infoitem",children:[(0,va.jsxs)("div",{className:"title",children:[(0,va.jsx)("span",{className:"icon-floor-plan"}),(0,va.jsx)("h4",{className:"".concat(u[v]),children:r(gm.L.Teasers.RoomSize)})]}),(0,va.jsx)("div",{className:"content",children:(0,va.jsx)(vm.x,{field:null==m?void 0:m.RoomSize})})]}),(null==m?void 0:null===(n=m.Occupancy)||void 0===n?void 0:n.value)&&(0,va.jsxs)("div",{className:"infoitem",children:[(0,va.jsxs)("div",{className:"title",children:[(0,va.jsx)("span",{className:"icon-people"}),(0,va.jsx)("h4",{className:"".concat(u[v]),children:r(gm.L.Teasers.Occupancy)})]}),(0,va.jsx)("div",{className:"content",children:(0,va.jsx)(vm.x,{field:null==m?void 0:m.Occupancy})})]}),(null==m?void 0:null===(a=m.FloorplanImage)||void 0===a?void 0:a.value)&&(0,va.jsxs)("button",{type:"button",name:"button",className:"btn btn--white",children:[(0,va.jsx)("span",{children:r(gm.L.Teasers.FloorPlan)}),(0,va.jsx)("span",{className:"icon-plus"})]})]})})}),(0,va.jsx)("div",{className:"col-12 col-lg-6 order-first order-lg-last",children:(0,va.jsx)("div",{className:"stay-fpMod--rightcol",children:(0,va.jsxs)("div",{className:"stay-fpMod--imgWrap",children:[(0,va.jsx)("div",{className:"stay-fpMod--img",children:(0,va.jsx)(vg.E,{field:null==m?void 0:m.CoverImage})}),(null==m?void 0:null===(d=m.FloorplanImage)||void 0===d?void 0:d.value)&&(0,va.jsx)("div",{className:"overlay js-floorplan",children:(0,va.jsxs)("div",{className:"content-wrap",children:[(0,va.jsx)(vg.E,{field:null==m?void 0:m.FloorplanImage}),r(gm.L.Teasers.FloorPlan)]})})]})})})]})})})}):(0,va.jsx)(va.Fragment,{})};var wI=i(80717),wF=e=>{var l,i,s,n;let a;return((null===(i=e.VideoLink)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href)&&(a=null===(n=e.VideoLink)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.href),vB(a)&&e.HideIfEmpty)?(0,va.jsx)(va.Fragment,{}):(0,va.jsx)("div",{className:"video-btn-wrap slider--item--video js-triggerVid","data-vi
1d":"hero-index-bg-01","data-vidink":a,children:(0,va.jsx)("button",{className:"icon-playvid",type:"button",name:"button"})})};let w_=async(e,l)=>{var i,s,n,a,d,t;if(vD(e,"Items"))return[];let o=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,r=null!==(t=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==t?t:"en",c=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.template)||ux.t9.TeaserBoxWithHeadlineImage;return o?await p1(o,c,r,10,!0):[]};var wM=e=>{var l,i,s,n,a;let d=(0,um.VG)(null==e?void 0:null===(l=e.rendering)||void 0===l?void 0:l.uid);null==d||d.sort((0,wI.firstBy)((e,l)=>{var i,s,n,a,d;return null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.__Sortorder)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.localeCompare(null==l?void 0:null===(s=l.fields)||void 0===s?void 0:null===(i=s.__Sortorder)||void 0===i?void 0:i.value)}).thenBy((e,l)=>null==e?void 0:e.name.localeCompare(null==l?void 0:l.name))),vD(e,"Items")&&(d=null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Items)||void 0===s?void 0:s.map(e=>({name:"",fields:e.fields})));let{sitecoreContext:t}=(0,vr.z)(),o=null!==(a=null==e?void 0:e.fields)&&void 0!==a?a:null==t?void 0:null===(i=t.route)||void 0===i?void 0:i.fields;return!d||(null==d?void 0:d.length)<=0?(0,va.jsx)(mw,{}):(0,va.jsx)("div",{children:d&&d.map((e,l)=>{var i,s,n,a,d,t,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L;let I="imgL";return((null==o?void 0:null===(n=o.Direction)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value)==="textleft-imageright"&&l%2==0||(null==o?void 0:null===(t=o.Direction)||void 0===t?void 0:null===(d=t.fields)||void 0===d?void 0:null===(a=d.Value)||void 0===a?void 0:a.value)!=="textleft-imageright"&&l%2==1)&&(I="imgR"),(0,va.jsx)("div",{className:"post post--img-text module-wrapper mb-100 ".concat(I),children:(0,va.jsxs)("div",{className:"row align-items-center",children:[(0,va.jsx)("div",{className:"post__img col-12 col-md-6",children:(0,va.jsxs)("div",{className:"img-wrap",children:[(0,va.jsx)(m7,{field:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:r.Image}),(0,va.jsx)(wF,{VideoLink:null===(c=e.fields)||void 0===c?void 0:c.VideoLink,HideIfEmpty:!0})]})}),(0,va.jsxs)("div",{className:"post__text col-12 col-md-6",children:[(0,va.jsx)("div",{className:"text-wrap",children:(0,va.jsxs)("div",{className:(null===(u=e.fields)||void 0===u?void 0:null===(v=u.Title)||void 0===v?void 0:v.value)?"prog--info":"para-wrapper",children:[(null===(x=e.fields)||void 0===x?void 0:null===(m=x.Title)||void 0===m?void 0:m.value)?(0,va.jsx)(uf,{tag:"h2",Text:null===(p=e.fields)||void 0===p?void 0:p.Title,raw:!0}):(0,va.jsx)("div",{className:"rnb-title-wrap",children:(null===(g=e.fields)||void 0===g?void 0:null===(f=g.HeadlineImage)||void 0===f?void 0:null===(h=f.value)||void 0===h?void 0:h.src)?(0,va.jsx)("div",{className:"logo-wrap",children:(0,va.jsx)(m7,{field:null===(j=e.fields)||void 0===j?void 0:j.HeadlineImage})}):(0,va.jsx)("div",{className:"title-text-wrap",children:(0,va.jsx)(uf,{tag:"h2",Text:null===(N=e.fields)||void 0===N?void 0:N.Headline,raw:!0})})}),(0,va.jsx)(uf,{Text:null===(b=e.fields)||void 0===b?void 0:b.QuotedBy,tag:"h4",raw:!0}),(0,va.jsx)(uf,{Text:null===(T=e.fields)||void 0===T?void 0:T.SubTitle,tag:"h5",raw:!0}),(0,va.jsx)(vx.H,{field:null===(S=e.fields)||void 0===S?void 0:S.Detail,className:"sc-richtext-wrapper"})]})}),(0,va.jsx)(fa,{className:(0,vM.Z)("btn btn--white",null===(y=e.fields)||void 0===y?void 0:null===(w=y.Link)||void 0===w?void 0:null===(k=w.value)||void 0===k?void 0:k.class),hideLinkIfEmpty:!0,URL:null===(E=e.fields)||void 0===E?void 0:E.Link,hideIconAngle:!0,RawText:!0,TEXT:null===(L=e.fields)||void 0===L?void 0:null===(O=L.LinkTitle)||void 0===O?void 0:null===(C=O.fields)||void 0===C?void 0:C.Phrase})]})]})},l)})})};let wR=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f;return(0,va.jsx)("div",{className:"info",children:(0,va.jsxs)("div",{className:"info-wrap pr-40",children:[(0,va.jsx)("div",{className:"logo-wrap",children:(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value)?(0,va.jsx)(uf,{tag:"h2",Text:null===(s=e.fields)||void 0===s?void 0:s.Title,raw:!0}):(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.HeadlineImage.value)||void 0===n?void 0:n.src)?(0,va.jsx)(m7,{field:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.HeadlineImage}):(0,va.jsx)(uf,{tag:"h2",Text:null===(t=e.fields)||void 0===t?void 0:t.Headline,raw:!0})}),(0,va.jsx)(uf,{Text:null===(o=e.fields)||void 0===o?void 0:o.QuotedBy,tag:"h4",raw:!0}),(0,va.jsx)(uf,{Text:null===(r=e.fields)||void 0===r?void 0:r.SubTitle,tag:"h5",raw:!0}),(0,va.jsx)(vx.H,{field:null===(c=e.fields)||void 0===c?void 0:c.Detail}),(0,va.jsx)(fa,{className:(0,vM.Z)("btn btn--white",null===(m=e.fields)||void 0===m?void 0:null===(u=m.Link)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.class),hideLinkIfEmpty:!0,URL:null===(x=e.fields)||void 0===x?void 0:x.Link,hideIconAngle:!0,RawText:!0,TEXT:null===(f=e.fields)||void 0===f?void 0:null===(h=f.LinkTitle)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:p.Phrase})]})})},wP=e=>{var l;return(0,va.jsxs)(Tf,{URL:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Link,className:"fnb-imgtext--imgWrap",children:[(0,va.jsx)("div",{className:"fnb-imgtext--img",children:(0,va.jsx)(vg.E,{field:null==e?void 0:e.fields.Image})}),(0,va.jsx)("div",{className:"overlay",children:(0,va.jsx)("div",{className:"fnb-imgtext--img",children:(0,va.jsx)(vg.E,{field:null==e?void 0:e.fields.HoveredImage})})})]})},wA=async(e,l)=>{var i,s,n,a,d,t;if(vD(e,"Items",!0))return{};let o=e.dataSource?e.dataSource:null==l?void 0:null===(s=l.sitecore)||void 0===s?void 0:null===(i=s.route)||void 0===i?void 0:i.itemId,r=null!==(t=null==l?void 0:null===(a=l.sitecore)||void 0===a?void 0:null===(n=a.context)||void 0===n?void 0:n.language)&&void 0!==t?t:"en",c=(null==e?void 0:null===(d=e.params)||void 0===d?void 0:d.template)||ux.t9.TeaserBoxWithHeadlineImage;return{Direction:o?await pn(o,r):{},Arr:o?await p1(o,c,r,10,!0):[]}};var wD=e=>{var l,i,s,n,a;let d=(0,um.VG)(null==e?void 0:null===(l=e.rendering)||void 0===l?void 0:l.uid),t=null==d?void 0:null===(i=d.Arr)||void 0===i?void 0:i.sort((e,l)=>null==e?void 0:e.name.localeCompare(l.name));return(vD(e,"Items",!0)&&(d={Direction:null===(s=e.fields)||void 0===s?void 0:s.Direction,Arr:null===(n=e.fields)||void 0===n?void 0:n.Items},t=null===(a=e.fields)||void 0===a?void 0:a.Items),null==d?void 0:d.Arr.length)?(0,va.jsx)("div",{className:"body",children:(0,va.jsx)("div",{className:"fnb-imgtext force",children:!!(null==t?void 0:t.length)&&(null==t?void 0:t.map((e,l)=>{var i,s,n,a;let t="imgL";return((null==d?void 0:null===(s=d.Direction)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:i.Value.value)==="TextLeftImageRight"&&l%2==0||(null==d?void 0:null===(a=d.Direction)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:n.Value.value)!=="TextLeftImageRight"&&l%2==1)&&(t="imgR"),(0,va.jsx)(vd.Fragment,{children:"imgL"==t?(0,va.jsx)("div",{className:"fnb-imgtext--item ".concat(t," module-wrapper"),"data-index":l,children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12 col-lg-5 order-last order-lg-first",children:(0,va.jsx)(wR,{...e})}),(0,va.jsx)("div",{className:"col-12 col-lg-7 order-first order-lg-last",children:(0,va.jsx)(wP,{...e})})]})},l):(0,va.jsx)("div",{className:"fnb-imgtext--item imgR module-wrapper","data-index":l,children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12 col-lg-7",children:(0,va.jsx)(wP,{...e})}),(0,va.jsx)("div",{className:"col-12 col-lg-5 ",children:(0,va.jsx)(wR,{...e})})]})},l)},l)}))})}):(0,va.jsx)(mw,{})};class wB extends p4{async GetThcOfferTeaser(e,l,i,s){let n=await this.GetThcOfferTeasers(e,l,i,s);return(null==n?void 0:n.length)?n[0]:{}}async GetThcOfferTeasers(e,l,i,s){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:10,a=!(arguments.length>5)||void 0===arguments[5]||arguments[5],d=[],t=this.GetRootTemplate(s),o=await x7(e,t,l);if((null==s?void 0:s.rootpath)||(null==o?void 0:o.length)){let e=(null==s?void 0:s.rootpath)||o[0].id;if(null==e?void 0:e.length){let t=this.GetSearchFieldName(s),o=this.GetSearchFieldValue(i,s),r=this.GetSearchTemplate(s);if(o&&t){let i=await Sx(e,r,l,t,o,n,a);(null==i?void 0:i.length)&&d.push(...i)}}}return d}GetRootTemplate(e){return(null==e?void 0:e.rootid)||ux.t9.NavigationRoot}GetSearchFieldName(e){return(null==e?void 0:e.fname)||"OffersMatchingTag"}GetSearchFieldValue(e,l){return(null==l?void 0:l.fvalue)||e}GetSearchTemplate(e){return(null==e?void 0:e.pageTid)||ux.t9.OfferDetail}constructor(e){super(e)}}let wV=new wB({cacheTimeout:300}),wW=async(e,l)=>{var i,s,n,a,d,t,o,r,c,v,u,m,x,p;if(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.data)||void 0===i?void 0:i.datasource)return{};if(null==e?void 0:null===(n=e.dataSource)||void 0===n?void 0:n.length){let i=await pa(e.dataSource,null!==(x=null==l?void 0:null===(m=l.sitecore)||void 0===m?void 0:null===(u=m.context)||void 0===u?void 0:u.language)&&void 0!==x?x:"en");return i?{offerData:i}:{}}let h=(null==l?void 0:null===(d=l.sitecore)||void 0===d?void 0:null===(a=d.route)||void 0===a?void 0:a.itemId)||"",f=null!==(p=null==l?void 0:null===(o=l.sitecore)||void 0===o?void 0:null===(t=o.context)||void 0===t?void 0:t.language)&&void 0!==p?p:"en",g=null==l?void 0:null===(v=l.sitecore)||void 0===v?void 0:null===(c=v.route)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:r.OffersMatchingTag,j=await wV.GetThcOfferTeaser(h,f,null==g?void 0:g.id,null==e?void 0:e.params);return j._UrlInfo?{offerData:j}:{}};var wH=e=>{var l,i,s,n,a,d,t,o,r,c;let v=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),{t:u,locale:m}=(0,vT.QT)(),x=null==v?void 0:v.offerData;if((null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.data)||void 0===s?void 0:null===(i=s.datasource)||void 0===i?void 0:i.url)&&(x={url:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.data)||void 0===r?void 0:null===(o=r.datasource)||void 0===o?void 0:o.url,Title:e.fields.data.datasource.Title.jsonValue,ShortParagraph:e.fields.data.datasource.ShortParagraph.jsonValue}),!(null==x?void 0:null===(a=x.url)||void 0===a?void 0:a.path))return(0,va.jsx)(va.Fragment,{});(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Title)&&(x.Title=e.fields.Title,x.ShortParagraph=e.fields.ShortParagraph);let p=(0,vS.at)(null==x?void 0:null===(t=x.url)||void 0===t?void 0:t.path,m()),h=u(gm.L.PageContent.LearnMore);return(0,va.jsx)("div",{className:"component component__col p-40 module-wrapper reveal",children:(0,va.jsx)(ko,{className:"text-module text-module--offer",SubTitle:u(gm.L.PageContent.Offer),Title:null==x?void 0:x.Title,Details:null==x?void 0:x.ShortParagraph,children:(0,va.jsx)(fa,{URL:p,TEXT:h,className:"btn btn--white",TextTag:"span"})})})};let wG=()=>{let{t:e}=(0,vT.QT)();return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("h2",{children:e(gm.L.Teasers.AlsoAvailable)}),(0,va.jsxs)("div",{className:"box item img-text bg-dark-grey",children:[(0,va.jsx)("div",{className:"img"}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{}),(0,va.jsx)("p",{className:"link",children:(0,va.jsx)("a",{href:"#",children:(0,va.jsx)("span",{className:"sp sp-view_link_
1icon"})})})]})]})]})},wU=e=>e.fields?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)(vk,{field:e.fields.Link,className:"ro btn btn--white",children:[(0,va.jsx)(vm.x,{field:e.fields.LinkText}),(0,va.jsx)("span",{className:"sp sp-view_arrow_off"})]})}):(0,va.jsx)(va.Fragment,{}),wz=e=>e.fields?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)(vk,{field:e.fields.TeaserLink,target:"_blank",className:"btn btn--white",children:[(0,va.jsx)(vm.x,{field:e.fields.TeaserLinkText}),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})}):(0,va.jsx)(va.Fragment,{}),wq=e=>{var l,i;return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"@Model.CssClass",children:[(0,va.jsxs)("h2",{className:"expandable-title mobile",children:[null===(i=e.fields)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value,(0,va.jsx)("span",{className:"sp sp-m_collapse_w"})]}),(0,va.jsxs)("div",{className:"cols-2 equal-height-col expandable-content",children:[(0,va.jsx)("div",{className:"col img-blocks",children:(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{media:e.fields.Image})})}),(0,va.jsx)("div",{className:"col",children:(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)(vm.x,{field:e.fields.Body}),e.fields.TeaserLinks&&e.fields.TeaserLinks.length>0&&(0,va.jsxs)("div",{className:"suggestions",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.SuggestionTitle})}),e.fields.TeaserLinks.map((e,l)=>(0,va.jsx)("p",{children:(0,va.jsxs)(vk,{field:e,className:"btn btn--white",children:[(0,va.jsx)(vm.x,{field:e.LinkText}),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})},l))]})]})})]})]})})},wQ=e=>(0,va.jsxs)("div",{className:e.fields.CssClass.value,children:[(0,va.jsxs)("h2",{className:"expandable-title mobile",children:[e.fields.Title.value,(0,va.jsx)("span",{className:"sp sp-m_collapse_w"})]}),(0,va.jsxs)("div",{className:"cols-2 equal-height-col expandable-content",children:[(0,va.jsx)("div",{className:"col",children:(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)(fc.H,{field:e.fields.Body}),e.fields.TeaserLinks&&e.fields.TeaserLinks.length>0&&(0,va.jsxs)("div",{className:"suggestions",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.SuggestionTitle})}),e.fields.TeaserLinks.map((e,l)=>(0,va.jsx)("p",{children:(0,va.jsxs)(vk,{field:e.Link,editable:!0,className:"btn btn--white",children:[(0,va.jsx)(vm.x,{field:e.LinkText}),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})},l))]})]})}),(0,va.jsx)("div",{className:"col img-blocks",children:(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.Image,editable:!0})})})]})]});var wY=e=>(0,va.jsxs)("div",{className:"box bg-dark-grey expandable",children:[(0,va.jsxs)("h2",{className:"expandable-title mobile",children:["Meetings",(0,va.jsx)("span",{className:"sp sp-m_collapse_w"})]}),(0,va.jsxs)("div",{className:"cols-2 expandable-content",children:[(0,va.jsxs)("div",{className:"cols-2 equal-height-col",children:[(0,va.jsx)("div",{className:"col img-blocks",children:(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.Image,editable:!0})})}),(0,va.jsx)("div",{className:"col",children:(0,va.jsx)("div",{className:"text",children:(0,va.jsx)(fc.H,{field:e.fields.LeftBody})})})]}),(0,va.jsxs)("div",{className:"cols-2 equal-height-col",children:[(0,va.jsx)("div",{className:"col border",children:(0,va.jsx)("div",{className:"text",children:(0,va.jsx)(fc.H,{field:e.fields.RightBody})})}),(0,va.jsx)("div",{className:"col",children:e.fields.TeaserLinks&&e.fields.TeaserLinks.length>0&&(0,va.jsxs)("div",{className:"text suggestions",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.fields.SuggestionTitle})}),e.fields.TeaserLinks.map((e,l)=>(0,va.jsx)("p",{children:(0,va.jsxs)(vk,{field:e.Link,editable:!0,className:"btn btn--white",children:[(0,va.jsx)(vm.x,{field:e.LinkText}),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})},l))]})})]})]})]});let wK=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"see-our-location footer-box",children:[(0,va.jsx)("p",{className:"heading",children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsxs)("div",{className:"text bg-dark-grey",children:[(0,va.jsx)(vm.x,{field:e.fields.TeaserBody}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:e.fields.Link,className:"btn btn--white",children:[(0,va.jsx)(vm.x,{field:e.fields.LinkText}
1),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]})}),w$=e=>e.fields?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLabel})}),(0,va.jsx)(vm.x,{field:e.fields.TeaserBody}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:e.fields.TeaserLink,className:"btn btn--white",children:[(0,va.jsx)(vm.x,{field:e.fields.TeaserLinkText}),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]}),(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.TeaserImage,alt:e.fields.TeaserLabel})})]}):(0,va.jsx)(va.Fragment,{}),wZ=e=>e.fields?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLabel})}),(0,va.jsx)(vm.x,{field:e.fields.TeaserBody}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:e.fields.TeaserLink,children:[(0,va.jsx)(vm.x,{field:e.fields.TeaserLinkText}),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]}),(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{media:e.fields.TeaserImage})})]}):(0,va.jsx)(va.Fragment,{}),wJ=e=>e.fields?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"box",children:(0,va.jsxs)("div",{className:"item text-img bg-white",children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLabel})}),(0,va.jsx)(vm.x,{field:e.fields.TeaserBody}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:e.fields.TeaserLink,children:[(0,va.jsx)(vm.x,{field:e.fields.TeaserLinkText}),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]}),(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.TeaserImage})})]})})}):(0,va.jsx)(va.Fragment,{}),wX=e=>e.fields?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"box",children:(0,va.jsxs)("div",{className:"item text-img bg-white",children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLabel})}),(0,va.jsx)(vm.x,{field:e.fields.TeaserBody})]}),(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.TeaserImage,alt:e.fields.TeaserLabel})})]})})}):(0,va.jsx)(va.Fragment,{}),w0=e=>{var l,i;return e.fields?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"latest-offers cross-promotions",children:[(0,va.jsx)("p",{className:"heading",children:(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value)&&e.fields.Title.value}),(0,va.jsxs)("div",{className:"img-text",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.TeaserImage,alt:e.fields.TeaserLabel})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("p",{className:"heading",children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLabel})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserSummary})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:e.fields.TeaserLink,className:"btn btn--white",children:[(0,va.jsx)(vm.x,{field:e.fields.TeaserLinkText}),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]})]})}):(0,va.jsx)(va.Fragment,{})},w1=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"action",children:(0,va.jsx)(vk,{field:e.fields.Link,className:"button btn btn--white",children:(0,va.jsx)(vm.x,{field:e.fields.LinkText})})})}),w2=e=>{let{t:l}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"bg-transparent-black",children:(0,va.jsxs)("div",{className:"content",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserText})}),(0,va.jsx)("div",{className:"tab-content",children:(0,va.jsx)("div",{className:"content","data-mobile-list":"1",children:(0,va.jsxs)("div",{className:"items",children:["@foreach (var venue in items)",e.fields.items.map((e,i)=>(0,va.jsxs)("div",{className:"item venue-item bg-white",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vk,{field:e.Link,children:(0,va.jsx)(vg.E,{media:e.Image})})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:e.Title})}),(0,va.jsx)("p",{className:"capacity",children:(0,va.jsx)(vm.x,{field:e.SubTitle})}),(0,va.jsx)("div",{className:"dot",children:(0,va.jsx)(vm.x,{field:e.Body})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:e.Link,className:"btn btn--white",children:[l(gm.L.Teasers.ViewVenueDetails),(0,va.jsx)("span",{className:"sp sp-view_link_
1icon"})]})})]})]},i))]})})})]})})})},w5=e=>e.fields?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"partners",children:["@foreach (var item in Model.TeaserSelected)",e.fields.TeaserSelected.map((e,l)=>(0,va.jsxs)("div",{className:"item",children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{media:e.TeaserImage})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.TeaserLabel})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.TeaserSummary})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:e.TeaserLink,className:"btn btn--white",children:[(0,va.jsx)(vm.x,{field:e.TeaserLinkText}),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})]},l))]})}):(0,va.jsx)(va.Fragment,{}),w3=e=>{let{t:l}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"cols-2 cols2-awards-content equal-height-col bg-white",children:[(0,va.jsx)("div",{className:"col col-year tablet desktop",children:(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h3",{children:l(gm.L.Teasers.SelectAYear)}),(0,va.jsx)("ul",{children:e.fields.TabList.map((e,l)=>(0,va.jsx)("li",{children:(0,va.jsxs)("a",{href:"".concat(e.TeaserValue),className:"ro ex-toggle",children:[(0,va.jsx)(vm.x,{field:e.TeaserTitle}),(0,va.jsx)("span",{className:"sp sp-awards_arrow_off"})]})},l))})]})}),(0,va.jsx)("div",{className:"col col-awards",children:(0,va.jsxs)("div",{className:"text",children:[(0,va.jsxs)("h3",{children:[l(gm.L.Teasers.Awards)," "]}),(0,va.jsx)("div",{className:"filters w-50 mobile",children:(0,va.jsxs)("div",{className:"filter-dropdown",children:[(0,va.jsx)("span",{className:"label",children:l(gm.L.Teasers.SelectAYear)}),(0,va.jsx)("div",{className:"custom-select-container",children:(0,va.jsx)("select",{className:"custom",children:e.fields.TabList.map((e,l)=>(0,va.jsxs)("option",{value:"".concat(e.TeaserValue),children:[" ",e.TeaserTitle.value]},l))})})]})}),e.fields.TabList.map((e,l)=>(0,va.jsx)("div",{className:"year",id:"".concat(e.TeaserValue),children:e.AwardList.map((e,l)=>(0,va.jsxs)("div",{className:"item award",children:[(0,va.jsx)("h4",{children:(0,va.jsx)(vm.x,{field:e.Title})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.Organization})}),(0,va.jsxs)("p",{className:"date",children:["Moment(",e.Date.value,").format(","dd MMMM, yyyy",")"]})]},l))},l))]})})]})})},w4=e=>{var l;return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.RelationSelector})}),(0,va.jsx)("h3",{children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Headline})}),(0,va.jsxs)("div",{className:"cols-2",children:[(0,va.jsxs)("div",{className:"col",children:[(0,va.jsx)(vm.x,{field:e.fields.Body}),(0,va.jsx)("p",{className:"back-link",children:(0,va.jsx)(vt.V,{name:"tmh-go-back",rendering:e.rendering})})]}),(0,va.jsx)("div",{className:"col",children:(0,va.jsx)(vt.V,{name:"tmh-contact",rendering:e.rendering})})]})]})},w6=e=>{let{locale:l}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:e.fields.ChildTeaser.map((e,i)=>{vm.x,e.TeaserText,e.TeaserSelected.map((e,i)=>{var s;return(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)("a",{href:"".concat((0,vS.at)(null==e?void 0:null===(s=e.Url)||void 0===s?void 0:s.value,l())),children:[(0,va.jsx)(vm.x,{field:e.Headline}),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})},i)})})})},w8=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLabel})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserSummary})}),(0,va.jsx)("div",{className:"wrapper",children:(0,va.jsx)("div",{className:"contacts",children:(0,va.jsx)(vm.x,{field:e.fields.TeaserBody})})})]}),(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{media:e.fields.TeaserImage,alt:e.fields.TeaserLabel})})]}),w7=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"box item bg-dark-grey",children:(0,va.jsx)("div",{className:"text",children:(0,va.jsx)(vm.x,{field:e.fields.TeaserBody})})})}
1),w9=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLabel})}),(0,va.jsx)("div",{className:"cols2-content equal-height-col",children:(0,va.jsx)(vm.x,{field:e.fields.TeaserBody})})]}),ye=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"text left-link",children:(0,va.jsx)(vm.x,{field:e.fields.TeaserBody})})}),yl=e=>{let{t:l}=(0,vT.QT)();return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"content toggle-tab",children:[(0,va.jsx)("h2",{className:"tablet desktop",children:l(gm.L.Teasers.OurVenueOptions)}),(0,va.jsxs)("div",{className:"text-left desktop",children:[(0,va.jsx)("ul",{className:"tab-buttons half-width-tab x@(items.Count)",children:e.fields.TeaserToggleWithGallerySelected.map((e,l)=>(0,va.jsx)("li",{children:(0,va.jsx)("a",{href:"#".concat(e.ToggleId),className:"".concat(0==l?"active":""),children:(0,va.jsx)(vm.x,{field:e.Title})})},l))}),(0,va.jsx)("div",{className:"download long-label right"})]}),(0,va.jsxs)("div",{className:"toggle-dropdown tablet mobile",children:[(0,va.jsx)("span",{className:"label",children:"View:"}),(0,va.jsx)("select",{className:"custom",children:e.fields.TeaserToggleWithGallerySelected.map((e,l)=>(0,va.jsx)("option",{value:"#".concat(e.ToggleId),children:(0,va.jsx)(vm.x,{field:e.Title})},l))})]})]}),e.fields.TeaserToggleWithGallerySelected.map((e,i)=>{var s;return(0,va.jsx)("div",{id:"#".concat(e.ToggleId),className:"toggle-content ".concat(0==i?"active":""),children:(0,va.jsxs)("div",{className:"bg-white content",children:[(0,va.jsxs)("div",{className:"cols-2 equal-height-col bg-white",children:[(null===(s=e.Gallery)||void 0===s?void 0:s.length)>0&&(0,va.jsx)("div",{className:"col",children:(0,va.jsxs)("div",{className:"inner venue slideshow",children:[(0,va.jsxs)("div",{className:"swiper-container",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:e.Gallery.map((e,l)=>(0,va.jsx)("div",{className:"slide",children:(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{media:e})})},l))}),e.Gallery.length>1&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"ctrl prev ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_larrow_off",children:"Previous"})}),(0,va.jsx)("div",{className:"ctrl next ro",children:(0,va.jsx)("span",{className:"sp sp-carousel_rarrow_off",children:"Next"})})]})]}),(0,va.jsx)("div",{className:"panel"}),(0,va.jsx)("div",{className:"pagination"})]})}),(0,va.jsx)("div",{className:"col",children:(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)(vm.x,{field:e.Body}),(0,va.jsx)("div",{className:"downloads",children:(0,va.jsx)("div",{className:"download",children:(0,va.jsxs)("a",{className:"ro",href:"@item.Document.Src",children:[(0,va.jsx)("span",{className:"cell",children:(0,va.jsx)("span",{className:"sp sp-icon_floorplan_off"})}),(0,va.jsx)("span",{className:"cell",children:l(gm.L.Teasers.DownloadFloorPlan)})]})})})]})})]}),(0,va.jsx)("div",{className:"venue-setup",children:(0,va.jsx)(vm.x,{field:e.BodyBottom})})]})})})]})},yi=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)(vk,{field:e.fields.TeaserLink,className:"btn btn--white",children:[(0,va.jsx)(vm.x,{field:e.fields.TeaserLinkText}),(0,va.jsx)("span",{className:"sp sp-view_list_off"})]})}),ys=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"box col bg-grey-gradient",children:(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLabel})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserSummary})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserBody})})]})})}),yn=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLabel})}),(0,va.jsx)(vm.x,{field:e.fields.TeaserBody})]})}),ya=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLabel})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserSummary})}),(0,va.jsx)("p",{className:"link",children:(0,va.jsxs)(vk,{field:e.fields.TeaserLink,children:[(0,va.jsx)(vm.x,{field:e.fields.TeaserLinkText}
1),(0,va.jsx)("span",{className:"sp sp-view_link_icon"})]})})]})}),yd=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"box col bg-grey-gradient",children:(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLabel})}),(0,va.jsx)("p",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserSummary})}),(0,va.jsx)("p",{children:(0,va.jsx)(vk,{field:e.fields.TeaserLink,className:"button btn btn--white",rel:"nofollow",children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLinkText})})})]})})}),yt=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"cta",children:(0,va.jsxs)("p",{children:[(0,va.jsx)(vm.x,{field:e.fields.TeaserSummary}),(0,va.jsx)(vk,{field:e.fields.TeaserLink,rel:"nofollow",className:"button",children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLinkText})})]})})}),yo=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.TeaserImage,alt:e.fields.TeaserLabel})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLabel})}),(0,va.jsx)(vm.x,{field:e.fields.TeaserBody}),(0,va.jsx)(vk,{field:e.fields.TeaserLink,className:"button btn btn--white",children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLinkText})})]})]}),yr=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"img",children:(0,va.jsx)(vg.E,{field:e.fields.TeaserImage,alt:e.fields.TeaserLabel})}),(0,va.jsxs)("div",{className:"text",children:[(0,va.jsx)("h2",{children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLabel})}),(0,va.jsx)(vm.x,{field:e.fields.TeaserBody})]})]}),yc=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"img",children:[(0,va.jsx)(vk,{field:e.fields.TeaserLink,children:(0,va.jsx)(vg.E,{media:e.fields.TeaserImage})}),(0,va.jsx)(vk,{field:e.fields.TeaserLink,className:"button",children:(0,va.jsx)(vm.x,{field:e.fields.TeaserLinkText})})]})}),yv=e=>{var l,i;let{sitecoreContext:s}=(0,vr.z)(),n=null===(l=s.route)||void 0===l?void 0:l.fields,a=null!==(i=null==e?void 0:e.fields)&&void 0!==i?i:n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("h1",{children:(0,va.jsx)(vm.x,{field:null==a?void 0:a.Title})})})},yu=e=>{var l,i,s,n;let{sitecoreContext:a}=(0,vr.z)(),d=null===(l=a.route)||void 0===l?void 0:l.fields,t=null!==(n=null==e?void 0:e.fields)&&void 0!==n?n:d;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("img",{src:null==t?void 0:null===(s=t.TitleImage)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src})})};var ym=i(63650),yx=i(86859),yp=i(14318),yh=i(72867),yf=i(52686),yg=i(27769),yj=i(88867),yN=i(14448),yb=i(69107),yT=i(27447),yS=i(6942),yk=i(20758);let yw=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(vt.V,{name:"thc-notification-bar",rendering:e.rendering}),(0,va.jsxs)("div",{className:"global-container",children:[(0,va.jsx)(vt.V,{name:"thc-main-header",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-main-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-main-footer",rendering:e.rendering})]})]});var yy=i(44524),yE=i(67687),yC=i(97223),yO=i(30947),yL=i(72074);i(22436),i(51256);var yI=i(19692),yF=e=>{let{slides:l,nextEl:i,prevEl:s}=e,{locale:n}=(0,vT.QT)(),a=e=>{let l=document.querySelector('a[id="'+e+'"]');(0,yI.sendGTMEvent)({event:"offer_interact",offer_title:l.getAttribute("gtm-data"),intent:"discover hotel offer"}),l.click()};return(0,va.jsx)("div",{className:"SSO-swiper sm:mr-[-110px]",children:(0,va.jsx)(SO.tq,{modules:[yL.W_],navigation:{nextEl:i,prevEl:s},breakpoints:{640:{slidesPerView:2.9,spaceBetween:50},0:{slidesPerView:1.2,spaceBetween:30}},children:l.map((e,l)=>{var i,s;return(0,va.jsxs)(SO.o5,{children:[(0,va.jsx)(vg.E,{field:e.fields.Image,priority:!0,className:"w-full cursor-pointer",onClick:e.click?e.click:()=>a(e.id)}),(0,va.jsx)("div",{onClick:e.click?e.click:()=>a(e.id),className:"my-3 text-left text-[17px] leading-[22.68px] font-semibold cursor-pointer tracking-wider",children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsx)("a",{id:e.id,href:(0,vS.at)(null===(i=e.fields.Link.value)||void 0===i?void 0:i.href,n()),target:null===(s=e.fields.Link.value)||void 0===s?void 0:s.target,"gtm-data":e.hotel,className:"hidden"})]},l)})})})};i(54603),i(55311),i(72033);var y_=e=>{let{slides:l,nextEl:i,prevEl:s}=e,{locale:n}=(0,vT.QT)();return(0,va.jsx)(SO.tq,{modules:[yL.W_,yL.pt,yL.xW],effect:"fade",spaceBetween:50,navigation:{nextEl:i,prevEl:s},loop:!0,autoplay:{delay:1e4,disableOnInteraction:!1},children:l.map((e,l)=>(0,va.jsxs)(SO.o5,{className:"mb-20 ",children:[(0,va.jsxs)("div",{className:"relative",children:[(0,va.jsx)(vg.E,{field:e.fields.Image,priority:!0,className:"h-[225px] sm:h-[308px] w-full pt-[25px] object-cover",style:{filter:"blur(5px)"}}),(0,va.jsx)(vg.E,{field:e.fields.Image,priority:!0,className:"sm:h-[400px] h-[225px] sm:w-[86%] w-full absolute sm:top-[0px] top-12 left-1/2 -translate-x-1/2 object-cover"})]}),(0,va.jsxs)("div",{className:"relative mt-12 pl-3 text-left sso-slide-text top-12 font-Amiko",children:[(0,va.jsxs)("div",{className:"text-[26px] leading-[30px] font-semibold",children:[(0,va.jsx)("div",{className:"uppercase",children:(0,va.jsx)(vm.x,{field:e.fields.Heading})}),(0,va.jsx)("br",{}),(0,va.jsx)(vm.x,{field:e.fields.Title})]}),(0,va.jsx)("div",{className:"sm:max-w-[80%] py-3 text-[15px] leading-[21px]",children:(0,va.jsx)(vm.x,{field:e.fields.Description})}),""!=e.fields.LinkText.value&&(0,va.jsx)("button",{className:"sm:text-[16
1px] text-[14px] font-bold sm:leading-[16px] leading-[14px] uppercase py-[15px] px-[30px] bg-tansparent border h-12 !border-black text-black sm:w-[285px] w-full",onClick:l=>{var i,s,a,d,t,o,r,c,v,u,m,x,p,h;l.preventDefault(),(0,yI.sendGTMEvent)({event:"offer_interact",offer_title:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.OfferTitle,intent:"view offer details"}),(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Link)||void 0===a?void 0:null===(s=a.value)||void 0===s?void 0:s.href)&&(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Link)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.target)=="_blank"?window.open((0,vS.at)(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Link)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.href,n())):window.location.href=null!==(h=(0,vS.at)(null==e?void 0:null===(p=e.fields)||void 0===p?void 0:null===(x=p.Link)||void 0===x?void 0:null===(m=x.value)||void 0===m?void 0:m.href,n()))&&void 0!==h?h:""},children:(0,va.jsxs)("div",{className:"flex justify-center items-baseline gap-3",children:[(0,va.jsx)(vm.x,{field:e.fields.LinkText}),(0,va.jsx)("div",{className:"righttriangle"})]})})]})]},l))})},yM=()=>{let[e,l]=(0,vd.useState)(["","","","","",""]),i=(i,s)=>{if("Backspace"===s.key&&i>0&&""==e[i]){let e=document.getElementById("input-".concat(i-1));null!==e&&e.focus()}if("Backspace"===s.key&&""!=e[i]){let s=[...e];s[i]="",l(s)}if("ArrowLeft"===s.key&&i>0){let e=document.getElementById("input-".concat(i-1));null!==e&&e.focus()}if("ArrowRight"===s.key&&i<5){let e=document.getElementById("input-".concat(i+1));null!==e&&e.focus()}},s=(i,s)=>{if(s.currentTarget.value.match(/\d/)){let n=[...e];n[i]=s.currentTarget.value,l(n);let a=document.getElementById("input-".concat(i+1));null!==a&&a.focus()}},n=(i,s)=>{s.preventDefault();let n=(s.clipboardData||window.clipboardData).getData("Text").match(/\d/g)||[],a=[...e];for(let e=i;e<i+n.length&&e<6;e++)a[e]=n[e-i];l(a)};return(0,va.jsx)("div",{id:"InputCode",className:"mx-auto flex justify-between space-x-2",children:e.map((e,l)=>(0,va.jsx)("input",{type:"text",className:"code-input-box h-[45px] w-[45px] bg-white text-black border !border-uh-upper-blue font-bold leading-[26.68px] text-center text-[20px] focus:outline-none",value:e,onKeyDown:e=>i(l,e),onInput:e=>s(l,e),onPaste:e=>n(l,e),maxLength:1,id:"input-".concat(l),autoFocus:0===l},l))})},yR=e=>{let{t:l,locale:i}=(0,vT.QT)(),[s,n]=(0,vd.useState)(!1),[a,d]=(0,vd.useState)(""),[t,o]=(0,vd.useState)(!1),[r,c]=(0,vd.useState)(!0),[v,u]=(0,vd.useState)(""),m=new RegExp(gZ.is.REGEX_EMAIL),[x,p]=(0,vd.useState)(""),h=async()=>{try{n(!0);let s=await fetch(uc.MD.PASSWORD_SEND_RESET_PASSWORD,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({Email:a,locale:i(),Token:x})});n(!1);try{let e=await s.json();e.Token&&p(e.Token)}catch(e){}if(200==s.status)o(!0);else{let i=await s.json();if(i.ErrorCode){var e;let s=null===(e=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===e?void 0:e.label;u(s?l(s):"Send Email Failed")}}}catch(e){n(!1),console.log("Error send email:",e)}},[f,g]=(0,vd.useState)(!1);return(0,va.jsxs)(va.Fragment,{children:[s?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsx)("div",{className:"min-h-[50vh]",children:t?(0,va.jsxs)("div",{className:"m-auto flex flex-col items-center max-w-[580px] gap-5 pb-32 pt-[150px]",children:[(0,va.jsx)("div",{className:"text-center mx-auto text-[18px] leading-6 tracking-widest font-bold pb-3",children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsx)("div",{className:"m-auto text-center text-[15px] leading-[21px] px-[15px]",children:(0,va.jsx)(vm.x,{field:e.fields.DetailAfterSend})}),(0,va.jsx)("a",{onClick:h,className:"text-[15px] leading-5 mt-3 font-semibold border-b border-b-[#808080]",children:(0,va.jsx)(vm.x,{field:e.fields.ReSend})}),""!==v&&(0,va.jsx)("p",{className:"mt-2 text-[11px] text-red-500 error errnormal",children:v}),(0,va.jsx)("a",{className:"text-[15px] leading-5 my-3 font-semibold border-b border-b-[#808080]",onClick:()=>
1o(!1),children:l(mT.W.SSO.Global.GO_BACK)})]}):(0,va.jsxs)("div",{className:"m-auto flex flex-col items-center max-w-[580px] gap-5 pb-32 pt-[150px]",children:[(0,va.jsx)("div",{className:"text-center mx-auto text-[18px] leading-6 tracking-widest font-bold pb-3",children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsx)("div",{className:"m-auto text-center text-[15px] leading-[21px] px-[15px]",children:(0,va.jsx)(vm.x,{field:e.fields.Detail})}),(0,va.jsxs)("div",{className:"w-full max-w-[320px]",children:[(0,va.jsx)("div",{className:"text-[15px] leading-5",children:l(mT.W.SSO.Global.EMAIL)}),(0,va.jsx)("input",{className:"mt-3 w-full border-b border-b-[#828077] bg-transparent text-[13px] outline-none",value:a,onChange:e=>{let l=e.target.value;""!==v&&u(""),d(l),0==l.length?c(!0):c(m.test(l))},placeholder:l(mT.W.SSO.Global.ENTER_EMAIL)}),!r&&(0,va.jsx)("p",{className:"mt-1 text-[11px] text-red-500 error errnormal",children:l(mT.W.SSO.Global.EMAIL_FORMAT)}),(0,va.jsx)("div",{className:"mt-4 flex justify-center sso-captcha text-black",children:(0,va.jsx)(mU,{setToken:e=>{p(e)},fnUpdate:e=>{g(e)},name:"forgetpwd"})}),(0,va.jsx)("button",{type:"button",onClick:h,disabled:!f,className:"my-4 h-10 w-full ".concat(f?"sso_white_btn":"sso_white_btn_disabled"," "),children:l(mT.W.SSO.Password.SEND)}),""!==v&&(0,va.jsx)("p",{className:"mt-1 text-[11px] text-red-500 error errnormal",children:v})]})]})})]})},yP=i(33299),yA=e=>{let{t:l,locale:i}=(0,vT.QT)(),s=()=>{e.setIsLoading(!0);let l=window.location.pathname;(0,yP.signIn)("azureb2c",{callbackUrl:l},{ui_locales:gZ.OE[i()]})},[n,a]=(0,vd.useState)(!1),[d,t]=(0,vd.useState)(""),[o,r]=(0,vd.useState)("");return(async()=>{if(!n){try{let i=(0,kF.WP)(),n=await fetch("".concat(i).concat(uc.MD.PROFILE_GET_PROFILE),{method:"GET",headers:{"Content-Type":"application/json"}});if(200==n.status){let i=await n.json();if(i){var e,l;t(null!==(e=null==i?void 0:i.FirstName)&&void 0!==e?e:""),r(null!==(l=null==i?void 0:i.Id)&&void 0!==l?l:"")}}else 401==n.status&&s()}catch(e){console.error("Error fetching data:",e)}a(!0)}})(),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"hidden min-w-[300px] pr-[30px] sm:block font-Amiko",children:(0,va.jsxs)("div",{className:"text-[25px] font-bold leading-[100%] fixed",children:[(0,va.jsx)("div",{children:l(mT.W.SSO.Global.WELCOME_BACK)}),(0,va.jsx)("div",{children:d}),(0,va.jsx)("div",{className:"text-[15px] leading-[21px]",children:o}),(0,va.jsx)("div",{className:"my-3 border-t border-t-black opacity-50"}),(0,va.jsxs)("ul",{className:"flex flex-col py-3 gap-5 sm:text-[16px] text-[14px] font-normal tracking-0 leading-[16px] uppercase ",children:[(0,va.jsx)("li",{children:(0,va.jsx)("a",{id:"MEMBER_OFFERS",href:"/member/member-offers",onClick:l=>{var s;l.preventDefault(),e.setIsLoading(!0),(0,yI.sendGTMEvent)({event:"member_dashboard_interact",intent:"sidebar nav MEMBER OFFERS"}),window.location.href=null!==(s=(0,vS.at)("/member/member-offers",i()))&&void 0!==s?s:"/member/member-offers"},className:"border-b-2 ".concat("MEMBER_OFFERS"===e.selectedValue?"border-b-[2px] border-b-uh-gold":"border-b-transparent opacity-50"),children:l(mT.W.SSO.Global.MEMBER_OFFERS)})}),(0,va.jsx)("li",{children:(0,va.jsx)("a",{id:"UPCOMING_BOOKING",href:"/member/upcoming-stays",onClick:l=>{var s;l.preventDefault(),e.setIsLoading(!0),(0,yI.sendGTMEvent)({event:"member_dashboard_interact",intent:"sidebar nav UPCOMING STAY"}),window.location.href=null!==(s=(0,vS.at)("/member/upcoming-stays",i()))&&void 0!==s?s:"/member/upcoming-stays"},className:"border-b-2 ".concat("UPCOMING_BOOKING"===e.selectedValue?"border-b-[2px] border-b-uh-gold":"border-b-transparent opacity-50"),children:l(mT.W.SSO.Global.UPCOMING_BOOKING)})}),(0,va.jsx)("li",{children:(0,va.jsx)("a",{id:"MY_PROFILE",href:"/member/my-profile",onClick:l=>{var s;l.preventDefault(),e.setIsLoading(!0),(0,yI.sendGTMEvent)({event:"member_dashboard_interact",intent:"sidebar nav MY PROFILE"}),window.location.href=null!==(s=(0,vS.at)("/member/my-profile",i()))&&void 0!==s?s:"/member/my-profile"},className:"border-b-2 ".concat("MY_PROFILE"===e.selectedValue?"border-b-[2px] border-b-uh-gold":"border-b-transparent opacity-50"),children:l(mT.W.
1SSO.Global.MY_PROFILE)})}),(0,va.jsx)("li",{children:(0,va.jsx)("a",{id:"LOGOUT",onClick:()=>{e.setIsLoading(!0),(0,yI.sendGTMEvent)({event:"member_dashboard_interact",intent:"sidebar nav LOGOUT"}),(0,yP.signOut)({callbackUrl:(0,vS.at)("/",i()),redirect:!0})},className:"border-b-2 ".concat("LOGOUT"===e.selectedValue?"border-b-[2px] border-b-uh-gold":"border-b-transparent opacity-50"," logout"),children:l(mT.W.SSO.Global.LOGOUT)})})]})]})}),(0,va.jsx)("div",{className:"block pt-[100px] pb-5 sm:hidden",children:(0,va.jsxs)("div",{className:"text-[20px]",children:[(0,va.jsxs)("div",{className:"flex gap-1 font-bold text-[18px]",children:[(0,va.jsx)("p",{children:l(mT.W.SSO.Global.WELCOME_BACK)}),(0,va.jsx)("p",{children:d})]}),(0,va.jsx)("p",{className:"text-[15px] leading-[21px]",children:o}),(0,va.jsx)("div",{children:(0,va.jsxs)("select",{onChange:e=>{document.querySelector("#".concat(e.target.value)).click()},value:e.selectedValue,className:"w-full sso-select border-b !border-b-black bg-transparent text-[14px] leading-[20px] focus:outline-none",children:[(0,va.jsx)("option",{className:"text-black",value:"MEMBER_OFFERS",children:l(mT.W.SSO.Global.MEMBER_OFFERS)}),(0,va.jsx)("option",{className:"text-black",value:"UPCOMING_BOOKING",children:l(mT.W.SSO.Global.UPCOMING_BOOKING)}),(0,va.jsx)("option",{className:"text-black",value:"MY_PROFILE",children:l(mT.W.SSO.Global.MY_PROFILE)}),(0,va.jsx)("option",{className:"text-black",value:"LOGOUT",children:l(mT.W.SSO.Global.LOGOUT)})]})})]})})]})};let yD=e=>{let[l,i]=(0,vd.useState)(!0);return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"mb-3 flex justify-between text-[15px] sm:leading-[21px] leading-[100%] font-semibold",children:[(0,va.jsx)(vm.x,{field:e.fields.Subtitle}),(0,va.jsx)("div",{onClick:()=>{i(!l)},className:l?"sso-minus":"sso-plus"})]}),(0,va.jsx)("div",{className:"mb-4 sm:text-[13px] text-[12px] sm:leading-[21px] leading-[16px] sso-richtext-ul",children:(0,va.jsx)(vx.H,{field:e.fields.DescriptionList,className:l?"":"hidden"})})]})};var yB=e=>{var l,i;let{locale:s}=(0,vT.QT)(),n=s(),[a,d]=(0,vd.useState)(!1),{sabreLogin:t}=gJ({selectedHotelId:null===(i=e.fields.HotelId)||void 0===i?void 0:null===(l=i.fields.Value)||void 0===l?void 0:l.value}),o=Object.values(e.fields.SectionList).map((e,l)=>(0,va.jsxs)("div",{className:"mt-8 sm:grid sm:grid-cols-2 sm:gap-[30px]",children:[(0,va.jsx)("div",{className:"w-auto sm:pb-5",children:(0,va.jsx)(vg.E,{field:e.fields.Image,className:"w-full object-cover"})}),(0,va.jsxs)("div",{className:" ",children:[(0,va.jsxs)("div",{className:" text-[16px] leading-[45px] font-semibold flex",children:[(0,va.jsx)(vg.E,{field:e.fields.Icon,className:"mr-2"}),(0,va.jsx)(vm.x,{field:e.fields.Heading})]}),(0,va.jsx)("div",{className:" sm:text-[20px] text-[18px] sm:leading-[45px] leading-[100%] font-bold",children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsx)("div",{className:"mb-4 text-[15px] leading-[21px]",children:(0,va.jsx)(vx.H,{field:e.fields.Description})}),(0,va.jsx)("button",{onClick:()=>{var l;(0,yI.sendGTMEvent)({event:"offer_interact",offer_title:null===(l=e.fields.OfferTitle)||void 0===l?void 0:l.value,intent:"offer book_now"}),t()},className:vP("sm:text-[16px] text-[14px] sm:leading-[16px] leading-[14px] uppercase font-bold border !border-black py-[15px] px-[30px] justify-center ".concat("en"===n?"pb-[12px]":"")),children:(0,va.jsx)(vm.x,{field:e.fields.LinkText})}),(0,va.jsx)("div",{className:"mt-5 my-3 border-t border-t-black opacity-50 "}),(0,va.jsx)(yD,{...e}),(0,va.jsx)("div",{className:"mb-5 border-t border-t-black opacity-50 "})]})]},l));return(0,va.jsxs)(va.Fragment,{children:[a?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsxs)("div",{className:"sm:pt-[137px] pt-[25px] px-[15px] sm:flex sm:px-[30px]",children:[(0,va.jsx)(yA,{setIsLoading:d,selectedValue:"MEMBER_OFFERS"}),(0,va.jsx)("div",{className:"px-[15px] sm:w-[calc(100vw-330px)] sm:px-[30px] sm:mt-[-137px] font-Amiko lg:pt-[70px]",children:(0,va.jsxs)("div",{children:[(0,va.jsxs)("div",{className:"",children:[(0,va.jsx)("div",{className:"w-full",children:(0,va.jsx)("div",{className:"flex justify-end ",children:(0,va.jsx)(vg.E,{field:e.fields.Image,className:"h-[400px] sm:pl-20 sm:w-full w-[80%] object-cover "})})}),(0,va.jsxs)("div",{className:" sm:text-[40px] text-[30px] sm:leading-[44px] leading-[35px] font-bold text-black relative pt-[43px] font-Belleza",children:[(0,va.jsx)("div",{className:"uppercase",children:(0,va.jsx)(vm.x,{field:e.fields.Heading})}),(0,va.jsx)("div",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})})]})]}),o]})})]})]})},yV=e=>{let{t:l}=(0,vT.QT)(),[i,s]=(0,vd.useState)(!0),[n,a]=(0,vd.useState)(!1),d=l=>{if(e.selectedInterest.length>=3&&l.target.checked){a(!0);return}a(!1),l.target.checked&&s(!0);let i=l.target.value;l.target.checked?e.setSelectedInterest([...e.selectedInterest,i]):e.setSelectedInterest(e.selectedInterest.filter(e=>e!==i))},t=()=>{if(0==e.selectedInterest.length){s(!1);return}e.createProfile()};return(0,va.jsx)("div",{className:"",children:(0,va.jsxs)("div",{className:"mx-auto flex max-w-[720px] flex-col items-center pt-[150px] sm:px-5 px-[15px]",children:[(0,va.jsx)("div",{className:" pb-4 text-[18px] leading-6 tracking-widest font-bold",children:l(mT.W.
1SSO.Global.PREFERENCE_SURVEY)}),n&&(0,va.jsx)("p",{className:"error py-2 self-start text-[11px] text-red-500",children:l(mT.W.SSO.Global.MAXIMUM_SELECT)}),!i&&(0,va.jsx)("p",{className:"error py-2 self-start text-[11px] text-red-500",children:l(mT.W.SSO.Global.PLEASE_SELECT)}),(0,va.jsx)("div",{className:" sm:self-start pb-3 text-[15px] leading-5",children:l(mT.W.SSO.Global.INTEREST)}),(0,va.jsx)("div",{className:"grid w-full sm:grid-cols-3 grid-cols-2 gap-2 text-[15px] leading-[21px]",children:gZ.k0.map(i=>(0,va.jsxs)("div",{className:"flex items-start pb-2",children:[(0,va.jsx)("input",{className:"ssoinput mr-1.5 mt-[2px]",type:"checkbox",value:i.code,checked:e.selectedInterest.includes(i.code),onChange:d}),(0,va.jsx)("label",{children:l(i.label)})]},i.code))}),e.createProfileErr&&""!==e.createProfileErrMsg&&(0,va.jsx)("p",{className:"error mt-1 text-center text-[11px] text-red-500 ",children:e.createProfileErrMsg}),(0,va.jsx)("button",{onClick:()=>{(0,yI.sendGTMEvent)({event:"login_signup_interact",login_or_signup:"signup",step_number:4,step_name:"signup-preference-survey",intent:"complete survey",method:e.isEmail?"email":"phone"}),t()},className:"mt-10 w-full sso_black_btn px-10 py-[15px] px-[30px] h-12 text-[16px] leading-[16px] uppercase font-bold",children:l(mT.W.SSO.Global.COMPLETE)}),(0,va.jsxs)("div",{className:"mb-32 mt-10 justify-around flex w-full text-[16px] leading-[16px] uppercase text-black flex-col items-center gap-10 ",children:[(0,va.jsx)("a",{className:"border-b-[2px] border-b-uh-gold border-opacity-50",onClick:()=>{(0,yI.sendGTMEvent)({event:"login_signup_interact",login_or_signup:"signup",step_number:4,step_name:"signup-preference-survey",intent:"skip survey",method:e.isEmail?"email":"phone"}),e.createProfile(!0)},children:l(mT.W.SSO.Global.SKIP)}),(0,va.jsx)("a",{className:"border-b-[2px] border-b-uh-gold border-opacity-50",onClick:()=>{(0,yI.sendGTMEvent)({event:"login_signup_interact",login_or_signup:"signup",step_number:4,step_name:"signup-preference-survey",intent:"go back",method:e.isEmail?"email":"phone"}),e.setStep(3)},children:l(mT.W.SSO.Global.GO_BACK)})]})]})})},yW=i(45007),yH=i(57084),yG=e=>{let{t:l,locale:i}=(0,vT.QT)(),s=(0,vd.useRef)(null),n=(0,vd.useRef)(null),a=e=>{},[d,t]=(0,vd.useState)(!1),{aliyunCaptchaLoaded:o,aliyunCaptchaLoading:r}=(0,yW.v9)(e=>e.scriptLoadStatus),c=(0,yW.I0)();(0,vd.useEffect)(()=>{if(1===e.otpStep){if(console.log("LoginPage useEffect triggered with aliyunCaptchaLoaded: ".concat(o," and aliyunCaptchaLoading: ").concat(r)),o){let l=()=>{window.initAliyunCaptcha({SceneId:"v0q0fre5o",mode:"popup",element:"#subscription-captcha-element",button:"#subscription-captcha-button",success:async i=>{await e.conitune(i),l()},fail:e=>{console.error(e)},getInstance:a,slideStyle:{width:345,height:40},language:vS.QJ[i()],upLang:gZ.xK,captchaLogoImg:mG.src})};l()}else if(!r){let e=document.createElement("script");e.id="aliyun-captcha",e.src="https://o.alicdn.com/captcha-frontend/aliyunCaptcha/AliyunCaptcha.js",document.body.appendChild(e),e.onload=()=>{console.log("Aliyun Captcha script loaded"),c((0,yH.Ah)(!0)),t(!0)},c((0,yH.DO)(!0))}return()=>{var e,l;null===(e=document.getElementById("aliyunCaptcha-mask"))||void 0===e||e.remove(),null===(l=document.getElementById("aliyunCaptcha-window-popup"))||void 0===l||l.remove()}}},[o,r,e.otpStep]);let[v,u]=(0,vd.useState)("desktop");(0,vd.useEffect)(()=>{window.innerWidth>=576?u("desktop"):u("mobile")},[]);let[m,x]=(0,vd.useState)(!0),[p,h]=(0,vd.useState)(!0),[f,g]=(0,vd.useState)(!1),j=new RegExp(gZ.is.REGEX_EMAIL),N=l=>{let i=l.target.value;0==i.length?(e.setEmail(i),x(!0)):(e.setEmail(i),x(j.test(i)))},b=/^[0-9]{5,15}$/,T=l=>{let i=l.target.value;e.setPhoneNum(i),0==i.length?h(!0):h(b.test(i))},S=l=>{let i=l.target.value;e.setPhoneAreaCode(i)},k=()=>{var l,i;(0,yI.sendGTMEvent)({event:"login_signup_interact",login_or_signup:"signup",step_number:1,step_name:"signup-homepage",intent:"continue to signup",method:e.isEmail?"email":"phone"}),g(!0),(!e.isEmail||m)&&(e.isEmail||p)&&(!e.isEmail||""!=e.email)&&(e.isEmail||""!=e.phoneNum)&&(g(!1),"mobile"===v?null===(l=s.current)||void 0===l||l.click():null===(i=n.current)||void 0===i||i.click())};return(0,va.jsxs)("div",{className:"sm:flex sm:flex-row-reverse",children:[(0,va.jsxs)("div",{className:"sm:mt-[70px] lg:w-7
1/12 sm:max-md:w-1/2 sm:bg-black/90",children:[(0,va.jsx)("div",{className:"flex justify-end",children:(0,va.jsx)(vg.E,{field:e.fields.Image,className:"sm:w-full sm:max-h-[630px] object-cover"})}),(0,va.jsxs)("div",{className:"mt-[30px] ml-[10%] pt-10 sm:pt-0 hidden sm:block text-white",children:[(0,va.jsx)("div",{className:" richText-p-32 sso-richtext sm:text-[32px] text-[28px] sm:leading-[45px] leading-[40px] font-normal font-Belleza",children:(0,va.jsx)(vx.H,{field:e.fields.DetailTitle})}),(0,va.jsx)("div",{className:"my-3 sm:text-[15px] text-[14px] max-w-[70%] leading-[21px] font-Amiko",children:(0,va.jsx)(vm.x,{field:e.fields.DetailDescription})}),(0,va.jsxs)("div",{className:"text-[15px] leading-[21px] font-mormal font-Amiko",children:[(0,va.jsxs)("div",{className:"my-3 flex items-start",children:[(0,va.jsx)(vg.E,{className:"mt-[1px] h-[20px] w-[20px] pr-2",field:e.fields.Icon1}),(0,va.jsx)(vm.x,{field:e.fields.List1})]}),(0,va.jsxs)("div",{className:"my-3 flex items-start",children:[(0,va.jsx)(vg.E,{className:"mt-[1px] h-[20px] w-[20px] pr-2",field:e.fields.Icon2}),(0,va.jsx)(vm.x,{field:e.fields.List2})]}),(0,va.jsxs)("div",{className:"my-3 flex items-start",children:[(0,va.jsx)(vg.E,{className:"mt-[1px] h-[20px] w-[20px] pr-2",field:e.fields.Icon3}),(0,va.jsx)(vm.x,{field:e.fields.List3})]}),(0,va.jsxs)("div",{className:"my-3 flex items-start",children:[(0,va.jsx)(vg.E,{className:"mt-[1px] h-[20px] w-[20px] pr-2",field:e.fields.Icon4}),(0,va.jsx)(vm.x,{field:e.fields.List4})]})]})]}),(0,va.jsxs)("div",{className:" mt-10 mx-[15px] mb-10 sm:hidden block",children:[(0,va.jsx)("div",{className:"text-[32px] font-bold mb-2 font-Belleza",children:(0,va.jsx)(vm.x,{field:e.fields.RegistrationTitle})}),(0,va.jsx)("div",{className:"text-[14px] mb-10 font-Amiko",children:(0,va.jsx)(vm.x,{field:e.fields.RegistrationDescription})}),(0,va.jsxs)("form",{className:" flex flex-col items-start sm:ml-0 sm:max-w-[345px]",children:[(0,va.jsx)("div",{className:"text-[14px] ".concat(e.isEmail?"hidden":""),children:l(mT.W.SSO.Global.PHONE_NUMBER)}),(0,va.jsx)("div",{className:"text-[12px] mb-3 ".concat(e.isEmail?"hidden":""),children:l(mT.W.SSO.Global.PHONE_REMARK)}),(0,va.jsx)("div",{className:"text-[14px] mb-3 ".concat(e.isEmail?"":"hidden"),children:l(mT.W.SSO.Global.EMAIL)}),(0,va.jsx)("input",{id:"EmailInput",className:"w-full border-b border-b-black bg-transparent sso-input-autofill text-[13px] outline-none ".concat(e.isEmail?"":"hidden"),value:e.email,onChange:N,placeholder:l(mT.W.SSO.Global.ENTER_EMAIL)}),e.isEmail&&!m&&(0,va.jsx)("p",{className:"error mt-1 text-[11px] text-red-500 font-Amiko",children:l(mT.W.SSO.Global.EMAIL_FORMAT)}),e.isEmail&&f&&""==e.email&&(0,va.jsx)("p",{className:"error mt-1 text-[11px] text-red-500 font-Amiko",children:l(mT.W.SSO.Global.REQUIRED_EMAIL)}),""!==e.sendOTPErrorEmail&&e.isEmail&&(0,va.jsx)("p",{className:"error mt-1 text-[11px] text-red-500 font-Amiko",children:e.sendOTPErrorEmail}),(0,va.jsxs)("div",{className:"grid w-full grid-cols-[20%_77%] gap-2 ".concat(e.isEmail?"hidden":""),children:[(0,va.jsx)("select",{id:"MobileCountry",className:"w-full border-b sso-select border-b-white bg-transparent text-[13px] outline-none ",onChange:S,value:e.phoneAreaCode,children:gZ.y7.map(e=>(0,va.jsx)("option",{className:"text-black",value:e.code,children:e.label},e.code))}),(0,va.jsx)("input",{id:"PhoneNumber",className:"w-full border-b border-b-white sso-input-autofill bg-transparent text-[13px] outline-none ",type:"text",value:e.phoneNum,onChange:T,placeholder:l(mT.W.SSO.Global.ENTER_PHONE)})]}),!p&&!1==e.isEmail&&(0,va.jsx)("p",{className:"error mt-1 pt-2 text-[11px] text-red-500 font-Amiko",children:l(mT.W.SSO.Global.PHONE_FORMAT)}),f&&""==e.phoneNum&&!1==e.isEmail&&(0,va.jsx)("p",{className:"error mt-1 pt-2 text-[11px] text-red-500 font-Amiko",children:l(mT.W.SSO.Global.REQUIRED_PHONE)}),""!=e.sendOTPErrorPhone&&!1==e.isEmail&&(0,va.jsx)("p",{className:"error mt-1 pt-2 text-[11px] text-red-500 font-Amiko",children:e.sendOTPErrorPhone}),"mobile"===v&&(0,va.jsx)("div",{className:"mx-auto mt-4 sso-captcha",children:(0,va.jsxs)("div",{id:"subscription-captcha-b",children:[(0,va.jsx)("div",{id:"subscription-captcha-button",className:"invisible",ref:s}),(0,va.jsx)("div",{id:"subscription-captcha-element",className:"thc"})]})}),(0,va.jsx)("button",{disabled:!o||!d,type:"button",onClick:k,className:"my-4 font-bold h-10 w-full font-Amiko ".concat(d?"sso_black_btn":"sso_black_btn_disabled"),children:l(mT.W.
1SSO.Global.CONTINUE)}),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"my-2 flex w-full items-center",children:[(0,va.jsx)("hr",{className:"flex flex-1 border-t border-t-black border-opacity-50"}),(0,va.jsx)("span",{className:"mx-2 tracking-wider text-[12px] font-bold font-Amiko",children:l(mT.W.SSO.Global.OR)}),(0,va.jsx)("hr",{className:"flex flex-1 border-t border-t-black border-opacity-50"})]}),(0,va.jsx)("button",{onClick:()=>{(0,yI.sendGTMEvent)({event:"login_signup_interact",login_or_signup:"signup",step_number:1,step_name:"signup-homepage",intent:e.isEmail?"signup by email":"signup by phone",method:e.isEmail?"email":"phone"}),e.changeLoginWay()},type:"button",className:"my-4 text-[16px] leading-[16px] h-10 font-bold w-full border !border-black bg-transparent text-black font-Amiko",children:l(e.isEmail?mT.W.SSO.Global.SIGN_UP_BY_PHONE:mT.W.SSO.Global.SIGN_UP_BY_EMAIL)})]})]}),(0,va.jsx)("a",{className:" w-full text-[15px] font-semibold text-black border-b-[2px] border-uh-gold border-opacity-50 font-Amiko",onClick:()=>{(0,yI.sendGTMEvent)({event:"login_signup_interact",login_or_signup:"signup",step_number:1,step_name:"signup-homepage",intent:"login now",method:e.isEmail?"email":"phone"}),e.toLogin()},children:l(mT.W.SSO.Global.LOGIN_NOW)})]})]}),(0,va.jsxs)("div",{className:"lg:w-5/12 sm:max-md:w-1/2",children:[(0,va.jsxs)("div",{className:" sm:mt-[120px] sm:pl-[5%] px-[15px] mb-32 hidden xl:min-w-[345px] w-full sm:block",children:[(0,va.jsx)("div",{className:"text-[32px] sm:text-[40px] leading-[44px] font-normal mb-2 font-Belleza ",children:(0,va.jsx)(vm.x,{field:e.fields.RegistrationTitle})}),(0,va.jsx)("div",{className:"text-[15px] leading-[21px] mt-10 mb-10 font-normal lg:pr-[40px] font-Amiko ",children:(0,va.jsx)(vm.x,{field:e.fields.RegistrationDescription})}),(0,va.jsxs)("form",{className:" flex flex-col items-start sm:ml-0 lg:w-[345px] w-full",children:[(0,va.jsx)("div",{className:"text-[15px] leading-5 font-Amiko ".concat(e.isEmail?"hidden":""),children:l(mT.W.SSO.Global.PHONE_NUMBER)}),(0,va.jsx)("div",{className:"text-[13px] mb-3 font-Amiko ".concat(e.isEmail?"hidden":""),children:l(mT.W.SSO.Global.PHONE_REMARK)}),(0,va.jsx)("div",{className:"text-[15px] leading-5 mb-3 font-Amiko ".concat(e.isEmail?"":"hidden"),children:l(mT.W.SSO.Global.EMAIL)}),(0,va.jsx)("input",{id:"EmailInput",className:"w-full border-b border-b-white sso-input-autofill bg-transparent text-[13px] outline-none ".concat(e.isEmail?"":"hidden"),value:e.email,onChange:N,placeholder:l(mT.W.SSO.Global.ENTER_EMAIL)}),e.isEmail&&!m&&(0,va.jsx)("p",{className:"error mt-1 text-[11px] text-red-500 font-Amiko",children:l(mT.W.SSO.Global.EMAIL_FORMAT)}),e.isEmail&&f&&""==e.email&&(0,va.jsx)("p",{className:"error mt-1 text-[11px] text-red-500 font-Amiko",children:l(mT.W.SSO.Global.REQUIRED_EMAIL)}),""!==e.sendOTPErrorEmail&&e.isEmail&&(0,va.jsx)("p",{className:"error mt-1 text-[11px] text-red-500 font-Amiko",children:e.sendOTPErrorEmail}),(0,va.jsxs)("div",{className:"grid w-full grid-cols-[20%_77%] gap-2 ".concat(e.isEmail?"hidden":""),children:[(0,va.jsx)("select",{id:"MobileCountry",className:"w-full border-b sso-select border-b-white bg-transparent text-[13px] outline-none ",onChange:S,value:e.phoneAreaCode,children:gZ.y7.map(e=>(0,va.jsx)("option",{className:"text-black",value:e.code,children:e.label},e.code))}),(0,va.jsx)("input",{id:"PhoneNumber",className:"w-full border-b border-b-white sso-input-autofill bg-transparent text-[13px] outline-none ",type:"text",value:e.phoneNum,onChange:T,placeholder:l(mT.W.SSO.Global.ENTER_PHONE)})]}),!p&&!1==e.isEmail&&(0,va.jsx)("p",{className:"error mt-1 pt-2 text-[11px] text-red-500 font-Amiko",children:l(mT.W.SSO.Global.PHONE_FORMAT)}),f&&""==e.phoneNum&&!1==e.isEmail&&(0,va.jsx)("p",{className:"error mt-1 pt-2 text-[11px] text-red-500 font-Amiko",children:l(mT.W.SSO.Global.REQUIRED_PHONE)}),""!=e.sendOTPErrorPhone&&!1==e.isEmail&&(0,va.jsx)("p",{className:"error mt-1 pt-2 text-[11px] text-red-500 font-Amiko",children:e.sendOTPErrorPhone}),"desktop"===v&&(0,va.jsx)("div",{className:"mt-4 sso-captcha w-full",children:(0,va.jsxs)("div",{id:"subscription-captcha-b",children:[(0,va.jsx)("div",{id:"subscription-captcha-button",className:"invisible",ref:n}),(0,va.jsx)("div",{id:"subscription-captcha-element",className:"thc"})]})}),(0,va.jsx)("button",{disabled:!o||!d,type:"button",onClick:k,className:"mt-4 mb-4 text-[16px] leading-[16
1px] py-[15px] px-[30px] uppercase font-bold h-12 flex items-center justify-center w-full font-Amiko ".concat(d?"sso_black_btn":"sso_black_btn_disabled"),children:l(mT.W.SSO.Global.CONTINUE)}),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"my-2 flex w-full items-center",children:[(0,va.jsx)("hr",{className:"flex flex-1 border-t border-t-black border-opacity-50"}),(0,va.jsx)("span",{className:"mx-2 text-[13px] font-bold tracking-wider font-Amiko",children:l(mT.W.SSO.Global.OR)}),(0,va.jsx)("hr",{className:"flex flex-1 border-t border-t-black border-opacity-50"})]}),(0,va.jsx)("button",{onClick:()=>{(0,yI.sendGTMEvent)({event:"login_signup_interact",login_or_signup:"signup",step_number:1,step_name:"signup-homepage",intent:e.isEmail?"signup by email":"signup by phone",method:e.isEmail?"email":"phone"}),e.changeLoginWay()},type:"button",className:"my-4 text-[16px] leading-[16px] py-[15px] px-[30px] uppercase font-bold h-12 flex items-center justify-center w-full border !border-black bg-transparent text-black font-Amiko",children:l(e.isEmail?mT.W.SSO.Global.SIGN_UP_BY_PHONE:mT.W.SSO.Global.SIGN_UP_BY_EMAIL)})]})]}),(0,va.jsx)("a",{className:" w-full text-[16px] leading-[16px] uppercase text-black border-b-[2px] border-uh-gold border-opacity-50 font-Amiko",onClick:()=>{(0,yI.sendGTMEvent)({event:"login_signup_interact",login_or_signup:"signup",step_number:1,step_name:"signup-homepage",intent:"login now",method:e.isEmail?"email":"phone"}),e.toLogin()},children:l(mT.W.SSO.Global.LOGIN_NOW)})]}),(0,va.jsxs)("div",{className:" mx-[15px] sm:hidden",children:[(0,va.jsx)("div",{className:"richText-p-32 sso-richtext font-bold !text-[28px] sm:text-[40px] font-Belleza",children:(0,va.jsx)(vx.H,{field:e.fields.DetailTitle})}),(0,va.jsx)("div",{className:"my-3 font-Amiko font-[14px] leading-[21px]",children:(0,va.jsx)(vm.x,{field:e.fields.DetailDescription})}),(0,va.jsxs)("div",{className:"font-Amiko font-[15px] leading-[21px]",children:[(0,va.jsxs)("div",{className:"my-3 flex items-start",children:[(0,va.jsx)(vg.E,{className:"mt-[1px] h-[20px] w-[20px] pr-2",field:e.fields.Icon1}),(0,va.jsx)(vm.x,{field:e.fields.List1})]}),(0,va.jsxs)("div",{className:"my-3 flex items-start",children:[(0,va.jsx)(vg.E,{className:"mt-[1px] h-[20px] w-[20px] pr-2",field:e.fields.Icon2}),(0,va.jsx)(vm.x,{field:e.fields.List2})]}),(0,va.jsxs)("div",{className:"my-3 flex items-start",children:[(0,va.jsx)(vg.E,{className:"mt-[1px] h-[20px] w-[20px] pr-2",field:e.fields.Icon3}),(0,va.jsx)(vm.x,{field:e.fields.List3})]}),(0,va.jsxs)("div",{className:"my-3 flex items-start",children:[(0,va.jsx)(vg.E,{className:"mt-[1px] h-[20px] w-[20px] pr-2",field:e.fields.Icon4}),(0,va.jsx)(vm.x,{field:e.fields.List4})]})]})]})]})]})},yU=()=>{let{locale:e}=(0,vT.QT)();return(0,vd.useEffect)(()=>{(0,yP.signIn)("azureb2c",{callbackUrl:"/".concat(e()).concat(gZ.tr.SIGN_IN_CALLBACK)},{ui_locales:gZ.OE[e()]})},[]),(0,va.jsx)(va.Fragment,{})},yz=e=>{var l,i;return(0,va.jsxs)("div",{className:"pb-20",children:[(0,va.jsx)("div",{className:"text-[40px] sm:pt-[212px] sm:pb-7 leading-[45px]",children:(0,va.jsx)("div",{className:"",children:(0,va.jsx)(vm.x,{field:e.fields.SectionName})})}),(0,va.jsx)("div",{className:"sm:max-w-[60%] text-[15px] leading-[21px] sm:py-0",children:(0,va.jsx)(vm.x,{field:e.fields.Description})}),(0,va.jsx)("div",{className:"my-4 hidden border-t border-t-[#d7d6d5] sm:block"}),(0,va.jsxs)("div",{children:[(0,va.jsxs)("div",{className:"relative justify-end sm:top-[417px] top-[250px] right-16 z-10 flex items-center ",children:[(0,va.jsx)("button",{id:"img-swiper-left",className:"sso-swiper-left"}),(0,va.jsx)("button",{id:"img-swiper-right",className:"sso-swiper-right"})]}),(0,va.jsx)(y_,{slides:e.fields.BannerList,prevEl:"#img-swiper-left",nextEl:"#img-swiper-right"})]}),(0,va.jsx)("div",{className:"pt-10 text-[30px] sm:text-[40px] richText-p-40 sso-richtext font-bold",children:(0,va.jsx)(vx.H,{field:e.fields.Title1})}),(0,va.jsxs)("div",{className:"sm:flex justify-between",children:[(0,va.jsx)("div",{className:"sm:py-5 py-2 text-[15px] leading-[21px] sm:max-w-[80%]",children:(0,va.jsx)(vm.x,{field:e.fields.Description1})}),(0,va.jsxs)("div",{className:"flex items-center py-2 sm:py-2 justify-end",children:[(0,va.jsx)("button",{id:"card1-swiper-left",className:"sso-swiper-left"}),(0,va.jsx)("button",{id:"card1-swiper-right",className:"sso-swiper-right"})]})]}
1),(0,va.jsx)(yF,{slides:e.fields.CardList1,nextEl:"#card1-swiper-right",prevEl:"#card1-swiper-left"}),(0,va.jsx)("div",{className:"pt-20 text-[40px] richText-p-40 sso-richtext",children:(0,va.jsx)(vx.H,{field:e.fields.Title2})}),(0,va.jsxs)("div",{className:" sm:flex",children:[(0,va.jsx)("div",{className:"sm:w-7/12",children:(0,va.jsx)(vg.E,{field:e.fields.Image2,className:"mx-auto w-full"})}),(0,va.jsxs)("div",{className:"flex flex-col items-start justify-center sm:pl-10 sm:w-5/12",children:[(0,va.jsx)("div",{className:"py-3 text-[15px] leading-[21px]",children:(0,va.jsx)(vm.x,{field:e.fields.Description2})}),(null===(l=e.fields.Link2.value)||void 0===l?void 0:l.href)!=""?(0,va.jsx)("a",{href:null===(i=e.fields.Link2.value)||void 0===i?void 0:i.href,className:"text-[14px] font-bold items-center flex justify-center leading-[18.68px] border-white border bg-black min-w-[200px] h-12",children:(0,va.jsxs)("div",{className:"flex justify-center gap-4 items-baseline",children:[(0,va.jsx)(vm.x,{field:e.fields.Link2Text}),(0,va.jsx)("div",{className:"righttriangle"})]})}):(0,va.jsx)("div",{className:"text-[14px] font-bold leading-[18.68px]",children:(0,va.jsx)(vm.x,{field:e.fields.Link2Text})})]})]}),(0,va.jsx)("div",{className:"mt-20 text-[30px] sm:text-[40px] richText-p-40 sso-richtext",children:(0,va.jsx)(vx.H,{field:e.fields.Title3})}),(0,va.jsxs)("div",{className:"sm:flex justify-between",children:[(0,va.jsx)("div",{className:" sm:py-5 py-2 text-[15px] leading-[21px] sm:max-w-[80%]",children:(0,va.jsx)(vm.x,{field:e.fields.Description3})}),(0,va.jsxs)("div",{className:"flex items-center py-2 sm:py-0 justify-end",children:[(0,va.jsx)("button",{id:"card2-swiper-left",className:"sso-swiper-left"}),(0,va.jsx)("button",{id:"card2-swiper-right",className:"sso-swiper-right"})]})]}),(0,va.jsx)(yF,{slides:e.fields.CardList3,nextEl:"#card2-swiper-right",prevEl:"#card2-swiper-left"})]})};let yq=e=>{let[l,i]=(0,vd.useState)(!0);return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"mb-3 flex justify-between text-[14px] leading-[21px] font-bold",children:[(0,va.jsx)(vm.x,{field:e.fields.Subtitle}),(0,va.jsx)("div",{onClick:()=>{i(!l)},className:l?"sso-minus":"sso-plus"})]}),(0,va.jsx)("div",{className:"mb-4 text-[13px] leading-[21px] sso-richtext-ul",children:(0,va.jsx)(vx.H,{field:e.fields.DescriptionList,className:l?"":"hidden"})})]})};var yQ=e=>{var l,i;let{sabreLogin:s}=gJ({selectedHotelId:null===(i=e.fields.HotelId)||void 0===i?void 0:null===(l=i.fields.Value)||void 0===l?void 0:l.value}),n=Object.values(e.fields.SectionList).map((e,l)=>(0,va.jsxs)("div",{className:"mt-20 sm:grid sm:grid-cols-2 sm:gap-[30px]",children:[(0,va.jsx)("div",{className:"w-auto pb-5",children:(0,va.jsx)(vg.E,{field:e.fields.Image,className:"w-full object-cover"})}),(0,va.jsxs)("div",{className:" ",children:[(0,va.jsxs)("div",{className:" text-[16px] leading-[45px] font-semibold flex",children:[(0,va.jsx)(vg.E,{field:e.fields.Icon,className:"mr-2"}),(0,va.jsx)(vm.x,{field:e.fields.Heading})]}),(0,va.jsx)("div",{className:" text-[20px] leading-[45px] font-bold",children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsx)("div",{className:"mb-4 text-[15px] leading-[21px]",children:(0,va.jsx)(vx.H,{field:e.fields.Description})}),(0,va.jsx)("button",{onClick:()=>{var l;(0,yI.sendGTMEvent)({event:"offer_interact",offer_title:null===(l=e.fields.OfferTitle)||void 0===l?void 0:l.value,intent:"offer book_now"}),s()},className:" h-12 text-[14px] leading-[18.68px] font-bold border border-white py-2.5 px-5",children:(0,va.jsx)(vm.x,{field:e.fields.LinkText})}),(0,va.jsx)("div",{className:"mt-5 my-3 border-t border-t-[#d7d6d5] "}),(0,va.jsx)(yq,{...e}),(0,va.jsx)("div",{className:"mb-5 border-t border-t-[#d7d6d5] "})]})]},l));return(0,va.jsxs)("div",{children:[(0,va.jsxs)("div",{className:"",children:[(0,va.jsx)("div",{className:"w-full",children:(0,va.jsx)("div",{className:"flex justify-end",children:(0,va.jsx)(vg.E,{field:e.fields.Image,className:"h-[400px] sm:pl-20 sm:w-full w-[80%] object-cover"})})}),(0,va.jsxs)("div",{className:" sm:text-[40px] text-[30px] sm:leading-[45px] leading-[35px] font-bold text-white relative -top-[30px]",children:[(0,va.jsx)("div",{children:(0,va.jsx)(vm.x,{field:e.fields.Heading})}),(0,va.jsx)("div",{children:(0,va.jsx)(vm.x,{field:e.fields.Title})})]})]}),n]})}
1,yY=e=>{var l,i;let[s,n]=(0,vd.useState)(!1);return(0,va.jsxs)(va.Fragment,{children:[s?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsxs)("div",{className:"sm:pt-[137px] pt-[25px] px-[15px] sm:flex sm:px-[30px] font-Amiko",children:[(0,va.jsx)(yA,{setIsLoading:n,selectedValue:"MEMBER_OFFERS"}),(0,va.jsx)("div",{className:"px-[15px] sm:w-[calc(100vw-330px)] sm:px-[30px]",children:(0,va.jsxs)("div",{children:[(0,va.jsx)("div",{className:"sm:pb-7 pb-4 sso-richtext-p-40 sso-richtext-p-leading-44 font-Belleza",children:(0,va.jsx)(vm.x,{field:e.fields.SectionName})}),(0,va.jsx)("div",{className:"sm:max-w-[60%] text-[15px] leading-[21px] sm:py-0",children:(0,va.jsx)(vm.x,{field:e.fields.Description})}),(0,va.jsx)("div",{className:"my-4 border-t border-t-black"}),(0,va.jsxs)("div",{children:[(0,va.jsxs)("div",{className:"relative justify-end sm:top-[417px] top-[275px] sm:right-16 z-10 flex items-center ",children:[(0,va.jsx)("button",{id:"img-swiper-left",className:"sso-swiper-left"}),(0,va.jsx)("button",{id:"img-swiper-right",className:"sso-swiper-right"})]}),(0,va.jsx)(y_,{slides:e.fields.BannerList,prevEl:"#img-swiper-left",nextEl:"#img-swiper-right"})]}),(0,va.jsx)("div",{className:"pt-10 sso-richtext-p-40 sso-richtext-p-leading-44 font-Belleza uppercase",children:(0,va.jsx)(vx.H,{field:e.fields.Title1})}),(0,va.jsxs)("div",{className:"sm:flex justify-between",children:[(0,va.jsx)("div",{className:"sm:py-5 py-2 text-[15px] leading-[21px] sm:max-w-[80%]",children:(0,va.jsx)(vm.x,{field:e.fields.Description1})}),(0,va.jsxs)("div",{className:"flex items-center py-2 sm:py-2 justify-end",children:[(0,va.jsx)("button",{id:"card1-swiper-left",className:"sso-swiper-left"}),(0,va.jsx)("button",{id:"card1-swiper-right",className:"sso-swiper-right"})]})]}),(0,va.jsx)(yF,{slides:e.fields.CardList1,nextEl:"#card1-swiper-right",prevEl:"#card1-swiper-left"}),(0,va.jsx)("div",{className:"pt-20 sm:mb-[24px] mb-[16px] sso-richtext-p-40 sso-richtext-p-leading-44 font-Belleza",children:(0,va.jsx)(vx.H,{field:e.fields.Title2})}),(0,va.jsxs)("div",{className:" sm:flex",children:[(0,va.jsx)("div",{className:"sm:w-7/12",children:(0,va.jsx)(vg.E,{field:e.fields.Image2,className:"mx-auto w-full"})}),(0,va.jsxs)("div",{className:"flex flex-col items-start justify-center sm:pl-10 sm:w-5/12",children:[(0,va.jsx)("div",{className:"py-3 text-[15px] leading-[21px] lg:pd-[48px] sm:pd-[42px] pb-[36px]",children:(0,va.jsx)(vm.x,{field:e.fields.Description2})}),(null===(l=e.fields.Link2.value)||void 0===l?void 0:l.href)!=""?(0,va.jsx)("a",{href:null===(i=e.fields.Link2.value)||void 0===i?void 0:i.href,className:"text-[14px] font-bold items-center flex justify-center leading-[18.68px] border-white border bg-black min-w-[200px] h-12",children:(0,va.jsxs)("div",{className:"flex justify-center gap-4 items-baseline",children:[(0,va.jsx)(vm.x,{field:e.fields.Link2Text}),(0,va.jsx)("div",{className:"righttriangle"})]})}):(0,va.jsx)("div",{className:"text-[17px] sm:leading-[100%] leading-[23px] tracking-widest font-semibold ",children:(0,va.jsx)(vm.x,{field:e.fields.Link2Text})})]})]}),(0,va.jsx)("div",{className:"mt-20 sso-richtext-p-40 sso-richtext-p-leading-44 font-Belleza",children:(0,va.jsx)(vx.H,{field:e.fields.Title3})}),(0,va.jsxs)("div",{className:"sm:flex justify-between",children:[(0,va.jsx)("div",{className:" sm:py-5 py-2 text-[15px] leading-[21px] sm:max-w-[80%]",children:(0,va.jsx)(vm.x,{field:e.fields.Description3})}),(0,va.jsxs)("div",{className:"flex items-center py-2 sm:py-0 justify-end",children:[(0,va.jsx)("button",{id:"card2-swiper-left",className:"sso-swiper-left"}),(0,va.jsx)("button",{id:"card2-swiper-right",className:"sso-swiper-right"})]})]}),(0,va.jsx)(yF,{slides:e.fields.CardList3,nextEl:"#card2-swiper-right",prevEl:"#card2-swiper-left"})]})})]})]})},yK=e=>{let{isOpen:l,onClose:i,children:s}=e;return l?(0,va.jsxs)("div",{className:"fixed inset-0 flex items-center justify-center z-50",style:{backdropFilter:"blur(5px)"},children:[(0,va.jsx)("div",{className:"absolute inset-0 bg-opacity-20",onClick:i}),(0,va.jsx)("div",{className:"bg-uh-neutral-grey mx-[15px] sm:mx-auto relative border border-uh-blue p-8 shadow-lg",onClick:e=>e.stopPropagation(),children:s})]}):null};let y$=(0,kF.WP)();var yZ=()=>{let{t:e,locale:l}=(0,vT.QT)(),[i,s]=(0,vd.useState)(""),[n,a]=(0,vd.useState)(""),[d,t]=(0,vd.useState)(""),[o,r]=(0,vd.useState)(10),[c,v]=(0,vd.useState)(!1);(0,vd.useEffect)(()=>{let e=null;return c&&o>0?e=setInterval(()=>{r(e=>e-1)},1e3):0===o&&(v(!1),e&&clearInterval(e)),()=>{e&&clearInterval(e)}},[c,o]);let[u,m]=(0,vd.useState)(!1),[x,p]=(0,vd.useState)(!1),[h,f]=(0,vd.useState)(""),[g,j]=(0,vd.useState)(""),[N,b]=(0,vd.useState)(""),[T,S]=(0,vd.useState)(""),[k,w]=(0,vd.useState)(""),[y,E]=(0,vd.useState)(""),[C,O]=(0,vd.useState)(!1),[L,I]=(0,vd.useState)(0),[F,_]=(0,vd.useState)(0),[M,R]=(0,vd.useState)(""),P=()=>{(0,yP.signIn)("azureb2c",{callbackUrl:"/".concat(l()).concat(gZ.tr.SIGN_IN_CALLBACK)},{ui_locales:gZ.OE[l()]})},A=async()=>{var l,i,s,n;if(L>=5){let l=null===(i=gZ.VO.find(e=>"E306"==e.code))||void 0===i?void 0:i.label;void 0!=l?j(e(l)):j("(error not match) OTP not match too much times,please resend OTP");return}I(L+1),j("");let a=null===(l=document.querySelector("#InputCode"))||void 0===l?void 0:l.querySelectorAll("input.code-input-box"),d="";for(let e=0;e<a.length;e++)if(d+=a[e].value,""==a[e].value||void 0===a[e].value)return;if(6!==d.length||!/^\d{6}$/.test(d))return;let t={Channel:"phone",Signature:y,UserInputCode:d};j("");try{eR(!0);let l=await fetch(uc.MD.PROFILE_VERIFY_AND_BIND,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(eR(!1),200==l.status)I(0),eW(),H();else if(401==l.status)P();else{if(L>=4){let l=null===(s=gZ.VO.find(e=>"E306"==e.code))||void 0===s?void 0:s.label;void 0!=l?j(e(l)):j("(error not match) OTP not match too much times");return}let i=await l.json();if(i.ErrorCode){let l=null===(n=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===n?void 0:n.label;j(void 0!=l?e(l):eV)}else j(eV);return}}catch(l){console.error("Error fetching data:",l),j(e("SSO/Errors/GeneralError"))}finally{eR(!1)}},D=async()=>{I(0),j("");let i={Channel:"phone",MobileCountry:eL,MobilePhoneNumber:n,Locale:l()};try{f(""),eR(!0);let l=await fetch(uc.MD.PROFILE_SEND_OTP,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(eR(!1),200==l.status){let e=await l.json();
1E(e.Signature),W()}else if(401==l.status)P();else{let i=await l.json();if(i.ErrorCode){var s;let l=null===(s=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===s?void 0:s.label;f(void 0!=l?e(l):eV)}else f(eV);return}}catch(e){console.error("Error fetching data:",e),f(eV)}finally{eR(!1)}},B=async()=>{var l,i,s,n;if(F>=5){let l=null===(i=gZ.VO.find(e=>"E306"==e.code))||void 0===i?void 0:i.label;void 0!=l?S(e(l)):S("(error not match) OTP not match too much times,please resend OTP");return}_(F+1),S("");let a=null===(l=document.querySelector("#InputCode"))||void 0===l?void 0:l.querySelectorAll("input.code-input-box"),d="";for(let e=0;e<a.length;e++)if(d+=a[e].value,""==a[e].value||void 0===a[e].value)return;if(6!==d.length||!/^\d{6}$/.test(d))return;let t={Channel:"email",Signature:y,UserInputCode:d};S("");try{eR(!0);let l=await fetch(uc.MD.PROFILE_VERIFY_AND_BIND,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(eR(!1),200==l.status)_(0),eW(),U();else if(401==l.status)P();else{if(F>=4){let l=null===(s=gZ.VO.find(e=>"E306"==e.code))||void 0===s?void 0:s.label;void 0!=l?S(e(l)):S("(error not match) OTP not match too much times");return}let i=await l.json();if(i.ErrorCode){let l=null===(n=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===n?void 0:n.label;S(void 0!=l?e(l):eV)}else S(eV);return}}catch(e){console.error("Error fetching data:",e),S(eV)}finally{eR(!1)}},V=async()=>{_(0),S("");let s={Channel:"email",Email:K?d:i,Locale:l()},n=K?d.split("@"):i.split("@"),a="";if(n[0].length>7){for(let e=0;e<n[0].length-3;e++)a+="*";a=a+n[0].slice(-3)+"@"+n[1]}else if(n[0].length>2){for(let e=0;e<n[0].length-1;e++)a+="*";a=a+n[0].slice(-1)+"@"+n[1]}else{for(let e=0;e<n[0].length;e++)a+="*";a=a+"@"+n[1]}R(a);try{b(""),eR(!0);let l=await fetch(uc.MD.PROFILE_SEND_OTP,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(eR(!1),200==l.status){let e=await l.json();E(e.Signature),G()}else if(401==l.status)P();else{let i=await l.json();if(i.ErrorCode){var t;let l=null===(t=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===t?void 0:t.label;b(void 0!=l?e(l):eV)}else b(eV);return}}catch(e){console.error("Error fetching data:",e),b(eV);return}finally{eR(!1)}},W=()=>{u||(m(!0),v(!0),r(60),f(""))},H=()=>{m(!1),v(!0)},G=()=>{x||(p(!0),v(!0),r(60),S(""))},U=()=>{p(!1),v(!0)},[z,q]=(0,vd.useState)(!1),[Q,Y]=(0,vd.useState)(!1),[K,Z]=(0,vd.useState)(!1),[J,X]=(0,vd.useState)(!1),[ee,el]=(0,vd.useState)(!1),[ei,es]=(0,vd.useState)(""),[en,ea]=(0,vd.useState)(!1),[ed,et]=(0,vd.useState)(!0),[eo,er]=(0,vd.useState)(""),[ec,ev]=(0,vd.useState)(""),[eu,em]=(0,vd.useState)(""),[ex,ep]=(0,vd.useState)(""),[eh,ef]=(0,vd.useState)(""),[eg,ej]=(0,vd.useState)(""),[eN,eb]=(0,vd.useState)(""),[eT,eS]=(0,vd.useState)(""),[ek,ew]=(0,vd.useState)([]),[ey,eE]=(0,vd.useState)([]),[eC,eO]=(0,vd.useState)([]),[eL,eI]=(0,vd.useState)("852"),[eF,e_]=(0,vd.useState)([]),[eM,eR]=(0,vd.useState)(!1),[eP,eA]=(0,vd.useState)(!1),[eD,eB]=(0,vd.useState)(!1),eV=e("SSO/Errors/GeneralError"),eW=async()=>{try{let l=await fetch("".concat(y$).concat(uc.MD.PROFILE_GET_PROFILE),{method:"GET",headers:{"Content-Type":"application/json"}});if(200==l.status){let i=await l.json();if(i){let l=gZ.$A.filter(e=>e.code==i.Salutation);l.length>0&&(er(e(l[0].label)),ev(l[0].code),ef(l[0].code)),eB(i.EmailOTPVerified),eA(i.PhoneOTPVerified),em(i.FirstName),ep(i.LastName),ej(i.FirstName),eb(i.LastName);let n=gZ.y7.filter(e=>e.code==i.MobileCountry).map(e=>e.label);n.length>0&&(eS(n[0]),eI(i.MobileCountry)),a(i.MobilePhoneNumber),s(i.Email),t(i.Email);let d=0,o="",r=[i.ArtAndDesign,i.Music,i.Wellness,i.Fashion,i.Cars,i.Watches,i.Jewellery,i.Sustainability,i.DestinationTravel,i.SportsAndFitness,i.Beauty,i.DiversityAndInclusion,i.RestaurantsAndBars],c=[];for(let l of r)l&&(""!==o&&(o+=", "),o+=e(gZ.k0[d].label),c=c.concat(gZ.k0[d].code)),d++;eE(c),eO(c),es(o);let v=[gZ.mN[1].code];i.DataManageWithinResidence&&(v=v.concat(gZ.mN[2].code)),i.MarketingOptIn&&(v=v.concat(gZ.mN[0].code)),ew(v),e_(v),ea(!0)}}else{if(401!=l.status)return;P()}}catch(e){console.error("Error fetching data:",e);return}};(async()=>{en||(eW(),ea(!0))})();let eH=e=>{if(eC.length>=3&&e.target.checked){O(!0);return}O(!1);let l=e.target.value;e.target.checked?eO([...eC,l]):eO(eC.filter(e=>e!==l))},eG=e=>{if(ee){let l=e.target.value;e.target.checked?e_([...eF,l]):e_(eF.filter(e=>e!==l))}},eU=async l=>{let i=0,s={Salutation:"name"==l?eh:ec,FirstName:"name"==l?eg:eu,LastName:"name"==l?eN:ex,Interests:{ArtAndDesign:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Music:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Wellness:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Fashion:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Cars:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Watches:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Jewellery:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Sustainability:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),DestinationTravel:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),SportsAndFitness:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Beauty:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),DiversityAndInclusion:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),RestaurantsAndBars:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code)},MarketingOptIn:"privacy"==l?eF.includes(gZ.mN[0].code):ek.includes(gZ.mN[0].code)}
1,n=e(mT.W.SSO.Global.INVALID_API);try{eR(!0);let l=await fetch(uc.MD.PROFILE_UPDATE_PROFILE,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(eR(!1),200==l.status)eW(),q(!1),Y(!1),Z(!1),X(!1),el(!1);else if(401==l.status)P();else{let i=await l.json();if(i.ErrorCode){var a;let l=null===(a=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===a?void 0:a.label;w(void 0!=l?e(l):n)}else w(n);return}}catch(e){console.error("Error fetching data:",e),w(n);return}finally{eR(!1)}},ez=new RegExp(gZ.is.REGEX_EMAIL),[eq,eQ]=(0,vd.useState)(!0);return(0,va.jsxs)(va.Fragment,{children:[eM?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsxs)("div",{className:"sm:max-w-[720px] pb-20",children:[(0,va.jsx)("div",{className:"sm:pb-10 text-[40px] leading-[45px] sm:pt-[212px]",children:(0,va.jsx)("div",{className:"",children:e(mT.W.SSO.Global.MY_PROFILE)})}),(0,va.jsx)("div",{className:"border-t border-t-[#d7d6d5] "}),(0,va.jsxs)("div",{className:"my-4 flex sm:gap-10 gap-3",children:[(0,va.jsxs)("div",{className:"max-w-[25%] overflow-hidden",children:[(0,va.jsx)("div",{className:"mb-4 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px]",children:e(mT.W.SSO.Global.TITLE)}),(0,va.jsx)("div",{className:"text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"hidden":""),children:eo}),(0,va.jsxs)("select",{required:!0,className:"".concat(z?"":"hidden"," w-full border-b border-b-white bg-transparent text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] outline-none"),value:eh,onChange:e=>{ef(e.target.value)},children:[(0,va.jsx)("option",{className:"text-black",value:"",disabled:!0,selected:!0,children:e(mT.W.SSO.Global.ENTER_TITLE)}),gZ.$A.map(l=>(0,va.jsx)("option",{className:"text-black",value:l.code,children:e(l.label)},l.code))]})]}),(0,va.jsxs)("div",{className:"max-w-[30%] overflow-hidden",children:[(0,va.jsx)("div",{className:"mb-4 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px]",children:e(mT.W.SSO.Global.FIRST_NAME)}),(0,va.jsx)("div",{className:"text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"hidden":""),children:eu}),(0,va.jsx)("input",{value:eg,onChange:e=>{ej(e.target.value)},className:"w-full border-b border-b-white sso-input-autofill bg-transparent text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] outline-none ".concat(z?"":"hidden")})]}),(0,va.jsxs)("div",{className:"max-w-[30%] overflow-hidden",children:[(0,va.jsx)("div",{className:"mb-4 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px]",children:e(mT.W.SSO.Global.LAST_NAME)}),(0,va.jsx)("div",{className:"text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"hidden":""),children:ex}),(0,va.jsx)("input",{value:eN,onChange:e=>{eb(e.target.value)},className:"w-full border-b border-b-white sso-input-autofill bg-transparent text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] outline-none ".concat(z?"":"hidden")})]}),(0,va.jsx)("div",{className:"ml-auto",children:(0,va.jsx)("a",{onClick:()=>{q(!z),Y(!1),Z(!1),X(!1),el(!1),w(""),et(!0)},className:"relative top-[-2px] border-b border-white text-[13px] sm:text-[15px] leading-[20px] font-semibold tracking-[0.88px]",children:z?e(mT.W.SSO.Global.CANCEL):e(mT.W.SSO.Global.EDIT)})})]}),z&&(0,va.jsx)("p",{className:"pb-2 text-[11px] text-[#828077]",children:e(mT.W.SSO.Global.CONSISTENT_NAME)}),!ed&&z&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500 ",children:e(mT.W.SSO.Global.REQUIRED_All)}),""!==k&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500 ",children:k}),(0,va.jsx)("button",{className:"px-10 py-2 text-[14px] sso_white_btn font-bold ".concat(z?"":"hidden"),onClick:()=>{if(""==eh||""==eg||""==eN){et(!1);return}et(!0),eU("name")},children:e(mT.W.SSO.Global.UPDATE)}),(0,va.jsx)("div",{className:"my-4 border-t border-t-[#d7d6d5] "}),(0,va.jsx)("div",{className:"my-4 flex gap-5",children:(0,va.jsxs)("div",{children:[(0,va.jsx)("div",{className:"mb-4 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px]",children:e(mT.W.SSO.Global.PHONE_NUMBER)}),(0,va.jsx)("div",{className:"text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(""),children:"".concat(eT," ").concat(n)})]})}),""!==h&&!eP&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:h}),(0,va.jsx)("button",{onClick:D,className:"px-10 py-2 text-[14px] sso_white_btn font-bold ".concat(eP?"hidden":""),children:e(mT.W.
1SSO.Global.VERIFY)}),(0,va.jsx)(yK,{isOpen:u,onClose:H,children:(0,va.jsxs)("div",{className:"m-auto flex max-w-[580px] flex-col items-center gap-5 pt-10",children:[(0,va.jsx)("div",{className:"m-auto text-[18px] leading-6 tracking-widest font-bold pb-3 ",children:e(mT.W.SSO.Global.ENTER_PASSCODE)}),(0,va.jsx)("div",{className:"m-auto text-center text-[15px] leading-[21px]",children:n.length>4?(0,va.jsx)("p",{children:e(mT.W.SSO.Global.OTP_SENT_PHONE).replace(/{phone}/gi,n.substring(0,n.length-4).replace(/[0-9]/g,"*")+n.slice(-4))}):(0,va.jsx)("p",{children:e(mT.W.SSO.Global.OTP_SENT_PHONE).replace(/{phone}/gi,n)})}),(0,va.jsxs)("div",{className:"w-[345px]",children:[(0,va.jsx)(yM,{}),(0,va.jsx)("button",{onClick:A,className:"mt-5 h-12 font-bold text-[14px] leading-[16.68px] w-full sso_white_btn",children:e(mT.W.SSO.Global.CONTINUE)})]}),""!==g&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:g}),(0,va.jsx)("div",{className:"text-[15px] leading-5 my-3 font-semibold text-[#808080] ".concat(c?"":"hidden"),children:e(mT.W.SSO.Global.RESEND_OTP_COUNTDOWN).replace(/{seconds}/gi,String(o))}),(0,va.jsx)("a",{onClick:D,className:"text-[15px] leading-5 font-semibold text-[#1d2021] border-b border-b-[#808080] ".concat(c?"hidden":""),children:e(mT.W.SSO.Global.RESEND_OTP_NOW)}),(0,va.jsx)("a",{className:" text-[15px] leading-5 font-semibold text-[#1d2021] border-b border-b-[#808080]",onClick:H,children:e(mT.W.SSO.Global.GO_BACK)})]})}),(0,va.jsx)("div",{className:"my-4 border-t border-t-[#d7d6d5] "}),(0,va.jsxs)("div",{className:"my-4 flex gap-5",children:[(0,va.jsxs)("div",{children:[(0,va.jsx)("div",{className:"mb-4 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px]",children:e(mT.W.SSO.Global.EMAIL)}),(0,va.jsx)("div",{className:"text-[15px] leading-[20px] ".concat(K?"hidden":""),children:i}),(0,va.jsx)("input",{id:"emailVal",value:d,onChange:e=>{let l=e.target.value;t(l),0==l.length?eQ(!0):eQ(ez.test(l))},className:"w-full border-b border-b-white sso-input-autofill bg-transparent text-[15px] leading-[20px] outline-none ".concat(K?"":"hidden")})]}),(0,va.jsx)("div",{className:"ml-auto",children:(0,va.jsx)("a",{onClick:()=>{Z(!K),Y(!1),q(!1),X(!1),el(!1),et(!0)},className:"mb-4 border-b border-b-white text-[13px] sm:text-[15px] leading-[20px] font-semibold tracking-[0.88px]",children:K?e(mT.W.SSO.Global.CANCEL):e(mT.W.SSO.Global.EDIT)})})]}),""!==N&&(K||!eD)&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:N}),!eq&&K&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:e(mT.W.SSO.Global.EMAIL_FORMAT)}),(0,va.jsx)("button",{onClick:V,className:"font-bold px-10 py-2 text-[14px] sso_white_btn ".concat(K||!1==eD?"":"hidden"),children:e(mT.W.SSO.Global.VERIFY)}),(0,va.jsx)(yK,{isOpen:x,onClose:U,children:(0,va.jsxs)("div",{className:"m-auto flex max-w-[580px] flex-col items-center gap-5 pt-10",children:[(0,va.jsx)("div",{className:"m-auto text-[20px] ",children:e(mT.W.SSO.Global.ENTER_PASSCODE)}),(0,va.jsx)("div",{className:"m-auto text-center text-[13px]",children:e(mT.W.SSO.Global.OTP_SENT_EMAIL).replace(/{email}/gi,M)}),(0,va.jsxs)("div",{className:"w-[345px]",children:[(0,va.jsx)(yM,{}),(0,va.jsx)("button",{onClick:B,className:"mt-5 h-10 w-full sso_white_btn",children:e(mT.W.SSO.Global.CONTINUE)})]}),""!==T&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:T}),(0,va.jsx)("div",{className:"text-[11px] ".concat(c?"":"hidden"),children:e(mT.W.SSO.Global.RESEND_OTP_COUNTDOWN).replace(/{seconds}/gi,String(o))}),(0,va.jsx)("a",{onClick:V,className:"text-[11px] font-bold text-[#1d2021] border-b border-b-white ".concat(c?"hidden":""),children:e(mT.W.SSO.Global.RESEND_OTP_NOW)}),(0,va.jsx)("a",{className:"mt-5 text-[11px] font-bold text-[#1d2021] border-b border-b-white",onClick:U,children:e(mT.W.SSO.Global.GO_BACK)})]})}),(0,va.jsx)("div",{className:"my-4 border-t border-t-[#d7d6d5] "}),(0,va.jsxs)("div",{className:"flex gap-5",children:[(0,va.jsx)("div",{children:(0,va.jsx)("div",{className:"mb-4 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px]",children:e(mT.W.
1SSO.Global.INTERESTS)})}),(0,va.jsx)("div",{className:"ml-auto",children:(0,va.jsx)("a",{onClick:()=>{X(!J),q(!1),Y(!1),Z(!1),el(!1),w(""),et(!0)},className:"mb-4 border-b border-b-white text-[13px] sm:text-[15px] leading-[20px] font-semibold tracking-[0.88px]",children:J?e(mT.W.SSO.Global.CANCEL):e(mT.W.SSO.Global.EDIT)})})]}),(0,va.jsx)("div",{className:"text-[15px] leading-[20px] ".concat(J?"hidden":""),children:ei}),(0,va.jsx)("div",{className:"grid grid-cols-2 gap-3 text-[15px] leading-[20px] sm:grid-cols-3 ".concat(J?"":"hidden"),children:gZ.k0.map(l=>(0,va.jsxs)("div",{className:"flex items-start",children:[(0,va.jsx)("input",{className:"ssoinput mr-2 mt-[2px]",type:"checkbox",value:l.code,checked:eC.includes(l.code),onChange:eH}),(0,va.jsx)("label",{id:l.code,children:e(l.label)})]},l.code))}),""!==k&&J&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500 ",children:k}),C&&J&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500",children:e(mT.W.SSO.Global.MAXIMUM_SELECT)}),(0,va.jsx)("button",{className:"font-bold mt-3 px-10 py-2 text-[14px] sso_white_btn ".concat(J?"":"hidden"),onClick:()=>{eU("interests")},children:e(mT.W.SSO.Global.UPDATE)}),(0,va.jsx)("div",{className:"my-4 border-t border-t-[#d7d6d5] "}),(0,va.jsxs)("div",{className:"flex gap-5",children:[(0,va.jsx)("div",{children:(0,va.jsx)("div",{className:"mb-4 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px]",children:e(mT.W.SSO.Global.CONSENT_PREFERENCE)})}),(0,va.jsx)("div",{className:"ml-auto",children:(0,va.jsx)("a",{onClick:()=>{el(!ee),q(!1),Y(!1),Z(!1),X(!1),w(""),et(!0)},className:"mb-4 border-b border-b-white text-[13px] sm:text-[15px] leading-[20px] font-semibold tracking-[0.88px]",children:ee?e(mT.W.SSO.Global.CANCEL):e(mT.W.SSO.Global.EDIT)})})]}),gZ.mN.map(l=>(0,va.jsxs)("div",{className:"flex items-start pb-2 text-[15px] leading-[20px] sm:pr-20 ".concat(ee?"hidden":""),children:[(0,va.jsx)("input",{disabled:l.required,className:"ssoinput mr-3 mt-[2px]",type:"checkbox",value:l.code,checked:ek.includes(l.code)}),(0,va.jsx)("label",{dangerouslySetInnerHTML:{__html:e(l.label,{name:"",escapeInterpolation:!1})}})]},l.code)),gZ.mN.map(l=>(0,va.jsxs)("div",{className:"flex items-start pb-2 text-[15px] leading-[20px] sm:pr-20 ".concat(ee?"":"hidden"),children:[(0,va.jsx)("input",{disabled:l.required,className:"ssoinput mr-3 mt-[2px]",type:"checkbox",value:l.code,checked:eF.includes(l.code),onChange:eG}),(0,va.jsx)("label",{dangerouslySetInnerHTML:{__html:e(l.label,{name:"",escapeInterpolation:!1})}})]},l.code)),(0,va.jsx)("div",{className:"w-full border-t border-b-[#828077]"}),(0,va.jsx)("div",{className:"w-full pt-3 text-[15px] leading-[20px]",children:e(mT.W.SSO.Consent.NOTE)}),""!==k&&ee&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500 ",children:k}),(0,va.jsx)("button",{className:"font-bold mt-3 px-10 py-2 text-[14px] sso_white_btn ".concat(ee?"":"hidden"),onClick:()=>{eU("privacy")},children:e(mT.W.SSO.Global.UPDATE)}),(0,va.jsx)("div",{className:"my-4 border-t border-t-[#d7d6d5]"})]})]})};let yJ=(0,kF.WP)();var yX=e=>{let{onLinkClick:l,selectedLink:i}=e,{t:s}=(0,vT.QT)(),[n,a]=(0,vd.useState)(!1),[d,t]=(0,vd.useState)(""),[o,r]=(0,vd.useState)("");return(async()=>{if(!n){try{let e=await fetch("".concat(yJ).concat(uc.MD.PROFILE_GET_PROFILE),{method:"GET",headers:{"Content-Type":"application/json"}});if(200==e.status){let l=await e.json();l&&(t(l.FirstName),r(l.Id))}}catch(e){console.error("Error fetching data:",e)}a(!0)}})(),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"fixed sm:mt-[213px] hidden w-60 sm:block",children:(0,va.jsxs)("div",{className:"text-[25px] font-bold leading-[33.35px]",children:[(0,va.jsx)("div",{children:s(mT.W.SSO.Global.WELCOME_BACK)}),(0,va.jsx)("div",{children:d}),(0,va.jsx)("div",{className:"text-[14px]",children:o}),(0,va.jsx)("div",{className:"my-3 border-t border-t-[#adadac]"}),(0,va.jsxs)("ul",{className:"flex flex-col py-3 gap-5 text-[15px] font-semibold tracking-[0.88px] leading-[20px]",children:[(0,va.jsx)("li",{children:(0,va.jsx)("a",{onClick:()=>{(0,yI.sendGTMEvent)({event:"member_dashboard_interact",intent:"sidebar nav UPCOMING STAY"}),l("UPCOMING BOOKING")},className:"border-b-2 ".concat("UPCOMING BOOKING"===i?"border-b-white":"border-b-transparent"),children:s(mT.W.SSO.Global.UPCOMING_BOOKING)})}),(0,va.jsx)("li",{children:(0,va.jsx)("a",{onClick:()=>{(0,yI.sendGTMEvent)({event:"member_dashboard_interact",intent:"sidebar nav MEMBER OFFERS"}),l("MEMBER OFFERS")}
1,className:"border-b-2 ".concat("MEMBER OFFERS"===i||0==i.indexOf("MemberOffersDetail")?"border-b-white":"border-b-transparent"),children:s(mT.W.SSO.Global.MEMBER_OFFERS)})}),(0,va.jsx)("li",{children:(0,va.jsx)("a",{onClick:()=>{(0,yI.sendGTMEvent)({event:"member_dashboard_interact",intent:"sidebar nav MY PROFILE"}),l("MY PROFILE")},className:"border-b-2 ".concat("MY PROFILE"===i?"border-b-white":"border-b-transparent"),children:s(mT.W.SSO.Global.MY_PROFILE)})}),(0,va.jsx)("li",{children:(0,va.jsx)("a",{onClick:()=>{(0,yI.sendGTMEvent)({event:"member_dashboard_interact",intent:"sidebar nav LOGOUT"}),l("LOGOUT")},className:"border-b-2 ".concat("LOGOUT"===i?"border-b-white":"border-b-transparent"," logout"),children:s(mT.W.SSO.Global.LOGOUT)})})]})]})}),(0,va.jsx)("div",{className:"block pt-[100px] pb-5 sm:hidden",children:(0,va.jsxs)("div",{className:"text-[20px]",children:[(0,va.jsxs)("div",{className:"flex gap-1",children:[(0,va.jsx)("p",{children:s(mT.W.SSO.Global.WELCOME_BACK)}),(0,va.jsx)("p",{children:d})]}),(0,va.jsx)("div",{className:"text-[14px]",children:o}),(0,va.jsx)("div",{children:(0,va.jsxs)("select",{onChange:e=>{l(e.target.value)},value:i,className:"w-full border-b bg-transparent text-[11px] focus:outline-none",children:[(0,va.jsx)("option",{className:"text-black",value:"UPCOMING BOOKING",children:s(mT.W.SSO.Global.UPCOMING_BOOKING)}),(0,va.jsx)("option",{className:"text-black",value:"MEMBER OFFERS",children:s(mT.W.SSO.Global.MEMBER_OFFERS)}),(0,va.jsx)("option",{className:"text-black",value:"MY PROFILE",children:s(mT.W.SSO.Global.MY_PROFILE)}),(0,va.jsx)("option",{className:"text-black",value:"LOGOUT",children:s(mT.W.SSO.Global.LOGOUT)})]})})]})})]})};let y0=(0,kF.WP)();var y1=()=>{let{t:e,locale:l}=(0,vT.QT)(),[i,s]=(0,vd.useState)(!1),[n,a]=(0,vd.useState)([]);return(0,vd.useEffect)(()=>{(async()=>{if(!i){try{let l=await fetch("".concat(y0).concat(uc.MD.BOOKING_GET_UPCOMING_BOOKING),{method:"GET",headers:{"Content-Type":"application/json"}});if(200==l.status){let i=await l.json();i.forEach(l=>{if(void 0!=l.HotelId&&l.RoomType,void 0!=l.Status){var i;let s=null===(i=gZ.ip.find(e=>e.code==l.Status))||void 0===i?void 0:i.label;void 0!=s&&(l.Status=e(s))}}),a(i)}else{console.log("no data");return}}catch(e){console.error("Error fetching data:",e);return}s(!0)}})()},[]),(0,va.jsxs)("div",{className:" w-full sm:pb-10 sm:pt-[212px]",children:[(0,va.jsx)("div",{className:" mb-10 text-[32px] leading-[40px] sm:text-[40px] sm:leading-[44px] font-Belleza",children:e(mT.W.SSO.Global.UPCOMING_BOOKING)}),n.map((l,i)=>{var s,n,a,d,t,o;return(0,va.jsxs)(vd.Fragment,{children:[(0,va.jsx)("div",{className:"my-3 border-t border-t-black opacity-50 sm:block"}),(0,va.jsxs)("div",{className:"sm:grid sm:grid-cols-2 sm:gap-[30px]",children:[(0,va.jsx)("div",{className:" pb-10",children:null!=l.Image?(0,va.jsx)(vg.E,{className:"mx-auto w-full",field:l.Image}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsxs)("div",{className:"font-Amiko",children:[(0,va.jsxs)("div",{className:"label pb-5 text-[20px] leading-[45px] font-bold",children:["#",l.BookingReference]}),(0,va.jsxs)("div",{className:"flex gap-10 py-3",children:[(0,va.jsxs)("div",{children:[(0,va.jsx)("div",{className:"label pb-2 text-[12px] leading-4 font-semibold opacity-70 uppercase",children:e(mT.W.SSO.Global.CHECK_IN_DATE)}),(0,va.jsxs)("div",{className:"text-[15px] leading-[21px]",children:[null===(s=l.CheckInDate)||void 0===s?void 0:s.split("/")[2],"-",null===(n=l.CheckInDate)||void 0===n?void 0:n.split("/")[1],"-",null===(a=l.CheckInDate)||void 0===a?void 0:a.split("/")[0]]})]}),(0,va.jsxs)("div",{children:[(0,va.jsx)("div",{className:"label pb-2 text-[12px] leading-4 font-semibold opacity-70 uppercase",children:e(mT.W.SSO.Global.CHECK_OUT_DATE)}),(0,va.jsxs)("div",{className:"text-[15px] leading-[21px]",children:[null===(d=l.CheckOutDate)||void 0===d?void 0:d.split("/")[2],"-",null===(t=l.CheckOutDate)||void 0===t?void 0:t.split("/")[1],"-",null===(o=l.CheckOutDate)||void 0===o?void 0:o.split("/")[0]]})]})]}),(0,va.jsxs)("div",{className:"py-3",children:[(0,va.jsx)("div",{className:"label pb-2 text-[12px] leading-4 font-semibold opacity-70 uppercase",children:e(mT.W.
1SSO.Global.NIGHT)}),(0,va.jsx)("div",{className:"text-[15px] leading-[21px]",children:l.Nights})]}),(0,va.jsxs)("div",{className:"py-3",children:[(0,va.jsx)("div",{className:"label pb-2 text-[12px] leading-4 font-semibold opacity-70 uppercase",children:e(mT.W.SSO.Global.NUMBER_OF_GUEST)}),(0,va.jsx)("div",{className:"text-[15px] leading-[21px]",children:l.NumberOfGuests})]}),(0,va.jsxs)("div",{className:"py-3",children:[(0,va.jsx)("div",{className:"label pb-2 text-[12px] leading-4 font-semibold opacity-70 uppercase",children:e(mT.W.SSO.Global.HOTEL)}),(0,va.jsx)("div",{className:"text-[15px] leading-[21px]",children:l.HotelId})]}),(0,va.jsxs)("div",{className:"py-3",children:[(0,va.jsx)("div",{className:"label pb-2 text-[12px] leading-4 font-semibold opacity-70 uppercase",children:e(mT.W.SSO.Global.ROOM_TYPE)}),(0,va.jsx)("div",{className:"text-[15px] leading-[21px]",children:l.RoomType})]}),(0,va.jsxs)("div",{className:"py-3",children:[(0,va.jsx)("div",{className:"label pb-2 text-[12px] opacity-70 uppercase",children:e(mT.W.SSO.Global.STATUS)}),(0,va.jsx)("div",{className:"text-[15px] leading-[21px]",children:l.Status})]})]})]})]},i)}),!(null==n?void 0:n.length)&&(0,va.jsx)("div",{children:e(mT.W.SSO.Global.NO_CURRENT_BOOKING)}),(0,va.jsx)("div",{className:"my-3 border-t border-t-black opacity-50 sm:block"})]})},y2=e=>{let{locale:l}=(0,vT.QT)(),[i,s]=(0,vd.useState)("MEMBER OFFERS"),n=(0,vd.useCallback)(()=>{window.scrollTo({top:0,behavior:"instant"})},[]);(0,vd.useEffect)(()=>{e.fields.BannerList.forEach(e=>{null!=e.fields.Link&&(e.click=()=>{var l;(0,yI.sendGTMEvent)({event:"offer_interact",offer_title:null===(l=e.fields.OfferTitle)||void 0===l?void 0:l.value,intent:"view offer details"}),s("MemberOffersDetail"+e.fields.Link.id),n()})}),e.fields.CardList1.forEach(e=>{if(null!=e.fields.ItemLink){var l;e.hotel=null===(l=e.fields.OfferTitle)||void 0===l?void 0:l.value,e.click=()=>{var l;(0,yI.sendGTMEvent)({event:"offer_interact",offer_title:null===(l=e.fields.OfferTitle)||void 0===l?void 0:l.value,intent:"discover hotel offer"}),s("MemberOffersDetail"+e.fields.ItemLink.id),n()}}}),e.fields.CardList3.forEach(e=>{if(null!=e.fields.ItemLink){var l;e.hotel=null===(l=e.fields.OfferTitle)||void 0===l?void 0:l.value,e.click=()=>{var l;(0,yI.sendGTMEvent)({event:"offer_interact",offer_title:null===(l=e.fields.OfferTitle)||void 0===l?void 0:l.value,intent:"discover hotel offer"}),s("MemberOffersDetail"+e.fields.ItemLink.id),n()}}})},[]);let a=e.fields.BannerList.map((e,l)=>(0,va.jsx)(va.Fragment,{children:null!=e.fields.Link&&(0,va.jsx)("div",{className:"sm:mx-[80px] sm:pl-60 ".concat(i==="MemberOffersDetail"+e.fields.Link.id?"":"hidden"),children:(0,va.jsx)(yQ,{fields:e.fields.Link.fields})},l)}));return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{children:(0,va.jsx)("div",{className:" ",children:(0,va.jsxs)("div",{className:" px-[15px] sm:px-[30px]",children:[(0,va.jsx)(yX,{onLinkClick:e=>{"LOGOUT"==e?(0,yP.signOut)({callbackUrl:"/".concat(vS.lI[l()]),redirect:!0}):(s(e),n())},selectedLink:i}),(0,va.jsx)("div",{className:"sm:mx-[80px] min-h-[60vh] sm:pl-60 ".concat("UPCOMING BOOKING"===i?"":"hidden"),children:(0,va.jsx)(y1,{})}),(0,va.jsx)("div",{className:"sm:mx-[80px] sm:pl-60 ".concat("MEMBER OFFERS"===i?"":"hidden"),children:(0,va.jsx)(yz,{fields:e.fields})}),(0,va.jsx)("div",{className:"sm:mx-[80px] sm:pl-60 ".concat("MY PROFILE"===i?"":"hidden"),children:(0,va.jsx)(yZ,{})}),a]})})})})};let y5=(0,kF.WP)();var y3=()=>{let{t:e,locale:l}=(0,vT.QT)(),[i,s]=(0,vd.useState)(""),[n,a]=(0,vd.useState)(""),[d,t]=(0,vd.useState)(""),[o,r]=(0,vd.useState)(10),[c,v]=(0,vd.useState)(!1);(0,vd.useEffect)(()=>{let e=null;return c&&o>0?e=setInterval(()=>{r(e=>e-1)},1e3):0===o&&(v(!1),e&&clearInterval(e)),()=>{e&&clearInterval(e)}},[c,o]);let[u,m]=(0,vd.useState)(!1),[x,p]=(0,vd.useState)(!1),[h,f]=(0,vd.useState)(""),[g,j]=(0,vd.useState)(""),[N,b]=(0,vd.useState)(""),[T,S]=(0,vd.useState)(""),[k,w]=(0,vd.useState)(""),[y,E]=(0,vd.useState)(""),[C,O]=(0,vd.useState)(!1),[L,I]=(0,vd.useState)(0),[F,_]=(0,vd.useState)(0),[M,R]=(0,vd.useState)(""),P=()=>{let e=window.location.pathname;(0,yP.signIn)("azureb2c",{callbackUrl:e},{ui_locales:gZ.OE[l()]})},A=async()=>{var l,i,s,n;if(L>=5){let l=null===(i=gZ.VO.find(e=>"E306"==e.code))||void 0===i?void 0:i.label;void 0!=l?j(e(l)):j("(error not match) OTP not match too much times,please resend OTP");return}I(L+1),j("");let a=null===(l=document.querySelector("#InputCode"))||void 0===l?void 0:l.querySelectorAll("input.code-input-box"),d="";for(let e=0;e<a.length;e++)if(d+=a[e].value,""==a[e].value||void 0===a[e].value)return;if(6!==d.length||!/^\d{6}$/.test(d))return;let t={Channel:"phone",Signature:y,UserInputCode:d};j("");try{eR(!0);let l=await fetch(uc.MD.PROFILE_VERIFY_AND_BIND,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(eR(!1),200==l.status)I(0),eW(),H();else if(401==l.status)P();else{if(L>=4){let l=null===(s=gZ.VO.find(e=>"E306"==e.code))||void 0===s?void 0:s.label;void 0!=l?j(e(l)):j("(error not match) OTP not match too much times");return}let i=await l.json();if(i.ErrorCode){let l=null===(n=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===n?void 0:n.label;j(void 0!=l?e(l):eV)}else j(eV);return}}catch(l){console.error("Error fetching data:",l),j(e("SSO/Errors/GeneralError"))}finally{eR(!1)}},D=async()=>{I(0),j("");let i={Channel:"phone",MobileCountry:eL,MobilePhoneNumber:n,Locale:l()};try{f(""),eR(!0);let l=await fetch(uc.MD.PROFILE_SEND_OTP,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(eR(!1),200==l.status){let e=await l.json();
1E(e.Signature),W()}else if(401==l.status)P();else{let i=await l.json();if(i.ErrorCode){var s;let l=null===(s=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===s?void 0:s.label;f(void 0!=l?e(l):eV)}else f(eV);return}}catch(e){console.error("Error fetching data:",e),f(eV)}finally{eR(!1)}},B=async()=>{var l,i,s,n;if(F>=5){let l=null===(i=gZ.VO.find(e=>"E306"==e.code))||void 0===i?void 0:i.label;void 0!=l?S(e(l)):S("(error not match) OTP not match too much times,please resend OTP");return}_(F+1),S("");let a=null===(l=document.querySelector("#InputCode"))||void 0===l?void 0:l.querySelectorAll("input.code-input-box"),d="";for(let e=0;e<a.length;e++)if(d+=a[e].value,""==a[e].value||void 0===a[e].value)return;if(6!==d.length||!/^\d{6}$/.test(d))return;let t={Channel:"email",Signature:y,UserInputCode:d};S("");try{eR(!0);let l=await fetch(uc.MD.PROFILE_VERIFY_AND_BIND,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(eR(!1),200==l.status)_(0),eW(),U();else if(401==l.status)P();else{if(F>=4){let l=null===(s=gZ.VO.find(e=>"E306"==e.code))||void 0===s?void 0:s.label;void 0!=l?S(e(l)):S("(error not match) OTP not match too much times");return}let i=await l.json();if(i.ErrorCode){let l=null===(n=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===n?void 0:n.label;S(void 0!=l?e(l):eV)}else S(eV);return}}catch(e){console.error("Error fetching data:",e),S(eV)}finally{eR(!1)}},V=async()=>{_(0),S("");let s={Channel:"email",Email:K?d:i,Locale:l()},n=K?d.split("@"):i.split("@"),a="";if(n[0].length>7){for(let e=0;e<n[0].length-3;e++)a+="*";a=a+n[0].slice(-3)+"@"+n[1]}else if(n[0].length>2){for(let e=0;e<n[0].length-1;e++)a+="*";a=a+n[0].slice(-1)+"@"+n[1]}else{for(let e=0;e<n[0].length;e++)a+="*";a=a+"@"+n[1]}R(a);try{b(""),eR(!0);let l=await fetch(uc.MD.PROFILE_SEND_OTP,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(eR(!1),200==l.status){let e=await l.json();E(e.Signature),G()}else if(401==l.status)P();else{let i=await l.json();if(i.ErrorCode){var t;let l=null===(t=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===t?void 0:t.label;b(void 0!=l?e(l):eV)}else b(eV);return}}catch(e){console.error("Error fetching data:",e),b(eV);return}finally{eR(!1)}},W=()=>{u||(m(!0),v(!0),r(60),f(""))},H=()=>{m(!1),v(!0)},G=()=>{x||(p(!0),v(!0),r(60),S(""))},U=()=>{p(!1),v(!0)},[z,q]=(0,vd.useState)(!1),[Q,Y]=(0,vd.useState)(!1),[K,Z]=(0,vd.useState)(!1),[J,X]=(0,vd.useState)(!1),[ee,el]=(0,vd.useState)(!1),[ei,es]=(0,vd.useState)(""),[en,ea]=(0,vd.useState)(!1),[ed,et]=(0,vd.useState)(!0),[eo,er]=(0,vd.useState)(""),[ec,ev]=(0,vd.useState)(""),[eu,em]=(0,vd.useState)(""),[ex,ep]=(0,vd.useState)(""),[eh,ef]=(0,vd.useState)(""),[eg,ej]=(0,vd.useState)(""),[eN,eb]=(0,vd.useState)(""),[eT,eS]=(0,vd.useState)(""),[ek,ew]=(0,vd.useState)([]),[ey,eE]=(0,vd.useState)([]),[eC,eO]=(0,vd.useState)([]),[eL,eI]=(0,vd.useState)("852"),[eF,e_]=(0,vd.useState)([]),[eM,eR]=(0,vd.useState)(!1),[eP,eA]=(0,vd.useState)(!1),[eD,eB]=(0,vd.useState)(!1),eV=e("SSO/Errors/GeneralError"),eW=async()=>{try{let l=await fetch("".concat(y5).concat(uc.MD.PROFILE_GET_PROFILE),{cache:"no-cache",method:"GET",headers:{"Content-Type":"application/json"}});if(200==l.status){let i=await l.json();if(i){e$(i.HasPassword);let l=gZ.$A.filter(e=>e.code==i.Salutation);l.length>0&&(er(e(l[0].label)),ev(l[0].code),ef(l[0].code)),eB(i.EmailOTPVerified),eA(i.PhoneOTPVerified),em(i.FirstName),ep(i.LastName),ej(i.FirstName),eb(i.LastName);let n=gZ.y7.filter(e=>e.code==i.MobileCountry).map(e=>e.label);n.length>0&&(eS(n[0]),eI(i.MobileCountry)),a(i.MobilePhoneNumber),s(i.Email),t(i.Email);let d=0,o="",r=[i.ArtAndDesign,i.Music,i.Wellness,i.Fashion,i.Cars,i.Watches,i.Jewellery,i.Sustainability,i.DestinationTravel,i.SportsAndFitness,i.Beauty,i.DiversityAndInclusion,i.RestaurantsAndBars],c=[];for(let l of r)l&&(""!==o&&(o+=", "),o+=e(gZ.k0[d].label),c=c.concat(gZ.k0[d].code)),d++;eE(c),eO(c),es(o);let v=[gZ.mN[1].code];i.DataManageWithinResidence&&(v=v.concat(gZ.mN[2].code)),i.MarketingOptIn&&(v=v.concat(gZ.mN[0].code)),ew(v),e_(v),ea(!0)}}else{if(401!=l.status)return;P()}}catch(e){console.error("Error fetching data:",e);return}};(async()=>{en||(eW(),ea(!0))})();let eH=e=>{if(eC.length>=3&&e.target.checked){O(!0);return}O(!1);let l=e.target.value;e.target.checked?eO([...eC,l]):eO(eC.filter(e=>e!==l))},eG=e=>{if(ee){let l=e.target.value;e.target.checked?e_([...eF,l]):e_(eF.filter(e=>e!==l))}};function eU(){q(!1),Y(!1),Z(!1),X(!1),el(!1),le(!1)}let ez=async l=>{let i=0,s={Salutation:"name"==l?eh:ec,FirstName:"name"==l?eg:eu,LastName:"name"==l?eN:ex,Interests:{ArtAndDesign:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Music:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Wellness:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Fashion:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Cars:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Watches:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Jewellery:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Sustainability:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),DestinationTravel:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),SportsAndFitness:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),Beauty:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),DiversityAndInclusion:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code),RestaurantsAndBars:"interests"==l?eC.includes(gZ.k0[i++].code):ey.includes(gZ.k0[i++].code)},MarketingOptIn:"privacy"==l?eF.includes(gZ.mN[0].code):ek.includes(gZ.mN[0].code)}
1,n=e(mT.W.SSO.Global.INVALID_API);try{eR(!0);let l=await fetch(uc.MD.PROFILE_UPDATE_PROFILE,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(eR(!1),200==l.status)eW(),eU();else if(401==l.status)P();else{let i=await l.json();if(i.ErrorCode){var a;let l=null===(a=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===a?void 0:a.label;w(void 0!=l?e(l):n)}else w(n);return}}catch(e){console.error("Error fetching data:",e),w(n);return}finally{eR(!1)}},eq=new RegExp(gZ.is.REGEX_EMAIL),[eQ,eY]=(0,vd.useState)(!0),[eK,e$]=(0,vd.useState)(!1),[eZ,eJ]=(0,vd.useState)(""),[eX,e0]=(0,vd.useState)(""),[e1,e2]=(0,vd.useState)(!0),[e5,e3]=(0,vd.useState)(!0),[e4,e6]=(0,vd.useState)({hasUpperCase:!1,hasLowerCase:!1,hasNumber:!1,hasSpecialChar:!1,hasMinLength:!1}),e8=()=>{let e=[e4.hasUpperCase,e4.hasLowerCase,e4.hasNumber,e4.hasSpecialChar].filter(e=>e).length>=3;return!!eZ&&!!e4.hasMinLength&&!!e},e7=async()=>{if(ld(""),!e8()){e3(!1);return}if(e1)try{eR(!0);let i=await fetch(uc.MD.PASSWORD_SET_PASSWORD,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({Password:eZ})});if(eR(!1),200==i.status)eW(),eU();else{let s=await i.json();if(s.ErrorCode){var l;let i=null===(l=gZ.VO.find(e=>e.code==s.ErrorCode))||void 0===l?void 0:l.label;ld(i?e(i):"Set Password Failed")}else ld("Set Password Failed")}}catch(e){console.error("Error fetching data:",e)}finally{eR(!1)}},[e9,le]=(0,vd.useState)(!1),[ll,li]=(0,vd.useState)(!0),[ls,ln]=(0,vd.useState)(!0),[la,ld]=(0,vd.useState)("");return(0,va.jsxs)(va.Fragment,{children:[eM?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsxs)("div",{className:"sm:pt-[137px] pt-[25px] px-[15px] sm:flex sm:px-[30px] font-Amiko",children:[(0,va.jsx)(yA,{setIsLoading:eR,selectedValue:"MY_PROFILE"}),(0,va.jsx)("div",{className:"px-[15px] sm:w-[calc(100vw-330px)] sm:px-[30px]",children:(0,va.jsxs)("div",{className:"sm:max-w-[720px] pb-20",children:[(0,va.jsx)("div",{className:"sm:pb-10 sm:text-[40px] sm:leading-[44px] text-[30px] font-Belleza",children:(0,va.jsx)("div",{className:"",children:e(mT.W.SSO.Global.MY_PROFILE)})}),(0,va.jsx)("div",{className:"border-b border-b-black opacity-50 max-sm:pt-10"}),(0,va.jsxs)("div",{className:"".concat(z?"mt-4":"my-4"," grid sm:grid-cols-[1fr_2fr_2fr_60px] grid-cols-[2fr_2fr] sm:gap-10 gap-3"),children:[(0,va.jsxs)("div",{className:"flex flex-col sm:justify-between max-sm:order-1",children:[(0,va.jsx)("div",{className:"sm:mb-4 mb-3 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"":"opacity-70"),children:e(mT.W.SSO.Global.TITLE)}),(0,va.jsx)("div",{className:"text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"hidden":""),children:eo}),(0,va.jsxs)("select",{required:!0,className:"".concat(z?"":"hidden"," w-full border-b border-b-black sso-select bg-transparent text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] outline-none"),value:eh,onChange:e=>{ef(e.target.value)},children:[(0,va.jsx)("option",{className:"text-black",value:"",disabled:!0,selected:!0,children:e(mT.W.SSO.Global.ENTER_TITLE)}),gZ.$A.map(l=>(0,va.jsx)("option",{className:"text-black",value:l.code,children:e(l.label)},l.code))]})]}),(0,va.jsxs)("div",{className:"flex flex-col sm:justify-between max-sm:order-3",children:[(0,va.jsx)("div",{className:"sm:mb-4 mb-3 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"":"opacity-70"),children:e(mT.W.SSO.Global.FIRST_NAME)}),(0,va.jsx)("div",{className:"text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"hidden":""),children:eu}),(0,va.jsx)("input",{value:eg,onChange:e=>{ej(e.target.value)},className:"w-full border-b border-b-black sso-input-autofill bg-transparent text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] outline-none ".concat(z?"":"hidden")})]}),(0,va.jsxs)("div",{className:"flex flex-col sm:justify-between max-sm:order-4",children:[(0,va.jsx)("div",{className:"sm:mb-4 mb-3 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"":"opacity-70"),children:e(mT.W.
1SSO.Global.LAST_NAME)}),(0,va.jsx)("div",{className:"text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"hidden":""),children:ex}),(0,va.jsx)("input",{value:eN,onChange:e=>{eb(e.target.value)},className:"w-full border-b border-b-black sso-input-autofill bg-transparent text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] outline-none ".concat(z?"":"hidden")})]}),(0,va.jsx)("div",{className:"ml-auto max-sm:order-2 w-[60px] float-right",children:(0,va.jsx)("a",{onClick:()=>{q(!z),Y(!1),Z(!1),X(!1),le(!1),el(!1),w(""),et(!0)},className:"relative sm:top-[-2px] top-[-5px] border-b-[2px] border-b-uh-gold text-[13px] sm:text-[16px] leading-[16px] sm:font-normal font-semibold sm:tracking-normal tracking-[0.88px]",children:z?e(mT.W.SSO.Global.CANCEL):e(mT.W.SSO.Global.EDIT)})})]}),z&&(0,va.jsx)("p",{className:"pb-2 text-[11px] text-[#828077]",children:e(mT.W.SSO.Global.CONSISTENT_NAME)}),!ed&&z&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500 ",children:e(mT.W.SSO.Global.REQUIRED_All)}),""!==k&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500 ",children:k}),(0,va.jsx)("button",{className:"px-[30px] py-[15px] text-[16px] leading-[16px] sso_black_btn font-bold ".concat(z?"":"hidden"),onClick:()=>{if(""==eh||""==eg||""==eN){et(!1);return}et(!0),ez("name")},children:e(mT.W.SSO.Global.CONFIRM)}),(0,va.jsx)("div",{className:"my-4 border-t border-t-black opacity-50 "}),(0,va.jsx)("div",{className:"my-4 flex gap-5",children:(0,va.jsxs)("div",{children:[(0,va.jsx)("div",{className:"mb-2 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px]",children:e(mT.W.SSO.Global.PHONE_NUMBER)}),(0,va.jsx)("div",{className:"w-full pb-[10px] text-start text-[11px] text-[#828077]",children:e(mT.W.SSO.Global.CONSISTENT_PHONE)}),(0,va.jsx)("div",{className:"text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(""),children:"".concat(eT," ").concat(n)})]})}),""!==h&&!eP&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:h}),(0,va.jsx)("button",{onClick:D,className:"px-[30px] py-[15px] text-[16px] leading-[16px] sso_black_btn font-bold ".concat(eP?"hidden":""),children:e(mT.W.SSO.Global.VERIFY)}),(0,va.jsx)(yK,{isOpen:u,onClose:H,children:(0,va.jsxs)("div",{className:"m-auto flex max-w-[580px] flex-col items-center gap-5 pt-10",children:[(0,va.jsx)("div",{className:"m-auto text-[18px] leading-6 tracking-widest font-bold pb-3 ",children:e(mT.W.SSO.Global.ENTER_PASSCODE)}),(0,va.jsx)("div",{className:"m-auto text-center text-[15px] leading-[21px]",children:n.length>4?(0,va.jsx)("p",{children:e(mT.W.SSO.Global.OTP_SENT_PHONE).replace(/{phone}/gi,n.substring(0,n.length-4).replace(/[0-9]/g,"*")+n.slice(-4))}):(0,va.jsx)("p",{children:e(mT.W.SSO.Global.OTP_SENT_PHONE).replace(/{phone}/gi,n)})}),(0,va.jsxs)("div",{className:"w-[345px]",children:[(0,va.jsx)(yM,{}),(0,va.jsx)("button",{onClick:A,className:"mt-5 h-12 font-bold px-[30px] py-[15px] text-[16px] leading-[16px] w-full sso_black_btn",children:e(mT.W.SSO.Global.CONTINUE)})]}),""!==g&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:g}),(0,va.jsx)("div",{className:"text-[15px] leading-5 my-3 font-semibold text-[#808080] ".concat(c?"":"hidden"),children:e(mT.W.SSO.Global.RESEND_OTP_COUNTDOWN).replace(/{seconds}/gi,String(o))}),(0,va.jsx)("a",{onClick:D,className:"text-[15px] leading-5 font-semibold text-[#1d2021] border-b-[2px] border-b-uh-gold ".concat(c?"hidden":""),children:e(mT.W.SSO.Global.RESEND_OTP_NOW)}),(0,va.jsx)("a",{className:" text-[15px] leading-5 font-semibold text-[#1d2021] border-b-[2px] border-b-uh-gold ",onClick:H,children:e(mT.W.SSO.Global.GO_BACK)})]})}),(0,va.jsx)("div",{className:"my-4 border-t border-t-black opacity-50 "}),(0,va.jsxs)("div",{className:"my-4 grid grid-cols-[1fr_60px] gap-5",children:[(0,va.jsxs)("div",{className:"max-w-[250px] sm:max-w-none",children:[(0,va.jsx)("div",{className:"mb-4 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(K?"":"opacity-70"),children:e(mT.W.SSO.Global.EMAIL)}),(0,va.jsx)("div",{className:"text-[15px] leading-[20px] break-words opacity-75 ".concat(K?"hidden":""),children:i}),(0,va.jsx)("input",{id:"emailVal",value:d,onChange:e=>{let l=e.target.value;t(l),0==l.length?eY(!0):eY(eq.test(l))},className:"w-full border-b border-b-black sso-input-autofill bg-transparent text-[15px] leading-[20px] outline-none ".concat(K?"":"hidden")})]}),(0,va.jsx)("div",{className:"ml-auto",children:(0,va.jsx)("a",{onClick:()=>{Z(!K),Y(!1),q(!1),X(!1),el(!1),le(!1),et(!0)},className:"mb-4 border-b-[2px] border-b-uh-gold text-[13px] sm:text-[16
1px] leading-[16px] sm:font-normal font-semibold sm:tracking-normal tracking-[0.88px]",children:K?e(mT.W.SSO.Global.CANCEL):e(mT.W.SSO.Global.EDIT)})})]}),""!==N&&(K||!eD)&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:N}),!eQ&&K&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:e(mT.W.SSO.Global.EMAIL_FORMAT)}),(0,va.jsx)("button",{onClick:V,className:"font-bold px-[30px] py-[15px] text-[16px] leading-[16px] sso_black_btn ".concat(K||!1==eD?"":"hidden"),children:e(mT.W.SSO.Global.VERIFY)}),eD&&(0,va.jsxs)("div",{className:"flex pt-2 gap-5",children:[(0,va.jsxs)("div",{className:"",children:[(0,va.jsx)("div",{className:"mb-3 text-[13px] sm:text-[15px] leading-[20px] ".concat(e9?"":"opacity-70"),children:e(mT.W.SSO.Password.PASSWORD)}),!(eK||e9)&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"w-full text-start text-[13px] text-black opacity-50",children:e(mT.W.SSO.Password.SET_UP_TIP)}),(0,va.jsx)("div",{onClick:()=>le(!e9),className:"inline-block border-b-[2px] border-b-uh-gold mb-4 text-[13px] sm:text-[16px] leading-[16px]",children:e(mT.W.SSO.Password.SET_UP_PASSWORD)})]}),e9?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"relative sm:w-[488px]",children:[(0,va.jsx)("input",{className:"w-full border-b border-b-[#828077] sso-input-autofill bg-transparent text-[13px] leading-[18px] outline-none",type:ll?"password":"text",onChange:e=>{let l=e.target.value;eJ(l);let i=l.length>=8,s=/[A-Z]/.test(l);e6({hasMinLength:i,hasUpperCase:s,hasLowerCase:/[a-z]/.test(l),hasNumber:/[0-9]/.test(l),hasSpecialChar:/[!"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]/.test(l)}),e3(!0),0==l.length||l===eX?e2(!0):e2(!1)},value:eZ}),(0,va.jsx)("div",{onClick:()=>li(!ll),className:"absolute right-0 top-0 ".concat(ll?"with-eye-crossed":"with-eye")})]}),(0,va.jsxs)("div",{className:"w-full mt-3 text-[11px]",children:[(0,va.jsx)("div",{className:"text-[12px] leading-[16px] opacity-50",children:e(mT.W.SSO.Password.LENGTH_REQUIRE)}),(0,va.jsxs)("div",{className:"mt-1 sm:grid sm:grid-cols-2 text-black lowercase",children:[(0,va.jsxs)("div",{className:e4.hasUpperCase?"":"opacity-50",children:[e(mT.W.SSO.Password.UPPERCASE_REQUIRE),(0,va.jsx)("div",{className:"sm:ml-[20px] ml-[10px] ".concat(e4.hasUpperCase?"with-checkmark ":"with-checkmark")})]}),(0,va.jsxs)("div",{className:e4.hasLowerCase?"":"opacity-50",children:[e(mT.W.SSO.Password.LOWERCASE_REQUIRE),(0,va.jsx)("div",{className:"sm:ml-[20px] ml-[10px] ".concat(e4.hasLowerCase?"with-checkmark ":"with-checkmark")})]}),(0,va.jsxs)("div",{className:e4.hasNumber?"":"opacity-50",children:[e(mT.W.SSO.Password.NUMBER_REQUIRE),(0,va.jsx)("div",{className:"sm:ml-[20px] ml-[10px] ".concat(e4.hasNumber?"with-checkmark ":"with-checkmark")})]}),(0,va.jsxs)("div",{className:e4.hasSpecialChar?"":" opacity-50",children:[e(mT.W.SSO.Password.SPECIAL_CHARACTER_REQUIRE),(0,va.jsx)("div",{className:"sm:ml-[20px] ml-[10px] ".concat(e4.hasSpecialChar?"with-checkmark ":"with-checkmark")})]})]})]}),(0,va.jsxs)("div",{className:"w-full pt-3",children:[(0,va.jsx)("div",{className:"text-[15px] leading-5",children:e(mT.W.SSO.Password.CONFIRM_PASSWORD)}),(0,va.jsxs)("div",{className:"relative sm:w-[488px]",children:[(0,va.jsx)("input",{className:"w-full border-b border-b-[#828077] sso-input-autofill bg-transparent text-[13px] leading-[18px] outline-none",type:ls?"password":"text",onChange:e=>{let l=e.target.value;e0(l),0==l.length||l===eZ?e2(!0):e2(!1)},value:eX}),(0,va.jsx)("div",{onClick:()=>ln(!ls),className:"absolute right-0 top-0 ".concat(ls?"with-eye-crossed":"with-eye")})]}),!e1&&(0,va.jsx)("p",{className:"mt-1 text-[11px] text-red-500 error",children:e(mT.W.SSO.Password.PASSWORD_NOT_CORRECT)})]}),(0,va.jsx)("button",{onClick:e7,className:"font-bold mt-3 px-[30px] py-[15px] text-[16px] leading-[16px] sso_black_btn",children:e(mT.W.SSO.Password.CONFIRM)}),!e5&&(0,va.jsx)("p",{className:"mt-1 text-[11px] text-red-500 error",children:e(mT.W.SSO.Password.PWD_WRONG)}),""!=la&&(0,va.jsx)("p",{className:"mt-1 text-[11px] text-red-500 error",children:la})]}):eK&&(0,va.jsx)(va.Fragment,{children:"*******"})]}),(eK||e9)&&(0,va.jsx)("div",{className:"ml-auto",children:(0,va.jsx)("a",{onClick:()=>{Z(!1),Y(!1),le(!e9),q(!1),X(!1),el(!1),et(!0)},className:"mb-4 border-b-[2px] border-b-uh-gold text-[13px] sm:text-[16
1px] leading-[16px] sm:font-normal font-semibold sm:tracking-normal tracking-[0.88px]",children:e9?e(mT.W.SSO.Global.CANCEL):e(mT.W.SSO.Global.EDIT)})})]}),(0,va.jsx)(yK,{isOpen:x,onClose:U,children:(0,va.jsxs)("div",{className:"m-auto flex max-w-[580px] flex-col items-center gap-5 pt-10",children:[(0,va.jsx)("div",{className:"m-auto text-[20px] ",children:e(mT.W.SSO.Global.ENTER_PASSCODE)}),(0,va.jsx)("div",{className:"m-auto text-center text-[13px]",children:e(mT.W.SSO.Global.OTP_SENT_EMAIL).replace(/{email}/gi,M)}),(0,va.jsxs)("div",{className:"w-[345px]",children:[(0,va.jsx)(yM,{}),(0,va.jsx)("button",{onClick:B,className:"mt-5 h-10 w-full px-[30px] py-[15px] text-[16px] leading-[16px] sso_black_btn",children:e(mT.W.SSO.Global.CONTINUE)})]}),""!==T&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:T}),(0,va.jsx)("div",{className:"text-[11px] ".concat(c?"":"hidden"),children:e(mT.W.SSO.Global.RESEND_OTP_COUNTDOWN).replace(/{seconds}/gi,String(o))}),(0,va.jsx)("a",{onClick:V,className:"text-[11px] font-bold text-[#1d2021] border-b border-b-white ".concat(c?"hidden":""),children:e(mT.W.SSO.Global.RESEND_OTP_NOW)}),(0,va.jsx)("a",{className:"mt-5 text-[11px] font-bold text-[#1d2021] border-b border-b-white",onClick:U,children:e(mT.W.SSO.Global.GO_BACK)})]})}),(0,va.jsx)("div",{className:"my-4 border-t border-t-black opacity-50 "}),(0,va.jsxs)("div",{className:"flex gap-5",children:[(0,va.jsx)("div",{children:(0,va.jsx)("div",{className:"mb-4 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(J?"":"opacity-70"),children:e(mT.W.SSO.Global.INTERESTS)})}),(0,va.jsx)("div",{className:"ml-auto",children:(0,va.jsx)("a",{onClick:()=>{X(!J),q(!1),Y(!1),Z(!1),el(!1),le(!1),w(""),et(!0)},className:"mb-4 border-b-[2px] border-b-uh-gold text-[13px] sm:text-[16px] leading-[16px] sm:font-normal font-semibold sm:tracking-normal tracking-[0.88px]",children:J?e(mT.W.SSO.Global.CANCEL):e(mT.W.SSO.Global.EDIT)})})]}),(0,va.jsx)("div",{className:"text-[15px] leading-[20px] opacity-75 ".concat(J?"hidden":""),children:ei}),(0,va.jsx)("div",{className:"grid grid-cols-2 gap-3 text-[15px] leading-[20px] sm:grid-cols-3 ".concat(J?"":"hidden"),children:gZ.k0.map(l=>(0,va.jsxs)("div",{className:"flex items-start",children:[(0,va.jsx)("input",{className:"ssoinput mr-2 mt-[2px]",type:"checkbox",value:l.code,checked:eC.includes(l.code),onChange:eH}),(0,va.jsx)("label",{id:l.code,children:e(l.label)})]},l.code))}),""!==k&&J&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500 ",children:k}),C&&J&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500",children:e(mT.W.SSO.Global.MAXIMUM_SELECT)}),(0,va.jsx)("button",{className:"font-bold mt-3 px-[30px] py-[15px] text-[16px] leading-[16px] sso_black_btn ".concat(J?"":"hidden"),onClick:()=>{ez("interests")},children:e(mT.W.SSO.Global.CONFIRM)}),(0,va.jsx)("div",{className:"my-4 border-t border-t-black opacity-50 "}),(0,va.jsxs)("div",{className:"flex gap-5",children:[(0,va.jsx)("div",{children:(0,va.jsx)("div",{className:"mb-4 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(ee?"":"opacity-70"),children:e(mT.W.SSO.Global.CONSENT_PREFERENCE)})}),(0,va.jsx)("div",{className:"ml-auto",children:(0,va.jsx)("a",{onClick:()=>{el(!ee),q(!1),Y(!1),Z(!1),X(!1),le(!1),w(""),et(!0)},className:"mb-4 border-b-[2px] border-b-uh-gold text-[13px] sm:text-[16px] leading-[16px] sm:font-normal font-semibold sm:tracking-normal tracking-[0.88px]",children:ee?e(mT.W.SSO.Global.CANCEL):e(mT.W.SSO.Global.EDIT)})})]}),gZ.mN.map(l=>(0,va.jsxs)("div",{className:"flex items-start pb-2 text-[15px] leading-[20px] sm:pr-20 ".concat(ee?"hidden":""),children:[(0,va.jsx)("input",{disabled:l.required,className:"ssoinput mr-3 mt-[2px]",type:"checkbox",value:l.code,checked:ek.includes(l.code)}),(0,va.jsx)("label",{dangerouslySetInnerHTML:{__html:e(l.label,{name:"",escapeInterpolation:!1})}})]},l.code)),gZ.mN.map(l=>(0,va.jsxs)("div",{className:"flex items-start pb-2 text-[15px] leading-[20px] sm:pr-20 ".concat(ee?"":"hidden"),children:[(0,va.jsx)("input",{disabled:l.required,
1className:"ssoinput mr-3 mt-[2px]",type:"checkbox",value:l.code,checked:eF.includes(l.code),onChange:eG}),(0,va.jsx)("label",{dangerouslySetInnerHTML:{__html:e(l.label,{name:"",escapeInterpolation:!1})}})]},l.code)),(0,va.jsx)("button",{className:"font-bold mt-3 mb-[1.5rem] px-[30px] py-[15px] text-[16px] leading-[16px] sso_black_btn ".concat(ee?"":"hidden"),onClick:()=>{ez("privacy")},children:e(mT.W.SSO.Global.CONFIRM)}),(0,va.jsx)("div",{className:"w-full border-t border-t-black"}),(0,va.jsx)("div",{className:"w-full pt-3 sm:text-[15px] sm:leading-[21px] text-[12px] leading-[16px] opacity-50",children:e(mT.W.SSO.Consent.NOTE)}),""!==k&&ee&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500 ",children:k})]})})]})]})};let y4=new RegExp(gZ.is.REGEX_ENAME);var y6=e=>{let{t:l}=(0,vT.QT)(),[i,s]=(0,vd.useState)(!1),[n,a]=(0,vd.useState)(!0),[d,t]=(0,vd.useState)(!0),[o,r]=(0,vd.useState)(!0),[c,v]=(0,vd.useState)(!0),[u,m]=(0,vd.useState)(!0),x=new RegExp(gZ.is.REGEX_EMAIL),p=/^[0-9]{5,15}$/,[h,f]=(0,vd.useState)(!1),[g,j]=(0,vd.useState)([]),N=l=>{let i=l.target.value;l.target.checked?(j([...g,i]),"use-pii"===l.target.value&&e.setMarketingOptIn(!0),g.length===gZ.mN.length-1&&f(!0)):(j(g.filter(e=>e!==i)),"use-pii"===l.target.value&&e.setMarketingOptIn(!1),g.length===gZ.mN.length&&f(!1))},[b,T]=(0,vd.useState)(""),[S,k]=(0,vd.useState)(!0),[w,y]=(0,vd.useState)(!0),E=()=>{s(!0),a(!0);let l=!0;for(let e of gZ.mN)if(e.required&&!g.includes(e.code)){a(!1),l=!1;break}let i=!1;i=e.isEmail&&""!==e.phoneNum&&u||!e.isEmail&&""!==e.email&&c&&""!==b&&w,o&&d&&""!==e.title&&""!==e.firstname&&""!==e.lastname&&i&&l&&A()&&I?(e.continueToValidate(),s(!1)):C()},C=(0,vd.useCallback)(()=>{window.scrollTo({top:0,behavior:"instant"})},[]),[O,L]=(0,vd.useState)(""),[I,F]=(0,vd.useState)(!0),[_,M]=(0,vd.useState)({hasUpperCase:!1,hasLowerCase:!1,hasNumber:!1,hasSpecialChar:!1,hasMinLength:!1}),[R,P]=(0,vd.useState)(!0),A=()=>{if(0==e.passwordValue.length)return!0;{let e=[_.hasUpperCase,_.hasLowerCase,_.hasNumber,_.hasSpecialChar].filter(e=>e).length>=3;return!!_.hasMinLength&&!!e}},[D,B]=(0,vd.useState)(!0),[V,W]=(0,vd.useState)(!0);return(0,va.jsx)("div",{children:(0,va.jsxs)("div",{className:"mx-auto flex max-w-[720px] flex-col pt-[150px] items-center px-[15px] sm:px-5 font-Amiko",children:[(0,va.jsx)("div",{className:" text-[18px] leading-6 tracking-widest font-bold",children:l(mT.W.SSO.Global.ENTER_PERSONAL_INFO)}),(0,va.jsxs)("div",{className:"w-full gap-3 pt-10 sm:grid sm:grid-cols-[20%_38%_38%]",children:[(0,va.jsxs)("div",{className:"",children:[(0,va.jsx)("div",{className:"w-full pt-2 text-start text-[11px] text-[#828077] sm:hidden",children:l(mT.W.SSO.Global.CONSISTENT_NAME)}),(0,va.jsxs)("div",{className:"text-[15px] leading-5",children:[l(mT.W.SSO.Global.TITLE)," ",(0,va.jsx)("span",{className:"star-style",children:" *"})]}),(0,va.jsxs)("select",{id:"titleSelect",required:!0,className:"sm:w-full w-[50%] sso-select border-b border-b-[#828077] bg-transparent text-[#828077] text-[15px] leading-[21px] py-2 outline-none",value:e.title,onChange:l=>{let i=document.querySelector("#titleSelect");i&&i.className.includes("text-[#828077]")&&(i.className=i.className.replace("text-[#828077]",""));let s=l.target.value;e.setTitle(s)},children:[(0,va.jsx)("option",{value:"",disabled:!0,selected:!0,children:l(mT.W.SSO.Global.ENTER_TITLE)}),gZ.$A.map(e=>(0,va.jsx)("option",{className:"text-black",value:e.code,children:l(e.label)},e.code))]})]}),i&&""==e.title&&(0,va.jsx)("p",{className:"error errmobile mt-1 pt-2 text-[11px] text-red-500",children:l(mT.W.SSO.Global.REQUIRED_TITLE)}),(0,va.jsxs)("div",{className:"pt-10 sm:pt-0",children:[(0,va.jsxs)("div",{className:"text-[15px] leading-5",children:[l(mT.W.SSO.Global.FIRST_NAME)," ",(0,va.jsx)("span",{className:"star-style",children:" *"})]}),(0,va.jsx)("input",{className:"w-full border-b border-b-[#828077] bg-transparent sso-input-autofill text-[15px] leading-[21px] py-2 outline-none",value:e.firstname,onChange:l=>{let i=l.target.value;t(!i||y4.test(i)),e.setFirstname(i)}})]}),i&&""==e.firstname&&(0,va.jsx)("p",{className:"error errmobile mt-1 pt-2 text-[11px] text-red-500",children:l(mT.W.
1SSO.Global.REQUIRED_FIRSTNAME)}),(0,va.jsxs)("div",{className:"pt-10 sm:pt-0",children:[(0,va.jsxs)("div",{className:"text-[15px] leading-5",children:[l(mT.W.SSO.Global.LAST_NAME)," ",(0,va.jsx)("span",{className:"star-style",children:" *"})]}),(0,va.jsx)("input",{className:"w-full border-b border-b-[#828077] bg-transparent sso-input-autofill text-[15px] leading-[21px] py-2 outline-none",value:e.lastname,onChange:l=>{let i=l.target.value;r(!i||y4.test(i)),e.setLastname(i)}})]})]}),(0,va.jsx)("div",{className:"w-full pt-2 text-start text-[11px] text-[#828077] hidden sm:block",children:l(mT.W.SSO.Global.CONSISTENT_NAME)}),(i||!(d&&o))&&(0,va.jsxs)("div",{className:"w-full pt-2",children:[i&&""==e.title&&(0,va.jsx)("p",{className:"mt-1 text-[11px] text-red-500 error errnormal",children:l(mT.W.SSO.Global.REQUIRED_TITLE)}),i&&""==e.firstname&&(0,va.jsx)("p",{className:"mt-1 text-[11px] text-red-500 error errnormal",children:l(mT.W.SSO.Global.REQUIRED_FIRSTNAME)}),i&&""==e.lastname&&(0,va.jsx)("p",{className:"mt-1 text-[11px] text-red-500 error",children:l(mT.W.SSO.Global.REQUIRED_LASTNAME)}),!(d&&o)&&(0,va.jsx)("p",{className:"mt-1 text-[11px] text-red-500 error",children:l(mT.W.SSO.Global.REQUIRED_ENGLISHNAME)})]}),e.isEmail&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"w-full pt-10",children:[(0,va.jsx)("div",{className:"text-[15px] leading-5",children:l(mT.W.SSO.Global.VERIFIED_EMAIL)}),(0,va.jsx)("input",{type:"email",className:"w-full sso-input-autofill bg-transparent text-[15px] leading-[21px] opacity-50 py-2 outline-none",value:e.email,readOnly:!0})]}),(0,va.jsxs)("div",{className:"w-full pt-10",children:[(0,va.jsx)("div",{className:"text-[15px] leading-5 flex gap-1 items-baseline ",children:(0,va.jsx)("div",{children:l(mT.W.SSO.Password.SET_UP_PASSWORD_OPTIONAL)})}),(0,va.jsx)("div",{className:"w-full pt-2 text-start text-[11px] text-[#828077]",children:l(mT.W.SSO.Password.SET_UP_TIP)})]}),(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"w-full pt-3 px-[20px]",children:[(0,va.jsx)("div",{className:"text-[15px] leading-5",children:l(mT.W.SSO.Password.PASSWORD)}),(0,va.jsxs)("div",{className:"relative w-[57%]",children:[(0,va.jsx)("input",{className:"w-full border-b border-b-[#828077] sso-input-autofill bg-transparent text-[13px] leading-[18px] outline-none",type:D?"password":"text",onChange:l=>{let i=l.target.value;e.setPasswordValue(i);let s=i.length>=8,n=/[A-Z]/.test(i);M({hasMinLength:s,hasUpperCase:n,hasLowerCase:/[a-z]/.test(i),hasNumber:/[0-9]/.test(i),hasSpecialChar:/[!"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]/.test(i)}),P(!0),0==i.length||i===O?F(!0):F(!1)},value:e.passwordValue}),(0,va.jsx)("div",{onClick:()=>B(!D),className:"absolute right-0 top-0 ".concat(D?"with-eye-crossed":"with-eye")})]})]}),(0,va.jsxs)("div",{className:"w-full mt-2 text-[11px] px-[20px] text-[#828077]",children:[(0,va.jsx)("div",{children:l(mT.W.SSO.Password.LENGTH_REQUIRE)}),(0,va.jsxs)("div",{className:"mt-1 sm:grid sm:grid-cols-2 text-black lowercase",children:[(0,va.jsxs)("div",{className:"pl-[10px] ".concat(_.hasUpperCase?"":"opacity-50"),children:[l(mT.W.SSO.Password.UPPERCASE_REQUIRE),(0,va.jsx)("div",{className:"sm:ml-[20px] ml-[10px] ".concat(_.hasUpperCase?"with-checkmark ":"with-checkmark")})]}),(0,va.jsxs)("div",{className:"pl-[10px] ".concat(_.hasLowerCase?"":"opacity-50"),children:[l(mT.W.SSO.Password.LOWERCASE_REQUIRE),(0,va.jsx)("div",{className:"sm:ml-[20px] ml-[10px] ".concat(_.hasLowerCase?"with-checkmark ":"with-checkmark")})]}),(0,va.jsxs)("div",{className:"pl-[10px] ".concat(_.hasNumber?"":"opacity-50"),children:[l(mT.W.SSO.Password.NUMBER_REQUIRE),(0,va.jsx)("div",{className:"sm:ml-[20px] ml-[10px] ".concat(_.hasNumber?"with-checkmark ":"with-checkmark")})]}),(0,va.jsxs)("div",{className:"pl-[10px] ".concat(_.hasSpecialChar?"":"opacity-50"),children:[l(mT.W.SSO.Password.SPECIAL_CHARACTER_REQUIRE),(0,va.jsx)("div",{className:"sm:ml-[20px] ml-[10px] ".concat(_.hasSpecialChar?"with-checkmark ":"with-checkmark")})]})]})]}),(0,va.jsxs)("div",{className:"w-full pt-3 px-[20px]",children:[(0,va.jsx)("div",{className:"text-[15px] leading-5",children:l(mT.W.
1SSO.Password.CONFIRM_PASSWORD)}),(0,va.jsxs)("div",{className:"relative w-[57%]",children:[(0,va.jsx)("input",{className:"w-full border-b border-b-[#828077] sso-input-autofill bg-transparent text-[13px] leading-[18px] outline-none",type:V?"password":"text",onChange:l=>{let i=l.target.value;L(i),0==i.length||i===e.passwordValue?F(!0):F(!1)},value:O}),(0,va.jsx)("div",{onClick:()=>W(!V),className:"absolute right-0 top-0 ".concat(V?"with-eye-crossed":"with-eye")})]}),!I&&(0,va.jsx)("div",{className:"mt-1 text-[11px] text-red-500 error",children:l(mT.W.SSO.Password.PASSWORD_NOT_CORRECT)})]})]}),!R&&(0,va.jsx)("div",{className:"mt-1 w-full text-[11px] text-red-500 error",children:l(mT.W.SSO.Password.PWD_WRONG)}),(0,va.jsxs)("div",{className:"w-full pt-10",children:[(0,va.jsxs)("div",{className:"text-[15px] leading-5",children:[l(mT.W.SSO.Global.PHONE_NUMBER)," ",(0,va.jsx)("span",{className:"star-style",children:" *"})]}),(0,va.jsx)("div",{className:"w-full pb-[10px] text-start text-[11px] text-[#828077]",children:l(mT.W.SSO.Global.CONSISTENT_PHONE)}),(0,va.jsxs)("div",{className:"grid grid-cols-[20%_78%] gap-3 text-[15px] leading-[21px] py-2",children:[(0,va.jsx)("select",{className:"border-b sso-select-gold border-b-[#828077] bg-transparent outline-none",onChange:l=>{let i=l.target.value;e.setPhoneAreaCode(i)},value:e.phoneAreaCode,children:gZ.y7.map(e=>(0,va.jsx)("option",{value:e.code,children:e.label},e.code))}),(0,va.jsx)("input",{className:"border-b border-b-[#828077] sso-input-autofill bg-transparent outline-none",value:e.phoneNum,onChange:l=>{let i=l.target.value;e.setPhoneNum(i),0==i.length?m(!0):m(p.test(i))}})]}),!u&&(0,va.jsx)("div",{className:"pt-2 mt-1 text-[11px] text-red-500 error",children:l(mT.W.SSO.Global.PHONE_FORMAT)}),i&&""==e.phoneNum&&(0,va.jsx)("div",{className:"pt-2 mt-1 text-[11px] text-red-500 error",children:l(mT.W.SSO.Global.REQUIRED_PHONE)}),""!=e.phoneErr&&(0,va.jsx)("div",{className:"error mt-1 pt-2 text-[11px] text-red-500",children:e.phoneErr})]})]}),!e.isEmail&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"w-full pt-10",children:[(0,va.jsx)("div",{className:"text-[15px] leading-5",children:l(mT.W.SSO.Global.VERIFIED_PHONE)}),(0,va.jsxs)("div",{className:"grid grid-cols-[20%_78%] gap-3 text-[15px] leading-[21px] py-2",children:[(0,va.jsx)("input",{className:" opacity-50 bg-transparent outline-none",value:e.phoneAreaCode,readOnly:!0}),(0,va.jsx)("input",{className:" opacity-50 bg-transparent outline-none",value:e.phoneNum,readOnly:!0})]})]}),(0,va.jsxs)("div",{className:"w-full pt-10",children:[(0,va.jsxs)("div",{className:"text-[15px] leading-5",children:[l(mT.W.SSO.Global.EMAIL)," ",(0,va.jsx)("span",{className:"star-style",children:" *"})]}),(0,va.jsx)("input",{id:"profileEmail",type:"email",className:"w-full border-b border-b-[#828077] sso-input-autofill bg-transparent text-[15px] leading-[21px] py-2 outline-none",value:e.email,onChange:l=>{let i=l.target.value;0==i.length?(e.setEmail(i),v(!0)):(e.setEmail(i),v(x.test(i)))}}),!c&&(0,va.jsx)("p",{className:"pt-2 mt-1 text-[11px] text-red-500 error",children:l(mT.W.SSO.Global.EMAIL_FORMAT)}),i&&""==e.email&&(0,va.jsx)("p",{className:"pt-2 mt-1 text-[11px] text-red-500 error",children:l(mT.W.SSO.Global.REQUIRED_EMAIL)}),""!=e.emailErr&&(0,va.jsx)("p",{className:"error 1 mt-1 pt-2 text-[11px] text-red-500",children:e.emailErr})]}),(0,va.jsxs)("div",{className:"w-full pt-10",children:[(0,va.jsxs)("div",{className:"text-[15px] leading-5",children:[l(mT.W.SSO.Global.CONFIRM_EMAIL)," ",(0,va.jsx)("span",{className:"star-style",children:" *"})]}),(0,va.jsx)("input",{type:"email",className:"w-full border-b border-b-[#828077] sso-input-autofill bg-transparent text-[15px] leading-[21px] py-2 outline-none",onChange:e=>{let l=e.target.value;T(l),0==l.length?k(!0):k(x.test(l)),l!==document.querySelector("#profileEmail").value&&""!==l?y(!1):y(!0)},value:b}),!w&&(0,va.jsx)("p",{className:"pt-2 mt-1 text-[11px] text-red-500 error",children:l(mT.W.SSO.Global.CONFIRM_EMAIL_INVALID)}),i&&""==b&&(0,va.jsx)("p",{className:"pt-2 mt-1 text-[11px] text-red-500 error",children:l(mT.W.
1SSO.Global.REQUIRED_CONFIRM_EMAIL)}),!S&&(0,va.jsx)("p",{className:"pt-2 mt-1 text-[11px] text-red-500 error",children:l(mT.W.SSO.Global.EMAIL_FORMAT)})]})]}),(0,va.jsxs)("div",{className:"pt-10 w-full",children:[(0,va.jsxs)("div",{className:"flex items-start pb-2 text-[15px] leading-[21px] gap-3",children:[(0,va.jsx)("input",{className:"ssoinput-black mr-1.5 mt-0.5 top-[3px]",type:"checkbox",checked:h,onChange:l=>{if(l.target.checked){f(!0),e.setMarketingOptIn(!0);let l=[];gZ.mN.forEach(e=>l.push(e.code)),j(l)}else f(!1),e.setMarketingOptIn(!1),j([])}}),(0,va.jsx)("label",{children:l(mT.W.SSO.Global.SELECT_ALL)})]}),gZ.mN.map(e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"flex items-start pt-3 pl-4 text-[15px] leading-[21px] gap-3",children:[(0,va.jsx)("input",{className:"ssoinput-black mr-3 mt-0.5",type:"checkbox",value:e.code,checked:g.includes(e.code),onChange:N}),(0,va.jsx)("label",{dangerouslySetInnerHTML:{__html:l(e.label,{name:"",escapeInterpolation:!1})}})]},e.code),e.required&&(0,va.jsx)("p",{className:"".concat(n||g.includes(e.code)?"hidden":"error error-margin mt-1 text-[11px] text-red-500"),children:l(mT.W.SSO.Global.CONSENT_REQUIRED)})]}))]}),(0,va.jsx)("div",{className:"w-full mt-4 border-t border-b-black"}),(0,va.jsx)("div",{className:"w-full pt-3 text-[15px] leading-[21px] opacity-50",children:l(mT.W.SSO.Consent.NOTE)}),(0,va.jsx)("button",{onClick:()=>{(0,yI.sendGTMEvent)({event:"login_signup_interact",login_or_signup:"signup",step_number:3,step_name:"signup-personal-info",intent:"continue with personal info",method:e.isEmail?"email":"phone"}),E()},className:"mb-32 mt-10 w-full sso_black_btn px-10 h-12 py-[15px] px-[30px] text-[16px] leading-[16px] uppercase font-bold",children:l(mT.W.SSO.Global.CONTINUE)})]})})},y8=e=>{let{t:l,locale:i}=(0,vT.QT)(),[s,n]=(0,vd.useState)(!1),{aliyunCaptchaLoaded:a,aliyunCaptchaLoading:d}=(0,yW.v9)(e=>e.scriptLoadStatus),t=(0,yW.I0)(),o=(0,vd.useRef)(null),r=(0,vd.useRef)(null),c="verify-otp-captcha-element",v="verify-otp-captcha-button",u=e=>{r.current=e};return(0,vd.useEffect)(()=>{if(2===e.otpStep){if(console.log("LoginPage useEffect triggered with aliyunCaptchaLoaded: ".concat(a," and aliyunCaptchaLoading: ").concat(d)),a){let l=()=>{window.initAliyunCaptcha({SceneId:"v0q0fre5o",mode:"popup",element:"#".concat(c),button:"#".concat(v),success:async i=>{await e.resendOTP(i),l()},fail:e=>{console.error(e)},getInstance:u,slideStyle:{width:345,height:40},language:vS.QJ[i()],upLang:gZ.xK,captchaLogoImg:mG.src})};l()}else if(!d){let e=document.createElement("script");e.id="verify-aliyun-captcha",e.src="https://o.alicdn.com/captcha-frontend/aliyunCaptcha/AliyunCaptcha.js",document.body.appendChild(e),e.onload=()=>{t((0,yH.Ah)(!0))},t((0,yH.DO)(!0))}return()=>{var e,l;null===(e=document.getElementById("aliyunCaptcha-mask"))||void 0===e||e.remove(),null===(l=document.getElementById("aliyunCaptcha-window-popup"))||void 0===l||l.remove()}}},[a,d,e.otpStep]),(0,va.jsxs)("div",{className:"m-auto flex max-w-[580px] flex-col items-center gap-5 pb-32 pt-[150px]",children:[(0,va.jsx)("div",{className:"m-auto text-[18px] leading-6 tracking-widest font-bold pb-3",children:l(mT.W.SSO.Global.ENTER_PASSCODE)}),(0,va.jsxs)("div",{className:"m-auto text-center text-[15px] leading-[21px] px-[15px]",children:[(0,va.jsx)("p",{className:"".concat(e.isEmail?"hidden":""),children:l(mT.W.SSO.Global.OTP_SENT_PHONE).replace(/{phone}/gi,e.maskPhoneNum)}),(0,va.jsx)("p",{className:"".concat(e.isEmail?"":"hidden"),children:l(mT.W.SSO.Global.OTP_SENT_EMAIL).replace(/{email}/gi,e.maskEmail)})]}),(0,va.jsxs)("div",{className:"w-[345px] flex flex-col items-center",children:[(0,va.jsx)(yM,{}),!e.NotOtpComplete&&(0,va.jsx)("p",{className:"error mt-1 text-center text-[11px] text-red-500",children:l(mT.W.SSO.Global.OTP_NOT_COMPLETE)}),""!=e.sendVerifyOTPError&&(0,va.jsx)("p",{className:"error mt-1 text-center text-[11px] text-red-500",children:e.sendVerifyOTPError}),(0,va.jsx)("button",{onClick:()=>{(0,yI.sendGTMEvent)({event:"login_signup_interact",login_or_signup:"signup",step_number:2,step_name:"signup-otp",intent:"continue with otp",method:e.isEmail?"email":"phone"}),e.conutine(),(0,yI.sendGTMEvent)({event:"login_signup_interact",login_or_signup:"signup",step_number:2,step_name:"signup-otp",intent:e.OtpResponse?"otp success":"otp failed",method:e.isEmail?"email":"phone"})}
1,className:" mt-4 h-12 font-bold text-[16px] leading-[16px] uppercase items-center justify-center w-full sso_black_btn",children:l(mT.W.SSO.Global.VERIFYCODE)}),(0,va.jsx)("div",{className:"mt-10 text-[15px] leading-[100%] font-semibold text-black opacity-50 ".concat(e.isActive?"":"hidden"),children:l(mT.W.SSO.Global.RESEND_OTP_COUNTDOWN).replace(/{seconds}/gi,String(e.seconds))}),(0,va.jsxs)("div",{id:"verify-otp-captcha-b",children:[(0,va.jsx)("div",{id:c,className:"invisible"}),(0,va.jsx)("div",{id:v,className:"thc",ref:o})]}),(0,va.jsx)("a",{onClick:()=>{var l;(0,yI.sendGTMEvent)({event:"login_signup_interact",login_or_signup:"signup",step_number:2,step_name:"signup-otp",intent:"resend otp",method:e.isEmail?"email":"phone"}),null===(l=o.current)||void 0===l||l.click()},className:"mt-10 text-[16px] leading-[16px] uppercase font-normal border-b-[2px] border-uh-gold ".concat(e.isActive?"hidden":""),children:l(mT.W.SSO.Global.RESEND_OTP_NOW)}),(0,va.jsxs)("div",{className:"mt-10",children:[(0,va.jsx)("div",{className:"my-3 w-full border !border-t-black "}),(0,va.jsxs)("div",{className:"mb-1 flex items-center text-[15px] leading-[100%] uppercase tracking-widest font-semibold justify-between",onClick:()=>{n(!s)},children:[(0,va.jsx)(vm.x,{field:e.fields.AccordionTitle}),(0,va.jsx)("div",{className:s?"sso-minus":"sso-plus"})]}),(0,va.jsx)("div",{className:s?"sso-richtext-ul-dot pt-[10px] text-[13px] leading-[18px]":"hidden",children:e.isEmail?(0,va.jsx)(vx.H,{field:e.fields.AccordionContent}):(0,va.jsx)(vx.H,{field:e.fields.AccordionContentForPhone})}),(0,va.jsx)("div",{className:"mt-3 w-full border !border-t-black "})]})]}),(0,va.jsx)("a",{className:"mt-2 text-[16px] leading-[16px] font-normal uppercase border-b-[2px] border-uh-gold",onClick:()=>{(0,yI.sendGTMEvent)({event:"login_signup_interact",login_or_signup:"signup",step_number:2,step_name:"signup-otp",intent:"go back",method:e.isEmail?"email":"phone"}),e.goBack()},children:l(mT.W.SSO.Global.GO_BACK)})]})},y7=e=>{let{t:l}=(0,vT.QT)(),i=e.fields.Description.value.replace("{membershipId}",e.membershipId);return(0,va.jsxs)("div",{className:"sm:mb-20 sm:flex sm:flex-row-reverse",children:[(0,va.jsx)("div",{className:"sm:mt-[70px] sm:w-7/12 flex justify-end",children:(0,va.jsx)(vg.E,{field:e.fields.Image,className:"w-full sm:h-[85%] object-contain"})}),(0,va.jsxs)("div",{className:"flex flex-col xl:pt-[200px] md:pt-[50px] items-start justify-center sm:px-5 px-[15px] sm:w-5/12 sm:pl-10 sm:pr-5 sm:top-0 relative font-Amiko",children:[(0,va.jsxs)("div",{className:"sm:py-10 sm:max-xl:pb-[1.25rem] pt-[20px] pb-10 text-[40px] lg:text-[56px] leading-[56px] flex flex-col items-end w-full font-Belleza",children:[(0,va.jsx)(vm.x,{field:e.fields.Heading}),(0,va.jsx)("div",{className:"",children:(0,va.jsx)(vm.x,{field:e.fields.Title})})]}),(0,va.jsx)("div",{className:"sm:py-3 text-[26px] sm:text-[25px] leading-[30px] sm:semibold",children:(0,va.jsx)(vm.x,{field:e.fields.Subtitle})}),(0,va.jsx)("div",{className:"text-[15px] leading-[21px] sm:w-[80%] my-3",children:(0,va.jsx)("p",{children:i})}),(0,va.jsx)("button",{onClick:()=>{(0,yI.sendGTMEvent)({event:"login_signup_interact",login_or_signup:"signup",step_number:5,step_name:"signup-thankyou",intent:"explore benefits",method:e.isEmail?"email":"phone"}),e.toLogin()},className:" lg:my-5 lg:mb-5 h-12 w-full text-[16px] leading-[16px] border !border-black bg-transparent text-black sm:mx-0 max-sm:mb-[3rem]",children:(0,va.jsxs)("div",{className:"flex justify-center gap-4 items-baseline",children:[l(mT.W.SSO.Global.EXPLORE_NOW),(0,va.jsx)("div",{className:"righttriangle"})]})})]})]})},y9=e=>{let[l,i]=(0,vd.useState)(1),[s,n]=(0,vd.useState)(!1),[a,d]=(0,vd.useState)(!0),[t,o]=(0,vd.useState)(""),[r,c]=(0,vd.useState)(!0),[v,u]=(0,vd.useState)(!1),[m,x]=(0,vd.useState)(""),p=(0,vd.useCallback)(()=>{window.scrollTo({top:0,behavior:"instant"})},[]),[h,f]=(0,vd.useState)(10),[g,j]=(0,vd.useState)(!1);(0,vd.useEffect)(()=>{let e=null;return g&&h>0?e=setInterval(()=>{f(e=>e-1)},1e3):0===h&&(j(!1),e&&clearInterval(e)),()=>{e&&clearInterval(e)}},[g,h]);let[N,b]=(0,vd.useState)(""),[T,S]=(0,vd.useState)(""),[k,w]=(0,vd.useState)("852"),[y,E]=(0,vd.useState)(""),[C,O]=(0,vd.useState)(""),[L,I]=(0,vd.useState)(""),[F,_]=(0,vd.useState)(""),[M,R]=(0,vd.useState)(""),[P,A]=(0,vd.useState)(!1),[D,B]=(0,vd.useState)([]),[V,W]=(0,vd.useState)(""),[H,G]=(0,vd.useState)(!1),[U,z]=(0,vd.useState)(""),[q,Q]=(0,vd.useState)(""),[Y,K]=(0,vd.useState)(""),[Z,J]=(0,vd.useState)(""),[X,ee]=(0,vd.useState)(""),[el,ei]=(0,vd.useState)(0),[es,en]=(0,vd.useState)(!1),[ea,ed]=(0,vd.useState)(""),[et,eo]=(0,vd.useState)(""),er=(0,vd.useRef)(()=>new Promise(e=>e())),{t:ec,locale:ev}=(0,vT.QT)(),eu=()=>{let e=(0,vS.at)(gZ.tr.SIGN_IN_PAGE,ev());(null==e?void 0:e.length)?location.assign(e):(0,yP.signIn)("azureb2c",{callbackUrl:"/".concat(ev()).concat(gZ.tr.SIGN_IN_CALLBACK)},{ui_locales:gZ.OE[ev()]})},em=async e=>{await er.current(e)};(0,vd.useEffect)(()=>{er.current=async e=>{if(ei(0),ee(""),K(""),J(""),r){let e=N.split("@"),l="";if(e[0].length>7){for(let i=0;i<e[0].length-3;i++)l+="*";l=l+e[0].slice(-3)+"@"+e[1]}else if(e[0].length>2){for(let i=0;i<e[0].length-1;i++)l+="*";l=l+e[0].slice(-1)+"@"+e[1]}else{for(let i=0;i<e[0].length;i++)l+="*";l=l+"@"+e[1]}E(l)}else!r&&T.length>4&&O(T.substring(0,T.length-4).replace(/[0-9]/g,"*")+T.slice(-4));let l=r?{Channel:"email",Email:N,Locale:ev(),Token:et,captchaVerifyParam:e}:{Channel:"phone",MobileCountry:k,MobilePhoneNumber:T,Locale:ev(),Token:et,captchaVerifyParam:e};try{n(!0);let e=await fetch(uc.MD.REGISTRATION_SEND_OTP,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(n(!1),200==e.status){let l=await e.json();o(l.Signature),l.Token&&eo(l.Token)}else{let l=await e.json();if(l.Token&&eo(l.Token),l.ErrorCode){var s;"E314"===l.ErrorCode&&(l.ErrorCode="E000");let e=null===(s=gZ.VO.find(e=>e.code==l.ErrorCode))||void 0===s?void 0:s.label;void 0!=e?r?J(ec(e)):K(ec(e)):r?J(l.ErrorMessage):K(l.ErrorMessage)}else r?J(ec("SSO/Errors/GeneralError")):K(ec("SSO/Errors/GeneralError"));return}}catch(e){r?J(ec("SSO/Errors/GeneralError")):K(ec("SSO/Errors/GeneralError"));return}finally{n(!1)}i(2),p(),f(60),j(!0)}},[N,r,ev,et,k,T,p,ec]);let ex=async()=>{var e,l,s,a;if(en(!1),el>=5){let e=null===(l=gZ.VO.find(e=>"E306"==e.code))||void 0===l?void 0:l.label;void 0!=e?ee(ec(e)):ee("(error not match) OTP not match too much times,please resend OTP");return}ei(el+1),ee("");let o=null===(e=document.querySelector("#InputCode"))||void 0===e?void 0:e.querySelectorAll("input.code-input-box"),r="";for(let e=0;e<o.length;e++)if(r+=o[e].value,""==o[e].value||void 0===o[e].value){d(!1);return}if(6!==r.length||!/^\d{6}$/.test(r)){d(!1);return}d(!0);let c={Signature:t,UserInputCode:r};try{n(!0);let e=await fetch(uc.MD.REGISTRATION_VERIFY_OTP,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)});if(n(!1),200==e.status)ei(0),en(!0),ee(""),x(r),G(!1),W("");else{if(el>=4){let e=null===(s=gZ.VO.find(e=>"E306"==e.code))||void 0===s?void 0:s.label;void 0!=e?ee(ec(e)):ee("(error not match) OTP not match too much times");return}let l=await e.json();if(l.ErrorCode){let e=null===(a=gZ.VO.find(e=>e.code==l.ErrorCode))||void 0===a?void 0:a.label;void 0!=e?ee(ec(e)):ee(ec("SSO/Errors/GeneralError"))}else ee(ec("SSO/Errors/GeneralError"));return}}catch(e){ee(ec("SSO/Errors/GeneralError"));return}finally{n(!1)}i(3),p()},ep=async()=>{let e=r?{Channel:"phone",MobileCountry:k,MobilePhoneNumber:T}:{Channel:"email",Email:N};try{n(!0);let s=await fetch(uc.MD.REGISTRATION_VALIDATE,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(n(!1),404==s.status)z(""),Q(""),i(4),p();else{let e=await s.json();if(e.ErrorCode){var l;let i=null===(l=gZ.VO.find(l=>l.code==e.ErrorCode))||void 0===l?void 0:l.label;if(void 0!=i){r?z(ec(i)):Q(ec(i));return}r?z(ec("SSO/Errors/GeneralError")):Q(ec("SSO/Errors/GeneralError"));return}r?z(ec("SSO/Errors/GeneralError")):Q(ec("SSO/Errors/GeneralError"));return}}catch(e){console.error("Error fetching data:",e),r?z(ec("SSO/Errors/GeneralError")):Q(ec("SSO/Errors/GeneralError"));return}finally{n(!1)}},eh=async function(){let l=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=0,a={Salutation:L,FirstName:F,LastName:M,Email:N,MobileCountry:k,MobilePhoneNumber:T,Interests:l?{ArtAndDesign:!1,Music:!1,Wellness:!1,Fashion:!1,Cars:!1,Watches:!1,Jewellery:!1,Sustainability:!1,DestinationTravel:!1,SportsAndFitness:!1,Beauty:!1,DiversityAndInclusion:!1,RestaurantsAndBars:!1}:{ArtAndDesign:D.includes(gZ.k0[s++].code),Music:D.includes(gZ.k0[s++].code),Wellness:D.includes(gZ.k0[s++].code),Fashion:D.includes(gZ.k0[s++].code),Cars:D.includes(gZ.k0[s++].code),Watches:D.includes(gZ.k0[s++].code),Jewellery:D.includes(gZ.k0[s++].code),Sustainability:D.includes(gZ.k0[s++].code),DestinationTravel:D.includes(gZ.k0[s++].code),SportsAndFitness:D.includes(gZ.k0[s++].code),Beauty:D.includes(gZ.k0[s++].code),DiversityAndInclusion:D.includes(gZ.k0[s++].code),RestaurantsAndBars:D.includes(gZ.k0[s++].code)},MarketingOptIn:P,DataManageOutsideResidence:!0,DataManageWithinResidence:!0,RegisterSourceSystem:"The House Collective Website",OTPs:[{Signature:t,UserInputCode:m}]},d="fail",o="",c=uc.MD.REGISTRATION_CREATE_RPOFILE;ef.length>0&&(c=uc.MD.REGISTRATION_CREATE_RPOFILE_WITH_PWD,a.Password=ef);try{n(!0);let l=await fetch(c,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(n(!1),200==l.status){d="success";let s=await l.json();(null==s?void 0:s.Id)&&(o=s.Id,ed(s.Id)),i(5),p();let a=parseInt(e.fields.WelcomeItem.fields.RedirectTime.value,10),t=isNaN(a)?0:1e3*a;0!==t&&setTimeout(()=>{if(ef.length>0){var e,l,i,a,d,t,o,r;if((null===(e=s.Token)||void 0===e?void 0:e.AccessToken)&&(null===(l=s.Token)||void 0===l?void 0:l.IdToken)&&(null===(i=s.Token)||void 0===i?void 0:i.TokenType)&&(null===(a=s.Token)||void 0===a?void 0:a.ExpireIn)){n(!0);let e=gZ.tr.LOGIN_TOKEN+"/?access_token=".concat(null===(d=s.Token)||void 0===d?void 0:d.AccessToken,"&token_type=").concat(null===(t=s.Token)||void 0===t?void 0:t.TokenType,"&expires_in=").concat(null===(o=s.Token)||void 0===o?void 0:o.ExpireIn,"&id_token=").concat(null===(r=s.Token)||void 0===r?void 0:r.IdToken,"&ui_locales=").concat(gZ.OE[ev()],"&callbackUrl=").concat((0,vS.at)(gZ.tr.SIGN_IN_CALLBACK,ev()));location.assign(e)}}else n(!0),eu()},t)}else{let e=await l.json();if(e.ErrorCode){var v;let l=null===(v=gZ.VO.find(l=>l.code==e.ErrorCode))||void 0===v?void 0:v.label;if(void 0!=l){W(ec(l)),G(!0);return}}W(ec("SSO/Errors/GeneralError")),G(!0)}}catch(e){console.error("Error fetching data:",e),W(ec("SSO/Errors/GeneralError")),G(!0)}finally{(0,yI.sendGTMEvent)({event:"login_signup_status",login_or_signup:"signup",status:d,method:r?"email":"phone",member_id:o,intent:"successful signup"}),n(!1)}},[ef,eg]=(0,vd.useState)("");return(0,va.jsxs)(va.Fragment,{children:[s?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsxs)("div",{className:"",children:[(0,va.jsx)("div",{className:"".concat(1==l?"":"hidden"),children:(0,va.jsx)(yG,{fields:e.fields,conitune:em,isEmail
1:r,changeLoginWay:()=>{c(!r)},email:N,setEmail:b,phoneNum:T,setPhoneNum:S,changeLoginSignUp:()=>{u(!v)},phoneAreaCode:k,setPhoneAreaCode:w,toLogin:eu,sendOTPErrorEmail:Z,sendOTPErrorPhone:Y,SetOtpToken:eo,otpStep:l})}),(0,va.jsx)("div",{className:"".concat(2==l?"":"hidden"),children:(0,va.jsx)(y8,{isEmail:r,goBack:()=>{i(1),p(),ee(""),j(!1)},resendOTP:em,conutine:ex,isActive:g,seconds:h,maskPhoneNum:C,maskEmail:y,sendVerifyOTPError:X,NotOtpComplete:a,OtpResponse:es,fields:e.fields,otpStep:l})}),(0,va.jsx)("div",{className:"".concat(3==l?"":"hidden"),children:(0,va.jsx)(y6,{isEmail:r,email:N,phoneNum:T,phoneAreaCode:k,setEmail:b,setPhoneNum:S,setPhoneAreaCode:w,title:L,setTitle:I,firstname:F,setFirstname:_,lastname:M,setLastname:R,marketingOptIn:P,setMarketingOptIn:A,continueToValidate:ep,emailErr:q,phoneErr:U,passwordValue:ef,setPasswordValue:eg})}),(0,va.jsx)("div",{className:"".concat(4==l?"":"hidden"),children:(0,va.jsx)(yV,{selectedInterest:D,setSelectedInterest:B,setStep:i,createProfile:eh,createProfileErr:H,createProfileErrMsg:V,isEmail:r})}),(0,va.jsx)("div",{className:"".concat(5==l?"":"hidden"),children:(0,va.jsx)(y7,{toLogin:eu,isEmail:r,fields:e.fields.WelcomeItem.fields,membershipId:ea})})]})]})},Ee=e=>{let{t:l,locale:i}=(0,vT.QT)(),[s,n]=(0,vd.useState)(!1),[a,d]=(0,vd.useState)(null),[t,o]=(0,vd.useState)(""),[r,c]=(0,vd.useState)(""),v=(0,mq.useSearchParams)().get("request");(0,vd.useEffect)(()=>{v&&(async()=>{try{n(!0);let i=await fetch(uc.MD.PASSWORD_VERIFY_RESET_PASSWORD,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({RequestId:v})});if(n(!1),200==i.status)o(""),d(!0);else{let s=await i.json();if(s.ErrorCode){var e;let i=null===(e=gZ.VO.find(e=>e.code==s.ErrorCode))||void 0===e?void 0:e.label;o(i?l(i):"Invalid")}else o("Invalid");d(!1)}}catch(e){n(!1),console.log("verify-error",e),d(!1),o("Invalid")}})()},[v]);let[u,m]=(0,vd.useState)(""),[x,p]=(0,vd.useState)(""),[h,f]=(0,vd.useState)(!0),[g,j]=(0,vd.useState)(!0),[N,b]=(0,vd.useState)({hasUpperCase:!1,hasLowerCase:!1,hasNumber:!1,hasSpecialChar:!1,hasMinLength:!1}),[T,S]=(0,vd.useState)(!0),[k,w]=(0,vd.useState)(!0),y=()=>{if(0==u.length)return!0;{let e=[N.hasUpperCase,N.hasLowerCase,N.hasNumber,N.hasSpecialChar].filter(e=>e).length>=3;return!!N.hasMinLength&&!!e}},E=async()=>{if(c(""),!y()){j(!1);return}if(h)try{n(!0);let s=await fetch(uc.MD.PASSWORD_RESET_PASSWORD,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({Password:u,RequestId:v})});if(200==s.status){let e=await s.json();if(e.AccessToken&&e.IdToken&&e.TokenType&&e.ExpireIn){n(!0);let l=gZ.tr.LOGIN_TOKEN+"/?access_token=".concat(encodeURIComponent(e.AccessToken),"&token_type=").concat(encodeURIComponent(e.TokenType),"&expires_in=").concat(encodeURIComponent(e.ExpireIn),"&id_token=").concat(encodeURIComponent(e.IdToken),"&ui_locales=").concat(gZ.OE[i()],"&callbackUrl=").concat((0,vS.at)(gZ.tr.SIGN_IN_CALLBACK,i()));location.assign(l)}}else{let i=await s.json();if(i.ErrorCode){var e;let s=null===(e=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===e?void 0:e.label;c(s?l(s):"Reset Error")}else c("Reset Error")}}catch(e){console.error("Error fetching data:",e),n(!1)}finally{}};return(0,va.jsxs)(va.Fragment,{children:[s?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsx)("div",{className:"min-h-[50vh]",children:a?(0,va.jsx)("div",{className:"",children:(0,va.jsxs)("div",{className:"m-auto flex flex-col items-center max-w-[480px] gap-5 pb-32 pt-[150px] px-[15px]",children:[(0,va.jsx)("div",{className:"text-center mx-auto text-[18px] leading-6 tracking-widest font-bold pb-3",children:(0,va.jsx)(vm.x,{field:e.fields.Title})}),(0,va.jsx)("div",{className:"m-auto text-center text-[15px] leading-[21px] px-[15px]",children:(0,va.jsx)(vm.x,{field:e.fields.Detail})}),(0,va.jsxs)("div",{className:"w-full pt-10",children:[(0,va.jsx)("div",{className:"text-[15px] leading-5",children:l(mT.W.SSO.Password.PASSWORD)}),(0,va.jsxs)("div",{className:"relative",children:[(0,va.jsx)("input",{className:"w-full border-b border-b-[#828077] sso-input-autofill bg-transparent text-[13px] leading-[18px] outline-none",type:T?"password":"text",onCh
1ange:e=>{let l=e.target.value;m(l);let i=l.length>=8,s=/[A-Z]/.test(l);b({hasMinLength:i,hasUpperCase:s,hasLowerCase:/[a-z]/.test(l),hasNumber:/[0-9]/.test(l),hasSpecialChar:/[!"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]/.test(l)}),j(!0),0==l.length||l===x?f(!0):f(!1)},value:u}),(0,va.jsx)("div",{onClick:()=>S(!T),className:"absolute right-0 top-0 ".concat(T?"with-eye-crossed":"with-eye")})]})]}),(0,va.jsxs)("div",{className:"w-full text-[11px]",children:[(0,va.jsx)("div",{children:l(mT.W.SSO.Password.LENGTH_REQUIRE)}),(0,va.jsxs)("div",{className:"mt-1 flex flex-col gap-1",children:[(0,va.jsxs)("div",{className:N.hasUpperCase?"":"ml-[20px]",children:[(0,va.jsx)("div",{className:N.hasUpperCase?"with-checkmark ":""}),l(mT.W.SSO.Password.UPPERCASE_REQUIRE)]}),(0,va.jsxs)("div",{className:N.hasLowerCase?"":"ml-[20px]",children:[(0,va.jsx)("div",{className:N.hasLowerCase?"with-checkmark ":""}),l(mT.W.SSO.Password.LOWERCASE_REQUIRE)]}),(0,va.jsxs)("div",{className:N.hasNumber?"":"ml-[20px]",children:[(0,va.jsx)("div",{className:N.hasNumber?"with-checkmark ":""}),l(mT.W.SSO.Password.NUMBER_REQUIRE)]}),(0,va.jsxs)("div",{className:N.hasSpecialChar?"":"ml-[20px]",children:[(0,va.jsx)("div",{className:N.hasSpecialChar?"with-checkmark ":""}),l(mT.W.SSO.Password.SPECIAL_CHARACTER_REQUIRE)]})]})]}),(0,va.jsxs)("div",{className:"w-full ",children:[(0,va.jsx)("div",{className:"text-[15px] leading-5",children:l(mT.W.SSO.Password.CONFIRM_PASSWORD)}),(0,va.jsxs)("div",{className:"relative",children:[(0,va.jsx)("input",{className:"w-full border-b border-b-[#828077] sso-input-autofill bg-transparent text-[13px] leading-[18px] outline-none",type:k?"password":"text",onChange:e=>{let l=e.target.value;p(l),0==l.length||l===u?f(!0):f(!1)},value:x}),(0,va.jsx)("div",{onClick:()=>w(!k),className:"absolute right-0 top-0 ".concat(k?"with-eye-crossed":"with-eye")})]}),!h&&(0,va.jsx)("div",{className:"mt-1 text-[11px] text-red-500 error",children:l(mT.W.SSO.Password.PASSWORD_NOT_CORRECT)})]}),(0,va.jsx)("button",{onClick:E,className:"my-4 h-10 w-full sso_white_btn",children:l(mT.W.SSO.Password.RESET)}),""!=r&&(0,va.jsx)("div",{className:"mt-1 text-[11px] text-red-500 error",children:r}),!g&&(0,va.jsx)("div",{className:"mt-1 text-[11px] text-red-500 error",children:l(mT.W.SSO.Password.PWD_WRONG)})]})}):(0,va.jsx)("div",{className:"",children:(0,va.jsxs)("div",{className:"m-auto flex flex-col items-center max-w-[480px] gap-5 pb-32 pt-[150px] px-[15px]",children:[(0,va.jsx)("div",{className:"text-center mx-auto text-[18px] leading-6 tracking-widest font-bold pb-3",children:(0,va.jsx)(vm.x,{field:e.fields.InvalidPageTitle})}),(0,va.jsx)("div",{className:"m-auto text-center text-[15px] leading-[21px] px-[15px]",children:(0,va.jsx)("p",{children:t})}),(0,va.jsx)("a",{className:"text-[15px] leading-5 my-3 font-semibold border-b border-b-[#808080]",onClick:()=>location.assign((0,vS.at)(gZ.tr.SIGN_IN_PAGE,i())),children:l(mT.W.SSO.Password.BACK_TO_LOGIN)})]})})})]})};let El=(0,vd.forwardRef)((e,l)=>{let i=(0,vd.useRef)(null),s=(0,vd.useRef)(null);return(0,vd.useImperativeHandle)(l,()=>({login:()=>{try{fetch(uc.MD.BOOKING_SABRE_LOGIN).then(async e=>{if(200===e.status){let n=await e.json();if(null==n?void 0:n.Token){var l;s.current&&(s.current.value=n.Token),i.current&&(null===(l=i.current)||void 0===l||l.submit())}}})}catch(e){console.error("Error fetching data:",e)}}}),[]),(0,va.jsxs)("form",{method:"POST",action:gZ.YL.URL,ref:i,children:[(0,va.jsx)("input",{id:"SabreSession",name:"session",type:"hidden",ref:s}),(0,va.jsx)("input",{id:"SabreChain",name:"chain",type:"hidden",defaultValue:gZ.YL.SHG_CHAIN_ID})]})});El.displayName="SabreLoginForm";let Ei=e=>{var l,i;let{locale:s}=(0,vT.QT)(),n=(0,um.VG)(null===(l=e.rendering)||void 0===l?void 0:l.uid),{sabreLogin:a}=gJ({selectedHotelId:null!==(i=(0,mq.useSearchParams)().get("hotelid"))&&void 0!==i?i:""}),d=(0,gX.m_)(s(),void 0);return(0,vd.useEffect)(()=>{var e,l;(null==n?void 0:null===(l=n.session)||void 0===l?void 0:null===(e=l.user)||void 0===e?void 0:e.access_token)?a("_self"):location.assign(d)},[d,n,a]),(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})})})},Es=async(e,l,i)=>{var s,n,a;i.query.cache="0";let d=null!==(n=null===(s=i.locale)||void 0===s?void 0:s.toLowerCase())&&void 0!==n?n:"en";"tc"==d?d="zh-HK":"sc"==d&&(d="zh-CN");let t=(0,vS.at)(null!==(a=i.req.url)&&void 0!==a?a:"/sabre-login",d);t&&t.length>
11&&t.endsWith("/")&&(t=t.substring(0,t.length-1));let o=await (0,gK.getServerSession)(i.req,i.res,gX.Lz);return(0,gX.pT)(t,i.res),{session:o}},En=(0,kF.WP)();var Ea=()=>{let{t:e,locale:l}=(0,vT.QT)(),[i,s]=(0,vd.useState)(!1),[n,a]=(0,vd.useState)(!1),[d,t]=(0,vd.useState)([]);return(0,vd.useEffect)(()=>{(async()=>{if(!n){try{let i=await fetch("".concat(En).concat(uc.MD.BOOKING_GET_UPCOMING_BOOKING),{method:"GET",headers:{"Content-Type":"application/json"}});if(200==i.status){let s=(await i.json()).map(async i=>{if(void 0!=i.HotelId&&void 0!=i.RoomType)try{let e=await fetch("".concat(En,"/api/booking/getRoomImage?HotelId=").concat(i.HotelId,"&RoomType=").concat(i.RoomType,"&Locale=").concat(l()),{method:"GET",headers:{"Content-Type":"application/json"}});if(200==e.status){let l=await e.json();i.Image=l.RoomImage,i.HotelId=l.HotelName,i.RoomType=l.RoomType}}catch(e){console.error("Error fetching data:",e)}if(void 0!=i.Status){var s;let l=null===(s=gZ.ip.find(e=>e.code==i.Status))||void 0===s?void 0:s.label;void 0!=l&&(i.Status=e(l))}return i}),n=await Promise.all(s);t(n)}else{console.log("no data");return}}catch(e){console.error("Error fetching data:",e);return}a(!0)}})()},[]),(0,va.jsxs)(va.Fragment,{children:[i?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsxs)("div",{className:"sm:pt-[137px] pt-[25px] px-[15px] sm:flex sm:px-[30px] min-h-[500px]",children:[(0,va.jsx)(yA,{setIsLoading:s,selectedValue:"UPCOMING_BOOKING"}),(0,va.jsx)("div",{className:"px-[15px] sm:w-[calc(100vw-330px)] sm:px-[30px]",children:(0,va.jsxs)("div",{className:" w-full sm:pb-10 ",children:[(0,va.jsx)("div",{className:" mb-10 text-[40px] leading-[45px] sm:text-[40px]",children:e(mT.W.SSO.Global.UPCOMING_BOOKING)}),d.map((l,i)=>{var s,n,a,d,t,o;return(0,va.jsxs)(vd.Fragment,{children:[(0,va.jsx)("div",{className:"my-3 border-t border-t-[#d7d6d5] sm:block"}),(0,va.jsxs)("div",{className:"sm:grid sm:grid-cols-2 sm:gap-[30px]",children:[(0,va.jsx)("div",{className:" pb-10",children:null!=l.Image?(0,va.jsx)(vg.E,{className:"mx-auto w-full",field:l.Image}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsxs)("div",{children:[(0,va.jsxs)("div",{className:"label pb-5 text-[20px] leading-[45px] font-bold",children:["#",l.BookingReference]}),(0,va.jsxs)("div",{className:"flex gap-10 py-3",children:[(0,va.jsxs)("div",{children:[(0,va.jsx)("div",{className:"label pb-2 text-[12px] leading-4 font-semibold",children:e(mT.W.SSO.Global.CHECK_IN_DATE)}),(0,va.jsxs)("div",{className:"text-[15px] leading-[21px]",children:[null===(s=l.CheckInDate)||void 0===s?void 0:s.split("/")[2],"-",null===(n=l.CheckInDate)||void 0===n?void 0:n.split("/")[1],"-",null===(a=l.CheckInDate)||void 0===a?void 0:a.split("/")[0]]})]}),(0,va.jsxs)("div",{children:[(0,va.jsx)("div",{className:"label pb-2 text-[12px] leading-4 font-semibold",children:e(mT.W.SSO.Global.CHECK_OUT_DATE)}),(0,va.jsxs)("div",{className:"text-[15px] leading-[21px]",children:[null===(d=l.CheckOutDate)||void 0===d?void 0:d.split("/")[2],"-",null===(t=l.CheckOutDate)||void 0===t?void 0:t.split("/")[1],"-",null===(o=l.CheckOutDate)||void 0===o?void 0:o.split("/")[0]]})]})]}),(0,va.jsxs)("div",{className:"py-3",children:[(0,va.jsx)("div",{className:"label pb-2 text-[12px] leading-4 font-semibold",children:e(mT.W.SSO.Global.NIGHT)}),(0,va.jsx)("div",{className:"text-[15px] leading-[21px]",children:l.Nights})]}),(0,va.jsxs)("div",{className:"py-3",children:[(0,va.jsx)("div",{className:"label pb-2 text-[12px] leading-4 font-semibold",children:e(mT.W.SSO.Global.NUMBER_OF_GUEST)}),(0,va.jsx)("div",{className:"text-[15px] leading-[21px]",children:l.NumberOfGuests})]}),(0,va.jsxs)("div",{className:"py-3",children:[(0,va.jsx)("div",{className:"label pb-2 text-[12px] leading-4 font-semibold",children:e(mT.W.SSO.Global.HOTEL)}),(0,va.jsx)("div",{className:"text-[15px] leading-[21px]",children:l.HotelId})]}),(0,va.jsxs)("div",{className:"py-3",children:[(0,va.jsx)("div",{className:"label pb-2 text-[12px] leading-4 font-semibold",children:e(mT.W.SSO.Global.ROOM_TYPE)}),(0,va.jsx)("div",{className:"text-[15px] leading-[21px]",children:l.RoomType})]}),(0,va.jsxs)("div",{className:"py-3",children:[(0,va.jsx)("div",{className:"label pb-2 text-[11px]",children:e(mT.W.
1SSO.Global.STATUS)}),(0,va.jsx)("div",{className:"text-[15px] leading-[21px]",children:l.Status})]})]})]})]},i)}),!(null==d?void 0:d.length)&&(0,va.jsx)("div",{children:e(mT.W.SSO.Global.NO_CURRENT_BOOKING)}),(0,va.jsx)("div",{className:"my-3 border-t border-t-[#d7d6d5] sm:block"})]})})]})]})},Ed=i(56927);let Et=()=>{let{t:e,locale:l}=(0,vT.QT)(),i=(0,vS.at)(gZ.tr.SIGN_IN_CALLBACK,l()),s=(0,vS.at)(gZ.tr.SIGN_UP_CALLBACK,l()),[n,a]=(0,vd.useState)(!1),{isLoggedLoaded:d,isLogged:t}=(0,yW.v9)(e=>e.userProfileSlice),o=(0,yW.I0)(),r=()=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("img",{className:"!inline",src:"".concat(x1.publicUrl,"/icon_profile.svg"),alt:"User",width:16,height:16})," "]});if((0,vd.useEffect)(()=>{!d&&(0,gZ.mo)()&&(()=>{try{fetch(uc.MD.PROFILE_LOGGED).then(async e=>{let l=await e.json();o((0,Ed.hD)(null!=l&&!!l.logged))}).finally(()=>{o((0,Ed.fb)(!0))})}catch(e){console.error(e)}})()},[o,d]),(0,vd.useEffect)(()=>{if((0,gZ.mo)()){let e=-1,l=0,i=()=>{e=Number($(window).height()),l=Number($(window).scrollTop())},s=()=>{i(),$(".page--toh-home").length>0&&a(l<=e)};if($(".page--toh-home").length>0)return $(window).on("scroll.home",s),$(".header--desktop .menu-icon").on("click.userprofile",()=>{a(!1),$(".header--desktop,.menu--desktop").is(".opened")||s()}),s(),()=>{$(window).off("scroll.home"),$(".header--desktop .menu-icon").off("click.userprofile")}}},[]),!(0,gZ.mo)()||!d)return(0,va.jsx)(va.Fragment,{});try{return(0,va.jsx)("div",{className:"inline-block relative float-right ml-auto mr-[35px] header__sso ".concat(n?"hidden":""),children:t?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("a",{className:"header__btn inline-block",href:i,children:[(0,va.jsx)(r,{}),e(mT.W.SSO.Global.MEMBERSHIP)]})}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(r,{}),(0,va.jsx)("a",{className:"header__btn inline-block ",onClick:e=>{e.preventDefault(),(0,yI.sendGTMEvent)({event:"login_signip_interact",login_or_signup:"login",step_number:0,step_name:"pre-login",intent:"topnav login cta"}),(0,yP.signIn)("azureb2c",{callbackUrl:i,ui_locales:gZ.OE[l()]})},children:e(mT.W.SSO.Global.LOGIN)})," ","/"," ",(0,va.jsx)("a",{className:"header__btn inline-block ",href:s,onClick:()=>(0,yI.sendGTMEvent)({event:"login_signip_interact",login_or_signup:"signup",step_number:0,step_name:"pre-login",intent:"topnav signup cta"}),children:e(mT.W.SSO.Global.SIGNUP)})]})})}catch(e){return(0,va.jsx)(vb,{error:e})}};var Eo=Et;let Er=()=>{let{t:e,locale:l}=(0,vT.QT)(),i=(0,vS.at)(gZ.tr.SIGN_IN_CALLBACK,l()),s=(0,vS.at)(gZ.tr.SIGN_UP_CALLBACK,l()),{isLoggedLoaded:n,isLogged:a}=(0,yW.v9)(e=>e.userProfileSlice),d=()=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("img",{className:"!inline",src:"".concat(x1.publicUrl,"/icon_profile.svg"),alt:"User",width:16,height:16})," "]});if(!(0,gZ.mo)()||!n)return(0,va.jsx)(va.Fragment,{});try{return(0,va.jsx)("div",{className:"mobile_header__sso flex h-[80px] justify-center items-center border-b border-solid border-[rgba(255,255,255,.5)]",children:(0,va.jsx)("div",{children:a?(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("a",{className:"header__btn h-auto w-auto !inline",href:i,children:[(0,va.jsx)(d,{}),e(mT.W.SSO.Global.MEMBERSHIP)]})}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(d,{}),(0,va.jsx)("a",{className:"header__btn h-auto w-auto !inline ",onClick:e=>{e.preventDefault(),(0,yI.sendGTMEvent)({event:"login_signip_interact",login_or_signup:"login",step_number:0,step_name:"pre-login",intent:"topnav login cta"}),(0,yP.signIn)("azureb2c",{callbackUrl:i,ui_locales:gZ.OE[l()]})},children:e(mT.W.SSO.Global.LOGIN)})," ","/"," ",(0,va.jsx)("a",{className:"header__btn h-auto w-auto !inline ",href:s,onClick:()=>(0,yI.sendGTMEvent)({event:"login_signip_interact",login_or_signup:"signup",step_number:0,step_name:"pre-login",intent:"topnav signup cta"}),children:e(mT.W.SSO.Global.SIGNUP)})]})})})}catch(e){return(0,va.jsx)(vb,{error:e})}},Ec=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"page page--container page--art tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"Thc-ArticleIndex",rendering:e.rendering})]})}),Ev=e=>(0,va.jsxs)("div",{className:"page page--art-details tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-heroFullBackgroun
1d",rendering:e.rendering}),(0,va.jsx)("div",{className:"body body--heroFull hero--full__gradient",children:(0,va.jsxs)("div",{className:"page--container",children:[(0,va.jsx)(vt.V,{name:"thc-heroFullIntro",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-heroFullBody",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering})]})})]}),Eu=e=>(0,va.jsxs)("div",{className:"page page--container page--art tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"Thc-ArticleIndex",rendering:e.rendering})]}),Em=e=>(0,va.jsx)(vt.V,{name:"Thc-Article",rendering:e.rendering}),Ex=e=>(0,va.jsxs)("div",{className:"page page--offer page--container tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-offer-filter",rendering:e.rendering})]}),Ep=e=>(0,va.jsxs)("div",{className:"page page--container page--offer-details tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-offer-detail-same-type",rendering:e.rendering})]}),Eh=e=>(0,va.jsxs)("div",{className:"page page--art-details tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-heroFullBackgroun
1d",rendering:e.rendering}),(0,va.jsx)("div",{className:"body body--heroFull hero--full__gradient",children:(0,va.jsxs)("div",{className:"page--container",children:[(0,va.jsx)(vt.V,{name:"thc-heroFullIntro",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-heroFullBody",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering})]})})]}),Ef=e=>(0,va.jsxs)("div",{className:"page page--enewsletter-details tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-heroFullBackground",rendering:e.rendering}),(0,va.jsx)("div",{className:"body body--heroFull hero--full__gradient",children:(0,va.jsxs)("div",{className:"page--container",children:[(0,va.jsx)(vt.V,{name:"thc-heroFullIntro",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-heroFullBody",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering})]})})]}),Eg=e=>(0,va.jsxs)("div",{className:"page page--container page--enewletter tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"Thc-ArticleIndex",rendering:e.rendering})]}),Ej=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"tw-off head-title-center",children:(0,va.jsx)("h1",{children:(0,va.jsx)(vt.V,{name:"thc-header-title",rendering:e.rendering})})}),(0,va.jsxs)("div",{className:"page page--404 tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-error-page-banner",rendering:e.rendering}),(0,va.jsx)("div",{className:"container",children:(0,va.jsx)(vt.V,{name:"thc-error-page-intro",rendering:e.rendering})})]})]}),EN=e=>(0,va.jsx)("div",{className:"page page--container page--experiences tw-off",children:(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering})}),Eb=e=>(0,va.jsx)("div",{className:"page page--container page--upclose-details tw-off",children:(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering})}),ET=e=>(0,va.jsxs)("div",{className:"slider--wrap module-wrapper reveal tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-featured_content_slider_backdrop",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-featured_content_slider",rendering:e.rendering})]}),ES=e=>(0,va.jsx)("footer",{className:"footer footer--brand tw-off",children:(0,va.jsxs)("div",{className:"container",children:[(0,va.jsxs)("div",{className:"footer__logos",children:[(0,va.jsxs)("div",{className:"logo-gp logo-gp--brand",children:[(0,va.jsx)("div",{className:"d-none d-md-inline-block logo-gp__img logo-gp__img--thc",children:(0,va.jsx)(vt.V,{name:"thc-footer-logo",rendering:e.rendering})}),(0,va.jsx)("div",{className:"d-inline-block d-md-none logo-gp__img logo-gp__img--thc-m",children:(0,va.jsx)(vt.V,{name:"thc-footer-logo-mobile",rendering:e.rendering})})]}),(0,va.jsx)("div",{className:"logo-gp logo-gp--property",children:(0,va.jsx)(vt.V,{name:"thc-footer-property-logo",rendering:e.rendering})})]}),(0,va.jsx)(vt.V,{name:"thc-footer-keep-in-touch",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-footer-social",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-footer-partner",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-footer-menu",rendering:e.rendering}),(0,va.jsx)("div",{className:"logo-swire",children:(0,va.jsx)(vt.V,{name:"thc-footer-corp-link",rendering:e.rendering})}),(0,va.jsx)(vt.V,{name:"thc-copyright",rendering:e.rendering})]})}),Ek=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"page page--policy tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-general-page-banner",rendering:e.rendering}),(0,va.jsxs)("div",{className:"body container",children:[(0,va.jsx)("div",{className:"body--intro text-center",children:(0,va.jsx)(vt.V,{name:"thc-general-page-intro",rendering:e.rendering})}),(0,va.jsx)(vt.V,{name:"thc-general-page-detail",rendering:e.rendering})]})]})}),Ew=e=>(0,va.jsxs)("div",{className:"page page--container page--upclose tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"Thc-ArticleIndex",rendering:e.rendering})]}),Ey=e=>(0,va.jsx)("div",{className:"page page--container page--upclose-details tw-off",children:(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering})}),EE=e=>{let{t:l}=(0,vT.QT)();return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("header",{className:"header header--desktop tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-header-keep-in-touch",rendering:e.rendering}),(0,va.jsx)(Eo,{}),(0,va.jsx)(vt.V,{name:"thc-header-book-now",rendering:e.rendering}),(0,va.jsxs)("div",{className:"menu-icon-wrap",children:[(0,va.jsx)("div",{className:"menu-logo",children:(0,va.jsx)(vt.V,{name:"thc-header-menu-logo",rendering:e.rendering})}),(0,va.jsx)("div",{className:"menu-icon",children:(0,va.jsx)("div",{})}),(0,va.jsx)(vt.V,{name:"thc-language",rendering:e.rendering})]})]}),(0,va.jsxs)("div",{className:"menu menu--desktop tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-menu-background-image",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-main-menu-coverimage",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-main-menu",rendering:e.rendering}),(0,va.jsx)("div",{className:"divider-col"}),(0,va.jsxs)("div",{className:"sub-nav",children:[(0,va.jsx)(vt.V,{name:"thc-property-menu-default",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-property-menu-subnav",rendering:e.rendering})]})]}),(0,va.jsxs)("header",{className:"header header--mobile tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-header-book-now-mobile",rendering:e.rendering}),(0,va.jsxs)("div",{className:"menu-icon-wrap",children:[(0,va.jsx)("div",{className:"menu-logo",children:(0,va.jsx)(vt.V,{name:"thc-header-menu-logo-mobile",rendering:e.rendering})}),(0,va.jsx)("div",{className:"menu-icon",children:(0,va.jsx)("div",{})})]})]}),(0,va.jsxs)("div",{className:"menu menu--mobile tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-menu-background-image-mobile",rendering:e.rendering}),(0,va.jsxs)("div",{className:"top-bar",children:[(0,va.jsxs)("div",{className:"property-selected",children:[l(gm.L.THC.ExperienceTheHouse),(0,va.jsx)("div",{className:"icon-opt-angle"})]}),(0,va.jsx)(vt.V,{name:"thc-menu-language-mobile",rendering:e.rendering})]}),(0,va.jsx)("div",{className:"property-nav-wrap",children:(0,va.jsx)(vt.V,{name:"thc-property-menu-default-mobile",rendering:e.rendering})}),(0,va.jsxs)("div",{className:"nav-back-btn",children:[(0,va.jsx)("div",{className:"icon-arrow"}),l(gm.L.THC.Back)]}),(0,va.jsxs)("div",{className:"nav-wrapper",children:[(0,va.jsx)(vt.V,{name:"thc-main-menu-mobile",rendering:e.rendering}),(0,va.jsx)("div",{className:"sub-nav",children:(0,va.jsx)(vt.V,{name:"thc-property-menu-subnav-mobile",rendering:e.rendering})})]}),(0,va.jsxs)("div",{className:"keep-in-touch",children:[(0,va.jsx)(Er,{}),(0,va.jsx)(vt.V,{name:"thc-keep-in-touch-mobile",rendering:e.rendering})]})]}),(0,va.jsx)(vt.V,{name:"thc-header-book-now-widget",rendering:e.rendering}),(0,va.jsx)("div",{className:"head-title-center tw-off",children:(0,va.jsx)("h1",{children:(0,va.jsx)(vt.V,{name:"thc-header-title",rendering:e.rendering})})}),(0,va.jsx)(vt.V,{name:"thc-header-breadcrumb",rendering:e.rendering})]})},EC=e=>{let{t:l}=(0,vT.QT)();return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"open-animation tw-off",children:[(0,va.jsx)("div",{className:"black-placeholder"}),(0,va.jsx)("div",{className:"bg bg--d d-none d-lg-block",children:(0,va.jsx)(vt.V,{name:"thc-homepage-opening-logo-5000",rendering:e.rendering})}),(0,va.jsx)("div",{className:"bg bg--m d-block d-lg-none",children:(0,va.jsx)(vt.V,{name:"thc-homepage-opening-logo-1000",rendering:e.rendering})}),(0,va.jsx)("div",{className:"logo-wrap"}),(0,va.jsx)("div",{className:"open-sentence",children:(0,va.jsx)("h4",{children:l(gm.L.THC.HouseNotHotel)})})]}),(0,va.jsxs)("div",{className:"page page--home tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-homepage-anchors",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"thc-homepage-sections",rendering:e.rendering})]})]})},EO=e=>(0,va.jsxs)("div",{className:"page page--kpInTouch tw-off",children:[(0,va.jsx)("div",{className:"hero hero--hHeight",children:(0,va.jsx)(vt.V,{name:"thc-keep-in-touch-header",rendering:e.rendering})}),(0,va.jsxs)("div",{className:"body container",children:[(0,va.jsx)("div",{className:"body--intro text-center",children:(0,va.jsx)(vt.V,{name:"thc-keep-in-touch-content",rendering:e.rendering})}),(0,va.jsx)(vt.V,{name:"thc-keep-in-touch-form",rendering:e.rendering})]})]}),EL=e=>(0,va.jsx)("div",{className:"page page--container page--people tw-off",children:(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering})}),EI=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"page page--container page--upclose tw-off",children:[(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"Thc-ArticleIndex",rendering:e.rendering})]})}),EF=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"page page--container page--upclose-details tw-off",children:(0,va.jsx)(vt.V,{name:"thc-page-content",rendering:e.rendering})})}),E_={leadingPage_restaurants_and_bars:"e091f197-4951-4a36-bc01-d964ac436167",detailPage_restaurants:"6e9f49c4-7929-4e5f-92b9-841454d1c754",detailPage_room:"75778167-4742-4555-86ce-65996c622071",sitePage:"394367f9-5fc5-41f5-8dff-9eddbd5eef52",brandPage:"9de8eef6-43f5-4495-9e04-5cc279468ec9",PPAForm:"75e89452-46b0-4b9b-9f80-2b08bda96238",detailPage_offer:"481148dd-ff05-4671-824a-610f4457257d",leadingPage_OffersList:"10c86cba-9178-4242-9caa-d1e2a671b66a"};class EM{constructor(e){this.event=e}}
1class ER extends EM{constructor(e,l,i,s){super("restaurant_booking_cta"),this.hotel_name=e,this.restaurant_name=l,this.link_text=i,this.link_url=s}}class EP extends EM{constructor(e,l,i,s={}){super("room_search"),this.hotel_name=e,this.component_type=l,this.component_title=i;let n={...EP.DEFAULT,...s};this.arrival_date=n.arrival_date,this.departure_date=n.departure_date,this.number_of_nights=n.number_of_nights,this.number_of_rooms=n.number_of_rooms,this.adult_qty=n.adult_qty,this.child_qty=n.child_qty,this.coupon=n.coupon}}EP.DEFAULT={arrival_date:"default",departure_date:"default",number_of_nights:0,number_of_rooms:0,adult_qty:0,child_qty:0,coupon:"default",component_type:"",component_title:""};class EA extends EM{constructor(e,l,i,s,n){super("offer_interact"),this.offer_title=e,this.offer_type=l,this.intent=i,this.component_type=s,this.component_title=n}}class ED extends EM{constructor(e,l,i,s,n,a,d){super("login_signup_interact"),this.login_or_signup=e,this.step_number=l,this.step_name=i,this.intent=s,this.method=n,this.component_type=a,this.component_title=d}}class EB extends EM{constructor(e,l,i){super("lead_form_submit"),this.lead_type=e,this.hotel_name=l,this.marketing_consent=i}}let EV={[E_.detailPage_restaurants]:[ER,EA],[E_.detailPage_room]:[EP,EA],[E_.brandPage]:[EP,ED],[E_.sitePage]:[EP],[E_.leadingPage_restaurants_and_bars]:[EA],[E_.PPAForm]:[EB],[E_.detailPage_offer]:[EA],[E_.leadingPage_OffersList]:[EA]},EW={restaurant_booking_cta:e=>({event:e.event,hotel_name:e.hotel_name,restaurant_name:e.restaurant_name,link_text:e.link_text,link_url:e.link_url}),room_search:e=>({event:e.event,hotel_name:e.hotel_name,arrival_date:e.arrival_date,departure_date:e.departure_date,number_of_nights:e.number_of_nights,number_of_rooms:e.number_of_rooms,adult_qty:e.adult_qty,child_qty:e.child_qty,coupon:e.coupon,component_type:e.component_type,component_title:e.component_title}),offer_interact:e=>({event:e.event,offer_title:e.offer_title,offer_type:e.offer_type,intent:e.intent,component_type:e.component_type,component_title:e.component_title}),login_signup_interact:e=>({event:e.event,login_or_signup:e.login_or_signup,step_number:e.step_number,step_name:e.step_name,method:e.method,intent:e.intent,component_type:e.component_type,component_title:e.component_title}),lead_form_submit:e=>({event:e.event,lead_type:e.lead_type,hotel_name:e.hotel_name,marketing_consent:e.marketing_consent})};function EH(e,l){var i;let s=null===(i=e.route)||void 0===i?void 0:i.templateId,n=EV[null!=s?s:""];if(!n||0===n.length||!n.find(e=>l instanceof e))return;let a=EW[l.event];a&&(0,yI.sendGTMEvent)(a(l))}function EG(){let[e,l]=(0,vd.useState)(!1);return(0,vd.useEffect)(()=>{let e=()=>{l(window.innerWidth>=992)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),{isLgScreen:e}}let EU=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei,es,en,ea,ed,et,eo,er;let{locale:ec}=(0,vT.QT)();ec();let ev=!!(null==e?void 0:null===(l=e.params)||void 0===l?void 0:l.IsInterim),{sitecoreContext:eu}=(0,vr.z)(),{isLgScreen:em}=EG(),ex=null===(n=e.fields)||void 0===n?void 0:null===(s=n.FooterRemarkPosition)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.toLocaleLowerCase(),ep=(0,vd.useMemo)(()=>em?{textAlign:"left"==ex?"left":"right"==ex?"right":"center"}:{textAlign:"center"},[em,ex]);return(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(a=e.rendering)||void 0===a?void 0:a.dataSource)?(0,va.jsxs)("footer",{className:vP("relative footer--brand px-[15px] md:px-[40px] bg-white text-black",!ev&&"mb-[180px] md:mb-[50px]"),children:[(0,va.jsx)("div",{className:"mx-auto max-w-[1600px]",children:(0,va.jsxs)("div",{className:"grid grid-cols-4 gap-x-[15px] pt-[40px] md:gap-x-[20px] md:grid-cols-12",children:[(null===(o=e.fields)||void 0===o?void 0:null===(t=o.Logo)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.src)&&(0,va.jsx)("div",{className:"flex justify-center col-span-full",children:(0,va.jsx)(uv,{href:null===(v=e.fields)||void 0===v?void 0:null===(c=v.LogoLink)||void 0===c?void 0:null===(r=c.value)||void 0===r?void 0:r.href,target:null===(x=e.fields)||void 0===x?void 0:null===(m=x.LogoLink)||void 0===m?void 0:null===(u=m.value)||void 0===u?void 0:u.target,className:"h-[75px] md:h-[92px]",children:(0,va.jsx)("img",{src:e.f
1ields.Logo.value.src,className:"h-[75px] md:h-[92px]"})})}),(null===(f=e.fields)||void 0===f?void 0:null===(h=f.CityList)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:p.Item.length)>0&&(0,va.jsx)("div",{className:"flex text-[#231f20] flex-wrap justify-center col-span-full gap-x-[10px] md:gap-x-[50px] md:col-start-3 md:col-span-8 gap-y-[10px] text-[12px]/[12px] leading-none md:text-[14px]/[20px] font-semibold mt-[40px]",children:null===(N=e.fields)||void 0===N?void 0:null===(j=N.CityList)||void 0===j?void 0:null===(g=j.fields)||void 0===g?void 0:g.Item.map(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;return(0,va.jsx)(va.Fragment,{children:(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Link)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href)?(0,va.jsx)(uv,{href:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Link)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href,target:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Link)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.target,className:"uppercase",children:null===(v=e.fields)||void 0===v?void 0:null===(c=v.Text)||void 0===c?void 0:c.value},e.id):(0,va.jsx)("span",{className:"cursor-pointer uppercase",children:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Text)||void 0===u?void 0:u.value},e.id)})})}),(null===(T=e.fields)||void 0===T?void 0:null===(b=T.LinkTitle)||void 0===b?void 0:b.value)&&(0,va.jsx)("div",{className:"flex justify-center col-span-4 mt-[40px] md:col-span-12 md:mt-[60px]",children:(0,va.jsx)(fa,{ButtonVariant:"cta-type-b",TEXT:null===(k=e.fields)||void 0===k?void 0:null===(S=k.LinkTitle)||void 0===S?void 0:S.value,URL:null===(w=e.fields)||void 0===w?void 0:w.Link,Target:null===(C=e.fields)||void 0===C?void 0:null===(E=C.Link)||void 0===E?void 0:null===(y=E.value)||void 0===y?void 0:y.target,hideIconAngle:!0,onClick:l=>{var i,s;EH(eu,new ED("signup",0,"pre-login","signup cta","signup","button",null===(s=e.fields)||void 0===s?void 0:null===(i=s.LinkTitle)||void 0===i?void 0:i.value))}})}),(null===(L=e.fields)||void 0===L?void 0:null===(O=L.Remark)||void 0===O?void 0:O.value)&&(0,va.jsx)("div",{className:"flex justify-center mt-[40px] font-semibold md:mt-[60px] text-black/40 text-[12px]/[12px] md:text-[14px]/[20px] col-span-full uppercase",children:(0,va.jsx)("div",{children:null===(F=e.fields)||void 0===F?void 0:null===(I=F.Remark)||void 0===I?void 0:I.value})}),(null===(R=e.fields)||void 0===R?void 0:null===(M=R.Logo2)||void 0===M?void 0:null===(_=M.value)||void 0===_?void 0:_.src)&&(0,va.jsx)("div",{className:"flex justify-center mt-[20px] md:mt-[15px] col-span-full",children:(0,va.jsx)(uv,{href:null===(A=e.fields.LogoLink2)||void 0===A?void 0:null===(P=A.value)||void 0===P?void 0:P.href,target:null===(B=e.fields.LogoLink2)||void 0===B?void 0:null===(D=B.value)||void 0===D?void 0:D.target,children:(0,va.jsx)("img",{src:null===(H=e.fields)||void 0===H?void 0:null===(W=H.Logo2)||void 0===W?void 0:null===(V=W.value)||void 0===V?void 0:V.src,className:"h-[48px] md:h-[57px]"})})}),(null===(z=e.fields)||void 0===z?void 0:null===(U=z.ItemList)||void 0===U?void 0:null===(G=U.fields)||void 0===G?void 0:G.Item.length)>0&&(0,va.jsx)("div",{className:"flex flex-wrap justify-center col-span-full gap-x-[10px] md:gap-x-[50px] gap-y-[16px] mt-[40px] text-black/40",children:null===(Y=e.fields)||void 0===Y?void 0:null===(Q=Y.ItemList)||void 0===Q?void 0:null===(q=Q.fields)||void 0===q?void 0:q.Item.map(e=>(0,va.jsx)(uv,{href:e.fields.Link.value.href,target:e.fields.Link.value.target,className:"block w-[calc(50%-5px)] md:w-auto font-bold text-center text-[12px]/[12px] md:text-[14px]/[20px] uppercase",children:e.fields.Text.value},e.id))}),(0,va.jsx)("div",{className:"flex flex-col items-center mt-[40px] md:mt-[60px] col-span-full",children:(null===(Z=e.fields)||void 0===Z?void 0:null===(K=Z.LinkText2)||void 0===K?void 0:K.value)&&(0,va.jsx)(uv,{href:null===(ee=e.fields)||void 0===ee?void 0:null===(X=ee.Link2)||void 0===X?void 0:null===(J=X.value)||void 0===J?void 0:J.href,target:null===(es=e.fields)||void 0===es?void 0:null===(ei=es.Link2)||void 0===ei?void 0:null===(el=ei.value)||void 0===el?void 0:el.target,className:"mb-[50px] md:mb-[60px] font-semibold text-[13px] md:text-[14px]/[20px] leading-[13px] uppercase",children:null===(ea=e.fields)||void 0===ea?void 0:null===(en=ea.LinkText2)||void 0===en?void 0:en.value})})]})}),(0,va.jsx)("div",{className:"-mx-[15px] md:-mx-[40px] px-[10px] text-[10px]/[14px] md:text-[14px]/[20px] pb-[20px]",children:(null===(et=e.fields)||void 0===et?void 0:null===(ed=et.Copyright)||void 0===ed?void 0:ed.value)&&(0,va.jsx)("div",{dangerouslySetInnerHTML:{__html:null===(er=e.fields)||void 0===er?void 0:null===(eo=er.Copyright)||void 0===eo?void 0:eo.value},className:"font-normal text-[10px]/[14px] md:text-[14px]/[20px] flex flex-col justify-center gap-y-[5px]",style:ep})})]}):(0,va.jsx)(va.Fragment,{})})};var Ez=i(5183),Eq=i(1292),EQ=i(25305),EY=i(11988);i(81042);let EK=()=>{let{isLoggedLoaded:e,isLogged:l}=(0,yW.v9)(e=>e.userProfileSlice),i=(0,yW.I0)();return(0,vd.useEffect)(()=>{e||(()=>{try{fetch(uc.MD.PROFILE_LOGGED).then(async e=>{let l=await e.json();i((0,Ed.hD)(null!=l&&!!l.logged))}).finally(()=>{i((0,Ed.fb)(!0))})}catch(e){console.error(e)}})()},[i,e]),{isLogged:l}},E$=e=>{let l=e.getTimezoneOffset();return e=new Date(e.getTime()-6e4*l)},EZ=e=>{var l,i,s,n,a,d,t,o,r;let{props:c,onToggleBookMenu:v}=e,{t:u,locale:m}=(0,vT.QT)(),x=m(),{isLogged:p}=EK(),[h,f]=(0,vd.useState)(""),{url:g,setSelectedArrive:j,setSelectedDepart:N,setAdultNum:b,setChildrenNum:T,setRoomNum:S,sabreLogin:k}=gJ({selectedHotelId:h}),{sitecoreContext:w}=(0,vr.z)();function y(e,l){let[i,s]=(0,vd.useState)(e);return{count:i,increase:()=>{s(e=>(null==l?void 0:l.max)!==void 0?Math.min(l.max,e+1):e+1)},decrease:()=>{s(e=>(null==l?void 0:l.min)!==void 0?Math.max(l.min,e-1):e-1)},setCount:s}}let E=y(1,{min:1,max:3}),C=y(1,{min:1}),O=y(0,{min:0}),[L,I]=(0,vd.useState)(new Date),[F,_]=(0,vd.useState)((0,g$.E)(new Date,1)),M=e=>{let{date:l,onClick:i}=e,s=l instanceof Date&&!isNaN(l.getTime()),n=(()=>
1{if(!s)return null;let e={en:{locale:"en-us",dateFormat:e=>{let{month:l,day:i,year:s}=e;return"".concat(l," ").concat(i,", ").concat(s)}},"zh-CN":{locale:"zh-CN",dateFormat:e=>{let{month:l,day:i,year:s}=e;return"".concat(i," ").concat(l," ").concat(s)}},"zh-HK":{locale:"zh-HK",dateFormat:e=>{let{month:l,day:i,year:s}=e;return"".concat(i," ").concat(l," ").concat(s)}}}[x],i=l.toLocaleString(e.locale,{weekday:"short"}).toUpperCase(),n=l.toLocaleString(e.locale,{month:"short"}).toUpperCase(),a=l.getDate(),d=l.getFullYear();return{weekday:i,dateString:e.dateFormat({month:n,day:a,year:d})}})();return(0,va.jsxs)("div",{className:"flex flex-col pb-[15px]",onClick:i,children:[(0,va.jsx)("div",{className:"text-[14px] leading-[18px] lg:text-[15px] font-normal lg:leading-[20px] ".concat(A[x]," ").concat(n?"":"opacity-0"),children:(null==n?void 0:n.weekday)||"select date"}),(0,va.jsx)("div",{className:"text-[14px] leading-[18px] lg:text-[15px] font-normal lg:leading-[20px] ".concat(A[x]," ").concat(n?"":"opacity-0"),children:(null==n?void 0:n.dateString)||"select date"})]})},R=()=>{switch(x){case"zh-CN":return Ez.U;case"zh-HK":return Eq.e;default:return EQ.e}};(0,vd.useEffect)(()=>{j(TS()(E$(L)).format("YYYY-MM-DD")),N(TS()(E$((0,g$.E)(new Date,1))).format("YYYY-MM-DD"))},[]),(0,vd.useEffect)(()=>{E.setCount(1),C.setCount(1),O.setCount(0)},[h,E.setCount,C.setCount,O.setCount]),(0,vd.useEffect)(()=>{E.count>C.count&&C.setCount(E.count)},[E.count,C.count,C.setCount]),(0,vd.useEffect)(()=>{S(E.count),b(C.count),T(O.count)},[E.count,C.count,O.count,S,b,T]);let P={en:"","zh-HK":"text-[12px] leading-[12px]","zh-CN":"text-[12px] leading-[12px]"},A={en:"","zh-HK":"text-[15px] leading-[20px]","zh-CN":"text-[15px] leading-[20px]"},D={en:"","zh-HK":"text-[16px] leading-[16px]","zh-CN":"text-[16px] leading-[16px]"};return(0,va.jsxs)("div",{className:"flex border-t border-slate-300 flex-col pt-[40px] pl-[10px] md:pl-[40px] pr-[10px] md:pr-[40px] md:pt-[70px] pb-[50px] select-none",style:{background:"linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url(".concat(null===(s=c.fields)||void 0===s?void 0:null===(i=s.BookNowImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src,") no-repeat center center / cover, #fff")},children:[(0,va.jsx)("div",{className:"mb-[40px] md:mb-[50px]",children:(0,va.jsxs)("div",{className:"relative",children:[(0,va.jsx)("label",{className:"block text-[10px] md:text-[12px] font-bold mb-[10px] text-[#787b7f] leading-none uppercase",children:u(gm.L.Navigation.SelectADestination)}),(0,va.jsxs)("select",{value:h,onChange:e=>f(e.target.value),className:"text-[14px] md:text-[15px] leading-[18px] md:leading-[20px] block w-full pb-[15px] border-b-[1px] border-[#787b7f] appearance-none focus:outline-none focus:border-black transition-colors cursor-pointer bg-white uppercase",children:[(0,va.jsx)("option",{value:"",disabled:!0,children:u(gm.L.Navigation.SelectYourHouse)}),(null===(d=c.fields)||void 0===d?void 0:null===(a=d.BookHotel)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:n.Item.length)>0&&(null===(r=c.fields)||void 0===r?void 0:null===(o=r.BookHotel)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:t.Item.map(e=>{var l,i,s,n;return(0,va.jsx)("option",{value:null===(i=e.fields)||void 0===i?void 0:null===(l=i.HotelBookLink)||void 0===l?void 0:l.value,children:null===(n=e.fields)||void 0===n?void 0:null===(s=n.HotelTitle)||void 0===s?void 0:s.value},e.id)}))]}),(0,va.jsx)("div",{className:"absolute inset-y-0 right-0 flex items-center pt-[8px] pointer-events-none",children:(0,va.jsx)("svg",{className:"w-[16px]",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5049",children:(0,va.jsx)("path",{d:"M535.466667 812.8l450.133333-563.2c14.933333-19.2 2.133333-49.066667-23.466667-49.066667H61.866667c-25.6 0-38.4 29.866667-23.466667 49.066667l450.133333 563.2c12.8 14.933333 34.133333 14.933333 46.933334 0z",fill:"#232a82","p-id":"5050"})})})]})}),(0,va.jsxs)("div",{className:"mb-[40px] md:mb-[50px] flex space-x-[20px]",children:[(0,va.jsxs)("div",{className:"flex flex-col basis-1/2 border-b-[1px] border-black",children:[(0,va.jsx)("label",{className:vP("block text-[10px] leading-[10px] lg:text-[12px] font-bold text-[#787b7f] lg:leading-[12px] mb-[10px] uppercase ".concat(P[x])),children:u(gm.L.Navigation.CheckIn)}),(0,va.jsxs)("div",{className:"flex items-center justify-between",children:[(0,va.jsx)("div",{className:"flex flex-col flex-1 cursor-pointer",children:(0,va.jsx)(EY.ZP,{selectsRange:!0,locale:R(),popperPlacement:"bottom-end",selected:L,onChange:e=>{let[l,i]=e;I(l),_(i),j(TS()(E$(l)).format("YYYY-MM-DD")),N(TS()(E$(i)).format("YYYY-MM-DD"))},startDate:L,endDate:F,minDate:new Date,maxDate:F?void 0:(0,g$.E)(L,30),calendarClassName:"book-now-datepicker",customInput:(0,va.jsx)(M,{date:L})})}),(0,va.jsx)("svg",{className:"w-4",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5049",children:(0,va.jsx)("path",{d:"M535.466667 812.8l450.133333-563.2c14.933333-19.2 2.133333-49.066667-23.466667-49.066667H61.866667c-25.6 0-38.4 29.866667-23.466667 49.066667l450.133333 563.2c12.8 14.933333 34.133333 14.933333 46.933334 0z",fill:"#232a82","p-id":"5050"})})]})]}),(0,va.jsxs)("div",{className:"flex flex-col basis-1/2 border-b-[1px] border-black",children:[(0,va.jsx)("label",{className:vP("block text-[10px] leading-[10px] lg:text-[12px] font-bold text-[#787b7f] lg:leading-[12px] mb-[10px] uppercase ".concat(P[x])),children:u(gm.L.Navigation.CheckOut)}),(0,va.jsxs)("div",{className:"flex items-center justify-between ",children:[(0,va.jsx)("div",{className:"flex flex-col flex-1 cursor-pointer",children:(0,va.jsx)(EY.ZP,{selectsEnd:!0,locale:R(),popperPlacement:"bottom-start",selected:F,onChange:e=>{_(e),e&&N(TS()(E$(e)).format("YYYY-MM-DD"))}
1,startDate:L,endDate:F,minDate:L,maxDate:(0,g$.E)(L,30),calendarClassName:"book-now-datepicker",customInput:(0,va.jsx)(M,{date:F})})}),(0,va.jsx)("svg",{className:"w-4",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5049",children:(0,va.jsx)("path",{d:"M535.466667 812.8l450.133333-563.2c14.933333-19.2 2.133333-49.066667-23.466667-49.066667H61.866667c-25.6 0-38.4 29.866667-23.466667 49.066667l450.133333 563.2c12.8 14.933333 34.133333 14.933333 46.933334 0z",fill:"#232a82","p-id":"5050"})})]})]})]}),(0,va.jsxs)("div",{className:"mb-[40px] md:mb-[50px]",children:[(0,va.jsxs)("div",{className:"flex items-center justify-between pb-[15px] md:pb-[25px] border-b-[1px] border-[#787b7f]",children:[(0,va.jsxs)("div",{className:"flex flex-col space-y-[10px] uppercase",children:[(0,va.jsx)("span",{className:"text-[14px] md:text-[15px] leading-none font-normal",children:u(gm.L.Navigation.Rooms)}),(0,va.jsx)("span",{className:"text-[#787b7f] text-[10px] md:text-[12px] leading-none font-bold",children:u(gm.L.Navigation.GuestsMax)})]}),(0,va.jsxs)("div",{className:"flex items-center space-x-[20px] text-black",children:[(0,va.jsx)("div",{className:"border-[1px] p-[2px] border-[#787b7f] ".concat(1===E.count?"opacity-50 cursor-no-drop":"cursor-pointer"),onClick:E.decrease,children:(0,va.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-[24px]",children:(0,va.jsx)("path",{fillRule:"evenodd",d:"M4.25 12a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"})})}),(0,va.jsx)("span",{className:"font-normal text-[14px] leading-[18px] md:text-[15px] md:leading-[20px]",children:E.count}),(0,va.jsx)("div",{className:"border-[1px] p-[2px] border-[#787b7f] ".concat(3===E.count?"opacity-50 cursor-no-drop":"cursor-pointer"),onClick:E.increase,children:(0,va.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-[24px]",children:(0,va.jsx)("path",{fillRule:"evenodd",d:"M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"})})})]})]}),(0,va.jsxs)("div",{className:"flex items-center justify-between pt-[15px] md:pt-[25px] pb-[15px] md:pb-[25px] border-b-[1px] border-[#787b7f]",children:[(0,va.jsxs)("div",{className:"flex flex-col space-y-[10px] uppercase",children:[(0,va.jsx)("span",{className:"text-[14px] md:text-[15px] leading-none font-normal",children:u(gm.L.Navigation.Adults)}),(0,va.jsx)("span",{className:"text-[#787b7f] text-[10px] md:text-[12px] leading-none font-bold",children:u(gm.L.Navigation.YearsOrOlder)})]}),(0,va.jsxs)("div",{className:"flex items-center space-x-[20px] text-black",children:[(0,va.jsx)("div",{className:"border-[1px] p-[2px] border-[#787b7f] ".concat(E.count===C.count?"opacity-50 cursor-no-drop":"cursor-pointer"),onClick:C.decrease,children:(0,va.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-[24px]",children:(0,va.jsx)("path",{fillRule:"evenodd",d:"M4.25 12a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"})})}),(0,va.jsx)("span",{children:C.count}),(0,va.jsx)("div",{className:"border-[1px] p-[2px] cursor-pointer border-[#787b7f]",onClick:C.increase,children:(0,va.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-[24px]",children:(0,va.jsx)("path",{fillRule:"evenodd",d:"M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"})})})]})]}),(0,va.jsxs)("div",{className:"flex items-center justify-between pt-[15px] md:pt-[25px] pb-[15px] md:pb-[25px] border-b-[1px] border-[#787b7f]",children:[(0,va.jsxs)("div",{className:"flex flex-col space-y-[10px] uppercase",children:[(0,va.jsx)("span",{className:"text-[14px] md:text-[15px] leading-none font-normal",children:u(gm.L.Navigation.Children)}),(0,va.jsx)("span",{className:"text-[#787b7f] text-[10px] md:text-[12px] leading-none font-bold",children:u(gm.L.Navigation.BelowYearsOld)})]}),(0,va.jsxs)("div",{className:"flex items-center space-x-[20px] text-black",children:[(0,va.jsx)("div",{className:"border-[1px] p-[2px] curs
1or-pointer border-[#787b7f]",onClick:O.decrease,children:(0,va.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-[24px]",children:(0,va.jsx)("path",{fillRule:"evenodd",d:"M4.25 12a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"})})}),(0,va.jsx)("span",{children:O.count}),(0,va.jsx)("div",{className:"border-[1px] p-[2px] cursor-pointer border-[#787b7f]",onClick:O.increase,children:(0,va.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-[24px]",children:(0,va.jsx)("path",{fillRule:"evenodd",d:"M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"})})})]})]})]}),(0,va.jsxs)("div",{className:"flex flex-col items-center space-y-[10px] md:space-y-[15px] font-semibold tracking-widest",children:[(0,va.jsx)("button",{onClick:e=>{if(h){var l,i;EH(w,new EP(null===(i=c.fields)||void 0===i?void 0:null===(l=i.BookHotel.fields.Item.find(e=>e.fields.HotelBookLink.value===h))||void 0===l?void 0:l.name,"booking-widget","Footer_Continue",{arrival_date:TS()(E$(L)).format("YYYY-DD-MM"),departure_date:TS()(E$(F)).format("YYYY-DD-MM"),number_of_nights:TS()(F).diff(TS()(L),"days"),number_of_rooms:E.count,adult_qty:C.count,child_qty:O.count})),p?k():window.open(g,"_blank")}},className:vP("w-full text-[14px] py-[15px] font-bold leading-none text-white transition-colors duration-200 bg-black border-black border-solid cursor-pointer md:text-[16px] border-[1px] uppercase ".concat(D[x]," ").concat("en"===x?"pb-[12px]":"")),children:u(gm.L.Navigation.Continue)}),(0,va.jsx)("button",{onClick:()=>{v()},className:vP("w-full text-[14px] py-[15px] font-bold leading-none text-black transition-colors duration-200 bg-transparent border-black border-solid cursor-pointer md:text-[16px] border-[1px] uppercase ".concat(D[x]," ").concat("en"===x?"pb-[12px]":"")),children:u(gm.L.Navigation.Cancel)})]})]})},EJ={en:"h-[10px] lg:h-[11px] box-content","zh-HK":"","zh-CN":""},EX=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z;let{props:J,isLogged:X,loginUrl:ee,onLogin:el}=e,{t:ei,locale:es}=(0,vT.QT)(),en=(0,vd.useRef)(null),ea=es(),[ed,et]=(0,vd.useState)(0),[eo,er]=(0,vd.useState)(!1),[ec,ev]=(0,vd.useState)(""),[eu,em]=(0,vd.useState)(0),ex=(0,vd.useRef)(null),ep=e=>{var l,i,s;(null===(s=e.fields)||void 0===s?void 0:null===(i=s.MenuLeftImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(ev(e.id),et(1))},eh=e=>{var l,i,s;(null===(s=e.fields)||void 0===s?void 0:null===(i=s.MenuLeftImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(ev(""),et(0))},ef=e=>{var l,i,s,n,a,d;((null===(s=e.fields)||void 0===s?void 0:null===(i=s.VideoLink)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href)||(null===(d=e.fields)||void 0===d?void 0:null===(a=d.Image)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src))&&(ex.current&&(clearTimeout(ex.current),ex.current=null),ev(e.id),et(2))},eg=e=>{var l,i,s,n,a,d;((null===(s=e.fields)||void 0===s?void 0:null===(i=s.VideoLink)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href)||(null===(d=e.fields)||void 0===d?void 0:null===(a=d.Image)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src))&&(ex.current=setTimeout(()=>{ev(""),et(0),ex.current=null},500))},ej=()=>{en.current&&em(en.current.getBoundingClientRect().width)};(0,vd.useEffect)(()=>{ej()}),(0,vd.useEffect)(()=>{let e=location.pathname.concat(location.search);(null==en?void 0:en.current)&&en.current.querySelectorAll("a[data-lang]").forEach(l=>{let i=l.dataset.lang;i&&(l.href=(0,vS.KJ)(e,ea,i),console.log(l.href))})},[ea]);let eN={en:"","zh-HK":"font-medium","zh-CN":"font-medium"};return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"relative flex-1 hidden md:block",children:[(null===(s=J.fields)||void 0===s?void 0:null===(i=s.LeftImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(0,va.jsx)("img",{src:null===(d=J.fields)||void 0===d?void 0:null===(a=d.LeftImage)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src,className:"transition-all inset-0 duration-500 ease-in-out absolute object-cover w-full h-full ".concat(ec?"opacity-0":"opacity-100")}),(null===(r=J.fields)||void 0===r?void 0:null===(o=r.MenuList)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:t.Item.length)>0&&(null===(u=J.fields)||void 0===u?void 0:null===(v=u.MenuList)||void 0===v?void 0:null===(c=v.fields)||void 0===c?void 0:c.Item.map(e=>{var l,i,s;return(0,va.jsx)("img",{src:null===(s=e.fields)||void 0===s?void 0:null===(i=s.MenuLeftImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src,className:"transition-all inset-0 duration-500 ease-in-out absolute object-cover w-full h-full ".concat(e.id===ec?"opacity-100":"opacity-0")},e.id)})),(null===(m=J.fields)||void 0===m?void 0:m.Hotels.length)>0&&(null===(x=J.fields)||void 0===x?void 0:x.Hotels.map(e=>{var l,i,s,n,a,d,t,o,r,c;return(0,va.jsx)("div",{className:"transition-all inset-0 duration-500 ease-in-out absolute ".concat(e.id===ec?"opacity-100":"opacity-0"),children:(null===(s=e.fields)||void 0===s?void 0:null===(i=s.VideoLink)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href)?(0,va.jsx)("video",{id:"myVideo",muted:!0,loop:!0,autoPlay:!0,className:"object-cover w-full h-full",children:(0,va.jsx)("source",{src:null===(d=e.fields)||void 0===d?void 0:null===(a=d.VideoLink)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href,type:"video/mp4"})}):(null===(r=e.fields)||void 0===r?void 0:null===(o=r.Image)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.src)&&(0,va.jsx)(m7,{field:null===(c=e.fields)||void 0===c?void 0:c.Image,className:"object-cover w-full h-full"})},e.id)})),(0,va.jsxs)("div",{className:"w-full flex flex-col items-center space-y-[15px] mb-[50px] absolute bottom-0 ".concat(ec&&1===ed?"hidden":"block"),children:[(null===(h=J.fields)||void 0===h?void 0:null===(p=h.Title1)||void 0===p?void 0:p.value)&&(0,va.jsx)("div",{className:vP("text-white text-[30px] leading-none font-Belleza font-normal uppercase ".concat(eN[ea])),children:null===(g=J.fields)||void 0===g?void 0:null===(f=g.Title1)||void 0===f?void 0:f.value}),(null===(N=J.fields)||void 0===N?void 0:null===(j=N.Title2)||void 0===j?void 0:j.value)&&(0,va.jsx)("div",{className:"text-white text-[30px] leading-none mb-[30px] font-semibold uppercase",children:null===(T=J.fields)||void 0===T?void 0:null===(b=T.Title2)||void 0===b?void 0:b.value}),(null===(S=J.fields)||void 0===S?void 0:S.Hotels.length)>0&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"flex space-x-[15px] text-[16px] text-white uppercase",children:null===(k=J.fields)||void 0===k?void 0:k.Hotels.slice(0,3).map(e=>{var l,i,s,n,a,d,t,o,r;return(0,va.jsx)("div",{onMouseOver:()=>{ef(e)},onMouseLeave:()=>{eg(e)},children:(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Link)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href)?(0,va.jsx)(uv,{href:e.fields.Link.value.href,target:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Link)||void 0===n?void 0:n.value.target,title:null===(d=e.fields)||void 0===d?void 0:d.Name.value,className:vP("rounded-[16px] flex border px-[20px] py-[10px] cursor-pointer leading-none hover:bg-white hover:text-[#95855d] font-semibold ".concat(eN[ea]," ").concat(EJ[ea])),children:null===(t=e.fields)||void 0===t?void 0:t.Name.value},e.id):(0,va.jsx)("span",{title:null===(o=e.fields)||void 0===o?void 0:o.Name.value,className:vP("rounded-[16px] flex border px-[20px] py-[10px] ".concat(e.fields.Link.value.href&&"curs
1or-pointer hover:bg-white hover:text-[#95855d]"," leading-none font-semibold ").concat(eN[ea]," ").concat("en"===ea?"pb-[7px]":"")),children:null===(r=e.fields)||void 0===r?void 0:r.Name.value},e.id)},e.id)})}),(0,va.jsx)("div",{className:"flex space-x-[15px] text-[16px] text-white uppercase",children:null===(w=J.fields)||void 0===w?void 0:w.Hotels.slice(3).map(e=>{var l,i,s,n,a,d,t,o,r;return(0,va.jsx)("div",{onMouseOver:()=>{ef(e)},onMouseLeave:()=>{eg(e)},children:(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Link)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href)?(0,va.jsx)(uv,{href:e.fields.Link.value.href,target:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Link)||void 0===n?void 0:n.value.target,title:null===(d=e.fields)||void 0===d?void 0:d.Name.value,className:vP("rounded-[16px] flex items-center h-[35px] border px-[20px] py-[10px] leading-[30px] inline-block cursor-pointer leading-none hover:bg-white hover:text-[#95855d] font-semibold ".concat(eN[ea]," ").concat("en"===ea?"pb-[7px]":"")),children:null===(t=e.fields)||void 0===t?void 0:t.Name.value},e.id):(0,va.jsx)("span",{title:null===(o=e.fields)||void 0===o?void 0:o.Name.value,className:vP("rounded-[16px] flex border px-[20px] py-[10px] ".concat(e.fields.Link.value.href&&"cursor-pointer hover:bg-white hover:text-[#95855d]"," leading-none font-semibold ").concat(eN[ea]," ").concat("en"===ea?"pb-[7px]":"")),children:null===(r=e.fields)||void 0===r?void 0:r.Name.value},e.id)},e.id)})})]})]})]}),(0,va.jsxs)("div",{className:"w-full md:w-[450px] flex flex-col md:justify-center items-center relative bg-cover",style:{backgroundImage:"url(".concat(null===(C=J.fields)||void 0===C?void 0:null===(E=C.RightImage)||void 0===E?void 0:null===(y=E.value)||void 0===y?void 0:y.src,")")},children:[(0,va.jsxs)("div",{className:"md:hidden mb-[28px] flex w-full h-[57px] items-center justify-between pl-[20px] pr-[17px] text-white absolute top-0",children:[(0,va.jsx)("div",{className:"text-[14px] font-bold leading-none uppercase",children:X?(0,va.jsx)("a",{href:ee,children:null===(L=J.fields)||void 0===L?void 0:null===(O=L.MemberShipTitle)||void 0===O?void 0:O.value}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{onClick:()=>{el()},children:null===(F=J.fields)||void 0===F?void 0:null===(I=F.LoginLinkTitle)||void 0===I?void 0:I.value}),(0,va.jsx)("span",{children:"\xa0/\xa0"}),(null===(M=J.fields)||void 0===M?void 0:null===(_=M.SignupLinkTitle)||void 0===_?void 0:_.value)&&(0,va.jsxs)(uv,{href:null===(A=J.fields)||void 0===A?void 0:null===(P=A.SignupLink)||void 0===P?void 0:null===(R=P.value)||void 0===R?void 0:R.href,children:[" ",null===(B=J.fields)||void 0===B?void 0:null===(D=B.SignupLinkTitle)||void 0===D?void 0:D.value]})]})}),(0,va.jsxs)("div",{className:"relative flex items-center justify-end h-[57px] overflow-hidden group",style:{width:"".concat(eu,"px")},children:[(0,va.jsxs)("svg",{viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"cursor-pointer h-[25px] md:hidden transition-all duration-300 transform group-hover:-translate-x-full group-hover:opacity-0",children:[(0,va.jsx)("circle",{cx:"12.5",cy:"12.5",r:"11.5",stroke:"white",strokeWidth:"2"}),(0,va.jsx)("path",{d:"M17.3331 12.5C17.3331 15.8393 16.6998 18.8139 15.7188 20.916C14.7 23.0991 13.4915 23.9998 12.5001 24C11.5086 24 10.3002 23.0993 9.28131 20.916C8.3003 18.8138 7.66608 15.8393 7.66608 12.5C7.66608 9.16065 8.3003 6.18616 9.28131 4.08398C10.3002 1.9007 11.5086 1 12.5001 1C13.4915 1.0002 14.7 1.90085 15.7188 4.08398C16.6998 6.18615 17.3331 9.16072 17.3331 12.5Z",stroke:"white",strokeWidth:"2"}),(0,va.jsx)("line",{x1:"1.66626",y1:"12.3331",x2:"24.1663",y2:"12.3331",stroke:"white",strokeWidth:"2"})]}),(null===(V=J.fields)||void 0===V?void 0:V.Language.length)>0&&(0,va.jsx)("div",{ref:en,className:"lang-box whitespace-nowrap absolute flex items-center space-x-[15px] transition-all duration-300 transform translate-x-full opacity-0 group-hover:translate-x-0 group-hover:opacity-100",children:J.fields.Language.map(e=>{let l="Languages/"+e.name;
1return(0,va.jsx)("a",{href:"#","data-lang":e.name.toLocaleString(),className:"text-[15px] font-bold cursor-pointer",children:ei(l)},e.id)})})]})]}),(null===(G=J.fields)||void 0===G?void 0:null===(H=G.MenuList)||void 0===H?void 0:null===(W=H.fields)||void 0===W?void 0:W.Item.length)>0&&(0,va.jsx)("div",{className:"h-full flex flex-col justify-center",children:(0,va.jsx)("ul",{className:"text-white leading-none flex flex-col justify-center items-center md:font-semibold",children:null===(q=J.fields)||void 0===q?void 0:null===(z=q.MenuList)||void 0===z?void 0:null===(U=z.fields)||void 0===U?void 0:U.Item.map(e=>{var l,i,s,n,a,d;return(0,va.jsxs)("li",{className:"cursor-pointer text-[18px] md:text-[20px] leading-none relative group h-[20px] md:h-[22px] pt-[25px] lg:pt-[20px] first:pt-0 box-content",onMouseOver:()=>{ep(e)},onMouseLeave:()=>{eh(e)},children:[(0,va.jsx)(uv,{href:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Link)||void 0===l?void 0:l.value.href,target:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:s.value.target,className:vP("block font-semibold uppercase ".concat(eN[ea])),children:null===(d=e.fields)||void 0===d?void 0:null===(a=d.LinkTitle)||void 0===a?void 0:a.value}),(0,va.jsx)("span",{className:"absolute -bottom-[2px] left-1/2 h-[2px] bg-white transform -translate-x-1/2 transition-all duration-500 w-0 group-hover:w-full"})]},e.id)})})}),(0,va.jsxs)("div",{className:"md:hidden text-[14px] text-black bg-white w-full flex flex-col pl-[20px] pr-[20px] absolute transition-all duration-300 ease-linear ".concat(eo?"h-full top-[57px]":"h-[53px] top-[calc(100%-53px)]"),children:[(0,va.jsxs)("div",{className:"flex items-center justify-between h-[53px]",onClick:()=>{er(!eo)},children:[(null===(Y=J.fields)||void 0===Y?void 0:null===(Q=Y.OurHousesTitle)||void 0===Q?void 0:Q.value)&&(0,va.jsx)("div",{className:"font-bold leading-none",children:null===(Z=J.fields)||void 0===Z?void 0:null===(K=Z.OurHousesTitle)||void 0===K?void 0:K.value}),(0,va.jsx)("svg",{className:"h-[20px] ".concat(eo?"hidden":""),viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6821",children:(0,va.jsx)("path",{d:"M576 64H448v384H64v128h384v384h128V576h384V448H576z",fill:"#262626","p-id":"6822"})}),(0,va.jsx)("svg",{className:"h-[20px] ".concat(eo?"":"hidden"),viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6823",children:(0,va.jsx)("path",{d:"M170.666667 469.333333h682.666666v85.333334H170.666667z",fill:"#000001","p-id":"6824"})})]}),J.fields.Hotels.length>0&&(0,va.jsx)("ul",{className:"text-[18px] leading-none mt-[20px] flex flex-col space-y-[20px] ".concat(eo?"":"hidden"),children:J.fields.Hotels.map(e=>{var l,i,s,n,a,d,t,o;return(0,va.jsx)("li",{className:"h-[20px] uppercase",children:(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Link)||void 0===l?void 0:l.value.href)?(0,va.jsx)(uv,{href:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:s.value.href,target:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Link)||void 0===a?void 0:a.value.target,className:vP("font-semibold ".concat(eN[ea])),children:null===(t=e.fields)||void 0===t?void 0:t.Name.value}):(0,va.jsx)("span",{className:vP("font-semibold cursor-pointer ".concat(eN[ea])),children:null===(o=e.fields)||void 0===o?void 0:o.Name.value})},e.id)})})]})]})]})},E0=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M;let{t:R,locale:P}=(0,vT.QT)(),A=(0,vd.useRef)(null),D=P(),{isLogged:B}=(0,yW.v9)(e=>e.userProfileSlice),[V,W]=(0,vd.useState)(!1),[H,G]=(0,vd.useState)(!1),[U,z]=(0,vd.useState)("0px"),[q,Q]=(0,vd.useState)("0px"),[Y,K]=(0,vd.useState)("0px"),[Z,J]=(0,vd.useState)(0),X=(0,vS.at)(gZ.tr.SIGN_IN_CALLBACK,P()),ee=()=>{W(!V),H&&el()},el=()=>{G(!H),V&&ee()},ei=()=>{A.current&&J(A.current.getBoundingClientRect().width)},es=()=>{(0,yI.sendGTMEvent)({event:"login_signip_interact",login_or_signup:"login",step_number:0,step_name:"pre-login",intent:"topnav login cta"}),(0,yP.signIn)("azureb2c",{callbackUrl:X,ui_locales:gZ.OE[P()]})};(0,vd.useEffect)(()=>{let e=location.pathname.concat(location.search);(null==A?void 0:A.current)&&A.current.querySelectorAll("a[data-lang]").forEach(l=>{let i=l.dataset.lang;i&&(l.href=(0,vS.KJ)(e,D,i))})},[D]),(0,vd.useEffect)(()=>
1{if(ei(),V){var e;let l=(null===(e=document.querySelector("nav"))||void 0===e?void 0:e.offsetHeight)||0,i="calc(100dvh - ".concat(l,"px - ").concat(10,"px - 10px)");Q(i),K(i)}else Q("0px");H?z("730px"):z("0px")}),(0,vd.useEffect)(()=>{let e=e=>{(V||H)&&(e.preventDefault(),e.stopPropagation())};return V||H?(window.addEventListener("wheel",e,{passive:!1}),window.addEventListener("touchmove",e,{passive:!1})):(window.removeEventListener("wheel",e),window.removeEventListener("touchmove",e)),()=>{window.removeEventListener("wheel",e),window.removeEventListener("touchmove",e)}},[V,H]);let en={en:"","zh-HK":"font-bold","zh-CN":"font-bold"};return(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(l=e.rendering)||void 0===l?void 0:l.dataSource)?(0,va.jsxs)("header",{children:[(0,va.jsx)("div",{className:"fixed inset-0 transition-all duration-500 z-30 backdrop-blur-[20px]\n ".concat(V||H?"opacity-100 backdrop-blur-sm bg-white/50":"opacity-0 backdrop-blur-none bg-transparent pointer-events-none")}),(0,va.jsxs)("nav",{className:"shadow-md fixed top-[10px] left-[10px] right-[10px] h-[60px] z-40 text-[15px]",children:[(0,va.jsxs)("div",{className:"bg-white/80 flex items-center justify-between h-full pl-[10px] md:pl-[20px] backdrop-blur-[15px]",children:[(0,va.jsxs)("div",{className:"flex items-center justify-center h-full gap-[4px]",children:[(null===(n=e.fields)||void 0===n?void 0:null===(s=n.Logo)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src)&&(0,va.jsx)(uv,{href:null===(t=e.fields)||void 0===t?void 0:null===(d=t.LogoLink)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href,target:null===(c=e.fields)||void 0===c?void 0:null===(r=c.LogoLink)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.target,className:"hidden md:block",children:(0,va.jsx)("img",{src:e.fields.Logo.value.src,className:"cursor-pointer h-[30px]"})}),(null===(m=e.fields)||void 0===m?void 0:null===(u=m.MobileLogo)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src)&&(0,va.jsx)(uv,{href:null===(h=e.fields)||void 0===h?void 0:null===(p=h.LogoLink)||void 0===p?void 0:null===(x=p.value)||void 0===x?void 0:x.href,className:"md:hidden",children:(0,va.jsx)("img",{src:e.fields.MobileLogo.value.src,className:"h-[40px] cursor-pointer"})})]}),(0,va.jsxs)("div",{className:"flex items-center h-full space-x-[20px] md:space-x-[40px]",children:[(0,va.jsx)("div",{className:"hidden md:block",children:(0,va.jsxs)("div",{className:"relative flex items-center justify-end h-[24px] overflow-hidden group",style:{width:"".concat(Z,"px")},children:[(0,va.jsxs)("svg",{viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-[24px] transition-all duration-300 transform cursor-pointer group-hover:-translate-x-full group-hover:opacity-0",children:[(0,va.jsx)("circle",{cx:"12.5",cy:"12.5",r:"11.5",stroke:"black",strokeWidth:"2"}),(0,va.jsx)("path",{d:"M17.3331 12.5C17.3331 15.8393 16.6998 18.8139 15.7188 20.916C14.7 23.0991 13.4915 23.9998 12.5001 24C11.5086 24 10.3002 23.0993 9.28131 20.916C8.3003 18.8138 7.66608 15.8393 7.66608 12.5C7.66608 9.16065 8.3003 6.18616 9.28131 4.08398C10.3002 1.9007 11.5086 1 12.5001 1C13.4915 1.0002 14.7 1.90085 15.7188 4.08398C16.6998 6.18615 17.3331 9.16072 17.3331 12.5Z",stroke:"black",strokeWidth:"2"}),(0,va.jsx)("line",{x1:"1.66626",y1:"12.3331",x2:"24.1663",y2:"12.3331",stroke:"black",strokeWidth:"2"})]}),(null===(f=e.fields)||void 0===f?void 0:f.Language.length)>0&&(0,va.jsx)("div",{ref:A,className:"lang-box whitespace-nowrap absolute flex items-center space-x-[15px] transition-all duration-300 transform translate-x-full opacity-0 group-hover:translate-x-0 group-hover:opacity-100",children:e.fields.Language.map(e=>{let l="Languages/"+e.name;return(0,va.jsx)("a",{href:"#","data-lang":e.name.toLocaleString(),className:"text-[15px] font-bold cursor-pointer",children:R(l)},e.id)})})]})}),(0,va.jsx)("div",{className:vP("hidden font-semibold leading-none md:block uppercase ".concat(en[D])),children:B?(0,va.jsx)("a",{href:X,children:null===(j=e.fields)||void 0===j?void 0:null===(g=j.MemberShipTitle)||void 0===g?void 0:g.value}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"cursor-pointer uppercase",onClick:()=>{es()},children:null===(b=e.fields)||void 0===b?void 0:null===(N=b.LoginLinkTitle)||void 0===N?void 0:N.value}),(0,va.jsx)("span",{children:"\xa0/\xa0"}),(null===(S=e.fields)||void 0===S?void 0:null===(T=S.SignupLinkTitle)||void 0===T?void 0:T.value)&&(0,va.jsxs)(uv,{onClick:()=>{(0,yI.sendGTMEvent)({event:"login_signip_interact",login_or_signup:"signup",step_number:0,step_name:"pre-login",intent:"topnav signup cta"})},href:null===(y=e.fields)||void 0===y?void 0:null===(w=y.SignupLink)||void 0===w?void 0:null===(k=w.value)||void 0===k?void 0:k.href,target:null===(O=e.fields)||void 0===O?void 0:null===(C=O.SignupLink)||void 0===C?void 0:null===(E=C.value)||void 0===E?void 0:E.target,children:[" ",null===(I=e.fields)||void 0===I?void 0:null===(L=I.SignupLinkTitle)||void 0===L?void 0:L.value]})]})}),(null===(_=e.fields)||void 0===_?void 0:null===(F=_.BookNowTitle)||void 0===F?void 0:F.value)&&(0,va.jsx)("div",{className:vP("text-[14px] leading-[14px] md:text-[15px] md:leading-[15px] font-semibold cursor-pointer uppercase ".concat(en[D]," ").concat(H?"text-[#a6a6a6]":"")),onClick:el,children:null===(M=e.fields)||void 0===M?void 0:M.BookNowTitle.value}),(0,va.jsx)("div",{className:"w-[60px] md:w-[73px] h-full flex items-center justify-center cursor-pointer bg-[#163286]",onClick:ee,children:(0,va.jsxs)("button",{className:"flex flex-col items-end justify-center w-[27px] cursor-pointer",children:[(0,va.jsx)("span",{className:"bg-amber-50 block transition-all duration-500 ease-linear h-[3px] w-[27px] rounded-sm ".concat(V?"rotate-45 translate-y-[7px]":"")}),(0,va.jsx)("span",{className:"bg-amber-50 block transition-all duration-500 ease-linear h-[3px] w-[27px] rounded-sm my-[4px] ".concat(V?"transform scale-x-0 opacity-0":"transform scale-x-100 opacity-100")}),(0,va.jsx)("span",{className:"bg-amber-50 block transition-all duration-500 ease-linear h-[3px] w-[21px] rounded-sm ".concat(V?"-rotate-45 -translate-y-[7px] w-[27px]":"")})]})})]})]}),(0,va.jsx)("div",{className:"transition-all duration-500 ease-linear overflow-hidden w-full md:w-[450px] absolute right-0 ".concat(H?"z-50":""),style:{height:U},children:(0,va.jsx)(EZ,{props:e,onToggleBookMenu:el})}),(0,va.jsx)("div",{className:"transition-all duration-[800ms] ease-out overflow-hidden w-full absolute ".concat(V?"z-50":""),style:{height:q},children:(0,va.jsx)("div",{className:"flex",style:{height:Y},children:(0,va.jsx)(EX,{props:e,isLogged:B,loginUrl:X,onLogin:es})})})]})]}):(0,va.jsx)(va.Fragment,{})})},E1=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei,es,en,ea,ed,et,eo,er,ec,ev,eu,em,ex,ep,eh,ef,eg,ej,eN,eb,eT,eS,ek,ew;let ey=!!(null==e?void 0:null===(l=e.params)||void 0===l?void 0:l.IsInterim),[eE,eC]=(0,vd.useState)(!1),[eO,eL]=(0,vd.useState)(""),{sitecoreContext:eI}=(0,vr.z)(),{isLgScreen:eF}=EG(),e_=null===(n=e.fields)||void 0===n?void 0:null===(s=n.FooterRemarkPosition)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.toLocaleLowerCase(),eM=(0,vd.useMemo)(()=>eF?{textAlign:"left"==e_?"left":"right"==e_?"right":"center"}:{textAlign:"center"},[eF,e_]);return(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(a=e.rendering)||void 0===a?void 0:a.dataSource)?(0,va.jsxs)("footer",{className:vP("relative footer--brand px-[15px] md:px-[40px] bg-white text-black",!e
1y&&"mb-[180px] md:mb-[50px]"),children:[(0,va.jsx)("div",{className:"mx-auto max-w-[1600px]",children:(0,va.jsxs)("div",{className:"grid grid-cols-4 gap-x-[15px] pt-[40px] md:gap-x-[20px] md:grid-cols-12",children:[(null===(o=e.fields)||void 0===o?void 0:null===(t=o.Logo)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.src)&&(0,va.jsx)("div",{className:"flex justify-center col-span-full",children:(0,va.jsx)(uv,{href:null===(v=e.fields)||void 0===v?void 0:null===(c=v.LogoLink)||void 0===c?void 0:null===(r=c.value)||void 0===r?void 0:r.href,target:null===(x=e.fields)||void 0===x?void 0:null===(m=x.LogoLink)||void 0===m?void 0:null===(u=m.value)||void 0===u?void 0:u.target,className:"h-[75px] md:h-[92px]",children:(0,va.jsx)("img",{src:e.fields.Logo.value.src,className:"h-[75px] md:h-[92px]"})})}),(null===(f=e.fields)||void 0===f?void 0:null===(h=f.CityList)||void 0===h?void 0:null===(p=h.fields)||void 0===p?void 0:p.Item.length)>0&&(0,va.jsx)("div",{className:"flex text-[#231f20] flex-wrap justify-center col-span-full gap-x-[10px] md:gap-x-[50px] md:col-start-3 md:col-span-8 gap-y-[10px] text-[12px]/[12px] leading-none md:text-[14px]/[20px] font-semibold mt-[40px]",children:null===(N=e.fields)||void 0===N?void 0:null===(j=N.CityList)||void 0===j?void 0:null===(g=j.fields)||void 0===g?void 0:g.Item.map(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;return(0,va.jsx)("div",{children:(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Link)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href)?(0,va.jsx)(uv,{href:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Link)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href,target:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Link)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.target,className:"uppercase",children:null===(v=e.fields)||void 0===v?void 0:null===(c=v.Text)||void 0===c?void 0:c.value}):(0,va.jsx)("span",{className:"cursor-pointer uppercase",children:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Text)||void 0===u?void 0:u.value})},e.id)})}),(null===(T=e.fields)||void 0===T?void 0:null===(b=T.LinkTitle)||void 0===b?void 0:b.value)&&(0,va.jsx)("div",{className:"flex justify-center col-span-4 mt-[40px] md:col-span-12 md:mt-[60px]",children:(0,va.jsx)(fa,{ButtonVariant:"cta-type-b",TEXT:null===(k=e.fields)||void 0===k?void 0:null===(S=k.LinkTitle)||void 0===S?void 0:S.value,URL:null===(E=e.fields)||void 0===E?void 0:null===(y=E.Link)||void 0===y?void 0:null===(w=y.value)||void 0===w?void 0:w.href,Target:null===(L=e.fields)||void 0===L?void 0:null===(O=L.Link)||void 0===O?void 0:null===(C=O.value)||void 0===C?void 0:C.target,hideIconAngle:!0,onClick:l=>{var i,s;EH(eI,new ED("signup",0,"pre-login","signup cta","signup","button",null===(s=e.fields)||void 0===s?void 0:null===(i=s.LinkTitle)||void 0===i?void 0:i.value))}})}),(null===(_=e.fields)||void 0===_?void 0:null===(F=_.SocialMediaList)||void 0===F?void 0:null===(I=F.fields)||void 0===I?void 0:I.Item.length)>0&&(0,va.jsx)("div",{className:"flex justify-center col-span-full space-x-[15px] text-[14px] tracking-wider mt-[40px] md:mt-[60px]",children:null===(P=e.fields)||void 0===P?void 0:null===(R=P.SocialMediaList)||void 0===R?void 0:null===(M=R.fields)||void 0===M?void 0:M.Item.map(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p;return(null===(s=e.fields)||void 0===s?void 0:null===(i=s.QRCode)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)?(0,va.jsx)("span",{className:"cursor-pointer",onClick:()=>{var l;eC(!0),eL((null===(l=e.fields.QRCode.value)||void 0===l?void 0:l.src)||"")},children:(0,va.jsx)("img",{src:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Logo)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src,className:"h-[25px]"})},e.id):(0,va.jsx)(uv,{href:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Link)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.href,target:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Link)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.target,children:(0,va.jsx)("img",{src:null===(p=e.fields)||void 0===p?void 0:null===(x=p.Logo)||void 0===x?void 0:null===(m=x.value)||void 0===m?void 0:m.src,className:"h-[25px]"})},e.id)})}),(null===(D=e.fields)||void 0===D?void 0:null===(A=D.Remark)||void 0===A?void 0:A.value)&&(0,va.jsx)("div",{className:"flex justify-center mt-[40px] font-semibold md:mt-[60px] text-black/40 text-[12px]/[12px] md:text-[14px]/[20px] col-span-full uppercase",children:(0,va.jsx)("div",{children:null===(V=e.fields)||void 0===V?void 0:null===(B=V.Remark)||void 0===B?void 0:B.value})}),(null===(G=e.fields)||void 0===G?void 0:null===(H=G.Logo2)||void 0===H?void 0:null===(W=H.value)||void 0===W?void 0:W.src)&&(0,va.jsx)("div",{className:"flex justify-center mt-[20px] md:mt-[15px] col-span-full",children:(0,va.jsx)(uv,{href:null===(z=e.fields.LogoLink2)||void 0===z?void 0:null===(U=z.value)||void 0===U?void 0:U.href,target:null===(Q=e.fields.LogoLink2)||void 0===Q?void 0:null===(q=Q.value)||void 0===q?void 0:q.target,children:(0,va.jsx)("img",{src:null===(Z=e.fields)||void 0===Z?void 0:null===(K=Z.Logo2)||void 0===K?void 0:null===(Y=K.value)||void 0===Y?void 0:Y.src,className:"h-[48px] md:h-[57px]"})})}),(null===(ee=e.fields)||void 0===ee?void 0:null===(X=ee.ItemList)||void 0===X?void 0:null===(J=X.fields)||void 0===J?void 0:J.Item.length)>0&&(0,va.jsx)("div",{className:"flex flex-wrap justify-center md:justify-between md:col-span-10 md:col-start-2 col-span-full gap-y-[16px] mt-[40px] md:mt-[60px] text-black/40",children:null===(es=e.fields)||void 0===es?void 0:null===(ei=es.ItemList)||void 0===ei?void 0:null===(el=ei.fields)||void 0===el?void 0:el.Item.map(e=>(0,va.jsx)(uv,{href:e.fields.Link.value.href,target:e.fields.Link.value.target,className:"block w-1/2 md:w-auto font-bold text-center text-[12px]/[12px] md:text-[14px]/[20px] uppercase",children:e.fields.Text.value},e.id))}),(null===(ed=e.fields)||void 0===ed?void 0:null===(ea=ed.SiteMapList)||void 0===ea?void 0:null===(en=ea.fields)||void 0===en?void 0:en.Item.length)>0&&(0,va.jsx)("div",{className:"grid grid-cols-2 pt-[40px] md:pt-[30px] gap-x-[60px] md:gap-[16px] gap-y-[40px] md:gap-x-[20px] md:gap-y-[30px] col-span-full md:grid-cols-4 md:col-start-2 border-t md:col-span-10 mt-[40px] border-t-black/50 md:mt-[60px] text-black/40",children:null===(er=e.fields)||void 0===er?void 0:null===(eo=er.SiteMapList)||void 0===eo?void 0:null===(et=eo.fields)||void 0===et?void 0:et.Item.map(e=>(0,va.jsxs)("div",{className:"col-span-1",children:[(0,va.jsx)(uv,{href:e.fields.Link.value.href,target:e.fields.Link.value.target,className:"text-[14px]/[20px] font-bold block uppercase",children:e.fields.Text.value}),e.fields.Items.length>0&&e.fields.Items.map(e=>(0,va.jsx)(uv,{href:e.fields.Link.value.href,target:e.fields.Link.value.target,className:"font-normal text-[14px]/[20px] block mt-[5px]",children:e.fields.Text.value},e.id))]},e.id))}),(0,va.jsx)("div",{className:"flex flex-col items-center mt-[40px] md:mt-[60px] col-span-full",children:(null===(ev=e.fields)||void 0===ev?void 0:null===(ec=ev.LinkText2)||void 0===ec?void 0:ec.value)&&(0,va.jsx)(uv,{href:null===(ex=e.fields)||void 0===ex?void 0:null===(em=ex.Link2)||void 0===em?void 0:null===(eu=em.value)||void 0===eu?void 0:eu.href,target:null===(ef=e.fields)||void 0===ef?void 0:null===(eh=ef.Link2)||void 0===eh?void 0:null===(ep=eh.value)||void 0===ep?void 0:ep.target,className:"mb-[50px] md:mb-[60px] font-semibold text-[13px] md:text-[14px]/[20px] leading-[13px] uppercase",children:null===(ej=e.fields)||void 0===ej?void 0:null===(eg=ej.LinkText2)||void 0===eg?void 0:eg.value})}),(0,va.jsxs)("div",{className:"w-[270px] md:w-[400px] h-[400px] bg-black/80 flex justify-center items-center fixed top-[50%] left-[50%] -translate-x-1/2 -translate-y-1/2 ".concat(eE?"block":"hidden"),children:[(0,va.jsxs)("div",{className:"w-[40px] md:w-[60px] h-[40p
1x] md:h-[60px] p-[10px] absolute -top-[20px] -right-[20px] flex justify-center items-center cursor-pointer group",style:{backgroundColor:"".concat(null===(eb=e.fields)||void 0===eb?void 0:null===(eN=eb.Color)||void 0===eN?void 0:eN.value)},onClick:()=>eC(!1),children:[(0,va.jsx)("span",{className:"line-1 absolute w-[20px] md:w-[25px] h-[2px] bg-white rotate-45"}),(0,va.jsx)("span",{className:"line-2 absolute w-[20px] md:w-[25px] h-[2px] bg-white -rotate-45"})]}),(0,va.jsx)("img",{className:"w-[200px] h-[200px]",src:eO})]})]})}),(0,va.jsx)("div",{className:"-mx-[15px] md:-mx-[40px] px-[10px] text-[10px]/[14px] md:text-[14px]/[20px] pb-[20px]",children:(null===(eS=e.fields)||void 0===eS?void 0:null===(eT=eS.Copyright)||void 0===eT?void 0:eT.value)&&(0,va.jsx)("div",{dangerouslySetInnerHTML:{__html:null===(ew=e.fields)||void 0===ew?void 0:null===(ek=ew.Copyright)||void 0===ek?void 0:ek.value},className:"font-normal text-[10px]/[14px] md:text-[14px]/[20px] flex flex-col justify-center gap-y-[5px]",style:eM})})]}):(0,va.jsx)(va.Fragment,{})})};var E2=i(41664),E5=i.n(E2);let E3=[{id:1,title:"HONG KONG",href:"#"},{id:2,title:"CHENGDU",href:"#"},{id:3,title:"SHANGHAI",href:"#"},{id:4,title:"SHENZHEN",href:"#"},{id:5,title:"TOKYO",href:"#"},{id:6,title:"XI'AN",href:"#"},{id:7,title:"BANGKOK",href:"#"}],E4=[{id:1,imgPath:"/sns-facebook.png",href:"#"},{id:2,imgPath:"/sns-instagram.png",href:"#"},{id:3,imgPath:"/sns-wechat.png",href:"#"},{id:4,imgPath:"/sns-weibo.png",href:"#"},{id:5,imgPath:"/sns-tripadvisor.png",href:"#"}],E6=[{id:1,title:"MEDIA",href:"#"},{id:2,title:"WORK WITH US",href:"#"},{id:3,title:"PRIVACY POLICY",href:"#"},{id:4,title:"COOKIES POLICY",href:"#"},{id:5,title:"CONTACT US",href:"#"},{id:6,title:"PARTNERS",href:"#"}],E8=[{id:1,title:"HOME",href:"#",child:[]},{id:2,title:"OUR HOUSE",href:"#",child:[{id:21,title:"People and Culture",href:"#"},{id:22,title:"Art and Design",href:"#"},{id:23,title:"Sustainability",href:"#"}]},{id:3,title:"ROOMS",href:"#",child:[{id:31,title:"Studio 70",href:"#"},{id:32,title:"Studio 80",href:"#"},{id:33,title:"Upper Suites",href:"#"},{id:34,title:"Andr\xe9 Fu Suites",href:"#"},{id:35,title:"Penthouses",href:"#"}]},{id:4,title:"RESTAURANTS & BARS",href:"#",child:[{id:41,title:"Salisterra",href:"#"},{id:42,title:"The Continental",href:"#"},{id:43,title:"The Lawn",href:"#"}]},{id:5,title:"WELLNESS",href:"#",child:[{id:51,title:"Wellness Programme",href:"#"},{id:52,title:"In-room Treatments",href:"#"}]},{id:6,title:"PRIVATE EVENTS",href:"#",child:[{id:61,title:"Sky Lounge",href:"#"},{id:62,title:"The Lawn",href:"#"},{id:63,title:"Penthouses",href:"#"}
1,{id:64,title:"Weddings",href:"#"}]},{id:7,title:"EXPLORE HONG KONG",href:"#",child:[]},{id:8,title:"SPECIAL OFFERS",href:"#",child:[]},{id:9,title:"PACIFIC PLACE APARTMENTS",href:"#",child:[{id:91,title:"The Apartments",href:"#"},{id:92,title:"Enquiry",href:"#"}]}],E7=e=>(0,va.jsx)("footer",{className:"footer--brand px-[15px] md:px-[40px] bg-white text-black",children:(0,va.jsx)("div",{className:"mx-auto max-w-[1600px]",children:(0,va.jsxs)("div",{className:"grid grid-cols-4 gap-x-[15px] pt-[40px] pb-[40px] md:gap-x-[20px] md:grid-cols-12",children:[(0,va.jsx)("div",{className:"flex justify-center col-span-full",children:(0,va.jsxs)("svg",{className:"h-[75px] md:h-[92px]",viewBox:"0 0 95 93",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,va.jsx)("path",{d:"M62.189 48.6641H33.422C30.1626 48.6641 27.5311 51.2348 27.5311 54.4033L27.3218 72.3684C27.3218 73.9825 28.9665 75.2978 30.641 75.2978L31.9269 54.1044C31.9269 52.55 32.8539 50.3679 35.1564 50.3679H60.5144C62.8169 50.3679 63.7439 52.5799 63.7439 54.1044L65.0298 75.2978C66.6745 75.2978 68.349 73.9825 68.349 72.3684L68.1397 54.4033C68.1397 51.2348 65.5082 48.6641 62.2488 48.6641",fill:"black"}),(0,va.jsx)("path",{d:"M33.4218 44.2103H62.1887C65.4482 44.2103 68.0797 41.6396 68.0797 38.471L68.289 20.506C68.289 18.8918 66.6443 17.6064 64.9697 17.6064L63.6839 38.7998C63.6839 40.3542 62.7569 42.5363 60.4543 42.5363H35.0964C32.7938 42.5363 31.8668 40.3243 31.8668 38.7998L30.581 17.6064C28.9363 17.6064 27.2617 18.9217 27.2617 20.506L27.471 38.471C27.471 41.6396 30.1025 44.2103 33.362 44.2103",fill:"black"}),(0,va.jsx)("path",{d:"M47.8054 2.83973C69.7843 2.83973 88.115 18.3238 91.8828 38.6802H94.8432C91.0455 16.7694 71.3991 0 47.8054 0C24.2117 0 4.56529 16.7694 0.767578 38.6802H3.728C7.49581 18.3238 25.8265 2.83973 47.8054 2.83973Z",fill:"black"}),(0,va.jsx)("path",{d:"M47.8054 92.8743C71.3991 92.8743 91.0455 76.1348 94.8432 54.1941H91.8828C88.115 74.5505 69.7843 90.0345 47.8054 90.0345C25.8265 90.0345 7.49581 74.5505 3.728 54.1941H0.767578C4.56529 76.1049 24.2117 92.8743 47.8054 92.8743Z",fill:"black"})]})}),(0,va.jsx)("div",{className:"flex text-[#231f20] flex-wrap justify-center col-span-full gap-x-[10px] md:gap-x-[50px] md:col-start-3 md:col-span-8 gap-y-[10px] text-[12px]/[12px] leading-none md:text-[14px]/[20px] font-semibold mt-[40px]",children:E3.map(e=>(0,va.jsx)(E5(),{href:e.href,children:e.title},e.id))}),(0,va.jsx)("div",{className:"flex justify-center col-span-4 mt-[40px] md:col-span-12",children:(0,va.jsx)(E5(),{href:"#",className:"text-[14px]/[10px] md:text-[16px]/[10px] box-border font-bold border pt-[15px] pb-[15px] pl-[30px] pr-[30px]",children:"STAY CONNECTED"})}),(0,va.jsx)("div",{className:"flex justify-center col-span-full space-x-[15px] text-[14px] tracking-wider mt-[40px] md:mt-[60px]",children:E4.map(e=>(0,va.jsx)(E5(),{href:e.href,children:(0,va.jsx)("img",{src:e.imgPath,className:"h-[25px]"})},e.id))}),(0,va.jsx)("div",{className:"flex justify-center mt-[40px] font-semibold md:mt-[60px] text-black/40 text-[12px]/[12px] md:text-[14px]/[20px] col-span-full",children:(0,va.jsx)("div",{children:"OUR INTERNATIONAL PARTNER"})}),(0,va.jsx)("div",{className:"flex justify-center mt-[20px] md:mt-[15px] col-span-full",children:(0,va.jsx)("img",{src:"/footer-theset.png",className:"h-[50px] md:h-[75px]"})}),(0,va.jsx)("div",{className:"flex flex-wrap justify-center md:justify-between md:col-span-10 md:col-start-2 col-span-full gap-y-[16px] mt-[40px] md:mt-[60px]",children:E6.map(e=>(0,va.jsx)(E5(),{href:e.href,className:"block w-1/2 md:w-auto font-semibold text-center text-[12px]/[12px] md:text-[14px]/[20px] text-black/40",children:e.title},e.id))}),(0,va.jsx)("div",{className:"grid grid-cols-2 pt-[40px] md:pt-[120px] gap-x-[60px] md:gap-[16px] gap-y-[40px] md:gap-x-[20px] md:gap-y-[30px] col-span-full md:grid-cols-4 md:col-start-2 border-t md:col-span-10 mt-[40px] border-t-black/50 md:mt-[60px]",children:E8.map(e=>(0,va.jsxs)("div",{className:"col-span-1",children:[(0,va.jsx)(E5(),{href:e.href,className:"text-[12px]/[15px] font-bold text-black/50 block",children:e.title}),e.child.length>0&&e.child.map(e=>(0,va.jsx)(E5(),{href:e.href,className:"font-normal text-[12px]/[15px] text-black/50 block mt-[5px]",children:e.title},e.id))]},e.id))}),(0,va.jsxs)("div",{className:"flex flex-col items-center mt-[40px] md:mt-[60px] col-span-full",children:[(0,va.jsx)("div",{className:"mb-[15px] md:mb-[20px] font-semibold text-[13px] md:text-[14px]/[20px] leading-[13px] tracking-wider",children:"SWIRE HOTELS"}),(0,va.jsx)("div",{className:"hidden font-normal text-center md:block text-[14px]/[20px] mb-[5px]",children:" \xa9 2025 Swire Properties Hotel Holdings Limited. All Rights Reserved."}),(0,va.jsx)("div",{className:"hidden font-normal text-center md:block text-[14px]/[20px]",children:"ICP License: èICPå¤17036029å· | Gongan Beian: å·å
¬ç½å®å¤51010402001695å·"}
1),(0,va.jsx)("div",{className:"mb-[5px] text-[10px] font-normal leading-[14px] text-center md:hidden",children:"ICP License: èICPå¤17036029å· | Gongan Beian: å·å
¬ç½å®å¤51010402001695å·"}),(0,va.jsx)("div",{className:"text-[10px] font-normal leading-[14px] text-center md:hidden",children:" \xa9 2025 Swire Properties Hotel Holdings Limited. All Rights Reserved."})]})]})})}),E9=e=>{let l=e.getTimezoneOffset();return(e=new Date(e.getTime()-6e4*l)).toISOString().split("T")[0]},Ce=e=>{var l,i,s,n,a,d,t,o,r;let{props:c,onToggleBookMenu:v}=e,{t:u,locale:m}=(0,vT.QT)(),x=m(),{isLogged:p}=EK(),{sitecoreContext:h}=(0,vr.z)(),f=null===(i=c.fields)||void 0===i?void 0:null===(l=i.HotelBookLink)||void 0===l?void 0:l.value,{url:g,setSelectedArrive:j,setSelectedDepart:N,setAdultNum:b,setChildrenNum:T,setRoomNum:S,sabreLogin:k}=gJ({selectedHotelId:f});function w(e,l){let[i,s]=(0,vd.useState)(e);return{count:i,increase:()=>{s(e=>(null==l?void 0:l.max)!==void 0?Math.min(l.max,e+1):e+1)},decrease:()=>{s(e=>(null==l?void 0:l.min)!==void 0?Math.max(l.min,e-1):e-1)},setCount:s}}let y=w(1,{min:1,max:3}),E=w(1,{min:1}),C=w(0,{min:0}),[O,L]=(0,vd.useState)(new Date),[I,F]=(0,vd.useState)((0,g$.E)(new Date,1)),_=e=>{let{date:l,onClick:i}=e,s=l instanceof Date&&!isNaN(l.getTime()),n=(()=>{if(!s)return null;let e={en:{locale:"en-us",dateFormat:e=>{let{month:l,day:i,year:s}=e;return"".concat(l," ").concat(i,", ").concat(s)}},"zh-CN":{locale:"zh-CN",dateFormat:e=>{let{month:l,day:i,year:s}=e;return"".concat(i," ").concat(l," ").concat(s)}},"zh-HK":{locale:"zh-HK",dateFormat:e=>{let{month:l,day:i,year:s}=e;return"".concat(i," ").concat(l," ").concat(s)}}}[x],i=l.toLocaleString(e.locale,{weekday:"short"}).toUpperCase(),n=l.toLocaleString(e.locale,{month:"short"}).toUpperCase(),a=l.getDate(),d=l.getFullYear();return{weekday:i,dateString:e.dateFormat({month:n,day:a,year:d})}})();return(0,va.jsxs)("div",{className:"flex flex-col pb-[15px]",onClick:i,children:[(0,va.jsx)("div",{className:vP("text-[14px] leading-[18px] lg:text-[15px] font-normal lg:leading-[20px] ".concat(P[x]," ").concat(n?"":"opacity-0")),children:(null==n?void 0:n.weekday)||"select date"}),(0,va.jsx)("div",{className:vP("text-[14px] leading-[18px] lg:text-[15px] font-normal lg:leading-[20px] ".concat(P[x]," ").concat(n?"":"opacity-0")),children:(null==n?void 0:n.dateString)||"select date"})]})},M=()=>{switch(x){case"zh-CN":return Ez.U;case"zh-HK":return Eq.e;default:return EQ.e}};(0,vd.useEffect)(()=>{j(E9(O)),N(E9((0,g$.E)(new Date,1)))},[]),(0,vd.useEffect)(()=>{y.count>E.count&&E.setCount(y.count)},[y.count,E.count,E.setCount]),(0,vd.useEffect)(()=>{S(y.count),b(E.count),T(C.count)},[y.count,E.count,C.count,S,b,T]);let R={en:"","zh-HK":"text-[12px] leading-[12px]","zh-CN":"text-[12px] leading-[12px]"},P={en:"","zh-HK":"text-[15px] leading-[20px]","zh-CN":"text-[15px] leading-[20px]"};return(0,va.jsxs)("div",{className:"flex border-t border-slate-300 flex-col pt-[40px] pl-[10px] md:pl-[40px] pr-[10px] md:pr-[40px] md:pt-[60px] pb-[70px] select-none",style:{background:"linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url(".concat(null===(a=c.fields)||void 0===a?void 0:null===(n=a.BookNowImage)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.src,") no-repeat center center / cover, #fff")},children:[(null===(t=c.fields)||void 0===t?void 0:null===(d=t.HotelCityName)||void 0===d?void 0:d.value)&&(0,va.jsx)("div",{className:vP("mb-[40px] md:mb-[50px] text-[26px] leading-none md:font-semibold uppercase ".concat({en:"","zh-HK":"md:leading-[34px] font-medium","zh-CN":"md:leading-[34px] font-medium"}[x])),children:null===(r=c.fields)||void 0===r?void 0:null===(o=r.HotelCityName)||void 0===o?void 0:o.value}),(0,va.jsxs)("div",{className:"mb-[40px] md:mb-[50px] flex space-x-[20px]",children:[(0,va.jsxs)("div",{className:"flex flex-col basis-1/2 border-b-[1px] border-black",children:[(0,va.jsx)("label",{className:vP("block text-[10px] leading-[10px] lg:text-[12px] font-bold text-[#787b7f] lg:leading-[12px] mb-[10px] uppercase ".concat(R[x])),children:u(gm.L.Navigation.CheckIn)}),(0,va.jsxs)("div",{className:"flex items-center justify-between",children:[(0,va.jsx)("div",{className:"flex flex-col flex-1 cursor-pointer",children:(0,va.jsx)(EY.ZP,{selectsRange:!0,locale:M(),popperPlacement:"bottom-end",selected:O,onChange:e=>{let[l,i]=e;L(l),F(i),j(E9(l)),N(E9(i))},startDate:O,endDate:I,minDate:new Date,maxDate:I?void 0:(0,g$.E)(O,30),calendarClassName:"book-now-datepicker",customInput:(0,va.jsx)(_,{date:O})})}),(0,va.jsx)("svg",{className:"w-4",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5049",children:(0,va.jsx)("path",{d:"M535.466667 812.8l450.133333-563.2c14.933333-19.2 2.133333-49.066667-23.466667-49.066667H61.866667c-25.6 0-38.4 29.866667-23.466667 49.066667l450.133333 563.2c12.8 14.933333 34.133333 14.933333 46.933334 0z",fill:"#232a82","p-id":"5050"})})]})]}),(0,va.jsxs)("div",{className:"flex flex-col basis-1/2 border-b-[1px] border-black",children:[(0,va.jsx)("label",{className:vP("block text-[10px] leading-[10px] lg:text-[12px] font-bold text-[#787b7f] lg:leading-[12px] mb-[10px] uppercase ".concat(R[x])),children:u(gm.L.Navigation.CheckOut)}),(0,va.jsxs)("div",{className:"flex items-center justify-between ",children:[(0,va.jsx)("div",{className:"flex flex-col flex-1 cursor-pointer",children:(0,va.jsx)(EY.ZP,{selectsEnd:!0,locale:M(),popperPlacement:"bottom-start",selected:I,onChange:e=>{F(e),e&&N(E9(e))}
1,startDate:O,endDate:I,minDate:O,maxDate:(0,g$.E)(O,30),calendarClassName:"book-now-datepicker",customInput:(0,va.jsx)(_,{date:I})})}),(0,va.jsx)("svg",{className:"w-4",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5049",children:(0,va.jsx)("path",{d:"M535.466667 812.8l450.133333-563.2c14.933333-19.2 2.133333-49.066667-23.466667-49.066667H61.866667c-25.6 0-38.4 29.866667-23.466667 49.066667l450.133333 563.2c12.8 14.933333 34.133333 14.933333 46.933334 0z",fill:"#232a82","p-id":"5050"})})]})]})]}),(0,va.jsxs)("div",{className:"mb-[40px] md:mb-[50px]",children:[(0,va.jsxs)("div",{className:"flex items-center justify-between pb-[15px] md:pb-[25px] border-b-[1px] border-[#787b7f]",children:[(0,va.jsxs)("div",{className:"flex flex-col space-y-[10px] uppercase",children:[(0,va.jsx)("span",{className:"text-[14px] md:text-[15px] leading-none font-normal",children:u(gm.L.Navigation.Rooms)}),(0,va.jsx)("span",{className:"text-[#787b7f] text-[10px] md:text-[12px] leading-none font-bold",children:u(gm.L.Navigation.GuestsMax)})]}),(0,va.jsxs)("div",{className:"flex items-center space-x-[20px] text-black",children:[(0,va.jsx)("div",{className:"border-[1px] p-[2px] border-[#787b7f] ".concat(1===y.count?"opacity-50 cursor-no-drop":"cursor-pointer"),onClick:y.decrease,children:(0,va.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-[24px]",children:(0,va.jsx)("path",{fillRule:"evenodd",d:"M4.25 12a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"})})}),(0,va.jsx)("span",{className:"font-normal text-[14px] leading-[18px] md:text-[15px] md:leading-[20px]",children:y.count}),(0,va.jsx)("div",{className:"border-[1px] p-[2px] border-[#787b7f] ".concat(3===y.count?"opacity-50 cursor-no-drop":"cursor-pointer"),onClick:y.increase,children:(0,va.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-[24px]",children:(0,va.jsx)("path",{fillRule:"evenodd",d:"M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"})})})]})]}),(0,va.jsxs)("div",{className:"flex items-center justify-between pt-[15px] md:pt-[25px] pb-[15px] md:pb-[25px] border-b-[1px] border-[#787b7f]",children:[(0,va.jsxs)("div",{className:"flex flex-col space-y-[10px] uppercase",children:[(0,va.jsx)("span",{className:"text-[14px] md:text-[15px] leading-none font-normal",children:u(gm.L.Navigation.Adults)}),(0,va.jsx)("span",{className:"text-[#787b7f] text-[10px] md:text-[12px] leading-none font-bold",children:u(gm.L.Navigation.YearsOrOlder)})]}),(0,va.jsxs)("div",{className:"flex items-center space-x-[20px] text-black",children:[(0,va.jsx)("div",{className:"border-[1px] p-[2px] border-[#787b7f] ".concat(y.count===E.count?"opacity-50 cursor-no-drop":"cursor-pointer"),onClick:E.decrease,children:(0,va.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-[24px]",children:(0,va.jsx)("path",{fillRule:"evenodd",d:"M4.25 12a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"})})}),(0,va.jsx)("span",{children:E.count}),(0,va.jsx)("div",{className:"border-[1px] p-[2px] cursor-pointer border-[#787b7f]",onClick:E.increase,children:(0,va.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-[24px]",children:(0,va.jsx)("path",{fillRule:"evenodd",d:"M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"})})})]})]}),(0,va.jsxs)("div",{className:"flex items-center justify-between pt-[15px] md:pt-[25px] pb-[15px] md:pb-[25px] border-b-[1px] border-[#787b7f]",children:[(0,va.jsxs)("div",{className:"flex flex-col space-y-[10px] uppercase",children:[(0,va.jsx)("span",{className:"text-[14px] md:text-[15px] leading-none font-normal",children:u(gm.L.Navigation.Children)}),(0,va.jsx)("span",{className:"text-[#787b7f] text-[10px] md:text-[12px] leading-none font-bold",children:u(gm.L.Navigation.BelowYearsOld)})]}),(0,va.jsxs)("div",{className:"flex items-center space-x-[20px] text-black",children:[(0,va.jsx)("div",{className:"border-[1px] p-[2px] curs
1or-pointer border-[#787b7f]",onClick:C.decrease,children:(0,va.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-[24px]",children:(0,va.jsx)("path",{fillRule:"evenodd",d:"M4.25 12a.75.75 0 0 1 .75-.75h14a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"})})}),(0,va.jsx)("span",{children:C.count}),(0,va.jsx)("div",{className:"border-[1px] p-[2px] cursor-pointer border-[#787b7f]",onClick:C.increase,children:(0,va.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-[24px]",children:(0,va.jsx)("path",{fillRule:"evenodd",d:"M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z",clipRule:"evenodd"})})})]})]})]}),(0,va.jsxs)("div",{className:"flex flex-col items-center space-y-[10px] md:space-y-[15px] font-semibold tracking-widest",children:[(0,va.jsx)("button",{onClick:()=>{if(f){let e=new EP((0,xJ.AB)(h),"booking-widget","Footer_Continue",{arrival_date:TS()(E9(O)).format("YYYY-DD-MM"),departure_date:TS()(E9(I)).format("YYYY-DD-MM"),number_of_nights:TS()(I).diff(TS()(O),"days"),number_of_rooms:y.count,adult_qty:E.count,child_qty:C.count});EH(h,e),p?k():window.open(g,"_blank")}},className:vP("w-full py-[15px] text-[14px] font-bold leading-none text-white transition-colors duration-200 bg-black border-black border-solid cursor-pointer md:text-[16px] border-[1px] uppercase ".concat("en"===x?"pb-[12px]":"")),children:u(gm.L.Navigation.Continue)}),(0,va.jsx)("button",{onClick:()=>{v()},className:vP("w-full py-[15px] text-[14px] font-bold leading-none text-black transition-colors duration-200 bg-transparent border-black border-solid cursor-pointer md:text-[16px] border-[1px] uppercase ".concat("en"===x?"pb-[12px]":"")),children:u(gm.L.Navigation.Cancel)})]})]})},Cl=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei,es,en,ea,ed,et,eo,er,ec;let{props:ev,isLogged:eu,loginUrl:em,onLogin:ex}=e,{t:ep,locale:eh}=(0,vT.QT)(),ef=(0,vd.useRef)(null),eg=(0,vd.useRef)(null),ej=eh(),[eN,eb]=(0,vd.useState)(!1),[eT,eS]=(0,vd.useState)("0px"),[ek,ew]=(0,vd.useState)(!1),[ey,eE]=(0,vd.useState)(""),[eC,eO]=(0,vd.useState)(0),eL=e=>{var l,i,s;eb(!1),(null===(s=e.fields)||void 0===s?void 0:null===(i=s.MenuLeftImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&eE(e.id)},eI=e=>{var l,i,s;(null===(s=e.fields)||void 0===s?void 0:null===(i=s.MenuLeftImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&eE("")};(0,vd.useEffect)(()=>{if(eN){if(eg.current){let e=eg.current.scrollHeight;eS("".concat(e,"px"))}}else eS("0px")},[eN]);let eF=()=>{ef.current&&eO(ef.current.getBoundingClientRect().width)};(0,vd.useEffect)(()=>{eF()}),(0,vd.useEffect)(()=>{let e=location.pathname.concat(location.search);(null==ef?void 0:ef.current)&&ef.current.querySelectorAll("a[data-lang]").forEach(l=>{let i=l.dataset.lang;i&&(l.href=(0,vS.KJ)(e,ej,i),console.log(l.href))})},[ej]);let e_={en:"","zh-HK":"font-medium","zh-CN":"font-medium"};return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"relative flex-1 hidden md:block",children:[(0,va.jsx)("div",{className:"absolute inset-0 transition-all duration-500 z-30 ".concat(eN?"opacity-100 backdrop-blur-sm bg-white/10":"opacity-0 backdrop-blur-none bg-transparent pointer-events-none")}),(null===(s=ev.fields)||void 0===s?void 0:null===(i=s.LeftImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(0,va.jsx)("img",{src:null===(d=ev.fields)||void 0===d?void 0:null===(a=d.LeftImage)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src,className:"transition-all inset-0 duration-500 ease-in-out absolute object-cover w-full h-full ".concat(ey?"opacity-0":"opacity-100")}),(null===(r=ev.fields)||void 0===r?void 0:null===(o=r.MenuList)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:t.Item.length)>0&&(null===(u=ev.fields)||void 0===u?void 0:null===(v=u.MenuList)||void 0===v?void 0:null===(c=v.fields)||void 0===c?void 0:c.Item.map(e=>{var l,i,s;return(0,va.jsx)("img",{src:null===(s=e.fields)||void 0===s?void 0:null===(i=s.MenuLeftImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src,className:"transition-all inset-0 duration-500 ease-in-out absolute object-cover w-full h-full ".concat(e.id===ey?"opacity-100":"opacity-0")},e.id)})),(0,va.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/20 via-black/20 via-[49.52%] to-black/60 to-[74.52%] ".concat(ey?"hidden":"block")}),(0,va.jsxs)("div",{className:"".concat(ey?"hidden":"block"),children:[(null===(x=ev.fields)||void 0===x?void 0:null===(m=x.Title)||void 0===m?void 0:m.value)&&(0,va.jsx)("div",{className:vP("absolute flex flex-col items-center w-full transform -translate-x-1/2 -translate-y-1/2 left-1/2 top-1/2 text-white text-[80px] font-normal leading-none font-Belleza px-[40px] text-center uppercase ".concat({en:"","zh-HK":"leading-[96px] font-medium","zh-CN":"leading-[96px] font-medium"}[ej])),children:null===(h=ev.fields)||void 0===h?void 0:null===(p=h.Title)||void 0===p?void 0:p.value}),(null===(g=ev.fields)||void 0===g?void 0:null===(f=g.UpperHouseLinkTitle)||void 0===f?void 0:f.value)&&(0,va.jsx)("div",{className:"absolute z-40 text-white border-b-[2px] bottom-[20px] left-[20px] pb-[2px]",children:(0,va.jsx)(uv,{href:null===(N=ev.fields)||void 0===N?void 0:null===(j=N.UpperHouseLink)||void 0===j?void 0:j.value.href,target:null===(T=ev.fields)||void 0===T?void 0:null===(b=T.UpperHouseLink)||void 0===b?void 0:b.value.target,className:"font-bold text-[16px] leading-none block uppercase",children:null===(k=ev.fields)||void 0===k?void 0:null===(S=k.UpperHouseLinkTitle)||void 0===S?void 0:S.value})}),(0,va.jsxs)("div",{className:"absolute z-40 flex flex-col items-center space-y-[20px] text-white bottom-[20px] right-[20px]",onMouseOver:()=>eb(!0),onMouseLeave:()=>eb(!1),children:[ev.fields.Hotels.length>0&&(0,va.jsx)("div",{className:"transition-all duration-500 ease-linear flex flex-col w-full space-y-[20px] text-black bg-white overflow-hidden",style:{height:eT},children:(0,va.jsx)("ul",{ref:eg,className:"flex flex-col w-full p-[15px] space-y-[20px] text-black bg-white",children:ev.fields.Hotels.map(e=>{var l,i,s,n,a,d,t,o,r,c;return(0,va.jsxs)("li",{className:"relative h-[22px] group w-fit uppercase",children:[(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Link)||void 0===l?void 0:l.value.href)?(0,va.jsx)(uv,{href:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:s.value.href,target:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Link)||void 0===a?void 0:a.value.target,title:null===(t=e.fields)||void 0===t?void 0:t.Name.value,className:vP("inline-block text-[16px] font-semibold leading-[20px] ".concat(e_[ej])),children:null===(o=e.fields)||void 0===o?void 0:o.Name.value}):(0,va.jsx)("span",{title:null===(r=e.fields)||void 0===r?void 0:r.Name.value,className:vP("inline-block text-[16px] font-semibold leading-[20px] cursor-pointer ".concat(e_[ej])),children:null===(c=e.fields)||void 0===c?void 0:c.Name.value}),(0,va.jsx)("span",{className:"absolute bottom-0 left-1/2 h-[2px] bg-black transform -translate-x-1/2 transition-all duration-[400ms] w-0 group-hover:w-full"})]},e.id)})})}),(0,va.jsxs)("div",{className:"flex items-center space-x-[10px] cursor-pointer",children:[(null===(y=ev.fields)||void 0===y?void 0:null===(w=y.OurHousesTitle)||void 0===w?void 0:w.value)&&(0,va.jsx)("div",{className:"border-b-[2px] font-bold text-[16px] leading-none pb-[2px] uppercase",children:null===(C=ev.fields)||void 0===C?void 0:null===(E=C.OurHousesTitle)||void 0===E?void 0:E.value}),(0,va.jsxs)("div",{className:"h-[20px]",children:[(0,va.jsx)("span",{className:"bg-amber-50 block translate-y-[8px] h-[2px] w-[12px] rounded-sm"}),(0,va.jsx)("span",{className:"bg-amber-50 block transition-all duration-500 ease-linear h-[2px] w-[12px] rounded-sm my-[4px] ".concat(eN?"transform translate-y-[2px]":"rotate-90 translate-y-[2px]")})]})]})]})]})]}),(0,va.jsxs)("div",{className:"w-full md:w-[450px] flex flex-col md:justify-center items-center relative bg-cover",style:{backgroundImage:"url(".concat(null===(I=ev.fields)||void 0===I?void 0:null===(L=I.RightImage)||void 0===L?void 0:null===(O=L.value)||void 0===O?void 0:O.src,")")},children:[(0,va.jsxs)("div",{className:"md:hidden mb-[28px] flex w-full h-[57px] items-center justify-between pl-[20px] pr-[17px] text-white absolute top-0",children:[(0,va.jsx)("div",{className:"text-[14px] font-bold leading-none uppercase",children:eu?(0,va.jsx)("a",{href:em,children:null===(_=ev.fields)||void 0===_?void 0:null===(F=_.MemberShipTitle)||void 0===F?void 0:F.value}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{onClick:()=>{ex()},children:null===(R=ev.fields)||void 0===R?void 0:null===(M=R.LoginLinkTitle)||void 0===M?void 0:M.value}),(0,va.jsx)("span",{children:"\xa0/\xa0"}),(null===(A=ev.fields)||void 0===A?void 0:null===(P=A.SignupLinkTitle)||void 0===P?void 0:P.value)&&(0,va.jsxs)(uv,{href:null===(V=ev.fields)||void 0===V?void 0:null===(B=V.SignupLink)||void 0===B?void 0:null===(D=B.value)||void 0===D?void 0:D.href,children:[" ",null===(H=ev.fields)||void 0===H?void 0:null===(W=H.SignupLinkTitle)||void 0===W?void 0:W.value]})]})}),(0,va.jsxs)("div",{className:"relative flex items-center justify-end h-[57px] overflow-hidden group",style:{width:"".concat(eC,"px")},children:[(0,va.jsxs)("svg",{viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"cursor-pointer h-[25px] md:hidden transition-all duration-300 transform group-hover:-translate-x-full group-hover:opacity-0",children:[(0,va.jsx)("circle",{cx:"12.5",cy:"12.5",r:"11.5",stroke:"white",strokeWidth:"2"}),(0,va.jsx)("path",{d:"M17.3331 12.5C17.3331 15.8393 16.6998 18.8139 15.7188 20.916C14.7 23.0991 13.4915 23.9998 12.5001 24C11.5086 24 10.3002 23.0993 9.28131 20.916C8.3003 18.8138 7.66608 15.8393 7.66608 12.5C7.66608 9.16065 8.3003 6.18616 9.28131 4.08398C10.3002 1.9007 11.5086 1 12.5001 1C13.4915 1.0002 14.7 1.90085 15.7188 4.08398C16.6998 6.18615 17.3331 9.16072 17.3331 12.5Z",stroke:"white",strokeWidth:"2"}),(0,va.jsx)("line",{x1:"1.66626",y1:"12.3331",x2:"24.1663",y2:"12.3331",stroke:"white",strokeWidth:"2"})]}),(null===(G=ev.fields)||void 0===G?void 0:G.Language.length)>0&&(0,va.jsx)("div",{ref:ef,className:"lang-box whitespace-nowrap absolute flex items-center space-x-[15px] transition-all duration-300 transform translate-x-full opacity-0 group-hover:translate-x-0 group-hover:opacity-100",children:ev.fields.Language.map((e,l)=>{let i="Languages/"+e.name;
1return(0,va.jsx)("a",{href:"#","data-lang":e.name.toLocaleString(),className:"text-[15px] font-bold cursor-pointer",children:ep(i)},l)})})]})]}),(null===(q=ev.fields)||void 0===q?void 0:null===(z=q.MenuList)||void 0===z?void 0:null===(U=z.fields)||void 0===U?void 0:U.Item.length)>0&&(0,va.jsx)("div",{className:"h-full flex flex-col justify-center",children:(0,va.jsxs)("ul",{className:"text-white leading-none flex flex-col justify-center items-center md:font-semibold",children:[null===(K=ev.fields)||void 0===K?void 0:null===(Y=K.MenuList)||void 0===Y?void 0:null===(Q=Y.fields)||void 0===Q?void 0:Q.Item.map(e=>{var l,i,s,n,a,d;return(0,va.jsx)("li",{className:"cursor-pointer text-[18px] md:text-[20px] leading-none relative group h-[40px] md:h-[42px]",onMouseOver:()=>eL(e),onMouseLeave:()=>eI(e),children:(0,va.jsxs)("div",{className:"mt-[20px] md:mt-[25px]",children:[(0,va.jsx)(uv,{href:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Link)||void 0===l?void 0:l.value.href,target:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:s.value.target,className:vP("block font-semibold uppercase ".concat(e_[ej])),children:null===(d=e.fields)||void 0===d?void 0:null===(a=d.LinkTitle)||void 0===a?void 0:a.value}),(0,va.jsx)("span",{className:"absolute -bottom-[2px] left-1/2 h-[2px] bg-white transform -translate-x-1/2 transition-all duration-500 w-0 group-hover:w-full"})]})},e.id)}),(null===(J=ev.fields)||void 0===J?void 0:null===(Z=J.UpperHouseLinkTitle)||void 0===Z?void 0:Z.value)&&(0,va.jsx)(uv,{href:null===(el=ev.fields)||void 0===el?void 0:null===(ee=el.UpperHouseLink)||void 0===ee?void 0:null===(X=ee.value)||void 0===X?void 0:X.href,target:null===(en=ev.fields)||void 0===en?void 0:null===(es=en.UpperHouseLink)||void 0===es?void 0:null===(ei=es.value)||void 0===ei?void 0:ei.target,className:"md:hidden font-bold text-[14px] leading-[14px] border-b-[2px] mt-[20px] uppercase",children:null===(ed=ev.fields)||void 0===ed?void 0:null===(ea=ed.UpperHouseLinkTitle)||void 0===ea?void 0:ea.value})]})}),(0,va.jsxs)("div",{className:"md:hidden text-[14px] text-black bg-white w-full flex flex-col pl-[20px] pr-[20px] absolute transition-all duration-300 ease-linear ".concat(ek?"h-full top-[57px]":"h-[53px] top-[calc(100%-53px)]"),children:[(0,va.jsxs)("div",{className:"flex items-center justify-between h-[53px]",onClick:()=>{ew(!ek)},children:[(null===(eo=ev.fields)||void 0===eo?void 0:null===(et=eo.OurHousesTitle)||void 0===et?void 0:et.value)&&(0,va.jsx)("div",{className:"font-bold leading-none",children:null===(ec=ev.fields)||void 0===ec?void 0:null===(er=ec.OurHousesTitle)||void 0===er?void 0:er.value}),(0,va.jsx)("svg",{className:"h-[20px] ".concat(ek?"hidden":""),viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6821",children:(0,va.jsx)("path",{d:"M576 64H448v384H64v128h384v384h128V576h384V448H576z",fill:"#262626","p-id":"6822"})}),(0,va.jsx)("svg",{className:"h-[20px] ".concat(ek?"":"hidden"),viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6823",children:(0,va.jsx)("path",{d:"M170.666667 469.333333h682.666666v85.333334H170.666667z",fill:"#000001","p-id":"6824"})})]}),ev.fields.Hotels.length>0&&(0,va.jsx)("ul",{className:"text-[18px] leading-none mt-[20px] flex flex-col space-y-[20px] ".concat(ek?"":"hidden"),children:ev.fields.Hotels.map(e=>{var l,i,s,n,a,d;return(0,va.jsx)("li",{className:"h-[20px] uppercase",children:(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Link)||void 0===l?void 0:l.value.href)?(0,va.jsx)(uv,{href:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:s.value.href,className:vP("font-semibold ".concat(e_[ej])),children:null===(a=e.fields)||void 0===a?void 0:a.Name.value}):(0,va.jsx)("span",{className:vP("font-semibold cursor-pointer ".concat(e_[ej])),children:null===(d=e.fields)||void 0===d?void 0:d.Name.value})},e.id)})})]})]})]})},Ci=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P;let{t:A,locale:D}=(0,vT.QT)(),B=(0,vd.useRef)(null),V=D(),{isLogged:W}=(0,yW.v9)(e=>e.userProfileSlice),[H,G]=(0,vd.useState)(!1),[U,z]=(0,vd.useState)(!1),[q,Q]=(0,vd.useState)("0px"),[Y,K]=(0,vd.useState)("0px"),[Z,J]=(0,vd.useState)("0px"),[X,ee]=(0,vd.useState)(0),el=(0,vS.at)(gZ.tr.SIGN_IN_CALLBACK,D()),ei=()=>{G(!H),U&&es()},es=()=>{z(!U),H&&ei()},en=()=>{B.current&&ee(B.current.getBoundingClientRect().width)},ea=()=>{(0,yI.sendGTMEvent)({event:"login_signip_interact",login_or_signup:"login",step_number:0,step_name:"pre-login",intent:"topnav login cta"}),(0,yP.signIn)("azureb2c",{callbackUrl:el,ui_locales:gZ.OE[D()]})};return(0,vd.useEffect)(()=>{let e=location.pathname.concat(location.search);(null==B?void 0:B.current)&&B.current.querySelectorAll("a[data-lang]").forEach(l=>{let i=l.dataset.lang;i&&(l.href=(0,vS.KJ)(e,V,i))})},[V]),(0,vd.useEffect)(()=>
1{if(en(),H){var e;let l=(null===(e=document.querySelector("nav"))||void 0===e?void 0:e.offsetHeight)||0,i="calc(100dvh - ".concat(l,"px - ").concat(10,"px - 10px)");K(i),J(i)}else K("0px");U?Q("713px"):Q("0px")}),(0,vd.useEffect)(()=>{let e=e=>{(H||U)&&(e.preventDefault(),e.stopPropagation())};return H||U?(window.addEventListener("wheel",e,{passive:!1}),window.addEventListener("touchmove",e,{passive:!1})):(window.removeEventListener("wheel",e),window.removeEventListener("touchmove",e)),()=>{window.removeEventListener("wheel",e),window.removeEventListener("touchmove",e)}},[H,U]),(0,va.jsx)(va.Fragment,{children:(null==e?void 0:null===(l=e.rendering)||void 0===l?void 0:l.dataSource)?(0,va.jsxs)("header",{children:[(0,va.jsx)("div",{className:"fixed inset-0 transition-all duration-500 z-30 backdrop-blur-[20px]\n ".concat(H||U?"opacity-100 backdrop-blur-sm bg-white/50":"opacity-0 backdrop-blur-none bg-transparent pointer-events-none")}),(0,va.jsxs)("nav",{className:"shadow-md fixed top-[10px] left-[10px] right-[10px] h-[60px] z-40 text-[15px]",children:[(0,va.jsxs)("div",{className:"bg-white/80 flex items-center justify-between h-full pl-[10px] md:pl-[20px] backdrop-blur-[15px]",children:[(0,va.jsxs)("div",{className:"flex items-center justify-center h-full gap-[4px]",children:[(null===(n=e.fields)||void 0===n?void 0:null===(s=n.Logo)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src)&&(0,va.jsx)(uv,{href:null===(t=e.fields)||void 0===t?void 0:null===(d=t.LogoLink)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href,target:null===(c=e.fields)||void 0===c?void 0:null===(r=c.LogoLink)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.target,className:"hidden md:block",children:(0,va.jsx)("img",{src:e.fields.Logo.value.src,className:"cursor-pointer h-[30px]"})}),(null===(m=e.fields)||void 0===m?void 0:null===(u=m.MobileLogo)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src)&&(0,va.jsx)(uv,{href:null===(h=e.fields)||void 0===h?void 0:null===(p=h.LogoLink)||void 0===p?void 0:null===(x=p.value)||void 0===x?void 0:x.href,className:"md:hidden",children:(0,va.jsx)("img",{src:e.fields.MobileLogo.value.src,className:"h-[40px] cursor-pointer"})})]}),(0,va.jsxs)("div",{className:"flex items-center h-full space-x-[20px] md:space-x-[40px]",children:[(0,va.jsx)("div",{className:"hidden md:block",children:(0,va.jsxs)("div",{className:"relative flex items-center justify-end h-[24px] overflow-hidden group",style:{width:"".concat(X,"px")},children:[(0,va.jsxs)("svg",{viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-[24px] transition-all duration-300 transform cursor-pointer group-hover:-translate-x-full group-hover:opacity-0",children:[(0,va.jsx)("circle",{cx:"12.5",cy:"12.5",r:"11.5",stroke:"black",strokeWidth:"2"}),(0,va.jsx)("path",{d:"M17.3331 12.5C17.3331 15.8393 16.6998 18.8139 15.7188 20.916C14.7 23.0991 13.4915 23.9998 12.5001 24C11.5086 24 10.3002 23.0993 9.28131 20.916C8.3003 18.8138 7.66608 15.8393 7.66608 12.5C7.66608 9.16065 8.3003 6.18616 9.28131 4.08398C10.3002 1.9007 11.5086 1 12.5001 1C13.4915 1.0002 14.7 1.90085 15.7188 4.08398C16.6998 6.18615 17.3331 9.16072 17.3331 12.5Z",stroke:"black",strokeWidth:"2"}),(0,va.jsx)("line",{x1:"1.66626",y1:"12.3331",x2:"24.1663",y2:"12.3331",stroke:"black",strokeWidth:"2"})]}),(null===(f=e.fields)||void 0===f?void 0:f.Language.length)>0&&(0,va.jsx)("div",{ref:B,className:"lang-box whitespace-nowrap absolute flex items-center space-x-[15px] transition-all duration-300 transform translate-x-full opacity-0 group-hover:translate-x-0 group-hover:opacity-100",children:e.fields.Language.map((e,l)=>{let i="Languages/"+e.name;return(0,va.jsx)("a",{href:"#","data-lang":e.name.toLocaleString(),className:"text-[15px] font-bold cursor-pointer",children:A(i)},l)})})]})}),(0,va.jsx)("div",{className:vP("hidden font-semibold leading-none md:block uppercase ".concat({en:"","zh-HK":"font-bold","zh-CN":"font-bold"}[V])),children:W?(0,va.jsx)("a",{href:el,children:null===(j=e.fields)||void 0===j?void 0:null===(g=j.MemberShipTitle)||void 0===g?void 0:g.value}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"cursor-pointer",onClick:()=>{ea()},children:null===(b=e.fields)||void 0===b?void 0:null===(N=b.LoginLinkTitle)||void 0===N?void 0:N.value}),(0,va.jsx)("span",{children:"\xa0/\xa0"}),(null===(S=e.fields)||void 0===S?void 0:null===(T=S.SignupLinkTitle)||void 0===T?void 0:T.value)&&(0,va.jsxs)(uv,{onClick:()=>{(0,yI.sendGTMEvent)({event:"login_signip_interact",login_or_signup:"signup",step_number:0,step_name:"pre-login",intent:"topnav signup cta"})},href:null===(y=e.fields)||void 0===y?void 0:null===(w=y.SignupLink)||void 0===w?void 0:null===(k=w.value)||void 0===k?void 0:k.href,target:null===(O=e.fields)||void 0===O?void 0:null===(C=O.SignupLink)||void 0===C?void 0:null===(E=C.value)||void 0===E?void 0:E.target,children:[" ",null===(I=e.fields)||void 0===I?void 0:null===(L=I.SignupLinkTitle)||void 0===L?void 0:L.value]})]})}),(null===(_=e.fields)||void 0===_?void 0:null===(F=_.BookNowTitle)||void 0===F?void 0:F.value)&&(0,va.jsx)("div",{className:vP("text-[12px] md:text-[15px] leading-none cursor-pointer font-semibold uppercase ".concat(U?"text-[#a6a6a6]":""," ").concat({en:"","zh-HK":"text-[14px] leading-[14px] font-bold","zh-CN":"text-[14px] leading-[14px] font-bold"}[V])),onClick:es,children:null===(M=e.fields)||void 0===M?void 0:M.BookNowTitle.value}),(0,va.jsx)("div",{className:"w-[60px] md:w-[73px] h-full flex items-center justify-center cursor-pointer",style:{backgroundColor:"".concat(null===(P=e.fields)||void 0===P?void 0:null===(R=P.Color)||void 0===R?void 0:R.value)},onClick:ei,children:(0,va.jsxs)("button",{className:"flex flex-col items-end justify-center w-[27px] cursor-pointer",children:[(0,va.jsx)("span",{className:"bg-amber-50 block transition-all duration-500 ease-linear h-[3px] w-[27px] rounded-sm ".concat(H?"rotate-45 translate-y-[7px]":"")}),(0,va.jsx)("span",{className:"bg-amber-50 block transition-all duration-500 ease-linear h-[3px] w-[27px] rounded-sm my-[4px] ".concat(H?"transform scale-x-0 opacity-0":"transform scale-x-100 opacity-100")}),(0,va.jsx)("span",{className:"bg-amber-50 block transition-all duration-500 ease-linear h-[3px] w-[21px] rounded-sm ".concat(H?"-rotate-45 -translate-y-[7px] w-[27px]":"")})]})})]})]}),(0,va.jsx)("div",{className:"transition-all duration-500 ease-linear overflow-hidden w-full md:w-[450px] absolute right-0 ".concat(U?"z-50":""),style:{height:q},children:(0,va.jsx)(Ce,{props:e,onToggleBookMenu:es})}),(0,va.jsx)("div",{className:"transition-all duration-[800ms] ease-out overflow-hidden w-full absolute ".concat(H?"z-50":""),style:{height:Y},children:(0,va.jsx)("div",{className:"flex",style:{height:Z},children:(0,va.jsx)(Cl,{props:e,isLogged:W,loginUrl:el,onLogin:ea})})})]})]}):(0,va.jsx)(va.Fragment,{})})},Cs=e=>(0,va.jsxs)("div",{className:"tw-off page page--guest-preference",children:[(0,va.jsx)("div",{className:"hero hero--hHeight",children:(0,va.jsx)(vt.V,{name:"toh-general-page-banner",rendering:e.rendering})}),(0,va.jsxs)("div",{className:"page--container",children:[(0,va.jsx)(vt.V,{name:"toh-form-introduction",rendering:e.rendering}),(0,va.jsxs)("div",{className:"post",children:[(0,va.jsx)("div",{className:"contact-form--wrapper",children:(0,va.jsx)(vt.V,{name:"toh-forms",rendering:e.rendering})}),(0,va.jsxs)("div",{className:"toh-guest-preference-forms-footer-img",children:[(0,va.jsx)(vt.V,{name:"toh-forms-footer-left",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-forms-footer-right",rendering:e.rendering})]}),(0,va.jsx)("div",{className:"toh-guest-preference-forms-footer-text",children:(0,va.jsx)(vt.V,{name:"toh-contact-info",rendering:e.rendering})})]}),(0,va.jsx)(vt.V,{name:"toh-form-footer",rendering:e.rendering})]})]}),Cn=e=>(0,va.jsxs)("div",{className:"tw-off page page--aNd page--container",children:[(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-ArticleIndex",rendering:e.rendering})]}),Ca=e=>(0,va.jsxs)("div",{className:"tw-off page page--book-a-transfer",children:[(0,va.jsx)("div",{className:"hero hero--hHeight",children:(0,va.jsx)(vt.V,{name:"toh-general-page-banner",rendering:e.rendering})}),(0,va.jsx)("div",{className:"page--container",children:(0,va.jsx)("div",{className:"p-book-a-transfer",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-12 col-lg-12 order-first order-lg-first ",children:(0,va.jsx)("div",{className:"mb-100 module-wrapper",children:(0,va.jsxs)("div",{className:"inquiry-wrapper",children:[(0,va.jsx)(vt.V,{name:"toh-book-a-transfer-introduction",rendering:e.rendering}),(0,va.jsxs)("div",{className:"contact-form",children:[(0,va.jsx)(vt.V,{name:"toh-form-selection",rendering:e.rendering}),(0,va.jsx)("div",{className:"contact-form--wrapper",children:(0,va.jsx)(vt.V,{name:"toh-forms",rendering:e.rendering})})]})]})})})})})})]}),Cd=e=>(0,va.jsx)("div",{className:"tw-off nbh-list mb-100 module-wrapper",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)(vt.V,{name:"toh-contact-info-col1",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-contact-info-col2",rendering:e.rendering})]})}),Ct=e=>{var l,i,s;let{t:n,locale:a}=(0,vT.QT)();return(0,va.jsxs)("div",{className:"tw-off page page--contact",children:[(0,va.jsx)("div",{className:"hero hero--hHeight",children:(0,va.jsx)(vt.V,{name:"toh-general-page-banner",rendering:e.rendering})}),(0,va.jsx)("div",{className:"page--container",children:(0,va.jsxs)("div",{className:"p-40",children:[(0,va.jsx)("div",{className:"location mb-100 hero-module fadeUp",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12 col-lg-6 order-last order-lg-first",children:(0,va.jsxs)("div",{className:"pr-20",children:[(0,va.jsx)("h1",{children:n(mT.W.DICTIONARY.LOCATION)||"Location"}),(0,va.jsxs)("div",{className:"location--info",children:[(0,va.jsx)("div",{className:"location--info-item",children:(0,va.jsx)("div",{className:"itemwrap",children:(0,va.jsx)(vt.V,{name:"toh-organization-address",rendering:e.rendering})})}),(0,va.jsxs)("div",{className:"location--info-item",children:[(0,va.jsx)("div",{className:"itemwrap",children:(0,va.jsx)(vt.V,{name:"toh-organization-phone",rendering:e.rendering})}),(0,va.jsx)("div",{className:"itemwrap",children:(0,va.jsx)(vt.V,{name:"toh-organization-fax",rendering:e.rendering})})]}),(0,va.jsx)("div",{className:"location--info-item",children:(0,va.jsxs)("div",{className:"itemwrap",children:[(0,va.jsx)("span",{className:"icon-envelope"}),(0,va.jsx)(vt.V,{name:"toh-organization-email",rendering:e.rendering})]})}),(0,va.jsx)("div",{className:"location__btn",children:(0,va.jsx)(vt.V,{name:"toh-add-to-contact-button",rendering:e.rendering})}),(0,va.jsx)("div",{className:"location__btn",children:(0,va.jsx)(vt.V,{name:"toh-download-brochure-button",rendering:e.rendering})})]})]})}),(0,va.jsx)("div",{className:"col-12 col-lg-6 order-first order-lg-last",children:(0,va.jsx)("div",{className:"location--map pl-20",children:(0,va.jsxs)("div",{className:"map map--tab",children:[(0,va.jsx)("div",{className:"tab-buttons map--item-wrap",children:"zh-cn"==a.name?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"map--btn","data-target":"GaodeMap",children:n(mT.W.DICTIONARY.GOADEMAP)||"GAODE MAP"}),(0,va.jsx)("span",{className:"map--btn","data-target":"googleMap",children:n(mT.W.DICTIONARY.GOOGLEMAP)||"GOOGLE EMAP"})]}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{className:"map--btn","data-target":"googleMap",children:n(mT.W.DICTIONARY.GOOGLEMAP)||"GOOGLE EMAP"}),(0,va.jsx)("span",{className:"map--btn","data-target":"GaodeMap",children:n(mT.W.DICTIONARY.GOADEMAP)||"GOADE MAP"})]})}),(0,va.jsx)(vt.V,{name:"toh-map",rendering:e.rendering})]})})})]})}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12 col-lg-6 order-last order-lg-first ",children:(0,va.jsx)("div",{className:"mb-100 pr-20 module-wrapper",children:(0,va.jsxs)("div",{className:"inquiry-wrapper",children:[(0,va.jsx)("h1",{children:n(mT.W.DICTIONARY.ASKQUESTIONS)||"Get in Touch"}),(0,va.jsx)("p",{dangerouslySetInnerHTML:{__html:null===(s=(0,vr.z)().sitecoreContext.route)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Content)||void 0===l?void 0:l.value}}),(0,va.jsxs)("p",{children:[(0,va.jsx)("span",{className:"remark",children:"*"}),n(mT.W.DICTIONARY.REQUIRED)||"Required"]}),(0,va.jsxs)("div",{className:"contact-form ",children:[(0,va.jsx)(vt.V,{name:"toh-form-selection",rendering:e.rendering}),(0,va.jsx)("div",{className:"contact-form--wrapper",children:(0,va.jsx)(vt.V,{name:"toh-forms",rendering:e.rendering})})]})]})})}),(0,va.jsx)("div",{className:"col-12 col-lg-6 order-first order-lg-last",children:(0,va.jsx)(vt.V,{name:"toh-gettinghere-content",rendering:e.rendering})})]}),(0,va.jsx)(vt.V,{name:"toh-contact-info",rendering:e.rendering})]})})]})},Co=e=>(0,va.jsxs)("div",{className:"tw-off page page--fnb-detail page--container",children:[(0,va.jsx)(vt.V,{name:"toh-page-hero",rendering:e.rendering}),(0,va.jsx)("div",{className:"body",children:(0,va.jsxs)("div",{className:"p-40",children:[(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12 col-lg-6",children:(0,va.jsx)(vt.V,{name:"toh-column-content-info",rendering:e.rendering})}),(0,va.jsx)("div",{className:"col-12 col-lg-6",children:(0,va.jsx)(vt.V,{name:"toh-column-content-menu",rendering:e.rendering})})]}),(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12 col-md-6",children:(0,va.jsx)(vt.V,{name:"toh-column-content",rendering:e.rendering})}),(0,va.jsx)("div",{className:"col-12 col-md-6",children:(0,va.jsx)(vt.V,{name:"toh-column-offer-teaser",rendering:e.rendering})})]}),(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering})]})})]}),Cr=e=>(0,va.jsxs)("div",{className:"tw-off page page--fnb page--container",children:[(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-offer-detail-same-type",rendering:e.rendering})]}),Cc=e=>(0,va.jsxs)("div",{className:"tw-off page page--404",children:[(0,va.jsx)(vt.V,{name:"toh-error-page-banner",rendering:e.rendering}),(0,va.jsx)("div",{className:"container",children:(0,va.jsx)(vt.V,{name:"toh-error-page-intro",rendering:e.rendering})})]}),Cv=e=>(0,va.jsxs)("div",{className:"tw-off page page--explore page--container",children:[(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-ArticleIndex",rendering:e.rendering})]}),Cu=e=>{let{t:l}=(0,vT.QT)();return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"tw-off footer-top",children:(0,va.jsxs)("div",{className:"container",children:[(0,va.jsx)("h5",{children:l(mT.W.DICTIONARY.FINDUS)}),(0,va.jsx)("p",{children:(0,va.jsx)(vt.V,{name:"toh-footer-organization-address",rendering:e.rendering})}),(0,va.jsx)("p",{children:(0,va.jsx)(vt.V,{name:"toh-footer-organization-phone",rendering:e.rendering})}),(0,va.jsx)(vt.V,{name:"toh-footer-contact",rendering:e.rendering})]})}),(0,va.jsx)("footer",{className:"tw-off footer footer--brand",children:(0,va.jsxs)("div",{className:"container",children:[(0,va.jsxs)("div",{className:"footer__logos",children:[(0,va.jsxs)("div",{className:"logo-gp logo-gp--brand",children:[(0,va.jsx)("div",{className:"d-none d-md-inline-block logo-gp__img logo-gp__img--thc",children:(0,va.jsx)(vt.V,{name:"toh-footer-logo",rendering:e.rendering})}),(0,va.jsx)("div",{className:"d-inline-block d-md-none logo-gp__img logo-gp__img--thc-m",children:(0,va.jsx)(vt.V,{name:"toh-footer-logo-mobile",rendering:e.rendering})})]}),(0,va.jsx)("div",{className:"logo-gp logo-gp--property",children:(0,va.jsx)(vt.V,{name:"toh-footer-property-logo",rendering:e.rendering})})]}),(0,va.jsx)(vt.V,{name:"toh-footer-keep-in-touch",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-footer-social",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-footer-partner",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-footer-menu",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-footer-sitemap",rendering:e.rendering}),(0,va.jsx)("div",{className:"logo-swire",children:(0,va.jsx)(vt.V,{name:"toh-footer-corp-link",rendering:e.rendering})}),(0,va.jsx)(vt.V,{name:"toh-copyright",rendering:e.
1rendering})]})})]})},Cm=e=>{let{t:l}=(0,vT.QT)();return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"tw-off footer-top",children:(0,va.jsxs)("div",{className:"container",children:[(0,va.jsx)("h5",{children:l(mT.W.DICTIONARY.FINDUS)||"FIND US"}),(0,va.jsx)("p",{children:(0,va.jsx)(vt.V,{name:"toh-footer-organization-address",rendering:e.rendering})}),(0,va.jsx)("p",{children:(0,va.jsx)(vt.V,{name:"toh-footer-organization-phone",rendering:e.rendering})}),(0,va.jsx)(vt.V,{name:"toh-footer-contact",rendering:e.rendering})]})}),(0,va.jsx)("footer",{className:"tw-off footer footer--brand footer-form",children:(0,va.jsxs)("div",{className:"container",children:[(0,va.jsx)("div",{className:"logo-swire",children:(0,va.jsx)(vt.V,{name:"toh-footer-corp-link",rendering:e.rendering})}),(0,va.jsx)(vt.V,{name:"toh-copyright",rendering:e.rendering})]})})]})},Cx=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"tw-off menu menu--desktop",children:[(0,va.jsx)("div",{className:"bg-color",children:(0,va.jsx)(vt.V,{name:"toh-menu-background-image",rendering:e.rendering})}),(0,va.jsx)("div",{className:"top-placeholder"}),(0,va.jsx)(vt.V,{name:"toh-main-menu-coverimage",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-main-menu",rendering:e.rendering}),(0,va.jsx)("div",{className:"divider-col"}),(0,va.jsxs)("div",{className:"sub-nav",children:[(0,va.jsx)(vt.V,{name:"toh-property-menu-default",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-property-menu-subnav",rendering:e.rendering})]}),(0,va.jsx)(vt.V,{name:"toh-property-menu-bottomnav",rendering:e.rendering})]}),(0,va.jsxs)("div",{className:"tw-off form-head-title-center",children:[(0,va.jsx)(vt.V,{name:"toh-header-logo",rendering:e.rendering}),(0,va.jsx)("h1",{children:(0,va.jsx)(vt.V,{name:"toh-header-title",rendering:e.rendering})}),(0,va.jsx)(vt.V,{name:"toh-language",rendering:e.rendering})]})]}),Cp=e=>(0,va.jsxs)("div",{className:"tw-off page page--kpInTouch",children:[(0,va.jsx)(vt.V,{name:"toh-general-page-banner",rendering:e.rendering}),(0,va.jsx)("div",{className:"body container",children:(0,va.jsx)("div",{className:"body--intro text-center",children:(0,va.jsx)(vt.V,{name:"toh-general-page-detail",rendering:e.rendering})})})]}),Ch=e=>(0,va.jsxs)("div",{className:"tw-off page page--guest-preference",children:[(0,va.jsx)("div",{className:"hero hero--hHeight",children:(0,va.jsx)(vt.V,{name:"toh-general-page-banner",rendering:e.rendering})}),(0,va.jsxs)("div",{className:"page--container",children:[(0,va.jsx)(vt.V,{name:"toh-form-introduction",rendering:e.rendering}),(0,va.jsxs)("div",{className:"post",children:[(0,va.jsx)("div",{className:"contact-form--wrapper",children:(0,va.jsx)(vt.V,{name:"toh-forms",rendering:e.rendering})}),(0,va.jsxs)("div",{className:"toh-guest-preference-forms-footer-img",children:[(0,va.jsx)(vt.V,{name:"toh-forms-footer-left",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-forms-footer-right",rendering:e.rendering})]}),(0,va.jsx)("div",{className:"toh-guest-preference-forms-footer-text",children:(0,va.jsx)(vt.V,{name:"toh-contact-info",rendering:e.rendering})})]}),(0,va.jsx)(vt.V,{name:"toh-form-footer",rendering:e.rendering})]})]}),Cf=e=>(0,va.jsx)("div",{className:"tw-off page page--happen-detail page--container",children:(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering})}),Cg=e=>{let{t:l}=(0,vT.QT)();return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("header",{className:"tw-off header header--desktop",children:[(0,va.jsxs)("div",{className:"header__btn header__btn--l weather-wrapper",children:[(0,va.jsx)("div",{className:"weather-icon",children:(0,va.jsx)("img",{src:"",alt:""})}),(0,va.jsx)("div",{className:"weather-temp",children:(0,va.jsx)("span",{})}),"|",(0,va.jsx)("div",{className:"weather-time",children:(0,va.jsx)("span",{})}),"|",(0,va.jsx)("div",{className:"weather-city",children:(0,va.jsx)("span",{})})]}),(0,va.jsxs)("div",{className:"header-sso",children:[(0,va.jsx)(Eo,{}),(0,va.jsx)(vt.V,{name:"toh-header-book-now",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-login-header",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-logout-header",rendering:e.rendering})]}),(0,va.jsxs)("div",{className:"menu-icon-wrap",children:[(0,va.jsx)("div",{className:"menu-logo",children:(0,va.jsx)(vt.V,{name:"toh-header-menu-logo",rendering:e.rendering})}),(0,va.jsx)("div",{className:"menu-icon",children:(0,va.jsx)("div",{})}),(0,va.jsx)(vt.V,{name:"toh-language",rendering:e.rendering})]}),(0,va.jsx)("div",{className:"thc-logo",children:(0,va.jsx)(vt.V,{name:"toh-header-logo-thc",rendering:e.rendering})})]}),(0,va.jsxs)("div",{className:"tw-off menu menu--desktop",children:[(0,va.jsx)("div",{className:"bg-color",children:(0,va.jsx)(vt.V,{name:"toh-menu-background-image",rendering:e.rendering})}),(0,va.jsx)("div",{className:"top-placeholder"}),(0,va.jsx)(vt.V,{name:"toh-main-menu-coverimage",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-main-menu",rendering:e.rendering}),(0,va.jsx)("div",{className:"divider-col"}),(0,va.jsxs)("div",{className:"sub-nav",children:[(0,va.jsx)(vt.V,{name:"toh-property-menu-default",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-property-menu-subnav",rendering:e.rendering})]}),(0,va.jsx)(vt.V,{name:"toh-property-menu-bottomnav",rendering:e.rendering})]}),(0,va.jsxs)("header",{className:"tw-off header header--mobile",children:[(0,va.jsx)(vt.V,{name:"toh-header-book-now-mobile",rendering:e.rendering}),(0,va.jsxs)("div",{className:"menu-icon-wrap",children:[(0,va.jsx)("div",{className:"menu-logo",children:(0,va.jsx)(vt.V,{name:"toh-header-menu-logo-mobile",rendering:e.rendering})}),(0,va.jsx)("div",{className:"menu-icon",children:(0,va.jsx)("div",{})})]})]}),(0,va.jsxs)("div",{className:"tw-off menu menu--mobile",children:[(0,va.jsx)(vt.V,{name:"toh-menu-background-image-mobile",rendering:e.rendering}),(0,va.jsxs)("div",{className:"top-bar",children:[(0,va.jsxs)("div",{className:"property-selected",children:[l(mT.W.DICTIONARY.EXPERIENCETHEHOUSE),(0,va.jsx)("div",{className:"icon-opt-angle"})]}),(0,va.jsx)(vt.V,{name:"toh-menu-language-mobile",rendering:e.rendering})]}),(0,va.jsx)("div",{className:"property-nav-wrap",children:(0,va.jsx)(vt.V,{name:"toh-property-menu-default-mobile",rendering:e.rendering})}),(0,va.jsxs)("div",{className:"nav-back-btn",children:[(0,va.jsx)("div",{className:"icon-arrow"}),l(mT.W.DICTIONARY.BACK)]}),(0,va.jsxs)("div",{className:"nav-wrapper",children:[(0,va.jsx)(vt.V,{name:"toh-main-menu-mobile",rendering:e.rendering}),(0,va.jsx)("div",{className:"sub-nav",children:(0,va.jsx)(vt.V,{name:"toh-property-menu-subnav-mobile",rendering:e.rendering})})]}),(0,va.jsx)("div",{className:"keep-in-touch",children:(0,va.jsx)(Er,{})})]}),(0,va.jsx)(vt.V,{name:"toh-header-book-now-widget",rendering:e.rendering}),(0,va.jsx)("div",{className:"tw-off head-title-center",children:(0,va.jsx)("h1",{children:(0,va.jsx)(vt.V,{name:"toh-header-title",rendering:e.rendering})})}),(0,va.jsx)(vt.V,{name:"toh-header-breadcrumb",rendering:e.rendering})]})},Cj=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"preload"}),(0,va.jsxs)("div",{className:"tw-off open-animation",children:[(0,va.jsx)(vt.V,{name:"toh-h
1omepage-opening-logo-5000",rendering:e.rendering}),(0,va.jsx)("div",{className:"processbar"})]}),(0,va.jsxs)("div",{className:"tw-off page page--home page--toh-home",children:[(0,va.jsx)("section",{className:"home-hero home-module home-0",id:"home-hero",children:(0,va.jsxs)("div",{className:"hero-wrapper",children:[(0,va.jsx)(vt.V,{name:"toh-homepage-hero",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-homepage-booking",rendering:e.rendering})]})}),(0,va.jsx)(vt.V,{name:"toh-homepage-sections",rendering:e.rendering})]})]}),CN=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(vt.V,{name:"toh-general-page-banner",rendering:e.rendering}),(0,va.jsx)("div",{className:"tw-off page page--nebh page--container post ",children:(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering})})]}),Cb=e=>(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)("div",{className:"tw-off page page--container page--offer-details",children:[(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-offer-detail-same-type",rendering:e.rendering})]})}),CT=e=>(0,va.jsxs)("div",{className:"tw-off page page--offer page--container",children:[(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-offer-filter",rendering:e.rendering})]}),CS=e=>(0,va.jsxs)("div",{className:"tw-off page page--house page--container",children:[(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-OurAward",rendering:e.rendering})]}),Ck=e=>(0,va.jsxs)("div",{className:"tw-off page page--ppa",children:[(0,va.jsx)("div",{className:"hero hero--hHeight",children:(0,va.jsx)(vt.V,{name:"toh-general-page-banner",rendering:e.rendering})}),(0,va.jsxs)("div",{className:"page--container",children:[(0,va.jsx)(vt.V,{name:"toh-form-introduction",rendering:e.rendering}),(0,va.jsx)("div",{className:"post",children:(0,va.jsx)("div",{className:"contact-form--wrapper",children:(0,va.jsx)(vt.V,{name:"toh-forms",rendering:e.rendering})})}),(0,va.jsx)(vt.V,{name:"toh-form-footer",rendering:e.rendering})]})]}),Cw=e=>(0,va.jsxs)("div",{className:"tw-off page page--partner ",children:[(0,va.jsx)(vt.V,{name:"toh-general-page-banner",rendering:e.rendering}),(0,va.jsx)("div",{className:"body body--white body--center",children:(0,va.jsxs)("div",{className:"page--container",children:[(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-articleIndex-no-grouping",rendering:e.rendering})]})})]}),Cy=e=>(0,va.jsx)("div",{className:"tw-off page page--people page--container",children:(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering})}),CE=e=>(0,va.jsxs)("div",{className:"tw-off page page--pe page--pe-detail page--container",children:[(0,va.jsx)(vt.V,{name:"toh-page-hero",rendering:e.rendering}),(0,va.jsx)("div",{className:"body",children:(0,va.jsxs)("div",{className:"p-40",children:[(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering}),(0,va.jsx)("div",{className:"btm-contact",children:(0,va.jsx)(vt.V,{name:"toh-page-content-contact",rendering:e.rendering})}),(0,va.jsx)(vt.V,{name:"toh-page-content-bottom",rendering:e.rendering})]})})]}),CC=e=>(0,va.jsxs)("div",{className:"tw-off page page--peI page--pe page--container",children:[(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering}),(0,va.jsx)("div",{className:"btm-contact",children:(0,va.jsx)(vt.V,{name:"toh-page-content-contact",rendering:e.rendering})})]}),CO=e=>(0,va.jsxs)("div",{className:"tw-off page page--room page--room-detail page--container",children:[(0,va.jsx)(vt.V,{name:"toh-page-hero",rendering:e.rendering}),(0,va.jsxs)("div",{className:"body no_taiwind",children:[(0,va.jsx)("div",{className:"p-40",children:(0,va.jsxs)("div",{className:"row",children:[(0,va.jsx)("div",{className:"col-12 col-md-6 ",children:(0,va.jsx)(vt.V,{name:"toh-column-content",rendering:e.rendering})}),(0,va.jsx)("div",{className:"col-12 col-md-6 ",children:(0,va.jsx)(vt.V,{name:"toh-column-quote",rendering:e.rendering})}),(0,va.jsx)("div",{className:"col-12 col-md-6 ",children:(0,va.jsx)(vt.V,{name:"toh-column-offer-teaser",rendering:e.rendering})})]})}),(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering})]})]}),CL=e=>(0,va.jsxs)("div",{className:"tw-off page page--stay page--container",children:[(0,va.jsx)(vt.V,{name:"toh-roomlanding-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-offer-detail-same-type",rendering:e.rendering})]}),CI=e=>(0,va.jsx)("div",{className:"tw-off page page--sust page--container",children:(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering})}),CF=e=>(0,va.jsxs)("div",{className:"tw-off page page--room page--room-detail page--container",children:[(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-venue",rendering:e.rendering})]}),C_=e=>(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(vt.V,{name:"toh-heroFullBackgroun
1d",rendering:e.rendering}),(0,va.jsx)("div",{className:"tw-off body body--toh body--heroFull hero--full__gradient ",children:(0,va.jsxs)("div",{className:"page--container page--pe page--pe-details",children:[(0,va.jsx)(vt.V,{name:"toh-heroFullIntro",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-heroFullBody",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering}),(0,va.jsx)("div",{className:"btm-contact",children:(0,va.jsx)(vt.V,{name:"toh-page-content-contact",rendering:e.rendering})})]})})]}),CM=e=>(0,va.jsxs)("div",{className:"tw-off page page--wellness-detail page--container",children:[(0,va.jsx)(vt.V,{name:"toh-page-hero",rendering:e.rendering}),(0,va.jsx)("div",{className:"body",children:(0,va.jsx)("div",{className:"p-40",children:(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering})})})]}),CR=e=>(0,va.jsxs)("div",{className:"tw-off page page--wellness page--container",children:[(0,va.jsx)(vt.V,{name:"toh-page-content",rendering:e.rendering}),(0,va.jsx)(vt.V,{name:"toh-articleIndex-no-grouping",rendering:e.rendering})]}),CP=e=>{var l,i,s,n;let a=[];return(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.UnsubscriptionFooterLogos)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Logos)||void 0===l?void 0:l.length)&&(a=e.fields.UnsubscriptionFooterLogos.fields.Logos.map((e,l)=>{var i,s,n;return(0,va.jsx)("img",{src:null===(n=e.fields)||void 0===n?void 0:null===(s=n.LogoDesktop)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src},l)})),(0,va.jsx)(va.Fragment,{children:a})},CA=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;let{formOption:x,optIn:p,heavyHitter:h}=e;if((null==x?void 0:null===(i=x.fields)||void 0===i?void 0:null===(l=i.Value)||void 0===l?void 0:l.value)!="HHOptIn"||!h)return(0,va.jsx)(va.Fragment,{});{let e=null!==(m=null==p?void 0:p[null===(n=x.fields)||void 0===n?void 0:null===(s=n.Value)||void 0===s?void 0:s.value])&&void 0!==m&&m;return(0,va.jsxs)("div",{className:"field",children:[(0,va.jsx)("input",{type:"checkbox",name:"OptinHotels",id:null===(d=x.fields)||void 0===d?void 0:null===(a=d.Value)||void 0===a?void 0:a.value,value:null===(o=x.fields)||void 0===o?void 0:null===(t=o.Value)||void 0===t?void 0:t.value,checked:e}),(0,va.jsx)("label",{className:"checkbox",htmlFor:null===(c=x.fields)||void 0===c?void 0:null===(r=c.Value)||void 0===r?void 0:r.value,children:null===(u=x.fields)||void 0===u?void 0:null===(v=u.Text)||void 0===v?void 0:v.value})]})}},CD=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y;let{t:E}=(0,vT.QT)(),C=(null===(l=e.fields)||void 0===l?void 0:l.IsHeavyHitter)?"true":"false";return(0,va.jsx)("div",{className:"bordered container",children:(0,va.jsx)("div",{className:"narrow row",children:(0,va.jsx)("div",{className:"col",children:(0,va.jsxs)("form",{action:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.ApiUrl,method:"POST",encType:"multipart/form-data",className:"form",noValidate:!0,children:[(0,va.jsx)("input",{type:"hidden",name:"Id",value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Id}),(0,va.jsx)("input",{type:"hidden",name:"Title",value:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Title}),(0,va.jsx)("input",{type:"hidden",name:"Firstname",value:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Firstname}),(0,va.jsx)("input",{type:"hidden",name:"Lastname",value:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Lastname}),(0,va.jsx)("input",{type:"hidden",name:"Email",value:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Email}),(0,va.jsx)("input",{type:"hidden",name:"IsHeavyHitter",value:C}),(0,va.jsx)("input",{type:"hidden",name:"TotalOptinRedirectUrl",value:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.TotalOptinRedirectUrl}),(0,va.jsx)("input",{type:"hidden",name:"TotalOptoutRedirectUrl",value:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:r.TotalOptoutRedirectUrl}),(0,va.jsx)("input",{type:"hidden",name:"PartialOptinoutRedirectUrl",value:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.PartialOptinoutRedirectUrl}),(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",value:null==e?void 0:null===(v=e.fields)||void 0===v?void 0:v.SuccessRedirectUrl}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",value:null==e?void 0:null===(u=e.fields)||void 0===u?void 0:u.FailRedirectUrl}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("input",{type:"text",disabled:!0,className:"input",name:"Title"})})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("input",{type:"text",disabled:!0,className:"input",name:"Firstname"})})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("input",{type:"text",disabled:!0,className:"input",name:"Lastname"})})}),(0,va.jsx)("div",{className:"field",children:(0,va.jsx)("p",{className:"control",children:(0,va.jsx)("input",{type:"text",disabled:!0,className:"input",name:"Email"})})}),(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"c3",children:null==e?void 0:null===(g=e.fields)||void 0===g?void 0:null===(f=g.UnsubscriptionForm)||void 0===f?void 0:null===(h=f.fields)||void 0===h?void 0:null===(p=h.Hotels)||void 0===p?void 0:null===(x=p.fields)||void 0===x?void 0:null===(m=x.Grouping)||void 0===m?void 0:m.map(l=>{var i,s,n,a;let d=null!==(a=null===(i=e.fields)||void 0===i?void 0:i.IsHeavyHitter)&&void 0!==a&&a,t=[];return(null===(n=l.fields)||void 0===n?void 0:null===(s=n.Links)||void 0===s?void 0:s.length)&&(t=l.fields.Links.map((l,i)=>(0,va.jsx)(CA,{formOption:l,optIn:e.fields.OptIn,heavyHitter:d},i))),(0,va.jsx)("div",{className:"col full--mobile",style:{padding:"0 0px"},children:t})})})}),(0,va.jsx)("div",{className:"field",children:"\xa0"}),(0,va.jsxs)("div",{className:"field",children:[(0,va.jsx)("input",{type:"checkbox",name:"unsubscribeAll",className:"unsubscribe-all",id:"unsubscribeAll",value:"unsubscribe_all"}),(0,va.jsx)("label",{className:"checkbox",htmlFor:"unsubscribeAll",children:null===(T=e.fields)||void 0===T?void 0:null===(b=T.UnsubscriptionForm)||void 0===b?void 0:null===(N=b.fields)||void 0===N?void 0:null===(j=N.UnsubscribeAllCheckboxMessage)||void 0===j?void 0:j.value})]}),(0,va.jsx)("div",{className:"field",children:null===(y=e.fields)||void 0===y?void 0:null===(w=y.UnsubscriptionForm)||void 0===w?void 0:null===(k=w.fields)||void 0===k?void 0:null===(S=k.UnsubscriptionBodyBottom)||void 0===S?void 0:S.value}),(0,va.jsx)("div",{className:"field field--button",children:(0,va.jsx)("div",{className:"control",children:(0,va.jsx)("button",{className:"primary clear btn with-icon-after chevron-round right",children:E(gm.L.CommonForm.Update)})})})]})})})})},CB=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x;if(!e.fields)return(0,va.jsx)(va.Fragment,{});let p=[];return null!==(o=null===(n=e.fields)||void 0===n?void 0:null===(s=n.UnsubscriptionForm)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.ShowOptinoutStatus)||void 0===l?void 0:l.value)&&void 0!==o&&o&&(null===(x=e.fields)||void 0===x||null===(m=x.UnsubscriptionForm)||void 0===m||null===(u=m.fields)||void 0===u||null===(v=u.Hotels)||void 0===v||null===(c=v.fields)||void 0===c||null===(r=c.Grouping)||void 0===r||r.forEach(l=>{var i,s;null===(s=l.fields)||void 0===s||null===(i=s.Links)||void 0===i||i.forEac
1h(l=>{var i,s,n,a,d,t;(null===(a=e.fields)||void 0===a?void 0:null===(n=a.OptIn)||void 0===n?void 0:n[null===(s=l.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value])&&p.push((0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("span",{children:null===(t=l.fields)||void 0===t?void 0:null===(d=t.Text)||void 0===d?void 0:d.value}),(0,va.jsx)("br",{})]}))})})),(0,va.jsx)("div",{className:"bordered container",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsxs)("div",{className:"col",children:[(0,va.jsx)(vm.x,{field:null===(t=e.fields)||void 0===t?void 0:null===(d=t.UnsubscriptionForm)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:a.UnsubscriptionSuccessMessage}),(0,va.jsx)("br",{}),p]})})})};var CV=i(81323),CW={src:"https://www.upperhouse.com/_next/static/media/[email protected]"},CH=i(76083);let CG=e=>{var l;let i;let{Latitude:s,Longitude:n,MapZoom:a,GoogleMapApiKey:d,Color:t,className:o}=e,[r,c]=(0,vd.useState)(),v=null!==(l=null==a?void 0:a.value)&&void 0!==l?l:17;return(null==s?void 0:s.value)&&(null==s?void 0:s.value)&&(i={lat:Number(s.value),lng:Number(n.value)}),(0,vd.useEffect)(()=>{let e;let l=()=>{var i,s,n,a,d,t;(null===(n=window)||void 0===n?void 0:null===(s=n.google)||void 0===s?void 0:null===(i=s.maps)||void 0===i?void 0:i.Size)&&(null===(t=window)||void 0===t?void 0:null===(d=t.google)||void 0===d?void 0:null===(a=d.maps)||void 0===a?void 0:a.Point)?c({url:CW.src,size:new google.maps.Size(53,85),scaledSize:new google.maps.Size(26,42),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(13,42)}):e=setTimeout(l,500)};return e=setTimeout(l,500),()=>{clearTimeout(e)}},[]),(0,va.jsx)("div",{className:vP("pt-[262px] lg:pt-[448px] relative",o),"data-map":"GoogleMap",children:(0,va.jsx)(CV.un,{apiKey:null==d?void 0:d.value,children:(0,va.jsx)(CV.D5,{defaultZoom:v,className:"absolute top-0 h-full w-full",defaultCenter:i,zoomControl:!0,mapTypeControl:!0,streetViewControl:!0,rotateControl:!0,fullscreenControl:!0,styles:[{stylers:[{saturation:-100}]},{featureType:"landscape",stylers:[{visibility:"simplified"}]},{featureType:"landscape",elementType:"geometry.fill",stylers:[{color:(null==t?void 0:t.value)||"#c8beaa"}]},{featureType:"poi",stylers:[{visibility:"simplified"}]},{featureType:"poi.medical",stylers:[{visibility:"off"}]},{featureType:"poi.park",stylers:[{color:(null==t?void 0:t.value)||"#c8beaa"},{visibility:"off"}]},{featureType:"poi.school",stylers:[{visibility:"off"}]},{featureType:"poi.sports_complex",stylers:[{visibility:"off"}]},{featureType:"road",stylers:[{color:"#ffffff"},{visibility:"simplified"}]},{featureType:"road.highway",stylers:[{visibility:"simplified"}]}],children:!!r&&(0,va.jsx)(CV.Jx,{position:i,icon:r})})})})},CU=e=>{var l;let{GaodeLatitude:s,GaodeLongitude:n,MapZoom:a,GaodeMapApiKey:d,Color:t,className:o}=e,r=(0,vd.useRef)(null),c=null!==(l=null==a?void 0:a.value)&&void 0!==l?l:17;return(0,vd.useEffect)(()=>{{let e=i(81618);r.current&&e.load({key:(null==d?void 0:d.value)||"103d3163856f28d7bbeddf2b5be3c6f8",version:"1.4.15",plugins:["AMap.ToolBar","AMap.Scale"]}).then(e=>{let l=new e.Map(r.current,{mapStyle:"amap://styles/whitesmoke",zoom:c,center:[Number(null==s?void 0:s.value),Number(null==n?void 0:n.value)],viewMode:"3D"});l.addControl(new e.ToolBar),l.addControl(new e.Scale)}).catch(e=>{console.log(e)})}}),(0,va.jsx)("div",{className:vP("pt-[262px] lg:pt-[448px] relative",o),"data-map":"GaodeMap",children:(0,va.jsx)("div",{className:"absolute top-0 h-full w-full",ref:r,style:{backgroundColor:null==t?void 0:t.value}})})};var Cz=(0,vp.C)()(e=>{var l;let{locale:i,t:s}=(0,vT.QT)(),n=[];return n.push({Key:"googleMap",Label:s(mT.W.DICTIONARY.GOOGLEMAP)||"GOOGLE EMAP",Map:(0,va.jsx)(CG,{...e.fields})}),"zh-cn"===i()?n.unshift({Key:"GaodeMap",Label:s(mT.W.DICTIONARY.GOADEMAP)||"GAODE MAP",Map:(0,va.jsx)(CU,{...e.fields})}):n.push({Key:"GaodeMap",Label:s(mT.W.DICTIONARY.GOADEMAP)||"GAODE MAP",Map:(0,va.jsx)(CU,{...e.fields})}),(0,va.jsxs)("div",{children:[(0,va.jsx)(uf,{variant:"subhead",Text:null===(l=e.fields)||void 0===l?void 0:l.Title,tag:"div"}),(0,va.jsxs)(CH.fC,{defaultValue:n[0].Key,children:[(0,va.jsx)(CH.aV,{"aria-label":"Select map provider",className:"mt-[20px] mb-[10px] lg:mt-[40px] lg:mb-[20px]",children:!!n.length&&n.map((e,l)=>(0,va.jsx)(CH.xz,{value:e.Key,className:vP(l>0&&"ml-[20px]",uh.cta,"after:block after:h-[2px] after:bg-transparent","[&[data-state=active]]:after:bg-uh-gold"),children:e.Label},l))}),(0,va.jsx)("div",{className:"mt-[10px] lg:mt-[20px]",children:!!n.length&&n.map((e,l)=>(0,va.jsx)(CH.VY,{value:e.Key,children:e.Map},l))})]})]})}),Cq=(0,vp.C)()(e=>{var l;let{sitecoreContext:i}=(0,vr.z)(),s=i.pageEditing;return(0,va.jsx)("section",{className:vP("relative [&~div]:relative [&~section]:relative",s&&"[&~code]:relative"),children:(0,va.jsx)("div",{className:"fixed w-full h-screen left-0 top-0",children:(0,va.jsx)(m7,{field:null===(l=e.fields)||void 0===l?void 0:l.Image,className:"w-full h-full object-cover object-bottom"})})})}),CQ=(0,vp.C)()(e=>{var l;return(0,va.jsx)(vW,{children:(0,va.jsx)(m7,{className:"h-[640px] lg:h-[835px] w-full object-cover object-center",field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Image})})}),CY=i(17326),CK=i.n(CY);i(85783);var C$=i(86554),CZ=i.n(C$);let CJ={controlBarVisibility:"never",mute:!0,autoplay:!0,useH5Prism:!0,clickPause:!1},CX=e=>{let{videoStyle:l,playBtnStyle:i,className:s,source:n,id:a,onAliplayerInstance:d,...t}=e;return(0,vd.useEffect)(()=>{let e=new(CK())({...CJ,...t,source:n,id:a},e=>{d&&d(e),e.on("play",()=>{let e=document.querySelector("#".concat(a," .aliplayer-poster"));e&&(e.style.display="none")}),(()=>
1{let l=document.querySelector("#".concat(a," .prism-cover"));l&&(l.style.pointerEvents="auto",l.addEventListener("click",()=>{e&&(e.play(),l.style.display="none")}))})()});return()=>{null==e||e.dispose(),e=null,d&&d(null)}}),(0,va.jsx)("div",{className:vP(s,!!l&&CZ()[l],!!i&&CZ()[i]),id:a})};vL.ZP.registerPlugin(vI.V),vL.ZP.registerPlugin(v_());var C0=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R;let{locale:P}=(0,vT.QT)(),A=P(),D=(0,vd.useRef)(null),B=(0,vd.useRef)(null);(0,vI.V)(()=>{let e=B.current;e&&vL.ZP.fromTo(e,{opacity:0,y:40},{y:0,opacity:1,ease:"power1.out",duration:1})}),(0,vI.V)(()=>{let e=document.querySelector(".video-wrap");e&&!e.classList.contains("fixed")&&v_().create({trigger:D.current,scrub:!0,pinSpacing:!1,start:"top top",pin:".video-wrap",end:"bottom bottom"})},{scope:D});let V=null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.ShowFullHeight)||void 0===l?void 0:l.value,W=V?"fixed":"absolute",H=null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.ShowFullScreen)||void 0===s?void 0:s.value;return(0,vd.useEffect)(()=>{if(!V)return;let e=()=>{let e=document.querySelector("footer"),l=document.querySelector(".video-wrap");if(!e||!l)return;let i=e.getBoundingClientRect().top+window.scrollY-window.scrollY;l.style.height="".concat(Math.max(0,Math.floor(i)),"px")};return e(),window.addEventListener("scroll",e,{passive:!0}),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[V]),(0,va.jsxs)("section",{className:"relative text-uh-white reset-styles",ref:D,children:[(0,va.jsxs)("div",{className:"relative ".concat(V||H?"h-screen":"w-screen aspect-[375/470] lg:aspect-[1280/624] max-h-[80vh]"," ").concat(V?"herobanner-full-height":""),children:[(0,va.jsxs)("div",{className:"".concat(W," h-full w-full video-wrap"),children:[(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.VideoLink)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href)?(0,va.jsx)(CX,{id:"c".concat(e.rendering.uid),cover:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.Image)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.src,width:"100%",height:"100%",rePlay:!0,skinLayoutIgnore:["bigPlayButton","H5Loading","controlBar"],videoStyle:"video-cover",source:null===(u=e.fields.VideoLink)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.href}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"hidden lg:block h-full w-full ".concat(W," top-0 left-0 bg-cover bg-top"),style:{backgroundImage:(null==e?void 0:null===(p=e.fields)||void 0===p?void 0:null===(x=p.Image)||void 0===x?void 0:null===(m=x.value)||void 0===m?void 0:m.src)?'url("'.concat(e.fields.Image.value.src,'")'):void 0}}),(0,va.jsx)("div",{className:"lg:hidden h-full w-full ".concat(W," top-0 left-0 bg-cover bg-top"),style:{backgroundImage:(null==e?void 0:null===(g=e.fields)||void 0===g?void 0:null===(f=g.MobileImage)||void 0===f?void 0:null===(h=f.value)||void 0===h?void 0:h.src)?'url("'.concat(e.fields.MobileImage.value.src,'")'):(null==e?void 0:null===(b=e.fields)||void 0===b?void 0:null===(N=b.Image)||void 0===N?void 0:null===(j=N.value)||void 0===j?void 0:j.src)?'url("'.concat(e.fields.Image.value.src,'")'):void 0}})]}),(0,va.jsx)("div",{className:"absolute h-full w-full content-center z-10",children:!!(null==e?void 0:null===(T=e.fields)||void 0===T?void 0:T.LogoImage)&&(0,va.jsx)("div",{className:"flex flex-col w-full items-center",children:(0,va.jsx)(m7,{className:"lg:max-w-full max-w-40",field:null==e?void 0:null===(S=e.fields)||void 0===S?void 0:S.LogoImage})})}),(0,va.jsx)("div",{className:vP("absolute left-0 top-0 h-full w-full ".concat((null===(k=e.fields)||void 0===k?void 0:k.RemoveBackgroundMask.value)?"":"bg-black/40"))})]}),(0,va.jsx)("div",{className:"h-full pb-[50px] lg:pb-[80px] relative",children:(0,va.jsx)(vH,{className:"h-full content-end gap-y-[20px]",children:(0,va.jsxs)("div",{ref:B,className:"col-span-full grid grid-cols-subgrid",children:[(0,va.jsx)("div",{className:"col-span-full grid-cols-subgrid grid",children:(0,va.jsx)(bN,{variant:"heading",className:"".concat((null===(w=e.fields.LargeTitle)||void 0===w?void 0:w.value)?"text-[56px] leading-[68px] lg:text-[92px] lg:leading-[92px] col-span-4 lg:col-span-6":"col-span-3 lg:col-span-5"," ").concat({en:"","zh-HK":"font-medium lg:leading-[108px]","zh-CN":"font-medium lg:leading-[108px]"}[A]),tag:"div",Text:null==e?void 0:null===(y=e.fields)||void 0===y?void 0:y.Title})}),!!(null==e?void 0:null===(E=e.fields)||void 0===E?void 0:E.Content.value)&&(0,va.jsx)("div",{className:"col-span-full grid-cols-subgrid grid mt-[20px]",children:(0,va.jsx)(bN,{tag:"div",className:"col-span-4 lg:col-span-7 [&_p:last-child]:mb-0",variant:"body",Text:null==e?void 0:null===(C=e.fields)||void 0===C?void 0:C.Content})}),!!(null==e?void 0:null===(I=e.fields)||void 0===I?void 0:null===(L=I.Link)||void 0===L?void 0:null===(O=L.value)||void 0===O?void 0:O.href)&&!!(null==e?void 0:null===(_=e.fields)||void 0===_?void 0:null===(F=_.LinkTitle)||void 0===F?void 0:F.value)&&(0,va.jsx)("div",{className:"col-span-full",children:(0,va.jsx)(fa,{TEXT:null==e?void 0:null===(M=e.fields)||void 0===M?void 0:M.LinkTitle,URL:null==e?void 0:null===(R=e.fields)||void 0===R?void 0:R.Link,hideIconAngle:!0,ButtonVariant:"cta-type-b-reverse"})})]})})})]}),(0,va.jsx)(vt.V,{name:"uh-hero-banner-content",rendering:e.rendering})]})});vL.ZP.registerPlugin(vI.V),vL.ZP.registerPlugin(v_());var C1=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O;let{locale:L}=(0,vT.QT)(),I=L(),{sitecoreContext:F}=(0,vr.z)(),_=F.pageEditing,M=(0,vd.useRef)(null),R=(0,vd.useRef)({}),[P,A]=(0,vd.useState)(),[D,B]=(0,vd.useState)(),V="c".concat(e.rendering.uid),W=null;(0,vI.V)(()=>{v_().create({trigger:M.current,scrub:!0,pinSpacing:!1,start:"top top",pin:".video-wrap",end:"bottom bottom"})});let H={en:"","zh-HK":"font-medium","zh-CN":"font-medium"},G={en:"","zh-HK":"!font-medium text-[18px]","zh-CN":"!font-medium text-[18px]"},U=null!==(s=null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Opacity)||void 0===l?void 0:l.value)&&void 0!==s?s:60;try{return(0,va.jsx)("section",{className:"relative uhhomeherobanner reset-styles",ref:M,children:(0,va.jsxs)("div",{className:"relative w-full min-h-screen lg:min-h-auto text-uh-white",children:[(0,va.jsxs)("div",{className:"relative video-wrap",children:[(0,va.jsx)("div",{className:"absolute top-0 left-0 w-full h-screen",children:(null===(a=e.fields.VideoLink)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href)?(0,va.jsxs)(va.Fragment,{children:[!!(null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.Image)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.src)&&(0,va.jsx)(m7,{field:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:r.Image,className:"hidden absolute object-cover object-top w-full h-full lg:block"}),(0,va.jsx)(CX,{id:"c".concat(e.rendering.uid),width:"100%",height:"100%",rePlay:!0,skinLayoutIgnore:["bigPlayButton","H5Loading","controlBar"],videoStyle:"video-cover",className:"!bg-transparent",source:null===(v=e.fields.VideoLink)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.href})]}):(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(m7,{field:null==e?void 0:null===(u=e.fields)||void 0===u?void 0:u.Image,className:"hidden object-cover object-top w-full h-full lg:block"}),(0,va.jsx)(m7,{field:_||(null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.MobileImage)||void 0===m?void 0:m.value)?null==e?void 0:null===(p=e.fields)||void 0===p?void 0:p.MobileImage:null==e?void 0:null===(h=e.fields)||void 0===h?void 0:h.Image,className:"object-cover object-top w-full h-full lg:hidden"})]})}),(0,va.jsx)("div",{style:{"--tw-bg-opacity":U/100},className:"absolute top-0 left-0 w-full h-screen bg-black"})]}),(0,va.jsxs)("div",{className:"relative",children:[(0,va.jsx)("div",{className:"min-h-screen lg:h-screen flex flex-col items-center lg:justify-center pt-[210px] lg:pt-0",children:(0,va.jsx)(vH,{className:"[--logo-delay:3s] [--slogan-delay:3.2s] [--l
1ine-delay:4.2s] [--text-delay:4.2s]",children:(0,va.jsxs)("div",{className:"text-center col-span-full lg:col-span-6 lg:col-start-4",children:[(0,va.jsxs)("div",{className:"relative",children:[(0,va.jsx)("div",{className:"absolute top-0 left-0 flex w-full bottom-0 items-center justify-center",children:(0,va.jsx)(m7,{field:null==e?void 0:null===(f=e.fields)||void 0===f?void 0:f.LogoImage,className:"animate-logo-fade-in opacity-0 w-[170px] lg:w-[195px]"})}),(0,va.jsx)("div",{className:"mb-[30px] lg:mb-[50px]",children:(0,va.jsx)("img",{src:"/upper-house/up.svg",alt:"up",className:"inline animate-[fade-in-top_0.8s_var(--logo-delay)_ease-out_both] opacity-0"})}),(0,va.jsx)(uf,{tag:"div",variant:"landing",className:vP("my-[30px] lg:my-[50px] animate-[fade-in-fwd_0.8s_var(--slogan-delay)_ease-out_both] opacity-0 ".concat({en:"","zh-HK":"font-medium leading-[34px] lg:leading-[54px]","zh-CN":"font-medium leading-[34px] lg:leading-[54px]"}[I])),Text:null===(g=e.fields)||void 0===g?void 0:g.LogoText}),(0,va.jsx)("div",{className:"mt-[30px] mb-[55px] lg:mt-[50px] lg:mb-[70px]",children:(0,va.jsx)("img",{src:"/upper-house/down.svg",alt:"down",className:"inline animate-[fade-in-bottom_0.8s_var(--logo-delay)_ease-out_both] opacity-0"})})]}),(0,va.jsx)("div",{className:"relative mt-[55x] lg:mt-0",children:(0,va.jsxs)("div",{className:"static w-full text-center lg:absolute",children:[(0,va.jsx)("div",{className:"inline-block after:block after:w-[50px] after:border-white after:border after:-rotate-90 my-[25px] opacity-0 animate-[fade-in-top_1s_var(--line-delay)_ease-out_both]"}),(0,va.jsx)(bN,{tag:"div",Text:null===(j=e.fields)||void 0===j?void 0:j.Remarks,variant:"cta",className:"pt-[15px] animate-[fade-in-bottom_1s_var(--text-delay)_ease-out_both] opacity-0 lg:text-[20px] leading-[18px] lg:leading-[24px]"})]})})]})})}),(0,va.jsxs)("div",{className:"h-screen lg:block relative hidden content-center",children:[(0,va.jsx)("div",{className:"absolute top-0 left-0 z-0 w-full",children:!!(null===(N=e.fields.Hotels)||void 0===N?void 0:N.length)&&(0,va.jsxs)(SO.tq,{allowTouchMove:!1,noSwiping:!0,effect:"fade",modules:[yL.xW],fadeEffect:{crossFade:!0},onSwiper:B,children:[(0,va.jsx)(SO.o5,{children:"\xa0"}),e.fields.Hotels.map((e,l)=>{var i,s,n,a,d,t,o,r,c,v;return(0,va.jsx)(SO.o5,{className:"!h-screen w-full",children:(null===(n=e.fields)||void 0===n?void 0:null===(s=n.VideoLink)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)?(0,va.jsx)(CX,{height:"100%",width:"100%",videoStyle:"video-cover",rePlay:!0,preload:!0,autoplay:!1,skinLayoutIgnore:["bigPlayButton"],id:"".concat(V,"-prop-").concat(l,"-vid"),onAliplayerInstance:e=>{R.current["".concat(V,"-prop-").concat(l,"-vid")]=e},source:null===(t=e.fields)||void 0===t?void 0:null===(d=t.VideoLink)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href}):!!(null===(c=e.fields)||void 0===c?void 0:null===(r=c.Image)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.src)&&(0,va.jsx)(m7,{field:null===(v=e.fields)||void 0===v?void 0:v.Image,className:"object-cover object-top w-full h-full"})},l)})]})}),(0,va.jsx)(vH,{className:"relative",children:(0,va.jsxs)("div",{className:"col-span-6 col-start-4 text-center align-middle",children:[(0,va.jsx)(uf,{Text:e.fields.LogoText2,variant:"heading",tag:"div"}),(0,va.jsx)(bN,{className:"mt-[20px]",Text:e.fields.Description,variant:"body"}),(0,va.jsx)("div",{className:"mt-[55px] flex gap-[15px] flex-wrap flex-row justify-center",children:!!(null===(b=e.fields.Hotels)||void 0===b?void 0:b.length)&&e.fields.Hotels.map((e,l)=>{var i,s,n,a,d;return(0,va.jsx)("div",{onMouseOver:()=>{var i,s,n;(null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)&&(W&&clearTimeout(W),null==P||P.slideTo(l+1),null==D||D.slideTo(l+1),R.current["".concat(V,"-prop-").concat(l,"-vid")]&&(R.current["".concat(V,"-prop-").concat(l,"-vid")].seek(0),R.current["".concat(V,"-prop-").concat(l,"-vid")].play()))},onMouseLeave:()=>{W=setTimeout(()=>{null==P||P.slideTo(0),null==D||D.slideTo(0),R.current["".concat(V,"-prop-").concat(l,"-vid")]&&R.current["".concat(V,"-prop-").concat(l,"-vid")].pause(),W=null},500)},children:(null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)?(0,va.jsx)(fa,{ButtonVariant:"cta-hero",URL:null===(a=e.fields)||void 0===a?void 0:a.Link,TEXT:null===(d=e.fields)||void 0===d?void 0:d.Name,TextTag:"span",className:vP("rounded-[50px] border border-white ".concat(H[I]))}):(0,va.jsx)("div",{className:vP("inline-block","cursor-default","font-Amiko font-semibold text-[16px] leading-[16
1px] uppercase inline-block py-[10px] px-[20px] text-uh-white","border border-white","rounded-[50px]","".concat(H[I]," ").concat("en"===I?"pb-[7px]":"")),children:(0,va.jsx)(uf,{Text:e.fields.Name,tag:"span"})})},l)})}),(0,va.jsx)("div",{className:"mt-[55px]",children:(0,va.jsxs)(SO.tq,{allowTouchMove:!1,noSwiping:!0,effect:"fade",modules:[yL.xW],fadeEffect:{crossFade:!0},onSwiper:A,children:[(0,va.jsx)(SO.o5,{children:(0,va.jsxs)("div",{className:"text-center font-unset",children:[(0,va.jsx)("div",{className:"inline-block w-[50px] border-white border -rotate-90 my-[25px]"}),(0,va.jsx)(bN,{tag:"div",Text:null===(T=e.fields)||void 0===T?void 0:T.Remarks2,variant:"subhead",className:"pt-[15px] lg:text-[20px] lg:leading-[24px]"})]})}),!!(null===(S=e.fields.Hotels)||void 0===S?void 0:S.length)&&e.fields.Hotels.map((e,l)=>{var i,s;return(0,va.jsxs)(SO.o5,{children:[(0,va.jsx)("div",{children:(0,va.jsx)(m7,{field:null===(i=e.fields)||void 0===i?void 0:i.Logo,className:"inline"})}),(0,va.jsx)(bN,{className:"mt-[45px]",Text:null===(s=e.fields)||void 0===s?void 0:s.Description,variant:"body"})]},l)})]})})]})})]}),(0,va.jsx)("div",{className:"lg:hidden pt-[130px] pb-[55px] bg-uh-white text-uh-black",children:(0,va.jsx)(vH,{children:(0,va.jsxs)("div",{className:"col-span-full",children:[(0,va.jsx)("div",{className:"mb-[15px]",children:(0,va.jsx)(uf,{variant:"heading",Text:null==e?void 0:null===(k=e.fields)||void 0===k?void 0:k.LogoText2,tag:"span"})}),(0,va.jsx)("div",{className:"mt-[15px] mb-[40px]",children:(0,va.jsx)(bN,{variant:"body",Text:null==e?void 0:null===(w=e.fields)||void 0===w?void 0:w.Description})}),(0,va.jsx)("div",{className:"mt-[40px]",children:(0,va.jsx)(SO.tq,{spaceBetween:15,slidesPerView:"auto",children:!!(null==e?void 0:null===(E=e.fields)||void 0===E?void 0:null===(y=E.Hotels)||void 0===y?void 0:y.length)&&(null==e?void 0:null===(O=e.fields)||void 0===O?void 0:null===(C=O.Hotels)||void 0===C?void 0:C.map((e,l)=>{var i,s,n,a;return(0,va.jsxs)(SO.o5,{className:"w-auto text-center",children:[(0,va.jsx)("div",{className:"aspect-[225/280] w-[225px]",children:(0,va.jsx)(m7,{className:"object-cover object-center w-full h-full",field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.MobileImage})}),(0,va.jsx)(uf,{tag:"div",variant:"body",className:"mt-[15px] mb-[10px] text-[18px] leading-[18px] !font-bold uppercase ".concat(G[I]),Text:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Name}),(0,va.jsx)("div",{className:"mt-[10px]",children:(0,va.jsx)(fa,{URL:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Link,TEXT:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.LinkTitle,className:"inline-block",ButtonVariant:"cta-type-a",hideIconAngle:!0})})]},l)}))})})]})})})]})]})})}catch(e){return(0,va.jsx)(vb,{error:e})}},C2=(0,vp.C)()(e=>{var l,i,s,n;return(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.ImageSource)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vW,{className:"bg-uh-white",children:(0,va.jsx)(m7,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.ImageSource,className:"object-cover object-center lg:object-top"})})}):(0,va.jsx)(va.Fragment,{})});let C5=e=>({DesktopPaddingTop:!(null==e?void 0:e.NoTopPadding)||(null==e?void 0:e.NoTopPadding)==="0",DesktopPaddingBottom:!(null==e?void 0:e.NoBottomPadding)||(null==e?void 0:e.NoBottomPadding)==="0",MobilePaddingTop:!(null==e?void 0:e.NoTopPaddingMobile)||(null==e?void 0:e.NoTopPaddingMobile)==="0",MobilePaddingBottom:!(null==e?void 0:e.NoBottomPaddingMobile)||(null==e?void 0:e.NoBottomPaddingMobile)==="0",DesktopPaddingTopSize:null==e?void 0:e.PaddingTop,DesktopPaddingBottomSize:null==e?void 0:e.PaddingBottom,MobilePaddingTopSize:null==e?void 0:e.PaddingTopMobile,MobilePaddingBottomSize:null==e?void 0:e.PaddingBottomMobile});var C3=(0,vp.C)()(e=>{var l,i;let{isLgScreen:s}=EG(),n=C5(null==e?void 0:e.params),a=(0,vd.useMemo)(()=>s?{paddingTop:n.DesktopPaddingTop?n.DesktopPaddingTopSize?"".concat(n.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:n.DesktopPaddingBottom&&n.DesktopPaddingBottomSize?"".concat(n.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:n.MobilePaddingTop?n.MobilePaddingTopSize?"".concat(n.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:n.MobilePaddingBottom&&n.MobilePaddingBottomSize?"".concat(n.MobilePaddingBottomSize,"px"):"0px"},[s,n]);return(0,va.jsx)(vW,{className:"bg-uh-white overflow-hidden",children:(0,va.jsxs)(vH,{className:vP("grid-cols-2 lg:grid-cols-2 gap-[20px] lg:gap-[40px]"),style:a,children:[(0,va.jsx)(v4,{className:"col-span-full lg:col-span-1 -translate-x-[40px]",scrub:!1,start:"top 75%",duration:1,children:(0,va.jsx)(m7,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.LeftImage,className:"w-full h-[485px] lg:h-auto lg:aspect-[580/800] object-cover object-center lg:object-top"})}),(0,va.jsx)(v4,{className:"col-span-full lg:col-span-1 translate-x-[40px]",scrub:!1,start:"top 75%",duration:1,children:(0,va.jsx)(m7,{field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.RightImage,className:"w-full h-[485px] lg:h-auto lg:aspect-[580/800] object-cover object-center lg:object-top"})})]})})}),C4=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g;let{isLgScreen:j}=EG(),N=C5(null==e?void 0:e.params),b=(0,vd.useMemo)(()=>j?{paddingTop:N.DesktopPaddingTop?N.DesktopPaddingTopSize?"".concat(N.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:N.DesktopPaddingBottom&&N.DesktopPaddingBottomSize?"".concat(N.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:N.MobilePaddingTop?N.MobilePaddingTopSize?"".concat(N.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:N.MobilePaddingBottom&&N.MobilePaddingBottomSize?"".concat(N.MobilePaddingBottomSize,"px"):"0px"},[j,N]);return(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Link)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href)&&(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.ImageSource)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.src)?(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vW,{className:"bg-uh-white",children:(0,va.jsx)(vH,{className:"grid-cols-1 lg:grid-cols-1",style:b,children:(0,va.jsxs)("a",{href:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Link)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.href,className:"relative",target:"_blank",children:[(0,va.jsx)(m7,{field:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.ImageSource,className:"w-full object-cover object-center lg:object-top"}),!!(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.LinkTitle)||void 0===v?void 0:v.value)&&(0,va.jsxs)("div",{className:"absolute left-[50%] bottom-[20px] lg:bottom-[60px] flex items-center text-white translate-x-[-50%] bg-black/80 px-[10px] lg:px-[25px] py-[14px] lg:py-[16px] gap-[20px]",children:[!!(null===(p=e.fields)||void 0===p?void 0:null===(x=p.Icon)||void 0===x?void 0:null===(m=x.value)||void 0===m?void 0:m.src)&&(0,va.jsx)(m7,{field:null==e?void 0:null===(h=e.fields)||void 0===h?void 0:h.Icon,className:"col-span-full w-[30px] lg:w-[45px]"}),(0,va.jsx)("div",{className:"font-[700] text-[12px] lg:text-[16
1px] leading-[12px] lg:leading-[16px] uppercase",children:null==e?void 0:null===(g=e.fields)||void 0===g?void 0:null===(f=g.LinkTitle)||void 0===f?void 0:f.value})]})]})})})}):(0,va.jsx)(va.Fragment,{})}),C6=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y;let[E,C]=(0,vd.useState)(!1),{t:O,locale:L}=(0,vT.QT)(),I='<option selected></option><option value="2"></option>'+(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Location)||void 0===l?void 0:l.value.replaceAll('<item name="Hear_From_Us">',"").replaceAll("<Countries>","").replaceAll("</Countries>","").replaceAll("</item>","").replaceAll("Country","option").replaceAll("countryCode","value").replaceAll('description="',">").replaceAll('" />',"</option>")),F=uc.MD.THC_PPA_FORM,_=(0,vd.useRef)(null),[M,R]=(0,vd.useState)(!1);(0,vd.useEffect)(()=>{if(_.current)return $(document).on("ajaxSend.form",function(e,l,i){i.url==F&&R(!0)}),$(document).on("ajaxComplete.form",function(){R(!1)}),()=>{$(document).off("ajaxSend.form"),$(document).off("ajaxComplete.form")}},[]),(0,vd.useEffect)(()=>{window.$&&$("select").select2({minimumResultsForSearch:-1})},[]);let{isLgScreen:P}=EG(),A=C5(null==e?void 0:e.params),D=(0,vd.useMemo)(()=>P?{paddingTop:A.DesktopPaddingTop?A.DesktopPaddingTopSize?"".concat(A.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:A.DesktopPaddingBottom&&A.DesktopPaddingBottomSize?"".concat(A.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:A.MobilePaddingTop?A.MobilePaddingTopSize?"".concat(A.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:A.MobilePaddingBottom&&A.MobilePaddingBottomSize?"".concat(A.MobilePaddingBottomSize,"px"):"0px"},[P,A]),B=()=>(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("svg",{className:"h-[15px]",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5552",children:(0,va.jsx)("path",{d:"M512 992C246.912 992 32 777.088 32 512 32 246.912 246.912 32 512 32c265.088 0 480 214.912 480 480 0 265.088-214.912 480-480 480zM480 256v352a32 32 0 0 0 64 0V256a32 32 0 0 0-64 0z m-16 528a48 48 0 1 0 96 0 48 48 0 0 0-96 0z","p-id":"5553",fill:"#B70000"})})}),{sitecoreContext:V}=(0,vr.z)();return(0,va.jsxs)(va.Fragment,{children:[M?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsx)(vW,{className:"relative bg-uh-white UhApartmentsEnquiryForm",children:(0,va.jsx)(vH,{style:D,children:(0,va.jsxs)("div",{className:"col-span-full lg:col-span-8 body--form module-wrapper",children:[(0,va.jsx)(bN,{Text:null===(s=e.fields)||void 0===s?void 0:s.Title,variant:"heading",HideIfEmpty:!0}),(0,va.jsx)(bN,{Text:null===(n=e.fields)||void 0===n?void 0:n.Text,variant:"body",HideIfEmpty:!0,className:"mt-[20px]"}),(0,va.jsxs)("form",{id:"ppaform",name:"ppaform",className:"form form--subspt mt-[40px] lg:mt-[60px]",action:F,method:"POST",encType:"multipart/form-data",noValidate:!0,ref:_,children:[(0,va.jsx)("input",{type:"hidden",name:"ContextId",value:null==e?void 0:null===(a=e.rendering)||void 0===a?void 0:a.dataSource}),(0,va.jsx)("input",{type:"hidden",name:"language",value:L()}),(0,va.jsx)("input",{type:"hidden",name:"SuccessRedirectUrl",defaultValue:(0,vS.at)(null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.SuccessRedirectUrl)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.href,L())}),(0,va.jsx)("input",{type:"hidden",name:"FailRedirectUrl",defaultValue:(0,vS.at)(null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(c=v.FailRedirectUrl)||void 0===c?void 0:null===(r=c.value)||void 0===r?void 0:r.href,L())}),(0,va.jsx)("input",{type:"hidden",name:"CaptchaId"}),(0,va.jsx)("input",{type:"hidden",name:"captchaErrorMessage",className:"captchaErrorMessage",defaultValue:O(mT.W.COMMONFORM.CAPTCHAERROR)}),(0,va.jsx)("div",{className:"row",children:(0,va.jsxs)("div",{className:"col-sm-12 col-md-12 col-lg-12 accordion ppa-form-section-accordion",id:"howToGetThereAcc",children:[(0,va.jsx)("div",{className:"ppa-section-item mb-[20px] lg:mb-[40px]",children:(0,va.jsx)("div",{className:"ppa-section-content pl-0 pr-0",children:(0,va.jsxs)("div",{className:"grid grid-cols-4 lg:grid-cols-8 gap-x-[15px] lg:gap-x-[20px] gap-y-[40px] lg:gap-y-[60px]",children:[(0,va.jsx)("div",{className:"col-span-full lg:col-span-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"FirstName",children:[(0,va.jsx)(uf,{Text:O(mT.W.APARTMENTSENQUIRYFORM.FIRSTNAME)||"First Name",variant:"body"}),(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{className:"input-field enquiryform-input-field",type:"text",name:"FirstName",maxLength:254}),(0,va.jsx)("div",{className:"error-msg inactive",children:(0,va.jsxs)("div",{className:"flex items-center gap-x-[10px]",children:[B(),O(mT.W.APARTMENTSENQUIRYFORM.FIRSTNAMEREQUIRED)]})})]})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"LastName",children:[O(mT.W.APARTMENTSENQUIRYFORM.LASTNAME)||"Last Name",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{className:"input-field enquiryform-input-field",type:"text",name:"LastName",maxLength:254}),(0,va.jsx)("div",{className:"error-msg inactive",children:(0,va.jsxs)("div",{className:"flex items-center gap-x-[10px]",children:[B(),O(mT.W.APARTMENTSENQUIRYFORM.LASTNAMEREQUIRED)]})})]})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"CompanyName",children:O(mT.W.APARTMENTSENQUIRYFORM.COMPANYNAME)||"Company Name"}),(0,va.jsx)("input",{className:"input-field enquiryform-input-field",type:"text",name:"CompanyName",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-span-full",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"Address",children:O(mT.W.APARTMENTSENQUIRYFORM.ADDRESS)||"Address"}),(0,va.jsx)("input",{className:"input-field enquiryform-input-field",type:"text",name:"Address",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-4",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-location","data-value":"",children:[(0,va.jsx)("label",{htmlFor:"Location",children:O(mT.W.APARTMENTSENQUIRYFORM.LOCATION)||"Location"}),(0,va.jsx)("select",{"data-placeholder":O(mT.W.APARTMENTSENQUIRYFORM.RESIDENCE)||"Select Your Location",name:"Location",className:"sel2-dropdown sel2-dropdown--country select-wrapper input-field enquiryform-input-field",dangerouslySetInnerHTML:{__html:I}})]})})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-4 lg:col-start-1",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"ContactNumber",children:[O(mT.W.APARTMENTSENQUIRYFORM.TELEPHONE)||"Telephone",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{className:"input-field enquiryform-input-field",type:"text",name:"ContactNumber",maxLength:254}),(0,va.jsx)("div",{className:"error-msg inactive",children:(0,va.jsxs)("div",{className:"flex items-center gap-x-[10px]",children:[B(),O(mT.W.APARTMENTSENQUIRYFORM.TELEPHONEREQUIRED)]})})]})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"FaxNumber",children:O(mT.W.APARTMENTSENQUIRYFORM.FAXNUMBER)||"Fax Number"}),(0,va.jsx)("input",{className:"input-field enquiryform-input-field",type:"text",name:"FaxNumber",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"Email",children:[O(mT.W.APARTMENTSENQUIRYFORM.EMAIL)||"Email",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("input",{id:"subEmail",className:"input-field enquiryform-input-field",type:"text",name:"Email",maxLength:254}),(0,va.jsx)("div",{className:"error-msg inactive",children:(0,va.jsxs)("div",{className:"flex items-center gap-x-[10px]",children:[B(),O(mT.W.APARTMENTSENQUIRYFORM.EMAILREQUIRED)]})})]})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"WechatId",children:O(mT.W.APARTMENTSENQUIRYFORM.WECHATID)||"Wechat Id"}),(0,va.jsx)("input",{className:"input-field enquiryform-input-field",type:"text",name:"WechatId",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"ArrivalDate",children:[O(mT.W.APARTMENTSENQUIRYFORM.ARRIVALDATE)||"Arrival Date",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("div",{className:"ui-datepicker-wrapper",children:(0,va.jsx)("input",{className:"input-field enquiryform-input-field",type:"text",id:"datepickerPPAArrivalDate",name:"ArrivalDate",autoComplete:"off"})}),(0,va.jsx)("div",{className:"error-msg inactive",children:(0,va.jsxs)("div",{className:"flex items-center gap-x-[10px]",children:[B(),O(mT.W.APARTMENTSENQUIRYFORM.ARRIVALDATEREQUIRED)]})})]})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsxs)("label",{htmlFor:"DepartureDate",children:[O(mT.W.APARTMENTSENQUIRYFORM.DEPARTUREDATE)||"Departure Date",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsx)("div",{className:"ui-datepicker-wrapper",children:(0,va.jsx)("input",{className:"input-field enquiryform-input-field",type:"text",id:"datepickerPPADepartureDate",name:"DepartureDate",autoComplete:"off"})}),(0,va.jsx)("div",{className:"error-msg inactive datepicker-waring-box",children:(0,va.jsxs)("div",{className:"flex items-center gap-x-[10px]",children:[B(),O(mT.W.APARTMENTSENQUIRYFORM.DEPARTUREDATEMINIMUM)]})}),(0,va.jsx)("div",{className:"note-under-input-field",children:O(mT.W.APARTMENTSENQUIRYFORM.DEPARTUREDATEMINIMUM)||"Departure Date Note"})]})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"NumberOfAdults",children:O(mT.W.APARTMENTSENQUIRYFORM.ADULTS)||"Number Of Adults"}),(0,va.jsx)("input",{className:"input-field enquiryform-input-field",type:"text",name:"NumberOfAdults",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"NumberOfChildren",children:O(mT.W.APARTMENTSENQUIRYFORM.Children)||"Number Of Children"}),(0,va.jsx)("input",{className:"input-field enquiryform-input-field",type:"text",name:"NumberOfChildren",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-4",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-numberofbedrooms",children:[(0,va.jsxs)("label",{htmlFor:"NumberOfBedrooms",children:[O(mT.W.APARTMENTSENQUIRYFORM.BEDROOMS)||"Number Of Bedrooms",(0,va.jsx)("span",{className:"remark",children:"*"})]}),(0,va.jsxs)("select",{name:"NumberOfBedrooms",className:"sel2-dropdown sel2-dropdown--ppa-numberofbedrooms select-wrapper input-field enquiryform-input-field",children:[(0,va.jsx)("option",{disabled:!0,children:O(mT.W.APARTMENTSENQUIRYFORM.SELECTNUMBEROFBEDROOMS)||"Select Number of Bedrooms"}),(null===(x=e.fields)||void 0===x?void 0:null===(m=x.NumberOfBedrooms)||void 0===m?void 0:null===(u=m.fields.Links)||void 0===u?void 0:u.length)?Object.values(null==e?void 0:null===(h=e.fields)||void 0===h?void 0:null===(p=h.NumberOfBedrooms)||void 0===p?void 0:p.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]}),(0,va.jsx)("div",{className:"error-msg inactive",children:(0,va.jsxs)("div",{className:"flex items-center gap-x-[10px]",children:[B(),O(mT.W.APARTMENTSENQUIRYFORM.BEDROOMSREQUIRED)]})})]})})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-4",children:(0,va.jsxs)("div",{className:"form--subspt--item",children:[(0,va.jsx)("label",{htmlFor:"MonthlyEstimatedBudget",children:O(mT.W.APARTMENTSENQUIRYFORM.MONTHLYESTIMATEDBUDGET)||"Monthly Estimated Budget"}),(0,va.jsx)("input",{className:"input-field enquiryform-input-field",type:"text",name:"MonthlyEstimatedBudget",maxLength:254})]})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-4",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsxs)("div",{className:"dropdown-wrapper",id:"value-howdidyouheaerfromus",children:[(0,va.jsx)("label",{htmlFor:"HowDidYouHearFromUs",children:O(mT.W.APARTMENTSENQUIRYFORM.HOWDIDYOUHEAR)||"How Did You Hear From Us"}),(0,va.jsxs)("select",{name:"HowDidYouHearFromUs",className:"sel2-dropdown sel2-dropdown--ppa-howdidyouhearfromus select-wrapper input-field enquiryform-input-field",children:[(0,va.jsx)("option",{disabled:!0,children:O(mT.W.APARTMENTSENQUIRYFORM.SELECTHOWDIDYOUHEARFROMUS)||"Select How Did You Hear From Us"}),(null==e?void 0:null===(j=e.fields)||void 0===j?void 0:null===(g=j.HowDidYouHearFromUs)||void 0===g?void 0:null===(f=g.fields.Links)||void 0===f?void 0:f.length)?Object.values(null==e?void 0:null===(b=e.fields)||void 0===b?void 0:null===(N=b.HowDidYouHearFromUs)||void 0===N?void 0:N.fields.Links).map((e,l)=>{var i,s,n;return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("option",{value:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value,children:(0,va.jsx)(vm.x,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Text})},l)})}):(0,va.jsx)(va.Fragment,{})]})]})})}),(0,va.jsx)("div",{className:"col-span-full",children:(0,va.jsx)("div",{className:"form--subspt--item",children:(0,va.jsx)("textarea",{rows:8,cols:80,name:"EnquiryMessage",maxLength:300,placeholder:O(mT.W.APARTMENTSENQUIRYFORM.ENQUIRYMESSAGE)||"Enquiry Message"})})})]})})}),(0,va.jsxs)("div",{className:"ppa-section-content-wrapper",children:[(0,va.jsx)("div",{className:"ppa-section-content",children:(0,va.jsx)("div",{className:"ppa-section-item",children:(0,va.jsx)("div",{className:"form--subspt--item ",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"ppa-form-consent",children:(0,va.jsxs)("label",{className:"ppa-form-radio-checkitem",children:[(0,va.jsx)("span",{className:"normal-case",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(T=e.fields)||void 0===T?void 0:T.PrivacyPolicyConsent})}),(0,va.jsx)("input",{type:"checkbox",name:"PrivacyPolicyConsent",id:"PrivacyPolicyConsent",value:"agree",className:"input-radio"}),(0,va.jsx)("span",{className:"ppa-form-radio-checkbox"})]})})})})})})}),(0,va.jsx)("div",{className:"ppa-section-content",children:(0,va.jsx)("div",{className:"ppa-section-item",children:(0,va.jsx)("div",{className:"form--subspt--item ",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"ppa-form-consent small_checkbox sub-consent",children:(0,va.jsxs)("label",{className:"ppa-form-radio-checkitem",children:[(0,va.jsx)("span",{className:"normal-case",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(S=e.fields)||void 0===S?void 0:S.SensitiveInfoConsent})}),(0,va.jsx)("input",{type:"checkbox",name:"SensitiveInfoConsent",id:"SensitiveInfoConsent",value:"agree",className:"input-radio"}),(0,va.jsx)("span",{className:"ppa-form-radio-checkbox"})]})})})})})})}),(0,va.jsx)("div",{className:"ppa-section-content",children:(0,va.jsx)("div",{className:"ppa-section-item",children:(0,va.jsx)("div",{className:"form--subspt--item ",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"ppa-form-consent small_checkbox sub-consent",children:(0,va.jsxs)("label",{className:"ppa-form-radio-checki
1tem",children:[(0,va.jsx)("span",{className:"normal-case",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(k=e.fields)||void 0===k?void 0:k.DataManageOutsideResidence})}),(0,va.jsx)("input",{type:"checkbox",name:"DataManageOutsideResidence",id:"DataManageOutsideResidence",value:"agree",className:"input-radio"}),(0,va.jsx)("span",{className:"ppa-form-radio-checkbox"})]})})})})})})}),(0,va.jsx)("div",{className:"ppa-section-content",children:(0,va.jsx)("div",{className:"ppa-section-item",children:(0,va.jsx)("div",{className:"form--subspt--item ",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"ppa-form-consent small_checkbox sub-consent",children:(0,va.jsxs)("label",{className:"ppa-form-radio-checkitem",children:[(0,va.jsx)("span",{className:"normal-case",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(w=e.fields)||void 0===w?void 0:w.DataManageWithinResidence})}),(0,va.jsx)("input",{type:"checkbox",name:"DataManageWithinResidence",id:"DataManageWithinResidence",value:"agree",className:"input-radio"}),(0,va.jsx)("span",{className:"ppa-form-radio-checkbox"})]})})})})})})}),(0,va.jsx)("div",{className:"error-msg inactive pl-[40px] mt-[10px] mb-[20px]",children:(0,va.jsxs)("div",{className:"flex items-center gap-x-[10px]",children:[B(),O(mT.W.APARTMENTSENQUIRYFORM.PrivacyPolicyConsent)]})}),(0,va.jsx)("div",{className:"ppa-section-content",children:(0,va.jsx)("div",{className:"ppa-section-item",children:(0,va.jsx)("div",{className:"form--subspt--item ",children:(0,va.jsx)("div",{className:"row",children:(0,va.jsx)("div",{className:"col-sm-12 col-md-12 col-lg-12",children:(0,va.jsx)("div",{className:"ppa-form-consent",children:(0,va.jsxs)("label",{className:"ppa-form-radio-checkitem",children:[(0,va.jsx)("span",{className:"normal-case",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(y=e.fields)||void 0===y?void 0:y.ConsentMarketing})}),(0,va.jsx)("input",{type:"checkbox",name:"MarketingConsent",id:"MarketingConsent",value:"agree",className:"input-radio"}),(0,va.jsx)("span",{className:"ppa-form-radio-checkbox"})]})})})})})})})]}),(0,va.jsxs)("div",{className:"ppa-section-content mt-[30px] lg:mt-[50px] lg:flex lg:flex-col lg:items-start",children:[(0,va.jsx)("div",{className:"ppa-section-item",children:(0,va.jsx)(mU,{wrapperCssClass:"bg-transparent",elementCssClass:"thc",fnUpdate:e=>{C(e)},name:"ppa"})}),(0,va.jsx)("div",{className:"ppa-section-item",children:(0,va.jsx)("button",{type:"submit",name:"button",className:"btn btn--mega btn--white",disabled:!E,onClick:e=>{let l=new EB("ppa",(0,xJ.AB)(V),$("#MarketingConsent").is(":checked"));EH(V,l)},children:(0,va.jsx)("span",{children:O(mT.W.APARTMENTSENQUIRYFORM.SUBMITBUTTON)||"Submit Button"})})})]})]})})]})]})})})]})},C8=(0,vp.C)()(e=>{var l,i,s,n,a;let d=C5(null==e?void 0:e.params),{locale:t}=(0,vT.QT)();return(0,va.jsx)(vW,{className:"bg-uh-white text-uh-black",children:(0,va.jsx)(vH,{className:vP({"max-lg:pt-[50px]":d.MobilePaddingTop,"max-lg:pb-[50px]":d.MobilePaddingBottom,"lg:pt-[120px]":d.DesktopPaddingTop,"lg:pb-[120px]":d.DesktopPaddingBottom}),children:(0,va.jsxs)("div",{className:"col-span-full",children:[(0,va.jsx)(uf,{tag:"div",className:"mb-[20px]",variant:"subhead",Text:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Title}),(0,va.jsx)("div",{className:"mt-[20px] [--swiper-navigation-size:40px]",children:(0,va.jsx)(SO.tq,{spaceBetween:15,slidesPerView:"auto",modules:[yL.W_],navigation:!0,className:"uh-swiper",children:!!(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Items)||void 0===i?void 0:i.length)&&(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Items)||void 0===n?void 0:n.map((e,l)=>{var i,s,n,a,d;return(0,va.jsx)(SO.o5,{className:"!w-fit text-left",children:(0,va.jsxs)("a",{href:(0,vS.at)(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,t()),children:[(0,va.jsx)("div",{className:"h-[310px] w-[250px]",children:(0,va.jsx)(m7,{className:"w-full h-full object-cover object-center",field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Image})}),(0,va.jsx)(uf,{tag:"div",variant:"body",className:"mt-[10px] font-bold uppercase",Text:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Title})]})},l)}))})})]})})})});let C7=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;return(0,va.jsxs)(vW,{className:"stay-at-info stay-at-info-mobile bg-white pb-[45px] lg:pb-0 UhContactUsLeftContent",children:[(0,va.jsx)(uf,{Text:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Title,variant:"heading",tag:"div",className:"mb-[20px]",HideIfEmpty:!0}),(0,va.jsx)(bN,{Text:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Content,variant:"body",tag:"div",className:"mb-[40px]",HideIfEmpty:!0}),(0,va.jsxs)("div",{className:"flex flex-col items-start gap-[10px] lg:gap-[20px] mb-[40px] last:mb-0",children:[!!(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Location.value)&&(0,va.jsxs)("div",{className:"flex justify-center items-baseline gap-[10px]",children:[(0,va.jsx)("img",{src:"/upper-house/location-icon.png",className:"inline w-[20px] h-[13px]"}),(0,va.jsx)(bN,{Text:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Location,variant:"body",tag:"div",HideIfEmpty:!0})]}),!!(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Telephone.value)&&(0,va.jsxs)("div",{className:"flex justify-center items-baseline gap-[10px]",children:[(0,va.jsx)("img",{src:"/upper-house/telephone-icon.png",className:"inline w-[20px] h-[13px]"}),(0,va.jsx)(bN,{Text:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Telephone,variant:"body",tag:"div",HideIfEmpty:!0})]}),!!(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Fax.value)&&(0,va.jsxs)("div",{className:"flex justify-center items-baseline gap-[10px]",children:[(0,va.jsx)("img",{src:"/upper-house/fax-icon.png",className:"inline w-[20px] h-[13px]"}),(0,va.jsx)(bN,{Text:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.Fax,variant:"body",tag:"div",HideIfEmpty:!0})]}),!!(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:r.Email.value)&&(0,va.jsxs)("div",{className:"flex justify-center items-baseline gap-[10px]",children:[(0,va.jsx)("img",{src:"/upper-house/email-icon.png",className:"inline w-[20px] h-[13px]"}),(0,va.jsx)(bN,{Text:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.Email,variant:"body",tag:"div",HideIfEmpty:!0})]})]}),!!(null===(v=e.fields)||void 0===v?void 0:v.LinkButtonList.length)&&(0,va.jsx)("div",{className:"flex flex-wrap gap-x-[40px] gap-y-[20px]",children:null===(u=e.fields)||void 0===u?void 0:u.LinkButtonList.map(e=>(0,va.jsx)("div",{children:(0,va.jsx)(fa,{TEXT:e.fields.LinkTitle,URL:e.fields.Link,hideIconAngle:!0,ButtonVariant:"cta-type-b",hideLinkIfEmpty:!0})},e.id))})]})};
1var C9=i(47398),Oe=i(62469);let Ol=e=>{let{items:l,itemClassName:i,triggerClassName:s,titleClassName:n,contentClassName:a,expanded:d}=e,t=[];d&&(t=l.map(e=>String(e.id)));let o="overflow-hidden ".concat(d?"":"border-b-[1px]"),r="pt-[20px] lg:pt-[25px] pb-[20px] lg:pb-[25px] group w-full flex justify-between items-start lg:gap-[20px] ".concat(d?"!cursor-text":"");return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(C9.fC,{type:"multiple",disabled:!!d,defaultValue:t,children:l.map(e=>{var l,t;return(0,va.jsxs)(C9.ck,{value:e.id,className:vP(o,i),children:[(0,va.jsxs)(C9.xz,{className:vP(r,"".concat(e.title?"":"pb-0"),s),children:[(0,va.jsxs)("div",{className:"flex items-baseline gap-[10px] lg:gap-[20px] flex-1",children:[!!(null===(t=e.icon)||void 0===t?void 0:null===(l=t.value)||void 0===l?void 0:l.src)&&(0,va.jsx)(m7,{field:e.icon}),(0,va.jsx)(uf,{variant:"body",Text:e.title,tag:"div",className:vP("text-[14px] lg:text-[18px] leading-[26px] !font-[700] uppercase text-left",n),HideIfEmpty:!0})]}),!d&&(0,va.jsxs)("div",{children:[(0,va.jsx)(Oe.pOD,{className:"group-data-[state=open]:hidden text-[#968359]"}),(0,va.jsx)(Oe.V_R,{className:"group-data-[state=closed]:hidden text-[#968359]"})]})]}),(0,va.jsx)(C9.VY,{className:vP("transition-all data-[state=open]:animate-accordion-down data-[state=closed]:animate-accordion-up",a),children:e.children})]},e.id)})})})},Oi=e=>{var l,i,s,n;let{isLgScreen:a}=EG(),d=C5(null==e?void 0:e.params),t=(0,vd.useMemo)(()=>a?{paddingTop:d.DesktopPaddingTop&&d.DesktopPaddingTopSize?"".concat(d.DesktopPaddingTopSize,"px"):"0px",paddingBottom:d.DesktopPaddingBottom&&d.DesktopPaddingBottomSize?"".concat(d.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:d.MobilePaddingTop&&d.MobilePaddingTopSize?"".concat(d.MobilePaddingTopSize,"px"):"0px",paddingBottom:d.MobilePaddingBottom&&d.MobilePaddingBottomSize?"".concat(d.MobilePaddingBottomSize,"px"):"0px"},[a,d]),o=e=>{var l,i;return(0,va.jsxs)("div",{className:"flex flex-col gap-[20px] lg:gap-[40px] pb-[20px] lg:pb-[25px]",children:[!!e.fields.Content.value&&(0,va.jsx)(bN,{Text:e.fields.Content,variant:"body",tag:"div",HideIfEmpty:!0}),!!(null===(i=e.fields)||void 0===i?void 0:null===(l=i.ItemList)||void 0===l?void 0:l.length)&&e.fields.ItemList.map(e=>{var l,i,s,n;return(0,va.jsxs)("div",{id:e.id,className:"flex flex-col gap-[10px] lg:gap-[20px] lg:pr-[24px]",children:[!!(null===(l=e.fields)||void 0===l?void 0:l.Title.value)&&(0,va.jsx)(bN,{Text:null===(i=e.fields)||void 0===i?void 0:i.Title,variant:"body",tag:"div",className:"font-bold uppercase text-[#000]/40",HideIfEmpty:!0}),!!(null===(s=e.fields)||void 0===s?void 0:s.Content.value)&&(0,va.jsx)(bN,{Text:null===(n=e.fields)||void 0===n?void 0:n.Content,variant:"body",tag:"div",HideIfEmpty:!0,className:"list-disc"})]},e.id)})]})};return(0,va.jsx)(vW,{className:"bg-white UhContactUsRightContent targetrefresh",children:(0,va.jsxs)("div",{style:t,children:[!!e.fields.Title.value&&(0,va.jsx)(bN,{Text:e.fields.Title,variant:"subhead",tag:"div",HideIfEmpty:!0}),!!e.fields.Content.value&&(0,va.jsx)(bN,{Text:e.fields.Content,variant:"body",tag:"div",HideIfEmpty:!0,className:"mt-[20px] lg:mt-[40px]"}),!!(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.ItemList.length)&&(0,va.jsx)(Ol,{items:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.ItemList.map(e=>{var l;return{id:e.id,title:e.fields.Title.value,icon:null===(l=e.fields)||void 0===l?void 0:l.Icon,children:o(e)}}),expanded:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Expanded)||void 0===s?void 0:s.value})]})})},Os=e=>{var l,i,s;return(0,va.jsxs)(vW,{className:"Award-Area bg-white",children:[(0,va.jsx)(uf,{Text:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Title,variant:"subhead",tag:"div",className:"mb-[20px] lg:mb-[40px]",HideIfEmpty:!0}),!!(null===(i=e.fields)||void 0===i?void 0:i.Items.length)&&(0,va.jsx)("div",{className:"flex flex-col gap-y-[20px]",children:null===(s=e.fields)||void 0===s?void 0:s.Items.map(e=>{var l,i;return(0,va.jsxs)("div",{children:[(0,va.jsx)(uf,{Text:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Title,variant:"content-2",tag:"div",HideIfEmpty:!0}),(0,va.jsx)(uf,{Text:null===(i=e.fields)||void 0===i?void 0:i.Remarks,variant:"tagContent",tag:"div",HideIfEmpty:!0})]})})})]})},On=e=>{var l;let{isLgScreen:i}=EG(),s=C5(null==e?void 0:e.params),n=(0,vd.useMemo)(()=>i?{paddingTop:s.DesktopPaddingTop?s.DesktopPaddingTopSize?"".concat(s.DesktopPaddingTopSize,"px"):"60px":"0px",paddingBottom:s.DesktopPaddingBottom&&s.DesktopPaddingBottomSize?"".concat(s.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:s.MobilePaddingTop?s.MobilePaddingTopSize?"".concat(s.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:s.MobilePaddingBottom&&s.MobilePaddingBottomSize?"".concat(s.MobilePaddingBottomSize,"px"):"0px"},[i,s]);return(0,va.jsx)(vW,{className:"ContentImage bg-white",children:(0,va.jsx)("div",{style:n,children:(0,va.jsx)(m7,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Image,className:"object-cover w-full"})})})},Oa=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee;let{sitecoreContext:el}=(0,vr.z)(),ei=(null===(a=el.route)||void 0===a?void 0:null===(n=a.fields)||void 0===n?void 0:null===(s=n.Tag)||void 0===s?void 0:null===(i=s.fields)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value)?null===(c=el.route)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:null===(o=r.Tag)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:null===(d=t.Title)||void 0===d?void 0:d.value:"",es=e=>{var l,i,s,n,a,d,t,o,r,c;if((null===(l=el.route)||void 0===l?void 0:l.templateId)===E_.detailPage_restaurants){let l=new ER((0,xJ.AB)(el),null===(n=el.route)||void 0===n?void 0:n.name,e.currentTarget.textContent,e.currentTarget.href);EH(el,l)}else if((null===(i=el.route)||void 0===i?void 0:i.templateId)===E_.detailPage_room){let e=new EP((0,xJ.AB)(el),"button","Body_Book Now");EH(el,e)}else if((null===(s=el.route)||void 0===s?void 0:s.templateId)===E_.detailPage_offer){let e=new EA((0,xJ.AB)(el,null===(a=el.route)||void 0===a?void 0:a.itemLanguage)+"/"+(null===(d=el.route)||void 0===d?void 0:d.fields.Title.value),null===(c=el.route)||void 0===c?void 0:null===(r=c.fields.Tag)||void 0===r?void 0:null===(o=r.fields)||void 0===o?void 0:null===(t=o.Title)||void 0===t?void 0:t.value,"offer book now","button","Body CTA_Book Now");EH(el,e)}};return(0,va.jsx)(vW,{className:"Detail-Page-Info stay-at-info stay-at-info-mobile bg-white",children:(0,va.jsxs)("div",{className:"flex flex-col lg:gap-y-[40px] gap-y-[20px]",children:[(0,va.jsxs)("div",{className:"flex flex-col space-y-[20px]",children:[!!ei&&(0,va.jsx)(uf,{Text:ei,variant:"content-2",tag:"div",className:"w-full opacity-[50%]"}),!!(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Title)||void 0===v?void 0:v.value)&&(0,va.jsx)(bN,{Text:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:m.Title,variant:(null===(p=e.fields)||void 0===p?void 0:null===(x=p.SmallTitle)||void 0===x?void 0:x.value)?"subhead":"heading",tag:"div",className:"w-full"}),!!(null==e?void 0:null===(f=e.fields)||void 0===f?void 0:null===(h=f.Content)||void 0===h?void 0:h.value)&&(0,va.jsx)(bN,{Text:null==e?void 0:null===(g=e.fields)||void 0===g?void 0:g.Content,variant:"body",tag:"div",className:"w-full"})]}),(!!(null==e?void 0:null===(N=e.fields)||void 0===N?void 0:null===(j=N.Location)||void 0===j?void 0:j.value)||!!(null==e?void 0:null===(T=e.fields)||void 0===T?void 0:null===(b=T.Telephone)||void 0===b?void 0:b.value)||!!(null==e?void 0:null===(k=e.fields)||void 0===k?void 0:null===(S=k.Fax)||void 0===S?void 0:S.value)||!!(null==e?void 0:null===(y=e.fields)||void 0===y?void 0:null===(w=y.Email)||void 0===w?void 0:w.value))&&(0,va.jsxs)("div",{className:"flex flex-col items-start gap-[10px] lg:gap-[20px]",children:[!!(null==e?void 0:null===(C=e.fields)||void 0===C?void 0:null===(E=C.Location)||void 0===E?void 0:E.value)&&(0,va.jsxs)("div",{className:"flex justify-center items-baseline gap-[10px]",children:[(0,va.jsx)("img",{src:"/upper-house/location-icon.png",className:"inline w-[20px] h-[13px]"}),(0,va.jsx)(bN,{Text:null==e?void 0:null===(O=e.fields)||void 0===O?void 0:O.Location,variant:"body",tag:"div",HideIfEmpty:!0})]}),!!(null==e?void 0:null===(I=e.fields)||void 0===I?void 0:null===(L=I.Telephone)||void 0===L?void 0:L.value)&&(0,va.jsxs)("div",{className:"flex justify-center items-baseline gap-[10px]",children:[(0,va.jsx)("img",{src:"/upper-house/telephone-icon.png",className:"inline w-[20px] h-[13px]"}),(0,va.jsx)(bN,{Text:null==e?void 0:null===(F=e.fields)||void 0===F?void 0:F.Telephone,variant:"body",tag:"div",HideIfEmpty:!0})]}),!!(null==e?void 0:null===(M=e.fields)||void 0===M?void 0:null===(_=M.Fax)||void 0===_?void 0:_.value)&&(0,va.jsxs)("div",{className:"flex justify-center items-baseline gap-[10px]",children:[(0,va.jsx)("img",{src:"/upper-house/fax-icon.png",className:"inline w-[20px] h-[13px]"}),(0,va.jsx)(bN,{Text:null==e?void 0:null===(R=e.fields)||void 0===R?void 0:R.Fax,variant:"body",tag:"div",HideIfEmpty:!0})]}),!!(null==e?void 0:null===(A=e.fields)||void 0===A?void 0:null===(P=A.Email)||void 0===P?void 0:P.value)&&(0,va.jsxs)("div",{className:"flex justify-center items-baseline gap-[10px]",children:[(0,va.jsx)("img",{src:"/upper-house/email-icon.png",className:"inline w-[20px] h-[13px]"}),(0,va.jsx)(bN,{Text:null==e?void 0:null===(D=e.fields)||void 0===D?void 0:D.Email,variant:"body",tag:"div",HideIfEmpty:!0})]})]}),!!(null===(V=e.fields)||void 0===V?void 0:null===(B=V.PropertyContentList)||void 0===B?void 0:B.length)&&(0,va.jsx)("div",{className:"flex flex-col items-start gap-[10px] lg:gap-[20px]",children:null===(W=e.fields)||void 0===W?void 0:W.PropertyContentList.map(e=>{var l,i;return(0,va.jsxs)("div",{className:"flex justify-center items-baseline gap-[10px]",children:[(0,va.jsx)(m7,{field:null===(l=e.fields)||void 0===l?void 0:l.Icon,className:"inline w-[20px] h-[13px]"}),(0,va.jsx)(bN,{Text:null===(i=e.fields)||void 0===i?void 0:i.Title,variant:"body",tag:"div",HideIfEmpty:!0})]})})}),!!(null==e?void 0:null===(G=e.fields)||void 0===G?void 0:null===(H=G.ExtraContentList)||void 0===H?void 0:H.length)&&(0,va.jsx)("div",{className:"lg:w-[44.444444%] w-full",children:(0,va.jsx)("div",{className:"border-b-[1px] border-uh-neutral-grey",children:null==e?void 0:null===(U=e.fields)||void 0===U?void 0:U.ExtraContentList.map(e=>(0,va.jsxs)("div",{className:"border-x-[1px] border-t-[1px] border-uh-neutral-grey p-[10px]",children:[(0,va.jsx)(bN,{Text:null==e?void 0:e.fields.Title,tag:"div",variant:"body",className:""}),(0,va.jsx)(bN,{Text:null==e?void 0:e.fields.Content,tag:"div",variant:"body",className:"opacity-50"})]}))})}),!!(null==e?void 0:null===(q=e.fields)||void 0===q?void 0:null===(z=q.Remarks)||void 0===z?void 0:z.value)&&(0,va.jsx)("div",{className:"border-l-[5px] border-l-uh-gold w-full",children:(0,va.jsx)(bN,{Text:null===(Q=e.fields)||void 0===Q?void 0:Q.Remarks,tag:"div",variant:"body",className:"lg:pl-[20px] pl-[15px] opacity-50"})}),!!(null==e?void 0:null===(K=e.fields)||void 0===K?void 0:null===(Y=K.LinkButtonList)||void 0===Y?void 0:Y.length)&&(0,va.jsx)("div",{className:"w-full flex flex-wrap lg:flex-row lg:gap-x-[40px] gap-x-[20px] gap-y-[20px]",children:null==e?void 0:null===(Z=e.fields)||void 0===Z?void 0:Z.LinkButtonList.map(e=>{var l,i,s,n;return(0,va.jsx)(fa,{TEXT:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.LinkTitle,URL:e.fields.Link,hideIconAngle:!0,ButtonVariant:"cta-type-b",Target:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.target,hideLinkIfEmpty:!0,onClick:es})})}),!!(null==e?void 0:null===(X=e.fields)||void 0===X?void 0:null===(J=X.FileLinkList)||void 0===J?void 0:J.length)&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"w-full flex flex-row flex-warp gap-x-[20px]",children:null==e?void 0:null===(ee=e.fields)||void 0===ee?void 0:ee.FileLinkList.map(e=>{var l,i,s,n,a,d,t,o,r,c,v;return(0,va.jsx)(va.Fragment,{children:(0,va.jsxs)(uv,{href:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Link)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href,target:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Link)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.target,className:"flex flex-row gap-x-[10px] items-center cursor-pointer",children:[!!(null===(o=e.fields)||void 0===o?void 0:null===(t=o.Icon)||void 0===t?void 0:t.value)&&(0,va.jsx)(m7,{className:"w-[16px] h-[16px]",field:null===(r=e.fields)||void 0===r?void 0:r.Icon}),(0,va.jsx)(uf,{Text:null===(v=e.fields)||void 0===v?void 0:null===(c=v.LinkTitle)||void 0===c?void 0:c.value,tag:"div",className:"font-Amiko font-bold text-[14px]/[14px] lg:text-[16
1px]/[16px] uppercase after:block after:h-[2px] after:bg-[#968359]",HideIfEmpty:!0})]})})})})})]})})},Od=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let{isLogged:m}=EK(),{sitecoreContext:x}=(0,vr.z)();return(0,va.jsx)("section",{className:"relative text-white pt-[100px] pb-[70px] lg:py-0",children:(0,va.jsxs)("div",{className:"w-full lg:h-[500px] lg:pt-[130px]",children:[(0,va.jsx)("div",{className:"absolute h-full w-full top-0 left-0 z-0",children:(0,va.jsx)("div",{className:"bg-cover h-full w-full bg-top bg-no-repeat",style:{backgroundImage:"url(".concat(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Image)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src,")")}})}),(0,va.jsx)("div",{className:"absolute left-0 top-0 w-full h-full bg-black opacity-50"}),(0,va.jsx)(vH,{className:"relative",children:(0,va.jsxs)(v6,{className:"lg:col-span-6 lg:col-start-4 text-center col-span-4 translate-y-[40px]",duration:1,scrub:!0,start:"top 75%",ease:"power2.out",children:[(0,va.jsx)(uf,{tag:"h2",Text:null===(n=e.fields)||void 0===n?void 0:n.Title,variant:"heading"}),(0,va.jsx)(bN,{tag:"div",Text:null===(a=e.fields)||void 0===a?void 0:a.Content,variant:"body",className:"mt-[20px] lg:mx-[-20px]"}),(null===(t=e.fields)||void 0===t?void 0:null===(d=t.LinkTitle)||void 0===d?void 0:d.value)&&(0,va.jsx)("div",{className:"mt-[20px] lg:mt-[40px]",children:(0,va.jsx)(fa,{hideIconAngle:!0,ButtonVariant:"cta-type-b-reverse",hideLinkIfEmpty:!0,URL:null===(o=e.fields)||void 0===o?void 0:o.Link,TEXT:null===(r=e.fields)||void 0===r?void 0:r.LinkTitle,Target:null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Link)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.target,onClick:l=>{var i,s;EH(x,new ED(m?"login":"signup",0,"pre-login","signup cta",m?"login":"signup","button",e.fields.Title.value+"_"+(null===(s=e.fields)||void 0===s?void 0:null===(i=s.LinkTitle)||void 0===i?void 0:i.value)))}})})]})})]})})};var Ot=(0,vp.C)()(e=>{let{isLogged:l}=EK();return(0,va.jsxs)(va.Fragment,{children:[!l&&(0,va.jsx)(Od,{fields:{Image:e.fields.Image,Title:e.fields.Title,Content:e.fields.Content,Link:e.fields.Link,LinkTitle:e.fields.LinkTitle}}),l&&(0,va.jsx)(Od,{fields:{Image:e.fields.PostLoginImage,Title:e.fields.PostLoginTitle,Content:e.fields.PostLoginContent,Link:e.fields.PostLoginLink,LinkTitle:e.fields.PostLoginLinkTitle}})]})}),Oo=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g;let{isLgScreen:j}=EG(),N=(0,vd.useRef)(null),b=C5(null==e?void 0:e.params),T=(0,vd.useMemo)(()=>j?{paddingTop:b.DesktopPaddingTop?b.DesktopPaddingTopSize?"".concat(b.DesktopPaddingTopSize,"px"):"100px":"0px",paddingBottom:b.DesktopPaddingBottom?b.DesktopPaddingBottomSize?"".concat(b.DesktopPaddingBottomSize,"px"):"100px":"0px"}:{paddingTop:b.MobilePaddingTop?b.MobilePaddingTopSize?"".concat(b.MobilePaddingTopSize,"px"):"50px":"0px",paddingBottom:b.MobilePaddingBottom?b.MobilePaddingBottomSize?"".concat(b.MobilePaddingBottomSize,"px"):"50px":"0px"},[j,b]);return(0,va.jsx)(vW,{className:vP("relative UhContentBlockPeople",{"bg-[#E2E2E2] text-black":null===(i=e.fields)||void 0===i?void 0:null===(l=i.ShowGreyBackgroundColor)||void 0===l?void 0:l.value,"text-white":!(null===(n=e.fields)||void 0===n?void 0:null===(s=n.ShowGreyBackgroundColor)||void 0===s?void 0:s.value)}),children:(0,va.jsxs)("div",{className:vP("overflow-hidden relative"),style:T,children:[!(null===(d=e.fields)||void 0===d?void 0:null===(a=d.ShowGreyBackgroundColor)||void 0===a?void 0:a.value)&&(0,va.jsx)("div",{className:"bg-uh-white/1 backdrop-blur-[20px] absolute w-full h-full top-0 left-0"}),(0,va.jsxs)(vH,{className:"gap-y-[40px]",children:[(0,va.jsx)("div",{className:"col-span-3 col-start-2 lg:hidden",children:(0,va.jsx)(v6,{className:"translate-y-[50px]",children:(0,va.jsx)(uf,{variant:"heading",Text:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Title,tag:"div"})})}),(0,va.jsx)("div",{className:"col-span-3 overflow-hidden lg:col-span-5",children:(0,va.jsxs)(v3,{className:"-translate-x-[50px] lg:-translate-y-[40px] lg:translate-x-0",end:"+=250",duration:1,start:"top 75%",scrub:!1,children:[(0,va.jsx)(SO.tq,{className:"h-[320px] lg:h-auto",effect:"fade",modules:[yL.xW,yL.pt],fadeEffect:{crossFade:!0},autoplay:{delay:4e3},speed:800,onAutoplayTimeLeft:(e,l,i)=>{N.current&&(N.current.style.width="".concat((1-i)*100,"%"))},allowTouchMove:!1,children:(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Items)||void 0===o?void 0:o.length)&&(null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(c=v.Items)||void 0===c?void 0:c.map((e,l)=>{var i;return(0,va.jsx)(SO.o5,{className:"text-left",children:(0,va.jsx)(m7,{className:"w-full h-full object-cover lg:aspect-[4/5] aspect-[4/5]",field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.CoverImage})},l)}))}),(0,va.jsx)("div",{className:vP(!((null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Items)||void 0===u?void 0:u.length)>1)&&"hidden"),children:(0,va.jsx)("div",{className:"bg-uh-gold h-[3px] w-0",ref:N})})]})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-7 flex items-center",children:(0,va.jsx)(v4,{className:"translate-x-[40px] w-full",duration:1,scrub:!1,start:"top 75%",children:(0,va.jsxs)("div",{className:"w-full lg:flex lg:flex-col lg:h-full lg:justify-center",children:[(0,va.jsx)("div",{className:"hidden lg:grid grid-cols-7 gap-x-[20px] lg:mb-[40px]",children:(0,va.jsx)(uf,{variant:"heading",Text:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:x.Title,tag:"div",className:"col-span-6 col-start-2"})}),(0,va.jsx)(SO.tq,{className:"lg:w-full lg:mt-[40px]",effect:"fade",modules:[yL.xW,yL.pt],fadeEffect:{crossFade:!0},autoplay:{delay:4e3},speed:800,allowTouchMove:!1,children:(null==e?void 0:null===(h=e.fields)||void 0===h?void 0:null===(p=h.Items)||void 0===p?void 0:p.length)&&(null==e?void 0:null===(g=e.fields)||void 0===g?void 0:null===(f=g.Items)||void 0===f?void 0:f.map((l,i)=>{var s,n,a,d,t,o,r,c,v,u,m,x,p;
1return(0,va.jsxs)(SO.o5,{className:"text-left !grid grid-cols-4 gap-x-[15px] lg:grid-cols-7 lg:gap-x-[20px] items-start justify-items-start",children:[(0,va.jsx)("div",{className:"col-span-1 justify-self-end",children:(0,va.jsx)("img",{src:"".concat((null===(n=e.fields)||void 0===n?void 0:null===(s=n.ShowGreyBackgroundColor)||void 0===s?void 0:s.value)?"/upper-house/quote-black.png":"/upper-house/quote.svg"),alt:"quote",className:"inline w-[23px] h-auto lg:w-[34px]"})}),(0,va.jsxs)("div",{className:"col-span-3 lg:col-span-6",children:[(0,va.jsx)(uf,{variant:"body",Text:null==l?void 0:null===(a=l.fields)||void 0===a?void 0:a.Quote,tag:"div",className:"mb-[10px] lg:mb-[20px]"}),(0,va.jsx)(m7,{field:null==l?void 0:null===(d=l.fields)||void 0===d?void 0:d.Signature,className:"h-[100px] w-auto max-w-none my-[10px] lg:my-[20px]"}),(0,va.jsx)(uf,{variant:"cta",Text:null==l?void 0:null===(t=l.fields)||void 0===t?void 0:t.QuotedBy,tag:"div",className:"my-[10px] lg:my-[20px]"}),(0,va.jsx)(uf,{variant:"body",Text:null==l?void 0:null===(o=l.fields)||void 0===o?void 0:o.Position,tag:"div",className:"mt-[10px]"}),(null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.LinkTitle)||void 0===r?void 0:r.value)&&(0,va.jsx)(fa,{className:vP("mt-[20px] lg:mt-[40px] border-[1px]",{"text-black !border-black":null===(u=e.fields)||void 0===u?void 0:null===(v=u.ShowGreyBackgroundColor)||void 0===v?void 0:v.value}),ButtonVariant:"cta-type-b-reverse",URL:e.fields.Link,TEXT:e.fields.LinkTitle,hideIconAngle:!0,hideLinkIfEmpty:!0,Target:null==e?void 0:null===(p=e.fields)||void 0===p?void 0:null===(x=p.Link)||void 0===x?void 0:null===(m=x.value)||void 0===m?void 0:m.target})]})]},"info-".concat(i))}))})]})})})]})]})})};let Or=e=>{var l,i,s;let n=Array.from({length:(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.length)?Math.ceil(6/(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Items.length)):0}).flatMap(()=>e.fields.Items),{locale:a}=(0,vT.QT)();return(0,va.jsx)("div",{className:"flex animate-infinite-scroll",children:(null==n?void 0:n.length)&&(null==n?void 0:n.map((l,i)=>{var s,n,d,t,o,r,c,v,u;let m=()=>{var i,s,n,a,d;return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"mb-[10px] relative",children:[(0,va.jsx)("div",{className:"aspect-[320/400] h-[310px] lg:h-[400px]",children:(0,va.jsx)(m7,{field:null===(i=l.fields)||void 0===i?void 0:i.Image,className:"object-cover object-top w-full h-full max-w-none"})}),(0,va.jsx)("div",{className:vP("absolute top-0 left-0 w-full h-full",!(null===(n=e.fields)||void 0===n?void 0:null===(s=n.RemoveBackgroundMask)||void 0===s?void 0:s.value)&&"bg-black/40","py-[60px] px-[30px]"),children:(0,va.jsx)(m7,{field:null===(a=l.fields)||void 0===a?void 0:a.LogoImage,className:"object-contain w-full h-full"})})]}),(0,va.jsx)("div",{className:"mt-[10px]",children:(0,va.jsx)(uf,{tag:"span",variant:"subhead-1",Text:null===(d=l.fields)||void 0===d?void 0:d.LinkTitle})})]})};return(0,va.jsx)("div",{className:vP("mr-[15px] lg:mr-[20px]"),children:(null===(d=l.fields)||void 0===d?void 0:null===(n=d.Link)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.href)?(0,va.jsx)(vk,{field:{...null===(t=l.fields)||void 0===t?void 0:t.Link,value:{...null===(r=l.fields)||void 0===r?void 0:null===(o=r.Link)||void 0===o?void 0:o.value,href:(0,vS.at)(null===(u=l.fields)||void 0===u?void 0:null===(v=u.Link)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.href,a())}},children:m()}):m()},i)}))})};var Oc=(0,vp.C)()(e=>{var l,i,s,n,a,d,t;return(0,va.jsx)(vW,{className:"text-uh-black",children:(0,va.jsxs)("div",{className:"bg-uh-white lg:bg-uh-neutral-grey pt-[100px] pb-[50px] lg:pt-[120px] lg:pb-[90px]",children:[(0,va.jsx)(vH,{className:"mb-[40px] lg:mb-[30px]",children:(0,va.jsx)("div",{className:"col-span-3 mb-[40px] lg:mb-[30px] lg:col-span-full lg:text-center",children:(0,va.jsx)(uf,{Text:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Title,variant:"heading",tag:"span"})})}),(0,va.jsx)("div",{className:"my-[40px] lg:my-[30px]",children:(0,va.jsxs)("div",{className:"inline-flex w-full overflow-hidden flex-nowrap",children:[(0,va.jsx)(Or,{...e}),(0,va.jsx)(Or,{...e})]})}),(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.LinkTitle.value)&&(0,va.jsx)(vH,{className:"mt-[40px] lg:mt-[60px]",children:(0,va.jsx)("div",{className:"col-span-full lg:text-center",children:(0,va.jsx)(fa,{hideIconAngle:!0,ButtonVariant:"cta-type-b",TEXT:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.LinkTitle,URL:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Link,hideLinkIfEmpty:!0,Target:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.target})})})]})})});let Ov=e=>{var l;let{locale:i}=(0,vT.QT)(),s=Array.from({length:(null===(l=e.Items)||void 0===l?void 0:l.length)?Math.
1ceil(6/e.Items.length):0}).flatMap(()=>e.Items);return!!s.length&&(0,va.jsx)("div",{className:"w-full inline-flex flex-nowrap h-full overflow-hidden",children:Array.from({length:2}).map((e,l)=>(0,va.jsx)("ul",{className:"flex items-center gap-[80px] mr-[80px] [&_img]:max-w-none [&_img]:max-h-full animate-infinite-scroll",children:s.map((e,l)=>(0,va.jsx)("li",{children:(0,va.jsx)(vk,{field:null==e?void 0:e.Link,children:(0,va.jsx)(m7,{field:e.Image})})},l))},l))})};vL.p8.registerPlugin(vI.V),vL.p8.registerPlugin(vF.ScrollTrigger);var Ou=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h;let{isLgScreen:f}=EG(),g=C5(null==e?void 0:e.params),j=(0,vd.useRef)(null),N=null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.map(e=>{var l,i,s,n;return{Image:(null===(l=e.fields)||void 0===l?void 0:l.TitleImage)||(null===(i=e.fields)||void 0===i?void 0:i.Image),Link:null===(s=e.fields)||void 0===s?void 0:s.Link,LinkTitle:null===(n=e.fields)||void 0===n?void 0:n.LinkTitle}}),b={};(null==e?void 0:null===(s=e.params)||void 0===s?void 0:s.logoHeight)&&(b["--logo-height"]="".concat(e.params.logoHeight,"px")),(null==e?void 0:null===(n=e.params)||void 0===n?void 0:n.logoHeightMobile)&&(b["--logo-height-mobile"]="".concat(e.params.logoHeightMobile,"px"));let T=(0,vd.useMemo)(()=>f?{paddingTop:g.DesktopPaddingTop?g.DesktopPaddingTopSize?"".concat(g.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:g.DesktopPaddingBottom&&g.DesktopPaddingBottomSize?"".concat(g.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:g.MobilePaddingTop?g.MobilePaddingTopSize?"".concat(g.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:g.MobilePaddingBottom&&g.MobilePaddingBottomSize?"".concat(g.MobilePaddingBottomSize,"px"):"0px"},[f,g]);return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("section",{className:"relative text-white bg-white",ref:j,style:T,children:(0,va.jsxs)("div",{className:"w-full lg:min-h-[100vh] overflow-hidden relative",children:[(0,va.jsxs)("div",{children:[(0,va.jsx)("div",{className:"absolute left-0 top-0 w-full h-full bg-cover bg-no-repeat bg-top",style:{backgroundImage:"url(".concat(null===(t=e.fields)||void 0===t?void 0:null===(d=t.Image)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.src,")")}}),(0,va.jsx)("div",{className:"absolute left-0 top-0 w-full h-full bg-black opacity-50"})]}),(0,va.jsxs)("div",{className:"pt-[100px] pb-[100px] lg:pb-[160px] lg:pt-[200px]",children:[(0,va.jsx)(vH,{className:"relative",children:(0,va.jsxs)(v6,{className:"lg:col-span-5 lg:col-start-7 col-span-4 lg:translate-y-[40px]",duration:1,scrub:!1,start:"top 75%",children:[(0,va.jsx)(uf,{tag:"h1",Text:null===(o=e.fields)||void 0===o?void 0:o.Title,raw:!0,variant:"heading"}),(0,va.jsx)(bN,{Text:null===(r=e.fields)||void 0===r?void 0:r.Content,variant:"body",className:"mt-[20px]"}),(null===(v=e.fields)||void 0===v?void 0:null===(c=v.LinkTitle)||void 0===c?void 0:c.value)&&(0,va.jsx)(fa,{className:"mt-[20px] lg:mt-[40px]",ButtonVariant:"cta-type-b-reverse",TextTag:"span",TEXT:null===(u=e.fields)||void 0===u?void 0:u.LinkTitle,URL:null===(m=e.fields)||void 0===m?void 0:m.Link,hideIconAngle:!0,hideLinkIfEmpty:!0,Target:null==e?void 0:null===(h=e.fields)||void 0===h?void 0:null===(p=h.Link)||void 0===p?void 0:null===(x=p.value)||void 0===x?void 0:x.target})]})}),(0,va.jsx)(v6,{className:"w-full lg:translate-y-[40px]",duration:1,scrub:!1,start:"top 75%",children:(0,va.jsx)("div",{style:b,className:vP("mt-[80px] lg:mt-[80px] w-full h-[70px] ml-[20px] lg:h-[90px] [&_li_img]:max-h-[70px] lg:[&_li_img]:max-h-[90px]",!!b["--logo-height"]&&"lg:h-[var(--logo-height)] lg:[&_li_img]:max-h-[var(--logo-height)]",!!b["--logo-height-mobile"]&&"h-[var(--logo-height-mobile)] [&_li_img]:max-h-[var(--logo-height-mobile)]"),children:(0,va.jsx)(Ov,{Items:N})})})]})]})})})}),Om=()=>(0,va.jsx)(va.Fragment,{});vL.ZP.registerPlugin(vI.V),vL.ZP.registerPlugin(v_());var Ox=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h;let{isLgScreen:f}=EG(),g=C5(null==e?void 0:e.params),j=null===(l=e.fields.ShowImageOnLeft)||void 0===l?void 0:l.value,N=null===(n=e.fields)||void 0===n?void 0:null===(s=n.VideoLink)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href,b=(0,vd.useRef)(null),T=(0,vd.useRef)(null);(0,vI.V)(()=>{vL.ZP.to(T.current,{scrollTrigger:{trigger:T.current,start:"top 75%",end:"+=300",scrub:!1,invalidateOnRefresh:!0},x:0,y:0,opacity:1,ease:"power2.out",duration:1}),vL.ZP.to(b.current,{scrollTrigger:{trigger:b.current,start:"top 75%",end:"+=300",scrub:!1,invalidateOnRefresh:!0},x:0,y:0,opacity:1,ease:"power2.out",duration:1})});let S=(0,vd.useMemo)(()=>f?{paddingTop:g.DesktopPaddingTop?g.DesktopPaddingTopSize?"".concat(g.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:g.DesktopPaddingBottom&&g.DesktopPaddingBottomSize?"".concat(g.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:g.MobilePaddingTop?g.MobilePaddingTopSize?"".concat(g.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:g.MobilePaddingBottom&&g.MobilePaddingBottomSize?"".concat(g.MobilePaddingBottomSize,"px"):"0px"},[f,g]);return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vW,{className:" bg-uh-white text-uh-black UhContentBlockWellness",children:(0,va.jsxs)(vH,{className:"pt-[100px] pb-[50px] lg:flex lg:p-[70px] lg:gap-[70px] lg:flex-row lg:items-center",style:S,children:[(0,va.jsxs)("div",{className:vP("opacity-0 col-span-full",j&&"lg:order-last","translate-y-[50px] lg:translate-y-0",j&&"lg:translate-x-[40px]",!j&&"lg:-translate-x-[40px]"),ref:b,children:[(0,va.jsx)("div",{className:"mb-[20px]",children:(0,va.jsx)(uf,{tag:"h2",variant:"heading",Text:null===(a=e.fields)||void 0===a?void 0:a.Title})}),(0,va.jsx)(bN,{tag:"div",variant:"body",Text:null===(d=e.fields)||void 0===d?void 0:d.Content,className:"my-[20px]"}),(null===(o=e.fields)||void 0===o?void 0:null===(t=o.LinkTitle)||void 0===t?void 0:t.value)&&(0,va.jsx)("div",{className:"mt-[20px] lg:mt-[40px]",children:(0,va.jsx)(fa,{ButtonVariant:"cta-type-b",TEXT:null===(r=e.fields)||void 0===r?void 0:r.LinkTitle,URL:null===(c=e.fields)||void 0===c?void 0:c.Link,hideIconAngle:!0,hideLinkIfEmpty:!0,Target:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Link.value)||void 0===v?void 0:v.target})})]}),(0,va.jsx)("div",{className:vP("opacity-0 col-span-full lg:h-full lg:basis-1/2 lg:flex-shrink-0 lg:flex-grow-0","translate-y-[40px]"),ref:T,children:(0,va.jsxs)("div",{className:"aspect-[4/5] mt-[40px] lg:aspect-[4/5] lg:mt-0 lg:h-full",children:[!N&&(0,va.jsx)(m7,{field:null===(m=e.fields)||void 0===m?void 0:m.Image,className:"h-full w-full object-cover object-center"}),!!N&&(0,va.jsx)(CX,{rePlay:!0,cover:null===(h=e.fields)||void 0===h?void 0:null===(p=h.Image)||void 0===p?void 0:null===(x=p.value)||void 0===x?void 0:x.src,skinLayoutIgnore:["bigPlayButton"],videoStyle:"video-cover",className:"!h-full",source:N,id:"c".concat(e.rendering.uid,"--bg2")})]})})]})})})});let Op=e=>{var l,i,s,n,a;let{isLgScreen:d}=EG(),t=C5(null==e?void 0:e.params),o=(0,vd.useMemo)(()=>d?{paddingTop:t.DesktopPaddingTop?t.DesktopPaddingTopSize?"".concat(t.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:t.DesktopPaddingBottom&&t.DesktopPaddingBottomSize?"".concat(t.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:t.MobilePaddingTop?t.MobilePaddingTopSize?"".concat(t.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:t.MobilePaddingBottom&&t.MobilePaddingBottomSize?"".concat(t.MobilePaddingBottomSize,"px"):"0px"},[d,t]);return(0,va.jsx)(vW,{className:"Mutiple-Item-With-Image h-full content-center bg-white",children:(0,va.jsxs)(vH,{style:o,children:[(0,va.jsxs)("div",{className:"col-span-full lg:col-span-6 grid grid-cols-subgrid gap-y-[20px] content-center",children:[(0,va.jsx)(uf,{Text:null===(l=e.fields)||void 0===l?void 0:l.Title,variant:"subhead",tag:"div",className:"col-span-full lg:pb-[20px]",HideIfEmpty:!0}),!!(null===(i=e.fields)||void 0===i?void 0:i.Items.length)&&(null===(s=e.fields)||void 0===s?void 0:s.Items.map(e=>{var l,i,s,n;return(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid",children:[(0,va.jsx)(uf,{Text:null===(l=e.fields)||void 0===l?void 0:l.Title,variant:"content-1",tag:"div",className:"col-span-1 lg:col-span-2",HideIfEmpty:!0}),(0,va.jsxs)("div",{className:vP("col-span-3 lg:col-span-4 flex flex-col gap-y-[15px] lg:gap-y-[20px]"),children:[(0,va.jsx)(bN,{Text:null===(i=e.fields)||void 0===i?void 0:i.Content,variant:"body-content-1",tag:"div",className:vP("font-normal [&_p]:mb-0"),HideIfEmpty:!0}),!!(null===(s=e.fields)||void 0===s?void 0:s.Items.length)&&(null===(n=e.fields)||void 0===n?void 0:n.Items.map(e=>{var l;return(0,va.jsxs)("div",{children:[(0,va.jsx)(uf,{Text:null===(l=e.fields)||void 0===l?void 0:l.Title,variant:"content-1",tag:"div",className:"text-black/40 uppercase",HideIfEmpty:!0}),(0,va.jsx)(bN,{Text:e.fields.Content,variant:"body-content-1",tag:"div",className:vP("font-normal break-words whitespace-normal [&_p]:mb-0"),HideIfEmpty:!0})]})}))]})]})}))]}),(0,va.jsx)("div",{className:"lg:col-span-6 col-span-full lg:block hidden",children:(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Image)&&(0,va.jsx)(m7,{field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Image,className:"object-cover"})})]})})},Oh=(0,vd.createContext)({isInUhCostomizeTwoLayout:!1}),Of=e=>{let{children:l}=e;return(0,va.jsx)(Oh.Provider,{value:{isInUhCostomizeTwoLayout:!0},children:l})},Og=()=>(0,vd.useContext)(Oh);vL.ZP.registerPlugin(v_()),vL.ZP.registerPlugin(vI.V);var Oj=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei,es,en,ea,ed,et,eo,er,ec,ev,eu,em,ex,ep;let eh=(0,vd.useRef)(null),ef=(0,vd.useRef)(null),eg=(0,vd.useRef)(null),ej="left-content-".concat(e.params.DynamicPlaceholderId),eN="right-content-".concat(e.params.DynamicPlaceholderId),{isLgScreen:eb}=EG(),eT=C5(null==e?void 0:e.params),eS=(0,vd.useMemo)(()=>eb?{paddingTop:eT.DesktopPaddingTop&&eT.DesktopPaddingTopSize?"".concat(eT.DesktopPaddingTopSize,"px"):"0px",paddingBottom:eT.DesktopPaddingBottom&&eT.DesktopPaddingBottomSize?"".concat(eT.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:eT.MobilePaddingTop&&eT.MobilePaddingTopSize?"".concat(eT.MobilePaddingTopSize,"px"):"0px",paddingBottom:eT.MobilePaddingBottom&&eT.MobilePaddingBottomSize?"".concat(eT.MobilePaddingBottomSize,"px"):"0px"},[eb,eT]);(0,vI.V)(()=>{let l=vL.ZP.matchMedia(),i=null,s=null;return l.add({isDesktop:"(min-width: ".concat(992,"px)"),isMobile:"(max-width: ".concat(991,"px)")},l=>{var n,a,d,t,o;let r=l.conditions,c=!!(null==r?void 0:r.isDesktop),v=null,u=null===(n=eh.current)||void 0===n?void 0:n.querySelector(".stay-at-info"),m=null===(a=eh.current)||void 0===a?void 0:a.querySelector(".stay-at-images"),x=null===(d=eh.current)||void 0===d?void 0:d.querySelector(".left-content-container"),p=null===(t=eh.current)||void 0===t?void 0:t.querySelector(".right-content-container"),h=null===(o=eg.current)||void 0===o?void 0:o.querySelector("section");return s=m,c&&eh.current&&u&&h&&(v=v_().create({pin:u,trigger:eh.current,pinSpacing:c,start:"top-=120 top",end:()=>{var l,i,s,n;let a=x.offsetHeight+((null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.LeftPaddingTop)||void 0===l?void 0:l.value)||80),d=p.offsetHeight+((null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.RightPaddingTop)||void 0===s?void 0:s.value)||110);return"+=".concat(d-a)},invalidateOnRefresh:!0}),i=new ResizeObserver(()=>{v&&eh.current&&setTimeout(()=>{v_().refresh()},100)}
1),p&&i.observe(p)),()=>{v&&v.kill(),i&&s&&(i.unobserve(s),i.disconnect())}}),()=>{l.revert(),i&&s&&(i.unobserve(s),i.disconnect())}},{scope:eh}),(0,vI.V)(()=>{var e;let l=null===(e=eh.current)||void 0===e?void 0:e.querySelector(".stay-at-info"),i=ef.current;!l&&i&&vL.ZP.fromTo(i,{opacity:0,y:50},{scrollTrigger:{trigger:i,start:"top 80%",end:"+=300",scrub:!1},y:0,opacity:1,ease:"power1.out",duration:.5})},{scope:ef}),(0,vI.V)(()=>{var e;let l=null===(e=eh.current)||void 0===e?void 0:e.querySelector(".stay-at-info"),i=eg.current;if(!i)return;let s={y:0,opacity:1,ease:"power1.out",duration:.5};l?vL.ZP.fromTo(i,{opacity:0,y:100},s):vL.ZP.fromTo(i,{opacity:0,y:50},{...s,scrollTrigger:{trigger:i,start:"top 80%",end:"+=300",scrub:!1}})},{scope:eg});let ek={},ew={};return((null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.LeftColSpan)||void 0===l?void 0:l.value)||(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.LeftColSpan)||void 0===s?void 0:s.value)===0)&&(ek["--left-col-span"]="".concat(null==e?void 0:null===(Z=e.fields)||void 0===Z?void 0:null===(K=Z.LeftColSpan)||void 0===K?void 0:K.value)),((null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.LeftPaddingTop)||void 0===a?void 0:a.value)||(null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.LeftPaddingTop)||void 0===t?void 0:t.value)===0)&&(ek["--left-p-t"]="".concat(null==e?void 0:null===(X=e.fields)||void 0===X?void 0:null===(J=X.LeftPaddingTop)||void 0===J?void 0:J.value,"px")),((null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.LeftColSpace)||void 0===r?void 0:r.value)||(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.LeftColSpace)||void 0===v?void 0:v.value)===0)&&(ek["--left-space-y"]="".concat(null==e?void 0:null===(el=e.fields)||void 0===el?void 0:null===(ee=el.LeftColSpace)||void 0===ee?void 0:ee.value,"px")),((null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.RightColSpan)||void 0===m?void 0:m.value)||(null==e?void 0:null===(h=e.fields)||void 0===h?void 0:null===(p=h.RightColSpan)||void 0===p?void 0:p.value)===0)&&(ew["--right-col-span"]="col-span-".concat(null==e?void 0:null===(es=e.fields)||void 0===es?void 0:null===(ei=es.RightColSpan)||void 0===ei?void 0:ei.value)),((null==e?void 0:null===(g=e.fields)||void 0===g?void 0:null===(f=g.RightPaddingTop)||void 0===f?void 0:f.value)||(null==e?void 0:null===(N=e.fields)||void 0===N?void 0:null===(j=N.RightPaddingTop)||void 0===j?void 0:j.value)===0)&&(ew["--right-p-t"]="".concat(null==e?void 0:null===(ea=e.fields)||void 0===ea?void 0:null===(en=ea.RightPaddingTop)||void 0===en?void 0:en.value,"px")),((null==e?void 0:null===(T=e.fields)||void 0===T?void 0:null===(b=T.RightColSpace)||void 0===b?void 0:b.value)||(null==e?void 0:null===(k=e.fields)||void 0===k?void 0:null===(S=k.RightColSpace)||void 0===S?void 0:S.value)===0)&&(ew["--right-space-y"]="".concat(null==e?void 0:null===(et=e.fields)||void 0===et?void 0:null===(ed=et.RightColSpace)||void 0===ed?void 0:ed.value,"px")),((null==e?void 0:null===(y=e.fields)||void 0===y?void 0:null===(w=y.LeftPaddingTopMobile)||void 0===w?void 0:w.value)||(null==e?void 0:null===(C=e.fields)||void 0===C?void 0:null===(E=C.LeftPaddingTopMobile)||void 0===E?void 0:E.value)===0)&&(ek["--left-p-t-mobile"]="".concat(null==e?void 0:null===(er=e.fields)||void 0===er?void 0:null===(eo=er.LeftPaddingTopMobile)||void 0===eo?void 0:eo.value,"px")),((null==e?void 0:null===(L=e.fields)||void 0===L?void 0:null===(O=L.LeftColSpaceMobile)||void 0===O?void 0:O.value)||(null==e?void 0:null===(F=e.fields)||void 0===F?void 0:null===(I=F.LeftColSpaceMobile)||void 0===I?void 0:I.value)===0)&&(ek["--left-space-y-mobile"]="".concat(null==e?void 0:null===(ev=e.fields)||void 0===ev?void 0:null===(ec=ev.LeftColSpaceMobile)||void 0===ec?void 0:ec.value,"px")),((null==e?void 0:null===(M=e.fields)||void 0===M?void 0:null===(_=M.RightPaddingTopMobile)||void 0===_?void 0:_.value)||(null==e?void 0:null===(P=e.fields)||void 0===P?void 0:null===(R=P.RightPaddingTopMobile)||void 0===R?void 0:R.value)===0)&&(ew["--right-p-t-mobile"]="".concat(null==e?void 0:null===(em=e.fields)||void 0===em?void 0:null===(eu=em.RightPaddingTopMobile)||void 0===eu?void 0:eu.value,"px")),((null==e?void 0:null===(D=e.fields)||void 0===D?void 0:null===(A=D.RightColSpaceMobile)||void 0===A?void 0:A.value)||(null==e?void 0:null===(V=e.fields)||void 0===V?void 0:null===(B=V.RightColSpaceMobile)||void 0===B?void 0:B.value)===0)&&(ew["--right-space-y-mobile"]="".concat(null==e?void 0:null===(ep=e.fields)||void 0===ep?void 0:null===(ex=ep.RightColSpaceMobile)||void 0===ex?void 0:ex.value,"px")),(0,va.jsx)(Of,{children:(0,va.jsx)(vW,{className:"bg-white",children:(0,va.jsx)("div",{ref:eh,children:(0,va.jsxs)(vH,{style:eS,children:[(0,va.jsx)("div",{ref:ef,style:ek,className:vP("fade-in-y col-span-full lg:col-span-5 z-[9] lg:pt-[80px] pt-[20px] lg:[&_section]:mb-[40px] [&_section]:mb-[40px] [&_section:last-child]:mb-[0px]",ek["--left-col-span"]&&"lg:col-span-".concat(null==e?void 0:null===(H=e.f
1ields)||void 0===H?void 0:null===(W=H.LeftColSpan)||void 0===W?void 0:W.value),ek["--left-p-t"]&&"lg:pt-[var(--left-p-t)]",ek["--left-space-y"]&&"lg:[&_section]:mb-[var(--left-space-y)]",ek["--left-p-t-mobile"]&&"pt-[var(--left-p-t-mobile)]",ek["--left-space-y-mobile"]&&"[&_section]:mb-[var(--left-space-y-mobile)]"),children:(0,va.jsx)("div",{className:"left-content-container",children:(0,va.jsx)(vt.V,{name:ej,rendering:e.rendering})})}),(0,va.jsx)("div",{ref:eg,style:ew,className:vP("fade-in-y col-span-full lg:col-span-6 lg:col-start-7 flex flex-col stay-at-images lg:pt-[110px] pt-[0px] lg:[&_section]:mb-[40px] [&_section]:mb-[40px] [&_section:last-child]:mb-[0px]",ew["--right-col-span"]&&"lg:col-span-".concat(null==e?void 0:null===(U=e.fields)||void 0===U?void 0:null===(G=U.RightColSpan)||void 0===G?void 0:G.value),ew["--right-p-t"]&&"lg:pt-[var(--right-p-t)]",ew["--right-space-y"]&&"lg:[&_section]:mb-[var(--right-space-y)]",!!(null==e?void 0:null===(q=e.fields)||void 0===q?void 0:null===(z=q.StartAtCol)||void 0===z?void 0:z.value)&&"lg:col-start-".concat(null==e?void 0:null===(Y=e.fields)||void 0===Y?void 0:null===(Q=Y.StartAtCol)||void 0===Q?void 0:Q.value),ew["--right-p-t-mobile"]&&"pt-[var(--right-p-t-mobile)]",ew["--right-space-y-mobile"]&&"[&_section]:mb-[var(--right-space-y-mobile)]"),children:(0,va.jsx)("div",{className:"right-content-container",children:(0,va.jsx)(vt.V,{name:eN,rendering:e.rendering})})})]})})})})},ON=(0,vp.C)()(e=>{var l,i,s,n,a,d,t;return(0,va.jsx)(vW,{className:"text-uh-black",children:(0,va.jsx)("div",{className:"py-[40px] lg:py-[50px] text-center bg-white/80 backdrop-blur-[20px]",children:(0,va.jsx)(vH,{children:(0,va.jsxs)("div",{className:"col-span-full",children:[(0,va.jsx)(uf,{tag:"div",className:"mb-[20px]",variant:"subhead",Text:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Title}),(0,va.jsx)(bN,{tag:"div",className:"my-[20px]",variant:"body",Text:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Content}),(0,va.jsx)("div",{className:"mt-[20px]",children:(0,va.jsx)(fa,{ButtonVariant:"cta-type-b",hideIconAngle:!0,TEXT:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.LinkTitle,URL:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Link,Target:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.target})})]})})})})}),Ob=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b;let{t:T,locale:S}=(0,vT.QT)(),{isLgScreen:k}=EG(),w=C5(null==e?void 0:e.params),y={},E={},{sitecoreContext:C}=(0,vr.z)();(null===(i=e.fields)||void 0===i?void 0:null===(l=i.MarginBottom)||void 0===l?void 0:l.value)&&(y["--m-b"]="".concat(null===(p=e.fields)||void 0===p?void 0:null===(x=p.MarginBottom)||void 0===x?void 0:x.value,"px")),(null===(n=e.fields)||void 0===n?void 0:null===(s=n.MarginBottom)||void 0===s?void 0:s.value)&&(y["--mobile-m-b"]="".concat(null===(f=e.fields)||void 0===f?void 0:null===(h=f.MarginBottomMobile)||void 0===h?void 0:h.value,"px")),(null===(a=e.fields)||void 0===a?void 0:a.Backgroun
1dColor)&&(E["--bg-color"]="".concat(null===(b=e.fields)||void 0===b?void 0:null===(N=b.BackgroundColor)||void 0===N?void 0:null===(j=N.fields)||void 0===j?void 0:null===(g=j.Value)||void 0===g?void 0:g.value));let O=(0,vd.useMemo)(()=>k?{paddingTop:w.DesktopPaddingTop?w.DesktopPaddingTopSize?"".concat(w.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:w.DesktopPaddingBottom&&w.DesktopPaddingBottomSize?"".concat(w.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:w.MobilePaddingTop?w.MobilePaddingTopSize?"".concat(w.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:w.MobilePaddingBottom&&w.MobilePaddingBottomSize?"".concat(w.MobilePaddingBottomSize,"px"):"0px"},[k,w]);return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vW,{style:E,className:vP("EventListing bg-white",E["--bg-color"]&&"bg-[var(--bg-color)]"),children:(0,va.jsxs)(vH,{style:O,className:vP("gap-y-0"),children:[(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid lg:py-[50px] py-[20px] content-center",children:[(0,va.jsx)(uf,{Text:null===(d=e.fields)||void 0===d?void 0:d.Title,tag:"div",variant:"heading",className:"col-span-8"}),!!(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Content)&&(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Content)||void 0===o?void 0:o.value)&&(0,va.jsx)(bN,{Text:null===(c=e.fields)||void 0===c?void 0:c.Content,tag:"div",variant:"body",className:"col-span-7 mt-[20px]"})]}),(0,va.jsx)("div",{className:vP("col-span-full grid grid-cols-subgrid lg:gap-y-[80px] gap-y-[60px]"),children:!!(null===(u=e.fields)||void 0===u?void 0:null===(v=u.Items)||void 0===v?void 0:v.length)&&(null===(m=e.fields)||void 0===m?void 0:m.Items.filter(e=>{var l;return(null==e?void 0:e.id)!=(null==C?void 0:null===(l=C.route)||void 0===l?void 0:l.itemId)}).map(l=>{var i,s,n,a,d,t,o,r;return(0,va.jsxs)("div",{className:vP("lg:col-span-6 col-span-full grid grid-subw-full space-y-[20px]"),children:[!!(null===(n=l.fields)||void 0===n?void 0:null===(s=n.TeaserImage)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src)&&(0,va.jsx)("div",{className:vP("w-full h-auto"),children:(0,va.jsx)(m7,{field:l.fields.TeaserImage,className:"object-cover object-center w-full h-full"})}),(0,va.jsxs)("div",{className:"space-y-[10px]",children:[(0,va.jsx)(uf,{Text:null===(a=l.fields)||void 0===a?void 0:a.Title,tag:"div",variant:"subhead",HideIfEmpty:!0}),(0,va.jsx)(bN,{Text:null===(d=l.fields)||void 0===d?void 0:d.ShortParagraph,tag:"div",variant:"body",HideIfEmpty:!0})]}),(0,va.jsx)("div",{className:"flex",children:(0,va.jsx)(fa,{URL:(0,vS.at)(null==l?void 0:l.url,S()),TEXT:T(mT.W.PAGECONTENT.DISCOVERMORE),hideIconAngle:!0,ButtonVariant:"cta-type-a",Target:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Link)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.target,hideLinkIfEmpty:!0})})]},null==l?void 0:l.id)}))})]})})})},OT=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u;return(0,va.jsx)(vW,{className:vP("relative text-uh-black find-us"),children:(0,va.jsxs)("div",{className:"py-[40px] lg:py-[50px] text-center bg-white/80 backdrop-blur-[20px]",children:[(0,va.jsx)("div",{className:"mb-[20px]",children:(0,va.jsx)(uf,{Text:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Title,tag:"h5",variant:"subhead"})}),(0,va.jsx)("div",{className:"my-[20px]",children:(0,va.jsx)(bN,{Text:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.OrganisationAddress,tag:"div",variant:"body"})}),(0,va.jsx)("div",{className:"my-[20px]",children:(0,va.jsx)("a",{href:"tel:".concat(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.OrganisationPhone)||void 0===s?void 0:s.value),children:(0,va.jsx)(uf,{Text:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.OrganisationPhone,tag:"span",variant:"body"})})}),(null===(t=e.fields)||void 0===t?void 0:null===(d=t.LinkTitle)||void 0===d?void 0:d.value)&&(0,va.jsx)("div",{className:"mt-[20px]",children:(0,va.jsx)(fa,{TEXT:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.LinkTitle,URL:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:r.Link,hideIconAngle:!0,ButtonVariant:"cta-type-b",hideLinkIfEmpty:!0,Target:null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Link)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.target,x:!0})})]})})});let OS=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N;let{item:b}=e,T=(0,vd.useRef)(null);return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{ref:T,className:"food-and-bars-image relative",children:[(0,va.jsx)("div",{className:vP("w-full h-full"),children:(0,va.jsx)(m7,{className:"object-cover object-center w-full lg:aspect-[387/483] aspect-[165/206]",field:null===(l=b.fields)||void 0===l?void 0:l.TeaserImage})}),(null===(n=b.fields)||void 0===n?void 0:null===(s=n.Logo)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src)&&(0,va.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-black/40 content-center",children:(0,va.jsx)(m7,{className:"object-contain w-full h-full",field:null===(a=b.fields)||void 0===a?void 0:a.Logo})})]}),(0,va.jsx)(bN,{tag:"div",Text:null===(o=b.fields)||void 0===o?void 0:null===(t=o.DropdownMatchingTagRebrand)||void 0===t?void 0:null===(d=t.fields)||void 0===d?void 0:d.Text,variant:"body",className:"mt-[10px] lg:mt-[10px] uppercase"}),(null===(c=b.fields)||void 0===c?void 0:null===(r=c.Title)||void 0===r?void 0:r.value)?(0,va.jsx)(bN,{tag:"div",Text:null===(v=b.fields)||void 0===v?void 0:v.Title,variant:"subhead-1",className:vP("mb-[20px] lg:mb-[20px]",(null===(p=b.fields)||void 0===p?void 0:null===(x=p.DropdownMatchingTagRebrand)||void 0===x?void 0:null===(m=x.fields)||void 0===m?void 0:null===(u=m.Text)||void 0===u?void 0:u.value)?"mt-[5
1px]":"mt-[10px]")}):(0,va.jsx)(bN,{tag:"div",Text:null===(h=b.fields)||void 0===h?void 0:h.TeaserTitle,variant:"subhead-1",className:vP("mb-[20px] lg:mb-[20px]",(null===(N=b.fields)||void 0===N?void 0:null===(j=N.DropdownMatchingTagRebrand)||void 0===j?void 0:null===(g=j.fields)||void 0===g?void 0:null===(f=g.Text)||void 0===f?void 0:f.value)?"mt-[5px]":"mt-[10px]")})]})},Ok=e=>{var l,i,s,n,a;let{item:d}=e,{locale:t}=(0,vT.QT)(),o=(null===(i=d.fields)||void 0===i?void 0:null===(l=i.IsDatasource)||void 0===l?void 0:l.value)?null===(a=d.fields)||void 0===a?void 0:null===(n=a.Link)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.href:(0,vS.at)(null==d?void 0:d.url,t());return(0,va.jsx)("div",{children:o?(0,va.jsx)("a",{href:o,children:(0,va.jsx)(OS,{item:d})}):(0,va.jsx)(OS,{item:d})})},Ow=(0,vd.forwardRef)((e,l)=>{let{dataList:i,cityFilterValue:s,...n}=e,a=[];return a.push(...i),s&&(a=a.filter(e=>{var l,i,n,a;return(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.DropdownMatchingTagRebrand)||void 0===n?void 0:null===(i=n.fields)||void 0===i?void 0:null===(l=i.Value)||void 0===l?void 0:l.value)==s})),(0,va.jsx)(va.Fragment,{children:a.map((e,l)=>(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)(Ok,{item:e})},l))})});Ow.displayName="FoodAndBarsListPartial";var Oy=(0,vp.C)()(e=>{var l,i,s;let{t:n}=(0,vT.QT)(),a=(0,TT.locale)(),d={en:"","zh-HK":"font-medium","zh-CN":"font-medium"},t={en:"bg-uh-blue text-uh-white hover:text-uh-white before:text-uh-white after:text-uh-white focus:text-uh-white","zh-HK":"bg-uh-blue text-uh-white hover:text-uh-white before:text-uh-white after:text-uh-white focus:text-uh-white","zh-CN":"bg-uh-blue text-uh-white hover:text-uh-white before:text-uh-white after:text-uh-white focus:text-uh-white"},[o,r]=(0,vd.useState)(""),c={},v=null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.filter(e=>{var l,i,s,n,a,d,t;return(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.TeaserImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&((null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Title)||void 0===n?void 0:n.value)||(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.TeaserTitle)||void 0===d?void 0:d.value))});return v&&(null==v?void 0:v.length)&&(c=v.reduce((e,l)=>{var i,s,n,a,d,t,o,r;let c=null==l?void 0:null===(a=l.fields)||void 0===a?void 0:null===(n=a.DropdownMatchingTagRebrand)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value;return c&&(e[c]||(e[c]=[]),e[c].push(null==l?void 0:null===(r=l.fields)||void 0===r?void 0:null===(o=r.DropdownMatchingTagRebrand)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:null===(d=t.Text)||void 0===d?void 0:d.value)),e},{})),(0,va.jsx)(vW,{className:"relative overflow-hidden bg-uh-white text-uh-black UhFoodAndBarsListing",children:(0,va.jsxs)("div",{className:"lg:max-w-[1600px] max-w-full lg:mb-[120px] mb-[120px] lg:px-[40px] px-[15px] mx-auto",children:[(0,va.jsx)("div",{className:"col-span-full lg:mt-[80px] lg:mb-[40px] mt-[50px] mb-[10px]",children:(0,va.jsx)(uf,{className:"",variant:"subhead",tag:"div",Text:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Title})}),(0,va.jsx)("div",{className:"text-center px-0",children:(0,va.jsxs)("div",{className:"mb-[20px] flex lg:gap-[20px] gap-[10px] flex-row lg:flex-wrap justify-left overflow-x-auto lg:overflow-x-visible whitespace-nowrap no-scrollbar",children:[(0,va.jsx)("div",{className:"mb-[20px] mt-[20px] lg:mt-0",onClick:()=>{r("")},children:(0,va.jsx)(fa,{ButtonVariant:"cta",URL:"javascript:void(0)",TEXT:n(mT.W.PAGECONTENT.ALL),TextTag:"span",className:vP("rounded-[50px] btn-black py-[10px] px-[20px] border hover:bg-uh-blue hover:text-uh-white ".concat(d[a]),!o&&"".concat(t[a])),hideIconAngle:!0})}),c&&Object.entries(c).length>0&&Object.entries(c).map(e=>{let[l,i]=e;return(0,va.jsx)("div",{className:"mb-[20px] mt-[20px] lg:mt-0","data-value":"".concat(l),onClick:()=>{r("".concat(l))},children:(0,va.jsx)(fa,{ButtonVariant:"cta",URL:"javascript:void(0)",TEXT:i[0],TextTag:"span",className:vP("rounded-[50px] btn-black py-[10
1px] px-[20px] border hover:bg-uh-blue hover:text-uh-white ".concat(d[a]),o==l&&"".concat(t[a])),hideIconAngle:!0})})})]})}),(0,va.jsx)("div",{className:"grid lg:grid-cols-3 grid-cols-2 mx-auto gap-x-[20px] lg:gap-y-[50px] gap-y-[15px]",children:v&&!!v.length&&(0,va.jsx)(Ow,{params:e.params,rendering:e.rendering,cityFilterValue:o,dataList:v})})]})})}),OE=(0,vp.C)()(e=>{var l,i;let{isLgScreen:s}=EG(),n=C5(null==e?void 0:e.params),a=(0,vd.useMemo)(()=>s?{paddingTop:n.DesktopPaddingTop?n.DesktopPaddingTopSize?"".concat(n.DesktopPaddingTopSize,"px"):"60px":"0px",paddingBottom:n.DesktopPaddingBottom&&n.DesktopPaddingBottomSize?"".concat(n.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:n.MobilePaddingTop?n.MobilePaddingTopSize?"".concat(n.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:n.MobilePaddingBottom&&n.MobilePaddingBottomSize?"".concat(n.MobilePaddingBottomSize,"px"):"0px"},[s,n]),d=e=>e.fields.Items.length?(0,va.jsx)("div",{className:"flex flex-col space-y-[20px] pb-[25px]",children:e.fields.Items.map(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;return(0,va.jsxs)("div",{id:e.id,className:"flex",children:[!!(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Link)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.href)&&(0,va.jsxs)(uv,{href:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Link)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href,className:"flex space-x-[10px] items-center",children:[(0,va.jsx)(m7,{field:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Icon,className:vP("h-[14px] lg:h-[16px] object-contain")}),(0,va.jsx)(uf,{Text:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.LinkTitle,tag:"div",raw:!0,className:vP("font-Amiko text-[14px] lg:text-[16px] leading-[14px] lg:leading-[16px] font-[700] border-b-[2px] border-[#968359] uppercase")})]}),!!(null===(r=e.fields)||void 0===r?void 0:r.Content)&&(0,va.jsx)(bN,{Text:null===(c=e.fields)||void 0===c?void 0:c.Content,variant:"body",tag:"div",HideIfEmpty:!0,className:vP(!!(null===(m=e.fields)||void 0===m?void 0:null===(u=m.Link)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.href)&&"pt-[20px]")})]},e.id)})}):null;return(0,va.jsx)(vW,{className:"bg-white UhFoodMenu targetrefresh",children:(0,va.jsxs)("div",{style:a,children:[(0,va.jsx)("div",{className:"text-[20px] lg:text-[26px] leading-[24px] lg:leading-[30px] font-[600] uppercase lg:mb-[25px]",children:e.fields.Title.value}),!!(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Items.length)&&(0,va.jsx)(Ol,{items:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Items.map(e=>({id:e.id,title:e.fields.Title.value,children:d(e)}))})]})})});(s=a||(a={}))[s.Default=0]="Default",s[s.HotelEnquiries=1]="HotelEnquiries",s[s.FrequentlyAskedQuestions=2]="FrequentlyAskedQuestions";let OC=e=>{var l,i,s,n,a;let{variant:d,...t}=e,{isLgScreen:o}=EG(),r=C5(null==t?void 0:t.params),c=(0,vd.useMemo)(()=>o?{paddingTop:r.DesktopPaddingTop&&r.DesktopPaddingTopSize?"".concat(r.DesktopPaddingTopSize,"px"):"0px",paddingBottom:r.DesktopPaddingBottom&&r.DesktopPaddingBottomSize?"".concat(r.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:r.MobilePaddingTop&&r.MobilePaddingTopSize?"".concat(r.MobilePaddingTopSize,"px"):"0px",paddingBottom:r.MobilePaddingBottom&&r.MobilePaddingBottomSize?"".concat(r.MobilePaddingBottomSize,"px"):"0px"},[o,r]),v=e=>e.fields.Items.length?1===d?(0,va.jsx)("div",{className:"flex flex-col pb-[10px] lg:pb-[25px] gap-y-[10px] lg:gap-y-[20px]",children:e.fields.Items.map(e=>{var l,i,s,n,a;return(0,va.jsxs)("div",{id:e.id,className:"flex items-center gap-x-[10px]",children:[!!(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Icon)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(0,va.jsx)(m7,{field:null===(n=e.fields)||void 0===n?void 0:n.Icon,editable:!1,className:"h-[14px] object-contain"}),(0,va.jsx)(uf,{variant:"body",Text:null===(a=e.fields)||void 0===a?void 0:a.Title,tag:"div",className:"text-[12px] lg:text-[18px] leading-[12px] lg:leading-[26px] font-[400]",HideIfEmpty:!0})]},e.id)})}):2===d?(0,va.jsx)("div",{className:"space-y-[20px] pb-[20px] lg:pb-[25px]",children:e.fields.Items.map(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p;return(0,va.jsxs)("div",{id:e.id,children:[!!(null===(i=e.fields)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value)&&(0,va.jsx)(uf,{variant:"body",Text:null===(s=e.fields)||void 0===s?void 0:s.Title,tag:"div",className:"text-[14px] lg:text-[18px] leading-[18px] lg:leading-[26px] font-[700] uppercase opacity-[40%] mb-[10px] lg:mb-[20px]",HideIfEmpty:!0}),!!(null===(n=e.fields)||void 0===n?void 0:n.Content.value)&&(0,va.jsx)(bN,{Text:null===(a=e.fields)||void 0===a?void 0:a.Content,variant:"body",className:"text-[14px] lg:text-[18px] leading-[18px] lg:leading-[26px] font-[400] mb-[20px] lg:mb-[25px]",HideIfEmpty:!0}),!!(null===(t=e.fields)||void 0===t?void 0:null===(d=t.LinkTitle)||void 0===d?void 0:d.value)&&(0,va.jsx)("div",{className:"w-fit",children:(0,va.jsx)(fa,{ButtonVariant:"cta-type-a",TEXT:null===(r=e.fields)||void 0===r?void 0:null===(o=r.LinkTitle)||void 0===o?void 0:o.value,URL:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Link)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.href,hideIconAngle:!0,Target:null==e?void 0:null===(p=e.fields)||void 0===p?void 0:null===(x=p.Link)||void 0===x?void 0:null===(m=x.value)||void 0===m?void 0:m.target})})]},e.id)})}):(0,va.jsx)("div",{className:"flex flex-col pb-[10px] lg:pb-[25px] gap-y-[10px] lg:gap-y-[20px]",children:e.fields.Items.map(e=>{var l,i,s,n,a;return(0,va.jsxs)("div",{id:e.id,className:"flex items-center gap-x-[10px]",children:[!!(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Icon)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(0,va.jsx)(m7,{field:null===(n=e.fields)||void 0===n?void 0:n.Icon,editable:!1,
1className:"h-[14px] object-contain"}),(0,va.jsx)(uf,{variant:"body",Text:null===(a=e.fields)||void 0===a?void 0:a.Title,tag:"div",className:"text-[12px] lg:text-[18px] leading-[12px] lg:leading-[26px] font-[400]",HideIfEmpty:!0})]},e.id)})}):null;return(0,va.jsx)(vW,{className:"bg-white UhFoodMenuPlus",children:(0,va.jsxs)("div",{style:c,children:[(0,va.jsx)(uf,{variant:"body",Text:null===(l=t.fields)||void 0===l?void 0:l.Title,tag:"div",className:"text-[20px] lg:text-[26px] leading-[24px] lg:leading-[30px] font-[600] uppercase ".concat(1===d||2===d?"lg:mb-[15px]":""),HideIfEmpty:!0}),!!(null==t?void 0:null===(i=t.fields)||void 0===i?void 0:i.Items.length)&&(0,va.jsx)(Ol,{items:null==t?void 0:null===(s=t.fields)||void 0===s?void 0:s.Items.map(e=>{var l,i;return{id:e.id,title:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value,children:v(e)}}),titleClassName:1===d||2===d?"leading-[18px] lg:leading-[26px]":"",expanded:null==t?void 0:null===(a=t.fields)||void 0===a?void 0:null===(n=a.Expanded)||void 0===n?void 0:n.value})]})})},OO=e=>(0,va.jsx)(OC,{...e,variant:0}),OL=e=>(0,va.jsx)(OC,{...e,variant:1}),OI=e=>(0,va.jsx)(OC,{...e,variant:2}),OF=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x;let{item:p}=e,h=(0,vd.useRef)(null),{t:f,locale:g}=(0,vT.QT)();return(0,va.jsxs)("div",{children:[(0,va.jsxs)("div",{ref:h,className:"food-image relative hidden lg:block",children:[(0,va.jsx)("div",{className:vP("aspect-[387/483]"),children:(0,va.jsx)(m7,{className:"object-cover object-center w-full h-full",field:null===(l=p.fields)||void 0===l?void 0:l.TeaserImage})}),(null===(n=p.fields)||void 0===n?void 0:null===(s=n.Logo)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src)&&(0,va.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-black/40 content-center",children:(0,va.jsx)("div",{className:"flex flex-col items-center",children:(0,va.jsx)(m7,{className:"",field:null===(a=p.fields)||void 0===a?void 0:a.Logo})})})]}),(0,va.jsx)(uv,{href:(0,vS.at)(null==p?void 0:p.url,g()),className:"lg:hidden",children:(0,va.jsxs)("div",{ref:h,className:"food-image relative",children:[(0,va.jsx)("div",{className:vP("aspect-[165/206]"),children:(0,va.jsx)(m7,{className:"object-cover object-center w-full h-full",field:null===(d=p.fields)||void 0===d?void 0:d.TeaserImage})}),(null===(r=p.fields)||void 0===r?void 0:null===(o=r.Logo)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.src)&&(0,va.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-black/40",children:(0,va.jsx)(m7,{className:"object-contain w-full h-full",field:null===(c=p.fields)||void 0===c?void 0:c.Logo})})]})}),(null===(u=p.fields)||void 0===u?void 0:null===(v=u.Title)||void 0===v?void 0:v.value)?(0,va.jsx)(bN,{tag:"div",Text:null===(m=p.fields)||void 0===m?void 0:m.Title,variant:"subhead",className:vP("mt-[10px] lg:my-[20px] text-[14px] leading-[14px]")}):(0,va.jsx)(bN,{tag:"div",Text:null===(x=p.fields)||void 0===x?void 0:x.TeaserTitle,variant:"subhead",className:vP("mt-[10px] lg:my-[20px] text-[14px] leading-[14px]")}),(0,va.jsx)("div",{className:"hidden lg:block",children:(0,va.jsx)(fa,{URL:(0,vS.at)(null==p?void 0:p.url,g()),TEXT:f(mT.W.PAGECONTENT.DISCOVERMORE),hideIconAngle:!0,ButtonVariant:"cta-type-a",className:"inline-block"})})]})};var O_=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c;let{isLgScreen:v}=EG(),u=C5(null==e?void 0:e.params),m=(0,vd.useMemo)(()=>v?{paddingTop:u.DesktopPaddingTop?u.DesktopPaddingTopSize?"".concat(u.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:u.DesktopPaddingBottom&&u.DesktopPaddingBottomSize?"".concat(u.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:u.MobilePaddingTop?u.MobilePaddingTopSize?"".concat(u.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:u.MobilePaddingBottom&&u.MobilePaddingBottomSize?"".concat(u.MobilePaddingBottomSize,"px"):"0px"},[v,u]);return(0,va.jsx)(vW,{className:"relative overflow-hidden bg-uh-white text-uh-black UhFoodingList",children:(0,va.jsxs)("div",{className:"lg:max-w-[1600px] max-w-full lg:px-[40px] px-[15px] mx-auto",style:m,children:[(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid lg:mb-[50px] mb-[20px]",children:[(0,va.jsx)(uf,{className:"col-span-12",variant:"heading",tag:"div",Text:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Title}),!!(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Content)&&(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Content)||void 0===s?void 0:s.value)&&(0,va.jsx)(bN,{Text:null===(a=e.fields)||void 0===a?void 0:a.Content,tag:"div",variant:"body",className:"col-span-12 lg:col-span-7 mt-[20px]"})]}),(0,va.jsx)("div",{className:"grid lg:grid-cols-3 grid-cols-2 mx-auto gap-x-[15px] lg:gap-y-[50px] gap-y-[15px]",children:!!(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Items)||void 0===d?void 0:d.length)&&(null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.Items)||void 0===r?void 0:null===(o=r.filter(e=>{var l,i,s,n,a,d,t;return(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.TeaserImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&((null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Title)||void 0===n?void 0:n.value)||(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.TeaserTitle)||void 0===d?void 0:d.value))}))||void 0===o?void 0:o.map((e,l)=>(0,va.jsx)(OF,{item:e},l)))})]})})}),OM=(0,vp.C)()(e=>{var l,s;let n=(0,vd.useRef)(null),{isLgScreen:a}=EG(),d=C5(null==e?void 0:e.params),t=(0,vd.useMemo)(()=>a?{paddingTop:d.DesktopPaddingTop?d.DesktopPaddingTopSize?"".concat(d.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:d.DesktopPaddingBottom&&d.DesktopPaddingBottomSize?"".concat(d.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:d.MobilePaddingTop?d.MobilePaddingTopSize?"".concat(d.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:d.MobilePaddingBottom&&d.MobilePaddingBottomSize?"".concat(d.MobilePaddingBottomSize,"px"):"0px"},[a,d]);return(0,vd.useEffect)(()=>{(async()=>
1{if(n.current){let e=(0,(await i.e(776).then(i.t.bind(i,54776,23))).default)({container:n.current,trueOrder:!0,waitForImages:!1,margin:20,columns:3,breakAt:{992:{columns:2,margin:15}}}),l=()=>{e.recalculate()};return window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l),e.recalculate()}}})()},[]),(0,va.jsx)(vW,{className:"bg-white UhImageGallery",children:(0,va.jsx)(vH,{style:t,children:!!(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.ItemList.length)&&(0,va.jsx)("div",{ref:n,className:"col-span-full lg:col-span-10 lg:col-start-2 -mb-[15px] lg:-mb-[20px]",children:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.ItemList.map(e=>(0,va.jsx)("div",{className:"macy-item",children:(0,va.jsx)("img",{className:"w-full h-auto",src:e.url,alt:"Image ".concat(e.id)})},e.id))})})})});vL.ZP.registerPlugin(v_()),vL.ZP.registerPlugin(vI.V);let OR=(e,l,i)=>"calc(".concat(100*l/e,"% - ").concat(i*(e-l)/e,"px)");var OP=(0,vp.C)()(e=>{var l,i,s,n,a,d;let{isLgScreen:t}=EG(),o=(0,vd.useRef)(null),r=(0,vd.useRef)(null),c=C5(null==e?void 0:e.params),v={totalCols:12,colSpan:5,gapSize:20},u={totalCols:4,colSpan:3,gapSize:15},m=OR(u.totalCols,u.colSpan,u.gapSize),x=OR(v.totalCols,v.colSpan,v.gapSize);return(0,vI.V)(()=>{if(!o.current||!r.current)return;let e=()=>{o.current.offsetHeight,r.current.offsetHeight;let e=o.current.clientWidth,l=r.current.scrollWidth,i=v_().getById("horizontal-scroll");i&&i.kill(),vL.ZP.to(r.current,{x:-(Math.max(0,l-e)+40),ease:"none",scrollTrigger:{id:"horizontal-scroll",trigger:o.current,start:"top bottom",end:"top top",scrub:!0,invalidateOnRefresh:!0}}),v_().refresh()};requestAnimationFrame(()=>{e()});let l=new ResizeObserver(()=>{requestAnimationFrame(e)});return o.current&&l.observe(o.current),()=>{var e;l.disconnect(),null===(e=v_().getById("horizontal-scroll"))||void 0===e||e.kill()}},{scope:o}),(0,va.jsx)(vW,{className:"UhTwoImgAndContent",style:{backgroundColor:(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.BackgroundColor)?"".concat(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Backgroun
1dColor)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value):"white"},children:(0,va.jsx)(vH,{className:vP("gap-y-0 lg:px-0 px-0",{"max-lg:pt-[50px]":c.MobilePaddingTop,"max-lg:pb-[50px]":c.MobilePaddingBottom,"lg:pt-[100px]":c.DesktopPaddingTop,"lg:pb-[100px]":c.DesktopPaddingBottom}),children:(0,va.jsx)("div",{ref:o,className:"overflow-hidden col-span-full grid grid-cols-subgrid ",children:(0,va.jsx)("div",{ref:r,className:"whitespace-nowrap flex flex-nowrap col-span-full lg:gap-[".concat(v.gapSize,"px]"),style:{gap:t?"".concat(v.gapSize,"px"):"".concat(u.gapSize,"px")},children:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.ImageList.map(e=>{var l;return(0,va.jsx)("div",{className:"flex-shrink-0",style:{width:t?x:m},children:(0,va.jsx)(m7,{field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Image,className:"object-cover object-top h-auto w-full lg:aspect-[488/326] aspect-[255/320]"})},e.id)})})})})})}),OA=(0,vp.C)()(e=>{var l,i,s,n,a,d;let t=(0,vd.useRef)(null),{isLgScreen:o}=EG(),r=C5(null==e?void 0:e.params),c=(0,vd.useMemo)(()=>
1o?{paddingTop:r.DesktopPaddingTop?r.DesktopPaddingTopSize?"".concat(r.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:r.DesktopPaddingBottom&&r.DesktopPaddingBottomSize?"".concat(r.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:r.MobilePaddingTop?r.MobilePaddingTopSize?"".concat(r.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:r.MobilePaddingBottom&&r.MobilePaddingBottomSize?"".concat(r.MobilePaddingBottomSize,"px"):"0px"},[o,r]),v=(0,vr.z)().sitecoreContext.pageEditing;return(0,va.jsx)(vW,{className:"UhImageSlidesWithCaption",style:{backgroundColor:(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.BackgroundColor)?"".concat(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.BackgroundColor)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value):"white"},children:(0,va.jsx)(vH,{style:c,children:(0,va.jsx)("div",{ref:t,className:"col-span-full ",children:(0,va.jsx)("div",{className:"slider slider--moreImg module-wrapper",children:(0,va.jsxs)("div",{className:"swiper-container slider--moreImg-container",children:[(0,va.jsx)("div",{className:"swiper-wrapper",children:(null===(d=e.fields.Items)||void 0===d?void 0:d.length)>0?Object.values(e.fields.Items).map((e,l)=>{var i,s,n,a;return!0==v?(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsxs)("div",{className:"slider--moreImg--item",children:[(0,va.jsx)("div",{className:"slider--moreImg--img",children:(0,va.jsx)(vg.E,{field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Image})}),(0,va.jsx)("div",{className:"slider--moreImg--caption",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Content})})]})},l):(0,va.jsx)("div",{className:"swiper-slide",children:(0,va.jsxs)("div",{className:"slider--moreImg--item",children:[(0,va.jsx)("div",{className:"slider--moreImg--img",children:(0,va.jsx)(vg.E,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Image})}),(0,va.jsx)("div",{className:"slider--moreImg--caption",children:(0,va.jsx)(vx.H,{field:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Content})})]})},l)}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsx)("div",{className:"swiper-pagination"}),(0,va.jsx)("div",{className:"swiper-button-next slider-button"}),(0,va.jsx)("div",{className:"swiper-button-prev slider-button"})]})})})})})}),OD=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;let x;let{t:p,locale:h}=(0,vT.QT)(),{isLgScreen:f}=EG(),g=C5(null==e?void 0:e.params),j=(0,vd.useMemo)(()=>f?{paddingTop:g.DesktopPaddingTop?g.DesktopPaddingTopSize?"".concat(g.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:g.DesktopPaddingBottom&&g.DesktopPaddingBottomSize?"".concat(g.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:g.MobilePaddingTop?g.MobilePaddingTopSize?"".concat(g.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:g.MobilePaddingBottom&&g.MobilePaddingBottomSize?"".concat(g.MobilePaddingBottomSize,"px"):"0px"},[f,g]);return(0,va.jsx)(vW,{className:"UhImageStrip",children:(0,va.jsx)("div",{className:"bg-white",children:(0,va.jsx)("div",{className:"bg-uh-neutral-grey",children:(0,va.jsxs)(vH,{className:vP("lg:gap-y-0 gap-y-0"),style:j,children:[(0,va.jsxs)("div",{className:"col-span-full lg:text-center",children:[(0,va.jsx)(uf,{tag:"div",Text:null===(l=e.fields)||void 0===l?void 0:l.Title,className:vP("lg:mb-[30px] mb-[20px]"),variant:"heading",HideIfEmpty:!0}),!!(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Content)&&(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Content)||void 0===s?void 0:s.value)&&(0,va.jsx)(bN,{Text:null===(a=e.fields)||void 0===a?void 0:a.Content,tag:"div",variant:"body",className:vP("lg:mb-[30px] mb-[20px]")})]}),(0,va.jsx)("div",{className:"col-span-full",children:!!(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Items)||void 0===d?void 0:d.length)&&(x=null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.Items,(0,va.jsx)(SO.tq,{breakpoints:{320:{slidesPerView:1.3,spaceBetween:15},992:{slidesPerView:2.5,spaceBetween:40}},freeMode:!0,children:x.map(e=>{var l,i,s,n,a,d,t;return(0,va.jsx)(SO.o5,{className:"",children:(0,va.jsxs)("div",{className:"text-left",children:[(null===(s=e.fields)||void 0===s?void 0:null===(i=s.TeaserImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(0,va.jsx)(m7,{className:vP("w-full object-cover"),field:null===(n=e.fields)||void 0===n?void 0:n.TeaserImage}),(0,va.jsx)(uf,{tag:"div",Text:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Title,variant:"subhead",className:"mt-[20px]",HideIfEmpty:!0}),(0,va.jsx)(bN,{tag:"div",variant:"body",className:"mt-[10px]",Text:(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.TeaserContent)||(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.ShortParagraph),HideIfEmpty:!0}),(0,va.jsx)(fa,{URL:(0,vS.at)(null==e?void 0:e.url,h()),TEXT:p(mT.W.PAGECONTENT.DISCOVERMORE),ButtonVariant:"cta-type-a",hideIconAngle:!0,className:"inline-block mt-[20px]"})]},e.id)},e.id)})}))}),!!(null===(v=e.fields)||void 0===v?void 0:null===(c=v.Link)||void 0===c?void 0:null===(r=c.value)||void 0===r?void 0:r.href)&&(0,va.jsx)("div",{className:"col-span-full mt-[40px] lg:mt-[60px] text-center",children:(0,va.jsx)(fa,{URL:null===(u=e.fields)||void 0===u?void 0:u.Link,TEXT:null===(m=e.fields)||void 0===m?void 0:m.LinkTitle,hideIconAngle:!0,ButtonVariant:"cta-type-b"})})]})})})})});vL.ZP.registerPlugin(vI.V),vL.ZP.registerPlugin(v_());let OB=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f;let{pairCard:g,imageOnLeft:j,first:N,isExpanded:b}=e,T=(0,vd.useRef)(null),S=(0,vd.useRef)(null);(0,vI.V)(()=>{let e=vL.ZP.matchMedia();return e.add({isDesktop:"(min-width: ".concat(992,"px)"),isMobile:"(max-width: ".concat(991,"px)")},e=>{let l=e.conditions,i=!!(null==l?void 0:l.isDesktop),s=i?{x:0}:{y:0};vL.ZP.fromTo(T.current,{...i?{x:j?-40:40}:{y:50},opacity:0}
1,{...s,opacity:1,scrollTrigger:{trigger:T.current,start:"top 75%",end:"+=300",scrub:!1},ease:"power1.inOut",duration:1}),vL.ZP.fromTo(S.current,{...i?{x:j?40:-40}:{y:50},opacity:0},{...s,opacity:1,scrollTrigger:{trigger:S.current,start:"top 75%",end:"+=300",scrub:!1},ease:"power1.inOut",duration:1})}),()=>{e.revert()}});let k=null!==(f=null===(i=g.fields)||void 0===i?void 0:null===(l=i.AnchorId)||void 0===l?void 0:l.value)&&void 0!==f?f:null===(s=g.name)||void 0===s?void 0:s.toLowerCase().replace(/\W/g,"-");return(0,va.jsxs)(vH,{className:vP(!N&&"lg:mt-[60px] mt-[40px]","items-center gap-y-[0px]"),children:[k&&(0,va.jsx)("div",{className:"relative self-start col-span-full",children:(0,va.jsx)("div",{id:k,className:"absolute -top-[60px]"})}),(0,va.jsx)("div",{className:vP(!j&&"lg:order-last","w-full col-span-4",(null==b?void 0:b.value)?"lg:col-span-4":"lg:col-span-7",(null==b?void 0:b.value)&&j?"lg:col-start-3":"",!(null===(a=g.fields)||void 0===a?void 0:null===(n=a.Title)||void 0===n?void 0:n.value)&&!(null===(t=g.fields)||void 0===t?void 0:null===(d=t.Content)||void 0===d?void 0:d.value)&&"lg:col-span-9"),ref:T,children:(0,va.jsx)(m7,{field:null===(o=g.fields)||void 0===o?void 0:o.Image,className:"object-cover object-top w-full h-auto"})}),(0,va.jsx)("div",{className:vP("w-full col-span-4",(null==b?void 0:b.value)?"lg:col-span-4":"lg:col-span-5",(null==b?void 0:b.value)?j?"":"lg:col-start-3":"",!(null===(c=g.fields)||void 0===c?void 0:null===(r=c.Title)||void 0===r?void 0:r.value)&&!(null===(u=g.fields)||void 0===u?void 0:null===(v=u.Content)||void 0===v?void 0:v.value)&&"lg:col-span-3 lg:block hidden"),ref:S,children:(0,va.jsxs)("div",{className:vP("pt-[20px] lg:pt-0"),children:[(0,va.jsx)(uf,{tag:"h2",variant:"subhead",Text:null===(m=g.fields)||void 0===m?void 0:m.Title,HideIfEmpty:!0}),(0,va.jsx)(bN,{variant:"body",Text:null===(x=g.fields)||void 0===x?void 0:x.Content,className:vP("mt-[10px] text-pairs-list-disc"),HideIfEmpty:!0}),(0,va.jsx)("div",{className:"flex",children:(0,va.jsx)(fa,{className:"mt-[20px]",URL:g.fields.Link,TEXT:g.fields.LinkTitle,hideIconAngle:!0,ButtonVariant:"".concat((null==g?void 0:null===(h=g.fields)||void 0===h?void 0:null===(p=h.LinkStyle)||void 0===p?void 0:p.value)==="Hyperlink"?"cta-type-a":"cta-type-b"),hideLinkIfEmpty:!0})})]})})]})};var OV=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x;let{isLgScreen:p}=EG(),h=C5(null==e?void 0:e.params),f=(null===(i=e.fields)||void 0===i?void 0:null===(l=i.ShowLeftImageFirst)||void 0===l?void 0:l.value)?0:1,g=(0,vd.useMemo)(()=>p?{paddingTop:h.DesktopPaddingTop?h.DesktopPaddingTopSize?"".concat(h.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:h.DesktopPaddingBottom&&h.DesktopPaddingBottomSize?"".concat(h.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:h.MobilePaddingTop?h.MobilePaddingTopSize?"".concat(h.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:h.MobilePaddingBottom&&h.MobilePaddingBottomSize?"".concat(h.MobilePaddingBottomSize,"px"):"0px"},[p,h]);return(0,va.jsx)(vW,{className:vP("bg-uh-white text-black overflow-hidden UhImageTextPairs",!!(null===(s=e.fields)||void 0===s?void 0:s.BackgroundColor)&&"bg-[".concat(null===(n=e.fields)||void 0===n?void 0:n.BackgroundColor.fields.Value.value,"]")),children:(0,va.jsxs)("div",{className:vP("gap-y-0 lg:gap-y-[40px]"),style:g,children:[((null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Title)||void 0===a?void 0:a.value)||(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Content.value))&&(0,va.jsx)(vH,{children:(0,va.jsxs)(v6,{className:"col-span-full lg:col-span-10 lg:col-start-2 translate-y-[50px] text-left lg:!text-center pb-[30px] lg:pb-[40px]",children:[(null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Title)||void 0===o?void 0:o.value)&&(0,va.jsx)(uf,{tag:"div",Text:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.Title,variant:"heading",className:"mb-[10px] lg:mb-[20px]"}),(null==e?void 0:null===(v=e.fields)||void 0===v?void 0:v.Content.value)&&(0,va.jsx)(bN,{tag:"div",variant:"body",Text:null==e?void 0:null===(u=e.fields)||void 0===u?void 0:u.Content})]})}),!!(null===(x=e.fields)||void 0===x?void 0:null===(m=x.SelectedArticles)||void 0===m?void 0:m.length)&&e.fields.SelectedArticles.map((l,i)=>{var s;return(0,va.jsx)(OB,{pairCard:l,imageOnLeft:i%2===f,first:0===i,isExpanded:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.IsExpanded},i)})]})})}),OW=e=>{let{t:l,locale:i}=(0,vT.QT)(),s=()=>{e.setIsLoading(!0);let l=window.location.pathname;(0,yP.signIn)("azureb2c",{callbackUrl:l},{ui_locales:gZ.OE[i()]})},[n,a]=(0,vd.useState)(!1),[d,t]=(0,vd.useState)(""),[o,r]=(0,vd.useState)("");return(async()=>
1{if(!n){try{let i=(0,kF.WP)(),n=await fetch("".concat(i).concat(uc.MD.PROFILE_GET_PROFILE),{method:"GET",headers:{"Content-Type":"application/json"}});if(200==n.status){let i=await n.json();if(i){var e,l;t(null!==(e=null==i?void 0:i.FirstName)&&void 0!==e?e:""),r(null!==(l=null==i?void 0:i.Id)&&void 0!==l?l:"")}}else 401==n.status&&s()}catch(e){console.error("Error fetching data:",e)}a(!0)}})(),(0,va.jsxs)("section",{className:"UhMemberPortalSidebar stay-at-info",children:[(0,va.jsxs)("div",{className:"hidden lg:block font-Amiko",children:[(0,va.jsx)(bN,{tag:"div",variant:"subhead",Text:l(mT.W.SSO.Global.WELCOME_BACK),HideIfEmpty:!0}),(0,va.jsx)(bN,{tag:"div",variant:"subhead",Text:d,HideIfEmpty:!0}),(0,va.jsx)(bN,{tag:"div",variant:"body",Text:o,HideIfEmpty:!0,className:"mt-[20px]"}),(0,va.jsx)("div",{className:"my-[40px] border-t border-t-black opacity-50 w-[80%]"}),(0,va.jsxs)("div",{className:"text-[16px] leading-[16px] font-blod tracking-0 uppercase flex flex-col gap-y-[40px]",children:[(0,va.jsx)("div",{children:(0,va.jsx)("a",{id:"MEMBER_OFFERS",href:"/member/member-offers",onClick:l=>{var s;l.preventDefault(),e.setIsLoading(!0),(0,yI.sendGTMEvent)({event:"member_dashboard_interact",intent:"sidebar nav MEMBER OFFERS"}),window.location.href=null!==(s=(0,vS.at)("/member/member-offers",i()))&&void 0!==s?s:"/member/member-offers"},className:"font-bold ".concat("MEMBER_OFFERS"===e.selectedValue?"border-b-[2px] border-b-uh-gold":"opacity-40"),children:l(mT.W.Member.MEMBEROFFERS)})}),(0,va.jsx)("div",{children:(0,va.jsx)("a",{id:"UPCOMING_BOOKING",href:"/member/Upcoming-Bookings",onClick:l=>{var s;l.preventDefault(),e.setIsLoading(!0),(0,yI.sendGTMEvent)({event:"member_dashboard_interact",intent:"sidebar nav UPCOMING STAY"}),window.location.href=null!==(s=(0,vS.at)("/member/Upcoming-Bookings",i()))&&void 0!==s?s:"/member/Upcoming-Bookings"},className:"font-bold ".concat("UPCOMING_BOOKING"===e.selectedValue?"border-b-[2px] border-b-uh-gold":"opacity-40"),children:l(mT.W.Member.UPCOMINGBOOKINGS)})}),(0,va.jsx)("div",{children:(0,va.jsx)("a",{id:"MY_PROFILE",href:"/member/my-profile",onClick:l=>{var s;l.preventDefault(),e.setIsLoading(!0),(0,yI.sendGTMEvent)({event:"member_dashboard_interact",intent:"sidebar nav MY PROFILE"}),window.location.href=null!==(s=(0,vS.at)("/member/my-profile",i()))&&void 0!==s?s:"/member/my-profile"},className:"font-bold ".concat("MY_PROFILE"===e.selectedValue?"border-b-[2px] border-b-uh-gold":"opacity-40"),children:l(mT.W.Member.MYPROFILE)})}),(0,va.jsx)("div",{children:(0,va.jsx)("a",{id:"LOGOUT",onClick:()=>{e.setIsLoading(!0),(0,yI.sendGTMEvent)({event:"member_dashboard_interact",intent:"sidebar nav LOGOUT"}),(0,yP.signOut)({callbackUrl:(0,vS.at)("/",i()),redirect:!0})},className:"font-bold ".concat("LOGOUT"===e.selectedValue?"border-b-[2px] border-b-uh-gold":""),children:l(mT.W.SSO.Global.LOGOUT)})})]})]}),(0,va.jsx)("div",{className:"block lg:hidden",children:(0,va.jsxs)("div",{children:[(0,va.jsxs)("div",{className:"flex uppercase",children:[(0,va.jsx)(bN,{tag:"div",variant:"subhead",Text:l(mT.W.SSO.Global.WELCOME_BACK),HideIfEmpty:!0}),(0,va.jsx)(bN,{tag:"div",variant:"subhead",Text:d,HideIfEmpty:!0})]}),(0,va.jsx)(bN,{tag:"div",variant:"body",Text:o,HideIfEmpty:!0,className:"mt-[10px] mb-[20px]"}),(0,va.jsx)("div",{children:(0,va.jsxs)("select",{onChange:e=>{document.querySelector("#".concat(e.target.value)).click()},value:e.selectedValue,className:"w-full sso-select border-b !border-b-black bg-transparent text-[14px] leading-[20px] focus:outline-none",children:[(0,va.jsx)("option",{className:"text-black",value:"MEMBER_OFFERS",children:l(mT.W.SSO.Global.MEMBER_OFFERS)}),(0,va.jsx)("option",{className:"text-black",value:"UPCOMING_BOOKING",children:l(mT.W.SSO.Global.UPCOMING_BOOKING)}),(0,va.jsx)("option",{className:"text-black",value:"MY_PROFILE",children:l(mT.W.SSO.Global.MY_PROFILE)}),(0,va.jsx)("option",{className:"text-black",value:"LOGOUT",children:l(mT.W.SSO.Global.LOGOUT)})]})})]})})]})},OH=e=>{var l,i;let{locale:s}=(0,vT.QT)(),n=s(),[a,d]=(0,vd.useState)(!1),{sabreLogin:t}=gJ({selectedHotelId:null===(i=e.fields.HotelId)||void 0===i?void 0:null===(l=i.fields.Value)||void 0===l?void 0:l.value}),o=Object.values(e.fields.SectionList).map((e,l)=>{var i,s;return(0,va.jsxs)("div",{className:"mt-[60px] lg:mt-[120px] first:mt-0",children:[(0,va.jsx)("div",{className:"w-full",children:(0,va.jsx)(vg.E,{field:e.fields.Image,className:"w-full object-cover"})}),(0,va.jsxs)("div",{className:"",children:[(0,va.jsx)(uf,{tag:"div",Text:e.fields.Heading,variant:"content-2",HideIfEmpty:!0,className:"mt-[20px] opacity-50"}),(0,va.jsx)(bN,{tag:"div",Text:e.fields.Title,variant:"subhead",HideIfEmpty:!0,className:"mt-[10px]"}),(0,va.jsx)(bN,{tag:"div",Text:e.fields.Content,variant:"body",HideIfEmpty:!0,className:"mt-[10px]"}),(0,va.jsx)("button",{onClick:()=>{var l;(0,yI.sendGTMEvent)({event:"offer_interact",offer_title:null===(l=e.fields.OfferTitle)||void 0===l?void 0:l.value,intent:"offer book_now"}),t()}
1,className:vP("text-[14px] lg:text-[16px] leading-[14px] lg:leading-[16px] uppercase font-bold border !border-black py-[15px] px-[30px] justify-center mt-[20px] mb-[10px] lg:mb-[15px] ".concat("en"===n?"pb-[12px]":"")),children:(0,va.jsx)(vm.x,{field:e.fields.LinkTitle})}),(0,va.jsx)(Ol,{items:[{id:"1",title:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Subtitle)||void 0===i?void 0:i.value,children:(0,va.jsx)(bN,{tag:"div",Text:e.fields.Description,variant:"body",HideIfEmpty:!0,className:"pb-[25px]"})}],itemClassName:"border-b-[1px] !border-b-[#717171]"})]})]},l)});return(0,va.jsxs)(va.Fragment,{children:[a?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsx)(vG,{left:(0,va.jsx)(OW,{setIsLoading:d,selectedValue:"MEMBER_OFFERS"}),right:(0,va.jsxs)("div",{className:"col-span-full",children:[(0,va.jsx)(bN,{tag:"div",Text:e.fields.Heading,variant:"heading",HideIfEmpty:!0}),(0,va.jsx)("div",{className:"mt-[20px] lg:mt-[60px]",children:o})]}),leftPaddingTop:180,rightPaddingTop:180})]})};let OG={320:{slidesPerView:1.3,spaceBetween:15},992:{slidesPerView:2.5,spaceBetween:20}},OU={320:{slidesPerView:1.1,spaceBetween:15}},Oz=e=>{let{t:l}=(0,vT.QT)(),i=(0,vd.useRef)(null),[s,n]=(0,vd.useState)(0),[a,d]=(0,vd.useState)(0),t=e=>{i.current=e,d(e.slides.length)};return(0,va.jsxs)("div",{className:"relative col-span-full",children:[(0,va.jsx)(SO.tq,{onSwiper:e=>t(e),onActiveIndexChange:()=>{n(i.current.activeIndex)},breakpoints:OG,modules:[yL.W_],className:"col-span-full w-full",children:e.map(e=>{var i,s,n,a,d;return(0,va.jsx)(SO.o5,{className:"text-left",children:(0,va.jsxs)("div",{className:"flex flex-col gap-y-[10px]",children:[(0,va.jsx)(m7,{field:null===(i=e.fields)||void 0===i?void 0:i.Image,className:"w-full lg:aspect-[320/400] aspect-[248/310] object-cover"}),(0,va.jsx)(uf,{Text:null===(s=e.fields)||void 0===s?void 0:s.Title,tag:"div",variant:"content-1",HideIfEmpty:!0}),(0,va.jsx)("div",{children:(0,va.jsx)(fa,{URL:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Link)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href,TEXT:l(mT.W.PAGECONTENT.DISCOVERMORE),ButtonVariant:"cta-type-a",hideIconAngle:!0,hideLinkIfEmpty:!1,className:vP("inline-block")})})]})},e.id)})}),s>0&&(0,va.jsx)("div",{className:"absolute left-0 top-[43%] -translate-y-1/2 -translate-x-1/2 z-10",children:(0,va.jsx)("div",{className:vP("flex justify-center items-center text-white bg-[#163286] w-[40px] h-[40px] border-[1px] border-white cursor-pointer"),onClick:()=>{var e;null===(e=i.current)||void 0===e||e.slidePrev()},children:(0,va.jsx)("div",{id:"PrevBtn",className:"arrow-white left-arrow-white"})})}),s<a-2&&(0,va.jsx)("div",{className:"absolute right-0 top-[43%] -translate-y-1/2 translate-x-1/2 z-10",children:(0,va.jsx)("div",{className:vP("flex justify-center items-center text-white bg-[#163286] w-[40px] h-[40px] border-[1px] border-white cursor-pointer"),onClick:()=>{var e;null===(e=i.current)||void 0===e||e.slideNext()},children:(0,va.jsx)("div",{id:"NextBtn",className:"arrow-white right-arrow-white"})})})]})},Oq=e=>{let l=(0,vd.useRef)(null),i=(0,vd.useRef)(null),{t:s}=(0,vT.QT)();return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(SO.tq,{modules:[yL.W_],slidesPerView:1,navigation:{prevEl:l.current,nextEl:i.current},children:e.map(e=>{var l,i,n,a,d,t;return(0,va.jsx)(SO.o5,{children:(0,va.jsxs)("div",{className:"grid grid-cols-9 lg:gap-[20px] gap-[15px]",children:[(0,va.jsx)(m7,{field:null===(l=e.fields)||void 0===l?void 0:l.Image,className:"col-span-5"}),(0,va.jsxs)("div",{className:"col-start-6 col-span-4 flex flex-col lg:gap-y-[20px] justify-center text-left",children:[(0,va.jsxs)("div",{className:"flex flex-col lg:gap-y-[10px]",children:[(0,va.jsx)(bN,{Text:null===(i=e.fields)||void 0===i?void 0:i.Title,tag:"div",variant:"subhead",HideIfEmpty:!0}),(0,va.jsx)(bN,{Text:null===(n=e.fields)||void 0===n?void 0:n.Content,tag:"div",variant:"body",HideIfEmpty:!0})]}),(0,va.jsx)("div",{children:(0,va.jsx)(fa,{URL:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href,TEXT:s(mT.W.PAGECONTENT.DISCOVERMORE),ButtonVariant:"cta-type-a",hideIconAngle:!0,hideLinkIfEmpty:!1,className:vP("inline-block")})})]})]})})})}),(0,va.jsxs)("div",{className:"flex flex-row gap-[10px] z-20 justify-end relative lg:mt-0",children:[(0,va.jsx)("div",{ref:l,className:vP("flex justify-center items-center text-black w-[40px] h-[40p
1x] border-[1px] border-black cursor-pointer"),children:(0,va.jsx)("div",{id:"PrevBtn",className:"arrow left-arrow"})}),(0,va.jsx)("div",{ref:i,className:vP("flex justify-center items-center text-black w-[40px] h-[40px] border-[1px] border-black cursor-pointer"),children:(0,va.jsx)("div",{id:"NextBtn",className:"arrow right-arrow"})})]})]})},OQ=e=>{let{t:l}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(SO.tq,{breakpoints:OU,modules:[yL.W_],children:e.map(e=>{var i,s,n,a,d,t;return(0,va.jsx)(SO.o5,{className:"text-left",children:(0,va.jsxs)("div",{children:[(0,va.jsx)(m7,{field:null===(i=e.fields)||void 0===i?void 0:i.Image,className:"w-full lg:aspect-[488/270] aspect-[320/192] object-cover"}),(0,va.jsxs)("div",{className:"flex flex-col gap-y-[20px]",children:[(0,va.jsxs)("div",{className:"flex flex-col gap-y-[10px]",children:[(0,va.jsx)(uf,{Text:null===(s=e.fields)||void 0===s?void 0:s.Title,tag:"div",variant:"subhead",HideIfEmpty:!0,className:""}),(0,va.jsx)(bN,{Text:null===(n=e.fields)||void 0===n?void 0:n.Content,tag:"div",variant:"body",HideIfEmpty:!0,className:""})]}),(0,va.jsx)("div",{children:(0,va.jsx)(fa,{URL:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href,TEXT:l(mT.W.PAGECONTENT.DISCOVERMORE),ButtonVariant:"cta-type-a",hideIconAngle:!0,hideLinkIfEmpty:!1,className:vP("inline-block")})})]})]})},e.id)})})})},OY=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T;let{isLgScreen:S}=EG();return(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid gap-y-[120px]",children:[(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid gap-y-[40px]",children:[(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid gap-y-[20px]",children:[(0,va.jsx)(uf,{Text:null===(l=e.fields)||void 0===l?void 0:l.BannerTitle,variant:"heading",tag:"div",className:"lg:col-span-7 col-span-full"}),(0,va.jsx)(bN,{Text:null===(i=e.fields)||void 0===i?void 0:i.BannerDescription,variant:"body",tag:"div",className:"lg:col-span-7 col-span-full"})]}),!!(null===(s=e.fields)||void 0===s?void 0:s.BannerList.length)&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"col-span-full lg:block hidden",children:Oq(null===(n=e.fields)||void 0===n?void 0:n.BannerList)}),(0,va.jsx)("div",{className:"col-span-full lg:hidden block",children:OQ(null===(a=e.fields)||void 0===a?void 0:a.BannerList)})]})]}),(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid gap-y-[40px]",children:[(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid gap-y-[20px]",children:[(0,va.jsx)(uf,{Text:null===(d=e.fields)||void 0===d?void 0:d.SwiperTitle1,tag:"div",variant:"subhead",HideIfEmpty:!0,className:"lg:col-span-7 col-span-full"}),(0,va.jsx)(bN,{Text:null===(t=e.fields)||void 0===t?void 0:t.SwiperContent1,tag:"div",variant:"body",HideIfEmpty:!0,className:"lg:col-span-7 col-span-full"})]}),!!(null===(o=e.fields)||void 0===o?void 0:o.SwiperList1.length)&&Oz(null===(r=e.fields)||void 0===r?void 0:r.SwiperList1)]}),(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid",children:[(0,va.jsxs)("div",{className:"lg:col-span-4 col-span-full flex flex-col gap-[20px] justify-center",children:[(0,va.jsx)(uf,{Text:null===(c=e.fields)||void 0===c?void 0:c.Title1,variant:"subhead",tag:"div",HideIfEmpty:!0}),(0,va.jsxs)("div",{className:"w-full flex flex-col gap-y-[20px]",children:[(0,va.jsx)(bN,{Text:null===(v=e.fields)||void 0===v?void 0:v.Content1,variant:"body",tag:"div",HideIfEmpty:!0}),(null===(x=e.fields)||void 0===x?void 0:null===(m=x.Link1)||void 0===m?void 0:null===(u=m.value)||void 0===u?void 0:u.href)?(0,va.jsx)(fa,{URL:null===(p=e.fields)||void 0===p?void 0:p.Link1,TEXT:null===(h=e.fields)||void 0===h?void 0:h.Link1Title,ButtonVariant:"cta-type-a"}):(0,va.jsx)(uf,{Text:null===(f=e.fields)||void 0===f?void 0:f.Link1Title,variant:"content-2",tag:"div",className:"opacity-[40%]",HideIfEmpty:!0})]})]}),(0,va.jsx)(m7,{field:null===(g=e.fields)||void 0===g?void 0:g.Image1,className:"lg:col-span-5 col-span-full lg:aspect-[488/270] aspect-[345/192]"})]}),(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid gap-y-[40px]",children:[(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid gap-y-[20px]",children:[(0,va.jsx)(uf,{Text:null===(j=e.fields)||void 0===j?void 0:j.SwiperTitle2,tag:"div",variant:"subhead",HideIfEmpty:!0,className:"lg:col-span-7 col-span-full"}),(0,va.jsx)(bN,{Text:null===(N=e.fields)||void 0===N?void 0:N.SwiperContent2,tag:"div",variant:"body",HideIfEmpty:!0,className:"lg:col-span-7 col-span-full"})]}),!!(null===(b=e.fields)||void 0===b?void 0:b.SwiperList2.length)&&Oz(null===(T=e.fields)||void 0===T?void 0:T.SwiperList2)]})]})};var OK=e=>{let[l,i]=(0,vd.useState)(!1);return(0,va.jsxs)(va.Fragment,{children:[l?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsx)(vG,{left:(0,va.jsx)(OW,{selectedValue:"MEMBER_OFFERS",setIsLoading:i}
1),right:OY(e),rightColSpan:9,leftPaddingTop:180,rightPaddingTop:180})]})};let O$=new RegExp(gZ.is.REGEX_ENAME),OZ=(0,kF.WP)();var OJ=()=>{let{t:e,locale:l}=(0,vT.QT)(),[i,s]=(0,vd.useState)(""),[n,a]=(0,vd.useState)(""),[d,t]=(0,vd.useState)(""),[o,r]=(0,vd.useState)(10),[c,v]=(0,vd.useState)(!1);(0,vd.useEffect)(()=>{let e=null;return c&&o>0?e=setInterval(()=>{r(e=>e-1)},1e3):0===o&&(v(!1),e&&clearInterval(e)),()=>{e&&clearInterval(e)}},[c,o]);let[u,m]=(0,vd.useState)(!1),[x,p]=(0,vd.useState)(!1),[h,f]=(0,vd.useState)(""),[g,j]=(0,vd.useState)(""),[N,b]=(0,vd.useState)(""),[T,S]=(0,vd.useState)(""),[k,w]=(0,vd.useState)(""),[y,E]=(0,vd.useState)(""),[C,O]=(0,vd.useState)(!1),[L,I]=(0,vd.useState)(0),[F,_]=(0,vd.useState)(0),[M,R]=(0,vd.useState)(""),P=()=>{let e=window.location.pathname;(0,yP.signIn)("azureb2c",{callbackUrl:e},{ui_locales:gZ.OE[l()]})},A=async()=>{var l,i,s,n;if(L>=5){let l=null===(i=gZ.VO.find(e=>"E306"==e.code))||void 0===i?void 0:i.label;void 0!=l?j(e(l)):j("(error not match) OTP not match too much times,please resend OTP");return}I(L+1),j("");let a=null===(l=document.querySelector("#InputCode"))||void 0===l?void 0:l.querySelectorAll("input.code-input-box"),d="";for(let e=0;e<a.length;e++)if(d+=a[e].value,""==a[e].value||void 0===a[e].value)return;if(6!==d.length||!/^\d{6}$/.test(d))return;let t={Channel:"phone",Signature:y,UserInputCode:d};j("");try{eB(!0);let l=await fetch(uc.MD.PROFILE_VERIFY_AND_BIND,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(eB(!1),200==l.status)I(0),ez(),H();else if(401==l.status)P();else{if(L>=4){let l=null===(s=gZ.VO.find(e=>"E306"==e.code))||void 0===s?void 0:s.label;void 0!=l?j(e(l)):j("(error not match) OTP not match too much times");return}let i=await l.json();if(i.ErrorCode){let l=null===(n=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===n?void 0:n.label;j(void 0!=l?e(l):eU)}else j(eU);return}}catch(l){console.error("Error fetching data:",l),j(e("SSO/Errors/GeneralError"))}finally{eB(!1)}},D=async()=>{I(0),j("");let i={Channel:"phone",MobileCountry:eM,MobilePhoneNumber:n,Locale:l()};try{f(""),eB(!0);let l=await fetch(uc.MD.PROFILE_SEND_OTP,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(eB(!1),200==l.status){let e=await l.json();E(e.Signature),W()}else if(401==l.status)P();else{let i=await l.json();if(i.ErrorCode){var s;let l=null===(s=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===s?void 0:s.label;f(void 0!=l?e(l):eU)}else f(eU);return}}catch(e){console.error("Error fetching data:",e),f(eU)}finally{eB(!1)}},B=async()=>{var l,i,s,n;if(F>=5){let l=null===(i=gZ.VO.find(e=>"E306"==e.code))||void 0===i?void 0:i.label;void 0!=l?S(e(l)):S("(error not match) OTP not match too much times,please resend OTP");return}_(F+1),S("");let a=null===(l=document.querySelector("#InputCode"))||void 0===l?void 0:l.querySelectorAll("input.code-input-box"),d="";for(let e=0;e<a.length;e++)if(d+=a[e].value,""==a[e].value||void 0===a[e].value)return;if(6!==d.length||!/^\d{6}$/.test(d))return;let t={Channel:"email",Signature:y,UserInputCode:d};S("");try{eB(!0);let l=await fetch(uc.MD.PROFILE_VERIFY_AND_BIND,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(eB(!1),200==l.status)_(0),ez(),U();else if(401==l.status)P();else{if(F>=4){let l=null===(s=gZ.VO.find(e=>"E306"==e.code))||void 0===s?void 0:s.label;void 0!=l?S(e(l)):S("(error not match) OTP not match too much times");return}let i=await l.json();if(i.ErrorCode){let l=null===(n=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===n?void 0:n.label;S(void 0!=l?e(l):eU)}else S(eU);return}}catch(e){console.error("Error fetching data:",e),S(eU)}finally{eB(!1)}},V=async()=>{_(0),S("");let s={Channel:"email",Email:K?d:i,Locale:l()},n=K?d.split("@"):i.split("@"),a="";if(n[0].length>7){for(let e=0;e<n[0].length-3;e++)a+="*";a=a+n[0].slice(-3)+"@"+n[1]}else if(n[0].length>2){for(let e=0;e<n[0].length-1;e++)a+="*";a=a+n[0].slice(-1)+"@"+n[1]}else{for(let e=0;e<n[0].length;e++)a+="*";a=a+"@"+n[1]}R(a);try{b(""),eB(!0);let l=await fetch(uc.MD.PROFILE_SEND_OTP,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(eB(!1),200==l.status){let e=await l.json();
1E(e.Signature),G()}else if(401==l.status)P();else{let i=await l.json();if(i.ErrorCode){var t;let l=null===(t=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===t?void 0:t.label;b(void 0!=l?e(l):eU)}else b(eU);return}}catch(e){console.error("Error fetching data:",e),b(eU);return}finally{eB(!1)}},W=()=>{u||(m(!0),v(!0),r(60),f(""))},H=()=>{m(!1),v(!0)},G=()=>{x||(p(!0),v(!0),r(60),S(""))},U=()=>{p(!1),v(!0)},[z,q]=(0,vd.useState)(!1),[Q,Y]=(0,vd.useState)(!1),[K,Z]=(0,vd.useState)(!1),[J,X]=(0,vd.useState)(!1),[ee,el]=(0,vd.useState)(!1),[ei,es]=(0,vd.useState)(""),[en,ea]=(0,vd.useState)(!1),[ed,et]=(0,vd.useState)(!0),[eo,er]=(0,vd.useState)(!0),[ec,ev]=(0,vd.useState)(!0),[eu,em]=(0,vd.useState)(""),[ex,ep]=(0,vd.useState)(""),[eh,ef]=(0,vd.useState)(""),[eg,ej]=(0,vd.useState)(""),[eN,eb]=(0,vd.useState)(""),[eT,eS]=(0,vd.useState)(""),[ek,ew]=(0,vd.useState)(""),[ey,eE]=(0,vd.useState)(""),[eC,eO]=(0,vd.useState)([]),[eL,eI]=(0,vd.useState)([]),[eF,e_]=(0,vd.useState)([]),[eM,eR]=(0,vd.useState)("852"),[eP,eA]=(0,vd.useState)([]),[eD,eB]=(0,vd.useState)(!1),[eV,eW]=(0,vd.useState)(!1),[eH,eG]=(0,vd.useState)(!1),eU=e("SSO/Errors/GeneralError"),ez=async()=>{try{let l=await fetch("".concat(OZ).concat(uc.MD.PROFILE_GET_PROFILE),{cache:"no-cache",method:"GET",headers:{"Content-Type":"application/json"}});if(200==l.status){let i=await l.json();if(i){e1(i.HasPassword);let l=gZ.$A.filter(e=>e.code==i.Salutation);l.length>0&&(em(e(l[0].label)),ep(l[0].code),eb(l[0].code)),eG(i.EmailOTPVerified),eW(i.PhoneOTPVerified),ef(i.FirstName),ej(i.LastName),eS(i.FirstName),ew(i.LastName);let n=gZ.y7.filter(e=>e.code==i.MobileCountry).map(e=>e.label);n.length>0&&(eE(n[0]),eR(i.MobileCountry)),a(i.MobilePhoneNumber),s(i.Email),t(i.Email);let d=0,o="",r=[i.ArtAndDesign,i.Music,i.Wellness,i.Fashion,i.Cars,i.Watches,i.Jewellery,i.Sustainability,i.DestinationTravel,i.SportsAndFitness,i.Beauty,i.DiversityAndInclusion,i.RestaurantsAndBars],c=[];for(let l of r)l&&(""!==o&&(o+=", "),o+=e(gZ.k0[d].label),c=c.concat(gZ.k0[d].code)),d++;eI(c),e_(c),es(o);let v=[gZ.mN[1].code];i.DataManageWithinResidence&&(v=v.concat(gZ.mN[2].code)),i.MarketingOptIn&&(v=v.concat(gZ.mN[0].code)),eO(v),eA(v),ea(!0)}}else{if(401!=l.status)return;P()}}catch(e){console.error("Error fetching data:",e);return}};(async()=>{en||(ez(),ea(!0))})();let eq=()=>{ev(!ek||O$.test(ek)),er(!eT||O$.test(eT))},eQ=e=>{if(eF.length>=3&&e.target.checked){O(!0);return}O(!1);let l=e.target.value;e.target.checked?e_([...eF,l]):e_(eF.filter(e=>e!==l))},eY=e=>{if(ee){let l=e.target.value;e.target.checked?eA([...eP,l]):eA(eP.filter(e=>e!==l))}};function eK(){q(!1),Y(!1),Z(!1),X(!1),el(!1),la(!1)}let e$=async l=>{let i=0,s={Salutation:"name"==l?eN:ex,FirstName:"name"==l?eT:eh,LastName:"name"==l?ek:eg,Interests:{ArtAndDesign:"interests"==l?eF.includes(gZ.k0[i++].code):eL.includes(gZ.k0[i++].code),Music:"interests"==l?eF.includes(gZ.k0[i++].code):eL.includes(gZ.k0[i++].code),Wellness:"interests"==l?eF.includes(gZ.k0[i++].code):eL.includes(gZ.k0[i++].code),Fashion:"interests"==l?eF.includes(gZ.k0[i++].code):eL.includes(gZ.k0[i++].code),Cars:"interests"==l?eF.includes(gZ.k0[i++].code):eL.includes(gZ.k0[i++].code),Watches:"interests"==l?eF.includes(gZ.k0[i++].code):eL.includes(gZ.k0[i++].code),Jewellery:"interests"==l?eF.includes(gZ.k0[i++].code):eL.includes(gZ.k0[i++].code),Sustainability:"interests"==l?eF.includes(gZ.k0[i++].code):eL.includes(gZ.k0[i++].code),DestinationTravel:"interests"==l?eF.includes(gZ.k0[i++].code):eL.includes(gZ.k0[i++].code),SportsAndFitness:"interests"==l?eF.includes(gZ.k0[i++].code):eL.includes(gZ.k0[i++].code),Beauty:"interests"==l?eF.includes(gZ.k0[i++].code):eL.includes(gZ.k0[i++].code),DiversityAndInclusion:"interests"==l?eF.includes(gZ.k0[i++].code):eL.includes(gZ.k0[i++].code),RestaurantsAndBars:"interests"==l?eF.includes(gZ.k0[i++].code):eL.includes(gZ.k0[i++].code)},MarketingOptIn:"privacy"==l?eP.includes(gZ.mN[0].code):eC.includes(gZ.mN[0].code)},n=e(mT.W.SSO.Global.INVALID_API);try{eB(!0);let l=await fetch(uc.MD.PROFILE_UPDATE_PROFILE,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(eB(!1),200==l.status)ez(),eK();else if(401==l.status)P();else{let i=await l.json();if(i.ErrorCode){var a;let l=null===(a=gZ.VO.find(e=>e.code==i.ErrorCode))||void 0===a?void 0:a.label;w(void 0!=l?e(l):n)}else w(n);return}}catch(e){console.error("Error fetching data:",e),w(n);return}finally{eB(!1)}},eZ=new RegExp(gZ.is.REGEX_EMAIL),[eJ,eX]=(0,vd.useState)(!0),[e0,e1]=(0,vd.useState)(!1),[e2,e5]=(0,vd.useState)(""),[e3,e4]=(0,vd.useState)(""),[e6,e8]=(0,vd.useState)(!0),[e7,e9]=(0,vd.useState)(!0),[le,ll]=(0,vd.useState)({hasUpperCase:!1,hasLowerCase:!1,hasNumber:!1,hasSpecialChar:!1,hasMinLength:!1}),li=()=>{let e=[le.hasUpperCase,le.hasLowerCase,le.hasNumber,le.hasSpecialChar].filter(e=>e).length>=3;return!!e2&&!!le.hasMinLength&&!!e},ls=async()=>
1{if(lv(""),!li()){e9(!1);return}if(e6)try{eB(!0);let i=await fetch(uc.MD.PASSWORD_SET_PASSWORD,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({Password:e2})});if(eB(!1),200==i.status)ez(),eK();else{let s=await i.json();if(s.ErrorCode){var l;let i=null===(l=gZ.VO.find(e=>e.code==s.ErrorCode))||void 0===l?void 0:l.label;lv(i?e(i):"Set Password Failed")}else lv("Set Password Failed")}}catch(e){console.error("Error fetching data:",e)}finally{eB(!1)}},[ln,la]=(0,vd.useState)(!1),[ld,lt]=(0,vd.useState)(!0),[lo,lr]=(0,vd.useState)(!0),[lc,lv]=(0,vd.useState)("");return(0,va.jsxs)(va.Fragment,{children:[eD?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsx)(vG,{left:(0,va.jsx)(OW,{setIsLoading:eB,selectedValue:"MY_PROFILE"}),right:(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"col-span-full font-Amiko",children:(0,va.jsxs)("div",{className:"sm:max-w-[720px]",children:[(0,va.jsx)("div",{className:"sm:pb-10 sm:text-[40px] sm:leading-[44px] text-[30px] font-Belleza",children:(0,va.jsx)("div",{className:"",children:e(mT.W.SSO.Global.MY_PROFILE)})}),(0,va.jsx)("div",{className:"border-b border-b-black opacity-50 max-sm:pt-10"}),(0,va.jsxs)("div",{className:"".concat(z?"mt-4":"my-4"," grid sm:grid-cols-[1fr_2fr_2fr_60px] grid-cols-[2fr_2fr] sm:gap-10 gap-3"),children:[(0,va.jsxs)("div",{className:"flex flex-col sm:justify-between max-sm:order-1",children:[(0,va.jsx)("div",{className:"sm:mb-4 mb-3 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"":"opacity-70"),children:e(mT.W.SSO.Global.TITLE)}),(0,va.jsx)("div",{className:"text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"hidden":""),children:eu}),(0,va.jsxs)("select",{required:!0,className:"".concat(z?"":"hidden"," w-full border-b border-b-black sso-select bg-transparent text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] outline-none"),value:eN,onChange:e=>{eb(e.target.value)},children:[(0,va.jsx)("option",{className:"text-black",value:"",disabled:!0,selected:!0,children:e(mT.W.SSO.Global.ENTER_TITLE)}),gZ.$A.map(l=>(0,va.jsx)("option",{className:"text-black",value:l.code,children:e(l.label)},l.code))]})]}),(0,va.jsxs)("div",{className:"flex flex-col sm:justify-between max-sm:order-3",children:[(0,va.jsx)("div",{className:"sm:mb-4 mb-3 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"":"opacity-70"),children:e(mT.W.SSO.Global.FIRST_NAME)}),(0,va.jsx)("div",{className:"text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"hidden":""),children:eh}),(0,va.jsx)("input",{value:eT,onChange:e=>{let l=e.target.value;er(!l||O$.test(l)),eS(l)},className:"w-full border-b border-b-black sso-input-autofill bg-transparent text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] outline-none ".concat(z?"":"hidden")})]}),(0,va.jsxs)("div",{className:"flex flex-col sm:justify-between max-sm:order-4",children:[(0,va.jsx)("div",{className:"sm:mb-4 mb-3 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"":"opacity-70"),children:e(mT.W.SSO.Global.LAST_NAME)}),(0,va.jsx)("div",{className:"text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(z?"hidden":""),children:eg}),(0,va.jsx)("input",{value:ek,onChange:e=>{let l=e.target.value;ev(!l||O$.test(l)),ew(l)},className:"w-full border-b border-b-black sso-input-autofill bg-transparent text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] outline-none ".concat(z?"":"hidden")})]}),(0,va.jsx)("div",{className:"ml-auto max-sm:order-2 w-[60px] float-right",children:(0,va.jsx)("a",{onClick:()=>{q(!z),Y(!1),Z(!1),X(!1),la(!1),el(!1),w(""),et(!0),eq()},className:"relative sm:top-[-2px] top-[-5px] border-b-[2px] border-b-uh-gold text-[13px] sm:text-[16px] leading-[16px] sm:font-normal font-semibold sm:tracking-normal tracking-[0.88px]",children:z?e(mT.W.SSO.Global.CANCEL):e(mT.W.SSO.Global.EDIT)})})]}),z&&(0,va.jsx)("p",{className:"pb-2 text-[11px] text-[#828077]",children:e(mT.W.SSO.Global.CONSISTENT_NAME)}),z&&!(ec&&eo)&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500 ",children:e(mT.W.
1SSO.Global.REQUIRED_ENGLISHNAME)}),!ed&&ec&&eo&&z&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500 ",children:e(mT.W.SSO.Global.REQUIRED_All)}),""!==k&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500 ",children:k}),(0,va.jsx)("button",{className:"px-[30px] py-[15px] text-[16px] leading-[16px] sso_black_btn font-bold ".concat(z?"":"hidden"),onClick:()=>{if(""==eN||""==eT||""==ek){et(!1);return}et(!0),eo&&ec&&e$("name")},children:e(mT.W.SSO.Global.CONFIRM)}),(0,va.jsx)("div",{className:"my-4 border-t border-t-black opacity-50 "}),(0,va.jsx)("div",{className:"my-4 flex gap-5",children:(0,va.jsxs)("div",{children:[(0,va.jsx)("div",{className:"mb-2 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px]",children:e(mT.W.SSO.Global.PHONE_NUMBER)}),(0,va.jsx)("div",{className:"w-full pb-[10px] text-start text-[11px] text-[#828077]",children:e(mT.W.SSO.Global.CONSISTENT_PHONE)}),(0,va.jsx)("div",{className:"text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(""),children:"".concat(ey," ").concat(n)})]})}),""!==h&&!eV&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:h}),(0,va.jsx)("button",{onClick:D,className:"px-[30px] py-[15px] text-[16px] leading-[16px] sso_black_btn font-bold ".concat(eV?"hidden":""),children:e(mT.W.SSO.Global.VERIFY)}),(0,va.jsx)(yK,{isOpen:u,onClose:H,children:(0,va.jsxs)("div",{className:"m-auto flex max-w-[580px] flex-col items-center gap-5 pt-10",children:[(0,va.jsx)("div",{className:"m-auto text-[18px] leading-6 tracking-widest font-bold pb-3 ",children:e(mT.W.SSO.Global.ENTER_PASSCODE)}),(0,va.jsx)("div",{className:"m-auto text-center text-[15px] leading-[21px]",children:n.length>4?(0,va.jsx)("p",{children:e(mT.W.SSO.Global.OTP_SENT_PHONE).replace(/{phone}/gi,n.substring(0,n.length-4).replace(/[0-9]/g,"*")+n.slice(-4))}):(0,va.jsx)("p",{children:e(mT.W.SSO.Global.OTP_SENT_PHONE).replace(/{phone}/gi,n)})}),(0,va.jsxs)("div",{className:"w-[345px]",children:[(0,va.jsx)(yM,{}),(0,va.jsx)("button",{onClick:A,className:"mt-5 h-12 font-bold px-[30px] py-[15px] text-[16px] leading-[16px] w-full sso_black_btn",children:e(mT.W.SSO.Global.CONTINUE)})]}),""!==g&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:g}),(0,va.jsx)("div",{className:"text-[15px] leading-5 my-3 font-semibold text-[#808080] ".concat(c?"":"hidden"),children:e(mT.W.SSO.Global.RESEND_OTP_COUNTDOWN).replace(/{seconds}/gi,String(o))}),(0,va.jsx)("a",{onClick:D,className:"text-[15px] leading-5 font-semibold text-[#1d2021] border-b-[2px] border-b-uh-gold ".concat(c?"hidden":""),children:e(mT.W.SSO.Global.RESEND_OTP_NOW)}),(0,va.jsx)("a",{className:" text-[15px] leading-5 font-semibold text-[#1d2021] border-b-[2px] border-b-uh-gold ",onClick:H,children:e(mT.W.SSO.Global.GO_BACK)})]})}),(0,va.jsx)("div",{className:"my-4 border-t border-t-black opacity-50 "}),(0,va.jsxs)("div",{className:"my-4 grid grid-cols-[1fr_60px] gap-5",children:[(0,va.jsxs)("div",{className:"max-w-[250px] sm:max-w-none",children:[(0,va.jsx)("div",{className:"mb-4 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(K?"":"opacity-70"),children:e(mT.W.SSO.Global.EMAIL)}),(0,va.jsx)("div",{className:"text-[15px] leading-[20px] break-words opacity-75 ".concat(K?"hidden":""),children:i}),(0,va.jsx)("input",{id:"emailVal",value:d,onChange:e=>{let l=e.target.value;t(l),0==l.length?eX(!0):eX(eZ.test(l))},className:"w-full border-b border-b-black sso-input-autofill bg-transparent text-[15px] leading-[20px] outline-none ".concat(K?"":"hidden")})]}),(0,va.jsx)("div",{className:"ml-auto",children:(0,va.jsx)("a",{onClick:()=>{Z(!K),Y(!1),q(!1),X(!1),el(!1),la(!1),et(!0),eq()},className:"mb-4 border-b-[2px] border-b-uh-gold text-[13px] sm:text-[16px] leading-[16px] sm:font-normal font-semibold sm:tracking-normal tracking-[0.88px]",children:K?e(mT.W.SSO.Global.CANCEL):e(mT.W.SSO.Global.EDIT)})})]}),""!==N&&(K||!eH)&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:N}),!eJ&&K&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:e(mT.W.
1SSO.Global.EMAIL_FORMAT)}),(0,va.jsx)("button",{onClick:V,className:"font-bold px-[30px] py-[15px] text-[16px] leading-[16px] sso_black_btn ".concat(K||!1==eH?"":"hidden"),children:e(mT.W.SSO.Global.VERIFY)}),eH&&(0,va.jsxs)("div",{className:"flex pt-2 gap-5",children:[(0,va.jsxs)("div",{className:"",children:[(0,va.jsx)("div",{className:"mb-3 text-[13px] sm:text-[15px] leading-[20px] ".concat(ln?"":"opacity-70"),children:e(mT.W.SSO.Password.PASSWORD)}),!(e0||ln)&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)("div",{className:"w-full text-start text-[13px] text-black opacity-50",children:e(mT.W.SSO.Password.SET_UP_TIP)}),(0,va.jsx)("div",{onClick:()=>la(!ln),className:"inline-block border-b-[2px] border-b-uh-gold mb-4 text-[13px] sm:text-[16px] leading-[16px]",children:e(mT.W.SSO.Password.SET_UP_PASSWORD)})]}),ln?(0,va.jsxs)(va.Fragment,{children:[(0,va.jsxs)("div",{className:"relative sm:w-[488px]",children:[(0,va.jsx)("input",{className:"w-full border-b border-b-[#828077] sso-input-autofill bg-transparent text-[13px] leading-[18px] outline-none",type:ld?"password":"text",onChange:e=>{let l=e.target.value;e5(l);let i=l.length>=8,s=/[A-Z]/.test(l);ll({hasMinLength:i,hasUpperCase:s,hasLowerCase:/[a-z]/.test(l),hasNumber:/[0-9]/.test(l),hasSpecialChar:/[!"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]/.test(l)}),e9(!0),0==l.length||l===e3?e8(!0):e8(!1)},value:e2}),(0,va.jsx)("div",{onClick:()=>lt(!ld),className:"absolute right-0 top-0 ".concat(ld?"with-eye-crossed":"with-eye")})]}),(0,va.jsxs)("div",{className:"w-full mt-3 text-[11px]",children:[(0,va.jsx)("div",{className:"text-[12px] leading-[16px] opacity-50",children:e(mT.W.SSO.Password.LENGTH_REQUIRE)}),(0,va.jsxs)("div",{className:"mt-1 sm:grid sm:grid-cols-2 text-black lowercase",children:[(0,va.jsxs)("div",{className:le.hasUpperCase?"":"opacity-50",children:[e(mT.W.SSO.Password.UPPERCASE_REQUIRE),(0,va.jsx)("div",{className:"sm:ml-[20px] ml-[10px] ".concat(le.hasUpperCase?"with-checkmark ":"with-checkmark")})]}),(0,va.jsxs)("div",{className:le.hasLowerCase?"":"opacity-50",children:[e(mT.W.SSO.Password.LOWERCASE_REQUIRE),(0,va.jsx)("div",{className:"sm:ml-[20px] ml-[10px] ".concat(le.hasLowerCase?"with-checkmark ":"with-checkmark")})]}),(0,va.jsxs)("div",{className:le.hasNumber?"":"opacity-50",children:[e(mT.W.SSO.Password.NUMBER_REQUIRE),(0,va.jsx)("div",{className:"sm:ml-[20px] ml-[10px] ".concat(le.hasNumber?"with-checkmark ":"with-checkmark")})]}),(0,va.jsxs)("div",{className:le.hasSpecialChar?"":" opacity-50",children:[e(mT.W.SSO.Password.SPECIAL_CHARACTER_REQUIRE),(0,va.jsx)("div",{className:"sm:ml-[20px] ml-[10px] ".concat(le.hasSpecialChar?"with-checkmark ":"with-checkmark")})]})]})]}),(0,va.jsxs)("div",{className:"w-full pt-3",children:[(0,va.jsx)("div",{className:"text-[15px] leading-5",children:e(mT.W.SSO.Password.CONFIRM_PASSWORD)}),(0,va.jsxs)("div",{className:"relative sm:w-[488px]",children:[(0,va.jsx)("input",{className:"w-full border-b border-b-[#828077] sso-input-autofill bg-transparent text-[13px] leading-[18px] outline-none",type:lo?"password":"text",onChange:e=>{let l=e.target.value;e4(l),0==l.length||l===e2?e8(!0):e8(!1)},value:e3}),(0,va.jsx)("div",{onClick:()=>lr(!lo),className:"absolute right-0 top-0 ".concat(lo?"with-eye-crossed":"with-eye")})]}),!e6&&(0,va.jsx)("p",{className:"mt-1 text-[11px] text-red-500 error",children:e(mT.W.SSO.Password.PASSWORD_NOT_CORRECT)})]}),(0,va.jsx)("button",{onClick:ls,className:"font-bold mt-3 px-[30px] py-[15px] text-[16px] leading-[16px] sso_black_btn",children:e(mT.W.SSO.Password.CONFIRM)}),!e7&&(0,va.jsx)("p",{className:"mt-1 text-[11px] text-red-500 error",children:e(mT.W.SSO.Password.PWD_WRONG)}),""!=lc&&(0,va.jsx)("p",{className:"mt-1 text-[11px] text-red-500 error",children:lc})]}):e0&&(0,va.jsx)(va.Fragment,{children:"*******"})]}),(e0||ln)&&(0,va.jsx)("div",{className:"ml-auto",children:(0,va.jsx)("a",{onClick:()=>{Z(!1),Y(!1),la(!ln),q(!1),X(!1),el(!1),et(!0),eq()},className:"mb-4 border-b-[2px] border-b-uh-gold text-[13px] sm:text-[16px] leading-[16px] sm:font-normal font-semibold sm:tracking-normal tracking-[0.88px]",children:ln?e(mT.W.SSO.Global.CANCEL):e(mT.W.
1SSO.Global.EDIT)})})]}),(0,va.jsx)(yK,{isOpen:x,onClose:U,children:(0,va.jsxs)("div",{className:"m-auto flex max-w-[580px] flex-col items-center gap-5 pt-10",children:[(0,va.jsx)("div",{className:"m-auto text-[20px] ",children:e(mT.W.SSO.Global.ENTER_PASSCODE)}),(0,va.jsx)("div",{className:"m-auto text-center text-[13px]",children:e(mT.W.SSO.Global.OTP_SENT_EMAIL).replace(/{email}/gi,M)}),(0,va.jsxs)("div",{className:"w-[345px]",children:[(0,va.jsx)(yM,{}),(0,va.jsx)("button",{onClick:B,className:"mt-5 h-10 w-full px-[30px] py-[15px] text-[16px] leading-[16px] sso_black_btn",children:e(mT.W.SSO.Global.CONTINUE)})]}),""!==T&&(0,va.jsx)("p",{className:"error mt-1 pb-2 text-[11px] text-red-500",children:T}),(0,va.jsx)("div",{className:"text-[11px] ".concat(c?"":"hidden"),children:e(mT.W.SSO.Global.RESEND_OTP_COUNTDOWN).replace(/{seconds}/gi,String(o))}),(0,va.jsx)("a",{onClick:V,className:"text-[11px] font-bold text-[#1d2021] border-b border-b-white ".concat(c?"hidden":""),children:e(mT.W.SSO.Global.RESEND_OTP_NOW)}),(0,va.jsx)("a",{className:"mt-5 text-[11px] font-bold text-[#1d2021] border-b border-b-white",onClick:U,children:e(mT.W.SSO.Global.GO_BACK)})]})}),(0,va.jsx)("div",{className:"my-4 border-t border-t-black opacity-50 "}),(0,va.jsxs)("div",{className:"flex gap-5",children:[(0,va.jsx)("div",{children:(0,va.jsx)("div",{className:"mb-4 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(J?"":"opacity-70"),children:e(mT.W.SSO.Global.INTERESTS)})}),(0,va.jsx)("div",{className:"ml-auto",children:(0,va.jsx)("a",{onClick:()=>{X(!J),q(!1),Y(!1),Z(!1),el(!1),la(!1),w(""),et(!0),eq()},className:"mb-4 border-b-[2px] border-b-uh-gold text-[13px] sm:text-[16px] leading-[16px] sm:font-normal font-semibold sm:tracking-normal tracking-[0.88px]",children:J?e(mT.W.SSO.Global.CANCEL):e(mT.W.SSO.Global.EDIT)})})]}),(0,va.jsx)("div",{className:"text-[15px] leading-[20px] opacity-75 ".concat(J?"hidden":""),children:ei}),(0,va.jsx)("div",{className:"grid grid-cols-2 gap-3 text-[15px] leading-[20px] sm:grid-cols-3 ".concat(J?"":"hidden"),children:gZ.k0.map(l=>(0,va.jsxs)("div",{className:"flex items-start",children:[(0,va.jsx)("input",{className:"ssoinput mr-2 mt-[2px]",type:"checkbox",value:l.code,checked:eF.includes(l.code),onChange:eQ}),(0,va.jsx)("label",{id:l.code,children:e(l.label)})]},l.code))}),""!==k&&J&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500 ",children:k}),C&&J&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500",children:e(mT.W.SSO.Global.MAXIMUM_SELECT)}),(0,va.jsx)("button",{className:"font-bold mt-3 px-[30px] py-[15px] text-[16px] leading-[16px] sso_black_btn ".concat(J?"":"hidden"),onClick:()=>{e$("interests")},children:e(mT.W.SSO.Global.CONFIRM)}),(0,va.jsx)("div",{className:"my-4 border-t border-t-black opacity-50 "}),(0,va.jsxs)("div",{className:"flex gap-5",children:[(0,va.jsx)("div",{children:(0,va.jsx)("div",{className:"mb-4 text-[13px] sm:text-[15px] leading-[20px] tracking-[0.88px] ".concat(ee?"":"opacity-70"),children:e(mT.W.SSO.Global.CONSENT_PREFERENCE)})}),(0,va.jsx)("div",{className:"ml-auto",children:(0,va.jsx)("a",{onClick:()=>{el(!ee),q(!1),Y(!1),Z(!1),X(!1),la(!1),w(""),et(!0),eq()},className:"mb-4 border-b-[2px] border-b-uh-gold text-[13px] sm:text-[16px] leading-[16px] sm:font-normal font-semibold sm:tracking-normal tracking-[0.88px]",children:ee?e(mT.W.SSO.Global.CANCEL):e(mT.W.SSO.Global.EDIT)})})]}),gZ.mN.map(l=>(0,va.jsxs)("div",{className:"flex items-start pb-2 text-[15px] leading-[20px] sm:pr-20 ".concat(ee?"hidden":""),children:[(0,va.jsx)("input",{disabled:l.required,className:"ssoinput mr-3 mt-[2px]",type:"checkbox",value:l.code,checked:eC.includes(l.code)}),(0,va.jsx)("label",{dangerouslySetInnerHTML:{__html:e(l.label,{name:"",escapeInterpolation:!1})}})]},l.code)),gZ.mN.map(l=>(0,va.jsxs)("div",{className:"flex items-start pb-2 text-[15px] leading-[20px] sm:pr-20 ".concat(ee?"":"hidden"),children:[(0,va.jsx)("input",{disabled:l.required,className:"ssoinput mr-3 mt-[2px]",type:"checkbox",value:l.code,checked:eP.includes(l.code),onChange:eY}),(0,va.jsx)("label",{dangerouslySetInnerHTML:{__html:e(l.label,{name:"",escapeInterpolation:!1})}})]},l.code)),(0,va.jsx)("button",{className:"font-bold mt-3 mb-[1.5rem] px-[30px] py-[15px] text-[16px] leading-[16
1px] sso_black_btn ".concat(ee?"":"hidden"),onClick:()=>{e$("privacy")},children:e(mT.W.SSO.Global.CONFIRM)}),(0,va.jsx)("div",{className:"w-full border-t border-t-black"}),(0,va.jsx)("div",{className:"w-full pt-3 sm:text-[15px] sm:leading-[21px] text-[12px] leading-[16px] opacity-50",children:e(mT.W.SSO.Consent.NOTE)}),""!==k&&ee&&(0,va.jsx)("p",{className:"error py-2 text-[11px] text-red-500 ",children:k})]})})}),leftPaddingTop:180,rightPaddingTop:180})]})};let OX=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m;let{item:x}=e,p=(0,vd.useRef)(null),{t:h,locale:f}=(0,vT.QT)(),{sitecoreContext:g}=(0,vr.z)();return(0,va.jsxs)("div",{children:[(0,va.jsx)("div",{ref:p,className:"offer-image relative",children:!!(null===(l=x.fields)||void 0===l?void 0:l.TeaserImage)&&(0,va.jsx)("div",{className:vP("w-full h-auto"),children:(0,va.jsx)(m7,{className:"object-cover object-center w-full h-full lg:aspect-[590/294] aspect-[345/192]",field:null===(i=x.fields)||void 0===i?void 0:i.TeaserImage})})}),(null===(n=x.fields)||void 0===n?void 0:null===(s=n.Title)||void 0===s?void 0:s.value)?(0,va.jsx)(bN,{tag:"div",Text:null===(a=x.fields)||void 0===a?void 0:a.Title,variant:"subhead",className:vP("mt-[20px] lg:mt-[20px]",!(null===(o=x.fields)||void 0===o?void 0:null===(t=o.ShortParagraph)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.length)&&"mb-[20px] lg:mb-[20px]")}):(0,va.jsx)(bN,{tag:"div",Text:null===(r=x.fields)||void 0===r?void 0:r.TeaserTitle,variant:"subhead",className:vP("mt-[20px] lg:mt-[20px]",!(null===(u=x.fields)||void 0===u?void 0:null===(v=u.ShortParagraph)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.length)&&"mb-[20px] lg:mb-[20px]")}),(0,va.jsx)(bN,{tag:"div",Text:null===(m=x.fields)||void 0===m?void 0:m.ShortParagraph,variant:"body",className:"mt-[10px] lg:my-[10px] mb-[20px] lg:mb-[20px]"}),(0,va.jsx)("div",{className:"flex",children:(0,va.jsx)(fa,{URL:(0,vS.at)(null==x?void 0:x.url,f()),TEXT:h(mT.W.PAGECONTENT.DISCOVERMORE),hideIconAngle:!0,ButtonVariant:"cta-type-a",onClick:e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,p,h,f,j,N,b;if((null===(l=g.route)||void 0===l?void 0:l.templateId)===E_.leadingPage_restaurants_and_bars||(null===(i=g.route)||void 0===i?void 0:i.templateId)===E_.detailPage_restaurants){let e=new EA((0,xJ.AB)(g,null===(a=g.route)||void 0===a?void 0:a.itemLanguage)+"/"+x.fields.Title.value,null===(r=x.fields)||void 0===r?void 0:null===(o=r.Tag)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:null===(d=t.Title)||void 0===d?void 0:d.value,"view offer details","button","food & drinks happenings_Learn More");EH(g,e)}else if((null===(s=g.route)||void 0===s?void 0:s.templateId)===E_.detailPage_room){let e=new EA((0,xJ.AB)(g,null===(c=g.route)||void 0===c?void 0:c.itemLanguage)+"/"+x.fields.Title.value,null===(p=x.fields)||void 0===p?void 0:null===(m=p.Tag)||void 0===m?void 0:null===(u=m.fields)||void 0===u?void 0:null===(v=u.Title)||void 0===v?void 0:v.value,"view offer details","button","Room Description Offer_Learn More");EH(g,e)}else if((null===(n=g.route)||void 0===n?void 0:n.templateId)===E_.detailPage_offer){let e=new EA((0,xJ.AB)(g,null===(h=g.route)||void 0===h?void 0:h.itemLanguage)+"/"+x.fields.Title.value,null===(b=x.fields)||void 0===b?void 0:null===(N=b.Tag)||void 0===N?void 0:null===(j=N.fields)||void 0===j?void 0:null===(f=j.Title)||void 0===f?void 0:f.value,"view offer details","button","Offer Description Offer_Learn More");EH(g,e)}}})})]})};var O0=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S;let{isLgScreen:k}=EG(),w=C5(null==e?void 0:e.params),{sitecoreContext:y}=(0,vr.z)(),E=(0,vd.useMemo)(()=>k?{paddingTop:w.DesktopPaddingTop?w.DesktopPaddingTopSize?"".concat(w.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:w.DesktopPaddingBottom&&w.DesktopPaddingBottomSize?"".concat(w.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:w.MobilePaddingTop?w.MobilePaddingTopSize?"".concat(w.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:w.MobilePaddingBottom&&w.MobilePaddingBottomSize?"".concat(w.MobilePaddingBottomSize,"px"):"0px"},[k,w]);return(0,va.jsx)(vW,{className:"relative overflow-hidden bg-uh-neutral-grey text-uh-black",children:(0,va.jsx)("div",{className:"bg-uh-neutral-grey",style:E,children:(0,va.jsxs)("div",{className:"lg:max-w-[1600px] max-w-full lg:px-[40px] px-[15px] mx-auto pt-[60px] lg:pt-[120px] pb-[60px] lg:pb-[120px]",children:[(0,va.jsxs)("div",{className:"flex items-center justify-between lg:pb-[40px] pb-[20px]",children:[(0,va.jsx)("div",{className:"flex-1",children:(0,va.jsx)(uf,{className:"",variant:"heading",tag:"div",Text:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Title})}),(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Link)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.href)&&(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.LinkTitle)||void 0===a?void 0:a.value)&&(0,va.jsx)("div",{className:"hidden lg:block flex-shrink-0 ml-4",children:(0,va.jsx)(fa,{URL:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Link,TEXT:e.fields.LinkTitle,hideIconAngle:!0,ButtonVariant:"cta-type-b",Target:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.Link)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.target,onClick:l=>{var i,s,n,a,d,t,o,r,c;if((null===(i=y.route)||void 0===i?void 0:i.templateId)===E_.detailPage_offer){let l=new EA((0,xJ.AB)(y,null===(s=y.route)||void 0===s?void 0:s.itemLanguage),null===(o=y.route)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:null===(d=t.Tag)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:null===(n=a.Title)||void 0===n?void 0:n.value,"explore more offer","button",null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.LinkTitle)||void 0===r?void 0:r.value);EH(y,l)}}})})]}),(0,va.jsx)("div",{className:"grid lg:grid-cols-2 mx-auto gap-x-[15px] lg:gap-y-[50px] gap-y-[15px]",children:!!(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Items)||void 0===v?void 0:v.length)&&(null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.Items)||void 0===m?void 0:m.map((e,l)=>(0,va.jsx)(OX,{item:e},l)))}),(null==e?void 0:null===(f=e.fields)||void 0===f?void 0:null===(h=f.Link)||void 0===h?void 0:null===(p=h.value)||void 0===p?void 0:p.href)&&(null==e?void 0:null===(j=e.fields)||void 0===j?void 0:null===(g=j.LinkTitle)||void 0===g?void 0:g.value)&&(0,va.jsx)("div",{className:"lg:hidden mt-[40px]",children:(0,va.jsx)(fa,{URL:null==e?void 0:null===(N=e.fields)||void 0===N?void 0:N.Link,TEXT:e.fields.LinkTitle,hideIconAngle:!0,ButtonVariant:"cta-type-b",Target:null==e?void 0:null===(S=e.fields)||void 0===S?void 0:null===(T=S.Link)||void 0===T?void 0:null===(b=T.value)||void 0===b?void 0:b.target})})]})})})});vL.ZP.registerPlugin(vI.V),vL.ZP.registerPlugin(v_());let O1=e=>{var l,i,s,n,a,d,t,o,r,c;let{item:v,imageOnLeft:u,last:m}=e,x=(0,vd.useRef)(null);return(0,vI.V)(()=>{let e=vL.ZP.matchMedia();return e.add({isDesktop:"(min-width: ".concat(992,"px)"),isMobile:"(max-width: ".concat(991,"px)")},e=>{let l=e.conditions,i=!!(null==l?void 0:l.isDesktop),s=i?{x:0}:{y:0};vL.ZP.fromTo(".offer-image",{...i?{x:u?50:-50}:{y:50},opacity:0}
1,{...s,opacity:1,scrollTrigger:{trigger:".offer-image",start:"top 80%",end:"+=300",scrub:!0},ease:"power1.inOut",duration:.001}),vL.ZP.fromTo(".offer-info",{...i?{x:u?-50:50}:{y:50},opacity:0},{...s,opacity:1,scrollTrigger:{trigger:".offer-info",start:"top 80%",end:"+=300",scrub:!0},ease:"power1.inOut",duration:.001})}),()=>{e.revert()}},{scope:x}),(0,va.jsxs)("div",{ref:x,className:vP("col-span-full","pb-[35px] lg:pb-[40px]",m&&"pb-[50px] lg:pb-0","lg:grid lg:grid-cols-subgrid"),children:[(0,va.jsx)("div",{className:vP("offer-image","aspect-[345/190] lg:aspect-[692/396] lg:col-span-7",u&&"lg:order-last"),children:(0,va.jsx)(m7,{className:"object-cover object-center w-full h-full",field:null===(l=v.fields)||void 0===l?void 0:l.Image})}),(0,va.jsxs)("div",{className:vP("offer-info","mt-[20px] lg:mt-0 lg:col-span-5 self-center"),children:[(0,va.jsx)(uf,{tag:"div",Text:null===(i=v.fields)||void 0===i?void 0:i.Title,variant:"subhead",className:"mb-[20px] lg:mb-[10px]"}),(0,va.jsx)(bN,{tag:"div",Text:null===(s=v.fields)||void 0===s?void 0:s.Content,variant:"body",className:"my-[20px] lg:my-[10px]"}),(null===(a=v.fields)||void 0===a?void 0:null===(n=a.LinkTitle)||void 0===n?void 0:n.value)&&(0,va.jsx)("div",{className:"mt-[40px] lg:mt-[20px]",children:(0,va.jsx)(fa,{className:"inline-block",URL:null===(d=v.fields)||void 0===d?void 0:d.Link,TEXT:null===(t=v.fields)||void 0===t?void 0:t.LinkTitle,ButtonVariant:"cta-type-a",hideIconAngle:!0,hideLinkIfEmpty:!0,Target:null==v?void 0:null===(c=v.fields)||void 0===c?void 0:null===(r=c.Link)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.target})})]})]})};var O2=(0,vp.C)()(e=>{var l,i,s,n,a,d,t;let o=(null===(i=e.fields)||void 0===i?void 0:null===(l=i.ShowLeftImageFirst)||void 0===l?void 0:l.value)?0:1;return(0,va.jsx)(vW,{className:"relative overflow-hidden bg-uh-white text-uh-black",children:(0,va.jsxs)(vH,{className:"lg:pb-[120px] lg:pt-[120px]",children:[(0,va.jsx)("div",{className:"col-span-full",children:(0,va.jsx)(uf,{className:"pt-[100px] pb-[40px] lg:pt-0 lg:pb-[60px]",variant:"heading",tag:"div",Text:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Title})}),!!(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Items)||void 0===n?void 0:n.length)&&(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Items)||void 0===d?void 0:d.map((l,i)=>(0,va.jsx)(O1,{item:l,imageOnLeft:i%2===o,last:i===e.fields.Items.length-1},i)))]})})}),O5={src:"https://www.upperhouse.com/_next/static/media/popup_close.c2fae53b.svg"},O3=e=>{var l,i,s,n,a,d,t,o,r,c;let v=null!==(c=null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.ExpiryMinutes)||void 0===l?void 0:l.value)&&void 0!==c?c:5,u=null==e?void 0:e.fields,m="Popup-Box-Read-".concat(null==e?void 0:null===(n=e.rendering)||void 0===n?void 0:null===(s=n.dataSource)||void 0===s?void 0:s.replace("/","_")),[x,p]=(0,vd.useState)(!1);(0,vd.useEffect)(()=>{p(!Sf.Z.get(m))},[m,v]);let h=(null==u?void 0:null===(d=u.Image)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.src)?"":"popup-box-grid__cont_noimage",f=e=>{p(!1);let l=new Date;l.setTime(l.getTime()+6e4*e),Sf.Z.set(m,"true",{expires:l,path:"/"})};return u?(0,va.jsx)(va.Fragment,{children:x&&(0,va.jsx)("div",{className:vP("popup-box-background popup-box-overlay"),children:(0,va.jsxs)("div",{className:vP("popup-box",!x&&"hidden"),children:[(0,va.jsx)("img",{className:"popup-checkmark",src:O5.src,alt:"close",onClick:()=>f(v)}),(0,va.jsxs)("div",{className:"popup-box-content ".concat(h),children:[(0,va.jsxs)("div",{className:"popup-box-grid__img [&>img]:w-auto [&>img]:h-auto",children:[(0,va.jsx)("div",{className:"hidden md-lg:block",children:(0,va.jsx)(m7,{field:null==u?void 0:u.Image})}),(0,va.jsx)("div",{className:"md-lg:hidden",children:(0,va.jsx)(m7,{field:null==u?void 0:u.MobileImage,className:"!max-h-none !h-auto !w-full"})})]}),(0,va.jsxs)("div",{className:"popup-box-grid__cont",children:[(0,va.jsx)("div",{className:"popup-box-grid__title",children:(0,va.jsx)(uf,{Text:null==u?void 0:u.Title})}),(0,va.jsx)("div",{className:"popup-box-grid__message",children:(0,va.jsx)(bN,{Text:null==u?void 0:u.MessageContent})}),!!(null==u?void 0:null===(t=u.CTAButtonText)||void 0===t?void 0:t.value)&&!!(null==u?void 0:null===(r=u.CTAButtonURL)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.href)&&(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{className:"popup-box-grid__button",children:(0,va.jsx)(vk,{field:null==u?void 0:u.CTAButtonURL,
1className:"btn btn--white",children:(0,va.jsx)("span",{children:(0,va.jsx)(uf,{Text:null==u?void 0:u.CTAButtonText})})})})})]})]})]})})}):(0,va.jsx)(va.Fragment,{})},O4=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h;return(0,va.jsxs)(vW,{className:"text-uh-white",children:[(0,va.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-top bg-cover",style:{backgroundImage:(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.BackgroundImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)?"url(".concat(e.fields.BackgroundImage.value.src,")"):void 0},children:(0,va.jsx)("div",{className:"h-full w-full bg-black/50 backdrop-blur-[25px]"})}),(0,va.jsx)("div",{className:"relative lg:pt-[150px] lg:pb-[120px] pt-[100px] pb-[50px]",children:(0,va.jsxs)(vH,{className:"gap-y-[40px] lg:h-full lg:overflow-hidden",children:[(0,va.jsx)("div",{className:"col-span-3 col-start-2 lg:hidden",children:(0,va.jsx)(m7,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.LeftImage,className:"w-full h-[320px] object-cover object-top"})}
1),(0,va.jsxs)("div",{className:"grid col-span-full grid-cols-subgrid",children:[(0,va.jsxs)(v4,{className:"col-span-full lg:col-span-4 lg:self-center lg:opacity-0 lg:-translate-x-[40px]",duration:1,start:"top 75%",scrub:!1,children:[(0,va.jsx)(uf,{Text:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Title,variant:"heading",tag:"div",className:"mb-[20px]"}),(0,va.jsx)(bN,{Text:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Content,variant:"body",className:"my-[20px] lg:mb-[40px]"}),(null===(o=e.fields)||void 0===o?void 0:null===(t=o.LinkTitle)||void 0===t?void 0:t.value)&&(0,va.jsx)("div",{className:"mt-[20px]",children:(0,va.jsx)(fa,{URL:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:r.Link,TEXT:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.LinkTitle,ButtonVariant:"cta-type-b-reverse",hideIconAngle:!0,hideLinkIfEmpty:!0,Target:null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Link)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.target})})]}),(0,va.jsx)(v6,{className:"hidden col-span-4 lg:block aspect-[4/5] lg:opacity-0 lg:-translate-y-[40px]",duration:1,start:"top 75%",scrub:!1,children:(0,va.jsx)(m7,{field:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:x.LeftImage,className:"object-cover object-top w-full"})}),(0,va.jsx)(v6,{className:"hidden col-span-4 lg:block lg:self-end aspect-[4/5] lg:mt-[80px] lg:opacity-0 lg:translate-y-[40px]",duration:1,start:"top 75%",scrub:!1,children:(0,va.jsx)(m7,{field:null==e?void 0:null===(p=e.fields)||void 0===p?void 0:p.RightImage,className:"object-cover object-top w-full"})})]}),(0,va.jsx)(v6,{className:"col-span-3 lg:hidden",duration:1,start:"top 75%",scrub:!1,children:(0,va.jsx)(m7,{field:null==e?void 0:null===(h=e.fields)||void 0===h?void 0:h.RightImage,className:"w-full h-[320px] object-cover object-top"})})]})})]})}),O6=i(42757),O8=i.n(O6);vL.ZP.registerPlugin(O8(),v_()),vL.ZP.registerPlugin(vI.V);let O7=()=>(0,vd.useMemo)(()=>"quote-content-".concat(Math.random().toString(36).substring(2,11)),[]);var O9=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j;let{isLgScreen:N}=EG(),b=C5(null==e?void 0:e.params),T=(0,vd.useRef)(null),S=(0,vd.useRef)(null),k=O7(),w=O7(),y=(0,vd.useRef)(null);(0,vI.V)(()=>{let e=T.current;if(!e)return;let l=e.querySelector(".split");if(l)return y.current=O8().create(l,{type:"words,lines",mask:"lines",linesClass:"line",autoSplit:!0,onSplit:l=>vL.ZP.from(l.lines,{yPercent:120,stagger:.1,scrollTrigger:{id:k,trigger:e,scrub:!1,start:"clamp(top 75%)",end:"clamp(bottom center)"}})}),()=>{var e;null===(e=v_().getById(k))||void 0===e||e.kill(),y.current=null}},{scope:T}),(0,vI.V)(()=>{let e=S.current;if(!e)return;let l=e.querySelector(".image");if(l)return T.current&&vL.ZP.from(l,{yPercent:225,stagger:0,scrollTrigger:{id:w,trigger:e,scrub:!1,start:"clamp(top 75%)",end:"clamp(bottom center)"}}),()=>{var e;null===(e=v_().getById(w))||void 0===e||e.kill()}},{scope:S});let E=(0,vd.useMemo)(()=>N?{paddingTop:b.DesktopPaddingTop?b.DesktopPaddingTopSize?"".concat(b.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:b.DesktopPaddingBottom&&b.DesktopPaddingBottomSize?"".concat(b.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:b.MobilePaddingTop?b.MobilePaddingTopSize?"".concat(b.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:b.MobilePaddingBottom&&b.MobilePaddingBottomSize?"".concat(b.MobilePaddingBottomSize,"px"):"0px"},[N,b]);return(0,va.jsx)("section",{className:"relative UhQuoteContent",style:{backgroundColor:(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.BackgroundColor)||void 0===i?void 0:null===(l=i.fields)||void 0===l?void 0:l.Value)?"".concat(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:null===(d=t.BackgroundColor)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:null===(n=a.V
1alue)||void 0===n?void 0:n.value):"white"},children:(0,va.jsx)(vH,{className:vP("gap-y-0 lg:gap-y-[40px]"),style:E,children:(0,va.jsx)("div",{className:"col-span-full lg:col-span-7 ".concat((null===(o=e.fields)||void 0===o?void 0:o.RightQuote.value)?"lg:col-start-6":"lg:col-start-1"),children:(0,va.jsxs)("div",{className:"grid grid-cols-8 lg:grid-cols-7 gap-x-[20px]",children:[(0,va.jsx)("div",{className:"justify-self-end h-[40px] lg:h-[56px] overflow-hidden ".concat((null===(r=e.fields)||void 0===r?void 0:r.RightQuote.value)?"col-span-2 lg:col-span-1":"col-span-1"),children:!!(null===(v=e.fields)||void 0===v?void 0:null===(c=v.Title)||void 0===c?void 0:c.value)&&(0,va.jsx)("div",{ref:S,className:"h-[80px] lg:h-[112px]",children:(0,va.jsx)("img",{src:"/upper-house/quote-black.png",alt:"quote",className:"inline w-[23px] h-auto lg:w-[34px] image"})})}),(0,va.jsxs)("div",{className:"".concat((null===(u=e.fields)||void 0===u?void 0:u.RightQuote.value)?"col-span-6 lg:col-span-6":"col-span-7 lg:col-span-6"),children:[(null===(x=e.fields)||void 0===x?void 0:null===(m=x.Title)||void 0===m?void 0:m.value)?(0,va.jsx)("div",{ref:T,children:(0,va.jsx)(bN,{variant:(null==e?void 0:null===(p=e.fields)||void 0===p?void 0:p.SmallTitleQuote.value)?"body":"heading",Text:null===(h=e.fields)||void 0===h?void 0:h.Title,tag:"div",className:"split mb-[20px]"})}):(0,va.jsx)(va.Fragment,{}),(0,va.jsx)(v6,{start:"top center",end:"bottom center",scrub:!1,ease:"power1.out",duration:.5,className:"translate-y-[20px]",children:(0,va.jsx)(bN,{Text:null===(f=e.fields)||void 0===f?void 0:f.Content,variant:"body"})}),(0,va.jsx)(v6,{start:"top center",end:"bottom center",scrub:!1,ease:"power1.out",duration:.5,className:"translate-y-[20px]",children:(0,va.jsxs)("div",{children:[(0,va.jsx)(uf,{variant:"body",Text:null===(g=e.fields)||void 0===g?void 0:g.QuoteBy,tag:"div",className:"leading-[14px] !font-bold mt-[20px] mb-[10px] lg:mb-[0px] uppercase"}),(0,va.jsx)(uf,{variant:"body",Text:null===(j=e.fields)||void 0===j?void 0:j.Position,tag:"div",className:"lg:text-[12px] lg:leading-[18px] uppercase"})]})})]})]})})})})});vL.ZP.registerPlugin(v_()),vL.ZP.registerPlugin(vI.V);var Le=e=>{let l=(0,vd.useRef)(null),i=(0,vd.useRef)(null),s=(0,vd.useRef)(null),n="restaurant-left-content-".concat(e.params.DynamicPlaceholderId),a="restaurant-right-content-".concat(e.params.DynamicPlaceholderId),{isLgScreen:d}=EG(),t=C5(null==e?void 0:e.params),o=(0,vd.useMemo)(()=>d?{paddingTop:t.DesktopPaddingTop?t.DesktopPaddingTopSize?"".concat(t.DesktopPaddingTopSize,"px"):"100px":"0px",paddingBottom:t.DesktopPaddingBottom?t.DesktopPaddingBottomSize?"".concat(t.DesktopPaddingBottomSize,"px"):"100px":"0px"}:{paddingTop:t.MobilePaddingTop?t.MobilePaddingTopSize?"".concat(t.MobilePaddingTopSize,"px"):"50px":"0px",paddingBottom:t.MobilePaddingBottom?t.MobilePaddingBottomSize?"".concat(t.MobilePaddingBottomSize,"px"):"50px":"0px"},[d,t]);return(0,vI.V)(()=>{let e=vL.ZP.matchMedia(),l=null,i=null;return e.add({isDesktop:"(min-width: ".concat(992,"px)"),isMobile:"(max-width: ".concat(991,"px)")},e=>{var n,a,d;let t=e.conditions,o=!!(null==t?void 0:t.isDesktop),r=null,c=null===(n=s.current)||void 0===n?void 0:n.querySelector(o?".stay-at-info":".stay-at-info-mobile"),v=null===(a=s.current)||void 0===a?void 0:a.querySelector(o?".stay-at-images":".stay-at-images-mobile"),u=null===(d=s.current)||void 0===d?void 0:d.querySelector(".targetrefresh");return i=v,s.current&&c&&v&&(r=v_().create({pin:c,trigger:s.current,pinSpacing:o,start:o?"top-=120 top":"top-=90 top",end:()=>{let e=c.offsetHeight,l=v.offsetHeight;return o?"+=".concat(l-e):"+=".concat(l)},invalidateOnRefresh:!0}),l=new ResizeObserver(()=>{r&&s.current&&u&&setTimeout(()=>{v_().refresh()},100)}),u&&l.observe(u)),()=>{r&&r.kill(),l&&i&&(l.unobserve(i),l.disconnect())}}),()=>{e.revert(),l&&i&&(l.unobserve(i),l.disconnect())}},{scope:s}),(0,vI.V)(()=>{var e;(null===(e=s.current)||void 0===e?void 0:e.querySelector(".stay-at-info"))||vL.ZP.fromTo(l.current,{opacity:0,y:50},{scrollTrigger:{trigger:l.current,start:"top 80%",end:"+=300",scrub:!0},y:0,opacity:1,ease:"power1.inOut",duration:.001})},{scope:l}),(0,vI.V)(()=>{var e;(null===(e=s.current)||void 0===e?void 0:e.querySelector(".stay-at-info"))?vL.ZP.fromTo(i.current,{opacity:0,y:100},{y:0,opacity:1,ease:"power1.inOut",duration:1}):vL.ZP.fromTo(i.current,{opacity:0,y:50},{scrollTrigger:{trigger:i.current,start:"top 80%",end:"+=300",scrub:!0},y:0,opacity:1,ease:"power1.inOut",duration:.001})},{scope:i}),(0,va.jsx)(vW,{className:"bg-white",children:(0,va.jsx)("div",{ref:s,children:(0,va.jsxs)(vH,{style:o,children:[(0,va.jsx)("div",{ref:l,className:"fade-in-y col-span-full lg:col-span-5 z-[9]",children:(0,va.jsx)(vt.V,{name:n,rendering:e.rendering})}),(0,va.jsx)("div",{ref:i,className:"fade-in-y col-span-full lg:col-span-6 lg:col-start-7 flex flex-col stay-at-images stay-at-images-mobile",children:(0,va.jsx)(vt.V,{name:a,rendering:e.rendering})})]})})})};let Ll=e=>{var l,i,s,n,a,d,t,o;return(0,va.jsx)(va.Fragment,{children:(!!(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value)||!!(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Content)||void 0===s?void 0:s.value))&&(0,va.jsxs)(vW,{className:"bg-white",children:[(null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.Title)||void 0===a?void 0:a.value)&&(0,va.jsx)(bN,{Text:e.fields.Title.value,variant:"subhead",tag:"div",HideIfEmpty:!0,className:"pb-[40px]"}),(null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.Content)||void 0===t?void 0:t.value)&&(0,va.jsx)(bN,{Text:e.fields.Content.value,variant:"body",tag:"div",HideIfEmpty:!0,className:"list-disc"})]})})};var Li=(0,vp.C)()(e=>{var l,i,s,n,a;let{t:d,locale:t}=(0,vT.QT)(),{isLgScreen:o}=EG(),r=C5(null==e?void 0:e.params),c=(0,vd.useMemo)(()=>
1o?{paddingTop:r.DesktopPaddingTop?r.DesktopPaddingTopSize?"".concat(r.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:r.DesktopPaddingBottom&&r.DesktopPaddingBottomSize?"".concat(r.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:r.MobilePaddingTop?r.MobilePaddingTopSize?"".concat(r.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:r.MobilePaddingBottom&&r.MobilePaddingBottomSize?"".concat(r.MobilePaddingBottomSize,"px"):"0px"},[o,r]);return(0,va.jsx)(vW,{className:"bg-white UhQuoteContent",children:(0,va.jsxs)(vH,{className:vP("gap-y-0"),style:c,children:[(0,va.jsx)(uf,{variant:"heading",Text:null===(l=e.fields)||void 0===l?void 0:l.Title,tag:"div",className:"split mt-[20px] lg:mt-[50px] col-span-full"}),!!(null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Content)&&(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Content)||void 0===s?void 0:s.value)&&(0,va.jsx)(bN,{Text:null===(a=e.fields)||void 0===a?void 0:a.Content,tag:"div",variant:"body",className:"col-span-7 mt-[20px] lg:mt-0"}),(0,va.jsx)("div",{className:"col-span-full grid grid-cols-subgrid",children:!!e.fields.Items.length&&e.fields.Items.map(e=>{var l,i,s,n,a;return(0,va.jsxs)("div",{className:vP("col-span-full mt-[60px] lg:mt-[100px] first:mt-[20px] first:lg:mt-[50px] grid grid-cols-subgrid"),children:[!!(null===(i=e.fields.TeaserImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(0,va.jsx)(m7,{field:e.fields.TeaserImage,className:"col-span-full aspect-[12/5] object-cover"}),(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid mt-[20px] lg:mt-[30px] ",children:[(0,va.jsxs)("div",{className:"col-span-full lg:col-span-6 grid grid-cols-subgrid",children:[(0,va.jsx)(uf,{variant:"subhead",Text:e.fields.Title,tag:"div",HideIfEmpty:!0,className:"col-span-full"}),(0,va.jsx)("div",{className:"lg:hidden col-span-full grid grid-cols-subgrid mt-[10px]",children:!!(null===(s=e.fields.SpecsList)||void 0===s?void 0:s.length)&&e.fields.SpecsList.map(e=>{var l,i;return(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid",children:[(0,va.jsxs)("div",{className:"col-span-2 flex items-center gap-[10px]",children:[!!(null===(i=e.fields.Icon)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(0,va.jsx)(m7,{field:e.fields.Icon,className:"w-[20px]"}),(0,va.jsx)(uf,{variant:"content-1",Text:e.fields.Title,tag:"div",className:"leading-[12px]",HideIfEmpty:!0})]}),(0,va.jsx)("div",{className:"col-span-2",children:(0,va.jsx)(bN,{Text:e.fields.Content,variant:"body",className:"text-[12px] leading-[12px]",HideIfEmpty:!0})})]},e.id)})}),(0,va.jsx)(bN,{Text:null===(n=e.fields)||void 0===n?void 0:n.ShortParagraph,variant:"body",HideIfEmpty:!0,className:"mt-[20px] lg:mt-[10px] col-span-full"}),(0,va.jsx)("div",{className:"col-span-full",children:(0,va.jsx)(fa,{URL:(0,vS.at)(e.url,t()),TEXT:d(mT.W.PAGECONTENT.DISCOVERMORE),hideIconAngle:!0,ButtonVariant:"cta-type-a",className:"mt-[20px] inline-block"})})]}),(0,va.jsx)("div",{className:"col-span-5 col-start-8 lg:grid grid-cols-subgrid place-content-start gap-y-[20px] hidden",children:!!(null===(a=e.fields.SpecsList)||void 0===a?void 0:a.length)&&e.fields.SpecsList.map(e=>{var l,i,s;return(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid",children:[(0,va.jsxs)("div",{className:"col-span-2 flex items-center gap-[10px]",children:[!!(null===(i=e.fields.Icon)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(0,va.jsx)(m7,{field:e.fields.Icon,className:"w-[20px]"}),(0,va.jsx)(uf,{variant:"content-1",Text:e.fields.Title,tag:"div",className:"leading-[12px]",HideIfEmpty:!0})]}),(0,va.jsx)("div",{className:"col-span-3",children:(0,va.jsx)(bN,{Text:null===(s=e.fields)||void 0===s?void 0:s.Content,variant:"body",className:vP("text-[12px] leading-[12px]"),HideIfEmpty:!0})})]},e.id)})})]})]},e.id)})})]})})}),Ls=(0,vp.C)()(e=>{var l,i,s;let{isLgScreen:n}=EG(),a=C5(null==e?void 0:e.params),d=(0,vd.useMemo)(()=>n?{paddingTop:a.DesktopPaddingTop&&a.DesktopPaddingTopSize?"".concat(a.DesktopPaddingTopSize,"px"):"0px",paddingBottom:a.DesktopPaddingBottom&&a.DesktopPaddingBottomSize?"".concat(a.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:a.MobilePaddingTop&&a.MobilePaddingTopSize?"".concat(a.MobilePaddingTopSize,"px"):"0px",paddingBottom:a.MobilePaddingBottom&&a.MobilePaddingBottomSize?"".concat(a.MobilePaddingBottomSize,"px"):"0px"},[n,a]);return(0,va.jsx)(vW,{className:"bg-white UhRoomSpecsCard",children:(0,va.jsxs)("div",{style:d,children:[(0,va.jsx)(uf,{variant:"subhead",Text:null===(l=e.fields)||void 0===l?void 0:l.Title,tag:"div"}),(0,va.jsx)("div",{className:"mt-[20px] lg:mt-[40px] flex flex-col gap-[5px] lg:gap-[20px]",children:!!(null===(i=e.fields)||void 0===i?void 0:i.Items.length)&&(null===(s=e.fields)||void 0===s?void 0:s.Items.map(e=>{var l,i;return(0,va.jsxs)("div",{className:"grid grid-cols-4 lg:grid-cols-6 gap-[15px] lg:gap-[20px]",children:[(0,va.jsxs)("div",{className:"col-span-2 flex items-center gap-[10px]",children:[!!(null===(i=e.fields.Icon)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(0,va.jsx)(m7,{field:e.fields.Icon,className:"w-[20px]"}),(0,va.jsx)(uf,{variant:"content-1",Text:e.fields.Title,tag:"div",className:"leading-[12px]",HideIfEmpty:!0})]}),(0,va.jsx)("div",{className:"col-span-2 lg:col-span-4",children:(0,va.jsx)(bN,{Text:e.fields.Content,variant:"body",className:"text-[12px] leading-[12px]",HideIfEmpty:!0})})]},e.id)}))})]})})});let Ln=e=>{let{items:l}=e,i=(0,vd.useRef)(null),s=(0,vd.useRef)(null);return(0,va.jsxs)("div",{className:"col-span-full",children:[(0,va.jsx)(SO.tq,{slidesPerView:"auto",modules:[yL.W_],navigation:{nextEl:s.current,prevEl:i.current},className:"uh-swiper",children:!!(null==l?void 0:l.length)&&(null==l?void 0:l.map((e,l)=>(0,va.jsx)(SO.o5,{className:"w-full",children:e.children},l)))}),(0,va.jsxs)("div",{className:"flex flex-row gap-[10px] z-20 justify-end relative lg:top-[-40px] lg:mt-0 mt-[20px] bg-[#DDD9D4]",children:[(0,va.jsx)("div",{ref:i,className:vP("flex justify-center items-center text-black w-[40px] h-[40p
1x] border-[1px] border-black cursor-pointer"),children:(0,va.jsx)("div",{id:"PrevBtn",className:"arrow left-arrow"})}),(0,va.jsx)("div",{ref:s,className:vP("flex justify-center items-center text-black w-[40px] h-[40px] border-[1px] border-black cursor-pointer"),children:(0,va.jsx)("div",{id:"NextBtn",className:"arrow right-arrow"})})]})]})},La=e=>{var l,i,s,n,a,d;let{t,locale:o}=(0,vT.QT)();return(0,va.jsxs)(vH,{className:"px-0",children:[(0,va.jsx)("div",{className:"col-span-7",children:!!(null===(s=e.fields)||void 0===s?void 0:null===(i=s.TeaserImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(0,va.jsx)(m7,{field:null===(n=e.fields)||void 0===n?void 0:n.TeaserImage,className:"w-full h-auto object-cover"})}),(0,va.jsxs)("div",{className:"col-span-5 flex flex-col justify-center space-y-[20px]",children:[(0,va.jsxs)("div",{className:"space-y-[10px] flex flex-col text-left",children:[(0,va.jsx)(uf,{tag:"h2",variant:"subhead",Text:null===(a=e.fields)||void 0===a?void 0:a.Title}),(0,va.jsx)(bN,{variant:"body",Text:null===(d=e.fields)||void 0===d?void 0:d.ShortParagraph})]}),(0,va.jsx)("div",{className:"flex",children:(0,va.jsx)(fa,{className:"",URL:(0,vS.at)(null==e?void 0:e.url,o()),TEXT:t(mT.W.PAGECONTENT.DISCOVERMORE),hideIconAngle:!0,ButtonVariant:"cta-type-a"})})]})]})};var Ld=e=>{var l,i,s;let{sitecoreContext:n}=(0,vr.z)(),{locale:a}=(0,vT.QT)();return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vW,{className:"Slider bg-[#DDD9D4]",children:(0,va.jsxs)(vH,{className:"lg:gap-[40px] gap-[20px] pt-[60px] lg:pt-[120px] pb-[40px] lg:pb-[120px]",children:[(0,va.jsx)(uf,{Text:null===(l=e.fields)||void 0===l?void 0:l.Title,variant:"heading",tag:"div",className:"col-span-full"}),(0,va.jsx)(Ln,{items:null===(s=e.fields)||void 0===s?void 0:null===(i=s.Items)||void 0===i?void 0:i.filter(e=>{var l;return(null==e?void 0:e.id)!=(null==n?void 0:null===(l=n.route)||void 0===l?void 0:l.itemId)}).map(e=>({id:null==e?void 0:e.id,children:La(e)}))})]})})})};let Lt=e=>{var l,i,s,n,a,d,t,o,r;let{item:c}=e,{t:v,locale:u}=(0,vT.QT)(),{sitecoreContext:m}=(0,vr.z)();return(0,va.jsxs)("div",{className:vP("grid grid-sub gap-y-[20px]"),children:[!!(null===(s=c.fields)||void 0===s?void 0:null===(i=s.TeaserImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(0,va.jsx)("div",{className:"w-full lg:h-[460px]",children:(0,va.jsx)(m7,{field:c.fields.TeaserImage,className:"object-cover object-center w-full h-full lg:aspect-[750/460] aspect-[345/192]"})}),(0,va.jsxs)("div",{className:"grid grid-sub gap-y-[10px]",children:[(0,va.jsx)(uf,{Text:null===(t=c.fields)||void 0===t?void 0:null===(d=t.Tag)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:null===(n=a.Title)||void 0===n?void 0:n.value,tag:"div",variant:"content-2",className:vP("opacity-50"),HideIfEmpty:!0}),(0,va.jsx)(uf,{Text:null===(o=c.fields)||void 0===o?void 0:o.Title,tag:"div",variant:"subhead",HideIfEmpty:!0}),(0,va.jsx)(bN,{Text:null===(r=c.fields)||void 0===r?void 0:r.ShortParagraph,tag:"div",variant:"body",HideIfEmpty:!0})]}),(0,va.jsx)("div",{className:"flex",children:(0,va.jsx)(fa,{URL:(0,vS.at)(null==c?void 0:c.url,u()),TEXT:v(mT.W.PAGECONTENT.DISCOVERMORE),hideIconAngle:!0,ButtonVariant:"cta-type-a",hideLinkIfEmpty:!0,onClick:e=>{var l,i,s,n,a;let d=new EA("".concat((0,xJ.AB)(m,null===(l=m.route)||void 0===l?void 0:l.itemLanguage),"/").concat(null===(i=c.fields)||void 0===i?void 0:i.Title.value),null==c?void 0:null===(a=c.fields)||void 0===a?void 0:null===(n=a.Tag)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:s.Title.value,"view offer details","button","Offer Tiles_Learn More");EH(m,d)}})})]},null==c?void 0:c.id)},Lo=e=>{let{item:l}=e,{locale:i}=(0,vT.QT)(),s=l.url?null:(0,vS.at)(null==l?void 0:l.url,i());return(0,va.jsx)("div",{className:vP("lg:col-span-6 col-span-full grid grid-sub w-full gap-y-[20px]"),children:s?(0,va.jsx)("a",{href:s,children:(0,va.jsx)(Lt,{item:l})}):(0,va.jsx)(Lt,{item:l})})},Lr=(0,vd.forwardRef)((e,l)=>{let{dataList:i,categoryFilterValue:s,PER_PAGE:n,SHOW_PAGE_COUNT:a,Color:d,scrollTargetRef:t,...o}=e,r=[];r.push(...i),s&&(r=r.filter(e=>{var l,i,n,a;return(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Tag)||void 0===n?void 0:null===(i=n.fields)||void 0===i?void 0:null===(l=i.Title)||void 0===l?void 0:l.value)==s})),(0,vd.useEffect)(()=>{v(1)},[s]);let[c,v]=(0,vd.useState)(1),[u,m]=(0,vd.useState)(1),x=r.slice((c-1)*n,c*n),p=Math.ceil(r.length/n),h=Array.from({length:Math.min(a,p-u+1)},(e,l)=>u+l),f=()=>{var e;null==t||null===(e=t.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center"})};return(0,va.jsxs)(va.Fragment,{children:[x.map((e,l)=>(0,va.jsx)(vd.Fragment,{children:(0,va.jsx)(Lo,{item:e})},l)),(0,va.jsx)("div",{className:vP("lg:col-span-4 lg:col-start-5 col-span-full flex justify-center items-center"),children:(0,va.jsxs)("nav",{className:"px-[20px] flex items-center gap-x-[20px]",children:[(0,va.jsx)("button",{onClick:()=>{u>1&&m(u-1),f()},className:vP(u>1?"":"opacity-50"),disabled:!(u>1),children:(0,va.jsx)("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,va.jsx)("path",{d:"M2.84124e-07 5.62915L9.75 11.2583L9.75 -1.52081e-05L2.84124e-07 5.62915Z",fill:"black"})})}),h.map(e=>(0,va.jsx)("button",{onClick:()=>{v(e),f()},className:vP("w-[31px] h-[31px] px-[10px] py-[10px] rounded-full flex items-center justify-center border !border-black hover:bg-gray-300 focus:text-uh-white",e===c&&"text-uh-white"),style:{backgroundColor:e===c?d||"#163286":""},children:e},e)),(0,va.jsx)("button",{onClick:()=>{u+a-1<p&&m(u+1),f()},className:vP(u+a-1<p?"":"opacity-50"),disabled:!(u+a-1<p),children:(0,va.jsx)("svg",{width:"10",height:"12",viewBox:"0 0 10 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,va.jsx)("path",{d:"M9.75 5.62915L4.23492e-07 11.2583L9.15609e-07 -1.52081e-05L9.75 5.62915Z",fill:"black"})})})]})})]})});Lr.displayName="SpecialOffersAndBarsListPartial";var Lc=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f;let{t:g,locale:j}=(0,vT.QT)(),N=j();console.log("language:"+N);let b={en:"lg:pt-[10px] lg:pb-[8px]","zh-HK":"lg:py-[10px] font-medium","zh-CN":"lg:py-[10px] font-medium"},T={en:"text-uh-white hover:text-uh-white before:text-uh-white after:text-uh-white focus:text-uh-white","zh-HK":"text-uh-white hover:text-uh-white before:text-uh-white after:text-uh-white focus:text-uh-white","zh-CN":" text-uh-white hover:text-uh-white before:text-uh-white after:text-uh-white focus:text-uh-white"},[S,k]=(0,vd.useState)(""),w={},y=null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Items)||void 0===l?void 0:l.filter(e=>{var l,i,s,n,a;return(null==e?void 0:null===(s=e.fields)||void 0===s?void 0:null===(i=s.TeaserImage)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&(null==e?void 0:null===(a=e.fields)||void 0===a?void 0:null===(n=a.Title)||void 0===n?void 0:n.value)});y&&(null==y?void 0:y.length)&&(w=y.reduce((e,l)=>{var i,s,n,a,d,t,o,r;let c=null==l?void 0:null===(a=l.fields)||void 0===a?void 0:null===(n=a.Tag)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Title)||void 0===i?void 0:i.value;return c&&(e[c]||(e[c]=[]),e[c].push(null==l?void 0:null===(r=l.fields)||void 0===r?void 0:null===(o=r.Tag)||void 0===o?void 0:null===(t=o.fields)||void 0===t?void 0:null===(d=t.Title)||void 0===d?void 0:d.value)),e},{}));let{isLgScreen:E}=EG(),C=C5(null==e?void 0:e.params),O=(0,vd.useMemo)(()=>E?{paddingTop:C.DesktopPaddingTop?C.DesktopPaddingTopSize?"".concat(C.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:C.DesktopPaddingBottom&&C.DesktopPaddingBottomSize?"".concat(C.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:C.MobilePaddingTop?C.MobilePaddingTopSize?"".concat(C.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:C.MobilePaddingBottom&&C.MobilePaddingBottomSize?"".concat(C.MobilePaddingBottomSize,"px"):"0px"},[E,C]),[L,I]=(0,vd.useState)(""),F=(0,vd.useRef)(null);return(0,va.jsx)(vW,{className:"relative overflow-hidden bg-uh-white text-uh-black UhSpecialOffersAndBarsListing",children:(0,va.jsxs)(vH,{style:O,children:[(0,va.jsx)(uf,{className:"font-semibold col-span-full lg:mb-[40px] mb-[30px]",variant:"subhead",tag:"div",Text:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Title,HideIfEmpty:!0}),(0,va.jsx)("div",{className:"col-span-full text-center px-0",children:(0,va.jsxs)("div",{ref:F,className:"lg:mx-[0px] mx-[15px] mb-[20px] lg:mt-[20] flex lg:gap-[10px] gap-[10px] flex-row flex-wrap justify-left overflow-x-auto lg:overflow-x-visible whitespace-nowrap no-scrollbar",children:[(0,va.jsx)("div",{onClick:()=>{k("")},children:(0,va.jsx)("div",{className:vP("font-bold font-Amiko text-[12px] leading-[12px] lg:text-[16
1px] lg:leading-[16px] uppercase cursor-pointer rounded-[50px] btn-black lg:px-[20px] px-[12px] py-[8px] border hover:bg-uh-blue hover:text-uh-white ".concat(b[N]),!S&&"".concat(T[N])),style:{backgroundColor:S?L===g(mT.W.PAGECONTENT.ALL)?(null===(r=e.fields)||void 0===r?void 0:null===(o=r.Color)||void 0===o?void 0:o.value)?"".concat(null===(v=e.fields)||void 0===v?void 0:null===(c=v.Color)||void 0===c?void 0:c.value):"#163286":"":(null===(a=e.fields)||void 0===a?void 0:null===(n=a.Color)||void 0===n?void 0:n.value)?"".concat(null===(t=e.fields)||void 0===t?void 0:null===(d=t.Color)||void 0===d?void 0:d.value):"#163286"},onMouseEnter:()=>{I(g(mT.W.PAGECONTENT.ALL))},onMouseLeave:()=>{I("")},children:g(mT.W.PAGECONTENT.ALL)},g(mT.W.PAGECONTENT.ALL))}),w&&Object.entries(w).length>0&&Object.entries(w).map(l=>{var i,s,n,a,d,t,o,r;let[c,v]=l;return(0,va.jsx)("div",{"data-value":"".concat(c),onClick:()=>{k("".concat(c))},children:(0,va.jsx)("div",{className:vP("font-bold font-Amiko text-[12px] leading-[12px] lg:text-[16px] lg:leading-[16px] uppercase cursor-pointer rounded-[50px] btn-black lg:px-[20px] px-[12px] py-[8px] border hover:bg-uh-blue hover:text-uh-white ".concat(b[N]),S==c&&"".concat(T[N])),onMouseEnter:()=>{I(v[0])},onMouseLeave:()=>{I("")},style:{backgroundColor:S==c?(null===(s=e.fields)||void 0===s?void 0:null===(i=s.Color)||void 0===i?void 0:i.value)?"".concat(null===(a=e.fields)||void 0===a?void 0:null===(n=a.Color)||void 0===n?void 0:n.value):"#163286":L===v[0]?(null===(t=e.fields)||void 0===t?void 0:null===(d=t.Color)||void 0===d?void 0:d.value)?"".concat(null===(r=e.fields)||void 0===r?void 0:null===(o=r.Color)||void 0===o?void 0:o.value):"#163286":""},children:v[0]},v[0])})})]})}),(0,va.jsx)("div",{className:vP("col-span-full grid grid-cols-subgrid lg:gap-y-[80px] gap-y-[60px]"),children:y&&!!y.length&&(0,va.jsx)(Lr,{params:e.params,rendering:e.rendering,categoryFilterValue:S,dataList:y,PER_PAGE:null===(m=e.fields)||void 0===m?void 0:null===(u=m.PaginationItemCount)||void 0===u?void 0:u.value,SHOW_PAGE_COUNT:null===(p=e.fields)||void 0===p?void 0:null===(x=p.ShowPageCount)||void 0===x?void 0:x.value,Color:null===(f=e.fields)||void 0===f?void 0:null===(h=f.Color)||void 0===h?void 0:h.value,scrollTargetRef:F})})]})})});vL.ZP.registerPlugin(vI.V),vL.ZP.registerPlugin(v_());var Lv=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y;let{locale:E}=(0,vT.QT)();E();let C=(0,vd.useRef)(null),O=(0,vd.useRef)(null),L=(0,vd.useRef)(null);return(0,vI.V)(()=>{let e=vL.ZP.matchMedia();return e.add({isDesktop:"(min-width: ".concat(992,"px)"),isMobile:"(max-width: ".concat(991,"px)")},e=>{var l,i;let s=e.conditions,n=!!(null==s?void 0:s.isDesktop),a=n?null===(l=O.current)||void 0===l?void 0:l.querySelector(".stay-at-info"):null===(i=L.current)||void 0===i?void 0:i.querySelector(".stay-at-info-mobile"),d=v_().create({pin:n?O.current:L.current,trigger:C.current,pinSpacing:!1,start:n?"top-=120 top":"top top",end:()=>{var e;let l=null===(e=C.current)||void 0===e?void 0:e.querySelector(n?".stay-at-images":".stay-at-images-mobile");return l?n?"+=".concat(l.offsetHeight-a.offsetHeight):"+=".concat(l.offsetHeight):"+=0"}});return vL.ZP.to(O.current,{scrollTrigger:{trigger:C.current,start:n?"top-=120 top":"top top",end:"+=300",scrub:!1,invalidateOnRefresh:!0},x:0,y:0,opacity:1,ease:"power2.out",duration:1}),()=>{d.kill()}}),()=>{e.revert()}},{scope:C}),(0,va.jsx)(vW,{className:"Uhstayat",children:(0,va.jsxs)("div",{className:"pb-[50px] lg:pt-[120px] lg:pb-[200px] bg-uh-white",ref:C,children:[(0,va.jsxs)(vH,{className:"hidden lg:grid pt-[100px] lg:pt-0 bg-uh-white z-[1]",children:[(0,va.jsx)("div",{className:"col-span-full lg:col-span-4 pb-[15px] lg:pb-0 lg:-translate-x-[40px]",ref:O,children:(0,va.jsxs)("div",{className:"stay-at-info",children:[(0,va.jsx)("div",{className:"mb-[20px]",children:(0,va.jsx)(uf,{Text:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Title,tag:"span",variant:"heading"})}),(0,va.jsx)("div",{className:"my-[20px] lg:col-span-4",children:(0,va.jsx)(bN,{Text:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Content,tag:"div",variant:"body"})}),(null===(n=e.fields)||void 0===n?void 0:null===(s=n.LinkTitle)||void 0===s?void 0:s.value)&&(0,va.jsx)("div",{className:"mt-[20px] lg:mt-[40px]",children:(0,va.jsx)(fa,{ButtonVariant:"cta-type-b",hideIconAngle:!0,TEXT:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.LinkTitle,URL:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Link,hideLinkIfEmpty:!0,Target:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Link)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.target})})]})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-1 pb-[15px] lg:pb-0"}),(0,va.jsx)("div",{className:"hidden lg:grid lg:col-span-7 stay-at-images",children:(0,va.jsx)("div",{children:!!(null==e?void 0:null===(v=e.fields)||void 0===v?void 0:null===(c=v.Items)||void 0===c?void 0:c.length)&&(null==e?void 0:null===(m=e.fields)||void 0===m?void 0:null===(u=m.Items)||void 0===u?void 0:u.map((e,l)=>{var i;return(0,va.jsx)(v6,{className:vP(l>0&&"mt-[60px]","w-full aspect-[682/350]"),duration:1,scrub:!1,start:"top 75%",children:(0,va.jsx)(m7,{field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Image,className:"h-full max-w-none w-full object-cover object-top"})},l)}))})})]}),(0,va.jsx)("div",{className:"lg:hidden pb-[15px] bg-white relative z-1",ref:L,children:(0,va.jsx)(vH,{className:"pt-[100px]",children:(0,va.jsxs)("div",{className:"col-span-full stay-at-info-mobile",children:[(0,va.jsx)("div",{className:"mb-[20px]",children:(0,va.jsx)(uf,{Text:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:x.Title,tag:"span",variant:"heading"})}),(0,va.jsx)("div",{className:"my-[20px] lg:col-span-4",children:(0,va.jsx)(bN,{Text:null==e?void 0:null===(p=e.fields)||void 0===p?void 0:p.Content,tag:"div",variant:"body"})}),(null===(f=e.fields)||void 0===f?void 0:null===(h=f.LinkTitle)||void 0===h?void 0:h.value)&&(0,va.jsx)("div",{className:"mt-[20px] lg:mt-[40px]",children:(0,va.jsx)(fa,{ButtonVariant:"cta-type-b",hideIconAngle:!0,TEXT:null==e?void 0:null===(g=e.fields)||void 0===g?void 0:g.LinkTitle,URL:null==e?void 0:null===(j=e.fields)||void 0===j?void 0:j.Link,hideLinkIfEmpty:!0,Target:null==e?void 0:null===(T=e.fields)||void 0===T?void 0:null===(b=T.Link)||void 0===b?void 0:null===(N=b.value)||void 0===N?void 0:N.target})})]})})}),(0,va.jsx)("div",{className:"lg:hidden stay-at-images-mobile relative z-0",children:!!(null==e?void 0:null===(k=e.fields)||void 0===k?void 0:null===(S=k.Items)||void 0===S?void 0:S.length)&&(null==e?void 0:null===(y=e.fields)||void 0===y?void 0:null===(w=y.Items)||void 0===w?void 0:w.map((e,l)=>{var i;return(0,va.jsx)(v6,{className:vP(l>0&&"mt-[15px]","w-full aspect-[375/192]"),children:(0,va.jsx)(m7,{field:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Image,className:"h-full max-w-none w-full object-cover object-top"})},l)}))})]})})}),Lu=(0,vp.C)()(e=>{let{isInUhCostomizeTwoLayout:l}=Og(),{isLgScreen:i}=EG(),s=C5(null==e?void 0:e.params),n=(0,vd.useMemo)(()=>i?{paddingTop:s.DesktopPaddingTop?s.DesktopPaddingTopSize?"".concat(s.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:s.DesktopPaddingBottom&&s.DesktopPaddingBottomSize?"".concat(s.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:s.MobilePaddingTop?s.MobilePaddingTopSize?"".concat(s.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:s.MobilePaddingBottom&&s.MobilePaddingBottomSize?"".concat(s.MobilePaddingBottomSize,"px"):"0px"},[i,s]),a=()=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x;return(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(v4,{className:"col-span-full lg:col-span-5 lg:col-start-2 lg:-translate-x-[40px]",duration:1,scrub:!1,start:"top 75%",children:(0,va.jsx)(m7,{className:"h-[430px] lg:h-[610px] w-full object-cover object-top",field:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Image})}),(0,va.jsxs)(v4,{className:"col-span-full lg:col-span-5 lg:flex lg:flex-col lg:justify-center lg:translate-x-[40px] ".concat((null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Image)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src)?"lg:pl-[40px]":""),duration:1,scrub:!1,start:"top 75%",children:[(0,va.jsx)(uf,{tag:"div",Text:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Title,variant:"subhead"}),(0,va.jsx)(uf,{tag:"div",Text:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Subtitle,variant:"subhead-2"}),(0,va.jsx)(bN,{className:"my-[20px] only:my-0",Text:null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.Content,variant:"body"}),(null===(r=e.fields)||void 0===r?void 0:null===(o=r.LinkTitle)||void 0===o?void 0:o.value)&&(0,va.jsx)("div",{className:"mt-[20px] lg:mt-[40px]",children:(0,va.jsx)(fa,{ButtonVariant:"cta-type-b",hideIconAngle:!0,TEXT:null==e?void 0:null===(c=e.fields)||void 0===c?void 0:c.LinkTitle,URL:null==e?void 0:null===(v=e.fields)||void 0===v?void 0:v.Link,hideLinkIfEmpty:!0,Target:null==e?void 0:null===(x=e.fields)||void 0===x?void 0:null===(m=x.Link)||void 0===m?void 0:null===(u=m.value)||void 0===u?void 0:u.target})})]})]})};return(0,va.jsx)(vW,{className:"text-uh-black bg-uh-white",children:l?a():(0,va.jsx)(vH,{className:"gap-y-[20px]",style:n,children:a()})})});(n=d||(d={}))[n.Default=0]="Default",n[n.Short=1]="Short";let Lm=e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei,es,en,ea;let{variant:ed,...et}=e,[eo,er]=(0,vd.useState)(!1),ec=(0,vd.useRef)({}),{isLgScreen:ev}=EG(),eu=C5(null==et?void 0:et.params);(0,vd.useEffect)(()=>{eo?ec.current["a".concat(et.rendering.uid)]&&ec.current["a".concat(et.rendering.uid)].play&&ec.current["a".concat(et.rendering.uid)].play():ec.current["a".concat(et.rendering.uid)]&&ec.current["a".concat(et.rendering.uid)].pause&&ec.current["a".concat(et.rendering.uid)].pause()},[eo]);let em=(0,va.jsxs)("div",{className:"col-span-full lg:col-span-10 lg:col-start-2 first:mb-[20px] lg:last:mt-[20px] lg:only:mt-0 only:mb-0",children:[(null==et?void 0:null===(s=et.fields)||void 0===s?void 0:null===(i=s.Image)||void 0===i?void 0:null===(l=i.value)||void 0===l?void 0:l.src)&&!(null==et?void 0:null===(d=et.fields)||void 0===d?void 0:null===(a=d.VideoLink)||void 0===a?void 0:null===(n=a.value)||void 0===n?void 0:n.href)&&(0,va.jsx)(m7,{className:vP({"h-[276px] lg:h-[590px] object-top":0===ed,"h-[104px] lg:h-[300px] object-center":1===ed},"w-full object-cover"),field:null==et?void 0:null===(t=et.fields)||void 0===t?void 0:t.Image}
1),!!(null==et?void 0:null===(c=et.fields)||void 0===c?void 0:null===(r=c.VideoLink)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.href)&&(0,va.jsxs)("div",{className:vP({"h-[276px] lg:h-[590px]":0===ed,"h-[104px] lg:h-[300px]":1===ed},"w-full relative"),children:[(0,va.jsx)("div",{className:"absolute top-0 left-0 w-full h-full z-[99] cursor-pointer flex items-center justify-center",onClick:()=>{er(!0)},children:(0,va.jsx)("div",{className:"w-[40px] h-[40px] lg:w-[67px] lg:h-[67px] border-[2px] border-white rounded-full bg-transparent flex items-center justify-center",children:(0,va.jsx)("div",{className:"w-0 h-0 border-t-[10px] lg:border-t-[15px] border-t-transparent border-b-[10px] lg:border-b-[15px] border-b-transparent border-l-[15px] lg:border-l-[25px] border-l-white"})})}),(0,va.jsx)(CX,{id:"c".concat(et.rendering.uid),cover:null==et?void 0:null===(m=et.fields)||void 0===m?void 0:null===(u=m.Image)||void 0===u?void 0:null===(v=u.value)||void 0===v?void 0:v.src,width:"100%",height:"100%",rePlay:!1,preload:!0,autoplay:!1,clickPause:!1,skinLayout:[],videoStyle:"video-cover",source:null===(p=et.fields.VideoLink)||void 0===p?void 0:null===(x=p.value)||void 0===x?void 0:x.href})]})]}),ex=(0,vd.useMemo)(()=>ev?{paddingTop:eu.DesktopPaddingTop?eu.DesktopPaddingTopSize?"".concat(eu.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:eu.DesktopPaddingBottom&&eu.DesktopPaddingBottomSize?"".concat(eu.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:eu.MobilePaddingTop?eu.MobilePaddingTopSize?"".concat(eu.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:eu.MobilePaddingBottom&&eu.MobilePaddingBottomSize?"".concat(eu.MobilePaddingBottomSize,"px"):"0px"},[ev,eu]),{sitecoreContext:ep}=(0,vr.z)();return(0,va.jsxs)(vW,{className:"relative text-uh-black bg-uh-white UhTitleAndContentWithImage",style:{backgroundColor:(null==et?void 0:null===(h=et.fields)||void 0===h?void 0:h.BackgroundColor)?"".concat(null==et?void 0:null===(N=et.fields)||void 0===N?void 0:null===(j=N.BackgroundColor)||void 0===j?void 0:null===(g=j.fields)||void 0===g?void 0:null===(f=g.Value)||void 0===f?void 0:f.value):"white"},children:[(0,va.jsxs)(vH,{className:vP("gap-y-[20px]"),style:ex,children:[((null==et?void 0:null===(S=et.fields)||void 0===S?void 0:null===(T=S.Image)||void 0===T?void 0:null===(b=T.value)||void 0===b?void 0:b.src)||(null==et?void 0:null===(y=et.fields)||void 0===y?void 0:null===(w=y.VideoLink)||void 0===w?void 0:null===(k=w.value)||void 0===k?void 0:k.href))&&!(null==et?void 0:null===(C=et.fields)||void 0===C?void 0:null===(E=C.BottomImage)||void 0===E?void 0:E.value)&&em,((null==et?void 0:null===(O=et.fields)||void 0===O?void 0:O.Title.value)||(null==et?void 0:null===(L=et.fields)||void 0===L?void 0:L.Content.value))&&(0,va.jsxs)(v6,{className:"col-span-full lg:col-span-8 lg:col-start-3 translate-y-[40px] text-left lg:!text-center only:pt-0",duration:1,start:"top 75%",scrub:!1,children:[(null==et?void 0:null===(I=et.fields)||void 0===I?void 0:I.Title.value)&&(0,va.jsx)(uf,{tag:"div",Text:null==et?void 0:null===(F=et.fields)||void 0===F?void 0:F.Title,variant:"".concat((null==et?void 0:null===(M=et.fields)||void 0===M?void 0:null===(_=M.LargeTitle)||void 0===_?void 0:_.value)?"heading":"subhead"),className:"mb-[10px] lg:mb-[20px]"}),(null==et?void 0:null===(R=et.fields)||void 0===R?void 0:R.Content.value)&&(0,va.jsx)(bN,{tag:"div",variant:"body",className:"mt-[10px] lg:mt-[20px] only:mt-0",Text:null==et?void 0:null===(P=et.fields)||void 0===P?void 0:P.Content})]}),(null==et?void 0:null===(D=et.fields)||void 0===D?void 0:null===(A=D.LinkTitle)||void 0===A?void 0:A.value)&&(0,va.jsx)(v6,{className:"col-span-full flex justify-start lg:justify-center translate-y-[50px]",duration:1,start:"top 75%",scrub:!1,children:(0,va.jsx)(fa,{URL:null==et?void 0:null===(B=et.fields)||void 0===B?void 0:B.Link,TEXT:null==et?void 0:null===(V=et.fields)||void 0===V?void 0:V.LinkTitle,ButtonVariant:"".concat((null==et?void 0:null===(H=et.fields)||void 0===H?void 0:null===(W=H.LinkStyle)||void 0===W?void 0:W.value)==="Hyperlink"?"cta-type-a":"cta-type-b"),hideIconAngle:!0,Target:null==et?void 0:null===(z=et.fields)||void 0===z?void 0:null===(U=z.Link)||void 0===U?void 0:null===(G=U.value)||void 0===G?void 0:G.target,hideLinkIfEmpty:!0,onClick:e=>{var l,i;if((null===(l=ep.route)||void 0===l?void 0:l.templateId)===E_.detailPage_room){let e=new EP((0,xJ.AB)(ep),"button","".concat(null==et?void 0:null===(i=et.fields)||void 0===i?void 0:i.Title.value,"_Book Now"));EH(ep,e)}}})}),((null==et?void 0:null===(Y=et.fields)||void 0===Y?void 0:null===(Q=Y.Image)||void 0===Q?void 0:null===(q=Q.value)||void 0===q?void 0:q.src)||(null==et?void 0:null===(J=et.fields)||void 0===J?void 0:null===(Z=J.VideoLink)||void 0===Z?void 0:null===(K=Z.value)||void 0===K?void 0:K.href))&&(null==et?void 0:null===(ee=et.fields)||void 0===ee?void 0:null===(X=ee.BottomImage)||void 0===X?void 0:X.value)&&em]}),(0,va.jsxs)("div",{className:"w-full h-full bg-black/90 fixed z-[9999] top-0 ".concat(eo?"block":"hidden"),children:[(0,va.jsxs)("div",{className:"w-[40px] h-[40p
1x] absolute top-[30px] right-[30px] flex justify-center items-center cursor-pointer group",onClick:()=>{er(!1)},children:[(0,va.jsx)("span",{className:"line-1 absolute w-[30px] lg:w-[50px] h-[2px] bg-white rotate-45"}),(0,va.jsx)("span",{className:"line-2 absolute w-[30px] lg:w-[50px] h-[2px] bg-white -rotate-45"})]}),(0,va.jsx)("div",{className:"h-full flex items-center justify-center p-[20px]",children:(0,va.jsx)("div",{className:"max-w-[1000px] w-full aspect-[16/9] ",children:!!(null==et?void 0:null===(es=et.fields)||void 0===es?void 0:null===(ei=es.VideoLink)||void 0===ei?void 0:null===(el=ei.value)||void 0===el?void 0:el.href)&&(0,va.jsx)(CX,{id:"a".concat(et.rendering.uid),width:"100%",height:"100%",rePlay:!0,preload:!0,autoplay:!1,clickPause:!0,mute:!1,controlBarVisibility:"hover",skinLayoutIgnore:["bigPlayButton","H5Loading"],videoStyle:"video-cover",source:null===(ea=et.fields.VideoLink)||void 0===ea?void 0:null===(en=ea.value)||void 0===en?void 0:en.href,onAliplayerInstance:e=>{ec.current["a".concat(et.rendering.uid)]=e}})})})]})]})},Lx=e=>(0,va.jsx)(Lm,{...e,variant:0}),Lp=e=>(0,va.jsx)(Lm,{...e,variant:1});var Lh=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S,k,w,y,E,C,O,L,I,F,_,M,R,P,A,D,B,V,W,H,G,U,z,q,Q,Y,K,Z,J,X,ee,el,ei,es,en,ea,ed,et,eo,er,ec,ev,eu,em,ex,ep,eh,ef,eg,ej,eN,eb,eT,eS,ek,ew,ey,eE,eC,eO,eL,eI,eF,e_,eM,eR,eP,eA,eD,eB,eV,eW,eH,eG,eU,ez,eq,eQ,eY,eK,e$,eZ,eJ,eX,e0,e1,e2,e5,e3,e4,e6,e8,e7,e9,le,ll,li,ls,ln,la,ld,lt,lo,lr,lc,lv,lu,lm,lx,lp,lh,lf,lg,lj,lN,lb,lT,lS,lk,lw,ly,lE,lC,lO,lL,lI,lF,l_,lM,lR,lP,lA,lD,lB,lV,lW,lH,lG,lU;let{...lz}=e,{isLgScreen:lq}=EG(),lQ=C5(null==lz?void 0:lz.params),lY=(0,vd.useMemo)(()=>lq?{paddingTop:lQ.DesktopPaddingTop?lQ.DesktopPaddingTopSize?"".concat(lQ.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:lQ.DesktopPaddingBottom&&lQ.DesktopPaddingBottomSize?"".concat(lQ.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:lQ.MobilePaddingTop?lQ.MobilePaddingTopSize?"".concat(lQ.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:lQ.MobilePaddingBottom&&lQ.MobilePaddingBottomSize?"".concat(lQ.MobilePaddingBottomSize,"px"):"0px"},[lq,lQ]),{sitecoreContext:lK}=(0,vr.z)();return(0,va.jsx)(vW,{className:"relative text-uh-black bg-uh-white UhTitleAndContentWithImageCards",style:{backgroundColor:(null==lz?void 0:null===(l=lz.fields)||void 0===l?void 0:l.BackgroundColor)?"".concat(null==lz?void 0:null===(a=lz.fields)||void 0===a?void 0:null===(n=a.Backgroun
1dColor)||void 0===n?void 0:null===(s=n.fields)||void 0===s?void 0:null===(i=s.Value)||void 0===i?void 0:i.value):"white"},children:(0,va.jsxs)(vH,{className:vP("gap-y-[20px] lg:gap-y-[40px]"),style:lY,children:[(0,va.jsxs)("div",{className:"col-span-full lg:col-span-8 lg:col-start-3 flex flex-col lg:flex-row gap-y-[1px] lg:gap-y-0 lg:gap-x-[20px]",children:[(0,va.jsxs)("div",{className:"lg:flex-1 relative",children:[((null==lz?void 0:null===(o=lz.fields)||void 0===o?void 0:null===(t=o.Image1)||void 0===t?void 0:null===(d=t.value)||void 0===d?void 0:d.src)||(null==lz?void 0:null===(v=lz.fields)||void 0===v?void 0:null===(c=v.MobileImage1)||void 0===c?void 0:null===(r=c.value)||void 0===r?void 0:r.src)||(null==lz?void 0:null===(x=lz.fields)||void 0===x?void 0:null===(m=x.VideoLink1)||void 0===m?void 0:null===(u=m.value)||void 0===u?void 0:u.href)||(null==lz?void 0:null===(f=lz.fields)||void 0===f?void 0:null===(h=f.MobileVideoLink1)||void 0===h?void 0:null===(p=h.value)||void 0===p?void 0:p.href))&&(0,va.jsx)("div",{className:"w-[100%] aspect-[2.4/1] lg:aspect-[9/16]"}),(null==lz?void 0:null===(N=lz.fields)||void 0===N?void 0:null===(j=N.Image1)||void 0===j?void 0:null===(g=j.value)||void 0===g?void 0:g.src)&&(0,va.jsx)(m7,{field:null==lz?void 0:null===(b=lz.fields)||void 0===b?void 0:b.Image1,className:"hidden lg:block absolute top-0 w-[100%] object-cover aspect-[9/16]"}),(null==lz?void 0:null===(k=lz.fields)||void 0===k?void 0:null===(S=k.MobileImage1)||void 0===S?void 0:null===(T=S.value)||void 0===T?void 0:T.src)&&(0,va.jsx)(m7,{field:null==lz?void 0:null===(w=lz.fields)||void 0===w?void 0:w.MobileImage1,className:"lg:hidden absolute top-0 w-[100%] object-cover aspect-[2.4/1]"}),(null==lz?void 0:null===(C=lz.fields)||void 0===C?void 0:null===(E=C.VideoLink1)||void 0===E?void 0:null===(y=E.value)||void 0===y?void 0:y.href)&&(0,va.jsx)("div",{className:"hidden lg:block absolute top-0 w-[100%] aspect-[9/16]",children:(0,va.jsx)(CX,{id:"a".concat(lz.rendering.uid),width:"100%",height:"100%",rePlay:!0,skinLayoutIgnore:["bigPlayButton","H5Loading","controlBar"],videoStyle:"video-cover",className:"!bg-transparent",source:null===(L=lz.fields.VideoLink1)||void 0===L?void 0:null===(O=L.value)||void 0===O?void 0:O.href})}),(null==lz?void 0:null===(_=lz.fields)||void 0===_?void 0:null===(F=_.MobileVideoLink1)||void 0===F?void 0:null===(I=F.value)||void 0===I?void 0:I.href)&&(0,va.jsx)("div",{className:"lg:hidden absolute top-0 w-[100%] aspect-[2.4/1]",children:(0,va.jsx)(CX,{id:"a2".concat(lz.rendering.uid),width:"100%",height:"100%",rePlay:!0,skinLayoutIgnore:["bigPlayButton","H5Loading","controlBar"],videoStyle:"video-cover",className:"!bg-transparent",source:null===(R=lz.fields.MobileVideoLink1)||void 0===R?void 0:null===(M=R.value)||void 0===M?void 0:M.href})}),((null==lz?void 0:null===(D=lz.fields)||void 0===D?void 0:null===(A=D.Image1)||void 0===A?void 0:null===(P=A.value)||void 0===P?void 0:P.src)||(null==lz?void 0:null===(W=lz.fields)||void 0===W?void 0:null===(V=W.MobileImage1)||void 0===V?void 0:null===(B=V.value)||void 0===B?void 0:B.src)||(null==lz?void 0:null===(U=lz.fields)||void 0===U?void 0:null===(G=U.VideoLink1)||void 0===G?void 0:null===(H=G.value)||void 0===H?void 0:H.href)||(null==lz?void 0:null===(Q=lz.fields)||void 0===Q?void 0:null===(q=Q.MobileVideoLink1)||void 0===q?void 0:null===(z=q.value)||void 0===z?void 0:z.href))&&(0,va.jsx)("div",{className:vP("absolute w-full h-full top-0 ".concat((null===(Y=lz.fields)||void 0===Y?void 0:Y.RemoveMask1.value)?"":"bg-black/40")),children:(0,va.jsxs)("div",{className:"absolute w-full h-full flex flex-col justify-center lg:justify-end items-center bottom-0 text-white lg:mb-[20px] gap-[10px] lg:gap-[5px]",children:[(null==lz?void 0:null===(K=lz.fields)||void 0===K?void 0:K.Remark1.value)&&(0,va.jsx)(uf,{tag:"div",Text:null==lz?void 0:null===(Z=lz.fields)||void 0===Z?void 0:Z.Remark1,className:"font-Belleza text-[26px] lg:text-[30px] font-normal leading-[18px] lg:leading-[30px] uppercase text-center"}),(null==lz?void 0:null===(J=lz.fields)||void 0===J?void 0:J.Text1.value)&&(0,va.jsx)(uf,{tag:"div",Text:null==lz?void 0:null===(X=lz.fields)||void 0===X?void 0:X.Text1,className:"font-Amiko text-[12px] lg:text-[14px] leading-[12px] lg:leading-[26px] font-normal uppercase text-center"})]})})]}),(0,va.jsxs)("div",{className:"lg:flex-1 relative",children:[((null==lz?void 0:null===(ei=lz.fields)||void 0===ei?void 0:null===(el=ei.Image2)||void 0===el?void 0:null===(ee=el.value)||void 0===ee?void 0:ee.src)||(null==lz?void 0:null===(ea=lz.fields)||void 0===ea?void 0:null===(en=ea.MobileImage2)||void 0===en?void 0:null===(es=en.value)||void 0===es?void 0:es.src)||(null==lz?void 0:null===(eo=lz.fields)||void 0===eo?void 0:null===(et=eo.VideoLink2)||void 0===et?void 0:null===(ed=et.value)||void 0===ed?void 0:ed.href)||(null==lz?void 0:null===(ev=lz.fields)||void 0===ev?void 0:null===(ec=ev.MobileVideoLink2)||void 0===ec?void 0:null===(er=ec.value)||void 0===er?void 0:er.href))&&(0,va.jsx)("div",{className:"w-[100%] aspect-[2.4/1] lg:aspect-[9/16]"}),(null==lz?void 0:null===(ex=lz.fields)||void 0===ex?void 0:null===(em=ex.Image2)||void 0===em?void 0:null===(eu=em.value)||void 0===eu?void 0:eu.src)&&(0,va.jsx)(m7,{field:null==lz?void 0:null===(ep=lz.fields)||void 0===ep?void 0:ep.Image2,className:"hidden lg:block absolute top-0 w-[100%] object-cover aspect-[9/16]"}
1),(null==lz?void 0:null===(eg=lz.fields)||void 0===eg?void 0:null===(ef=eg.MobileImage2)||void 0===ef?void 0:null===(eh=ef.value)||void 0===eh?void 0:eh.src)&&(0,va.jsx)(m7,{field:null==lz?void 0:null===(ej=lz.fields)||void 0===ej?void 0:ej.MobileImage2,className:"lg:hidden absolute top-0 w-[100%] object-cover aspect-[2.4/1]"}),(null==lz?void 0:null===(eT=lz.fields)||void 0===eT?void 0:null===(eb=eT.VideoLink2)||void 0===eb?void 0:null===(eN=eb.value)||void 0===eN?void 0:eN.href)&&(0,va.jsx)("div",{className:"hidden lg:block absolute top-0 w-[100%] aspect-[9/16]",children:(0,va.jsx)(CX,{id:"b".concat(lz.rendering.uid),width:"100%",height:"100%",rePlay:!0,skinLayoutIgnore:["bigPlayButton","H5Loading","controlBar"],videoStyle:"video-cover",className:"!bg-transparent",source:null===(ek=lz.fields.VideoLink2)||void 0===ek?void 0:null===(eS=ek.value)||void 0===eS?void 0:eS.href})}),(null==lz?void 0:null===(eE=lz.fields)||void 0===eE?void 0:null===(ey=eE.MobileVideoLink2)||void 0===ey?void 0:null===(ew=ey.value)||void 0===ew?void 0:ew.href)&&(0,va.jsx)("div",{className:"lg:hidden absolute top-0 w-[100%] aspect-[2.4/1]",children:(0,va.jsx)(CX,{id:"b2".concat(lz.rendering.uid),width:"100%",height:"100%",rePlay:!0,skinLayoutIgnore:["bigPlayButton","H5Loading","controlBar"],videoStyle:"video-cover",className:"!bg-transparent",source:null===(eO=lz.fields.MobileVideoLink2)||void 0===eO?void 0:null===(eC=eO.value)||void 0===eC?void 0:eC.href})}),((null==lz?void 0:null===(eF=lz.fields)||void 0===eF?void 0:null===(eI=eF.Image2)||void 0===eI?void 0:null===(eL=eI.value)||void 0===eL?void 0:eL.src)||(null==lz?void 0:null===(eR=lz.fields)||void 0===eR?void 0:null===(eM=eR.MobileImage2)||void 0===eM?void 0:null===(e_=eM.value)||void 0===e_?void 0:e_.src)||(null==lz?void 0:null===(eD=lz.fields)||void 0===eD?void 0:null===(eA=eD.VideoLink2)||void 0===eA?void 0:null===(eP=eA.value)||void 0===eP?void 0:eP.href)||(null==lz?void 0:null===(eW=lz.f
1ields)||void 0===eW?void 0:null===(eV=eW.MobileVideoLink2)||void 0===eV?void 0:null===(eB=eV.value)||void 0===eB?void 0:eB.href))&&(0,va.jsx)("div",{className:vP("absolute w-full h-full top-0 ".concat((null===(eH=lz.fields)||void 0===eH?void 0:eH.RemoveMask2.value)?"":"bg-black/40")),children:(0,va.jsxs)("div",{className:"absolute w-full h-full flex flex-col justify-center lg:justify-end items-center bottom-0 text-white lg:mb-[20px] gap-[10px] lg:gap-[5px]",children:[(null==lz?void 0:null===(eG=lz.fields)||void 0===eG?void 0:eG.Remark2.value)&&(0,va.jsx)(uf,{tag:"div",Text:null==lz?void 0:null===(eU=lz.fields)||void 0===eU?void 0:eU.Remark2,className:"font-Belleza text-[26px] lg:text-[30px] font-normal leading-[18px] lg:leading-[30px] uppercase text-center"}),(null==lz?void 0:null===(ez=lz.fields)||void 0===ez?void 0:ez.Text2.value)&&(0,va.jsx)(uf,{tag:"div",Text:null==lz?void 0:null===(eq=lz.fields)||void 0===eq?void 0:eq.Text2,className:"font-Amiko text-[12px] lg:text-[14px] leading-[12px] lg:leading-[26px] font-normal uppercase text-center"})]})})]}),(0,va.jsxs)("div",{className:"lg:flex-1 relative",children:[((null==lz?void 0:null===(eK=lz.fields)||void 0===eK?void 0:null===(eY=eK.Image3)||void 0===eY?void 0:null===(eQ=eY.value)||void 0===eQ?void 0:eQ.src)||(null==lz?void 0:null===(eJ=lz.fields)||void 0===eJ?void 0:null===(eZ=eJ.MobileImage3)||void 0===eZ?void 0:null===(e$=eZ.value)||void 0===e$?void 0:e$.src)||(null==lz?void 0:null===(e1=lz.fields)||void 0===e1?void 0:null===(e0=e1.VideoLink3)||void 0===e0?void 0:null===(eX=e0.value)||void 0===eX?void 0:eX.href)||(null==lz?void 0:null===(e3=lz.fields)||void 0===e3?void 0:null===(e5=e3.MobileVideoLink3)||void 0===e5?void 0:null===(e2=e5.value)||void 0===e2?void 0:e2.href))&&(0,va.jsx)("div",{className:"w-[100%] aspect-[2.4/1] lg:aspect-[9/16]"}),(null==lz?void 0:null===(e8=lz.fields)||void 0===e8?void 0:null===(e6=e8.Image3)||void 0===e6?void 0:null===(e4=e6.value)||void 0===e4?void 0:e4.src)&&(0,va.jsx)(m7,{field:null==lz?void 0:null===(e7=lz.fields)||void 0===e7?void 0:e7.Image3,className:"hidden lg:block absolute top-0 w-[100%] object-cover aspect-[9/16]"}),(null==lz?void 0:null===(ll=lz.fields)||void 0===ll?void 0:null===(le=ll.MobileImage3)||void 0===le?void 0:null===(e9=le.value)||void 0===e9?void 0:e9.src)&&(0,va.jsx)(m7,{field:null==lz?void 0:null===(li=lz.fields)||void 0===li?void 0:li.MobileImage3,className:"lg:hidden absolute top-0 w-[100%] object-cover aspect-[2.4/1]"}),(null==lz?void 0:null===(la=lz.fields)||void 0===la?void 0:null===(ln=la.VideoLink3)||void 0===ln?void 0:null===(ls=ln.value)||void 0===ls?void 0:ls.href)&&(0,va.jsx)("div",{className:"hidden lg:block absolute top-0 w-[100%] aspect-[9/16]",children:(0,va.jsx)(CX,{id:"c".concat(lz.rendering.uid),width:"100%",height:"100%",rePlay:!0,skinLayoutIgnore:["bigPlayButton","H5Loading","controlBar"],videoStyle:"video-cover",className:"!bg-transparent",source:null===(lt=lz.fields.VideoLink3)||void 0===lt?void 0:null===(ld=lt.value)||void 0===ld?void 0:ld.href})}),(null==lz?void 0:null===(lc=lz.fields)||void 0===lc?void 0:null===(lr=lc.MobileVideoLink3)||void 0===lr?void 0:null===(lo=lr.value)||void 0===lo?void 0:lo.href)&&(0,va.jsx)("div",{className:"lg:hidden absolute top-0 w-[100%] aspect-[2.4/1]",children:(0,va.jsx)(CX,{id:"c2".concat(lz.rendering.uid),width:"100%",height:"100%",rePlay:!0,skinLayoutIgnore:["bigPlayButton","H5Loading","controlBar"],videoStyle:"video-cover",className:"!bg-transparent",source:null===(lu=lz.fields.MobileVideoLink3)||void 0===lu?void 0:null===(lv=lu.value)||void 0===lv?void 0:lv.href})}),((null==lz?void 0:null===(lp=lz.fields)||void 0===lp?void 0:null===(lx=lp.Image3)||void 0===lx?void 0:null===(lm=lx.value)||void 0===lm?void 0:lm.src)||(null==lz?void 0:null===(lg=lz.fields)||void 0===lg?void 0:null===(lf=lg.MobileImage3)||void 0===lf?void 0:null===(lh=lf.value)||void 0===lh?void 0:lh.src)||(null==lz?void 0:null===(lb=lz.fields)||void 0===lb?void 0:null===(lN=lb.VideoLink3)||void 0===lN?void 0:null===(lj=lN.value)||void 0===lj?void 0:lj.href)||(null==lz?void 0:null===(lk=lz.fields)||void 0===lk?void 0:null===(lS=lk.MobileVideoLink3)||void 0===lS?void 0:null===(lT=lS.value)||void 0===lT?void 0:lT.href))&&(0,va.jsx)("div",{className:vP("absolute w-full h-full top-0 ".concat((null===(lw=lz.fields)||void 0===lw?void 0:lw.RemoveMask3.value)?"":"bg-black/40")),children:(0,va.jsxs)("div",{className:"absolute w-full h-full flex flex-col justify-center lg:justify-end items-center bottom-0 text-white lg:mb-[20px] gap-[10px] lg:gap-[5px]",children:[(null==lz?void 0:null===(ly=lz.fields)||void 0===ly?void 0:ly.Remark3.value)&&(0,va.jsx)(uf,{tag:"div",Text:null==lz?void 0:null===(lE=lz.fields)||void 0===lE?void 0:lE.Remark3,className:"font-Belleza text-[26px] lg:text-[30px] font-normal leading-[18px] lg:leading-[30px] uppercase text-center"}),(null==lz?void 0:null===(lC=lz.fields)||void 0===lC?void 0:lC.Text3.value)&&(0,va.jsx)(uf,{tag:"div",Text:null==lz?void 0:null===(lO=lz.fields)||void 0===lO?void 0:lO.Text3,className:"font-Amiko text-[12px] lg:text-[14px] leading-[12px] lg:leading-[26px] font-normal uppercase text-center"})]})})]})]}
1),((null==lz?void 0:null===(lL=lz.fields)||void 0===lL?void 0:lL.Title.value)||(null==lz?void 0:null===(lI=lz.fields)||void 0===lI?void 0:lI.Content.value))&&(0,va.jsxs)("div",{className:"col-span-full lg:col-span-10 lg:col-start-2 text-left lg:!text-center only:pt-0",children:[(null==lz?void 0:null===(lF=lz.fields)||void 0===lF?void 0:lF.Title.value)&&(0,va.jsx)(uf,{tag:"div",Text:null==lz?void 0:null===(l_=lz.fields)||void 0===l_?void 0:l_.Title,variant:"subhead",className:"mb-[10px] lg:mb-[20px]"}),(null==lz?void 0:null===(lM=lz.fields)||void 0===lM?void 0:lM.Content.value)&&(0,va.jsx)(bN,{tag:"div",variant:"body",className:"mt-[10px] lg:mt-[20px] only:mt-0",Text:null==lz?void 0:null===(lR=lz.fields)||void 0===lR?void 0:lR.Content})]}),(null==lz?void 0:null===(lA=lz.fields)||void 0===lA?void 0:null===(lP=lA.LinkTitle)||void 0===lP?void 0:lP.value)&&(0,va.jsx)("div",{className:"col-span-full flex justify-start lg:justify-center",children:(0,va.jsx)(fa,{URL:null==lz?void 0:null===(lD=lz.fields)||void 0===lD?void 0:lD.Link,TEXT:null==lz?void 0:null===(lB=lz.fields)||void 0===lB?void 0:lB.LinkTitle,ButtonVariant:"".concat((null==lz?void 0:null===(lW=lz.fields)||void 0===lW?void 0:null===(lV=lW.LinkStyle)||void 0===lV?void 0:lV.value)==="Hyperlink"?"cta-type-a":"cta-type-b"),hideIconAngle:!0,Target:null==lz?void 0:null===(lU=lz.fields)||void 0===lU?void 0:null===(lG=lU.Link)||void 0===lG?void 0:null===(lH=lG.value)||void 0===lH?void 0:lH.target,hideLinkIfEmpty:!0,onClick:e=>{var l,i;if((null===(l=lK.route)||void 0===l?void 0:l.templateId)===E_.detailPage_room){let e=new EP((0,xJ.AB)(lK),"button","".concat(null==lz?void 0:null===(i=lz.fields)||void 0===i?void 0:i.Title.value,"_Book Now"));EH(lK,e)}}})})]})})});let Lf=e=>{var l,i,s,n,a,d,t,o,r;let c=C5(null==e?void 0:e.params);return(0,va.jsx)(vW,{className:"text-uh-black bg-uh-white",children:(0,va.jsx)(vH,{className:vP("gap-y-0",{"max-lg:pt-[50px]":c.MobilePaddingTop,"max-lg:pb-[50px]":c.MobilePaddingBottom,"lg:pt-[120px]":c.DesktopPaddingTop,"lg:pb-[120px]":c.DesktopPaddingBottom}),children:(0,va.jsxs)(v6,{className:"col-span-full pt-[20px] translate-y-[50px]",children:[(0,va.jsx)(uf,{tag:"div",Text:null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.Title,variant:"subhead",className:"mb-[20px]"}),(0,va.jsx)(bN,{tag:"div",variant:"body",className:"my-[20px]",Text:null==e?void 0:null===(i=e.fields)||void 0===i?void 0:i.Content}),(null===(n=e.fields)||void 0===n?void 0:null===(s=n.LinkTitle)||void 0===s?void 0:s.value)&&(0,va.jsx)("div",{className:"mt-[20px]",children:(0,va.jsx)(fa,{ButtonVariant:"cta-type-b",hideIconAngle:!0,TEXT:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.LinkTitle,URL:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Link,hideLinkIfEmpty:!0,Target:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:null===(o=r.Link)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.target})})]})})})};vL.ZP.registerPlugin(v_()),vL.ZP.registerPlugin(vI.V);var Lg=(0,vp.C)()(e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let{isLgScreen:m}=EG(),x=C5(null==e?void 0:e.params),p=(0,vd.useRef)(null);(0,vI.V)(()=>{let e=p.current;if(!e)return;let l=vL.ZP.utils.toArray(".item",e);if(0===l.length)return;l.forEach(e=>{vL.ZP.fromTo(e,{opacity:0,y:200},{y:0,scrollTrigger:{trigger:e,start:"top 100%"}})}),v_().batch(".item",{onEnter:e=>vL.ZP.to(e,{opacity:1,y:0,stagger:{each:.15,grid:[1,3]},overwrite:!0}),onLeaveBack:e=>vL.ZP.set(e,{opacity:0,y:100,overwrite:!0})});let i=()=>{vL.ZP.set(l,{y:0})};return v_().addEventListener("refreshInit",i),()=>{v_().removeEventListener("refreshInit",i)}},{scope:p});let h=(0,vd.useMemo)(()=>m?{paddingTop:x.DesktopPaddingTop?x.DesktopPaddingTopSize?"".concat(x.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:x.DesktopPaddingBottom&&x.DesktopPaddingBottomSize?"".concat(x.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:x.MobilePaddingTop?x.MobilePaddingTopSize?"".concat(x.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:x.MobilePaddingBottom&&x.MobilePaddingBottomSize?"".concat(x.MobilePaddingBottomSize,"px"):"0px"},[m,x]);return(0,va.jsx)("section",{className:vP("relative bg-uh-white UhTwoColImageWithContent",!!(null===(l=e.fields)||void 0===l?void 0:l.Backgroun
1dColor)&&"bg-[".concat(null===(i=e.fields)||void 0===i?void 0:i.BackgroundColor.fields.Value.value,"]")),children:(0,va.jsx)(vH,{className:vP("gap-y-0 lg:gap-y-[40px]"),style:h,children:(0,va.jsxs)("div",{ref:p,className:"grid col-span-full grid-cols-subgrid",children:[(0,va.jsx)("div",{className:"item col-span-2 lg:col-span-4 lg:pr-[10px]",children:(0,va.jsx)(m7,{field:null==e?void 0:null===(s=e.fields)||void 0===s?void 0:s.Image1,className:"object-cover object-top w-full"})}),(0,va.jsx)("div",{className:"item col-span-2 lg:col-span-4 lg:px-[5px]",children:(0,va.jsx)(m7,{field:null==e?void 0:null===(n=e.fields)||void 0===n?void 0:n.Image2,className:"object-cover object-top w-full"})}),(0,va.jsxs)("div",{className:"item col-span-full lg:col-span-4 lg:self-center lg:pl-[10px]",children:[(0,va.jsx)(uf,{Text:null==e?void 0:null===(a=e.fields)||void 0===a?void 0:a.Title,variant:"subhead",tag:"div",className:"mt-[20px] lg:mt-[0px] mb-[10px] lg:mb-[20px]"}),(0,va.jsx)(bN,{Text:null==e?void 0:null===(d=e.fields)||void 0===d?void 0:d.Content,variant:"body",className:"mb-[20px] last:mb-0"}),!!(null==e?void 0:null===(t=e.fields)||void 0===t?void 0:t.LinkTitle.value)&&(0,va.jsx)("div",{children:(0,va.jsx)(fa,{URL:null==e?void 0:null===(o=e.fields)||void 0===o?void 0:o.Link,TEXT:null==e?void 0:null===(r=e.fields)||void 0===r?void 0:r.LinkTitle,ButtonVariant:"cta-type-b",hideIconAngle:!0,Target:null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.Link)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.target})})]})]})})})});let Lj=(0,kF.WP)();var LN=()=>{let{t:e,locale:l}=(0,vT.QT)(),[i,s]=(0,vd.useState)(!1),[n,a]=(0,vd.useState)(!1),[d,t]=(0,vd.useState)([]);return(0,vd.useEffect)(()=>{(async()=>{if(!n){try{let i=await fetch("".concat(Lj).concat(uc.MD.BOOKING_GET_UPCOMING_BOOKING),{method:"GET",headers:{"Content-Type":"application/json"}});if(200==i.status){let s=(await i.json()).map(async i=>{if(void 0!=i.HotelId&&void 0!=i.RoomType)try{let e=await fetch("".concat(Lj,"/api/booking/getRoomImage?HotelId=").concat(i.HotelId,"&RoomType=").concat(i.RoomType,"&Locale=").concat(l()),{method:"GET",headers:{"Content-Type":"application/json"}});if(200==e.status){let l=await e.json();i.Image=l.RoomImage,i.HotelId=l.HotelName,i.RoomType=l.RoomType}}catch(e){console.error("Error fetching data:",e)}if(void 0!=i.Status){var s;let l=null===(s=gZ.ip.find(e=>e.code==i.Status))||void 0===s?void 0:s.label;void 0!=l&&(i.Status=e(l))}return i}),n=await Promise.all(s);t(n)}else{console.log("no data");return}}catch(e){console.error("Error fetching data:",e);return}a(!0)}})()},[]),(0,va.jsxs)(va.Fragment,{children:[i?(0,va.jsx)("div",{id:"loading-state",children:(0,va.jsx)("div",{id:"loading"})}):null,(0,va.jsx)(vG,{left:(0,va.jsx)(OW,{setIsLoading:s,selectedValue:"UPCOMING_BOOKING"}),right:(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid",children:[(0,va.jsx)("div",{className:"mb-[20px] lg:mb-[60px] col-span-full",children:(0,va.jsx)(bN,{tag:"div",variant:"heading",Text:e(mT.W.SSO.Global.UPCOMING_BOOKING),HideIfEmpty:!0})}),d.map((l,i)=>{var s,n,a,d,t,o,r,c,v,u,m,x;return(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid mb-[60px] lg:mb-[120px] last:mb-0",children:[(0,va.jsx)("div",{className:"mb-[20px] lg:mb-[30px] col-span-full",children:null!=l.Image&&(null===(n=l.Image)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.src)?(0,va.jsx)("img",{src:null===(d=l.Image)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.src,className:"mx-auto w-full",alt:null===(o=l.Image)||void 0===o?void 0:null===(t=o.value)||void 0===t?void 0:t.alt}):(0,va.jsx)(va.Fragment,{})}),(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid",children:[(0,va.jsx)("div",{className:"font-Amiko text-[18px] leading-[26px] uppercase col-span-full",children:l.HotelId}),(0,va.jsx)(bN,{tag:"div",variant:"subhead",Text:"#".concat(l.BookingReference),HideIfEmpty:!0,className:"col-span-full mb-[20px] lg:mb-[30px]"}),(0,va.jsxs)("div",{className:"font-Amiko text-[18px] leading-[26px] col-span-full grid grid-cols-subgrid gap-y-[20px]",children:[(0,va.jsxs)("div",{className:"col-span-4 grid grid-cols-subgrid",children:[(0,va.jsx)("div",{className:"col-span-2 lg:font-bold uppercase",children:e(mT.W.
1SSO.Global.CHECK_IN_DATE)}),(0,va.jsxs)("div",{className:"col-span-2",children:[null===(r=l.CheckInDate)||void 0===r?void 0:r.split("/")[2],"-",null===(c=l.CheckInDate)||void 0===c?void 0:c.split("/")[1],"-",null===(v=l.CheckInDate)||void 0===v?void 0:v.split("/")[0]]})]}),(0,va.jsxs)("div",{className:"col-span-4 grid grid-cols-subgrid",children:[(0,va.jsx)("div",{className:"col-span-2 lg:font-bold uppercase",children:e(mT.W.SSO.Global.CHECK_OUT_DATE)}),(0,va.jsxs)("div",{className:"col-span-2",children:[null===(u=l.CheckOutDate)||void 0===u?void 0:u.split("/")[2],"-",null===(m=l.CheckOutDate)||void 0===m?void 0:m.split("/")[1],"-",null===(x=l.CheckOutDate)||void 0===x?void 0:x.split("/")[0]]})]}),(0,va.jsxs)("div",{className:"col-span-4 grid grid-cols-subgrid",children:[(0,va.jsx)("div",{className:"col-span-2 lg:font-bold uppercase",children:e(mT.W.SSO.Global.NIGHT)}),(0,va.jsx)("div",{className:"col-span-2",children:l.Nights})]}),(0,va.jsxs)("div",{className:"col-span-4 grid grid-cols-subgrid",children:[(0,va.jsx)("div",{className:"col-span-2 lg:font-bold uppercase",children:"NO.OF GUEST(S)"}),(0,va.jsx)("div",{className:"col-span-2",children:l.NumberOfGuests})]}),(0,va.jsxs)("div",{className:"col-span-4 grid grid-cols-subgrid",children:[(0,va.jsx)("div",{className:"col-span-2 lg:font-bold uppercase",children:e(mT.W.SSO.Global.ROOM_TYPE)}),(0,va.jsx)("div",{className:"col-span-2",children:l.RoomType})]}),(0,va.jsxs)("div",{className:"col-span-4 grid grid-cols-subgrid",children:[(0,va.jsx)("div",{className:"col-span-2 lg:font-bold uppercase",children:e(mT.W.SSO.Global.STATUS)}),(0,va.jsx)("div",{className:"col-span-2",children:l.Status})]})]})]})]},i)})]}),leftPaddingTop:180,rightPaddingTop:180})]})},Lb=(0,vp.C)()(e=>{let{t:l,locale:i}=(0,vT.QT)(),{isLgScreen:s}=EG(),n=C5(null==e?void 0:e.params),a=(0,vd.useMemo)(()=>s?{paddingTop:n.DesktopPaddingTop&&n.DesktopPaddingTopSize?"".concat(n.DesktopPaddingTopSize,"px"):"120px",paddingBottom:n.DesktopPaddingBottom&&n.DesktopPaddingBottomSize?"".concat(n.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:n.MobilePaddingTop?n.MobilePaddingTopSize?"".concat(n.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:n.MobilePaddingBottom&&n.MobilePaddingBottomSize?"".concat(n.MobilePaddingBottomSize,"px"):"0px"},[s,n]);return(0,va.jsx)(vW,{className:"bg-white UhEventList",children:(0,va.jsx)(vH,{className:vP("gap-y-0"),style:a,children:(0,va.jsx)("div",{className:"col-span-full grid grid-cols-subgrid",children:!!e.fields.Items.length&&e.fields.Items.map((e,i)=>{var s,n,a,d,t,o,r,c,v,u,m,x,p,h,f,g,j,N,b,T,S;return(0,va.jsxs)("div",{className:vP("col-span-full mt-[60px] lg:mt-[100px] first:mt-[20px] first:lg:mt-[50px] grid grid-cols-subgrid"),children:[!!(null===(n=e.fields.TeaserImage)||void 0===n?void 0:null===(s=n.value)||void 0===s?void 0:s.src)&&(0,va.jsxs)(va.Fragment,{children:[(0,va.jsx)(uv,{href:null===(t=e.fields)||void 0===t?void 0:null===(d=t.Link)||void 0===d?void 0:null===(a=d.value)||void 0===a?void 0:a.href,target:null===(c=e.fields)||void 0===c?void 0:null===(r=c.Link)||void 0===r?void 0:null===(o=r.value)||void 0===o?void 0:o.target,className:"col-span-full lg:block hidden",children:(0,va.jsx)(m7,{field:null===(v=e.fields)||void 0===v?void 0:v.TeaserImage,className:"w-full h-auto aspect-[12/5] object-cover"})}),(0,va.jsx)(m7,{field:null===(u=e.fields)||void 0===u?void 0:u.TeaserImage,className:"col-span-full w-full h-auto lg:hidden block"})]}),(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid mt-[20px] lg:mt-[30px] ",children:[(0,va.jsxs)("div",{className:"col-span-full lg:col-span-6 grid grid-cols-subgrid",children:[(0,va.jsx)(uf,{variant:"subhead",Text:null===(m=e.fields)||void 0===m?void 0:m.Title,tag:"div",HideIfEmpty:!0,className:"col-span-full"}),(0,va.jsx)("div",{className:"lg:hidden col-span-full grid grid-cols-subgrid gap-y-[10px] mt-[10px]",children:!!(null===(x=e.fields.SpecsList)||void 0===x?void 0:x.length)&&(null===(h=e.fields)||void 0===h?void 0:null===(p=h.SpecsList)||void 0===p?void 0:p.map((e,l)=>{var i,s;return(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid",children:[(0,va.jsx)("div",{className:"col-span-2 flex items-center",children:(0,va.jsx)(uf,{variant:"content-1",Text:null===(i=e.fields)||void 0===i?void 0:i.Title,tag:"div",className:"leading-[12px]",HideIfEmpty:!0})}),(0,va.jsx)("div",{className:"col-span-2",children:(0,va.jsx)(bN,{Text:null===(s=e.fields)||void 0===s?void 0:s.Content,variant:"body",className:"text-[12px] leading-[12px]",HideIfEmpty:!0})})]},l)}))}),(0,va.jsx)(bN,{Text:null===(g=e.fields)||void 0===g?void 0:null===(f=g.ShortParagraph)||void 0===f?void 0:f.value,variant:"body",HideIfEmpty:!0,className:"mt-[20px] lg:mt-[10px] col-span-full"}),(0,va.jsx)("div",{className:"col-span-2 mt-[10px]",children:(0,va.jsx)(fa,{URL:null===(j=e.fields)||void 0===j?void 0:j.Link,Target:null===(T=e.fields)||void 0===T?void 0:null===(b=T.Link)||void 0===b?void 0:null===(N=b.value)||void 0===N?void 0:N.target,TEXT:l(mT.W.PAGECONTENT.DISCOVERMORE),hideIconAngle:!0,ButtonVariant:"cta-type-a",className:"inline-block lg:hidden"})})]}),(0,va.jsx)("div",{className:"col-span-5 col-start-8 lg:grid grid-cols-subgrid place-content-start gap-y-[20px] lg:block hidden",children:!!(null===(S=e.fields.SpecsList)||void 0===S?void 0:S.length)&&e.fields.SpecsList.map((e,l)=>{var i,s;return(0,va.jsxs)("div",{className:"col-span-full grid grid-cols-subgrid",children:[(0,va.jsx)("div",{className:"col-span-2 flex items-center gap-[10px]",children:(0,va.jsx)(uf,{variant:"content-1",Text:null===(i=e.fields)||void 0===i?void 0:i.Title,tag:"div",className:vP("leading-[12px] font-normal"),HideIfEmpty:!0})}),(0,va.jsx)("div",{className:"col-span-3 text-right",children:(0,va.jsx)(bN,{Text:null===(s=e.fields)||void 0===s?void 0:s.Content,variant:"body",className:"text-[12px] leading-[12px]",HideIfEmpty:!0})})]},l)})})]})]},i)})})})})}),LT=e=>{var l,i,s,n,a,d,t;let{t:o,locale:r}=(0,vT.QT)(),{isLgScreen:c}=EG(),v=C5(null==e?void 0:e.params),u={},{sitecoreContext:m}=(0,vr.z)();
1(null===(l=e.fields)||void 0===l?void 0:l.BackgroundColor)&&(u["--bg-color"]="".concat(null===(t=e.fields)||void 0===t?void 0:null===(d=t.BackgroundColor)||void 0===d?void 0:null===(a=d.fields)||void 0===a?void 0:null===(n=a.Value)||void 0===n?void 0:n.value));let x=(0,vd.useMemo)(()=>c?{paddingTop:v.DesktopPaddingTop?v.DesktopPaddingTopSize?"".concat(v.DesktopPaddingTopSize,"px"):"120px":"0px",paddingBottom:v.DesktopPaddingBottom&&v.DesktopPaddingBottomSize?"".concat(v.DesktopPaddingBottomSize,"px"):"0px"}:{paddingTop:v.MobilePaddingTop?v.MobilePaddingTopSize?"".concat(v.MobilePaddingTopSize,"px"):"60px":"0px",paddingBottom:v.MobilePaddingBottom&&v.MobilePaddingBottomSize?"".concat(v.MobilePaddingBottomSize,"px"):"0px"},[c,v]);return(0,va.jsx)(va.Fragment,{children:(0,va.jsx)(vW,{style:u,className:vP("EventListing bg-white",u["--bg-color"]&&"bg-[var(--bg-color)]"),children:(0,va.jsxs)(vH,{style:x,className:vP("gap-y-0"),children:[(0,va.jsx)("div",{className:"col-span-full grid grid-cols-subgrid lg:py-[50px] py-[20px] content-center",children:(0,va.jsx)(uf,{Text:null===(i=e.fields)||void 0===i?void 0:i.Title,tag:"div",variant:"heading",className:"col-span-8"})}),(0,va.jsx)("div",{className:vP("col-span-full grid grid-cols-subgrid lg:gap-y-[100px] gap-y-[50px]"),children:!!e.fields.Items.length&&(null===(s=e.fields)||void 0===s?void 0:s.Items.filter(e=>{var l;return(null==e?void 0:e.id)!=(null==m?void 0:null===(l=m.route)||void 0===l?void 0:l.itemId)}).map(l=>{var i,s,n,a,d,t,c,v;return(0,va.jsxs)("div",{className:vP("lg:col-span-6 col-span-full grid grid-subw-full space-y-[20px]"),children:[!!(null===(n=l.fields)||void 0===n?void 0:null===(s=n.TeaserImage)||void 0===s?void 0:null===(i=s.value)||void 0===i?void 0:i.src)&&(0,va.jsx)("div",{className:vP("w-full h-auto"),children:(0,va.jsx)(m7,{field:l.fields.TeaserImage,className:"object-cover object-center w-full h-full"})}),(0,va.jsxs)("div",{className:"space-y-[10px]",children:[(0,va.jsx)(uf,{Text:null===(a=l.fields)||void 0===a?void 0:a.Title,tag:"div",variant:"subhead",HideIfEmpty:!0}),(0,va.jsx)(bN,{Text:null===(d=l.fields)||void 0===d?void 0:d.ShortParagraph,tag:"div",variant:"body",HideIfEmpty:!0})]}),(0,va.jsx)("div",{className:"flex",children:(0,va.jsx)(fa,{URL:(0,vS.at)(null==l?void 0:l.url,r()),TEXT:o(mT.W.PAGECONTENT.DISCOVERMORE),hideIconAngle:!0,ButtonVariant:"cta-type-a",Target:null===(v=e.fields)||void 0===v?void 0:null===(c=v.Link)||void 0===c?void 0:null===(t=c.value)||void 0===t?void 0:t.target,hideLinkIfEmpty:!0})})]},null==l?void 0:l.id)}))})]})})})},LS=e=>{var l,i,s,n,a,d,t,o,r,c,v,u;let m={};return((null==e?void 0:null===(i=e.fields)||void 0===i?void 0:null===(l=i.Height)||void 0===l?void 0:l.value)||(null==e?void 0:null===(n=e.fields)||void 0===n?void 0:null===(s=n.Height)||void 0===s?void 0:s.value)===0)&&(m["--space-h"]="".concat(null==e?void 0:null===(c=e.fields)||void 0===c?void 0:null===(r=c.Height)||void 0===r?void 0:r.value,"px")),((null==e?void 0:null===(d=e.fields)||void 0===d?void 0:null===(a=d.MobileHeight)||void 0===a?void 0:a.value)||(null==e?void 0:null===(o=e.fields)||void 0===o?void 0:null===(t=o.MobileHeight)||void 0===t?void 0:t.value)===0)&&(m["--space-h-m"]="".concat(null==e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.MobileHeight)||void 0===v?void 0:v.value,"px")),(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{style:m,className:vP("w-full h-[300px] lg:h-[550px] bg-transparent relative",m["--space-h"]&&"lg:h-[var(--space-h)]",m["--space-h-m"]&&"h-[var(--space-h-m)]")})})},Lk=e=>{let l="twocolumn-left-content-".concat(e.params.DynamicPlaceholderId),i="twocolumn-right-content-".concat(e.params.DynamicPlaceholderId),{isLgScreen:s}=EG(),n=C5(null==e?void 0:e.params),a=(0,vd.useMemo)(()=>s?{paddingTop:n.DesktopPaddingTop?n.DesktopPaddingTopSize?"".concat(n.DesktopPaddingTopSize,"px"):"100px":"0px",paddingBottom:n.DesktopPaddingBottom?n.DesktopPaddingBottomSize?"".concat(n.DesktopPaddingBottomSize,"px"):"100px":"0px"}:{paddingTop:n.MobilePaddingTop?n.MobilePaddingTopSize?"".concat(n.MobilePaddingTopSize,"px"):"50px":"0px",paddingBottom:n.MobilePaddingBottom?n.MobilePaddingBottomSize?"".concat(n.MobilePaddingBottomSize,"px"):"50px":"0px"},[s,n]);return(0,va.jsx)(vW,{className:"bg-white",children:(0,va.jsxs)(vH,{style:a,children:[(0,va.jsx)("div",{className:"col-span-full lg:col-span-6 [&_section]:mb-[60px] [&_section:last-chird]:mb-0",children:(0,va.jsx)(vt.V,{name:l,rendering:e.rendering})}),(0,va.jsx)("div",{className:"col-span-full lg:col-span-6",children:(0,va.jsx)(vt.V,{name:i,rendering:e.rendering})})]})})},Lw=i(53007);i(4298);let Ly=(0,vd.createContext)({isScriptLoaded:!1}),LE=()=>(0,vd.useContext)(Ly),LC=(0,vd.forwardRef)((e,l)=>{let{sceneId:i="v0q0fre5o",mode:s="popup",success:n,...a}=e,{isScriptLoaded:d}=LE(),{locale:t}=(0,vT.QT)(),o=a.captchaId,r="captcha-container-".concat(o),c="captcha-btn-".concat(o),v=(0,vd.useRef)(!1),u=(0,vd.useRef)(null),m=(0,vd.useRef)(null),x=(0,vd.useRef)();return(0,vd.useImperativeHandle)(l,()=>({show:()=>{var e;if(!d){console.warn("Captcha script not loaded yet");return}null===(e=u.current)||void 0===e||e.show()},click:()=>{var e;if(console.log("click method called on AlibabaCaptcha captchaId: ".concat(o)),!d){console.warn("Captcha script not loaded yet");return}null===(e=m.current)||void 0===e||e.click()},reset:()=>{var e;if(!d){console.warn("Captcha script not loaded yet");return}null===(e=x.current)||void 0===e||e.call(x)}})),(0,vd.useEffect)(()=>{let e=()=>{if(console.log("initCaptcha called with isScriptLoaded: ".concat(d," and initialized: ").concat(v.current)),d){let l=window;l.initAliyunCaptcha&&(console.log("Initializing AlibabaCaptcha with sceneId:",i),l.initAliyunCaptcha({SceneId:i,mode:s,success:async l=>{console.log("Captcha success with param:",l),await n(l),v.current=!1,e()},fail:e=>{console.error("Captcha failed with error:",e)},element:"#".concat(r),button:"#".concat(c),getInstance:e=>{u.current=e}
1,language:vS.QJ[t()],captchaLogoImg:mG.src,slideStyle:{width:345,height:40}}),v.current=!0)}};return e(),()=>{var e,l;null===(e=document.getElementById("aliyunCaptcha-mask"))||void 0===e||e.remove(),null===(l=document.getElementById("aliyunCaptcha-window-popup"))||void 0===l||l.remove()}},[c,r,d,t,s,a,i,n]),(0,va.jsxs)("div",{className:"aliyun-captcha-wrapper",children:[(0,va.jsx)("div",{id:r}),(0,va.jsx)("div",{id:c,className:"invisible",style:{display:"none"},ref:m,children:"\xa0"})]})});LC.displayName="AlibabaCaptcha";var LO=LC;let LL=(0,vd.forwardRef)((e,l)=>{let i;let s="captcha-element-".concat(e.name),n="captcha-button-".concat(e.name),{locale:a}=(0,vT.QT)(),[d,t]=(0,vd.useState)(!1),o=e=>{i=e},r=async l=>{console.log(l),await e.success(l)||v()},c=l=>{console.error(l),(null==e?void 0:e.fail)&&e.fail(l)},v=()=>{var l;window.initAliyunCaptcha({SceneId:"v0q0fre5o",mode:null!==(l=e.mode)&&void 0!==l?l:"embed",element:"#".concat(s),button:"#".concat(n),success:r,fail:c,getInstance:o,language:vS.QJ[a()],captchaLogoImg:mG.src,slideStyle:{width:345,height:40}})};(0,vd.useImperativeHandle)(l,()=>({init:()=>{console.log("Captcha (name=".concat(null==e?void 0:e.name,") init")),v()},show:()=>{console.log("Captcha (name=".concat(null==e?void 0:e.name,") show")),i&&i.show()},hide:()=>{console.log("Captcha (name=".concat(null==e?void 0:e.name,") hide")),i&&i.hide()}})),(0,vd.useEffect)(()=>{if(d)v();else{let e=document.createElement("script");e.id="aliyun-captcha",e.src="https://o.alicdn.com/captcha-frontend/aliyunCaptcha/AliyunCaptcha.js",document.body.appendChild(e),e.onload=()=>{t(!0)}}},[d]);let u={"--aliyun-captcha-z-index-base":25};return(null==e?void 0:e.zIndex)&&(u["--aliyun-captcha-z-index-base"]=e.zIndex),(0,va.jsx)(va.Fragment,{children:(0,va.jsx)("div",{style:u,children:(0,va.jsxs)("div",{id:"aliyun-captcha-div-".concat(e.name),children:[(0,va.jsx)("div",{id:s}),(0,va.jsx)("div",{id:n,className:"invisible",style:{display:"none"},children:"\xa0"})]})})})});LL.displayName="AliyunCaptchaV3";var LI=LL;let LF=e=>{let{children:l}=e,{sitecoreContext:i}=(0,vr.z)();return i.pageEditing&&(0,va.jsx)("div",{className:"relative",children:l})};var L_=i(45006),LM=i(92018),LR=i(97024);let LP=e=>{let{sitecoreContext:l}=(0,vr.z)(),i=l.pageEditing,s=m4(e.image);return i?(0,va.jsx)(vg.E,{field:s,className:vP("absolute top-[15px] left-[15px] w-[100px] shadow-[0_0_10px_rgba(0,0,0,0.4)]",e.className)}):(0,va.jsx)(va.Fragment,{})};var LA=i(88080);let LD=new Map;LD.set("BYOCWrapper",vi),LD.set("FEaaSWrapper",vs),LD.set("CdpPageView",vn),LD.set("ColumnSplitter",t),LD.set("Container",o),LD.set("ContentBlock",r),LD.set("FEAASScripts",vf),LD.set("Image",u),LD.set("LinkList",m),LD.set("MembershipTwoColumn",h),LD.set("Navigation",f),LD.set("PageContent",g),LD.set("PartialDesignDynamicPlaceholder",j),LD.set("Promo",N),LD.set("RichText",b),LD.set("RowSplitter",T),LD.set("Title",S),LD.set("FadeIn",k),LD.set("FadeInX",w),LD.set("FadeInY",y),LD.set("ShArticleDetail",E),LD.set("ShArticleDetailWithTags",C),LD.set("ShArticleLatestListingMedia",O),LD.set("ShArticleListing",L),LD.set("ShArticleListingLoadOnDemandPartialView",I),LD.set("ShArticleListingMedia",F),LD.set("ShArticleListingMediaLoadOnDemandPartialView",_),LD.set("ShArticleListingMediaPartialView",M),LD.set("ShArticleListingPartialView",R),LD.set("ShArticleListingWithTags",P),LD.set("ShArticleListingWithTagsLoadOnDemandPartialView",A),LD.set("ShArticleListingWithTagsPartialView",D),LD.set("ShTeaserArticlesGroup",B),LD.set("BaseLink",V),LD.set("DatePicker",W),LD.set("ScLink",v),LD.set("ThcContactInfoList",G),LD.set("ThmContact",U),LD.set("ThmContact2",z),LD.set("TmhContactCards",q),LD.set("TmhContactGroup",Q),LD.set("TmhContactWithAddressAndPhone",Y),LD.set("TmhContactWithPhoneAndAddress",K),LD.set("TmhContactWithPhoneAndEmail",Z),LD.set("TmhContactWithTime",J),LD.set("TmhInformationContact",X),LD.set("TmhMethodContact",ee),LD.set("TmhTableContact",el),LD.set("EHKContactUsFooter",ei),LD.set("EHKFormFooter",es),LD.set("EHKLatestHappenings",en),LD.set("EHKSocialStreamWithTripAdvisorData",ea),LD.set("EMLongTermStayOptions",ed),LD.set("EhAboutDesignItems",et),LD.set("EhAllHappeningsCarousel",eo),LD.set("EhAllOfferCarousel",er),LD.set("EhBEastGym",ec),LD.set("EhBEastGymVirtualTour",ev),LD.set("EhBEastPool",eu),LD.set("EhBEastPoolWithVirtualTour",em),LD.set("EhBaseItemBlock",ex),LD.set("EhBaseItemCTABlock",ep),LD.set("EhContactUs",eh),LD.set("EhEastResidenceFloorPlan",ef),LD.set("EhEastResidenceGreyBox",eg),LD.set("EhEastResidenceImageGroup",ej),LD.set("EhFeaturedOffer",eN),LD.set("EhHappeningInquireCard",eb),LD.set("EhHappeningPictureBox",eT),LD.set("EhHappeningTeasers",eS),LD.set("EhHeroSlideshow",ek),LD.set("EhHomeBodyByEast",ew),LD.set("EhHomeEastsAndDrink",ey),LD.set("EhInnerSlideshow",eE),LD.set("EhLatestHappenings",eC),LD.set("EhMap",eO),LD.set("EhMeetingsandEventFloorPlan",eL),LD.set("EhMeetingsandEventFoodandDrinkOptions",eI),LD.set("EhMeetingsandEventOtherSpaces",eF),LD.set("EhMeetingsandEventPictureBox",e_),L
1D.set("EhOfferFilter",eM),LD.set("EhOfferInquireCard",eR),LD.set("EhOfferPictureBox",eP),LD.set("EhOfferTeasers",eA),LD.set("EhOfferTerms",eD),LD.set("EhOffercarousel",eB),LD.set("EhPartnerGroup",eV),LD.set("EhPartnerships",eW),LD.set("EhResidenceFloorPlan",eH),LD.set("EhResidenceGreyBox",eG),LD.set("EhResidenceImageGroup",eU),LD.set("EhRestaurantImageGroup",ez),LD.set("EhRestaurantMoreChoices",eq),LD.set("EhRestaurantPictureBox",eQ),LD.set("EhRoomFloorPlan",eY),LD.set("EhRoomFloorPlanInContainer",eK),LD.set("EhRoomGreyBox",e$),LD.set("EhRoomImageGroup",eZ),LD.set("EhRoomsLargeButton",eJ),LD.set("EhServicesFacilities",eX),LD.set("EhTopSlideshow2",e0),LD.set("TmhEnquiryContent",e1),LD.set("TmhEnquiryFilter",e2),LD.set("ComponentError",c),LD.set("DatasourceError",e5),LD.set("CommonEventEnquiryForm",e3),LD.set("CommonGeneralEnquiryForm",e4),LD.set("CommonMediaRegistration",e6),LD.set("EHKBookATransferForm",e8),LD.set("EHKDevelopmentEnquiryForm",e7),LD.set("EHKEventEnquiryForm",e9),LD.set("EHKGeneralEnquiryForm",le),LD.set("EHKGuestPreferenceForm",ll),LD.set("EHKHotelPickUpForm",li),LD.set("EHKMediaEnquiryForm",ls),LD.set("EHKNewsLetterForm",ln),LD.set("EHKResidenceEnquiryForm",la),LD.set("EhNewsLetterForm",ld),LD.set("ShNewsletterForm",lt),LD.set("SignOidc",lo),LD.set("ThcBookATransferForm",lr),LD.set("ThcDevelopmentEnquiryForm",lv),LD.set("ThcGuestPreferenceForm",lu),LD.set("ThcNewsletterForm",lm),LD.set("ThcPPAForm",lx),LD.set("TmhMediaLoginForm",lp),LD.set("TmhMediaRegisterForm",lh),LD.set("TmhSubscriptionForm",lf),LD.set("TohAliyunCaptcha",lc),LD.set("TohEventEnquiryForm",lg),LD.set("TohGeneralEnquiryForm",lj),LD.set("TohMediaEnquiryForm",lN),LD.set("TohNewsLetterForm",lb),LD.set("EHKCopyright",lT),LD.set("EHKFooterLogo",lk),LD.set("EHKLogo",lw),LD.set("EhCopyright",ly),LD.set("EhFooterLogo",lE),LD.set("EhLogo",lC),LD.set("EhOrganisationAddress",lO),LD.set("EhOrganisationEmail",lL),LD.set("EhOrganisationName",lI),LD.set("EhOrganisationPhone",lF),LD.set("ShCopyright",l_),LD.set("ShLogo",lM),LD.set("ShOrganisationAddress",lR),LD.set("ShOrganisationEmail",lP),LD.set("ShOrganisationName",lA),LD.set("ShOrganisationPhone",lD),LD.set("ThcCopyright",lB),LD.set("ThcFooterLogo",lV),LD.set("ThcFooterLogoMobile",lW),LD.set("ThcLogo",lH),LD.set("ThcLogoMobile",lG),LD.set("ThcPropertyLogo",lU),LD.set("TmhCopyright",lz),LD.set("TmhFooterLogo",lq),LD.set("TmhFooterLogoMobile",lQ),LD.set("TmhLogo",lY),LD.set("TmhOrganisationPhone",lK),LD.set("TmhOrganizationAddress",l$),LD.set("TohCopyright",lZ),LD.set("TohFooterLogo",lJ),LD.set("TohFooterLogoMobile",lX),LD.set("TohLogo",l0),LD.set("TohLogoMobile",l1),LD.set("TohOrganisationAddress",l2),LD.set("TohOrganisationAddressPlainText",l5),LD.set("TohOrganisationEmail",l3),LD.set("TohOrganisationFax",l4),LD.set("TohOrganisationName",l6),LD.set("TohOrganisationPhone",l8),LD.set("TohOrganisationPhonePlainText",l7),LD.set("TohPropertyLogo",l9),LD.set("EHKLanguageSelector",ie),LD.set("EHKLanguageSelectorMobile",il),LD.set("EhLanguageSelector",ii),LD.set("EhLanguageSelectorList",is),LD.set("ShLanguageSelector",ia),LD.set("ShLanguageSelectorHeader",id),LD.set("ThcLanguageSelector",it),LD.set("ThcLanguageSelectorMobile",io),LD.set("TmhLanguageSelector",ir),LD.set("TmhLanguageSelectorMobile",ic),LD.set("ListLocationContentWithFilter",iv),LD.set("GoogleMap",iu),LD.set("GoogleMapNoLink",im),LD.set("GoogleMapWithGoadeSwitchNoLink",ix),LD.set("MapLocations",ip),LD.set("MapSettingWithGaode",ih),LD.set("TohMap",ig),LD.set("ConfigurableImage",ij),LD.set("EHKCarousel",iN),LD.set("EHKHotelPickUpCarousel",ib),LD.set("EHMainPageCarousel",iT),LD.set("EhAttractions",iS),LD.set("EhBlackBoxSlideshow",ik),LD.set("EhBoxSlide",iw),LD.set("EhCarousel",iy),LD.set("EhFeatures",iE),LD.set("EhFullWidthBanner",iC),LD.set("EhGallery",iO),LD.set("EhInnerPageHero",iL),LD.set("EhPromotion",iI),LD.set("EhSimpleImageMobile",iF),LD.set("EhTopSlideshow",i_),LD.set("EhTwoColumnSlideshow",iM),LD.set("ShCarousel",iR),LD.set("ShFigureImage",iP),LD.set("ShFullWidthBanner",iA),LD.set("ShFullWidthVideo",iD),LD.set("ShGalleryWithMobileSlider",iB),LD.set("ShGalleryWithText",iV),LD.set("ShHeroBanner",iW),LD.set("ShHeroBannerMain",iH),LD.set("ShMainPageCarousel",iG),LD.set("SimpleBackgroun
1dImage",iU),LD.set("SimpleImage",iz),LD.set("ThcHeroBanner",iY),LD.set("ThcHeroIntro",iK),LD.set("ThcImageOnlyHero",i$),LD.set("ThcMainMenuCoverImage",iZ),LD.set("ThcMediaBackDrop",iJ),LD.set("ThcMediaVideoLink",iX),LD.set("ThcMediaVideoWithCaptionAndTag",i0),LD.set("ThcMenuBackground",i1),LD.set("ThcMobileLoadMore",i2),LD.set("ThcTwoImages",i5),LD.set("TmhCarousel",i3),LD.set("TmhCarousel2",i4),LD.set("TmhCarouselWithLeftContentAndLink",i6),LD.set("TmhCarouselWithLeftContentAndLink2",i8),LD.set("TmhCarouselWithRightContentAndLink",i7),LD.set("TmhCarouselWithRightContentAndLink2",i9),LD.set("TmhFloorPlanMap",se),LD.set("TmhFooterPartners",sl),LD.set("TmhFooterPartnersMobile",si),LD.set("TmhFooterRelation",ss),LD.set("TmhFullwidthCarousel",sn),LD.set("TmhGalleryCarousel",sa),LD.set("TmhGalleryCarouselSelector",sd),LD.set("TmhInnerVideoCarousel",st),LD.set("TmhMediaDescription",so),LD.set("TmhMediaFilter",sr),LD.set("TmhVideoCarousel",sc),LD.set("TohMainMenuCoverImage",sv),LD.set("TohMainPageHero",su),LD.set("TohMediaCarouselWithTitle",sm),LD.set("TohMediaCarouselWithTitleImage",sx),LD.set("CommonCanonicalMetadata",sp),LD.set("CommonHRefLangMetadata",sh),LD.set("CommonMetadata",sf),LD.set("CommonSiteAnalyticsCode",sg),LD.set("CommonSiteAnalyticsCodeNoScript",sj),LD.set("EhMetadata",sN),LD.set("ShCanonicalMetadata",sb),LD.set("ShMetadata",sT),LD.set("TmhMetadata",sS),LD.set("TmhSiteAnalyticsCode",sk),LD.set("TmhSiteAnalyticsCodeNoScript",sw),LD.set("CommonReservationButton",sy),LD.set("EHKFormSelection",sE),LD.set("EHKHotelFooter",sC),LD.set("EHKHotelPrimary",sO),LD.set("EHKLinkWithButtonStyle",sL),LD.set("EHKLinkWithMedia",sI),LD.set("EHKPrimaryFooter",sF),LD.set("EHKPrimaryFooterNavigation",s_),LD.set("EHKPrimaryMenu",sM),LD.set("EHKPrimaryMenuMobile",sR),LD.set("EHKReservationButton",sP),LD.set("EHKReservationButtonMainPage",sA),LD.set("EHKReservationButtonMobile",sD),LD.set("EhFooterNav",sB),LD.set("EhHeader",sV),LD.set("EhLinkWithButtonStyle",sW),LD.set("EhLoopingNav",sH),LD.set("EhPrimaryFooterMenu",sG),LD.set("EhPrimaryMenu",sU),LD.set("EhPrimaryMenuList",sz),LD.set("EhSecondaryNav",sq),LD.set("RedirectLink",sQ),LD.set("ShBackButtonForCarousel",sY),LD.set("ShBreadCrumb",sK),LD.set("ShBrochureList",s$),LD.set("ShLinkWithButtonStyle",sZ),LD.set("ShMediaMenu",sJ),LD.set("ShNavigationSitemapLinks",sX),LD.set("ShPrimaryFooterMenu",s0),LD.set("ShPrimaryMenu",s1),LD.set("ShTitleForCarousel",s2),LD.set("ThcBookingReservation",s5),LD.set("ThcBreadCrumb",s3),LD.set("ThcFooterMenu",s4),LD.set("ThcFooterPartners",s6),LD.set("ThcLinkWithButtonStyle",s8),LD.set("ThcLinkWithButtonStyleFullWidth",s7),LD.set("ThcLinkWithImageButtonStyle",s9),LD.set("ThcMainMenu",ne),LD.set("ThcPropertyMenu",nl),LD.set("ThcPropertyMenuMobile",ni),LD.set("ThcPropertyMenuSubnav",ns),LD.set("ThcSectionNavigation",nn),LD.set("TmhBreadcrumb",na),LD.set("TmhDarkBoxLink",nd),LD.set("TmhGlobalMenu",nt),LD.set("TmhGoBack",no),LD.set("TmhLatestOffer",nr),LD.set("TmhNextAndPreviousPage",nc),LD.set("TmhPageTitleWithNavigation",nv),LD.set("TmhPrimaryFooterMenu",nu),LD.set("TmhPrimaryMenu",nm),LD.set("TmhPrimarySubMenu",nx),LD.set("TmhReservationButton",np),LD.set("TmhReservationWidget",nh),LD.set("TmhSeePropertyDetailsLink",nf),LD.set("TmhSiteMapFooterMenu",ng),LD.set("TmhSitemapDropdownButton",nj),LD.set("TmhSpecialMessageWidget",nN),LD.set("TmhTitleBackLink",nb),LD.set("TmhViewAllOptionsLink",nT),LD.set("TohBookingReservationMainPage",nS),LD.set("TohFooterMenu",nk),LD.set("TohFooterSitemap",nw),LD.set("TohFormSelection",ny),LD.set("TohHeaderBottomMenu",nE),LD.set("TohLinkWithButtonStyle",nC),LD.set("TohMainMenu",nO),LD.set("TohPropertyMenu",nL),LD.set("TohPropertyMenuMobile",nI),LD.set("TohPropertyMenuSubnav",nF),LD.set("CommonJobApplicationForm",n_),LD.set("CommonJobApplicationInfo",nM),LD.set("CommonJobApplicationThankYou",nR),LD.set("CommonJobApplyButton",nP),LD.set("CommonJobDescription",nA),LD.set("CommonJobInfo",nD),LD.set("CommonJobListing",nB),LD.set("CommonJobListingHotPosition",nV),LD.set("CommonJobRequiredSkills",nW),LD.set("CommonJobTitle",nH),LD.set("CommonNotificationBar",nG),LD.set("ConfigurableBackgroun
1dGraphik",nU),LD.set("ContentTitle",nz),LD.set("EHKBookATransferIntroduction",nq),LD.set("EHKGDPR",nQ),LD.set("EHKHotelOnlineFormBannerImage",nY),LD.set("EHKPopup",nK),LD.set("EhContentSlideContainer",n$),LD.set("EhGDPR",nZ),LD.set("EhMarqueeWithText",nJ),LD.set("EhPageContent",nX),LD.set("EhPageIntro",n0),LD.set("EhSectionTitleContainer",n1),LD.set("EhSimpleContentContainer",n2),LD.set("EhSimpleSlideContainer",n5),LD.set("ExpandableColumnLeft",n3),LD.set("ShBlockQuote",n4),LD.set("ShBorderedContainer",n6),LD.set("ShContentBlockListWithImageAndButton",n8),LD.set("ShContentBlockListWithImageAndButtonSlider",n7),LD.set("ShContentBlockListWithImageButtonAndConfigurableBackgroundGraphik",n9),LD.set("ShContentBlockWithImageCaption",ae),LD.set("ShContentWithImage",al),LD.set("ShContentWithImageAndSubtitleList",ai),LD.set("ShContentWithImageList",as),LD.set("ShGDPR",an),LD.set("ShIntroTextBlockWithConfigurableBackgroundGraphik",aa),LD.set("ShMainPageDetail",ad),LD.set("ShPlainContainer",at),LD.set("ShPopup",ao),LD.set("ShTextBlock",ar),LD.set("ShTextBlockWithConfigurableBackgroundGraphik",ac),LD.set("ShThreeColumnImageGrid",av),LD.set("ShTwoColumnGrid",au),LD.set("ShTwoColumnImageGrid",am),LD.set("ShTwoColumnTextGrid",ax),LD.set("TextBlock",ah),LD.set("TextBlockWithConfigurableBackgroundGraphik",af),LD.set("ThcAccordionWithMediaTextContent",ag),LD.set("ThcAccordionWithMediaTextContentMobile",aj),LD.set("ThcAccordionWithTextContent",ab),LD.set("ThcArtDetailSameKind",aT),LD.set("ThcArticleDataByHouses",aS),LD.set("ThcArticleDataByHousesMobile",aw),LD.set("ThcArticleDataByYearsHouses",ay),LD.set("ThcArticleDataByYearsHousesPartial",aE),LD.set("ThcArticleDataByYearsMobile",aO),LD.set("ThcArticleIndex",aM),LD.set("ThcArticleIndexType2",aR),LD.set("ThcArticleIndexWithOverlay",aD),LD.set("ThcArticleIndexWithOverlayDropdownMobilePartialView",aA),LD.set("ThcArticleIndexWithOverlayDropdownPartialView",aP),LD.set("ThcArticleIndexWithOverlayMobilePartialView",aB),LD.set("ThcArticleIndexWithOverlayPartialView",aV),LD.set("ThcArticlePage",aW),LD.set("ThcAwards",aq),LD.set("ThcAwardsNew",aQ),LD.set("ThcBlockQuote",aY),LD.set("ThcBlockQuoteWithPosition",aK),LD.set("ThcBookATransferIntroduction",a$),LD.set("ThcCentreAlignTitle",aZ),LD.set("ThcCommonPartners",aJ),LD.set("ThcContentBlockArt",aX),LD.set("ThcContentBlockExperiences",a0),LD.set("ThcContentBlockExperiencesAndDetails",a1),LD.set("ThcContentBlockHappenings",a2),LD.set("ThcContentBlockHouses",a5),LD.set("ThcContentBlockOffers",a3),LD.set("ThcContentBlockPeople",a4),LD.set("ThcDataAwards",aU),LD.set("ThcDataFilterHouseYears",a6),LD.set("ThcDataFilterHouseYearsMobile",a8),LD.set("ThcEnewsletterArticleDataByYearsMobile",a9),LD.set("ThcEnewsletterArticleIndex",de),LD.set("ThcFilterYearsAwards",aH),LD.set("ThcFilterYearsAwardsMobile",az),LD.set("ThcFooterMenuJavaScriptRichText",dl),LD.set("ThcGDPR",di),LD.set("ThcHeroFullBackgroun
1d",dn),LD.set("ThcHeroFullBody",da),LD.set("ThcHeroFullIntro",dd),LD.set("ThcImageSlidesWithCaption",dt),LD.set("ThcLeftAlignTitle",dr),LD.set("ThcMarginlessImageAndTextList",dc),LD.set("ThcNoGroupingArticleIndex",dv),LD.set("ThcOfferDetailFilter",du),LD.set("ThcOfferDetailSameKind",dm),LD.set("ThcOptionHouseContent",aI),LD.set("ThcOptionHouseContentMobile",ak),LD.set("ThcOptionYearContent",aL),LD.set("ThcOptionYearContentMobile",aC),LD.set("ThcOptionYearEnewsletterContentMobile",a7),LD.set("ThcPopup",dx),LD.set("ThcRelatedHouseOptionFilter",dp),LD.set("ThcRelatedHouseOptionFilterMobile",dh),LD.set("ThcRichText",df),LD.set("ThcThreeColumnSlider",dg),LD.set("ThcUpcloseDetailSameKind",dj),LD.set("TmhContent",dN),LD.set("TmhContentBlockCustom",db),LD.set("TmhDocument",dT),LD.set("TmhDocument2",dS),LD.set("TmhDocument3",dk),LD.set("TmhDocument4",dw),LD.set("TmhDownloadDocument",dy),LD.set("TmhListChildPageContent",dE),LD.set("TmhListChildPageContentWithFilter",dC),LD.set("TmhListChildPageContentWithLimitItems",dO),LD.set("TmhListContentWithImage",dL),LD.set("TmhOfferPrice",dI),LD.set("TmhOtherHouseOption",dF),LD.set("TmhOtherRestaurantOption",d_),LD.set("TmhPageContentBody",dM),LD.set("TmhPageContentSummary",dR),LD.set("TmhPageContentTitle",dP),LD.set("TmhPageTeaser",dA),LD.set("TmhTextBlockWithTransparentBlackBackground",dD),LD.set("TmhTextBlockWithWhiteBackground",dB),LD.set("TmhThreeColumnsContent",dV),LD.set("TmhThreeColumnsRelatedContent",dW),LD.set("TmhThreeColumnsRelatedContent2",dH),LD.set("TohContentBlockArt",dG),LD.set("TohContentBlockDineAndDrink",dU),LD.set("TohContentBlockEvent",dz),LD.set("TohContentBlockHouse",dq),LD.set("TohContentBlockLocation",dQ),LD.set("TohContentBlockOffer",dY),LD.set("TohContentBlockStay",dK),LD.set("TohContentBlockWellness",d$),LD.set("TohDineAndDrinkDetailText",dZ),LD.set("TohOfferText",dX),LD.set("TthContentBlockCustom",d0),LD.set("TuhContentBlockCustom",d1),LD.set("ThcEnewsletterArticleDataByYearsMobilePartial",a_),LD.set("ThcOptionYearEnewsletterContentMobilePartial",aF),LD.set("EhRoomsRepository",d2),LD.set("ShArticleListingWithTagFilter",d5),LD.set("ShMediaFilter",d3),LD.set("ThcVenue",d4),LD.set("TmhBookingButton",d6),LD.set("TmhLocationFilter",d8),LD.set("TmhOtherPropertyOption",d7),LD.set("TmhOtherRoomOption",d9),LD.set("TmhResidenceApartment",te),LD.set("TmhResidenceSelectionLeftImage",tl),LD.set("TmhResidenceSelectionRightImage",ti),LD.set("TmhRoom",ts),LD.set("TmhRoomFilter",tn),LD.set("TmhRoomSelection",ta),LD.set("ThcMobileMenu",td),LD.set("ScImage",lS),LD.set("CommonBreadcrumbMarkup",tt),LD.set("EhHappeningsArticleMarkup",to),LD.set("SeoBreadcrumbMarkup",tr),LD.set("ShArticleDetailArticleMarkup",tc),LD.set("ShArticleDetailWithTagsArticleMarkup",tv),LD.set("ShJobDetailJobPostingMarkup",tu),LD.set("ThcArticleMarkup",tm),LD.set("ThcEventMarkup",tx),LD.set("ThcHappeningsEventMarkup",tp),LD.set("CommonSocialImage",th),LD.set("EHKFollowUs",tf),LD.set("EHKSocialStream",tg),LD.set("EHKSocialStream2",tj),LD.set("EHKSocialStream3",tN),LD.set("EHKSocialStream4",tb),LD.set("EhFollowUs",tT),LD.set("EhSocialStream",tS),LD.set("ShFollowUs",tk),LD.set("ShFollowUsMainPage",tw),LD.set("ShOpenGraph",ty),LD.set("ShShare",tE),LD.set("ThcOpenGraph",tC),LD.set("ThcShare",tO),LD.set("ThcSocialStream",tL),LD.set("TmhKeepInTouch",tI),LD.set("TmhOpenGraph",tF),LD.set("TmhSocialStream",t_),LD.set("TohFollow",tM),LD.set("EhTeaserIntro",tR),LD.set("EhTeasers",tP),LD.set("EhTeasersFilter",tA),LD.set("EhTeasersTwoColumn",tD),LD.set("EhTwoColumnTeasers",tB),LD.set("ThcArtistIntro",tV),LD.set("ThcArtistIntroList",tW),LD.set("ThcArtistIntroWithQuote",tH),LD.set("ThcENewsletterBanner",tG),LD.set("ThcLuxeGuideList",tU),LD.set("ThcRoomLandingContent",tQ),LD.set("ThcRoomLandingContentDetail",tz),LD.set("ThcRoomLandingTitle",tq),LD.set("ThcStayFloorplan",tY),LD.set("ThcTeaserBoxWithHeadlineImageList",t$),LD.set("ThcTeaserBoxWithHoveredHeadlineImageList",tZ),LD.set("ThcTeaserOffer",tJ),LD.set("TmhAlsoAvailable",tX),LD.set("TmhAuthentication",t0),LD.set("TmhAwardsMore",t1),LD.set("TmhBoxExpandableImageTextTeaser",t2),LD.set("TmhBoxExpandableTextImageTeaser",t5),LD.set("TmhBoxExpandableTwoColumnsTeaser",t3),LD.set("TmhBoxLocationTeaser",t4),LD.set("TmhCard",t6),LD.set("TmhCard2",t8),LD.set("TmhCard3",t7),LD.set("TmhCardBox",t9),LD.set("TmhCrossPromotion",oe),LD.set("TmhDownloadHighResolution",ol),LD.set("TmhDynamicVenueTeasers",oi),LD.set("TmhOurPartners",os),LD.set("TmhTeaserAwardList",on),LD.set("TmhTeaserBodyPageContent",oa),LD.set("TmhTeaserCategoriesAndText",od),LD.set("TmhTeaserContentWithImage",ot),LD.set("TmhTeaserDarkGreyBox",oo),LD.set("TmhTeaserHeaderCategories",or),LD.set("TmhTeaserLeftTextWithLink",oc),LD.set("TmhTeaserToggleWithGallery",ov),LD.set("TmhTeaserViewAllPage",ou),LD.set("TmhTeaserWithEmail",om),LD.set("TmhTeaserWithEmail2",ox),LD.set("TmhTeaserWithLocation",op),LD.set("TmhTeaserWithSubscriptionButton",oh),LD.set("TmhTeaserWithSubscriptionButton2",of),LD.set("TmhTeaserWithTextAndButton",og),LD.set("TmhTeaserWithTextAndImage",oj),LD.set("TmhViewGallery",oN),LD.set("TohTeaserTitle",ob),LD.set("TohTeaserTitleImage",oT),LD.set("ThcScripts",ym),LD.set("ThcScriptsBottom",yx),LD.set("ThcStyles",yp),LD.set("TmhScripts",yh),LD.set("TmhScriptsBottom",yf),LD.set("TmhStyles",yg),LD.set("TthScripts",yj),LD.set("TthScriptsBottom",yN),LD.set("TthStyles",yb),LD.set("TuhScripts",yT),LD.set("TuhScriptsBottom",yS),LD.set("TuhStyles",yk),LD.set("_MainLayout",oS),LD.set("ThcIconMetadata",yy),LD.set("TmhIconMetadata",yE),LD.set("TthIconMetadata",yC),LD.set("TuhIconMetadata",yO),LD.set("CarouselCard",ok),LD.set("CarouselImg",ow),LD.set("CodeInput",oy),LD.set("ForgetPasswordPage",oE),LD.set("HotelDetailPage",oO),LD.set("InterestPage",oL),LD.set("LoginPage",oI),LD.set("LoginPageforRedirect",oF),LD.set("MemberOffers",o_),LD.set("MemberOffersDetail",oM),LD.set("MemberOffersPage",oR),LD.set("MemberPage",oV),LD.set("MiniModal",oP),LD.set("MyProfile",oA),LD.set("MyProfilePage",oW),LD.set("NavigationSideBar",oC),LD.set("PersonalInfoPage",oH),LD.set("RegistrationPage",oz),LD.set("ResetPasswordPage",oq),LD.set("SabreForm",oQ),LD.set("SabreLogin",oY),LD.set("Sidebar",oD),LD.set("UpcomingBooking",oB),LD.set("UpcomingStaysPage",oK),LD.set("UserProfile",o$),LD.set("UserProfileMobile",oZ),LD.set("VerifyPage",oG),LD.set("WelcomePage",oU),LD.set("types",oJ),LD.set("ArtLanding",oX),LD.set("ThcArtDetails",o0),LD.set("ThcArtLanding",o1),LD.set("ThcArticleDetail",o2),LD.set("ThcBrandOffer",o5),LD.set("ThcBrandOfferDetail",o3),LD.set("ThcCampaign",o4),LD.set("ThcENewsletterDetail",o6),LD.set("ThcENewsletterLanding",o8),LD.set("ThcErrorPage",o7),LD.set("ThcExperiences",o9),LD.set("ThcExperiencesDetail",re),LD.set("ThcFeatured_Content_Slider",rl),LD.set("ThcFooter",ri),LD.set("ThcGeneralPage",rs),LD.set("ThcHappenings",rn),LD.set("ThcHappeningsDetail",ra),LD.set("ThcHeader",rd),LD.set("ThcHomePage",rt),LD.set("ThcKeepInTouch",ro),LD.set("ThcPeopleAndCulture",rr),LD.set("ThcUpclose",rc),LD.set("ThcUpcloseDetail",rv),LD.set("UpperHouseFooter",ru),LD.set("UpperHouseHeader",rp),LD.set("UpperHouseHeaderBookNow",rm),LD.set("UpperHouseHeaderNavigationMenu",rx),LD.set("PropertyFooter",rh),LD.set("PropertyFooterHtml",rf),LD.set("PropertyHeader",rN),LD.set("PropertyHeaderBookNow",rg),LD.set("PropertyHeaderNavigationMenu",rj),LD.set("TohArtDetails",rb),LD.set("TohArtLanding",rT),LD.set("TohBookATransferForm",rS),LD.set("TohContactInfoGrid",rk),LD.set("TohContactUs",rw),LD.set("TohDineAndDrinkDetail",ry),LD.set("TohDineAndDrinkLanding",rE),LD.set("TohErrorPage",rC),LD.set("TohExplore",rO),LD.set("TohFooter",rL),LD.set("TohFormFooter",rI),LD.set("TohFormHeader",rF),LD.set("TohGeneralPage",r_),LD.set("TohGuestPreferenceForm",rM),LD.set("TohHappeningsDetail",rR),LD.set("TohHeader",rP),LD.set("TohHomePage",rA),LD.set("TohNeighbourhoodLanding",rD),LD.set("TohOffersDetail",rB),LD.set("TohOffersLanding",rV),LD.set("TohOurHouseLanding",rW),LD.set("TohPPAForm",rH),LD.set("TohPartner",rG),LD.set("TohPeopleAndCulture",rU),LD.set("TohPrivateEventsDetail",rz),LD.set("TohPrivateEventsLanding",rq),LD.set("TohRoomDetails",rQ),LD.set("TohRoomsLanding",rY),LD.set("TohSustainability",rK),LD.set("TohVe
1nueDetails",r$),LD.set("TohWeddingsDetails",rZ),LD.set("TohWellnessDetails",rJ),LD.set("TohWellnessLanding",rX),LD.set("ShUnsubscriptionFooterLogo",r0),LD.set("ShUnsubscriptionForm",r1),LD.set("ShUnsubscriptionThankYou",r2),LD.set("UhMap",r5),LD.set("UhFullBackgroundBackdrop",r3),LD.set("UhFullWidthImage",r4),LD.set("UhHeroBanner",r8),LD.set("UhHomeHeroBanner",r7),LD.set("UhSingleImage",r9),LD.set("UhTwoImages",ce),LD.set("UhVR",cl),LD.set("UhApartmentsEnquiryForm",ci),LD.set("UhCarousellSlider",cs),LD.set("UhContactUsLeftContent",cn),LD.set("UhContactUsRightTextContent",cd),LD.set("UhContentBlockAwards",ct),LD.set("UhContentBlockImage",co),LD.set("UhContentBlockLeftContent",cr),LD.set("UhContentBlockMembership",cc),LD.set("UhContentBlockPeople",cv),LD.set("UhContentBlockPropertyRnB",cu),LD.set("UhContentBlockRnB",cx),LD.set("UhContentBlockRooms",cp),LD.set("UhContentBlockWellness",ch),LD.set("UhContentMutipleItemWithImage",cf),LD.set("UhCostomizeTwoLayout",cg),LD.set("UhEnquiries",cj),LD.set("UhEventLandingListing",cN),LD.set("UhFindUs",cb),LD.set("UhFoodAndBarsListing",cS),LD.set("UhFoodMenu",ck),LD.set("UhFoodMenuPlus",cw),LD.set("UhFoodingList",cy),LD.set("UhImageGallery",cE),LD.set("UhImageSlider",cC),LD.set("UhImageSlidesWithCaption",cO),LD.set("UhImageStrip",cL),LD.set("UhImageTextPairs",cF),LD.set("UhMemberOffersDetail",cM),LD.set("UhMemberOffersPage",cR),LD.set("UhMemberPortalSidebar",c_),LD.set("UhMyProfilePage",cP),LD.set("UhOfferList",cA),LD.set("UhOffers",cD),LD.set("UhPopup",cB),LD.set("UhPrivateEvents",cV),LD.set("UhQuoteContent",cW),LD.set("UhRestaurantLayout",cH),LD.set("UhRichTextContent",cG),LD.set("UhRoomList",cU),LD.set("UhRoomSpecsCard",cz),LD.set("UhSlider",cQ),LD.set("UhSliderContainer",cq),LD.set("UhSpecialOffersAndBarsListing",cK),LD.set("UhStayAt",c$),LD.set("UhTextBlock",cZ),LD.set("UhTitleAndContentWithImage",cJ),LD.set("UhTitleAndContentWithImageCards",cX),LD.set("UhTitleAndContentWithLink",c0),LD.set("UhTwoColImageWithContent",c1),LD.set("UhUpcomingBookings",c2),LD.set("UhWeddingEventList",c5),LD.set("UhWellnessResidenciesList",c3),LD.set("FoodAndBarsListPartial",cT),LD.set("ImageTextPairCard",cI),LD.set("SpecialOffersAndBarsListPartial",cY),LD.set("UhSpacing",c4),LD.set("UhTwoSideLayout",c6),LD.set("schema-markup",Lw),LD.set("AliVideoPlayer",r6),LD.set("AlibabaCaptcha",c8),LD.set("AliyunCaptchaV3",c7),LD.set("CarouselTicker",cm),LD.set("ComponentContainer",x),LD.set("EditModePanel",c9),LD.set("GridContainer",p),LD.set("googleTagProvider",L_),LD.set("oneTrustProvider",LM),LD.set("AccordionItem",aN),LD.set("AccordionItemContainer",ca),LD.set("BackgroundImage",ds),LD.set("CssJsBlock",LR),LD.set("DynamicImage",iq),LD.set("EditBgImage",ve),LD.set("LightboxVideo",LA),LD.set("LinkButton",iQ),LD.set("LinkWrapper",aG),LD.set("RichTextRender",ap),LD.set("TextModule",dJ),LD.set("TextRender",H),LD.set("VideoButton",tK);let LB=new vl.Q({components:LD});LB.getModuleFactory()},17075:function(e,l,i){"use strict";l.clientEnvPlugin=i(65057),l.componentPropsPlugin=i(14474),l.corsHeaderPlugin=i(95953),l.customPlugin=i(33488),l.feaasPlugin=i(51844),l.graphqlPlugin=i(29440),l.llmsPlugin=i(68194),l.localeRedirectsPlugin=i(16090),l.mediaServerPlugin=i(54326),l.resolveFsPlugin=i(13956),l.robotsPlugin=i(44371),l.sassPlugin=i(92942),l.sitemapPlugin=i(20617)},50031:function(e){"use strict";e.exports={azureb2c:{issuer:"https://login.upperhouse.com/7db7f115-e93a-4ede-a400-d694edd67e14/v2.0/",authorization_endpoint:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_si/oauth2/v2.0/authorize",token_endpoint:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_si/oauth2/v2.0/token",end_session_endpoint:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_si/oauth2/v2.0/logout",jwks_uri:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_si/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],response_types_supported:["code","code id_token","code token","code id_token token","id_token","id_token token","token","token id_token"],scopes_supported:["openid"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],token_endpoint_auth_methods_supported:["client_secret_post","client_secret_basic"],claims_supported:["sub","iss","iat","exp","aud","acr","nonce","auth_time"],jwks:{keys:[{kid:"RDZWg5mT5PxwADyUpK9Ctwv8MrFpZXG1u
1Sdfut3u3vg",use:"sig",kty:"RSA",e:"AQAB",n:"vGya5XH57LjNL2v0qvWep3RBPZgGYmY0lhZbq3pRxoNzxTU8oNi9twRHWKKHMcVO-lZ3T7DPL6K9htmEv7Wy6aBOEhlF5VItwiKSe9iCU2H6lajeiOGi2htKNUeevl7uji8U9viXI9hRn3p-p5Q4SJGGG1sb177a08W9zDSI_a5L6783Xh9bszuo65QITRB_r5v7QwETVPtxNaf_n2_QJUAS1e24oGaCjMVxyrWVa7JdJDXng76KS8V2ftiteSNivyGDmY_c9cOR1603DwopZHN4JqjzWH3F98gGbT6x_PHu59yH9ibyB9Nj_E-Wm_0RmlYWrXv3wgZCW5iKJL7CPQ"}]}},"default-azureb2c":{issuer:"https://swirehotelssso2.b2clogin.com/7db7f115-e93a-4ede-a400-d694edd67e14/v2.0/",authorization_endpoint:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_si/oauth2/v2.0/authorize",token_endpoint:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_si/oauth2/v2.0/token",end_session_endpoint:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_si/oauth2/v2.0/logout",jwks_uri:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_si/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],response_types_supported:["code","code id_token","code token","code id_token token","id_token","id_token token","token","token id_token"],scopes_supported:["openid"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],token_endpoint_auth_methods_supported:["client_secret_post","client_secret_basic"],claims_supported:["sub","iss","iat","exp","aud","acr","nonce","auth_time"],jwks:{keys:[{kid:"RDZWg5mT5PxwADyUpK9Ctwv8MrFpZXG1uSdfut3u3vg",use:"sig",kty:"RSA",e:"AQAB",n:"vGya5XH57LjNL2v0qvWep3RBPZgGYmY0lhZbq3pRxoNzxTU8oNi9twRHWKKHMcVO-lZ3T7DPL6K9htmEv7Wy6aBOEhlF5VItwiKSe9iCU2H6lajeiOGi2htKNUeevl7uji8U9viXI9hRn3p-p5Q4SJGGG1sb177a08W9zDSI_a5L6783Xh9bszuo65QITRB_r5v7QwETVPtxNaf_n2_QJUAS1e24oGaCjMVxyrWVa7JdJDXng76KS8V2ftiteSNivyGDmY_c9cOR1603DwopZHN4JqjzWH3F98gGbT6x_PHu59yH9ibyB9Nj_E-Wm_0RmlYWrXv3wgZCW5iKJL7CPQ"}]}},"azureb2c-phone":{issuer:"https://login.upperhouse.com/7db7f115-e93a-4ede-a400-d694edd67e14/v2.0/",authorization_endpoint:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_ph_si/oauth2/v2.0/authorize",token_endpoint:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_ph_si/oauth2/v2.0/token",end_session_endpoint:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_ph_si/oauth2/v2.0/logout",jwks_uri:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_ph_si/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],response_types_supported:["code","code id_token","code token","code id_token token","id_token","id_token token","token","token id_token"],scopes_supported:["openid"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],token_endpoint_auth_methods_supported:["client_secret_post","client_secret_basic"],claims_supported:["signinnames.phoneNumber","sub","name","iss","iat","exp","aud","acr","nonce","auth_time"],jwks:{keys:[{kid:"RDZWg5mT5PxwADyUpK9Ctwv8MrFpZXG1uSdfut3u3vg",use:"sig",kty:"RSA",e:"AQAB",n:"vGya5XH57LjNL2v0qvWep3RBPZgGYmY0lhZbq3pRxoNzxTU8oNi9twRHWKKHMcVO-lZ3T7DPL6K9htmEv7Wy6aBOEhlF5VItwiKSe9iCU2H6lajeiOGi2htKNUeevl7uji8U9viXI9hRn3p-p5Q4SJGGG1sb177a08W9zDSI_a5L6783Xh9bszuo65QITRB_r5v7QwETVPtxNaf_n2_QJUAS1e24oGaCjMVxyrWVa7JdJDXng76KS8V2ftiteSNivyGDmY_c9cOR1603DwopZHN4JqjzWH3F98gGbT6x_PHu59yH9ibyB9Nj_E-Wm_0RmlYWrXv3wgZCW5iKJL7CPQ"}]}},"default-azureb2c-phone":{issuer:"https://swirehotelssso2.b2clogin.com/7db7f115-e93a-4ede-a400-d694edd67e14/v2.0/",authorization_endpoint:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_ph_si/oauth2/v2.0/authorize",token_endpoint:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_ph_si/oauth2/v2.0/token",end_session_endpoint:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_ph_si/oauth2/v2.0/logout",jwks_uri:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_ph_si/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],response_types_supported:["code","code id_token","code token","code id_token token","id_token","id_token token","token","token id_token"],scopes_supported:["openid"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],token_endpoint_auth_methods_supported:["client_secret_post","client_secret_basic"],claims_supported:["signinnames.phoneNumber","sub","name","iss","iat","exp","aud","acr","nonce","auth_time"],jwks:{keys:[{kid:"RDZWg5mT5PxwADyUpK9Ctwv8MrFpZXG1u
1Sdfut3u3vg",use:"sig",kty:"RSA",e:"AQAB",n:"vGya5XH57LjNL2v0qvWep3RBPZgGYmY0lhZbq3pRxoNzxTU8oNi9twRHWKKHMcVO-lZ3T7DPL6K9htmEv7Wy6aBOEhlF5VItwiKSe9iCU2H6lajeiOGi2htKNUeevl7uji8U9viXI9hRn3p-p5Q4SJGGG1sb177a08W9zDSI_a5L6783Xh9bszuo65QITRB_r5v7QwETVPtxNaf_n2_QJUAS1e24oGaCjMVxyrWVa7JdJDXng76KS8V2ftiteSNivyGDmY_c9cOR1603DwopZHN4JqjzWH3F98gGbT6x_PHu59yH9ibyB9Nj_E-Wm_0RmlYWrXv3wgZCW5iKJL7CPQ"}]}},"azureb2c-pwd":{issuer:"https://login.upperhouse.com/7db7f115-e93a-4ede-a400-d694edd67e14/v2.0/",authorization_endpoint:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1_ropc/oauth2/v2.0/authorize",token_endpoint:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1_ropc/oauth2/v2.0/token",jwks_uri:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1_ropc/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],response_types_supported:["code","code id_token","code token","code id_token token","id_token","id_token token","token","token id_token"],scopes_supported:["openid"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],token_endpoint_auth_methods_supported:["client_secret_post","client_secret_basic"],claims_supported:["emails","oid","sub","idp","tfp","iss","iat","exp","aud","acr","nonce","auth_time"],grant_types_supported:["password"],jwks:{keys:[{kid:"X5eXk4xyojNFum1kl2Ytv8dlNP4-c57dO6QGTVBwaNk",nbf:1493763266,use:"sig",kty:"RSA",e:"AQAB",n:"tVKUtcx_n9rt5afY_2WFNvU6PlFMggCatsZ3l4RjKxH0jgdLq6CScb0P3ZGXYbPzXvmmLiWZizpb-h0qup5jznOvOr-Dhw9908584BSgC83YacjWNqEK3urxhyE2jWjwRm2N95WGgb5mzE5XmZIvkvyXnn7X8dvgFPF5QwIngGsDG8LyHuJWlaDhr_EPLMW4wHvH0zZCuRMARIJmmqiMy3VD4ftq4nS5s8vJL0pVSrkuNojtokp84AtkADCDU_BUhrc2sIgfnvZ03koCQRoZmWiHu86SuJZYkDFstVTVSR0hiXudFlfQ2rOhPlpObmku68lXw-7V-P7jwrQRFfQVXw"}]}},"default-azureb2c-pwd":{issuer:"https://swirehotelssso2.b2clogin.com/7db7f115-e93a-4ede-a400-d694edd67e14/v2.0/",authorization_endpoint:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1_ropc/oauth2/v2.0/authorize",token_endpoint:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1_ropc/oauth2/v2.0/token",jwks_uri:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1_ropc/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],response_types_supported:["code","code id_token","code token","code id_token token","id_token","id_token token","token","token id_token"],scopes_supported:["openid"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],token_endpoint_auth_methods_supported:["client_secret_post","client_secret_basic"],claims_supported:["emails","oid","sub","idp","tfp","iss","iat","exp","aud","acr","nonce","auth_time"],grant_types_supported:["password"],jwks:{keys:[{kid:"X5eXk4xyojNFum1kl2Ytv8dlNP4-c57dO6QGTVBwaNk",nbf:1493763266,use:"sig",kty:"RSA",e:"AQAB",n:"tVKUtcx_n9rt5afY_2WFNvU6PlFMggCatsZ3l4RjKxH0jgdLq6CScb0P3ZGXYbPzXvmmLiWZizpb-h0qup5jznOvOr-Dhw9908584BSgC83YacjWNqEK3urxhyE2jWjwRm2N95WGgb5mzE5XmZIvkvyXnn7X8dvgFPF5QwIngGsDG8LyHuJWlaDhr_EPLMW4wHvH0zZCuRMARIJmmqiMy3VD4ftq4nS5s8vJL0pVSrkuNojtokp84AtkADCDU_BUhrc2sIgfnvZ03koCQRoZmWiHu86SuJZYkDFstVTVSR0hiXudFlfQ2rOhPlpObmku68lXw-7V-P7jwrQRFfQVXw"}]}},"azureb2c-b2c_1a_thc_email_pwd_si":{issuer:"https://login.upperhouse.com/7db7f115-e93a-4ede-a400-d694edd67e14/v2.0/",authorization_endpoint:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_pwd_si/oauth2/v2.0/authorize",token_endpoint:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_pwd_si/oauth2/v2.0/token",end_session_endpoint:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_pwd_si/oauth2/v2.0/logout",jwks_uri:"https://login.upperhouse.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_pwd_si/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],response_types_supported:["code","code id_token","code token","code id_token token","id_token","id_token token","token","token id_token"],scopes_supported:["openid"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],token_endpoint_auth_methods_supported:["client_secret_post","client_secret_basic"],claims_supported:["sub","iss","iat","exp","aud","acr","nonce","auth_time"],jwks:{keys:[{kid:"RDZWg5mT5PxwADyUpK9Ctwv8MrFpZXG1u
1Sdfut3u3vg",use:"sig",kty:"RSA",e:"AQAB",n:"vGya5XH57LjNL2v0qvWep3RBPZgGYmY0lhZbq3pRxoNzxTU8oNi9twRHWKKHMcVO-lZ3T7DPL6K9htmEv7Wy6aBOEhlF5VItwiKSe9iCU2H6lajeiOGi2htKNUeevl7uji8U9viXI9hRn3p-p5Q4SJGGG1sb177a08W9zDSI_a5L6783Xh9bszuo65QITRB_r5v7QwETVPtxNaf_n2_QJUAS1e24oGaCjMVxyrWVa7JdJDXng76KS8V2ftiteSNivyGDmY_c9cOR1603DwopZHN4JqjzWH3F98gGbT6x_PHu59yH9ibyB9Nj_E-Wm_0RmlYWrXv3wgZCW5iKJL7CPQ"}]}},"default-azureb2c-b2c_1a_thc_email_pwd_si":{issuer:"https://swirehotelssso2.b2clogin.com/7db7f115-e93a-4ede-a400-d694edd67e14/v2.0/",authorization_endpoint:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_pwd_si/oauth2/v2.0/authorize",token_endpoint:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_pwd_si/oauth2/v2.0/token",end_session_endpoint:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_pwd_si/oauth2/v2.0/logout",jwks_uri:"https://swirehotelssso2.b2clogin.com/swirehotelssso2.onmicrosoft.com/b2c_1a_thc_email_pwd_si/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],response_types_supported:["code","code id_token","code token","code id_token token","id_token","id_token token","token","token id_token"],scopes_supported:["openid"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],token_endpoint_auth_methods_supported:["client_secret_post","client_secret_basic"],claims_supported:["sub","iss","iat","exp","aud","acr","nonce","auth_time"],jwks:{keys:[{kid:"RDZWg5mT5PxwADyUpK9Ctwv8MrFpZXG1uSdfut3u3vg",use:"sig",kty:"RSA",e:"AQAB",n:"vGya5XH57LjNL2v0qvWep3RBPZgGYmY0lhZbq3pRxoNzxTU8oNi9twRHWKKHMcVO-lZ3T7DPL6K9htmEv7Wy6aBOEhlF5VItwiKSe9iCU2H6lajeiOGi2htKNUeevl7uji8U9viXI9hRn3p-p5Q4SJGGG1sb177a08W9zDSI_a5L6783Xh9bszuo65QITRB_r5v7QwETVPtxNaf_n2_QJUAS1e24oGaCjMVxyrWVa7JdJDXng76KS8V2ftiteSNivyGDmY_c9cOR1603DwopZHN4JqjzWH3F98gGbT6x_PHu59yH9ibyB9Nj_E-Wm_0RmlYWrXv3wgZCW5iKJL7CPQ"}]}}}},4285:function(e,l,i){"use strict";i.d(l,{Dx:function(){return c},J3:function(){return o},ah:function(){return r},dP:function(){return v}});var s=i(47978),n=i(93077),a=i(83454);let d=new Map,t={TTL:3e5};try{if(a.env.CUSTOM_GRAPHQL_SERVICE_CACHE_TTL){let e=Number(a.env.CUSTOM_GRAPHQL_SERVICE_CACHE_TTL);t.TTL=e}}catch(e){}let o=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.TTL,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:9999;if(d.has(e)){let l=d.get(e);if(l)return l}s.Z.common("Creating cache[".concat(e,"] with TTL:").concat(l));let a=(0,n.createCache)((0,n.memoryStore)({max:i,ttl:l}));return d.set(e,a),a},r=(e,l)=>{let i=[e];if(l)for(let e in l)i.push("_#".concat(e,":").concat(l[e]));return i.join("")},c=()=>"true"===a.env.CUSTOM_GRAPHQL_SERVICE_CACHE_ENABLED,v=o("UserProfileCache")},13576:function(e,l,i){"use strict";i.d(l,{jH:function(){return a},t9:function(){return n},tl:function(){return s}});let s={SquareMeterInSquareFeet:10.7639104,QueryStringParameters:{Tag:"tag",Category:"category",SubCategory:"subcategory"},PageContent:{ImageLeftTextRight:"imageleft-textright",TextLeftImageRight:"textleft-imageright"},DefaultPageSize:20},n={ContentWithImageTid:"{A7269DA8-6213-41B1-889F-39CE37E25712}",CarouselSlideMainPage:"{777C8216-011B-432A-9CFD-64E338A6E7D3}",ShowInContentBlockExperienceAndDetails:"{E88EB053-ED6B-4F75-966D-AA09D089BC65}",SocialDetail:"{3A978EE3-CAF2-49EB-80FA-20E7483CFD2C}",LinkMenuItem:"{BF4D7152-35EB-41AC-8E0E-736688719666}",OptionItem:"{3802EE55-1768-4E4D-B1A2-3C1CD93A1412}",ArtistIntroWithQuote:"{D8E31050-58B9-47D0-9D76-AA04DD470556}",ContentBlockWithImageAndTitle:"{E4CB27BC-89E2-40F6-A056-39F02D4BB7D7}",RichContentSlideImageWithButton:"{FA05DAF5-CC39-4D10-8C9B-32F1A80EAECD}",ContentBlockWithImage:"{34911355-2275-4855-8A05-3DB1D1C6002A}",ContentBlockWithImageTitleAndShortDescriptionLink:"{148E976E-B6EB-42B1-B5B0-A775EAB75F8E}",ContentBlockWithImageLogoAndButton:"{8352F273-8CA5-4387-B385-EED342CD3EED}",MediaVideoWithCaptionAndTag:"{D60F499E-2A5C-4726-BE49-7731FB58A11E}",ExperienceDetail:"{62E36376-A502-4C95-955E-F73C5AF6234F}",ActicleDetail:"{A3913E85-36A0-48DA-8275-CD2901DD1FFC}",HappeningsDetail:"{0A2DD20A-28C4-4D5D-BAA4-7887DA86D368}",ContentBlockWithImageAndVideo:"{6BFBA556-092C-4964-929F-160256C61BB0}",UpcloseDetail:"{CE141E2C-6BCA-4063-AB8B-E70A68648746}",SocialFeed:"{C3EA74DD-60D0-4E0C-BBEA-211C9B511FBE}",YearContent:"{6278807F-D395-40E9-8D3E-565D936B4B40}",HouseContent:"{4E0C4706-14C9-4E28-8A30-B11269E008F8}",HeroPageContent:"{8CE57EC3-A9B6-4DA2-BB27-B5549AB96B50}",TUHAward:"{BE1A43C7-8A65-49B6-8BC3-0E60853C7A8B}
1",MediaPageData:"{C252073E-B26D-4DC4-A3B7-604618B3F20D}",CommonFolder:"{A87A00B1-E6DB-45AB-8B54-636FEC3B5523}",IdentityLogoExtension:"{3AE52868-CD15-4B77-8E54-A5F018E3DE16}",IdentityLogoList:"{DCF3F381-304E-4FB6-A1F2-DDD2387D9A0B}",Link:"{0DE0C99B-DA5B-421C-A293-BCD590E2656C}",PartnerDetail:"{C06DE179-ED45-42C0-9697-758C19A3C095}",LinkMenuFolderWithCssClass:"{6CD5246D-B73B-44D9-83F2-6B69A98D3367}",RoomDetail:"{E771B6BB-4533-4352-A0C1-8C4ED01C8E90}",OfferDetail:"{60C9A8AC-CBBC-4853-BAC2-3584EAC047A0}",THCENewsletterArticleContent:"{AC68C319-BE45-4B9A-B4C4-021D2565E0B0}",RichCotent:"{4A136B1E-77CB-4FC9-9663-40F0ADDC20DB}",Lookup:"{633E7C24-3285-495E-8695-DD8A06337D5B}",ContactItem:"{6B346327-B986-4EBE-AFE3-3915D3B34B36}",THCArticlePageData:"{7E2163B3-91CD-4F4E-99F4-3249A64D2A7A}",WellnessDetail:"{E5AFE4E9-247E-4876-81B8-78825D65F5F3}",TeaserBoxWithHeadlineImage:"{EFDEB625-3156-4FFC-873A-856105DAF85D}",TMHHomeTid:"{65F01558-4A07-4C0E-AE4D-6A1D2F9B19A3}",NeighborhoodTeaser:"{87AAB369-3D3C-4C8D-9742-8BFADB53A875}",GlossaryDetail:"{D6291BDE-EBE5-4E7F-AAE4-7449A6BDA5E4}",VenueContent:"{36D196FA-D2B0-46BA-BB29-F06FE893D759}",VenueDetail:"{98B0E63A-8E9D-49A5-8FCE-9CF0885D2761}",MediaCarouselSideMainPage:"{777C8216-011B-432A-9CFD-64E338A6E7D3}",LanguageSettings:"{ECAD4147-2F36-4013-B9F1-40E871B58779}",NavigationRoot:"{3EAEB07C-725B-4F0C-A38F-A0BDBF82C82B}",BookATransferPriceTableItem:"{1C8E5B97-48CF-49FD-8514-1B4BD749581C}",jssAppTemplateId:"{061CBA15-5474-4B91-8A06-17903B102B82}",PropertyHome:"{9B0504D8-4878-4597-9BA1-962F96E196FD}",Navigable:"{9C484558-5DAE-43BF-833B-D66E82C83D2F}",PopupSettings:"{5F79A2AB-6968-4AD7-AAD2-22F1FB3B1E02}",LocalDatasourceFolder:"{E2F6BE49-F71F-4CAA-B8D8-A89012C30A67}",SxaLocalDatasourcePageData:"{1C82E550-EBCD-4E5D-8ABD-D50D0809541E}",NotificationBar:"{8CACD109-AB70-4B53-B456-DD3EC6EB475A}",SettingsFolder:"{F7086E06-9D22-4AF6-BC42-486B1E062E89}",GDPR:"{C11D66AE-7F45-46A8-B30B-DF7BD95A396B}",Map:"{55D35BE5-CE92-4EE4-89EF-BBA62F4A8678}",Popup:"{8057BA0B-25B1-49F5-99EB-29CD62BDB81B}",PopupConfigs:"{69F4CE6A-0F8A-45D0-88C0-6B012C16CB3D}",UHDineAndDrink:"{09D904C0-1BE7-4170-8BEA-D0FCCB7FE047}"},a={TMHNeighbourhood:"{D2344CA7-028E-4525-85DE-9F2747A38F3B}",TUHBookNowHeader:"{854DB623-F2DD-4A8F-92A8-529E78A14468}",THCBookNowHeader:"{3C3D87F9-D9E1-4304-ADBB-35A51BF9CB80}"}},74237:function(e,l,i){"use strict";i.d(l,{W:function(){return s}});let s={JOBLISTING:{ALL:"Job Listing/All",ALLLOCATIONS:"Job Listing/All Locations",ALLPROPERTIES:"Job Listing/All Properties",ALLDEPARTMENT:"Job Listing/All Department",ALLEMPLOYEETYPE:"Job Listing/All Employee Type",HOTPOSITION:"Job Listing/Hot Position",LOADMORE:"Job Listing/Load More",NORELATEDRESULTS:"Job Listing/No related results"},PAGECONTENT:{ALL:"Page Content/All",SELECTAYEAR:"Page Content/Select a year",FINDOUTMORE:"Page Content/Find out more",TEDETAILS:"Page Content/View Suite Details",VIEWALL:"Page Content/View all",READMORE:"Page Content/Read more",SEEOTHEROPTIONS:"Page Content/See Other Options",VIEWDETAILS:"Page Content/View Details",EXPERIENCETHETEMPLEHOUSE:"Page Content/Experience The Temple House",VIEWHOUSEDETAILS:"Page Content/View House Details",BENEFITSOURTEAMMEMBER:"Page Content/Benefits Our Team Member",OKAY:"Page Content/Okay",WATCHVIDEO:"Page Content/Watch Video",DETAILBUTTON:"Page Content/Detail Button",RSVPBUTTON:"Page Content/RSVP Button",ARTPROGRAMME:"Page Content/Art Programme",DISCOVERMORE:"Page Content/Discover more",BOOKATABLE:"Page Content/Book A Table",HOUSECURATIONS:"Page Content/House Curations",HOUSES:"Page Content/Houses",LOADMORE:"Page Content/Load more",UPCOMING:"Page Content/Upcoming",YEAR:"Page Content/Year",ALLYEAR:"Page Content/All Year",MOREDETAILS:"Page Content/More Details",LEARNMORE:"Page Content/Learn More",DETAILS:"Page Content/Details",OFFER:"Page Content/Offer",ALLHOUSES:"Page Content/All Houses",MEMBEREXCLUSIVE:"Page Content/Member Exclusive",ARTICLE:"Page Content/Article",SHTITLE:"sh-title",SHINTROLINK:"sh-intro-link",SHMAINPAGEINTROMEDIA:"sh-mainpage-intro-media",SHORGANIZATIONNAME:"sh-organization-name",FOLLOWUS:"Follow Us",SHMAINPAGEFOLLOWUS:"sh-main-page-follow-us",SHMAINPAGESEPARTER1:"sh-main-page-separater-1",SHMAINPAGETHEMEDIA:"sh-mainpage-thc-media",SHMAINPAGETHELINEGRAPHIK:"sh-mainpage-thc-line-graphik",SHMAINPAGESEPARTER2:"sh-main-page-separater-2",SHMAINPAGEEASTMEDIA:"sh-mainpage-east-media",SHMAINPAGEHIGHLIGHT:"sh-main-page-highlight",SHMAINPAGEHIGLIGHT2:"sh-main-page-highlight-2",SHMAINPAGEHIGHLIGHT3DOODLE:"sh-main-page-highlight-3-doodle",SHMAINPAGEHIGHLIGHT4:"sh-main-page-highlight-4",SHCONTAINERDETAIL:"sh-container-detail"},JOBDETAIL:{APPLYNOWDESCRIPTION:"/Job Detail/Apply now description",APPLYNOW:"/Job Detail/Apply now",PROPERTY:"/Job Detail/Property",DEPARTMENT:"/Job Detail/Department",EMPLOYMENTTYPE:"/Job Detail/Employment Type",REFNO:"/Job Detail/Ref No",JOBPOSTEDDATE:"/Job Detail/Job Posted Date",REQUIREDSKILLS:"/Job Detail/Required Skills"},COMMONJOBDESCRIPTION:{SWIREHOTELSJOBREQUIREDSKILLS:"swirehotels-job-required-skills"},COMMONJOBLISTINGHOTPOSITION:{SHHOTPOSITIONBUTTON:"sh-hot-position-button"},EHK:{EHKBOOKATRANSFERINTRODUCTIONBEFORETABLE:"ehk-book-a-transfer-introduction-before-table",EHKBOOKATRANSFERINTRODUCTIONAFTERTABLE:"ehk-book-a-transfer-introduction-after-table"},BOOKATRANSFER:{CARTYPEANDPRICE:"/Common Forms/CarTypeAndPrice"},SEEOTHEROFFERS:{SEEOTHEROFFERS:"Offers/See Other Offers",VIEWOFFERDETAILS:"Offers/View Offer Details",READMORE:"Offers/Read More"},CONTACT:{DOWNLOADHOTELBROCHURE:"Contact/Download Hotel Brochure",DOWNLOADVCARD:"Contact/Download vCard"},INTRO:{DOWNLOADMENU:"Restaurant/Intro/Download Menu"},FLOORPLAN:{DOWNLOADFILE:"Property/Floor Plan/Download File"},OFFERS:{SEEOTHEROFFERS:"Offers/See Other Offers",VIEWOFFERDETAILS:"Offers/View Offer Details",READMORE:"Offers/Read More"}
1,COMMONFORM:{LOGIN:"Common Forms/Login",REGISTER:"Common Forms/Register",PASSWORD:"Common Forms/Password",CONFIRMPASSWORD:"Common Forms/Confirm Password",FIRSTNAME:"Common Forms/First Name",LASTNAME:"Common Forms/Last Name",EMAIL:"Common Forms/Email",FLIGHTNUMBER:"Common Forms/Flight Number",HOTELBOOKINGREF:"Common Forms/Hotel Booking Reference",NOTE:"Common Forms/Note",RESIDENCELOCATION:"Common Forms/Residence Location",SELECTYOURLOCATION:"Common Forms/Select Your Location",PUBLICATION:"Common Forms/Publication",TITLE:"Common Forms/Title",CONTACTNUMBER:"Common Forms/Contact Number",AREACODE:"Common Forms/Area Code",EVENTDATE:"Common Forms/Event Date",EVENTTIME:"Common Forms/Event Time",TYPEOFEVENT:"Common Forms/Type of Event",ESTIMATEDGUESTS:"Common Forms/Estimated Guests",CONFIRMEMAIL:"Common Forms/Confirm Email",YOURENQUIRY:"Common Forms/Your Enquiry",SELECTCOUNTRY:"Common Forms/Select Country",YES:"Common Forms/Yes",NO:"Common Forms/No",HAVEYOUSTAYEDWITHUSBEFORE:"Common Forms/Have you stayed with us before",SUBMIT:"Common Forms/Submit",AGREEPOLICY:"Common Forms/Agree Policy",ALERTMESSAGE:"Common Forms/Alert Message",MESSAGE:"Common Forms/Message",HOWYOUHEAR:"Common Forms/How You Hear",HOWYOUHEARTUH:"Common Forms/How You Hear TUH",COMPANYNAME:"Common Forms/Company Name",PREFERREDVENUE:"Common Forms/Preferred Venue",ENQUIRYTYPE:"Common Forms/Enquiry Type",TYPE:"Common Forms/Type",BRANDHOTEL:"Common Forms/Type",SELECTBRANDHOTEL:"Common Forms/Select Brand Hotel",SELECTTITLE:"Common Forms/Select Title",SELECTPREFERREDVENUE:"Common Forms/Select Preferred Venue",ADDRESS:"Common Forms/Address",LOCATION:"Common Forms/Location",TELEPHONE:"Common Forms/Telephone",WECHATID:"Common Forms/Wechat Id",FAXNUMBER:"Common Forms/Fax Number",NUMBEROFADULTS:"Common Forms/Number Of Adults",NUMBEROFCHILDREN:"Common Forms/Number Of Children",NUMBEROFBEDROOMS:"Common Forms/Number Of Bedrooms",SELECTNUMBEROFBEDROOMS:"Common Forms/Select Number of Bedrooms",MONTHLYESTIMATEDBUDGET:"Common Forms/Monthly Estimated Budget",HOWDIDYOUHEARFROMUS:"Common Forms/How Did You Hear From Us",SELECTHOWDIDYOUHEARFROMUS:"Common Forms/Select How Did You Hear From Us",ENQUIRYMESSAGE:"Common Forms/Enquiry Message",CARTYPEANDPRICE:"Common Forms/CarTypeAndPrice",PERSONALINFORMATION:"Common Forms/Personal Information",SERVICEREQUIRED:"Common Forms/Service Required",ARRIVALDETAILS:"Common Forms/Arrival Details",DEPARTUREDETAILS:"Common Forms/Departure Details",REMARKSSECTION:"Common Forms/Remarks Section",SERVICEFEE:"Common Forms/Service Fee",OTHERSERVICEFEE:"Common Forms/Other Service Fee",GUESTPREFERENCESECTION:"Common Forms/Guset Preference Section",NEXTBUTTON:"Common Forms/Next Button",ADDDETAILSBUTTON:"Common Forms/Add Details Button",SUBMITBUTTON:"Common Forms/Submit Button",BOOKINGCONFIRMATIONNUMBER:"Common Forms/Booking Confirmation Number",ARRIVALDATE:"Common Forms/Arrival Date",ARRIVALTIME:"Common Forms/Arrival Time",NUMBEROFGUEST:"Common Forms/Number Of Guest",SELECTNUMBEROFGUEST:"Common Forms/Select Number Of Guest",CARTYPE:"Common Forms/Car Type",SELECTCARTYPE:"Common Forms/Select Car Type",SELECTPICKUPLOCATION:"Common Forms/Select Pick Up Location",PICKUPLOCATION:"Common Forms/Pick Up Location",PICKUPLOCATIONOTHERS:"Common Forms/Pick Up Location Others",BOOKATRANSFERFLIGHTNUMBER:"Common Forms/Book A Transfer Flight Number",DEPARTUREDATE:"Common Forms/Departure Date",DEPARTUREDATENOTE:"Common Forms/Departure Date Note",DEPARTURETIME:"Common Forms/Departure Time",SELECTDROPOFFLOCATION:"Common Forms/Select Drop Off Location",DROPOFFLOCATION:"Common Forms/Drop Off Location",DROPOFFLOCATIONOTHERS:"Common Forms/Drop Off Location Others",RETURN:"Common Forms/Return",DEPARTUREONLY:"Common Forms/DepartureOnly",ARRIVALONLY:"Common Forms/ArrivalOnly",ONEWAYORRETURN:"Common Forms/OneWayOrReturn",REMARKS:"Common Forms/Remarks",REMARKSPLACEHOLDER:"Common Forms/RemarksPlaceholder",REQUIRED:"Common Forms/Required",CORRECTFORMAT:"Common Forms/CorrectFormat",MARKETINGCONSENT:"Common Forms/MarketingConsent",INTROTEXT:"Common Forms/Intro Text",KEEPINTOUCHBANNERTITLE:"Common Forms/Keep In Touch Banner Title",SUCCESS:"Common Forms/Success",FAIL:"Common Forms/Fail",GENERALVALIDATIONERROR:"Common Forms/General Validation Error",CAPTCHAHINT:"Common Forms/Captcha Hint",CAPTCHAERROR:"Common Forms/Captcha Error"},APARTMENTSENQUIRYFORM:{ADDRESS:"Apartments Enquiry Form/Address",ADULTS:"Apartments Enquiry Form/Adults",ARRIVALDATE:"Apartments Enquiry Form/Arrival Date",ARRIVALDATEREQUIRED:"Apartments Enquiry Form/Arrival Date Required",BEDROOMS:"Apartments Enquiry Form/Bedrooms",BEDROOMSREQUIRED:"Apartments Enquiry Form/Bedrooms Required",Children:"Apartments Enquiry Form/Children",COMPANYNAME:"Apartments Enquiry Form/Company Name",DEPARTUREDATE:"Apartments Enquiry Form/Departure Date",DEPARTUREDATEMINIMUM:"Apartments Enquiry Form/Departure Date Minimum",EMAIL:"Apartments Enquiry Form/Email",EMAILREQUIRED:"Apartments Enquiry Form/Email Required",ENQUIRYMESSAGE:"Apartments Enquiry Form/Enquiry Message",FAXNUMBER:"Apartments Enquiry Form/Fax Number",FIRSTNAME:"Apartments Enquiry Form/First Name",FIRSTNAMEREQUIRED:"Apartments Enquiry Form/First Name Required",HOWDIDYOUHEAR:"Apartments Enquiry Form/How Did You Hear",LASTNAME:"Apartments Enquiry Form/Last Name",LASTNAMEREQUIRED:"Apartments Enquiry Form/Last Name Required",LOCATION:"Apartments Enquiry Form/Location",MONTHLYESTIMATEDBUDGET:"Apartments Enquiry Form/Monthly Estimated Budget",PrivacyPolicyConsent:"Apartments Enquiry Form/Privacy Policy Consent",RESIDENCE:"Apartments Enquiry Form/Residence",SELECTHOWDIDYOUHEARFROMUS:"Apartments Enquiry Form/Select How Did You Hear From Us",SELECTNUMBEROFBEDROOMS:"Apartments Enquiry Form/Select Number of Bedrooms",SUBMITBUTTON:"Apartments Enquiry Form/Submit Button",TELEPHONE:"Apartments Enquiry Form/Telephone",TELEPHONEREQUIRED:"Apartments Enquiry Form/Telephone Required",WECHATID:"Apartments Enquiry Form/WeChat ID"},Member:{MEMBEROFFERS:"Member/Member Offers",MYPROFILE:"Member/My Profile",UPCOMINGBOOKINGS:"Member/Upcoming Bookings"},Gift:{ROOT:"Enquiry/Gift/Gift",READMORE:"Enquiry/Gift/Read More",ALL:"Enquiry/Gift/All",VIEW:"Enquiry/Gift/View"},FORMS:{DENOTEREQUIREDFIELDS:"forms/denote required fields",THANKYOUMESSAGE:"forms/thank you message",ERRORMESSAGE:"forms/error message",TITLE:"forms/title",SELECTTITLE:"forms/select title",FIRSTNAME:"forms/first name",LASTNAME:"forms/last name",EMAIL:"forms/email",CONTACTNUMBER:"forms/contact number",COMPANYNAME:"forms/company
1name",MESSAGE:"forms/message",CAPTCHAHINT:"forms/Captcha Hint",CAPTCHAERROR:"forms/Captcha Error",CORRECTFORMAT:"forms/CorrectFormat",SUBMIT:"forms/submit",EMAILADDRESS:"forms/email address",EVENTDATE:"forms/event date",EVENTTIME:"forms/event time",ESTIMATEDNUMBEROFGUESTS:"forms/estimated number of guests",TYPEOFEVENTS:"forms/type of events",HOWTOKNOW:"forms/how to know",PREFERREDVENUE:"forms/preferred venue",SELECTPREFERREDVENUE:"forms/select preferred venue",ENQUIRYTYPE:"forms/enquiry type",FLIGHTNUMBER:"forms/flight number",HOTELBOOKINGREF:"forms/hotel booking ref",ALLFIELDSAREREQUIRED:"forms/all fields are required",NOTE:"forms/note",RESIDENCELOCATION:"forms/residence location",CONFIRMEMAILADDRESS:"forms/confirm email address",YES:"forms/yes",NO:"forms/no",PASSWORD:"forms/Password",LOGIN:"forms/login",PUBLICATION:"forms/publication",REGISTER:"forms/Register",CONFIRMEMAIL:"forms/confirmemail",HAVEYOUSTAYEDWITHUSBEFORE:"forms/HaveYouStayedWithUsBefore",ALERTMESSAGE:"forms/AlertMessage"},IDENTITY:{ROOT:"/Identity",EMAILSHORTNAME:"Identity/Email",TELSHORTNAME:"Identity/Tel",THEHOUSECOLLECTIVE:"Identity/The House Collective"},LANGUAGE:{ROOT:"/Language",LANG:"/Language/Language"},LINKTEXT:{READMORE:"link text/read more",LEARNMORE:"link text/learn more",DISCOVERMORE:"link text/discover more",VIEWDETAILS:"link text/view details",MOREINFO:"link text/more info",INQUIRENOW:"link text/inquire now",CHECKAVAILABILITY:"link text/check availability"},LOCATION:{READMORE:"/Location/Read More"},MAPS:{OPENGOOGLEMAP:"/Maps/Open google map",OPENGAODEMAP:"/Maps/Open gaode map",OPENINMAPS:"/Maps/Open in Maps",DOWNLOADTHEMAP:"/Maps/Download the Map",SWITCHTOGOOGLEMAP:"/Maps/Switch to Google map",SWITCHTOGOODEMAP:"/Maps/Switch to Gaode map",MEDIAENQUIRIES:"/Maps/Media enquiries",GENERALENQUIRIES:"/Maps/General enquiries",TEL:"/Maps/Tel"},MEDAL:{NEXT:"/Media/Next",PREVIOUS:"/Media/Previous",OURPARTNERS:"/Media/Our Partners",VIEW:"/Media/View",ALL:"/Media/All",WATCHVIDEO:"/Media/Watch Video",WATCHBRANDVIDEO:"/Media/Watch Brand Video"},SSO:{Interest:{ART:"SSO/Interest/Art",MUSIC:"SSO/Interest/Music",DESIGN:"SSO/Interest/Design",FASHION:"SSO/Interest/Fashion",CARS:"SSO/Interest/Cars",WATCHES:"SSO/Interest/Watches",JEWELLERY:"SSO/Interest/Jewellery",SUSTAINABILITY:"SSO/Interest/Sustainability",DESTINATION_TRAVEL:"SSO/Interest/DestinationTravel",SPORT_FITNESS:"SSO/Interest/SportsAndFitness",BEAUTY:"SSO/Interest/Beauty",DIVERSITY_INCLUSION:"SSO/Interest/DiversityAndInclusion",RESTAURANTS_BARS:"SSO/Interest/RestaurantsAndBars",STAY:"SSO/Interest/Stay",MEETINGS_EVENTS:"SSO/Interest/MeetingsAndEvents",EAT_DRINK:"SSO/Interest/EatAndDrink",BEAST:"SSO/Interest/Beast",HAPPENINGS:"SSO/Interest/Happenings",EAST_RESIDENCES:"SSO/Interest/EastResidences",OFFERS:"SSO/Interest/Offers"},Global:{LOGIN:"SSO/Global/Login",SIGNUP:"SSO/Global/Signup",MEMBERSHIP:"SSO/Global/Membership",BECOME_MEMBER:"SSO/Global/BecomeMember",CHECK_OTP_EMAIL:"SSO/Global/CheckOTPEmail",CHECK_OTP_PHONE:"SSO/Global/CheckOTPPhone",CONFIRM_EMAIL:"SSO/Global/ConfirmEmail",CONFIRM_EMAIL_INVALID:"SSO/Global/ConfirmEmailInvalid",CONSENT_MANAGEMENT_PII:"SSO/Global/ConsentManagementPii",CONSENT_PRIVACY_POLICY:"SSO/Global/ConsentPrivacyPolicy",CONSENT_PROVISION_PII:"SSO/Global/ConsentProvisionPii",CONSENT_REQUIRED:"SSO/Global/ConsentRequired",CONSENT_USE_PII:"SSO/Global/ConsentUsePii",CONTINUE:"SSO/Global/Continue",EMAIL:"SSO/Global/Email",EMAIL_FORMAT:"SSO/Global/EmailFormat",ENTER_EMAIL:"SSO/Global/EnterEmail",ENTER_PASSCODE:"SSO/Global/EnterPasscode",ENTER_PERSONAL_INFO:"SSO/Global/EnterPersonalInfo",ENTER_PHONE:"SSO/Global/EnterPhone",ENTER_TITLE:"SSO/Global/EnterTitle",FIRST_NAME:"SSO/Global/FirstName",GO_BACK:"SSO/Global/GoBack",INTEREST:"SSO/Global/Interest",INVALID_API:"SSO/Global/InvalidAPI",LAST_NAME:"SSO/Global/LastName",LOGIN_BY_PHONE:"SSO/Global/LoginByPhone",LOGIN_BY_EMAIL:"SSO/Global/LoginByEmail",LOGIN_NOW:"SSO/Global/LoginNow",OR:"SSO/Global/Or",OTP_INCORRECT:"SSO/Global/OtpIncorrect",OTP_NOT_COMPLETE:"SSO/Global/OtpNotComplete",OTP_SENT_EMAIL:"SSO/Global/OTPSentEmail",OTP_SENT_PHONE:"SSO/Global/OTPSentPhone",PHONE_FORMAT:"SSO/Global/PhoneFormat",PHONE_NUMBER:"SSO/Global/PhoneNumber",PHONE_REMARK:"SSO/Global/PhoneRemark",PREFERENCE_SURVEY:"SSO/Global/PreferenceSurvey",RESEND_OTP_COUNTDOWN:"SSO/Global/ResendOTPCountdown",RESEND_OTP_NOW:"SSO/Global/ResendOTPNow",REQUIRED_CONFIRM_EMAIL:"SSO/Global/RequiredConfirmEmail",REQUIRED_EMAIL:"SSO/Global/RequiredEmail",REQUIRED_All:"SSO/Global/RequiredAll",REQUIRED_FIRSTNAME:"SSO/Global/RequiredFirstName",REQUIRED_LASTNAME:"SSO/Global/RequiredLastName",REQUIRED_ENGLISHNAME:"SSO/Global/RequiredEnglishName",REQUIRED_PHONE:"SSO/Global/RequiredPhone",REQUIRED_TIT
1LE:"SSO/Global/RequiredTitle",SIGN_UP_BY_PHONE:"SSO/Global/SignUpByPhone",SIGN_UP_BY_EMAIL:"SSO/Global/SignUpByEmail",TITLE:"SSO/Global/Title",VERIFIED_EMAIL:"SSO/Global/VerifiedEmail",VERIFIED_PHONE:"SSO/Global/VerifiedPhoneNum",CHECK_IN_DATE:"SSO/Global/CheckInDate",CHECK_OUT_DATE:"SSO/Global/CheckOutDate",NIGHT:"SSO/Global/Night",NUMBER_OF_GUEST:"SSO/Global/NumberOfGuest",HOTEL:"SSO/Global/Hotel",ROOM_TYPE:"SSO/Global/RoomType",STATUS:"SSO/Global/Status",SKIP:"SSO/Global/Skip",PLEASE_SELECT:"SSO/Global/PleaseSelect",COMPLETE:"SSO/Global/Complete",EXPLORE_NOW:"SSO/Global/ExploreNow",WELCOME_BACK:"SSO/Global/WelcomeBack",UPCOMING_BOOKING:"SSO/Global/UpcomingBooking",MY_PROFILE:"SSO/Global/MyProfile",MEMBER_OFFERS:"SSO/Global/MemberOffers",LOGOUT:"SSO/Global/Logout",MAXIMUM_SELECT:"SSO/Global/MaximumSelect",UPDATE:"SSO/Global/Update",VERIFY:"SSO/Global/Verify",INTERESTS:"SSO/Global/Interests",CONSENT_PREFERENCE:"SSO/Global/ConsentPreference",EDIT:"SSO/Global/Edit",CANCEL:"SSO/Global/Cancel",SELECT_ALL:"SSO/Global/SelectAll",EMAIL_UESD:"SSO/Global/EmailUsed",PHONE_USED:"SSO/Global/PhoneUsed",NO_CURRENT_BOOKING:"SSO/Global/NO_CURRENT_BOOKING",CONSISTENT_NAME:"SSO/Global/ConsistentName",CONSISTENT_PHONE:"SSO/Global/ConsistentPhone",VERIFYCODE:"SSO/Global/VerifyCode",CONFIRM:"SSO/Global/Confirm"},Consent:{NOTE:"SSO/Consent/Note",CONSENT_USE_PII:"SSO/Consent/ConsentUsePii",CONSENT_PRIVACY_POLICY:"SSO/Consent/ConsentPrivacyPolicy",CONSENT_PROVISION_PII:"SSO/Consent/ConsentProvisionPii"},Password:{PASSWORD:"SSO/Password/Password",NEW_PASSWORD:"SSO/Password/NewPassword",SET_UP_PASSWORD:"SSO/Password/SetUpPassword",SET_UP_PASSWORD_OPTIONAL:"SSO/Password/SetUpPasswordOptional",CONFIRM_PASSWORD:"SSO/Password/ConfirmPassword",CONFIRM:"SSO/Password/Confirm",PASSWORD_NOT_CORRECT:"SSO/Password/PasswordNotCorrect",RESET_PASSWORD:"SSO/Password/ResetPassword",UPDATE:"SSO/Password/Update",RESET:"SSO/Password/Reset",LENGTH_REQUIRE:"SSO/Password/LengthRequire",UPPERCASE_REQUIRE:"SSO/Password/UppercaseRequire",LOWERCASE_REQUIRE:"SSO/Password/LowercaseRequire",NUMBER_REQUIRE:"SSO/Password/NumberRequire",SPECIAL_CHARACTER_REQUIRE:"SSO/Password/SpecialCharacterRequire",BACK_TO_LOGIN:"SSO/Password/BackToLogin",SEND:"SSO/Password/Send",SET_UP_TIP:"SSO/Password/SetUpTip",PWD_WRONG:"SSO/Password/PasswordWrong"}},DICTIONARY:{EXPERIENCETHEHOUSE:"Experience The House",HOUSENOTHOTEL:"House Not Hotel",LOCATION:"Location",BACK:"Back",ASKQUESTIONS:"Ask Questions",OFFERTEXT:"Offer Text",REQUIRED:"All Fields Required",GOADEMAP:"Goade Map",GOOGLEMAP:"Google Map",FINDUS:"Find Us"},SSOFORMS:{LOGIN:"SSO Forms/Login",LOGOUT:"SSO Forms/Logout"}}},42390:function(e,l,i){"use strict";i.d(l,{Ie:function(){return t},K1:function(){return s},M0:function(){return a},Z9:function(){return n}});let s=e=>{var l;let i={};return(null==e?void 0:null===(l=e.fields)||void 0===l?void 0:l.length)&&e.fields.forEach(e=>{i[e.name]=e.jsonValue}),(null==e?void 0:e.url)&&(i._UrlInfo=e.url,i.url=e.url),(null==e?void 0:e.id)&&(i.id=e.id),(null==e?void 0:e.template)&&(i.template=null==e?void 0:e.template),i},n=e=>{try{if((null==e?void 0:e.length)&&"{"!=e[0]){let l=e.replace(/-/g,"");if(32===l.length&&/[0-9A-F]+/i.test(l))return"{".concat([l.substring(0,8),l.substring(8,12),l.substring(12,16),l.substring(16,20),l.substring(20)].join("-"),"}").toUpperCase()}}catch(e){console.log("unable to parse id",e)}return e&&(e=(e=(e=e.replace(/99C20915-C619-479C-8E13-52E40FF108B2/i,"661D12F0-0FEE-4FBE-B378-86A74757EC92")).replace(/478B4BE0-5BCF-45A0-9839-1FDB1D7B556A/i,"735D5A2E-4F34-486D-8DB2-D85E6CD657DC")).replace(/E0A6EA49-5158-4CDA-B006-89E7DAC1B3F6/i,"B940EE0F-C3C4-40A1-818B-D5039DC9E030")),e},a=e=>{var l,i,n,a,d,t,o,r,c;return{id:null!==(i=e.id)&&void 0!==i?i:"",name:null!==(n=e.name)&&void 0!==n?n:"",version:null!==(a=e.version)&&void 0!==a?a:"",url:null!==(d=null===(l=e.url)||void 0===l?void 0:l.url)&&void 0!==d?d:"",path:null!==(t=e.path)&&void 0!==t?t:"",template:null!==(o=e.template)&&void 0!==o?o:{id:"",name:""},urlInfo:null!==(r=e.url)&&void 0!==r?r:null,fields:s(e),parentId:null!==(c=e.parentId)&&void 0!==c?c:""}},d=e=>null==e?void 0:e.replace(/-/g,"").replace(/{/g,"").replace(/}/g,"").toLocaleUpperCase(),t=function(e,l){return e&&l&&d(e)===d(l)}},57166:function(e,l,i){"use strict";i.d(l,{Jl:function(){return a},KJ:function(){return t},QJ:function(){return r},at:function(){return d},lI:function(){return n}});var s=i(8906);let n={en:"en","zh-CN":"sc","zh-HK":"tc",pt:"pt",es:"es"},a={en:"en-US","zh-CN":"zh-CN","zh-HK":"zh-TW",es:"es-MX",pt:"pt-PT"},d=(e,l)=>{if(!e)return e;let i=e.toLowerCase();if(i.startsWith("http://localhost/")||i.startsWith("https://localhost/"))e=e.replace("http://localhost/","/").replace("https://localhost/","/");else if(i.startsWith("http://")||i.startsWith("https://"))return e;e=o(e);let a="/".concat(n[l]);return(null==e?void 0:e.startsWith("/"))&&!(null==e?void 0:e.startsWith(a))&&(e="/".concat(n[l]).concat(e)),(e=(0,s.$S)(e)).toLowerCase()},t=(e,l,i)=>{let s=e.toLowerCase();if(s.startsWith("http://")||s.startsWith("https://"))return e;e=o(e);let a="/".concat(n[l]);if(e.startsWith(a)){let l="/".concat(n[i]);e=e.replace(a,l)}return e},o=e=>{let l=e.toLowerCase();return l.startsWith("/zh-hk")?l=l.replace("/zh-hk","/tc"):l.startsWith("/zh-cn")&&(l=l.replace("/zh-cn","/sc")),l},r={en:"en","zh-CN":"cn","zh-HK":"tw",es:"en",pt:"en"}},8906:function(e,l,i){"use strict";i.d(l,{$S:function(){return v},Ay:function(){return o},G8:function(){return t},MD:function(){return u},Nc:function(){return c},R4:function(){return r}});var s=i(86878),n=i(13576),a=i(40883);let d=i.n(a)()(),t=e=>"http://#"==e||"https://#"==e||"http://javascript:void(0);"==e||"https://javascript:void(0);"==e?"#":e,o=e=>"http://#"==e||"https://#"==e?"#":"http://javascript:void(0);"==e||"https://javascript:void(0);"==e?"javascript:void(0);":e,r=async(e,l)=>{let i=await (0,s.D)(e,n.t9.LinkMenuFolderWithCssClass,l,10,!0);
1return(null==i?void 0:i.length)&&i.forEach(async e=>{if(e.id){let i=await c(e.id,l);i.length&&(e.fields.Links=i.map(e=>({fields:e.fields})))}}),i},c=async(e,l)=>await (0,s.D)(e,n.t9.Link,l,10,!0),v=e=>{if(d.trailingSlash){if(-1!==e.indexOf("?")){let[l,i]=e.split("?",2);(e=l).endsWith("/")||(e+="/"),e+="?".concat(i)}else e.endsWith("/")||(e+="/")}return e},u={CAPTCHA:v("/api/captcha"),BOOKING_SABRE_LOGIN:v("/api/booking/sabreLogin"),BOOKING_GET_UPCOMING_BOOKING:v("/api/booking/getUpcomingBooking"),PASSWORD_RESET_PASSWORD:v("/api/password/resetPassword"),PASSWORD_SEND_RESET_PASSWORD:v("/api/password/sendResetPassword"),PASSWORD_SET_PASSWORD:v("/api/password/setPassword"),PASSWORD_VERIFY_RESET_PASSWORD:v("/api/password/verifyResetPassword"),PROFILE_GET_PROFILE:v("/api/profile/getProfile"),PROFILE_LOGGED:v("/api/profile/logged"),PROFILE_SEND_OTP:v("/api/profile/sendOtp"),PROFILE_UPDATE_PROFILE:v("/api/profile/updateProfile"),PROFILE_VERIFY_AND_BIND:v("/api/profile/verifyAndBind"),REGISTRATION_CREATE_RPOFILE:v("/api/registration/createProfile"),REGISTRATION_CREATE_RPOFILE_WITH_PWD:v("/api/registration/createProfileWithPWD"),REGISTRATION_SEND_OTP:v("/api/registration/sendOtp"),REGISTRATION_VALIDATE:v("/api/registration/validate"),REGISTRATION_VERIFY_OTP:v("/api/registration/verifyOtp"),SEND_EMAIL:v("/api/sendEmail"),THC_PPA_FORM:v("/api/SwireHotels/Forms/ThcPPAForm"),THC_NEWSLETTER_FORM:v("/api/SwireHotels/Forms/ThcNewsletterForm")}},62262:function(e,l,i){"use strict";i.d(l,{AB:function(){return o},C1:function(){return t},Kc:function(){return n},NR:function(){return d}});var s=i(89741);let n={tth:"tth",tmh:"tmh",tuh:"tuh",thc:"thc"},a=[{location:"HongKong",en:"Upper House Hong Kong",zh_hk:"馿¸¯å±
èâ",zh_cn:"馿¸¯å±
èâ"},{location:"ShangHai",en:"Upper House Shanghai",zh_hk:"䏿µ·å±
èâ",zh_cn:"䏿µ·å±
èâ"},{location:"ChengDu",en:"Upper House ChengDu",zh_hk:"æé½å±
èâ",zh_cn:"æé½å±
èâ"}],d=e=>(null==e?void 0:e.toLowerCase().startsWith("/the-middle-house"))||(null==e?void 0:e.toLowerCase().startsWith("/shanghai"))?n.tmh:(null==e?void 0:e.toLowerCase().startsWith("/the-temple-house"))||(null==e?void 0:e.toLowerCase().startsWith("/chengdu"))?n.tth:(null==e?void 0:e.toLowerCase().startsWith("/the-upper-house"))||(null==e?void 0:e.toLowerCase().startsWith("/upper-house-hong-kong"))||(null==e?void 0:e.toLowerCase().startsWith("/hongkong"))?n.tuh:n.thc,t=e=>{var l;let i=null==e?void 0:null===(l=e.itemPath)||void 0===l?void 0:l.toString();return(null==i?void 0:i.toLowerCase().startsWith("/the-middle-house"))||(null==i?void 0:i.toLowerCase().startsWith("/shanghai"))?s.L.Navigation.TheMiddleHouse:(null==i?void 0:i.toLowerCase().startsWith("/the-temple-house"))||(null==i?void 0:i.toLowerCase().startsWith("/chengdu"))?s.L.Navigation.TheTempleHouse:(null==i?void 0:i.toLowerCase().startsWith("/the-upper-house"))||(null==i?void 0:i.toLowerCase().startsWith("/upper-house-hong-kong"))||(null==i?void 0:i.toLowerCase().startsWith("/hongkong"))?s.L.Navigation.TheUpperHouse:(null==i?void 0:i.toLowerCase().startsWith("/the-opposite-house"))?s.L.Navigation.TheOppositeHouse:s.L.Navigation.TheHouseCollective},o=function(e){var l;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",s=null==e?void 0:null===(l=e.itemPath)||void 0===l?void 0:l.toString();if((null==s?void 0:s.toLowerCase().startsWith("/the-middle-house"))||(null==s?void 0:s.toLowerCase().startsWith("/shanghai"))){let e=a.find(e=>"shanghai"===e.location.toLowerCase());switch(i.toLowerCase()){case"en":default:return e.en;case"zh-hk":return e.zh_hk;case"zh-cn":return e.zh_cn}}else if((null==s?void 0:s.toLowerCase().startsWith("/the-temple-house"))||(null==s?void 0:s.toLowerCase().startsWith("/chengdu"))){let e=a.find(e=>"chengdu"===e.location.toLowerCase());switch(i.toLowerCase()){case"en":default:return e.en;case"zh-hk":return e.zh_hk;case"zh-cn":return e.zh_cn}}else if((null==s?void 0:s.toLowerCase().startsWith("/the-upper-house"))||(null==s?void 0:s.toLowerCase().startsWith("/upper-house-hong-kong"))||(null==s?void 0:s.toLowerCase().startsWith("/hongkong"))){let e=a.find(e=>"hongkong"===e.location.toLowerCase());switch(i.toLowerCase()){case"en":default:return e.en;case"zh-hk":return e.zh_hk;case"zh-cn":return e.zh_cn}}return""}},94916:function(e,l,i){"use strict";i.d(l,{$A:function(){return o},OE:function(){return p},VO:function(){return x},YL:function(){return u},ip:function(){return m},is:function(){return v},k0:function(){return c},mN:function(){return r},mo:function(){return h},tr:function(){return d},xK:function(){return f},y7:function(){return t}}),i(42474),i(4285);var s=i(74237);i(57398);var n=i(83454),a=i(48764).Buffer;let d={OTP_SEND_SMS:"/api/v1/OTP/SendSMS/en/UpperHouseWebsite",OTP_SEND_EMAIL:"/api/v1/OTP/SendEmail/en/UpperHouseWebsite",OTP_VERIFY_CODE:"/api/v1/OTP/VerifyOTP",PROFILE:"/api/v1/Profile",PROFILE_WITH_PWD:"/api/v2/Profile",PROFILE_ERIFY_AND_BIND_EMAIL:"/api/v1/Profile/VerifyAndBindEmail",PROFILE_VERIFY_AND_BIND_PHONE:"/api/v1/Profile/VerifyAndBindPhone",PROFILE_GET_UPCOMING_BOOKINGS:"/api/v1/Bookings/Upcoming",LOGIN_SABRE:"/api/v1/Login/Sabre",LOGIN_SABRE_REFRESH:"/api/v1/Login/Sabre/Refresh",REFRESH_SABRE_TOKEN:"/api/v1/Login/Sabre/Refresh",VALIDATE_PHONE_NUMBER:"/api/v1/Validation/ValidatePhoneNumber",VALIDATE_EMAIL:"/api/v1/Validation/ValidateEmail",SEND_RESET_PWD:"/api/v2/login/reset/request/en/UpperHouseWebsite",VERIFY_RESET_PWD:"/api/v2/login/reset/verify",RESET_PWD:"/api/v2/login/reset/adb2c",SET_PWD:"/api/v2/Profile/password",SIGN_IN_CALLBACK:"/member/member-offers",SIGN_UP_CALLBACK:"/registration",SIGN_IN_PAGE:"/login",SIGN_IN_ERROR_PAGE:"/login/error",LOGIN_TOKEN:"/api/auth/callback/azureb2c-pwd"},t=[{code:"852",label:"+852"},{code:"86",label:"+86"},{code:"1",label:"+1"},{code:"44",label:"+44"},{code:"65",label:"+65"},{code:"853",label:"+853"},{code:"886",label:"+886"},{code:"1242",label:"+1242"},{code:"1246",label:"+1246"},{code:"1264",label:"+1264"},{code:"1268",label:"+1268"},{code:"1284",label:"+1284"},{code:"1340",label:"+1340"},{code:"1345",label:"+1345"},{code:"1441",label:"+1441"},{code:"1473",label:"+1473"},{code:"1599",label:"+1599"},{code:"1649",label:"+1649"},{code:"1664",label:"+1664"},{code:"1670",label:"+1670"},{code:"1671",label:"+1671"},{code:"1684",label:"+1684"},{code:"1758",label:"+1758"},{code:"1767",label:"+1767"},{code:"1784",label:"+1784"},{code:"1809",label:"+1809"},{code:"1868",label:"+1868"},{code:"1869",label:"+1869"},{code:"1876",label:"+1876"},{code:"20",label:"+20"},{code:"212",label:"+212"},{code:"213",label:"+213"},{code:"216",label:"+216"},{code:"218",label:"+218"},{code:"220",label:"+220"},{code:"221",label:"+221"},{code:"222",label:"+222"},{code:"223",label:"+223"},{code:"224",label:"+224"},{code:"225",label:"+225"},{code:"226",label:"+226"},{code:"227",label:"+227"},{code:"228",label:"+228"},{code:"229",label:"+229"},{code:"230",label:"+230"},{code:"231",label:"+231"},{code:"232",label:"+232"},{code:"233",label:"+233"},{code:"234",label:"+234"},{code:"235",label:"+235"},{code:"236",label:"+236"},{code:"237",label:"+237"},{code:"238",label:"+238"},{code:"239",label:"+239"},{code:"240",label:"+240"},{code:"241",label:"+241"},{code:"242",label:"+242"},{code:"243",label:"+243"},{code:"244",label:"+244"},{code:"245",label:"+245"},{code:"248",label:"+248"},{code:"249",label:"+249"},{code:"250",label:"+250"},{code:"251",label:"+251"},{code:"252",label:"+252"},{code:"253",label:"+253"},{code:"254",label:"+254"},{code:"255",label:"+255"},{code:"256",label:"+256"},{code:"257",label:"+257"},{code:"258",label:"+258"},{code:"260",label:"+260"},{code:"261",label:"+261"},{code:"262",label:"+262"},{code:"263",label:"+263"},{code:"264",label:"+264"},{code:"265",label:"+265"},{code:"266",label:"+266"},{code:"267",label:"+267"},{code:"268",label:"+268"},{code:"269",label:"+269"},{code:"27",label:"+27"},{code:"290",label:"+290"},{code:"291",label:"+291"},{code:"297",label:"+297"},{code:"298",label:"+298"},{code:"299",label:"+299"},{code:"30",label:"+30"},{code:"31",label:"+31"},{code:"32",label:"+32"},{code:"33",label:"+33"},{code:"34",label:"+34"},{code:"350",label:"+350"},{code:"351",label:"+351"},{code:"352",label:"+352"},{code:"353",label:"+353"},{code:"354",label:"+354"},{code:"355",label:"+355"},{code:"356",label:"+356"},{code:"357",label:"+357"},{code:"358",label:"+358"},{code:"359",label:"+359"},{code:"36",label:"+36"},{code:"370",label:"+370"},{code:"371",label:"+371"},{code:"372",label:"+372"},{code:"373",label:"+373"},{code:"374",label:"+374"},{code:"375",label:"+375"},{code:"376",label:"+376"},{code:"377",label:"+377"},{code:"378",label:"+378"},{code:"380",label:"+380"},{code:"381",label:"+381"},{code:"382",label:"+382"},{code:"385",label:"+385"},{code:"386",label:"+386"},{code:"387",label:"+387"},{code:"389",label:"+389"},{code:"39",label:"+39"},{code:"40",label:"+40"},{code:"41",label:"+41"},{code:"420",label:"+420"},{code:"421",label:"+421"},{code:"423",label:"+423"},{code:"43",label:"+43"},{code:"45",label:"+45"},{code:"46",label:"+46"},{code:"47",label:"+47"},{code:"48",label:"+48"},{code:"49",label:"+49"},{code:"500",label:"+500"},{code:"501",label:"+501"},{code:"502",label:"+502"},{code:"503",label:"+503"},{code:"504",label:"+504"},{code:"505",label:"+505"},{code:"506",label:"+506"},{code:"507",label:"+507"},{code:"508",label:"+508"},{code:"509",label:"+509"},{code:"51",label:"+51"},{code:"52",label:"+52"},{code:"53",label:"+53"},{code:"54",label:"+54"},{code:"55",label:"+55"},{code:"56",label:"+56"},{code:"57",label:"+57"},{code:"58",label:"+58"},{code:"590",label:"+590"},{code:"591",label:"+591"},{code:"592",label:"+592"},{code:"593",label:"+593"},{code:"595",label:"+595"},{code:"597",label:"+597"},{code:"598",label:"+598"},{code:"599",label:"+599"},{code:"60",label:"+60"},{code:"61",label:"+61"},{code:"62",label:"+62"},{code:"63",label:"+63"},{code:"64",label:"+64"},{code:"66",label:"+66"},{code:"670",label:"+670"},{code:"672",label:"+672"},{code:"673",label:"+673"},{code:"674",label:"+674"},{code:"675",label:"+675"},{code:"676",label:"+676"},{code:"677",label:"+677"},{code:"678",label:"+678"},{code:"679",label:"+679"},{code:"680",label:"+680"},{code:"681",label:"+681"},{code:"682",label:"+682"},{code:"683",label:"+683"},{code:"685",label:"+685"},{code:"686",label:"+686"},{code:"687",label:"+687"},{code:"688",label:"+688"},{code:"689",label:"+689"},{code:"690",label:"+690"},{code:"691",label:"+691"},{code:"692",label:"+692"},{code:"7",label:"+7"},{code:"81",label:"+81"},{code:"82",label:"+82"},{code:"84",label:"+84"},{code:"850",label:"+850"},{code:"855",label:"+855"},{code:"856",label:"+856"},{code:"870",label:"+870"},{code:"880",label:"+880"},{code:"90",label:"+90"},{code:"91",label:"+91"},{code:"92",label:"+92"},{code:"93",label:"+93"},{code:"94",label:"+94"},{code:"95",label:"+95"},{code:"960",label:"+960"},{code:"961",label:"+961"},{code:"962",label:"+962"},{code:"963",label:"+963"},{code:"964",label:"+964"},{code:"965",label:"+965"},{code:"966",label:"+966"},{code:"967",label:"+967"},{code:"968",label:"+968"},{code:"970",label:"+970"},{code:"971",label:"+971"},{code:"972",label:"+972"},{code:"973",label:"+973"},{code:"974",label:"+974"},{code:"975",label:"+975"},{code:"976",label:"+976"},{code:"977",label:"+977"},{code:"98",label:"+98"},{code:"992",label:"+992"},{code:"993",label:"+993"},{code:"994",label:"+994"},{code:"995",label:"+995"},{code:"996",label:"+996"},{code:"998",label:"+998"}],o=[{code:"AAMR",label:"/SSO/Titles/AAMR"},{code:"AAMS",label:"/SSO/Titles/AAMS"},{code:"AAMRS",label:"/SSO/Titles/AAMRS"},{code:"DR",label:"/SSO/Titles/DR"}];s.W.SSO.Global.CONSENT_PRIVACY_POLICY,s.W.SSO.Global.CONSENT_MANAGEMENT_PII,s.W.SSO.Global.CONSENT_PROVISION_PII,s.W.SSO.Global.CONSENT_USE_PII;let r=[{code:"use-pii",label:s.W.SSO.Consent.CONSENT_USE_PII,required:!1},{code:"privacy-policy",label:s.W.SSO.Consent.CONSENT_PRIVACY_POLICY,required:!0},{code:"provision-pii",label:s.W.SSO.Consent.CONSENT_PROVISION_PII,required:!0}],c=[{code:"art-and-design",label:s.W.SSO.Interest.ART},{code:"music",label:s.W.SSO.Interest.MUSIC},{code:"wellness",label:s.W.SSO.Interest.DESIGN},{code:"fashion",label:s.W.SSO.Interest.FASHION},{code:"cars",label:s.W.SSO.Interest.CARS},{code:"watches",label:s.W.SSO.Interest.WATCHES},{code:"jewellery",label:s.W.SSO.Interest.JEWELLERY},{code:"sustainability",label:s.W.SSO.Interest.SUSTAINABILITY},{code:"destination-travel",label:s.W.SSO.Interest.DESTINATION_TRAVEL},{code:"sports-fitness",label:s.W.SSO.Interest.SPORT_FITNESS},{code:"beauty",label:s.W.SSO.Interest.BEAUTY},{code:"diversity-inclusion",label:s.W.SSO.Interest.DIVERSITY_INCLUSION},{code:"restaurants-bars",label:s.W.SSO.Interest.RESTAURANTS_BARS}],v={AZURE_AD_B2C_TENANT_NAME:"swirehotelssso2",AZURE_AD_B2C_CLIENT_ID:"cbea5314-ff3b-47de-877c-60ba6c9b4831",AZURE_AD_B2C_CLIENT_SECRET:n.env.AZURE_AD_B2C_CLIENT_SECRET||"45M8Q~~aSzCr3lYjzcGsDTKLQxHlZBiYHTNfJcUK",AZURE_AD_B2C_PRIMARY_USER_FLOW:"B2C_1A_THC_EMAIL_SI",AZURE_AD_B2C_PHONE_USER_FLOW:"B2C_1A_THC_PH_SI",REGEX_EMAIL:a.from("XlthLXpBLVowLTldW2EtekEtWjAtOS5fJSstXSpAW2EtekEtWjAtOV0oKD8hLipbLi1dezJ9KVthLXpBLVowLTkuLV0qW2EtekEtWjAtOV0pKlwuW2EtekEtWl17Mix9JA","base64").toString("utf8"),REGEX_ENAME:a.from("XltBLVphLXrDocOpw63Ds8O6w7HDp8OBw4nDjcOTw5rDkcOHICdcLV0rJA","base64").toString("utf8")},u={URL:"https://reservations.upperhouse.com",SHG_CHAIN_ID:"28804",HOTEL:"27299"},m=[{code:"Reserved",label:"SSO/Global/Reserved"},{code:"Cancel",label:"SSO/Global/Cancel-lowercase"}],x=[{code:"E000",label:"SSO/Errors/GeneralError"},{code:"E001",label:"SSO/Errors/MandatoryFieldError"},{code:"E002",label:"SSO/Errors/EncryptionError"},{code:"E003",label:"SSO/Errors/ApiAttributeError"},{code:"E004",label:"SSO/Errors/UnauthorizedAccess"},{code:"E101",label:"SSO/Errors/PhoneNumberError"},{code:"E102",label:"SSO/Errors/EmailError"},{code:"E103",label:"SSO/Errors/PhoneNumberOtpVerifiedError"},{code:"E104",label:"SSO/Errors/EmailOtpVerifiedError"},{code:"E200",label:"SSO/Errors/UserProfileNotFoundError"},{code:"E201",label:"SSO/Errors/CreateProfileError"},{code:"E202",label:"SSO/Errors/UpdateProfileError"},{code:"E203",label:"SSO/Errors/BindEmailExistsError"},{code:"E204",label:"SSO/Errors/BindPhoneExistsError"},{code:"E205",label:"SSO/Errors/MismatchOtpChannelError"},{code:"E301",label:"SSO/Errors/SmsProviderError"},{code:"E302",label:"SSO/Errors/EmailProviderError"},{code:"E303",label:"SSO/Errors/Adb2cProviderError"},{code:"E304",label:"SSO/Errors/SendSmsOtpError"},{code:"E305",label:"SSO/Errors/SendEmailOtpError"},{code:"E306",label:"SSO/Errors/OtpRateLimitExceed"},{code:"E307",label:"SSO/Errors/OtpNotMatch"},{code:"E308",label:"SSO/Errors/OtpSignatureNotFound"},{code:"E309",label:"SSO/Errors/MismatchOtpEmailAndRegistrationEmail"},{code:"E310",label:"SSO/Errors/MismatchOtpPhoneAndRegistrationPhone"},{code:"E311",label:"SSO/Errors/CreateAdb2cAccountError"},{code:"E313",label:"SSO/Errors/OTPCodeExpired"},{code:"E401",label:"SSO/Errors/SabreProfileSyncError"},{code:"E402",label:"SSO/Errors/SabreLoginTokenError"},{code:"E107",label:"SSO/Errors/107IdNotFound"},{code:"E108",label:"SSO/Errors/108Completed"},{code:"E109",label:"SSO/Errors/109InvalidLink"},{code:"E110",label:"SSO/Errors/110NonOptedEmail"},{code:"E316",label:"SSO/Errors/E316"},{code:"E317",label:"SSO/Errors/E317"}],p={en:"en","zh-CN":"zh-hans","zh-HK":"zh-hant",es:"es-MX",pt:"pt-PT"},h=()=>!0,f={en:{SLIDE_TIP:"Please slide to verify"},cn:{SLIDE_TIP:"请å峿»å¨å®æéªè¯"},tw:{SLIDE_TIP:"è«å峿»å宿é©è"}}},46651:function(e){e.exports={"home-house":"TmhContentBlockCustom_home-house__rp6b4","home-house-slider":"TmhContentBlockCustom_home-house-slider__UQzCz","swiper-slide":"TmhContentBlockCustom_swiper-slide__LFcpn","img-wrap":"TmhContentBlockCustom_img-wrap__N5srF","home-house-slider--r":"TmhContentBlockCustom_home-house-slider--r__QzSxc","home-house-slider--l":"TmhContentBlockCustom_home-house-slider--l__wd3R8","content-wrapper":"TmhContentBlockCustom_content-wrapper__xVC9R","btn--white":"TmhContentBlockCustom_btn--white__zi_MO","home-house-content-slider":"TmhContentBlockCustom_home-house-content-slider__RXwFM"}},86554:function(e){e.exports={"video-cover":"AliVideoPlayer_video-cover__crKCn","play-btn-center":"AliVideoPlayer_play-btn-center__Pc_xW"}},53870:function(e){e.exports={"cta-type-b":"styles_cta-type-b___4xVi"}},31957:function(){},81695:
1function(){},45589:function(){},12532:function(){},85811:function(){},62828:function(){},47703:function(){},8921:function(){}}]);
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.