!function(){function l(e,t){return t?this.settings.readingEventLabelPrefix+e+" pixels":e<.001?this.settings.readingEventLabelPrefix+"0%":this.settings.readingEventLabelPrefix+100*e+"%"}function d(e,t,i,n){if(!this.DEBUG_MODE){var s=function(){var e=null;null!=this.settings.gtmDataLayerName?e=this.settings.gtmDataLayerName:"undefined"!=typeof dataLayer&&"function"==typeof dataLayer.push&&(e=dataLayer);return e}();null==this.GA_TYPE&&(this.GA_TYPE=function(){var t=document.getElementsByTagName("script"),e="";for(var i in t)try{var n=t[i].getAttribute("src");if(n){if(-1!=n.indexOf("/gtm.js")){e="gtm";break}-1!=n.indexOf("/gtag")?e="gtag":-1!=n.indexOf("/analytics.js")?e="ga":-1!=n.indexOf("/ga.js")&&(e="gaq")}}catch(e){this.DEBUG_MODE&&(console.log(t[i]),console.log(e))}return e}()),"gtm"==this.GA_TYPE&&null!=s?(console.log("SOURCE: GTM"),s.push({event:this.settings.gtmEventName,eventCategory:e,eventAction:t,eventLabel:i,eventValue:n})):"gtag"==this.GA_TYPE?(console.log("SOURCE: GTAG"),gtag("event","mm_page_track",{event_category:e,event_action:t,event_label:i,event_value:n})):"ga"==this.GA_TYPE?(console.log("SOURCE: GA"),ga("send",{hitType:"event",eventCategory:e,eventAction:t,eventLabel:i,eventValue:n})):"gaq"==this.GA_TYPE&&(console.log("SOURCE: GAQ"),"undefined"!=typeof pageTracker?pageTracker._trackEvent(e,t,i,n):(_gaq.push(["_trackEvent",e,t,i,n]),_gaq.push(["pageTracker._trackEvent",e,t,i,n])))}}function t(){for(i=0;i=this.readerLocations[i]&&0=e+c)){var l=0==h.adjustX?h.bgXPosition:Math.round((f-e)*h.adjustX)+0+h.bgXOffset+"px",m=0==h.adjustY?h.bgYPosition:Math.round((f-e)*h.adjustY)+0+h.bgYOffset+"px";b.css("background-position",l+" "+m)}})})},a.fn.zoomBG=function(b){var c=a(window).height(),d=0,e=a(window).scrollTop(),f=0,g=0,h=a.extend({zoomOut:0,zoomIn:0,zoomRate:1,zoomOn:"Y",bgSizeX:"auto",bgSizeY:"auto"},b);return this.each(function(){var b=a(this),i="X"==h.zoomOn?0:1;a(window).scroll(function(){var j=h.zoomRate,k=b.css("backgroundSize").split(" "),l=parseInt(Number(k[i].replace("%","")));e=a(window).scrollTop(),f=b.offset().top,g=b.outerHeight(),e=e+c||m>=h.zoomIn||m<=h.zoomOut)){var n="X"==h.zoomOn?m+"% "+h.bgSizeY:h.bgSizeX+" "+m+"%";b.css("background-size",n)}})})},a.fn.parallaxLockElement=function(b){var c=!1,d=a.extend({parentEl:"",offsetTop:0,additionalCSS:void 0,onLock:void 0,onRelease:void 0},b);return this.each(function(){var b=a(this),e=a(d.parentEl);a(window).scroll(function(){var f=parseInt(e.offset().top-a(window).scrollTop()-d.offsetTop),g=e.offset().top+e.outerHeight(),i=(parseInt(b.outerHeight()),e.offset().top+e.outerHeight()-(b.offset().top+b.outerHeight()));f<=0?g+i<=a(window).scrollTop()+a(window).innerHeight()?c&&(c=!1,b.css({position:"absolute",top:"inherit",bottom:i+"px"}),"function"==typeof d.onRelease&&d.onRelease(this)):(b.css({position:"fixed",top:d.offsetTop+"px",bottom:"auto"}),"function"==typeof d.onLock&&d.onLock(this),c=!0):(b.css({position:"relative",top:"auto"}),"function"==typeof d.onRelease&&d.onRelease(this),c=!1),void 0!=d.additionalCSS&&b.css(d.additionalCSS)})})},a.fn.parallaxAnimateElement=function(b){var c=new Array,d=0,e=0,f=!1,g=a.extend({frames:1,elementClass:"floatingElement",elementFrameClassRoot:"frame",startOffset:null,endOffset:null,showWhenCentered:!1,centerOffsetAnimationRange:null,lock:!1,parentEl:"",offsetTop:0,additionalCSS:void 0,onLock:void 0,onRelease:void 0},b);g.lock?a(this).parallaxLockElement({parentEl:g.parentEl,offsetTop:g.offsetTop,additionalCSS:g.additionalCSS,onLock:g.onLock,onRelease:g.onRelease}):f=!0;var h=parseInt(a(this).parent().height());if(g.showWhenCentered)null==g.centerOffsetAnimationRange?g.centerOffsetAnimationRange=1:g.centerOffsetAnimationRange.indexOf("%")!=-1?g.centerOffsetAnimationRange=parseInt(g.centerOffsetAnimationRange)/100:g.centerOffsetAnimationRange=1;else{if(null!=g.startOffset)if(g.startOffset.indexOf("%")!=-1){var i=parseInt(g.startOffset)/100;d=Math.floor(h*i)}else{var i=parseInt(g.startOffset);d=i}if(null!=g.endOffset)if(g.endOffset.indexOf("%")!=-1){var i=parseInt(g.endOffset)/100;e=Math.floor(h-h*i)}else{var i=parseInt(g.endOffset);e=i}0==d&&0==e||(h=h-e-d);for(var j=h/g.frames,k=1;k<=g.frames;k++)c.push(Math.floor(d+j*k));f&&void 0!=g.additionalCSS&&a(this).css(g.additionalCSS)}return this.each(function(){var b=a(this),d=c.length,e=g.showWhenCentered?a(this).height()*g.centerOffsetAnimationRange:a(this).height();a(window).scroll(function(){var f=b.offset().top,h=!(f+b.outerHeight()<=a(window).scrollTop()||f>=a(window).scrollTop()+a(window).height());if(h){if(g.showWhenCentered){var i=parseInt(b.offset().top-a(window).scrollTop()),j=parseInt(i+e/2),k=parseInt(a(window).innerHeight()/2),l=parseInt(j-e),m=parseInt(j+e);if(k=l&&k<=m){var n=Math.max(0,Math.min(1,1-(l+(j-k))/j));d=Math.ceil(g.frames*n)}else d=g.frames}else for(var o=parseInt(b.parent().offset().top-a(window).scrollTop()),p=o*-1+e/2,q=0;q";t.append(a)}},unFixBGImagesForIPads=function(e){e=void 0===e?".chapterImage":e,getIsLarge()&&getIsIPad()&&$(e).css("background-attachment","scroll")},getLazyLoadPluginObject=function(){return _lazyLoadObject},getCurrentChapter=function(){return _onChapter},getVisibleViewport=function(e){return e?window.innerHeight-_stickyTopBarHeight+"px":parseInt(window.innerHeight-_stickyTopBarHeight)},getViewportOffset=function(e,t){return t?jQuery(e).offset().top-jQuery(window).scrollTop()-_stickyTopBarHeight+"px":parseInt(jQuery(e).offset().top-jQuery(window).scrollTop()-_stickyTopBarHeight)},getItemInViewport=function(e){var t=jQuery(e).offset().top;return!(t+jQuery(e).outerHeight()<=jQuery(window).scrollTop()||t>=jQuery(window).scrollTop()+jQuery(window).height())},getItemInViewportCenter=function(e,t){var r=jQuery(e).offset().top,o=jQuery(window).height()/2;return t=t||0,!(r>=jQuery(window).scrollTop()+o+t||r<=jQuery(window).scrollTop()+o-t)},getStickyTopBarHeight=function(){return _stickyTopBarHeight},getIsSmall=function(){return _isSmall},getIsMedium=function(){return _isMedium},getIsLarge=function(){return _isLarge},getIsMobile=function(){return"undefined"!=typeof console&&console.log("%c NOTICE getIsMobile()) deprecated - use getIsSmall()","background:orange; color:black"),_isSmall},getIsTablet=function(){return"undefined"!=typeof console&&console.log("%c NOTICE getIsTablet()) deprecated - use getIsMedium()","background:orange; color:black"),_isMedium},getDoParallax=function(){return"undefined"!=typeof console&&console.log("%c NOTICE getDoParallax()) deprecated - use getIsLarge()","background:orange; color:black"),_isLarge},getIsDesktop=function(){return!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},getIsIPad=function(){return navigator.userAgent.match(/iPad;.*CPU.*OS/i)},getIsNewerIPad=function(){return!!getIsIPad()&&1!=window.devicePixelRatio},getIsResponsive=function(){return IS_RESPONSIVE},adjustLayoutAfterResize=function(){initChapterTops(!0)},adjustChapterLinksArtHeight=function(e,t){jQuery(e).css("height",jQuery(t).outerHeight())},adjustSizeToParentAndViewport=function(e,t){jQuery(e).css("height",getVisibleViewport(!0)),jQuery(e).css("width",jQuery(t).width())},adjustSizeHeightToParent=function(e,t){var r=jQuery(t).height();jQuery(e).css("height",r+"px")},equalizeElementHeightsToTallest=function(e){for(var t=0,r=0;r=_chapterTops[o]){t=o+1;break}return-1!=t&&adjustChapterLinks(t),t}},adjustChapterLinks=function(e){jQuery(_chapterLinkEl).each(function(){jQuery(this).attr("href")!="#"+e?"function"==typeof _setChapterLinkCallback&&_setChapterLinkCallback(this,!1):("function"==typeof _setChapterLinkCallback&&_setChapterLinkCallback(this,!0),_onChapter=e)})},adjustMultiSizedImages=function(){"undefined"!=typeof console&&console.log("%c NOTICE adjustMultiSizedImages()) deprecated - lazy load is automatically managed","background:orange; color:black")},toTop=function(){jQuery("html, body").animate({scrollTop:0},600)},runTopMenuControl=function(){getIsSmall()?toggleMobileMenu(_mobileMenuEl,_topAndMobileMenuControl):toTop()},toggleMobileMenu=function(e,t){getIsSmall()&&(jQuery(e).toggle("fast"),jQuery(t).toggle("fast"))},goToChapter=function(e){var t=jQuery(_chapterElPrefix+e).offset().top-_stickyTopBarHeight+1,r=e<_onChapter?_onChapter-e:e-_onChapter,o=Math.floor(1e3/(_chapterTops.length-(_chapterTops.length-r)));jQuery("html, body").animate({scrollTop:t},o,function(){adjustChapterLinks(e),"function"==typeof _chapterSetCompleteCallback&&_chapterSetCompleteCallback(e)}),_onChapter=e},animateOverflowContent=function(e,t,r,o,a){if(a==_onChapter){var n=jQuery(e).css("background-position").split(" "),i=isNaN(t)?t:t+parseInt(n[0])+"px",l=isNaN(r)?r:r+parseInt(n[1])+"px";jQuery(e).css({"background-position":i+" "+l})}window.setTimeout(function(){animateOverflowContent(e,t,r,o,a)},o)},cycleImages=function(e,t){var r=jQuery(e+" .active"),o=0 lastScrollTop) { // Scroll Down $('.top').removeClass('nav-down'); } else { // Scroll Up if (st + $(window).height() < $(document).height()) { $('.top').addClass('nav-down'); } } lastScrollTop = st; } } //content additions and edits jQuery('#day1 .content .col:first-of-type .trailName:nth-of-type(4)').html("Pend d'Oreille Bay Trail") jQuery('#day1 .content .col:first-of-type p:nth-of-type(7)').html("Located on the outskirts of Sandpoint, Idaho, the Pend d'Oreille Bay Trail follows along the edge of Lake Pend Oreille. Stretching east from downtown Sandpoint, this 1.5-mile trail is rideable all year long and runs along a level wooded track. Fit for the whole family, riders can enjoy views of the Cabinet Mountains and lakeside beaches.") jQuery('#day1 .content .col:first-of-type p:nth-of-type(8)').html("Directions: Park and ride to the trailhead from City Beach, adjacent to downtown Sandpoint") jQuery('#day3 .content .col:first-of-type .trailName:nth-of-type(1)').remove() jQuery('#day3 .content .col:first-of-type p:nth-of-type(1)').remove() jQuery('#day3 .content .col:first-of-type p:nth-of-type(1)').remove() jQuery('#day3 .content .col:last-of-type p:nth-of-type(1)').remove() jQuery('#day3 .content .col:first-of-type').append('

Directions: From Sandpoint, Idaho travel northwest 30 minutes to Schweitzer Mountain Resort. Onsite staff can direct you to which trails to take from there.

') jQuery('#day3 .content .col:first-of-type p:nth-of-type(1)').html('Schweitzer Mountain Resort offers over 40 miles of scenic trails to explore. Start with a light warm up at Picnic Point and enjoy panoramic views of Lake Pend Oreille. For those looking for a downhill thrill, there’s numerous trails that intermediate and expert riders can enjoy. Get a lift up 1,700 feet of vertical on the Great Escape Quad for a pure downhill ride back to the Schweitzer Village, via different choices of trails and difficulties. Or, travel along the Highpoint Trail to connect to a fun, vertical single track that leads you to Schweitzer Village. Other advanced single track trails include Boomerang, BSR, and Huckleberry Hill. Test your skills at this mountain biker’s paradise.') var easy = [ { img: "https://maddencdn.com/content/images/2020/idaho/northern-idaho-biking/Lakeshore_Trail_Priest_Lake.jpg", imgAlt: "Sprawling lakeside views from the Selkirk Crest on Lakeshore Trail #294 in Nordman, Idaho.A woman is in a Lubbock, Texas coffeehouse, grinning as she sips her iced coffee with a baked treat on the table.", caption: "Lakeshore Trail #294" }, { img: "https://maddencdn.com/content/images/2020/idaho/northern-idaho-biking/North_Idaho_Centennial_Trail.jpg", imgAlt: "Six cyclists ride along the paved, lakeside North Idaho Centennial Trail outside Coeur d’Alene, Idaho.", caption: "North Idaho Centennial Trail" }, { img: "https://maddencdn.com/content/images/2020/idaho/northern-idaho-biking/Pine_Street_Woods_1.jpg", imgAlt: "Two young mountain bikers ride along a Pine Street Woods trail in Sandpoint, Idaho.", caption: "Pine Street Woods Trail" }, { img: "https://maddencdn.com/content/images/2020/idaho/northern-idaho-biking/Pine_Street_Woods_2.jpg", imgAlt: "Three mountain bikers ride along a Pine Street Woods trail in Sandpoint, Idaho. ", caption: "Pine Street Woods Trail" }, { img: "https://maddencdn.com/content/images/2020/idaho/northern-idaho-biking/Trail_of_the_Couer_D'Alenes.jpg", imgAlt: "Mother and child ride in tandem along the gravel trail of the Trails of the Coeur d’Alene in Coeur d’Alene, Idaho. ", caption: "Trail of the Couer D'Alenes" }, { img: "https://maddencdn.com/content/images/2020/idaho/northern-idaho-biking/Trail_of_the_Couer_D'Alenes_2.jpg", imgAlt: "A solo cyclist is seen on the horizon riding along a lakeside trail in the Trails of the Coeur d’Alene in Coeur d’Alene, Idaho.", caption: "Trail of the Couer D'Alenes" } ]; var medium = [ { img: "https://maddencdn.com/content/images/2020/idaho/northern-idaho-biking/Canfield_Mountain_1.jpg", imgAlt: "Panoramic views of Coeur d’Alene, Idaho from the Canfield Mountain Trail System.", caption: "Canfield Mountain Trail" }, { img: "https://maddencdn.com/content/images/2020/idaho/northern-idaho-biking/Canfield_Mountain_2.jpg", imgAlt: "Two mountain bikers ride along a steep trail through dense vegetation in the Canfield Mountain System in Coeur d’Alene, Idaho.", caption: "Canfield Mountain Trail" }, { img: "https://maddencdn.com/content/images/2020/idaho/northern-idaho-biking/Lakeview_Mountain_Trail.jpg", imgAlt: "Densely packed forest surrounds the Lakeview Mountain Trail outside of Nordman, Idaho.", caption: "Lakeview Mountain Trail" } ]; var hard = [ { img: "https://maddencdn.com/content/images/2020/idaho/northern-idaho-biking/Schweitzer_Mountain_1.jpg", imgAlt: "A group of five mountain bikers park their bikes and enjoy sweeping panoramic views of Lake Pend Oreille atop Schweitzer Mountain outside of Sandpoint, Idaho.", caption: "Schweitzer Mountain" }, { img: "https://maddencdn.com/content/images/2020/idaho/northern-idaho-biking/Schweitzer_Mountain_2.jpg", imgAlt: "A solo mountain biker takes a sharp turn along a steep, dirt trail on Schweitzer Mountain outside of Sandpoint, Idaho.", caption: "Schweitzer Mountain" }, { img: "https://maddencdn.com/content/images/2020/idaho/northern-idaho-biking/Schweitzer_Mountain_3.jpg", imgAlt: "A solo mountain biker rides down a steep, dirt trail at Schweitzer Mountain outside of Sandpoint, Idaho. ", caption: "Schweitzer Mountain" } ]; function addSlides(info, append) { for (var i = 0; i < info.length; i++) { var slide = info[i] var img = $(''); img.attr('alt', slide.imgAlt); img.attr('data-lazy', slide.img); img.attr('data-mobile', slide.img); var captionContent = $('

').text(slide.caption) var caption = $('
') caption.append(captionContent) var card = $('
'); card.append(img, caption) $(append).append(card) } } addSlides(easy, '#day1 .slick') addSlides(medium, '#day2 .slick') $("#day3 .chapter").prepend('
') addSlides(hard, '#day3 .slick') mapStart() function mapStart() { // if (!getIsSmall()) { //The map mapboxgl.accessToken = 'pk.eyJ1Ijoia2Jpc2hvcG1hZGRlbiIsImEiOiJja2U4cXRjMHEwbmpkMnFwaTFxbmd3eTJqIn0.jVL8C0NQs2Rv5eOFvIVCXA'; map = new mapboxgl.Map({ container: 'map', style: 'mapbox://styles/mapbox/streets-v11', center: [-116.51, 48.25], zoom: !getIsSmall() ? 8 : 6.5, bearing: 0, pitch: 40, }); var geojson = { type: 'FeatureCollection', features: [{ type: 'Feature', geometry: { type: 'Point', coordinates: [-116.13301543388468, 47.54096060816595] }, properties: { title: 'Silver Mountain Bike Park' } }, { type: 'Feature', geometry: { type: 'Point', coordinates: [-116.61292, 48.27021] }, properties: { title: 'Pine Street Wood', } }, { type: 'Feature', geometry: { type: 'Point', coordinates: [-116.93669256603167, 47.94288239338542] }, properties: { title: 'Empire Trails (Additional info)', } }, { type: 'Feature', geometry: { type: 'Point', coordinates: [-116.546034158194, 48.28050721303248] }, properties: { title: 'Pend d’Oreille Trail', } }, { type: 'Feature', geometry: { type: 'Point', coordinates: [-116.41526211626987, 48.70730663046908] }, properties: { title: 'Auto Tour Route at the Kootenai National Wildlife Refuge', } }, { type: 'Feature', geometry: { type: 'Point', coordinates: [-116.85981300141415, 48.735894089841956] }, properties: { title: 'Lakeshore Trail 294', } }, { type: 'Feature', geometry: { type: 'Point', coordinates: [-115.69741540369705, 47.456721523197494] }, properties: { title: 'Route of the Hiawatha Trail (AKA Hiawatha Trail)', } }, { type: 'Feature', geometry: { type: 'Point', coordinates: [-116.68167090919083, 47.63670908529149] }, properties: { title: 'North Idaho Centennial Trail Location: Coeur d’Alenes, Post Falls', } }, { type: 'Feature', geometry: { type: 'Point', coordinates: [-116.3473098, 47.5386901] }, properties: { title: 'Trail of the Coeur d’Alenes (MTB Project)', } }, { type: 'Feature', geometry: { type: 'Point', coordinates: [-116.73667295688954, 47.73820686088378] }, properties: { title: 'Canfield Mountain Trail System', } }, { type: 'Feature', geometry: { type: 'Point', coordinates: [-116.96105137627016, 48.61674921998385] }, properties: { title: 'Lakeview Mountain Trail 269', } }, { type: 'Feature', geometry: { type: 'Point', coordinates: [-116.329626142329, 48.887996359078286] }, properties: { title: 'Brush Lake', } }, { type: 'Feature', geometry: { type: 'Point', coordinates: [-116.62285138835794, 48.368674203785865] }, properties: { title: 'Schweitzer Mountain Resort', } }, { type: 'Feature', geometry: { type: 'Point', coordinates: [-116.310817, 48.697111] }, properties: { title: 'International Selkirk Loop', } }] }; // add markers to map geojson.features.forEach(function (marker) { // make a marker for each feature and add to the map new mapboxgl.Marker({ color: "#655146" }) .setLngLat(marker.geometry.coordinates) .setPopup(new mapboxgl.Popup({ offset: 25 }) // add popups .setHTML('

' + marker.properties.title + '

')) .addTo(map); }); var popup = new mapboxgl.Popup({ offset: 25 }); $(".trailName, .mapboxgl-marker").on("mouseover", function () { var marker if ($(this).is('.trailName')) { marker = geojson.features[$('.trailName').index(this)] } else { marker = geojson.features[$(this).index() - 1] } popup.setHTML('

' + marker.properties.title + '

') .setLngLat(marker.geometry.coordinates) .addTo(map); $('.trailName').index(this) }).mouseleave(function () { popup.remove() }) $(".trailName").on("click", function () { $($('.mapboxgl-marker')[$('.trailName').index(this)]).trigger("click") }) // } // listener for tabs to change content and move map location $("button").on("click", function (e) { var theClass = $(this).attr("class") e.preventDefault() // map.flyTo(chapters[theClass]); $(".active").removeClass("active") $("#" + theClass).addClass("active") $(this).addClass("active") }) } let chapters = { 'day1': { container: 'map', bearing: 0, duration: 3000, center: [-104.399581, 41.106410], zoom: 8, pitch: 40, essential: true // this animation is considered essential with respect to prefers-reduced-motion }, 'day2': { container: 'map', bearing: 0, duration: 3000, center: [-104.837754, 41.280034], zoom: 10, pitch: 40, essential: true }, 'day3': { container: 'map', bearing: 0, duration: 3000, center: [-105.500088, 41.244136], zoom: 8.5, speed: 0.6, pitch: 40, essential: true } // 'example': { // container: 'map', // bearing: 90, // center: [-0.12416858, 51.50779757], // zoom: 14.3, // pitch: 20, // essential: true // } }; if (getIsSmall()) { $('.card img').each(function () { $(this).attr("data-lazy", $(this).data('mobile')) }) $(".header").on("click", function (e) { if ($(this).hasClass("active")) { $(".active").removeClass("active") } else { var theClass = $(this).attr("data-day") e.preventDefault() $(".active").removeClass("active") $("#" + theClass).addClass("active") $(this).addClass("active") $([document.documentElement, document.body]).animate({ scrollTop: $("[data-day='day1']").offset().top }, 1000); } }) } $('.slick').slick({ lazyLoad: 'ondemand', slidesToShow: 1, slidesToScroll: 1, dots: true, infinite: true, speed: 500, fade: true, cssEase: 'linear', autoplay: true, autoplaySpeed: 4000, }); $(window).resize(function () { if (!getIsSmall() && size === "small") { mapStart() } }); // ipad pro will use large size, but needs backgrounds set to scroll, not fixed unFixBGImagesForIPads(); customAdjustLayout(true); $("a").each(function () { var attr = $(this).attr('name'); if (typeof attr == typeof undefined || attr == false) { $(this).attr("target", "_blank") } }); // add the complete class to the loader $("#loading").addClass("complete"); } // // Called on document scroll // contentOnScroll = function () { } // // Called on a touch move on mobile // contentOnTouchMove = function () { } // // Called on document resize // contentOnResize = function () { customAdjustLayout(); } ///////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////// // CUSTOM FUNCTIONS ///////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////// // // Adjust this specific layout after a load or resize event // // isLoad: Is this being called by a load or resize event? // customAdjustLayout = function (isLoad) { // resize footer links to be equal height of the tallest one equalizeElementHeightsToTallest($(".linkTitleWrapper")); var localNotJustTouchScroll = isLoad; // is it really a resize? if ($(window).width() != _winWidth) { // yes localNotJustTouchScroll = true; _winWidth = $(window).width(); } if (localNotJustTouchScroll) { } } !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(){var e=0;return function(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(t),appendDots:i(t),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('