!function(e){"function"==typeof define&&define.amd?define("carousel",e):e()}(function(){"use strict";jQuery(function(t){t(".gallery-prev-btn").click(function(e){e.preventDefault(),t(this).parents(".element").find(".gallery-carousel.owl-carousel").trigger("prev.owl.carousel")}),t(".gallery-next-btn").click(function(e){e.preventDefault(),t(this).parents(".element").find(".gallery-carousel.owl-carousel").trigger("next.owl.carousel")})}),MyListing.GalleryCarousel=function(){jQuery(function(n){n(".gallery-carousel").each(function(e,t){var l=n(t).data("items")?n(t).data("items"):3,i=n(t).data("items-mobile")?n(t).data("items-mobile"):2;n(t).owlCarousel({margin:10,items:l,mouseDrag:!1,responsive:{0:{items:i},600:{items:3<l?3:l},1e3:{items:l}}})})})},MyListing.GalleryCarousel()});
