/*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */
jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e("<input/>",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);
var stacks = {};
stacks.jQuery = jQuery.noConflict(true);
stacks.stacks_in_87 = {};
stacks.stacks_in_87 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;function svgsOffset(el) {
  var rect = el.getBoundingClientRect(),
      scrollLeft = window.pageXOffset || document.documentElement.scrollLeft,
      scrollTop = window.pageYOffset || document.documentElement.scrollTop;
  return { top: rect.top + scrollTop, left: rect.left + scrollLeft }
}
$(document).ready(function() {
  //Mark current page links
  $("#stacks_in_87 a").each(function(){
    if (this.href == window.location.href.split('#')[0]){
      $(this).parents("li").addClass("cm-current");
    }
  }).promise().done(function() {
    $("#clean-menu-full_stacks_in_87").prependTo("body");
    $("#stacks_in_87 .clean-menu-extra > *").appendTo("#clean-menu_stacks_in_87 .clean-menu-top-level > ul");
    $("#clean-menu_stacks_in_87 li.cm-group-True, #clean-menu-full_stacks_in_87 li.cm-group-True").each(function (index, value){
      $(this).prev().addClass("cm-grouped-item");
      $("> a",this).appendTo($(this).prev());
      $(this).remove();
    });
    $("#stacks_in_87 ul").each(function (index, value){
      $(this).find("li ul").parent().addClass("parent").find("> a").addClass("parent");
    }).promise().done(function() {
      var cmMenu = $("#clean-menu_stacks_in_87 .clean-menu-top-level > ul").clone();
      cmMenu.appendTo("#clean-menu-full_stacks_in_87");
      //
    });
  });

  $("#clean-menu_stacks_in_87 .cm-menu-toggle").on("click", function() {
    var menuTop = $('#stacks_in_87').outerHeight() + svgsOffset(document.getElementById("stacks_in_87")).top,
        menuLeft = svgsOffset(document.getElementById("cm-menu-toggle_stacks_in_87")).left,
        menuWidth = $("#stacks_in_87").innerWidth(),
        scrollTop = $(window).scrollTop();
    //
    menuLeft = svgsOffset(document.getElementById("cm-menu-toggle_stacks_in_87")).left + 20;
    //
    //
    //
    //
    if( $(window).width() > parseInt("770") && !$(".cm-mobile-example").length) {
       menuWidth = "auto";
    } else {
      menuWidth = menuWidth - 40;
       menuLeft = svgsOffset(document.getElementById("stacks_in_87")).left + 20;
    }
    //
    $("#clean-menu-full_stacks_in_87").css({
      "top": menuTop,
      "left": menuLeft,
      "width": menuWidth
    });
    $("#clean-menu-full_stacks_in_87").toggleClass("clean-menu-active");
    $("#clean-menu_stacks_in_87 .cm-toggle").toggleClass("open");
  });
  $("#clean-menu_stacks_in_87 .clean-menu-top-level ul li.parent").on("mouseover touchstart", function(e) {
    if(e.type == "touchstart" ) {
      if(!$(this).hasClass("clean-menu-dropdown")) {e.stopPropagation();}
    }
    $(this).siblings().removeClass("clean-menu-dropdown");
    var menuTop = $('#stacks_in_87').height() + svgsOffset(document.getElementById("stacks_in_87")).top + parseInt($('#stacks_in_87').css("padding-top")),
        menuLeft = svgsOffset(this).left,
        menuWidth = $("#stacks_in_87").innerWidth(),
        scrollTop = $(window).scrollTop(),
        windowWidth = $(window).width(),
        subMenuWidth = $("> ul",this).width();
    //
    //menuLeft = svgsOffset(this).left + 20;
    //
    //
    //
    menuTop = menuTop - scrollTop;
    //
    if($(this).find(" > ul > li.parent").length && "False" == "True") {
      let submenuCol = $(this).find(" > ul > li").length;
      $(this).find(" > ul").addClass("cm-wide").css("grid-template-columns", `repeat(${submenuCol}, 1fr)`);
      menuLeft = svgsOffset(document.getElementById("clean-menu_stacks_in_87")).left;
      menuWidth = $("#clean-menu_stacks_in_87").innerWidth();
    } else {
      if( $(window).width() > parseInt("770") && !$(".cm-mobile-example").length) {
        menuWidth = "auto";
      } else {
        menuLeft = svgsOffset(this).left;
      }
      if(windowWidth < (menuLeft + subMenuWidth)) {
        menuLeft = menuLeft - ((menuLeft + subMenuWidth) - windowWidth);
      }
    }
    $("> ul",this).css({
      "top": menuTop,
      "left": menuLeft,
      "width": menuWidth
    });
    if(e.type == "touchstart" ) {
      if(!$(this).hasClass("clean-menu-dropdown") && !$(this).closest(".clean-menu-dropdown").length) {
        $(this).addClass("clean-menu-dropdown");
        return false;
      }
    } else {
      $(this).addClass("clean-menu-dropdown");
    }
  });
  //Update if scrolled
  $(window).on("scroll", function() {
    if($(".clean-menu-dropdown").length) {
      var menuTop = $('#stacks_in_87').height() + svgsOffset(document.getElementById("stacks_in_87")).top + parseInt($('#stacks_in_87').css("padding-top")),
        scrollTop = $(window).scrollTop();
    menuTop = menuTop - scrollTop;
      $(".clean-menu-dropdown > ul").css({
        "top": menuTop
      });
    }
  });
  $("#clean-menu_stacks_in_87").on("mouseleave", function() {
    $(this).find(".clean-menu-dropdown").removeClass("clean-menu-dropdown");
  });
  // $(window).resize(function(){
  //   $(".cm-full-menu").removeClass("clean-menu-active");
  //   $(".cm-toggle").removeClass("open");
  // });
  //
  var scrollToLinks = $('#clean-menu_stacks_in_87 a[href^="#"],#clean-menu-full_stacks_in_87 a[href^="#"]').not('[href="#"]').not('[href="#0"]'),
      scrollToIds = [];
  scrollToLinks.each(function (index, value){
    scrollToIds.push($(this).attr("href"));
    if($("#stacks_in_87").hasClass("instant-scroll"))$(this).addClass("instant-scroll");
  }).promise().done(function() {
    $.each(scrollToIds, function(i, val) {
      val = val.split("#")[1];
      val = "#"+val;
      $(val).mouseover(function(){
        var id = $(this).attr('id');
        $('#clean-menu_stacks_in_87 li').removeClass('cm-current');
        $('#clean-menu_stacks_in_87 a[href="#'+id+'"]').parent().addClass('cm-current');
        $('#clean-menu-full_stacks_in_87 li').removeClass('cm-current');
        $('#clean-menu-full_stacks_in_87 a[href="#'+id+'"]').parent().addClass('cm-current');
      });
    });
  });
  scrollToLinks.click(function(event) {
    $("#clean-menu-full_stacks_in_87").removeClass("clean-menu-active");
    $("#clean-menu_stacks_in_87 .cm-toggle").removeClass("open");
    $('#clean-menu_stacks_in_87 li').removeClass('cm-current');
    $(this).parent().addClass('cm-current');
    if (
      location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '')
      &&
      location.hostname == this.hostname
    ) {
      var target = $(this.hash);
      target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
      if (target.length) {
        let scrollSpeed = 1000;
        if($(this).hasClass("instant-scroll"))scrollSpeed = 0;
        event.preventDefault();
        $('html, body').css({
          "pointer-events":"none",
          "scroll-behavior": "auto"
        });
        $('html, body').animate({
          scrollTop: target.offset().top
        }, scrollSpeed, function() {
          var $target = $(target);
          $target.focus();
          $('html, body').css("pointer-events","all");
          if ($target.is(":focus")) {
            return false;
          } else {
            $target.attr('tabindex','-1');
            $target.focus();
          };
        });
      }
    }
  });
});

