1$(document).ready(function(){ 2 3//Shim to hide ISI > first instance unless condition is met; leveraging conditionize() function from conditional component 4//Filter necessary to prevent hiding of preview and collapsed content. 5 6if ($(".isi-content").length > 4) { 7 8 $(".isi-content:not(div.isi-content.preview-text):not(div.isi-content.collapse-text):not(div.isi-content.expand-text):gt(0)").attr({ 9 "data-cond-option": "ms_person_currently_treating", 10 "data-cond-condition": "equals", 11 "data-cond-value": "Yes" 12 }).conditionize(); 13 14 $('select[name="ms_partner_currently_treating"]').on('change', function(){ 15 ($('select[name="ms_partner_currently_treating"]').val() === "Yes") ? $(".isi-content:not(div.isi-content.preview-text):not(div.isi-content.collapse-text):not(div.isi-content.expand-text):gt(0)").css('display','block') : $(".isi-content:not(div.isi-content.preview-text):not(div.isi-content.collapse-text):not(div.isi-content.expand-text):gt(0)").css('display','none'); 16 17 }); 18 19 20}; 21 22if ($(".high-transition").length > 0) { 23 $(".high-transition:gt(0)").attr({ 24 "data-cond-option": "ms_person_currently_treating", 25 "data-cond-condition": "equals", 26 "data-cond-value": "Yes" 27 }).conditionize(); 28 29 $('select[name="ms_partner_currently_treating"]').on('change', function(){ 30 ($('select[name="ms_partner_currently_treating"]').val() === "Yes") ? $(".high-transition:gt(0)").css('display','block') : $(".high-transition:gt(0)").css('display','none'); 31 32 }); 33 34 35} 36 37 38}); 39 40$("[aria-label='Cookie Policy']").on("click", function(){Cookiebot.renew()}); 41let executeCookieless = function() { 42window._uxa = window._uxa || []; 43 try { 44 "undefined" !== typeof window.populate && 45 ("undefined" !== typeof window.populate.componentPath && 46 window._uxa.push([ 47 "setCustomVariable", 48 1, 49 "componentPath", 50 window.populate.componentPath, 51 3, 52 ]), 53 "undefined" !== typeof window.populate.values && 54 ("undefined" !== typeof window.populate.values.pageName && 55 window._uxa.push([ 56 "setCustomVariable", 57 2, 58 "pageName", 59 window.populate.values.pageName, 60 3, 61 ]), 62 "undefined" !== typeof window.populate.values.section && 63 window._uxa.push([ 64 "setCustomVariable", 65 3, 66 "section", 67 window.populate.values.section, 68 3, 69 ]), 70 "undefined" !== typeof window.populate.values.login && 71 window._uxa.push([ 72 "setCustomVariable", 73 4, 74 "login", 75 window.populate.values.login, 76 3, 77 ]))), 78 "undefined" !== typeof window.videoPath && 79 (window._uxa.push(["setCustomVariable", 5, "videoBoolean", "yes", 3]), 80 window._uxa.push([ 81 "setCustomVariable", 82 6, 83 "videoPath", 84 window.videoPath, 85 3, 86 ])); 87 } catch (b) {} 88 if ("undefined" === typeof CS_CONF) { 89 window._uxa.push([ 90 "setPath", 91 window.location.pathname + window.location.hash.replace("#", "?__"), 92 ]); 93 var a = document.createElement("script"); 94 a.type = "text/javascript"; 95 a.src = 96 -1 < window.location.href.indexOf("-vumerityhcp.biogen-support.com") 97 ? "//t.contentsquare.net/uxa/5274caf1d7481.js" 98 : "//t.contentsquare.net/uxa/4cb3c5a3eab80.js"; 99 document.getElementsByTagName("head")[0].appendChild(a); 100 } else 101 window._uxa.push([ 102 "trackPageview", 103 window.location.pathname + window.location.hash.replace("#", "?__"), 104 ]); 105} 106 107$(function() { 108 if($.cookie('vumerity-hcp-cookie')) { 109 executeCookieless(); 110 } 111 $( ".modals" ).on( "click", "a[data-aa='hcp-confirm-button']", function( event ) { 112 executeCookieless(); 113 }); 114}); 115 116$(window).on('load', function() {Â 117 118 $('#CookieDeclarationChangeConsentChange').on('click', function(e) {Â Â 119 120 $.removeCookie('CookieConsent', { path: '/' });Â 121 122 });Â 123 124});Â 125$(window).on('load', function() { 126 127 setTimeout( function() { 128 $(".modal-button").find("a:contains('Yes')").on('click', function() { 129 130 setTimeout(function() { 131 populateAdobeIDInputField(); 132 },3000); 133 }); 134 135 populateAdobeIDInputField(); 136 populateCIDInputField(); 137 populateQueryStringInputField(); 138 },1000); 139 140}); 141
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.