1$(document).mouseup(function (e) { 2 var container = $(".hide-on-click-elsewhere"); 3 if (!container.is(e.target) // if the target of the click isn't the container... 4 && container.has(e.target).length === 0) // ... nor a descendant of the container 5 { 6 container.hide(); 7 } 8}); 9 10$(document).ready(function (e) { 11 $('.stopPropagation button, .stopPropagation a').click(function (e) { 12 e.stopPropagation(); 13 }); 14}); 15 16function createCookie(name, value, days) { 17 var expires = ""; 18 if (days) { 19 var date = new Date(); 20 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); 21 expires = "; expires=" + date.toUTCString(); 22 } 23 document.cookie = name + "=" + value + expires + "; path=/"; 24} 25 26function readCookie(name) { 27 var nameEQ = name + "="; 28 var ca = document.cookie.split(';'); 29 for (var i = 0; i < ca.length; i++) { 30 var c = ca[i]; 31 while (c.charAt(0) == ' ') c = c.substring(1, c.length); 32 if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); 33 } 34 return null; 35} 36 37function eraseCookie(name) { 38 createCookie(name, "", -1); 39} 40 41$(function () { 42 $('.expand-collapse').click(function () { 43 var expanding = $(this).next().css('display') == 'none'; 44 $(this).next().toggle('slow'); 45 $(this).toggleClass('themedbackground'); 46 $(this).find(".caret").toggleClass('fa-angle-up', expanding); 47 $(this).find(".caret").toggleClass('fa-angle-down', !expanding); 48 if (expanding) { 49 sessionStorage.setItem($(this).attr('id'), 'expanded'); 50 } 51 else { 52 sessionStorage.removeItem($(this).attr('id')); 53 } 54 55 $(".expand-collapse input, a, select").click(function (e) { 56 e.stopPropagation(); 57 }); 58 59 }); 60}); 61 62$(function () { 63 $('.expand-collapse').each(function () { 64 var expanded = sessionStorage.getItem($(this).attr('id')) !== null; 65 if (expanded) { 66 $(this).next().css('display', ''); 67 $(this).addClass('themedbackground'); 68 } 69 else { 70 $(this).removeClass('themedbackground'); 71 } 72 73 $(this).find(".caret").toggleClass('fa-angle-up', expanded); 74 $(this).find(".caret").toggleClass('fa-angle-down', !expanded); 75 76 }); 77}); 78 79$(function () { 80 $('.slide-left').animate({ left: 0 }); 81 82 $(".expand-collapse input, .expand-collapse a, .expand-collapse select").click(function (e) { 83 e.stopPropagation(); 84 }); 85}); 86 87 88Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler); 89 90function EndRequestHandler(sender, args) { 91 92 $(function () { 93 $('.slide-left').animate({ left: 0 }); 94 95 $(".expand-collapse input, .expand-collapse a, .expand-collapse select").click(function (e) { 96 e.stopPropagation(); 97 }); 98 $('.stopPropagation button, .stopPropagation a').click(function (e) { 99 e.stopPropagation(); 100 }); 101 }); 102 103 $(function () { 104 $('.expand-collapse').click(function () { 105 var expanding = $(this).next().css('display') == 'none'; 106 $(this).next().toggle('slow'); 107 $(this).toggleClass('themedbackground'); 108 $(this).find(".caret").toggleClass('fa-angle-up', expanding); 109 $(this).find(".caret").toggleClass('fa-angle-down', !expanding); 110 if (expanding) { 111 sessionStorage.setItem($(this).attr('id'), 'expanded'); 112 } 113 else { 114 sessionStorage.removeItem($(this).attr('id')); 115 } 116 117 $(".expand-collapse input, .expand-collapse a, .expand-collapse select").click(function (e) { 118 e.stopPropagation(); 119 }); 120 }); 121 }); 122 123 $(function () { 124 $('.expand-collapse').each(function () { 125 var expanded = sessionStorage.getItem($(this).attr('id')) !== null; 126 if (expanded) { 127 $(this).next().css('display', ''); 128 $(this).addClass('themedbackground'); 129 } 130 else { 131 $(this).removeClass('themedbackground'); 132 } 133 134 $(this).find(".caret").toggleClass('fa-angle-up', expanded); 135 $(this).find(".caret").toggleClass('fa-angle-down', !expanded); 136 137 }); 138 });
vendor: 1 bytes, line 139
139}
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.