1/** 2 * Solutions menu 3 */ 4 5var solutionsMenuTimer; 6var solutionsButton = jQuery('#menu-item-30'); 7var solutionsMenu = jQuery('.sub-menu'); 8 9closeProductSubmenu(); 10 11solutionsButton.on('mouseover', function() { 12 clearTimeout(solutionsMenuTimer); 13 openProductSubmenu(); 14}).on('mouseleave', function() { 15 solutionsMenuTimer = setTimeout(closeProductSubmenu, 150); 16}); 17 18function openProductSubmenu() { 19 if(jQuery(window).width() >= 1216){ 20 solutionsMenu.slideDown('fast'); 21 solutionsMenu.addClass('open'); 22 solutionsButton.addClass('open'); 23 } 24} 25function closeProductSubmenu() { 26 if(jQuery(window).width() >= 1216) { 27 solutionsMenu.slideUp('fast'); 28 solutionsMenu.removeClass('open'); 29 solutionsButton.removeClass('open'); 30 } 31} 32 33/** 34 * Mobile navigation 35 */ 36jQuery(window).resize(function() { 37 if(jQuery(window).width() >= 1216) { 38 jQuery('.menu-mobile-wrapper').css('display','flex'); 39 } 40 else { 41 jQuery('.menu-mobile-wrapper').css('display','none'); 42 jQuery('.menu-button').removeClass('open'); 43 jQuery('body').removeClass('no-scroll'); 44 } 45}); 46 47var menuItem = jQuery('.menu-item'); 48menuItem.on('click', function () { 49 if(jQuery(window).width() < 1216) { 50 jQuery('.menu-mobile-wrapper').slideUp('fast'); 51 jQuery('.menu-button').removeClass('open'); 52 jQuery('body').removeClass('no-scroll'); 53 } 54}); 55 56var menuButton = jQuery('.menu-button'); 57menuButton.on('click', function () { 58 jQuery('.menu-mobile-wrapper').slideToggle('fast'); 59 jQuery('.menu-button').toggleClass('open'); 60 jQuery('body').toggleClass('no-scroll'); 61}); 62 63/** 64 * Sticky header 65 */ 66var stickyOffset = 50; 67jQuery(window).scrollTop(jQuery(window).scrollTop()+1); 68jQuery(window).scroll(function(){ 69 var sticky = jQuery('#header'), 70 scroll = jQuery(window).scrollTop(); 71 72 if (scroll >= stickyOffset) sticky.addClass('fixed'); 73 else sticky.removeClass('fixed'); 74}); 75 76/** 77 * Copyright year 78 */ 79document.getElementById("year").innerHTML = new Date().getFullYear(); 80 81 82/** 83 * Cookies 84 */ 85 86// function runCookies(){ 87 var onButton = jQuery('.gdpr-on-button'); 88 var offButton = jQuery('.gdpr-off-button'); 89 var cookieButtons = jQuery('.radio-buttons'); 90 var cookiepopup = jQuery('.gdpr_popup'); 91 var cookieHeight = cookiepopup.outerHeight(); 92 var footer = jQuery('footer'); 93 var isUs = jQuery('.hidden_country').hasClass("us") 94 console.log(isUs); 95 96 function setCookieHeight(){ 97 footer.css('margin-bottom', cookieHeight); 98 } 99 100 function clearCookieHeight(){ 101 footer.css('margin-bottom', '0'); 102 } 103 104 function getCookie(name) { 105 var nameEQ = name + "="; 106 var ca = document.cookie.split(';'); 107 for(var i=0;i < ca.length;i++) { 108 var c = ca[i]; 109 while (c.charAt(0)==' ') c = c.substring(1,c.length); 110 if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); 111 } 112 return null; 113 } 114 115 function eraseCookie() { 116 //document.cookie="CookieConsent=CookieConsent; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;"; 117 document.cookie="CookieConsent=false; path=/; expires=365;"; 118 //setCookieHeight(); 119 // cookiepopup.addClass('visible'); 120 offButton.addClass('active'); 121 onButton.removeClass('active'); 122 } 123 124 function checkCookie(){ 125 var hasCookie = getCookie('CookieConsent'); 126 if (hasCookie === "true" || (!hasCookie && isUs)) { 127 clearCookieHeight(); 128 cookiepopup.removeClass('visible'); 129 onButton.addClass('active'); 130 offButton.removeClass('active'); 131 } 132 else{ 133 setCookieHeight(); 134 cookiepopup.addClass('visible'); 135 offButton.addClass('active'); 136 onButton.removeClass('active'); 137 } 138 } 139 140 function toggleCookie(){ 141 var hasCookie = getCookie('CookieConsent'); 142 if (hasCookie && hasCookie === "true") { 143 clearCookieHeight(); 144 cookiepopup.removeClass('visible'); 145 onButton.addClass('active'); 146 offButton.removeClass('active'); 147 eraseCookie(); 148 } 149 else{ 150 cookiepopup.addClass('visible'); 151 offButton.addClass('active'); 152 onButton.removeClass('active'); 153 setCookie(); 154 clearCookieHeight(); 155 } 156 } 157 158 function preventDefault(e){ 159 preventDefault(e); 160 } 161 162 function setCookie() { 163 var d = new Date(); 164 d.setTime(d.getTime() + (365*24*60*60*1000)); 165 var expires = "expires="+d.toUTCString(); 166 var hasCookie = getCookie('CookieConsent');
167 if (hasCookie === "false") { 168 document.cookie = "CookieConsent=true; path=/; expires=" + expires; 169 cookiepopup.removeClass('visible'); 170 onButton.addClass('active'); 171 offButton.removeClass('active'); 172 location.reload(); 173 } else if (!hasCookie && isUs) { 174 document.cookie = "CookieConsent=false; path=/; expires=" + expires; 175 cookiepopup.addClass('visible'); 176 onButton.removeClass('active'); 177 offButton.addClass('active'); 178 } else if (!hasCookie && !isUs) { 179 document.cookie = "CookieConsent=true; path=/; expires=" + expires; 180 cookiepopup.removeClass('visible'); 181 onButton.removeClass('active'); 182 offButton.addClass('active'); 183 location.reload(); 184 }else{ 185 document.cookie = "CookieConsent=false; path=/; expires=" + expires; 186 cookiepopup.addClass('visible'); 187 onButton.removeClass('active'); 188 offButton.addClass('active'); 189 } 190 191 setCookieHeight(); 192 } 193 194/* 195 var gotItButton = jQuery('#cookie-consent-button'); 196 var closeButton = jQuery('#cookie-close-button'); 197 gotItButton.click(function(){ 198 setCookie(); 199 clearCookieHeight(); 200 }); 201 closeButton.click(function(){ 202 setCookie(); 203 clearCookieHeight(); 204 }); 205 206 checkCookie(); 207 cookieButtons.click(preventDefault, toggleCookie);*/ 208// } 209 210// jQuery(document).ready(function() { 211// runCookies(); 212// }); 213/* 214jQuery(window).resize(function() { 215 var cookiepopup = jQuery('.gdpr_popup'); 216 var cookieHeight = cookiepopup.outerHeight(); 217 var footer = jQuery('footer'); 218 function setCookieHeight(){ 219 footer.css('margin-bottom', cookieHeight); 220 } 221 if (cookiepopup.hasClass('visible')){ 222 setCookieHeight(); 223 } 224}); 225*/ 226/******************************************************************************************************* 227 * COOKIES BANNER 228 *******************************************************************************************************/ 229/* 230if (sessionStorage.getItem("closedBanner") === null) { 231 var pageName = window.location.pathname.split("/"); 232 var cookiesArray = get_cookies_array(); 233 if (pageName[1] !== "cookies-settings" && ((!cookiesArray['CookieConsent'] && !countryNon) || cookiesArray['CookieConsent'] == 'false')) { 234 document.querySelector("footer").style.marginBottom = "91px" 235 var element = document.getElementById("cookies_note"); 236 element.classList.add("gdpr_popup") 237 element.innerHTML = 238 '<div class="gdpr_popup_main">' + 239 '<p class="web_cookie">' + 240 '<b>We use cookies - </b>' + 241 '<span>to ensure that we give you the best experience on our website. By accepting we\'ll assume that you are happy to receive all cookies on our website. However, if you would like to, you can change your cookie settings at any time.' + 242 '<a href="https://www.zoominfo.com/about-zoominfo/privacy-policy" class="readMoreLink web_cookie cookie-banner-link" style="margin:0 .5em">Read More</a>' + 243 '</span>' + 244 '</p>' + 245 '<div>' + 246 '<button id="gotItButtonWeb" class="web_cookie gotItButton btn cta-button" style="margin:.5em 0">Got it!</button>' + 247 '<a href="" class="cookie-banner-link close-link web_cookie">Close</a>' + 248 '</div>' + 249 250 '<div class="mobile-cookie-container mobile_cookie">' + 251 '<p>' + 252 '<b>We use cookies - </b>' + 253 '<span>to ensure that we give you the best experience. If you continue to use our website, we\'ll assume that you are happy to receive all cookies from us. </span>' + 254 '<a href="https://www.zoominfo.com/about-zoominfo/privacy-policy" class="readMoreLink cookie-banner-link">Read More </a>' + 255 '</p>' + 256 '<div>' + 257 '<button id="gotItButtonMob" class=" gotItButton btn cta-button" style="margin:.5em 0">Got it!</button>' + 258 '<a href="" class="cookie-banner-link close-link">Close</a>' + 259 '</div>' + 260 '</div>' + 261 '</div>'; 262 child = element.firstChild; 263 element.appendChild(child); 264 document.getElementById("gotItButtonWeb").addEventListener("click", function () { 265 //tag_manager(); 266 setCookie("CookieConsent", "true", 365) 267 location.reload() 268 }); 269 document.getElementById("gotItButtonMob").addEventListener("click", function () { 270 //tag_manager(); 271 setCookie("CookieConsent", "true", 365) 272 location.reload() 273 }) 274 } 275}
275 276*/ 277/*******************************************************************************************************/ 278 279/******************************************************************************************************* 280 * CROSS DOMAIN REFERRER 281 *******************************************************************************************************/ 282/* 283jQuery('#cookies_note').on('click', '.close-link', function(e){ 284 e.preventDefault(); 285 sessionStorage.setItem("closedBanner", 'true'); 286 jQuery('#cookies_note').hide(); 287 jQuery('footer').css('marginBottom', '0'); 288}); 289*/ 290/*******************************************************************************************************/ 291 292 293 294 295 296var isMobile = false; //initiate as false 297// device detection 298if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent) 299 || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.
299substr(0,4))) { 300 isMobile = true; 301} 302 303 304function addStickyCTA(){ 305 if (isMobile === true){ 306 jQuery('.sticky-cta').addClass('active'); 307 } 308 else { 309 jQuery('.sticky-cta').removeClass('active'); 310 } 311} 312 313addStickyCTA();
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.