vendor: 385 bytes, lines 1-8
1(function (i, s, o, g, r, a, m) { 2 i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { 3 (i[r].q = i[r].q || []).push(arguments) 4 }, i[r].l = 1 * new Date(); a = s.createElement(o), 5 m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) 6})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga'); 7 8ga('create', '
8UA-99614577-1
vendor: 37 bytes, lines 8-10
8', 'auto'); 9ga('send', 'pageview'); 10
11$(function () { 12 /* ãã³ãã¼ã¬ã¼ */ 13 var Toggle, Class, Count; 14 $("[data-toggle]").on("click", function () { 15 Toggle = $(this).data("toggle").split(" "); 16 Class = $(this).data("class").split(" "); 17 Count = 0; 18 while (Toggle[Count]) { 19 if (Toggle[Count] == "this") { Toggle[Count] = $(this) } 20 $(Toggle[Count]).toggleClass(Class[Count]); 21 Count++; 22 } 23 return false; 24 }); 25 26 /* ãã¥ã¼ã¹ */ 27 const newsListTitle = $('.news > .news-title'); 28 if (newsListTitle) { 29 newsListTitle.load('/news-links-widget/'); 30 } 31}); 32 33/* hover */ 34 35(function () { 36 var tapClass = ""; 37 var hoverClass = ""; 38 39 var Hover = window.Hover = function (ele) { 40 return new Hover.fn.init(ele); 41 }; 42 Hover.fn = { 43 //Hover Instance 44 init: function (ele) { 45 this.prop = ele; 46 } 47 48 , bind: function (_hoverClass, _tapClass) { 49 hoverClass = _hoverClass; 50 tapClass = _tapClass; 51 52 $(window).bind("touchstart", function (event) { 53 var target = event.target || window.target; 54 55 var bindElement = null; 56 if (target.tagName == "A" || $(target).hasClass(tapClass)) { 57 bindElement = $(target); 58 } else if ($(target).parents("a").length > 0) { 59 bindElement = $(target).parents("a"); 60 } else if ($(target).parents("." + tapClass).length > 0) { 61 bindElement = $(target).parents("." + tapClass); 62 } 63 64 if (bindElement != null) { 65 Hover().touchstartHoverElement(bindElement); 66 } 67 }); 68 } 69 , touchstartHoverElement: function (bindElement) { 70 bindElement.addClass(hoverClass); 71 bindElement.unbind("touchmove", Hover().touchmoveHoverElement); 72 bindElement.bind("touchmove", Hover().touchmoveHoverElement); 73 74 bindElement.unbind("touchend", Hover().touchendHoverElement); 75 bindElement.bind("touchend", Hover().touchendHoverElement); 76 } 77 , touchmoveHoverElement: function (event) { 78 $(this).removeClass(hoverClass); 79 } 80 , touchendHoverElement: function (event) { 81 $(this).removeClass(hoverClass); 82 } 83 } 84 Hover.fn.init.prototype = Hover.fn; 85 86 Hover().bind("hover", "tap"); 87} 88)(); 89 90 91/*page topãã¿ã³*/ 92 93$(function () { 94 var topBtn = $('#pageTop'); 95 topBtn.hide(); 96 97 //âãã¿ã³ã®è¡¨ç¤ºè¨å® 98 $(window).scroll(function () { 99 if ($(this).scrollTop() > 80) { 100 //---- ç»é¢ã80pxã¹ã¯ãã¼ã«ãããããã¿ã³ã表示ãã 101 topBtn.fadeIn(); 102 } else { 103 //---- ç»é¢ã80pxããä¸ãªãããã¿ã³ã表示ããªã 104 topBtn.fadeOut(); 105 } 106 }); 107 108 // âãã¿ã³ãã¯ãªãã¯ããããã¹ã¯ãã¼ã«ãã¦ä¸ã«æ»ã 109 topBtn.click(function () { 110 $('body,html').animate({ 111 scrollTop: 0 112 }, 500); 113 return false; 114 }); 115 116});
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.