1 2//`FbN{bNX 3function chk_onof(){ 4 5 if(n1_array.length !== 0){ 6 for (const i of n1_array) { 7 jQuery('.block-filter .block-search-param--category input[value="'+ i +'"]').prop("checked",true); 8 jQuery('.block-filter .block-search-param--category input[id="category_"]').prop("checked",false); 9 } 10 } 11 12 if(n3_array.length !== 0){ 13 for (const j of n3_array) { 14 jQuery('.block-filter .block-search-param--category input[value="'+ j +'"]').prop("checked",true); 15 jQuery('.block-filter .block-search-param--category input[id="category_"]').prop("checked",false); 16 } 17 } 18} 19 20//útæ¾ 21var date = new Date(); 22var year = date.getFullYear().toString(); 23var month = (date.getMonth() + 1).toString().padStart(2, 0);; 24var day = date.getDate().toString().padStart(2, 0); 25var hours = date.getHours().toString().padStart(2, 0); 26var Minutes = date.getMinutes().toString().padStart(2, 0); 27var Seconds = date.getSeconds().toString().padStart(2, 0); 28var nowTime = year + month + day + hours + Minutes + Seconds; 29 30//p[^æ¾ 31var paramsearch = new URLSearchParams(window.location.search); 32var n1_array = paramsearch.getAll("narrow1"); 33var n3_array = paramsearch.getAll("narrow3"); 34 35if(n1_array.length == 1){ 36 jQuery(document).ready(function () { 37 jQuery.getJSON("/js/sws/usr/operation/R4G.json", function(data){ 38 if(n3_array.length == 0){ 39 40 for(var i in data){ 41 42 for(var j in data[i].childCategory){ 43 44 if(n1_array[0] == data[i].childCategory[j].id){ 45 46 if(nowTime >= data[i].childCategory[j].startdate && nowTime <= data[i].childCategory[j].enddate){ 47 48 jQuery(".block-topic-path .block-topic-path--list").append('<li class="block-topic-path--genre-item block-topic-path--item__current" itemscope="" itemtype="https://schema.org/ListItem" itemprop="itemListElement"> > <a href="./search.aspx?genre=SWS&narrow3=' + data[i].category_name + '&brand=44 " itemprop="item"> <span itemprop="name">' + data[i].category_name +'</span> </a> <meta itemprop="position" content="'+ jQuery(".block-topic-path .block-topic-path--list").find('li').length +'"> </li>'); 49 jQuery(".block-topic-path .block-topic-path--list").append('<li class="block-topic-path--genre-item block-topic-path--item__current" itemscope="" itemtype="https://schema.org/ListItem" itemprop="itemListElement"> > <a href="./search.aspx?genre=SWS&narrow1=' + data[i].childCategory[j].id + '&brand=44 " itemprop="item"> <span itemprop="name">' + data[i].childCategory[j].name +'</span> </a> <meta itemprop="position" content="'+ jQuery(".block-topic-path .block-topic-path--list").find('li').length +'"> </li>'); 50 51 }; 52 }; 53 }; 54 }; 55 56 }else if(n3_array.length == 1){ 57 58 flg = 0; 59 60 for(var i in data){ 61 62 if(flg == 1){ 63 break; 64 }; 65 66 for(var j in data[i].childCategory){ 67 68 if(n1_array[0] == data[i].childCategory[j].id && n3_array[0] == data[i].category_name){ 69 70 if(nowTime >= data[i].childCategory[j].startdate && nowTime <= data[i].childCategory[j].enddate){ 71 72 jQuery(".block-category-list .block-topic-path").css("display" , "block"); 73 74 jQuery(".block-topic-path .block-topic-path--list").append('<li class="block-topic-path--genre-item block-topic-path--item__current" itemscope="" itemtype="https://schema.org/ListItem" itemprop="itemListElement"> > <a href="./search.aspx?genre=SWS&narrow3=' + data[i].category_name + '&brand=44 " itemprop="item"> <span itemprop="name">' + data[i].category_name +'</span> </a> <meta itemprop="position" content="'+ jQuery(".block-topic-path .block-topic-path--list").find('li').length +'"> </li>'); 75 jQuery(".block-topic-path .block-topic-path--list").append('<li class="block-topic-path--genre-item block-topic-path--item__current" itemscope="" itemtype="https://schema.org/ListItem" itemprop="itemListElement"> > <a href="./search.aspx?genre=SWS&narrow1=' + data[i].childCategory[j].id + '&brand=44 " itemprop="item"> <span itemprop="name">' + data[i].childCategory[j].name +'</span> </a> <meta itemprop="position" content="'+ jQuery(".block-topic-path .block-topic-path--list").find('li').length +'"> </li>'); 76 77 flg = 1; 78 break; 79 80 }; 81 }; 82 }; 83 }; 84 }else{ 85 86 }; 87 }); 88 }); 89}else{ 90 if(n1_array.length == 0 && n3_array.length == 1){ 91 jQuery(document).ready(function () { 92 jQuery.getJSON("/js/sws/usr/operation/R4G.json", function(data){ 93 94 for(var i in data){ 95 96 if(n3_array[0] == data[i].category_name){ 97 98 if(nowTime >= data[i].category_startdate && nowTime <= data[i].category_enddate){ 99 100 jQuery(".block-topic-path .block-topic-path--list").append('<li class="block-topic-path--genre-item block-topic-path--item__current" itemscope="" itemtype="https://schema.org/ListItem" itemprop="itemListElement"> > <a href="./search.aspx?genre=SWS&narrow3=' + data[i].category_name + '&brand=44 " itemprop="item"> <span itemprop="name">' + data[i].category_name +'</span> </a> <meta itemprop="position" content="'+ jQuery(".block-topic-path .block-topic-path--list").find('li').length +'"> </li>'); 101 102 }; 103 }; 104 105 }; 106 107 }); 108 }); 109 }else{ 110 111 } 112} 113 114window.addEventListener('load', function(){ 115 setTimeout(chk_onof(), 300); 116}); 117
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.