PageSourceSearch

https://www.bridgeatbalcones.com/assets/javascript/community/version2/slider.min.js?v=0.5

js bridgeatbalcones.com collected 2026-10-09 00:01:23 UTC 13,332 bytes, 2 lines download raw bytes

1function loadSlickSlider(e){var i="."+(e=$.extend({dots:!1,autoplaySpeed:3e3,lazyLoad:"ondemand",infinite:!0,focusOnSelect:!1,fade:!1,prevArrow:e.prevArrowSelector,nextArrow:e.nextArrowSelector,focusOnChange:!1,autoplay:!1,ondemandPlus2:!0,imageoffset:0,responsive_3_SlideSlider:!1,circularSlider:!0,announceSlidesShownFor:null,mouseWheelScrolling:!1,disablePopupCaptions:!1,slideAnimation:!1,galleryCustomMarkup:null,popupOnChangeCallback:null},e)).sliderIdClass,t=$(i);if($(i+".slick-initialized").length&&$(i).slick("unslick"),e.popupLinkClass){var l={type:"image",gallery:{enabled:!0},callbacks:{open:function(){$("iframe").css({visibility:"hidden"}),0===$(".mfp-counter").html().length&&($(".mfp-title").addClass("single-photo-gallery"),$(".mfp-img").addClass("mfp-default-cursor"))},close:function(){$("iframe").css({visibility:"visible"})}}};e.popupOnChangeCallback&&(l.callbacks.change=function(){e.popupOnChangeCallback(this)}),e.disablePopupCaptions&&(l.image={titleSrc:null}),e.galleryCustomMarkup&&(l.image?l.image.markup=e.galleryCustomMarkup:l.image={markup:e.galleryCustomMarkup}),t.find("."+e.popupLinkClass).magnificPopup(l)}function setSlickSliderSize(e){var i=t.find(".slick-slide").width(),l=t.find(".slick-slide").outerWidth(!0)-i,a=2*i+2*l-1,n=3*i+3*l-1,s=e.slideCount;t.removeAttr("style");var o=t.width();s>2&&n<=o?t.width(n):s>1&&a<=o?t.width(a):t.width(i+l)}
1function scrollerKeyHandler(e,i){var l,a=e.keyCode?e.keyCode:e.which,n="tab"===$(document.activeElement).attr("role"),s="";switch(1===$(i+" .slick-slide.slick-active").find(":focus").length&&(s=document.activeElement.className?"."+document.activeElement.className.replace(/\s+/g," ."):""),a){case 36:t[0].slick.goTo(0,!1);break;case 35:slideScrollerToLastPosition();break;case 37:if("Playbar"==$(e.target).attr("aria-label")){if(o=$(e.target).closest(".wistiaVideoPlayer").attr("id"))(r=Wistia.api(o)).time(r.time()-2);e.stopPropagation();break}0===(l=t[0].slick.currentSlide)?slideScrollerToLastPosition():t[0].slick.goTo(l-1,!1);break;case 39:if("Playbar"==$(e.target).attr("aria-label")){var o,r;if(o=$(e.target).closest(".wistiaVideoPlayer").attr("id"))(r=Wistia.api(o)).time(r.time()+2);e.stopPropagation();break}l=t[0].slick.currentSlide;var d=t[0].slick.slideCount;l+$(i+" :not('.slick-dots') .slick-slide.slick-active:not('.slick-cloned')").length>=d?t[0].slick.goTo(0,!1):t[0].slick.goTo(l+1,!1);break;default:return!0}return n?setTimeout(function(){t.find("li.slick-active button").focus()},500):s&&setTimeout(function(){t.find(".slick-slide.slick-active "+s).focus()},1e3),e.preventDefault(),!1}
1function slideScrollerToLastPosition(){var e=$(i+" :not('.slick-dots') .slick-slide.slick-active:not('.slick-cloned')").length;t[0].slick.goTo(t[0].slick.slideCount-e,!1)}t.on("init",function(l,a){if(e.initialCallback&&e.initialCallback(l,a),"ondemand"===e.lazyLoad&&e.ondemandPlus2&&a.slideCount>0){var n=[-2,-1,0,1,2].map(function(e){return(a.currentSlide+e+a.slideCount)%a.slideCount});if(e.infinite){var s=[].concat(n.map(function(e){return e+a.slideCount}),["-1"]);n=[].concat(n,s)}n.forEach(function(e){var t=$(i+" .slick-slide[data-slick-index="+e+"] img.slick-loading");if(t.length>0){var l=t.attr("src");void 0!==l&&!1!==l||((t.hasClass("slider-full-image")||t.hasClass("object-fit-cover")||t.hasClass("object-fit-contain"))&&t[0].addEventListener("load",slideImageLoaded),t.attr("src",t.attr("data-lazy")).removeClass("slick-loading").removeAttr("data-lazy"),t[0].complete&&t[0].naturalWidth>0&&slideImageLoaded.call(t[0]))}})}if(e.responsive_3_SlideSlider&&(setSlickSliderSize(a),$(window).resize(function(){setSlickSliderSize(a)}),$(window).trigger("resize")),$(e.prevArrowSelector).click(function(e,i){if(0===t[0].slick.currentSlide)return slideScrollerToLastPosition(),e.preventDefault(),!1}),$(e.nextArrowSelector).click(function(e,l){var a=t[0].slick.slideCount,n=$(i+" :not('.slick-dots') .slick-active:not('.slick-cloned')").length;if(t[0].slick.currentSlide+n>=a)return t[0].slick.goTo(0,!1),e.preventDefault(),!1}),$(e.prevArrowSelector).keydown(function(e){scrollerKeyHandler(e,i)}),$(e.nextArrowSelector).keydown(function(e){scrollerKeyHandler(e,i)}),$(i+" .slick-slide:not(.slick-cloned)").keydown(function(e){scrollerKeyHandler(e,i)}),$(i+" .slick-slide:not(.slick-cloned) button").keydown(function(e){scrollerKeyHandler(e,i)}),e.dots&&processDots(a,i),setTimeout(function(){t.find(".slick-slide[aria-hidden='true'] button").attr("disabled","disabled"),t.find(".slick-slide[aria-hidden='true'] [tabindex='0']").attr("tabindex","-1"),t.find(".slick-slide:not(.slick-cloned)[aria-hidden='false'] button").removeAttr("disabled"),t.find(".slick-slide:not(.slick-cloned)[aria-hidden='false'] :not(.noTabStopHere)[tabindex='-1']").attr("tabindex","0"),t.find(".noTabStopHere").attr("tabindex","-1"),t.find(".slick-slide.slick-cloned[aria-hidden='true'] iframe.youtubeVideoPlayer").attr("tabindex","-1")},2e3),e.announceSlidesShownFor){var o="<span class='"+e.sliderIdClass+"-liveRegion hiddenIR' aria-live='polite' aria-atomic='true'></span>";t.after(o),announceSlides(a)}if(e.infinite||(e.circularSlider?($(e.prevArrowSelector).attr("aria-disabled","false"),$(e.nextArrowSelector).attr("aria-disabled","false")):($(e.prevArrowSelector).hasClass("slick-disabled")?$(e.prevArrowSelector).attr("disabled","disabled"):$(e.prevArrowSelector).removeAttr("disabled"),$(e.nextArrowSelector).hasClass("slick-disabled")?$(e.nextArrowSelector).attr("disabled","disabled"):$(e.nextArrowSelector).removeAttr("disabled"))),e.slideAnimation){new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&t.find(".slick-track").addClass("slide-animation")})}).observe(t[0])}"ondemand"===e.lazyLoad&&requestAnimationFrame(function(){requestAnimationFrame(function(){t[0]&&t[0].slick&&t.slick("setPosition")})})});var a=e;function processDots(i,t){if($(t+" .slick-dots li").length<=1)$(t+" .slick-dots").hide();else{$(t+" .slick-dots").show(),$(t+" .slick-dots").attr("aria-label","Choose slide to display");var l=$(t+" .slick-dots button");if(l.keydown(function(e){scrollerKeyHandler(e,t)}),function removeAriaDescribedbyIfBad(e){$(e+" .slick-slide[aria-describedby]").each(function(){document.getElementById($(this).attr("aria-describedby"))||$(this).removeAttr("aria-describedby")})}(t),e.responsive_3_SlideSlider){var a=i.slideCount,n=$(t+" :not('.slick-dots') .slick-slide.slick-active:not('.slick-cloned')").length;a>n&&(n>=2&&$(l[l.length-1]).on("click",function(e){return slideScrollerToLastPosition(),e.preventDefault(),!1}),n>=3&&$(l[l.length-2]).on("click",function(e){return slideScrollerToLastPosition(),e.preventDefault(),!1}),activateShownSlideDots(t))}setTimeout(function(){$(t+" .slick-dots button[aria-label]").attr("aria-label",function(e){return e+1+" of "+i.slideCount+" slides"})},1e3)}}function activateShownSlideDots(e){$(e+" .slick-dots li").removeClass("slick-slide-is-active"),$(e+" .slick-slide.slick-active:not('.slick-cloned')").each(function(e,i){var t=i.getAttribute("aria-describedby"),l=document.getElementById(t);l&&l.parentNode.classList.add("slick-slide-is-active")})}function announceSlides(l){var a=l.slideCount,n=t.find(" :not('.slick-dots') .slick-slide.slick-active:not('.slick-cloned')"),s=n.length,o="";if(a>s){switch(s){case 1:o="Showing slide "+(parseInt(n[0].dataset.slickIndex)+1).toString()+" of "+a.toString()+" "+e.announceSlidesShownFor;break;case 2:o="Showing slides "+(parseInt(n[0].dataset.slickIndex)+1).toString()+" and "+(parseInt(n[1].dataset.slickIndex)+1).toString()+" of "+a.toString()+" "+e.announceSlidesShownFor;break;case 3:o="Showing slides "+(parseInt(n[0].dataset.slickIndex)+1).toString()+", "+(parseInt(n[1].dataset.slickIndex)+1).toString()+", and "+(parseInt(n[2].dataset.slickIndex)+1).toString()+" of "+a.toString()+" "+e.announceSlidesShownFor}$(i+"-liveRegion").text(o)}}function slideImageLoaded(){this.parentElement.parentElement.classList.add("loaded"),(isEdge()||isIE())&&$(this).hasClass("object-fit-cover")?(this.parentElement.parentElement.style.backgroundImage="url("+this.src+")",this.parentElement.parentElement.classList.add("ie-edge-workaround-for-object-fit-cover")):isIE()&&$(this).hasClass("object-fit-contain")&&(this.parentElement.parentElement.style.backgroundImage="url("+this.src+")",this.parentElement.parentElement.classList.add("ie-workaround-for-object-fit-contain")),$(this).parent().parent().parent().find(".loading-animation").remove();
1var e=$(this).closest(".slick-slider");e.length&&e.get(0).slick&&requestAnimationFrame(function(){e.slick("setPosition")})}return e.responsive_3_SlideSlider&&(a=$.extend(a,{infinite:!0,slidesToShow:1,mobileFirst:!0,respondTo:"slider",swipe:!1,responsive:[{breakpoint:386,settings:{slidesToShow:2}},{breakpoint:772,settings:{slidesToShow:3}},{breakpoint:1158,settings:{slidesToShow:4}}]})),$(i).slick(a),e.mouseWheelScrolling&&$(i).on("wheel",function(e){e.preventDefault(),e.originalEvent.deltaY<0?$(this).slick("slickPrev"):$(this).slick("slickNext")}),t.on("beforeChange",function(t,l){if(e.beforeChangeCallback&&e.beforeChangeCallback(t,l),"ondemand"===e.lazyLoad&&e.ondemandPlus2&&l.slideCount>0){var a=[(l.currentSlide+l.slideCount+3)%l.slideCount,(l.currentSlide+l.slideCount-2)%l.slideCount];if(e.infinite){var n=[].concat(a.map(function(e){return e+l.slideCount}),["-1"]);a=[].concat(a,n)}a.forEach(function(e){var t=$(i+" .slick-slide[data-slick-index="+e+"] img.slick-loading");if(t.length>0){var l=t.attr("src");void 0===l||!1===l?((t.hasClass("slider-full-image")||t.hasClass("object-fit-cover")||t.hasClass("object-fit-contain"))&&t[0].addEventListener("load",slideImageLoaded),t.attr("src",t.attr("data-lazy")).removeClass("slick-loading").removeAttr("data-lazy"),t[0].complete&&t[0].naturalWidth>0&&slideImageLoaded.call(t[0])):t[0].complete&&t[0].naturalWidth>0?slideImageLoaded.call(t[0]):(t.hasClass("slider-full-image")||t.hasClass("object-fit-cover")||t.hasClass("object-fit-contain"))&&t[0].addEventListener("load",slideImageLoaded)}})}}),t.on("lazyLoaded",function(e,i,t){const l=t&&t[0]?t[0]:t;l&&slideImageLoaded.call(l)}),t.on("afterChange",function(l,a){t.find(".slick-slide.slick-active img.slider-full-image, .slick-slide.slick-active img.object-fit-cover, .slick-slide.slick-active img.object-fit-contain").each(function(){const e=this.parentElement&&this.parentElement.parentElement;e&&e.classList.contains("loaded")||(this.complete&&this.naturalWidth>0?slideImageLoaded.call(this):this.addEventListener("load",slideImageLoaded))}),e.afterChangeCallback&&e.afterChangeCallback(l,a),e.infinite||(e.circularSlider?($(e.prevArrowSelector).attr("aria-disabled","false"),$(e.nextArrowSelector).attr("aria-disabled","false")):($(e.prevArrowSelector).hasClass("slick-disabled")?$(e.prevArrowSelector).attr("disabled","disabled"):$(e.prevArrowSelector).removeAttr("disabled"),$(e.nextArrowSelector).hasClass("slick-disabled")?$(e.nextArrowSelector).attr("disabled","disabled"):$(e.nextArrowSelector).removeAttr("disabled"))),e.responsive_3_SlideSlider&&activateShownSlideDots(i),t.find(".floorplanSliderVideoContainer[aria-hidden='true'] .floorplanVideoPlayerContainer").css("visibility","hidden"),t.find(".floorplanSliderVideoContainer[aria-hidden='false'] .floorplanVideoPlayerContainer").css("visibility","visible"),setTimeout(function(){t.find(".slick-slide[aria-hidden='true'] button").attr("disabled","disabled"),t.find(".slick-slide[aria-hidden='true'] [tabindex='0']").attr("tabindex","-1"),t.find(".slick-slide:not(.slick-cloned)[aria-hidden='false'] button").removeAttr("disabled"),t.find(".slick-slide:not(.slick-cloned)[aria-hidden='false'] :not(.noTabStopHere)[tabindex='-1']").attr("tabindex","0"),t.find(".noTabStopHere").attr("tabindex","-1"),t.find(".slick-slide.slick-cloned[aria-hidden='true'] iframe.youtubeVideoPlayer").attr("tabindex","-1")},100),e.announceSlidesShownFor&&announceSlides(a)}),t.on("breakpoint",function(t,l){e.breakpointCallback&&e.breakpointCallback(t,l),e.dots&&processDots(l,i)}),t.on("swipe",function(){e.swipeCallback&&e.swipeCallback()}),null}function loadImgGalleryPopup(e){$(`.${e}-trigger`).magnificPopup({type:"inline",preloader:!1,callbacks:{beforeOpen:function(){this.st.mainClass=this.st.el.attr("mfp-zoom-in"),populateImgGallerySRCs(e),populateImgGalleryInfo(e)},open:function(){$("html").css("overflow","hidden"),setTimeout(()=>{$(`#${e} .loading-animation`).hide()},1e3),scrollImgFromSliderIntoView()},close:function(){$("html").css("overflow","")}}})}function populateImgGallerySRCs(e,i=1/0){$(`#${e} img`).each(function(e){if(0===e&&$(this).removeAttr("loading"),e>i)return;const t=$(this).attr("data-lazy-event");$(this).attr("src",t),$(this).removeAttr("data-lazy-event")})}function populateImgGalleryInfo(e){const i=$(`#${e} img`),t=$(`#${e} .gallery-img-caption-num`),l=i.length;i.each(function(e){$(this).attr("data-index",e)}),t.each(function(e){$(this).text(`${e+1} of ${l}`)})}function scrollImgFromSliderIntoView(){const e=$(".slick-current img").attr("id");if(e?.length){const i=e.replace("carouselFeature","gallery");setTimeout(function(){document.getElementById(i)?.scrollIntoView?.({behavior:"smooth"})},300)}}function scrollImgByIndexIntoView(e,i){const t=$(`#${e} img[data-index="${i}"]`);t.length&&setTimeout(function(){t[0].scrollIntoView({behavior:"smooth"})},500)}
2//# sourceMappingURL=slider.min.js.map

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.