1!function(e,t){var a=function(){new LazyLoad({elements_selector:".lazyload",load_delay:300})},r={breakpointTimer:-1,init:function(){if(t.documentElement.className+="ontouchstart"in t.documentElement?" touch":" no-touch","function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){"use strict";if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var a=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(null!=n)for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(a[i]=n[i])}return a},writable:!0,configurable:!0}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),e.addEventListener("resize",r.breakpointResize),r.breakpointResize(),"function"==typeof e.CustomEvent)return!1;function a(e,a){a=a||{bubbles:!1,cancelable:!1,detail:void 0};var r=t.createEvent("CustomEvent");return r.initCustomEvent(e,a.bubbles,a.cancelable,a.detail),r}a.prototype=e.Event.prototype,e.CustomEvent=a},copy2clipboard:function(e){var a=e.getAttribute("href")||"";if(a&&0!==a.length){var n=t.getElementById("aux");n||((n=t.createElement("textarea")).setAttribute("id","aux"),n.setAttribute("readonly",!0),n.setAttribute("contenteditable",!0),n.className="aux-input",t.body.appendChild(n)),n.value=a;var i=!1;try{navigator.userAgent.match(/ipad|iphone/i)?r.selectText(n):n.select(),t.execCommand("copy"),i=!0}catch(e){}return t.body.removeChild(n),i}},selectText:function(a){var r,n;(r=t.createRange()).selectNodeContents(a),(n=e.getSelection()).removeAllRanges(),n.addRange(r),a.setSelectionRange(0,99999)},getCssProp:function(t,a){return t?e.getComputedStyle(t).getPropertyValue(a):null},breakpointResize:function(){clearTimeout(r.breakpointTimer),r.breakpointTimer=setTimeout(function(){var a=t.querySelector("body"),n=a.getAttribute("data-vp"),i=a.getAttribute("data-prev-vp");a.setAttribute("data-prev-vp",n);var l=t.querySelector(".helper");if("none"===r.getCssProp(l.querySelector(".xs"),"display")?a.setAttribute("data-vp","xs"):"none"===r.getCssProp(l.querySelector(".sm"),"display")?a.setAttribute("data-vp","sm"):"none"===r.getCssProp(l.querySelector(".md"),"display")?a.setAttribute("data-vp","md"):a.setAttribute("data-vp","lg"),n!==i){var o=new CustomEvent("breakpointDidChange",{bubbles:!1,details:{pvp:i,vp:n}});e.dispatchEvent(o)}},100)}},n=function(){if(0!==t.getElementsByClassName("lax").length){lax.setup();var a=function(){lax.update(e.scrollY),e.requestAnimationFrame(a)};e.requestAnimationFrame(a)}};t.addEventListener("DOMContentLoaded",function(){r.init(),a(),n(),t.querySelector("html.no-js").classList.remove("no-js")},!1)}(window,document),function(e,t){var a={init:function(){t.addEventListener("keyup",function(t){27===(t=t||e.event).keyCode&&a.hideNav()},!1);var r=t.getElementById("navopener");r.addEventListener("change",function(e){e.preventDefault();var a=t.getElementsByTagName("html")[0];r.checked?(a.classList.add("no-scroll"),a.scrollTop=0,t.getElementsByClassName("search-form")[0].classList.remove("is-active")):a.classList.remove("no-scroll")},!1),Array.prototype.forEach.call(t.querySelectorAll(".touch .header .dropdown .dropdown-trigger"),function(e){e.addEventListener("click",function(a){a.preventDefault(),e.contains(a.target)&&(a.stopPropagation(),t.querySelector(".header .dropdown").classList.toggle("is-active"))},!1)}),Array.prototype.forEach.call(t.querySelectorAll(".touch body"),function(e){e.addEventListener("touchstart",function(e){e.preventDefault(),t.querySelector(".header .dropdown").contains(e.target)||t.querySelector(".header .dropdown").classList.remove("is-active")},!1)}),Array.prototype.forEach.call(t.querySelectorAll(".navbar-start .nav-item--parent"),function(e){e.querySelector(".navbar-item__link").addEventListener("click",function(e){e.preventDefault(),e.target.parentNode.classList.toggle("open")})}),Array.prototype.forEach.call(t.querySelectorAll(".navbar-item__sub .navbar-item"),function(e){e&&e.classList.contains("active")&&e.parentNode.parentNode.classList.add("active")})},hideNav:function(){var e=t.getElementById("navopener");e.checked&&(e.checked=!1,t.getElementsByTagName("html")[0].classList.remove("no-scroll"))}};t.addEventListener("DOMContentLoaded",function(){a.init()},!1)}(window,document),function(e,t){var a={init:function(){function r(e){e.preventDefault();var a=t.getElementsByClassName("search-form")[0];if(a.classList.toggle("is-active"),a.classList.contains("is-active")){a.getElementsByClassName("input")[0].focus();var r=t.getElementById("navopener");r.checked&&(r.checked=!1,t.getElementsByTagName("html")[0].classList.remove("no-scroll"))}else a.getElementsByClassName("input")[0].blur()}t.addEventListener("keyup",function(t){27===(t=t||e.event).keyCode&&a.hideSearch()},!1);var n=t.getElementsByClassName("search-button");Array.prototype.forEach.call(n,function(e,t){e.addEventListener("click",r,!1)}),t.getElementsByClassName("search-dismiss")[0].addEventListener("click",function(e){e.preventDefault(),a.hideSearch()},!1)},hideSearch:function(){t.getElementsByClassName("search-form")[0].classList.remove("is-active")}};t.addEventListener("DOMContentLoaded",function(){a.init()},!1)}(window,document),function(e,t){var a=0,r=function(){Array.prototype.forEach.call(t.querySelectorAll('.footer__sns a[href="#"]'),function(e){e.addEventListener("click",function(e){e.preventDefault()},!1)}),Array.prototype.forEach.call(t.querySelectorAll(".touch .footer .dropdown .dropdown-trigger"),function(e){e.addEventListener("click",function(a){a.preventDefault(),e.contains(a.target)&&(a.stopPropagation(),t.querySelector(".footer .dropdown").classList.toggle("is-active"))},!1)}),Array.prototype.forEach.call(t.querySelectorAll(".touch body"),function(e){e.addEventListener("touchstart",function(e){e.preventDefault(),t.querySelector(".footer .dropdown").contains(e.target)||t.querySelector(".footer .dropdown").classList.remove("is-active")},!1)})};t.addEventListener("DOMContentLoaded",function(){r()},!1),t.addEventListener("scroll",function(){var r=t.querySelector(".footer__shortcut");if(r){var n=e.pageYOffset||t.documentElement.scrollTop;Math.abs(n-a)<20||(n>a&&e.outerWidth<768?r.classList.add("hidden"):r.classList.remove("hidden"),a=n)}},!1)}(window,document),function(e,t){var a={init:function(e){var r=t.getElementsByClassName(e);0!==r.length&&a.enableInteraction(r)},enableInteraction:function(a){function r(a,r){r.preventDefault(),setTimeout(function(a){var r,n=t.getElementsByClassName("header")[0],i=a.offsetTop+a.clientHeight;"absolute"!==((r=n).currentStyle?r.currentStyle.position:getComputedStyle(r,null).position)&&(i+=n.clientHeight),e.scroll({top:i,behavior:"smooth"})},10,a)}for(var n=0,i=a.length;n<i;n++){var l=a[n].getElementsByClassName("scroll-block");1===l.length&&l[0].addEventListener("click",r.bind(null,a[n]),!1)}}};t.addEventListener("DOMContentLoaded",function(){a.init("landing-hero")},!1)}(window,document),function(e,t,a){var r={timers:[],singleCarouselInit:function(e){var r=t.getElementsByClassName(e);Array.prototype.forEach.call(r,function(e,t){var r=e.getElementsByClassName("swiper-slide").length>1;
1new a(e,{spaceBetween:0,centeredSlides:!0,slidesPerView:"auto",loop:r,grabCursor:r,simulateTouch:r,uniqueNavElements:!0,preloadImages:!1,lazy:{loadPrevNext:!0,loadPrevNextAmount:1,loadOnTransitionStart:!0},pagination:r?{el:e.querySelector(".swiper-pagination"),clickable:!0}:{},navigation:r?{nextEl:e.querySelector(".swiper-button-next"),prevEl:e.querySelector(".swiper-button-prev")}:{}}),r||(e.querySelector(".swiper-pagination").classList.add("disabled"),e.querySelector(".swiper-button-next").classList.add("disabled"),e.querySelector(".swiper-button-prev").classList.add("disabled"))},{})},doubleCarouselInit:function(e,r,n){var i=t.getElementsByClassName(e);Array.prototype.forEach.call(i,function(e,t){var r=e.getElementsByClassName(this.imgCss)[0].getElementsByClassName("swiper-container")[0],n=e.getElementsByClassName(this.txtCss)[0].getElementsByClassName("swiper-container")[0],i=n.getElementsByClassName("swiper-slide").length>1,l=new a(n,{spaceBetween:0,centeredSlides:!0,slidesPerView:1,loop:i,grabCursor:i,simulateTouch:i,uniqueNavElements:!0,pagination:i?{el:e.querySelector(".swiper-pagination"),clickable:!0}:{},navigation:i?{nextEl:e.querySelector(".swiper-button-next"),prevEl:e.querySelector(".swiper-button-prev")}:{}}),o=new a(r,{spaceBetween:0,centeredSlides:!0,slidesPerView:1,loop:i,grabCursor:i,uniqueNavElements:!0,preloadImages:!1,lazy:{loadPrevNext:!0,loadPrevNextAmount:1,loadOnTransitionStart:!0}});o.on("slideChange",function(){o.activeIndex!==l.activeIndex&&o.realIndex!==l.realIndex&&l.slideTo(o.activeIndex,300,null)}),l.on("slideChange",function(){o.activeIndex!==l.activeIndex&&o.realIndex!==l.realIndex&&o.slideTo(l.activeIndex,300,null)})},{imgCss:r,txtCss:n})},galleryCarouselInit:function(e,r){var n=t.getElementById(e),i=t.getElementById(r);if(n&&i){var l=i.querySelector(".modal-background"),o=i.querySelector(".modal-close");i.style.display="flex",i.style.opacity=0,l.addEventListener("click",function(){i.classList.remove("is-active")}),o.addEventListener("click",function(){i.classList.remove("is-active")});var s=n.querySelector(".swiper-container"),c=i.querySelector(".swiper-container");if(s){var u=s.getElementsByClassName("swiper-slide").length>1;new a(s,{spaceBetween:0,centeredSlides:!1,slidesPerView:1,loop:u,grabCursor:u,simulateTouch:u,uniqueNavElements:!0,preloadImages:!1,lazy:{loadPrevNext:!0,loadPrevNextAmount:2,loadOnTransitionStart:!0},breakpoints:{768:{slidesPerView:3}},navigation:u?{nextEl:s.querySelector(".swiper-button-next"),prevEl:s.querySelector(".swiper-button-prev")}:{}});if(u||(s.querySelector(".swiper-button-next").classList.add("disabled"),s.querySelector(".swiper-button-prev").classList.add("disabled")),c){var d=c.getElementsByClassName("swiper-slide").length>1,p=new a(c,{spaceBetween:0,centeredSlides:!0,slidesPerView:"auto",loop:d,grabCursor:d,simulateTouch:d,uniqueNavElements:!0,preloadImages:!1,autoHeight:!0,lazy:{loadPrevNext:!0,loadPrevNextAmount:2,loadOnTransitionStart:!0},breakpoints:{768:{spaceBetween:60}},navigation:d?{nextEl:c.querySelector(".swiper-button-next"),prevEl:c.querySelector(".swiper-button-prev")}:{}});d||(c.querySelector(".swiper-button-next").classList.add("disabled"),c.querySelector(".swiper-button-prev").classList.add("disabled")),i.removeAttribute("style");for(var v=s.querySelectorAll(".modal-open"),f=0;f<v.length;f++){v[f].addEventListener("click",function(e){e.preventDefault(),i.classList.add("is-active"),i.querySelector(".swiper-wrapper").focus();var t=this.parentNode.parentNode.getAttribute("data-swiper-slide-index");p.slideTo(t,300,null)})}}}}},offersCarouselInit:function(e){var r=t.getElementsByClassName(e);Array.prototype.forEach.call(r,function(e,t){var r=e.getElementsByClassName("swiper-slide").length>1;new a(e,{spaceBetween:0,centeredSlides:!0,slidesPerView:"auto",loop:r,grabCursor:r,simulateTouch:r,uniqueNavElements:!0,preloadImages:!1,lazy:{loadPrevNext:!0,loadPrevNextAmount:1,loadOnTransitionStart:!0},pagination:r?{el:e.querySelector(".swiper-pagination"),clickable:!0}:{},navigation:r?{nextEl:e.querySelector(".swiper-button-next"),prevEl:e.querySelector(".swiper-button-prev")}:{}}),r||(e.querySelector(".swiper-pagination").classList.add("disabled"),e.querySelector(".swiper-button-next").classList.add("disabled"),e.querySelector(".swiper-button-prev").classList.add("disabled"))},{})},artCultureCarouselInit:function(a){var n=t.getElementsByClassName(a);Array.prototype.forEach.call(n,function(a){var n=a.querySelectorAll(".swiper-slide").length,i=a.querySelector(".swiper-wrapper");r.timers.push(NaN),a.dataset.timer=r.timers.length-1,i.dataset.slideLen=n,e.addEventListener("breakpointDidChange",function(){var e=a.dataset.timer,i=t.querySelector("body");i.getAttribute("data-prev-vp")!==i.getAttribute("data-vp")&&(clearTimeout(r.timers[e]),r.timers[e]=this.setTimeout(function(e,t){r.createArtCultureSwiper(e,t)},250,a,n))}),r.createArtCultureSwiper(a,n)},{})},createArtCultureSwiper:function(t,n){var i=t.dataset.timer;
1if(clearTimeout(r.timers[i]),e.innerWidth>=1024&&n<=4||e.innerWidth>=768&&n<=2||n<=1)try{Array.prototype.forEach.call(t.querySelectorAll(".swiper-slide-duplicate,.swiper-pagination-bullet"),function(e){e.parentNode.removeChild(e)}),t.swiper.destroy(!0,!0),null}catch(e){}else{var l=t.querySelectorAll(".responsive-img");Array.prototype.forEach.call(l,function(e){e.classList.remove("lazyload"),e.classList.remove("loading"),e.classList.add("swiper-lazy")});var o={slidesPerView:1,slidesPerGroup:1,centeredSlides:!1,spaceBetween:0,loop:!1,noSwiping:!1,lazy:{loadPrevNext:!0,loadPrevNextAmount:1,loadOnTransitionStart:!0},pagination:{el:t.querySelector(".swiper-pagination"),clickable:!0},breakpoints:{320:{loop:n>1,slidesPerView:"auto",slidesPerGroup:1,loopedSlides:n>1?2:null,lazy:{loadPrevNextAmount:1}},768:{loop:n>2,slidesPerView:2,slidesPerGroup:2,loopedSlides:n>2?4:null,lazy:{loadPrevNextAmount:2}},1024:{loop:n>4,slidesPerView:4,slidesPerGroup:4,loopedSlides:n>4?8:null,lazy:{loadPrevNextAmount:4}}},init:!1};new a(t,o).init()}}};t.addEventListener("DOMContentLoaded",function(){r.singleCarouselInit("single-carousel__container"),r.offersCarouselInit("offers-carousel__container"),r.doubleCarouselInit("double-carousel","double-carousel__img-container","double-carousel__txt-container"),r.galleryCarouselInit("gallery-carousel","gallery-modal"),r.artCultureCarouselInit("art-culture-carousel__container")},!1)}(window,document,Swiper),function(e,t){var a={resetTimer:null,init:function(){a.ajaxBinding(".ajax-form")},validate:function(e){for(var t=e.querySelectorAll("[data-validate]"),r=!0,n=0,i=t.length;n<i;n++)for(var l=t[n],o=l.getAttribute("data-validate").split("|"),s=0,c=o.length;s<c;s++)if("function"==typeof a[o[s]]&&!a[o[s]](l)){l.classList.contains("file-input")?l.parentNode.parentNode.classList.add("is-danger"):l.classList.contains("cb")?l.parentNode.classList.add("is-danger"):l.classList.add("is-danger");var u=l.closest(".field"),d=u&&u.querySelector(".validation-text");d&&d.classList.remove("is-hidden"),r=!1}return r},clearAllFlaggedInputs:function(e){for(;e&&e.length>0;)e[e.length-1].classList.remove("is-danger")},isEmail:function(e){var t=e.value;if(""===t.trim())return!1;return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t.trim().toLowerCase())},isChecked:function(e){return e.checked},ajaxBinding:function(e){function r(e){e.preventDefault();var r=this.closest("form");if(a.clearAllFlaggedInputs(r.getElementsByClassName("is-danger")),Array.prototype.forEach.call(r.querySelectorAll(".validation-text"),function(e){e.classList.add("is-hidden")}),!a.validate(r)){var n=r.getElementsByClassName("is-danger");return n.length>0&&n[0].focus(),!1}var i=r.getAttribute("method")||"GET",l=r.getAttribute("action")||"",o={subscriptionEmail:t.getElementById("subscription-email").value,privacyPolicyCheckbox:t.getElementById("privacy-policy").checked?"on":"",sensitivePersonalInfoCheckbox:t.getElementById("sensitive-personal-info").checked?"on":"",provisionPIInsideCheckbox:t.getElementById("provision-pi-inside").checked?"on":"",provisionPIOutsideCheckbox:t.getElementById("provision-pi-outside").checked?"on":""},s=r.getAttribute("data-fail-content"),c=r.querySelector(".subscription-feedback"),u=c&&c.querySelector(".hint-text");return c&&c.classList.add("is-hidden"),""===l||r.classList.contains("is-disabled")||(r.classList.add("is-disabled"),axios({method:i,url:l,data:o}).then(function(e){c&&u&&(u.innerHTML=e.data.msgContent,u.classList.remove("has-text-danger"),Array.prototype.forEach.call(r.querySelectorAll(".field:not(.subscription-feedback)"),function(e){e.classList.add("is-hidden")}),c.classList.remove("is-hidden")),r.classList.remove("is-disabled")}).catch(function(e){c&&u&&(u.innerHTML=s,u.classList.add("has-text-danger"),c.classList.remove("is-hidden")),r.classList.remove("is-disabled")})),!1}var n=t.querySelectorAll(e);Array.prototype.forEach.call(n,function(e){e.addEventListener("submit",r,!1),Array.prototype.forEach.call(e.querySelectorAll("[data-validate]"),function(t){var r="checkbox"===t.type?"change":"input";t.addEventListener(r,function(){!function(e){if(e.getAttribute("data-validate").split("|").every(function(t){return"function"!=typeof a[t]||a[t](e)})){e.classList.contains("cb")?e.parentNode.classList.remove("is-danger"):e.classList.remove("is-danger");var t=e.closest(".field"),r=t&&t.querySelector(".validation-text");r&&r.classList.add("is-hidden")}}(t);var r=e.querySelector(".subscription-feedback");r&&!r.classList.contains("is-hidden")&&(r.classList.add("is-hidden"),Array.prototype.forEach.call(e.querySelectorAll(".field:not(.subscription-feedback)"),function(e){e.classList.remove("is-hidden")}))},!1)})})}};t.addEventListener("DOMContentLoaded",function(){a.init()},!1)}(window,document),function(e,t){var a={init:function(){if(!(t.getElementsByClassName("map").length<=0)){e.initMap=a.initMap;var r=t.getElementsByTagName("head")[0],n=t.getElementsByClassName("map")[0].getAttribute("data-apikey"),i=t.createElement("script");
1i.type="text/javascript",i.src="https://maps.googleapis.com/maps/api/js?key="+n+"&callback=initMap&loading=async&v=weekly&libraries=places,geometry,marker",i.async=!0,i.defer=!0,r.appendChild(i),a.initToggleContent()}},maps:[],focusLabel:null,initMap:function(){var e=t.getElementsByClassName("map");Array.prototype.forEach.call(e,function(e,r,n){var i=this.mapHandler.parseXY(e.getAttribute("data-xy")),l=e.getAttribute("id")||"",o=[],s=null,c=a.createMap({mapHolder:e.getElementsByClassName("map__holder")[0],origin:i,zoom:parseInt(e.getAttribute("data-z"),10)||18}),u=this.mapHandler.createMarker({position:i,title:e.getAttribute("data-title")||"",dataType:null,contentString:null,iconPath:e.getAttribute("data-icon-path")||null,map:c,content:'<div class="infowin__content">'+e.getAttribute("data-title")||"</div>"}),d=e.getAttribute("data-max-width")||280;if(o.push({marker:u,dataType:null,content:'<div class="infowin__content">'+e.getAttribute("data-title")||"</div>",maxWidth:d}),a.maps.push({id:l,map:c,markers:o}),e.getAttribute("data-related")){var p=t.getElementById(e.getAttribute("data-related")).getElementsByClassName(e.getAttribute("data-poi"));s=p[0].getAttribute("data-type"),this.markers=o,this.infoWinMaxWidth=d,this.mapIndex=r,Array.prototype.forEach.call(p,this.parsePanes,this)}a.toggleMarker(l,s)},{parsePanes:function(e,t,a,...r){var n=e.getElementsByClassName("map-poi__marker");this.dataType=e.getAttribute("data-type"),Array.prototype.forEach.call(n,this.parsePins,this)},parsePins:function(e,t,r){var n=a.parseXY(e.getAttribute("data-xy")),i=this.mapHandler.createMarker({position:n,title:e.getAttribute("data-title")||"",dataType:this.dataType,iconPath:e.getAttribute("data-icon-path")||null,map:this.mapHandler.maps[this.mapIndex].map});this.markers.push({marker:i,dataType:this.dataType,content:'<div class="infowin__content">'+e.innerHTML+"</div>",maxWidth:this.infoWinMaxWidth})},mapHandler:a}),t.body.addEventListener("click",function(e){var r=e.target;if(r.classList.contains("car-parking__item")){e.preventDefault();var n=t.querySelectorAll(".map-trigger");if(n&&!(n.length<3)){var i=n[2];a.focusLabel=r.getAttribute("aria-label"),i.click();var l=t.querySelector(".getting-here-map");a.scrollTo(l,35)}}},!1)},toggleMarker:function(e,t){a.maps.forEach(function(r){e===r.id&&r.markers.forEach(function(e,n){
1null===t||null===e.dataType||e.dataType===t?(e.marker.setMap(r.map),e.content&&(e.marker.infowindow||(e.marker.infowindow=a.createInfoWindow(e.content,e.maxWidth),e.marker.addedClickEvent||(e.marker.addListener("click",function(){e.marker.infowindow.open(r,e.marker)}),e.marker.addedClickEvent=!0)),e.marker.infowindow.close(),a.focusLabel&&e.marker.title===a.focusLabel&&(e.marker.infowindow.open(r,e.marker),a.focusLabel=null))):e.marker.setMap(null)})})},initToggleContent:function(){var e=t.getElementsByClassName("map-trigger");function r(e){var t=this.getAttribute("href").substr(1)||"",r=this.parentNode.parentNode.parentNode.getAttribute("data-map")||null;a.toggleMarker(r,t)}0!==e.length&&Array.prototype.forEach.call(e,function(e,t){e.addEventListener("click",r,!1)})},parseXY:function(e){var t=e.split(",");return{lat:parseFloat(t[0]),lng:parseFloat(t[1])}},createMap:function(e){return new google.maps.Map(e.mapHolder,{center:new google.maps.LatLng(e.origin.lat,e.origin.lng),zoom:e.zoom,mapId:t.getElementsByClassName("map")[0].getAttribute("data-apikey")})},createMarker:function(e){return new google.maps.marker.AdvancedMarkerElement({position:e.position,title:e.title,map:e.map,gmpClickable:!0})},createInfoWindow:function(e,t){return new google.maps.InfoWindow({content:e,maxWidth:t})},getElOffsetTop:function(e){for(var t=0,a=e;a;)t+=a.offsetTop-a.scrollTop+a.clientTop,a=a.offsetParent;return t},scrollTo:function(r,n){n=n||0;var i=t.querySelector(".header").offsetHeight||0,l=a.getElOffsetTop(r);setTimeout(function(){e.scroll({top:l-i-n,left:0,behavior:"smooth"})},100)}};t.addEventListener("DOMContentLoaded",function(){a.init()},!1)}(window,document),function(e,t){var a=function(){t.querySelectorAll(".tabs li").forEach(function(e){e.classList.contains("is-active")&&"function"==typeof e.scrollIntoView&&e.scrollIntoView({behavior:"auto",block:"end",inline:"center"})})};t.addEventListener("DOMContentLoaded",function(){a()},!1)}(window,document),function(e,t){var a=function(){};t.addEventListener("DOMContentLoaded",function(){a()},!1)}(window,document),function(e,t){var a=function(e){var a=t.getElementsByClassName(e);Array.prototype.forEach.call(a,function(e,t){var a=e.getElementsByClassName("swiper-slide").length>3;new Swiper(e,{spaceBetween:0,centeredSlides:!1,slidesPerView:1,spaceBetween:40,loop:!1,grabCursor:a,simulateTouch:a,uniqueNavElements:!0,preloadImages:!1,lazy:{loadPrevNext:!0,loadPrevNextAmount:1,loadOnTransitionStart:!0},scrollbar:{el:".swiper-scrollbar",hide:!0},breakpoints:{768:{slidesPerView:3,spaceBetween:0}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}),a||(e.querySelector(".swiper-button-next").classList.add("disabled"),e.querySelector(".swiper-button-prev").classList.add("disabled"))},{})};t.addEventListener("DOMContentLoaded",function(){a("landing-swiper")},!1)}(window,document),function(e,t){var a={init:function(){var e=t.querySelectorAll(".accordions");if(null!=e&&0!=e.length)for(var a=0;a<e.length;a++)this.initAccordion(e[a])},initAccordion:function(e){for(var t=e.children,a=0;a<t.length;a++)t[a].children[0].addEventListener("click",function(t){t.preventDefault();for(let t=0;t<e.children.length;t++)e.children[t].classList.remove("is-active");this.parentNode.classList.add("is-active")},!1)}};t.addEventListener("DOMContentLoaded",function(){a.init()},!1)}(window,document),function(e,t){var a={init:function(){t.getElementById("query")&&a.enablePreselectedFilterFromUrl();var e=t.querySelectorAll(".card-grid");0!==e.length&&(a.enableMobileFilterToggle(),e[0].classList.contains("card-grid--rewards")?a.enabledMultiCategoryTabLinkToggleAndFilter(e[0]):(a.enableMultipleTabLinkToggleAndFilter(e[0]),a.enableTextFilter(e[0]),a.enableToggleView(e[0]),a.enablePreselectedFilterFromUrl(e[0])),Array.prototype.forEach.call(t.querySelectorAll(".js-filter-reset .button"),a.resetBinding))},enableMobileFilterToggle:function(){var a=t.getElementById("content-filter");a&&(t.addEventListener("keyup",function(r){if(27===(r=r||e.event).keyCode){var n=t.querySelectorAll("body")[0];a.classList.remove("active"),n.classList.remove("noscroll","noheader")}},!1),Array.prototype.forEach.call(a.querySelectorAll(".js-close, .close"),function(e){e.addEventListener("click",function(e,a){a.currentTarget;a.preventDefault();var r=t.querySelectorAll("body")[0];e.classList.remove("active"),r.classList.remove("noscroll","noheader")}.bind(null,a),!1)}),Array.prototype.forEach.call(t.querySelectorAll(".filter-toggle"),function(e){e.addEventListener("click",function(e,a){a.preventDefault(),e.classList.toggle("active");var r=t.querySelectorAll("body")[0];r.classList.add("testing"),e.classList.contains("active")?r.classList.add("noscroll","noheader"):r.classList.remove("noscroll","noheader")}.bind(null,a),!1)}))},enableMultipleTabLinkToggleAndFilter:function(e){var n=[],i=t.querySelectorAll('.js-filter[data-level="1"] a');Array.prototype.forEach.call(i,function(e){var a=e.getAttribute("data-key");a&&n.push(a),e.addEventListener("click",function(e,a){a.preventDefault();var r=a.currentTarget,n=r.getAttribute("href"),i=r.getAttribute("data-key");Array.prototype.forEach.call(e,function(e){e.getAttribute("href")!==n?e.parentNode.classList.remove("is-active"):e.parentNode.classList.add("is-active")});var l=t.querySelectorAll('.js-filter[data-level="2"]');Array.prototype.forEach.call(l,function(e){e.getAttribute("data-filter")===i?e.classList.add("is-active"):e.classList.remove("is-active")});try{t.querySelector('.js-filter[data-level="2"][data-filter="'+i+'"] a[data-key="'+i+'"][data-q="all"]').click()}catch(e){}}.bind(null,i),!1)}),e.setAttribute("data-mainkeys",n.join("||"));var l=t.querySelectorAll('.js-filter[data-level="2"] a');Array.prototype.forEach.call(l,function(i){i.addEventListener("click",function(e,r,n,i,l){l.preventDefault();var o=l.currentTarget,s=o.getAttribute("data-key"),c=o.getAttribute("data-q");o.parentNode.classList.add("is-active"),Array.prototype.forEach.call(r,function(e){e.getAttribute("data-key")===s&&e.getAttribute("data-q")!==c&&e.parentNode.classList.remove("is-active")}),Array.prototype.forEach.call(t.querySelectorAll('.js-filter[data-level="1"] a'),function(e){var a=e.getAttribute("data-key");if(a===s)return e.parentNode.classList.add("is-active"),void Array.prototype.forEach.call(t.querySelectorAll('.js-filter[data-level="2"][data-filter="'+a+'"]'),function(e){e.getAttribute("data-filter")&&e.classList.add("is-active")});e.parentNode.classList.remove("is-active"),t.querySelector('.js-filter[data-level="2"][data-filter="'+a+'"]').classList.remove("is-active"),Array.prototype.forEach.call(t.querySelectorAll('.js-filter[data-level="2"][data-filter="'+a+'"]'),function(e){e.classList.remove("is-active")}),Array.prototype.forEach.call(t.querySelectorAll('.js-filter[data-level="2"][data-filter="'+a+'"] li a'),function(e){"all"===e.getAttribute("data-q")?e.parentNode.classList.add("is-active"):e.parentNode.classList.remove("is-active")}),Array.prototype.forEach.call(t.querySelectorAll(".card-grid__item[data-filtered-"+a+"]"),function(e){e.removeAttribute("data-filtered-"+a)})}),i.filterByKeyValue({grid:e,dataKeys:n,filterKey:s,filterQuery:c}),i.displayCards(e),a.updateSearchQuery(o.getAttribute("href"))}.bind(null,e,l,n,r),!1)})},enableTextFilter:function(e){var a=t.querySelectorAll(".grid-search")[0],n=t.querySelectorAll(".filter-shops")[0];a&&n&&(a.addEventListener("input",function(e,t,a){var r=(a=a||a.target).target.value.toLowerCase();r.length<2?(e.removeAttribute("data-search"),r=""):e.setAttribute("data-search",r),t.filterByText({searchQuery:r,grid:e}),t.displayCards(e)}.bind(null,e,r),!1),n.addEventListener("click",function(e,t,a,r){r.preventDefault();var n=a.value;n.length<2?(e.removeAttribute("data-search"),n=""):e.setAttribute("data-search",n),t.filterByText({searchQuery:n,grid:e}),t.displayCards(e)}.bind(null,e,r,a),!1))},enableToggleView:function(e){var a=t.querySelectorAll(".card-grid-view-switch__link");Array.prototype.forEach.call(a,function(t){t.addEventListener("click",function(e,t,a){a.preventDefault();var r=a.currentTarget;Array.prototype.forEach.call(t,function(e){e.classList.remove("card-grid-view-switch__link--active"),r.classList.add("card-grid-view-switch__link--active")}),r.classList.contains("card-grid-view-switch__link--list")?e.classList.add("is-list"):e.classList.remove("is-list")}.bind(null,e,a),!1)})},enablePreselectedFilterFromUrl:function(e){var n=t.querySelectorAll(".grid-search");if(0!==!n.length){n=n[0];var i=a.getParameterByName(e?"shopquery":"query")||"",l=a.getParameterByName("filter")||"";if(i&&(i=decodeURIComponent(i.replace(/\+/g,"%20"))),""!==l&&e){l.split("||").forEach(function(e){const a=e.split("|");var r=t.querySelectorAll('a[data-key="'+decodeURIComponent(a[0])+'"][data-q="'+decodeURIComponent(a[1])+'"]');if(r.length>=1){r[0].click()}})}""!==i&&(n.value=i,e&&r.filterByText({grid:e,searchQuery:i}))}},updateSearchQuery:function(r){const n=""+e.location,i=a.getParameterByName("filter")||"",l=r.substring(r.indexOf("filter=")+7).split("|");var o="";o=-1!==n.indexOf("?")&&""!==i?n.replace(/([?&])(filter=)([^&#]*)(|&|#|$)/gi,"$1$2"+l.join("|")+"$4"):r,history.pushState&&history.replaceState({page:1},t.querySelector("head title").innerHTML,o)},getParameterByName:function(t,a){a||(a=e.location.href),t=t.replace(/[\[\]]/g,"\\$&");var r=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(a);
1return r?r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):"":null},enabledMultiCategoryTabLinkToggleAndFilter:function(e){var n=[],i=t.querySelectorAll('.js-filter[data-level="1"] a'),l=t.querySelectorAll('.js-filter[data-level="2"] a'),o=a.getParameterByName("cat")||"",s=a.getParameterByName("pointrange")||"",c=""!==s?s.split("|"):[];if(Array.prototype.forEach.call(i,function(e){var a=e.getAttribute("data-key");a&&n.push(a),e.addEventListener("click",function(e,a){a.preventDefault();var r=a.currentTarget,n=r.getAttribute("href"),i=r.getAttribute("data-key");Array.prototype.forEach.call(e,function(e){e.getAttribute("href")!==n?e.parentNode.classList.remove("is-active"):e.parentNode.classList.add("is-active")});var l=t.querySelectorAll('.js-filter[data-level="2"]');Array.prototype.forEach.call(l,function(e){e.getAttribute("data-filter")===i?e.classList.add("is-active"):e.classList.remove("is-active")})}.bind(null,i),!1)}),e.setAttribute("data-mainkeys",n.join("||")),Array.prototype.forEach.call(l,function(t){t.addEventListener("click",function(e,t,r,n){n.preventDefault(),n.currentTarget.parentNode.classList.toggle("is-active"),r.filterByMultiValues({grid:e,dataKeys:t}),r.displayCards(e),a.updateFilter(e)}.bind(null,e,n,r),!1)}),""!==o){var u=o.split("|"),d=!1;Array.prototype.forEach.call(l,function(e){var a=e.getAttribute("data-q"),r=-1!==u.indexOf(a);(r&&!e.parentNode.classList.contains("is-active")||!r&&e.parentNode.classList.contains("is-active"))&&(e.click(),d||(t.querySelector('.js-filter[data-level="1"] a[data-key="'+e.getAttribute("data-key")+'"]').click(),d=!0))})}var p=t.querySelectorAll(".input-range");p.length>0&&(Array.prototype.forEach.call(p,function(e){e.setAttribute("data-default-value",e.value),e.addEventListener("filterPointRangeUpdate",a.inputRangeDidUpdate,!1)}),r.setInputRangeValueIfValid(c,p)&&0===Array.prototype.filter.call(l,function(e){return e.parentNode.classList.contains("is-active")}).length&&t.querySelector('.js-filter[data-level="1"] a[data-key="pointrange"]').click())},getActiveFilters:function(){var e=[];return Array.prototype.forEach.call(t.querySelectorAll('.js-filter[data-level="1"] a'),function(a){var r=a.getAttribute("data-key"),n=[];Array.prototype.forEach.call(t.querySelectorAll('.js-filter[data-level="2"][data-filter="'+r+'"] li a'),function(e){e.parentNode.classList.contains("is-active")&&n.push(e.getAttribute("data-q"))}),e.push({key:r,items:n})}),e},getActiveRange:function(){var e={boundLo:-1,boundHi:-1,value:"",hasRange:2===t.querySelectorAll(".input-range").length,currentRange:null};if(e.hasRange){var a=t.querySelector(".input-range-lo"),n=t.querySelector(".input-range-hi");
1e.currentRange={lo:r.getInputRangeAttrNumber(a,"value"),hi:r.getInputRangeAttrNumber(n,"value"),min:r.getInputRangeAttrNumber(a,"data-min-value"),max:r.getInputRangeAttrNumber(n,"data-max-value")},e.boundLo=e.currentRange.lo,e.boundHi=e.currentRange.hi,e.currentRange.lo===r.getInputRangeAttrNumber(a,"data-default-value")&&e.currentRange.hi===r.getInputRangeAttrNumber(n,"data-default-value")?e.hasRange=!1:(e.boundLo=e.currentRange.lo,e.boundHi=e.currentRange.hi),e.hasRange&&(e.value=e.boundLo+"|"+e.boundHi)}return e},inputRangeDidUpdate:function(e){e.preventDefault();for(var n=e.target.parentNode;!n.classList.contains("js-filter-group");)n=n.parentNode;var i=t.getElementById(n.dataset.target),l=i.getAttribute("data-mainkeys").split("||");r.filterByMultiValues({grid:i,dataKeys:l});r.displayCards(i),a.updateFilter(i)},updateFilter:function(e){var t=[],r=[],n=a.getActiveFilters();Array.prototype.forEach.call(n,function(t){t.items.length>0?(r=r.concat(t.items),e.setAttribute("data-filtered-"+t.key,t.items.join("|"))):e.setAttribute("data-filtered-"+t.key,"")}),t.push({key:"cat",val:r.join("|")});var i=a.getActiveRange();t.push({key:"pointrange",val:i.value}),e.setAttribute("data-pointrange",i.value),a.updateQuery(t)},updateQuery:function(a){var r=e.location,n=new String(r.protocol+"//"+r.host+r.pathname+r.search);a.forEach(function(e){if(-1!==n.indexOf(e.key+"=")){var t=""===e.val?"$1$4":"$1$2"+e.val+"$4",a=new RegExp("([?&])("+e.key+"=)([^&#]*)(|&|#|$)","gi");n=(n=(n=(n=n.replace(a,t)).replace(/\&\&/gi,"&")).replace(/\?\&/gi,"?")).replace(/\&$/gi,"")}else""!==e.val&&(n=n+(-1!==n.indexOf("?")?"&":"?")+e.key+"="+e.val)}),n.indexOf("?")===n.length-1&&(n=n.substring(0,n.length-1)),r.hash&&(n+=r.hash);var i=t.querySelector("head title");if(history.pushState){history.replaceState({page:1},i?i.innerHTML:"",n);var l=new CustomEvent("historyDidChange",{bubbles:!0,detail:{url:n}});e.dispatchEvent(l)}},filterFromParams:function(){},resetBinding:function(e){e.addEventListener("click",a.resetClick,!0)},resetClick:function(e){e.preventDefault(),a.reset()},reset:function(e){Array.prototype.forEach.call(t.querySelectorAll('.js-filter[data-level="2"] .is-active a'),function(e){e.click()}),Array.prototype.forEach.call(t.querySelectorAll('.js-filter[data-level="1"] .is-active a'),function(e){e.parentNode.classList.remove("is-active");var a=t.querySelector('.js-filter[data-level="2"][data-filter="'+e.getAttribute("data-key")+'"]');a&&a.classList.remove("is-active")}),Array.prototype.forEach.call(t.querySelectorAll(".point-range-filter .input-range"),function(e){e.value=e.getAttribute("data-default-value");var t=new CustomEvent("change",{bubbles:!0});e.dispatchEvent(t)})}},r={filterByKeyValue:function(e){var t=e.grid.querySelectorAll(".card-grid__item");return Array.prototype.filter.call(t,function(t){t.setAttribute("data-filtered-"+e.filterKey,e.filterQuery);var a=!0;return e.dataKeys.forEach(function(e){var r=t.getAttribute("data-filtered-"+e)||"",n=t.getAttribute("data-filter-"+e),i=!1;""===r?i=!0:n.split("||").forEach(function(e){r===e&&(i=!0)}),a=a&&i}),a?t.classList.remove("query-not-match"):t.classList.add("query-not-match"),a})},filterByText:function(e){var t=e.grid.querySelectorAll(".card-grid__item"),a=RegExp(e.searchQuery);return Array.prototype.filter.call(t,function(t){var r=t.querySelectorAll(".content h5 a")[0],n=r.innerText||r.textContent,i=a.test(n.toLowerCase());return e.searchQuery.length>0?t.setAttribute("data-unmatch",!i):t.removeAttribute("data-unmatch"),i})},displayCards:function(e){var a=e.querySelectorAll('.card-grid__item:not(.query-not-match):not([data-unmatch="true"])'),r=t.getElementById("no-search-results");0===a.length?r.classList.remove("is-hidden"):r.classList.add("is-hidden")},getInputRangeAttrNumber:function(e,t){var a=e.value||0;return"data-default-value"!==t||e.getAttribute(t)||e.setAttribute(t,e.value),"value"!==t&&(a=e.getAttribute(t)),r.getNumberValue(a)},getNumberValue:function(e){return parseFloat(e.split(",").join("")||-1)},setInputRangeValueIfValid:function(e,t){if(2!==e.length)return!1;var r=e.map(function(e){return parseInt(e,10)||0});if(r[0]>r[1])return!1;var n=a.getActiveRange(),i=new CustomEvent("blur",{bubbles:!1});return r.forEach(function(e,a){r[a]>=n.currentRange.min&&r[a]<=n.currentRange.max&&(t[a].value=e,t[a].dispatchEvent(i))}),!0},isPointInRange:function(e,t){var a=parseInt(e.getAttribute("data-pointrange"),10)||0;return!t.hasRange||a>=t.boundLo&&a<=t.boundHi},filterByMultiValues:function(e){var t=e.grid.querySelectorAll(".card-grid__item"),n=[];Array.prototype.forEach.call(t,function(e){e.classList.remove("query-not-match")});var i=a.getActiveFilters();
1i.forEach(function(t){e.grid.setAttribute("data-filtered-"+t.key,t.items.join("||")),0===t.items.length&&n.push("all")});var l=a.getActiveRange();return l.hasRange?e.grid.setAttribute("data-pointrange",l.boundLo+"|"+l.boundHi):e.grid.setAttribute("data-pointrange",""),Array.prototype.filter.call(t,function(e){var t=!1;return Object.keys(i).length===n.length?t=r.isPointInRange(e,l):i.forEach(function(a){var n=e.getAttribute("data-"+a.key)||"",i=a.items.some(function(e){return-1!==n.split("|").indexOf(e)});i&&r.isPointInRange(e,l)&&(t=i)}),t?e.classList.remove("query-not-match"):e.classList.add("query-not-match"),t})}};t.addEventListener("DOMContentLoaded",function(){a.init()},!1)}(window,document),function(e,t){var a={inputTimeoutTimer:null,init:function(){var r=t.querySelector(".point-range-filter");r&&(r.addEventListener("blur",a.numericInputChange,!1),r.addEventListener("change",a.numericInputChange,!1),r.addEventListener("input",a.didInput,!1),e.addEventListener("keypress",a.inputDidKeyPress,!1),e.addEventListener("keydown",a.inputDidKeyDown,!1),e.addEventListener("contextmenu",a.inputDidContextmenu,!1),Array.prototype.forEach.call(r.querySelectorAll(".input-range"),function(e){e.addEventListener("validate",a.numericInputValidate,!1);var t=new CustomEvent("blur",{bubbles:!0});e.dispatchEvent(t)}))},didInput:function(e){e.target.setAttribute("data-input-value",e.value||0)},inputDidKeyPress:function(e){var t=e.target;if(a.IsTargetRangeInput(t))return a.isInputKeyValid(e,!0)},isInputKeyValid:function(e,t){var a=e.target,r=e.which||e.keyCode||e.charCode;if(13!==r&&46!==r&&(r<48||r>57)||!t&&46===r&&-1!==a.value.indexOf(".")||t&&46===r)return e.preventDefault(),!1;if(13===r){e.preventDefault();var n=new CustomEvent("blur",{bubbles:!0});return a.dispatchEvent(n),!1}return!0},inputDidKeyDown:function(e){var t=e.target;if(a.IsTargetRangeInput(t)){var r=e.which||e.keyCode||e.charCode,n=e.metaKey;return!e.ctrlKey&&!n||86!==r||(e.preventDefault(),!1)}return!0},inputDidContextmenu:function(e){var t=e.target;a.IsTargetRangeInput(t)&&e.preventDefault()},IsTargetRangeInput:function(e){return"INPUT"===e.nodeName&&e.classList.contains("input-range")},isMinValue:function(e){return a.compareValues(e.value,e.getAttribute("data-min-value"),">=")},isMaxValue:function(e){return a.compareValues(e.value,e.getAttribute("data-max-value"),"<=")},isGE:function(e){var r=String(e.value),n=t.getElementById(e.getAttribute("data-ref"));return null===n||""===n.value.trim()||""===r.trim()||a.compareValues(r,n.value,">=")},isLE:function(e){var r=String(e.value),n=t.getElementById(e.getAttribute("data-ref"));return null===n||""===n.value.trim()||""===r.trim()||a.compareValues(r,n.value,"<=")},compareValues:function(e,t,a){var r=parseFloat(e.trim().split(",").join("")),n=parseFloat(t.trim().split(",").join("")),i=!1;switch(a){case"<=":i=r<=n;break;case">=":i=r>=n;break;case"<":i=r<n;break;case">":i=r>n}return i},numericInputChange:function(e){var r=e.target;if(r&&a.IsTargetRangeInput(r)){var n=a.validateOnly(r);r.value=a.formatNiceNumber(r.value);var i=t.getElementById(r.dataset.ref);clearTimeout(a.inputTimeoutTimer);var l=new CustomEvent("blur",{bubbles:!1});i.dispatchEvent(l);var o=new CustomEvent("validate",{bubbles:!1});i.dispatchEvent(o),a.inputTimeoutTimer=setTimeout(function(e,t){if(e&&!t.classList.contains("is-danger")){var a=new CustomEvent("filterPointRangeUpdate",{bubbles:!1});t.dispatchEvent(a)}},300,n,i)}},numericInputValidate:function(e){var t=e.target;a.validateOnly(t)},validateOnly:function(e){if(e&&a.IsTargetRangeInput(e)){var t=(e.dataset.validate||"").split("|"),r=!0;t.forEach(function(t){"function"==typeof a[t]&&(r=r&&a[t](e))}),r?e.classList.remove("is-danger"):(e.classList.add("is-danger"),clearTimeout(a.inputTimeoutTimer)),e.value=a.formatNiceNumber(e.value)}return r},formatNiceNumber:function(e){var t=parseInt(String(e).split(",").join(""),10);return isNaN(t)&&(t=0),t.toLocaleString("en-UK")}};t.addEventListener("DOMContentLoaded",function(){a.init()},!1)}(window,document),function(e,t){var a={clearTimeout:null,scales:[100,125,150,175,200,225,250,275,300],init:function(){var e=t.querySelector(".floor-plan__map");if(e){var r=e.getElementsByClassName("floor-plan__controls__button"),n=t.getElementsByClassName("floor-plan__directory__tenant__link"),i=t.getElementsByClassName("floor-plan__directory__floor__link"),l=t.getElementsByClassName("floor-plan__directory__tenant__list"),o=t.getElementsByClassName("floor-plan__map__image"),s=t.getElementsByClassName("floor-plan__map__area__link");t.querySelector(".floor-plan__map__marker");Array.prototype.forEach.call(r,function(t,r){t.addEventListener("click",function(e,t){t.preventDefault();var r=parseInt(e.getAttribute("data-scale"),10),n=parseInt(e.getAttribute("data-scale-max"),10),i=parseInt(e.getAttribute("data-scale-min"),10),l=t.currentTarget.getAttribute("data-scale");if("+"===l&&r<n)r+=1;else{if(!("-"===l&&r>i))return;r-=1}e.setAttribute("data-scale",r),""!==e.getAttribute("data-xy")||""!==e.querySelector(".floor-plan__map__marker").getAttribute("data-xy")?a.fitMarker(e):a.setMapFocusPoint(50,50,e),setTimeout(function(e,t){e(t)},350,a.recalculateImageMapAreas,e)}.bind(null,e),!1)}),Array.prototype.forEach.call(n,function(t,r){t.addEventListener("click",function(e,t,a){a.preventDefault();var r=a.currentTarget,n=e.querySelector(".floor-plan__map__marker");n.setAttribute("data-xy",r.getAttribute("data-xy"));var i=n.querySelector(".floor-plan__map__marker__content"),l="<div>"+r.getAttribute("data-title")+"</div>";i.innerHTML=l,n.classList.add("is-active"),t(e)}.bind(null,e,a.fitMarker),!1)}),Array.prototype.forEach.call(i,function(t,r){t.addEventListener("click",function(e,t,r,n,i,l){l.preventDefault();var o=l.currentTarget.getAttribute("data-floor");i(e),Array.prototype.forEach.call(t,function(e){e.getAttribute("data-floor")!==o?e.parentNode.classList.remove("is-active"):e.parentNode.classList.add("is-active")}),Array.prototype.forEach.call(r,function(e){e.getAttribute("data-floor")!==o?e.classList.remove("is-active"):e.classList.add("is-active")}),Array.prototype.forEach.call(n,function(t){t.getAttribute("data-floor")!==o?t.classList.remove("is-active"):(t.classList.add("is-active"),a.setMapFocusPoint(50,50,e))})}.bind(null,e,i,l,o,a.clearMarker),!1)}),Array.prototype.forEach.call(s,function(e,a){e.addEventListener("click",function(e,a){a.preventDefault();var r=t.querySelectorAll('a.floor-plan__directory__tenant__link[data-shopid="'+e.getAttribute("data-shopid")+'"]');r.length>0&&r[0].click()}.bind(null,e),!1)});
1new LazyLoad({elements_selector:".map-lazy",load_delay:300,callback_loaded:function(){a.recalculateImageMapAreas(e)}});setTimeout(function(e,t){e(t)},350,a.recalculateImageMapAreas,e),""!==e.getAttribute("data-xy")?(e.querySelector(".floor-plan__map__marker").setAttribute("data-xy",e.getAttribute("data-xy")),a.fitMarker(e)):a.setMapFocusPoint(50,50,e)}},fitMarker:function(e){var t=e.querySelector(".floor-plan__map__marker");if(t.classList.contains("is-active")){var r=t.getAttribute("data-xy").split(",").map(Number),n=parseFloat(r[0]),i=parseFloat(r[1]);t.style.top=i+"%",t.style.left=n+"%",t.classList.contains("is-active")&&a.setMapFocusPoint(n,i,e)}},setMapFocusPoint:function(e,t,a){var r=a.querySelector(".floor-plan__map__container"),n=a.querySelector(".floor-plan__map__floor"),i=r.getBoundingClientRect().width/2,l=r.getBoundingClientRect().height/2,o=e*n.getBoundingClientRect().width/100,s=t*n.getBoundingClientRect().height/100,c=Math.max(0,o-i),u=Math.max(0,s-l);r.scroll({left:c,top:u,behavior:"smooth"})},clearMarker:function(e){var t=e.querySelector(".floor-plan__map__marker");t.classList.contains("is-active")&&t.classList.remove("is-active"),e.removeAttribute("data-xy"),t.removeAttribute("data-xy")},recalculateImageMapAreas:function(e){var a=e.querySelectorAll(".floor-plan__map__image.is-active img")[0],r=1600,n=1200,i=a.parentNode.clientWidth,l=a.parentNode.clientHeight,o=i/r,s=l/n;function c(e,t){var a=Math.pow(10,t);return Math.round(e*a)/a}Array.prototype.forEach.call(e.querySelectorAll("img[usemap]"),function(e){Array.prototype.forEach.call(t.getElementById(e.getAttribute("usemap").substring(1)).querySelectorAll("area"),function(e){e.getAttribute("data-coords")||e.setAttribute("data-coords",e.getAttribute("coords"));var t=e.getAttribute("data-coords").split(","),a=[];switch(e.getAttribute("shape")){case"circle":a.push(c(t[0]*o,2)),a.push(c(t[1]*s,2));var u=Math.PI*Math.pow(t[2],2)*(i*l/(r*n)),d=Math.sqrt(u/Math.PI);a.push(c(d,2));break;default:for(var p=0,v=t.length;p<v;p+=2)a.push(c(parseFloat(t[p])*o,2)),a.push(c(parseFloat(t[p+1])*s,2))}e.setAttribute("coords",a.join(","))})})}};t.addEventListener("DOMContentLoaded",function(){a.init()},!1)}
1(window,document),function(e,t){var a={carParkingTpl:void 0,init:function(){var e=t.querySelector(".car-parking__items"),r=t.getElementById("carparking-item-template");if(e&&r){a.carParkingTpl=r.innerHTML;var n=e.dataset.url||"/api/car-parking.json",i=e.dataset.method||"POST",l=e.dataset.time||"300000",o=e.dataset.errorMsg||"";a.fetchData(n,i,o),a.refreshFetchData(l,n,i,o);var s=t.querySelector(".link-redirect-carparking");s&&s.addEventListener("click",function(e){e.preventDefault();var r=t.querySelector(".car-parking");r&&a.scrollTo(r,25)},!1),t.body.addEventListener("click",function(e){if(e.target.classList.contains("car-parking__item")&&t.querySelector(".header")){e.preventDefault();var r=t.querySelector(".parking-offer-map");r&&a.scrollTo(r,20)}},!1)}},fetchData:function(e,r,n){var i=t.querySelector(".car-parking__item__error"),l=t.querySelector(".car-parking__notification");i&&i.classList.remove("is-active"),axios({method:r,url:e}).then(function(e){var t="";if(e.data.result){var r=e.data.carparkingItems;a.showContentCarParkingItem(r),t=e.data.notification}else i.innerHTML=e.data.message,i.classList.add("is-active");l.innerHTML=t}).catch(function(e){i.innerHTML=n,i.classList.add("is-active"),l.innerHTML=""})},showContentCarParkingItem:function(e){var r=Handlebars.compile(a.carParkingTpl);t.querySelector(".car-parking__items").innerHTML=r({items:e})},refreshFetchData:function(e,t,r,n){setInterval(function(){a.fetchData(t,r,n)},e)},getElOffsetTop:function(e){for(var t=0,a=e;a;)t+=a.offsetTop-a.scrollTop+a.clientTop,a=a.offsetParent;return t},scrollTo:function(r,n){n=n||0;var i=0;t.querySelector(".header")&&(i=t.querySelector(".header").offsetHeight);var l=a.getElOffsetTop(r);setTimeout(function(){e.scroll({top:l-i-n,left:0,behavior:"smooth"})},100)}};t.addEventListener("DOMContentLoaded",function(){a.init()},!1)}(window,document),function(e,t){var a={copyTimer:null,resetTimer:null,init:function(){function e(e){var r=(e=e||e.target).target.getAttribute("data-modal");if(r){e.preventDefault();var n=t.getElementById(r);n&&(n.classList.add("is-active"),a.bindVideoContent(e.target,n))}}var r=t.querySelectorAll(".open-modal[data-modal]");Array.prototype.forEach.call(r,function(t){t.addEventListener("click",e,!1)});var n=t.querySelectorAll(".modal");Array.prototype.forEach.call(n,function(t){t.addEventListener("click",e,!1);var r=t.querySelectorAll(".close-modal");Array.prototype.forEach.call(r,function(e){e.addEventListener("click",function(e,t){t.preventDefault(),e.classList.remove("is-active"),"modal-video"==e.getAttribute("id")&&(e.querySelector(".video-wrapper").innerHTML="")}.bind(null,t),!1)});var n=t.querySelectorAll(".copy-link");Array.prototype.forEach.call(n,function(e){e.addEventListener("click",a.copyClicked.bind(null,t),!1)})})},gaTracking:function(t,a){function r(t,r){"function"==typeof gtag?gtag("event",t,{eventLabel:a,eventValue:r}):e.google_tag_manager&&dataLayer.push({event:"trackEvent",eventAction:t,eventLabel:a,eventValue:r.video_percent||r.video_seek_value})}[{event:"play",label:"video_play"},{event:"pause",label:"video_pause"},{event:"ended",label:"video_ended"},{event:"completeSeek",label:"video_seek"},{event:"requestFullScreen",label:"video_requestFullScreen"},{event:"timeupdate",label:"video_timeupdate"},{event:"cancelFullScreen",label:"video_cancelFullScreen"},{event:"settingSelected",label:"video_resolutionChange"}].forEach(function(e){t.on(e.event,function(n,i){switch(e.event){case"timeupdate":var l=Math.min(100,Math.round(t.getCurrentTime()/t.getDuration()*100));if(parseFloat(n.target.dataset.percent||0)!=l)switch(l){case 25:case 50:case 75:case 100:r("video_progress",{video_url:a,video_percent:l}),n.target.dataset.percent=l}break;case"ended":setTimeout(function(){n.target.dataset.percent=-1},100);break;case"completeSeek":n.target.dataset.percent=-1,r(e.label,{video_url:a,video_seek_value:n.paramData});break;case"settingSelected":var o=n.paramData;o&&"quality"==o.type&&r(e.label,{video_url:a,video_quality:o.text});break;default:r(e.label,{video_url:a})}})})},bindVideoContent:function(e,r){var n=e.dataset.videoSrc||"",i=e.dataset.download||"",l=e.dataset.videoDesc||"",o=e.classList.contains("autoplay")||!1,s="true"===e.dataset.muted||!1,c=r.querySelector(".video-wrapper"),u=r.querySelector(".video-desc"),d=r.querySelector(".copy-link");o&&(s=!0),""!==i?(d.classList.remove("is-hidden"),d.setAttribute("href",i)):d.classList.add("is-hidden");e.dataset.id;u.innerHTML=l;var p='<div class="video-wrap" data-src="'+n+'" id="modalAmp"></div>';c.innerHTML=p;var v,f={id:"modalAmp",with:"100%",height:"100%",skinLayout:[{name:"bigPlayButton",align:"cc"},{name:"H5Loading",align:"cc"},{name:"errorDisplay",align:"tlabs",x:0,y:0},{name:"infoDisplay"},{name:"tooltip",align:"blabs",x:0,y:56},{name:"thumbnail"},{name:"controlBar",align:"blabs",x:0,y:0,children:[{name:"progress",align:"blabs",x:0,y:44},{name:"playButton",align:"tl",x:15,y:12},{name:"timeDisplay",align:"tl",x:10,y:7},{name:"fullScreenButton",align:"tr",x:10,y:12},{name:"setting",align:"tr",x:15,y:12},{name:"volume",align:"tr",x:5,y:10}]}],isVBR:!0,autoplay:o,mute:s,useHls2:!0,clickPause:!0,hlsOption:{startLevel:3,abrBandWidthUpCacheTime:3,progressive:!0},loadDataTimeout:60,waitingTimeout:90};if(n){v={source:n,useH5Prism:!0};var g=Object.assign({},f,v),m=new Aliplayer(g,function(e){if(e){s&&e.mute();var a=e._el.querySelector(".prism-big-play-btn .outter");a&&(a.classList.remove("outter"),a.classList.add("icon-play")),e.on("ended",function(e){(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)&&(t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.webkitExitFullscreen&&t.webkitExitFullscreen()),$(e.target).data("ended",!0)})}});a.gaTracking(m,n)}},copyClicked:function(e,r){r.preventDefault();for(var n=r.target;!n.classList.contains("copy-link");)n=n.parentNode;var i=n.getAttribute("href")||"",l=e||n.parentNode;l.insertAdjacentHTML("beforeend",'<input id="tmpInput" type="text" style="position:absolute;
1left:-2000px;top:-2000px;width:1px;height:1px;" value="'+i+'"/>');var o=t.querySelector("#tmpInput");if(o.select(),navigator.clipboard)navigator.clipboard.writeText(i).then(function(){a.copyTextFromLinkFeedback(n)}).catch(function(e){});else try{!!t.execCommand("copy")&&1&&a.copyTextFromLinkFeedback(n)}catch(e){}l.removeChild(o)},copyTextFromLinkFeedback:function(e){var t=parseFloat(e.getAttribute("data-timer"))||3e3;e.classList.add("copied"),clearTimeout(a.copyTimer),a.copyTimer=setTimeout(function(e){e.classList.remove("copied")},t,e)}};t.addEventListener("DOMContentLoaded",function(){a.init()},!1)}(window,document),function(e,t){var a={timer:null,dt:100,init:function(r){var n=t.getElementById(r.id);if(0===t.cookie.split(";").filter(function(e){return 0===e.trim().indexOf(r.cookieName+"=1")}).length){r.autoHide&&a.setCookies(r);var i="active";if(r.isModal&&(i="is-active"),n)if(n.classList.add(i),n.querySelectorAll(".hidden-lazyload").length>0)new LazyLoad({elements_selector:".hidden-lazyload",load_delay:300,callback_loaded:function(){a.resize()}});else n.addEventListener("transitionend",a.resize,!1)}if(n&&n.classList.contains(i)){e.addEventListener("resize",a.resize.bind(null,r),!0);var l=t.querySelector(r.closeEl);l&&l.addEventListener("click",a.closeInfo.bind(null,r),!1)}},closeInfo:function(e,r){r.preventDefault(),e.autoHide||a.setCookies(e),t.getElementById(e.id).classList.remove("active"),a.cleanUp(e)},resize:function(){clearTimeout(a.timer),a.timer=setTimeout(a.debounceResize,a.dt)},debounceResize:function(){var e=t.getElementById("content"),a=t.querySelector(".header"),r=Math.max(a.getBoundingClientRect().height,a.clientHeight,a.getBoundingClientRect().height);e.style.paddingTop=r+"px"},cleanUp:function(r){e.removeEventListener("resize",a.resize,!0),t.getElementById(r.id).removeEventListener("transitionend",a.resize,!1),t.querySelector(r.closeEl).removeEventListener("click",a.closeInfo,!1),t.getElementById("content").style.paddingTop=""},setCookies:function(e){var r=e.cookieName+"=1;path=/;domain="+a.getCookiesDomain();if(e.expiry){var n=new Date;n.setTime(n.getTime()+60*e.expiry*60*1e3),r+=";expires="+n.toUTCString()}t.cookie=r+";"},getCookiesDomain:function(){var e=String(location.hostname),t=String(e).split(".");return t.length<2||"localhost"===e||e.match(/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/)?"":(2===t.length&&t.splice(0,0,""),t.map(function(e,t){return 0===t?"":e}).join("."))}};t.addEventListener("DOMContentLoaded",function(){a.init({cookieName:"splcgcookies",id:"cookies-usage",closeEl:".cookies__close",autoHide:!0}),a.init({cookieName:"splcgpromocookies",id:"promotion-banner",closeEl:".promotion-banner__close",autoHide:!1}),a.init({cookieName:"splcgimagepopupcookies",id:"image-modal",closeEl:"#image-modal .close-modal",isModal:!0,autoHide:!1,expiry:24})},!1)}(window,document);
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.