Commit 0a891e5cd748abc5b7e11ba114d0d527273379ec

Authored by 钟艺
1 parent 7e9c31e0

添加slick插件

  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 +}
... ...
  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 + margin-left: auto;
  48 + margin-right: auto;
  49 +
  50 + &:before,
  51 + &:after {
  52 + content: "";
  53 + display: table;
  54 + }
  55 +
  56 + &:after {
  57 + clear: both;
  58 + }
  59 +
  60 + .slick-loading & {
  61 + visibility: hidden;
  62 + }
  63 +}
  64 +.slick-slide {
  65 + float: left;
  66 + height: 100%;
  67 + min-height: 1px;
  68 + [dir="rtl"] & {
  69 + float: right;
  70 + }
  71 + img {
  72 + display: block;
  73 + }
  74 + &.slick-loading img {
  75 + display: none;
  76 + }
  77 +
  78 + display: none;
  79 +
  80 + &.dragging img {
  81 + pointer-events: none;
  82 + }
  83 +
  84 + .slick-initialized & {
  85 + display: block;
  86 + }
  87 +
  88 + .slick-loading & {
  89 + visibility: hidden;
  90 + }
  91 +
  92 + .slick-vertical & {
  93 + display: block;
  94 + height: auto;
  95 + border: 1px solid transparent;
  96 + }
  97 +}
  98 +.slick-arrow.slick-hidden {
  99 + display: none;
  100 +}
... ...
  1 +css_dir = "."
  2 +sass_dir = "."
  3 +images_dir = "."
  4 +fonts_dir = "fonts"
  5 +relative_assets = true
  6 +
  7 +output_style = :compact
  8 +line_comments = false
  9 +
  10 +preferred_syntax = :scss
\ No newline at end of file
... ...
No preview for this file type
  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>
... ...
No preview for this file type
No preview for this file type
  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 +}
... ...
  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 +/* Arrows */
  25 +.slick-prev,
  26 +.slick-next {
  27 + position: absolute;
  28 + display: block;
  29 + height: 20px;
  30 + width: 20px;
  31 + line-height: 0px;
  32 + font-size: 0px;
  33 + cursor: pointer;
  34 + background: transparent;
  35 + color: transparent;
  36 + top: 50%;
  37 + -webkit-transform: translate(0, -50%);
  38 + -ms-transform: translate(0, -50%);
  39 + transform: translate(0, -50%);
  40 + padding: 0;
  41 + border: none;
  42 + outline: none;
  43 + &:hover, &:focus {
  44 + outline: none;
  45 + background: transparent;
  46 + color: transparent;
  47 + &:before {
  48 + opacity: @slick-opacity-on-hover;
  49 + }
  50 + }
  51 + &.slick-disabled:before {
  52 + opacity: @slick-opacity-not-active;
  53 + }
  54 +}
  55 +
  56 +.slick-prev:before, .slick-next:before {
  57 + font-family: @slick-font-family;
  58 + font-size: 20px;
  59 + line-height: 1;
  60 + color: @slick-arrow-color;
  61 + opacity: @slick-opacity-default;
  62 + -webkit-font-smoothing: antialiased;
  63 + -moz-osx-font-smoothing: grayscale;
  64 +
  65 + & when ( @slick-font-family = 'slick' ) {
  66 + /* Icons */
  67 + @font-face {
  68 + font-family: 'slick';
  69 + font-weight: normal;
  70 + font-style: normal;
  71 + src: url('@{slick-font-path}slick.eot');
  72 + 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');
  73 + }
  74 + }
  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 +}
... ...
  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 +}
... ...
  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 + margin-left: auto;
  59 + margin-right: auto;
  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 +}
