PageSourceSearch

https://www.ebtrans.com/wp-content/plugins/premium-addons-for-elem…/min-js/premium-maps.min.js?ver=4.10.16

js ebtrans.com collected 2026-10-10 02:35:26 UTC 3,089 bytes, 1 lines download raw bytes

1function initMap(){console.log("Google API Loaded")}jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/premium-addon-maps.default",function(h,w){var k=null,e=h.find(".premium_maps_map_height"),g=e.data("settings"),n=e.data("style"),C=[],y=[];if(g.loadScroll){var o=h.closest(".elementor-top-section, .e-con");elementorFrontend.waypoint(o,function(){premiumMap=a(e,g,n)},{offset:"70%"})}else premiumMap=a(e,g,n);function a(a,e,n){var o=e.scrollwheel,t=e.streetViewControl,i=e.fullScreen,r=e.zoomControl,l=e.typeControl,s=JSON.parse(e.centerlat),m=JSON.parse(e.centerlong),c=e.automaticOpen,p=e.hoverOpen,d=e.hoverClose,u={zoom:e.zoom,mapTypeId:e.maptype,center:{lat:s,lng:m},scrollwheel:o,streetViewControl:t,fullscreenControl:i,zoomControl:r,mapTypeControl:l,styles:n};"yes"===g.drag&&(u.gestureHandling="none");var f=a.find(".premium-pin");return(a=new google.maps.Map(a[0],u)).markers=[],k=w(".premium-carousel-wrapper"),f.each(function(e){!function(e,n,o,a,t,i){var r=new google.maps.LatLng(e.data("lat"),e.data("lng")),l=e.data("icon"),s=e.data("max-width"),m=e.data("id"),c=e.data("activated"),p=parseInt(e.data("icon-size"));if(""!=l){var d={url:l};p&&(d.scaledSize=new google.maps.Size(p,p),d.origin=new google.maps.Point(0,0),d.anchor=new google.maps.Point(p/2,p))}var u=new google.maps.Marker({position:r,map:n,icon:d,zIndex:i});m&&google.maps.event.addListener(u,"click",function(){0<k.length&&k.map(function(e,n){var o=w(n).data("settings");if(o.navigation&&-1!=o.navigation.indexOf("#"+m)){var a=o.navigation.indexOf("#"+m);w(n).find(".premium-carousel-inner").slick("slickGoTo",a)}})});if(e.find(".premium-maps-info-title").html()||e.find(".premium-maps-info-desc").html()){var f=new google.maps.InfoWindow({maxWidth:s,content:e.html()});if((o||c)&&f.open(n,u),a){var g=function(){var e=elementorFrontend.getCurrentDeviceMode();return!["desktop","widescreen","laptop"].includes(e)}(),v=g?"click":"mouseover";google.maps.event.addListener(u,v,function(){x&&x.close(),(x=f).open(n,u)}),t&&!g&&google.maps.event.addListener(u,"mouseout",function(){f.close(n,u)})}google.maps.event.addListener(u,"click",function(){x&&x.close(),m&&k.length&&k.map(function(e,n){var o=w(n).data("settings");if(o.navigation&&-1!=o.navigation.indexOf("#"+m)){var a=o.navigation.indexOf("#"+m);k.find(".premium-carousel-inner").slick("slickGoTo",a)}}),(x=f).open(n,u)}),f.addListener("visible",function(){0<e.find(".advanced-pin").length&&w(".gm-ui-hover-effect").remove(),h.find(".premium-maps-info-close").on("click",function(){f.close(n,u)})}),h.hasClass("pa-maps-carousel")&&y.push(f)}n.markers.push(u),C.push(u)}(jQuery(this),a,c,p,d,e)}),h.hasClass("pa-maps-carousel")&&k.map(function(e,n){w(n).find(".premium-carousel-inner").on("afterChange",function(e,n,o){y.map(function(e,n){e.close()}),y[o]&&y[o].open(a,a.markers[o])})}),g.cluster&&MarkerClusterer&&new MarkerClusterer(a,C,{imagePath:""!=g.cluster_icon?g.cluster_icon:"https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m"}),a}var x=null})});

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.