{"version":3,"sources":["statemanager.js","AccordionContent.js","ApartmentPricing.js","Autocomplete.js","CareTeamSlider.js","GlobalWidgets.js","HighlightStrap.js","ImageSlider.js","LocationMapToggle.js","locationPageSlider.js","LocationsList.js","LocationsMap.js","LocationsMapStaticValues.js","MainHeader.js","PrimaryNav.js","RetirementLivingSlider.js","TestimonialSlider.js","VideoPlayer.js","widget-scripts.js","_BodyCopy.js","Module.Forms.js","main.js"],"names":["ssm","window","StateManager","this","callbacks","sm","enter","leave","resize","firstRun","md","lg","xl","mobile","desktop","prototype","run","addState","id","query","onEnter","onLeave","onResize","onFirstRun","addOnEnter","stateId","callback","push","addOnLeave","addOnResize","addOnFirstRun","self","i","length","apply","call","SVHA","Utility","$","AccordionContent","args","defaults","firstOpen","allOpen","mobileOnly","resetOnViewportChange","selectors","widgetContainer","accordionItem","btnToggle","contentBlock","btnToggleAll","options","extend","$widgetContainer","$accordionItem","parent","$btnToggle","$btnToggleAll","isActive","setDefaultState","bindEvents","selector","toggleAccordion","targetItem","hasClass","closeAccordion","openAccordion","addClass","targetContent","find","openHeight","attr","css","height","display","removeClass","toggleAll","each","index","$itemContent","defaultHeight","resetAccordions","removeAttr","click","parents","Widgets","jQuery","ApartmentPricing","swiper","swiperContainer","btnNext","btnPrev","popUpForm","roomForm","apartmentForm","closeBtn","roomBtn","apartmentBtn","classes","showPopUpForm","hideFormContent","$swiperContainer","$btnNext","$btnPrev","$popUpForm","$roomForm","$apartmentForm","$closeBtn","$roomBtns","$apartmentBtns","slidesPerView","init","centeredSlides","centeredSlidesBounds","loop","noSwiping","allowSlideNext","allowSlidePrev","freeMode","grabCursor","spaceBetween","slidesOffsetBefore","slidesOffsetAfter","breakpoints","992","navigation","nextEl","prevEl","768","Swiper","on","classList","add","remove","toggle","updateScroll","Autocomplete","el","autocomplete","input","debounceWaitMs","fetch","text","update","executeOnBlur","toLowerCase","url","dataset","encodeURIComponent","then","response","status","json","myJson","suggestions","setAttribute","JSON","stringify","removeAttribute","IsExtra","setMessage","Postcodes","onSelect","item","e","value","label","blur","CareTeamSlider","GlobalWidgets","HighlightStrap","initSwiper","destroySwiper","destroy","ImageSlider","swiperSlide","imgDescTxt","nextBtn","prevBtn","pagination","$imgDescTxt","$nextBtn","$prevBtn","$pagination","getSlide","targetIndex","eq","setDescTxt","txtString","append","appendLink","isExternal","updateDesc","slideIndex","$targetSlide","imgTxt","linkUrl","html","slideStart","activeSlide","activeIndex","type","slideChangeTransitionStart","LocationMapToggle","listBtn","mapBtn","list","map","animationClass","$listBtn","$mapBtn","$list","$map","toggleDisplay","toggleBtn","firstToggledItem","secondToggledItem","LocationPageSlider","mySwiper","breakpoint","matchMedia","breakpointChecker","matches","enableSwiper","addListener","LocationsMap","deferredFitToMarkers","mapContainer","document","querySelector","markersData","createMarkersData","parse","getAttribute","error","createMap","Array","isArray","mapMarkers","createMarkers","setZoom","setCenter","lat","latitude","lng","longitude","bounds","getBoundsCoordinatesByLayLng","fitBounds","ResultsJson","forEach","locationFeatures","location","features","feature","markerData","dialogWindow","name","address","replace","google","maps","Map","disableDefaultUI","streetViewControl","zoom","LocationsMapStaticValues","getDefaultMapOptions","defaultZoom","center","defaultCenter","styles","markerIcon","isHidden","getMarkerIcon","anchor","Point","getDefaultMarkerIcon","marker","Marker","position","icon","title","infoWindow","infoWindowContent","getPosition","InfoWindow","content","open","LatLngBounds","LatLng","defaultMapStyles","elementType","stylers","color","visibility","featureType","testData","path","fillColor","fillOpacity","strokeWeight","scale","base64Data","openFirstDialog","MainHeader","mainHeader","navWrapper","searchWrapper","btnNavTrigger","btnOpenSearch","btnOpenSearch_desktop","btnCloseSearch","searchInput","skipToLinks","state","navOpen","$mainHeader","$btnNavTrigger","$btnOpenSearch","$btnOpenSearch_desktop","$btnCloseSearch","$searchInput","$skipToLinks","openOffCanvasNav","lockViewport","closeOffCanvasNav","unlockViewport","openSearch","focus","closeSearch","target","PrimaryNav","activeNavParent","scrollOnOpen","scrollDelay","scrollSpeed","multipleOpen","mainNav","mainNavTrigger","mainNavSubNav","$mainNav","$mainNavTrigger","$mainNavSubNav","$navWrapper","initMobileAccordion","resetMobileAccordion","$container","scrollToBtn","targetBtn","scrollAmount","offset","top","animate","scrollTop","openSubNavAccordion","targetSubNav","maxHeight","setTimeout","closeSubNavAccordion","showSubNav","activeNavItem","hideSubNav","$parentListItem","$targetSubNav","next","hoverIntent","over","out","$elem","timeout","HospitalSlider","TestimonialSlider","clickable","VideoPlayer","videoPlayer","videoElem","btnPlay","$videoElem","$btnPlay","initPlayer","Plyr","controls","autoplay","muted","playVideo","play","api_base","OrthoContact","form","stop","slideDown","hide","show","onTreatmentChange","ajax","data","treatmentId","contentType","success","empty","o","Option","body","onProcedureChange","procedureId","filterSelection","c","x","getElementsByClassName","svRemoveClass","className","indexOf","svAddClass","element","arr1","split","arr2","splice","join","OnFindOutMoreClick","setCorporatePopupCookie","a","createElement","href","cname","cvalue","exdays","getCorporatePopupCookie","d","Date","setTime","getTime","expires","toUTCString","cookie","decodedCookie","decodeURIComponent","ca","charAt","substring","checkCorporatePopupCookie","ready","prop","slideUp","clone","insertAfter","prepend","undefined","innerHTML","includes","onload","localStorage","setItem","innerText","setHospitalValue","getElementById","style","onclick","getItem","referrer","hospital","URL","searchParams","get","toUpperCase","slice","children","firstElementChild","removeItem","Forms","invisibleRecaptchaOnloadCallback","widgetId","$recaptchaElement","grecaptcha","render","token","closest","trigger","Init","_self","Bindings","CustomJqueryValidateRules","_","$form","MutationObserver","mutations","observer","filter","mutation","observe","parentElement","childList","formClickHandler","preventDefault","stopPropagation","button","recaptchaId","getResponse","execute","validator","valid","removeEventListener","requestAnimationFrame","submit","addEventListener","addMethod","checked","params","unobtrusive","adapters","rules","messages","message","IncrementPageGeneric","currentPage","parseInt","isNaN","HideLoadMore","picturefill","svg4everybody","FooterAccordion","careTeamSliderElements","querySelectorAll","apartmentPricingElements","testimonialSliderElements","imageSliderElements","highlightElements","videoElements","autocompleteElements","SpecialistTemplateAccordions"],"mappings":"CAAA,SAAW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,QAAQ/C,iBAAiB,CAClEG,WAAW,EACXE,YAAY,EACZC,uBAAuB,EACvBC,UAAW,CACPC,gBAAiB,wBACjBC,cAAe,kBACfC,UAAW,yBACXC,aAAc,wBAKtB/C,KAAKiX,eAAiB,IAAIhV,KAAKkD,QAAQ8R,eAMvC9U,EAAE,uBAAuB8C,MAAM,WAE3B,OADA9C,EAAE,aAAa4T,QAAQ,CAAEC,UAAW,GAAK,MAClC,MA7HnB,CAmIG5Q","file":"main.min.js","sourcesContent":["(function (ssm, window) {\r\n\r\n function StateManager() {\r\n this.callbacks = {\r\n 'sm': {\r\n 'enter': [],\r\n 'leave': [],\r\n 'resize': [],\r\n 'firstRun': []\r\n },\r\n\r\n 'md': {\r\n 'enter': [],\r\n 'leave': [],\r\n 'resize': [],\r\n 'firstRun': []\r\n },\r\n\r\n 'lg': {\r\n 'enter': [],\r\n 'leave': [],\r\n 'resize': [],\r\n 'firstRun': []\r\n },\r\n\r\n 'xl': {\r\n 'enter': [],\r\n 'leave': [],\r\n 'resize': [],\r\n 'firstRun': []\r\n },\r\n\r\n 'mobile': {\r\n 'enter': [],\r\n 'leave': [],\r\n 'resize': [],\r\n 'firstRun': []\r\n },\r\n\r\n 'desktop': {\r\n 'enter': [],\r\n 'leave': [],\r\n 'resize': [],\r\n 'firstRun': []\r\n }\r\n };\r\n }\r\n\r\n StateManager.prototype.run = function() {\r\n this.ssm = ssm;\r\n this.ssm.addState({\r\n id: 'sm',\r\n query: '(min-width: 576px) and (max-width: 767px)',\r\n onEnter: this.onEnter('sm'),\r\n onLeave: this.onLeave('sm'),\r\n onResize: this.onResize('sm'),\r\n onFirstRun: this.onFirstRun('sm')\r\n });\r\n\r\n this.ssm.addState({\r\n id: 'md',\r\n query: '(min-width: 768px) and (max-width: 991px)',\r\n onEnter: this.onEnter('md'),\r\n onLeave: this.onLeave('md'),\r\n onResize: this.onResize('md'),\r\n onFirstRun: this.onFirstRun('md')\r\n });\r\n\r\n this.ssm.addState({\r\n id: 'lg',\r\n query: '(min-width: 992px) and (max-width: 1199px)',\r\n onEnter: this.onEnter('lg'),\r\n onLeave: this.onLeave('lg'),\r\n onResize: this.onResize('lg'),\r\n onFirstRun: this.onFirstRun('lg')\r\n });\r\n\r\n this.ssm.addState({\r\n id: 'xl',\r\n query: '(min-width: 1200px)',\r\n onEnter: this.onEnter('xl'),\r\n onLeave: this.onLeave('xl'),\r\n onResize: this.onResize('xl'),\r\n onFirstRun: this.onFirstRun('xl')\r\n });\r\n\r\n this.ssm.addState({\r\n id: 'mobile',\r\n query: '(max-width: 991px)',\r\n onEnter: this.onEnter('mobile'),\r\n onLeave: this.onLeave('mobile'),\r\n onResize: this.onResize('mobile'),\r\n onFirstRun: this.onFirstRun('mobile')\r\n });\r\n\r\n this.ssm.addState({\r\n id: 'desktop',\r\n query: '(min-width: 992px)',\r\n onEnter: this.onEnter('desktop'),\r\n onLeave: this.onLeave('desktop'),\r\n onResize: this.onResize('desktop'),\r\n onFirstRun: this.onFirstRun('desktop')\r\n });\r\n };\r\n\r\n StateManager.prototype.addOnEnter = function (stateId, callback) {\r\n if(\r\n typeof this.callbacks[stateId] !== 'undefined'\r\n && typeof this.callbacks[stateId].enter !== 'undefined'\r\n && typeof callback === 'function'\r\n ) {\r\n this.callbacks[stateId].enter.push(callback);\r\n }\r\n };\r\n StateManager.prototype.addOnLeave = function (stateId, callback) {\r\n if(\r\n typeof this.callbacks[stateId] !== 'undefined'\r\n && typeof this.callbacks[stateId].leave !== 'undefined'\r\n && typeof callback === 'function'\r\n ) {\r\n this.callbacks[stateId].leave.push(callback);\r\n }\r\n };\r\n StateManager.prototype.addOnResize = function (stateId, callback) {\r\n if(\r\n typeof this.callbacks[stateId] !== 'undefined'\r\n && typeof this.callbacks[stateId].resize !== 'undefined'\r\n && typeof callback === 'function'\r\n ) {\r\n this.callbacks[stateId].resize.push(callback);\r\n }\r\n };\r\n StateManager.prototype.addOnFirstRun = function (stateId, callback) {\r\n if(\r\n typeof this.callbacks[stateId] !== 'undefined'\r\n && typeof this.callbacks[stateId].firstRun !== 'undefined'\r\n && typeof callback === 'function'\r\n ) {\r\n this.callbacks[stateId].firstRun.push(callback);\r\n }\r\n };\r\n\r\n StateManager.prototype.onEnter = function (stateId) {\r\n var self = this;\r\n return function() {\r\n for(var i = 0; i < self.callbacks[stateId].enter.length; i++) {\r\n self.callbacks[stateId].enter[i].apply();\r\n }\r\n };\r\n };\r\n StateManager.prototype.onLeave = function (stateId) {\r\n var self = this;\r\n return function() {\r\n for(var i = 0; i < self.callbacks[stateId].leave.length; i++) {\r\n self.callbacks[stateId].leave[i].call();\r\n }\r\n };\r\n };\r\n StateManager.prototype.onResize = function (stateId) {\r\n var self = this;\r\n return function() {\r\n for(var i = 0; i < self.callbacks[stateId].resize.length; i++) {\r\n self.callbacks[stateId].resize[i].call();\r\n }\r\n };\r\n };\r\n StateManager.prototype.onFirstRun = function (stateId) {\r\n var self = this;\r\n return function() {\r\n for(var i = 0; i < self.callbacks[stateId].firstRun.length; i++) {\r\n self.callbacks[stateId].firstRun[i].call();\r\n }\r\n };\r\n };\r\n\r\n window.SVHA = window.SVHA || {};\r\n window.SVHA.Utility = window.SVHA.Utility || {};\r\n window.SVHA.Utility.StateManager = new StateManager();\r\n})(ssm, window);\r\n\r\n","(function ($, window, undefined) {\r\n\r\n function AccordionContent(args) {\r\n this.defaults = {\r\n firstOpen: true,\r\n allOpen: false,\r\n mobileOnly: false,\r\n resetOnViewportChange: false,\r\n selectors: {\r\n widgetContainer: '.accordion-content',\r\n accordionItem: '.accordion-item',\r\n btnToggle: '.btn-toggle',\r\n contentBlock: '.content-block',\r\n btnToggleAll: '.btn-toggle-all'\r\n }\r\n };\r\n\r\n this.options = $.extend(true, {}, this.defaults, args);\r\n\r\n this.$widgetContainer = $(this.options.selectors.widgetContainer);\r\n this.$accordionItem = this.parent(this.options.selectors.accordionItem);\r\n this.$btnToggle = this.parent(this.options.selectors.btnToggle);\r\n this.$btnToggleAll = this.parent(this.options.selectors.btnToggleAll);\r\n\r\n if (this.options.mobileOnly === true){\r\n if(SVHA.Utility.StateManager.ssm.isActive('mobile')){\r\n this.setDefaultState();\r\n }\r\n } else {\r\n this.setDefaultState();\r\n }\r\n this.bindEvents();\r\n }\r\n\r\n /**\r\n * Returns a jQuery element that is a child of the parent element\r\n * @param selector\r\n * @returns {*|HTMLElement}\r\n */\r\n AccordionContent.prototype.parent = function (selector) {\r\n return $(selector, this.$widgetContainer);\r\n };\r\n\r\n\r\n /*\r\n UI events\r\n */\r\n AccordionContent.prototype.toggleAccordion = function (targetItem) {\r\n if (targetItem.hasClass('active')){\r\n this.closeAccordion(targetItem)\r\n } else {\r\n this.openAccordion(targetItem)\r\n }\r\n };\r\n\r\n AccordionContent.prototype.openAccordion = function (targetItem) {\r\n targetItem.addClass('active');\r\n var targetContent = targetItem.find(this.options.selectors.contentBlock);\r\n var openHeight = targetContent.attr('data-open-height');\r\n\r\n targetContent.css({\r\n height: openHeight+'px',\r\n display: 'block'\r\n });\r\n };\r\n\r\n AccordionContent.prototype.closeAccordion = function (targetItem) {\r\n targetItem.removeClass('active');\r\n var targetContent = targetItem.find(this.options.selectors.contentBlock);\r\n targetContent.css({\r\n height: 0\r\n });\r\n };\r\n\r\n AccordionContent.prototype.toggleAll = function () {\r\n var self = this;\r\n if (this.options.allOpen === false){\r\n\r\n this.$accordionItem.each(function(){\r\n self.openAccordion($(this));\r\n });\r\n\r\n this.options.allOpen = true;\r\n\r\n } else {\r\n\r\n this.$accordionItem.each(function(){\r\n self.closeAccordion($(this));\r\n });\r\n\r\n this.options.allOpen = false;\r\n }\r\n };\r\n\r\n /*\r\n Default state and event binding\r\n */\r\n AccordionContent.prototype.setDefaultState = function () {\r\n var self = this;\r\n this.$accordionItem.each(function(index){\r\n var $itemContent = $(this).find(self.options.selectors.contentBlock);\r\n var defaultHeight = $itemContent.height();\r\n\r\n $itemContent.attr('data-open-height', defaultHeight);\r\n $itemContent.css({\r\n display: 'block',\r\n height: '0px'\r\n });\r\n\r\n // Open first if options says so AND if it's not in the footer\r\n if(self.options.firstOpen === true && self.$widgetContainer[0].id != 'main-footer'){\r\n //Open the first\r\n if (index === 0){\r\n self.openAccordion($(this));\r\n }\r\n }\r\n });\r\n };\r\n\r\n /*\r\n Reset accordions\r\n */\r\n AccordionContent.prototype.resetAccordions = function () {\r\n var self = this;\r\n this.$accordionItem.each(function(index){\r\n var $itemContent = $(this).find(self.options.selectors.contentBlock);\r\n\r\n $itemContent.removeAttr('style');\r\n });\r\n };\r\n\r\n\r\n AccordionContent.prototype.bindEvents = function () {\r\n var self = this;\r\n\r\n this.$btnToggle.each(function(){\r\n\r\n $(this).click(function () {\r\n var targetItem = $(this).parents(self.options.selectors.accordionItem);\r\n self.toggleAccordion(targetItem);\r\n });\r\n });\r\n\r\n this.$btnToggleAll.click(function(){\r\n self.toggleAll();\r\n });\r\n\r\n if (this.options.resetOnViewportChange === true){\r\n SVHA.Utility.StateManager.addOnEnter('desktop', function() {\r\n self.resetAccordions();\r\n });\r\n\r\n SVHA.Utility.StateManager.addOnEnter('mobile', function() {\r\n self.setDefaultState();\r\n });\r\n }\r\n };\r\n\r\n window.SVHA = window.SVHA || {};\r\n window.SVHA.Widgets = window.SVHA.Widgets || {};\r\n window.SVHA.Widgets.AccordionContent = AccordionContent;\r\n\r\n})(jQuery, window);\r\n","(function($, window, undefined) {\r\n\tfunction ApartmentPricing(args) {\r\n\t\tthis.swiper;\r\n\t\tthis.defaults = {\r\n\t\t\tselectors: {\r\n\t\t\t\twidgetContainer: \"[data-apartment-slider]\",\r\n\t\t\t\tswiperContainer: \"[data-apartment-swiper-container]\",\r\n\t\t\t\tbtnNext: \"[data-apartment-swiper-next]\",\r\n\t\t\t\tbtnPrev: \"[data-apartment-swiper-prev]\",\r\n\r\n\t\t\t\tpopUpForm: \"[data-popup-form]\",\r\n\t\t\t\troomForm: \"[data-room-form]\",\r\n\t\t\t\tapartmentForm: \"[data-apartment-form]\",\r\n\t\t\t\tcloseBtn: \"[data-popup-form-close]\",\r\n\t\t\t\troomBtn: \"[data-room-btn]\",\r\n\t\t\t\tapartmentBtn: \"[data-apartment-btn]\",\r\n\t\t\t},\r\n\t\t\tclasses: {\r\n\t\t\t\tshowPopUpForm: \"show-form\",\r\n\t\t\t\thideFormContent: \"form-hidden\",\r\n\t\t\t},\r\n\t\t};\r\n\r\n\t\tthis.options = $.extend(true, {}, this.defaults, args);\r\n\r\n\t\tthis.$widgetContainer = $(this.options.selectors.widgetContainer);\r\n\t\tthis.$swiperContainer = this.parent(this.options.selectors.swiperContainer);\r\n\t\tthis.$btnNext = this.parent(this.options.selectors.btnNext);\r\n\t\tthis.$btnPrev = this.parent(this.options.selectors.btnPrev);\r\n\r\n\t\tthis.$popUpForm = this.parent(this.options.selectors.popUpForm);\r\n\t\tthis.$roomForm = this.parent(this.options.selectors.roomForm);\r\n\t\tthis.$apartmentForm = this.parent(this.options.selectors.apartmentForm);\r\n\t\tthis.$closeBtn = this.parent(this.options.selectors.closeBtn);\r\n\t\tthis.$roomBtns = this.parent(this.options.selectors.roomBtn);\r\n\t\tthis.$apartmentBtns = this.parent(this.options.selectors.apartmentBtn);\r\n\r\n\t\tthis.slidesPerView = this.$widgetContainer.attr(\"data-apartment-slider\");\r\n\t\tthis.init(this.slidesPerView);\r\n\t}\r\n\r\n\t/**\r\n\t * Returns a jQuery element that is a child of the parent element\r\n\t * @param selector\r\n\t * @returns {*|HTMLElement}\r\n\t */\r\n\tApartmentPricing.prototype.parent = function(selector) {\r\n\t\treturn $(selector, this.$widgetContainer);\r\n\t};\r\n\r\n\tApartmentPricing.prototype.init = function(slidesPerView) {\r\n\t\tvar self = this;\r\n\t\tvar options = {\r\n\t\t\tcenteredSlides: true,\r\n\t\t\tcenteredSlidesBounds: true,\r\n\t\t\tloop: false,\r\n\t\t\tslidesPerView: 1,\r\n\t\t\tnoSwiping: false,\r\n\t\t\tallowSlideNext: true,\r\n\t\t\tallowSlidePrev: true,\r\n\t\t\tfreeMode: false,\r\n\t\t\tgrabCursor: true,\r\n\t\t\tspaceBetween: 30,\r\n\t\t\tslidesOffsetBefore: 0,\r\n\t\t\tslidesOffsetAfter: 0,\r\n\r\n\t\t\tbreakpoints: {\r\n\t\t\t\t992: {\r\n\t\t\t\t\tslidesPerView: 3,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\r\n\t\t\t// Navigation arrows\r\n\t\t\tnavigation: {\r\n\t\t\t\tnextEl: this.$btnNext,\r\n\t\t\t\tprevEl: this.$btnPrev,\r\n\t\t\t},\r\n\t\t};\r\n\r\n\t\tswitch (slidesPerView) {\r\n\t\t\tcase \"1\":\r\n\t\t\t\toptions.freeMode = false;\r\n\t\t\t\toptions.grabCursor = false;\r\n\t\t\t\toptions.noSwiping = true;\r\n\t\t\t\toptions.allowSlideNext = false;\r\n\t\t\t\toptions.allowSlidePrev = false;\r\n\t\t\t\toptions.slidesPerView = 1;\r\n\t\t\t\toptions.breakpoints = {\r\n\t\t\t\t\t992: {\r\n\t\t\t\t\t\tslidesPerView: 1,\r\n\t\t\t\t\t},\r\n\t\t\t\t};\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase \"2\":\r\n\t\t\t\toptions.breakpoints = {\r\n\t\t\t\t\t768: {\r\n\t\t\t\t\t\tfreeMode: false,\r\n\t\t\t\t\t\tgrabCursor: false,\r\n\t\t\t\t\t\tnoSwiping: true,\r\n\t\t\t\t\t\tallowSlideNext: false,\r\n\t\t\t\t\t\tallowSlidePrev: false,\r\n\t\t\t\t\t\tslidesPerView: 2,\r\n\t\t\t\t\t},\r\n\t\t\t\t\t992: {\r\n\t\t\t\t\t\tfreeMode: false,\r\n\t\t\t\t\t\tgrabCursor: false,\r\n\t\t\t\t\t\tnoSwiping: true,\r\n\t\t\t\t\t\tallowSlideNext: false,\r\n\t\t\t\t\t\tallowSlidePrev: false,\r\n\t\t\t\t\t\tslidesPerView: 2,\r\n\t\t\t\t\t},\r\n\t\t\t\t};\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tcase \"3\":\r\n\t\t\t\toptions.breakpoints = {\r\n\t\t\t\t\t992: {\r\n\t\t\t\t\t\tfreeMode: false,\r\n\t\t\t\t\t\tgrabCursor: false,\r\n\t\t\t\t\t\tnoSwiping: true,\r\n\t\t\t\t\t\tallowSlideNext: false,\r\n\t\t\t\t\t\tallowSlidePrev: false,\r\n\t\t\t\t\t\tslidesPerView: 3,\r\n\t\t\t\t\t},\r\n\t\t\t\t};\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\r\n\t\tthis.swiper = new Swiper(self.$swiperContainer, options);\r\n\r\n\t\tthis.$roomBtns.on(\"click\", function() {\r\n\t\t\tself.$popUpForm[0].classList.add(self.options.classes.showPopUpForm);\r\n\t\t\tself.$apartmentForm[0].classList.add(self.options.classes.hideFormContent);\r\n\t\t\tself.$roomForm[0].classList.remove(self.options.classes.hideFormContent);\r\n\t\t});\r\n\r\n\t\tthis.$apartmentBtns.on(\"click\", function() {\r\n\t\t\tself.$popUpForm[0].classList.add(self.options.classes.showPopUpForm);\r\n\t\t\tself.$roomForm[0].classList.add(self.options.classes.hideFormContent);\r\n\t\t\tself.$apartmentForm[0].classList.remove(self.options.classes.hideFormContent);\r\n\t\t});\r\n\r\n\t\tthis.$closeBtn.on(\"click\", function() {\r\n\t\t\tself.$popUpForm[0].classList.toggle(self.options.classes.showPopUpForm);\r\n\t\t});\r\n\r\n\t\tthis.updateScroll();\r\n\r\n\t\t$(window).resize(function() {\r\n\t\t\tself.updateScroll();\r\n\t\t});\r\n\t};\r\n\r\n\tApartmentPricing.prototype.updateScroll = function() {\r\n\t\tvar self = this;\r\n\t\tvar height = $(window).height();\r\n\t\t// 702 is the min-height required for the form to display all fields\r\n\t\tif (height < 702) {\r\n\t\t\tself.$popUpForm[0].classList.add(\"overflow-scroll\");\r\n\t\t} else {\r\n\t\t\tself.$popUpForm[0].classList.remove(\"overflow-scroll\");\r\n\t\t}\r\n\t};\r\n\r\n\twindow.SVHA = window.SVHA || {};\r\n\twindow.SVHA.Widgets = window.SVHA.Widgets || {};\r\n\twindow.SVHA.Widgets.ApartmentPricing = ApartmentPricing;\r\n})(jQuery, window);\r\n","(function ($, window, undefined) {\r\n\r\n function Autocomplete(args) {\r\n this.defaults = {\r\n selectors: {\r\n widgetContainer: \"[data-autocomplete]\",\r\n }\r\n };\r\n\r\n this.options = $.extend(true, {}, this.defaults, args);\r\n this.$widgetContainer = $(this.options.selectors.widgetContainer);\r\n\r\n this.init();\r\n }\r\n\r\n Autocomplete.prototype.init = function () {\r\n var self = this;\r\n\r\n var el = this.$widgetContainer[0];\r\n\r\n var fetchFunction = function (url, text, update) {\r\n fetch(url + '?q=' + encodeURIComponent(text))\r\n .then(function (response) {\r\n if (response.status == 200) {\r\n return response.json();\r\n }\r\n return [];\r\n })\r\n .then(function (myJson) {\r\n el.classList.remove('c-text-box__field--loading');\r\n const suggestions = myJson;\r\n if (suggestions.length > 0) {\r\n el.setAttribute(\"data-result\", JSON.stringify(suggestions[0]));\r\n } else {\r\n el.removeAttribute(\"data-result\");\r\n }\r\n\r\n if (suggestions.IsExtra === undefined) {\r\n update(suggestions);\r\n } else {\r\n if (!!suggestions.IsExtra) {\r\n setMessage(el, 'Having trouble? Try entering your suburb followed by your postcode');\r\n }\r\n\r\n update(suggestions.Postcodes);\r\n }\r\n });\r\n };\r\n\r\n new autocomplete({\r\n input: el,\r\n debounceWaitMs: 250,\r\n fetch: function(text, update) {\r\n executeOnBlur = true;\r\n text = text.toLowerCase();\r\n var url = el.dataset.autocomplete;\r\n el.classList.add('c-text-box__field--loading');\r\n fetchFunction(url, text, update);\r\n },\r\n onSelect: function (item, e) {\r\n el.setAttribute(\"data-result\", JSON.stringify(item));\r\n el.value = item.label;\r\n executeOnBlur = false;\r\n el.blur();\r\n }\r\n });\r\n\r\n };\r\n\r\n window.SVHA = window.SVHA || {};\r\n window.SVHA.Widgets = window.SVHA.Widgets || {};\r\n window.SVHA.Widgets.Autocomplete = Autocomplete;\r\n\r\n})(jQuery, window);\r\n\r\n\r\n\r\n","(function ($, window, undefined) {\r\n\r\n function CareTeamSlider(args) {\r\n this.swiper;\r\n this.defaults = {\r\n selectors: {\r\n widgetContainer: '[data-care-team]',\r\n swiperContainer: '[data-care-team-swiper-container]',\r\n btnNext: '[data-care-team-swiper-next]',\r\n btnPrev: '[data-care-team-swiper-prev]'\r\n }\r\n };\r\n\r\n this.options = $.extend(true, {}, this.defaults, args);\r\n\r\n this.$widgetContainer = $(this.options.selectors.widgetContainer);\r\n this.$swiperContainer = this.parent(this.options.selectors.swiperContainer);\r\n this.$btnNext = this.parent(this.options.selectors.btnNext);\r\n this.$btnPrev = this.parent(this.options.selectors.btnPrev);\r\n\r\n this.init()\r\n }\r\n\r\n /**\r\n * Returns a jQuery element that is a child of the parent element\r\n * @param selector\r\n * @returns {*|HTMLElement}\r\n */\r\n CareTeamSlider.prototype.parent = function (selector) {\r\n return $(selector, this.$widgetContainer);\r\n };\r\n\r\n CareTeamSlider.prototype.init = function () {\r\n var self = this;\r\n\r\n this.swiper = new Swiper(this.$swiperContainer, {\r\n spaceBetween: -100,\r\n centeredSlides: true,\r\n centeredSlidesBounds: true,\r\n loop: false,\r\n\r\n breakpoints: {\r\n 768: {\r\n spaceBetween: 30,\r\n grabCursor: true,\r\n slidesPerView: 2,\r\n },\r\n 992: {\r\n spaceBetween: 30,\r\n slidesPerView: 4\r\n }\r\n },\r\n\r\n // Navigation arrows\r\n navigation: {\r\n nextEl: this.$btnNext,\r\n prevEl: this.$btnPrev,\r\n },\r\n });\r\n };\r\n\r\n window.SVHA = window.SVHA || {};\r\n window.SVHA.Widgets = window.SVHA.Widgets || {};\r\n window.SVHA.Widgets.CareTeamSlider = CareTeamSlider;\r\n\r\n})(jQuery, window);\r\n\r\n\r\n\r\n","(function ($, window, undefined) {\r\n\r\n function GlobalWidgets(args) {};\r\n\r\n GlobalWidgets.prototype.init = function () {\r\n this.AccordionContent = new SVHA.Widgets.AccordionContent({\r\n firstOpen: false\r\n });\r\n };\r\n\r\n window.SVHA = window.SVHA || {};\r\n window.SVHA.Widgets = window.SVHA.Widgets || {};\r\n window.SVHA.Widgets.GlobalWidgets = new GlobalWidgets;\r\n\r\n})(jQuery, window);","(function ($, window, undefined) {\r\n\r\n function HighlightStrap(args) {\r\n this.swiper;\r\n this.defaults = {\r\n selectors: {\r\n widgetContainer: '[data-highlight-strap]',\r\n swiperContainer: '[data-highlight-strap-swiper-container]',\r\n }\r\n };\r\n\r\n this.options = $.extend(true, {}, this.defaults, args);\r\n\r\n this.$widgetContainer = $(this.options.selectors.widgetContainer);\r\n this.$swiperContainer = this.parent(this.options.selectors.swiperContainer);\r\n\r\n this.init()\r\n }\r\n\r\n /**\r\n * Returns a jQuery element that is a child of the parent element\r\n * @param selector\r\n * @returns {*|HTMLElement}\r\n */\r\n HighlightStrap.prototype.parent = function (selector) {\r\n return $(selector, this.$widgetContainer);\r\n };\r\n\r\n\r\n HighlightStrap.prototype.initSwiper = function(){\r\n this.swiper = new Swiper(this.$swiperContainer, {\r\n slidesPerView: 1,\r\n spaceBetween: 0,\r\n grabCursor: true,\r\n });\r\n };\r\n\r\n HighlightStrap.prototype.destroySwiper = function () {\r\n this.swiper.destroy();\r\n };\r\n\r\n HighlightStrap.prototype.init = function () {\r\n var self = this;\r\n\r\n if(SVHA.Utility.StateManager.ssm.isActive('mobile')){\r\n this.initSwiper();\r\n }\r\n\r\n SVHA.Utility.StateManager.addOnEnter('desktop', function() {\r\n if(self.swiper){\r\n self.destroySwiper();\r\n }\r\n });\r\n\r\n SVHA.Utility.StateManager.addOnEnter('mobile', function() {\r\n if(self.swiper) {\r\n self.initSwiper();\r\n }\r\n });\r\n };\r\n\r\n window.SVHA = window.SVHA || {};\r\n window.SVHA.Widgets = window.SVHA.Widgets || {};\r\n window.SVHA.Widgets.HighlightStrap = HighlightStrap;\r\n\r\n})(jQuery, window);\r\n\r\n\r\n\r\n","(function ($, window, undefined) {\r\n\r\n function ImageSlider(args) {\r\n this.swiper;\r\n this.defaults = {\r\n selectors: {\r\n widgetContainer: '[data-image-slider]',\r\n swiperContainer: '[data-image-swiper-container]',\r\n swiperSlide: '[data-image-swiper-slide]',\r\n imgDescTxt: '[data-image-desc]',\r\n nextBtn: '[data-image-swiper-next]',\r\n prevBtn: '[data-image-swiper-prev]',\r\n pagination: '[data-image-pagination-block]'\r\n }\r\n };\r\n \r\n this.options = $.extend(true, {}, this.defaults, args);\r\n \r\n this.$widgetContainer = $(this.options.selectors.widgetContainer);\r\n this.$swiperContainer = this.parent(this.options.selectors.swiperContainer);\r\n this.$imgDescTxt = this.parent(this.options.selectors.imgDescTxt);\r\n this.$nextBtn = this.parent(this.options.selectors.nextBtn);\r\n this.$prevBtn = this.parent(this.options.selectors.prevBtn);\r\n this.$pagination = this.parent(this.options.selectors.pagination);\r\n\r\n this.init()\r\n }\r\n\r\n /**\r\n * Returns a jQuery element that is a child of the parent element\r\n * @param selector\r\n * @returns {*|HTMLElement}\r\n */\r\n ImageSlider.prototype.parent = function (selector) {\r\n return $(selector, this.$widgetContainer);\r\n };\r\n\r\n ImageSlider.prototype.getSlide = function(targetIndex){\r\n return this.$swiperContainer.find(this.options.selectors.swiperSlide).eq(targetIndex);\r\n };\r\n\r\n ImageSlider.prototype.setDescTxt = function (txtString) {\r\n this.$imgDescTxt.append('
'+txtString+'
');\r\n };\r\n\r\n ImageSlider.prototype.appendLink = function (txtString, url, isExternal) {\r\n if (isExternal === 'True'){\r\n this.$imgDescTxt.append(''+txtString+'');\r\n } else {\r\n this.$imgDescTxt.append(''+txtString+'');\r\n }\r\n };\r\n\r\n ImageSlider.prototype.updateDesc = function(slideIndex){\r\n var $targetSlide = this.getSlide(slideIndex);\r\n var imgTxt = $targetSlide.find('img').attr('data-caption');\r\n var linkUrl = $targetSlide.find('img').attr('data-caption-link');\r\n var isExternal = $targetSlide.find('img').attr('data-caption-external-link');\r\n\r\n //Clear it first\r\n this.$imgDescTxt.html('');\r\n\r\n if(linkUrl){\r\n this.appendLink(imgTxt, linkUrl, isExternal)\r\n } else {\r\n this.setDescTxt(imgTxt);\r\n }\r\n };\r\n\r\n ImageSlider.prototype.slideStart = function(){\r\n var activeSlide = this.swiper.activeIndex;\r\n this.updateDesc(activeSlide)\r\n };\r\n\r\n ImageSlider.prototype.init = function () {\r\n var self = this;\r\n\r\n this.updateDesc(0);\r\n\r\n this.swiper = new Swiper(this.$swiperContainer, {\r\n pagination: {\r\n el: this.$pagination,\r\n type: 'fraction',\r\n },\r\n navigation: {\r\n nextEl: this.$nextBtn,\r\n prevEl: this.$prevBtn,\r\n },\r\n\r\n on: {\r\n slideChangeTransitionStart: function(){\r\n self.slideStart();\r\n }\r\n }\r\n });\r\n };\r\n\r\n window.SVHA = window.SVHA || {};\r\n window.SVHA.Widgets = window.SVHA.Widgets || {};\r\n window.SVHA.Widgets.ImageSlider = ImageSlider;\r\n\r\n})(jQuery, window);\r\n\r\n\r\n\r\n","(function ($, window, undefined) {\r\n\r\n function LocationMapToggle(args) {\r\n this.defaults = {\r\n selectors: {\r\n widgetContainer: \"[data-toggle-animation]\",\r\n listBtn: \"[data-toggle-first-block]\",\r\n mapBtn: \"[data-toggle-second-block]\",\r\n list: \"[data-first-block]\",\r\n map: \"[data-second-block]\"\r\n },\r\n classes : {\r\n animationClass: \"toggle-active\",\r\n }\r\n };\r\n\r\n this.options = $.extend(true, {}, this.defaults, args);\r\n this.$widgetContainer = $(this.options.selectors.widgetContainer);\r\n\r\n this.$listBtn = this.parent(this.options.selectors.listBtn);\r\n this.$mapBtn = this.parent(this.options.selectors.mapBtn);\r\n this.$list = this.parent(this.options.selectors.list);\r\n this.$map = this.parent(this.options.selectors.map);\r\n\r\n this.init()\r\n }\r\n\r\n /**\r\n * Returns a jQuery element that is a child of the parent element\r\n * @param selector\r\n * @returns {*|HTMLElement}\r\n */\r\n LocationMapToggle.prototype.parent = function (selector) {\r\n return $(selector, this.$widgetContainer);\r\n };\r\n\r\n LocationMapToggle.prototype.init = function () {\r\n var self = this;\r\n\r\n self.toggleDisplay(this.$listBtn, self.$map[0], self.$list[0]);\r\n self.toggleDisplay(this.$mapBtn, self.$map[0], self.$list[0]);\r\n };\r\n\r\n LocationMapToggle.prototype.toggleDisplay = function (toggleBtn, firstToggledItem, secondToggledItem) {\r\n var self = this;\r\n\r\n toggleBtn.on(\"change\", function(){\r\n firstToggledItem.classList.toggle(self.options.classes.animationClass)\r\n secondToggledItem.classList.toggle(self.options.classes.animationClass)\r\n });\r\n };\r\n\r\n window.SVHA = window.SVHA || {};\r\n window.SVHA.Widgets = window.SVHA.Widgets || {};\r\n window.SVHA.Widgets.LocationMapToggle = LocationMapToggle;\r\n\r\n})(jQuery, window);\r\n\r\n\r\n\r\n","(function($, window, undefined) {\r\n\tfunction LocationPageSlider(args) {\r\n\t\tthis.swiper;\r\n\t\tthis.defaults = {\r\n\t\t\tselectors: {\r\n\t\t\t\twidgetContainer: \"[data-location-slider]\",\r\n\t\t\t\tswiperContainer: \"[data-location-swiper-container]\",\r\n\t\t\t},\r\n\t\t};\r\n\r\n\t\tthis.options = $.extend(true, {}, this.defaults, args);\r\n\r\n\t\tthis.$widgetContainer = $(this.options.selectors.widgetContainer);\r\n\t\tthis.$swiperContainer = this.parent(this.options.selectors.swiperContainer);\r\n\r\n\t\tvar breakpoint = window.matchMedia(\"(min-width:992px)\");\r\n\t\tvar mySwiper;\r\n\t\tvar breakpointChecker = function() {\r\n\t\t\tif (breakpoint.matches === true) {\r\n\t\t\t\tif (mySwiper !== undefined){\r\n\t\t\t\t\tmySwiper.destroy(true, true);\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t} else if (breakpoint.matches === false) {\r\n\t\t\t\treturn enableSwiper();\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tvar self = this;\r\n\t\tvar enableSwiper = function() {\r\n\t\t\tmySwiper = new Swiper(self.$swiperContainer, {\r\n\t\t\t\tinit: true,\r\n\t\t\t\tspaceBetween: 20,\r\n\t\t\t\tcenteredSlides: true,\r\n\t\t\t\tcenteredSlidesBounds: true,\r\n\t\t\t\tloop: false,\r\n\t\t\t\tslidesOffsetBefore: 15,\r\n\t\t\t\tslidesOffsetAfter: 0,\r\n\t\t\t});\r\n\t\t};\r\n\r\n\t\tbreakpoint.addListener(breakpointChecker);\r\n\t\tbreakpointChecker();\r\n\t}\r\n\r\n\t/**\r\n\t * Returns a jQuery element that is a child of the parent element\r\n\t * @param selector\r\n\t * @returns {*|HTMLElement}\r\n\t */\r\n\tLocationPageSlider.prototype.parent = function(selector) {\r\n\t\treturn $(selector, this.$widgetContainer);\r\n\t};\r\n\r\n\r\n\twindow.SVHA = window.SVHA || {};\r\n\twindow.SVHA.Widgets = window.SVHA.Widgets || {};\r\n\twindow.SVHA.Widgets.LocationPageSlider = LocationPageSlider;\r\n})(jQuery, window);\r\n","","(function($, window, undefined) {\r\n\tfunction LocationsMap(args) {\r\n\t\t//LocationFinderMap variables\r\n\t\tthis.deferredFitToMarkers = false;\r\n\r\n\t\tthis.defaults = {\r\n\t\t\tselectors: {\r\n\t\t\t\twidgetContainer: \"[data-location-finder-map-container]\",\r\n\t\t\t\tmapContainer: \"[data-location-finder-map]\",\r\n\t\t\t},\r\n\t\t};\r\n\r\n\t\tthis.options = $.extend(true, {}, this.defaults, args);\r\n\t\tthis.$widgetContainer = $(this.options.selectors.widgetContainer);\r\n\t\tthis.mapContainer = document.querySelector(this.options.selectors.mapContainer);\r\n\r\n\t\tif (!this.mapContainer)\r\n return;\r\n\r\n\t\t// REAL DATA,\r\n\t\ttry {\r\n\t\t\tthis.markersData = this.createMarkersData(JSON.parse(this.mapContainer.getAttribute('data-location-finder-map')));\r\n\t\t} catch (error) { }\r\n\r\n\t\t// test data\r\n\t\t// this.markersData = this.createMarkersData(new SVHA.Widgets.LocationsMapStaticValues().testData());\r\n\r\n\t\tthis.map = this.createMap(this.mapContainer);\r\n\r\n\t\tif (Array.isArray(this.markersData)) {\r\n\t\t\tthis.mapMarkers = this.createMarkers(this.map, this.markersData);\r\n\t\t}\r\n\r\n\t\tif(this.markersData.length == 1){\r\n\t\t\tthis.map.setZoom(12);\r\n\t\t\tthis.map.setCenter({ lat: this.markersData[0].latitude, lng: this.markersData[0].longitude });\r\n\t\t} else {\r\n\t\t\tlet bounds = this.getBoundsCoordinatesByLayLng(this.markersData);\r\n\t\t\tthis.map.fitBounds(bounds);\r\n\t\t}\r\n\r\n\t}\r\n\r\n\t/**\r\n\t * Returns a jQuery element that is a child of the parent element\r\n\t * @param selector\r\n\t * @returns {*|HTMLElement}\r\n\t */\r\n\tLocationsMap.prototype.parent = function(selector) {\r\n\t\treturn $(selector, this.$widgetContainer);\r\n\t};\r\n\r\n\tLocationsMap.prototype.createMarkersData = function(ResultsJson) {\r\n\r\n\t\tlet markersData = [];\r\n\r\n\t\tResultsJson.forEach((location) => {\r\n\t\t\tlet locationFeatures = \"\";\r\n\r\n\t\t\tlocation.features.forEach((feature) => {\r\n\t\t\t\tlocationFeatures += `\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t${feature}\r\n\t\t\t\t\t\t\t\t\t
`;\r\n\t\t\t});\r\n\r\n\t\t\tlet markerData = {\r\n\t\t\t\tlatitude: location.latitude,\r\n\t\t\t\tlongitude: location.longitude,\r\n\t\t\t\ttype: location.type,\r\n\t\t\t\turl: location.url,\r\n\t\t\t\tdialogWindow:`\r\n\t\t\t\t\t\t\t\t\t${marker.getPosition().lat}, ${marker.getPosition().lng}\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t