PageSourceSearch

https://www.alnylam.jp/themes/custom/alnylam/js/colored-four-cards.js?tijwy8

js alnylam.jp collected 2026-09-25 02:44:14 UTC 5,458 bytes, 154 lines download raw bytes

1(function ($) {
2    $(document).ready(function () {
3        if ($(window).width() < 767) {
4            $(".colored-four-cards.vertical-cards .colored-card-container > .field__items").slick({
5                infinite: true,
6                arrows: true,
7                dots: true,
8                autoplay: true,
9                speed: 800,
10                draggable: true,
11                slidesToShow: 1,
12                slidesToScroll: 1,
13                mobileFirst: true,
14                responsive: [
15                    {
16                        breakpoint: 767,
17                        settings: "unslick",
18                    },
19                ],
20            });
21            $(".colored-four-cards.horizontal-cards .colored-card-container > .field__items").slick({
22                infinite: false,
23                arrows: true,
24                dots: true,
25                autoplay: false,
26                speed: 300,
27                draggable: true,
28                slidesToShow: 1.17,
29                slidesToScroll: 1,
30                mobileFirst: true,
31                responsive: [
32                    {
33                        breakpoint: 767,
34                        settings: "unslick",
35                    },
36                ],
37            });
38        } else if ($(window).width() < 1000 && $(window).width() > 767) {
39            $(".colored-four-cards.vertical-cards .colored-card-container > .field__items").slick({
40                infinite: true,
41                arrows: true,
42                dots: true,
43                autoplay: true,
44                speed: 800,
45                draggable: true,
46                slidesToShow: 2,
47                slidesToScroll: 2,
48                mobileFirst: true,
49                responsive: [
50                    {
51                        breakpoint: 1000,
52                        settings: "unslick",
53                    },
54                ],
55            });
56            $(".colored-four-cards.horizontal-cards .colored-card-container > .field__items").slick({
57                infinite: false,
58                arrows: true,
59                dots: true,
60                autoplay: false,
61                speed: 300,
62                draggable: true,
63                slidesToShow: 2.45,
64                slidesToScroll: 2,
65                mobileFirst: true,
66                responsive: [
67                    {
68                        breakpoint: 1000,
69                        settings: "unslick",
70                    },
71                ],
72            });
73        }
74        jQuery(window).on("load resize", function () {
75            initSliders();
76        });
77
78        function initSliders() {
79            if ($(window).width() < 767) {
80                $(".colored-four-cards.vertical-cards .colored-card-container > .field__items").slick({
81                    infinite: true,
82                    arrows: true,
83                    dots: true,
84                    autoplay: true,
85                    speed: 800,
86                    draggable: true,
87                    slidesToShow: 1,
88                    slidesToScroll: 1,
89                    mobileFirst: true,
90                    responsive: [
91                        {
92                            breakpoint: 767,
93                            settings: "unslick",
94                        },
95                    ],
96                });
97                $(".colored-four-cards.horizontal-cards .colored-card-container > .field__items").slick({
98                    infinite: false,
99                    arrows: true,
100                    dots: true,
101                    autoplay: false,
102                    speed: 300,
103                    draggable: true,
104                    slidesToShow: 1.17,
105                    slidesToScroll: 1,
106                    mobileFirst: true,
107                    responsive: [
108                        {
109                            breakpoint: 767,
110                            settings: "unslick",
111                        },
112                    ],
113                });
114            } else if ($(window).width() < 1000 && $(window).width() > 767) {
115                $(".colored-four-cards.vertical-cards .colored-card-container > .field__items").slick({
116                    infinite: true,
117                    arrows: true,
118                    dots: true,
119                    autoplay: true,
120                    speed: 800,
121                    draggable: true,
122                    slidesToShow: 2,
123                    slidesToScroll: 2,
124                    mobileFirst: true,
125                    responsive: [
126                        {
127                            breakpoint: 1000,
128                            settings: "unslick",
129                        },
130                    ],
131                });
132                $(".colored-four-cards.horizontal-cards .colored-card-container > .field__items").slick({
133                    infinite: false,
134                    arrows: true,
135                    dots: true,
136                    autoplay: false,
137                    speed: 300,
138                    draggable: true,
139                    slidesToShow: 2.45,
140                    slidesToScroll: 2,
141                    mobileFirst: true,
142                    responsive: [
143                        {
144                            breakpoint: 1000,
145                            settings: "unslick",
146                        },
147                    ],
148                });
149            }
150        }
151
152        //End Document ready
153    });
154})(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.