PageSourceSearch

https://brand-farmers.jp/blog/wp/wp-content/themes/ns3-brand-farmers/js/brand-farmers.js?ver=1.0.8

js brand-farmers.jp collected 2026-10-04 13:29:44 UTC 1,966 bytes, 68 lines download raw bytes

1(function($) {
2	// Comment Reply Toggle
3	(function() {
4		$(function() {
5			$('<span class="reply-toggle">すべての返信</span>').insertBefore('.single-comments-list > li > .children').click(function(){
6				$(this).toggleClass('open').next().slideToggle('fast');
7			});
8		});
9	})();
10	
11	// Slide
12	(function() {
13		$(function() {
14			var contentSlide = null;
15			var $contentSlide = $(".flexible-contents-slide");
16			var $contentSlideSection = $(".flexible-contents-slide-section");
17			var setUpSlideTimeout = null;
18			
19			var setUpSlide = function() {
20				if ( $(".flexible-contents-slide-wrap .bx-wrapper").length ) {
21					contentSlide.destroySlider();
22				}
23				
24				if ( $("#sp-only").is(":visible") ) {
25					if ( 2 <= $contentSlideSection.length ) {
26						var slideWidth = $contentSlide.width();
27						
28						contentSlide = $contentSlide.bxSlider({
29							slideWidth: slideWidth,
30							prevText: "<i class='bx bxs-chevron-left'></i>",
31							nextText: "<i class='bx bxs-chevron-right'></i>",
32							prevSelector: ".flexible-contents-slide-control-prev",
33							nextSelector: ".flexible-contents-slide-control-next"
34						});
35					}
36				} else {
37					if ( 3 <= $contentSlideSection.length ) {
38						var slideWidth = ($contentSlide.width() / 2);
39						
40						contentSlide = $contentSlide.bxSlider({
41							maxSlides: 2,
42							moveSlides: 1,
43							slideWidth: slideWidth,
44							prevText: "<i class='bx bxs-chevron-left'></i>",
45							nextText: "<i class='bx bxs-chevron-right'></i>",
46							prevSelector: ".flexible-contents-slide-control-prev",
47							nextSelector: ".flexible-contents-slide-control-next"
48						});
49					}
50				}
51				
52				if ( null !== setUpSlideTimeout ) {
53					clearTimeout(setUpSlideTimeout);
54				}
55			};
56			
57			setUpSlide();
58			
59			$(window).on("resize", function() {
60				if ( null !== setUpSlideTimeout ) {
61					clearTimeout(setUpSlideTimeout);
62				}
63				
64				setUpSlideTimeout = setTimeout(setUpSlide, 100);
65			});
66		});
67	})();
68})(jQuery);

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.