... ...
  1 +/*
  2 + _ _ _ _
  3 + ___| (_) ___| | __ (_)___
  4 +/ __| | |/ __| |/ / | / __|
  5 +\__ \ | | (__| < _ | \__ \
  6 +|___/_|_|\___|_|\_(_)/ |___/
  7 + |__/
  8 +
  9 + Version: 1.9.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 class="slick-prev" aria-label="Previous" type="button">Previous</button>',
  48 + nextArrow: '<button class="slick-next" aria-label="Next" type="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" />').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 + focusOnChange: false,
  65 + infinite: true,
  66 + initialSlide: 0,
  67 + lazyLoad: 'ondemand',
  68 + mobileFirst: false,
  69 + pauseOnHover: true,
  70 + pauseOnFocus: true,
  71 + pauseOnDotsHover: false,
  72 + respondTo: 'window',
  73 + responsive: null,
  74 + rows: 1,
  75 + rtl: false,
  76 + slide: '',
  77 + slidesPerRow: 1,
  78 + slidesToShow: 1,
  79 + slidesToScroll: 1,
  80 + speed: 500,
  81 + swipe: true,
  82 + swipeToSlide: false,
  83 + touchMove: true,
  84 + touchThreshold: 5,
  85 + useCSS: true,
  86 + useTransform: true,
  87 + variableWidth: false,
  88 + vertical: false,
  89 + verticalSwiping: false,
  90 + waitForAnimate: true,
  91 + zIndex: 1000
  92 + };
  93 +
  94 + _.initials = {
  95 + animating: false,
  96 + dragging: false,
  97 + autoPlayTimer: null,
  98 + currentDirection: 0,
  99 + currentLeft: null,
  100 + currentSlide: 0,
  101 + direction: 1,
  102 + $dots: null,
  103 + listWidth: null,
  104 + listHeight: null,
  105 + loadIndex: 0,
  106 + $nextArrow: null,
  107 + $prevArrow: null,
  108 + scrolling: false,
  109 + slideCount: null,
  110 + slideWidth: null,
  111 + $slideTrack: null,
  112 + $slides: null,
  113 + sliding: false,
  114 + slideOffset: 0,
  115 + swipeLeft: null,
  116 + swiping: false,
  117 + $list: null,
  118 + touchObject: {},
  119 + transformsEnabled: false,
  120 + unslicked: false
  121 + };
  122 +
  123 + $.extend(_, _.initials);
  124 +
  125 + _.activeBreakpoint = null;
  126 + _.animType = null;
  127 + _.animProp = null;
  128 + _.breakpoints = [];
  129 + _.breakpointSettings = [];
  130 + _.cssTransitions = false;
  131 + _.focussed = false;
  132 + _.interrupted = false;
  133 + _.hidden = 'hidden';
  134 + _.paused = true;
  135 + _.positionProp = null;
  136 + _.respondTo = null;
  137 + _.rowCount = 1;
  138 + _.shouldClick = true;
  139 + _.$slider = $(element);
  140 + _.$slidesCache = null;
  141 + _.transformType = null;
  142 + _.transitionType = null;
  143 + _.visibilityChange = 'visibilitychange';
  144 + _.windowWidth = 0;
  145 + _.windowTimer = null;
  146 +
  147 + dataSettings = $(element).data('slick') || {};
  148 +
  149 + _.options = $.extend({}, _.defaults, settings, dataSettings);
  150 +
  151 + _.currentSlide = _.options.initialSlide;
  152 +
  153 + _.originalSettings = _.options;
  154 +
  155 + if (typeof document.mozHidden !== 'undefined') {
  156 + _.hidden = 'mozHidden';
  157 + _.visibilityChange = 'mozvisibilitychange';
  158 + } else if (typeof document.webkitHidden !== 'undefined') {
  159 + _.hidden = 'webkitHidden';
  160 + _.visibilityChange = 'webkitvisibilitychange';
  161 + }
  162 +
  163 + _.autoPlay = $.proxy(_.autoPlay, _);
  164 + _.autoPlayClear = $.proxy(_.autoPlayClear, _);
  165 + _.autoPlayIterator = $.proxy(_.autoPlayIterator, _);
  166 + _.changeSlide = $.proxy(_.changeSlide, _);
  167 + _.clickHandler = $.proxy(_.clickHandler, _);
  168 + _.selectHandler = $.proxy(_.selectHandler, _);
  169 + _.setPosition = $.proxy(_.setPosition, _);
  170 + _.swipeHandler = $.proxy(_.swipeHandler, _);
  171 + _.dragHandler = $.proxy(_.dragHandler, _);
  172 + _.keyHandler = $.proxy(_.keyHandler, _);
  173 +
  174 + _.instanceUid = instanceUid++;
  175 +
  176 + // A simple way to check for HTML strings
  177 + // Strict HTML recognition (must start with <)
  178 + // Extracted from jQuery v1.11 source
  179 + _.htmlExpr = /^(?:\s*(<[\w\W]+>)[^>]*)$/;
  180 +
  181 +
  182 + _.registerBreakpoints();
  183 + _.init(true);
  184 +
  185 + }
  186 +
  187 + return Slick;
  188 +
  189 + }());
  190 +
  191 + Slick.prototype.activateADA = function() {
  192 + var _ = this;
  193 +
  194 + _.$slideTrack.find('.slick-active').attr({
  195 + 'aria-hidden': 'false'
  196 + }).find('a, input, button, select').attr({
  197 + 'tabindex': '0'
  198 + });
  199 +
  200 + };
  201 +
  202 + Slick.prototype.addSlide = Slick.prototype.slickAdd = function(markup, index, addBefore) {
  203 +
  204 + var _ = this;
  205 +
  206 + if (typeof(index) === 'boolean') {
  207 + addBefore = index;
  208 + index = null;
  209 + } else if (index < 0 || (index >= _.slideCount)) {
  210 + return false;
  211 + }
  212 +
  213 + _.unload();
  214 +
  215 + if (typeof(index) === 'number') {
  216 + if (index === 0 && _.$slides.length === 0) {
  217 + $(markup).appendTo(_.$slideTrack);
  218 + } else if (addBefore) {
  219 + $(markup).insertBefore(_.$slides.eq(index));
  220 + } else {
  221 + $(markup).insertAfter(_.$slides.eq(index));
  222 + }
  223 + } else {
  224 + if (addBefore === true) {
  225 + $(markup).prependTo(_.$slideTrack);
  226 + } else {
  227 + $(markup).appendTo(_.$slideTrack);
  228 + }
  229 + }
  230 +
  231 + _.$slides = _.$slideTrack.children(this.options.slide);
  232 +
  233 + _.$slideTrack.children(this.options.slide).detach();
  234 +
  235 + _.$slideTrack.append(_.$slides);
  236 +
  237 + _.$slides.each(function(index, element) {
  238 + $(element).attr('data-slick-index', index);
  239 + });
  240 +
  241 + _.$slidesCache = _.$slides;
  242 +
  243 + _.reinit();
  244 +
  245 + };
  246 +
  247 + Slick.prototype.animateHeight = function() {
  248 + var _ = this;
  249 + if (_.options.slidesToShow === 1 && _.options.adaptiveHeight === true && _.options.vertical === false) {
  250 + var targetHeight = _.$slides.eq(_.currentSlide).outerHeight(true);
  251 + _.$list.animate({
  252 + height: targetHeight
  253 + }, _.options.speed);
  254 + }
  255 + };
  256 +
  257 + Slick.prototype.animateSlide = function(targetLeft, callback) {
  258 +
  259 + var animProps = {},
  260 + _ = this;
  261 +
  262 + _.animateHeight();
  263 +
  264 + if (_.options.rtl === true && _.options.vertical === false) {
  265 + targetLeft = -targetLeft;
  266 + }
  267 + if (_.transformsEnabled === false) {
  268 + if (_.options.vertical === false) {
  269 + _.$slideTrack.animate({
  270 + left: targetLeft
  271 + }, _.options.speed, _.options.easing, callback);
  272 + } else {
  273 + _.$slideTrack.animate({
  274 + top: targetLeft
  275 + }, _.options.speed, _.options.easing, callback);
  276 + }
  277 +
  278 + } else {
  279 +
  280 + if (_.cssTransitions === false) {
  281 + if (_.options.rtl === true) {
  282 + _.currentLeft = -(_.currentLeft);
  283 + }
  284 + $({
  285 + animStart: _.currentLeft
  286 + }).animate({
  287 + animStart: targetLeft
  288 + }, {
  289 + duration: _.options.speed,
  290 + easing: _.options.easing,
  291 + step: function(now) {
  292 + now = Math.ceil(now);
  293 + if (_.options.vertical === false) {
  294 + animProps[_.animType] = 'translate(' +
  295 + now + 'px, 0px)';
  296 + _.$slideTrack.css(animProps);
  297 + } else {
  298 + animProps[_.animType] = 'translate(0px,' +
  299 + now + 'px)';
  300 + _.$slideTrack.css(animProps);
  301 + }
  302 + },
  303 + complete: function() {
  304 + if (callback) {
  305 + callback.call();
  306 + }
  307 + }
  308 + });
  309 +
  310 + } else {
  311 +
  312 + _.applyTransition();
  313 + targetLeft = Math.ceil(targetLeft);
  314 +
  315 + if (_.options.vertical === false) {
  316 + animProps[_.animType] = 'translate3d(' + targetLeft + 'px, 0px, 0px)';
  317 + } else {
  318 + animProps[_.animType] = 'translate3d(0px,' + targetLeft + 'px, 0px)';
  319 + }
  320 + _.$slideTrack.css(animProps);
  321 +
  322 + if (callback) {
  323 + setTimeout(function() {
  324 +
  325 + _.disableTransition();
  326 +
  327 + callback.call();
  328 + }, _.options.speed);
  329 + }
  330 +
  331 + }
  332 +
  333 + }
  334 +
  335 + };
  336 +
  337 + Slick.prototype.getNavTarget = function() {
  338 +
  339 + var _ = this,
  340 + asNavFor = _.options.asNavFor;
  341 +
  342 + if ( asNavFor && asNavFor !== null ) {
  343 + asNavFor = $(asNavFor).not(_.$slider);
  344 + }
  345 +
  346 + return asNavFor;
  347 +
  348 + };
  349 +
  350 + Slick.prototype.asNavFor = function(index) {
  351 +
  352 + var _ = this,
  353 + asNavFor = _.getNavTarget();
  354 +
  355 + if ( asNavFor !== null && typeof asNavFor === 'object' ) {
  356 + asNavFor.each(function() {
  357 + var target = $(this).slick('getSlick');
  358 + if(!target.unslicked) {
  359 + target.slideHandler(index, true);
  360 + }
  361 + });
  362 + }
  363 +
  364 + };
  365 +
  366 + Slick.prototype.applyTransition = function(slide) {
  367 +
  368 + var _ = this,
  369 + transition = {};
  370 +
  371 + if (_.options.fade === false) {
  372 + transition[_.transitionType] = _.transformType + ' ' + _.options.speed + 'ms ' + _.options.cssEase;
  373 + } else {
  374 + transition[_.transitionType] = 'opacity ' + _.options.speed + 'ms ' + _.options.cssEase;
  375 + }
  376 +
  377 + if (_.options.fade === false) {
  378 + _.$slideTrack.css(transition);
  379 + } else {
  380 + _.$slides.eq(slide).css(transition);
  381 + }
  382 +
  383 + };
  384 +
  385 + Slick.prototype.autoPlay = function() {
  386 +
  387 + var _ = this;
  388 +
  389 + _.autoPlayClear();
  390 +
  391 + if ( _.slideCount > _.options.slidesToShow ) {
  392 + _.autoPlayTimer = setInterval( _.autoPlayIterator, _.options.autoplaySpeed );
  393 + }
  394 +
  395 + };
  396 +
  397 + Slick.prototype.autoPlayClear = function() {
  398 +
  399 + var _ = this;
  400 +
  401 + if (_.autoPlayTimer) {
  402 + clearInterval(_.autoPlayTimer);
  403 + }
  404 +
  405 + };
  406 +
  407 + Slick.prototype.autoPlayIterator = function() {
  408 +
  409 + var _ = this,
  410 + slideTo = _.currentSlide + _.options.slidesToScroll;
  411 +
  412 + if ( !_.paused && !_.interrupted && !_.focussed ) {
  413 +
  414 + if ( _.options.infinite === false ) {
  415 +
  416 + if ( _.direction === 1 && ( _.currentSlide + 1 ) === ( _.slideCount - 1 )) {
  417 + _.direction = 0;
  418 + }
  419 +
  420 + else if ( _.direction === 0 ) {
  421 +
  422 + slideTo = _.currentSlide - _.options.slidesToScroll;
  423 +
  424 + if ( _.currentSlide - 1 === 0 ) {
  425 + _.direction = 1;
  426 + }
  427 +
  428 + }
  429 +
  430 + }
  431 +
  432 + _.slideHandler( slideTo );
  433 +
  434 + }
  435 +
  436 + };
  437 +
  438 + Slick.prototype.buildArrows = function() {
  439 +
  440 + var _ = this;
  441 +
  442 + if (_.options.arrows === true ) {
  443 +
  444 + _.$prevArrow = $(_.options.prevArrow).addClass('slick-arrow');
  445 + _.$nextArrow = $(_.options.nextArrow).addClass('slick-arrow');
  446 +
  447 + if( _.slideCount > _.options.slidesToShow ) {
  448 +
  449 + _.$prevArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');
  450 + _.$nextArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');
  451 +
  452 + if (_.htmlExpr.test(_.options.prevArrow)) {
  453 + _.$prevArrow.prependTo(_.options.appendArrows);
  454 + }
  455 +
  456 + if (_.htmlExpr.test(_.options.nextArrow)) {
  457 + _.$nextArrow.appendTo(_.options.appendArrows);
  458 + }
  459 +
  460 + if (_.options.infinite !== true) {
  461 + _.$prevArrow
  462 + .addClass('slick-disabled')
  463 + .attr('aria-disabled', 'true');
  464 + }
  465 +
  466 + } else {
  467 +
  468 + _.$prevArrow.add( _.$nextArrow )
  469 +
  470 + .addClass('slick-hidden')
  471 + .attr({
  472 + 'aria-disabled': 'true',
  473 + 'tabindex': '-1'
  474 + });
  475 +
  476 + }
  477 +
  478 + }
  479 +
  480 + };
  481 +
  482 + Slick.prototype.buildDots = function() {
  483 +
  484 + var _ = this,
  485 + i, dot;
  486 +
  487 + if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {
  488 +
  489 + _.$slider.addClass('slick-dotted');
  490 +
  491 + dot = $('<ul />').addClass(_.options.dotsClass);
  492 +
  493 + for (i = 0; i <= _.getDotCount(); i += 1) {
  494 + dot.append($('<li />').append(_.options.customPaging.call(this, _, i)));
  495 + }
  496 +
  497 + _.$dots = dot.appendTo(_.options.appendDots);
  498 +
  499 + _.$dots.find('li').first().addClass('slick-active');
  500 +
  501 + }
  502 +
  503 + };
  504 +
  505 + Slick.prototype.buildOut = function() {
  506 +
  507 + var _ = this;
  508 +
  509 + _.$slides =
  510 + _.$slider
  511 + .children( _.options.slide + ':not(.slick-cloned)')
  512 + .addClass('slick-slide');
  513 +
  514 + _.slideCount = _.$slides.length;
  515 +
  516 + _.$slides.each(function(index, element) {
  517 + $(element)
  518 + .attr('data-slick-index', index)
  519 + .data('originalStyling', $(element).attr('style') || '');
  520 + });
  521 +
  522 + _.$slider.addClass('slick-slider');
  523 +
  524 + _.$slideTrack = (_.slideCount === 0) ?
  525 + $('<div class="slick-track"/>').appendTo(_.$slider) :
  526 + _.$slides.wrapAll('<div class="slick-track"/>').parent();
  527 +
  528 + _.$list = _.$slideTrack.wrap(
  529 + '<div class="slick-list"/>').parent();
  530 + _.$slideTrack.css('opacity', 0);
  531 +
  532 + if (_.options.centerMode === true || _.options.swipeToSlide === true) {
  533 + _.options.slidesToScroll = 1;
  534 + }
  535 +
  536 + $('img[data-lazy]', _.$slider).not('[src]').addClass('slick-loading');
  537 +
  538 + _.setupInfinite();
  539 +
  540 + _.buildArrows();
  541 +
  542 + _.buildDots();
  543 +
  544 + _.updateDots();
  545 +
  546 +
  547 + _.setSlideClasses(typeof _.currentSlide === 'number' ? _.currentSlide : 0);
  548 +
  549 + if (_.options.draggable === true) {
  550 + _.$list.addClass('draggable');
  551 + }
  552 +
  553 + };
  554 +
  555 + Slick.prototype.buildRows = function() {
  556 +
  557 + var _ = this, a, b, c, newSlides, numOfSlides, originalSlides,slidesPerSection;
  558 +
  559 + newSlides = document.createDocumentFragment();
  560 + originalSlides = _.$slider.children();
  561 +
  562 + if(_.options.rows > 0) {
  563 +
  564 + slidesPerSection = _.options.slidesPerRow * _.options.rows;
  565 + numOfSlides = Math.ceil(
  566 + originalSlides.length / slidesPerSection
  567 + );
  568 +
  569 + for(a = 0; a < numOfSlides; a++){
  570 + var slide = document.createElement('div');
  571 + for(b = 0; b < _.options.rows; b++) {
  572 + var row = document.createElement('div');
  573 + for(c = 0; c < _.options.slidesPerRow; c++) {
  574 + var target = (a * slidesPerSection + ((b * _.options.slidesPerRow) + c));
  575 + if (originalSlides.get(target)) {
  576 + row.appendChild(originalSlides.get(target));
  577 + }
  578 + }
  579 + slide.appendChild(row);
  580 + }
  581 + newSlides.appendChild(slide);
  582 + }
  583 +
  584 + _.$slider.empty().append(newSlides);
  585 + _.$slider.children().children().children()
  586 + .css({
  587 + 'width':(100 / _.options.slidesPerRow) + '%',
  588 + 'display': 'inline-block'
  589 + });
  590 +
  591 + }
  592 +
  593 + };
  594 +
  595 + Slick.prototype.checkResponsive = function(initial, forceUpdate) {
  596 +
  597 + var _ = this,
  598 + breakpoint, targetBreakpoint, respondToWidth, triggerBreakpoint = false;
  599 + var sliderWidth = _.$slider.width();
  600 + var windowWidth = window.innerWidth || $(window).width();
  601 +
  602 + if (_.respondTo === 'window') {
  603 + respondToWidth = windowWidth;
  604 + } else if (_.respondTo === 'slider') {
  605 + respondToWidth = sliderWidth;
  606 + } else if (_.respondTo === 'min') {
  607 + respondToWidth = Math.min(windowWidth, sliderWidth);
  608 + }
  609 +
  610 + if ( _.options.responsive &&
  611 + _.options.responsive.length &&
  612 + _.options.responsive !== null) {
  613 +
  614 + targetBreakpoint = null;
  615 +
  616 + for (breakpoint in _.breakpoints) {
  617 + if (_.breakpoints.hasOwnProperty(breakpoint)) {
  618 + if (_.originalSettings.mobileFirst === false) {
  619 + if (respondToWidth < _.breakpoints[breakpoint]) {
  620 + targetBreakpoint = _.breakpoints[breakpoint];
  621 + }
  622 + } else {
  623 + if (respondToWidth > _.breakpoints[breakpoint]) {
  624 + targetBreakpoint = _.breakpoints[breakpoint];
  625 + }
  626 + }
  627 + }
  628 + }
  629 +
  630 + if (targetBreakpoint !== null) {
  631 + if (_.activeBreakpoint !== null) {
  632 + if (targetBreakpoint !== _.activeBreakpoint || forceUpdate) {
  633 + _.activeBreakpoint =
  634 + targetBreakpoint;
  635 + if (_.breakpointSettings[targetBreakpoint] === 'unslick') {
  636 + _.unslick(targetBreakpoint);
  637 + } else {
  638 + _.options = $.extend({}, _.originalSettings,
  639 + _.breakpointSettings[
  640 + targetBreakpoint]);
  641 + if (initial === true) {
  642 + _.currentSlide = _.options.initialSlide;
  643 + }
  644 + _.refresh(initial);
  645 + }
  646 + triggerBreakpoint = targetBreakpoint;
  647 + }
  648 + } else {
  649 + _.activeBreakpoint = targetBreakpoint;
  650 + if (_.breakpointSettings[targetBreakpoint] === 'unslick') {
  651 + _.unslick(targetBreakpoint);
  652 + } else {
  653 + _.options = $.extend({}, _.originalSettings,
  654 + _.breakpointSettings[
  655 + targetBreakpoint]);
  656 + if (initial === true) {
  657 + _.currentSlide = _.options.initialSlide;
  658 + }
  659 + _.refresh(initial);
  660 + }
  661 + triggerBreakpoint = targetBreakpoint;
  662 + }
  663 + } else {
  664 + if (_.activeBreakpoint !== null) {
  665 + _.activeBreakpoint = null;
  666 + _.options = _.originalSettings;
  667 + if (initial === true) {
  668 + _.currentSlide = _.options.initialSlide;
  669 + }
  670 + _.refresh(initial);
  671 + triggerBreakpoint = targetBreakpoint;
  672 + }
  673 + }
  674 +
  675 + // only trigger breakpoints during an actual break. not on initialize.
  676 + if( !initial && triggerBreakpoint !== false ) {
  677 + _.$slider.trigger('breakpoint', [_, triggerBreakpoint]);
  678 + }
  679 + }
  680 +
  681 + };
  682 +
  683 + Slick.prototype.changeSlide = function(event, dontAnimate) {
  684 +
  685 + var _ = this,
  686 + $target = $(event.currentTarget),
  687 + indexOffset, slideOffset, unevenOffset;
  688 +
  689 + // If target is a link, prevent default action.
  690 + if($target.is('a')) {
  691 + event.preventDefault();
  692 + }
  693 +
  694 + // If target is not the <li> element (ie: a child), find the <li>.
  695 + if(!$target.is('li')) {
  696 + $target = $target.closest('li');
  697 + }
  698 +
  699 + unevenOffset = (_.slideCount % _.options.slidesToScroll !== 0);
  700 + indexOffset = unevenOffset ? 0 : (_.slideCount - _.currentSlide) % _.options.slidesToScroll;
  701 +
  702 + switch (event.data.message) {
  703 +
  704 + case 'previous':
  705 + slideOffset = indexOffset === 0 ? _.options.slidesToScroll : _.options.slidesToShow - indexOffset;
  706 + if (_.slideCount > _.options.slidesToShow) {
  707 + _.slideHandler(_.currentSlide - slideOffset, false, dontAnimate);
  708 + }
  709 + break;
  710 +
  711 + case 'next':
  712 + slideOffset = indexOffset === 0 ? _.options.slidesToScroll : indexOffset;
  713 + if (_.slideCount > _.options.slidesToShow) {
  714 + _.slideHandler(_.currentSlide + slideOffset, false, dontAnimate);
  715 + }
  716 + break;
  717 +
  718 + case 'index':
  719 + var index = event.data.index === 0 ? 0 :
  720 + event.data.index || $target.index() * _.options.slidesToScroll;
  721 +
  722 + _.slideHandler(_.checkNavigable(index), false, dontAnimate);
  723 + $target.children().trigger('focus');
  724 + break;
  725 +
  726 + default:
  727 + return;
  728 + }
  729 +
  730 + };
  731 +
  732 + Slick.prototype.checkNavigable = function(index) {
  733 +
  734 + var _ = this,
  735 + navigables, prevNavigable;
  736 +
  737 + navigables = _.getNavigableIndexes();
  738 + prevNavigable = 0;
  739 + if (index > navigables[navigables.length - 1]) {
  740 + index = navigables[navigables.length - 1];
  741 + } else {
  742 + for (var n in navigables) {
  743 + if (index < navigables[n]) {
  744 + index = prevNavigable;
  745 + break;
  746 + }
  747 + prevNavigable = navigables[n];
  748 + }
  749 + }
  750 +
  751 + return index;
  752 + };
  753 +
  754 + Slick.prototype.cleanUpEvents = function() {
  755 +
  756 + var _ = this;
  757 +
  758 + if (_.options.dots && _.$dots !== null) {
  759 +
  760 + $('li', _.$dots)
  761 + .off('click.slick', _.changeSlide)
  762 + .off('mouseenter.slick', $.proxy(_.interrupt, _, true))
  763 + .off('mouseleave.slick', $.proxy(_.interrupt, _, false));
  764 +
  765 + if (_.options.accessibility === true) {
  766 + _.$dots.off('keydown.slick', _.keyHandler);
  767 + }
  768 + }
  769 +
  770 + _.$slider.off('focus.slick blur.slick');
  771 +
  772 + if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {
  773 + _.$prevArrow && _.$prevArrow.off('click.slick', _.changeSlide);
  774 + _.$nextArrow && _.$nextArrow.off('click.slick', _.changeSlide);
  775 +
  776 + if (_.options.accessibility === true) {
  777 + _.$prevArrow && _.$prevArrow.off('keydown.slick', _.keyHandler);
  778 + _.$nextArrow && _.$nextArrow.off('keydown.slick', _.keyHandler);
  779 + }
  780 + }
  781 +
  782 + _.$list.off('touchstart.slick mousedown.slick', _.swipeHandler);
  783 + _.$list.off('touchmove.slick mousemove.slick', _.swipeHandler);
  784 + _.$list.off('touchend.slick mouseup.slick', _.swipeHandler);
  785 + _.$list.off('touchcancel.slick mouseleave.slick', _.swipeHandler);
  786 +
  787 + _.$list.off('click.slick', _.clickHandler);
  788 +
  789 + $(document).off(_.visibilityChange, _.visibility);
  790 +
  791 + _.cleanUpSlideEvents();
  792 +
  793 + if (_.options.accessibility === true) {
  794 + _.$list.off('keydown.slick', _.keyHandler);
  795 + }
  796 +
  797 + if (_.options.focusOnSelect === true) {
  798 + $(_.$slideTrack).children().off('click.slick', _.selectHandler);
  799 + }
  800 +
  801 + $(window).off('orientationchange.slick.slick-' + _.instanceUid, _.orientationChange);
  802 +
  803 + $(window).off('resize.slick.slick-' + _.instanceUid, _.resize);
  804 +
  805 + $('[draggable!=true]', _.$slideTrack).off('dragstart', _.preventDefault);
  806 +
  807 + $(window).off('load.slick.slick-' + _.instanceUid, _.setPosition);
  808 +
  809 + };
  810 +
  811 + Slick.prototype.cleanUpSlideEvents = function() {
  812 +
  813 + var _ = this;
  814 +
  815 + _.$list.off('mouseenter.slick', $.proxy(_.interrupt, _, true));
  816 + _.$list.off('mouseleave.slick', $.proxy(_.interrupt, _, false));
  817 +
  818 + };
  819 +
  820 + Slick.prototype.cleanUpRows = function() {
  821 +
  822 + var _ = this, originalSlides;
  823 +
  824 + if(_.options.rows > 0) {
  825 + originalSlides = _.$slides.children().children();
  826 + originalSlides.removeAttr('style');
  827 + _.$slider.empty().append(originalSlides);
  828 + }
  829 +
  830 + };
  831 +
  832 + Slick.prototype.clickHandler = function(event) {
  833 +
  834 + var _ = this;
  835 +
  836 + if (_.shouldClick === false) {
  837 + event.stopImmediatePropagation();
  838 + event.stopPropagation();
  839 + event.preventDefault();
  840 + }
  841 +
  842 + };
  843 +
  844 + Slick.prototype.destroy = function(refresh) {
  845 +
  846 + var _ = this;
  847 +
  848 + _.autoPlayClear();
  849 +
  850 + _.touchObject = {};
  851 +
  852 + _.cleanUpEvents();
  853 +
  854 + $('.slick-cloned', _.$slider).detach();
  855 +
  856 + if (_.$dots) {
  857 + _.$dots.remove();
  858 + }
  859 +
  860 + if ( _.$prevArrow && _.$prevArrow.length ) {
  861 +
  862 + _.$prevArrow
  863 + .removeClass('slick-disabled slick-arrow slick-hidden')
  864 + .removeAttr('aria-hidden aria-disabled tabindex')
  865 + .css('display','');
  866 +
  867 + if ( _.htmlExpr.test( _.options.prevArrow )) {
  868 + _.$prevArrow.remove();
  869 + }
  870 + }
  871 +
  872 + if ( _.$nextArrow && _.$nextArrow.length ) {
  873 +
  874 + _.$nextArrow
  875 + .removeClass('slick-disabled slick-arrow slick-hidden')
  876 + .removeAttr('aria-hidden aria-disabled tabindex')
  877 + .css('display','');
  878 +
  879 + if ( _.htmlExpr.test( _.options.nextArrow )) {
  880 + _.$nextArrow.remove();
  881 + }
  882 + }
  883 +
  884 +
  885 + if (_.$slides) {
  886 +
  887 + _.$slides
  888 + .removeClass('slick-slide slick-active slick-center slick-visible slick-current')
  889 + .removeAttr('aria-hidden')
  890 + .removeAttr('data-slick-index')
  891 + .each(function(){
  892 + $(this).attr('style', $(this).data('originalStyling'));
  893 + });
  894 +
  895 + _.$slideTrack.children(this.options.slide).detach();
  896 +
  897 + _.$slideTrack.detach();
  898 +
  899 + _.$list.detach();
  900 +
  901 + _.$slider.append(_.$slides);
  902 + }
  903 +
  904 + _.cleanUpRows();
  905 +
  906 + _.$slider.removeClass('slick-slider');
  907 + _.$slider.removeClass('slick-initialized');
  908 + _.$slider.removeClass('slick-dotted');
  909 +
  910 + _.unslicked = true;
  911 +
  912 + if(!refresh) {
  913 + _.$slider.trigger('destroy', [_]);
  914 + }
  915 +
  916 + };
  917 +
  918 + Slick.prototype.disableTransition = function(slide) {
  919 +
  920 + var _ = this,
  921 + transition = {};
  922 +
  923 + transition[_.transitionType] = '';
  924 +
  925 + if (_.options.fade === false) {
  926 + _.$slideTrack.css(transition);
  927 + } else {
  928 + _.$slides.eq(slide).css(transition);
  929 + }
  930 +
  931 + };
  932 +
  933 + Slick.prototype.fadeSlide = function(slideIndex, callback) {
  934 +
  935 + var _ = this;
  936 +
  937 + if (_.cssTransitions === false) {
  938 +
  939 + _.$slides.eq(slideIndex).css({
  940 + zIndex: _.options.zIndex
  941 + });
  942 +
  943 + _.$slides.eq(slideIndex).animate({
  944 + opacity: 1
  945 + }, _.options.speed, _.options.easing, callback);
  946 +
  947 + } else {
  948 +
  949 + _.applyTransition(slideIndex);
  950 +
  951 + _.$slides.eq(slideIndex).css({
  952 + opacity: 1,
  953 + zIndex: _.options.zIndex
  954 + });
  955 +
  956 + if (callback) {
  957 + setTimeout(function() {
  958 +
  959 + _.disableTransition(slideIndex);
  960 +
  961 + callback.call();
  962 + }, _.options.speed);
  963 + }
  964 +
  965 + }
  966 +
  967 + };
  968 +
  969 + Slick.prototype.fadeSlideOut = function(slideIndex) {
  970 +
  971 + var _ = this;
  972 +
  973 + if (_.cssTransitions === false) {
  974 +
  975 + _.$slides.eq(slideIndex).animate({
  976 + opacity: 0,
  977 + zIndex: _.options.zIndex - 2
  978 + }, _.options.speed, _.options.easing);
  979 +
  980 + } else {
  981 +
  982 + _.applyTransition(slideIndex);
  983 +
  984 + _.$slides.eq(slideIndex).css({
  985 + opacity: 0,
  986 + zIndex: _.options.zIndex - 2
  987 + });
  988 +
  989 + }
  990 +
  991 + };
  992 +
  993 + Slick.prototype.filterSlides = Slick.prototype.slickFilter = function(filter) {
  994 +
  995 + var _ = this;
  996 +
  997 + if (filter !== null) {
  998 +
  999 + _.$slidesCache = _.$slides;
  1000 +
  1001 + _.unload();
  1002 +
  1003 + _.$slideTrack.children(this.options.slide).detach();
  1004 +
  1005 + _.$slidesCache.filter(filter).appendTo(_.$slideTrack);
  1006 +
  1007 + _.reinit();
  1008 +
  1009 + }
  1010 +
  1011 + };
  1012 +
  1013 + Slick.prototype.focusHandler = function() {
  1014 +
  1015 + var _ = this;
  1016 +
  1017 + // If any child element receives focus within the slider we need to pause the autoplay
  1018 + _.$slider
  1019 + .off('focus.slick blur.slick')
  1020 + .on(
  1021 + 'focus.slick',
  1022 + '*',
  1023 + function(event) {
  1024 + var $sf = $(this);
  1025 +
  1026 + setTimeout(function() {
  1027 + if( _.options.pauseOnFocus ) {
  1028 + if ($sf.is(':focus')) {
  1029 + _.focussed = true;
  1030 + _.autoPlay();
  1031 + }
  1032 + }
  1033 + }, 0);
  1034 + }
  1035 + ).on(
  1036 + 'blur.slick',
  1037 + '*',
  1038 + function(event) {
  1039 + var $sf = $(this);
  1040 +
  1041 + // When a blur occurs on any elements within the slider we become unfocused
  1042 + if( _.options.pauseOnFocus ) {
  1043 + _.focussed = false;
  1044 + _.autoPlay();
  1045 + }
  1046 + }
  1047 + );
  1048 + };
  1049 +
  1050 + Slick.prototype.getCurrent = Slick.prototype.slickCurrentSlide = function() {
  1051 +
  1052 + var _ = this;
  1053 + return _.currentSlide;
  1054 +
  1055 + };
  1056 +
  1057 + Slick.prototype.getDotCount = function() {
  1058 +
  1059 + var _ = this;
  1060 +
  1061 + var breakPoint = 0;
  1062 + var counter = 0;
  1063 + var pagerQty = 0;
  1064 +
  1065 + if (_.options.infinite === true) {
  1066 + if (_.slideCount <= _.options.slidesToShow) {
  1067 + ++pagerQty;
  1068 + } else {
  1069 + while (breakPoint < _.slideCount) {
  1070 + ++pagerQty;
  1071 + breakPoint = counter + _.options.slidesToScroll;
  1072 + counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;
  1073 + }
  1074 + }
  1075 + } else if (_.options.centerMode === true) {
  1076 + pagerQty = _.slideCount;
  1077 + } else if(!_.options.asNavFor) {
  1078 + pagerQty = 1 + Math.ceil((_.slideCount - _.options.slidesToShow) / _.options.slidesToScroll);
  1079 + }else {
  1080 + while (breakPoint < _.slideCount) {
  1081 + ++pagerQty;
  1082 + breakPoint = counter + _.options.slidesToScroll;
  1083 + counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;
  1084 + }
  1085 + }
  1086 +
  1087 + return pagerQty - 1;
  1088 +
  1089 + };
  1090 +
  1091 + Slick.prototype.getLeft = function(slideIndex) {
  1092 +
  1093 + var _ = this,
  1094 + targetLeft,
  1095 + verticalHeight,
  1096 + verticalOffset = 0,
  1097 + targetSlide,
  1098 + coef;
  1099 +
  1100 + _.slideOffset = 0;
  1101 + verticalHeight = _.$slides.first().outerHeight(true);
  1102 +
  1103 + if (_.options.infinite === true) {
  1104 + if (_.slideCount > _.options.slidesToShow) {
  1105 + _.slideOffset = (_.slideWidth * _.options.slidesToShow) * -1;
  1106 + coef = -1
  1107 +
  1108 + if (_.options.vertical === true && _.options.centerMode === true) {
  1109 + if (_.options.slidesToShow === 2) {
  1110 + coef = -1.5;
  1111 + } else if (_.options.slidesToShow === 1) {
  1112 + coef = -2
  1113 + }
  1114 + }
  1115 + verticalOffset = (verticalHeight * _.options.slidesToShow) * coef;
  1116 + }
  1117 + if (_.slideCount % _.options.slidesToScroll !== 0) {
  1118 + if (slideIndex + _.options.slidesToScroll > _.slideCount && _.slideCount > _.options.slidesToShow) {
  1119 + if (slideIndex > _.slideCount) {
  1120 + _.slideOffset = ((_.options.slidesToShow - (slideIndex - _.slideCount)) * _.slideWidth) * -1;
  1121 + verticalOffset = ((_.options.slidesToShow - (slideIndex - _.slideCount)) * verticalHeight) * -1;
  1122 + } else {
  1123 + _.slideOffset = ((_.slideCount % _.options.slidesToScroll) * _.slideWidth) * -1;
  1124 + verticalOffset = ((_.slideCount % _.options.slidesToScroll) * verticalHeight) * -1;
  1125 + }
  1126 + }
  1127 + }
  1128 + } else {
  1129 + if (slideIndex + _.options.slidesToShow > _.slideCount) {
  1130 + _.slideOffset = ((slideIndex + _.options.slidesToShow) - _.slideCount) * _.slideWidth;
  1131 + verticalOffset = ((slideIndex + _.options.slidesToShow) - _.slideCount) * verticalHeight;
  1132 + }
  1133 + }
  1134 +
  1135 + if (_.slideCount <= _.options.slidesToShow) {
  1136 + _.slideOffset = 0;
  1137 + verticalOffset = 0;
  1138 + }
  1139 +
  1140 + if (_.options.centerMode === true && _.slideCount <= _.options.slidesToShow) {
  1141 + _.slideOffset = ((_.slideWidth * Math.floor(_.options.slidesToShow)) / 2) - ((_.slideWidth * _.slideCount) / 2);
  1142 + } else if (_.options.centerMode === true && _.options.infinite === true) {
  1143 + _.slideOffset += _.slideWidth * Math.floor(_.options.slidesToShow / 2) - _.slideWidth;
  1144 + } else if (_.options.centerMode === true) {
  1145 + _.slideOffset = 0;
  1146 + _.slideOffset += _.slideWidth * Math.floor(_.options.slidesToShow / 2);
  1147 + }
  1148 +
  1149 + if (_.options.vertical === false) {
  1150 + targetLeft = ((slideIndex * _.slideWidth) * -1) + _.slideOffset;
  1151 + } else {
  1152 + targetLeft = ((slideIndex * verticalHeight) * -1) + verticalOffset;
  1153 + }
  1154 +
  1155 + if (_.options.variableWidth === true) {
  1156 +
  1157 + if (_.slideCount <= _.options.slidesToShow || _.options.infinite === false) {
  1158 + targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex);
  1159 + } else {
  1160 + targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex + _.options.slidesToShow);
  1161 + }
  1162 +
  1163 + if (_.options.rtl === true) {
  1164 + if (targetSlide[0]) {
  1165 + targetLeft = (_.$slideTrack.width() - targetSlide[0].offsetLeft - targetSlide.width()) * -1;
  1166 + } else {
  1167 + targetLeft = 0;
  1168 + }
  1169 + } else {
  1170 + targetLeft = targetSlide[0] ? targetSlide[0].offsetLeft * -1 : 0;
  1171 + }
  1172 +
  1173 + if (_.options.centerMode === true) {
  1174 + if (_.slideCount <= _.options.slidesToShow || _.options.infinite === false) {
  1175 + targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex);
  1176 + } else {
  1177 + targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex + _.options.slidesToShow + 1);
  1178 + }
  1179 +
  1180 + if (_.options.rtl === true) {
  1181 + if (targetSlide[0]) {
  1182 + targetLeft = (_.$slideTrack.width() - targetSlide[0].offsetLeft - targetSlide.width()) * -1;
  1183 + } else {
  1184 + targetLeft = 0;
  1185 + }
  1186 + } else {
  1187 + targetLeft = targetSlide[0] ? targetSlide[0].offsetLeft * -1 : 0;
  1188 + }
  1189 +
  1190 + targetLeft += (_.$list.width() - targetSlide.outerWidth()) / 2;
  1191 + }
  1192 + }
  1193 +
  1194 + return targetLeft;
  1195 +
  1196 + };
  1197 +
  1198 + Slick.prototype.getOption = Slick.prototype.slickGetOption = function(option) {
  1199 +
  1200 + var _ = this;
  1201 +
  1202 + return _.options[option];
  1203 +
  1204 + };
  1205 +
  1206 + Slick.prototype.getNavigableIndexes = function() {
  1207 +
  1208 + var _ = this,
  1209 + breakPoint = 0,
  1210 + counter = 0,
  1211 + indexes = [],
  1212 + max;
  1213 +
  1214 + if (_.options.infinite === false) {
  1215 + max = _.slideCount;
  1216 + } else {
  1217 + breakPoint = _.options.slidesToScroll * -1;
  1218 + counter = _.options.slidesToScroll * -1;
  1219 + max = _.slideCount * 2;
  1220 + }
  1221 +
  1222 + while (breakPoint < max) {
  1223 + indexes.push(breakPoint);
  1224 + breakPoint = counter + _.options.slidesToScroll;
  1225 + counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;
  1226 + }
  1227 +
  1228 + return indexes;
  1229 +
  1230 + };
  1231 +
  1232 + Slick.prototype.getSlick = function() {
  1233 +
  1234 + return this;
  1235 +
  1236 + };
  1237 +
  1238 + Slick.prototype.getSlideCount = function() {
  1239 +
  1240 + var _ = this,
  1241 + slidesTraversed, swipedSlide, swipeTarget, centerOffset;
  1242 +
  1243 + centerOffset = _.options.centerMode === true ? Math.floor(_.$list.width() / 2) : 0;
  1244 + swipeTarget = (_.swipeLeft * -1) + centerOffset;
  1245 +
  1246 + if (_.options.swipeToSlide === true) {
  1247 +
  1248 + _.$slideTrack.find('.slick-slide').each(function(index, slide) {
  1249 +
  1250 + var slideOuterWidth, slideOffset, slideRightBoundary;
  1251 + slideOuterWidth = $(slide).outerWidth();
  1252 + slideOffset = slide.offsetLeft;
  1253 + if (_.options.centerMode !== true) {
  1254 + slideOffset += (slideOuterWidth / 2);
  1255 + }
  1256 +
  1257 + slideRightBoundary = slideOffset + (slideOuterWidth);
  1258 +
  1259 + if (swipeTarget < slideRightBoundary) {
  1260 + swipedSlide = slide;
  1261 + return false;
  1262 + }
  1263 + });
  1264 +
  1265 + slidesTraversed = Math.abs($(swipedSlide).attr('data-slick-index') - _.currentSlide) || 1;
  1266 +
  1267 + return slidesTraversed;
  1268 +
  1269 + } else {
  1270 + return _.options.slidesToScroll;
  1271 + }
  1272 +
  1273 + };
  1274 +
  1275 + Slick.prototype.goTo = Slick.prototype.slickGoTo = function(slide, dontAnimate) {
  1276 +
  1277 + var _ = this;
  1278 +
  1279 + _.changeSlide({
  1280 + data: {
  1281 + message: 'index',
  1282 + index: parseInt(slide)
  1283 + }
  1284 + }, dontAnimate);
  1285 +
  1286 + };
  1287 +
  1288 + Slick.prototype.init = function(creation) {
  1289 +
  1290 + var _ = this;
  1291 +
  1292 + if (!$(_.$slider).hasClass('slick-initialized')) {
  1293 +
  1294 + $(_.$slider).addClass('slick-initialized');
  1295 +
  1296 + _.buildRows();
  1297 + _.buildOut();
  1298 + _.setProps();
  1299 + _.startLoad();
  1300 + _.loadSlider();
  1301 + _.initializeEvents();
  1302 + _.updateArrows();
  1303 + _.updateDots();
  1304 + _.checkResponsive(true);
  1305 + _.focusHandler();
  1306 +
  1307 + }
  1308 +
  1309 + if (creation) {
  1310 + _.$slider.trigger('init', [_]);
  1311 + }
  1312 +
  1313 + if (_.options.accessibility === true) {
  1314 + _.initADA();
  1315 + }
  1316 +
  1317 + if ( _.options.autoplay ) {
  1318 +
  1319 + _.paused = false;
  1320 + _.autoPlay();
  1321 +
  1322 + }
  1323 +
  1324 + };
  1325 +
  1326 + Slick.prototype.initADA = function() {
  1327 + var _ = this,
  1328 + numDotGroups = Math.ceil(_.slideCount / _.options.slidesToShow),
  1329 + tabControlIndexes = _.getNavigableIndexes().filter(function(val) {
  1330 + return (val >= 0) && (val < _.slideCount);
  1331 + });
  1332 +
  1333 + _.$slides.add(_.$slideTrack.find('.slick-cloned')).attr({
  1334 + 'aria-hidden': 'true',
  1335 + 'tabindex': '-1'
  1336 + }).find('a, input, button, select').attr({
  1337 + 'tabindex': '-1'
  1338 + });
  1339 +
  1340 + if (_.$dots !== null) {
  1341 + _.$slides.not(_.$slideTrack.find('.slick-cloned')).each(function(i) {
  1342 + var slideControlIndex = tabControlIndexes.indexOf(i);
  1343 +
  1344 + $(this).attr({
  1345 + 'role': 'tabpanel',
  1346 + 'id': 'slick-slide' + _.instanceUid + i,
  1347 + 'tabindex': -1
  1348 + });
  1349 +
  1350 + if (slideControlIndex !== -1) {
  1351 + var ariaButtonControl = 'slick-slide-control' + _.instanceUid + slideControlIndex
  1352 + if ($('#' + ariaButtonControl).length) {
  1353 + $(this).attr({
  1354 + 'aria-describedby': ariaButtonControl
  1355 + });
  1356 + }
  1357 + }
  1358 + });
  1359 +
  1360 + _.$dots.attr('role', 'tablist').find('li').each(function(i) {
  1361 + var mappedSlideIndex = tabControlIndexes[i];
  1362 +
  1363 + $(this).attr({
  1364 + 'role': 'presentation'
  1365 + });
  1366 +
  1367 + $(this).find('button').first().attr({
  1368 + 'role': 'tab',
  1369 + 'id': 'slick-slide-control' + _.instanceUid + i,
  1370 + 'aria-controls': 'slick-slide' + _.instanceUid + mappedSlideIndex,
  1371 + 'aria-label': (i + 1) + ' of ' + numDotGroups,
  1372 + 'aria-selected': null,
  1373 + 'tabindex': '-1'
  1374 + });
  1375 +
  1376 + }).eq(_.currentSlide).find('button').attr({
  1377 + 'aria-selected': 'true',
  1378 + 'tabindex': '0'
  1379 + }).end();
  1380 + }
  1381 +
  1382 + for (var i=_.currentSlide, max=i+_.options.slidesToShow; i < max; i++) {
  1383 + if (_.options.focusOnChange) {
  1384 + _.$slides.eq(i).attr({'tabindex': '0'});
  1385 + } else {
  1386 + _.$slides.eq(i).removeAttr('tabindex');
  1387 + }
  1388 + }
  1389 +
  1390 + _.activateADA();
  1391 +
  1392 + };
  1393 +
  1394 + Slick.prototype.initArrowEvents = function() {
  1395 +
  1396 + var _ = this;
  1397 +
  1398 + if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {
  1399 + _.$prevArrow
  1400 + .off('click.slick')
  1401 + .on('click.slick', {
  1402 + message: 'previous'
  1403 + }, _.changeSlide);
  1404 + _.$nextArrow
  1405 + .off('click.slick')
  1406 + .on('click.slick', {
  1407 + message: 'next'
  1408 + }, _.changeSlide);
  1409 +
  1410 + if (_.options.accessibility === true) {
  1411 + _.$prevArrow.on('keydown.slick', _.keyHandler);
  1412 + _.$nextArrow.on('keydown.slick', _.keyHandler);
  1413 + }
  1414 + }
  1415 +
  1416 + };
  1417 +
  1418 + Slick.prototype.initDotEvents = function() {
  1419 +
  1420 + var _ = this;
  1421 +
  1422 + if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {
  1423 + $('li', _.$dots).on('click.slick', {
  1424 + message: 'index'
  1425 + }, _.changeSlide);
  1426 +
  1427 + if (_.options.accessibility === true) {
  1428 + _.$dots.on('keydown.slick', _.keyHandler);
  1429 + }
  1430 + }
  1431 +
  1432 + if (_.options.dots === true && _.options.pauseOnDotsHover === true && _.slideCount > _.options.slidesToShow) {
  1433 +
  1434 + $('li', _.$dots)
  1435 + .on('mouseenter.slick', $.proxy(_.interrupt, _, true))
  1436 + .on('mouseleave.slick', $.proxy(_.interrupt, _, false));
  1437 +
  1438 + }
  1439 +
  1440 + };
  1441 +
  1442 + Slick.prototype.initSlideEvents = function() {
  1443 +
  1444 + var _ = this;
  1445 +
  1446 + if ( _.options.pauseOnHover ) {
  1447 +
  1448 + _.$list.on('mouseenter.slick', $.proxy(_.interrupt, _, true));
  1449 + _.$list.on('mouseleave.slick', $.proxy(_.interrupt, _, false));
  1450 +
  1451 + }
  1452 +
  1453 + };
  1454 +
  1455 + Slick.prototype.initializeEvents = function() {
  1456 +
  1457 + var _ = this;
  1458 +
  1459 + _.initArrowEvents();
  1460 +
  1461 + _.initDotEvents();
  1462 + _.initSlideEvents();
  1463 +
  1464 + _.$list.on('touchstart.slick mousedown.slick', {
  1465 + action: 'start'
  1466 + }, _.swipeHandler);
  1467 + _.$list.on('touchmove.slick mousemove.slick', {
  1468 + action: 'move'
  1469 + }, _.swipeHandler);
  1470 + _.$list.on('touchend.slick mouseup.slick', {
  1471 + action: 'end'
  1472 + }, _.swipeHandler);
  1473 + _.$list.on('touchcancel.slick mouseleave.slick', {
  1474 + action: 'end'
  1475 + }, _.swipeHandler);
  1476 +
  1477 + _.$list.on('click.slick', _.clickHandler);
  1478 +
  1479 + $(document).on(_.visibilityChange, $.proxy(_.visibility, _));
  1480 +
  1481 + if (_.options.accessibility === true) {
  1482 + _.$list.on('keydown.slick', _.keyHandler);
  1483 + }
  1484 +
  1485 + if (_.options.focusOnSelect === true) {
  1486 + $(_.$slideTrack).children().on('click.slick', _.selectHandler);
  1487 + }
  1488 +
  1489 + $(window).on('orientationchange.slick.slick-' + _.instanceUid, $.proxy(_.orientationChange, _));
  1490 +
  1491 + $(window).on('resize.slick.slick-' + _.instanceUid, $.proxy(_.resize, _));
  1492 +
  1493 + $('[draggable!=true]', _.$slideTrack).on('dragstart', _.preventDefault);
  1494 +
  1495 + $(window).on('load.slick.slick-' + _.instanceUid, _.setPosition);
  1496 + $(_.setPosition);
  1497 +
  1498 + };
  1499 +
  1500 + Slick.prototype.initUI = function() {
  1501 +
  1502 + var _ = this;
  1503 +
  1504 + if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {
  1505 +
  1506 + _.$prevArrow.show();
  1507 + _.$nextArrow.show();
  1508 +
  1509 + }
  1510 +
  1511 + if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {
  1512 +
  1513 + _.$dots.show();
  1514 +
  1515 + }
  1516 +
  1517 + };
  1518 +
  1519 + Slick.prototype.keyHandler = function(event) {
  1520 +
  1521 + var _ = this;
  1522 + //Dont slide if the cursor is inside the form fields and arrow keys are pressed
  1523 + if(!event.target.tagName.match('TEXTAREA|INPUT|SELECT')) {
  1524 + if (event.keyCode === 37 && _.options.accessibility === true) {
  1525 + _.changeSlide({
  1526 + data: {
  1527 + message: _.options.rtl === true ? 'next' : 'previous'
  1528 + }
  1529 + });
  1530 + } else if (event.keyCode === 39 && _.options.accessibility === true) {
  1531 + _.changeSlide({
  1532 + data: {
  1533 + message: _.options.rtl === true ? 'previous' : 'next'
  1534 + }
  1535 + });
  1536 + }
  1537 + }
  1538 +
  1539 + };
  1540 +
  1541 + Slick.prototype.lazyLoad = function() {
  1542 +
  1543 + var _ = this,
  1544 + loadRange, cloneRange, rangeStart, rangeEnd;
  1545 +
  1546 + function loadImages(imagesScope) {
  1547 +
  1548 + $('img[data-lazy]', imagesScope).each(function() {
  1549 +
  1550 + var image = $(this),
  1551 + imageSource = $(this).attr('data-lazy'),
  1552 + imageSrcSet = $(this).attr('data-srcset'),
  1553 + imageSizes = $(this).attr('data-sizes') || _.$slider.attr('data-sizes'),
  1554 + imageToLoad = document.createElement('img');
  1555 +
  1556 + imageToLoad.onload = function() {
  1557 +
  1558 + image
  1559 + .animate({ opacity: 0 }, 100, function() {
  1560 +
  1561 + if (imageSrcSet) {
  1562 + image
  1563 + .attr('srcset', imageSrcSet );
  1564 +
  1565 + if (imageSizes) {
  1566 + image
  1567 + .attr('sizes', imageSizes );
  1568 + }
  1569 + }
  1570 +
  1571 + image
  1572 + .attr('src', imageSource)
  1573 + .animate({ opacity: 1 }, 200, function() {
  1574 + image
  1575 + .removeAttr('data-lazy data-srcset data-sizes')
  1576 + .removeClass('slick-loading');
  1577 + });
  1578 + _.$slider.trigger('lazyLoaded', [_, image, imageSource]);
  1579 + });
  1580 +
  1581 + };
  1582 +
  1583 + imageToLoad.onerror = function() {
  1584 +
  1585 + image
  1586 + .removeAttr( 'data-lazy' )
  1587 + .removeClass( 'slick-loading' )
  1588 + .addClass( 'slick-lazyload-error' );
  1589 +
  1590 + _.$slider.trigger('lazyLoadError', [ _, image, imageSource ]);
  1591 +
  1592 + };
  1593 +
  1594 + imageToLoad.src = imageSource;
  1595 +
  1596 + });
  1597 +
  1598 + }
  1599 +
  1600 + if (_.options.centerMode === true) {
  1601 + if (_.options.infinite === true) {
  1602 + rangeStart = _.currentSlide + (_.options.slidesToShow / 2 + 1);
  1603 + rangeEnd = rangeStart + _.options.slidesToShow + 2;
  1604 + } else {
  1605 + rangeStart = Math.max(0, _.currentSlide - (_.options.slidesToShow / 2 + 1));
  1606 + rangeEnd = 2 + (_.options.slidesToShow / 2 + 1) + _.currentSlide;
  1607 + }
  1608 + } else {
  1609 + rangeStart = _.options.infinite ? _.options.slidesToShow + _.currentSlide : _.currentSlide;
  1610 + rangeEnd = Math.ceil(rangeStart + _.options.slidesToShow);
  1611 + if (_.options.fade === true) {
  1612 + if (rangeStart > 0) rangeStart--;
  1613 + if (rangeEnd <= _.slideCount) rangeEnd++;
  1614 + }
  1615 + }
  1616 +
  1617 + loadRange = _.$slider.find('.slick-slide').slice(rangeStart, rangeEnd);
  1618 +
  1619 + if (_.options.lazyLoad === 'anticipated') {
  1620 + var prevSlide = rangeStart - 1,
  1621 + nextSlide = rangeEnd,
  1622 + $slides = _.$slider.find('.slick-slide');
  1623 +
  1624 + for (var i = 0; i < _.options.slidesToScroll; i++) {
  1625 + if (prevSlide < 0) prevSlide = _.slideCount - 1;
  1626 + loadRange = loadRange.add($slides.eq(prevSlide));
  1627 + loadRange = loadRange.add($slides.eq(nextSlide));
  1628 + prevSlide--;
  1629 + nextSlide++;
  1630 + }
  1631 + }
  1632 +
  1633 + loadImages(loadRange);
  1634 +
  1635 + if (_.slideCount <= _.options.slidesToShow) {
  1636 + cloneRange = _.$slider.find('.slick-slide');
  1637 + loadImages(cloneRange);
  1638 + } else
  1639 + if (_.currentSlide >= _.slideCount - _.options.slidesToShow) {
  1640 + cloneRange = _.$slider.find('.slick-cloned').slice(0, _.options.slidesToShow);
  1641 + loadImages(cloneRange);
  1642 + } else if (_.currentSlide === 0) {
  1643 + cloneRange = _.$slider.find('.slick-cloned').slice(_.options.slidesToShow * -1);
  1644 + loadImages(cloneRange);
  1645 + }
  1646 +
  1647 + };
  1648 +
  1649 + Slick.prototype.loadSlider = function() {
  1650 +
  1651 + var _ = this;
  1652 +
  1653 + _.setPosition();
  1654 +
  1655 + _.$slideTrack.css({
  1656 + opacity: 1
  1657 + });
  1658 +
  1659 + _.$slider.removeClass('slick-loading');
  1660 +
  1661 + _.initUI();
  1662 +
  1663 + if (_.options.lazyLoad === 'progressive') {
  1664 + _.progressiveLazyLoad();
  1665 + }
  1666 +
  1667 + };
  1668 +
  1669 + Slick.prototype.next = Slick.prototype.slickNext = function() {
  1670 +
  1671 + var _ = this;
  1672 +
  1673 + _.changeSlide({
  1674 + data: {
  1675 + message: 'next'
  1676 + }
  1677 + });
  1678 +
  1679 + };
  1680 +
  1681 + Slick.prototype.orientationChange = function() {
  1682 +
  1683 + var _ = this;
  1684 +
  1685 + _.checkResponsive();
  1686 + _.setPosition();
  1687 +
  1688 + };
  1689 +
  1690 + Slick.prototype.pause = Slick.prototype.slickPause = function() {
  1691 +
  1692 + var _ = this;
  1693 +
  1694 + _.autoPlayClear();
  1695 + _.paused = true;
  1696 +
  1697 + };
  1698 +
  1699 + Slick.prototype.play = Slick.prototype.slickPlay = function() {
  1700 +
  1701 + var _ = this;
  1702 +
  1703 + _.autoPlay();
  1704 + _.options.autoplay = true;
  1705 + _.paused = false;
  1706 + _.focussed = false;
  1707 + _.interrupted = false;
  1708 +
  1709 + };
  1710 +
  1711 + Slick.prototype.postSlide = function(index) {
  1712 +
  1713 + var _ = this;
  1714 +
  1715 + if( !_.unslicked ) {
  1716 +
  1717 + _.$slider.trigger('afterChange', [_, index]);
  1718 +
  1719 + _.animating = false;
  1720 +
  1721 + if (_.slideCount > _.options.slidesToShow) {
  1722 + _.setPosition();
  1723 + }
  1724 +
  1725 + _.swipeLeft = null;
  1726 +
  1727 + if ( _.options.autoplay ) {
  1728 + _.autoPlay();
  1729 + }
  1730 +
  1731 + if (_.options.accessibility === true) {
  1732 + _.initADA();
  1733 +
  1734 + if (_.options.focusOnChange) {
  1735 + var $currentSlide = $(_.$slides.get(_.currentSlide));
  1736 + $currentSlide.attr('tabindex', 0).focus();
  1737 + }
  1738 + }
  1739 +
  1740 + }
  1741 +
  1742 + };
  1743 +
  1744 + Slick.prototype.prev = Slick.prototype.slickPrev = function() {
  1745 +
  1746 + var _ = this;
  1747 +
  1748 + _.changeSlide({
  1749 + data: {
  1750 + message: 'previous'
  1751 + }
  1752 + });
  1753 +
  1754 + };
  1755 +
  1756 + Slick.prototype.preventDefault = function(event) {
  1757 +
  1758 + event.preventDefault();
  1759 +
  1760 + };
  1761 +
  1762 + Slick.prototype.progressiveLazyLoad = function( tryCount ) {
  1763 +
  1764 + tryCount = tryCount || 1;
  1765 +
  1766 + var _ = this,
  1767 + $imgsToLoad = $( 'img[data-lazy]', _.$slider ),
  1768 + image,
  1769 + imageSource,
  1770 + imageSrcSet,
  1771 + imageSizes,
  1772 + imageToLoad;
  1773 +
  1774 + if ( $imgsToLoad.length ) {
  1775 +
  1776 + image = $imgsToLoad.first();
  1777 + imageSource = image.attr('data-lazy');
  1778 + imageSrcSet = image.attr('data-srcset');
  1779 + imageSizes = image.attr('data-sizes') || _.$slider.attr('data-sizes');
  1780 + imageToLoad = document.createElement('img');
  1781 +
  1782 + imageToLoad.onload = function() {
  1783 +
  1784 + if (imageSrcSet) {
  1785 + image
  1786 + .attr('srcset', imageSrcSet );
  1787 +
  1788 + if (imageSizes) {
  1789 + image
  1790 + .attr('sizes', imageSizes );
  1791 + }
  1792 + }
  1793 +
  1794 + image
  1795 + .attr( 'src', imageSource )
  1796 + .removeAttr('data-lazy data-srcset data-sizes')
  1797 + .removeClass('slick-loading');
  1798 +
  1799 + if ( _.options.adaptiveHeight === true ) {
  1800 + _.setPosition();
  1801 + }
  1802 +
  1803 + _.$slider.trigger('lazyLoaded', [ _, image, imageSource ]);
  1804 + _.progressiveLazyLoad();
  1805 +
  1806 + };
  1807 +
  1808 + imageToLoad.onerror = function() {
  1809 +
  1810 + if ( tryCount < 3 ) {
  1811 +
  1812 + /**
  1813 + * try to load the image 3 times,
  1814 + * leave a slight delay so we don't get
  1815 + * servers blocking the request.
  1816 + */
  1817 + setTimeout( function() {
  1818 + _.progressiveLazyLoad( tryCount + 1 );
  1819 + }, 500 );
  1820 +
  1821 + } else {
  1822 +
  1823 + image
  1824 + .removeAttr( 'data-lazy' )
  1825 + .removeClass( 'slick-loading' )
  1826 + .addClass( 'slick-lazyload-error' );
  1827 +
  1828 + _.$slider.trigger('lazyLoadError', [ _, image, imageSource ]);
  1829 +
  1830 + _.progressiveLazyLoad();
  1831 +
  1832 + }
  1833 +
  1834 + };
  1835 +
  1836 + imageToLoad.src = imageSource;
  1837 +
  1838 + } else {
  1839 +
  1840 + _.$slider.trigger('allImagesLoaded', [ _ ]);
  1841 +
  1842 + }
  1843 +
  1844 + };
  1845 +
  1846 + Slick.prototype.refresh = function( initializing ) {
  1847 +
  1848 + var _ = this, currentSlide, lastVisibleIndex;
  1849 +
  1850 + lastVisibleIndex = _.slideCount - _.options.slidesToShow;
  1851 +
  1852 + // in non-infinite sliders, we don't want to go past the
  1853 + // last visible index.
  1854 + if( !_.options.infinite && ( _.currentSlide > lastVisibleIndex )) {
  1855 + _.currentSlide = lastVisibleIndex;
  1856 + }
  1857 +
  1858 + // if less slides than to show, go to start.
  1859 + if ( _.slideCount <= _.options.slidesToShow ) {
  1860 + _.currentSlide = 0;
  1861 +
  1862 + }
  1863 +
  1864 + currentSlide = _.currentSlide;
  1865 +
  1866 + _.destroy(true);
  1867 +
  1868 + $.extend(_, _.initials, { currentSlide: currentSlide });
  1869 +
  1870 + _.init();
  1871 +
  1872 + if( !initializing ) {
  1873 +
  1874 + _.changeSlide({
  1875 + data: {
  1876 + message: 'index',
  1877 + index: currentSlide
  1878 + }
  1879 + }, false);
  1880 +
  1881 + }
  1882 +
  1883 + };
  1884 +
  1885 + Slick.prototype.registerBreakpoints = function() {
  1886 +
  1887 + var _ = this, breakpoint, currentBreakpoint, l,
  1888 + responsiveSettings = _.options.responsive || null;
  1889 +
  1890 + if ( $.type(responsiveSettings) === 'array' && responsiveSettings.length ) {
  1891 +
  1892 + _.respondTo = _.options.respondTo || 'window';
  1893 +
  1894 + for ( breakpoint in responsiveSettings ) {
  1895 +
  1896 + l = _.breakpoints.length-1;
  1897 +
  1898 + if (responsiveSettings.hasOwnProperty(breakpoint)) {
  1899 + currentBreakpoint = responsiveSettings[breakpoint].breakpoint;
  1900 +
  1901 + // loop through the breakpoints and cut out any existing
  1902 + // ones with the same breakpoint number, we don't want dupes.
  1903 + while( l >= 0 ) {
  1904 + if( _.breakpoints[l] && _.breakpoints[l] === currentBreakpoint ) {
  1905 + _.breakpoints.splice(l,1);
  1906 + }
  1907 + l--;
  1908 + }
  1909 +
  1910 + _.breakpoints.push(currentBreakpoint);
  1911 + _.breakpointSettings[currentBreakpoint] = responsiveSettings[breakpoint].settings;
  1912 +
  1913 + }
  1914 +
  1915 + }
  1916 +
  1917 + _.breakpoints.sort(function(a, b) {
  1918 + return ( _.options.mobileFirst ) ? a-b : b-a;
  1919 + });
  1920 +
  1921 + }
  1922 +
  1923 + };
  1924 +
  1925 + Slick.prototype.reinit = function() {
  1926 +
  1927 + var _ = this;
  1928 +
  1929 + _.$slides =
  1930 + _.$slideTrack
  1931 + .children(_.options.slide)
  1932 + .addClass('slick-slide');
  1933 +
  1934 + _.slideCount = _.$slides.length;
  1935 +
  1936 + if (_.currentSlide >= _.slideCount && _.currentSlide !== 0) {
  1937 + _.currentSlide = _.currentSlide - _.options.slidesToScroll;
  1938 + }
  1939 +
  1940 + if (_.slideCount <= _.options.slidesToShow) {
  1941 + _.currentSlide = 0;
  1942 + }
  1943 +
  1944 + _.registerBreakpoints();
  1945 +
  1946 + _.setProps();
  1947 + _.setupInfinite();
  1948 + _.buildArrows();
  1949 + _.updateArrows();
  1950 + _.initArrowEvents();
  1951 + _.buildDots();
  1952 + _.updateDots();
  1953 + _.initDotEvents();
  1954 + _.cleanUpSlideEvents();
  1955 + _.initSlideEvents();
  1956 +
  1957 + _.checkResponsive(false, true);
  1958 +
  1959 + if (_.options.focusOnSelect === true) {
  1960 + $(_.$slideTrack).children().on('click.slick', _.selectHandler);
  1961 + }
  1962 +
  1963 + _.setSlideClasses(typeof _.currentSlide === 'number' ? _.currentSlide : 0);
  1964 +
  1965 + _.setPosition();
  1966 + _.focusHandler();
  1967 +
  1968 + _.paused = !_.options.autoplay;
  1969 + _.autoPlay();
  1970 +
  1971 + _.$slider.trigger('reInit', [_]);
  1972 +
  1973 + };
  1974 +
  1975 + Slick.prototype.resize = function() {
  1976 +
  1977 + var _ = this;
  1978 +
  1979 + if ($(window).width() !== _.windowWidth) {
  1980 + clearTimeout(_.windowDelay);
  1981 + _.windowDelay = window.setTimeout(function() {
  1982 + _.windowWidth = $(window).width();
  1983 + _.checkResponsive();
  1984 + if( !_.unslicked ) { _.setPosition(); }
  1985 + }, 50);
  1986 + }
  1987 + };
  1988 +
  1989 + Slick.prototype.removeSlide = Slick.prototype.slickRemove = function(index, removeBefore, removeAll) {
  1990 +
  1991 + var _ = this;
  1992 +
  1993 + if (typeof(index) === 'boolean') {
  1994 + removeBefore = index;
  1995 + index = removeBefore === true ? 0 : _.slideCount - 1;
  1996 + } else {
  1997 + index = removeBefore === true ? --index : index;
  1998 + }
  1999 +
  2000 + if (_.slideCount < 1 || index < 0 || index > _.slideCount - 1) {
  2001 + return false;
  2002 + }
  2003 +
  2004 + _.unload();
  2005 +
  2006 + if (removeAll === true) {
  2007 + _.$slideTrack.children().remove();
  2008 + } else {
  2009 + _.$slideTrack.children(this.options.slide).eq(index).remove();
  2010 + }
  2011 +
  2012 + _.$slides = _.$slideTrack.children(this.options.slide);
  2013 +
  2014 + _.$slideTrack.children(this.options.slide).detach();
  2015 +
  2016 + _.$slideTrack.append(_.$slides);
  2017 +
  2018 + _.$slidesCache = _.$slides;
  2019 +
  2020 + _.reinit();
  2021 +
  2022 + };
  2023 +
  2024 + Slick.prototype.setCSS = function(position) {
  2025 +
  2026 + var _ = this,
  2027 + positionProps = {},
  2028 + x, y;
  2029 +
  2030 + if (_.options.rtl === true) {
  2031 + position = -position;
  2032 + }
  2033 + x = _.positionProp == 'left' ? Math.ceil(position) + 'px' : '0px';
  2034 + y = _.positionProp == 'top' ? Math.ceil(position) + 'px' : '0px';
  2035 +
  2036 + positionProps[_.positionProp] = position;
  2037 +
  2038 + if (_.transformsEnabled === false) {
  2039 + _.$slideTrack.css(positionProps);
  2040 + } else {
  2041 + positionProps = {};
  2042 + if (_.cssTransitions === false) {
  2043 + positionProps[_.animType] = 'translate(' + x + ', ' + y + ')';
  2044 + _.$slideTrack.css(positionProps);
  2045 + } else {
  2046 + positionProps[_.animType] = 'translate3d(' + x + ', ' + y + ', 0px)';
  2047 + _.$slideTrack.css(positionProps);
  2048 + }
  2049 + }
  2050 +
  2051 + };
  2052 +
  2053 + Slick.prototype.setDimensions = function() {
  2054 +
  2055 + var _ = this;
  2056 +
  2057 + if (_.options.vertical === false) {
  2058 + if (_.options.centerMode === true) {
  2059 + _.$list.css({
  2060 + padding: ('0px ' + _.options.centerPadding)
  2061 + });
  2062 + }
  2063 + } else {
  2064 + _.$list.height(_.$slides.first().outerHeight(true) * _.options.slidesToShow);
  2065 + if (_.options.centerMode === true) {
  2066 + _.$list.css({
  2067 + padding: (_.options.centerPadding + ' 0px')
  2068 + });
  2069 + }
  2070 + }
  2071 +
  2072 + _.listWidth = _.$list.width();
  2073 + _.listHeight = _.$list.height();
  2074 +
  2075 +
  2076 + if (_.options.vertical === false && _.options.variableWidth === false) {
  2077 + _.slideWidth = Math.ceil(_.listWidth / _.options.slidesToShow);
  2078 + _.$slideTrack.width(Math.ceil((_.slideWidth * _.$slideTrack.children('.slick-slide').length)));
  2079 +
  2080 + } else if (_.options.variableWidth === true) {
  2081 + _.$slideTrack.width(5000 * _.slideCount);
  2082 + } else {
  2083 + _.slideWidth = Math.ceil(_.listWidth);
  2084 + _.$slideTrack.height(Math.ceil((_.$slides.first().outerHeight(true) * _.$slideTrack.children('.slick-slide').length)));
  2085 + }
  2086 +
  2087 + var offset = _.$slides.first().outerWidth(true) - _.$slides.first().width();
  2088 + if (_.options.variableWidth === false) _.$slideTrack.children('.slick-slide').width(_.slideWidth - offset);
  2089 +
  2090 + };
  2091 +
  2092 + Slick.prototype.setFade = function() {
  2093 +
  2094 + var _ = this,
  2095 + targetLeft;
  2096 +
  2097 + _.$slides.each(function(index, element) {
  2098 + targetLeft = (_.slideWidth * index) * -1;
  2099 + if (_.options.rtl === true) {
  2100 + $(element).css({
  2101 + position: 'relative',
  2102 + right: targetLeft,
  2103 + top: 0,
  2104 + zIndex: _.options.zIndex - 2,
  2105 + opacity: 0
  2106 + });
  2107 + } else {
  2108 + $(element).css({
  2109 + position: 'relative',
  2110 + left: targetLeft,
  2111 + top: 0,
  2112 + zIndex: _.options.zIndex - 2,
  2113 + opacity: 0
  2114 + });
  2115 + }
  2116 + });
  2117 +
  2118 + _.$slides.eq(_.currentSlide).css({
  2119 + zIndex: _.options.zIndex - 1,
  2120 + opacity: 1
  2121 + });
  2122 +
  2123 + };
  2124 +
  2125 + Slick.prototype.setHeight = function() {
  2126 +
  2127 + var _ = this;
  2128 +
  2129 + if (_.options.slidesToShow === 1 && _.options.adaptiveHeight === true && _.options.vertical === false) {
  2130 + var targetHeight = _.$slides.eq(_.currentSlide).outerHeight(true);
  2131 + _.$list.css('height', targetHeight);
  2132 + }
  2133 +
  2134 + };
  2135 +
  2136 + Slick.prototype.setOption =
  2137 + Slick.prototype.slickSetOption = function() {
  2138 +
  2139 + /**
  2140 + * accepts arguments in format of:
  2141 + *
  2142 + * - for changing a single option's value:
  2143 + * .slick("setOption", option, value, refresh )
  2144 + *
  2145 + * - for changing a set of responsive options:
  2146 + * .slick("setOption", 'responsive', [{}, ...], refresh )
  2147 + *
  2148 + * - for updating multiple values at once (not responsive)
  2149 + * .slick("setOption", { 'option': value, ... }, refresh )
  2150 + */
  2151 +
  2152 + var _ = this, l, item, option, value, refresh = false, type;
  2153 +
  2154 + if( $.type( arguments[0] ) === 'object' ) {
  2155 +
  2156 + option = arguments[0];
  2157 + refresh = arguments[1];
  2158 + type = 'multiple';
  2159 +
  2160 + } else if ( $.type( arguments[0] ) === 'string' ) {
  2161 +
  2162 + option = arguments[0];
  2163 + value = arguments[1];
  2164 + refresh = arguments[2];
  2165 +
  2166 + if ( arguments[0] === 'responsive' && $.type( arguments[1] ) === 'array' ) {
  2167 +
  2168 + type = 'responsive';
  2169 +
  2170 + } else if ( typeof arguments[1] !== 'undefined' ) {
  2171 +
  2172 + type = 'single';
  2173 +
  2174 + }
  2175 +
  2176 + }
  2177 +
  2178 + if ( type === 'single' ) {
  2179 +
  2180 + _.options[option] = value;
  2181 +
  2182 +
  2183 + } else if ( type === 'multiple' ) {
  2184 +
  2185 + $.each( option , function( opt, val ) {
  2186 +
  2187 + _.options[opt] = val;
  2188 +
  2189 + });
  2190 +
  2191 +
  2192 + } else if ( type === 'responsive' ) {
  2193 +
  2194 + for ( item in value ) {
  2195 +
  2196 + if( $.type( _.options.responsive ) !== 'array' ) {
  2197 +
  2198 + _.options.responsive = [ value[item] ];
  2199 +
  2200 + } else {
  2201 +
  2202 + l = _.options.responsive.length-1;
  2203 +
  2204 + // loop through the responsive object and splice out duplicates.
  2205 + while( l >= 0 ) {
  2206 +
  2207 + if( _.options.responsive[l].breakpoint === value[item].breakpoint ) {
  2208 +
  2209 + _.options.responsive.splice(l,1);
  2210 +
  2211 + }
  2212 +
  2213 + l--;
  2214 +
  2215 + }
  2216 +
  2217 + _.options.responsive.push( value[item] );
  2218 +
  2219 + }
  2220 +
  2221 + }
  2222 +
  2223 + }
  2224 +
  2225 + if ( refresh ) {
  2226 +
  2227 + _.unload();
  2228 + _.reinit();
  2229 +
  2230 + }
  2231 +
  2232 + };
  2233 +
  2234 + Slick.prototype.setPosition = function() {
  2235 +
  2236 + var _ = this;
  2237 +
  2238 + _.setDimensions();
  2239 +
  2240 + _.setHeight();
  2241 +
  2242 + if (_.options.fade === false) {
  2243 + _.setCSS(_.getLeft(_.currentSlide));
  2244 + } else {
  2245 + _.setFade();
  2246 + }
  2247 +
  2248 + _.$slider.trigger('setPosition', [_]);
  2249 +
  2250 + };
  2251 +
  2252 + Slick.prototype.setProps = function() {
  2253 +
  2254 + var _ = this,
  2255 + bodyStyle = document.body.style;
  2256 +
  2257 + _.positionProp = _.options.vertical === true ? 'top' : 'left';
  2258 +
  2259 + if (_.positionProp === 'top') {
  2260 + _.$slider.addClass('slick-vertical');
  2261 + } else {
  2262 + _.$slider.removeClass('slick-vertical');
  2263 + }
  2264 +
  2265 + if (bodyStyle.WebkitTransition !== undefined ||
  2266 + bodyStyle.MozTransition !== undefined ||
  2267 + bodyStyle.msTransition !== undefined) {
  2268 + if (_.options.useCSS === true) {
  2269 + _.cssTransitions = true;
  2270 + }
  2271 + }
  2272 +
  2273 + if ( _.options.fade ) {
  2274 + if ( typeof _.options.zIndex === 'number' ) {
  2275 + if( _.options.zIndex < 3 ) {
  2276 + _.options.zIndex = 3;
  2277 + }
  2278 + } else {
  2279 + _.options.zIndex = _.defaults.zIndex;
  2280 + }
  2281 + }
  2282 +
  2283 + if (bodyStyle.OTransform !== undefined) {
  2284 + _.animType = 'OTransform';
  2285 + _.transformType = '-o-transform';
  2286 + _.transitionType = 'OTransition';
  2287 + if (bodyStyle.perspectiveProperty === undefined && bodyStyle.webkitPerspective === undefined) _.animType = false;
  2288 + }
  2289 + if (bodyStyle.MozTransform !== undefined) {
  2290 + _.animType = 'MozTransform';
  2291 + _.transformType = '-moz-transform';
  2292 + _.transitionType = 'MozTransition';
  2293 + if (bodyStyle.perspectiveProperty === undefined && bodyStyle.MozPerspective === undefined) _.animType = false;
  2294 + }
  2295 + if (bodyStyle.webkitTransform !== undefined) {
  2296 + _.animType = 'webkitTransform';
  2297 + _.transformType = '-webkit-transform';
  2298 + _.transitionType = 'webkitTransition';
  2299 + if (bodyStyle.perspectiveProperty === undefined && bodyStyle.webkitPerspective === undefined) _.animType = false;
  2300 + }
  2301 + if (bodyStyle.msTransform !== undefined) {
  2302 + _.animType = 'msTransform';
  2303 + _.transformType = '-ms-transform';
  2304 + _.transitionType = 'msTransition';
  2305 + if (bodyStyle.msTransform === undefined) _.animType = false;
  2306 + }
  2307 + if (bodyStyle.transform !== undefined && _.animType !== false) {
  2308 + _.animType = 'transform';
  2309 + _.transformType = 'transform';
  2310 + _.transitionType = 'transition';
  2311 + }
  2312 + _.transformsEnabled = _.options.useTransform && (_.animType !== null && _.animType !== false);
  2313 + };
  2314 +
  2315 +
  2316 + Slick.prototype.setSlideClasses = function(index) {
  2317 +
  2318 + var _ = this,
  2319 + centerOffset, allSlides, indexOffset, remainder;
  2320 +
  2321 + allSlides = _.$slider
  2322 + .find('.slick-slide')
  2323 + .removeClass('slick-active slick-center slick-current')
  2324 + .attr('aria-hidden', 'true');
  2325 +
  2326 + _.$slides
  2327 + .eq(index)
  2328 + .addClass('slick-current');
  2329 +
  2330 + if (_.options.centerMode === true) {
  2331 +
  2332 + var evenCoef = _.options.slidesToShow % 2 === 0 ? 1 : 0;
  2333 +
  2334 + centerOffset = Math.floor(_.options.slidesToShow / 2);
  2335 +
  2336 + if (_.options.infinite === true) {
  2337 +
  2338 + if (index >= centerOffset && index <= (_.slideCount - 1) - centerOffset) {
  2339 + _.$slides
  2340 + .slice(index - centerOffset + evenCoef, index + centerOffset + 1)
  2341 + .addClass('slick-active')
  2342 + .attr('aria-hidden', 'false');
  2343 +
  2344 + } else {
  2345 +
  2346 + indexOffset = _.options.slidesToShow + index;
  2347 + allSlides
  2348 + .slice(indexOffset - centerOffset + 1 + evenCoef, indexOffset + centerOffset + 2)
  2349 + .addClass('slick-active')
  2350 + .attr('aria-hidden', 'false');
  2351 +
  2352 + }
  2353 +
  2354 + if (index === 0) {
  2355 +
  2356 + allSlides
  2357 + .eq(allSlides.length - 1 - _.options.slidesToShow)
  2358 + .addClass('slick-center');
  2359 +
  2360 + } else if (index === _.slideCount - 1) {
  2361 +
  2362 + allSlides
  2363 + .eq(_.options.slidesToShow)
  2364 + .addClass('slick-center');
  2365 +
  2366 + }
  2367 +
  2368 + }
  2369 +
  2370 + _.$slides
  2371 + .eq(index)
  2372 + .addClass('slick-center');
  2373 +
  2374 + } else {
  2375 +
  2376 + if (index >= 0 && index <= (_.slideCount - _.options.slidesToShow)) {
  2377 +
  2378 + _.$slides
  2379 + .slice(index, index + _.options.slidesToShow)
  2380 + .addClass('slick-active')
  2381 + .attr('aria-hidden', 'false');
  2382 +
  2383 + } else if (allSlides.length <= _.options.slidesToShow) {
  2384 +
  2385 + allSlides
  2386 + .addClass('slick-active')
  2387 + .attr('aria-hidden', 'false');
  2388 +
  2389 + } else {
  2390 +
  2391 + remainder = _.slideCount % _.options.slidesToShow;
  2392 + indexOffset = _.options.infinite === true ? _.options.slidesToShow + index : index;
  2393 +
  2394 + if (_.options.slidesToShow == _.options.slidesToScroll && (_.slideCount - index) < _.options.slidesToShow) {
  2395 +
  2396 + allSlides
  2397 + .slice(indexOffset - (_.options.slidesToShow - remainder), indexOffset + remainder)
  2398 + .addClass('slick-active')
  2399 + .attr('aria-hidden', 'false');
  2400 +
  2401 + } else {
  2402 +
  2403 + allSlides
  2404 + .slice(indexOffset, indexOffset + _.options.slidesToShow)
  2405 + .addClass('slick-active')
  2406 + .attr('aria-hidden', 'false');
  2407 +
  2408 + }
  2409 +
  2410 + }
  2411 +
  2412 + }
  2413 +
  2414 + if (_.options.lazyLoad === 'ondemand' || _.options.lazyLoad === 'anticipated') {
  2415 + _.lazyLoad();
  2416 + }
  2417 + };
  2418 +
  2419 + Slick.prototype.setupInfinite = function() {
  2420 +
  2421 + var _ = this,
  2422 + i, slideIndex, infiniteCount;
  2423 +
  2424 + if (_.options.fade === true) {
  2425 + _.options.centerMode = false;
  2426 + }
  2427 +
  2428 + if (_.options.infinite === true && _.options.fade === false) {
  2429 +
  2430 + slideIndex = null;
  2431 +
  2432 + if (_.slideCount > _.options.slidesToShow) {
  2433 +
  2434 + if (_.options.centerMode === true) {
  2435 + infiniteCount = _.options.slidesToShow + 1;
  2436 + } else {
  2437 + infiniteCount = _.options.slidesToShow;
  2438 + }
  2439 +
  2440 + for (i = _.slideCount; i > (_.slideCount -
  2441 + infiniteCount); i -= 1) {
  2442 + slideIndex = i - 1;
  2443 + $(_.$slides[slideIndex]).clone(true).attr('id', '')
  2444 + .attr('data-slick-index', slideIndex - _.slideCount)
  2445 + .prependTo(_.$slideTrack).addClass('slick-cloned');
  2446 + }
  2447 + for (i = 0; i < infiniteCount + _.slideCount; i += 1) {
  2448 + slideIndex = i;
  2449 + $(_.$slides[slideIndex]).clone(true).attr('id', '')
  2450 + .attr('data-slick-index', slideIndex + _.slideCount)
  2451 + .appendTo(_.$slideTrack).addClass('slick-cloned');
  2452 + }
  2453 + _.$slideTrack.find('.slick-cloned').find('[id]').each(function() {
  2454 + $(this).attr('id', '');
  2455 + });
  2456 +
  2457 + }
  2458 +
  2459 + }
  2460 +
  2461 + };
  2462 +
  2463 + Slick.prototype.interrupt = function( toggle ) {
  2464 +
  2465 + var _ = this;
  2466 +
  2467 + if( !toggle ) {
  2468 + _.autoPlay();
  2469 + }
  2470 + _.interrupted = toggle;
  2471 +
  2472 + };
  2473 +
  2474 + Slick.prototype.selectHandler = function(event) {
  2475 +
  2476 + var _ = this;
  2477 +
  2478 + var targetElement =
  2479 + $(event.target).is('.slick-slide') ?
  2480 + $(event.target) :
  2481 + $(event.target).parents('.slick-slide');
  2482 +
  2483 + var index = parseInt(targetElement.attr('data-slick-index'));
  2484 +
  2485 + if (!index) index = 0;
  2486 +
  2487 + if (_.slideCount <= _.options.slidesToShow) {
  2488 +
  2489 + _.slideHandler(index, false, true);
  2490 + return;
  2491 +
  2492 + }
  2493 +
  2494 + _.slideHandler(index);
  2495 +
  2496 + };
  2497 +
  2498 + Slick.prototype.slideHandler = function(index, sync, dontAnimate) {
  2499 +
  2500 + var targetSlide, animSlide, oldSlide, slideLeft, targetLeft = null,
  2501 + _ = this, navTarget;
  2502 +
  2503 + sync = sync || false;
  2504 +
  2505 + if (_.animating === true && _.options.waitForAnimate === true) {
  2506 + return;
  2507 + }
  2508 +
  2509 + if (_.options.fade === true && _.currentSlide === index) {
  2510 + return;
  2511 + }
  2512 +
  2513 + if (sync === false) {
  2514 + _.asNavFor(index);
  2515 + }
  2516 +
  2517 + targetSlide = index;
  2518 + targetLeft = _.getLeft(targetSlide);
  2519 + slideLeft = _.getLeft(_.currentSlide);
  2520 +
  2521 + _.currentLeft = _.swipeLeft === null ? slideLeft : _.swipeLeft;
  2522 +
  2523 + if (_.options.infinite === false && _.options.centerMode === false && (index < 0 || index > _.getDotCount() * _.options.slidesToScroll)) {
  2524 + if (_.options.fade === false) {
  2525 + targetSlide = _.currentSlide;
  2526 + if (dontAnimate !== true && _.slideCount > _.options.slidesToShow) {
  2527 + _.animateSlide(slideLeft, function() {
  2528 + _.postSlide(targetSlide);
  2529 + });
  2530 + } else {
  2531 + _.postSlide(targetSlide);
  2532 + }
  2533 + }
  2534 + return;
  2535 + } else if (_.options.infinite === false && _.options.centerMode === true && (index < 0 || index > (_.slideCount - _.options.slidesToScroll))) {
  2536 + if (_.options.fade === false) {
  2537 + targetSlide = _.currentSlide;
  2538 + if (dontAnimate !== true && _.slideCount > _.options.slidesToShow) {
  2539 + _.animateSlide(slideLeft, function() {
  2540 + _.postSlide(targetSlide);
  2541 + });
  2542 + } else {
  2543 + _.postSlide(targetSlide);
  2544 + }
  2545 + }
  2546 + return;
  2547 + }
  2548 +
  2549 + if ( _.options.autoplay ) {
  2550 + clearInterval(_.autoPlayTimer);
  2551 + }
  2552 +
  2553 + if (targetSlide < 0) {
  2554 + if (_.slideCount % _.options.slidesToScroll !== 0) {
  2555 + animSlide = _.slideCount - (_.slideCount % _.options.slidesToScroll);
  2556 + } else {
  2557 + animSlide = _.slideCount + targetSlide;
  2558 + }
  2559 + } else if (targetSlide >= _.slideCount) {
  2560 + if (_.slideCount % _.options.slidesToScroll !== 0) {
  2561 + animSlide = 0;
  2562 + } else {
  2563 + animSlide = targetSlide - _.slideCount;
  2564 + }
  2565 + } else {
  2566 + animSlide = targetSlide;
  2567 + }
  2568 +
  2569 + _.animating = true;
  2570 +
  2571 + _.$slider.trigger('beforeChange', [_, _.currentSlide, animSlide]);
  2572 +
  2573 + oldSlide = _.currentSlide;
  2574 + _.currentSlide = animSlide;
  2575 +
  2576 + _.setSlideClasses(_.currentSlide);
  2577 +
  2578 + if ( _.options.asNavFor ) {
  2579 +
  2580 + navTarget = _.getNavTarget();
  2581 + navTarget = navTarget.slick('getSlick');
  2582 +
  2583 + if ( navTarget.slideCount <= navTarget.options.slidesToShow ) {
  2584 + navTarget.setSlideClasses(_.currentSlide);
  2585 + }
  2586 +
  2587 + }
  2588 +
  2589 + _.updateDots();
  2590 + _.updateArrows();
  2591 +
  2592 + if (_.options.fade === true) {
  2593 + if (dontAnimate !== true) {
  2594 +
  2595 + _.fadeSlideOut(oldSlide);
  2596 +
  2597 + _.fadeSlide(animSlide, function() {
  2598 + _.postSlide(animSlide);
  2599 + });
  2600 +
  2601 + } else {
  2602 + _.postSlide(animSlide);
  2603 + }
  2604 + _.animateHeight();
  2605 + return;
  2606 + }
  2607 +
  2608 + if (dontAnimate !== true && _.slideCount > _.options.slidesToShow) {
  2609 + _.animateSlide(targetLeft, function() {
  2610 + _.postSlide(animSlide);
  2611 + });
  2612 + } else {
  2613 + _.postSlide(animSlide);
  2614 + }
  2615 +
  2616 + };
  2617 +
  2618 + Slick.prototype.startLoad = function() {
  2619 +
  2620 + var _ = this;
  2621 +
  2622 + if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {
  2623 +
  2624 + _.$prevArrow.hide();
  2625 + _.$nextArrow.hide();
  2626 +
  2627 + }
  2628 +
  2629 + if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {
  2630 +
  2631 + _.$dots.hide();
  2632 +
  2633 + }
  2634 +
  2635 + _.$slider.addClass('slick-loading');
  2636 +
  2637 + };
  2638 +
  2639 + Slick.prototype.swipeDirection = function() {
  2640 +
  2641 + var xDist, yDist, r, swipeAngle, _ = this;
  2642 +
  2643 + xDist = _.touchObject.startX - _.touchObject.curX;
  2644 + yDist = _.touchObject.startY - _.touchObject.curY;
  2645 + r = Math.atan2(yDist, xDist);
  2646 +
  2647 + swipeAngle = Math.round(r * 180 / Math.PI);
  2648 + if (swipeAngle < 0) {
  2649 + swipeAngle = 360 - Math.abs(swipeAngle);
  2650 + }
  2651 +
  2652 + if ((swipeAngle <= 45) && (swipeAngle >= 0)) {
  2653 + return (_.options.rtl === false ? 'left' : 'right');
  2654 + }
  2655 + if ((swipeAngle <= 360) && (swipeAngle >= 315)) {
  2656 + return (_.options.rtl === false ? 'left' : 'right');
  2657 + }
  2658 + if ((swipeAngle >= 135) && (swipeAngle <= 225)) {
  2659 + return (_.options.rtl === false ? 'right' : 'left');
  2660 + }
  2661 + if (_.options.verticalSwiping === true) {
  2662 + if ((swipeAngle >= 35) && (swipeAngle <= 135)) {
  2663 + return 'down';
  2664 + } else {
  2665 + return 'up';
  2666 + }
  2667 + }
  2668 +
  2669 + return 'vertical';
  2670 +
  2671 + };
  2672 +
  2673 + Slick.prototype.swipeEnd = function(event) {
  2674 +
  2675 + var _ = this,
  2676 + slideCount,
  2677 + direction;
  2678 +
  2679 + _.dragging = false;
  2680 + _.swiping = false;
  2681 +
  2682 + if (_.scrolling) {
  2683 + _.scrolling = false;
  2684 + return false;
  2685 + }
  2686 +
  2687 + _.interrupted = false;
  2688 + _.shouldClick = ( _.touchObject.swipeLength > 10 ) ? false : true;
  2689 +
  2690 + if ( _.touchObject.curX === undefined ) {
  2691 + return false;
  2692 + }
  2693 +
  2694 + if ( _.touchObject.edgeHit === true ) {
  2695 + _.$slider.trigger('edge', [_, _.swipeDirection() ]);
  2696 + }
  2697 +
  2698 + if ( _.touchObject.swipeLength >= _.touchObject.minSwipe ) {
  2699 +
  2700 + direction = _.swipeDirection();
  2701 +
  2702 + switch ( direction ) {
  2703 +
  2704 + case 'left':
  2705 + case 'down':
  2706 +
  2707 + slideCount =
  2708 + _.options.swipeToSlide ?
  2709 + _.checkNavigable( _.currentSlide + _.getSlideCount() ) :
  2710 + _.currentSlide + _.getSlideCount();
  2711 +
  2712 + _.currentDirection = 0;
  2713 +
  2714 + break;
  2715 +
  2716 + case 'right':
  2717 + case 'up':
  2718 +
  2719 + slideCount =
  2720 + _.options.swipeToSlide ?
  2721 + _.checkNavigable( _.currentSlide - _.getSlideCount() ) :
  2722 + _.currentSlide - _.getSlideCount();
  2723 +
  2724 + _.currentDirection = 1;
  2725 +
  2726 + break;
  2727 +
  2728 + default:
  2729 +
  2730 +
  2731 + }
  2732 +
  2733 + if( direction != 'vertical' ) {
  2734 +
  2735 + _.slideHandler( slideCount );
  2736 + _.touchObject = {};
  2737 + _.$slider.trigger('swipe', [_, direction ]);
  2738 +
  2739 + }
  2740 +
  2741 + } else {
  2742 +
  2743 + if ( _.touchObject.startX !== _.touchObject.curX ) {
  2744 +
  2745 + _.slideHandler( _.currentSlide );
  2746 + _.touchObject = {};
  2747 +
  2748 + }
  2749 +
  2750 + }
  2751 +
  2752 + };
  2753 +
  2754 + Slick.prototype.swipeHandler = function(event) {
  2755 +
  2756 + var _ = this;
  2757 +
  2758 + if ((_.options.swipe === false) || ('ontouchend' in document && _.options.swipe === false)) {
  2759 + return;
  2760 + } else if (_.options.draggable === false && event.type.indexOf('mouse') !== -1) {
  2761 + return;
  2762 + }
  2763 +
  2764 + _.touchObject.fingerCount = event.originalEvent && event.originalEvent.touches !== undefined ?
  2765 + event.originalEvent.touches.length : 1;
  2766 +
  2767 + _.touchObject.minSwipe = _.listWidth / _.options
  2768 + .touchThreshold;
  2769 +
  2770 + if (_.options.verticalSwiping === true) {
  2771 + _.touchObject.minSwipe = _.listHeight / _.options
  2772 + .touchThreshold;
  2773 + }
  2774 +
  2775 + switch (event.data.action) {
  2776 +
  2777 + case 'start':
  2778 + _.swipeStart(event);
  2779 + break;
  2780 +
  2781 + case 'move':
  2782 + _.swipeMove(event);
  2783 + break;
  2784 +
  2785 + case 'end':
  2786 + _.swipeEnd(event);
  2787 + break;
  2788 +
  2789 + }
  2790 +
  2791 + };
  2792 +
  2793 + Slick.prototype.swipeMove = function(event) {
  2794 +
  2795 + var _ = this,
  2796 + edgeWasHit = false,
  2797 + curLeft, swipeDirection, swipeLength, positionOffset, touches, verticalSwipeLength;
  2798 +
  2799 + touches = event.originalEvent !== undefined ? event.originalEvent.touches : null;
  2800 +
  2801 + if (!_.dragging || _.scrolling || touches && touches.length !== 1) {
  2802 + return false;
  2803 + }
  2804 +
  2805 + curLeft = _.getLeft(_.currentSlide);
  2806 +
  2807 + _.touchObject.curX = touches !== undefined ? touches[0].pageX : event.clientX;
  2808 + _.touchObject.curY = touches !== undefined ? touches[0].pageY : event.clientY;
  2809 +
  2810 + _.touchObject.swipeLength = Math.round(Math.sqrt(
  2811 + Math.pow(_.touchObject.curX - _.touchObject.startX, 2)));
  2812 +
  2813 + verticalSwipeLength = Math.round(Math.sqrt(
  2814 + Math.pow(_.touchObject.curY - _.touchObject.startY, 2)));
  2815 +
  2816 + if (!_.options.verticalSwiping && !_.swiping && verticalSwipeLength > 4) {
  2817 + _.scrolling = true;
  2818 + return false;
  2819 + }
  2820 +
  2821 + if (_.options.verticalSwiping === true) {
  2822 + _.touchObject.swipeLength = verticalSwipeLength;
  2823 + }
  2824 +
  2825 + swipeDirection = _.swipeDirection();
  2826 +
  2827 + if (event.originalEvent !== undefined && _.touchObject.swipeLength > 4) {
  2828 + _.swiping = true;
  2829 + event.preventDefault();
  2830 + }
  2831 +
  2832 + positionOffset = (_.options.rtl === false ? 1 : -1) * (_.touchObject.curX > _.touchObject.startX ? 1 : -1);
  2833 + if (_.options.verticalSwiping === true) {
  2834 + positionOffset = _.touchObject.curY > _.touchObject.startY ? 1 : -1;
  2835 + }
  2836 +
  2837 +
  2838 + swipeLength = _.touchObject.swipeLength;
  2839 +
  2840 + _.touchObject.edgeHit = false;
  2841 +
  2842 + if (_.options.infinite === false) {
  2843 + if ((_.currentSlide === 0 && swipeDirection === 'right') || (_.currentSlide >= _.getDotCount() && swipeDirection === 'left')) {
  2844 + swipeLength = _.touchObject.swipeLength * _.options.edgeFriction;
  2845 + _.touchObject.edgeHit = true;
  2846 + }
  2847 + }
  2848 +
  2849 + if (_.options.vertical === false) {
  2850 + _.swipeLeft = curLeft + swipeLength * positionOffset;
  2851 + } else {
  2852 + _.swipeLeft = curLeft + (swipeLength * (_.$list.height() / _.listWidth)) * positionOffset;
  2853 + }
  2854 + if (_.options.verticalSwiping === true) {
  2855 + _.swipeLeft = curLeft + swipeLength * positionOffset;
  2856 + }
  2857 +
  2858 + if (_.options.fade === true || _.options.touchMove === false) {
  2859 + return false;
  2860 + }
  2861 +
  2862 + if (_.animating === true) {
  2863 + _.swipeLeft = null;
  2864 + return false;
  2865 + }
  2866 +
  2867 + _.setCSS(_.swipeLeft);
  2868 +
  2869 + };
  2870 +
  2871 + Slick.prototype.swipeStart = function(event) {
  2872 +
  2873 + var _ = this,
  2874 + touches;
  2875 +
  2876 + _.interrupted = true;
  2877 +
  2878 + if (_.touchObject.fingerCount !== 1 || _.slideCount <= _.options.slidesToShow) {
  2879 + _.touchObject = {};
  2880 + return false;
  2881 + }
  2882 +
  2883 + if (event.originalEvent !== undefined && event.originalEvent.touches !== undefined) {
  2884 + touches = event.originalEvent.touches[0];
  2885 + }
  2886 +
  2887 + _.touchObject.startX = _.touchObject.curX = touches !== undefined ? touches.pageX : event.clientX;
  2888 + _.touchObject.startY = _.touchObject.curY = touches !== undefined ? touches.pageY : event.clientY;
  2889 +
  2890 + _.dragging = true;
  2891 +
  2892 + };
  2893 +
  2894 + Slick.prototype.unfilterSlides = Slick.prototype.slickUnfilter = function() {
  2895 +
  2896 + var _ = this;
  2897 +
  2898 + if (_.$slidesCache !== null) {
  2899 +
  2900 + _.unload();
  2901 +
  2902 + _.$slideTrack.children(this.options.slide).detach();
  2903 +
  2904 + _.$slidesCache.appendTo(_.$slideTrack);
  2905 +
  2906 + _.reinit();
  2907 +
  2908 + }
  2909 +
  2910 + };
  2911 +
  2912 + Slick.prototype.unload = function() {
  2913 +
  2914 + var _ = this;
  2915 +
  2916 + $('.slick-cloned', _.$slider).remove();
  2917 +
  2918 + if (_.$dots) {
  2919 + _.$dots.remove();
  2920 + }
  2921 +
  2922 + if (_.$prevArrow && _.htmlExpr.test(_.options.prevArrow)) {
  2923 + _.$prevArrow.remove();
  2924 + }
  2925 +
  2926 + if (_.$nextArrow && _.htmlExpr.test(_.options.nextArrow)) {
  2927 + _.$nextArrow.remove();
  2928 + }
  2929 +
  2930 + _.$slides
  2931 + .removeClass('slick-slide slick-active slick-visible slick-current')
  2932 + .attr('aria-hidden', 'true')
  2933 + .css('width', '');
  2934 +
  2935 + };
  2936 +
  2937 + Slick.prototype.unslick = function(fromBreakpoint) {
  2938 +
  2939 + var _ = this;
  2940 + _.$slider.trigger('unslick', [_, fromBreakpoint]);
  2941 + _.destroy();
  2942 +
  2943 + };
  2944 +
  2945 + Slick.prototype.updateArrows = function() {
  2946 +
  2947 + var _ = this,
  2948 + centerOffset;
  2949 +
  2950 + centerOffset = Math.floor(_.options.slidesToShow / 2);
  2951 +
  2952 + if ( _.options.arrows === true &&
  2953 + _.slideCount > _.options.slidesToShow &&
  2954 + !_.options.infinite ) {
  2955 +
  2956 + _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
  2957 + _.$nextArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
  2958 +
  2959 + if (_.currentSlide === 0) {
  2960 +
  2961 + _.$prevArrow.addClass('slick-disabled').attr('aria-disabled', 'true');
  2962 + _.$nextArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
  2963 +
  2964 + } else if (_.currentSlide >= _.slideCount - _.options.slidesToShow && _.options.centerMode === false) {
  2965 +
  2966 + _.$nextArrow.addClass('slick-disabled').attr('aria-disabled', 'true');
  2967 + _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
  2968 +
  2969 + } else if (_.currentSlide >= _.slideCount - 1 && _.options.centerMode === true) {
  2970 +
  2971 + _.$nextArrow.addClass('slick-disabled').attr('aria-disabled', 'true');
  2972 + _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');
  2973 +
  2974 + }
  2975 +
  2976 + }
  2977 +
  2978 + };
  2979 +
  2980 + Slick.prototype.updateDots = function() {
  2981 +
  2982 + var _ = this;
  2983 +
  2984 + if (_.$dots !== null) {
  2985 +
  2986 + _.$dots
  2987 + .find('li')
  2988 + .removeClass('slick-active')
  2989 + .end();
  2990 +
  2991 + _.$dots
  2992 + .find('li')
  2993 + .eq(Math.floor(_.currentSlide / _.options.slidesToScroll))
  2994 + .addClass('slick-active');
  2995 +
  2996 + }
  2997 +
  2998 + };
  2999 +
  3000 + Slick.prototype.visibility = function() {
  3001 +
  3002 + var _ = this;
  3003 +
  3004 + if ( _.options.autoplay ) {
  3005 +
  3006 + if ( document[_.hidden] ) {
  3007 +
  3008 + _.interrupted = true;
  3009 +
  3010 + } else {
  3011 +
  3012 + _.interrupted = false;
  3013 +
  3014 + }
  3015 +
  3016 + }
  3017 +
  3018 + };
  3019 +
  3020 + $.fn.slick = function() {
  3021 + var _ = this,
  3022 + opt = arguments[0],
  3023 + args = Array.prototype.slice.call(arguments, 1),
  3024 + l = _.length,
  3025 + i,
  3026 + ret;
  3027 + for (i = 0; i < l; i++) {
  3028 + if (typeof opt == 'object' || typeof opt == 'undefined')
  3029 + _[i].slick = new Slick(_[i], opt);
  3030 + else
  3031 + ret = _[i].slick[opt].apply(_[i].slick, args);
  3032 + if (typeof ret != 'undefined') return ret;
  3033 + }
  3034 + return _;
  3035 + };
  3036 +
  3037 +}));
