(e=>{function n(e,t){var r=e.find(".tm-google-map");new IntersectionObserver((e,n)=>{e.forEach(e=>{if(e.isIntersecting){var e=r.children(".map"),n=r.children(".map-options").html(),o=!1;try{o=JSON.parse(n)}catch(e){}o&&(t("body").hasClass("elementor-editor-active")&&(o.settings.scrollwheel=!1,o.settings.draggable=!1),n=o.overlay,o=o.settings,e.gmap3(o).overlay(n).on({mouseover:function(e){e.$.css({zIndex:2}),e.$.find(".gmap-info-wrapper").find(".minimog-map-overlay-content").show()},mouseout:function(e){e.$.css({zIndex:1}),e.$.find(".gmap-info-wrapper").find(".minimog-map-overlay-content").hide()}}))}})},{rootMargin:"0px 0px 0px 0px"}).observe(r.get(0))}e(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/tm-google-map.default",n)})})(jQuery);