Browse code

Initial commit

Benjamin Roth authored on16/02/2017 11:35:38
Showing50 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,28 @@
1
+Contao Module: Slick Slider
2
+====
3
+
4
+Versatile Slider with a bunch of options.
5
+
6
+This module is developed and provided by [eSales Media][1].
7
+
8
+__Author:__ Benjamin Roth [benjamin@esales-media.de]
9
+
10
+
11
+System requirements
12
+----
13
+* Contao CMS > 3.5.x
14
+
15
+
16
+Installation
17
+---- 
18
+Just copy into your system/modules/ folder and don't forget to update the database.
19
+Afterwards you will see your new Content Elements.
20
+
21
+
22
+License
23
+----
24
+LGPL-3.0+
25
+
26
+
27
+
28
+[1]: http://www.esales-media.de
0 29
\ No newline at end of file
1 30
new file mode 100644
... ...
@@ -0,0 +1,2 @@
1
+order deny,allow
2
+allow from all
0 3
\ No newline at end of file
1 4
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+.ce_slickSliderStart .wallpaper-slide{-webkit-background-size:100%;-moz-background-size:100%;-o-background-size:100%;background-size:100%;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;background-position:center center;background-attachment:scroll;outline:none}.ce_slickSliderStart .wallpaper-text{display:inline;white-space:nowrap;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}
0 2
new file mode 100644
... ...
@@ -0,0 +1,7 @@
1
+{
2
+"version": 3,
3
+"mappings": "AAGE,qCAAiB;EACf,uBAAuB,EAAE,IAAI;EAC7B,oBAAoB,EAAE,IAAI;EAC1B,kBAAkB,EAAE,IAAI;EACxB,eAAe,EAAE,IAAI;EACrB,iBAAiB,EAAE,SAAS;EAC5B,uBAAuB,EAAE,KAAK;EAC9B,oBAAoB,EAAE,KAAK;EAC3B,kBAAkB,EAAE,KAAK;EACzB,eAAe,EAAE,KAAK;EACtB,WAAW,EAAE,4BAA4B;EACzC,mBAAmB,EAAE,aAAa;EAClC,qBAAqB,EAAE,MAAM",
4
+"sources": ["slick-wallpaper.scss"],
5
+"names": [],
6
+"file": "slick-wallpaper.css"
7
+}
0 8
\ No newline at end of file
1 9
new file mode 100644
... ...
@@ -0,0 +1,31 @@
1
+
2
+.ce_slickSliderStart {
3
+
4
+  .wallpaper-slide {
5
+    -webkit-background-size: 100%;
6
+    -moz-background-size: 100%;
7
+    -o-background-size: 100%;
8
+    background-size: 100%;
9
+    background-repeat: no-repeat;
10
+    -webkit-background-size: cover;
11
+    -moz-background-size: cover;
12
+    -o-background-size: cover;
13
+    background-size: cover;
14
+    background-position: center center;
15
+    background-attachment: scroll;
16
+    outline: none;
17
+  }
18
+
19
+  .wallpaper-text {
20
+    display: inline;
21
+    white-space: nowrap;
22
+    position: absolute;
23
+    top: 50%;
24
+    left: 50%;
25
+    -webkit-transform: translate(-50%,-50%);
26
+    -moz-transform: translate(-50%,-50%);
27
+    -ms-transform: translate(-50%,-50%);
28
+    -o-transform: translate(-50%,-50%);
29
+    transform: translate(-50%,-50%);
30
+  }
31
+}
0 32
\ No newline at end of file
1 33
new file mode 100644
... ...
@@ -0,0 +1,20 @@
1
+The MIT License (MIT)
2
+
3
+Copyright (c) 2013
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+this software and associated documentation files (the "Software"), to deal in
7
+the Software without restriction, including without limitation the rights to
8
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+the Software, and to permit persons to whom the Software is furnished to do so,
10
+subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be included in all
13
+copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0 21
\ No newline at end of file
1 22
new file mode 100644
2 23
Binary files /dev/null and b/assets/lib/slick/1.5.9/css/ajax-loader.gif differ
3 24
new file mode 100644
4 25
Binary files /dev/null and b/assets/lib/slick/1.5.9/css/fonts/slick.eot differ
5 26
new file mode 100644
... ...
@@ -0,0 +1,14 @@
1
+<?xml version="1.0" standalone="no"?>
2
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+<svg xmlns="http://www.w3.org/2000/svg">
4
+<metadata>Generated by Fontastic.me</metadata>
5
+<defs>
6
+<font id="slick" horiz-adv-x="512">
7
+<font-face font-family="slick" units-per-em="512" ascent="480" descent="-32"/>
8
+<missing-glyph horiz-adv-x="512" />
9
+
10
+<glyph unicode="&#8594;" d="M241 113l130 130c4 4 6 8 6 13 0 5-2 9-6 13l-130 130c-3 3-7 5-12 5-5 0-10-2-13-5l-29-30c-4-3-6-7-6-12 0-5 2-10 6-13l87-88-87-88c-4-3-6-8-6-13 0-5 2-9 6-12l29-30c3-3 8-5 13-5 5 0 9 2 12 5z m234 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
11
+<glyph unicode="&#8592;" d="M296 113l29 30c4 3 6 7 6 12 0 5-2 10-6 13l-87 88 87 88c4 3 6 8 6 13 0 5-2 9-6 12l-29 30c-3 3-8 5-13 5-5 0-9-2-12-5l-130-130c-4-4-6-8-6-13 0-5 2-9 6-13l130-130c3-3 7-5 12-5 5 0 10 2 13 5z m179 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
12
+<glyph unicode="&#8226;" d="M475 256c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
13
+<glyph unicode="&#97;" d="M475 439l0-128c0-5-1-9-5-13-4-4-8-5-13-5l-128 0c-8 0-13 3-17 11-3 7-2 14 4 20l40 39c-28 26-62 39-100 39-20 0-39-4-57-11-18-8-33-18-46-32-14-13-24-28-32-46-7-18-11-37-11-57 0-20 4-39 11-57 8-18 18-33 32-46 13-14 28-24 46-32 18-7 37-11 57-11 23 0 44 5 64 15 20 9 38 23 51 42 2 1 4 3 7 3 3 0 5-1 7-3l39-39c2-2 3-3 3-6 0-2-1-4-2-6-21-25-46-45-76-59-29-14-60-20-93-20-30 0-58 5-85 17-27 12-51 27-70 47-20 19-35 43-47 70-12 27-17 55-17 85 0 30 5 58 17 85 12 27 27 51 47 70 19 20 43 35 70 47 27 12 55 17 85 17 28 0 55-5 81-15 26-11 50-26 70-45l37 37c6 6 12 7 20 4 8-4 11-9 11-17z"/>
14
+</font></defs></svg>
0 15
new file mode 100644
1 16
Binary files /dev/null and b/assets/lib/slick/1.5.9/css/fonts/slick.ttf differ
2 17
new file mode 100644
3 18
Binary files /dev/null and b/assets/lib/slick/1.5.9/css/fonts/slick.woff differ
4 19
new file mode 100644
... ...
@@ -0,0 +1,204 @@
1
+@charset 'UTF-8';
2
+/* Slider */
3
+.slick-loading .slick-list
4
+{
5
+    background: #fff url('./ajax-loader.gif') center center no-repeat;
6
+}
7
+
8
+/* Icons */
9
+@font-face
10
+{
11
+    font-family: 'slick';
12
+    font-weight: normal;
13
+    font-style: normal;
14
+
15
+    src: url('./fonts/slick.eot');
16
+    src: url('./fonts/slick.eot?#iefix') format('embedded-opentype'), url('./fonts/slick.woff') format('woff'), url('./fonts/slick.ttf') format('truetype'), url('./fonts/slick.svg#slick') format('svg');
17
+}
18
+/* Arrows */
19
+.slick-prev,
20
+.slick-next
21
+{
22
+    font-size: 0;
23
+    line-height: 0;
24
+
25
+    position: absolute;
26
+    top: 50%;
27
+
28
+    display: block;
29
+
30
+    width: 20px;
31
+    height: 20px;
32
+    padding: 0;
33
+    margin-top: -10px\9; /*lte IE 8*/
34
+    -webkit-transform: translate(0, -50%);
35
+    -ms-transform: translate(0, -50%);
36
+    transform: translate(0, -50%);
37
+
38
+    cursor: pointer;
39
+
40
+    color: transparent;
41
+    border: none;
42
+    outline: none;
43
+    background: transparent;
44
+}
45
+.slick-prev:hover,
46
+.slick-prev:focus,
47
+.slick-next:hover,
48
+.slick-next:focus
49
+{
50
+    color: transparent;
51
+    outline: none;
52
+    background: transparent;
53
+}
54
+.slick-prev:hover:before,
55
+.slick-prev:focus:before,
56
+.slick-next:hover:before,
57
+.slick-next:focus:before
58
+{
59
+    opacity: 1;
60
+}
61
+.slick-prev.slick-disabled:before,
62
+.slick-next.slick-disabled:before
63
+{
64
+    opacity: .25;
65
+}
66
+
67
+.slick-prev:before,
68
+.slick-next:before
69
+{
70
+    font-family: 'slick';
71
+    font-size: 20px;
72
+    line-height: 1;
73
+
74
+    opacity: .75;
75
+    color: white;
76
+
77
+    -webkit-font-smoothing: antialiased;
78
+    -moz-osx-font-smoothing: grayscale;
79
+}
80
+
81
+.slick-prev
82
+{
83
+    left: -25px;
84
+}
85
+[dir='rtl'] .slick-prev
86
+{
87
+    right: -25px;
88
+    left: auto;
89
+}
90
+.slick-prev:before
91
+{
92
+    content: '←';
93
+}
94
+[dir='rtl'] .slick-prev:before
95
+{
96
+    content: '→';
97
+}
98
+
99
+.slick-next
100
+{
101
+    right: -25px;
102
+}
103
+[dir='rtl'] .slick-next
104
+{
105
+    right: auto;
106
+    left: -25px;
107
+}
108
+.slick-next:before
109
+{
110
+    content: '→';
111
+}
112
+[dir='rtl'] .slick-next:before
113
+{
114
+    content: '←';
115
+}
116
+
117
+/* Dots */
118
+.slick-slider
119
+{
120
+    margin-bottom: 30px;
121
+}
122
+
123
+.slick-dots
124
+{
125
+    position: absolute;
126
+    bottom: -45px;
127
+
128
+    display: block;
129
+
130
+    width: 100%;
131
+    padding: 0;
132
+
133
+    list-style: none;
134
+
135
+    text-align: center;
136
+}
137
+.slick-dots li
138
+{
139
+    position: relative;
140
+
141
+    display: inline-block;
142
+
143
+    width: 20px;
144
+    height: 20px;
145
+    margin: 0 5px;
146
+    padding: 0;
147
+
148
+    cursor: pointer;
149
+}
150
+.slick-dots li button
151
+{
152
+    font-size: 0;
153
+    line-height: 0;
154
+
155
+    display: block;
156
+
157
+    width: 20px;
158
+    height: 20px;
159
+    padding: 5px;
160
+
161
+    cursor: pointer;
162
+
163
+    color: transparent;
164
+    border: 0;
165
+    outline: none;
166
+    background: transparent;
167
+}
168
+.slick-dots li button:hover,
169
+.slick-dots li button:focus
170
+{
171
+    outline: none;
172
+}
173
+.slick-dots li button:hover:before,
174
+.slick-dots li button:focus:before
175
+{
176
+    opacity: 1;
177
+}
178
+.slick-dots li button:before
179
+{
180
+    font-family: 'slick';
181
+    font-size: 6px;
182
+    line-height: 20px;
183
+
184
+    position: absolute;
185
+    top: 0;
186
+    left: 0;
187
+
188
+    width: 20px;
189
+    height: 20px;
190
+
191
+    content: '•';
192
+    text-align: center;
193
+
194
+    opacity: .25;
195
+    color: black;
196
+
197
+    -webkit-font-smoothing: antialiased;
198
+    -moz-osx-font-smoothing: grayscale;
199
+}
200
+.slick-dots li.slick-active button:before
201
+{
202
+    opacity: .75;
203
+    color: black;
204
+}
0 205
new file mode 100644
... ...
@@ -0,0 +1,168 @@
1
+@charset "UTF-8";
2
+
3
+// Default Variables
4
+
5
+@slick-font-path: "./fonts/";
6
+@slick-font-family: "slick";
7
+@slick-loader-path: "./";
8
+@slick-arrow-color: white;
9
+@slick-dot-color: black;
10
+@slick-dot-color-active: @slick-dot-color;
11
+@slick-prev-character: "←";
12
+@slick-next-character: "→";
13
+@slick-dot-character: "•";
14
+@slick-dot-size: 6px;
15
+@slick-opacity-default: 0.75;
16
+@slick-opacity-on-hover: 1;
17
+@slick-opacity-not-active: 0.25;
18
+
19
+/* Slider */
20
+.slick-loading .slick-list{
21
+    background: #fff url('./ajax-loader.gif') center center no-repeat;
22
+}
23
+
24
+/* Icons */
25
+@font-face{
26
+    font-family: 'slick';
27
+    font-weight: normal;
28
+    font-style: normal;
29
+
30
+    src: url('./fonts/slick.eot');
31
+    src: url('./fonts/slick.eot?#iefix') format('embedded-opentype'), url('./fonts/slick.woff') format('woff'), url('./fonts/slick.ttf') format('truetype'), url('./fonts/slick.svg#slick') format('svg');
32
+}
33
+
34
+/* Arrows */
35
+
36
+.slick-prev,
37
+.slick-next {
38
+    position: absolute;
39
+    display: block;
40
+    height: 20px;
41
+    width: 20px;
42
+    line-height: 0px;
43
+    font-size: 0px;
44
+    cursor: pointer;
45
+    background: transparent;
46
+    color: transparent;
47
+    top: 50%;
48
+    margin-top: -10px~'\9'; /*lte IE 8*/
49
+    -webkit-transform: translate(0, -50%);
50
+    -ms-transform: translate(0, -50%);
51
+    transform: translate(0, -50%);
52
+    padding: 0;
53
+    border: none;
54
+    outline: none;
55
+    &:hover, &:focus {
56
+        outline: none;
57
+        background: transparent;
58
+        color: transparent;
59
+        &:before {
60
+            opacity: @slick-opacity-on-hover;
61
+        }
62
+    }
63
+    &.slick-disabled:before {
64
+        opacity: @slick-opacity-not-active;
65
+    }
66
+}
67
+
68
+.slick-prev:before, .slick-next:before {
69
+    font-family: @slick-font-family;
70
+    font-size: 20px;
71
+    line-height: 1;
72
+    color: @slick-arrow-color;
73
+    opacity: @slick-opacity-default;
74
+    -webkit-font-smoothing: antialiased;
75
+    -moz-osx-font-smoothing: grayscale;
76
+}
77
+
78
+.slick-prev {
79
+    left: -25px;
80
+    &[dir="rtl"] {
81
+        left: auto;
82
+        right: -25px;
83
+    }
84
+    &:before {
85
+        content: @slick-prev-character;
86
+        &[dir="rtl"] {
87
+            content: @slick-next-character;
88
+        }
89
+    }
90
+}
91
+
92
+.slick-next {
93
+    right: -25px;
94
+    &[dir="rtl"] {
95
+        left: -25px;
96
+        right: auto;
97
+    }
98
+    &:before {
99
+        content: @slick-next-character;
100
+        &[dir="rtl"] {
101
+            content: @slick-prev-character;
102
+        }
103
+    }
104
+}
105
+
106
+/* Dots */
107
+
108
+.slick-slider {
109
+    margin-bottom: 30px;
110
+}
111
+
112
+.slick-dots {
113
+    position: absolute;
114
+    bottom: -45px;
115
+    list-style: none;
116
+    display: block;
117
+    text-align: center;
118
+    padding: 0;
119
+    width: 100%;
120
+    li {
121
+        position: relative;
122
+        display: inline-block;
123
+        height: 20px;
124
+        width: 20px;
125
+        margin: 0 5px;
126
+        padding: 0;
127
+        cursor: pointer;
128
+        button {
129
+            border: 0;
130
+            background: transparent;
131
+            display: block;
132
+            height: 20px;
133
+            width: 20px;
134
+            outline: none;
135
+            line-height: 0px;
136
+            font-size: 0px;
137
+            color: transparent;
138
+            padding: 5px;
139
+            cursor: pointer;
140
+            &:hover, &:focus {
141
+                outline: none;
142
+                &:before {
143
+                    opacity: @slick-opacity-on-hover;
144
+                }
145
+            }
146
+            &:before {
147
+                position: absolute;
148
+                top: 0;
149
+                left: 0;
150
+                content: @slick-dot-character;
151
+                width: 20px;
152
+                height: 20px;
153
+                font-family: @slick-font-family;
154
+                font-size: @slick-dot-size;
155
+                line-height: 20px;
156
+                text-align: center;
157
+                color: @slick-dot-color;
158
+                opacity: @slick-opacity-not-active;
159
+                -webkit-font-smoothing: antialiased;
160
+                -moz-osx-font-smoothing: grayscale;
161
+            }
162
+        }
163
+        &.slick-active button:before {
164
+            color: @slick-dot-color-active;
165
+            opacity: @slick-opacity-default;
166
+        }
167
+    }
168
+}
0 169
new file mode 100644
... ...
@@ -0,0 +1,190 @@
1
+@charset "UTF-8";
2
+
3
+// Default Variables
4
+
5
+$slick-font-path: "./fonts/" !default;
6
+$slick-font-family: "slick" !default;
7
+$slick-loader-path: "./" !default;
8
+$slick-arrow-color: white !default;
9
+$slick-dot-color: black !default;
10
+$slick-dot-color-active: $slick-dot-color !default;
11
+$slick-prev-character: "←" !default;
12
+$slick-next-character: "→" !default;
13
+$slick-dot-character: "•" !default;
14
+$slick-dot-size: 6px !default;
15
+$slick-opacity-default: 0.75 !default;
16
+$slick-opacity-on-hover: 1 !default;
17
+$slick-opacity-not-active: 0.25 !default;
18
+
19
+@function slick-image-url($url) {
20
+    @if function-exists(image-url) {
21
+        @return image-url($url);
22
+    }
23
+    @else {
24
+        @return url($slick-loader-path + $url);
25
+    }
26
+}
27
+
28
+@function slick-font-url($url) {
29
+    @if function-exists(font-url) {
30
+        @return font-url($url);
31
+    }
32
+    @else {
33
+        @return url($slick-font-path + $url);
34
+    }
35
+}
36
+
37
+/* Slider */
38
+
39
+.slick-list {
40
+    .slick-loading & {
41
+        background: #fff slick-image-url("ajax-loader.gif") center center no-repeat;
42
+    }
43
+}
44
+
45
+/* Icons */
46
+@if $slick-font-family == "slick" {
47
+    @font-face {
48
+        font-family: "slick";
49
+        src: slick-font-url("slick.eot");
50
+        src: slick-font-url("slick.eot?#iefix") format("embedded-opentype"), slick-font-url("slick.woff") format("woff"), slick-font-url("slick.ttf") format("truetype"), slick-font-url("slick.svg#slick") format("svg");
51
+        font-weight: normal;
52
+        font-style: normal;
53
+    }
54
+}
55
+
56
+/* Arrows */
57
+
58
+.slick-prev,
59
+.slick-next {
60
+    position: absolute;
61
+    display: block;
62
+    height: 20px;
63
+    width: 20px;
64
+    line-height: 0px;
65
+    font-size: 0px;
66
+    cursor: pointer;
67
+    background: transparent;
68
+    color: transparent;
69
+    top: 50%;
70
+    margin-top: -10px\9; /*lte IE 8*/
71
+    -webkit-transform: translate(0, -50%);
72
+    -ms-transform: translate(0, -50%);
73
+    transform: translate(0, -50%);
74
+    padding: 0;
75
+    border: none;
76
+    outline: none;
77
+    &:hover, &:focus {
78
+        outline: none;
79
+        background: transparent;
80
+        color: transparent;
81
+        &:before {
82
+            opacity: $slick-opacity-on-hover;
83
+        }
84
+    }
85
+    &.slick-disabled:before {
86
+        opacity: $slick-opacity-not-active;
87
+    }
88
+}
89
+
90
+.slick-prev:before, .slick-next:before {
91
+    font-family: $slick-font-family;
92
+    font-size: 20px;
93
+    line-height: 1;
94
+    color: $slick-arrow-color;
95
+    opacity: $slick-opacity-default;
96
+    -webkit-font-smoothing: antialiased;
97
+    -moz-osx-font-smoothing: grayscale;
98
+}
99
+
100
+.slick-prev {
101
+    left: -25px;
102
+    [dir="rtl"] & {
103
+        left: auto;
104
+        right: -25px;
105
+    }
106
+    &:before {
107
+        content: $slick-prev-character;
108
+        [dir="rtl"] & {
109
+            content: $slick-next-character;
110
+        }
111
+    }
112
+}
113
+
114
+.slick-next {
115
+    right: -25px;
116
+    [dir="rtl"] & {
117
+        left: -25px;
118
+        right: auto;
119
+    }
120
+    &:before {
121
+        content: $slick-next-character;
122
+        [dir="rtl"] & {
123
+            content: $slick-prev-character;
124
+        }
125
+    }
126
+}
127
+
128
+/* Dots */
129
+
130
+.slick-slider {
131
+    margin-bottom: 30px;
132
+}
133
+
134
+.slick-dots {
135
+    position: absolute;
136
+    bottom: -45px;
137
+    list-style: none;
138
+    display: block;
139
+    text-align: center;
140
+    padding: 0;
141
+    width: 100%;
142
+    li {
143
+        position: relative;
144
+        display: inline-block;
145
+        height: 20px;
146
+        width: 20px;
147
+        margin: 0 5px;
148
+        padding: 0;
149
+        cursor: pointer;
150
+        button {
151
+            border: 0;
152
+            background: transparent;
153
+            display: block;
154
+            height: 20px;
155
+            width: 20px;
156
+            outline: none;
157
+            line-height: 0px;
158
+            font-size: 0px;
159
+            color: transparent;
160
+            padding: 5px;
161
+            cursor: pointer;
162
+            &:hover, &:focus {
163
+                outline: none;
164
+                &:before {
165
+                    opacity: $slick-opacity-on-hover;
166
+                }
167
+            }
168
+            &:before {
169
+                position: absolute;
170
+                top: 0;
171
+                left: 0;
172
+                content: $slick-dot-character;
173
+                width: 20px;
174
+                height: 20px;
175
+                font-family: $slick-font-family;
176
+                font-size: $slick-dot-size;
177
+                line-height: 20px;
178
+                text-align: center;
179
+                color: $slick-dot-color;
180
+                opacity: $slick-opacity-not-active;
181
+                -webkit-font-smoothing: antialiased;
182
+                -moz-osx-font-smoothing: grayscale;
183
+            }
184
+        }
185
+        &.slick-active button:before {
186
+            color: $slick-dot-color-active;
187
+            opacity: $slick-opacity-default;
188
+        }
189
+    }
190
+}
0 191
new file mode 100644
... ...
@@ -0,0 +1,119 @@
1
+/* Slider */
2
+.slick-slider
3
+{
4
+    position: relative;
5
+
6
+    display: block;
7
+
8
+    -moz-box-sizing: border-box;
9
+         box-sizing: border-box;
10
+
11
+    -webkit-user-select: none;
12
+       -moz-user-select: none;
13
+        -ms-user-select: none;
14
+            user-select: none;
15
+
16
+    -webkit-touch-callout: none;
17
+    -khtml-user-select: none;
18
+    -ms-touch-action: pan-y;
19
+        touch-action: pan-y;
20
+    -webkit-tap-highlight-color: transparent;
21
+}
22
+
23
+.slick-list
24
+{
25
+    position: relative;
26
+
27
+    display: block;
28
+    overflow: hidden;
29
+
30
+    margin: 0;
31
+    padding: 0;
32
+}
33
+.slick-list:focus
34
+{
35
+    outline: none;
36
+}
37
+.slick-list.dragging
38
+{
39
+    cursor: pointer;
40
+    cursor: hand;
41
+}
42
+
43
+.slick-slider .slick-track,
44
+.slick-slider .slick-list
45
+{
46
+    -webkit-transform: translate3d(0, 0, 0);
47
+       -moz-transform: translate3d(0, 0, 0);
48
+        -ms-transform: translate3d(0, 0, 0);
49
+         -o-transform: translate3d(0, 0, 0);
50
+            transform: translate3d(0, 0, 0);
51
+}
52
+
53
+.slick-track
54
+{
55
+    position: relative;
56
+    top: 0;
57
+    left: 0;
58
+
59
+    display: block;
60
+}
61
+.slick-track:before,
62
+.slick-track:after
63
+{
64
+    display: table;
65
+
66
+    content: '';
67
+}
68
+.slick-track:after
69
+{
70
+    clear: both;
71
+}
72
+.slick-loading .slick-track
73
+{
74
+    visibility: hidden;
75
+}
76
+
77
+.slick-slide
78
+{
79
+    display: none;
80
+    float: left;
81
+
82
+    height: 100%;
83
+    min-height: 1px;
84
+}
85
+[dir='rtl'] .slick-slide
86
+{
87
+    float: right;
88
+}
89
+.slick-slide img
90
+{
91
+    display: block;
92
+}
93
+.slick-slide.slick-loading img
94
+{
95
+    display: none;
96
+}
97
+.slick-slide.dragging img
98
+{
99
+    pointer-events: none;
100
+}
101
+.slick-initialized .slick-slide
102
+{
103
+    display: block;
104
+}
105
+.slick-loading .slick-slide
106
+{
107
+    visibility: hidden;
108
+}
109
+.slick-vertical .slick-slide
110
+{
111
+    display: block;
112
+
113
+    height: auto;
114
+
115
+    border: 1px solid transparent;
116
+}
117
+.slick-arrow.slick-hidden {
118
+    display: none;
119
+}
0 120
\ No newline at end of file
1 121
new file mode 100644
... ...
@@ -0,0 +1,99 @@
1
+/* Slider */
2
+
3
+.slick-slider {
4
+    position: relative;
5
+    display: block;
6
+    -moz-box-sizing: border-box;
7
+    box-sizing: border-box;
8
+    -webkit-touch-callout: none;
9
+    -webkit-user-select: none;
10
+    -khtml-user-select: none;
11
+    -moz-user-select: none;
12
+    -ms-user-select: none;
13
+    user-select: none;
14
+    -ms-touch-action: pan-y;
15
+    touch-action: pan-y;
16
+    -webkit-tap-highlight-color: transparent;
17
+}
18
+.slick-list {
19
+    position: relative;
20
+    overflow: hidden;
21
+    display: block;
22
+    margin: 0;
23
+    padding: 0;
24
+
25
+    &:focus {
26
+        outline: none;
27
+    }
28
+
29
+    &.dragging {
30
+        cursor: pointer;
31
+        cursor: hand;
32
+    }
33
+}
34
+.slick-slider .slick-track,
35
+.slick-slider .slick-list {
36
+    -webkit-transform: translate3d(0, 0, 0);
37
+    -moz-transform: translate3d(0, 0, 0);
38
+    -ms-transform: translate3d(0, 0, 0);
39
+    -o-transform: translate3d(0, 0, 0);
40
+    transform: translate3d(0, 0, 0);
41
+}
42
+
43
+.slick-track {
44
+    position: relative;
45
+    left: 0;
46
+    top: 0;
47
+    display: block;
48
+
49
+    &:before,
50
+    &:after {
51
+        content: "";
52
+        display: table;
53
+    }
54
+
55
+    &:after {
56
+        clear: both;
57
+    }
58
+
59
+    .slick-loading & {
60
+        visibility: hidden;
61
+    }
62
+}
63
+.slick-slide {
64
+    float: left;
65
+    height: 100%;
66
+    min-height: 1px;
67
+    [dir="rtl"] & {
68
+        float: right;
69
+    }
70
+    img {
71
+        display: block;
72
+    }
73
+    &.slick-loading img {
74
+        display: none;
75
+    }
76
+
77
+    display: none;
78
+
79
+    &.dragging img {
80
+        pointer-events: none;
81
+    }
82
+
83
+    .slick-initialized & {
84
+        display: block;
85
+    }
86
+
87
+    .slick-loading & {
88
+        visibility: hidden;
89
+    }
90
+
91
+    .slick-vertical & {
92
+        display: block;
93
+        height: auto;
94
+        border: 1px solid transparent;
95
+    }
96
+}
97
+.slick-arrow.slick-hidden {
98
+    display: none;
99
+}
0 100
new file mode 100644
... ...
@@ -0,0 +1,99 @@
1
+/* Slider */
2
+
3
+.slick-slider {
4
+    position: relative;
5
+    display: block;
6
+    -moz-box-sizing: border-box;
7
+    box-sizing: border-box;
8
+    -webkit-touch-callout: none;
9
+    -webkit-user-select: none;
10
+    -khtml-user-select: none;
11
+    -moz-user-select: none;
12
+    -ms-user-select: none;
13
+    user-select: none;
14
+    -ms-touch-action: pan-y;
15
+    touch-action: pan-y;
16
+    -webkit-tap-highlight-color: transparent;
17
+}
18
+.slick-list {
19
+    position: relative;
20
+    overflow: hidden;
21
+    display: block;
22
+    margin: 0;
23
+    padding: 0;
24
+
25
+    &:focus {
26
+        outline: none;
27
+    }
28
+
29
+    &.dragging {
30
+        cursor: pointer;
31
+        cursor: hand;
32
+    }
33
+}
34
+.slick-slider .slick-track,
35
+.slick-slider .slick-list {
36
+    -webkit-transform: translate3d(0, 0, 0);
37
+    -moz-transform: translate3d(0, 0, 0);
38
+    -ms-transform: translate3d(0, 0, 0);
39
+    -o-transform: translate3d(0, 0, 0);
40
+    transform: translate3d(0, 0, 0);
41
+}
42
+
43
+.slick-track {
44
+    position: relative;
45
+    left: 0;
46
+    top: 0;
47
+    display: block;
48
+
49
+    &:before,
50
+    &:after {
51
+        content: "";
52
+        display: table;
53
+    }
54
+
55
+    &:after {
56
+        clear: both;
57
+    }
58
+
59
+    .slick-loading & {
60
+        visibility: hidden;
61
+    }
62
+}
63
+.slick-slide {
64
+    float: left;
65
+    height: 100%;
66
+    min-height: 1px;
67
+    [dir="rtl"] & {
68
+        float: right;
69
+    }
70
+    img {
71
+        display: block;
72
+    }
73
+    &.slick-loading img {
74
+        display: none;
75
+    }
76
+
77
+    display: none;
78
+
79
+    &.dragging img {
80
+        pointer-events: none;
81
+    }
82
+
83
+    .slick-initialized & {
84
+        display: block;
85
+    }
86
+
87
+    .slick-loading & {
88
+        visibility: hidden;
89
+    }
90
+
91
+    .slick-vertical & {
92
+        display: block;
93
+        height: auto;
94
+        border: 1px solid transparent;
95
+    }
96
+}
97
+.slick-arrow.slick-hidden {
98
+    display: none;
99
+}
0 100
new file mode 100644
... ...
@@ -0,0 +1,2670 @@
1
+/*
2
+     _ _      _       _
3
+ ___| (_) ___| | __  (_)___
4
+/ __| | |/ __| |/ /  | / __|
5
+\__ \ | | (__|   < _ | \__ \
6
+|___/_|_|\___|_|\_(_)/ |___/
7
+                   |__/
8
+
9
+ Version: 1.5.9
10
+  Author: Ken Wheeler
11
+ Website: http://kenwheeler.github.io
12
+    Docs: http://kenwheeler.github.io/slick
13
+    Repo: http://github.com/kenwheeler/slick
14
+  Issues: http://github.com/kenwheeler/slick/issues
15
+
16
+ */
17
+/* global window, document, define, jQuery, setInterval, clearInterval */
18
+(function(factory) {
19
+    'use strict';
20
+    if (typeof define === 'function' && define.amd) {
21
+        define(['jquery'], factory);
22
+    } else if (typeof exports !== 'undefined') {
23
+        module.exports = factory(require('jquery'));
24
+    } else {
25
+        factory(jQuery);
26
+    }
27
+
28
+}(function($) {
29
+    'use strict';
30
+    var Slick = window.Slick || {};
31
+
32
+    Slick = (function() {
33
+
34
+        var instanceUid = 0;
35
+
36
+        function Slick(element, settings) {
37
+
38
+            var _ = this, dataSettings;
39
+
40
+            _.defaults = {
41
+                accessibility: true,
42
+                adaptiveHeight: false,
43
+                appendArrows: $(element),
44
+                appendDots: $(element),
45
+                arrows: true,
46
+                asNavFor: null,
47
+                prevArrow: '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',
48
+                nextArrow: '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',
49
+                autoplay: false,
50
+                autoplaySpeed: 3000,
51
+                centerMode: false,
52
+                centerPadding: '50px',
53
+                cssEase: 'ease',
54
+                customPaging: function(slider, i) {
55
+                    return '<button type="button" data-role="none" role="button" aria-required="false" tabindex="0">' + (i + 1) + '</button>';
56
+                },
57
+                dots: false,
58
+                dotsClass: 'slick-dots',
59
+                draggable: true,
60
+                easing: 'linear',
61
+                edgeFriction: 0.35,
62
+                fade: false,
63
+                focusOnSelect: false,
64
+                infinite: true,
65
+                initialSlide: 0,
66
+                lazyLoad: 'ondemand',
67
+                mobileFirst: false,
68
+                pauseOnHover: true,
69
+                pauseOnDotsHover: false,
70
+                respondTo: 'window',
71
+                responsive: null,
72
+                rows: 1,
73
+                rtl: false,
74
+                slide: '',
75
+                slidesPerRow: 1,
76
+                slidesToShow: 1,
77
+                slidesToScroll: 1,
78
+                speed: 500,
79
+                swipe: true,
80
+                swipeToSlide: false,
81
+                touchMove: true,
82
+                touchThreshold: 5,
83
+                useCSS: true,
84
+                useTransform: false,
85
+                variableWidth: false,
86
+                vertical: false,
87
+                verticalSwiping: false,
88
+                waitForAnimate: true,
89
+                zIndex: 1000
90
+            };
91
+
92
+            _.initials = {
93
+                animating: false,
94
+                dragging: false,
95
+                autoPlayTimer: null,
96
+                currentDirection: 0,
97
+                currentLeft: null,
98
+                currentSlide: 0,
99
+                direction: 1,
100
+                $dots: null,
101
+                listWidth: null,
102
+                listHeight: null,
103
+                loadIndex: 0,
104
+                $nextArrow: null,
105
+                $prevArrow: null,
106
+                slideCount: null,
107
+                slideWidth: null,
108
+                $slideTrack: null,
109
+                $slides: null,
110
+                sliding: false,
111
+                slideOffset: 0,
112
+                swipeLeft: null,
113
+                $list: null,
114
+                touchObject: {},
115
+                transformsEnabled: false,
116
+                unslicked: false
117
+            };
118
+
119
+            $.extend(_, _.initials);
120
+
121
+            _.activeBreakpoint = null;
122
+            _.animType = null;
123
+            _.animProp = null;
124
+            _.breakpoints = [];
125
+            _.breakpointSettings = [];
126
+            _.cssTransitions = false;
127
+            _.hidden = 'hidden';
128
+            _.paused = false;
129
+            _.positionProp = null;
130
+            _.respondTo = null;
131
+            _.rowCount = 1;
132
+            _.shouldClick = true;
133
+            _.$slider = $(element);
134
+            _.$slidesCache = null;
135
+            _.transformType = null;
136
+            _.transitionType = null;
137
+            _.visibilityChange = 'visibilitychange';
138
+            _.windowWidth = 0;
139
+            _.windowTimer = null;
140
+
141
+            dataSettings = $(element).data('slick') || {};
142
+
143
+            _.options = $.extend({}, _.defaults, dataSettings, settings);
144
+
145
+            _.currentSlide = _.options.initialSlide;
146
+
147
+            _.originalSettings = _.options;
148
+
149
+            if (typeof document.mozHidden !== 'undefined') {
150
+                _.hidden = 'mozHidden';
151
+                _.visibilityChange = 'mozvisibilitychange';
152
+            } else if (typeof document.webkitHidden !== 'undefined') {
153
+                _.hidden = 'webkitHidden';
154
+                _.visibilityChange = 'webkitvisibilitychange';
155
+            }
156
+
157
+            _.autoPlay = $.proxy(_.autoPlay, _);
158
+            _.autoPlayClear = $.proxy(_.autoPlayClear, _);
159
+            _.changeSlide = $.proxy(_.changeSlide, _);
160
+            _.clickHandler = $.proxy(_.clickHandler, _);
161
+            _.selectHandler = $.proxy(_.selectHandler, _);
162
+            _.setPosition = $.proxy(_.setPosition, _);
163
+            _.swipeHandler = $.proxy(_.swipeHandler, _);
164
+            _.dragHandler = $.proxy(_.dragHandler, _);
165
+            _.keyHandler = $.proxy(_.keyHandler, _);
166
+            _.autoPlayIterator = $.proxy(_.autoPlayIterator, _);
167
+
168
+            _.instanceUid = instanceUid++;
169
+
170
+            // A simple way to check for HTML strings
171
+            // Strict HTML recognition (must start with <)
172
+            // Extracted from jQuery v1.11 source
173
+            _.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/;
174
+
175
+
176
+            _.registerBreakpoints();
177
+            _.init(true);
178
+            _.checkResponsive(true);
179
+
180
+        }
181
+
182
+        return Slick;
183
+
184
+    }());
185
+
186
+    Slick.prototype.addSlide = Slick.prototype.slickAdd = function(markup, index, addBefore) {
187
+
188
+        var _ = this;
189
+
190
+        if (typeof(index) === 'boolean') {
191
+            addBefore = index;
192
+            index = null;
193
+        } else if (index < 0 || (index >= _.slideCount)) {
194
+            return false;
195
+        }
196
+
197
+        _.unload();
198
+
199
+        if (typeof(index) === 'number') {
200
+            if (index === 0 && _.$slides.length === 0) {
201
+                $(markup).appendTo(_.$slideTrack);
202
+            } else if (addBefore) {
203
+                $(markup).insertBefore(_.$slides.eq(index));
204
+            } else {
205
+                $(markup).insertAfter(_.$slides.eq(index));
206
+            }
207
+        } else {
208
+            if (addBefore === true) {
209
+                $(markup).prependTo(_.$slideTrack);
210
+            } else {
211
+                $(markup).appendTo(_.$slideTrack);
212
+            }
213
+        }
214
+
215
+        _.$slides = _.$slideTrack.children(this.options.slide);
216
+
217
+        _.$slideTrack.children(this.options.slide).detach();
218
+
219
+        _.$slideTrack.append(_.$slides);
220
+
221
+        _.$slides.each(function(index, element) {
222
+            $(element).attr('data-slick-index', index);
223
+        });
224
+
225
+        _.$slidesCache = _.$slides;
226
+
227
+        _.reinit();
228
+
229
+    };
230
+
231
+    Slick.prototype.animateHeight = function() {
232
+        var _ = this;
233
+        if (_.options.slidesToShow === 1 && _.options.adaptiveHeight === true && _.options.vertical === false) {
234
+            var targetHeight = _.$slides.eq(_.currentSlide).outerHeight(true);
235
+            _.$list.animate({
236
+                height: targetHeight
237
+            }, _.options.speed);
238
+        }
239
+    };
240
+
241
+    Slick.prototype.animateSlide = function(targetLeft, callback) {
242
+
243
+        var animProps = {},
244
+            _ = this;
245
+
246
+        _.animateHeight();
247
+
248
+        if (_.options.rtl === true && _.options.vertical === false) {
249
+            targetLeft = -targetLeft;
250
+        }
251
+        if (_.transformsEnabled === false) {
252
+            if (_.options.vertical === false) {
253
+                _.$slideTrack.animate({
254
+                    left: targetLeft
255
+                }, _.options.speed, _.options.easing, callback);
256
+            } else {
257
+                _.$slideTrack.animate({
258
+                    top: targetLeft
259
+                }, _.options.speed, _.options.easing, callback);
260
+            }
261
+
262
+        } else {
263
+
264
+            if (_.cssTransitions === false) {
265
+                if (_.options.rtl === true) {
266
+                    _.currentLeft = -(_.currentLeft);
267
+                }
268
+                $({
269
+                    animStart: _.currentLeft
270
+                }).animate({
271
+                    animStart: targetLeft
272
+                }, {
273
+                    duration: _.options.speed,
274
+                    easing: _.options.easing,
275
+                    step: function(now) {
276
+                        now = Math.ceil(now);
277
+                        if (_.options.vertical === false) {
278
+                            animProps[_.animType] = 'translate(' +
279
+                                now + 'px, 0px)';
280
+                            _.$slideTrack.css(animProps);
281
+                        } else {
282
+                            animProps[_.animType] = 'translate(0px,' +
283
+                                now + 'px)';
284
+                            _.$slideTrack.css(animProps);
285
+                        }
286
+                    },
287
+                    complete: function() {
288
+                        if (callback) {
289
+                            callback.call();
290
+                        }
291
+                    }
292
+                });
293
+
294
+            } else {
295
+
296
+                _.applyTransition();
297
+                targetLeft = Math.ceil(targetLeft);
298
+
299
+                if (_.options.vertical === false) {
300
+                    animProps[_.animType] = 'translate3d(' + targetLeft + 'px, 0px, 0px)';
301
+                } else {
302
+                    animProps[_.animType] = 'translate3d(0px,' + targetLeft + 'px, 0px)';
303
+                }
304
+                _.$slideTrack.css(animProps);
305
+
306
+                if (callback) {
307
+                    setTimeout(function() {
308
+
309
+                        _.disableTransition();
310
+
311
+                        callback.call();
312
+                    }, _.options.speed);
313
+                }
314
+
315
+            }
316
+
317
+        }
318
+
319
+    };
320
+
321
+    Slick.prototype.asNavFor = function(index) {
322
+
323
+        var _ = this,
324
+            asNavFor = _.options.asNavFor;
325
+
326
+        if ( asNavFor && asNavFor !== null ) {
327
+            asNavFor = $(asNavFor).not(_.$slider);
328
+        }
329
+
330
+        if ( asNavFor !== null && typeof asNavFor === 'object' ) {
331
+            asNavFor.each(function() {
332
+                var target = $(this).slick('getSlick');
333
+                if(!target.unslicked) {
334
+                    target.slideHandler(index, true);
335
+                }
336
+            });
337
+        }
338
+
339
+    };
340
+
341
+    Slick.prototype.applyTransition = function(slide) {
342
+
343
+        var _ = this,
344
+            transition = {};
345
+
346
+        if (_.options.fade === false) {
347
+            transition[_.transitionType] = _.transformType + ' ' + _.options.speed + 'ms ' + _.options.cssEase;
348
+        } else {
349
+            transition[_.transitionType] = 'opacity ' + _.options.speed + 'ms ' + _.options.cssEase;
350
+        }
351
+
352
+        if (_.options.fade === false) {
353
+            _.$slideTrack.css(transition);
354
+        } else {
355
+            _.$slides.eq(slide).css(transition);
356
+        }
357
+
358
+    };
359
+
360
+    Slick.prototype.autoPlay = function() {
361
+
362
+        var _ = this;
363
+
364
+        if (_.autoPlayTimer) {
365
+            clearInterval(_.autoPlayTimer);
366
+        }
367
+
368
+        if (_.slideCount > _.options.slidesToShow && _.paused !== true) {
369
+            _.autoPlayTimer = setInterval(_.autoPlayIterator,
370
+                _.options.autoplaySpeed);
371
+        }
372
+
373
+    };
374
+
375
+    Slick.prototype.autoPlayClear = function() {
376
+
377
+        var _ = this;
378
+        if (_.autoPlayTimer) {
379
+            clearInterval(_.autoPlayTimer);
380
+        }
381
+
382
+    };
383
+
384
+    Slick.prototype.autoPlayIterator = function() {
385
+
386
+        var _ = this;
387
+
388
+        if (_.options.infinite === false) {
389
+
390
+            if (_.direction === 1) {
391
+
392
+                if ((_.currentSlide + 1) === _.slideCount -
393
+                    1) {
394
+                    _.direction = 0;
395
+                }
396
+
397
+                _.slideHandler(_.currentSlide + _.options.slidesToScroll);
398
+
399
+            } else {
400
+
401
+                if ((_.currentSlide - 1 === 0)) {
402
+
403
+                    _.direction = 1;
404
+
405
+                }
406
+
407
+                _.slideHandler(_.currentSlide - _.options.slidesToScroll);
408
+
409
+            }
410
+
411
+        } else {
412
+
413
+            _.slideHandler(_.currentSlide + _.options.slidesToScroll);
414
+
415
+        }
416
+
417
+    };
418
+
419
+    Slick.prototype.buildArrows = function() {
420
+
421
+        var _ = this;
422
+
423
+        if (_.options.arrows === true ) {
424
+
425
+            _.$prevArrow = $(_.options.prevArrow).addClass('slick-arrow');
426
+            _.$nextArrow = $(_.options.nextArrow).addClass('slick-arrow');
427
+
428
+            if( _.slideCount > _.options.slidesToShow ) {
429
+
430
+                _.$prevArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');
431
+                _.$nextArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');
432
+
433
+                if (_.htmlExpr.test(_.options.prevArrow)) {
434
+                    _.$prevArrow.prependTo(_.options.appendArrows);
435
+                }
436
+
437
+                if (_.htmlExpr.test(_.options.nextArrow)) {
438
+                    _.$nextArrow.appendTo(_.options.appendArrows);
439
+                }
440
+
441
+                if (_.options.infinite !== true) {
442
+                    _.$prevArrow
443
+                        .addClass('slick-disabled')
444
+                        .attr('aria-disabled', 'true');
445
+                }
446
+
447
+            } else {
448
+
449
+                _.$prevArrow.add( _.$nextArrow )
450
+
451
+                    .addClass('slick-hidden')
452
+                    .attr({
453
+                        'aria-disabled': 'true',
454
+                        'tabindex': '-1'
455
+                    });
456
+
457
+            }
458
+
459
+        }
460
+
461
+    };
462
+
463
+    Slick.prototype.buildDots = function() {
464
+
465
+        var _ = this,
466
+            i, dotString;
467
+
468
+        if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {
469
+
470
+            dotString = '<ul class="' + _.options.dotsClass + '">';
471
+
472
+            for (i = 0; i <= _.getDotCount(); i += 1) {
473
+                dotString += '<li>' + _.options.customPaging.call(this, _, i) + '</li>';
474
+            }
475
+
476
+            dotString += '</ul>';
477
+
478
+            _.$dots = $(dotString).appendTo(
479
+                _.options.appendDots);
480
+
481
+            _.$dots.find('li').first().addClass('slick-active').attr('aria-hidden', 'false');
482
+
483
+        }
484
+
485
+    };
486
+
487
+    Slick.prototype.buildOut = function() {
488
+
489
+        var _ = this;
490
+
491
+        _.$slides =
492
+            _.$slider
493
+                .children( _.options.slide + ':not(.slick-cloned)')
494
+                .addClass('slick-slide');
495
+
496
+        _.slideCount = _.$slides.length;
497
+
498
+        _.$slides.each(function(index, element) {
499
+            $(element)
500
+                .attr('data-slick-index', index)
501
+                .data('originalStyling', $(element).attr('style') || '');
502
+        });
503
+
504
+        _.$slider.addClass('slick-slider');
505
+
506
+        _.$slideTrack = (_.slideCount === 0) ?
507
+            $('<div class="slick-track"/>').appendTo(_.$slider) :
508
+            _.$slides.wrapAll('<div class="slick-track"/>').parent();
509
+
510
+        _.$list = _.$slideTrack.wrap(
511
+            '<div aria-live="polite" class="slick-list"/>').parent();
512
+        _.$slideTrack.css('opacity', 0);
513
+
514
+        if (_.options.centerMode === true || _.options.swipeToSlide === true) {
515
+            _.options.slidesToScroll = 1;
516
+        }
517
+
518
+        $('img[data-lazy]', _.$slider).not('[src]').addClass('slick-loading');
519
+
520
+        _.setupInfinite();
521
+
522
+        _.buildArrows();
523
+
524
+        _.buildDots();
525
+
526
+        _.updateDots();
527
+
528
+
529
+        _.setSlideClasses(typeof _.currentSlide === 'number' ? _.currentSlide : 0);
530
+
531
+        if (_.options.draggable === true) {
532
+            _.$list.addClass('draggable');
533
+        }
534
+
535
+    };
536
+
537
+    Slick.prototype.buildRows = function() {
538
+
539
+        var _ = this, a, b, c, newSlides, numOfSlides, originalSlides,slidesPerSection;
540
+
541
+        newSlides = document.createDocumentFragment();
542
+        originalSlides = _.$slider.children();
543
+
544
+        if(_.options.rows > 1) {
545
+
546
+            slidesPerSection = _.options.slidesPerRow * _.options.rows;
547
+            numOfSlides = Math.ceil(
548
+                originalSlides.length / slidesPerSection
549
+            );
550
+
551
+            for(a = 0; a < numOfSlides; a++){
552
+                var slide = document.createElement('div');
553
+                for(b = 0; b < _.options.rows; b++) {
554
+                    var row = document.createElement('div');
555
+                    for(c = 0; c < _.options.slidesPerRow; c++) {
556
+                        var target = (a * slidesPerSection + ((b * _.options.slidesPerRow) + c));
557
+                        if (originalSlides.get(target)) {
558
+                            row.appendChild(originalSlides.get(target));
559
+                        }
560
+                    }
561
+                    slide.appendChild(row);
562
+                }
563
+                newSlides.appendChild(slide);
564
+            }
565
+
566
+            _.$slider.html(newSlides);
567
+            _.$slider.children().children().children()
568
+                .css({
569
+                    'width':(100 / _.options.slidesPerRow) + '%',
570
+                    'display': 'inline-block'
571
+                });
572
+
573
+        }
574
+
575
+    };
576
+
577
+    Slick.prototype.checkResponsive = function(initial, forceUpdate) {
578
+
579
+        var _ = this,
580
+            breakpoint, targetBreakpoint, respondToWidth, triggerBreakpoint = false;
581
+        var sliderWidth = _.$slider.width();
582
+        var windowWidth = window.innerWidth || $(window).width();
583
+
584
+        if (_.respondTo === 'window') {
585
+            respondToWidth = windowWidth;
586
+        } else if (_.respondTo === 'slider') {
587
+            respondToWidth = sliderWidth;
588
+        } else if (_.respondTo === 'min') {
589
+            respondToWidth = Math.min(windowWidth, sliderWidth);
590
+        }
591
+
592
+        if ( _.options.responsive &&
593
+            _.options.responsive.length &&
594
+            _.options.responsive !== null) {
595
+
596
+            targetBreakpoint = null;
597
+
598
+            for (breakpoint in _.breakpoints) {
599
+                if (_.breakpoints.hasOwnProperty(breakpoint)) {
600
+                    if (_.originalSettings.mobileFirst === false) {
601
+                        if (respondToWidth < _.breakpoints[breakpoint]) {
602
+                            targetBreakpoint = _.breakpoints[breakpoint];
603
+                        }
604
+                    } else {
605
+                        if (respondToWidth > _.breakpoints[breakpoint]) {
606
+                            targetBreakpoint = _.breakpoints[breakpoint];
607
+                        }
608
+                    }
609
+                }
610
+            }
611
+
612
+            if (targetBreakpoint !== null) {
613
+                if (_.activeBreakpoint !== null) {
614
+                    if (targetBreakpoint !== _.activeBreakpoint || forceUpdate) {
615
+                        _.activeBreakpoint =
616
+                            targetBreakpoint;
617
+                        if (_.breakpointSettings[targetBreakpoint] === 'unslick') {
618
+                            _.unslick(targetBreakpoint);
619
+                        } else {
620
+                            _.options = $.extend({}, _.originalSettings,
621
+                                _.breakpointSettings[
622
+                                    targetBreakpoint]);
623
+                            if (initial === true) {
624
+                                _.currentSlide = _.options.initialSlide;
625
+                            }
626
+                            _.refresh(initial);
627
+                        }
628
+                        triggerBreakpoint = targetBreakpoint;
629
+                    }
630
+                } else {
631
+                    _.activeBreakpoint = targetBreakpoint;
632
+                    if (_.breakpointSettings[targetBreakpoint] === 'unslick') {
633
+                        _.unslick(targetBreakpoint);
634
+                    } else {
635
+                        _.options = $.extend({}, _.originalSettings,
636
+                            _.breakpointSettings[
637
+                                targetBreakpoint]);
638
+                        if (initial === true) {
639
+                            _.currentSlide = _.options.initialSlide;
640
+                        }
641
+                        _.refresh(initial);
642
+                    }
643
+                    triggerBreakpoint = targetBreakpoint;
644
+                }
645
+            } else {
646
+                if (_.activeBreakpoint !== null) {
647
+                    _.activeBreakpoint = null;
648
+                    _.options = _.originalSettings;
649
+                    if (initial === true) {
650
+                        _.currentSlide = _.options.initialSlide;
651
+                    }
652
+                    _.refresh(initial);
653
+                    triggerBreakpoint = targetBreakpoint;
654
+                }
655
+            }
656
+
657
+            // only trigger breakpoints during an actual break. not on initialize.
658
+            if( !initial && triggerBreakpoint !== false ) {
659
+                _.$slider.trigger('breakpoint', [_, triggerBreakpoint]);
660
+            }
661
+        }
662
+
663
+    };
664
+
665
+    Slick.prototype.changeSlide = function(event, dontAnimate) {
666
+
667
+        var _ = this,
668
+            $target = $(event.target),
669
+            indexOffset, slideOffset, unevenOffset;
670
+
671
+        // If target is a link, prevent default action.
672
+        if($target.is('a')) {
673
+            event.preventDefault();
674
+        }
675
+
676
+        // If target is not the <li> element (ie: a child), find the <li>.
677
+        if(!$target.is('li')) {
678
+            $target = $target.closest('li');
679
+        }
680
+
681
+        unevenOffset = (_.slideCount % _.options.slidesToScroll !== 0);
682
+        indexOffset = unevenOffset ? 0 : (_.slideCount - _.currentSlide) % _.options.slidesToScroll;
683
+
684
+        switch (event.data.message) {
685
+
686
+            case 'previous':
687
+                slideOffset = indexOffset === 0 ? _.options.slidesToScroll : _.options.slidesToShow - indexOffset;
688
+                if (_.slideCount > _.options.slidesToShow) {
689
+                    _.slideHandler(_.currentSlide - slideOffset, false, dontAnimate);
690
+                }
691
+                break;
692
+
693
+            case 'next':
694
+                slideOffset = indexOffset === 0 ? _.options.slidesToScroll : indexOffset;
695
+                if (_.slideCount > _.options.slidesToShow) {
696
+                    _.slideHandler(_.currentSlide + slideOffset, false, dontAnimate);
697
+                }
698
+                break;
699
+
700
+            case 'index':
701
+                var index = event.data.index === 0 ? 0 :
702
+                    event.data.index || $target.index() * _.options.slidesToScroll;
703
+
704
+                _.slideHandler(_.checkNavigable(index), false, dontAnimate);
705
+                $target.children().trigger('focus');
706
+                break;
707
+
708
+            default:
709
+                return;
710
+        }
711
+
712
+    };
713
+
714
+    Slick.prototype.checkNavigable = function(index) {
715
+
716
+        var _ = this,
717
+            navigables, prevNavigable;
718
+
719
+        navigables = _.getNavigableIndexes();
720
+        prevNavigable = 0;
721
+        if (index > navigables[navigables.length - 1]) {
722
+            index = navigables[navigables.length - 1];
723
+        } else {
724
+            for (var n in navigables) {
725
+                if (index < navigables[n]) {
726
+                    index = prevNavigable;
727
+                    break;
728
+                }
729
+                prevNavigable = navigables[n];
730
+            }
731
+        }
732
+
733
+        return index;
734
+    };
735
+
736
+    Slick.prototype.cleanUpEvents = function() {
737
+
738
+        var _ = this;
739
+
740
+        if (_.options.dots && _.$dots !== null) {
741
+
742
+            $('li', _.$dots).off('click.slick', _.changeSlide);
743
+
744
+            if (_.options.pauseOnDotsHover === true && _.options.autoplay === true) {
745
+
746
+                $('li', _.$dots)
747
+                    .off('mouseenter.slick', $.proxy(_.setPaused, _, true))
748
+                    .off('mouseleave.slick', $.proxy(_.setPaused, _, false));
749
+
750
+            }
751
+
752
+        }
753
+
754
+        if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {
755
+            _.$prevArrow && _.$prevArrow.off('click.slick', _.changeSlide);
756
+            _.$nextArrow && _.$nextArrow.off('click.slick', _.changeSlide);
757
+        }
758
+
759
+        _.$list.off('touchstart.slick mousedown.slick', _.swipeHandler);
760
+        _.$list.off('touchmove.slick mousemove.slick', _.swipeHandler);
761
+        _.$list.off('touchend.slick mouseup.slick', _.swipeHandler);
762
+        _.$list.off('touchcancel.slick mouseleave.slick', _.swipeHandler);
763
+
764
+        _.$list.off('click.slick', _.clickHandler);
765
+
766
+        $(document).off(_.visibilityChange, _.visibility);
767
+
768
+        _.$list.off('mouseenter.slick', $.proxy(_.setPaused, _, true));
769
+        _.$list.off('mouseleave.slick', $.proxy(_.setPaused, _, false));
770
+
771
+        if (_.options.accessibility === true) {
772
+            _.$list.off('keydown.slick', _.keyHandler);
773
+        }
774
+
775
+        if (_.options.focusOnSelect === true) {
776
+            $(_.$slideTrack).children().off('click.slick', _.selectHandler);
777
+        }
778
+
779
+        $(window).off('orientationchange.slick.slick-' + _.instanceUid, _.orientationChange);
780
+
781
+        $(window).off('resize.slick.slick-' + _.instanceUid, _.resize);
782
+
783
+        $('[draggable!=true]', _.$slideTrack).off('dragstart', _.preventDefault);
784
+
785
+        $(window).off('load.slick.slick-' + _.instanceUid, _.setPosition);
786
+        $(document).off('ready.slick.slick-' + _.instanceUid, _.setPosition);
787
+    };
788
+
789
+    Slick.prototype.cleanUpRows = function() {
790
+
791
+        var _ = this, originalSlides;
792
+
793
+        if(_.options.rows > 1) {
794
+            originalSlides = _.$slides.children().children();
795
+            originalSlides.removeAttr('style');
796
+            _.$slider.html(originalSlides);
797
+        }
798
+
799
+    };
800
+
801
+    Slick.prototype.clickHandler = function(event) {
802
+
803
+        var _ = this;
804
+
805
+        if (_.shouldClick === false) {
806
+            event.stopImmediatePropagation();
807
+            event.stopPropagation();
808
+            event.preventDefault();
809
+        }
810
+
811
+    };
812
+
813
+    Slick.prototype.destroy = function(refresh) {
814
+
815
+        var _ = this;
816
+
817
+        _.autoPlayClear();
818
+
819
+        _.touchObject = {};
820
+
821
+        _.cleanUpEvents();
822
+
823
+        $('.slick-cloned', _.$slider).detach();
824
+
825
+        if (_.$dots) {
826
+            _.$dots.remove();
827
+        }
828
+
829
+
830
+        if ( _.$prevArrow && _.$prevArrow.length ) {
831
+
832
+            _.$prevArrow
833
+                .removeClass('slick-disabled slick-arrow slick-hidden')
834
+                .removeAttr('aria-hidden aria-disabled tabindex')
835
+                .css("display","");
836
+
837
+            if ( _.htmlExpr.test( _.options.prevArrow )) {
838
+                _.$prevArrow.remove();
839
+            }
840
+        }
841
+
842
+        if ( _.$nextArrow && _.$nextArrow.length ) {
843
+
844
+            _.$nextArrow
845
+                .removeClass('slick-disabled slick-arrow slick-hidden')
846
+                .removeAttr('aria-hidden aria-disabled tabindex')
847
+                .css("display","");
848
+
849
+            if ( _.htmlExpr.test( _.options.nextArrow )) {
850
+                _.$nextArrow.remove();
851
+            }
852
+
853
+        }
854
+
855
+
856
+        if (_.$slides) {
857
+
858
+            _.$slides
859
+                .removeClass('slick-slide slick-active slick-center slick-visible slick-current')
860
+                .removeAttr('aria-hidden')
861
+                .removeAttr('data-slick-index')
862
+                .each(function(){
863
+                    $(this).attr('style', $(this).data('originalStyling'));
864
+                });
865
+
866
+            _.$slideTrack.children(this.options.slide).detach();
867
+
868
+            _.$slideTrack.detach();
869
+
870
+            _.$list.detach();
871
+
872
+            _.$slider.append(_.$slides);
873
+        }
874
+
875
+        _.cleanUpRows();
876
+
877
+        _.$slider.removeClass('slick-slider');
878
+        _.$slider.removeClass('slick-initialized');
879
+
880
+        _.unslicked = true;
881
+
882
+        if(!refresh) {
883
+            _.$slider.trigger('destroy', [_]);
884
+        }
885
+
886
+    };
887
+
888
+    Slick.prototype.disableTransition = function(slide) {
889
+
890
+        var _ = this,
891
+            transition = {};
892
+
893
+        transition[_.transitionType] = '';
894
+
895
+        if (_.options.fade === false) {
896
+            _.$slideTrack.css(transition);
897
+        } else {
898
+            _.$slides.eq(slide).css(transition);
899
+        }
900
+
901
+    };
902
+
903
+    Slick.prototype.fadeSlide = function(slideIndex, callback) {
904
+
905
+        var _ = this;
906
+
907
+        if (_.cssTransitions === false) {
908
+
909
+            _.$slides.eq(slideIndex).css({
910
+                zIndex: _.options.zIndex
911
+            });
912
+
913
+            _.$slides.eq(slideIndex).animate({
914
+                opacity: 1
915
+            }, _.options.speed, _.options.easing, callback);
916
+
917
+        } else {
918
+
919
+            _.applyTransition(slideIndex);
920
+
921
+            _.$slides.eq(slideIndex).css({
922
+                opacity: 1,
923
+                zIndex: _.options.zIndex
924
+            });
925
+
926
+            if (callback) {
927
+                setTimeout(function() {
928
+
929
+                    _.disableTransition(slideIndex);
930
+
931
+                    callback.call();
932
+                }, _.options.speed);
933
+            }
934
+
935
+        }
936
+
937
+    };
938
+
939
+    Slick.prototype.fadeSlideOut = function(slideIndex) {
940
+
941
+        var _ = this;
942
+
943
+        if (_.cssTransitions === false) {
944
+
945
+            _.$slides.eq(slideIndex).animate({
946
+                opacity: 0,
947
+                zIndex: _.options.zIndex - 2
948
+            }, _.options.speed, _.options.easing);
949
+
950
+        } else {
951
+
952
+            _.applyTransition(slideIndex);
953
+
954
+            _.$slides.eq(slideIndex).css({
955
+                opacity: 0,
956
+                zIndex: _.options.zIndex - 2
957
+            });
958
+
959
+        }
960
+
961
+    };
962
+
963
+    Slick.prototype.filterSlides = Slick.prototype.slickFilter = function(filter) {
964
+
965
+        var _ = this;
966
+
967
+        if (filter !== null) {
968
+
969
+            _.$slidesCache = _.$slides;
970
+
971
+            _.unload();
972
+
973
+            _.$slideTrack.children(this.options.slide).detach();
974
+
975
+            _.$slidesCache.filter(filter).appendTo(_.$slideTrack);
976
+
977
+            _.reinit();
978
+
979
+        }
980
+
981
+    };
982
+
983
+    Slick.prototype.getCurrent = Slick.prototype.slickCurrentSlide = function() {
984
+
985
+        var _ = this;
986
+        return _.currentSlide;
987
+
988
+    };
989
+
990
+    Slick.prototype.getDotCount = function() {
991
+
992
+        var _ = this;
993
+
994
+        var breakPoint = 0;
995
+        var counter = 0;
996
+        var pagerQty = 0;
997
+
998
+        if (_.options.infinite === true) {
999
+            while (breakPoint < _.slideCount) {
1000
+                ++pagerQty;
1001
+                breakPoint = counter + _.options.slidesToScroll;
1002
+                counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;
1003
+            }
1004
+        } else if (_.options.centerMode === true) {
1005
+            pagerQty = _.slideCount;
1006
+        } else {
1007
+            while (breakPoint < _.slideCount) {
1008
+                ++pagerQty;
1009
+                breakPoint = counter + _.options.slidesToScroll;
1010
+                counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;
1011
+            }
1012
+        }
1013
+
1014
+        return pagerQty - 1;
1015
+
1016
+    };
1017
+
1018
+    Slick.prototype.getLeft = function(slideIndex) {
1019
+
1020
+        var _ = this,
1021
+            targetLeft,
1022
+            verticalHeight,
1023
+            verticalOffset = 0,
1024
+            targetSlide;
1025
+
1026
+        _.slideOffset = 0;
1027
+        verticalHeight = _.$slides.first().outerHeight(true);
1028
+
1029
+        if (_.options.infinite === true) {
1030
+            if (_.slideCount > _.options.slidesToShow) {
1031
+                _.slideOffset = (_.slideWidth * _.options.slidesToShow) * -1;
1032
+                verticalOffset = (verticalHeight * _.options.slidesToShow) * -1;
1033
+            }
1034
+            if (_.slideCount % _.options.slidesToScroll !== 0) {
1035
+                if (slideIndex + _.options.slidesToScroll > _.slideCount && _.slideCount > _.options.slidesToShow) {
1036
+                    if (slideIndex > _.slideCount) {
1037
+                        _.slideOffset = ((_.options.slidesToShow - (slideIndex - _.slideCount)) * _.slideWidth) * -1;
1038
+                        verticalOffset = ((_.options.slidesToShow - (slideIndex - _.slideCount)) * verticalHeight) * -1;
1039
+                    } else {
1040
+                        _.slideOffset = ((_.slideCount % _.options.slidesToScroll) * _.slideWidth) * -1;
1041
+                        verticalOffset = ((_.slideCount % _.options.slidesToScroll) * verticalHeight) * -1;
1042
+                    }
1043
+                }
1044
+            }
1045
+        } else {
1046
+            if (slideIndex + _.options.slidesToShow > _.slideCount) {
1047
+                _.slideOffset = ((slideIndex + _.options.slidesToShow) - _.slideCount) * _.slideWidth;
1048
+                verticalOffset = ((slideIndex + _.options.slidesToShow) - _.slideCount) * verticalHeight;
1049
+            }
1050
+        }
1051
+
1052
+        if (_.slideCount <= _.options.slidesToShow) {
1053
+            _.slideOffset = 0;
1054
+            verticalOffset = 0;
1055
+        }
1056
+
1057
+        if (_.options.centerMode === true && _.options.infinite === true) {
1058
+            _.slideOffset += _.slideWidth * Math.floor(_.options.slidesToShow / 2) - _.slideWidth;
1059
+        } else if (_.options.centerMode === true) {
1060
+            _.slideOffset = 0;
1061
+            _.slideOffset += _.slideWidth * Math.floor(_.options.slidesToShow / 2);
1062
+        }
1063
+
1064
+        if (_.options.vertical === false) {
1065
+            targetLeft = ((slideIndex * _.slideWidth) * -1) + _.slideOffset;
1066
+        } else {
1067
+            targetLeft = ((slideIndex * verticalHeight) * -1) + verticalOffset;
1068
+        }
1069
+
1070
+        if (_.options.variableWidth === true) {
1071
+
1072
+            if (_.slideCount <= _.options.slidesToShow || _.options.infinite === false) {
1073
+                targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex);
1074
+            } else {
1075
+                targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex + _.options.slidesToShow);
1076
+            }
1077
+
1078
+            if (_.options.rtl === true) {
1079
+                if (targetSlide[0]) {
1080
+                    targetLeft = (_.$slideTrack.width() - targetSlide[0].offsetLeft - targetSlide.width()) * -1;
1081
+                } else {
1082
+                    targetLeft =  0;
1083
+                }
1084
+            } else {
1085
+                targetLeft = targetSlide[0] ? targetSlide[0].offsetLeft * -1 : 0;
1086
+            }
1087
+
1088
+            if (_.options.centerMode === true) {
1089
+                if (_.slideCount <= _.options.slidesToShow || _.options.infinite === false) {
1090
+                    targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex);
1091
+                } else {
1092
+                    targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex + _.options.slidesToShow + 1);
1093
+                }
1094
+
1095
+                if (_.options.rtl === true) {
1096
+                    if (targetSlide[0]) {
1097
+                        targetLeft = (_.$slideTrack.width() - targetSlide[0].offsetLeft - targetSlide.width()) * -1;
1098
+                    } else {
1099
+                        targetLeft =  0;
1100
+                    }
1101
+                } else {
1102
+                    targetLeft = targetSlide[0] ? targetSlide[0].offsetLeft * -1 : 0;
1103
+                }
1104
+
1105
+                targetLeft += (_.$list.width() - targetSlide.outerWidth()) / 2;
1106
+            }
1107
+        }
1108
+
1109
+        return targetLeft;
1110
+
1111
+    };
1112
+
1113
+    Slick.prototype.getOption = Slick.prototype.slickGetOption = function(option) {
1114
+
1115
+        var _ = this;
1116
+
1117
+        return _.options[option];
1118
+
1119
+    };
1120
+
1121
+    Slick.prototype.getNavigableIndexes = function() {
1122
+
1123
+        var _ = this,
1124
+            breakPoint = 0,
1125
+            counter = 0,
1126
+            indexes = [],
1127
+            max;
1128
+
1129
+        if (_.options.infinite === false) {
1130
+            max = _.slideCount;
1131
+        } else {
1132
+            breakPoint = _.options.slidesToScroll * -1;
1133
+            counter = _.options.slidesToScroll * -1;
1134
+            max = _.slideCount * 2;
1135
+        }
1136
+
1137
+        while (breakPoint < max) {
1138
+            indexes.push(breakPoint);
1139
+            breakPoint = counter + _.options.slidesToScroll;
1140
+            counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;
1141
+        }
1142
+
1143
+        return indexes;
1144
+
1145
+    };
1146
+
1147
+    Slick.prototype.getSlick = function() {
1148
+
1149
+        return this;
1150
+
1151
+    };
1152
+
1153
+    Slick.prototype.getSlideCount = function() {
1154
+
1155
+        var _ = this,
1156
+            slidesTraversed, swipedSlide, centerOffset;
1157
+
1158
+        centerOffset = _.options.centerMode === true ? _.slideWidth * Math.floor(_.options.slidesToShow / 2) : 0;
1159
+
1160
+        if (_.options.swipeToSlide === true) {
1161
+            _.$slideTrack.find('.slick-slide').each(function(index, slide) {
1162
+                if (slide.offsetLeft - centerOffset + ($(slide).outerWidth() / 2) > (_.swipeLeft * -1)) {
1163
+                    swipedSlide = slide;
1164
+                    return false;
1165
+                }
1166
+            });
1167
+
1168
+            slidesTraversed = Math.abs($(swipedSlide).attr('data-slick-index') - _.currentSlide) || 1;
1169
+
1170
+            return slidesTraversed;
1171
+
1172
+        } else {
1173
+            return _.options.slidesToScroll;
1174
+        }
1175
+
1176
+    };
1177
+
1178
+    Slick.prototype.goTo = Slick.prototype.slickGoTo = function(slide, dontAnimate) {
1179
+
1180
+        var _ = this;
1181
+
1182
+        _.changeSlide({
1183
+            data: {
1184
+                message: 'index',
1185
+                index: parseInt(slide)
1186
+            }
1187
+        }, dontAnimate);
1188
+
1189
+    };
1190
+
1191
+    Slick.prototype.init = function(creation) {
1192
+
1193
+        var _ = this;
1194
+
1195
+        if (!$(_.$slider).hasClass('slick-initialized')) {
1196
+
1197
+            $(_.$slider).addClass('slick-initialized');
1198
+
1199
+            _.buildRows();
1200
+            _.buildOut();
1201
+            _.setProps();
1202
+            _.startLoad();
1203
+            _.loadSlider();
1204
+            _.initializeEvents();
1205
+            _.updateArrows();
1206
+            _.updateDots();
1207
+
1208
+        }
1209
+
1210
+        if (creation) {
1211
+            _.$slider.trigger('init', [_]);
1212
+        }
1213
+
1214
+        if (_.options.accessibility === true) {
1215
+            _.initADA();
1216
+        }
1217
+
1218
+    };
1219
+
1220
+    Slick.prototype.initArrowEvents = function() {
1221
+
1222
+        var _ = this;
1223
+
1224
+        if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {
1225
+            _.$prevArrow.on('click.slick', {
1226
+                message: 'previous'
1227
+            }, _.changeSlide);
1228
+            _.$nextArrow.on('click.slick', {
1229
+                message: 'next'
1230
+            }, _.changeSlide);
1231
+        }
1232
+
1233
+    };
1234
+
1235
+    Slick.prototype.initDotEvents = function() {
1236
+
1237
+        var _ = this;
1238
+
1239
+        if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {
1240
+            $('li', _.$dots).on('click.slick', {
1241
+                message: 'index'
1242
+            }, _.changeSlide);
1243
+        }
1244
+
1245
+        if (_.options.dots === true && _.options.pauseOnDotsHover === true && _.options.autoplay === true) {
1246
+            $('li', _.$dots)
1247
+                .on('mouseenter.slick', $.proxy(_.setPaused, _, true))
1248
+                .on('mouseleave.slick', $.proxy(_.setPaused, _, false));
1249
+        }
1250
+
1251
+    };
1252
+
1253
+    Slick.prototype.initializeEvents = function() {
1254
+
1255
+        var _ = this;
1256
+
1257
+        _.initArrowEvents();
1258
+
1259
+        _.initDotEvents();
1260
+
1261
+        _.$list.on('touchstart.slick mousedown.slick', {
1262
+            action: 'start'
1263
+        }, _.swipeHandler);
1264
+        _.$list.on('touchmove.slick mousemove.slick', {
1265
+            action: 'move'
1266
+        }, _.swipeHandler);
1267
+        _.$list.on('touchend.slick mouseup.slick', {
1268
+            action: 'end'
1269
+        }, _.swipeHandler);
1270
+        _.$list.on('touchcancel.slick mouseleave.slick', {
1271
+            action: 'end'
1272
+        }, _.swipeHandler);
1273
+
1274
+        _.$list.on('click.slick', _.clickHandler);
1275
+
1276
+        $(document).on(_.visibilityChange, $.proxy(_.visibility, _));
1277
+
1278
+        _.$list.on('mouseenter.slick', $.proxy(_.setPaused, _, true));
1279
+        _.$list.on('mouseleave.slick', $.proxy(_.setPaused, _, false));
1280
+
1281
+        if (_.options.accessibility === true) {
1282
+            _.$list.on('keydown.slick', _.keyHandler);
1283
+        }
1284
+
1285
+        if (_.options.focusOnSelect === true) {
1286
+            $(_.$slideTrack).children().on('click.slick', _.selectHandler);
1287
+        }
1288
+
1289
+        $(window).on('orientationchange.slick.slick-' + _.instanceUid, $.proxy(_.orientationChange, _));
1290
+
1291
+        $(window).on('resize.slick.slick-' + _.instanceUid, $.proxy(_.resize, _));
1292
+
1293
+        $('[draggable!=true]', _.$slideTrack).on('dragstart', _.preventDefault);
1294
+
1295
+        $(window).on('load.slick.slick-' + _.instanceUid, _.setPosition);
1296
+        $(document).on('ready.slick.slick-' + _.instanceUid, _.setPosition);
1297
+
1298
+    };
1299
+
1300
+    Slick.prototype.initUI = function() {
1301
+
1302
+        var _ = this;
1303
+
1304
+        if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {
1305
+
1306
+            _.$prevArrow.show();
1307
+            _.$nextArrow.show();
1308
+
1309
+        }
1310
+
1311
+        if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {
1312
+
1313
+            _.$dots.show();
1314
+
1315
+        }
1316
+
1317
+        if (_.options.autoplay === true) {
1318
+
1319
+            _.autoPlay();
1320
+
1321
+        }
1322
+
1323
+    };
1324
+
1325
+    Slick.prototype.keyHandler = function(event) {
1326
+
1327
+        var _ = this;
1328
+         //Dont slide if the cursor is inside the form fields and arrow keys are pressed
1329
+        if(!event.target.tagName.match('TEXTAREA|INPUT|SELECT')) {
1330
+            if (event.keyCode === 37 && _.options.accessibility === true) {
1331
+                _.changeSlide({
1332
+                    data: {
1333
+                        message: 'previous'
1334
+                    }
1335
+                });
1336
+            } else if (event.keyCode === 39 && _.options.accessibility === true) {
1337
+                _.changeSlide({
1338
+                    data: {
1339
+                        message: 'next'
1340
+                    }
1341
+                });
1342
+            }
1343
+        }
1344
+
1345
+    };
1346
+
1347
+    Slick.prototype.lazyLoad = function() {
1348
+
1349
+        var _ = this,
1350
+            loadRange, cloneRange, rangeStart, rangeEnd;
1351
+
1352
+        function loadImages(imagesScope) {
1353
+            $('img[data-lazy]', imagesScope).each(function() {
1354
+
1355
+                var image = $(this),
1356
+                    imageSource = $(this).attr('data-lazy'),
1357
+                    imageToLoad = document.createElement('img');
1358
+
1359
+                imageToLoad.onload = function() {
1360
+                    image
1361
+                        .animate({ opacity: 0 }, 100, function() {
1362
+                            image
1363
+                                .attr('src', imageSource)
1364
+                                .animate({ opacity: 1 }, 200, function() {
1365
+                                    image
1366
+                                        .removeAttr('data-lazy')
1367
+                                        .removeClass('slick-loading');
1368
+                                });
1369
+                        });
1370
+                };
1371
+
1372
+                imageToLoad.src = imageSource;
1373
+
1374
+            });
1375
+        }
1376
+
1377
+        if (_.options.centerMode === true) {
1378
+            if (_.options.infinite === true) {
1379
+                rangeStart = _.currentSlide + (_.options.slidesToShow / 2 + 1);
1380
+                rangeEnd = rangeStart + _.options.slidesToShow + 2;
1381
+            } else {
1382
+                rangeStart = Math.max(0, _.currentSlide - (_.options.slidesToShow / 2 + 1));
1383
+                rangeEnd = 2 + (_.options.slidesToShow / 2 + 1) + _.currentSlide;
1384
+            }
1385
+        } else {
1386
+            rangeStart = _.options.infinite ? _.options.slidesToShow + _.currentSlide : _.currentSlide;
1387
+            rangeEnd = rangeStart + _.options.slidesToShow;
1388
+            if (_.options.fade === true) {
1389
+                if (rangeStart > 0) rangeStart--;
1390
+                if (rangeEnd <= _.slideCount) rangeEnd++;
1391
+            }
1392
+        }
1393
+
1394
+        loadRange = _.$slider.find('.slick-slide').slice(rangeStart, rangeEnd);
1395
+        loadImages(loadRange);
1396
+
1397
+        if (_.slideCount <= _.options.slidesToShow) {
1398
+            cloneRange = _.$slider.find('.slick-slide');
1399
+            loadImages(cloneRange);
1400
+        } else
1401
+        if (_.currentSlide >= _.slideCount - _.options.slidesToShow) {
1402
+            cloneRange = _.$slider.find('.slick-cloned').slice(0, _.options.slidesToShow);
1403
+            loadImages(cloneRange);
1404
+        } else if (_.currentSlide === 0) {
1405
+            cloneRange = _.$slider.find('.slick-cloned').slice(_.options.slidesToShow * -1);
1406
+            loadImages(cloneRange);
1407
+        }
1408
+
1409
+    };
1410
+
1411
+    Slick.prototype.loadSlider = function() {
1412
+
1413
+        var _ = this;
1414
+
1415
+        _.setPosition();
1416
+
1417
+        _.$slideTrack.css({
1418
+            opacity: 1
1419
+        });
1420
+
1421
+        _.$slider.removeClass('slick-loading');
1422
+
1423
+        _.initUI();
1424
+
1425
+        if (_.options.lazyLoad === 'progressive') {
1426
+            _.progressiveLazyLoad();
1427
+        }
1428
+
1429
+    };
1430
+
1431
+    Slick.prototype.next = Slick.prototype.slickNext = function() {
1432
+
1433
+        var _ = this;
1434
+
1435
+        _.changeSlide({
1436
+            data: {
1437
+                message: 'next'
1438
+            }
1439
+        });
1440
+
1441
+    };
1442
+
1443
+    Slick.prototype.orientationChange = function() {
1444
+
1445
+        var _ = this;
1446
+
1447
+        _.checkResponsive();
1448
+        _.setPosition();
1449
+
1450
+    };
1451
+
1452
+    Slick.prototype.pause = Slick.prototype.slickPause = function() {
1453
+
1454
+        var _ = this;
1455
+
1456
+        _.autoPlayClear();
1457
+        _.paused = true;
1458
+
1459
+    };
1460
+
1461
+    Slick.prototype.play = Slick.prototype.slickPlay = function() {
1462
+
1463
+        var _ = this;
1464
+
1465
+        _.paused = false;
1466
+        _.autoPlay();
1467
+
1468
+    };
1469
+
1470
+    Slick.prototype.postSlide = function(index) {
1471
+
1472
+        var _ = this;
1473
+
1474
+        _.$slider.trigger('afterChange', [_, index]);
1475
+
1476
+        _.animating = false;
1477
+
1478
+        _.setPosition();
1479
+
1480
+        _.swipeLeft = null;
1481
+
1482
+        if (_.options.autoplay === true && _.paused === false) {
1483
+            _.autoPlay();
1484
+        }
1485
+        if (_.options.accessibility === true) {
1486
+            _.initADA();
1487
+        }
1488
+
1489
+    };
1490
+
1491
+    Slick.prototype.prev = Slick.prototype.slickPrev = function() {
1492
+
1493
+        var _ = this;
1494
+
1495
+        _.changeSlide({
1496
+            data: {
1497
+                message: 'previous'
1498
+            }
1499
+        });
1500
+
1501
+    };
1502
+
1503
+    Slick.prototype.preventDefault = function(event) {
1504
+        event.preventDefault();
1505
+    };
1506
+
1507
+    Slick.prototype.progressiveLazyLoad = function() {
1508
+
1509
+        var _ = this,
1510
+            imgCount, targetImage;
1511
+
1512
+        imgCount = $('img[data-lazy]', _.$slider).length;
1513
+
1514
+        if (imgCount > 0) {
1515
+            targetImage = $('img[data-lazy]', _.$slider).first();
1516
+            targetImage.attr('src', null);
1517
+            targetImage.attr('src', targetImage.attr('data-lazy')).removeClass('slick-loading').load(function() {
1518
+                    targetImage.removeAttr('data-lazy');
1519
+                    _.progressiveLazyLoad();
1520
+
1521
+                    if (_.options.adaptiveHeight === true) {
1522
+                        _.setPosition();
1523
+                    }
1524
+                })
1525
+                .error(function() {
1526
+                    targetImage.removeAttr('data-lazy');
1527
+                    _.progressiveLazyLoad();
1528
+                });
1529
+        }
1530
+
1531
+    };
1532
+
1533
+    Slick.prototype.refresh = function( initializing ) {
1534
+
1535
+        var _ = this, currentSlide, firstVisible;
1536
+
1537
+        firstVisible = _.slideCount - _.options.slidesToShow;
1538
+
1539
+        // check that the new breakpoint can actually accept the
1540
+        // "current slide" as the current slide, otherwise we need
1541
+        // to set it to the closest possible value.
1542
+        if ( !_.options.infinite ) {
1543
+            if ( _.slideCount <= _.options.slidesToShow ) {
1544
+                _.currentSlide = 0;
1545
+            } else if ( _.currentSlide > firstVisible ) {
1546
+                _.currentSlide = firstVisible;
1547
+            }
1548
+        }
1549
+
1550
+         currentSlide = _.currentSlide;
1551
+
1552
+        _.destroy(true);
1553
+
1554
+        $.extend(_, _.initials, { currentSlide: currentSlide });
1555
+
1556
+        _.init();
1557
+
1558
+        if( !initializing ) {
1559
+
1560
+            _.changeSlide({
1561
+                data: {
1562
+                    message: 'index',
1563
+                    index: currentSlide
1564
+                }
1565
+            }, false);
1566
+
1567
+        }
1568
+
1569
+    };
1570
+
1571
+    Slick.prototype.registerBreakpoints = function() {
1572
+
1573
+        var _ = this, breakpoint, currentBreakpoint, l,
1574
+            responsiveSettings = _.options.responsive || null;
1575
+
1576
+        if ( $.type(responsiveSettings) === "array" && responsiveSettings.length ) {
1577
+
1578
+            _.respondTo = _.options.respondTo || 'window';
1579
+
1580
+            for ( breakpoint in responsiveSettings ) {
1581
+
1582
+                l = _.breakpoints.length-1;
1583
+                currentBreakpoint = responsiveSettings[breakpoint].breakpoint;
1584
+
1585
+                if (responsiveSettings.hasOwnProperty(breakpoint)) {
1586
+
1587
+                    // loop through the breakpoints and cut out any existing
1588
+                    // ones with the same breakpoint number, we don't want dupes.
1589
+                    while( l >= 0 ) {
1590
+                        if( _.breakpoints[l] && _.breakpoints[l] === currentBreakpoint ) {
1591
+                            _.breakpoints.splice(l,1);
1592
+                        }
1593
+                        l--;
1594
+                    }
1595
+
1596
+                    _.breakpoints.push(currentBreakpoint);
1597
+                    _.breakpointSettings[currentBreakpoint] = responsiveSettings[breakpoint].settings;
1598
+
1599
+                }
1600
+
1601
+            }
1602
+
1603
+            _.breakpoints.sort(function(a, b) {
1604
+                return ( _.options.mobileFirst ) ? a-b : b-a;
1605
+            });
1606
+
1607
+        }
1608
+
1609
+    };
1610
+
1611
+    Slick.prototype.reinit = function() {
1612
+
1613
+        var _ = this;
1614
+
1615
+        _.$slides =
1616
+            _.$slideTrack
1617
+                .children(_.options.slide)
1618
+                .addClass('slick-slide');
1619
+
1620
+        _.slideCount = _.$slides.length;
1621
+
1622
+        if (_.currentSlide >= _.slideCount && _.currentSlide !== 0) {
1623
+            _.currentSlide = _.currentSlide - _.options.slidesToScroll;
1624
+        }
1625
+
1626
+        if (_.slideCount <= _.options.slidesToShow) {
1627
+            _.currentSlide = 0;
1628
+        }
1629
+
1630
+        _.registerBreakpoints();
1631
+
1632
+        _.setProps();
1633
+        _.setupInfinite();
1634
+        _.buildArrows();
1635
+        _.updateArrows();
1636
+        _.initArrowEvents();
1637
+        _.buildDots();
1638
+        _.updateDots();
1639
+        _.initDotEvents();
1640
+
1641
+        _.checkResponsive(false, true);
1642
+
1643
+        if (_.options.focusOnSelect === true) {
1644
+            $(_.$slideTrack).children().on('click.slick', _.selectHandler);
1645
+        }
1646
+
1647
+        _.setSlideClasses(0);
1648
+
1649
+        _.setPosition();
1650
+
1651
+        _.$slider.trigger('reInit', [_]);
1652
+
1653
+        if (_.options.autoplay === true) {
1654
+            _.focusHandler();
1655
+        }
1656
+
1657
+    };
1658
+
1659
+    Slick.prototype.resize = function() {
1660
+
1661
+        var _ = this;
1662
+
1663
+        if ($(window).width() !== _.windowWidth) {
1664
+            clearTimeout(_.windowDelay);
1665
+            _.windowDelay = window.setTimeout(function() {
1666
+                _.windowWidth = $(window).width();
1667
+                _.checkResponsive();
1668
+                if( !_.unslicked ) { _.setPosition(); }
1669
+            }, 50);
1670
+        }
1671
+    };
1672
+
1673
+    Slick.prototype.removeSlide = Slick.prototype.slickRemove = function(index, removeBefore, removeAll) {
1674
+
1675
+        var _ = this;
1676
+
1677
+        if (typeof(index) === 'boolean') {
1678
+            removeBefore = index;
1679
+            index = removeBefore === true ? 0 : _.slideCount - 1;
1680
+        } else {
1681
+            index = removeBefore === true ? --index : index;
1682
+        }
1683
+
1684
+        if (_.slideCount < 1 || index < 0 || index > _.slideCount - 1) {
1685
+            return false;
1686
+        }
1687
+
1688
+        _.unload();
1689
+
1690
+        if (removeAll === true) {
1691
+            _.$slideTrack.children().remove();
1692
+        } else {
1693
+            _.$slideTrack.children(this.options.slide).eq(index).remove();
1694
+        }
1695
+
1696
+        _.$slides = _.$slideTrack.children(this.options.slide);
1697
+
1698
+        _.$slideTrack.children(this.options.slide).detach();
1699
+
1700
+        _.$slideTrack.append(_.$slides);
1701
+
1702
+        _.$slidesCache = _.$slides;
1703
+
1704
+        _.reinit();
1705
+
1706
+    };
1707
+
1708
+    Slick.prototype.setCSS = function(position) {
1709
+
1710
+        var _ = this,
1711
+            positionProps = {},
1712
+            x, y;
1713
+
1714
+        if (_.options.rtl === true) {
1715
+            position = -position;
1716
+        }
1717
+        x = _.positionProp == 'left' ? Math.ceil(position) + 'px' : '0px';
1718
+        y = _.positionProp == 'top' ? Math.ceil(position) + 'px' : '0px';
1719
+
1720
+        positionProps[_.positionProp] = position;
1721
+
1722
+        if (_.transformsEnabled === false) {
1723
+            _.$slideTrack.css(positionProps);
1724
+        } else {
1725
+            positionProps = {};
1726
+            if (_.cssTransitions === false) {
1727
+                positionProps[_.animType] = 'translate(' + x + ', ' + y + ')';
1728
+                _.$slideTrack.css(positionProps);
1729
+            } else {
1730
+                positionProps[_.animType] = 'translate3d(' + x + ', ' + y + ', 0px)';
1731
+                _.$slideTrack.css(positionProps);
1732
+            }
1733
+        }
1734
+
1735
+    };
1736
+
1737
+    Slick.prototype.setDimensions = function() {
1738
+
1739
+        var _ = this;
1740
+
1741
+        if (_.options.vertical === false) {
1742
+            if (_.options.centerMode === true) {
1743
+                _.$list.css({
1744
+                    padding: ('0px ' + _.options.centerPadding)
1745
+                });
1746
+            }
1747
+        } else {
1748
+            _.$list.height(_.$slides.first().outerHeight(true) * _.options.slidesToShow);
1749
+            if (_.options.centerMode === true) {
1750
+                _.$list.css({
1751
+                    padding: (_.options.centerPadding + ' 0px')
1752
+                });
1753
+            }
1754
+        }
1755
+
1756
+        _.listWidth = _.$list.width();
1757
+        _.listHeight = _.$list.height();
1758
+
1759
+
1760
+        if (_.options.vertical === false && _.options.variableWidth === false) {
1761
+            _.slideWidth = Math.ceil(_.listWidth / _.options.slidesToShow);
1762
+            _.$slideTrack.width(Math.ceil((_.slideWidth * _.$slideTrack.children('.slick-slide').length)));
1763
+
1764
+        } else if (_.options.variableWidth === true) {
1765
+            _.$slideTrack.width(5000 * _.slideCount);
1766
+        } else {
1767
+            _.slideWidth = Math.ceil(_.listWidth);
1768
+            _.$slideTrack.height(Math.ceil((_.$slides.first().outerHeight(true) * _.$slideTrack.children('.slick-slide').length)));
1769
+        }
1770
+
1771
+        var offset = _.$slides.first().outerWidth(true) - _.$slides.first().width();
1772
+        if (_.options.variableWidth === false) _.$slideTrack.children('.slick-slide').width(_.slideWidth - offset);
1773
+
1774
+    };
1775
+
1776
+    Slick.prototype.setFade = function() {
1777
+
1778
+        var _ = this,
1779
+            targetLeft;
1780
+
1781
+        _.$slides.each(function(index, element) {
1782
+            targetLeft = (_.slideWidth * index) * -1;
1783
+            if (_.options.rtl === true) {
1784
+                $(element).css({
1785
+                    position: 'relative',
1786
+                    right: targetLeft,
1787
+                    top: 0,
1788
+                    zIndex: _.options.zIndex - 2,
1789
+                    opacity: 0
1790
+                });
1791
+            } else {
1792
+                $(element).css({
1793
+                    position: 'relative',
1794
+                    left: targetLeft,
1795
+                    top: 0,
1796
+                    zIndex: _.options.zIndex - 2,
1797
+                    opacity: 0
1798
+                });
1799
+            }
1800
+        });
1801
+
1802
+        _.$slides.eq(_.currentSlide).css({
1803
+            zIndex: _.options.zIndex - 1,
1804
+            opacity: 1
1805
+        });
1806
+
1807
+    };
1808
+
1809
+    Slick.prototype.setHeight = function() {
1810
+
1811
+        var _ = this;
1812
+
1813
+        if (_.options.slidesToShow === 1 && _.options.adaptiveHeight === true && _.options.vertical === false) {
1814
+            var targetHeight = _.$slides.eq(_.currentSlide).outerHeight(true);
1815
+            _.$list.css('height', targetHeight);
1816
+        }
1817
+
1818
+    };
1819
+
1820
+    Slick.prototype.setOption = Slick.prototype.slickSetOption = function(option, value, refresh) {
1821
+
1822
+        var _ = this, l, item;
1823
+
1824
+        if( option === "responsive" && $.type(value) === "array" ) {
1825
+            for ( item in value ) {
1826
+                if( $.type( _.options.responsive ) !== "array" ) {
1827
+                    _.options.responsive = [ value[item] ];
1828
+                } else {
1829
+                    l = _.options.responsive.length-1;
1830
+                    // loop through the responsive object and splice out duplicates.
1831
+                    while( l >= 0 ) {
1832
+                        if( _.options.responsive[l].breakpoint === value[item].breakpoint ) {
1833
+                            _.options.responsive.splice(l,1);
1834
+                        }
1835
+                        l--;
1836
+                    }
1837
+                    _.options.responsive.push( value[item] );
1838
+                }
1839
+            }
1840
+        } else {
1841
+            _.options[option] = value;
1842
+        }
1843
+
1844
+        if (refresh === true) {
1845
+            _.unload();
1846
+            _.reinit();
1847
+        }
1848
+
1849
+    };
1850
+
1851
+    Slick.prototype.setPosition = function() {
1852
+
1853
+        var _ = this;
1854
+
1855
+        _.setDimensions();
1856
+
1857
+        _.setHeight();
1858
+
1859
+        if (_.options.fade === false) {
1860
+            _.setCSS(_.getLeft(_.currentSlide));
1861
+        } else {
1862
+            _.setFade();
1863
+        }
1864
+
1865
+        _.$slider.trigger('setPosition', [_]);
1866
+
1867
+    };
1868
+
1869
+    Slick.prototype.setProps = function() {
1870
+
1871
+        var _ = this,
1872
+            bodyStyle = document.body.style;
1873
+
1874
+        _.positionProp = _.options.vertical === true ? 'top' : 'left';
1875
+
1876
+        if (_.positionProp === 'top') {
1877
+            _.$slider.addClass('slick-vertical');
1878
+        } else {
1879
+            _.$slider.removeClass('slick-vertical');
1880
+        }
1881
+
1882
+        if (bodyStyle.WebkitTransition !== undefined ||
1883
+            bodyStyle.MozTransition !== undefined ||
1884
+            bodyStyle.msTransition !== undefined) {
1885
+            if (_.options.useCSS === true) {
1886
+                _.cssTransitions = true;
1887
+            }
1888
+        }
1889
+
1890
+        if ( _.options.fade ) {
1891
+            if ( typeof _.options.zIndex === 'number' ) {
1892
+                if( _.options.zIndex < 3 ) {
1893
+                    _.options.zIndex = 3;
1894
+                }
1895
+            } else {
1896
+                _.options.zIndex = _.defaults.zIndex;
1897
+            }
1898
+        }
1899
+
1900
+        if (bodyStyle.OTransform !== undefined) {
1901
+            _.animType = 'OTransform';
1902
+            _.transformType = '-o-transform';
1903
+            _.transitionType = 'OTransition';
1904
+            if (bodyStyle.perspectiveProperty === undefined && bodyStyle.webkitPerspective === undefined) _.animType = false;
1905
+        }
1906
+        if (bodyStyle.MozTransform !== undefined) {
1907
+            _.animType = 'MozTransform';
1908
+            _.transformType = '-moz-transform';
1909
+            _.transitionType = 'MozTransition';
1910
+            if (bodyStyle.perspectiveProperty === undefined && bodyStyle.MozPerspective === undefined) _.animType = false;
1911
+        }
1912
+        if (bodyStyle.webkitTransform !== undefined) {
1913
+            _.animType = 'webkitTransform';
1914
+            _.transformType = '-webkit-transform';
1915
+            _.transitionType = 'webkitTransition';
1916
+            if (bodyStyle.perspectiveProperty === undefined && bodyStyle.webkitPerspective === undefined) _.animType = false;
1917
+        }
1918
+        if (bodyStyle.msTransform !== undefined) {
1919
+            _.animType = 'msTransform';
1920
+            _.transformType = '-ms-transform';
1921
+            _.transitionType = 'msTransition';
1922
+            if (bodyStyle.msTransform === undefined) _.animType = false;
1923
+        }
1924
+        if (bodyStyle.transform !== undefined && _.animType !== false) {
1925
+            _.animType = 'transform';
1926
+            _.transformType = 'transform';
1927
+            _.transitionType = 'transition';
1928
+        }
1929
+        _.transformsEnabled = _.options.useTransform && (_.animType !== null && _.animType !== false);
1930
+    };
1931
+
1932
+
1933
+    Slick.prototype.setSlideClasses = function(index) {
1934
+
1935
+        var _ = this,
1936
+            centerOffset, allSlides, indexOffset, remainder;
1937
+
1938
+        allSlides = _.$slider
1939
+            .find('.slick-slide')
1940
+            .removeClass('slick-active slick-center slick-current')
1941
+            .attr('aria-hidden', 'true');
1942
+
1943
+        _.$slides
1944
+            .eq(index)
1945
+            .addClass('slick-current');
1946
+
1947
+        if (_.options.centerMode === true) {
1948
+
1949
+            centerOffset = Math.floor(_.options.slidesToShow / 2);
1950
+
1951
+            if (_.options.infinite === true) {
1952
+
1953
+                if (index >= centerOffset && index <= (_.slideCount - 1) - centerOffset) {
1954
+
1955
+                    _.$slides
1956
+                        .slice(index - centerOffset, index + centerOffset + 1)
1957
+                        .addClass('slick-active')
1958
+                        .attr('aria-hidden', 'false');
1959
+
1960
+                } else {
1961
+
1962
+                    indexOffset = _.options.slidesToShow + index;
1963
+                    allSlides
1964
+                        .slice(indexOffset - centerOffset + 1, indexOffset + centerOffset + 2)
1965
+                        .addClass('slick-active')
1966
+                        .attr('aria-hidden', 'false');
1967
+
1968
+                }
1969
+
1970
+                if (index === 0) {
1971
+
1972
+                    allSlides
1973
+                        .eq(allSlides.length - 1 - _.options.slidesToShow)
1974
+                        .addClass('slick-center');
1975
+
1976
+                } else if (index === _.slideCount - 1) {
1977
+
1978
+                    allSlides
1979
+                        .eq(_.options.slidesToShow)
1980
+                        .addClass('slick-center');
1981
+
1982
+                }
1983
+
1984
+            }
1985
+
1986
+            _.$slides
1987
+                .eq(index)
1988
+                .addClass('slick-center');
1989
+
1990
+        } else {
1991
+
1992
+            if (index >= 0 && index <= (_.slideCount - _.options.slidesToShow)) {
1993
+
1994
+                _.$slides
1995
+                    .slice(index, index + _.options.slidesToShow)
1996
+                    .addClass('slick-active')
1997
+                    .attr('aria-hidden', 'false');
1998
+
1999
+            } else if (allSlides.length <= _.options.slidesToShow) {
2000
+
2001
+                allSlides
2002
+                    .addClass('slick-active')
2003
+                    .attr('aria-hidden', 'false');
2004
+
2005
+            } else {
2006
+
2007
+                remainder = _.slideCount % _.options.slidesToShow;
2008
+                indexOffset = _.options.infinite === true ? _.options.slidesToShow + index : index;
2009
+
2010
+                if (_.options.slidesToShow == _.options.slidesToScroll && (_.slideCount - index) < _.options.slidesToShow) {
2011
+
2012
+                    allSlides
2013
+                        .slice(indexOffset - (_.options.slidesToShow - remainder), indexOffset + remainder)
2014
+                        .addClass('slick-active')
2015
+                        .attr('aria-hidden', 'false');
2016
+
2017
+                } else {
2018
+
2019
+                    allSlides
2020
+                        .slice(indexOffset, indexOffset + _.options.slidesToShow)
2021
+                        .addClass('slick-active')
2022
+                        .attr('aria-hidden', 'false');
2023
+
2024
+                }
2025
+
2026
+            }
2027
+
2028
+        }
2029
+
2030
+        if (_.options.lazyLoad === 'ondemand') {
2031
+            _.lazyLoad();
2032
+        }
2033
+
2034
+    };
2035
+
2036
+    Slick.prototype.setupInfinite = function() {
2037
+
2038
+        var _ = this,
2039
+            i, slideIndex, infiniteCount;
2040
+
2041
+        if (_.options.fade === true) {
2042
+            _.options.centerMode = false;
2043
+        }
2044
+
2045
+        if (_.options.infinite === true && _.options.fade === false) {
2046
+
2047
+            slideIndex = null;
2048
+
2049
+            if (_.slideCount > _.options.slidesToShow) {
2050
+
2051
+                if (_.options.centerMode === true) {
2052
+                    infiniteCount = _.options.slidesToShow + 1;
2053
+                } else {
2054
+                    infiniteCount = _.options.slidesToShow;
2055
+                }
2056
+
2057
+                for (i = _.slideCount; i > (_.slideCount -
2058
+                        infiniteCount); i -= 1) {
2059
+                    slideIndex = i - 1;
2060
+                    $(_.$slides[slideIndex]).clone(true).attr('id', '')
2061
+                        .attr('data-slick-index', slideIndex - _.slideCount)
2062
+                        .prependTo(_.$slideTrack).addClass('slick-cloned');
2063
+                }
2064
+                for (i = 0; i < infiniteCount; i += 1) {
2065
+                    slideIndex = i;
2066
+                    $(_.$slides[slideIndex]).clone(true).attr('id', '')
2067
+                        .attr('data-slick-index', slideIndex + _.slideCount)
2068
+                        .appendTo(_.$slideTrack).addClass('slick-cloned');
2069
+                }
2070
+                _.$slideTrack.find('.slick-cloned').find('[id]').each(function() {
2071
+                    $(this).attr('id', '');
2072
+                });
2073
+
2074
+            }
2075
+
2076
+        }
2077
+
2078
+    };
2079
+
2080
+    Slick.prototype.setPaused = function(paused) {
2081
+
2082
+        var _ = this;
2083
+
2084
+        if (_.options.autoplay === true && _.options.pauseOnHover === true) {
2085
+            _.paused = paused;
2086
+            if (!paused) {
2087
+                _.autoPlay();
2088
+            } else {
2089
+                _.autoPlayClear();
2090
+            }
2091
+        }
2092
+    };
2093
+
2094
+    Slick.prototype.selectHandler = function(event) {
2095
+
2096
+        var _ = this;
2097
+
2098
+        var targetElement =
2099
+            $(event.target).is('.slick-slide') ?
2100
+                $(event.target) :
2101
+                $(event.target).parents('.slick-slide');
2102
+
2103
+        var index = parseInt(targetElement.attr('data-slick-index'));
2104
+
2105
+        if (!index) index = 0;
2106
+
2107
+        if (_.slideCount <= _.options.slidesToShow) {
2108
+
2109
+            _.setSlideClasses(index);
2110
+            _.asNavFor(index);
2111
+            return;
2112
+
2113
+        }
2114
+
2115
+        _.slideHandler(index);
2116
+
2117
+    };
2118
+
2119
+    Slick.prototype.slideHandler = function(index, sync, dontAnimate) {
2120
+
2121
+        var targetSlide, animSlide, oldSlide, slideLeft, targetLeft = null,
2122
+            _ = this;
2123
+
2124
+        sync = sync || false;
2125
+
2126
+        if (_.animating === true && _.options.waitForAnimate === true) {
2127
+            return;
2128
+        }
2129
+
2130
+        if (_.options.fade === true && _.currentSlide === index) {
2131
+            return;
2132
+        }
2133
+
2134
+        if (_.slideCount <= _.options.slidesToShow) {
2135
+            return;
2136
+        }
2137
+
2138
+        if (sync === false) {
2139
+            _.asNavFor(index);
2140
+        }
2141
+
2142
+        targetSlide = index;
2143
+        targetLeft = _.getLeft(targetSlide);
2144
+        slideLeft = _.getLeft(_.currentSlide);
2145
+
2146
+        _.currentLeft = _.swipeLeft === null ? slideLeft : _.swipeLeft;
2147
+
2148
+        if (_.options.infinite === false && _.options.centerMode === false && (index < 0 || index > _.getDotCount() * _.options.slidesToScroll)) {
2149
+            if (_.options.fade === false) {
2150
+                targetSlide = _.currentSlide;
2151
+                if (dontAnimate !== true) {
2152
+                    _.animateSlide(slideLeft, function() {
2153
+                        _.postSlide(targetSlide);
2154
+                    });
2155
+                } else {
2156
+                    _.postSlide(targetSlide);
2157
+                }
2158
+            }
2159
+            return;
2160
+        } else if (_.options.infinite === false && _.options.centerMode === true && (index < 0 || index > (_.slideCount - _.options.slidesToScroll))) {
2161
+            if (_.options.fade === false) {
2162
+                targetSlide = _.currentSlide;
2163
+                if (dontAnimate !== true) {
2164
+                    _.animateSlide(slideLeft, function() {
2165
+                        _.postSlide(targetSlide);
2166
+                    });
2167
+                } else {
2168
+                    _.postSlide(targetSlide);
2169
+                }
2170
+            }
2171
+            return;
2172
+        }
2173
+
2174
+        if (_.options.autoplay === true) {
2175
+            clearInterval(_.autoPlayTimer);
2176
+        }
2177
+
2178
+        if (targetSlide < 0) {
2179
+            if (_.slideCount % _.options.slidesToScroll !== 0) {
2180
+                animSlide = _.slideCount - (_.slideCount % _.options.slidesToScroll);
2181
+            } else {
2182
+                animSlide = _.slideCount + targetSlide;
2183
+            }
2184
+        } else if (targetSlide >= _.slideCount) {
2185
+            if (_.slideCount % _.options.slidesToScroll !== 0) {
2186
+                animSlide = 0;
2187
+            } else {
2188
+                animSlide = targetSlide - _.slideCount;
2189
+            }
2190
+        } else {
2191
+            animSlide = targetSlide;
2192
+        }
2193
+
2194
+        _.animating = true;
2195
+
2196
+        _.$slider.trigger('beforeChange', [_, _.currentSlide, animSlide]);
2197
+
2198
+        oldSlide = _.currentSlide;
2199
+        _.currentSlide = animSlide;
2200
+
2201
+        _.setSlideClasses(_.currentSlide);
2202
+
2203
+        _.updateDots();
2204
+        _.updateArrows();
2205
+
2206
+        if (_.options.fade === true) {
2207
+            if (dontAnimate !== true) {
2208
+
2209
+                _.fadeSlideOut(oldSlide);
2210
+
2211
+                _.fadeSlide(animSlide, function() {
2212
+                    _.postSlide(animSlide);
2213
+                });
2214
+
2215
+            } else {
2216
+                _.postSlide(animSlide);
2217
+            }
2218
+            _.animateHeight();
2219
+            return;
2220
+        }
2221
+
2222
+        if (dontAnimate !== true) {
2223
+            _.animateSlide(targetLeft, function() {
2224
+                _.postSlide(animSlide);
2225
+            });
2226
+        } else {
2227
+            _.postSlide(animSlide);
2228
+        }
2229
+
2230
+    };
2231
+
2232
+    Slick.prototype.startLoad = function() {
2233
+
2234
+        var _ = this;
2235
+
2236
+        if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {
2237
+
2238
+            _.$prevArrow.hide();
2239
+            _.$nextArrow.hide();
2240
+
2241
+        }
2242
+
2243
+        if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {
2244
+
2245
+            _.$dots.hide();
2246
+
2247
+        }
2248
+
2249
+        _.$slider.addClass('slick-loading');
2250
+
2251
+    };
2252
+
2253
+    Slick.prototype.swipeDirection = function() {
2254
+
2255
+        var xDist, yDist, r, swipeAngle, _ = this;
2256
+
2257
+        xDist = _.touchObject.startX - _.touchObject.curX;
2258
+        yDist = _.touchObject.startY - _.touchObject.curY;
2259
+        r = Math.atan2(yDist, xDist);
2260
+
2261
+        swipeAngle = Math.round(r * 180 / Math.PI);
2262
+        if (swipeAngle < 0) {
2263
+            swipeAngle = 360 - Math.abs(swipeAngle);
2264
+        }
2265
+
2266
+        if ((swipeAngle <= 45) && (swipeAngle >= 0)) {
2267
+            return (_.options.rtl === false ? 'left' : 'right');
2268
+        }
2269
+        if ((swipeAngle <= 360) && (swipeAngle >= 315)) {
2270
+            return (_.options.rtl === false ? 'left' : 'right');
2271
+        }
2272
+        if ((swipeAngle >= 135) && (swipeAngle <= 225)) {
2273
+            return (_.options.rtl === false ? 'right' : 'left');
2274
+        }
2275
+        if (_.options.verticalSwiping === true) {
2276
+            if ((swipeAngle >= 35) && (swipeAngle <= 135)) {
2277
+                return 'left';
2278
+            } else {
2279
+                return 'right';
2280
+            }
2281
+        }
2282
+
2283
+        return 'vertical';
2284
+
2285
+    };
2286
+
2287
+    Slick.prototype.swipeEnd = function(event) {
2288
+
2289
+        var _ = this,
2290
+            slideCount;
2291
+
2292
+        _.dragging = false;
2293
+
2294
+        _.shouldClick = (_.touchObject.swipeLength > 10) ? false : true;
2295
+
2296
+        if (_.touchObject.curX === undefined) {
2297
+            return false;
2298
+        }
2299
+
2300
+        if (_.touchObject.edgeHit === true) {
2301
+            _.$slider.trigger('edge', [_, _.swipeDirection()]);
2302
+        }
2303
+
2304
+        if (_.touchObject.swipeLength >= _.touchObject.minSwipe) {
2305
+
2306
+            switch (_.swipeDirection()) {
2307
+                case 'left':
2308
+                    slideCount = _.options.swipeToSlide ? _.checkNavigable(_.currentSlide + _.getSlideCount()) : _.currentSlide + _.getSlideCount();
2309
+                    _.slideHandler(slideCount);
2310
+                    _.currentDirection = 0;
2311
+                    _.touchObject = {};
2312
+                    _.$slider.trigger('swipe', [_, 'left']);
2313
+                    break;
2314
+
2315
+                case 'right':
2316
+                    slideCount = _.options.swipeToSlide ? _.checkNavigable(_.currentSlide - _.getSlideCount()) : _.currentSlide - _.getSlideCount();
2317
+                    _.slideHandler(slideCount);
2318
+                    _.currentDirection = 1;
2319
+                    _.touchObject = {};
2320
+                    _.$slider.trigger('swipe', [_, 'right']);
2321
+                    break;
2322
+            }
2323
+        } else {
2324
+            if (_.touchObject.startX !== _.touchObject.curX) {
2325
+                _.slideHandler(_.currentSlide);
2326
+                _.touchObject = {};
2327
+            }
2328
+        }
2329
+
2330
+    };
2331
+
2332
+    Slick.prototype.swipeHandler = function(event) {
2333
+
2334
+        var _ = this;
2335
+
2336
+        if ((_.options.swipe === false) || ('ontouchend' in document && _.options.swipe === false)) {
2337
+            return;
2338
+        } else if (_.options.draggable === false && event.type.indexOf('mouse') !== -1) {
2339
+            return;
2340
+        }
2341
+
2342
+        _.touchObject.fingerCount = event.originalEvent && event.originalEvent.touches !== undefined ?
2343
+            event.originalEvent.touches.length : 1;
2344
+
2345
+        _.touchObject.minSwipe = _.listWidth / _.options
2346
+            .touchThreshold;
2347
+
2348
+        if (_.options.verticalSwiping === true) {
2349
+            _.touchObject.minSwipe = _.listHeight / _.options
2350
+                .touchThreshold;
2351
+        }
2352
+
2353
+        switch (event.data.action) {
2354
+
2355
+            case 'start':
2356
+                _.swipeStart(event);
2357
+                break;
2358
+
2359
+            case 'move':
2360
+                _.swipeMove(event);
2361
+                break;
2362
+
2363
+            case 'end':
2364
+                _.swipeEnd(event);
2365
+                break;
2366
+
2367
+        }
2368
+
2369
+    };
2370
+
2371
+    Slick.prototype.swipeMove = function(event) {
2372
+
2373
+        var _ = this,
2374
+            edgeWasHit = false,
2375
+            curLeft, swipeDirection, swipeLength, positionOffset, touches;
2376
+
2377
+        touches = event.originalEvent !== undefined ? event.originalEvent.touches : null;
2378
+
2379
+        if (!_.dragging || touches && touches.length !== 1) {
2380
+            return false;
2381
+        }
2382
+
2383
+        curLeft = _.getLeft(_.currentSlide);
2384
+
2385
+        _.touchObject.curX = touches !== undefined ? touches[0].pageX : event.clientX;
2386
+        _.touchObject.curY = touches !== undefined ? touches[0].pageY : event.clientY;
2387
+
2388
+        _.touchObject.swipeLength = Math.round(Math.sqrt(
2389
+            Math.pow(_.touchObject.curX - _.touchObject.startX, 2)));
2390
+
2391
+        if (_.options.verticalSwiping === true) {
2392
+            _.touchObject.swipeLength = Math.round(Math.sqrt(
2393
+                Math.pow(_.touchObject.curY - _.touchObject.startY, 2)));
2394
+        }
2395
+
2396
+        swipeDirection = _.swipeDirection();
2397
+
2398
+        if (swipeDirection === 'vertical') {
2399
+            return;
2400
+        }
2401
+
2402
+        if (event.originalEvent !== undefined && _.touchObject.swipeLength > 4) {
2403
+            event.preventDefault();
2404
+        }
2405
+
2406
+        positionOffset = (_.options.rtl === false ? 1 : -1) * (_.touchObject.curX > _.touchObject.startX ? 1 : -1);
2407
+        if (_.options.verticalSwiping === true) {
2408
+            positionOffset = _.touchObject.curY > _.touchObject.startY ? 1 : -1;
2409
+        }
2410
+
2411
+
2412
+        swipeLength = _.touchObject.swipeLength;
2413
+
2414
+        _.touchObject.edgeHit = false;
2415
+
2416
+        if (_.options.infinite === false) {
2417
+            if ((_.currentSlide === 0 && swipeDirection === 'right') || (_.currentSlide >= _.getDotCount() && swipeDirection === 'left')) {
2418
+                swipeLength = _.touchObject.swipeLength * _.options.edgeFriction;
2419
+                _.touchObject.edgeHit = true;
2420
+            }
2421
+        }
2422
+
2423
+        if (_.options.vertical === false) {
2424
+            _.swipeLeft = curLeft + swipeLength * positionOffset;
2425
+        } else {
2426
+            _.swipeLeft = curLeft + (swipeLength * (_.$list.height() / _.listWidth)) * positionOffset;
2427
+        }
2428
+        if (_.options.verticalSwiping === true) {
2429
+            _.swipeLeft = curLeft + swipeLength * positionOffset;
2430
+        }
2431
+
2432
+        if (_.options.fade === true || _.options.touchMove === false) {
2433
+            return false;
2434
+        }
2435
+
2436
+        if (_.animating === true) {
2437
+            _.swipeLeft = null;
2438
+            return false;
2439
+        }
2440
+
2441
+        _.setCSS(_.swipeLeft);
2442
+
2443
+    };
2444
+
2445
+    Slick.prototype.swipeStart = function(event) {
2446
+
2447
+        var _ = this,
2448
+            touches;
2449
+
2450
+        if (_.touchObject.fingerCount !== 1 || _.slideCount <= _.options.slidesToShow) {
2451
+            _.touchObject = {};
2452
+            return false;
2453
+        }
2454
+
2455
+        if (event.originalEvent !== undefined && event.originalEvent.touches !== undefined) {
2456
+            touches = event.originalEvent.touches[0];
2457
+        }
2458
+
2459
+        _.touchObject.startX = _.touchObject.curX = touches !== undefined ? touches.pageX : event.clientX;
2460
+        _.touchObject.startY = _.touchObject.curY = touches !== undefined ? touches.pageY : event.clientY;
2461
+
2462
+        _.dragging = true;
2463
+
2464
+    };
2465
+
2466
+    Slick.prototype.unfilterSlides = Slick.prototype.slickUnfilter = function() {
2467
+
2468
+        var _ = this;
2469
+
2470
+        if (_.$slidesCache !== null) {
2471
+
2472
+            _.unload();
2473
+
2474
+            _.$slideTrack.children(this.options.slide).detach();
2475
+
2476
+            _.$slidesCache.appendTo(_.$slideTrack);
2477
+
2478
+            _.reinit();
2479
+
2480
+        }
2481
+
2482
+    };
2483
+
2484
+    Slick.prototype.unload = function() {
2485
+
2486
+        var _ = this;
2487
+
2488
+        $('.slick-cloned', _.$slider).remove();
2489
+
2490
+        if (_.$dots) {
2491
+            _.$dots.remove();
2492
+        }
2493
+
2494
+        if (_.$prevArrow && _.htmlExpr.test(_.options.prevArrow)) {
2495
+            _.$prevArrow.remove();
2496
+        }
2497
+
2498
+        if (_.$nextArrow && _.htmlExpr.test(_.options.nextArrow)) {
2499
+            _.$nextArrow.remove();
2500
+        }
2501
+
2502
+        _.$slides
2503
+            .removeClass('slick-slide slick-active slick-visible slick-current')
2504
+            .attr('aria-hidden', 'true')
2505
+            .css('width', '');
2506
+
2507
+    };
2508
+
2509
+    Slick.prototype.unslick = function(fromBreakpoint) {
2510
+
2511
+        var _ = this;
2512
+        _.$slider.trigger('unslick', [_, fromBreakpoint]);
2513
+        _.destroy();
2514
+
2515
+    };
2516
+
2517
+    Slick.prototype.updateArrows = function() {
2518
+
2519
+        var _ = this,
2520
+            centerOffset;
2521
+
2522
+        centerOffset = Math.floor(_.options.slidesToShow / 2);
2523
+
2524
+        if ( _.options.arrows === true &&
2525
+            _.slideCount > _.options.slidesToShow &&
2526
+            !_.options.infinite ) {
2527
+
2528
+            _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
2529
+            _.$nextArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
2530
+
2531
+            if (_.currentSlide === 0) {
2532
+
2533
+                _.$prevArrow.addClass('slick-disabled').attr('aria-disabled', 'true');
2534
+                _.$nextArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
2535
+
2536
+            } else if (_.currentSlide >= _.slideCount - _.options.slidesToShow && _.options.centerMode === false) {
2537
+
2538
+                _.$nextArrow.addClass('slick-disabled').attr('aria-disabled', 'true');
2539
+                _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
2540
+
2541
+            } else if (_.currentSlide >= _.slideCount - 1 && _.options.centerMode === true) {
2542
+
2543
+                _.$nextArrow.addClass('slick-disabled').attr('aria-disabled', 'true');
2544
+                _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
2545
+
2546
+            }
2547
+
2548
+        }
2549
+
2550
+    };
2551
+
2552
+    Slick.prototype.updateDots = function() {
2553
+
2554
+        var _ = this;
2555
+
2556
+        if (_.$dots !== null) {
2557
+
2558
+            _.$dots
2559
+                .find('li')
2560
+                .removeClass('slick-active')
2561
+                .attr('aria-hidden', 'true');
2562
+
2563
+            _.$dots
2564
+                .find('li')
2565
+                .eq(Math.floor(_.currentSlide / _.options.slidesToScroll))
2566
+                .addClass('slick-active')
2567
+                .attr('aria-hidden', 'false');
2568
+
2569
+        }
2570
+
2571
+    };
2572
+
2573
+    Slick.prototype.visibility = function() {
2574
+
2575
+        var _ = this;
2576
+
2577
+        if (document[_.hidden]) {
2578
+            _.paused = true;
2579
+            _.autoPlayClear();
2580
+        } else {
2581
+            if (_.options.autoplay === true) {
2582
+                _.paused = false;
2583
+                _.autoPlay();
2584
+            }
2585
+        }
2586
+
2587
+    };
2588
+    Slick.prototype.initADA = function() {
2589
+        var _ = this;
2590
+        _.$slides.add(_.$slideTrack.find('.slick-cloned')).attr({
2591
+            'aria-hidden': 'true',
2592
+            'tabindex': '-1'
2593
+        }).find('a, input, button, select').attr({
2594
+            'tabindex': '-1'
2595
+        });
2596
+
2597
+        _.$slideTrack.attr('role', 'listbox');
2598
+
2599
+        _.$slides.not(_.$slideTrack.find('.slick-cloned')).each(function(i) {
2600
+            $(this).attr({
2601
+                'role': 'option',
2602
+                'aria-describedby': 'slick-slide' + _.instanceUid + i + ''
2603
+            });
2604
+        });
2605
+
2606
+        if (_.$dots !== null) {
2607
+            _.$dots.attr('role', 'tablist').find('li').each(function(i) {
2608
+                $(this).attr({
2609
+                    'role': 'presentation',
2610
+                    'aria-selected': 'false',
2611
+                    'aria-controls': 'navigation' + _.instanceUid + i + '',
2612
+                    'id': 'slick-slide' + _.instanceUid + i + ''
2613
+                });
2614
+            })
2615
+                .first().attr('aria-selected', 'true').end()
2616
+                .find('button').attr('role', 'button').end()
2617
+                .closest('div').attr('role', 'toolbar');
2618
+        }
2619
+        _.activateADA();
2620
+
2621
+    };
2622
+
2623
+    Slick.prototype.activateADA = function() {
2624
+        var _ = this;
2625
+
2626
+        _.$slideTrack.find('.slick-active').attr({
2627
+            'aria-hidden': 'false'
2628
+        }).find('a, input, button, select').attr({
2629
+            'tabindex': '0'
2630
+        });
2631
+
2632
+    };
2633
+
2634
+    Slick.prototype.focusHandler = function() {
2635
+        var _ = this;
2636
+        _.$slider.on('focus.slick blur.slick', '*', function(event) {
2637
+            event.stopImmediatePropagation();
2638
+            var sf = $(this);
2639
+            setTimeout(function() {
2640
+                if (_.isPlay) {
2641
+                    if (sf.is(':focus')) {
2642
+                        _.autoPlayClear();
2643
+                        _.paused = true;
2644
+                    } else {
2645
+                        _.paused = false;
2646
+                        _.autoPlay();
2647
+                    }
2648
+                }
2649
+            }, 0);
2650
+        });
2651
+    };
2652
+
2653
+    $.fn.slick = function() {
2654
+        var _ = this,
2655
+            opt = arguments[0],
2656
+            args = Array.prototype.slice.call(arguments, 1),
2657
+            l = _.length,
2658
+            i,
2659
+            ret;
2660
+        for (i = 0; i < l; i++) {
2661
+            if (typeof opt == 'object' || typeof opt == 'undefined')
2662
+                _[i].slick = new Slick(_[i], opt);
2663
+            else
2664
+                ret = _[i].slick[opt].apply(_[i].slick, args);
2665
+            if (typeof ret != 'undefined') return ret;
2666
+        }
2667
+        return _;
2668
+    };
2669
+
2670
+}));
0 2671
new file mode 100644
... ...
@@ -0,0 +1,18 @@
1
+/*
2
+     _ _      _       _
3
+ ___| (_) ___| | __  (_)___
4
+/ __| | |/ __| |/ /  | / __|
5
+\__ \ | | (__|   < _ | \__ \
6
+|___/_|_|\___|_|\_(_)/ |___/
7
+                   |__/
8
+
9
+ Version: 1.5.9
10
+  Author: Ken Wheeler
11
+ Website: http://kenwheeler.github.io
12
+    Docs: http://kenwheeler.github.io/slick
13
+    Repo: http://github.com/kenwheeler/slick
14
+  Issues: http://github.com/kenwheeler/slick/issues
15
+
16
+ */
17
+!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){"use strict";var b=window.Slick||{};b=function(){function c(c,d){var f,e=this;e.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(c),appendDots:a(c),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(a,b){return'<button type="button" data-role="none" role="button" aria-required="false" tabindex="0">'+(b+1)+"</button>"},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!1,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},e.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},a.extend(e,e.initials),e.activeBreakpoint=null,e.animType=null,e.animProp=null,e.breakpoints=[],e.breakpointSettings=[],e.cssTransitions=!1,e.hidden="hidden",e.paused=!1,e.positionProp=null,e.respondTo=null,e.rowCount=1,e.shouldClick=!0,e.$slider=a(c),e.$slidesCache=null,e.transformType=null,e.transitionType=null,e.visibilityChange="visibilitychange",e.windowWidth=0,e.windowTimer=null,f=a(c).data("slick")||{},e.options=a.extend({},e.defaults,f,d),e.currentSlide=e.options.initialSlide,e.originalSettings=e.options,"undefined"!=typeof document.mozHidden?(e.hidden="mozHidden",e.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(e.hidden="webkitHidden",e.visibilityChange="webkitvisibilitychange"),e.autoPlay=a.proxy(e.autoPlay,e),e.autoPlayClear=a.proxy(e.autoPlayClear,e),e.changeSlide=a.proxy(e.changeSlide,e),e.clickHandler=a.proxy(e.clickHandler,e),e.selectHandler=a.proxy(e.selectHandler,e),e.setPosition=a.proxy(e.setPosition,e),e.swipeHandler=a.proxy(e.swipeHandler,e),e.dragHandler=a.proxy(e.dragHandler,e),e.keyHandler=a.proxy(e.keyHandler,e),e.autoPlayIterator=a.proxy(e.autoPlayIterator,e),e.instanceUid=b++,e.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,e.registerBreakpoints(),e.init(!0),e.checkResponsive(!0)}var b=0;return c}(),b.prototype.addSlide=b.prototype.slickAdd=function(b,c,d){var e=this;if("boolean"==typeof c)d=c,c=null;else if(0>c||c>=e.slideCount)return!1;e.unload(),"number"==typeof c?0===c&&0===e.$slides.length?a(b).appendTo(e.$slideTrack):d?a(b).insertBefore(e.$slides.eq(c)):a(b).insertAfter(e.$slides.eq(c)):d===!0?a(b).prependTo(e.$slideTrack):a(b).appendTo(e.$slideTrack),e.$slides=e.$slideTrack.children(this.options.slide),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.append(e.$slides),e.$slides.each(function(b,c){a(c).attr("data-slick-index",b)}),e.$slidesCache=e.$slides,e.reinit()},b.prototype.animateHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.animate({height:b},a.options.speed)}},b.prototype.animateSlide=function(b,c){var d={},e=this;e.animateHeight(),e.options.rtl===!0&&e.options.vertical===!1&&(b=-b),e.transformsEnabled===!1?e.options.vertical===!1?e.$slideTrack.animate({left:b},e.options.speed,e.options.easing,c):e.$slideTrack.animate({top:b},e.options.speed,e.options.easing,c):e.cssTransitions===!1?(e.options.rtl===!0&&(e.currentLeft=-e.currentLeft),a({animStart:e.currentLeft}).animate({animStart:b},{duration:e.options.speed,easing:e.options.easing,step:function(a){a=Math.ceil(a),e.options.vertical===!1?(d[e.animType]="translate("+a+"px, 0px)",e.$slideTrack.css(d)):(d[e.animType]="translate(0px,"+a+"px)",e.$slideTrack.css(d))},complete:function(){c&&c.call()}})):(e.applyTransition(),b=Math.ceil(b),e.options.vertical===!1?d[e.animType]="translate3d("+b+"px, 0px, 0px)":d[e.animType]="translate3d(0px,"+b+"px, 0px)",e.$slideTrack.css(d),c&&setTimeout(function(){e.disableTransition(),c.call()},e.options.speed))},b.prototype.asNavFor=function(b){var c=this,d=c.options.asNavFor;d&&null!==d&&(d=a(d).not(c.$slider)),null!==d&&"object"==typeof d&&d.each(function(){var c=a(this).slick("getSlick");c.unslicked||c.slideHandler(b,!0)})},b.prototype.applyTransition=function(a){var b=this,c={};b.options.fade===!1?c[b.transitionType]=b.transformType+" "+b.options.speed+"ms "+b.options.cssEase:c[b.transitionType]="opacity "+b.options.speed+"ms "+b.options.cssEase,b.options.fade===!1?b.$slideTrack.css(c):b.$slides.eq(a).css(c)},b.prototype.autoPlay=function(){var a=this;a.autoPlayTimer&&clearInterval(a.autoPlayTimer),a.slideCount>a.options.slidesToShow&&a.paused!==!0&&(a.autoPlayTimer=setInterval(a.autoPlayIterator,a.options.autoplaySpeed))},b.prototype.autoPlayClear=function(){var a=this;a.autoPlayTimer&&clearInterval(a.autoPlayTimer)},b.prototype.autoPlayIterator=function(){var a=this;a.options.infinite===!1?1===a.direction?(a.currentSlide+1===a.slideCount-1&&(a.direction=0),a.slideHandler(a.currentSlide+a.options.slidesToScroll)):(a.currentSlide-1===0&&(a.direction=1),a.slideHandler(a.currentSlide-a.options.slidesToScroll)):a.slideHandler(a.currentSlide+a.options.slidesToScroll)},b.prototype.buildArrows=function(){var b=this;b.options.arrows===!0&&(b.$prevArrow=a(b.options.prevArrow).addClass("slick-arrow"),b.$nextArrow=a(b.options.nextArrow).addClass("slick-arrow"),b.slideCount>b.options.slidesToShow?(b.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),b.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.prependTo(b.options.appendArrows),b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.appendTo(b.options.appendArrows),b.options.infinite!==!0&&b.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):b.$prevArrow.add(b.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},b.prototype.buildDots=function(){var c,d,b=this;if(b.options.dots===!0&&b.slideCount>b.options.slidesToShow){for(d='<ul class="'+b.options.dotsClass+'">',c=0;c<=b.getDotCount();c+=1)d+="<li>"+b.options.customPaging.call(this,b,c)+"</li>";d+="</ul>",b.$dots=a(d).appendTo(b.options.appendDots),b.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},b.prototype.buildOut=function(){var b=this;b.$slides=b.$slider.children(b.options.slide+":not(.slick-cloned)").addClass("slick-slide"),b.slideCount=b.$slides.length,b.$slides.each(function(b,c){a(c).attr("data-slick-index",b).data("originalStyling",a(c).attr("style")||"")}),b.$slider.addClass("slick-slider"),b.$slideTrack=0===b.slideCount?a('<div class="slick-track"/>').appendTo(b.$slider):b.$slides.wrapAll('<div class="slick-track"/>').parent(),b.$list=b.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),b.$slideTrack.css("opacity",0),(b.options.centerMode===!0||b.options.swipeToSlide===!0)&&(b.options.slidesToScroll=1),a("img[data-lazy]",b.$slider).not("[src]").addClass("slick-loading"),b.setupInfinite(),b.buildArrows(),b.buildDots(),b.updateDots(),b.setSlideClasses("number"==typeof b.currentSlide?b.currentSlide:0),b.options.draggable===!0&&b.$list.addClass("draggable")},b.prototype.buildRows=function(){var b,c,d,e,f,g,h,a=this;if(e=document.createDocumentFragment(),g=a.$slider.children(),a.options.rows>1){for(h=a.options.slidesPerRow*a.options.rows,f=Math.ceil(g.length/h),b=0;f>b;b++){var i=document.createElement("div");for(c=0;c<a.options.rows;c++){var j=document.createElement("div");for(d=0;d<a.options.slidesPerRow;d++){var k=b*h+(c*a.options.slidesPerRow+d);g.get(k)&&j.appendChild(g.get(k))}i.appendChild(j)}e.appendChild(i)}a.$slider.html(e),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},b.prototype.checkResponsive=function(b,c){var e,f,g,d=this,h=!1,i=d.$slider.width(),j=window.innerWidth||a(window).width();if("window"===d.respondTo?g=j:"slider"===d.respondTo?g=i:"min"===d.respondTo&&(g=Math.min(j,i)),d.options.responsive&&d.options.responsive.length&&null!==d.options.responsive){f=null;for(e in d.breakpoints)d.breakpoints.hasOwnProperty(e)&&(d.originalSettings.mobileFirst===!1?g<d.breakpoints[e]&&(f=d.breakpoints[e]):g>d.breakpoints[e]&&(f=d.breakpoints[e]));null!==f?null!==d.activeBreakpoint?(f!==d.activeBreakpoint||c)&&(d.activeBreakpoint=f,"unslick"===d.breakpointSettings[f]?d.unslick(f):(d.options=a.extend({},d.originalSettings,d.breakpointSettings[f]),b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b)),h=f):(d.activeBreakpoint=f,"unslick"===d.breakpointSettings[f]?d.unslick(f):(d.options=a.extend({},d.originalSettings,d.breakpointSettings[f]),b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b)),h=f):null!==d.activeBreakpoint&&(d.activeBreakpoint=null,d.options=d.originalSettings,b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b),h=f),b||h===!1||d.$slider.trigger("breakpoint",[d,h])}},b.prototype.changeSlide=function(b,c){var f,g,h,d=this,e=a(b.target);switch(e.is("a")&&b.preventDefault(),e.is("li")||(e=e.closest("li")),h=d.slideCount%d.options.slidesToScroll!==0,f=h?0:(d.slideCount-d.currentSlide)%d.options.slidesToScroll,b.data.message){case"previous":g=0===f?d.options.slidesToScroll:d.options.slidesToShow-f,d.slideCount>d.options.slidesToShow&&d.slideHandler(d.currentSlide-g,!1,c);break;case"next":g=0===f?d.options.slidesToScroll:f,d.slideCount>d.options.slidesToShow&&d.slideHandler(d.currentSlide+g,!1,c);break;case"index":var i=0===b.data.index?0:b.data.index||e.index()*d.options.slidesToScroll;d.slideHandler(d.checkNavigable(i),!1,c),e.children().trigger("focus");break;default:return}},b.prototype.checkNavigable=function(a){var c,d,b=this;if(c=b.getNavigableIndexes(),d=0,a>c[c.length-1])a=c[c.length-1];else for(var e in c){if(a<c[e]){a=d;break}d=c[e]}return a},b.prototype.cleanUpEvents=function(){var b=this;b.options.dots&&null!==b.$dots&&(a("li",b.$dots).off("click.slick",b.changeSlide),b.options.pauseOnDotsHover===!0&&b.options.autoplay===!0&&a("li",b.$dots).off("mouseenter.slick",a.proxy(b.setPaused,b,!0)).off("mouseleave.slick",a.proxy(b.setPaused,b,!1))),b.options.arrows===!0&&b.slideCount>b.options.slidesToShow&&(b.$prevArrow&&b.$prevArrow.off("click.slick",b.changeSlide),b.$nextArrow&&b.$nextArrow.off("click.slick",b.changeSlide)),b.$list.off("touchstart.slick mousedown.slick",b.swipeHandler),b.$list.off("touchmove.slick mousemove.slick",b.swipeHandler),b.$list.off("touchend.slick mouseup.slick",b.swipeHandler),b.$list.off("touchcancel.slick mouseleave.slick",b.swipeHandler),b.$list.off("click.slick",b.clickHandler),a(document).off(b.visibilityChange,b.visibility),b.$list.off("mouseenter.slick",a.proxy(b.setPaused,b,!0)),b.$list.off("mouseleave.slick",a.proxy(b.setPaused,b,!1)),b.options.accessibility===!0&&b.$list.off("keydown.slick",b.keyHandler),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().off("click.slick",b.selectHandler),a(window).off("orientationchange.slick.slick-"+b.instanceUid,b.orientationChange),a(window).off("resize.slick.slick-"+b.instanceUid,b.resize),a("[draggable!=true]",b.$slideTrack).off("dragstart",b.preventDefault),a(window).off("load.slick.slick-"+b.instanceUid,b.setPosition),a(document).off("ready.slick.slick-"+b.instanceUid,b.setPosition)},b.prototype.cleanUpRows=function(){var b,a=this;a.options.rows>1&&(b=a.$slides.children().children(),b.removeAttr("style"),a.$slider.html(b))},b.prototype.clickHandler=function(a){var b=this;b.shouldClick===!1&&(a.stopImmediatePropagation(),a.stopPropagation(),a.preventDefault())},b.prototype.destroy=function(b){var c=this;c.autoPlayClear(),c.touchObject={},c.cleanUpEvents(),a(".slick-cloned",c.$slider).detach(),c.$dots&&c.$dots.remove(),c.$prevArrow&&c.$prevArrow.length&&(c.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),c.htmlExpr.test(c.options.prevArrow)&&c.$prevArrow.remove()),c.$nextArrow&&c.$nextArrow.length&&(c.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),c.htmlExpr.test(c.options.nextArrow)&&c.$nextArrow.remove()),c.$slides&&(c.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){a(this).attr("style",a(this).data("originalStyling"))}),c.$slideTrack.children(this.options.slide).detach(),c.$slideTrack.detach(),c.$list.detach(),c.$slider.append(c.$slides)),c.cleanUpRows(),c.$slider.removeClass("slick-slider"),c.$slider.removeClass("slick-initialized"),c.unslicked=!0,b||c.$slider.trigger("destroy",[c])},b.prototype.disableTransition=function(a){var b=this,c={};c[b.transitionType]="",b.options.fade===!1?b.$slideTrack.css(c):b.$slides.eq(a).css(c)},b.prototype.fadeSlide=function(a,b){var c=this;c.cssTransitions===!1?(c.$slides.eq(a).css({zIndex:c.options.zIndex}),c.$slides.eq(a).animate({opacity:1},c.options.speed,c.options.easing,b)):(c.applyTransition(a),c.$slides.eq(a).css({opacity:1,zIndex:c.options.zIndex}),b&&setTimeout(function(){c.disableTransition(a),b.call()},c.options.speed))},b.prototype.fadeSlideOut=function(a){var b=this;b.cssTransitions===!1?b.$slides.eq(a).animate({opacity:0,zIndex:b.options.zIndex-2},b.options.speed,b.options.easing):(b.applyTransition(a),b.$slides.eq(a).css({opacity:0,zIndex:b.options.zIndex-2}))},b.prototype.filterSlides=b.prototype.slickFilter=function(a){var b=this;null!==a&&(b.$slidesCache=b.$slides,b.unload(),b.$slideTrack.children(this.options.slide).detach(),b.$slidesCache.filter(a).appendTo(b.$slideTrack),b.reinit())},b.prototype.getCurrent=b.prototype.slickCurrentSlide=function(){var a=this;return a.currentSlide},b.prototype.getDotCount=function(){var a=this,b=0,c=0,d=0;if(a.options.infinite===!0)for(;b<a.slideCount;)++d,b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;else if(a.options.centerMode===!0)d=a.slideCount;else for(;b<a.slideCount;)++d,b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;return d-1},b.prototype.getLeft=function(a){var c,d,f,b=this,e=0;return b.slideOffset=0,d=b.$slides.first().outerHeight(!0),b.options.infinite===!0?(b.slideCount>b.options.slidesToShow&&(b.slideOffset=b.slideWidth*b.options.slidesToShow*-1,e=d*b.options.slidesToShow*-1),b.slideCount%b.options.slidesToScroll!==0&&a+b.options.slidesToScroll>b.slideCount&&b.slideCount>b.options.slidesToShow&&(a>b.slideCount?(b.slideOffset=(b.options.slidesToShow-(a-b.slideCount))*b.slideWidth*-1,e=(b.options.slidesToShow-(a-b.slideCount))*d*-1):(b.slideOffset=b.slideCount%b.options.slidesToScroll*b.slideWidth*-1,e=b.slideCount%b.options.slidesToScroll*d*-1))):a+b.options.slidesToShow>b.slideCount&&(b.slideOffset=(a+b.options.slidesToShow-b.slideCount)*b.slideWidth,e=(a+b.options.slidesToShow-b.slideCount)*d),b.slideCount<=b.options.slidesToShow&&(b.slideOffset=0,e=0),b.options.centerMode===!0&&b.options.infinite===!0?b.slideOffset+=b.slideWidth*Math.floor(b.options.slidesToShow/2)-b.slideWidth:b.options.centerMode===!0&&(b.slideOffset=0,b.slideOffset+=b.slideWidth*Math.floor(b.options.slidesToShow/2)),c=b.options.vertical===!1?a*b.slideWidth*-1+b.slideOffset:a*d*-1+e,b.options.variableWidth===!0&&(f=b.slideCount<=b.options.slidesToShow||b.options.infinite===!1?b.$slideTrack.children(".slick-slide").eq(a):b.$slideTrack.children(".slick-slide").eq(a+b.options.slidesToShow),c=b.options.rtl===!0?f[0]?-1*(b.$slideTrack.width()-f[0].offsetLeft-f.width()):0:f[0]?-1*f[0].offsetLeft:0,b.options.centerMode===!0&&(f=b.slideCount<=b.options.slidesToShow||b.options.infinite===!1?b.$slideTrack.children(".slick-slide").eq(a):b.$slideTrack.children(".slick-slide").eq(a+b.options.slidesToShow+1),c=b.options.rtl===!0?f[0]?-1*(b.$slideTrack.width()-f[0].offsetLeft-f.width()):0:f[0]?-1*f[0].offsetLeft:0,c+=(b.$list.width()-f.outerWidth())/2)),c},b.prototype.getOption=b.prototype.slickGetOption=function(a){var b=this;return b.options[a]},b.prototype.getNavigableIndexes=function(){var e,a=this,b=0,c=0,d=[];for(a.options.infinite===!1?e=a.slideCount:(b=-1*a.options.slidesToScroll,c=-1*a.options.slidesToScroll,e=2*a.slideCount);e>b;)d.push(b),b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;return d},b.prototype.getSlick=function(){return this},b.prototype.getSlideCount=function(){var c,d,e,b=this;return e=b.options.centerMode===!0?b.slideWidth*Math.floor(b.options.slidesToShow/2):0,b.options.swipeToSlide===!0?(b.$slideTrack.find(".slick-slide").each(function(c,f){return f.offsetLeft-e+a(f).outerWidth()/2>-1*b.swipeLeft?(d=f,!1):void 0}),c=Math.abs(a(d).attr("data-slick-index")-b.currentSlide)||1):b.options.slidesToScroll},b.prototype.goTo=b.prototype.slickGoTo=function(a,b){var c=this;c.changeSlide({data:{message:"index",index:parseInt(a)}},b)},b.prototype.init=function(b){var c=this;a(c.$slider).hasClass("slick-initialized")||(a(c.$slider).addClass("slick-initialized"),c.buildRows(),c.buildOut(),c.setProps(),c.startLoad(),c.loadSlider(),c.initializeEvents(),c.updateArrows(),c.updateDots()),b&&c.$slider.trigger("init",[c]),c.options.accessibility===!0&&c.initADA()},b.prototype.initArrowEvents=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.on("click.slick",{message:"previous"},a.changeSlide),a.$nextArrow.on("click.slick",{message:"next"},a.changeSlide))},b.prototype.initDotEvents=function(){var b=this;b.options.dots===!0&&b.slideCount>b.options.slidesToShow&&a("li",b.$dots).on("click.slick",{message:"index"},b.changeSlide),b.options.dots===!0&&b.options.pauseOnDotsHover===!0&&b.options.autoplay===!0&&a("li",b.$dots).on("mouseenter.slick",a.proxy(b.setPaused,b,!0)).on("mouseleave.slick",a.proxy(b.setPaused,b,!1))},b.prototype.initializeEvents=function(){var b=this;b.initArrowEvents(),b.initDotEvents(),b.$list.on("touchstart.slick mousedown.slick",{action:"start"},b.swipeHandler),b.$list.on("touchmove.slick mousemove.slick",{action:"move"},b.swipeHandler),b.$list.on("touchend.slick mouseup.slick",{action:"end"},b.swipeHandler),b.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},b.swipeHandler),b.$list.on("click.slick",b.clickHandler),a(document).on(b.visibilityChange,a.proxy(b.visibility,b)),b.$list.on("mouseenter.slick",a.proxy(b.setPaused,b,!0)),b.$list.on("mouseleave.slick",a.proxy(b.setPaused,b,!1)),b.options.accessibility===!0&&b.$list.on("keydown.slick",b.keyHandler),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().on("click.slick",b.selectHandler),a(window).on("orientationchange.slick.slick-"+b.instanceUid,a.proxy(b.orientationChange,b)),a(window).on("resize.slick.slick-"+b.instanceUid,a.proxy(b.resize,b)),a("[draggable!=true]",b.$slideTrack).on("dragstart",b.preventDefault),a(window).on("load.slick.slick-"+b.instanceUid,b.setPosition),a(document).on("ready.slick.slick-"+b.instanceUid,b.setPosition)},b.prototype.initUI=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.show(),a.$nextArrow.show()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.show(),a.options.autoplay===!0&&a.autoPlay()},b.prototype.keyHandler=function(a){var b=this;a.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===a.keyCode&&b.options.accessibility===!0?b.changeSlide({data:{message:"previous"}}):39===a.keyCode&&b.options.accessibility===!0&&b.changeSlide({data:{message:"next"}}))},b.prototype.lazyLoad=function(){function g(b){a("img[data-lazy]",b).each(function(){var b=a(this),c=a(this).attr("data-lazy"),d=document.createElement("img");d.onload=function(){b.animate({opacity:0},100,function(){b.attr("src",c).animate({opacity:1},200,function(){b.removeAttr("data-lazy").removeClass("slick-loading")})})},d.src=c})}var c,d,e,f,b=this;b.options.centerMode===!0?b.options.infinite===!0?(e=b.currentSlide+(b.options.slidesToShow/2+1),f=e+b.options.slidesToShow+2):(e=Math.max(0,b.currentSlide-(b.options.slidesToShow/2+1)),f=2+(b.options.slidesToShow/2+1)+b.currentSlide):(e=b.options.infinite?b.options.slidesToShow+b.currentSlide:b.currentSlide,f=e+b.options.slidesToShow,b.options.fade===!0&&(e>0&&e--,f<=b.slideCount&&f++)),c=b.$slider.find(".slick-slide").slice(e,f),g(c),b.slideCount<=b.options.slidesToShow?(d=b.$slider.find(".slick-slide"),g(d)):b.currentSlide>=b.slideCount-b.options.slidesToShow?(d=b.$slider.find(".slick-cloned").slice(0,b.options.slidesToShow),g(d)):0===b.currentSlide&&(d=b.$slider.find(".slick-cloned").slice(-1*b.options.slidesToShow),g(d))},b.prototype.loadSlider=function(){var a=this;a.setPosition(),a.$slideTrack.css({opacity:1}),a.$slider.removeClass("slick-loading"),a.initUI(),"progressive"===a.options.lazyLoad&&a.progressiveLazyLoad()},b.prototype.next=b.prototype.slickNext=function(){var a=this;a.changeSlide({data:{message:"next"}})},b.prototype.orientationChange=function(){var a=this;a.checkResponsive(),a.setPosition()},b.prototype.pause=b.prototype.slickPause=function(){var a=this;a.autoPlayClear(),a.paused=!0},b.prototype.play=b.prototype.slickPlay=function(){var a=this;a.paused=!1,a.autoPlay()},b.prototype.postSlide=function(a){var b=this;b.$slider.trigger("afterChange",[b,a]),b.animating=!1,b.setPosition(),b.swipeLeft=null,b.options.autoplay===!0&&b.paused===!1&&b.autoPlay(),b.options.accessibility===!0&&b.initADA()},b.prototype.prev=b.prototype.slickPrev=function(){var a=this;a.changeSlide({data:{message:"previous"}})},b.prototype.preventDefault=function(a){a.preventDefault()},b.prototype.progressiveLazyLoad=function(){var c,d,b=this;c=a("img[data-lazy]",b.$slider).length,c>0&&(d=a("img[data-lazy]",b.$slider).first(),d.attr("src",null),d.attr("src",d.attr("data-lazy")).removeClass("slick-loading").load(function(){d.removeAttr("data-lazy"),b.progressiveLazyLoad(),b.options.adaptiveHeight===!0&&b.setPosition()}).error(function(){d.removeAttr("data-lazy"),b.progressiveLazyLoad()}))},b.prototype.refresh=function(b){var d,e,c=this;e=c.slideCount-c.options.slidesToShow,c.options.infinite||(c.slideCount<=c.options.slidesToShow?c.currentSlide=0:c.currentSlide>e&&(c.currentSlide=e)),d=c.currentSlide,c.destroy(!0),a.extend(c,c.initials,{currentSlide:d}),c.init(),b||c.changeSlide({data:{message:"index",index:d}},!1)},b.prototype.registerBreakpoints=function(){var c,d,e,b=this,f=b.options.responsive||null;if("array"===a.type(f)&&f.length){b.respondTo=b.options.respondTo||"window";for(c in f)if(e=b.breakpoints.length-1,d=f[c].breakpoint,f.hasOwnProperty(c)){for(;e>=0;)b.breakpoints[e]&&b.breakpoints[e]===d&&b.breakpoints.splice(e,1),e--;b.breakpoints.push(d),b.breakpointSettings[d]=f[c].settings}b.breakpoints.sort(function(a,c){return b.options.mobileFirst?a-c:c-a})}},b.prototype.reinit=function(){var b=this;b.$slides=b.$slideTrack.children(b.options.slide).addClass("slick-slide"),b.slideCount=b.$slides.length,b.currentSlide>=b.slideCount&&0!==b.currentSlide&&(b.currentSlide=b.currentSlide-b.options.slidesToScroll),b.slideCount<=b.options.slidesToShow&&(b.currentSlide=0),b.registerBreakpoints(),b.setProps(),b.setupInfinite(),b.buildArrows(),b.updateArrows(),b.initArrowEvents(),b.buildDots(),b.updateDots(),b.initDotEvents(),b.checkResponsive(!1,!0),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().on("click.slick",b.selectHandler),b.setSlideClasses(0),b.setPosition(),b.$slider.trigger("reInit",[b]),b.options.autoplay===!0&&b.focusHandler()},b.prototype.resize=function(){var b=this;a(window).width()!==b.windowWidth&&(clearTimeout(b.windowDelay),b.windowDelay=window.setTimeout(function(){b.windowWidth=a(window).width(),b.checkResponsive(),b.unslicked||b.setPosition()},50))},b.prototype.removeSlide=b.prototype.slickRemove=function(a,b,c){var d=this;return"boolean"==typeof a?(b=a,a=b===!0?0:d.slideCount-1):a=b===!0?--a:a,d.slideCount<1||0>a||a>d.slideCount-1?!1:(d.unload(),c===!0?d.$slideTrack.children().remove():d.$slideTrack.children(this.options.slide).eq(a).remove(),d.$slides=d.$slideTrack.children(this.options.slide),d.$slideTrack.children(this.options.slide).detach(),d.$slideTrack.append(d.$slides),d.$slidesCache=d.$slides,void d.reinit())},b.prototype.setCSS=function(a){var d,e,b=this,c={};b.options.rtl===!0&&(a=-a),d="left"==b.positionProp?Math.ceil(a)+"px":"0px",e="top"==b.positionProp?Math.ceil(a)+"px":"0px",c[b.positionProp]=a,b.transformsEnabled===!1?b.$slideTrack.css(c):(c={},b.cssTransitions===!1?(c[b.animType]="translate("+d+", "+e+")",b.$slideTrack.css(c)):(c[b.animType]="translate3d("+d+", "+e+", 0px)",b.$slideTrack.css(c)))},b.prototype.setDimensions=function(){var a=this;a.options.vertical===!1?a.options.centerMode===!0&&a.$list.css({padding:"0px "+a.options.centerPadding}):(a.$list.height(a.$slides.first().outerHeight(!0)*a.options.slidesToShow),a.options.centerMode===!0&&a.$list.css({padding:a.options.centerPadding+" 0px"})),a.listWidth=a.$list.width(),a.listHeight=a.$list.height(),a.options.vertical===!1&&a.options.variableWidth===!1?(a.slideWidth=Math.ceil(a.listWidth/a.options.slidesToShow),a.$slideTrack.width(Math.ceil(a.slideWidth*a.$slideTrack.children(".slick-slide").length))):a.options.variableWidth===!0?a.$slideTrack.width(5e3*a.slideCount):(a.slideWidth=Math.ceil(a.listWidth),a.$slideTrack.height(Math.ceil(a.$slides.first().outerHeight(!0)*a.$slideTrack.children(".slick-slide").length)));var b=a.$slides.first().outerWidth(!0)-a.$slides.first().width();a.options.variableWidth===!1&&a.$slideTrack.children(".slick-slide").width(a.slideWidth-b)},b.prototype.setFade=function(){var c,b=this;b.$slides.each(function(d,e){c=b.slideWidth*d*-1,b.options.rtl===!0?a(e).css({position:"relative",right:c,top:0,zIndex:b.options.zIndex-2,opacity:0}):a(e).css({position:"relative",left:c,top:0,zIndex:b.options.zIndex-2,opacity:0})}),b.$slides.eq(b.currentSlide).css({zIndex:b.options.zIndex-1,opacity:1})},b.prototype.setHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.css("height",b)}},b.prototype.setOption=b.prototype.slickSetOption=function(b,c,d){var f,g,e=this;if("responsive"===b&&"array"===a.type(c))for(g in c)if("array"!==a.type(e.options.responsive))e.options.responsive=[c[g]];else{for(f=e.options.responsive.length-1;f>=0;)e.options.responsive[f].breakpoint===c[g].breakpoint&&e.options.responsive.splice(f,1),f--;e.options.responsive.push(c[g])}else e.options[b]=c;d===!0&&(e.unload(),e.reinit())},b.prototype.setPosition=function(){var a=this;a.setDimensions(),a.setHeight(),a.options.fade===!1?a.setCSS(a.getLeft(a.currentSlide)):a.setFade(),a.$slider.trigger("setPosition",[a])},b.prototype.setProps=function(){var a=this,b=document.body.style;a.positionProp=a.options.vertical===!0?"top":"left","top"===a.positionProp?a.$slider.addClass("slick-vertical"):a.$slider.removeClass("slick-vertical"),(void 0!==b.WebkitTransition||void 0!==b.MozTransition||void 0!==b.msTransition)&&a.options.useCSS===!0&&(a.cssTransitions=!0),a.options.fade&&("number"==typeof a.options.zIndex?a.options.zIndex<3&&(a.options.zIndex=3):a.options.zIndex=a.defaults.zIndex),void 0!==b.OTransform&&(a.animType="OTransform",a.transformType="-o-transform",a.transitionType="OTransition",void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.MozTransform&&(a.animType="MozTransform",a.transformType="-moz-transform",a.transitionType="MozTransition",void 0===b.perspectiveProperty&&void 0===b.MozPerspective&&(a.animType=!1)),void 0!==b.webkitTransform&&(a.animType="webkitTransform",a.transformType="-webkit-transform",a.transitionType="webkitTransition",void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.msTransform&&(a.animType="msTransform",a.transformType="-ms-transform",a.transitionType="msTransition",void 0===b.msTransform&&(a.animType=!1)),void 0!==b.transform&&a.animType!==!1&&(a.animType="transform",a.transformType="transform",a.transitionType="transition"),a.transformsEnabled=a.options.useTransform&&null!==a.animType&&a.animType!==!1},b.prototype.setSlideClasses=function(a){var c,d,e,f,b=this;d=b.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),b.$slides.eq(a).addClass("slick-current"),b.options.centerMode===!0?(c=Math.floor(b.options.slidesToShow/2),b.options.infinite===!0&&(a>=c&&a<=b.slideCount-1-c?b.$slides.slice(a-c,a+c+1).addClass("slick-active").attr("aria-hidden","false"):(e=b.options.slidesToShow+a,d.slice(e-c+1,e+c+2).addClass("slick-active").attr("aria-hidden","false")),0===a?d.eq(d.length-1-b.options.slidesToShow).addClass("slick-center"):a===b.slideCount-1&&d.eq(b.options.slidesToShow).addClass("slick-center")),b.$slides.eq(a).addClass("slick-center")):a>=0&&a<=b.slideCount-b.options.slidesToShow?b.$slides.slice(a,a+b.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):d.length<=b.options.slidesToShow?d.addClass("slick-active").attr("aria-hidden","false"):(f=b.slideCount%b.options.slidesToShow,e=b.options.infinite===!0?b.options.slidesToShow+a:a,b.options.slidesToShow==b.options.slidesToScroll&&b.slideCount-a<b.options.slidesToShow?d.slice(e-(b.options.slidesToShow-f),e+f).addClass("slick-active").attr("aria-hidden","false"):d.slice(e,e+b.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===b.options.lazyLoad&&b.lazyLoad()},b.prototype.setupInfinite=function(){var c,d,e,b=this;if(b.options.fade===!0&&(b.options.centerMode=!1),b.options.infinite===!0&&b.options.fade===!1&&(d=null,b.slideCount>b.options.slidesToShow)){for(e=b.options.centerMode===!0?b.options.slidesToShow+1:b.options.slidesToShow,c=b.slideCount;c>b.slideCount-e;c-=1)d=c-1,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d-b.slideCount).prependTo(b.$slideTrack).addClass("slick-cloned");for(c=0;e>c;c+=1)d=c,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d+b.slideCount).appendTo(b.$slideTrack).addClass("slick-cloned");b.$slideTrack.find(".slick-cloned").find("[id]").each(function(){a(this).attr("id","")})}},b.prototype.setPaused=function(a){var b=this;b.options.autoplay===!0&&b.options.pauseOnHover===!0&&(b.paused=a,a?b.autoPlayClear():b.autoPlay())},b.prototype.selectHandler=function(b){var c=this,d=a(b.target).is(".slick-slide")?a(b.target):a(b.target).parents(".slick-slide"),e=parseInt(d.attr("data-slick-index"));return e||(e=0),c.slideCount<=c.options.slidesToShow?(c.setSlideClasses(e),void c.asNavFor(e)):void c.slideHandler(e)},b.prototype.slideHandler=function(a,b,c){var d,e,f,g,h=null,i=this;return b=b||!1,i.animating===!0&&i.options.waitForAnimate===!0||i.options.fade===!0&&i.currentSlide===a||i.slideCount<=i.options.slidesToShow?void 0:(b===!1&&i.asNavFor(a),d=a,h=i.getLeft(d),g=i.getLeft(i.currentSlide),i.currentLeft=null===i.swipeLeft?g:i.swipeLeft,i.options.infinite===!1&&i.options.centerMode===!1&&(0>a||a>i.getDotCount()*i.options.slidesToScroll)?void(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d);
18
+}):i.postSlide(d))):i.options.infinite===!1&&i.options.centerMode===!0&&(0>a||a>i.slideCount-i.options.slidesToScroll)?void(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d))):(i.options.autoplay===!0&&clearInterval(i.autoPlayTimer),e=0>d?i.slideCount%i.options.slidesToScroll!==0?i.slideCount-i.slideCount%i.options.slidesToScroll:i.slideCount+d:d>=i.slideCount?i.slideCount%i.options.slidesToScroll!==0?0:d-i.slideCount:d,i.animating=!0,i.$slider.trigger("beforeChange",[i,i.currentSlide,e]),f=i.currentSlide,i.currentSlide=e,i.setSlideClasses(i.currentSlide),i.updateDots(),i.updateArrows(),i.options.fade===!0?(c!==!0?(i.fadeSlideOut(f),i.fadeSlide(e,function(){i.postSlide(e)})):i.postSlide(e),void i.animateHeight()):void(c!==!0?i.animateSlide(h,function(){i.postSlide(e)}):i.postSlide(e))))},b.prototype.startLoad=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.hide(),a.$nextArrow.hide()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.hide(),a.$slider.addClass("slick-loading")},b.prototype.swipeDirection=function(){var a,b,c,d,e=this;return a=e.touchObject.startX-e.touchObject.curX,b=e.touchObject.startY-e.touchObject.curY,c=Math.atan2(b,a),d=Math.round(180*c/Math.PI),0>d&&(d=360-Math.abs(d)),45>=d&&d>=0?e.options.rtl===!1?"left":"right":360>=d&&d>=315?e.options.rtl===!1?"left":"right":d>=135&&225>=d?e.options.rtl===!1?"right":"left":e.options.verticalSwiping===!0?d>=35&&135>=d?"left":"right":"vertical"},b.prototype.swipeEnd=function(a){var c,b=this;if(b.dragging=!1,b.shouldClick=b.touchObject.swipeLength>10?!1:!0,void 0===b.touchObject.curX)return!1;if(b.touchObject.edgeHit===!0&&b.$slider.trigger("edge",[b,b.swipeDirection()]),b.touchObject.swipeLength>=b.touchObject.minSwipe)switch(b.swipeDirection()){case"left":c=b.options.swipeToSlide?b.checkNavigable(b.currentSlide+b.getSlideCount()):b.currentSlide+b.getSlideCount(),b.slideHandler(c),b.currentDirection=0,b.touchObject={},b.$slider.trigger("swipe",[b,"left"]);break;case"right":c=b.options.swipeToSlide?b.checkNavigable(b.currentSlide-b.getSlideCount()):b.currentSlide-b.getSlideCount(),b.slideHandler(c),b.currentDirection=1,b.touchObject={},b.$slider.trigger("swipe",[b,"right"])}else b.touchObject.startX!==b.touchObject.curX&&(b.slideHandler(b.currentSlide),b.touchObject={})},b.prototype.swipeHandler=function(a){var b=this;if(!(b.options.swipe===!1||"ontouchend"in document&&b.options.swipe===!1||b.options.draggable===!1&&-1!==a.type.indexOf("mouse")))switch(b.touchObject.fingerCount=a.originalEvent&&void 0!==a.originalEvent.touches?a.originalEvent.touches.length:1,b.touchObject.minSwipe=b.listWidth/b.options.touchThreshold,b.options.verticalSwiping===!0&&(b.touchObject.minSwipe=b.listHeight/b.options.touchThreshold),a.data.action){case"start":b.swipeStart(a);break;case"move":b.swipeMove(a);break;case"end":b.swipeEnd(a)}},b.prototype.swipeMove=function(a){var d,e,f,g,h,b=this;return h=void 0!==a.originalEvent?a.originalEvent.touches:null,!b.dragging||h&&1!==h.length?!1:(d=b.getLeft(b.currentSlide),b.touchObject.curX=void 0!==h?h[0].pageX:a.clientX,b.touchObject.curY=void 0!==h?h[0].pageY:a.clientY,b.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(b.touchObject.curX-b.touchObject.startX,2))),b.options.verticalSwiping===!0&&(b.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(b.touchObject.curY-b.touchObject.startY,2)))),e=b.swipeDirection(),"vertical"!==e?(void 0!==a.originalEvent&&b.touchObject.swipeLength>4&&a.preventDefault(),g=(b.options.rtl===!1?1:-1)*(b.touchObject.curX>b.touchObject.startX?1:-1),b.options.verticalSwiping===!0&&(g=b.touchObject.curY>b.touchObject.startY?1:-1),f=b.touchObject.swipeLength,b.touchObject.edgeHit=!1,b.options.infinite===!1&&(0===b.currentSlide&&"right"===e||b.currentSlide>=b.getDotCount()&&"left"===e)&&(f=b.touchObject.swipeLength*b.options.edgeFriction,b.touchObject.edgeHit=!0),b.options.vertical===!1?b.swipeLeft=d+f*g:b.swipeLeft=d+f*(b.$list.height()/b.listWidth)*g,b.options.verticalSwiping===!0&&(b.swipeLeft=d+f*g),b.options.fade===!0||b.options.touchMove===!1?!1:b.animating===!0?(b.swipeLeft=null,!1):void b.setCSS(b.swipeLeft)):void 0)},b.prototype.swipeStart=function(a){var c,b=this;return 1!==b.touchObject.fingerCount||b.slideCount<=b.options.slidesToShow?(b.touchObject={},!1):(void 0!==a.originalEvent&&void 0!==a.originalEvent.touches&&(c=a.originalEvent.touches[0]),b.touchObject.startX=b.touchObject.curX=void 0!==c?c.pageX:a.clientX,b.touchObject.startY=b.touchObject.curY=void 0!==c?c.pageY:a.clientY,void(b.dragging=!0))},b.prototype.unfilterSlides=b.prototype.slickUnfilter=function(){var a=this;null!==a.$slidesCache&&(a.unload(),a.$slideTrack.children(this.options.slide).detach(),a.$slidesCache.appendTo(a.$slideTrack),a.reinit())},b.prototype.unload=function(){var b=this;a(".slick-cloned",b.$slider).remove(),b.$dots&&b.$dots.remove(),b.$prevArrow&&b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.remove(),b.$nextArrow&&b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.remove(),b.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},b.prototype.unslick=function(a){var b=this;b.$slider.trigger("unslick",[b,a]),b.destroy()},b.prototype.updateArrows=function(){var b,a=this;b=Math.floor(a.options.slidesToShow/2),a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&!a.options.infinite&&(a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===a.currentSlide?(a.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):a.currentSlide>=a.slideCount-a.options.slidesToShow&&a.options.centerMode===!1?(a.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):a.currentSlide>=a.slideCount-1&&a.options.centerMode===!0&&(a.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},b.prototype.updateDots=function(){var a=this;null!==a.$dots&&(a.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),a.$dots.find("li").eq(Math.floor(a.currentSlide/a.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},b.prototype.visibility=function(){var a=this;document[a.hidden]?(a.paused=!0,a.autoPlayClear()):a.options.autoplay===!0&&(a.paused=!1,a.autoPlay())},b.prototype.initADA=function(){var b=this;b.$slides.add(b.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),b.$slideTrack.attr("role","listbox"),b.$slides.not(b.$slideTrack.find(".slick-cloned")).each(function(c){a(this).attr({role:"option","aria-describedby":"slick-slide"+b.instanceUid+c})}),null!==b.$dots&&b.$dots.attr("role","tablist").find("li").each(function(c){a(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+b.instanceUid+c,id:"slick-slide"+b.instanceUid+c})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),b.activateADA()},b.prototype.activateADA=function(){var a=this;a.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},b.prototype.focusHandler=function(){var b=this;b.$slider.on("focus.slick blur.slick","*",function(c){c.stopImmediatePropagation();var d=a(this);setTimeout(function(){b.isPlay&&(d.is(":focus")?(b.autoPlayClear(),b.paused=!0):(b.paused=!1,b.autoPlay()))},0)})},a.fn.slick=function(){var f,g,a=this,c=arguments[0],d=Array.prototype.slice.call(arguments,1),e=a.length;for(f=0;e>f;f++)if("object"==typeof c||"undefined"==typeof c?a[f].slick=new b(a[f],c):g=a[f].slick[c].apply(a[f].slick,d),"undefined"!=typeof g)return g;return a}});
0 19
\ No newline at end of file
1 20
new file mode 100644
... ...
@@ -0,0 +1,20 @@
1
+The MIT License (MIT)
2
+
3
+Copyright (c) 2013-2016
4
+
5
+Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+this software and associated documentation files (the "Software"), to deal in
7
+the Software without restriction, including without limitation the rights to
8
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+the Software, and to permit persons to whom the Software is furnished to do so,
10
+subject to the following conditions:
11
+
12
+The above copyright notice and this permission notice shall be included in all
13
+copies or substantial portions of the Software.
14
+
15
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0 21
new file mode 100644
1 22
Binary files /dev/null and b/assets/lib/slick/1.6.0/css/ajax-loader.gif differ
2 23
new file mode 100644
3 24
Binary files /dev/null and b/assets/lib/slick/1.6.0/css/fonts/slick.eot differ
4 25
new file mode 100644
... ...
@@ -0,0 +1,14 @@
1
+<?xml version="1.0" standalone="no"?>
2
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+<svg xmlns="http://www.w3.org/2000/svg">
4
+<metadata>Generated by Fontastic.me</metadata>
5
+<defs>
6
+<font id="slick" horiz-adv-x="512">
7
+<font-face font-family="slick" units-per-em="512" ascent="480" descent="-32"/>
8
+<missing-glyph horiz-adv-x="512" />
9
+
10
+<glyph unicode="&#8594;" d="M241 113l130 130c4 4 6 8 6 13 0 5-2 9-6 13l-130 130c-3 3-7 5-12 5-5 0-10-2-13-5l-29-30c-4-3-6-7-6-12 0-5 2-10 6-13l87-88-87-88c-4-3-6-8-6-13 0-5 2-9 6-12l29-30c3-3 8-5 13-5 5 0 9 2 12 5z m234 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
11
+<glyph unicode="&#8592;" d="M296 113l29 30c4 3 6 7 6 12 0 5-2 10-6 13l-87 88 87 88c4 3 6 8 6 13 0 5-2 9-6 12l-29 30c-3 3-8 5-13 5-5 0-9-2-12-5l-130-130c-4-4-6-8-6-13 0-5 2-9 6-13l130-130c3-3 7-5 12-5 5 0 10 2 13 5z m179 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
12
+<glyph unicode="&#8226;" d="M475 256c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>
13
+<glyph unicode="&#97;" d="M475 439l0-128c0-5-1-9-5-13-4-4-8-5-13-5l-128 0c-8 0-13 3-17 11-3 7-2 14 4 20l40 39c-28 26-62 39-100 39-20 0-39-4-57-11-18-8-33-18-46-32-14-13-24-28-32-46-7-18-11-37-11-57 0-20 4-39 11-57 8-18 18-33 32-46 13-14 28-24 46-32 18-7 37-11 57-11 23 0 44 5 64 15 20 9 38 23 51 42 2 1 4 3 7 3 3 0 5-1 7-3l39-39c2-2 3-3 3-6 0-2-1-4-2-6-21-25-46-45-76-59-29-14-60-20-93-20-30 0-58 5-85 17-27 12-51 27-70 47-20 19-35 43-47 70-12 27-17 55-17 85 0 30 5 58 17 85 12 27 27 51 47 70 19 20 43 35 70 47 27 12 55 17 85 17 28 0 55-5 81-15 26-11 50-26 70-45l37 37c6 6 12 7 20 4 8-4 11-9 11-17z"/>
14
+</font></defs></svg>
0 15
new file mode 100644
1 16
Binary files /dev/null and b/assets/lib/slick/1.6.0/css/fonts/slick.ttf differ
2 17
new file mode 100644
3 18
Binary files /dev/null and b/assets/lib/slick/1.6.0/css/fonts/slick.woff differ
4 19
new file mode 100644
... ...
@@ -0,0 +1,204 @@
1
+@charset 'UTF-8';
2
+/* Slider */
3
+.slick-loading .slick-list
4
+{
5
+    background: #fff url('./ajax-loader.gif') center center no-repeat;
6
+}
7
+
8
+/* Icons */
9
+@font-face
10
+{
11
+    font-family: 'slick';
12
+    font-weight: normal;
13
+    font-style: normal;
14
+
15
+    src: url('./fonts/slick.eot');
16
+    src: url('./fonts/slick.eot?#iefix') format('embedded-opentype'), url('./fonts/slick.woff') format('woff'), url('./fonts/slick.ttf') format('truetype'), url('./fonts/slick.svg#slick') format('svg');
17
+}
18
+/* Arrows */
19
+.slick-prev,
20
+.slick-next
21
+{
22
+    font-size: 0;
23
+    line-height: 0;
24
+
25
+    position: absolute;
26
+    top: 50%;
27
+
28
+    display: block;
29
+
30
+    width: 20px;
31
+    height: 20px;
32
+    padding: 0;
33
+    -webkit-transform: translate(0, -50%);
34
+    -ms-transform: translate(0, -50%);
35
+    transform: translate(0, -50%);
36
+
37
+    cursor: pointer;
38
+
39
+    color: transparent;
40
+    border: none;
41
+    outline: none;
42
+    background: transparent;
43
+}
44
+.slick-prev:hover,
45
+.slick-prev:focus,
46
+.slick-next:hover,
47
+.slick-next:focus
48
+{
49
+    color: transparent;
50
+    outline: none;
51
+    background: transparent;
52
+}
53
+.slick-prev:hover:before,
54
+.slick-prev:focus:before,
55
+.slick-next:hover:before,
56
+.slick-next:focus:before
57
+{
58
+    opacity: 1;
59
+}
60
+.slick-prev.slick-disabled:before,
61
+.slick-next.slick-disabled:before
62
+{
63
+    opacity: .25;
64
+}
65
+
66
+.slick-prev:before,
67
+.slick-next:before
68
+{
69
+    font-family: 'slick';
70
+    font-size: 20px;
71
+    line-height: 1;
72
+
73
+    opacity: .75;
74
+    color: white;
75
+
76
+    -webkit-font-smoothing: antialiased;
77
+    -moz-osx-font-smoothing: grayscale;
78
+}
79
+
80
+.slick-prev
81
+{
82
+    left: -25px;
83
+}
84
+[dir='rtl'] .slick-prev
85
+{
86
+    right: -25px;
87
+    left: auto;
88
+}
89
+.slick-prev:before
90
+{
91
+    content: '←';
92
+}
93
+[dir='rtl'] .slick-prev:before
94
+{
95
+    content: '→';
96
+}
97
+
98
+.slick-next
99
+{
100
+    right: -25px;
101
+}
102
+[dir='rtl'] .slick-next
103
+{
104
+    right: auto;
105
+    left: -25px;
106
+}
107
+.slick-next:before
108
+{
109
+    content: '→';
110
+}
111
+[dir='rtl'] .slick-next:before
112
+{
113
+    content: '←';
114
+}
115
+
116
+/* Dots */
117
+.slick-dotted.slick-slider
118
+{
119
+    margin-bottom: 30px;
120
+}
121
+
122
+.slick-dots
123
+{
124
+    position: absolute;
125
+    bottom: -25px;
126
+
127
+    display: block;
128
+
129
+    width: 100%;
130
+    padding: 0;
131
+    margin: 0;
132
+
133
+    list-style: none;
134
+
135
+    text-align: center;
136
+}
137
+.slick-dots li
138
+{
139
+    position: relative;
140
+
141
+    display: inline-block;
142
+
143
+    width: 20px;
144
+    height: 20px;
145
+    margin: 0 5px;
146
+    padding: 0;
147
+
148
+    cursor: pointer;
149
+}
150
+.slick-dots li button
151
+{
152
+    font-size: 0;
153
+    line-height: 0;
154
+
155
+    display: block;
156
+
157
+    width: 20px;
158
+    height: 20px;
159
+    padding: 5px;
160
+
161
+    cursor: pointer;
162
+
163
+    color: transparent;
164
+    border: 0;
165
+    outline: none;
166
+    background: transparent;
167
+}
168
+.slick-dots li button:hover,
169
+.slick-dots li button:focus
170
+{
171
+    outline: none;
172
+}
173
+.slick-dots li button:hover:before,
174
+.slick-dots li button:focus:before
175
+{
176
+    opacity: 1;
177
+}
178
+.slick-dots li button:before
179
+{
180
+    font-family: 'slick';
181
+    font-size: 6px;
182
+    line-height: 20px;
183
+
184
+    position: absolute;
185
+    top: 0;
186
+    left: 0;
187
+
188
+    width: 20px;
189
+    height: 20px;
190
+
191
+    content: '•';
192
+    text-align: center;
193
+
194
+    opacity: .25;
195
+    color: black;
196
+
197
+    -webkit-font-smoothing: antialiased;
198
+    -moz-osx-font-smoothing: grayscale;
199
+}
200
+.slick-dots li.slick-active button:before
201
+{
202
+    opacity: .75;
203
+    color: black;
204
+}
0 205
new file mode 100644
... ...
@@ -0,0 +1,168 @@
1
+@charset "UTF-8";
2
+
3
+// Default Variables
4
+
5
+@slick-font-path: "./fonts/";
6
+@slick-font-family: "slick";
7
+@slick-loader-path: "./";
8
+@slick-arrow-color: white;
9
+@slick-dot-color: black;
10
+@slick-dot-color-active: @slick-dot-color;
11
+@slick-prev-character: "←";
12
+@slick-next-character: "→";
13
+@slick-dot-character: "•";
14
+@slick-dot-size: 6px;
15
+@slick-opacity-default: 0.75;
16
+@slick-opacity-on-hover: 1;
17
+@slick-opacity-not-active: 0.25;
18
+
19
+/* Slider */
20
+.slick-loading .slick-list{
21
+    background: #fff url('@{slick-loader-path}ajax-loader.gif') center center no-repeat;
22
+}
23
+
24
+/* Icons */
25
+@font-face{
26
+    font-family: 'slick';
27
+    font-weight: normal;
28
+    font-style: normal;
29
+
30
+    src: url('@{slick-font-path}slick.eot');
31
+    src: url('@{slick-font-path}slick.eot?#iefix') format('embedded-opentype'), url('@{slick-font-path}slick.woff') format('woff'), url('@{slick-font-path}slick.ttf') format('truetype'), url('@{slick-font-path}slick.svg#slick') format('svg');
32
+}
33
+
34
+/* Arrows */
35
+
36
+.slick-prev,
37
+.slick-next {
38
+    position: absolute;
39
+    display: block;
40
+    height: 20px;
41
+    width: 20px;
42
+    line-height: 0px;
43
+    font-size: 0px;
44
+    cursor: pointer;
45
+    background: transparent;
46
+    color: transparent;
47
+    top: 50%;
48
+    -webkit-transform: translate(0, -50%);
49
+    -ms-transform: translate(0, -50%);
50
+    transform: translate(0, -50%);
51
+    padding: 0;
52
+    border: none;
53
+    outline: none;
54
+    &:hover, &:focus {
55
+        outline: none;
56
+        background: transparent;
57
+        color: transparent;
58
+        &:before {
59
+            opacity: @slick-opacity-on-hover;
60
+        }
61
+    }
62
+    &.slick-disabled:before {
63
+        opacity: @slick-opacity-not-active;
64
+    }
65
+}
66
+
67
+.slick-prev:before, .slick-next:before {
68
+    font-family: @slick-font-family;
69
+    font-size: 20px;
70
+    line-height: 1;
71
+    color: @slick-arrow-color;
72
+    opacity: @slick-opacity-default;
73
+    -webkit-font-smoothing: antialiased;
74
+    -moz-osx-font-smoothing: grayscale;
75
+}
76
+
77
+.slick-prev {
78
+    left: -25px;
79
+    &[dir="rtl"] {
80
+        left: auto;
81
+        right: -25px;
82
+    }
83
+    &:before {
84
+        content: @slick-prev-character;
85
+        &[dir="rtl"] {
86
+            content: @slick-next-character;
87
+        }
88
+    }
89
+}
90
+
91
+.slick-next {
92
+    right: -25px;
93
+    &[dir="rtl"] {
94
+        left: -25px;
95
+        right: auto;
96
+    }
97
+    &:before {
98
+        content: @slick-next-character;
99
+        &[dir="rtl"] {
100
+            content: @slick-prev-character;
101
+        }
102
+    }
103
+}
104
+
105
+/* Dots */
106
+
107
+.slick-dotted .slick-slider {
108
+    margin-bottom: 30px;
109
+}
110
+
111
+.slick-dots {
112
+    position: absolute;
113
+    bottom: -25px;
114
+    list-style: none;
115
+    display: block;
116
+    text-align: center;
117
+    padding: 0;
118
+    margin: 0;
119
+    width: 100%;
120
+    li {
121
+        position: relative;
122
+        display: inline-block;
123
+        height: 20px;
124
+        width: 20px;
125
+        margin: 0 5px;
126
+        padding: 0;
127
+        cursor: pointer;
128
+        button {
129
+            border: 0;
130
+            background: transparent;
131
+            display: block;
132
+            height: 20px;
133
+            width: 20px;
134
+            outline: none;
135
+            line-height: 0px;
136
+            font-size: 0px;
137
+            color: transparent;
138
+            padding: 5px;
139
+            cursor: pointer;
140
+            &:hover, &:focus {
141
+                outline: none;
142
+                &:before {
143
+                    opacity: @slick-opacity-on-hover;
144
+                }
145
+            }
146
+            &:before {
147
+                position: absolute;
148
+                top: 0;
149
+                left: 0;
150
+                content: @slick-dot-character;
151
+                width: 20px;
152
+                height: 20px;
153
+                font-family: @slick-font-family;
154
+                font-size: @slick-dot-size;
155
+                line-height: 20px;
156
+                text-align: center;
157
+                color: @slick-dot-color;
158
+                opacity: @slick-opacity-not-active;
159
+                -webkit-font-smoothing: antialiased;
160
+                -moz-osx-font-smoothing: grayscale;
161
+            }
162
+        }
163
+        &.slick-active button:before {
164
+            color: @slick-dot-color-active;
165
+            opacity: @slick-opacity-default;
166
+        }
167
+    }
168
+}
0 169
new file mode 100644
... ...
@@ -0,0 +1,194 @@
1
+@charset "UTF-8";
2
+
3
+// Default Variables
4
+
5
+// Slick icon entity codes outputs the following
6
+// "\2190" outputs ascii character "←"
7
+// "\2192" outputs ascii character "→"
8
+// "\2022" outputs ascii character "•"
9
+
10
+$slick-font-path: "./fonts/" !default;
11
+$slick-font-family: "slick" !default;
12
+$slick-loader-path: "./" !default;
13
+$slick-arrow-color: white !default;
14
+$slick-dot-color: black !default;
15
+$slick-dot-color-active: $slick-dot-color !default;
16
+$slick-prev-character: "\2190" !default;
17
+$slick-next-character: "\2192" !default;
18
+$slick-dot-character: "\2022" !default;
19
+$slick-dot-size: 6px !default;
20
+$slick-opacity-default: 0.75 !default;
21
+$slick-opacity-on-hover: 1 !default;
22
+$slick-opacity-not-active: 0.25 !default;
23
+
24
+@function slick-image-url($url) {
25
+    @if function-exists(image-url) {
26
+        @return image-url($url);
27
+    }
28
+    @else {
29
+        @return url($slick-loader-path + $url);
30
+    }
31
+}
32
+
33
+@function slick-font-url($url) {
34
+    @if function-exists(font-url) {
35
+        @return font-url($url);
36
+    }
37
+    @else {
38
+        @return url($slick-font-path + $url);
39
+    }
40
+}
41
+
42
+/* Slider */
43
+
44
+.slick-list {
45
+    .slick-loading & {
46
+        background: #fff slick-image-url("ajax-loader.gif") center center no-repeat;
47
+    }
48
+}
49
+
50
+/* Icons */
51
+@if $slick-font-family == "slick" {
52
+    @font-face {
53
+        font-family: "slick";
54
+        src: slick-font-url("slick.eot");
55
+        src: slick-font-url("slick.eot?#iefix") format("embedded-opentype"), slick-font-url("slick.woff") format("woff"), slick-font-url("slick.ttf") format("truetype"), slick-font-url("slick.svg#slick") format("svg");
56
+        font-weight: normal;
57
+        font-style: normal;
58
+    }
59
+}
60
+
61
+/* Arrows */
62
+
63
+.slick-prev,
64
+.slick-next {
65
+    position: absolute;
66
+    display: block;
67
+    height: 20px;
68
+    width: 20px;
69
+    line-height: 0px;
70
+    font-size: 0px;
71
+    cursor: pointer;
72
+    background: transparent;
73
+    color: transparent;
74
+    top: 50%;
75
+    -webkit-transform: translate(0, -50%);
76
+    -ms-transform: translate(0, -50%);
77
+    transform: translate(0, -50%);
78
+    padding: 0;
79
+    border: none;
80
+    outline: none;
81
+    &:hover, &:focus {
82
+        outline: none;
83
+        background: transparent;
84
+        color: transparent;
85
+        &:before {
86
+            opacity: $slick-opacity-on-hover;
87
+        }
88
+    }
89
+    &.slick-disabled:before {
90
+        opacity: $slick-opacity-not-active;
91
+    }
92
+    &:before {
93
+        font-family: $slick-font-family;
94
+        font-size: 20px;
95
+        line-height: 1;
96
+        color: $slick-arrow-color;
97
+        opacity: $slick-opacity-default;
98
+        -webkit-font-smoothing: antialiased;
99
+        -moz-osx-font-smoothing: grayscale;
100
+    }
101
+}
102
+
103
+.slick-prev {
104
+    left: -25px;
105
+    [dir="rtl"] & {
106
+        left: auto;
107
+        right: -25px;
108
+    }
109
+    &:before {
110
+        content: $slick-prev-character;
111
+        [dir="rtl"] & {
112
+            content: $slick-next-character;
113
+        }
114
+    }
115
+}
116
+
117
+.slick-next {
118
+    right: -25px;
119
+    [dir="rtl"] & {
120
+        left: -25px;
121
+        right: auto;
122
+    }
123
+    &:before {
124
+        content: $slick-next-character;
125
+        [dir="rtl"] & {
126
+            content: $slick-prev-character;
127
+        }
128
+    }
129
+}
130
+
131
+/* Dots */
132
+
133
+.slick-dotted.slick-slider {
134
+    margin-bottom: 30px;
135
+}
136
+
137
+.slick-dots {
138
+    position: absolute;
139
+    bottom: -25px;
140
+    list-style: none;
141
+    display: block;
142
+    text-align: center;
143
+    padding: 0;
144
+    margin: 0;
145
+    width: 100%;
146
+    li {
147
+        position: relative;
148
+        display: inline-block;
149
+        height: 20px;
150
+        width: 20px;
151
+        margin: 0 5px;
152
+        padding: 0;
153
+        cursor: pointer;
154
+        button {
155
+            border: 0;
156
+            background: transparent;
157
+            display: block;
158
+            height: 20px;
159
+            width: 20px;
160
+            outline: none;
161
+            line-height: 0px;
162
+            font-size: 0px;
163
+            color: transparent;
164
+            padding: 5px;
165
+            cursor: pointer;
166
+            &:hover, &:focus {
167
+                outline: none;
168
+                &:before {
169
+                    opacity: $slick-opacity-on-hover;
170
+                }
171
+            }
172
+            &:before {
173
+                position: absolute;
174
+                top: 0;
175
+                left: 0;
176
+                content: $slick-dot-character;
177
+                width: 20px;
178
+                height: 20px;
179
+                font-family: $slick-font-family;
180
+                font-size: $slick-dot-size;
181
+                line-height: 20px;
182
+                text-align: center;
183
+                color: $slick-dot-color;
184
+                opacity: $slick-opacity-not-active;
185
+                -webkit-font-smoothing: antialiased;
186
+                -moz-osx-font-smoothing: grayscale;
187
+            }
188
+        }
189
+        &.slick-active button:before {
190
+            color: $slick-dot-color-active;
191
+            opacity: $slick-opacity-default;
192
+        }
193
+    }
194
+}
0 195
new file mode 100644
... ...
@@ -0,0 +1,117 @@
1
+/* Slider */
2
+.slick-slider
3
+{
4
+    position: relative;
5
+
6
+    display: block;
7
+    box-sizing: border-box;
8
+
9
+    -webkit-user-select: none;
10
+       -moz-user-select: none;
11
+        -ms-user-select: none;
12
+            user-select: none;
13
+
14
+    -webkit-touch-callout: none;
15
+    -khtml-user-select: none;
16
+    -ms-touch-action: pan-y;
17
+        touch-action: pan-y;
18
+    -webkit-tap-highlight-color: transparent;
19
+}
20
+
21
+.slick-list
22
+{
23
+    position: relative;
24
+
25
+    display: block;
26
+    overflow: hidden;
27
+
28
+    margin: 0;
29
+    padding: 0;
30
+}
31
+.slick-list:focus
32
+{
33
+    outline: none;
34
+}
35
+.slick-list.dragging
36
+{
37
+    cursor: pointer;
38
+    cursor: hand;
39
+}
40
+
41
+.slick-slider .slick-track,
42
+.slick-slider .slick-list
43
+{
44
+    -webkit-transform: translate3d(0, 0, 0);
45
+       -moz-transform: translate3d(0, 0, 0);
46
+        -ms-transform: translate3d(0, 0, 0);
47
+         -o-transform: translate3d(0, 0, 0);
48
+            transform: translate3d(0, 0, 0);
49
+}
50
+
51
+.slick-track
52
+{
53
+    position: relative;
54
+    top: 0;
55
+    left: 0;
56
+
57
+    display: block;
58
+}
59
+.slick-track:before,
60
+.slick-track:after
61
+{
62
+    display: table;
63
+
64
+    content: '';
65
+}
66
+.slick-track:after
67
+{
68
+    clear: both;
69
+}
70
+.slick-loading .slick-track
71
+{
72
+    visibility: hidden;
73
+}
74
+
75
+.slick-slide
76
+{
77
+    display: none;
78
+    float: left;
79
+
80
+    height: 100%;
81
+    min-height: 1px;
82
+}
83
+[dir='rtl'] .slick-slide
84
+{
85
+    float: right;
86
+}
87
+.slick-slide img
88
+{
89
+    display: block;
90
+}
91
+.slick-slide.slick-loading img
92
+{
93
+    display: none;
94
+}
95
+.slick-slide.dragging img
96
+{
97
+    pointer-events: none;
98
+}
99
+.slick-initialized .slick-slide
100
+{
101
+    display: block;
102
+}
103
+.slick-loading .slick-slide
104
+{
105
+    visibility: hidden;
106
+}
107
+.slick-vertical .slick-slide
108
+{
109
+    display: block;
110
+
111
+    height: auto;
112
+
113
+    border: 1px solid transparent;
114
+}
115
+.slick-arrow.slick-hidden {
116
+    display: none;
117
+}
0 118
new file mode 100644
... ...
@@ -0,0 +1,98 @@
1
+/* Slider */
2
+
3
+.slick-slider {
4
+    position: relative;
5
+    display: block;
6
+    box-sizing: border-box;
7
+    -webkit-touch-callout: none;
8
+    -webkit-user-select: none;
9
+    -khtml-user-select: none;
10
+    -moz-user-select: none;
11
+    -ms-user-select: none;
12
+    user-select: none;
13
+    -ms-touch-action: pan-y;
14
+    touch-action: pan-y;
15
+    -webkit-tap-highlight-color: transparent;
16
+}
17
+.slick-list {
18
+    position: relative;
19
+    overflow: hidden;
20
+    display: block;
21
+    margin: 0;
22
+    padding: 0;
23
+
24
+    &:focus {
25
+        outline: none;
26
+    }
27
+
28
+    &.dragging {
29
+        cursor: pointer;
30
+        cursor: hand;
31
+    }
32
+}
33
+.slick-slider .slick-track,
34
+.slick-slider .slick-list {
35
+    -webkit-transform: translate3d(0, 0, 0);
36
+    -moz-transform: translate3d(0, 0, 0);
37
+    -ms-transform: translate3d(0, 0, 0);
38
+    -o-transform: translate3d(0, 0, 0);
39
+    transform: translate3d(0, 0, 0);
40
+}
41
+
42
+.slick-track {
43
+    position: relative;
44
+    left: 0;
45
+    top: 0;
46
+    display: block;
47
+
48
+    &:before,
49
+    &:after {
50
+        content: "";
51
+        display: table;
52
+    }
53
+
54
+    &:after {
55
+        clear: both;
56
+    }
57
+
58
+    .slick-loading & {
59
+        visibility: hidden;
60
+    }
61
+}
62
+.slick-slide {
63
+    float: left;
64
+    height: 100%;
65
+    min-height: 1px;
66
+    [dir="rtl"] & {
67
+        float: right;
68
+    }
69
+    img {
70
+        display: block;
71
+    }
72
+    &.slick-loading img {
73
+        display: none;
74
+    }
75
+
76
+    display: none;
77
+
78
+    &.dragging img {
79
+        pointer-events: none;
80
+    }
81
+
82
+    .slick-initialized & {
83
+        display: block;
84
+    }
85
+
86
+    .slick-loading & {
87
+        visibility: hidden;
88
+    }
89
+
90
+    .slick-vertical & {
91
+        display: block;
92
+        height: auto;
93
+        border: 1px solid transparent;
94
+    }
95
+}
96
+.slick-arrow.slick-hidden {
97
+    display: none;
98
+}
0 99
new file mode 100644
... ...
@@ -0,0 +1,98 @@
1
+/* Slider */
2
+
3
+.slick-slider {
4
+    position: relative;
5
+    display: block;
6
+    box-sizing: border-box;
7
+    -webkit-touch-callout: none;
8
+    -webkit-user-select: none;
9
+    -khtml-user-select: none;
10
+    -moz-user-select: none;
11
+    -ms-user-select: none;
12
+    user-select: none;
13
+    -ms-touch-action: pan-y;
14
+    touch-action: pan-y;
15
+    -webkit-tap-highlight-color: transparent;
16
+}
17
+.slick-list {
18
+    position: relative;
19
+    overflow: hidden;
20
+    display: block;
21
+    margin: 0;
22
+    padding: 0;
23
+
24
+    &:focus {
25
+        outline: none;
26
+    }
27
+
28
+    &.dragging {
29
+        cursor: pointer;
30
+        cursor: hand;
31
+    }
32
+}
33
+.slick-slider .slick-track,
34
+.slick-slider .slick-list {
35
+    -webkit-transform: translate3d(0, 0, 0);
36
+    -moz-transform: translate3d(0, 0, 0);
37
+    -ms-transform: translate3d(0, 0, 0);
38
+    -o-transform: translate3d(0, 0, 0);
39
+    transform: translate3d(0, 0, 0);
40
+}
41
+
42
+.slick-track {
43
+    position: relative;
44
+    left: 0;
45
+    top: 0;
46
+    display: block;
47
+
48
+    &:before,
49
+    &:after {
50
+        content: "";
51
+        display: table;
52
+    }
53
+
54
+    &:after {
55
+        clear: both;
56
+    }
57
+
58
+    .slick-loading & {
59
+        visibility: hidden;
60
+    }
61
+}
62
+.slick-slide {
63
+    float: left;
64
+    height: 100%;
65
+    min-height: 1px;
66
+    [dir="rtl"] & {
67
+        float: right;
68
+    }
69
+    img {
70
+        display: block;
71
+    }
72
+    &.slick-loading img {
73
+        display: none;
74
+    }
75
+
76
+    display: none;
77
+
78
+    &.dragging img {
79
+        pointer-events: none;
80
+    }
81
+
82
+    .slick-initialized & {
83
+        display: block;
84
+    }
85
+
86
+    .slick-loading & {
87
+        visibility: hidden;
88
+    }
89
+
90
+    .slick-vertical & {
91
+        display: block;
92
+        height: auto;
93
+        border: 1px solid transparent;
94
+    }
95
+}
96
+.slick-arrow.slick-hidden {
97
+    display: none;
98
+}
0 99
new file mode 100644
... ...
@@ -0,0 +1,2892 @@
1
+/*
2
+     _ _      _       _
3
+ ___| (_) ___| | __  (_)___
4
+/ __| | |/ __| |/ /  | / __|
5
+\__ \ | | (__|   < _ | \__ \
6
+|___/_|_|\___|_|\_(_)/ |___/
7
+                   |__/
8
+
9
+ Version: 1.6.0
10
+  Author: Ken Wheeler
11
+ Website: http://kenwheeler.github.io
12
+    Docs: http://kenwheeler.github.io/slick
13
+    Repo: http://github.com/kenwheeler/slick
14
+  Issues: http://github.com/kenwheeler/slick/issues
15
+
16
+ */
17
+/* global window, document, define, jQuery, setInterval, clearInterval */
18
+(function(factory) {
19
+    'use strict';
20
+    if (typeof define === 'function' && define.amd) {
21
+        define(['jquery'], factory);
22
+    } else if (typeof exports !== 'undefined') {
23
+        module.exports = factory(require('jquery'));
24
+    } else {
25
+        factory(jQuery);
26
+    }
27
+
28
+}(function($) {
29
+    'use strict';
30
+    var Slick = window.Slick || {};
31
+
32
+    Slick = (function() {
33
+
34
+        var instanceUid = 0;
35
+
36
+        function Slick(element, settings) {
37
+
38
+            var _ = this, dataSettings;
39
+
40
+            _.defaults = {
41
+                accessibility: true,
42
+                adaptiveHeight: false,
43
+                appendArrows: $(element),
44
+                appendDots: $(element),
45
+                arrows: true,
46
+                asNavFor: null,
47
+                prevArrow: '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',
48
+                nextArrow: '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',
49
+                autoplay: false,
50
+                autoplaySpeed: 3000,
51
+                centerMode: false,
52
+                centerPadding: '50px',
53
+                cssEase: 'ease',
54
+                customPaging: function(slider, i) {
55
+                    return $('<button type="button" data-role="none" role="button" tabindex="0" />').text(i + 1);
56
+                },
57
+                dots: false,
58
+                dotsClass: 'slick-dots',
59
+                draggable: true,
60
+                easing: 'linear',
61
+                edgeFriction: 0.35,
62
+                fade: false,
63
+                focusOnSelect: false,
64
+                infinite: true,
65
+                initialSlide: 0,
66
+                lazyLoad: 'ondemand',
67
+                mobileFirst: false,
68
+                pauseOnHover: true,
69
+                pauseOnFocus: true,
70
+                pauseOnDotsHover: false,
71
+                respondTo: 'window',
72
+                responsive: null,
73
+                rows: 1,
74
+                rtl: false,
75
+                slide: '',
76
+                slidesPerRow: 1,
77
+                slidesToShow: 1,
78
+                slidesToScroll: 1,
79
+                speed: 500,
80
+                swipe: true,
81
+                swipeToSlide: false,
82
+                touchMove: true,
83
+                touchThreshold: 5,
84
+                useCSS: true,
85
+                useTransform: true,
86
+                variableWidth: false,
87
+                vertical: false,
88
+                verticalSwiping: false,
89
+                waitForAnimate: true,
90
+                zIndex: 1000
91
+            };
92
+
93
+            _.initials = {
94
+                animating: false,
95
+                dragging: false,
96
+                autoPlayTimer: null,
97
+                currentDirection: 0,
98
+                currentLeft: null,
99
+                currentSlide: 0,
100
+                direction: 1,
101
+                $dots: null,
102
+                listWidth: null,
103
+                listHeight: null,
104
+                loadIndex: 0,
105
+                $nextArrow: null,
106
+                $prevArrow: null,
107
+                slideCount: null,
108
+                slideWidth: null,
109
+                $slideTrack: null,
110
+                $slides: null,
111
+                sliding: false,
112
+                slideOffset: 0,
113
+                swipeLeft: null,
114
+                $list: null,
115
+                touchObject: {},
116
+                transformsEnabled: false,
117
+                unslicked: false
118
+            };
119
+
120
+            $.extend(_, _.initials);
121
+
122
+            _.activeBreakpoint = null;
123
+            _.animType = null;
124
+            _.animProp = null;
125
+            _.breakpoints = [];
126
+            _.breakpointSettings = [];
127
+            _.cssTransitions = false;
128
+            _.focussed = false;
129
+            _.interrupted = false;
130
+            _.hidden = 'hidden';
131
+            _.paused = true;
132
+            _.positionProp = null;
133
+            _.respondTo = null;
134
+            _.rowCount = 1;
135
+            _.shouldClick = true;
136
+            _.$slider = $(element);
137
+            _.$slidesCache = null;
138
+            _.transformType = null;
139
+            _.transitionType = null;
140
+            _.visibilityChange = 'visibilitychange';
141
+            _.windowWidth = 0;
142
+            _.windowTimer = null;
143
+
144
+            dataSettings = $(element).data('slick') || {};
145
+
146
+            _.options = $.extend({}, _.defaults, settings, dataSettings);
147
+
148
+            _.currentSlide = _.options.initialSlide;
149
+
150
+            _.originalSettings = _.options;
151
+
152
+            if (typeof document.mozHidden !== 'undefined') {
153
+                _.hidden = 'mozHidden';
154
+                _.visibilityChange = 'mozvisibilitychange';
155
+            } else if (typeof document.webkitHidden !== 'undefined') {
156
+                _.hidden = 'webkitHidden';
157
+                _.visibilityChange = 'webkitvisibilitychange';
158
+            }
159
+
160
+            _.autoPlay = $.proxy(_.autoPlay, _);
161
+            _.autoPlayClear = $.proxy(_.autoPlayClear, _);
162
+            _.autoPlayIterator = $.proxy(_.autoPlayIterator, _);
163
+            _.changeSlide = $.proxy(_.changeSlide, _);
164
+            _.clickHandler = $.proxy(_.clickHandler, _);
165
+            _.selectHandler = $.proxy(_.selectHandler, _);
166
+            _.setPosition = $.proxy(_.setPosition, _);
167
+            _.swipeHandler = $.proxy(_.swipeHandler, _);
168
+            _.dragHandler = $.proxy(_.dragHandler, _);
169
+            _.keyHandler = $.proxy(_.keyHandler, _);
170
+
171
+            _.instanceUid = instanceUid++;
172
+
173
+            // A simple way to check for HTML strings
174
+            // Strict HTML recognition (must start with <)
175
+            // Extracted from jQuery v1.11 source
176
+            _.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/;
177
+
178
+
179
+            _.registerBreakpoints();
180
+            _.init(true);
181
+
182
+        }
183
+
184
+        return Slick;
185
+
186
+    }());
187
+
188
+    Slick.prototype.activateADA = function() {
189
+        var _ = this;
190
+
191
+        _.$slideTrack.find('.slick-active').attr({
192
+            'aria-hidden': 'false'
193
+        }).find('a, input, button, select').attr({
194
+            'tabindex': '0'
195
+        });
196
+
197
+    };
198
+
199
+    Slick.prototype.addSlide = Slick.prototype.slickAdd = function(markup, index, addBefore) {
200
+
201
+        var _ = this;
202
+
203
+        if (typeof(index) === 'boolean') {
204
+            addBefore = index;
205
+            index = null;
206
+        } else if (index < 0 || (index >= _.slideCount)) {
207
+            return false;
208
+        }
209
+
210
+        _.unload();
211
+
212
+        if (typeof(index) === 'number') {
213
+            if (index === 0 && _.$slides.length === 0) {
214
+                $(markup).appendTo(_.$slideTrack);
215
+            } else if (addBefore) {
216
+                $(markup).insertBefore(_.$slides.eq(index));
217
+            } else {
218
+                $(markup).insertAfter(_.$slides.eq(index));
219
+            }
220
+        } else {
221
+            if (addBefore === true) {
222
+                $(markup).prependTo(_.$slideTrack);
223
+            } else {
224
+                $(markup).appendTo(_.$slideTrack);
225
+            }
226
+        }
227
+
228
+        _.$slides = _.$slideTrack.children(this.options.slide);
229
+
230
+        _.$slideTrack.children(this.options.slide).detach();
231
+
232
+        _.$slideTrack.append(_.$slides);
233
+
234
+        _.$slides.each(function(index, element) {
235
+            $(element).attr('data-slick-index', index);
236
+        });
237
+
238
+        _.$slidesCache = _.$slides;
239
+
240
+        _.reinit();
241
+
242
+    };
243
+
244
+    Slick.prototype.animateHeight = function() {
245
+        var _ = this;
246
+        if (_.options.slidesToShow === 1 && _.options.adaptiveHeight === true && _.options.vertical === false) {
247
+            var targetHeight = _.$slides.eq(_.currentSlide).outerHeight(true);
248
+            _.$list.animate({
249
+                height: targetHeight
250
+            }, _.options.speed);
251
+        }
252
+    };
253
+
254
+    Slick.prototype.animateSlide = function(targetLeft, callback) {
255
+
256
+        var animProps = {},
257
+            _ = this;
258
+
259
+        _.animateHeight();
260
+
261
+        if (_.options.rtl === true && _.options.vertical === false) {
262
+            targetLeft = -targetLeft;
263
+        }
264
+        if (_.transformsEnabled === false) {
265
+            if (_.options.vertical === false) {
266
+                _.$slideTrack.animate({
267
+                    left: targetLeft
268
+                }, _.options.speed, _.options.easing, callback);
269
+            } else {
270
+                _.$slideTrack.animate({
271
+                    top: targetLeft
272
+                }, _.options.speed, _.options.easing, callback);
273
+            }
274
+
275
+        } else {
276
+
277
+            if (_.cssTransitions === false) {
278
+                if (_.options.rtl === true) {
279
+                    _.currentLeft = -(_.currentLeft);
280
+                }
281
+                $({
282
+                    animStart: _.currentLeft
283
+                }).animate({
284
+                    animStart: targetLeft
285
+                }, {
286
+                    duration: _.options.speed,
287
+                    easing: _.options.easing,
288
+                    step: function(now) {
289
+                        now = Math.ceil(now);
290
+                        if (_.options.vertical === false) {
291
+                            animProps[_.animType] = 'translate(' +
292
+                                now + 'px, 0px)';
293
+                            _.$slideTrack.css(animProps);
294
+                        } else {
295
+                            animProps[_.animType] = 'translate(0px,' +
296
+                                now + 'px)';
297
+                            _.$slideTrack.css(animProps);
298
+                        }
299
+                    },
300
+                    complete: function() {
301
+                        if (callback) {
302
+                            callback.call();
303
+                        }
304
+                    }
305
+                });
306
+
307
+            } else {
308
+
309
+                _.applyTransition();
310
+                targetLeft = Math.ceil(targetLeft);
311
+
312
+                if (_.options.vertical === false) {
313
+                    animProps[_.animType] = 'translate3d(' + targetLeft + 'px, 0px, 0px)';
314
+                } else {
315
+                    animProps[_.animType] = 'translate3d(0px,' + targetLeft + 'px, 0px)';
316
+                }
317
+                _.$slideTrack.css(animProps);
318
+
319
+                if (callback) {
320
+                    setTimeout(function() {
321
+
322
+                        _.disableTransition();
323
+
324
+                        callback.call();
325
+                    }, _.options.speed);
326
+                }
327
+
328
+            }
329
+
330
+        }
331
+
332
+    };
333
+
334
+    Slick.prototype.getNavTarget = function() {
335
+
336
+        var _ = this,
337
+            asNavFor = _.options.asNavFor;
338
+
339
+        if ( asNavFor && asNavFor !== null ) {
340
+            asNavFor = $(asNavFor).not(_.$slider);
341
+        }
342
+
343
+        return asNavFor;
344
+
345
+    };
346
+
347
+    Slick.prototype.asNavFor = function(index) {
348
+
349
+        var _ = this,
350
+            asNavFor = _.getNavTarget();
351
+
352
+        if ( asNavFor !== null && typeof asNavFor === 'object' ) {
353
+            asNavFor.each(function() {
354
+                var target = $(this).slick('getSlick');
355
+                if(!target.unslicked) {
356
+                    target.slideHandler(index, true);
357
+                }
358
+            });
359
+        }
360
+
361
+    };
362
+
363
+    Slick.prototype.applyTransition = function(slide) {
364
+
365
+        var _ = this,
366
+            transition = {};
367
+
368
+        if (_.options.fade === false) {
369
+            transition[_.transitionType] = _.transformType + ' ' + _.options.speed + 'ms ' + _.options.cssEase;
370
+        } else {
371
+            transition[_.transitionType] = 'opacity ' + _.options.speed + 'ms ' + _.options.cssEase;
372
+        }
373
+
374
+        if (_.options.fade === false) {
375
+            _.$slideTrack.css(transition);
376
+        } else {
377
+            _.$slides.eq(slide).css(transition);
378
+        }
379
+
380
+    };
381
+
382
+    Slick.prototype.autoPlay = function() {
383
+
384
+        var _ = this;
385
+
386
+        _.autoPlayClear();
387
+
388
+        if ( _.slideCount > _.options.slidesToShow ) {
389
+            _.autoPlayTimer = setInterval( _.autoPlayIterator, _.options.autoplaySpeed );
390
+        }
391
+
392
+    };
393
+
394
+    Slick.prototype.autoPlayClear = function() {
395
+
396
+        var _ = this;
397
+
398
+        if (_.autoPlayTimer) {
399
+            clearInterval(_.autoPlayTimer);
400
+        }
401
+
402
+    };
403
+
404
+    Slick.prototype.autoPlayIterator = function() {
405
+
406
+        var _ = this,
407
+            slideTo = _.currentSlide + _.options.slidesToScroll;
408
+
409
+        if ( !_.paused && !_.interrupted && !_.focussed ) {
410
+
411
+            if ( _.options.infinite === false ) {
412
+
413
+                if ( _.direction === 1 && ( _.currentSlide + 1 ) === ( _.slideCount - 1 )) {
414
+                    _.direction = 0;
415
+                }
416
+
417
+                else if ( _.direction === 0 ) {
418
+
419
+                    slideTo = _.currentSlide - _.options.slidesToScroll;
420
+
421
+                    if ( _.currentSlide - 1 === 0 ) {
422
+                        _.direction = 1;
423
+                    }
424
+
425
+                }
426
+
427
+            }
428
+
429
+            _.slideHandler( slideTo );
430
+
431
+        }
432
+
433
+    };
434
+
435
+    Slick.prototype.buildArrows = function() {
436
+
437
+        var _ = this;
438
+
439
+        if (_.options.arrows === true ) {
440
+
441
+            _.$prevArrow = $(_.options.prevArrow).addClass('slick-arrow');
442
+            _.$nextArrow = $(_.options.nextArrow).addClass('slick-arrow');
443
+
444
+            if( _.slideCount > _.options.slidesToShow ) {
445
+
446
+                _.$prevArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');
447
+                _.$nextArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');
448
+
449
+                if (_.htmlExpr.test(_.options.prevArrow)) {
450
+                    _.$prevArrow.prependTo(_.options.appendArrows);
451
+                }
452
+
453
+                if (_.htmlExpr.test(_.options.nextArrow)) {
454
+                    _.$nextArrow.appendTo(_.options.appendArrows);
455
+                }
456
+
457
+                if (_.options.infinite !== true) {
458
+                    _.$prevArrow
459
+                        .addClass('slick-disabled')
460
+                        .attr('aria-disabled', 'true');
461
+                }
462
+
463
+            } else {
464
+
465
+                _.$prevArrow.add( _.$nextArrow )
466
+
467
+                    .addClass('slick-hidden')
468
+                    .attr({
469
+                        'aria-disabled': 'true',
470
+                        'tabindex': '-1'
471
+                    });
472
+
473
+            }
474
+
475
+        }
476
+
477
+    };
478
+
479
+    Slick.prototype.buildDots = function() {
480
+
481
+        var _ = this,
482
+            i, dot;
483
+
484
+        if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {
485
+
486
+            _.$slider.addClass('slick-dotted');
487
+
488
+            dot = $('<ul />').addClass(_.options.dotsClass);
489
+
490
+            for (i = 0; i <= _.getDotCount(); i += 1) {
491
+                dot.append($('<li />').append(_.options.customPaging.call(this, _, i)));
492
+            }
493
+
494
+            _.$dots = dot.appendTo(_.options.appendDots);
495
+
496
+            _.$dots.find('li').first().addClass('slick-active').attr('aria-hidden', 'false');
497
+
498
+        }
499
+
500
+    };
501
+
502
+    Slick.prototype.buildOut = function() {
503
+
504
+        var _ = this;
505
+
506
+        _.$slides =
507
+            _.$slider
508
+                .children( _.options.slide + ':not(.slick-cloned)')
509
+                .addClass('slick-slide');
510
+
511
+        _.slideCount = _.$slides.length;
512
+
513
+        _.$slides.each(function(index, element) {
514
+            $(element)
515
+                .attr('data-slick-index', index)
516
+                .data('originalStyling', $(element).attr('style') || '');
517
+        });
518
+
519
+        _.$slider.addClass('slick-slider');
520
+
521
+        _.$slideTrack = (_.slideCount === 0) ?
522
+            $('<div class="slick-track"/>').appendTo(_.$slider) :
523
+            _.$slides.wrapAll('<div class="slick-track"/>').parent();
524
+
525
+        _.$list = _.$slideTrack.wrap(
526
+            '<div aria-live="polite" class="slick-list"/>').parent();
527
+        _.$slideTrack.css('opacity', 0);
528
+
529
+        if (_.options.centerMode === true || _.options.swipeToSlide === true) {
530
+            _.options.slidesToScroll = 1;
531
+        }
532
+
533
+        $('img[data-lazy]', _.$slider).not('[src]').addClass('slick-loading');
534
+
535
+        _.setupInfinite();
536
+
537
+        _.buildArrows();
538
+
539
+        _.buildDots();
540
+
541
+        _.updateDots();
542
+
543
+
544
+        _.setSlideClasses(typeof _.currentSlide === 'number' ? _.currentSlide : 0);
545
+
546
+        if (_.options.draggable === true) {
547
+            _.$list.addClass('draggable');
548
+        }
549
+
550
+    };
551
+
552
+    Slick.prototype.buildRows = function() {
553
+
554
+        var _ = this, a, b, c, newSlides, numOfSlides, originalSlides,slidesPerSection;
555
+
556
+        newSlides = document.createDocumentFragment();
557
+        originalSlides = _.$slider.children();
558
+
559
+        if(_.options.rows > 1) {
560
+
561
+            slidesPerSection = _.options.slidesPerRow * _.options.rows;
562
+            numOfSlides = Math.ceil(
563
+                originalSlides.length / slidesPerSection
564
+            );
565
+
566
+            for(a = 0; a < numOfSlides; a++){
567
+                var slide = document.createElement('div');
568
+                for(b = 0; b < _.options.rows; b++) {
569
+                    var row = document.createElement('div');
570
+                    for(c = 0; c < _.options.slidesPerRow; c++) {
571
+                        var target = (a * slidesPerSection + ((b * _.options.slidesPerRow) + c));
572
+                        if (originalSlides.get(target)) {
573
+                            row.appendChild(originalSlides.get(target));
574
+                        }
575
+                    }
576
+                    slide.appendChild(row);
577
+                }
578
+                newSlides.appendChild(slide);
579
+            }
580
+
581
+            _.$slider.empty().append(newSlides);
582
+            _.$slider.children().children().children()
583
+                .css({
584
+                    'width':(100 / _.options.slidesPerRow) + '%',
585
+                    'display': 'inline-block'
586
+                });
587
+
588
+        }
589
+
590
+    };
591
+
592
+    Slick.prototype.checkResponsive = function(initial, forceUpdate) {
593
+
594
+        var _ = this,
595
+            breakpoint, targetBreakpoint, respondToWidth, triggerBreakpoint = false;
596
+        var sliderWidth = _.$slider.width();
597
+        var windowWidth = window.innerWidth || $(window).width();
598
+
599
+        if (_.respondTo === 'window') {
600
+            respondToWidth = windowWidth;
601
+        } else if (_.respondTo === 'slider') {
602
+            respondToWidth = sliderWidth;
603
+        } else if (_.respondTo === 'min') {
604
+            respondToWidth = Math.min(windowWidth, sliderWidth);
605
+        }
606
+
607
+        if ( _.options.responsive &&
608
+            _.options.responsive.length &&
609
+            _.options.responsive !== null) {
610
+
611
+            targetBreakpoint = null;
612
+
613
+            for (breakpoint in _.breakpoints) {
614
+                if (_.breakpoints.hasOwnProperty(breakpoint)) {
615
+                    if (_.originalSettings.mobileFirst === false) {
616
+                        if (respondToWidth < _.breakpoints[breakpoint]) {
617
+                            targetBreakpoint = _.breakpoints[breakpoint];
618
+                        }
619
+                    } else {
620
+                        if (respondToWidth > _.breakpoints[breakpoint]) {
621
+                            targetBreakpoint = _.breakpoints[breakpoint];
622
+                        }
623
+                    }
624
+                }
625
+            }
626
+
627
+            if (targetBreakpoint !== null) {
628
+                if (_.activeBreakpoint !== null) {
629
+                    if (targetBreakpoint !== _.activeBreakpoint || forceUpdate) {
630
+                        _.activeBreakpoint =
631
+                            targetBreakpoint;
632
+                        if (_.breakpointSettings[targetBreakpoint] === 'unslick') {
633
+                            _.unslick(targetBreakpoint);
634
+                        } else {
635
+                            _.options = $.extend({}, _.originalSettings,
636
+                                _.breakpointSettings[
637
+                                    targetBreakpoint]);
638
+                            if (initial === true) {
639
+                                _.currentSlide = _.options.initialSlide;
640
+                            }
641
+                            _.refresh(initial);
642
+                        }
643
+                        triggerBreakpoint = targetBreakpoint;
644
+                    }
645
+                } else {
646
+                    _.activeBreakpoint = targetBreakpoint;
647
+                    if (_.breakpointSettings[targetBreakpoint] === 'unslick') {
648
+                        _.unslick(targetBreakpoint);
649
+                    } else {
650
+                        _.options = $.extend({}, _.originalSettings,
651
+                            _.breakpointSettings[
652
+                                targetBreakpoint]);
653
+                        if (initial === true) {
654
+                            _.currentSlide = _.options.initialSlide;
655
+                        }
656
+                        _.refresh(initial);
657
+                    }
658
+                    triggerBreakpoint = targetBreakpoint;
659
+                }
660
+            } else {
661
+                if (_.activeBreakpoint !== null) {
662
+                    _.activeBreakpoint = null;
663
+                    _.options = _.originalSettings;
664
+                    if (initial === true) {
665
+                        _.currentSlide = _.options.initialSlide;
666
+                    }
667
+                    _.refresh(initial);
668
+                    triggerBreakpoint = targetBreakpoint;
669
+                }
670
+            }
671
+
672
+            // only trigger breakpoints during an actual break. not on initialize.
673
+            if( !initial && triggerBreakpoint !== false ) {
674
+                _.$slider.trigger('breakpoint', [_, triggerBreakpoint]);
675
+            }
676
+        }
677
+
678
+    };
679
+
680
+    Slick.prototype.changeSlide = function(event, dontAnimate) {
681
+
682
+        var _ = this,
683
+            $target = $(event.currentTarget),
684
+            indexOffset, slideOffset, unevenOffset;
685
+
686
+        // If target is a link, prevent default action.
687
+        if($target.is('a')) {
688
+            event.preventDefault();
689
+        }
690
+
691
+        // If target is not the <li> element (ie: a child), find the <li>.
692
+        if(!$target.is('li')) {
693
+            $target = $target.closest('li');
694
+        }
695
+
696
+        unevenOffset = (_.slideCount % _.options.slidesToScroll !== 0);
697
+        indexOffset = unevenOffset ? 0 : (_.slideCount - _.currentSlide) % _.options.slidesToScroll;
698
+
699
+        switch (event.data.message) {
700
+
701
+            case 'previous':
702
+                slideOffset = indexOffset === 0 ? _.options.slidesToScroll : _.options.slidesToShow - indexOffset;
703
+                if (_.slideCount > _.options.slidesToShow) {
704
+                    _.slideHandler(_.currentSlide - slideOffset, false, dontAnimate);
705
+                }
706
+                break;
707
+
708
+            case 'next':
709
+                slideOffset = indexOffset === 0 ? _.options.slidesToScroll : indexOffset;
710
+                if (_.slideCount > _.options.slidesToShow) {
711
+                    _.slideHandler(_.currentSlide + slideOffset, false, dontAnimate);
712
+                }
713
+                break;
714
+
715
+            case 'index':
716
+                var index = event.data.index === 0 ? 0 :
717
+                    event.data.index || $target.index() * _.options.slidesToScroll;
718
+
719
+                _.slideHandler(_.checkNavigable(index), false, dontAnimate);
720
+                $target.children().trigger('focus');
721
+                break;
722
+
723
+            default:
724
+                return;
725
+        }
726
+
727
+    };
728
+
729
+    Slick.prototype.checkNavigable = function(index) {
730
+
731
+        var _ = this,
732
+            navigables, prevNavigable;
733
+
734
+        navigables = _.getNavigableIndexes();
735
+        prevNavigable = 0;
736
+        if (index > navigables[navigables.length - 1]) {
737
+            index = navigables[navigables.length - 1];
738
+        } else {
739
+            for (var n in navigables) {
740
+                if (index < navigables[n]) {
741
+                    index = prevNavigable;
742
+                    break;
743
+                }
744
+                prevNavigable = navigables[n];
745
+            }
746
+        }
747
+
748
+        return index;
749
+    };
750
+
751
+    Slick.prototype.cleanUpEvents = function() {
752
+
753
+        var _ = this;
754
+
755
+        if (_.options.dots && _.$dots !== null) {
756
+
757
+            $('li', _.$dots)
758
+                .off('click.slick', _.changeSlide)
759
+                .off('mouseenter.slick', $.proxy(_.interrupt, _, true))
760
+                .off('mouseleave.slick', $.proxy(_.interrupt, _, false));
761
+
762
+        }
763
+
764
+        _.$slider.off('focus.slick blur.slick');
765
+
766
+        if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {
767
+            _.$prevArrow && _.$prevArrow.off('click.slick', _.changeSlide);
768
+            _.$nextArrow && _.$nextArrow.off('click.slick', _.changeSlide);
769
+        }
770
+
771
+        _.$list.off('touchstart.slick mousedown.slick', _.swipeHandler);
772
+        _.$list.off('touchmove.slick mousemove.slick', _.swipeHandler);
773
+        _.$list.off('touchend.slick mouseup.slick', _.swipeHandler);
774
+        _.$list.off('touchcancel.slick mouseleave.slick', _.swipeHandler);
775
+
776
+        _.$list.off('click.slick', _.clickHandler);
777
+
778
+        $(document).off(_.visibilityChange, _.visibility);
779
+
780
+        _.cleanUpSlideEvents();
781
+
782
+        if (_.options.accessibility === true) {
783
+            _.$list.off('keydown.slick', _.keyHandler);
784
+        }
785
+
786
+        if (_.options.focusOnSelect === true) {
787
+            $(_.$slideTrack).children().off('click.slick', _.selectHandler);
788
+        }
789
+
790
+        $(window).off('orientationchange.slick.slick-' + _.instanceUid, _.orientationChange);
791
+
792
+        $(window).off('resize.slick.slick-' + _.instanceUid, _.resize);
793
+
794
+        $('[draggable!=true]', _.$slideTrack).off('dragstart', _.preventDefault);
795
+
796
+        $(window).off('load.slick.slick-' + _.instanceUid, _.setPosition);
797
+        $(document).off('ready.slick.slick-' + _.instanceUid, _.setPosition);
798
+
799
+    };
800
+
801
+    Slick.prototype.cleanUpSlideEvents = function() {
802
+
803
+        var _ = this;
804
+
805
+        _.$list.off('mouseenter.slick', $.proxy(_.interrupt, _, true));
806
+        _.$list.off('mouseleave.slick', $.proxy(_.interrupt, _, false));
807
+
808
+    };
809
+
810
+    Slick.prototype.cleanUpRows = function() {
811
+
812
+        var _ = this, originalSlides;
813
+
814
+        if(_.options.rows > 1) {
815
+            originalSlides = _.$slides.children().children();
816
+            originalSlides.removeAttr('style');
817
+            _.$slider.empty().append(originalSlides);
818
+        }
819
+
820
+    };
821
+
822
+    Slick.prototype.clickHandler = function(event) {
823
+
824
+        var _ = this;
825
+
826
+        if (_.shouldClick === false) {
827
+            event.stopImmediatePropagation();
828
+            event.stopPropagation();
829
+            event.preventDefault();
830
+        }
831
+
832
+    };
833
+
834
+    Slick.prototype.destroy = function(refresh) {
835
+
836
+        var _ = this;
837
+
838
+        _.autoPlayClear();
839
+
840
+        _.touchObject = {};
841
+
842
+        _.cleanUpEvents();
843
+
844
+        $('.slick-cloned', _.$slider).detach();
845
+
846
+        if (_.$dots) {
847
+            _.$dots.remove();
848
+        }
849
+
850
+
851
+        if ( _.$prevArrow && _.$prevArrow.length ) {
852
+
853
+            _.$prevArrow
854
+                .removeClass('slick-disabled slick-arrow slick-hidden')
855
+                .removeAttr('aria-hidden aria-disabled tabindex')
856
+                .css('display','');
857
+
858
+            if ( _.htmlExpr.test( _.options.prevArrow )) {
859
+                _.$prevArrow.remove();
860
+            }
861
+        }
862
+
863
+        if ( _.$nextArrow && _.$nextArrow.length ) {
864
+
865
+            _.$nextArrow
866
+                .removeClass('slick-disabled slick-arrow slick-hidden')
867
+                .removeAttr('aria-hidden aria-disabled tabindex')
868
+                .css('display','');
869
+
870
+            if ( _.htmlExpr.test( _.options.nextArrow )) {
871
+                _.$nextArrow.remove();
872
+            }
873
+
874
+        }
875
+
876
+
877
+        if (_.$slides) {
878
+
879
+            _.$slides
880
+                .removeClass('slick-slide slick-active slick-center slick-visible slick-current')
881
+                .removeAttr('aria-hidden')
882
+                .removeAttr('data-slick-index')
883
+                .each(function(){
884
+                    $(this).attr('style', $(this).data('originalStyling'));
885
+                });
886
+
887
+            _.$slideTrack.children(this.options.slide).detach();
888
+
889
+            _.$slideTrack.detach();
890
+
891
+            _.$list.detach();
892
+
893
+            _.$slider.append(_.$slides);
894
+        }
895
+
896
+        _.cleanUpRows();
897
+
898
+        _.$slider.removeClass('slick-slider');
899
+        _.$slider.removeClass('slick-initialized');
900
+        _.$slider.removeClass('slick-dotted');
901
+
902
+        _.unslicked = true;
903
+
904
+        if(!refresh) {
905
+            _.$slider.trigger('destroy', [_]);
906
+        }
907
+
908
+    };
909
+
910
+    Slick.prototype.disableTransition = function(slide) {
911
+
912
+        var _ = this,
913
+            transition = {};
914
+
915
+        transition[_.transitionType] = '';
916
+
917
+        if (_.options.fade === false) {
918
+            _.$slideTrack.css(transition);
919
+        } else {
920
+            _.$slides.eq(slide).css(transition);
921
+        }
922
+
923
+    };
924
+
925
+    Slick.prototype.fadeSlide = function(slideIndex, callback) {
926
+
927
+        var _ = this;
928
+
929
+        if (_.cssTransitions === false) {
930
+
931
+            _.$slides.eq(slideIndex).css({
932
+                zIndex: _.options.zIndex
933
+            });
934
+
935
+            _.$slides.eq(slideIndex).animate({
936
+                opacity: 1
937
+            }, _.options.speed, _.options.easing, callback);
938
+
939
+        } else {
940
+
941
+            _.applyTransition(slideIndex);
942
+
943
+            _.$slides.eq(slideIndex).css({
944
+                opacity: 1,
945
+                zIndex: _.options.zIndex
946
+            });
947
+
948
+            if (callback) {
949
+                setTimeout(function() {
950
+
951
+                    _.disableTransition(slideIndex);
952
+
953
+                    callback.call();
954
+                }, _.options.speed);
955
+            }
956
+
957
+        }
958
+
959
+    };
960
+
961
+    Slick.prototype.fadeSlideOut = function(slideIndex) {
962
+
963
+        var _ = this;
964
+
965
+        if (_.cssTransitions === false) {
966
+
967
+            _.$slides.eq(slideIndex).animate({
968
+                opacity: 0,
969
+                zIndex: _.options.zIndex - 2
970
+            }, _.options.speed, _.options.easing);
971
+
972
+        } else {
973
+
974
+            _.applyTransition(slideIndex);
975
+
976
+            _.$slides.eq(slideIndex).css({
977
+                opacity: 0,
978
+                zIndex: _.options.zIndex - 2
979
+            });
980
+
981
+        }
982
+
983
+    };
984
+
985
+    Slick.prototype.filterSlides = Slick.prototype.slickFilter = function(filter) {
986
+
987
+        var _ = this;
988
+
989
+        if (filter !== null) {
990
+
991
+            _.$slidesCache = _.$slides;
992
+
993
+            _.unload();
994
+
995
+            _.$slideTrack.children(this.options.slide).detach();
996
+
997
+            _.$slidesCache.filter(filter).appendTo(_.$slideTrack);
998
+
999
+            _.reinit();
1000
+
1001
+        }
1002
+
1003
+    };
1004
+
1005
+    Slick.prototype.focusHandler = function() {
1006
+
1007
+        var _ = this;
1008
+
1009
+        _.$slider
1010
+            .off('focus.slick blur.slick')
1011
+            .on('focus.slick blur.slick',
1012
+                '*:not(.slick-arrow)', function(event) {
1013
+
1014
+            event.stopImmediatePropagation();
1015
+            var $sf = $(this);
1016
+
1017
+            setTimeout(function() {
1018
+
1019
+                if( _.options.pauseOnFocus ) {
1020
+                    _.focussed = $sf.is(':focus');
1021
+                    _.autoPlay();
1022
+                }
1023
+
1024
+            }, 0);
1025
+
1026
+        });
1027
+    };
1028
+
1029
+    Slick.prototype.getCurrent = Slick.prototype.slickCurrentSlide = function() {
1030
+
1031
+        var _ = this;
1032
+        return _.currentSlide;
1033
+
1034
+    };
1035
+
1036
+    Slick.prototype.getDotCount = function() {
1037
+
1038
+        var _ = this;
1039
+
1040
+        var breakPoint = 0;
1041
+        var counter = 0;
1042
+        var pagerQty = 0;
1043
+
1044
+        if (_.options.infinite === true) {
1045
+            while (breakPoint < _.slideCount) {
1046
+                ++pagerQty;
1047
+                breakPoint = counter + _.options.slidesToScroll;
1048
+                counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;
1049
+            }
1050
+        } else if (_.options.centerMode === true) {
1051
+            pagerQty = _.slideCount;
1052
+        } else if(!_.options.asNavFor) {
1053
+            pagerQty = 1 + Math.ceil((_.slideCount - _.options.slidesToShow) / _.options.slidesToScroll);
1054
+        }else {
1055
+            while (breakPoint < _.slideCount) {
1056
+                ++pagerQty;
1057
+                breakPoint = counter + _.options.slidesToScroll;
1058
+                counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;
1059
+            }
1060
+        }
1061
+
1062
+        return pagerQty - 1;
1063
+
1064
+    };
1065
+
1066
+    Slick.prototype.getLeft = function(slideIndex) {
1067
+
1068
+        var _ = this,
1069
+            targetLeft,
1070
+            verticalHeight,
1071
+            verticalOffset = 0,
1072
+            targetSlide;
1073
+
1074
+        _.slideOffset = 0;
1075
+        verticalHeight = _.$slides.first().outerHeight(true);
1076
+
1077
+        if (_.options.infinite === true) {
1078
+            if (_.slideCount > _.options.slidesToShow) {
1079
+                _.slideOffset = (_.slideWidth * _.options.slidesToShow) * -1;
1080
+                verticalOffset = (verticalHeight * _.options.slidesToShow) * -1;
1081
+            }
1082
+            if (_.slideCount % _.options.slidesToScroll !== 0) {
1083
+                if (slideIndex + _.options.slidesToScroll > _.slideCount && _.slideCount > _.options.slidesToShow) {
1084
+                    if (slideIndex > _.slideCount) {
1085
+                        _.slideOffset = ((_.options.slidesToShow - (slideIndex - _.slideCount)) * _.slideWidth) * -1;
1086
+                        verticalOffset = ((_.options.slidesToShow - (slideIndex - _.slideCount)) * verticalHeight) * -1;
1087
+                    } else {
1088
+                        _.slideOffset = ((_.slideCount % _.options.slidesToScroll) * _.slideWidth) * -1;
1089
+                        verticalOffset = ((_.slideCount % _.options.slidesToScroll) * verticalHeight) * -1;
1090
+                    }
1091
+                }
1092
+            }
1093
+        } else {
1094
+            if (slideIndex + _.options.slidesToShow > _.slideCount) {
1095
+                _.slideOffset = ((slideIndex + _.options.slidesToShow) - _.slideCount) * _.slideWidth;
1096
+                verticalOffset = ((slideIndex + _.options.slidesToShow) - _.slideCount) * verticalHeight;
1097
+            }
1098
+        }
1099
+
1100
+        if (_.slideCount <= _.options.slidesToShow) {
1101
+            _.slideOffset = 0;
1102
+            verticalOffset = 0;
1103
+        }
1104
+
1105
+        if (_.options.centerMode === true && _.options.infinite === true) {
1106
+            _.slideOffset += _.slideWidth * Math.floor(_.options.slidesToShow / 2) - _.slideWidth;
1107
+        } else if (_.options.centerMode === true) {
1108
+            _.slideOffset = 0;
1109
+            _.slideOffset += _.slideWidth * Math.floor(_.options.slidesToShow / 2);
1110
+        }
1111
+
1112
+        if (_.options.vertical === false) {
1113
+            targetLeft = ((slideIndex * _.slideWidth) * -1) + _.slideOffset;
1114
+        } else {
1115
+            targetLeft = ((slideIndex * verticalHeight) * -1) + verticalOffset;
1116
+        }
1117
+
1118
+        if (_.options.variableWidth === true) {
1119
+
1120
+            if (_.slideCount <= _.options.slidesToShow || _.options.infinite === false) {
1121
+                targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex);
1122
+            } else {
1123
+                targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex + _.options.slidesToShow);
1124
+            }
1125
+
1126
+            if (_.options.rtl === true) {
1127
+                if (targetSlide[0]) {
1128
+                    targetLeft = (_.$slideTrack.width() - targetSlide[0].offsetLeft - targetSlide.width()) * -1;
1129
+                } else {
1130
+                    targetLeft =  0;
1131
+                }
1132
+            } else {
1133
+                targetLeft = targetSlide[0] ? targetSlide[0].offsetLeft * -1 : 0;
1134
+            }
1135
+
1136
+            if (_.options.centerMode === true) {
1137
+                if (_.slideCount <= _.options.slidesToShow || _.options.infinite === false) {
1138
+                    targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex);
1139
+                } else {
1140
+                    targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex + _.options.slidesToShow + 1);
1141
+                }
1142
+
1143
+                if (_.options.rtl === true) {
1144
+                    if (targetSlide[0]) {
1145
+                        targetLeft = (_.$slideTrack.width() - targetSlide[0].offsetLeft - targetSlide.width()) * -1;
1146
+                    } else {
1147
+                        targetLeft =  0;
1148
+                    }
1149
+                } else {
1150
+                    targetLeft = targetSlide[0] ? targetSlide[0].offsetLeft * -1 : 0;
1151
+                }
1152
+
1153
+                targetLeft += (_.$list.width() - targetSlide.outerWidth()) / 2;
1154
+            }
1155
+        }
1156
+
1157
+        return targetLeft;
1158
+
1159
+    };
1160
+
1161
+    Slick.prototype.getOption = Slick.prototype.slickGetOption = function(option) {
1162
+
1163
+        var _ = this;
1164
+
1165
+        return _.options[option];
1166
+
1167
+    };
1168
+
1169
+    Slick.prototype.getNavigableIndexes = function() {
1170
+
1171
+        var _ = this,
1172
+            breakPoint = 0,
1173
+            counter = 0,
1174
+            indexes = [],
1175
+            max;
1176
+
1177
+        if (_.options.infinite === false) {
1178
+            max = _.slideCount;
1179
+        } else {
1180
+            breakPoint = _.options.slidesToScroll * -1;
1181
+            counter = _.options.slidesToScroll * -1;
1182
+            max = _.slideCount * 2;
1183
+        }
1184
+
1185
+        while (breakPoint < max) {
1186
+            indexes.push(breakPoint);
1187
+            breakPoint = counter + _.options.slidesToScroll;
1188
+            counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;
1189
+        }
1190
+
1191
+        return indexes;
1192
+
1193
+    };
1194
+
1195
+    Slick.prototype.getSlick = function() {
1196
+
1197
+        return this;
1198
+
1199
+    };
1200
+
1201
+    Slick.prototype.getSlideCount = function() {
1202
+
1203
+        var _ = this,
1204
+            slidesTraversed, swipedSlide, centerOffset;
1205
+
1206
+        centerOffset = _.options.centerMode === true ? _.slideWidth * Math.floor(_.options.slidesToShow / 2) : 0;
1207
+
1208
+        if (_.options.swipeToSlide === true) {
1209
+            _.$slideTrack.find('.slick-slide').each(function(index, slide) {
1210
+                if (slide.offsetLeft - centerOffset + ($(slide).outerWidth() / 2) > (_.swipeLeft * -1)) {
1211
+                    swipedSlide = slide;
1212
+                    return false;
1213
+                }
1214
+            });
1215
+
1216
+            slidesTraversed = Math.abs($(swipedSlide).attr('data-slick-index') - _.currentSlide) || 1;
1217
+
1218
+            return slidesTraversed;
1219
+
1220
+        } else {
1221
+            return _.options.slidesToScroll;
1222
+        }
1223
+
1224
+    };
1225
+
1226
+    Slick.prototype.goTo = Slick.prototype.slickGoTo = function(slide, dontAnimate) {
1227
+
1228
+        var _ = this;
1229
+
1230
+        _.changeSlide({
1231
+            data: {
1232
+                message: 'index',
1233
+                index: parseInt(slide)
1234
+            }
1235
+        }, dontAnimate);
1236
+
1237
+    };
1238
+
1239
+    Slick.prototype.init = function(creation) {
1240
+
1241
+        var _ = this;
1242
+
1243
+        if (!$(_.$slider).hasClass('slick-initialized')) {
1244
+
1245
+            $(_.$slider).addClass('slick-initialized');
1246
+
1247
+            _.buildRows();
1248
+            _.buildOut();
1249
+            _.setProps();
1250
+            _.startLoad();
1251
+            _.loadSlider();
1252
+            _.initializeEvents();
1253
+            _.updateArrows();
1254
+            _.updateDots();
1255
+            _.checkResponsive(true);
1256
+            _.focusHandler();
1257
+
1258
+        }
1259
+
1260
+        if (creation) {
1261
+            _.$slider.trigger('init', [_]);
1262
+        }
1263
+
1264
+        if (_.options.accessibility === true) {
1265
+            _.initADA();
1266
+        }
1267
+
1268
+        if ( _.options.autoplay ) {
1269
+
1270
+            _.paused = false;
1271
+            _.autoPlay();
1272
+
1273
+        }
1274
+
1275
+    };
1276
+
1277
+    Slick.prototype.initADA = function() {
1278
+        var _ = this;
1279
+        _.$slides.add(_.$slideTrack.find('.slick-cloned')).attr({
1280
+            'aria-hidden': 'true',
1281
+            'tabindex': '-1'
1282
+        }).find('a, input, button, select').attr({
1283
+            'tabindex': '-1'
1284
+        });
1285
+
1286
+        _.$slideTrack.attr('role', 'listbox');
1287
+
1288
+        _.$slides.not(_.$slideTrack.find('.slick-cloned')).each(function(i) {
1289
+            $(this).attr({
1290
+                'role': 'option',
1291
+                'aria-describedby': 'slick-slide' + _.instanceUid + i + ''
1292
+            });
1293
+        });
1294
+
1295
+        if (_.$dots !== null) {
1296
+            _.$dots.attr('role', 'tablist').find('li').each(function(i) {
1297
+                $(this).attr({
1298
+                    'role': 'presentation',
1299
+                    'aria-selected': 'false',
1300
+                    'aria-controls': 'navigation' + _.instanceUid + i + '',
1301
+                    'id': 'slick-slide' + _.instanceUid + i + ''
1302
+                });
1303
+            })
1304
+                .first().attr('aria-selected', 'true').end()
1305
+                .find('button').attr('role', 'button').end()
1306
+                .closest('div').attr('role', 'toolbar');
1307
+        }
1308
+        _.activateADA();
1309
+
1310
+    };
1311
+
1312
+    Slick.prototype.initArrowEvents = function() {
1313
+
1314
+        var _ = this;
1315
+
1316
+        if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {
1317
+            _.$prevArrow
1318
+               .off('click.slick')
1319
+               .on('click.slick', {
1320
+                    message: 'previous'
1321
+               }, _.changeSlide);
1322
+            _.$nextArrow
1323
+               .off('click.slick')
1324
+               .on('click.slick', {
1325
+                    message: 'next'
1326
+               }, _.changeSlide);
1327
+        }
1328
+
1329
+    };
1330
+
1331
+    Slick.prototype.initDotEvents = function() {
1332
+
1333
+        var _ = this;
1334
+
1335
+        if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {
1336
+            $('li', _.$dots).on('click.slick', {
1337
+                message: 'index'
1338
+            }, _.changeSlide);
1339
+        }
1340
+
1341
+        if ( _.options.dots === true && _.options.pauseOnDotsHover === true ) {
1342
+
1343
+            $('li', _.$dots)
1344
+                .on('mouseenter.slick', $.proxy(_.interrupt, _, true))
1345
+                .on('mouseleave.slick', $.proxy(_.interrupt, _, false));
1346
+
1347
+        }
1348
+
1349
+    };
1350
+
1351
+    Slick.prototype.initSlideEvents = function() {
1352
+
1353
+        var _ = this;
1354
+
1355
+        if ( _.options.pauseOnHover ) {
1356
+
1357
+            _.$list.on('mouseenter.slick', $.proxy(_.interrupt, _, true));
1358
+            _.$list.on('mouseleave.slick', $.proxy(_.interrupt, _, false));
1359
+
1360
+        }
1361
+
1362
+    };
1363
+
1364
+    Slick.prototype.initializeEvents = function() {
1365
+
1366
+        var _ = this;
1367
+
1368
+        _.initArrowEvents();
1369
+
1370
+        _.initDotEvents();
1371
+        _.initSlideEvents();
1372
+
1373
+        _.$list.on('touchstart.slick mousedown.slick', {
1374
+            action: 'start'
1375
+        }, _.swipeHandler);
1376
+        _.$list.on('touchmove.slick mousemove.slick', {
1377
+            action: 'move'
1378
+        }, _.swipeHandler);
1379
+        _.$list.on('touchend.slick mouseup.slick', {
1380
+            action: 'end'
1381
+        }, _.swipeHandler);
1382
+        _.$list.on('touchcancel.slick mouseleave.slick', {
1383
+            action: 'end'
1384
+        }, _.swipeHandler);
1385
+
1386
+        _.$list.on('click.slick', _.clickHandler);
1387
+
1388
+        $(document).on(_.visibilityChange, $.proxy(_.visibility, _));
1389
+
1390
+        if (_.options.accessibility === true) {
1391
+            _.$list.on('keydown.slick', _.keyHandler);
1392
+        }
1393
+
1394
+        if (_.options.focusOnSelect === true) {
1395
+            $(_.$slideTrack).children().on('click.slick', _.selectHandler);
1396
+        }
1397
+
1398
+        $(window).on('orientationchange.slick.slick-' + _.instanceUid, $.proxy(_.orientationChange, _));
1399
+
1400
+        $(window).on('resize.slick.slick-' + _.instanceUid, $.proxy(_.resize, _));
1401
+
1402
+        $('[draggable!=true]', _.$slideTrack).on('dragstart', _.preventDefault);
1403
+
1404
+        $(window).on('load.slick.slick-' + _.instanceUid, _.setPosition);
1405
+        $(document).on('ready.slick.slick-' + _.instanceUid, _.setPosition);
1406
+
1407
+    };
1408
+
1409
+    Slick.prototype.initUI = function() {
1410
+
1411
+        var _ = this;
1412
+
1413
+        if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {
1414
+
1415
+            _.$prevArrow.show();
1416
+            _.$nextArrow.show();
1417
+
1418
+        }
1419
+
1420
+        if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {
1421
+
1422
+            _.$dots.show();
1423
+
1424
+        }
1425
+
1426
+    };
1427
+
1428
+    Slick.prototype.keyHandler = function(event) {
1429
+
1430
+        var _ = this;
1431
+         //Dont slide if the cursor is inside the form fields and arrow keys are pressed
1432
+        if(!event.target.tagName.match('TEXTAREA|INPUT|SELECT')) {
1433
+            if (event.keyCode === 37 && _.options.accessibility === true) {
1434
+                _.changeSlide({
1435
+                    data: {
1436
+                        message: _.options.rtl === true ? 'next' :  'previous'
1437
+                    }
1438
+                });
1439
+            } else if (event.keyCode === 39 && _.options.accessibility === true) {
1440
+                _.changeSlide({
1441
+                    data: {
1442
+                        message: _.options.rtl === true ? 'previous' : 'next'
1443
+                    }
1444
+                });
1445
+            }
1446
+        }
1447
+
1448
+    };
1449
+
1450
+    Slick.prototype.lazyLoad = function() {
1451
+
1452
+        var _ = this,
1453
+            loadRange, cloneRange, rangeStart, rangeEnd;
1454
+
1455
+        function loadImages(imagesScope) {
1456
+
1457
+            $('img[data-lazy]', imagesScope).each(function() {
1458
+
1459
+                var image = $(this),
1460
+                    imageSource = $(this).attr('data-lazy'),
1461
+                    imageToLoad = document.createElement('img');
1462
+
1463
+                imageToLoad.onload = function() {
1464
+
1465
+                    image
1466
+                        .animate({ opacity: 0 }, 100, function() {
1467
+                            image
1468
+                                .attr('src', imageSource)
1469
+                                .animate({ opacity: 1 }, 200, function() {
1470
+                                    image
1471
+                                        .removeAttr('data-lazy')
1472
+                                        .removeClass('slick-loading');
1473
+                                });
1474
+                            _.$slider.trigger('lazyLoaded', [_, image, imageSource]);
1475
+                        });
1476
+
1477
+                };
1478
+
1479
+                imageToLoad.onerror = function() {
1480
+
1481
+                    image
1482
+                        .removeAttr( 'data-lazy' )
1483
+                        .removeClass( 'slick-loading' )
1484
+                        .addClass( 'slick-lazyload-error' );
1485
+
1486
+                    _.$slider.trigger('lazyLoadError', [ _, image, imageSource ]);
1487
+
1488
+                };
1489
+
1490
+                imageToLoad.src = imageSource;
1491
+
1492
+            });
1493
+
1494
+        }
1495
+
1496
+        if (_.options.centerMode === true) {
1497
+            if (_.options.infinite === true) {
1498
+                rangeStart = _.currentSlide + (_.options.slidesToShow / 2 + 1);
1499
+                rangeEnd = rangeStart + _.options.slidesToShow + 2;
1500
+            } else {
1501
+                rangeStart = Math.max(0, _.currentSlide - (_.options.slidesToShow / 2 + 1));
1502
+                rangeEnd = 2 + (_.options.slidesToShow / 2 + 1) + _.currentSlide;
1503
+            }
1504
+        } else {
1505
+            rangeStart = _.options.infinite ? _.options.slidesToShow + _.currentSlide : _.currentSlide;
1506
+            rangeEnd = Math.ceil(rangeStart + _.options.slidesToShow);
1507
+            if (_.options.fade === true) {
1508
+                if (rangeStart > 0) rangeStart--;
1509
+                if (rangeEnd <= _.slideCount) rangeEnd++;
1510
+            }
1511
+        }
1512
+
1513
+        loadRange = _.$slider.find('.slick-slide').slice(rangeStart, rangeEnd);
1514
+        loadImages(loadRange);
1515
+
1516
+        if (_.slideCount <= _.options.slidesToShow) {
1517
+            cloneRange = _.$slider.find('.slick-slide');
1518
+            loadImages(cloneRange);
1519
+        } else
1520
+        if (_.currentSlide >= _.slideCount - _.options.slidesToShow) {
1521
+            cloneRange = _.$slider.find('.slick-cloned').slice(0, _.options.slidesToShow);
1522
+            loadImages(cloneRange);
1523
+        } else if (_.currentSlide === 0) {
1524
+            cloneRange = _.$slider.find('.slick-cloned').slice(_.options.slidesToShow * -1);
1525
+            loadImages(cloneRange);
1526
+        }
1527
+
1528
+    };
1529
+
1530
+    Slick.prototype.loadSlider = function() {
1531
+
1532
+        var _ = this;
1533
+
1534
+        _.setPosition();
1535
+
1536
+        _.$slideTrack.css({
1537
+            opacity: 1
1538
+        });
1539
+
1540
+        _.$slider.removeClass('slick-loading');
1541
+
1542
+        _.initUI();
1543
+
1544
+        if (_.options.lazyLoad === 'progressive') {
1545
+            _.progressiveLazyLoad();
1546
+        }
1547
+
1548
+    };
1549
+
1550
+    Slick.prototype.next = Slick.prototype.slickNext = function() {
1551
+
1552
+        var _ = this;
1553
+
1554
+        _.changeSlide({
1555
+            data: {
1556
+                message: 'next'
1557
+            }
1558
+        });
1559
+
1560
+    };
1561
+
1562
+    Slick.prototype.orientationChange = function() {
1563
+
1564
+        var _ = this;
1565
+
1566
+        _.checkResponsive();
1567
+        _.setPosition();
1568
+
1569
+    };
1570
+
1571
+    Slick.prototype.pause = Slick.prototype.slickPause = function() {
1572
+
1573
+        var _ = this;
1574
+
1575
+        _.autoPlayClear();
1576
+        _.paused = true;
1577
+
1578
+    };
1579
+
1580
+    Slick.prototype.play = Slick.prototype.slickPlay = function() {
1581
+
1582
+        var _ = this;
1583
+
1584
+        _.autoPlay();
1585
+        _.options.autoplay = true;
1586
+        _.paused = false;
1587
+        _.focussed = false;
1588
+        _.interrupted = false;
1589
+
1590
+    };
1591
+
1592
+    Slick.prototype.postSlide = function(index) {
1593
+
1594
+        var _ = this;
1595
+
1596
+        if( !_.unslicked ) {
1597
+
1598
+            _.$slider.trigger('afterChange', [_, index]);
1599
+
1600
+            _.animating = false;
1601
+
1602
+            _.setPosition();
1603
+
1604
+            _.swipeLeft = null;
1605
+
1606
+            if ( _.options.autoplay ) {
1607
+                _.autoPlay();
1608
+            }
1609
+
1610
+            if (_.options.accessibility === true) {
1611
+                _.initADA();
1612
+            }
1613
+
1614
+        }
1615
+
1616
+    };
1617
+
1618
+    Slick.prototype.prev = Slick.prototype.slickPrev = function() {
1619
+
1620
+        var _ = this;
1621
+
1622
+        _.changeSlide({
1623
+            data: {
1624
+                message: 'previous'
1625
+            }
1626
+        });
1627
+
1628
+    };
1629
+
1630
+    Slick.prototype.preventDefault = function(event) {
1631
+
1632
+        event.preventDefault();
1633
+
1634
+    };
1635
+
1636
+    Slick.prototype.progressiveLazyLoad = function( tryCount ) {
1637
+
1638
+        tryCount = tryCount || 1;
1639
+
1640
+        var _ = this,
1641
+            $imgsToLoad = $( 'img[data-lazy]', _.$slider ),
1642
+            image,
1643
+            imageSource,
1644
+            imageToLoad;
1645
+
1646
+        if ( $imgsToLoad.length ) {
1647
+
1648
+            image = $imgsToLoad.first();
1649
+            imageSource = image.attr('data-lazy');
1650
+            imageToLoad = document.createElement('img');
1651
+
1652
+            imageToLoad.onload = function() {
1653
+
1654
+                image
1655
+                    .attr( 'src', imageSource )
1656
+                    .removeAttr('data-lazy')
1657
+                    .removeClass('slick-loading');
1658
+
1659
+                if ( _.options.adaptiveHeight === true ) {
1660
+                    _.setPosition();
1661
+                }
1662
+
1663
+                _.$slider.trigger('lazyLoaded', [ _, image, imageSource ]);
1664
+                _.progressiveLazyLoad();
1665
+
1666
+            };
1667
+
1668
+            imageToLoad.onerror = function() {
1669
+
1670
+                if ( tryCount < 3 ) {
1671
+
1672
+                    /**
1673
+                     * try to load the image 3 times,
1674
+                     * leave a slight delay so we don't get
1675
+                     * servers blocking the request.
1676
+                     */
1677
+                    setTimeout( function() {
1678
+                        _.progressiveLazyLoad( tryCount + 1 );
1679
+                    }, 500 );
1680
+
1681
+                } else {
1682
+
1683
+                    image
1684
+                        .removeAttr( 'data-lazy' )
1685
+                        .removeClass( 'slick-loading' )
1686
+                        .addClass( 'slick-lazyload-error' );
1687
+
1688
+                    _.$slider.trigger('lazyLoadError', [ _, image, imageSource ]);
1689
+
1690
+                    _.progressiveLazyLoad();
1691
+
1692
+                }
1693
+
1694
+            };
1695
+
1696
+            imageToLoad.src = imageSource;
1697
+
1698
+        } else {
1699
+
1700
+            _.$slider.trigger('allImagesLoaded', [ _ ]);
1701
+
1702
+        }
1703
+
1704
+    };
1705
+
1706
+    Slick.prototype.refresh = function( initializing ) {
1707
+
1708
+        var _ = this, currentSlide, lastVisibleIndex;
1709
+
1710
+        lastVisibleIndex = _.slideCount - _.options.slidesToShow;
1711
+
1712
+        // in non-infinite sliders, we don't want to go past the
1713
+        // last visible index.
1714
+        if( !_.options.infinite && ( _.currentSlide > lastVisibleIndex )) {
1715
+            _.currentSlide = lastVisibleIndex;
1716
+        }
1717
+
1718
+        // if less slides than to show, go to start.
1719
+        if ( _.slideCount <= _.options.slidesToShow ) {
1720
+            _.currentSlide = 0;
1721
+
1722
+        }
1723
+
1724
+        currentSlide = _.currentSlide;
1725
+
1726
+        _.destroy(true);
1727
+
1728
+        $.extend(_, _.initials, { currentSlide: currentSlide });
1729
+
1730
+        _.init();
1731
+
1732
+        if( !initializing ) {
1733
+
1734
+            _.changeSlide({
1735
+                data: {
1736
+                    message: 'index',
1737
+                    index: currentSlide
1738
+                }
1739
+            }, false);
1740
+
1741
+        }
1742
+
1743
+    };
1744
+
1745
+    Slick.prototype.registerBreakpoints = function() {
1746
+
1747
+        var _ = this, breakpoint, currentBreakpoint, l,
1748
+            responsiveSettings = _.options.responsive || null;
1749
+
1750
+        if ( $.type(responsiveSettings) === 'array' && responsiveSettings.length ) {
1751
+
1752
+            _.respondTo = _.options.respondTo || 'window';
1753
+
1754
+            for ( breakpoint in responsiveSettings ) {
1755
+
1756
+                l = _.breakpoints.length-1;
1757
+                currentBreakpoint = responsiveSettings[breakpoint].breakpoint;
1758
+
1759
+                if (responsiveSettings.hasOwnProperty(breakpoint)) {
1760
+
1761
+                    // loop through the breakpoints and cut out any existing
1762
+                    // ones with the same breakpoint number, we don't want dupes.
1763
+                    while( l >= 0 ) {
1764
+                        if( _.breakpoints[l] && _.breakpoints[l] === currentBreakpoint ) {
1765
+                            _.breakpoints.splice(l,1);
1766
+                        }
1767
+                        l--;
1768
+                    }
1769
+
1770
+                    _.breakpoints.push(currentBreakpoint);
1771
+                    _.breakpointSettings[currentBreakpoint] = responsiveSettings[breakpoint].settings;
1772
+
1773
+                }
1774
+
1775
+            }
1776
+
1777
+            _.breakpoints.sort(function(a, b) {
1778
+                return ( _.options.mobileFirst ) ? a-b : b-a;
1779
+            });
1780
+
1781
+        }
1782
+
1783
+    };
1784
+
1785
+    Slick.prototype.reinit = function() {
1786
+
1787
+        var _ = this;
1788
+
1789
+        _.$slides =
1790
+            _.$slideTrack
1791
+                .children(_.options.slide)
1792
+                .addClass('slick-slide');
1793
+
1794
+        _.slideCount = _.$slides.length;
1795
+
1796
+        if (_.currentSlide >= _.slideCount && _.currentSlide !== 0) {
1797
+            _.currentSlide = _.currentSlide - _.options.slidesToScroll;
1798
+        }
1799
+
1800
+        if (_.slideCount <= _.options.slidesToShow) {
1801
+            _.currentSlide = 0;
1802
+        }
1803
+
1804
+        _.registerBreakpoints();
1805
+
1806
+        _.setProps();
1807
+        _.setupInfinite();
1808
+        _.buildArrows();
1809
+        _.updateArrows();
1810
+        _.initArrowEvents();
1811
+        _.buildDots();
1812
+        _.updateDots();
1813
+        _.initDotEvents();
1814
+        _.cleanUpSlideEvents();
1815
+        _.initSlideEvents();
1816
+
1817
+        _.checkResponsive(false, true);
1818
+
1819
+        if (_.options.focusOnSelect === true) {
1820
+            $(_.$slideTrack).children().on('click.slick', _.selectHandler);
1821
+        }
1822
+
1823
+        _.setSlideClasses(typeof _.currentSlide === 'number' ? _.currentSlide : 0);
1824
+
1825
+        _.setPosition();
1826
+        _.focusHandler();
1827
+
1828
+        _.paused = !_.options.autoplay;
1829
+        _.autoPlay();
1830
+
1831
+        _.$slider.trigger('reInit', [_]);
1832
+
1833
+    };
1834
+
1835
+    Slick.prototype.resize = function() {
1836
+
1837
+        var _ = this;
1838
+
1839
+        if ($(window).width() !== _.windowWidth) {
1840
+            clearTimeout(_.windowDelay);
1841
+            _.windowDelay = window.setTimeout(function() {
1842
+                _.windowWidth = $(window).width();
1843
+                _.checkResponsive();
1844
+                if( !_.unslicked ) { _.setPosition(); }
1845
+            }, 50);
1846
+        }
1847
+    };
1848
+
1849
+    Slick.prototype.removeSlide = Slick.prototype.slickRemove = function(index, removeBefore, removeAll) {
1850
+
1851
+        var _ = this;
1852
+
1853
+        if (typeof(index) === 'boolean') {
1854
+            removeBefore = index;
1855
+            index = removeBefore === true ? 0 : _.slideCount - 1;
1856
+        } else {
1857
+            index = removeBefore === true ? --index : index;
1858
+        }
1859
+
1860
+        if (_.slideCount < 1 || index < 0 || index > _.slideCount - 1) {
1861
+            return false;
1862
+        }
1863
+
1864
+        _.unload();
1865
+
1866
+        if (removeAll === true) {
1867
+            _.$slideTrack.children().remove();
1868
+        } else {
1869
+            _.$slideTrack.children(this.options.slide).eq(index).remove();
1870
+        }
1871
+
1872
+        _.$slides = _.$slideTrack.children(this.options.slide);
1873
+
1874
+        _.$slideTrack.children(this.options.slide).detach();
1875
+
1876
+        _.$slideTrack.append(_.$slides);
1877
+
1878
+        _.$slidesCache = _.$slides;
1879
+
1880
+        _.reinit();
1881
+
1882
+    };
1883
+
1884
+    Slick.prototype.setCSS = function(position) {
1885
+
1886
+        var _ = this,
1887
+            positionProps = {},
1888
+            x, y;
1889
+
1890
+        if (_.options.rtl === true) {
1891
+            position = -position;
1892
+        }
1893
+        x = _.positionProp == 'left' ? Math.ceil(position) + 'px' : '0px';
1894
+        y = _.positionProp == 'top' ? Math.ceil(position) + 'px' : '0px';
1895
+
1896
+        positionProps[_.positionProp] = position;
1897
+
1898
+        if (_.transformsEnabled === false) {
1899
+            _.$slideTrack.css(positionProps);
1900
+        } else {
1901
+            positionProps = {};
1902
+            if (_.cssTransitions === false) {
1903
+                positionProps[_.animType] = 'translate(' + x + ', ' + y + ')';
1904
+                _.$slideTrack.css(positionProps);
1905
+            } else {
1906
+                positionProps[_.animType] = 'translate3d(' + x + ', ' + y + ', 0px)';
1907
+                _.$slideTrack.css(positionProps);
1908
+            }
1909
+        }
1910
+
1911
+    };
1912
+
1913
+    Slick.prototype.setDimensions = function() {
1914
+
1915
+        var _ = this;
1916
+
1917
+        if (_.options.vertical === false) {
1918
+            if (_.options.centerMode === true) {
1919
+                _.$list.css({
1920
+                    padding: ('0px ' + _.options.centerPadding)
1921
+                });
1922
+            }
1923
+        } else {
1924
+            _.$list.height(_.$slides.first().outerHeight(true) * _.options.slidesToShow);
1925
+            if (_.options.centerMode === true) {
1926
+                _.$list.css({
1927
+                    padding: (_.options.centerPadding + ' 0px')
1928
+                });
1929
+            }
1930
+        }
1931
+
1932
+        _.listWidth = _.$list.width();
1933
+        _.listHeight = _.$list.height();
1934
+
1935
+
1936
+        if (_.options.vertical === false && _.options.variableWidth === false) {
1937
+            _.slideWidth = Math.ceil(_.listWidth / _.options.slidesToShow);
1938
+            _.$slideTrack.width(Math.ceil((_.slideWidth * _.$slideTrack.children('.slick-slide').length)));
1939
+
1940
+        } else if (_.options.variableWidth === true) {
1941
+            _.$slideTrack.width(5000 * _.slideCount);
1942
+        } else {
1943
+            _.slideWidth = Math.ceil(_.listWidth);
1944
+            _.$slideTrack.height(Math.ceil((_.$slides.first().outerHeight(true) * _.$slideTrack.children('.slick-slide').length)));
1945
+        }
1946
+
1947
+        var offset = _.$slides.first().outerWidth(true) - _.$slides.first().width();
1948
+        if (_.options.variableWidth === false) _.$slideTrack.children('.slick-slide').width(_.slideWidth - offset);
1949
+
1950
+    };
1951
+
1952
+    Slick.prototype.setFade = function() {
1953
+
1954
+        var _ = this,
1955
+            targetLeft;
1956
+
1957
+        _.$slides.each(function(index, element) {
1958
+            targetLeft = (_.slideWidth * index) * -1;
1959
+            if (_.options.rtl === true) {
1960
+                $(element).css({
1961
+                    position: 'relative',
1962
+                    right: targetLeft,
1963
+                    top: 0,
1964
+                    zIndex: _.options.zIndex - 2,
1965
+                    opacity: 0
1966
+                });
1967
+            } else {
1968
+                $(element).css({
1969
+                    position: 'relative',
1970
+                    left: targetLeft,
1971
+                    top: 0,
1972
+                    zIndex: _.options.zIndex - 2,
1973
+                    opacity: 0
1974
+                });
1975
+            }
1976
+        });
1977
+
1978
+        _.$slides.eq(_.currentSlide).css({
1979
+            zIndex: _.options.zIndex - 1,
1980
+            opacity: 1
1981
+        });
1982
+
1983
+    };
1984
+
1985
+    Slick.prototype.setHeight = function() {
1986
+
1987
+        var _ = this;
1988
+
1989
+        if (_.options.slidesToShow === 1 && _.options.adaptiveHeight === true && _.options.vertical === false) {
1990
+            var targetHeight = _.$slides.eq(_.currentSlide).outerHeight(true);
1991
+            _.$list.css('height', targetHeight);
1992
+        }
1993
+
1994
+    };
1995
+
1996
+    Slick.prototype.setOption =
1997
+    Slick.prototype.slickSetOption = function() {
1998
+
1999
+        /**
2000
+         * accepts arguments in format of:
2001
+         *
2002
+         *  - for changing a single option's value:
2003
+         *     .slick("setOption", option, value, refresh )
2004
+         *
2005
+         *  - for changing a set of responsive options:
2006
+         *     .slick("setOption", 'responsive', [{}, ...], refresh )
2007
+         *
2008
+         *  - for updating multiple values at once (not responsive)
2009
+         *     .slick("setOption", { 'option': value, ... }, refresh )
2010
+         */
2011
+
2012
+        var _ = this, l, item, option, value, refresh = false, type;
2013
+
2014
+        if( $.type( arguments[0] ) === 'object' ) {
2015
+
2016
+            option =  arguments[0];
2017
+            refresh = arguments[1];
2018
+            type = 'multiple';
2019
+
2020
+        } else if ( $.type( arguments[0] ) === 'string' ) {
2021
+
2022
+            option =  arguments[0];
2023
+            value = arguments[1];
2024
+            refresh = arguments[2];
2025
+
2026
+            if ( arguments[0] === 'responsive' && $.type( arguments[1] ) === 'array' ) {
2027
+
2028
+                type = 'responsive';
2029
+
2030
+            } else if ( typeof arguments[1] !== 'undefined' ) {
2031
+
2032
+                type = 'single';
2033
+
2034
+            }
2035
+
2036
+        }
2037
+
2038
+        if ( type === 'single' ) {
2039
+
2040
+            _.options[option] = value;
2041
+
2042
+
2043
+        } else if ( type === 'multiple' ) {
2044
+
2045
+            $.each( option , function( opt, val ) {
2046
+
2047
+                _.options[opt] = val;
2048
+
2049
+            });
2050
+
2051
+
2052
+        } else if ( type === 'responsive' ) {
2053
+
2054
+            for ( item in value ) {
2055
+
2056
+                if( $.type( _.options.responsive ) !== 'array' ) {
2057
+
2058
+                    _.options.responsive = [ value[item] ];
2059
+
2060
+                } else {
2061
+
2062
+                    l = _.options.responsive.length-1;
2063
+
2064
+                    // loop through the responsive object and splice out duplicates.
2065
+                    while( l >= 0 ) {
2066
+
2067
+                        if( _.options.responsive[l].breakpoint === value[item].breakpoint ) {
2068
+
2069
+                            _.options.responsive.splice(l,1);
2070
+
2071
+                        }
2072
+
2073
+                        l--;
2074
+
2075
+                    }
2076
+
2077
+                    _.options.responsive.push( value[item] );
2078
+
2079
+                }
2080
+
2081
+            }
2082
+
2083
+        }
2084
+
2085
+        if ( refresh ) {
2086
+
2087
+            _.unload();
2088
+            _.reinit();
2089
+
2090
+        }
2091
+
2092
+    };
2093
+
2094
+    Slick.prototype.setPosition = function() {
2095
+
2096
+        var _ = this;
2097
+
2098
+        _.setDimensions();
2099
+
2100
+        _.setHeight();
2101
+
2102
+        if (_.options.fade === false) {
2103
+            _.setCSS(_.getLeft(_.currentSlide));
2104
+        } else {
2105
+            _.setFade();
2106
+        }
2107
+
2108
+        _.$slider.trigger('setPosition', [_]);
2109
+
2110
+    };
2111
+
2112
+    Slick.prototype.setProps = function() {
2113
+
2114
+        var _ = this,
2115
+            bodyStyle = document.body.style;
2116
+
2117
+        _.positionProp = _.options.vertical === true ? 'top' : 'left';
2118
+
2119
+        if (_.positionProp === 'top') {
2120
+            _.$slider.addClass('slick-vertical');
2121
+        } else {
2122
+            _.$slider.removeClass('slick-vertical');
2123
+        }
2124
+
2125
+        if (bodyStyle.WebkitTransition !== undefined ||
2126
+            bodyStyle.MozTransition !== undefined ||
2127
+            bodyStyle.msTransition !== undefined) {
2128
+            if (_.options.useCSS === true) {
2129
+                _.cssTransitions = true;
2130
+            }
2131
+        }
2132
+
2133
+        if ( _.options.fade ) {
2134
+            if ( typeof _.options.zIndex === 'number' ) {
2135
+                if( _.options.zIndex < 3 ) {
2136
+                    _.options.zIndex = 3;
2137
+                }
2138
+            } else {
2139
+                _.options.zIndex = _.defaults.zIndex;
2140
+            }
2141
+        }
2142
+
2143
+        if (bodyStyle.OTransform !== undefined) {
2144
+            _.animType = 'OTransform';
2145
+            _.transformType = '-o-transform';
2146
+            _.transitionType = 'OTransition';
2147
+            if (bodyStyle.perspectiveProperty === undefined && bodyStyle.webkitPerspective === undefined) _.animType = false;
2148
+        }
2149
+        if (bodyStyle.MozTransform !== undefined) {
2150
+            _.animType = 'MozTransform';
2151
+            _.transformType = '-moz-transform';
2152
+            _.transitionType = 'MozTransition';
2153
+            if (bodyStyle.perspectiveProperty === undefined && bodyStyle.MozPerspective === undefined) _.animType = false;
2154
+        }
2155
+        if (bodyStyle.webkitTransform !== undefined) {
2156
+            _.animType = 'webkitTransform';
2157
+            _.transformType = '-webkit-transform';
2158
+            _.transitionType = 'webkitTransition';
2159
+            if (bodyStyle.perspectiveProperty === undefined && bodyStyle.webkitPerspective === undefined) _.animType = false;
2160
+        }
2161
+        if (bodyStyle.msTransform !== undefined) {
2162
+            _.animType = 'msTransform';
2163
+            _.transformType = '-ms-transform';
2164
+            _.transitionType = 'msTransition';
2165
+            if (bodyStyle.msTransform === undefined) _.animType = false;
2166
+        }
2167
+        if (bodyStyle.transform !== undefined && _.animType !== false) {
2168
+            _.animType = 'transform';
2169
+            _.transformType = 'transform';
2170
+            _.transitionType = 'transition';
2171
+        }
2172
+        _.transformsEnabled = _.options.useTransform && (_.animType !== null && _.animType !== false);
2173
+    };
2174
+
2175
+
2176
+    Slick.prototype.setSlideClasses = function(index) {
2177
+
2178
+        var _ = this,
2179
+            centerOffset, allSlides, indexOffset, remainder;
2180
+
2181
+        allSlides = _.$slider
2182
+            .find('.slick-slide')
2183
+            .removeClass('slick-active slick-center slick-current')
2184
+            .attr('aria-hidden', 'true');
2185
+
2186
+        _.$slides
2187
+            .eq(index)
2188
+            .addClass('slick-current');
2189
+
2190
+        if (_.options.centerMode === true) {
2191
+
2192
+            centerOffset = Math.floor(_.options.slidesToShow / 2);
2193
+
2194
+            if (_.options.infinite === true) {
2195
+
2196
+                if (index >= centerOffset && index <= (_.slideCount - 1) - centerOffset) {
2197
+
2198
+                    _.$slides
2199
+                        .slice(index - centerOffset, index + centerOffset + 1)
2200
+                        .addClass('slick-active')
2201
+                        .attr('aria-hidden', 'false');
2202
+
2203
+                } else {
2204
+
2205
+                    indexOffset = _.options.slidesToShow + index;
2206
+                    allSlides
2207
+                        .slice(indexOffset - centerOffset + 1, indexOffset + centerOffset + 2)
2208
+                        .addClass('slick-active')
2209
+                        .attr('aria-hidden', 'false');
2210
+
2211
+                }
2212
+
2213
+                if (index === 0) {
2214
+
2215
+                    allSlides
2216
+                        .eq(allSlides.length - 1 - _.options.slidesToShow)
2217
+                        .addClass('slick-center');
2218
+
2219
+                } else if (index === _.slideCount - 1) {
2220
+
2221
+                    allSlides
2222
+                        .eq(_.options.slidesToShow)
2223
+                        .addClass('slick-center');
2224
+
2225
+                }
2226
+
2227
+            }
2228
+
2229
+            _.$slides
2230
+                .eq(index)
2231
+                .addClass('slick-center');
2232
+
2233
+        } else {
2234
+
2235
+            if (index >= 0 && index <= (_.slideCount - _.options.slidesToShow)) {
2236
+
2237
+                _.$slides
2238
+                    .slice(index, index + _.options.slidesToShow)
2239
+                    .addClass('slick-active')
2240
+                    .attr('aria-hidden', 'false');
2241
+
2242
+            } else if (allSlides.length <= _.options.slidesToShow) {
2243
+
2244
+                allSlides
2245
+                    .addClass('slick-active')
2246
+                    .attr('aria-hidden', 'false');
2247
+
2248
+            } else {
2249
+
2250
+                remainder = _.slideCount % _.options.slidesToShow;
2251
+                indexOffset = _.options.infinite === true ? _.options.slidesToShow + index : index;
2252
+
2253
+                if (_.options.slidesToShow == _.options.slidesToScroll && (_.slideCount - index) < _.options.slidesToShow) {
2254
+
2255
+                    allSlides
2256
+                        .slice(indexOffset - (_.options.slidesToShow - remainder), indexOffset + remainder)
2257
+                        .addClass('slick-active')
2258
+                        .attr('aria-hidden', 'false');
2259
+
2260
+                } else {
2261
+
2262
+                    allSlides
2263
+                        .slice(indexOffset, indexOffset + _.options.slidesToShow)
2264
+                        .addClass('slick-active')
2265
+                        .attr('aria-hidden', 'false');
2266
+
2267
+                }
2268
+
2269
+            }
2270
+
2271
+        }
2272
+
2273
+        if (_.options.lazyLoad === 'ondemand') {
2274
+            _.lazyLoad();
2275
+        }
2276
+
2277
+    };
2278
+
2279
+    Slick.prototype.setupInfinite = function() {
2280
+
2281
+        var _ = this,
2282
+            i, slideIndex, infiniteCount;
2283
+
2284
+        if (_.options.fade === true) {
2285
+            _.options.centerMode = false;
2286
+        }
2287
+
2288
+        if (_.options.infinite === true && _.options.fade === false) {
2289
+
2290
+            slideIndex = null;
2291
+
2292
+            if (_.slideCount > _.options.slidesToShow) {
2293
+
2294
+                if (_.options.centerMode === true) {
2295
+                    infiniteCount = _.options.slidesToShow + 1;
2296
+                } else {
2297
+                    infiniteCount = _.options.slidesToShow;
2298
+                }
2299
+
2300
+                for (i = _.slideCount; i > (_.slideCount -
2301
+                        infiniteCount); i -= 1) {
2302
+                    slideIndex = i - 1;
2303
+                    $(_.$slides[slideIndex]).clone(true).attr('id', '')
2304
+                        .attr('data-slick-index', slideIndex - _.slideCount)
2305
+                        .prependTo(_.$slideTrack).addClass('slick-cloned');
2306
+                }
2307
+                for (i = 0; i < infiniteCount; i += 1) {
2308
+                    slideIndex = i;
2309
+                    $(_.$slides[slideIndex]).clone(true).attr('id', '')
2310
+                        .attr('data-slick-index', slideIndex + _.slideCount)
2311
+                        .appendTo(_.$slideTrack).addClass('slick-cloned');
2312
+                }
2313
+                _.$slideTrack.find('.slick-cloned').find('[id]').each(function() {
2314
+                    $(this).attr('id', '');
2315
+                });
2316
+
2317
+            }
2318
+
2319
+        }
2320
+
2321
+    };
2322
+
2323
+    Slick.prototype.interrupt = function( toggle ) {
2324
+
2325
+        var _ = this;
2326
+
2327
+        if( !toggle ) {
2328
+            _.autoPlay();
2329
+        }
2330
+        _.interrupted = toggle;
2331
+
2332
+    };
2333
+
2334
+    Slick.prototype.selectHandler = function(event) {
2335
+
2336
+        var _ = this;
2337
+
2338
+        var targetElement =
2339
+            $(event.target).is('.slick-slide') ?
2340
+                $(event.target) :
2341
+                $(event.target).parents('.slick-slide');
2342
+
2343
+        var index = parseInt(targetElement.attr('data-slick-index'));
2344
+
2345
+        if (!index) index = 0;
2346
+
2347
+        if (_.slideCount <= _.options.slidesToShow) {
2348
+
2349
+            _.setSlideClasses(index);
2350
+            _.asNavFor(index);
2351
+            return;
2352
+
2353
+        }
2354
+
2355
+        _.slideHandler(index);
2356
+
2357
+    };
2358
+
2359
+    Slick.prototype.slideHandler = function(index, sync, dontAnimate) {
2360
+
2361
+        var targetSlide, animSlide, oldSlide, slideLeft, targetLeft = null,
2362
+            _ = this, navTarget;
2363
+
2364
+        sync = sync || false;
2365
+
2366
+        if (_.animating === true && _.options.waitForAnimate === true) {
2367
+            return;
2368
+        }
2369
+
2370
+        if (_.options.fade === true && _.currentSlide === index) {
2371
+            return;
2372
+        }
2373
+
2374
+        if (_.slideCount <= _.options.slidesToShow) {
2375
+            return;
2376
+        }
2377
+
2378
+        if (sync === false) {
2379
+            _.asNavFor(index);
2380
+        }
2381
+
2382
+        targetSlide = index;
2383
+        targetLeft = _.getLeft(targetSlide);
2384
+        slideLeft = _.getLeft(_.currentSlide);
2385
+
2386
+        _.currentLeft = _.swipeLeft === null ? slideLeft : _.swipeLeft;
2387
+
2388
+        if (_.options.infinite === false && _.options.centerMode === false && (index < 0 || index > _.getDotCount() * _.options.slidesToScroll)) {
2389
+            if (_.options.fade === false) {
2390
+                targetSlide = _.currentSlide;
2391
+                if (dontAnimate !== true) {
2392
+                    _.animateSlide(slideLeft, function() {
2393
+                        _.postSlide(targetSlide);
2394
+                    });
2395
+                } else {
2396
+                    _.postSlide(targetSlide);
2397
+                }
2398
+            }
2399
+            return;
2400
+        } else if (_.options.infinite === false && _.options.centerMode === true && (index < 0 || index > (_.slideCount - _.options.slidesToScroll))) {
2401
+            if (_.options.fade === false) {
2402
+                targetSlide = _.currentSlide;
2403
+                if (dontAnimate !== true) {
2404
+                    _.animateSlide(slideLeft, function() {
2405
+                        _.postSlide(targetSlide);
2406
+                    });
2407
+                } else {
2408
+                    _.postSlide(targetSlide);
2409
+                }
2410
+            }
2411
+            return;
2412
+        }
2413
+
2414
+        if ( _.options.autoplay ) {
2415
+            clearInterval(_.autoPlayTimer);
2416
+        }
2417
+
2418
+        if (targetSlide < 0) {
2419
+            if (_.slideCount % _.options.slidesToScroll !== 0) {
2420
+                animSlide = _.slideCount - (_.slideCount % _.options.slidesToScroll);
2421
+            } else {
2422
+                animSlide = _.slideCount + targetSlide;
2423
+            }
2424
+        } else if (targetSlide >= _.slideCount) {
2425
+            if (_.slideCount % _.options.slidesToScroll !== 0) {
2426
+                animSlide = 0;
2427
+            } else {
2428
+                animSlide = targetSlide - _.slideCount;
2429
+            }
2430
+        } else {
2431
+            animSlide = targetSlide;
2432
+        }
2433
+
2434
+        _.animating = true;
2435
+
2436
+        _.$slider.trigger('beforeChange', [_, _.currentSlide, animSlide]);
2437
+
2438
+        oldSlide = _.currentSlide;
2439
+        _.currentSlide = animSlide;
2440
+
2441
+        _.setSlideClasses(_.currentSlide);
2442
+
2443
+        if ( _.options.asNavFor ) {
2444
+
2445
+            navTarget = _.getNavTarget();
2446
+            navTarget = navTarget.slick('getSlick');
2447
+
2448
+            if ( navTarget.slideCount <= navTarget.options.slidesToShow ) {
2449
+                navTarget.setSlideClasses(_.currentSlide);
2450
+            }
2451
+
2452
+        }
2453
+
2454
+        _.updateDots();
2455
+        _.updateArrows();
2456
+
2457
+        if (_.options.fade === true) {
2458
+            if (dontAnimate !== true) {
2459
+
2460
+                _.fadeSlideOut(oldSlide);
2461
+
2462
+                _.fadeSlide(animSlide, function() {
2463
+                    _.postSlide(animSlide);
2464
+                });
2465
+
2466
+            } else {
2467
+                _.postSlide(animSlide);
2468
+            }
2469
+            _.animateHeight();
2470
+            return;
2471
+        }
2472
+
2473
+        if (dontAnimate !== true) {
2474
+            _.animateSlide(targetLeft, function() {
2475
+                _.postSlide(animSlide);
2476
+            });
2477
+        } else {
2478
+            _.postSlide(animSlide);
2479
+        }
2480
+
2481
+    };
2482
+
2483
+    Slick.prototype.startLoad = function() {
2484
+
2485
+        var _ = this;
2486
+
2487
+        if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {
2488
+
2489
+            _.$prevArrow.hide();
2490
+            _.$nextArrow.hide();
2491
+
2492
+        }
2493
+
2494
+        if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {
2495
+
2496
+            _.$dots.hide();
2497
+
2498
+        }
2499
+
2500
+        _.$slider.addClass('slick-loading');
2501
+
2502
+    };
2503
+
2504
+    Slick.prototype.swipeDirection = function() {
2505
+
2506
+        var xDist, yDist, r, swipeAngle, _ = this;
2507
+
2508
+        xDist = _.touchObject.startX - _.touchObject.curX;
2509
+        yDist = _.touchObject.startY - _.touchObject.curY;
2510
+        r = Math.atan2(yDist, xDist);
2511
+
2512
+        swipeAngle = Math.round(r * 180 / Math.PI);
2513
+        if (swipeAngle < 0) {
2514
+            swipeAngle = 360 - Math.abs(swipeAngle);
2515
+        }
2516
+
2517
+        if ((swipeAngle <= 45) && (swipeAngle >= 0)) {
2518
+            return (_.options.rtl === false ? 'left' : 'right');
2519
+        }
2520
+        if ((swipeAngle <= 360) && (swipeAngle >= 315)) {
2521
+            return (_.options.rtl === false ? 'left' : 'right');
2522
+        }
2523
+        if ((swipeAngle >= 135) && (swipeAngle <= 225)) {
2524
+            return (_.options.rtl === false ? 'right' : 'left');
2525
+        }
2526
+        if (_.options.verticalSwiping === true) {
2527
+            if ((swipeAngle >= 35) && (swipeAngle <= 135)) {
2528
+                return 'down';
2529
+            } else {
2530
+                return 'up';
2531
+            }
2532
+        }
2533
+
2534
+        return 'vertical';
2535
+
2536
+    };
2537
+
2538
+    Slick.prototype.swipeEnd = function(event) {
2539
+
2540
+        var _ = this,
2541
+            slideCount,
2542
+            direction;
2543
+
2544
+        _.dragging = false;
2545
+        _.interrupted = false;
2546
+        _.shouldClick = ( _.touchObject.swipeLength > 10 ) ? false : true;
2547
+
2548
+        if ( _.touchObject.curX === undefined ) {
2549
+            return false;
2550
+        }
2551
+
2552
+        if ( _.touchObject.edgeHit === true ) {
2553
+            _.$slider.trigger('edge', [_, _.swipeDirection() ]);
2554
+        }
2555
+
2556
+        if ( _.touchObject.swipeLength >= _.touchObject.minSwipe ) {
2557
+
2558
+            direction = _.swipeDirection();
2559
+
2560
+            switch ( direction ) {
2561
+
2562
+                case 'left':
2563
+                case 'down':
2564
+
2565
+                    slideCount =
2566
+                        _.options.swipeToSlide ?
2567
+                            _.checkNavigable( _.currentSlide + _.getSlideCount() ) :
2568
+                            _.currentSlide + _.getSlideCount();
2569
+
2570
+                    _.currentDirection = 0;
2571
+
2572
+                    break;
2573
+
2574
+                case 'right':
2575
+                case 'up':
2576
+
2577
+                    slideCount =
2578
+                        _.options.swipeToSlide ?
2579
+                            _.checkNavigable( _.currentSlide - _.getSlideCount() ) :
2580
+                            _.currentSlide - _.getSlideCount();
2581
+
2582
+                    _.currentDirection = 1;
2583
+
2584
+                    break;
2585
+
2586
+                default:
2587
+
2588
+
2589
+            }
2590
+
2591
+            if( direction != 'vertical' ) {
2592
+
2593
+                _.slideHandler( slideCount );
2594
+                _.touchObject = {};
2595
+                _.$slider.trigger('swipe', [_, direction ]);
2596
+
2597
+            }
2598
+
2599
+        } else {
2600
+
2601
+            if ( _.touchObject.startX !== _.touchObject.curX ) {
2602
+
2603
+                _.slideHandler( _.currentSlide );
2604
+                _.touchObject = {};
2605
+
2606
+            }
2607
+
2608
+        }
2609
+
2610
+    };
2611
+
2612
+    Slick.prototype.swipeHandler = function(event) {
2613
+
2614
+        var _ = this;
2615
+
2616
+        if ((_.options.swipe === false) || ('ontouchend' in document && _.options.swipe === false)) {
2617
+            return;
2618
+        } else if (_.options.draggable === false && event.type.indexOf('mouse') !== -1) {
2619
+            return;
2620
+        }
2621
+
2622
+        _.touchObject.fingerCount = event.originalEvent && event.originalEvent.touches !== undefined ?
2623
+            event.originalEvent.touches.length : 1;
2624
+
2625
+        _.touchObject.minSwipe = _.listWidth / _.options
2626
+            .touchThreshold;
2627
+
2628
+        if (_.options.verticalSwiping === true) {
2629
+            _.touchObject.minSwipe = _.listHeight / _.options
2630
+                .touchThreshold;
2631
+        }
2632
+
2633
+        switch (event.data.action) {
2634
+
2635
+            case 'start':
2636
+                _.swipeStart(event);
2637
+                break;
2638
+
2639
+            case 'move':
2640
+                _.swipeMove(event);
2641
+                break;
2642
+
2643
+            case 'end':
2644
+                _.swipeEnd(event);
2645
+                break;
2646
+
2647
+        }
2648
+
2649
+    };
2650
+
2651
+    Slick.prototype.swipeMove = function(event) {
2652
+
2653
+        var _ = this,
2654
+            edgeWasHit = false,
2655
+            curLeft, swipeDirection, swipeLength, positionOffset, touches;
2656
+
2657
+        touches = event.originalEvent !== undefined ? event.originalEvent.touches : null;
2658
+
2659
+        if (!_.dragging || touches && touches.length !== 1) {
2660
+            return false;
2661
+        }
2662
+
2663
+        curLeft = _.getLeft(_.currentSlide);
2664
+
2665
+        _.touchObject.curX = touches !== undefined ? touches[0].pageX : event.clientX;
2666
+        _.touchObject.curY = touches !== undefined ? touches[0].pageY : event.clientY;
2667
+
2668
+        _.touchObject.swipeLength = Math.round(Math.sqrt(
2669
+            Math.pow(_.touchObject.curX - _.touchObject.startX, 2)));
2670
+
2671
+        if (_.options.verticalSwiping === true) {
2672
+            _.touchObject.swipeLength = Math.round(Math.sqrt(
2673
+                Math.pow(_.touchObject.curY - _.touchObject.startY, 2)));
2674
+        }
2675
+
2676
+        swipeDirection = _.swipeDirection();
2677
+
2678
+        if (swipeDirection === 'vertical') {
2679
+            return;
2680
+        }
2681
+
2682
+        if (event.originalEvent !== undefined && _.touchObject.swipeLength > 4) {
2683
+            event.preventDefault();
2684
+        }
2685
+
2686
+        positionOffset = (_.options.rtl === false ? 1 : -1) * (_.touchObject.curX > _.touchObject.startX ? 1 : -1);
2687
+        if (_.options.verticalSwiping === true) {
2688
+            positionOffset = _.touchObject.curY > _.touchObject.startY ? 1 : -1;
2689
+        }
2690
+
2691
+
2692
+        swipeLength = _.touchObject.swipeLength;
2693
+
2694
+        _.touchObject.edgeHit = false;
2695
+
2696
+        if (_.options.infinite === false) {
2697
+            if ((_.currentSlide === 0 && swipeDirection === 'right') || (_.currentSlide >= _.getDotCount() && swipeDirection === 'left')) {
2698
+                swipeLength = _.touchObject.swipeLength * _.options.edgeFriction;
2699
+                _.touchObject.edgeHit = true;
2700
+            }
2701
+        }
2702
+
2703
+        if (_.options.vertical === false) {
2704
+            _.swipeLeft = curLeft + swipeLength * positionOffset;
2705
+        } else {
2706
+            _.swipeLeft = curLeft + (swipeLength * (_.$list.height() / _.listWidth)) * positionOffset;
2707
+        }
2708
+        if (_.options.verticalSwiping === true) {
2709
+            _.swipeLeft = curLeft + swipeLength * positionOffset;
2710
+        }
2711
+
2712
+        if (_.options.fade === true || _.options.touchMove === false) {
2713
+            return false;
2714
+        }
2715
+
2716
+        if (_.animating === true) {
2717
+            _.swipeLeft = null;
2718
+            return false;
2719
+        }
2720
+
2721
+        _.setCSS(_.swipeLeft);
2722
+
2723
+    };
2724
+
2725
+    Slick.prototype.swipeStart = function(event) {
2726
+
2727
+        var _ = this,
2728
+            touches;
2729
+
2730
+        _.interrupted = true;
2731
+
2732
+        if (_.touchObject.fingerCount !== 1 || _.slideCount <= _.options.slidesToShow) {
2733
+            _.touchObject = {};
2734
+            return false;
2735
+        }
2736
+
2737
+        if (event.originalEvent !== undefined && event.originalEvent.touches !== undefined) {
2738
+            touches = event.originalEvent.touches[0];
2739
+        }
2740
+
2741
+        _.touchObject.startX = _.touchObject.curX = touches !== undefined ? touches.pageX : event.clientX;
2742
+        _.touchObject.startY = _.touchObject.curY = touches !== undefined ? touches.pageY : event.clientY;
2743
+
2744
+        _.dragging = true;
2745
+
2746
+    };
2747
+
2748
+    Slick.prototype.unfilterSlides = Slick.prototype.slickUnfilter = function() {
2749
+
2750
+        var _ = this;
2751
+
2752
+        if (_.$slidesCache !== null) {
2753
+
2754
+            _.unload();
2755
+
2756
+            _.$slideTrack.children(this.options.slide).detach();
2757
+
2758
+            _.$slidesCache.appendTo(_.$slideTrack);
2759
+
2760
+            _.reinit();
2761
+
2762
+        }
2763
+
2764
+    };
2765
+
2766
+    Slick.prototype.unload = function() {
2767
+
2768
+        var _ = this;
2769
+
2770
+        $('.slick-cloned', _.$slider).remove();
2771
+
2772
+        if (_.$dots) {
2773
+            _.$dots.remove();
2774
+        }
2775
+
2776
+        if (_.$prevArrow && _.htmlExpr.test(_.options.prevArrow)) {
2777
+            _.$prevArrow.remove();
2778
+        }
2779
+
2780
+        if (_.$nextArrow && _.htmlExpr.test(_.options.nextArrow)) {
2781
+            _.$nextArrow.remove();
2782
+        }
2783
+
2784
+        _.$slides
2785
+            .removeClass('slick-slide slick-active slick-visible slick-current')
2786
+            .attr('aria-hidden', 'true')
2787
+            .css('width', '');
2788
+
2789
+    };
2790
+
2791
+    Slick.prototype.unslick = function(fromBreakpoint) {
2792
+
2793
+        var _ = this;
2794
+        _.$slider.trigger('unslick', [_, fromBreakpoint]);
2795
+        _.destroy();
2796
+
2797
+    };
2798
+
2799
+    Slick.prototype.updateArrows = function() {
2800
+
2801
+        var _ = this,
2802
+            centerOffset;
2803
+
2804
+        centerOffset = Math.floor(_.options.slidesToShow / 2);
2805
+
2806
+        if ( _.options.arrows === true &&
2807
+            _.slideCount > _.options.slidesToShow &&
2808
+            !_.options.infinite ) {
2809
+
2810
+            _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
2811
+            _.$nextArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
2812
+
2813
+            if (_.currentSlide === 0) {
2814
+
2815
+                _.$prevArrow.addClass('slick-disabled').attr('aria-disabled', 'true');
2816
+                _.$nextArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
2817
+
2818
+            } else if (_.currentSlide >= _.slideCount - _.options.slidesToShow && _.options.centerMode === false) {
2819
+
2820
+                _.$nextArrow.addClass('slick-disabled').attr('aria-disabled', 'true');
2821
+                _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
2822
+
2823
+            } else if (_.currentSlide >= _.slideCount - 1 && _.options.centerMode === true) {
2824
+
2825
+                _.$nextArrow.addClass('slick-disabled').attr('aria-disabled', 'true');
2826
+                _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
2827
+
2828
+            }
2829
+
2830
+        }
2831
+
2832
+    };
2833
+
2834
+    Slick.prototype.updateDots = function() {
2835
+
2836
+        var _ = this;
2837
+
2838
+        if (_.$dots !== null) {
2839
+
2840
+            _.$dots
2841
+                .find('li')
2842
+                .removeClass('slick-active')
2843
+                .attr('aria-hidden', 'true');
2844
+
2845
+            _.$dots
2846
+                .find('li')
2847
+                .eq(Math.floor(_.currentSlide / _.options.slidesToScroll))
2848
+                .addClass('slick-active')
2849
+                .attr('aria-hidden', 'false');
2850
+
2851
+        }
2852
+
2853
+    };
2854
+
2855
+    Slick.prototype.visibility = function() {
2856
+
2857
+        var _ = this;
2858
+
2859
+        if ( _.options.autoplay ) {
2860
+
2861
+            if ( document[_.hidden] ) {
2862
+
2863
+                _.interrupted = true;
2864
+
2865
+            } else {
2866
+
2867
+                _.interrupted = false;
2868
+
2869
+            }
2870
+
2871
+        }
2872
+
2873
+    };
2874
+
2875
+    $.fn.slick = function() {
2876
+        var _ = this,
2877
+            opt = arguments[0],
2878
+            args = Array.prototype.slice.call(arguments, 1),
2879
+            l = _.length,
2880
+            i,
2881
+            ret;
2882
+        for (i = 0; i < l; i++) {
2883
+            if (typeof opt == 'object' || typeof opt == 'undefined')
2884
+                _[i].slick = new Slick(_[i], opt);
2885
+            else
2886
+                ret = _[i].slick[opt].apply(_[i].slick, args);
2887
+            if (typeof ret != 'undefined') return ret;
2888
+        }
2889
+        return _;
2890
+    };
2891
+
2892
+}));
0 2893
new file mode 100644
... ...
@@ -0,0 +1,18 @@
1
+/*
2
+     _ _      _       _
3
+ ___| (_) ___| | __  (_)___
4
+/ __| | |/ __| |/ /  | / __|
5
+\__ \ | | (__|   < _ | \__ \
6
+|___/_|_|\___|_|\_(_)/ |___/
7
+                   |__/
8
+
9
+ Version: 1.6.0
10
+  Author: Ken Wheeler
11
+ Website: http://kenwheeler.github.io
12
+    Docs: http://kenwheeler.github.io/slick
13
+    Repo: http://github.com/kenwheeler/slick
14
+  Issues: http://github.com/kenwheeler/slick/issues
15
+
16
+ */
17
+!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){"use strict";var b=window.Slick||{};b=function(){function c(c,d){var f,e=this;e.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(c),appendDots:a(c),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(b,c){return a('<button type="button" data-role="none" role="button" tabindex="0" />').text(c+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},e.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},a.extend(e,e.initials),e.activeBreakpoint=null,e.animType=null,e.animProp=null,e.breakpoints=[],e.breakpointSettings=[],e.cssTransitions=!1,e.focussed=!1,e.interrupted=!1,e.hidden="hidden",e.paused=!0,e.positionProp=null,e.respondTo=null,e.rowCount=1,e.shouldClick=!0,e.$slider=a(c),e.$slidesCache=null,e.transformType=null,e.transitionType=null,e.visibilityChange="visibilitychange",e.windowWidth=0,e.windowTimer=null,f=a(c).data("slick")||{},e.options=a.extend({},e.defaults,d,f),e.currentSlide=e.options.initialSlide,e.originalSettings=e.options,"undefined"!=typeof document.mozHidden?(e.hidden="mozHidden",e.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(e.hidden="webkitHidden",e.visibilityChange="webkitvisibilitychange"),e.autoPlay=a.proxy(e.autoPlay,e),e.autoPlayClear=a.proxy(e.autoPlayClear,e),e.autoPlayIterator=a.proxy(e.autoPlayIterator,e),e.changeSlide=a.proxy(e.changeSlide,e),e.clickHandler=a.proxy(e.clickHandler,e),e.selectHandler=a.proxy(e.selectHandler,e),e.setPosition=a.proxy(e.setPosition,e),e.swipeHandler=a.proxy(e.swipeHandler,e),e.dragHandler=a.proxy(e.dragHandler,e),e.keyHandler=a.proxy(e.keyHandler,e),e.instanceUid=b++,e.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,e.registerBreakpoints(),e.init(!0)}var b=0;return c}(),b.prototype.activateADA=function(){var a=this;a.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},b.prototype.addSlide=b.prototype.slickAdd=function(b,c,d){var e=this;if("boolean"==typeof c)d=c,c=null;else if(0>c||c>=e.slideCount)return!1;e.unload(),"number"==typeof c?0===c&&0===e.$slides.length?a(b).appendTo(e.$slideTrack):d?a(b).insertBefore(e.$slides.eq(c)):a(b).insertAfter(e.$slides.eq(c)):d===!0?a(b).prependTo(e.$slideTrack):a(b).appendTo(e.$slideTrack),e.$slides=e.$slideTrack.children(this.options.slide),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.append(e.$slides),e.$slides.each(function(b,c){a(c).attr("data-slick-index",b)}),e.$slidesCache=e.$slides,e.reinit()},b.prototype.animateHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.animate({height:b},a.options.speed)}},b.prototype.animateSlide=function(b,c){var d={},e=this;e.animateHeight(),e.options.rtl===!0&&e.options.vertical===!1&&(b=-b),e.transformsEnabled===!1?e.options.vertical===!1?e.$slideTrack.animate({left:b},e.options.speed,e.options.easing,c):e.$slideTrack.animate({top:b},e.options.speed,e.options.easing,c):e.cssTransitions===!1?(e.options.rtl===!0&&(e.currentLeft=-e.currentLeft),a({animStart:e.currentLeft}).animate({animStart:b},{duration:e.options.speed,easing:e.options.easing,step:function(a){a=Math.ceil(a),e.options.vertical===!1?(d[e.animType]="translate("+a+"px, 0px)",e.$slideTrack.css(d)):(d[e.animType]="translate(0px,"+a+"px)",e.$slideTrack.css(d))},complete:function(){c&&c.call()}})):(e.applyTransition(),b=Math.ceil(b),e.options.vertical===!1?d[e.animType]="translate3d("+b+"px, 0px, 0px)":d[e.animType]="translate3d(0px,"+b+"px, 0px)",e.$slideTrack.css(d),c&&setTimeout(function(){e.disableTransition(),c.call()},e.options.speed))},b.prototype.getNavTarget=function(){var b=this,c=b.options.asNavFor;return c&&null!==c&&(c=a(c).not(b.$slider)),c},b.prototype.asNavFor=function(b){var c=this,d=c.getNavTarget();null!==d&&"object"==typeof d&&d.each(function(){var c=a(this).slick("getSlick");c.unslicked||c.slideHandler(b,!0)})},b.prototype.applyTransition=function(a){var b=this,c={};b.options.fade===!1?c[b.transitionType]=b.transformType+" "+b.options.speed+"ms "+b.options.cssEase:c[b.transitionType]="opacity "+b.options.speed+"ms "+b.options.cssEase,b.options.fade===!1?b.$slideTrack.css(c):b.$slides.eq(a).css(c)},b.prototype.autoPlay=function(){var a=this;a.autoPlayClear(),a.slideCount>a.options.slidesToShow&&(a.autoPlayTimer=setInterval(a.autoPlayIterator,a.options.autoplaySpeed))},b.prototype.autoPlayClear=function(){var a=this;a.autoPlayTimer&&clearInterval(a.autoPlayTimer)},b.prototype.autoPlayIterator=function(){var a=this,b=a.currentSlide+a.options.slidesToScroll;a.paused||a.interrupted||a.focussed||(a.options.infinite===!1&&(1===a.direction&&a.currentSlide+1===a.slideCount-1?a.direction=0:0===a.direction&&(b=a.currentSlide-a.options.slidesToScroll,a.currentSlide-1===0&&(a.direction=1))),a.slideHandler(b))},b.prototype.buildArrows=function(){var b=this;b.options.arrows===!0&&(b.$prevArrow=a(b.options.prevArrow).addClass("slick-arrow"),b.$nextArrow=a(b.options.nextArrow).addClass("slick-arrow"),b.slideCount>b.options.slidesToShow?(b.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),b.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.prependTo(b.options.appendArrows),b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.appendTo(b.options.appendArrows),b.options.infinite!==!0&&b.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):b.$prevArrow.add(b.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},b.prototype.buildDots=function(){var c,d,b=this;if(b.options.dots===!0&&b.slideCount>b.options.slidesToShow){for(b.$slider.addClass("slick-dotted"),d=a("<ul />").addClass(b.options.dotsClass),c=0;c<=b.getDotCount();c+=1)d.append(a("<li />").append(b.options.customPaging.call(this,b,c)));b.$dots=d.appendTo(b.options.appendDots),b.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},b.prototype.buildOut=function(){var b=this;b.$slides=b.$slider.children(b.options.slide+":not(.slick-cloned)").addClass("slick-slide"),b.slideCount=b.$slides.length,b.$slides.each(function(b,c){a(c).attr("data-slick-index",b).data("originalStyling",a(c).attr("style")||"")}),b.$slider.addClass("slick-slider"),b.$slideTrack=0===b.slideCount?a('<div class="slick-track"/>').appendTo(b.$slider):b.$slides.wrapAll('<div class="slick-track"/>').parent(),b.$list=b.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),b.$slideTrack.css("opacity",0),(b.options.centerMode===!0||b.options.swipeToSlide===!0)&&(b.options.slidesToScroll=1),a("img[data-lazy]",b.$slider).not("[src]").addClass("slick-loading"),b.setupInfinite(),b.buildArrows(),b.buildDots(),b.updateDots(),b.setSlideClasses("number"==typeof b.currentSlide?b.currentSlide:0),b.options.draggable===!0&&b.$list.addClass("draggable")},b.prototype.buildRows=function(){var b,c,d,e,f,g,h,a=this;if(e=document.createDocumentFragment(),g=a.$slider.children(),a.options.rows>1){for(h=a.options.slidesPerRow*a.options.rows,f=Math.ceil(g.length/h),b=0;f>b;b++){var i=document.createElement("div");for(c=0;c<a.options.rows;c++){var j=document.createElement("div");for(d=0;d<a.options.slidesPerRow;d++){var k=b*h+(c*a.options.slidesPerRow+d);g.get(k)&&j.appendChild(g.get(k))}i.appendChild(j)}e.appendChild(i)}a.$slider.empty().append(e),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},b.prototype.checkResponsive=function(b,c){var e,f,g,d=this,h=!1,i=d.$slider.width(),j=window.innerWidth||a(window).width();if("window"===d.respondTo?g=j:"slider"===d.respondTo?g=i:"min"===d.respondTo&&(g=Math.min(j,i)),d.options.responsive&&d.options.responsive.length&&null!==d.options.responsive){f=null;for(e in d.breakpoints)d.breakpoints.hasOwnProperty(e)&&(d.originalSettings.mobileFirst===!1?g<d.breakpoints[e]&&(f=d.breakpoints[e]):g>d.breakpoints[e]&&(f=d.breakpoints[e]));null!==f?null!==d.activeBreakpoint?(f!==d.activeBreakpoint||c)&&(d.activeBreakpoint=f,"unslick"===d.breakpointSettings[f]?d.unslick(f):(d.options=a.extend({},d.originalSettings,d.breakpointSettings[f]),b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b)),h=f):(d.activeBreakpoint=f,"unslick"===d.breakpointSettings[f]?d.unslick(f):(d.options=a.extend({},d.originalSettings,d.breakpointSettings[f]),b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b)),h=f):null!==d.activeBreakpoint&&(d.activeBreakpoint=null,d.options=d.originalSettings,b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b),h=f),b||h===!1||d.$slider.trigger("breakpoint",[d,h])}},b.prototype.changeSlide=function(b,c){var f,g,h,d=this,e=a(b.currentTarget);switch(e.is("a")&&b.preventDefault(),e.is("li")||(e=e.closest("li")),h=d.slideCount%d.options.slidesToScroll!==0,f=h?0:(d.slideCount-d.currentSlide)%d.options.slidesToScroll,b.data.message){case"previous":g=0===f?d.options.slidesToScroll:d.options.slidesToShow-f,d.slideCount>d.options.slidesToShow&&d.slideHandler(d.currentSlide-g,!1,c);break;case"next":g=0===f?d.options.slidesToScroll:f,d.slideCount>d.options.slidesToShow&&d.slideHandler(d.currentSlide+g,!1,c);break;case"index":var i=0===b.data.index?0:b.data.index||e.index()*d.options.slidesToScroll;d.slideHandler(d.checkNavigable(i),!1,c),e.children().trigger("focus");break;default:return}},b.prototype.checkNavigable=function(a){var c,d,b=this;if(c=b.getNavigableIndexes(),d=0,a>c[c.length-1])a=c[c.length-1];else for(var e in c){if(a<c[e]){a=d;break}d=c[e]}return a},b.prototype.cleanUpEvents=function(){var b=this;b.options.dots&&null!==b.$dots&&a("li",b.$dots).off("click.slick",b.changeSlide).off("mouseenter.slick",a.proxy(b.interrupt,b,!0)).off("mouseleave.slick",a.proxy(b.interrupt,b,!1)),b.$slider.off("focus.slick blur.slick"),b.options.arrows===!0&&b.slideCount>b.options.slidesToShow&&(b.$prevArrow&&b.$prevArrow.off("click.slick",b.changeSlide),b.$nextArrow&&b.$nextArrow.off("click.slick",b.changeSlide)),b.$list.off("touchstart.slick mousedown.slick",b.swipeHandler),b.$list.off("touchmove.slick mousemove.slick",b.swipeHandler),b.$list.off("touchend.slick mouseup.slick",b.swipeHandler),b.$list.off("touchcancel.slick mouseleave.slick",b.swipeHandler),b.$list.off("click.slick",b.clickHandler),a(document).off(b.visibilityChange,b.visibility),b.cleanUpSlideEvents(),b.options.accessibility===!0&&b.$list.off("keydown.slick",b.keyHandler),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().off("click.slick",b.selectHandler),a(window).off("orientationchange.slick.slick-"+b.instanceUid,b.orientationChange),a(window).off("resize.slick.slick-"+b.instanceUid,b.resize),a("[draggable!=true]",b.$slideTrack).off("dragstart",b.preventDefault),a(window).off("load.slick.slick-"+b.instanceUid,b.setPosition),a(document).off("ready.slick.slick-"+b.instanceUid,b.setPosition)},b.prototype.cleanUpSlideEvents=function(){var b=this;b.$list.off("mouseenter.slick",a.proxy(b.interrupt,b,!0)),b.$list.off("mouseleave.slick",a.proxy(b.interrupt,b,!1))},b.prototype.cleanUpRows=function(){var b,a=this;a.options.rows>1&&(b=a.$slides.children().children(),b.removeAttr("style"),a.$slider.empty().append(b))},b.prototype.clickHandler=function(a){var b=this;b.shouldClick===!1&&(a.stopImmediatePropagation(),a.stopPropagation(),a.preventDefault())},b.prototype.destroy=function(b){var c=this;c.autoPlayClear(),c.touchObject={},c.cleanUpEvents(),a(".slick-cloned",c.$slider).detach(),c.$dots&&c.$dots.remove(),c.$prevArrow&&c.$prevArrow.length&&(c.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),c.htmlExpr.test(c.options.prevArrow)&&c.$prevArrow.remove()),c.$nextArrow&&c.$nextArrow.length&&(c.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),c.htmlExpr.test(c.options.nextArrow)&&c.$nextArrow.remove()),c.$slides&&(c.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){a(this).attr("style",a(this).data("originalStyling"))}),c.$slideTrack.children(this.options.slide).detach(),c.$slideTrack.detach(),c.$list.detach(),c.$slider.append(c.$slides)),c.cleanUpRows(),c.$slider.removeClass("slick-slider"),c.$slider.removeClass("slick-initialized"),c.$slider.removeClass("slick-dotted"),c.unslicked=!0,b||c.$slider.trigger("destroy",[c])},b.prototype.disableTransition=function(a){var b=this,c={};c[b.transitionType]="",b.options.fade===!1?b.$slideTrack.css(c):b.$slides.eq(a).css(c)},b.prototype.fadeSlide=function(a,b){var c=this;c.cssTransitions===!1?(c.$slides.eq(a).css({zIndex:c.options.zIndex}),c.$slides.eq(a).animate({opacity:1},c.options.speed,c.options.easing,b)):(c.applyTransition(a),c.$slides.eq(a).css({opacity:1,zIndex:c.options.zIndex}),b&&setTimeout(function(){c.disableTransition(a),b.call()},c.options.speed))},b.prototype.fadeSlideOut=function(a){var b=this;b.cssTransitions===!1?b.$slides.eq(a).animate({opacity:0,zIndex:b.options.zIndex-2},b.options.speed,b.options.easing):(b.applyTransition(a),b.$slides.eq(a).css({opacity:0,zIndex:b.options.zIndex-2}))},b.prototype.filterSlides=b.prototype.slickFilter=function(a){var b=this;null!==a&&(b.$slidesCache=b.$slides,b.unload(),b.$slideTrack.children(this.options.slide).detach(),b.$slidesCache.filter(a).appendTo(b.$slideTrack),b.reinit())},b.prototype.focusHandler=function(){var b=this;b.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(c){c.stopImmediatePropagation();var d=a(this);setTimeout(function(){b.options.pauseOnFocus&&(b.focussed=d.is(":focus"),b.autoPlay())},0)})},b.prototype.getCurrent=b.prototype.slickCurrentSlide=function(){var a=this;return a.currentSlide},b.prototype.getDotCount=function(){var a=this,b=0,c=0,d=0;if(a.options.infinite===!0)for(;b<a.slideCount;)++d,b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;else if(a.options.centerMode===!0)d=a.slideCount;else if(a.options.asNavFor)for(;b<a.slideCount;)++d,b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;else d=1+Math.ceil((a.slideCount-a.options.slidesToShow)/a.options.slidesToScroll);return d-1},b.prototype.getLeft=function(a){var c,d,f,b=this,e=0;return b.slideOffset=0,d=b.$slides.first().outerHeight(!0),b.options.infinite===!0?(b.slideCount>b.options.slidesToShow&&(b.slideOffset=b.slideWidth*b.options.slidesToShow*-1,e=d*b.options.slidesToShow*-1),b.slideCount%b.options.slidesToScroll!==0&&a+b.options.slidesToScroll>b.slideCount&&b.slideCount>b.options.slidesToShow&&(a>b.slideCount?(b.slideOffset=(b.options.slidesToShow-(a-b.slideCount))*b.slideWidth*-1,e=(b.options.slidesToShow-(a-b.slideCount))*d*-1):(b.slideOffset=b.slideCount%b.options.slidesToScroll*b.slideWidth*-1,e=b.slideCount%b.options.slidesToScroll*d*-1))):a+b.options.slidesToShow>b.slideCount&&(b.slideOffset=(a+b.options.slidesToShow-b.slideCount)*b.slideWidth,e=(a+b.options.slidesToShow-b.slideCount)*d),b.slideCount<=b.options.slidesToShow&&(b.slideOffset=0,e=0),b.options.centerMode===!0&&b.options.infinite===!0?b.slideOffset+=b.slideWidth*Math.floor(b.options.slidesToShow/2)-b.slideWidth:b.options.centerMode===!0&&(b.slideOffset=0,b.slideOffset+=b.slideWidth*Math.floor(b.options.slidesToShow/2)),c=b.options.vertical===!1?a*b.slideWidth*-1+b.slideOffset:a*d*-1+e,b.options.variableWidth===!0&&(f=b.slideCount<=b.options.slidesToShow||b.options.infinite===!1?b.$slideTrack.children(".slick-slide").eq(a):b.$slideTrack.children(".slick-slide").eq(a+b.options.slidesToShow),c=b.options.rtl===!0?f[0]?-1*(b.$slideTrack.width()-f[0].offsetLeft-f.width()):0:f[0]?-1*f[0].offsetLeft:0,b.options.centerMode===!0&&(f=b.slideCount<=b.options.slidesToShow||b.options.infinite===!1?b.$slideTrack.children(".slick-slide").eq(a):b.$slideTrack.children(".slick-slide").eq(a+b.options.slidesToShow+1),c=b.options.rtl===!0?f[0]?-1*(b.$slideTrack.width()-f[0].offsetLeft-f.width()):0:f[0]?-1*f[0].offsetLeft:0,c+=(b.$list.width()-f.outerWidth())/2)),c},b.prototype.getOption=b.prototype.slickGetOption=function(a){var b=this;return b.options[a]},b.prototype.getNavigableIndexes=function(){var e,a=this,b=0,c=0,d=[];for(a.options.infinite===!1?e=a.slideCount:(b=-1*a.options.slidesToScroll,c=-1*a.options.slidesToScroll,e=2*a.slideCount);e>b;)d.push(b),b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;return d},b.prototype.getSlick=function(){return this},b.prototype.getSlideCount=function(){var c,d,e,b=this;return e=b.options.centerMode===!0?b.slideWidth*Math.floor(b.options.slidesToShow/2):0,b.options.swipeToSlide===!0?(b.$slideTrack.find(".slick-slide").each(function(c,f){return f.offsetLeft-e+a(f).outerWidth()/2>-1*b.swipeLeft?(d=f,!1):void 0}),c=Math.abs(a(d).attr("data-slick-index")-b.currentSlide)||1):b.options.slidesToScroll},b.prototype.goTo=b.prototype.slickGoTo=function(a,b){var c=this;c.changeSlide({data:{message:"index",index:parseInt(a)}},b)},b.prototype.init=function(b){var c=this;a(c.$slider).hasClass("slick-initialized")||(a(c.$slider).addClass("slick-initialized"),c.buildRows(),c.buildOut(),c.setProps(),c.startLoad(),c.loadSlider(),c.initializeEvents(),c.updateArrows(),c.updateDots(),c.checkResponsive(!0),c.focusHandler()),b&&c.$slider.trigger("init",[c]),c.options.accessibility===!0&&c.initADA(),c.options.autoplay&&(c.paused=!1,c.autoPlay())},b.prototype.initADA=function(){var b=this;b.$slides.add(b.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),b.$slideTrack.attr("role","listbox"),b.$slides.not(b.$slideTrack.find(".slick-cloned")).each(function(c){a(this).attr({role:"option","aria-describedby":"slick-slide"+b.instanceUid+c})}),null!==b.$dots&&b.$dots.attr("role","tablist").find("li").each(function(c){a(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+b.instanceUid+c,id:"slick-slide"+b.instanceUid+c})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),b.activateADA()},b.prototype.initArrowEvents=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},a.changeSlide),a.$nextArrow.off("click.slick").on("click.slick",{message:"next"},a.changeSlide))},b.prototype.initDotEvents=function(){var b=this;b.options.dots===!0&&b.slideCount>b.options.slidesToShow&&a("li",b.$dots).on("click.slick",{message:"index"},b.changeSlide),b.options.dots===!0&&b.options.pauseOnDotsHover===!0&&a("li",b.$dots).on("mouseenter.slick",a.proxy(b.interrupt,b,!0)).on("mouseleave.slick",a.proxy(b.interrupt,b,!1))},b.prototype.initSlideEvents=function(){var b=this;b.options.pauseOnHover&&(b.$list.on("mouseenter.slick",a.proxy(b.interrupt,b,!0)),b.$list.on("mouseleave.slick",a.proxy(b.interrupt,b,!1)))},b.prototype.initializeEvents=function(){var b=this;b.initArrowEvents(),b.initDotEvents(),b.initSlideEvents(),b.$list.on("touchstart.slick mousedown.slick",{action:"start"},b.swipeHandler),b.$list.on("touchmove.slick mousemove.slick",{action:"move"},b.swipeHandler),b.$list.on("touchend.slick mouseup.slick",{action:"end"},b.swipeHandler),b.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},b.swipeHandler),b.$list.on("click.slick",b.clickHandler),a(document).on(b.visibilityChange,a.proxy(b.visibility,b)),b.options.accessibility===!0&&b.$list.on("keydown.slick",b.keyHandler),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().on("click.slick",b.selectHandler),a(window).on("orientationchange.slick.slick-"+b.instanceUid,a.proxy(b.orientationChange,b)),a(window).on("resize.slick.slick-"+b.instanceUid,a.proxy(b.resize,b)),a("[draggable!=true]",b.$slideTrack).on("dragstart",b.preventDefault),a(window).on("load.slick.slick-"+b.instanceUid,b.setPosition),a(document).on("ready.slick.slick-"+b.instanceUid,b.setPosition)},b.prototype.initUI=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.show(),a.$nextArrow.show()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.show()},b.prototype.keyHandler=function(a){var b=this;a.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===a.keyCode&&b.options.accessibility===!0?b.changeSlide({data:{message:b.options.rtl===!0?"next":"previous"}}):39===a.keyCode&&b.options.accessibility===!0&&b.changeSlide({data:{message:b.options.rtl===!0?"previous":"next"}}))},b.prototype.lazyLoad=function(){function g(c){a("img[data-lazy]",c).each(function(){var c=a(this),d=a(this).attr("data-lazy"),e=document.createElement("img");e.onload=function(){c.animate({opacity:0},100,function(){c.attr("src",d).animate({opacity:1},200,function(){c.removeAttr("data-lazy").removeClass("slick-loading")}),b.$slider.trigger("lazyLoaded",[b,c,d])})},e.onerror=function(){c.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),b.$slider.trigger("lazyLoadError",[b,c,d])},e.src=d})}var c,d,e,f,b=this;b.options.centerMode===!0?b.options.infinite===!0?(e=b.currentSlide+(b.options.slidesToShow/2+1),f=e+b.options.slidesToShow+2):(e=Math.max(0,b.currentSlide-(b.options.slidesToShow/2+1)),f=2+(b.options.slidesToShow/2+1)+b.currentSlide):(e=b.options.infinite?b.options.slidesToShow+b.currentSlide:b.currentSlide,f=Math.ceil(e+b.options.slidesToShow),b.options.fade===!0&&(e>0&&e--,f<=b.slideCount&&f++)),c=b.$slider.find(".slick-slide").slice(e,f),g(c),b.slideCount<=b.options.slidesToShow?(d=b.$slider.find(".slick-slide"),g(d)):b.currentSlide>=b.slideCount-b.options.slidesToShow?(d=b.$slider.find(".slick-cloned").slice(0,b.options.slidesToShow),g(d)):0===b.currentSlide&&(d=b.$slider.find(".slick-cloned").slice(-1*b.options.slidesToShow),g(d))},b.prototype.loadSlider=function(){var a=this;a.setPosition(),a.$slideTrack.css({opacity:1}),a.$slider.removeClass("slick-loading"),a.initUI(),"progressive"===a.options.lazyLoad&&a.progressiveLazyLoad()},b.prototype.next=b.prototype.slickNext=function(){var a=this;a.changeSlide({data:{message:"next"}})},b.prototype.orientationChange=function(){var a=this;a.checkResponsive(),a.setPosition()},b.prototype.pause=b.prototype.slickPause=function(){var a=this;a.autoPlayClear(),a.paused=!0},b.prototype.play=b.prototype.slickPlay=function(){var a=this;a.autoPlay(),a.options.autoplay=!0,a.paused=!1,a.focussed=!1,a.interrupted=!1},b.prototype.postSlide=function(a){var b=this;b.unslicked||(b.$slider.trigger("afterChange",[b,a]),b.animating=!1,b.setPosition(),b.swipeLeft=null,b.options.autoplay&&b.autoPlay(),b.options.accessibility===!0&&b.initADA())},b.prototype.prev=b.prototype.slickPrev=function(){var a=this;a.changeSlide({data:{message:"previous"}})},b.prototype.preventDefault=function(a){a.preventDefault()},b.prototype.progressiveLazyLoad=function(b){b=b||1;var e,f,g,c=this,d=a("img[data-lazy]",c.$slider);d.length?(e=d.first(),f=e.attr("data-lazy"),g=document.createElement("img"),g.onload=function(){e.attr("src",f).removeAttr("data-lazy").removeClass("slick-loading"),c.options.adaptiveHeight===!0&&c.setPosition(),c.$slider.trigger("lazyLoaded",[c,e,f]),c.progressiveLazyLoad()},g.onerror=function(){3>b?setTimeout(function(){c.progressiveLazyLoad(b+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),c.$slider.trigger("lazyLoadError",[c,e,f]),c.progressiveLazyLoad())},g.src=f):c.$slider.trigger("allImagesLoaded",[c])},b.prototype.refresh=function(b){var d,e,c=this;e=c.slideCount-c.options.slidesToShow,!c.options.infinite&&c.currentSlide>e&&(c.currentSlide=e),c.slideCount<=c.options.slidesToShow&&(c.currentSlide=0),d=c.currentSlide,c.destroy(!0),a.extend(c,c.initials,{currentSlide:d}),c.init(),b||c.changeSlide({data:{message:"index",index:d}},!1)},b.prototype.registerBreakpoints=function(){var c,d,e,b=this,f=b.options.responsive||null;if("array"===a.type(f)&&f.length){b.respondTo=b.options.respondTo||"window";for(c in f)if(e=b.breakpoints.length-1,d=f[c].breakpoint,f.hasOwnProperty(c)){for(;e>=0;)b.breakpoints[e]&&b.breakpoints[e]===d&&b.breakpoints.splice(e,1),e--;b.breakpoints.push(d),b.breakpointSettings[d]=f[c].settings}b.breakpoints.sort(function(a,c){return b.options.mobileFirst?a-c:c-a})}},b.prototype.reinit=function(){var b=this;b.$slides=b.$slideTrack.children(b.options.slide).addClass("slick-slide"),b.slideCount=b.$slides.length,b.currentSlide>=b.slideCount&&0!==b.currentSlide&&(b.currentSlide=b.currentSlide-b.options.slidesToScroll),b.slideCount<=b.options.slidesToShow&&(b.currentSlide=0),b.registerBreakpoints(),b.setProps(),b.setupInfinite(),b.buildArrows(),b.updateArrows(),b.initArrowEvents(),b.buildDots(),b.updateDots(),b.initDotEvents(),b.cleanUpSlideEvents(),b.initSlideEvents(),b.checkResponsive(!1,!0),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().on("click.slick",b.selectHandler),b.setSlideClasses("number"==typeof b.currentSlide?b.currentSlide:0),b.setPosition(),b.focusHandler(),b.paused=!b.options.autoplay,b.autoPlay(),b.$slider.trigger("reInit",[b])},b.prototype.resize=function(){var b=this;a(window).width()!==b.windowWidth&&(clearTimeout(b.windowDelay),b.windowDelay=window.setTimeout(function(){b.windowWidth=a(window).width(),b.checkResponsive(),b.unslicked||b.setPosition()},50))},b.prototype.removeSlide=b.prototype.slickRemove=function(a,b,c){var d=this;return"boolean"==typeof a?(b=a,a=b===!0?0:d.slideCount-1):a=b===!0?--a:a,d.slideCount<1||0>a||a>d.slideCount-1?!1:(d.unload(),c===!0?d.$slideTrack.children().remove():d.$slideTrack.children(this.options.slide).eq(a).remove(),d.$slides=d.$slideTrack.children(this.options.slide),d.$slideTrack.children(this.options.slide).detach(),d.$slideTrack.append(d.$slides),d.$slidesCache=d.$slides,void d.reinit())},b.prototype.setCSS=function(a){var d,e,b=this,c={};b.options.rtl===!0&&(a=-a),d="left"==b.positionProp?Math.ceil(a)+"px":"0px",e="top"==b.positionProp?Math.ceil(a)+"px":"0px",c[b.positionProp]=a,b.transformsEnabled===!1?b.$slideTrack.css(c):(c={},b.cssTransitions===!1?(c[b.animType]="translate("+d+", "+e+")",b.$slideTrack.css(c)):(c[b.animType]="translate3d("+d+", "+e+", 0px)",b.$slideTrack.css(c)))},b.prototype.setDimensions=function(){var a=this;a.options.vertical===!1?a.options.centerMode===!0&&a.$list.css({padding:"0px "+a.options.centerPadding}):(a.$list.height(a.$slides.first().outerHeight(!0)*a.options.slidesToShow),a.options.centerMode===!0&&a.$list.css({padding:a.options.centerPadding+" 0px"})),a.listWidth=a.$list.width(),a.listHeight=a.$list.height(),a.options.vertical===!1&&a.options.variableWidth===!1?(a.slideWidth=Math.ceil(a.listWidth/a.options.slidesToShow),a.$slideTrack.width(Math.ceil(a.slideWidth*a.$slideTrack.children(".slick-slide").length))):a.options.variableWidth===!0?a.$slideTrack.width(5e3*a.slideCount):(a.slideWidth=Math.ceil(a.listWidth),a.$slideTrack.height(Math.ceil(a.$slides.first().outerHeight(!0)*a.$slideTrack.children(".slick-slide").length)));var b=a.$slides.first().outerWidth(!0)-a.$slides.first().width();a.options.variableWidth===!1&&a.$slideTrack.children(".slick-slide").width(a.slideWidth-b)},b.prototype.setFade=function(){var c,b=this;b.$slides.each(function(d,e){c=b.slideWidth*d*-1,b.options.rtl===!0?a(e).css({position:"relative",right:c,top:0,zIndex:b.options.zIndex-2,opacity:0}):a(e).css({position:"relative",left:c,top:0,zIndex:b.options.zIndex-2,opacity:0})}),b.$slides.eq(b.currentSlide).css({zIndex:b.options.zIndex-1,opacity:1})},b.prototype.setHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.css("height",b)}},b.prototype.setOption=b.prototype.slickSetOption=function(){var c,d,e,f,h,b=this,g=!1;if("object"===a.type(arguments[0])?(e=arguments[0],g=arguments[1],h="multiple"):"string"===a.type(arguments[0])&&(e=arguments[0],f=arguments[1],g=arguments[2],"responsive"===arguments[0]&&"array"===a.type(arguments[1])?h="responsive":"undefined"!=typeof arguments[1]&&(h="single")),"single"===h)b.options[e]=f;else if("multiple"===h)a.each(e,function(a,c){b.options[a]=c});else if("responsive"===h)for(d in f)if("array"!==a.type(b.options.responsive))b.options.responsive=[f[d]];else{for(c=b.options.responsive.length-1;c>=0;)b.options.responsive[c].breakpoint===f[d].breakpoint&&b.options.responsive.splice(c,1),c--;b.options.responsive.push(f[d])}g&&(b.unload(),b.reinit())},b.prototype.setPosition=function(){var a=this;a.setDimensions(),a.setHeight(),a.options.fade===!1?a.setCSS(a.getLeft(a.currentSlide)):a.setFade(),a.$slider.trigger("setPosition",[a])},b.prototype.setProps=function(){var a=this,b=document.body.style;a.positionProp=a.options.vertical===!0?"top":"left","top"===a.positionProp?a.$slider.addClass("slick-vertical"):a.$slider.removeClass("slick-vertical"),(void 0!==b.WebkitTransition||void 0!==b.MozTransition||void 0!==b.msTransition)&&a.options.useCSS===!0&&(a.cssTransitions=!0),a.options.fade&&("number"==typeof a.options.zIndex?a.options.zIndex<3&&(a.options.zIndex=3):a.options.zIndex=a.defaults.zIndex),void 0!==b.OTransform&&(a.animType="OTransform",a.transformType="-o-transform",a.transitionType="OTransition",void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.MozTransform&&(a.animType="MozTransform",a.transformType="-moz-transform",a.transitionType="MozTransition",void 0===b.perspectiveProperty&&void 0===b.MozPerspective&&(a.animType=!1)),void 0!==b.webkitTransform&&(a.animType="webkitTransform",a.transformType="-webkit-transform",a.transitionType="webkitTransition",void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.msTransform&&(a.animType="msTransform",a.transformType="-ms-transform",a.transitionType="msTransition",void 0===b.msTransform&&(a.animType=!1)),void 0!==b.transform&&a.animType!==!1&&(a.animType="transform",a.transformType="transform",a.transitionType="transition"),a.transformsEnabled=a.options.useTransform&&null!==a.animType&&a.animType!==!1},b.prototype.setSlideClasses=function(a){var c,d,e,f,b=this;d=b.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),b.$slides.eq(a).addClass("slick-current"),b.options.centerMode===!0?(c=Math.floor(b.options.slidesToShow/2),b.options.infinite===!0&&(a>=c&&a<=b.slideCount-1-c?b.$slides.slice(a-c,a+c+1).addClass("slick-active").attr("aria-hidden","false"):(e=b.options.slidesToShow+a,
18
+d.slice(e-c+1,e+c+2).addClass("slick-active").attr("aria-hidden","false")),0===a?d.eq(d.length-1-b.options.slidesToShow).addClass("slick-center"):a===b.slideCount-1&&d.eq(b.options.slidesToShow).addClass("slick-center")),b.$slides.eq(a).addClass("slick-center")):a>=0&&a<=b.slideCount-b.options.slidesToShow?b.$slides.slice(a,a+b.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):d.length<=b.options.slidesToShow?d.addClass("slick-active").attr("aria-hidden","false"):(f=b.slideCount%b.options.slidesToShow,e=b.options.infinite===!0?b.options.slidesToShow+a:a,b.options.slidesToShow==b.options.slidesToScroll&&b.slideCount-a<b.options.slidesToShow?d.slice(e-(b.options.slidesToShow-f),e+f).addClass("slick-active").attr("aria-hidden","false"):d.slice(e,e+b.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===b.options.lazyLoad&&b.lazyLoad()},b.prototype.setupInfinite=function(){var c,d,e,b=this;if(b.options.fade===!0&&(b.options.centerMode=!1),b.options.infinite===!0&&b.options.fade===!1&&(d=null,b.slideCount>b.options.slidesToShow)){for(e=b.options.centerMode===!0?b.options.slidesToShow+1:b.options.slidesToShow,c=b.slideCount;c>b.slideCount-e;c-=1)d=c-1,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d-b.slideCount).prependTo(b.$slideTrack).addClass("slick-cloned");for(c=0;e>c;c+=1)d=c,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d+b.slideCount).appendTo(b.$slideTrack).addClass("slick-cloned");b.$slideTrack.find(".slick-cloned").find("[id]").each(function(){a(this).attr("id","")})}},b.prototype.interrupt=function(a){var b=this;a||b.autoPlay(),b.interrupted=a},b.prototype.selectHandler=function(b){var c=this,d=a(b.target).is(".slick-slide")?a(b.target):a(b.target).parents(".slick-slide"),e=parseInt(d.attr("data-slick-index"));return e||(e=0),c.slideCount<=c.options.slidesToShow?(c.setSlideClasses(e),void c.asNavFor(e)):void c.slideHandler(e)},b.prototype.slideHandler=function(a,b,c){var d,e,f,g,j,h=null,i=this;return b=b||!1,i.animating===!0&&i.options.waitForAnimate===!0||i.options.fade===!0&&i.currentSlide===a||i.slideCount<=i.options.slidesToShow?void 0:(b===!1&&i.asNavFor(a),d=a,h=i.getLeft(d),g=i.getLeft(i.currentSlide),i.currentLeft=null===i.swipeLeft?g:i.swipeLeft,i.options.infinite===!1&&i.options.centerMode===!1&&(0>a||a>i.getDotCount()*i.options.slidesToScroll)?void(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d))):i.options.infinite===!1&&i.options.centerMode===!0&&(0>a||a>i.slideCount-i.options.slidesToScroll)?void(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d))):(i.options.autoplay&&clearInterval(i.autoPlayTimer),e=0>d?i.slideCount%i.options.slidesToScroll!==0?i.slideCount-i.slideCount%i.options.slidesToScroll:i.slideCount+d:d>=i.slideCount?i.slideCount%i.options.slidesToScroll!==0?0:d-i.slideCount:d,i.animating=!0,i.$slider.trigger("beforeChange",[i,i.currentSlide,e]),f=i.currentSlide,i.currentSlide=e,i.setSlideClasses(i.currentSlide),i.options.asNavFor&&(j=i.getNavTarget(),j=j.slick("getSlick"),j.slideCount<=j.options.slidesToShow&&j.setSlideClasses(i.currentSlide)),i.updateDots(),i.updateArrows(),i.options.fade===!0?(c!==!0?(i.fadeSlideOut(f),i.fadeSlide(e,function(){i.postSlide(e)})):i.postSlide(e),void i.animateHeight()):void(c!==!0?i.animateSlide(h,function(){i.postSlide(e)}):i.postSlide(e))))},b.prototype.startLoad=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.hide(),a.$nextArrow.hide()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.hide(),a.$slider.addClass("slick-loading")},b.prototype.swipeDirection=function(){var a,b,c,d,e=this;return a=e.touchObject.startX-e.touchObject.curX,b=e.touchObject.startY-e.touchObject.curY,c=Math.atan2(b,a),d=Math.round(180*c/Math.PI),0>d&&(d=360-Math.abs(d)),45>=d&&d>=0?e.options.rtl===!1?"left":"right":360>=d&&d>=315?e.options.rtl===!1?"left":"right":d>=135&&225>=d?e.options.rtl===!1?"right":"left":e.options.verticalSwiping===!0?d>=35&&135>=d?"down":"up":"vertical"},b.prototype.swipeEnd=function(a){var c,d,b=this;if(b.dragging=!1,b.interrupted=!1,b.shouldClick=b.touchObject.swipeLength>10?!1:!0,void 0===b.touchObject.curX)return!1;if(b.touchObject.edgeHit===!0&&b.$slider.trigger("edge",[b,b.swipeDirection()]),b.touchObject.swipeLength>=b.touchObject.minSwipe){switch(d=b.swipeDirection()){case"left":case"down":c=b.options.swipeToSlide?b.checkNavigable(b.currentSlide+b.getSlideCount()):b.currentSlide+b.getSlideCount(),b.currentDirection=0;break;case"right":case"up":c=b.options.swipeToSlide?b.checkNavigable(b.currentSlide-b.getSlideCount()):b.currentSlide-b.getSlideCount(),b.currentDirection=1}"vertical"!=d&&(b.slideHandler(c),b.touchObject={},b.$slider.trigger("swipe",[b,d]))}else b.touchObject.startX!==b.touchObject.curX&&(b.slideHandler(b.currentSlide),b.touchObject={})},b.prototype.swipeHandler=function(a){var b=this;if(!(b.options.swipe===!1||"ontouchend"in document&&b.options.swipe===!1||b.options.draggable===!1&&-1!==a.type.indexOf("mouse")))switch(b.touchObject.fingerCount=a.originalEvent&&void 0!==a.originalEvent.touches?a.originalEvent.touches.length:1,b.touchObject.minSwipe=b.listWidth/b.options.touchThreshold,b.options.verticalSwiping===!0&&(b.touchObject.minSwipe=b.listHeight/b.options.touchThreshold),a.data.action){case"start":b.swipeStart(a);break;case"move":b.swipeMove(a);break;case"end":b.swipeEnd(a)}},b.prototype.swipeMove=function(a){var d,e,f,g,h,b=this;return h=void 0!==a.originalEvent?a.originalEvent.touches:null,!b.dragging||h&&1!==h.length?!1:(d=b.getLeft(b.currentSlide),b.touchObject.curX=void 0!==h?h[0].pageX:a.clientX,b.touchObject.curY=void 0!==h?h[0].pageY:a.clientY,b.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(b.touchObject.curX-b.touchObject.startX,2))),b.options.verticalSwiping===!0&&(b.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(b.touchObject.curY-b.touchObject.startY,2)))),e=b.swipeDirection(),"vertical"!==e?(void 0!==a.originalEvent&&b.touchObject.swipeLength>4&&a.preventDefault(),g=(b.options.rtl===!1?1:-1)*(b.touchObject.curX>b.touchObject.startX?1:-1),b.options.verticalSwiping===!0&&(g=b.touchObject.curY>b.touchObject.startY?1:-1),f=b.touchObject.swipeLength,b.touchObject.edgeHit=!1,b.options.infinite===!1&&(0===b.currentSlide&&"right"===e||b.currentSlide>=b.getDotCount()&&"left"===e)&&(f=b.touchObject.swipeLength*b.options.edgeFriction,b.touchObject.edgeHit=!0),b.options.vertical===!1?b.swipeLeft=d+f*g:b.swipeLeft=d+f*(b.$list.height()/b.listWidth)*g,b.options.verticalSwiping===!0&&(b.swipeLeft=d+f*g),b.options.fade===!0||b.options.touchMove===!1?!1:b.animating===!0?(b.swipeLeft=null,!1):void b.setCSS(b.swipeLeft)):void 0)},b.prototype.swipeStart=function(a){var c,b=this;return b.interrupted=!0,1!==b.touchObject.fingerCount||b.slideCount<=b.options.slidesToShow?(b.touchObject={},!1):(void 0!==a.originalEvent&&void 0!==a.originalEvent.touches&&(c=a.originalEvent.touches[0]),b.touchObject.startX=b.touchObject.curX=void 0!==c?c.pageX:a.clientX,b.touchObject.startY=b.touchObject.curY=void 0!==c?c.pageY:a.clientY,void(b.dragging=!0))},b.prototype.unfilterSlides=b.prototype.slickUnfilter=function(){var a=this;null!==a.$slidesCache&&(a.unload(),a.$slideTrack.children(this.options.slide).detach(),a.$slidesCache.appendTo(a.$slideTrack),a.reinit())},b.prototype.unload=function(){var b=this;a(".slick-cloned",b.$slider).remove(),b.$dots&&b.$dots.remove(),b.$prevArrow&&b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.remove(),b.$nextArrow&&b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.remove(),b.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},b.prototype.unslick=function(a){var b=this;b.$slider.trigger("unslick",[b,a]),b.destroy()},b.prototype.updateArrows=function(){var b,a=this;b=Math.floor(a.options.slidesToShow/2),a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&!a.options.infinite&&(a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===a.currentSlide?(a.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):a.currentSlide>=a.slideCount-a.options.slidesToShow&&a.options.centerMode===!1?(a.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):a.currentSlide>=a.slideCount-1&&a.options.centerMode===!0&&(a.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},b.prototype.updateDots=function(){var a=this;null!==a.$dots&&(a.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),a.$dots.find("li").eq(Math.floor(a.currentSlide/a.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},b.prototype.visibility=function(){var a=this;a.options.autoplay&&(document[a.hidden]?a.interrupted=!0:a.interrupted=!1)},a.fn.slick=function(){var f,g,a=this,c=arguments[0],d=Array.prototype.slice.call(arguments,1),e=a.length;for(f=0;e>f;f++)if("object"==typeof c||"undefined"==typeof c?a[f].slick=new b(a[f],c):g=a[f].slick[c].apply(a[f].slick,d),"undefined"!=typeof g)return g;return a}});
0 19
\ No newline at end of file
1 20
new file mode 100644
... ...
@@ -0,0 +1,7 @@
1
+
2
+;;
3
+; Configure what you want the autoload creator to register
4
+;;
5
+register_namespaces = true
6
+register_classes    = true
7
+register_templates  = true
0 8
\ No newline at end of file
1 9
new file mode 100644
... ...
@@ -0,0 +1,46 @@
1
+<?php
2
+
3
+/**
4
+ * Slick slider for Contao
5
+ *
6
+ * Copyright (c) 2016 Benjamin Roth
7
+ *
8
+ * @license LGPL-3.0+
9
+ */
10
+
11
+
12
+/**
13
+ * Register the namespaces
14
+ */
15
+ClassLoader::addNamespaces(array
16
+(
17
+	'eSM_slick',
18
+));
19
+
20
+
21
+/**
22
+ * Register the classes
23
+ */
24
+ClassLoader::addClasses(array
25
+(
26
+	// Elements
27
+	'eSM_slick\ContentSlickSliderStart'       => 'system/modules/eSM_slick/elements/ContentSlickSliderStart.php',
28
+	'eSM_slick\ContentSlickSliderStop'        => 'system/modules/eSM_slick/elements/ContentSlickSliderStop.php',
29
+	'eSM_slick\ContentSlickSliderSlideStart'  => 'system/modules/eSM_slick/elements/ContentSlickSliderSlideStart.php',
30
+	'eSM_slick\ContentSlickSliderSlideStop'   => 'system/modules/eSM_slick/elements/ContentSlickSliderSlideStop.php',
31
+	'eSM_slick\ContentSlickSliderWallpaper'   => 'system/modules/eSM_slick/elements/ContentSlickSliderWallpaper.php',
32
+));
33
+
34
+
35
+/**
36
+ * Register the templates
37
+ */
38
+TemplateLoader::addFiles(array
39
+(
40
+	'j_slickslider'              => 'system/modules/eSM_slick/templates/widgets',
41
+	'ce_slick_slider_start'      => 'system/modules/eSM_slick/templates/elements',
42
+	'ce_slick_slider_stop'       => 'system/modules/eSM_slick/templates/elements',
43
+	'slide_start_default'        => 'system/modules/eSM_slick/templates/slides',
44
+	'slide_stop_default'         => 'system/modules/eSM_slick/templates/slides',
45
+	'ce_slick_slider_wallpaper'  => 'system/modules/eSM_slick/templates/elements',
46
+));
0 47
new file mode 100644
... ...
@@ -0,0 +1,36 @@
1
+<?php
2
+
3
+/**
4
+ * Slick slider for Contao
5
+ *
6
+ * Copyright (c) 2016 Benjamin Roth
7
+ *
8
+ * @license LGPL-3.0+
9
+ */
10
+
11
+
12
+/**
13
+ * Asset version
14
+ */
15
+$GLOBALS['TL_ASSETS']['SLICKSLIDER'] = '1.6.0';
16
+
17
+/**
18
+ * Content elements
19
+ */
20
+$GLOBALS['TL_CTE']['slickSlider'] = array
21
+(
22
+  'slickSliderStart'     => 'ContentSlickSliderStart',
23
+  'slickSliderStop'      => 'ContentSlickSliderStop',
24
+  'slickSliderSlideStart'=> 'ContentSlickSliderSlideStart',
25
+  'slickSliderSlideStop' => 'ContentSlickSliderSlideStop',
26
+  'slickSliderWallpaper' => 'ContentSlickSliderWallpaper'
27
+);
28
+
29
+/**
30
+ * Wrapper elements
31
+ */
32
+
33
+$GLOBALS['TL_WRAPPERS']['start'][] = 'slickSliderStart';
34
+$GLOBALS['TL_WRAPPERS']['stop'][] = 'slickSliderStop';
35
+$GLOBALS['TL_WRAPPERS']['start'][] = 'slickSliderSlideStart';
36
+$GLOBALS['TL_WRAPPERS']['stop'][] = 'slickSliderSlideStop';
0 37
new file mode 100644
... ...
@@ -0,0 +1,200 @@
1
+<?php
2
+
3
+/**
4
+ * Slick slider for Contao
5
+ *
6
+ * Copyright (c) 2016 Benjamin Roth
7
+ *
8
+ * @license LGPL-3.0+
9
+ */
10
+
11
+
12
+/**
13
+ * Table tl_content
14
+ */
15
+
16
+/**
17
+ * Add callback
18
+ */
19
+$GLOBALS['TL_DCA']['tl_content']['config']['onload_callback'][] = array('tl_content_eSM_slick', 'showJsLibraryHint');
20
+
21
+/**
22
+ * Add palettes to tl_content
23
+ */
24
+$GLOBALS['TL_DCA']['tl_content']['palettes']['__selector__'][] = 'eSM_addImage';
25
+$GLOBALS['TL_DCA']['tl_content']['palettes']['slickSliderStart'] = '{type_legend},type;{slickSlider_legend},eSM_slick_autoPlaySpeed,eSM_slick_speed,eSM_slick_initialSlide,eSM_slick_lazyLoad,eSM_slick_infinite,eSM_slick_arrows,eSM_slick_pagination,eSM_slick_pause,eSM_slick_fade;{template_legend:hide},customTpl;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space;{invisible_legend:hide},invisible,start,stop';
26
+$GLOBALS['TL_DCA']['tl_content']['palettes']['slickSliderStop'] = '{type_legend},type;{template_legend:hide},customTpl;{protected_legend:hide},protected;{expert_legend:hide},guests;{invisible_legend:hide},invisible,start,stop';
27
+$GLOBALS['TL_DCA']['tl_content']['palettes']['slickSliderSlideStart'] = '{type_legend},type;{slickSlider_legend},eSM_addImage;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space;{invisible_legend:hide},invisible,start,stop';
28
+$GLOBALS['TL_DCA']['tl_content']['palettes']['slickSliderSlideStop'] = '{type_legend},type;{protected_legend:hide},protected;{expert_legend:hide},guests;{invisible_legend:hide},invisible,start,stop';
29
+$GLOBALS['TL_DCA']['tl_content']['palettes']['slickSliderWallpaper'] = '{type_legend},type;{slickSlider_legend},eSM_slick_text,eSM_slick_url,singleSRC,size;{template_legend:hide},customTpl;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space;{invisible_legend:hide},invisible,start,stop';
30
+
31
+
32
+$GLOBALS['TL_DCA']['tl_content']['subpalettes']['eSM_addImage'] = 'singleSRC,size';
33
+
34
+/**
35
+ * Add fields to tl_content
36
+ */
37
+
38
+$GLOBALS['TL_DCA']['tl_content']['fields']['eSM_slick_autoPlaySpeed'] = array
39
+(
40
+  'label'                   => &$GLOBALS['TL_LANG']['tl_content']['eSM_slick_autoPlaySpeed'],
41
+  'exclude'                 => true,
42
+  'inputType'               => 'text',
43
+  'eval'                    => array('tl_class'=>'w50','rgxp'=>'digit'),
44
+  'sql'                     => "int(10) unsigned NOT NULL default '0'"
45
+);
46
+
47
+$GLOBALS['TL_DCA']['tl_content']['fields']['eSM_slick_speed'] = array
48
+(
49
+  'label'                   => &$GLOBALS['TL_LANG']['tl_content']['eSM_slick_speed'],
50
+  'exclude'                 => true,
51
+  'inputType'               => 'text',
52
+  'default'                 => '500',
53
+  'eval'                    => array('tl_class'=>'w50','rgxp'=>'digit'),
54
+  'sql'                     => "int(10) unsigned NOT NULL default '0'"
55
+);
56
+
57
+$GLOBALS['TL_DCA']['tl_content']['fields']['eSM_slick_initialSlide'] = array
58
+(
59
+  'label'                   => &$GLOBALS['TL_LANG']['tl_content']['eSM_slick_initialSlide'],
60
+  'exclude'                 => true,
61
+  'inputType'               => 'text',
62
+  'eval'                    => array('tl_class'=>'w50','rgxp'=>'digit'),
63
+  'sql'                     => "int(10) unsigned NOT NULL default '0'"
64
+);
65
+
66
+$GLOBALS['TL_DCA']['tl_content']['fields']['eSM_slick_infinite'] = array
67
+(
68
+  'label'                   => &$GLOBALS['TL_LANG']['tl_content']['eSM_slick_infinite'],
69
+  'exclude'                 => true,
70
+  'inputType'               => 'checkbox',
71
+  'eval'                    => array('tl_class'=>'w50 m12'),
72
+  'sql'                     => "char(1) NOT NULL default ''"
73
+);
74
+
75
+$GLOBALS['TL_DCA']['tl_content']['fields']['eSM_slick_arrows'] = array
76
+(
77
+  'label'                   => &$GLOBALS['TL_LANG']['tl_content']['eSM_slick_arrows'],
78
+  'exclude'                 => true,
79
+  'inputType'               => 'checkbox',
80
+  'eval'                    => array('tl_class'=>'w50 m12'),
81
+  'sql'                     => "char(1) NOT NULL default ''"
82
+);
83
+
84
+$GLOBALS['TL_DCA']['tl_content']['fields']['eSM_slick_pagination'] = array
85
+(
86
+  'label'                   => &$GLOBALS['TL_LANG']['tl_content']['eSM_slick_pagination'],
87
+  'exclude'                 => true,
88
+  'inputType'               => 'checkbox',
89
+  'eval'                    => array('tl_class'=>'w50 m12'),
90
+  'sql'                     => "char(1) NOT NULL default ''"
91
+);
92
+
93
+$GLOBALS['TL_DCA']['tl_content']['fields']['eSM_slick_pause'] = array
94
+(
95
+  'label'                   => &$GLOBALS['TL_LANG']['tl_content']['eSM_slick_pause'],
96
+  'exclude'                 => true,
97
+  'inputType'               => 'checkbox',
98
+  'eval'                    => array('tl_class'=>'w50 m12'),
99
+  'sql'                     => "char(1) NOT NULL default ''"
100
+);
101
+
102
+$GLOBALS['TL_DCA']['tl_content']['fields']['eSM_slick_lazyLoad'] = array
103
+(
104
+  'label'                   => &$GLOBALS['TL_LANG']['tl_content']['eSM_slick_lazyLoad'],
105
+  'exclude'                 => true,
106
+  'inputType'               => 'select',
107
+  'default'                 => 'ondemand',
108
+  'options'                 => array('ondemand','progressive'),
109
+  'reference'               => &$GLOBALS['TL_LANG']['MSC']['slick_lazyLoad'],
110
+  'eval'                    => array('tl_class'=>'w50','includeBlankOption'=>true),
111
+  'sql'                     => "varchar(16) NOT NULL default ''"
112
+);
113
+
114
+$GLOBALS['TL_DCA']['tl_content']['fields']['eSM_slick_fade'] = array
115
+(
116
+  'label'                   => &$GLOBALS['TL_LANG']['tl_content']['eSM_slick_fade'],
117
+  'exclude'                 => true,
118
+  'inputType'               => 'checkbox',
119
+  'eval'                    => array('tl_class'=>'w50 m12'),
120
+  'sql'                     => "char(1) NOT NULL default ''"
121
+);
122
+
123
+$GLOBALS['TL_DCA']['tl_content']['fields']['eSM_slick_text'] = array
124
+(
125
+    'label'                   => &$GLOBALS['TL_LANG']['tl_content']['eSM_slick_text'],
126
+    'exclude'                 => true,
127
+    'inputType'               => 'textarea',
128
+    'eval'                    => array('rows'=>2,'style'=>'height: 2em;', 'maxlength'=>64),
129
+    'sql'                     => "varchar(64) NOT NULL default ''"
130
+);
131
+
132
+$GLOBALS['TL_DCA']['tl_content']['fields']['eSM_slick_url'] = array
133
+(
134
+    'label'                   => &$GLOBALS['TL_LANG']['MSC']['url'],
135
+    'exclude'                 => true,
136
+    'inputType'               => 'text',
137
+    'eval'                    => array('rgxp'=>'url', 'decodeEntities'=>true, 'maxlength'=>255, 'fieldType'=>'radio', 'filesOnly'=>true, 'tl_class'=>'w50 wizard'),
138
+    'wizard' => array
139
+    (
140
+        array('tl_content', 'pagePicker')
141
+    ),
142
+    'sql'                     => "varchar(255) NOT NULL default ''"
143
+);
144
+
145
+$GLOBALS['TL_DCA']['tl_content']['fields']['eSM_addImage'] = array
146
+(
147
+  'label'                   => &$GLOBALS['TL_LANG']['tl_content']['addImage'],
148
+  'exclude'                 => true,
149
+  'inputType'               => 'checkbox',
150
+  'eval'                    => array('submitOnChange'=>true),
151
+  'sql'                     => "char(1) NOT NULL default ''"
152
+);
153
+
154
+
155
+class tl_content_eSM_slick extends Backend
156
+{
157
+
158
+  /**
159
+   * Import the back end user object
160
+   */
161
+  public function __construct()
162
+  {
163
+    parent::__construct();
164
+    $this->import('BackendUser', 'User');
165
+  }
166
+
167
+  /**
168
+   * Show a hint if a JavaScript library needs to be included in the page layout
169
+   *
170
+   * @param object
171
+   */
172
+  public function showJsLibraryHint($dc)
173
+  {
174
+    if ($_POST || Input::get('act') != 'edit')
175
+    {
176
+      return;
177
+    }
178
+
179
+    // Return if the user cannot access the layout module (see #6190)
180
+    if (!$this->User->hasAccess('themes', 'modules') || !$this->User->hasAccess('layout', 'themes'))
181
+    {
182
+      return;
183
+    }
184
+
185
+    $objCte = ContentModel::findByPk($dc->id);
186
+
187
+    if ($objCte === null)
188
+    {
189
+      return;
190
+    }
191
+
192
+    switch ($objCte->type)
193
+    {
194
+      case 'slickSliderStart':
195
+      case 'slickSliderStop':
196
+        Message::addInfo(sprintf($GLOBALS['TL_LANG']['tl_content']['includeTemplatesJQuery'], 'j_slickslider'));
197
+        break;
198
+    }
199
+  }
200
+}
0 201
\ No newline at end of file
1 202
new file mode 100644
... ...
@@ -0,0 +1,56 @@
1
+<?php
2
+
3
+/**
4
+ * Slick slider for Contao
5
+ *
6
+ * Copyright (c) 2016 Benjamin Roth
7
+ *
8
+ * @license LGPL-3.0+
9
+ */
10
+
11
+namespace eSM_slick;
12
+
13
+
14
+/**
15
+ * Front end content element slick slider start.
16
+ */
17
+class ContentSlickSliderSlideStart extends \ContentElement
18
+{
19
+
20
+	/**
21
+	 * Template
22
+	 * @var string
23
+	 */
24
+	protected $strTemplate = 'slide_start_default';
25
+
26
+
27
+	/**
28
+	 * Generate the content element
29
+	 */
30
+	protected function compile()
31
+	{
32
+		if (TL_MODE == 'BE')
33
+		{
34
+			$this->strTemplate = 'be_wildcard';
35
+
36
+			/** @var \BackendTemplate|object $objTemplate */
37
+			$objTemplate = new \BackendTemplate($this->strTemplate);
38
+
39
+			$this->Template = $objTemplate;
40
+		}
41
+
42
+    if ($this->singleSRC)
43
+    {
44
+
45
+      $objFile = \FilesModel::findByUuid($this->singleSRC);
46
+
47
+      if ($objFile !== null && is_file(TL_ROOT . '/' . $objFile->path))
48
+      {
49
+        $this->singleSRC = $objFile->path;
50
+
51
+        $this->addImageToTemplate($this->Template, array('singleSRC'=>$this->singleSRC, 'size'=>$this->size));
52
+      }
53
+    }
54
+
55
+  }
56
+}
0 57
new file mode 100644
... ...
@@ -0,0 +1,42 @@
1
+<?php
2
+
3
+/**
4
+ * Slick slider for Contao
5
+ *
6
+ * Copyright (c) 2016 Benjamin Roth
7
+ *
8
+ * @license LGPL-3.0+
9
+ */
10
+
11
+namespace eSM_slick;
12
+
13
+
14
+/**
15
+ * Front end content element slick slider start.
16
+ */
17
+class ContentSlickSliderSlideStop extends \ContentElement
18
+{
19
+
20
+	/**
21
+	 * Template
22
+	 * @var string
23
+	 */
24
+	protected $strTemplate = 'slide_stop_default';
25
+
26
+
27
+	/**
28
+	 * Generate the content element
29
+	 */
30
+	protected function compile()
31
+	{
32
+		if (TL_MODE == 'BE')
33
+		{
34
+			$this->strTemplate = 'be_wildcard';
35
+
36
+			/** @var \BackendTemplate|object $objTemplate */
37
+			$objTemplate = new \BackendTemplate($this->strTemplate);
38
+
39
+			$this->Template = $objTemplate;
40
+		}
41
+	}
42
+}
0 43
new file mode 100644
... ...
@@ -0,0 +1,46 @@
1
+<?php
2
+
3
+/**
4
+ * Slick slider for Contao
5
+ *
6
+ * Copyright (c) 2016 Benjamin Roth
7
+ *
8
+ * @license LGPL-3.0+
9
+ */
10
+
11
+namespace eSM_slick;
12
+
13
+
14
+/**
15
+ * Front end content element slick slider start.
16
+ */
17
+class ContentSlickSliderStart extends \ContentElement
18
+{
19
+
20
+	/**
21
+	 * Template
22
+	 * @var string
23
+	 */
24
+	protected $strTemplate = 'ce_slick_slider_start';
25
+
26
+
27
+	/**
28
+	 * Generate the content element
29
+	 */
30
+	protected function compile()
31
+	{
32
+		if (TL_MODE == 'BE')
33
+		{
34
+			$this->strTemplate = 'be_wildcard';
35
+
36
+			/** @var \BackendTemplate|object $objTemplate */
37
+			$objTemplate = new \BackendTemplate($this->strTemplate);
38
+
39
+			$this->Template = $objTemplate;
40
+			$this->Template->title = $this->headline;
41
+		}
42
+
43
+		// Slider configuration
44
+		$this->Template->config = $this->eSM_slick_autoPlaySpeed . ',' . $this->eSM_slick_speed . ',' . $this->eSM_slick_initialSlide . ',' . $this->eSM_slick_lazyLoad . ',' . $this->eSM_slick_infinite . ',' . $this->eSM_slick_arrows . ',' . $this->eSM_slick_pagination . ',' . $this->eSM_slick_pause . ',' . $this->eSM_slick_fade;
45
+	}
46
+}
0 47
new file mode 100644
... ...
@@ -0,0 +1,43 @@
1
+<?php
2
+
3
+/**
4
+ * Slick slider for Contao
5
+ *
6
+ * Copyright (c) 2016 Benjamin Roth
7
+ *
8
+ * @license LGPL-3.0+
9
+ */
10
+
11
+namespace eSM_slick;
12
+
13
+
14
+/**
15
+ * Front end content element slick slider start.
16
+ */
17
+class ContentSlickSliderStop extends \ContentElement
18
+{
19
+
20
+	/**
21
+	 * Template
22
+	 * @var string
23
+	 */
24
+	protected $strTemplate = 'ce_slick_slider_stop';
25
+
26
+
27
+	/**
28
+	 * Generate the content element
29
+	 */
30
+	protected function compile()
31
+	{
32
+		if (TL_MODE == 'BE')
33
+		{
34
+			$this->strTemplate = 'be_wildcard';
35
+
36
+			/** @var \BackendTemplate|object $objTemplate */
37
+			$objTemplate = new \BackendTemplate($this->strTemplate);
38
+
39
+			$this->Template = $objTemplate;
40
+			$this->Template->title = $this->headline;
41
+		}
42
+	}
43
+}
0 44
new file mode 100644
... ...
@@ -0,0 +1,77 @@
1
+<?php
2
+
3
+/**
4
+ * Slick slider for Contao
5
+ *
6
+ * Copyright (c) 2016 Benjamin Roth
7
+ *
8
+ * @license LGPL-3.0+
9
+ */
10
+
11
+namespace eSM_slick;
12
+
13
+
14
+/**
15
+ * Front end content element slick slider start.
16
+ */
17
+class ContentSlickSliderWallpaper extends \ContentElement
18
+{
19
+
20
+	/**
21
+	 * Template
22
+	 * @var string
23
+	 */
24
+	protected $strTemplate = 'ce_slick_slider_wallpaper';
25
+
26
+
27
+	public function generate()
28
+	{
29
+		if ($this->singleSRC == '')
30
+		{
31
+			return '';
32
+		}
33
+
34
+		$objFile = \FilesModel::findByUuid($this->singleSRC);
35
+
36
+		if ($objFile === null)
37
+		{
38
+			if (!\Validator::isUuid($this->singleSRC))
39
+			{
40
+				return '<p class="error">'.$GLOBALS['TL_LANG']['ERR']['version2format'].'</p>';
41
+			}
42
+
43
+			return '';
44
+		}
45
+
46
+		if (!is_file(TL_ROOT . '/' . $objFile->path))
47
+		{
48
+			return '';
49
+		}
50
+
51
+		$this->singleSRC = $objFile->path;
52
+
53
+		return parent::generate();
54
+	}
55
+
56
+
57
+	/**
58
+	 * Generate the content element
59
+	 */
60
+	protected function compile()
61
+	{
62
+		if (TL_MODE == 'BE')
63
+		{
64
+			$this->strTemplate = 'ce_image';
65
+
66
+			/** @var \BackendTemplate|object $objTemplate */
67
+			$objTemplate = new \BackendTemplate($this->strTemplate);
68
+
69
+			$this->Template = $objTemplate;
70
+		}
71
+
72
+		$GLOBALS['TL_CSS'][] = '/system/modules/eSM_slick/assets/css/slick-wallpaper.css';
73
+
74
+		$this->addImageToTemplate($this->Template, $this->arrData);
75
+		$this->Template->text = nl2br($this->eSM_slick_text);
76
+	}
77
+}
0 78
new file mode 100644
... ...
@@ -0,0 +1,25 @@
1
+<?php
2
+
3
+/**
4
+ * Slick slider for Contao
5
+ *
6
+ * Copyright (c) 2016 Benjamin Roth
7
+ *
8
+ * @license LGPL-3.0+
9
+ */
10
+
11
+
12
+$GLOBALS['TL_LANG']['CTE']['slickSlider'] = "Slick Slider";
13
+$GLOBALS['TL_LANG']['CTE']['slickSliderStart'][0] = "Umschlag Anfang";
14
+$GLOBALS['TL_LANG']['CTE']['slickSliderStart'][1] = "Beginn eines Sliders.";
15
+$GLOBALS['TL_LANG']['CTE']['slickSliderStop'][0] = "Umschlag Ende";
16
+$GLOBALS['TL_LANG']['CTE']['slickSliderStop'][1] = "Ende eines Sliders.";
17
+$GLOBALS['TL_LANG']['CTE']['slickSliderSlideStart'][0] = "Slide Anfang";
18
+$GLOBALS['TL_LANG']['CTE']['slickSliderSlideStart'][1] = "Beginn eines Slides über mehrere Inhaltselemente.";
19
+$GLOBALS['TL_LANG']['CTE']['slickSliderSlideStop'][0] = "Slide Ende";
20
+$GLOBALS['TL_LANG']['CTE']['slickSliderSlideStop'][1] = "Ende eines Slides über mehrere Inhaltselemente.";
21
+$GLOBALS['TL_LANG']['CTE']['slickSliderWallpaper'][0] = "Wallpaper-Slide";
22
+$GLOBALS['TL_LANG']['CTE']['slickSliderWallpaper'][1] = "Ein Slide mit einer Wallpapergrafik im Hintergrund und der Möglichkeit einen Text zu platzieren.";
23
+
24
+$GLOBALS['TL_LANG']['MSC']['slick_lazyLoad']['ondemand'] = 'Bei Bedarf';
25
+$GLOBALS['TL_LANG']['MSC']['slick_lazyLoad']['progressive'] = 'Fortlaufend';
0 26
\ No newline at end of file
1 27
new file mode 100644
... ...
@@ -0,0 +1,44 @@
1
+<?php
2
+
3
+/**
4
+ * Slick slider for Contao
5
+ *
6
+ * Copyright (c) 2016 Benjamin Roth
7
+ *
8
+ * @license LGPL-3.0+
9
+ */
10
+
11
+
12
+/**
13
+ * Fields
14
+ */
15
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_autoPlaySpeed'][0] = "Autoplay-Geschwindigkeit";
16
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_autoPlaySpeed'][1] = "Der Zeitraum in Millisekunden zwischen den Slides. 0 deaktiviert das Autoplay.";
17
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_speed'][0]         = "Slide-Geschwindigkeit";
18
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_speed'][1]         = "Die Übergangsgeschwindigkeit in Millisekunden.";
19
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_initialSlide'][0]  = "Start-Slide";
20
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_initialSlide'][1]  = "Das Element, welches als erstes angezeigt werden soll. Nummerierung beginnt mit 0.";
21
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_infinite'][0]      = "Kontinuierlich";
22
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_infinite'][1]      = "Der Slider läuft endlos durch und beginnt immer wieder von vorne nach dem letzten Slide.";
23
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_arrows'][0]        = "Navigation anzeigen";
24
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_arrows'][1]        = "Ermöglicht das blättern mit einer Vor- und Zurück-Navigation";
25
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_pagination'][0]    = "Pagination";
26
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_pagination'][1]    = "Zeigt eine Pagination über die Slides direkt angesprungen werden können.";
27
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_pause'][0]         = "Pause bei Hover";
28
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_pause'][1]         = "Pausiert den Slider wenn mit der Maus darübergehovered wird.";
29
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_lazyLoad'][0]      = "Lazy Loading Methode";
30
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_lazyLoad'][1]      = "Legt fest nach welchem Prinzip Lazy Loading umgesetzt werden soll.";
31
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_fade'][0]          = "Überblenden";
32
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_fade'][1]          = "Die Slides werden beim Wechsel überblendet anstatt geslidet.";
33
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_text'][0]          = "Text";
34
+$GLOBALS['TL_LANG']['tl_content']['eSM_slick_text'][1]          = "Ein Text der auf dem Hintergrundbild platziert wird.";
35
+/**
36
+ * Legends
37
+ */
38
+$GLOBALS['TL_LANG']['tl_content']['slickSlider_legend'] = "Slick Slider Einstellungen";
39
+
40
+/**
41
+ * Misc
42
+ */
43
+
44
+$GLOBALS['TL_LANG']['tl_content']['includeTemplatesJQuery'] = "Das <em>%s</em>-Template muss im Seitenlayout eingebunden sein.";
0 45
\ No newline at end of file
1 46
new file mode 100644
... ...
@@ -0,0 +1,11 @@
1
+<?php $this->block('content'); ?>
2
+
3
+  <div class="<?= $this->class ?> block"<?= $this->cssID ?><?php if ($this->style): ?> style="<?= $this->style ?>"<?php endif; ?>>
4
+
5
+    <?php if ($this->headline): ?>
6
+    <<?= $this->hl ?>><?= $this->headline ?></<?= $this->hl ?>>
7
+    <?php endif; ?>
8
+
9
+    <div class="slick-slider-wrapper" data-config="<?= $this->config ?>">
10
+
11
+<?php $this->endblock(); ?>
0 12
new file mode 100644
... ...
@@ -0,0 +1,7 @@
1
+<?php $this->block('content'); ?>
2
+
3
+    </div>
4
+
5
+  </div>
6
+
7
+<?php $this->endblock(); ?>
0 8
\ No newline at end of file
1 9
new file mode 100644
... ...
@@ -0,0 +1,8 @@
1
+
2
+<div class="<?= $this->class ?> wallpaper-slide block"<?= $this->cssID ?> style="<?php if ($this->style): ?><?= $this->style ?> <?php endif; ?>background-image: url('<?= $this->picture['img']['src'] ?>');">
3
+
4
+  <?php if ($this->text): ?>
5
+    <span class="wallpaper-text"><?= $this->text ?></span>
6
+  <?php endif; ?>
7
+
8
+</div>
0 9
new file mode 100644
... ...
@@ -0,0 +1,7 @@
1
+<?php //$this->dumpTemplateVars(); ?>
2
+<?php $this->block('content'); ?>
3
+
4
+      <div class="slick-slider-slide"<?php if ($this->eSM_addImage && $this->src): ?> style="background-image: url('<?= $this->src ?>'); min-height: <?= round($this->height/$this->width*100) ?>vw;"<?php endif; ?>>
5
+        <div class="slide-content">
6
+
7
+<?php $this->endblock(); ?>
0 8
new file mode 100644
... ...
@@ -0,0 +1,6 @@
1
+<?php $this->block('content'); ?>
2
+
3
+        </div>
4
+      </div>
5
+
6
+<?php $this->endblock(); ?>
0 7
new file mode 100644
... ...
@@ -0,0 +1,32 @@
1
+<?php
2
+
3
+$GLOBALS['TL_CSS'][] = '/system/modules/eSM_slick/assets/lib/slick/'.$GLOBALS['TL_ASSETS']['SLICKSLIDER'].'/css/slick.css';
4
+$GLOBALS['TL_CSS'][] = '/system/modules/eSM_slick/assets/lib/slick/'.$GLOBALS['TL_ASSETS']['SLICKSLIDER'].'/css/slick-theme.css';
5
+
6
+?>
7
+
8
+<script src="/system/modules/eSM_slick/assets/lib/slick/<?= $GLOBALS['TL_ASSETS']['SLICKSLIDER'] ?>/js/slick.min.js"></script>
9
+
10
+<script>
11
+    (function($) {
12
+        $(".ce_slickSliderStart").each(function(i, cte) {
13
+            var s = $('.slick-slider-wrapper', cte)[0],
14
+                c = s.getAttribute('data-config').split(',');
15
+
16
+            $(s).slick({
17
+                dots:  (parseInt(c[6]) == 1 ? true : false),
18
+                arrows:  (parseInt(c[5]) == 1 ? true : false),
19
+                infinite: (parseInt(c[4]) == 1 ? true : false),
20
+                pauseOnHover: (parseInt(c[7]) == 1 ? true : false),
21
+                fade: (parseInt(c[8]) == 1 ? true : false),
22
+                autoplay: (parseInt(c[0]) > 0 ? true : false),
23
+                autoplaySpeed: parseInt(c[0]),
24
+                speed: parseInt(c[1]),
25
+                initialSlide: parseInt(c[2]),
26
+                lazyLoad: c[3],
27
+                cssEase: 'linear',
28
+                adaptiveHeight: true
29
+            });
30
+        });
31
+    })(jQuery);
32
+</script>
0 33
\ No newline at end of file