... ...
  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 + margin-left: auto;
  48 + margin-right: auto;
  49 +
  50 + &:before,
  51 + &:after {
  52 + content: "";
  53 + display: table;
  54 + }
  55 +
  56 + &:after {
  57 + clear: both;
  58 + }
  59 +
  60 + .slick-loading & {
  61 + visibility: hidden;
  62 + }
  63 +}
  64 +.slick-slide {
  65 + float: left;
  66 + height: 100%;
  67 + min-height: 1px;
  68 + [dir="rtl"] & {
  69 + float: right;
  70 + }
  71 + img {
  72 + display: block;
  73 + }
  74 + &.slick-loading img {
  75 + display: none;
  76 + }
  77 +
  78 + display: none;
  79 +
  80 + &.dragging img {
  81 + pointer-events: none;
  82 + }
  83 +
  84 + .slick-initialized & {
  85 + display: block;
  86 + }
  87 +
  88 + .slick-loading & {
  89 + visibility: hidden;
  90 + }
  91 +
  92 + .slick-vertical & {
  93 + display: block;
  94 + height: auto;
  95 + border: 1px solid transparent;
  96 + }
  97 +}
  98 +.slick-arrow.slick-hidden {
  99 + display: none;
  100 +}
... ...
  1 +/*
  2 + _ _ _ _
  3 + ___| (_) ___| | __ (_)___
  4 +/ __| | |/ __| |/ / | / __|
  5 +\__ \ | | (__| < _ | \__ \
  6 +|___/_|_|\___|_|\_(_)/ |___/
  7 + |__/
  8 +
  9 + Version: 1.9.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(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)})(function(i){"use strict";var e=window.Slick||{};e=function(){function e(e,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(e),appendDots:i(e),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('<button type="button" />').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!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},n.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,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},i.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=i(e),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=i(e).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,"undefined"!=typeof document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=i.proxy(n.autoPlay,n),n.autoPlayClear=i.proxy(n.autoPlayClear,n),n.autoPlayIterator=i.proxy(n.autoPlayIterator,n),n.changeSlide=i.proxy(n.changeSlide,n),n.clickHandler=i.proxy(n.clickHandler,n),n.selectHandler=i.proxy(n.selectHandler,n),n.setPosition=i.proxy(n.setPosition,n),n.swipeHandler=i.proxy(n.swipeHandler,n),n.dragHandler=i.proxy(n.dragHandler,n),n.keyHandler=i.proxy(n.keyHandler,n),n.instanceUid=t++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}var t=0;return e}(),e.prototype.activateADA=function(){var i=this;i.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(t<0||t>=s.slideCount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendTo(s.$slideTrack):o?i(e).insertBefore(s.$slides.eq(t)):i(e).insertAfter(s.$slides.eq(t)):o===!0?i(e).prependTo(s.$slideTrack):i(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i=this;if(1===i.options.slidesToShow&&i.options.adaptiveHeight===!0&&i.options.vertical===!1){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateSlide=function(e,t){var o={},s=this;s.animateHeight(),s.options.rtl===!0&&s.options.vertical===!1&&(e=-e),s.transformsEnabled===!1?s.options.vertical===!1?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,t):s.cssTransitions===!1?(s.options.rtl===!0&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=Math.ceil(i),s.options.vertical===!1?(o[s.animType]="translate("+i+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e=Math.ceil(e),s.options.vertical===!1?o[s.animType]="translate3d("+e+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout(function(){s.disableTransition(),t.call()},s.options.speed))},e.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;return t&&null!==t&&(t=i(t).not(e.$slider)),t},e.prototype.asNavFor=function(e){var t=this,o=t.getNavTarget();null!==o&&"object"==typeof o&&o.each(function(){var t=i(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},e.prototype.applyTransition=function(i){var e=this,t={};e.options.fade===!1?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,e.options.fade===!1?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(i.options.infinite===!1&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1===0&&(i.direction=1))),i.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;e.options.arrows===!0&&(e.$prevArrow=i(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=i(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),e.options.infinite!==!0&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,t,o=this;if(o.options.dots===!0&&o.slideCount>o.options.slidesToShow){for(o.$slider.addClass("slick-dotted"),t=i("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)t.append(i("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=t.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){i(t).attr("data-slick-index",e).data("originalStyling",i(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?i('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),e.options.centerMode!==!0&&e.options.swipeToSlide!==!0||(e.options.slidesToScroll=1),i("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.options.draggable===!0&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var i,e,t,o,s,n,r,l=this;if(o=document.createDocumentFragment(),n=l.$slider.children(),l.options.rows>0){for(r=l.options.slidesPerRow*l.options.rows,s=Math.ceil(n.length/r),i=0;i<s;i++){var d=document.createElement("div");for(e=0;e<l.options.rows;e++){var a=document.createElement("div");for(t=0;t<l.options.slidesPerRow;t++){var c=i*r+(e*l.options.slidesPerRow+t);n.get(c)&&a.appendChild(n.get(c))}d.appendChild(a)}o.appendChild(d)}l.$slider.empty().append(o),l.$slider.children().children().children().css({width:100/l.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,t){var o,s,n,r=this,l=!1,d=r.$slider.width(),a=window.innerWidth||i(window).width();if("window"===r.respondTo?n=a:"slider"===r.respondTo?n=d:"min"===r.respondTo&&(n=Math.min(a,d)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){s=null;for(o in r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(r.originalSettings.mobileFirst===!1?n<r.breakpoints[o]&&(s=r.breakpoints[o]):n>r.breakpoints[o]&&(s=r.breakpoints[o]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||t)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e),l=s),e||l===!1||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeSlide=function(e,t){var o,s,n,r=this,l=i(e.currentTarget);switch(l.is("a")&&e.preventDefault(),l.is("li")||(l=l.closest("li")),n=r.slideCount%r.options.slidesToScroll!==0,o=n?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":s=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,t);break;case"next":s=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,t);break;case"index":var d=0===e.data.index?0:e.data.index||l.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(d),!1,t),l.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(i){var e,t,o=this;if(e=o.getNavigableIndexes(),t=0,i>e[e.length-1])i=e[e.length-1];else for(var s in e){if(i<e[s]){i=t;break}t=e[s]}return i},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(i("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",i.proxy(e.interrupt,e,!0)).off("mouseleave.slick",i.proxy(e.interrupt,e,!1)),e.options.accessibility===!0&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),e.options.accessibility===!0&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),i(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),e.options.accessibility===!0&&e.$list.off("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&i(e.$slideTrack).children().off("click.slick",e.selectHandler),i(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),i(window).off("resize.slick.slick-"+e.instanceUid,e.resize),i("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),i(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var i,e=this;e.options.rows>0&&(i=e.$slides.children().children(),i.removeAttr("style"),e.$slider.empty().append(i))},e.prototype.clickHandler=function(i){var e=this;e.shouldClick===!1&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},e.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),i(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){i(this).attr("style",i(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},e.prototype.disableTransition=function(i){var e=this,t={};t[e.transitionType]="",e.options.fade===!1?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeSlide=function(i,e){var t=this;t.cssTransitions===!1?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},e.prototype.fadeSlideOut=function(i){var e=this;e.cssTransitions===!1?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick","*",function(t){var o=i(this);setTimeout(function(){e.options.pauseOnFocus&&o.is(":focus")&&(e.focussed=!0,e.autoPlay())},0)}).on("blur.slick","*",function(t){i(this);e.options.pauseOnFocus&&(e.focussed=!1,e.autoPlay())})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){var i=this;return i.currentSlide},e.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(i.options.infinite===!0)if(i.slideCount<=i.options.slidesToShow)++o;else for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else if(i.options.centerMode===!0)o=i.slideCount;else if(i.options.asNavFor)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else o=1+Math.ceil((i.slideCount-i.options.slidesToShow)/i.options.slidesToScroll);return o-1},e.prototype.getLeft=function(i){var e,t,o,s,n=this,r=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),n.options.infinite===!0?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=-1,n.options.vertical===!0&&n.options.centerMode===!0&&(2===n.options.slidesToShow?s=-1.5:1===n.options.slidesToShow&&(s=-2)),r=t*n.options.slidesToShow*s),n.slideCount%n.options.slidesToScroll!==0&&i+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(i>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(i-n.slideCount))*n.slideWidth*-1,r=(n.options.slidesToShow-(i-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,r=n.slideCount%n.options.slidesToScroll*t*-1))):i+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(i+n.options.slidesToShow-n.slideCount)*n.slideWidth,r=(i+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,r=0),n.options.centerMode===!0&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:n.options.centerMode===!0&&n.options.infinite===!0?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:n.options.centerMode===!0&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=n.options.vertical===!1?i*n.slideWidth*-1+n.slideOffset:i*t*-1+r,n.options.variableWidth===!0&&(o=n.slideCount<=n.options.slidesToShow||n.options.infinite===!1?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow),e=n.options.rtl===!0?o[0]?(n.$slideTrack.width()-o[0].offsetLeft-o.width())*-1:0:o[0]?o[0].offsetLeft*-1:0,n.options.centerMode===!0&&(o=n.slideCount<=n.options.slidesToShow||n.options.infinite===!1?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow+1),e=n.options.rtl===!0?o[0]?(n.$slideTrack.width()-o[0].offsetLeft-o.width())*-1:0:o[0]?o[0].offsetLeft*-1:0,e+=(n.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(i){var e=this;return e.options[i]},e.prototype.getNavigableIndexes=function(){var i,e=this,t=0,o=0,s=[];for(e.options.infinite===!1?i=e.slideCount:(t=e.options.slidesToScroll*-1,o=e.options.slidesToScroll*-1,i=2*e.slideCount);t<i;)s.push(t),t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,t,o,s,n=this;return s=n.options.centerMode===!0?Math.floor(n.$list.width()/2):0,o=n.swipeLeft*-1+s,n.options.swipeToSlide===!0?(n.$slideTrack.find(".slick-slide").each(function(e,s){var r,l,d;if(r=i(s).outerWidth(),l=s.offsetLeft,n.options.centerMode!==!0&&(l+=r/2),d=l+r,o<d)return t=s,!1}),e=Math.abs(i(t).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i,e){var t=this;t.changeSlide({data:{message:"index",index:parseInt(i)}},e)},e.prototype.init=function(e){var t=this;i(t.$slider).hasClass("slick-initialized")||(i(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),t.options.accessibility===!0&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this,t=Math.ceil(e.slideCount/e.options.slidesToShow),o=e.getNavigableIndexes().filter(function(i){return i>=0&&i<e.slideCount});e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){var s=o.indexOf(t);if(i(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+t,tabindex:-1}),s!==-1){var n="slick-slide-control"+e.instanceUid+s;i("#"+n).length&&i(this).attr({"aria-describedby":n})}}),e.$dots.attr("role","tablist").find("li").each(function(s){var n=o[s];i(this).attr({role:"presentation"}),i(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+s,"aria-controls":"slick-slide"+e.instanceUid+n,"aria-label":s+1+" of "+t,"aria-selected":null,tabindex:"-1"})}).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var s=e.currentSlide,n=s+e.options.slidesToShow;s<n;s++)e.options.focusOnChange?e.$slides.eq(s).attr({tabindex:"0"}):e.$slides.eq(s).removeAttr("tabindex");e.activateADA()},e.prototype.initArrowEvents=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide),i.options.accessibility===!0&&(i.$prevArrow.on("keydown.slick",i.keyHandler),i.$nextArrow.on("keydown.slick",i.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&(i("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),e.options.accessibility===!0&&e.$dots.on("keydown.slick",e.keyHandler)),e.options.dots===!0&&e.options.pauseOnDotsHover===!0&&e.slideCount>e.options.slidesToShow&&i("li",e.$dots).on("mouseenter.slick",i.proxy(e.interrupt,e,!0)).on("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",i.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),i(document).on(e.visibilityChange,i.proxy(e.visibility,e)),e.options.accessibility===!0&&e.$list.on("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),i(window).on("orientationchange.slick.slick-"+e.instanceUid,i.proxy(e.orientationChange,e)),i(window).on("resize.slick.slick-"+e.instanceUid,i.proxy(e.resize,e)),i("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),i(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),i(e.setPosition)},e.prototype.initUI=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),i.options.dots===!0&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},e.prototype.keyHandler=function(i){var e=this;i.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===i.keyCode&&e.options.accessibility===!0?e.changeSlide({data:{message:e.options.rtl===!0?"next":"previous"}}):39===i.keyCode&&e.options.accessibility===!0&&e.changeSlide({data:{message:e.options.rtl===!0?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){i("img[data-lazy]",e).each(function(){var e=i(this),t=i(this).attr("data-lazy"),o=i(this).attr("data-srcset"),s=i(this).attr("data-sizes")||r.$slider.attr("data-sizes"),n=document.createElement("img");n.onload=function(){e.animate({opacity:0},100,function(){o&&(e.attr("srcset",o),s&&e.attr("sizes",s)),e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,e,t])})},n.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,e,t])},n.src=t})}var t,o,s,n,r=this;if(r.options.centerMode===!0?r.options.infinite===!0?(s=r.currentSlide+(r.options.slidesToShow/2+1),n=s+r.options.slidesToShow+2):(s=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),n=2+(r.options.slidesToShow/2+1)+r.currentSlide):(s=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,n=Math.ceil(s+r.options.slidesToShow),r.options.fade===!0&&(s>0&&s--,n<=r.slideCount&&n++)),t=r.$slider.find(".slick-slide").slice(s,n),"anticipated"===r.options.lazyLoad)for(var l=s-1,d=n,a=r.$slider.find(".slick-slide"),c=0;c<r.options.slidesToScroll;c++)l<0&&(l=r.slideCount-1),t=t.add(a.eq(l)),t=t.add(a.eq(d)),l--,d++;e(t),r.slideCount<=r.options.slidesToShow?(o=r.$slider.find(".slick-slide"),e(o)):r.currentSlide>=r.slideCount-r.options.slidesToShow?(o=r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow),e(o)):0===r.currentSlide&&(o=r.$slider.find(".slick-cloned").slice(r.options.slidesToShow*-1),e(o))},e.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){var i=this;i.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var i=this;i.checkResponsive(),i.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var i=this;i.autoPlayClear(),i.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},e.prototype.postSlide=function(e){var t=this;if(!t.unslicked&&(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),t.options.accessibility===!0&&(t.initADA(),t.options.focusOnChange))){var o=i(t.$slides.get(t.currentSlide));o.attr("tabindex",0).focus()}},e.prototype.prev=e.prototype.slickPrev=function(){var i=this;i.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(i){i.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var t,o,s,n,r,l=this,d=i("img[data-lazy]",l.$slider);d.length?(t=d.first(),o=t.attr("data-lazy"),s=t.attr("data-srcset"),n=t.attr("data-sizes")||l.$slider.attr("data-sizes"),r=document.createElement("img"),r.onload=function(){s&&(t.attr("srcset",s),n&&t.attr("sizes",n)),t.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),l.options.adaptiveHeight===!0&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,t,o]),l.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout(function(){l.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,t,o]),l.progressiveLazyLoad())},r.src=o):l.$slider.trigger("allImagesLoaded",[l])},e.prototype.refresh=function(e){var t,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),t=s.currentSlide,s.destroy(!0),i.extend(s,s.initials,{currentSlide:t}),s.init(),e||s.changeSlide({data:{message:"index",index:t}},!1)},e.prototype.registerBreakpoints=function(){var e,t,o,s=this,n=s.options.responsive||null;if("array"===i.type(n)&&n.length){s.respondTo=s.options.respondTo||"window";for(e in n)if(o=s.breakpoints.length-1,n.hasOwnProperty(e)){for(t=n[e].breakpoint;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointSettings[t]=n[e].settings}s.breakpoints.sort(function(i,e){return s.options.mobileFirst?i-e:e-i})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),e.options.focusOnSelect===!0&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;i(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=i(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(i,e,t){var o=this;return"boolean"==typeof i?(e=i,i=e===!0?0:o.slideCount-1):i=e===!0?--i:i,!(o.slideCount<1||i<0||i>o.slideCount-1)&&(o.unload(),t===!0?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,void o.reinit())},e.prototype.setCSS=function(i){var e,t,o=this,s={};o.options.rtl===!0&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,o.transformsEnabled===!1?o.$slideTrack.css(s):(s={},o.cssTransitions===!1?(s[o.animType]="translate("+e+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i=this;i.options.vertical===!1?i.options.centerMode===!0&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),i.options.centerMode===!0&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),i.options.vertical===!1&&i.options.variableWidth===!1?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):i.options.variableWidth===!0?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();i.options.variableWidth===!1&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},e.prototype.setFade=function(){var e,t=this;t.$slides.each(function(o,s){e=t.slideWidth*o*-1,t.options.rtl===!0?i(s).css({position:"relative",right:e,top:0,zIndex:t.options.zIndex-2,opacity:0}):i(s).css({position:"relative",left:e,top:0,zIndex:t.options.zIndex-2,opacity:0})}),t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var i=this;if(1===i.options.slidesToShow&&i.options.adaptiveHeight===!0&&i.options.vertical===!1){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,t,o,s,n,r=this,l=!1;if("object"===i.type(arguments[0])?(o=arguments[0],l=arguments[1],n="multiple"):"string"===i.type(arguments[0])&&(o=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===i.type(arguments[1])?n="responsive":"undefined"!=typeof arguments[1]&&(n="single")),"single"===n)r.options[o]=s;else if("multiple"===n)i.each(o,function(i,e){r.options[i]=e});else if("responsive"===n)for(t in s)if("array"!==i.type(r.options.responsive))r.options.responsive=[s[t]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[t])}l&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),i.options.fade===!1?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},e.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=i.options.vertical===!0?"top":"left",
  18 +"top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||i.options.useCSS===!0&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&i.animType!==!1&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&i.animType!==!1},e.prototype.setSlideClasses=function(i){var e,t,o,s,n=this;if(t=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i).addClass("slick-current"),n.options.centerMode===!0){var r=n.options.slidesToShow%2===0?1:0;e=Math.floor(n.options.slidesToShow/2),n.options.infinite===!0&&(i>=e&&i<=n.slideCount-1-e?n.$slides.slice(i-e+r,i+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+i,t.slice(o-e+1+r,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===i?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i).addClass("slick-center")}else i>=0&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidesToShow?t.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=n.options.infinite===!0?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?t.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false"):t.slice(o,o+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==n.options.lazyLoad&&"anticipated"!==n.options.lazyLoad||n.lazyLoad()},e.prototype.setupInfinite=function(){var e,t,o,s=this;if(s.options.fade===!0&&(s.options.centerMode=!1),s.options.infinite===!0&&s.options.fade===!1&&(t=null,s.slideCount>s.options.slidesToShow)){for(o=s.options.centerMode===!0?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;e<o+s.slideCount;e+=1)t=e,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){i(this).attr("id","")})}},e.prototype.interrupt=function(i){var e=this;i||e.autoPlay(),e.interrupted=i},e.prototype.selectHandler=function(e){var t=this,o=i(e.target).is(".slick-slide")?i(e.target):i(e.target).parents(".slick-slide"),s=parseInt(o.attr("data-slick-index"));return s||(s=0),t.slideCount<=t.options.slidesToShow?void t.slideHandler(s,!1,!0):void t.slideHandler(s)},e.prototype.slideHandler=function(i,e,t){var o,s,n,r,l,d=null,a=this;if(e=e||!1,!(a.animating===!0&&a.options.waitForAnimate===!0||a.options.fade===!0&&a.currentSlide===i))return e===!1&&a.asNavFor(i),o=i,d=a.getLeft(o),r=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?r:a.swipeLeft,a.options.infinite===!1&&a.options.centerMode===!1&&(i<0||i>a.getDotCount()*a.options.slidesToScroll)?void(a.options.fade===!1&&(o=a.currentSlide,t!==!0&&a.slideCount>a.options.slidesToShow?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o))):a.options.infinite===!1&&a.options.centerMode===!0&&(i<0||i>a.slideCount-a.options.slidesToScroll)?void(a.options.fade===!1&&(o=a.currentSlide,t!==!0&&a.slideCount>a.options.slidesToShow?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o))):(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=o<0?a.slideCount%a.options.slidesToScroll!==0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+o:o>=a.slideCount?a.slideCount%a.options.slidesToScroll!==0?0:o-a.slideCount:o,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),n=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(l=a.getNavTarget(),l=l.slick("getSlick"),l.slideCount<=l.options.slidesToShow&&l.setSlideClasses(a.currentSlide)),a.updateDots(),a.updateArrows(),a.options.fade===!0?(t!==!0?(a.fadeSlideOut(n),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),void a.animateHeight()):void(t!==!0&&a.slideCount>a.options.slidesToShow?a.animateSlide(d,function(){a.postSlide(s)}):a.postSlide(s)))},e.prototype.startLoad=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),i.options.dots===!0&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i,e,t,o,s=this;return i=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e,i),o=Math.round(180*t/Math.PI),o<0&&(o=360-Math.abs(o)),o<=45&&o>=0?s.options.rtl===!1?"left":"right":o<=360&&o>=315?s.options.rtl===!1?"left":"right":o>=135&&o<=225?s.options.rtl===!1?"right":"left":s.options.verticalSwiping===!0?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(o.touchObject.edgeHit===!0&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(i){var e=this;if(!(e.options.swipe===!1||"ontouchend"in document&&e.options.swipe===!1||e.options.draggable===!1&&i.type.indexOf("mouse")!==-1))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,e.options.verticalSwiping===!0&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},e.prototype.swipeMove=function(i){var e,t,o,s,n,r,l=this;return n=void 0!==i.originalEvent?i.originalEvent.touches:null,!(!l.dragging||l.scrolling||n&&1!==n.length)&&(e=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==n?n[0].pageX:i.clientX,l.touchObject.curY=void 0!==n?n[0].pageY:i.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&r>4?(l.scrolling=!0,!1):(l.options.verticalSwiping===!0&&(l.touchObject.swipeLength=r),t=l.swipeDirection(),void 0!==i.originalEvent&&l.touchObject.swipeLength>4&&(l.swiping=!0,i.preventDefault()),s=(l.options.rtl===!1?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),l.options.verticalSwiping===!0&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),o=l.touchObject.swipeLength,l.touchObject.edgeHit=!1,l.options.infinite===!1&&(0===l.currentSlide&&"right"===t||l.currentSlide>=l.getDotCount()&&"left"===t)&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),l.options.vertical===!1?l.swipeLeft=e+o*s:l.swipeLeft=e+o*(l.$list.height()/l.listWidth)*s,l.options.verticalSwiping===!0&&(l.swipeLeft=e+o*s),l.options.fade!==!0&&l.options.touchMove!==!1&&(l.animating===!0?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},e.prototype.swipeStart=function(i){var e,t=this;return t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow?(t.touchObject={},!1):(void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,void(t.dragging=!0))},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(i){var e=this;e.$slider.trigger("unslick",[e,i]),e.destroy()},e.prototype.updateArrows=function(){var i,e=this;i=Math.floor(e.options.slidesToShow/2),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-e.options.slidesToShow&&e.options.centerMode===!1?(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-1&&e.options.centerMode===!0&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active").end(),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var i=this;i.options.autoplay&&(document[i.hidden]?i.interrupted=!0:i.interrupted=!1)},i.fn.slick=function(){var i,t,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),r=o.length;for(i=0;i<r;i++)if("object"==typeof s||"undefined"==typeof s?o[i].slick=new e(o[i],s):t=o[i].slick[s].apply(o[i].slick,n),"undefined"!=typeof t)return t;return o}});
\ No newline at end of file
... ...
  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 + margin-left: auto;
  48 + margin-right: auto;
  49 +
  50 + &:before,
  51 + &:after {
  52 + content: "";
  53 + display: table;
  54 + }
  55 +
  56 + &:after {
  57 + clear: both;
  58 + }
  59 +
  60 + .slick-loading & {
  61 + visibility: hidden;
  62 + }
  63 +}
  64 +.slick-slide {
  65 + float: left;
  66 + height: 100%;
  67 + min-height: 1px;
  68 + [dir="rtl"] & {
  69 + float: right;
  70 + }
  71 + img {
  72 + display: block;
  73 + }
  74 + &.slick-loading img {
  75 + display: none;
  76 + }
  77 +
  78 + display: none;
  79 +
  80 + &.dragging img {
  81 + pointer-events: none;
  82 + }
  83 +
  84 + .slick-initialized & {
  85 + display: block;
  86 + }
  87 +
  88 + .slick-loading & {
  89 + visibility: hidden;
  90 + }
  91 +
  92 + .slick-vertical & {
  93 + display: block;
  94 + height: auto;
  95 + border: 1px solid transparent;
  96 + }
  97 +}
  98 +.slick-arrow.slick-hidden {
  99 + display: none;
  100 +}
... ...
Please register or login to post a comment