return stack;})(stacks.stacks_in_87);
stacks.stacks_in_111 = {};
stacks.stacks_in_111 = (function(stack) {
var jQuery = stacks.jQuery;var $ = jQuery;let transitionSpeedAutoplay = 200;
//
transitionSpeedAutoplay = (transitionSpeedAutoplay*10)/(100/320);
//
$(document).ready(function() {
  $("#stacks_in_111").addClass("focus-visible");
  let slickOptions = {
    //
    infinite:  true,
    centerPadding: "0",
    //
    //
    arrows: false,
    //
    //
    dots: false,
    //
    //
    //autoplay: true,
    waitForAnimate: false,
    pauseOnFocus: false,
    pauseOnHover: false,
    speed: 0,
    //
    cssEase: 'linear',
    //
    //
    //
    // useCSS: false,
    // useTransform: false,
    // waitForAnimate: false,
    //rtl: true,
    //variableWidth: true,
    touchThreshold:100,// = 1/x * width of slide
    slidesToShow: 99,
    slidesToScroll: 1

  }
  let slideWidth, slideGapAdjust;
  let adjustNav = function(){
    let sliderWidth = $("#stacks_in_111 .carousel-outer-wrapper").outerWidth();
    //set max width for slides
    $('#stacks_in_111 .carousel-navigation-controls').css("width","").removeClass("too-narrow");
    if(sliderWidth < slideWidth)$('#stacks_in_111 .carousel-wrapper .slick-slide').css("max-width",(sliderWidth+slideGapAdjust)+"px");
    if($("#stacks_in_111 .carousel-navigation-controls .carousel-arrow").length && $("#stacks_in_111 .carousel-navigation-controls .slick-dots").length )$("#stacks_in_111 .carousel-navigation-controls .slick-dots").insertAfter($("#stacks_in_111 .carousel-navigation-controls .prev-arrow"));
    if($('#stacks_in_111 .carousel-navigation-controls').outerWidth() + $('#stacks_in_111 .carousel-navigation-content').eq(1).outerWidth() + $('#stacks_in_111 .carousel-navigation-content').eq(0).outerWidth() > sliderWidth){
      $('#stacks_in_111 .carousel-navigation-controls').css("width",sliderWidth - $('#stacks_in_111 .carousel-navigation-content').eq(1).outerWidth() - $('#stacks_in_111 .carousel-navigation-content').eq(0).outerWidth()).addClass("too-narrow");//modify dots if not enough space
    }
    //update dots
    if ($('#stacks_in_111 .slick-dots > li').length == 1 && $('#stacks_in_111 .slick-arrow').length < 1)  {
      $('#stacks_in_111 .carousel-navigation-controls > *').css("display","none");
      $('#stacks_in_111 .carousel-wrapper').addClass("carousel-off");
    } else {
      $('#stacks_in_111 .carousel-navigation-controls > *').css("display","");
      $('#stacks_in_111 .carousel-wrapper').removeClass("carousel-off");
    }
  }
  $('#stacks_in_111 .carousel-wrapper').slick(slickOptions).promise().done(adjustNav(0));
  //adjust carousel to fit browser
  let resize,
      resizing = false,
      resizeWidth = $(window).width(),
      resizeTimeout;
  $(window).resize(function(){
    if($(this).width() != resizeWidth){
      //
      if(!resizing) {
        $('#stacks_in_111 .carousel-wrapper').slick("slickSetOption","speed",0);
        $('#stacks_in_111 .carousel-wrapper').slick('slickPause');
        $('#stacks_in_111 .carousel-wrapper').slick("slickSetOption","autoplay",false);
        $('#stacks_in_111 .carousel-wrapper').addClass("carousel-resize").slick('goTo',0);
        resizing = true;
      }
      //
      width = $(this).width();
      clearTimeout(resize);
      resize = setTimeout(adjustCarouselstacks_in_111, 500);
      resizeWidth = $(window).width();
    }
  });
  let adjustCarouselstacks_in_111 = function(){
    $('#stacks_in_111 .carousel-outer-wrapper,#stacks_in_111 .carousel-wrapper,#stacks_in_111 .carousel-navigation').css("width","");
    let sliderWidth = $('#stacks_in_111 .carousel-wrapper').outerWidth(),
        totalSlides = $('#stacks_in_111 .slick-slide:not(.slick-cloned)').length;
    slideWidth = 320;
    if(sliderWidth < slideWidth)slideWidth = sliderWidth;
    let slidesToShow = Math.floor(sliderWidth/slideWidth);
    if(slidesToShow > totalSlides) slidesToShow = totalSlides;
    if(slidesToShow > 4) slidesToShow = 4;
    //let origSlidesToShow = slidesToShow;
    //adjust slides to show and slide by
    //
    slidesToShow = 1;
    //origSlidesToShow = 1;
    //
    $('#stacks_in_111 .carousel-wrapper').slick("slickSetOption","slidesToShow",slidesToShow);
    $('#stacks_in_111 .carousel-wrapper').slick("slickSetOption","slidesToScroll",slidesToShow);
    if(slidesToShow == 1)$('#stacks_in_111 .carousel-wrapper').slick("slickSetOption","swipeToSlide",true);
    //set max width for slides
    slideGapAdjust = 16/slidesToShow;
    slideWidth = slideWidth + slideGapAdjust;
    // if(origSlidesToShow > totalSlides)origSlidesToShow = totalSlides;
    // let origCenterWidth = origSlidesToShow * slideWidth;
    if(slidesToShow > totalSlides)slidesToShow = totalSlides;
    let centerWidth = slidesToShow * slideWidth;

    if(centerWidth >= $(window).width()) {
      slideWidth = $(window).width() - 48;
      //origCenterWidth = slideWidth;
      centerWidth = slideWidth;
      $('#stacks_in_111 .carousel-outer-wrapper').css({
        paddingLeft: "24px",
        paddingRight: "24px"
      });
    }

    //if slider container is smaller than then carousel space or if left aligned, align items
    if(centerWidth > $("#stacks_in_111 .carousel-outer-wrapper").outerWidth() || "False" == "False")$('#stacks_in_111 .carousel-wrapper').css("left",-16/2);

    //if(slidesToShow == 1)centerWidth = centerWidth - 16;
    $('#stacks_in_111 .carousel-outer-wrapper').css("width",centerWidth+"px");
    $('#stacks_in_111 .carousel-wrapper').css("width",centerWidth+"px");

    //
    //
    //
    if($(window).width() < 777) {
      $('#stacks_in_111 .carousel-navigation').css("width","");
      if($('#stacks_in_111 .carousel-navigation').width() >= $(window).width()) {
        $('#stacks_in_111 .carousel-navigation').css({
          paddingLeft: "24px",
          paddingRight: "24px"
        });
      }
    }
    $('#stacks_in_111 .carousel-wrapper').slick("refresh").promise().done(adjustNav());
    //
    if(resizing) {
      clearTimeout(resizeTimeout);
      resizeTimeout = setTimeout(function(){
        $('#stacks_in_111 .carousel-wrapper').slick("slickSetOption","autoplay",true);
        $('#stacks_in_111 .carousel-wrapper').slick("slickSetOption","speed",transitionSpeedAutoplay);
        $('#stacks_in_111 .carousel-wrapper').slick("slickPlay");
      }, transitionSpeedAutoplay) ;
      resizing = false;
    }
    //
  }
  adjustCarouselstacks_in_111();
  //
  $('#stacks_in_111 .carousel-wrapper').on('beforeChange', function(event, slick, currentSlide, nextSlide) {
    $('#stacks_in_111 .slick-before,#stacks_in_111 .slick-after').css("opacity","");
    let activeCount = $('#stacks_in_111 .slick-track .slick-active').length,
        lastSlide = Math.floor(slick.slideCount/activeCount)*activeCount;//slick.slideCount - slick.options.slidesToShow - 1
    if(slick.slideCount % activeCount == 0)lastSlide = slick.slideCount - activeCount;
    if(currentSlide == 0 && nextSlide == lastSlide) {
      $('#stacks_in_111 .slick-before').slice($('#stacks_in_111 .slick-before').length-activeCount,$('#stacks_in_111 .slick-before').length).css("opacity","100%");
    } else if(currentSlide == lastSlide && nextSlide == 0) {
      $('#stacks_in_111 .slick-after').slice(0,activeCount).css("opacity","100%");
    }
  });
  //
});
//
let isPaused = false,
    curLeft = 0;
$(window).load(function() {
  $('#stacks_in_111 .carousel-wrapper').slick("slickSetOption","autoplaySpeed",0);
  $('#stacks_in_111 .carousel-wrapper').slick('slickPlay');
  $('#stacks_in_111 .carousel-wrapper').slick("slickSetOption","autoplay",true);
  $('#stacks_in_111 .carousel-wrapper').slick("slickSetOption","speed",transitionSpeedAutoplay);
  //
});
//
//

return stack;})(stacks.stacks_in_111);