PageSourceSearch

https://www.toyota-industries.com/assets/scripts/news.js

js toyota-industries.com collected 2026-10-02 02:54:23 UTC 3,149 bytes, 1 lines download raw bytes

1!function(e,t){"use strict";function s(){return e(".newslist-lists__item.is-target").slideDown(300,function(){e(".newslist-lists__item.is-target").css({display:"block"})}),e(".more-btn a").parent().hide(),!1}function a(){e(".newslist-lists__item.is-target").each(function(t){t>20&&e(this).hide()}),e(".newslist-lists__item.is-target").length>20&&e(".newslist-lists").after('<div class="more-btn"><a class="button -down" href="javascript:void(0);"><span class="icon"></span>more</a></div>'),e(".more-btn a").click(function(){s()})}function n(){var t=[],s=[],a=[];e("input").each(function(){e(this).prop("checked")&&(e(this).data("type")&&t.push(e(this).data("type")),e(this).data("year")&&s.push(e(this).data("year")),e(this).data("category")&&a.push(e(this).data("category")))});var n=[];if(t.length>0&&s.length>0&&a.length>0)for(var i=0;i<t.length;i++)for(var l=0;l<s.length;l++)for(var r=0;r<a.length;r++)n.push("[data-type="+t[i]+"][data-year="+s[l]+"][data-category*="+a[r]+"]");else if(t.length>0&&s.length>0&&0==a.length)for(var i=0;i<t.length;i++)for(var l=0;l<s.length;l++)n.push("[data-type="+t[i]+"][data-year="+s[l]+"]");else if(t.length>0&&0==s.length&&a.length>0)for(var i=0;i<t.length;i++)for(var l=0;l<a.length;l++)n.push("[data-type="+t[i]+"][data-category*="+a[l]+"]");else if(0==t.length&&s.length>0&&a.length>0)for(var i=0;i<s.length;i++)for(var l=0;l<a.length;l++)n.push("[data-year="+s[i]+"][data-category*="+a[l]+"]");else if(t.length>0&&0==s.length&&0==a.length)for(var i=0;i<t.length;i++)n.push("[data-type="+t[i]+"]");else if(0==t.length&&s.length>0&&0==a.length)for(var i=0;i<s.length;i++)n.push("[data-year="+s[i]+"]");else if(0==t.length&&0==s.length&&a.length>0)for(var i=0;i<a.length;i++)n.push("[data-category*="+a[i]+"]");if(e(".newslist-lists__item").hide(),e(".newslist-lists__item").removeClass("is-target"),n.length>0){e(".newslist-lists__item").hide();for(var i=0;i<n.length;i++)e(".newslist-lists__item"+n[i]).show(),e(".newslist-lists__item"+n[i]).addClass("is-target")}else e(".newslist-lists__item").show(),e(".newslist-lists__item").addClass("is-target")}function i(){null!=l("type")&&e("#"+l("type")).prop("checked",!0),null!=l("year")&&e("#"+l("year")).prop("checked",!0),null!=l("category")&&e("#"+l("category")).prop("checked",!0)}function l(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var s=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),a=s.exec(t);return a?a[2]?decodeURIComponent(a[2].replace(/\+/g," ")):"":null}if(t.isModern){var r=e(t.root),o=e(".js-news-release-categories-nav-button"),h=e(".js-news-release-categories-nav"),g="news-release-categories-nav-opened",c=function(){r.toggleClass(g),h.slideToggle({duration:100,easing:"linear"})},d=function(){t.palmtop.matches?(o.on("click",c),h.hide()):o.hasEvents()&&(o.off("click",c),h.show(),r.removeClass(g))};d(),t.desktop.addListener(d),t.palmtop.addListener(d),e(document).on("change","input",function(){n(),s()}),i(),n(),a(),window.onpageshow=function(e){var t=performance.getEntriesByType("navigation");t.length>0?t.forEach(function(t){("back_forward"===t.type||e.persisted)&&(n(),s())}):e.persisted&&(n(),s())}}}(jQuery,tico);

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.