function initSPPageBuilderGMap(h){var u={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",decode:function(t){var e,r,a,o,n,d,i="",c=0;for(t=t.replace(/[^A-Za-z0-9+/=]/g,"");c<t.length;)e=this._keyStr.indexOf(t.charAt(c++))<<2|(o=this._keyStr.indexOf(t.charAt(c++)))>>4,r=(15&o)<<4|(n=this._keyStr.indexOf(t.charAt(c++)))>>2,a=(3&n)<<6|(d=this._keyStr.indexOf(t.charAt(c++))),i+=String.fromCharCode(e),64!=n&&(i+=String.fromCharCode(r)),64!=d&&(i+=String.fromCharCode(a));return i=u._utf8_decode(i)},_utf8_decode:function(t){for(var e="",r=0,a=c1=c2=0;r<t.length;)(a=t.charCodeAt(r))<128?(e+=String.fromCharCode(a),r++):191<a&&a<224?(c2=t.charCodeAt(r+1),e+=String.fromCharCode((31&a)<<6|63&c2),r+=2):(c2=t.charCodeAt(r+1),c3=t.charCodeAt(r+2),e+=String.fromCharCode((15&a)<<12|(63&c2)<<6|63&c3),r+=3);return e}};jQuery(".sppb-addon-gmap-canvas",h).each(function(t){var e=jQuery(this).attr("id"),r=Number(jQuery(this).attr("data-mapzoom")),a=jQuery(this).attr("data-infowindow"),o="true"===jQuery(this).attr("data-mousescroll"),n=jQuery(this).attr("data-maptype"),d={lat:Number(jQuery(this).attr("data-lat")),lng:Number(jQuery(this).attr("data-lng"))},i=new google.maps.Map(h.getElementById(e),{center:d,zoom:r,scrollwheel:o}),c=new google.maps.Marker({position:d,map:i});if(a){a=new google.maps.InfoWindow({content:u.decode(a)});c.addListener("click",function(){a.open(i,c)})}i.setMapTypeId(google.maps.MapTypeId[n])})}jQuery(window).load(function(){initSPPageBuilderGMap(document)});