1 2var header_height = 100; 3var min_header_height_scroll = 57; 4var min_header_height_fixed_hidden = 50; 5var min_header_height_sticky = 60; 6var scroll_amount_for_sticky = 85; 7var content_line_height = 60; 8var header_bottom_border_weight = 1; 9var scroll_amount_for_fixed_hiding = 200; 10var paspartu_width_init = 0.02; 11var add_for_admin_bar = jQuery('body').hasClass('admin-bar') ? 32 : 0; 12 13 min_header_height_fixed_hidden = 80; 14 15var logo_height = 130; // proya logo height 16var logo_width = 280; // proya logo width 17 logo_height = 152; 18 logo_width = 200; 19 20 21 header_top_height = 0; 22var loading_text = 'Loading new posts...'; 23var finished_text = 'No more posts'; 24 25var piechartcolor; 26piechartcolor = "#1abc9c"; 27 piechartcolor = "#173ea8"; 28 29var geocoder; 30var map; 31 32function initialize() { 33 "use strict"; 34 // Create an array of styles. 35 var mapStyles = [ 36 { 37 stylers: [ 38 {hue: "#324156" }, 39 {saturation: "-60"}, 40 {lightness: "-20"}, 41 {gamma: 1.51} 42 ] 43 } 44 ]; 45 var qodeMapType = new google.maps.StyledMapType(mapStyles, 46 {name: "Qode Map"}); 47 48 geocoder = new google.maps.Geocoder(); 49 var latlng = new google.maps.LatLng(-34.397, 150.644); 50 var myOptions = { 51 zoom: 12, 52 scrollwheel: false, 53 center: latlng, 54 zoomControl: true, 55 zoomControlOptions: { 56 style: google.maps.ZoomControlStyle.SMALL, 57 position: google.maps.ControlPosition.RIGHT_CENTER 58 }, 59 scaleControl: false, 60 scaleControlOptions: { 61 position: google.maps.ControlPosition.LEFT_CENTER 62 }, 63 streetViewControl: false, 64 streetViewControlOptions: { 65 position: google.maps.ControlPosition.LEFT_CENTER 66 }, 67 panControl: false, 68 panControlOptions: { 69 position: google.maps.ControlPosition.LEFT_CENTER 70 }, 71 mapTypeControl: false, 72 mapTypeControlOptions: { 73 mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'qode_style'], 74 style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR, 75 position: google.maps.ControlPosition.LEFT_CENTER 76 }, 77 mapTypeId: 'qode_style' 78 }; 79 map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); 80 map.mapTypes.set('qode_style', qodeMapType); 81 } 82 83function codeAddress(data) { 84 "use strict"; 85 86 if (data === '') 87 return; 88 89 var contentString = '<div id="content">'+ 90 '<div id="siteNotice">'+ 91 '</div>'+ 92 '<div id="bodyContent">'+ 93 '<p>'+data+'</p>'+ 94 '</div>'+ 95 '</div>'; 96 var infowindow = new google.maps.InfoWindow({ 97 content: contentString 98 }); 99 geocoder.geocode( { 'address': data}, function(results, status) { 100 if (status === google.maps.GeocoderStatus.OK) { 101 map.setCenter(results[0].geometry.location); 102 var marker = new google.maps.Marker({ 103 map: map, 104 position: results[0].geometry.location, 105 icon: 'https://diocesisplasencia.org/wp-content/themes/bridge/img/pin.png', 106 title: data['store_title'] 107 }); 108 google.maps.event.addListener(marker, 'click', function() { 109 infowindow.open(map,marker); 110 }); 111 //infowindow.open(map,marker); 112 } 113 }); 114} 115 116var $j = jQuery.noConflict(); 117 118$j(document).ready(function() { 119 "use strict"; 120 121 showContactMap(); 122}); 123 124function showContactMap() { 125 "use strict"; 126 127 if($j("#map_canvas").length > 0){ 128 initialize(); 129 codeAddress(""); 130 codeAddress(""); 131 codeAddress(""); 132 codeAddress(""); 133 codeAddress(""); 134 } 135} 136 137var no_ajax_pages = []; 138var qode_root = 'https://diocesisplasencia.org/'; 139var theme_root = 'https://diocesisplasencia.org/wp-content/themes/bridge/'; 140var header_style_admin = ""; 141if(typeof no_ajax_obj !== 'undefined') { 142 no_ajax_pages = no_ajax_obj.no_ajax_pages; 143}
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.