(()=>{"use strict";var a={n:r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return a.d(e,{a:e}),e},d:(r,e)=>{for(var t in e)a.o(e,t)&&!a.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o:(a,r)=>Object.prototype.hasOwnProperty.call(a,r)};const r=jQuery;var e=a.n(r);e()(document).ready((function(){var a=e()(".bannercarousel .carousel-inner .carousel-item.active"),r=e()(".bannercarousel .carousel-controls .carousel-control-prev"),t=e()(".bannercarousel .carousel-controls .carousel-control-next");function n(){if(a){e()(".bannercarousel").each((function(r,t){var n=e()(t).find(".carousel-controls .carousel-control-prev"),o=e()(t).find(".carousel-controls .carousel-control-next");n&&(n.attr("data-bi-carPos",a.attr("aria-label")||""),a.prev().length?n.attr("data-next-id",a.prev().attr("itemTitle")||""):n.attr("data-next-id",a.siblings(":last").attr("itemTitle")||"")),o&&(o.attr("data-bi-carPos",a.attr("aria-label")||""),a.next().length?o.attr("data-next-id",a.next().attr("itemTitle")||""):o.attr("data-next-id",a.siblings(":first").attr("itemTitle")||""))}));var n=a.find(".card > * img");void 0!==n&&n&&(r.attr("data-bi-assetid",n.attr("src")||""),t.attr("data-bi-assetid",n.attr("src")||""))}}n(),e()(".bannercarousel .carousel-inner .card").each((function(a,r){var t=e()(r).find(".link-group > a");t&&t.length>0&&t.each((function(a,r){e()(r).attr("data-bi-compNm","Banner Carousel")}))})),e()(".bannercarousel .carousel-controls .carousel-control-prev").click((function(){e()(".bannercarousel .carousel-controls .carousel-control-prev").removeAttr("data-bi-assetid data-bi-carPos"),a=e()(".carousel-inner .active").prev().length?e()(".bannercarousel .carousel-inner .active").prev():e()(".bannercarousel .carousel-inner .active").siblings(":last"),n()})),e()(".bannercarousel .carousel-controls .carousel-control-next").click((function(){e()(".bannercarousel .carousel-controls .carousel-control-next").removeAttr("data-bi-assetid data-bi-carPos"),a=e()(".bannercarousel .carousel-inner .active").next().length?e()(".bannercarousel .carousel-inner .active").next():e()(".bannercarousel .carousel-inner .active").siblings(":first"),n()}))}))})();