diff --git a/assets/js/all.js b/assets/js/all.js
old mode 100755
new mode 100644
index fb7aea7..3df74cc
--- a/assets/js/all.js
+++ b/assets/js/all.js
@@ -489,7 +489,7 @@ this.oneil = this.oneil || {};
* Licensed MIT (/blob/master/LICENSE.txt)
*/
(function ($) { if (!$.support.cors && $.ajaxTransport && window.XDomainRequest) { var n = /^https?:\/\//i; var o = /^get|post$/i; var p = new RegExp('^' + location.protocol, 'i'); var q = /text\/html/i; var r = /\/json/i; var s = /\/xml/i; $.ajaxTransport('* text html xml json', function (i, j, k) { if (i.crossDomain && i.async && o.test(i.type) && n.test(i.url) && p.test(i.url)) { var l = null; var m = (j.dataType || '').toLowerCase(); return { send: function (f, g) { l = new XDomainRequest(); if (/^\d+$/.test(j.timeout)) { l.timeout = j.timeout } l.ontimeout = function () { g(500, 'timeout') }; l.onload = function () { var a = 'Content-Length: ' + l.responseText.length + '\r\nContent-Type: ' + l.contentType; var b = { code: 200, message: 'success' }; var c = { text: l.responseText }; try { if (m === 'html' || q.test(l.contentType)) { c.html = l.responseText } else if (m === 'json' || (m !== 'text' && r.test(l.contentType))) { try { c.json = $.parseJSON(l.responseText) } catch (e) { b.code = 500; b.message = 'parseerror' } } else if (m === 'xml' || (m !== 'text' && s.test(l.contentType))) { var d = new ActiveXObject('Microsoft.XMLDOM'); d.async = false; try { d.loadXML(l.responseText) } catch (e) { d = undefined } if (!d || !d.documentElement || d.getElementsByTagName('parsererror').length) { b.code = 500; b.message = 'parseerror'; throw 'Invalid XML: ' + l.responseText; } c.xml = d } } catch (parseMessage) { throw parseMessage; } finally { g(b.code, b.message, c, a) } }; l.onprogress = function () { }; l.onerror = function () { g(500, 'error', { text: l.responseText }) }; var h = ''; if (j.data) { h = ($.type(j.data) === 'string') ? j.data : $.param(j.data) } l.open(i.type, i.url); l.send(h) }, abort: function () { if (l) { l.abort() } } } } }) } })(jQuery);
-var stagingURL = 'http://ther29.com/2016/oneil';
+var stagingURL = 'http://oneilprint.flywheelsites.com';
// Get Viewport Width
$viewport = $(window).innerWidth();
diff --git a/assets/js/theme.js b/assets/js/theme.js
index 9f54d43..f549721 100644
--- a/assets/js/theme.js
+++ b/assets/js/theme.js
@@ -1,4 +1,4 @@
-var stagingURL = 'http://ther29.com/2016/oneil';
+var stagingURL = 'http://oneilprint.flywheelsites.com';
// Get Viewport Width
$viewport = $(window).innerWidth();
diff --git a/assets/js/theme.min.js b/assets/js/theme.min.js
old mode 100755
new mode 100644
index dda11ec..6eb305a
--- a/assets/js/theme.min.js
+++ b/assets/js/theme.min.js
@@ -1,4 +1,4 @@
-this.oneil=this.oneil||{},function(){var e={init:function(){this.serviceUrl=this.serviceUrl||"",this.salesRepUrl=this.salesRepUrl||"",this.routes={complete:"/picker/send"},filepicker.setKey("Am2o1bkgzSAmThV3fSfi2z"),$(".uploadButton").on("click",function(){e.pickFiles()}),$(".moreButton").on("click",function(){$("#UploadPanel").show(),$("#WaitPanel").hide(),$("#ConfirmPanel").hide(),$(".uploadResult").hide()}),$("#ToList").on("change",function(){"external"==$("#ToList").val().toLowerCase()?$("#ToEmailLine").show():$("#ToEmailLine").hide()}),e.populateSalesReps("#ToList",e.salesRepUrlTo),e.populateSalesReps("#FromList",e.salesRepUrlFrom)},populateSalesReps:function(e,t){$.support.cors=!0,$.ajax({url:t,type:"GET",dataType:"json",crossDomain:!0}).done(function(t,i,o){if(t&&t.list)for(var n=$(e),s=t.list,r=0;r ");n.append(l);for(var d=a.contacts,c=0;c"+p.external+""))}}}).fail(function(e,t,i){}).always(function(e,t,i){})},pickFiles:function(){var t=e.jsonForm();if(e.validateForm(t)){var i={multiple:!0,folders:!1,service:"COMPUTER"},o={location:"S3",container:e.bucket};filepicker.pickAndStore(i,o,function(t){for(var i=new Array,o=0;o()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;if(!n.test(i[o]))return!1}return!0},onUploadComplete:function(t){$("#UploadPanel").hide(),$("#WaitPanel").show(),$("#ConfirmPanel").hide(),$(".uploadResult").hide();var i=e.jsonForm();i.fileList=t,$.ajax(e.serviceUrl+e.routes.complete,{type:"POST",dataType:"json",data:i}).done(function(e){e&&200==e.opStatus?($("#UploadPanel").hide(),$("#WaitPanel").hide(),$("#ConfirmPanel").show()):($("#UploadPanel").show(),$("#WaitPanel").hide(),$("#ConfirmPanel").hide(),$(".uploadResult").show())}).fail(function(e,t){$("#UploadPanel").show(),$("#WaitPanel").hide(),$("#ConfirmPanel").hide(),$(".uploadResult").show()}).always(function(){})}};oneil.BigDownload=e,$(document).ready(function(){e.init()})}(),this.oneil=this.oneil||{},function(){var e={init:function(){this.serviceUrl=this.serviceUrl||"",this.salesRepUrl=this.salesRepUrl||"",this.routes={complete:"/picker/complete"},filepicker.setKey("Am2o1bkgzSAmThV3fSfi2z"),$(".uploadButton").on("click",function(){e.pickFiles()}),$(".moreButton").on("click",function(){$("#UploadPanel").show(),$("#WaitPanel").hide(),$("#ConfirmPanel").hide(),$(".uploadResult").hide()}),e.populateSalesReps()},populateSalesReps:function(){$.support.cors=!0,$.ajax({url:e.salesRepUrl,type:"GET",dataType:"json",crossDomain:!0}).done(function(e,t,i){if(e&&e.list)for(var o=$("#SalesRepList"),n=e.list,s=0;s ");o.append(a);for(var l=r.contacts,d=0;d"+c.external+""))}}}).fail(function(e,t,i){}).always(function(e,t,i){})},pickFiles:function(){var t=e.jsonForm();if(e.validateForm(t)){var i={multiple:!0,folders:!1,service:"COMPUTER"},o={location:"S3",container:e.bucket};filepicker.pickAndStore(i,o,function(t){for(var i=new Array,o=0;o()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return t.test(e)},onUploadComplete:function(t){$("#UploadPanel").hide(),$("#WaitPanel").show(),$("#ConfirmPanel").hide(),$(".uploadResult").hide();var i=e.jsonForm();i.fileList=t,$.ajax(e.serviceUrl+e.routes.complete,{type:"POST",dataType:"json",data:i}).done(function(e){e&&200==e.opStatus?($("#UploadPanel").hide(),$("#WaitPanel").hide(),$("#ConfirmPanel").show()):($("#UploadPanel").show(),$("#WaitPanel").hide(),$("#ConfirmPanel").hide(),$(".uploadResult").show())}).fail(function(e,t){$("#UploadPanel").show(),$("#WaitPanel").hide(),$("#ConfirmPanel").hide(),$(".uploadResult").show()}).always(function(){})}};oneil.BigUpload=e,$(document).ready(function(){e.init()})}(),function(e){if(!e.support.cors&&e.ajaxTransport&&window.XDomainRequest){var t=/^https?:\/\//i,i=/^get|post$/i,o=new RegExp("^"+location.protocol,"i"),n=/text\/html/i,s=/\/json/i,r=/\/xml/i;e.ajaxTransport("* text html xml json",function(a,l,d){if(a.crossDomain&&a.async&&i.test(a.type)&&t.test(a.url)&&o.test(a.url)){var c=null,p=(l.dataType||"").toLowerCase();return{send:function(t,i){c=new XDomainRequest,/^\d+$/.test(l.timeout)&&(c.timeout=l.timeout),c.ontimeout=function(){i(500,"timeout")},c.onload=function(){var t="Content-Length: "+c.responseText.length+"\r\nContent-Type: "+c.contentType,o={code:200,message:"success"},a={text:c.responseText};try{if("html"===p||n.test(c.contentType))a.html=c.responseText;else if("json"===p||"text"!==p&&s.test(c.contentType))try{a.json=e.parseJSON(c.responseText)}catch(e){o.code=500,o.message="parseerror"}else if("xml"===p||"text"!==p&&r.test(c.contentType)){var l=new ActiveXObject("Microsoft.XMLDOM");l.async=!1;try{l.loadXML(c.responseText)}catch(e){l=void 0}if(!l||!l.documentElement||l.getElementsByTagName("parsererror").length)throw o.code=500,o.message="parseerror","Invalid XML: "+c.responseText;a.xml=l}}catch(e){throw e}finally{i(o.code,o.message,a,t)}},c.onprogress=function(){},c.onerror=function(){i(500,"error",{text:c.responseText})};var o="";l.data&&(o="string"===e.type(l.data)?l.data:e.param(l.data)),c.open(a.type,a.url),c.send(o)},abort:function(){c&&c.abort()}}}})}}(jQuery);var stagingURL="http://ther29.com/2016/oneil";$viewport=$(window).innerWidth();var $docEl=$("html, body"),$wrap=$("main"),scrollTop;$.lockBody=function(){window.pageYOffset&&(scrollTop=window.pageYOffset,$wrap.css({top:-scrollTop})),$docEl.css({height:"100%",overflow:"hidden"})},$.unlockBody=function(){$docEl.css({height:"",overflow:""}),$wrap.css({top:""}),window.scrollTo(0,scrollTop),window.setTimeout(function(){scrollTop=null},0)};var desktopNavigation=function(e){e>860&&($(".menu > li > a").on("click",function(e){var t=$(this),i=t.parent().find("> .sub-menu");t.parent().hasClass("menu-item-has-children")&&(e.preventDefault(),t.hasClass("parent-active")?(console.log("Active parent"),i.slideUp(300),t.removeClass("parent-active")):$(".menu li .parent-active")?($(".parent-active").parent().find("> .sub-menu").slideUp(300),$(".parent-active").removeClass("parent-active"),i.slideToggle(300),t.toggleClass("parent-active")):(t.toggleClass("parent-active"),i.slideToggle(300)))}),$(".menu > li > .sub-menu > li.menu-item-has-children > a").on("click",function(e){e.preventDefault(),$_this=$(this),$_this.toggleClass("parent-active"),$_this.parent().find(".sub-menu").slideToggle(300)}),$(document).click(function(e){$(e.target).closest(".menu-item-has-children").length||($(".parent-active").removeClass("parent-active"),$(".sub-menu").slideUp(300).removeClass("dropdown-open"))}))},staffgrid=function(){$.ajax({dataType:"json",url:stagingURL+"/wp-json/wp/v2/f1_staffgrid_cpt?_embed&filter[orderby]=menu_order&order=asc",success:function(e){var t=[];$(".staff-loader").remove(),$.each(e,function(i,o){var n=e[i],s=n.id,r=n.title.rendered,a=n.acf.title,l=n.acf.staff_bio;n._embedded["wp:featuredmedia"][0].media_details.sizes["profile-image"]?featured_img=n._embedded["wp:featuredmedia"][0].media_details.sizes["profile-image"].source_url:featured_img=n._embedded["wp:featuredmedia"][0].media_details.sizes.full.source_url,t.push({id:s,image:featured_img}),"Anthony Narducci"===r&&($("#staff-name").html(r),$("#staff-image-featured").attr("style","background: url("+featured_img+") center center no-repeat;"),$("#staff-title").html(a),$("#staff-bio").html(l)),$("#staff-block-grid").append(''),$("#"+s).on("click",function(){$("html, body").animate({scrollTop:$(".staff-grid").offset().top-100},500),window.innerWidth>767?($("#staff-name").html(r),$("#staff-image-featured").attr("style","background: url("+t[i].image+") center center no-repeat;"),$("#staff-title").html(a),$("#staff-bio").html(l)):($("body").addClass("modal-open"),$.lockBody(),$("#staff-modal").append('
"),$(".close-modal").on("click",function(){$("body").removeClass("modal-open"),$.unlockBody(),$("#staff-modal").empty()}))})})}})},workSamples=function(){$("body").hasClass("page-id-6")?work_ID="6":$("body").hasClass("page-id-430")&&(work_ID="430"),$.ajax({dataType:"json",url:stagingURL+"/wp-json/wp/v2/pages/"+work_ID,success:function(e){$(".staff-loader").remove();var t=e.acf.work_samples_slider;$.each(t,function(e,i){var o=t[e].image.sizes.large,n=t[e].image.sizes.thumbnail,s=t[e].url;""===s&&(s="#work-samples-slider"),$("#work-samples-slider").append(''),$("#work-samples-nav").append('')}),$("#work-samples-slider").slick({slidesToShow:1,slidesToScroll:1,arrows:!0,fade:!1,asNavFor:"#work-samples-nav",adaptiveHeight:!1}),$("#work-samples-nav").slick({slidesToShow:5,slidesToScroll:1,asNavFor:"#work-samples-slider",dots:!1,centerMode:!1,focusOnSelect:!0,arrows:!1})}})},getPosts=function(e){$.ajax({dataType:"json",url:stagingURL+"/wp-json/wp/v2/posts/?_embed&page="+e+"&per_page=15",success:function(t){if(t.length<1)$("#load-more").remove();else{$.each(t,function(e,i){var o=t[e],n=o.title.rendered,s=o.excerpt.rendered,r=o.link,a=o._embedded["wp:term"][0][0].slug,l='";0!==o.featured_media?o._embedded["wp:featuredmedia"][0].code?($(".news-posts .posts-container").append(l),console.log("[Rest API]: Thumbnail for post "+o.id+" belongs to custom post type and cannot be accessed from standard posts.")):(thumbnail=o._embedded["wp:featuredmedia"][0].media_details.sizes["profile-image"].source_url,l='",$(".news-posts .posts-container").append(l)):$(".news-posts .posts-container").append(l)});var i=e+1;0===$("#load-more").length?$(".news-posts .load-more-container").append('View More '):$("#load-more").attr("onclick","getPosts("+i+")")}$(".staff-loader").remove(),$("#load-more").on("click",function(e){e.preventDefault()}),Macy.recalculate()}})},getCategories=function(){$.ajax({dataType:"json",url:stagingURL+"/wp-json/wp/v2/categories",success:function(e){$.each(e,function(t,i){var o=e[t].id,n=e[t].name;"Uncategorized"!==n&&($("#post-categories").append(''+n+" "),$("#cat-"+o).on("click",function(e){e.preventDefault(),$.ajax({dataType:"json",url:stagingURL+"/wp-json/wp/v2/posts?_embed&categories="+o,success:function(e){$(".news-posts .posts-container").empty(),$("#load-more").remove(),$.each(e,function(t,i){var o=e[t],n=o.title.rendered,s=o.excerpt.rendered,r=o.link,a=o._embedded["wp:term"][0][0].slug,l='";0!==o.featured_media?o._embedded["wp:featuredmedia"][0].code?($(".news-posts .posts-container").append(l),console.log("[Rest API]: Thumbnail for post "+o.id+" belongs to custom post type and cannot be accessed from standard posts.")):(thumbnail=o._embedded["wp:featuredmedia"][0].media_details.sizes["profile-image"].source_url,l='",$(".news-posts .posts-container").append(l)):$(".news-posts .posts-container").append(l)}),Macy.recalculate()}})}))}),$("#post-categories").append('Clear Filters '),$("#reset-posts").on("click",function(e){e.preventDefault()})}})},clearPosts=function(){$(".news-posts .posts-container").empty(),$(".news-posts .posts-container").append(''),getPosts(1)},getIndexACF=function(){$.ajax({dataType:"json",url:stagingURL+"/wp-json/wp/v2/pages/38",success:function(e){var t=e.acf.intro_content_headline,i=e.acf.intro_content;$(".part--intro-content .row .col-10 > h1").empty().html(t),$(".part--intro-content .row .col-10").append(i)}})},getGallerySlider=function(){$.ajax({dataType:"json",url:stagingURL+"/wp-json/wp/v2/pages/229",success:function(e){$(".staff-loader").remove();var t=e.acf.gallery_items;$.each(t,function(e,i){var o=t[e].title,n=t[e].content,s="slide-"+e,r=t[e].image;$("#gallery-top-slider").append('
'+o+' '+n+'
'),$("#gallery-navigation").append(''),t[e].icons!==!1&&$.each(t[e].icons,function(i,o){$("#"+s).find(".slide-icon-container").append(' ')})}),$("#gallery-top-slider").slick({dots:!1,asNavFor:"#gallery-navigation",arrows:!0,infinite:!0,slidesToShow:1,slidesToScroll:1,autoplay:!1,pauseOnHover:!1}),$("#gallery-navigation").slick({arrows:!0,asNavFor:"#gallery-top-slider",slidesToShow:4,autoplay:!1,focusOnSelect:!0,responsive:[{breakpoint:860,settings:{slidesToShow:4,slidesToScroll:2,infinite:!0,dots:!0,arrows:!1}},{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2,infinite:!0,dots:!0,arrows:!1}}]})}})};jQuery(document).ready(function(e){var t=Math.floor(bowser.version);browser=bowser.name+"_"+t,e("body").addClass(browser),bowser.ios&&e("body").addClass("ios");var i="ontouchstart"in document.documentElement;if(i&&e("body").removeClass("no-touch"),e("body").hasClass("page-template-our-people")&&staffgrid(),e("body").hasClass("page-template-our-work")&&workSamples(),e("body").hasClass("page-template-gallery")&&getGallerySlider(),niftyNav({subMenus:!0,panelPosition:"fixed"}),e("#nifty-nav-toggle").on("click",function(){e("body").toggleClass("nifty-locked")}),desktopNavigation($viewport),e(".search-icon, #close-search, .search-icon-global").on("click",function(t){t.preventDefault(),e("#search-container").slideToggle(300)}),e(".testimonials--slider").slick({dots:!0,arrows:!0,infinite:!0,slidesToShow:1,slidesToScroll:1,autoplay:!1}),e(".partners-slider").slick({dots:!1,arrows:!0,infinite:!0,slidesToShow:4,slidesToScroll:4,autoplay:!0,responsive:[{breakpoint:860,settings:{slidesToShow:2,slidesToScroll:2,infinite:!0,dots:!1,arrows:!1}}]}),e("#featured-case-study-slider, .our-work--slider, #default-page-slider").slick({dots:!1,arrows:!0,infinite:!0,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:4e3}),$viewport>860&&e("body").hasClass("home")){new Waypoint({element:document.getElementById("home-hero"),handler:function(t){"down"===t?(e("#home-navigation--top, #home-navigation--bottom").fadeOut(200),e("header").animate({height:"100px"},200,function(){e("#global-nav").fadeIn(200)})):"up"===t&&(e("#global-nav").fadeOut(200),e("#home-navigation--top, #home-navigation--bottom").fadeIn(200),e("header").animate({height:"198px"},200))}})}config={ui:{flyout:"middle left"}},new ShareButton(config),e("body").hasClass("blog")&&(getIndexACF(),getPosts(1),getCategories(),e(".dropdown").on("click",function(){e(this).toggleClass("active"),e("#post-categories").slideToggle()}),e(document).click(function(t){e(t.target).closest(".dropdown").length||(e(".dropdown").removeClass("active"),e("#post-categories").slideUp())}),Macy.init({container:"#masonry",trueOrder:!1,margin:20,columns:3,breakAt:{890:2,618:1}}))});var niftyNav=function(e){$nifty_toggle=$("#nifty-nav-toggle"),$nifty_panel=$(".nifty-panel"),$nifty_nav_item=$(".nifty-nav-item"),$nifty_parent=$(".nifty-panel ul li");var t=$.extend({subMenus:!1,mask:!0,itemClickClose:!0,panelPosition:"absolute",subMenuParentLink:!1},e);if(subMenus=t.subMenus,mask=t.mask,itemClickClose=t.itemClickClose,panelPosition=t.panelPosition,subMenuParentLink=t.subMenuParentLink,niftyRemove=function(){$(".nifty-mask").remove()},niftyUnmask=function(){$(".nifty-mask").animate({opacity:0}),setTimeout(niftyRemove,800)},$nifty_toggle.click(function(){var e=$(this);e.toggleClass("nifty-active"),$nifty_panel.slideToggle(500).css("position",panelPosition),"fixed"==panelPosition&&$("body").toggleClass("nifty-lock"),mask===!0&&($(".nifty-mask").length>0?niftyUnmask():($("body").append('
'),$(".nifty-mask").animate({opacity:1}),$(".nifty-mask").click(function(){$nifty_panel.slideUp(500),niftyUnmask(),$nifty_toggle.removeClass("nifty-active"),"fixed"==panelPosition&&$("body").removeClass("nifty-lock")})))}),itemClickClose===!0&&$nifty_nav_item.click(function(){$nifty_panel.slideUp(500),niftyUnmask(),$nifty_toggle.removeClass("nifty-active"),"fixed"==panelPosition&&$("body").removeClass("nifty-lock")}),subMenus===!0){var i;subMenuParentLink===!1&&$(".nifty-panel .menu-item-has-children > a").click(function(e){e.preventDefault()}),$nifty_parent.click(function(){i=$(this),i.find(".sub-menu").slideToggle(),i.find("a").toggleClass("nifty-menu-opened")})}};!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){"use strict";var t=window.Slick||{};t=function(){function t(t,o){var n,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(t),appendDots:e(t),arrows:!0,asNavFor:null,prevArrow:'Previous ',nextArrow:'Next ',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return e(' ').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},s.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.focussed=!1,s.interrupted=!1,s.hidden="hidden",s.paused=!0,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=e(t),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange="visibilitychange",s.windowWidth=0,s.windowTimer=null,n=e(t).data("slick")||{},s.options=e.extend({},s.defaults,o,n),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,"undefined"!=typeof document.mozHidden?(s.hidden="mozHidden",s.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(s.hidden="webkitHidden",s.visibilityChange="webkitvisibilitychange"),s.autoPlay=e.proxy(s.autoPlay,s),s.autoPlayClear=e.proxy(s.autoPlayClear,s),s.autoPlayIterator=e.proxy(s.autoPlayIterator,s),s.changeSlide=e.proxy(s.changeSlide,s),s.clickHandler=e.proxy(s.clickHandler,s),s.selectHandler=e.proxy(s.selectHandler,s),s.setPosition=e.proxy(s.setPosition,s),s.swipeHandler=e.proxy(s.swipeHandler,s),s.dragHandler=e.proxy(s.dragHandler,s),s.keyHandler=e.proxy(s.keyHandler,s),s.instanceUid=i++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0)}var i=0;return t}(),t.prototype.activateADA=function(){var e=this;e.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},t.prototype.addSlide=t.prototype.slickAdd=function(t,i,o){var n=this;if("boolean"==typeof i)o=i,i=null;else if(i<0||i>=n.slideCount)return!1;n.unload(),"number"==typeof i?0===i&&0===n.$slides.length?e(t).appendTo(n.$slideTrack):o?e(t).insertBefore(n.$slides.eq(i)):e(t).insertAfter(n.$slides.eq(i)):o===!0?e(t).prependTo(n.$slideTrack):e(t).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(t,i){e(i).attr("data-slick-index",t)}),n.$slidesCache=n.$slides,n.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&e.options.adaptiveHeight===!0&&e.options.vertical===!1){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,i){var o={},n=this;n.animateHeight(),n.options.rtl===!0&&n.options.vertical===!1&&(t=-t),n.transformsEnabled===!1?n.options.vertical===!1?n.$slideTrack.animate({left:t},n.options.speed,n.options.easing,i):n.$slideTrack.animate({top:t},n.options.speed,n.options.easing,i):n.cssTransitions===!1?(n.options.rtl===!0&&(n.currentLeft=-n.currentLeft),e({animStart:n.currentLeft}).animate({animStart:t},{duration:n.options.speed,easing:n.options.easing,step:function(e){e=Math.ceil(e),n.options.vertical===!1?(o[n.animType]="translate("+e+"px, 0px)",n.$slideTrack.css(o)):(o[n.animType]="translate(0px,"+e+"px)",n.$slideTrack.css(o))},complete:function(){i&&i.call()}})):(n.applyTransition(),t=Math.ceil(t),n.options.vertical===!1?o[n.animType]="translate3d("+t+"px, 0px, 0px)":o[n.animType]="translate3d(0px,"+t+"px, 0px)",n.$slideTrack.css(o),i&&setTimeout(function(){n.disableTransition(),i.call()},n.options.speed))},t.prototype.getNavTarget=function(){var t=this,i=t.options.asNavFor;return i&&null!==i&&(i=e(i).not(t.$slider)),i},t.prototype.asNavFor=function(t){var i=this,o=i.getNavTarget();null!==o&&"object"==typeof o&&o.each(function(){var i=e(this).slick("getSlick");i.unslicked||i.slideHandler(t,!0)})},t.prototype.applyTransition=function(e){var t=this,i={};t.options.fade===!1?i[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:i[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,t.options.fade===!1?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){var e=this;e.autoPlayTimer&&clearInterval(e.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(e.options.infinite===!1&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1===0&&(e.direction=1))),e.slideHandler(t))},t.prototype.buildArrows=function(){var t=this;t.options.arrows===!0&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),t.options.infinite!==!0&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},t.prototype.buildDots=function(){var t,i,o=this;if(o.options.dots===!0&&o.slideCount>o.options.slidesToShow){for(o.$slider.addClass("slick-dotted"),i=e("").addClass(o.options.dotsClass),t=0;t<=o.getDotCount();t+=1)i.append(e(" ").append(o.options.customPaging.call(this,o,t)));o.$dots=i.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,i){e(i).attr("data-slick-index",t).data("originalStyling",e(i).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('
').appendTo(t.$slider):t.$slides.wrapAll('
').parent(),t.$list=t.$slideTrack.wrap('
').parent(),t.$slideTrack.css("opacity",0),t.options.centerMode!==!0&&t.options.swipeToSlide!==!0||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.options.draggable===!0&&t.$list.addClass("draggable")},t.prototype.buildRows=function(){var e,t,i,o,n,s,r,a=this;if(o=document.createDocumentFragment(),s=a.$slider.children(),a.options.rows>1){for(r=a.options.slidesPerRow*a.options.rows,n=Math.ceil(s.length/r),e=0;er.breakpoints[o]&&(n=r.breakpoints[o]));null!==n?null!==r.activeBreakpoint?(n!==r.activeBreakpoint||i)&&(r.activeBreakpoint=n,"unslick"===r.breakpointSettings[n]?r.unslick(n):(r.options=e.extend({},r.originalSettings,r.breakpointSettings[n]),t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),a=n):(r.activeBreakpoint=n,"unslick"===r.breakpointSettings[n]?r.unslick(n):(r.options=e.extend({},r.originalSettings,r.breakpointSettings[n]),t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),a=n):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t),a=n),t||a===!1||r.$slider.trigger("breakpoint",[r,a])}},t.prototype.changeSlide=function(t,i){var o,n,s,r=this,a=e(t.currentTarget);switch(a.is("a")&&t.preventDefault(),a.is("li")||(a=a.closest("li")),s=r.slideCount%r.options.slidesToScroll!==0,o=s?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,t.data.message){case"previous":n=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-n,!1,i);break;case"next":n=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+n,!1,i);break;case"index":var l=0===t.data.index?0:t.data.index||a.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(l),!1,i),a.children().trigger("focus");break;default:return}},t.prototype.checkNavigable=function(e){var t,i,o=this;if(t=o.getNavigableIndexes(),i=0,e>t[t.length-1])e=t[t.length-1];else for(var n in t){if(et.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide)),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),t.options.accessibility===!0&&t.$list.off("keydown.slick",t.keyHandler),t.options.focusOnSelect===!0&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),
+this.oneil=this.oneil||{},function(){var e={init:function(){this.serviceUrl=this.serviceUrl||"",this.salesRepUrl=this.salesRepUrl||"",this.routes={complete:"/picker/send"},filepicker.setKey("Am2o1bkgzSAmThV3fSfi2z"),$(".uploadButton").on("click",function(){e.pickFiles()}),$(".moreButton").on("click",function(){$("#UploadPanel").show(),$("#WaitPanel").hide(),$("#ConfirmPanel").hide(),$(".uploadResult").hide()}),$("#ToList").on("change",function(){"external"==$("#ToList").val().toLowerCase()?$("#ToEmailLine").show():$("#ToEmailLine").hide()}),e.populateSalesReps("#ToList",e.salesRepUrlTo),e.populateSalesReps("#FromList",e.salesRepUrlFrom)},populateSalesReps:function(e,t){$.support.cors=!0,$.ajax({url:t,type:"GET",dataType:"json",crossDomain:!0}).done(function(t,i,o){if(t&&t.list)for(var n=$(e),s=t.list,r=0;r ");n.append(l);for(var d=a.contacts,c=0;c"+p.external+""))}}}).fail(function(e,t,i){}).always(function(e,t,i){})},pickFiles:function(){var t=e.jsonForm();if(e.validateForm(t)){var i={multiple:!0,folders:!1,service:"COMPUTER"},o={location:"S3",container:e.bucket};filepicker.pickAndStore(i,o,function(t){for(var i=new Array,o=0;o()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;if(!n.test(i[o]))return!1}return!0},onUploadComplete:function(t){$("#UploadPanel").hide(),$("#WaitPanel").show(),$("#ConfirmPanel").hide(),$(".uploadResult").hide();var i=e.jsonForm();i.fileList=t,$.ajax(e.serviceUrl+e.routes.complete,{type:"POST",dataType:"json",data:i}).done(function(e){e&&200==e.opStatus?($("#UploadPanel").hide(),$("#WaitPanel").hide(),$("#ConfirmPanel").show()):($("#UploadPanel").show(),$("#WaitPanel").hide(),$("#ConfirmPanel").hide(),$(".uploadResult").show())}).fail(function(e,t){$("#UploadPanel").show(),$("#WaitPanel").hide(),$("#ConfirmPanel").hide(),$(".uploadResult").show()}).always(function(){})}};oneil.BigDownload=e,$(document).ready(function(){e.init()})}(),this.oneil=this.oneil||{},function(){var e={init:function(){this.serviceUrl=this.serviceUrl||"",this.salesRepUrl=this.salesRepUrl||"",this.routes={complete:"/picker/complete"},filepicker.setKey("Am2o1bkgzSAmThV3fSfi2z"),$(".uploadButton").on("click",function(){e.pickFiles()}),$(".moreButton").on("click",function(){$("#UploadPanel").show(),$("#WaitPanel").hide(),$("#ConfirmPanel").hide(),$(".uploadResult").hide()}),e.populateSalesReps()},populateSalesReps:function(){$.support.cors=!0,$.ajax({url:e.salesRepUrl,type:"GET",dataType:"json",crossDomain:!0}).done(function(e,t,i){if(e&&e.list)for(var o=$("#SalesRepList"),n=e.list,s=0;s ");o.append(a);for(var l=r.contacts,d=0;d"+c.external+""))}}}).fail(function(e,t,i){}).always(function(e,t,i){})},pickFiles:function(){var t=e.jsonForm();if(e.validateForm(t)){var i={multiple:!0,folders:!1,service:"COMPUTER"},o={location:"S3",container:e.bucket};filepicker.pickAndStore(i,o,function(t){for(var i=new Array,o=0;o()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return t.test(e)},onUploadComplete:function(t){$("#UploadPanel").hide(),$("#WaitPanel").show(),$("#ConfirmPanel").hide(),$(".uploadResult").hide();var i=e.jsonForm();i.fileList=t,$.ajax(e.serviceUrl+e.routes.complete,{type:"POST",dataType:"json",data:i}).done(function(e){e&&200==e.opStatus?($("#UploadPanel").hide(),$("#WaitPanel").hide(),$("#ConfirmPanel").show()):($("#UploadPanel").show(),$("#WaitPanel").hide(),$("#ConfirmPanel").hide(),$(".uploadResult").show())}).fail(function(e,t){$("#UploadPanel").show(),$("#WaitPanel").hide(),$("#ConfirmPanel").hide(),$(".uploadResult").show()}).always(function(){})}};oneil.BigUpload=e,$(document).ready(function(){e.init()})}(),function(e){if(!e.support.cors&&e.ajaxTransport&&window.XDomainRequest){var t=/^https?:\/\//i,i=/^get|post$/i,o=new RegExp("^"+location.protocol,"i"),n=/text\/html/i,s=/\/json/i,r=/\/xml/i;e.ajaxTransport("* text html xml json",function(a,l,d){if(a.crossDomain&&a.async&&i.test(a.type)&&t.test(a.url)&&o.test(a.url)){var c=null,p=(l.dataType||"").toLowerCase();return{send:function(t,i){c=new XDomainRequest,/^\d+$/.test(l.timeout)&&(c.timeout=l.timeout),c.ontimeout=function(){i(500,"timeout")},c.onload=function(){var t="Content-Length: "+c.responseText.length+"\r\nContent-Type: "+c.contentType,o={code:200,message:"success"},a={text:c.responseText};try{if("html"===p||n.test(c.contentType))a.html=c.responseText;else if("json"===p||"text"!==p&&s.test(c.contentType))try{a.json=e.parseJSON(c.responseText)}catch(e){o.code=500,o.message="parseerror"}else if("xml"===p||"text"!==p&&r.test(c.contentType)){var l=new ActiveXObject("Microsoft.XMLDOM");l.async=!1;try{l.loadXML(c.responseText)}catch(e){l=void 0}if(!l||!l.documentElement||l.getElementsByTagName("parsererror").length)throw o.code=500,o.message="parseerror","Invalid XML: "+c.responseText;a.xml=l}}catch(e){throw e}finally{i(o.code,o.message,a,t)}},c.onprogress=function(){},c.onerror=function(){i(500,"error",{text:c.responseText})};var o="";l.data&&(o="string"===e.type(l.data)?l.data:e.param(l.data)),c.open(a.type,a.url),c.send(o)},abort:function(){c&&c.abort()}}}})}}(jQuery);var stagingURL="http://oneilprint.flywheelsites.com";$viewport=$(window).innerWidth();var $docEl=$("html, body"),$wrap=$("main"),scrollTop;$.lockBody=function(){window.pageYOffset&&(scrollTop=window.pageYOffset,$wrap.css({top:-scrollTop})),$docEl.css({height:"100%",overflow:"hidden"})},$.unlockBody=function(){$docEl.css({height:"",overflow:""}),$wrap.css({top:""}),window.scrollTo(0,scrollTop),window.setTimeout(function(){scrollTop=null},0)};var desktopNavigation=function(e){e>860&&($(".menu > li > a").on("click",function(e){var t=$(this),i=t.parent().find("> .sub-menu");t.parent().hasClass("menu-item-has-children")&&(e.preventDefault(),t.hasClass("parent-active")?(console.log("Active parent"),i.slideUp(300),t.removeClass("parent-active")):$(".menu li .parent-active")?($(".parent-active").parent().find("> .sub-menu").slideUp(300),$(".parent-active").removeClass("parent-active"),i.slideToggle(300),t.toggleClass("parent-active")):(t.toggleClass("parent-active"),i.slideToggle(300)))}),$(".menu > li > .sub-menu > li.menu-item-has-children > a").on("click",function(e){e.preventDefault(),$_this=$(this),$_this.toggleClass("parent-active"),$_this.parent().find(".sub-menu").slideToggle(300)}),$(document).click(function(e){$(e.target).closest(".menu-item-has-children").length||($(".parent-active").removeClass("parent-active"),$(".sub-menu").slideUp(300).removeClass("dropdown-open"))}))},staffgrid=function(){$.ajax({dataType:"json",url:stagingURL+"/wp-json/wp/v2/f1_staffgrid_cpt?_embed&filter[orderby]=menu_order&order=asc",success:function(e){var t=[];$(".staff-loader").remove(),$.each(e,function(i,o){var n=e[i],s=n.id,r=n.title.rendered,a=n.acf.title,l=n.acf.staff_bio;n._embedded["wp:featuredmedia"][0].media_details.sizes["profile-image"]?featured_img=n._embedded["wp:featuredmedia"][0].media_details.sizes["profile-image"].source_url:featured_img=n._embedded["wp:featuredmedia"][0].media_details.sizes.full.source_url,t.push({id:s,image:featured_img}),"Anthony Narducci"===r&&($("#staff-name").html(r),$("#staff-image-featured").attr("style","background: url("+featured_img+") center center no-repeat;"),$("#staff-title").html(a),$("#staff-bio").html(l)),$("#staff-block-grid").append(''),$("#"+s).on("click",function(){$("html, body").animate({scrollTop:$(".staff-grid").offset().top-100},500),window.innerWidth>767?($("#staff-name").html(r),$("#staff-image-featured").attr("style","background: url("+t[i].image+") center center no-repeat;"),$("#staff-title").html(a),$("#staff-bio").html(l)):($("body").addClass("modal-open"),$.lockBody(),$("#staff-modal").append('
"),$(".close-modal").on("click",function(){$("body").removeClass("modal-open"),$.unlockBody(),$("#staff-modal").empty()}))})})}})},workSamples=function(){$("body").hasClass("page-id-6")?work_ID="6":$("body").hasClass("page-id-430")&&(work_ID="430"),$.ajax({dataType:"json",url:stagingURL+"/wp-json/wp/v2/pages/"+work_ID,success:function(e){$(".staff-loader").remove();var t=e.acf.work_samples_slider;$.each(t,function(e,i){var o=t[e].image.sizes.large,n=t[e].image.sizes.thumbnail,s=t[e].url;""===s&&(s="#work-samples-slider"),$("#work-samples-slider").append(''),$("#work-samples-nav").append('')}),$("#work-samples-slider").slick({slidesToShow:1,slidesToScroll:1,arrows:!0,fade:!1,asNavFor:"#work-samples-nav",adaptiveHeight:!1}),$("#work-samples-nav").slick({slidesToShow:5,slidesToScroll:1,asNavFor:"#work-samples-slider",dots:!1,centerMode:!1,focusOnSelect:!0,arrows:!1})}})},getPosts=function(e){$.ajax({dataType:"json",url:stagingURL+"/wp-json/wp/v2/posts/?_embed&page="+e+"&per_page=15",success:function(t){if(t.length<1)$("#load-more").remove();else{$.each(t,function(e,i){var o=t[e],n=o.title.rendered,s=o.excerpt.rendered,r=o.link,a=o._embedded["wp:term"][0][0].slug,l='";0!==o.featured_media?o._embedded["wp:featuredmedia"][0].code?($(".news-posts .posts-container").append(l),console.log("[Rest API]: Thumbnail for post "+o.id+" belongs to custom post type and cannot be accessed from standard posts.")):(thumbnail=o._embedded["wp:featuredmedia"][0].media_details.sizes["profile-image"].source_url,l='",$(".news-posts .posts-container").append(l)):$(".news-posts .posts-container").append(l)});var i=e+1;0===$("#load-more").length?$(".news-posts .load-more-container").append('View More '):$("#load-more").attr("onclick","getPosts("+i+")")}$(".staff-loader").remove(),$("#load-more").on("click",function(e){e.preventDefault()}),Macy.recalculate()}})},getCategories=function(){$.ajax({dataType:"json",url:stagingURL+"/wp-json/wp/v2/categories",success:function(e){$.each(e,function(t,i){var o=e[t].id,n=e[t].name;"Uncategorized"!==n&&($("#post-categories").append(''+n+" "),$("#cat-"+o).on("click",function(e){e.preventDefault(),$.ajax({dataType:"json",url:stagingURL+"/wp-json/wp/v2/posts?_embed&categories="+o,success:function(e){$(".news-posts .posts-container").empty(),$("#load-more").remove(),$.each(e,function(t,i){var o=e[t],n=o.title.rendered,s=o.excerpt.rendered,r=o.link,a=o._embedded["wp:term"][0][0].slug,l='";0!==o.featured_media?o._embedded["wp:featuredmedia"][0].code?($(".news-posts .posts-container").append(l),console.log("[Rest API]: Thumbnail for post "+o.id+" belongs to custom post type and cannot be accessed from standard posts.")):(thumbnail=o._embedded["wp:featuredmedia"][0].media_details.sizes["profile-image"].source_url,l='",$(".news-posts .posts-container").append(l)):$(".news-posts .posts-container").append(l)}),Macy.recalculate()}})}))}),$("#post-categories").append('Clear Filters '),$("#reset-posts").on("click",function(e){e.preventDefault()})}})},clearPosts=function(){$(".news-posts .posts-container").empty(),$(".news-posts .posts-container").append(''),getPosts(1)},getIndexACF=function(){$.ajax({dataType:"json",url:stagingURL+"/wp-json/wp/v2/pages/38",success:function(e){var t=e.acf.intro_content_headline,i=e.acf.intro_content;$(".part--intro-content .row .col-10 > h1").empty().html(t),$(".part--intro-content .row .col-10").append(i)}})},getGallerySlider=function(){$.ajax({dataType:"json",url:stagingURL+"/wp-json/wp/v2/pages/229",success:function(e){$(".staff-loader").remove();var t=e.acf.gallery_items;$.each(t,function(e,i){var o=t[e].title,n=t[e].content,s="slide-"+e,r=t[e].image;$("#gallery-top-slider").append('
'+o+' '+n+'
'),$("#gallery-navigation").append(''),t[e].icons!==!1&&$.each(t[e].icons,function(i,o){$("#"+s).find(".slide-icon-container").append(' ')})}),$("#gallery-top-slider").slick({dots:!1,asNavFor:"#gallery-navigation",arrows:!0,infinite:!0,slidesToShow:1,slidesToScroll:1,autoplay:!1,pauseOnHover:!1}),$("#gallery-navigation").slick({arrows:!0,asNavFor:"#gallery-top-slider",slidesToShow:4,autoplay:!1,focusOnSelect:!0,responsive:[{breakpoint:860,settings:{slidesToShow:4,slidesToScroll:2,infinite:!0,dots:!0,arrows:!1}},{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2,infinite:!0,dots:!0,arrows:!1}}]})}})};jQuery(document).ready(function(e){var t=Math.floor(bowser.version);browser=bowser.name+"_"+t,e("body").addClass(browser),bowser.ios&&e("body").addClass("ios");var i="ontouchstart"in document.documentElement;if(i&&e("body").removeClass("no-touch"),e("body").hasClass("page-template-our-people")&&staffgrid(),e("body").hasClass("page-template-our-work")&&workSamples(),e("body").hasClass("page-template-gallery")&&getGallerySlider(),niftyNav({subMenus:!0,panelPosition:"fixed"}),e("#nifty-nav-toggle").on("click",function(){e("body").toggleClass("nifty-locked")}),desktopNavigation($viewport),e(".search-icon, #close-search, .search-icon-global").on("click",function(t){t.preventDefault(),e("#search-container").slideToggle(300)}),e(".testimonials--slider").slick({dots:!0,arrows:!0,infinite:!0,slidesToShow:1,slidesToScroll:1,autoplay:!1}),e(".partners-slider").slick({dots:!1,arrows:!0,infinite:!0,slidesToShow:4,slidesToScroll:4,autoplay:!0,responsive:[{breakpoint:860,settings:{slidesToShow:2,slidesToScroll:2,infinite:!0,dots:!1,arrows:!1}}]}),e("#featured-case-study-slider, .our-work--slider, #default-page-slider").slick({dots:!1,arrows:!0,infinite:!0,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:4e3}),$viewport>860&&e("body").hasClass("home")){new Waypoint({element:document.getElementById("home-hero"),handler:function(t){"down"===t?(e("#home-navigation--top, #home-navigation--bottom").fadeOut(200),e("header").animate({height:"100px"},200,function(){e("#global-nav").fadeIn(200)})):"up"===t&&(e("#global-nav").fadeOut(200),e("#home-navigation--top, #home-navigation--bottom").fadeIn(200),e("header").animate({height:"198px"},200))}})}config={ui:{flyout:"middle left"}},new ShareButton(config),e("body").hasClass("blog")&&(getIndexACF(),getPosts(1),getCategories(),e(".dropdown").on("click",function(){e(this).toggleClass("active"),e("#post-categories").slideToggle()}),e(document).click(function(t){e(t.target).closest(".dropdown").length||(e(".dropdown").removeClass("active"),e("#post-categories").slideUp())}),Macy.init({container:"#masonry",trueOrder:!1,margin:20,columns:3,breakAt:{890:2,618:1}}))});var niftyNav=function(e){$nifty_toggle=$("#nifty-nav-toggle"),$nifty_panel=$(".nifty-panel"),$nifty_nav_item=$(".nifty-nav-item"),$nifty_parent=$(".nifty-panel ul li");var t=$.extend({subMenus:!1,mask:!0,itemClickClose:!0,panelPosition:"absolute",subMenuParentLink:!1},e);if(subMenus=t.subMenus,mask=t.mask,itemClickClose=t.itemClickClose,panelPosition=t.panelPosition,subMenuParentLink=t.subMenuParentLink,niftyRemove=function(){$(".nifty-mask").remove()},niftyUnmask=function(){$(".nifty-mask").animate({opacity:0}),setTimeout(niftyRemove,800)},$nifty_toggle.click(function(){var e=$(this);e.toggleClass("nifty-active"),$nifty_panel.slideToggle(500).css("position",panelPosition),"fixed"==panelPosition&&$("body").toggleClass("nifty-lock"),mask===!0&&($(".nifty-mask").length>0?niftyUnmask():($("body").append('
'),$(".nifty-mask").animate({opacity:1}),$(".nifty-mask").click(function(){$nifty_panel.slideUp(500),niftyUnmask(),$nifty_toggle.removeClass("nifty-active"),"fixed"==panelPosition&&$("body").removeClass("nifty-lock")})))}),itemClickClose===!0&&$nifty_nav_item.click(function(){$nifty_panel.slideUp(500),niftyUnmask(),$nifty_toggle.removeClass("nifty-active"),"fixed"==panelPosition&&$("body").removeClass("nifty-lock")}),subMenus===!0){var i;subMenuParentLink===!1&&$(".nifty-panel .menu-item-has-children > a").click(function(e){e.preventDefault()}),$nifty_parent.click(function(){i=$(this),i.find(".sub-menu").slideToggle(),i.find("a").toggleClass("nifty-menu-opened")})}};!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){"use strict";var t=window.Slick||{};t=function(){function t(t,o){var n,s=this;s.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(t),appendDots:e(t),arrows:!0,asNavFor:null,prevArrow:'Previous ',nextArrow:'Next ',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return e(' ').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},s.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.focussed=!1,s.interrupted=!1,s.hidden="hidden",s.paused=!0,s.positionProp=null,s.respondTo=null,s.rowCount=1,s.shouldClick=!0,s.$slider=e(t),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.visibilityChange="visibilitychange",s.windowWidth=0,s.windowTimer=null,n=e(t).data("slick")||{},s.options=e.extend({},s.defaults,o,n),s.currentSlide=s.options.initialSlide,s.originalSettings=s.options,"undefined"!=typeof document.mozHidden?(s.hidden="mozHidden",s.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(s.hidden="webkitHidden",s.visibilityChange="webkitvisibilitychange"),s.autoPlay=e.proxy(s.autoPlay,s),s.autoPlayClear=e.proxy(s.autoPlayClear,s),s.autoPlayIterator=e.proxy(s.autoPlayIterator,s),s.changeSlide=e.proxy(s.changeSlide,s),s.clickHandler=e.proxy(s.clickHandler,s),s.selectHandler=e.proxy(s.selectHandler,s),s.setPosition=e.proxy(s.setPosition,s),s.swipeHandler=e.proxy(s.swipeHandler,s),s.dragHandler=e.proxy(s.dragHandler,s),s.keyHandler=e.proxy(s.keyHandler,s),s.instanceUid=i++,s.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,s.registerBreakpoints(),s.init(!0)}var i=0;return t}(),t.prototype.activateADA=function(){var e=this;e.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},t.prototype.addSlide=t.prototype.slickAdd=function(t,i,o){var n=this;if("boolean"==typeof i)o=i,i=null;else if(i<0||i>=n.slideCount)return!1;n.unload(),"number"==typeof i?0===i&&0===n.$slides.length?e(t).appendTo(n.$slideTrack):o?e(t).insertBefore(n.$slides.eq(i)):e(t).insertAfter(n.$slides.eq(i)):o===!0?e(t).prependTo(n.$slideTrack):e(t).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(t,i){e(i).attr("data-slick-index",t)}),n.$slidesCache=n.$slides,n.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&e.options.adaptiveHeight===!0&&e.options.vertical===!1){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,i){var o={},n=this;n.animateHeight(),n.options.rtl===!0&&n.options.vertical===!1&&(t=-t),n.transformsEnabled===!1?n.options.vertical===!1?n.$slideTrack.animate({left:t},n.options.speed,n.options.easing,i):n.$slideTrack.animate({top:t},n.options.speed,n.options.easing,i):n.cssTransitions===!1?(n.options.rtl===!0&&(n.currentLeft=-n.currentLeft),e({animStart:n.currentLeft}).animate({animStart:t},{duration:n.options.speed,easing:n.options.easing,step:function(e){e=Math.ceil(e),n.options.vertical===!1?(o[n.animType]="translate("+e+"px, 0px)",n.$slideTrack.css(o)):(o[n.animType]="translate(0px,"+e+"px)",n.$slideTrack.css(o))},complete:function(){i&&i.call()}})):(n.applyTransition(),t=Math.ceil(t),n.options.vertical===!1?o[n.animType]="translate3d("+t+"px, 0px, 0px)":o[n.animType]="translate3d(0px,"+t+"px, 0px)",n.$slideTrack.css(o),i&&setTimeout(function(){n.disableTransition(),i.call()},n.options.speed))},t.prototype.getNavTarget=function(){var t=this,i=t.options.asNavFor;return i&&null!==i&&(i=e(i).not(t.$slider)),i},t.prototype.asNavFor=function(t){var i=this,o=i.getNavTarget();null!==o&&"object"==typeof o&&o.each(function(){var i=e(this).slick("getSlick");i.unslicked||i.slideHandler(t,!0)})},t.prototype.applyTransition=function(e){var t=this,i={};t.options.fade===!1?i[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:i[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,t.options.fade===!1?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){var e=this;e.autoPlayTimer&&clearInterval(e.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(e.options.infinite===!1&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1===0&&(e.direction=1))),e.slideHandler(t))},t.prototype.buildArrows=function(){var t=this;t.options.arrows===!0&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),t.options.infinite!==!0&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},t.prototype.buildDots=function(){var t,i,o=this;if(o.options.dots===!0&&o.slideCount>o.options.slidesToShow){for(o.$slider.addClass("slick-dotted"),i=e("").addClass(o.options.dotsClass),t=0;t<=o.getDotCount();t+=1)i.append(e(" ").append(o.options.customPaging.call(this,o,t)));o.$dots=i.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,i){e(i).attr("data-slick-index",t).data("originalStyling",e(i).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('
').appendTo(t.$slider):t.$slides.wrapAll('
').parent(),t.$list=t.$slideTrack.wrap('
').parent(),t.$slideTrack.css("opacity",0),t.options.centerMode!==!0&&t.options.swipeToSlide!==!0||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.options.draggable===!0&&t.$list.addClass("draggable")},t.prototype.buildRows=function(){var e,t,i,o,n,s,r,a=this;if(o=document.createDocumentFragment(),s=a.$slider.children(),a.options.rows>1){for(r=a.options.slidesPerRow*a.options.rows,n=Math.ceil(s.length/r),e=0;er.breakpoints[o]&&(n=r.breakpoints[o]));null!==n?null!==r.activeBreakpoint?(n!==r.activeBreakpoint||i)&&(r.activeBreakpoint=n,"unslick"===r.breakpointSettings[n]?r.unslick(n):(r.options=e.extend({},r.originalSettings,r.breakpointSettings[n]),t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),a=n):(r.activeBreakpoint=n,"unslick"===r.breakpointSettings[n]?r.unslick(n):(r.options=e.extend({},r.originalSettings,r.breakpointSettings[n]),t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),a=n):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t),a=n),t||a===!1||r.$slider.trigger("breakpoint",[r,a])}},t.prototype.changeSlide=function(t,i){var o,n,s,r=this,a=e(t.currentTarget);switch(a.is("a")&&t.preventDefault(),a.is("li")||(a=a.closest("li")),s=r.slideCount%r.options.slidesToScroll!==0,o=s?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,t.data.message){case"previous":n=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-n,!1,i);break;case"next":n=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+n,!1,i);break;case"index":var l=0===t.data.index?0:t.data.index||a.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(l),!1,i),a.children().trigger("focus");break;default:return}},t.prototype.checkNavigable=function(e){var t,i,o=this;if(t=o.getNavigableIndexes(),i=0,e>t[t.length-1])e=t[t.length-1];else for(var n in t){if(et.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide)),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),t.options.accessibility===!0&&t.$list.off("keydown.slick",t.keyHandler),t.options.focusOnSelect===!0&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),
e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition),e(document).off("ready.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>1&&(e=t.$slides.children().children(),e.removeAttr("style"),t.$slider.empty().append(e))},t.prototype.clickHandler=function(e){var t=this;t.shouldClick===!1&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},t.prototype.destroy=function(t){var i=this;i.autoPlayClear(),i.touchObject={},i.cleanUpEvents(),e(".slick-cloned",i.$slider).detach(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove()),i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove()),i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){e(this).attr("style",e(this).data("originalStyling"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides)),i.cleanUpRows(),i.$slider.removeClass("slick-slider"),i.$slider.removeClass("slick-initialized"),i.$slider.removeClass("slick-dotted"),i.unslicked=!0,t||i.$slider.trigger("destroy",[i])},t.prototype.disableTransition=function(e){var t=this,i={};i[t.transitionType]="",t.options.fade===!1?t.$slideTrack.css(i):t.$slides.eq(e).css(i)},t.prototype.fadeSlide=function(e,t){var i=this;i.cssTransitions===!1?(i.$slides.eq(e).css({zIndex:i.options.zIndex}),i.$slides.eq(e).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(e),i.$slides.eq(e).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout(function(){i.disableTransition(e),t.call()},i.options.speed))},t.prototype.fadeSlideOut=function(e){var t=this;t.cssTransitions===!1?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},t.prototype.filterSlides=t.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(i){i.stopImmediatePropagation();var o=e(this);setTimeout(function(){t.options.pauseOnFocus&&(t.focussed=o.is(":focus"),t.autoPlay())},0)})},t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){var e=this;return e.currentSlide},t.prototype.getDotCount=function(){var e=this,t=0,i=0,o=0;if(e.options.infinite===!0)for(;tn.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=i*n.options.slidesToShow*-1),n.slideCount%n.options.slidesToScroll!==0&&e+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(e>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(e-n.slideCount))*n.slideWidth*-1,s=(n.options.slidesToShow-(e-n.slideCount))*i*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,s=n.slideCount%n.options.slidesToScroll*i*-1))):e+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(e+n.options.slidesToShow-n.slideCount)*n.slideWidth,s=(e+n.options.slidesToShow-n.slideCount)*i),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,s=0),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)),t=n.options.vertical===!1?e*n.slideWidth*-1+n.slideOffset:e*i*-1+s,n.options.variableWidth===!0&&(o=n.slideCount<=n.options.slidesToShow||n.options.infinite===!1?n.$slideTrack.children(".slick-slide").eq(e):n.$slideTrack.children(".slick-slide").eq(e+n.options.slidesToShow),t=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(e):n.$slideTrack.children(".slick-slide").eq(e+n.options.slidesToShow+1),t=n.options.rtl===!0?o[0]?(n.$slideTrack.width()-o[0].offsetLeft-o.width())*-1:0:o[0]?o[0].offsetLeft*-1:0,t+=(n.$list.width()-o.outerWidth())/2)),t},t.prototype.getOption=t.prototype.slickGetOption=function(e){var t=this;return t.options[e]},t.prototype.getNavigableIndexes=function(){var e,t=this,i=0,o=0,n=[];for(t.options.infinite===!1?e=t.slideCount:(i=t.options.slidesToScroll*-1,o=t.options.slidesToScroll*-1,e=2*t.slideCount);in.swipeLeft*-1)return i=s,!1}),t=Math.abs(e(i).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},t.prototype.goTo=t.prototype.slickGoTo=function(e,t){var i=this;i.changeSlide({data:{message:"index",index:parseInt(e)}},t)},t.prototype.init=function(t){var i=this;e(i.$slider).hasClass("slick-initialized")||(e(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler()),t&&i.$slider.trigger("init",[i]),i.options.accessibility===!0&&i.initADA(),i.options.autoplay&&(i.paused=!1,i.autoPlay())},t.prototype.initADA=function(){var t=this;t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),t.$slideTrack.attr("role","listbox"),t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function(i){e(this).attr({role:"option","aria-describedby":"slick-slide"+t.instanceUid+i})}),null!==t.$dots&&t.$dots.attr("role","tablist").find("li").each(function(i){e(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+t.instanceUid+i,id:"slick-slide"+t.instanceUid+i})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),t.activateADA()},t.prototype.initArrowEvents=function(){var e=this;e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide))},t.prototype.initDotEvents=function(){var t=this;t.options.dots===!0&&t.slideCount>t.options.slidesToShow&&e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),t.options.dots===!0&&t.options.pauseOnDotsHover===!0&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),t.options.accessibility===!0&&t.$list.on("keydown.slick",t.keyHandler),t.options.focusOnSelect===!0&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(document).on("ready.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.initUI=function(){var e=this;e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},t.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&t.options.accessibility===!0?t.changeSlide({data:{message:t.options.rtl===!0?"next":"previous"}}):39===e.keyCode&&t.options.accessibility===!0&&t.changeSlide({data:{message:t.options.rtl===!0?"previous":"next"}}))},t.prototype.lazyLoad=function(){function t(t){e("img[data-lazy]",t).each(function(){var t=e(this),i=e(this).attr("data-lazy"),o=document.createElement("img");o.onload=function(){t.animate({opacity:0},100,function(){t.attr("src",i).animate({opacity:1},200,function(){t.removeAttr("data-lazy").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,t,i])})},o.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,i])},o.src=i})}var i,o,n,s,r=this;r.options.centerMode===!0?r.options.infinite===!0?(n=r.currentSlide+(r.options.slidesToShow/2+1),s=n+r.options.slidesToShow+2):(n=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),s=2+(r.options.slidesToShow/2+1)+r.currentSlide):(n=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,s=Math.ceil(n+r.options.slidesToShow),r.options.fade===!0&&(n>0&&n--,s<=r.slideCount&&s++)),i=r.$slider.find(".slick-slide").slice(n,s),t(i),r.slideCount<=r.options.slidesToShow?(o=r.$slider.find(".slick-slide"),t(o)):r.currentSlide>=r.slideCount-r.options.slidesToShow?(o=r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow),t(o)):0===r.currentSlide&&(o=r.$slider.find(".slick-cloned").slice(r.options.slidesToShow*-1),t(o))},t.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},t.prototype.next=t.prototype.slickNext=function(){var e=this;e.changeSlide({data:{message:"next"}})},t.prototype.orientationChange=function(){var e=this;e.checkResponsive(),e.setPosition()},t.prototype.pause=t.prototype.slickPause=function(){var e=this;e.autoPlayClear(),e.paused=!0},t.prototype.play=t.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},t.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),t.options.accessibility===!0&&t.initADA())},t.prototype.prev=t.prototype.slickPrev=function(){var e=this;e.changeSlide({data:{message:"previous"}})},t.prototype.preventDefault=function(e){e.preventDefault()},t.prototype.progressiveLazyLoad=function(t){t=t||1;var i,o,n,s=this,r=e("img[data-lazy]",s.$slider);r.length?(i=r.first(),o=i.attr("data-lazy"),n=document.createElement("img"),n.onload=function(){i.attr("src",o).removeAttr("data-lazy").removeClass("slick-loading"),s.options.adaptiveHeight===!0&&s.setPosition(),s.$slider.trigger("lazyLoaded",[s,i,o]),s.progressiveLazyLoad()},n.onerror=function(){t<3?setTimeout(function(){s.progressiveLazyLoad(t+1)},500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,i,o]),s.progressiveLazyLoad())},n.src=o):s.$slider.trigger("allImagesLoaded",[s])},t.prototype.refresh=function(t){var i,o,n=this;o=n.slideCount-n.options.slidesToShow,!n.options.infinite&&n.currentSlide>o&&(n.currentSlide=o),n.slideCount<=n.options.slidesToShow&&(n.currentSlide=0),i=n.currentSlide,n.destroy(!0),e.extend(n,n.initials,{currentSlide:i}),n.init(),t||n.changeSlide({data:{message:"index",index:i}},!1)},t.prototype.registerBreakpoints=function(){var t,i,o,n=this,s=n.options.responsive||null;if("array"===e.type(s)&&s.length){n.respondTo=n.options.respondTo||"window";for(t in s)if(o=n.breakpoints.length-1,i=s[t].breakpoint,s.hasOwnProperty(t)){for(;o>=0;)n.breakpoints[o]&&n.breakpoints[o]===i&&n.breakpoints.splice(o,1),o--;n.breakpoints.push(i),n.breakpointSettings[i]=s[t].settings}n.breakpoints.sort(function(e,t){return n.options.mobileFirst?e-t:t-e})}},t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),t.options.focusOnSelect===!0&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},t.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},t.prototype.removeSlide=t.prototype.slickRemove=function(e,t,i){var o=this;return"boolean"==typeof e?(t=e,e=t===!0?0:o.slideCount-1):e=t===!0?--e:e,!(o.slideCount<1||e<0||e>o.slideCount-1)&&(o.unload(),i===!0?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(e).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())},t.prototype.setCSS=function(e){var t,i,o=this,n={};o.options.rtl===!0&&(e=-e),t="left"==o.positionProp?Math.ceil(e)+"px":"0px",i="top"==o.positionProp?Math.ceil(e)+"px":"0px",n[o.positionProp]=e,o.transformsEnabled===!1?o.$slideTrack.css(n):(n={},o.cssTransitions===!1?(n[o.animType]="translate("+t+", "+i+")",o.$slideTrack.css(n)):(n[o.animType]="translate3d("+t+", "+i+", 0px)",o.$slideTrack.css(n)))},t.prototype.setDimensions=function(){var e=this;e.options.vertical===!1?e.options.centerMode===!0&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),e.options.centerMode===!0&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),e.options.vertical===!1&&e.options.variableWidth===!1?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):e.options.variableWidth===!0?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();e.options.variableWidth===!1&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},t.prototype.setFade=function(){var t,i=this;i.$slides.each(function(o,n){t=i.slideWidth*o*-1,i.options.rtl===!0?e(n).css({position:"relative",right:t,top:0,zIndex:i.options.zIndex-2,opacity:0}):e(n).css({position:"relative",left:t,top:0,zIndex:i.options.zIndex-2,opacity:0})}),i.$slides.eq(i.currentSlide).css({zIndex:i.options.zIndex-1,opacity:1})},t.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&e.options.adaptiveHeight===!0&&e.options.vertical===!1){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},t.prototype.setOption=t.prototype.slickSetOption=function(){var t,i,o,n,s,r=this,a=!1;if("object"===e.type(arguments[0])?(o=arguments[0],a=arguments[1],s="multiple"):"string"===e.type(arguments[0])&&(o=arguments[0],n=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?s="responsive":"undefined"!=typeof arguments[1]&&(s="single")),"single"===s)r.options[o]=n;else if("multiple"===s)e.each(o,function(e,t){r.options[e]=t});else if("responsive"===s)for(i in n)if("array"!==e.type(r.options.responsive))r.options.responsive=[n[i]];else{for(t=r.options.responsive.length-1;t>=0;)r.options.responsive[t].breakpoint===n[i].breakpoint&&r.options.responsive.splice(t,1),t--;r.options.responsive.push(n[i])}a&&(r.unload(),r.reinit())},t.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),e.options.fade===!1?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=e.options.vertical===!0?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||e.options.useCSS===!0&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&e.animType!==!1&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&e.animType!==!1},t.prototype.setSlideClasses=function(e){var t,i,o,n,s=this;i=s.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),s.$slides.eq(e).addClass("slick-current"),s.options.centerMode===!0?(t=Math.floor(s.options.slidesToShow/2),s.options.infinite===!0&&(e>=t&&e<=s.slideCount-1-t?s.$slides.slice(e-t,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(o=s.options.slidesToShow+e,i.slice(o-t+1,o+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?i.eq(i.length-1-s.options.slidesToShow).addClass("slick-center"):e===s.slideCount-1&&i.eq(s.options.slidesToShow).addClass("slick-center")),s.$slides.eq(e).addClass("slick-center")):e>=0&&e<=s.slideCount-s.options.slidesToShow?s.$slides.slice(e,e+s.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=s.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(n=s.slideCount%s.options.slidesToShow,o=s.options.infinite===!0?s.options.slidesToShow+e:e,s.options.slidesToShow==s.options.slidesToScroll&&s.slideCount-en.options.slidesToShow)){for(o=n.options.centerMode===!0?n.options.slidesToShow+1:n.options.slidesToShow,t=n.slideCount;t>n.slideCount-o;t-=1)i=t-1,e(n.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(t=0;td.getDotCount()*d.options.slidesToScroll)?void(d.options.fade===!1&&(o=d.currentSlide,i!==!0?d.animateSlide(r,function(){d.postSlide(o)}):d.postSlide(o))):d.options.infinite===!1&&d.options.centerMode===!0&&(e<0||e>d.slideCount-d.options.slidesToScroll)?void(d.options.fade===!1&&(o=d.currentSlide,i!==!0?d.animateSlide(r,function(){d.postSlide(o)}):d.postSlide(o))):(d.options.autoplay&&clearInterval(d.autoPlayTimer),n=o<0?d.slideCount%d.options.slidesToScroll!==0?d.slideCount-d.slideCount%d.options.slidesToScroll:d.slideCount+o:o>=d.slideCount?d.slideCount%d.options.slidesToScroll!==0?0:o-d.slideCount:o,d.animating=!0,d.$slider.trigger("beforeChange",[d,d.currentSlide,n]),s=d.currentSlide,d.currentSlide=n,d.setSlideClasses(d.currentSlide),d.options.asNavFor&&(a=d.getNavTarget(),a=a.slick("getSlick"),a.slideCount<=a.options.slidesToShow&&a.setSlideClasses(d.currentSlide)),d.updateDots(),d.updateArrows(),d.options.fade===!0?(i!==!0?(d.fadeSlideOut(s),d.fadeSlide(n,function(){d.postSlide(n)})):d.postSlide(n),void d.animateHeight()):void(i!==!0?d.animateSlide(l,function(){d.postSlide(n)}):d.postSlide(n)))},t.prototype.startLoad=function(){var e=this;e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},t.prototype.swipeDirection=function(){var e,t,i,o,n=this;return e=n.touchObject.startX-n.touchObject.curX,t=n.touchObject.startY-n.touchObject.curY,i=Math.atan2(t,e),o=Math.round(180*i/Math.PI),o<0&&(o=360-Math.abs(o)),o<=45&&o>=0?n.options.rtl===!1?"left":"right":o<=360&&o>=315?n.options.rtl===!1?"left":"right":o>=135&&o<=225?n.options.rtl===!1?"right":"left":n.options.verticalSwiping===!0?o>=35&&o<=135?"down":"up":"vertical"},t.prototype.swipeEnd=function(e){var t,i,o=this;if(o.dragging=!1,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(i=o.swipeDirection()){case"left":case"down":t=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":t=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=i&&(o.slideHandler(t),o.touchObject={},o.$slider.trigger("swipe",[o,i]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},t.prototype.swipeHandler=function(e){var t=this;if(!(t.options.swipe===!1||"ontouchend"in document&&t.options.swipe===!1||t.options.draggable===!1&&e.type.indexOf("mouse")!==-1))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,t.options.verticalSwiping===!0&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},t.prototype.swipeMove=function(e){var t,i,o,n,s,r=this;return s=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!r.dragging||s&&1!==s.length)&&(t=r.getLeft(r.currentSlide),r.touchObject.curX=void 0!==s?s[0].pageX:e.clientX,r.touchObject.curY=void 0!==s?s[0].pageY:e.clientY,r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curX-r.touchObject.startX,2))),r.options.verticalSwiping===!0&&(r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curY-r.touchObject.startY,2)))),i=r.swipeDirection(),"vertical"!==i?(void 0!==e.originalEvent&&r.touchObject.swipeLength>4&&e.preventDefault(),n=(r.options.rtl===!1?1:-1)*(r.touchObject.curX>r.touchObject.startX?1:-1),r.options.verticalSwiping===!0&&(n=r.touchObject.curY>r.touchObject.startY?1:-1),o=r.touchObject.swipeLength,r.touchObject.edgeHit=!1,r.options.infinite===!1&&(0===r.currentSlide&&"right"===i||r.currentSlide>=r.getDotCount()&&"left"===i)&&(o=r.touchObject.swipeLength*r.options.edgeFriction,r.touchObject.edgeHit=!0),r.options.vertical===!1?r.swipeLeft=t+o*n:r.swipeLeft=t+o*(r.$list.height()/r.listWidth)*n,r.options.verticalSwiping===!0&&(r.swipeLeft=t+o*n),r.options.fade!==!0&&r.options.touchMove!==!1&&(r.animating===!0?(r.swipeLeft=null,!1):void r.setCSS(r.swipeLeft))):void 0)},t.prototype.swipeStart=function(e){var t,i=this;return i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow?(i.touchObject={},!1):(void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==t?t.pageX:e.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==t?t.pageY:e.clientY,void(i.dragging=!0))},t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},t.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},t.prototype.updateArrows=function(){var e,t=this;e=Math.floor(t.options.slidesToShow/2),t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-t.options.slidesToShow&&t.options.centerMode===!1?(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-1&&t.options.centerMode===!0&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},t.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},t.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,i,o=this,n=arguments[0],s=Array.prototype.slice.call(arguments,1),r=o.length;for(e=0;eo.oldScroll,s=n?o.forward:o.backward;for(var r in this.waypoints[i]){var a=this.waypoints[i][r],l=o.oldScroll=a.triggerPoint,c=l&&d,p=!l&&!d;(c||p)&&(a.queueTrigger(s),e[a.group.id]=a.group)}}for(var u in e)e[u].flushTriggers();this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},t.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},t.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},t.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},t.prototype.destroy=function(){var e=[];for(var t in this.waypoints)for(var i in this.waypoints[t])e.push(this.waypoints[t][i]);for(var o=0,n=e.length;o-1&&(h=Math.ceil(r.contextDimension*h/100))),l=r.contextScroll-r.contextOffset,f.triggerPoint=v+l-h,d=m=r.oldScroll,p=d&&c,u=!d&&!c,!g&&p?(f.queueTrigger(r.backward),o[f.group.id]=f.group):!g&&u?(f.queueTrigger(r.forward),o[f.group.id]=f.group):g&&r.oldScroll>=f.triggerPoint&&(f.queueTrigger(r.forward),o[f.group.id]=f.group)}}return n.requestAnimationFrame(function(){for(var e in o)o[e].flushTriggers()}),this},t.findOrCreateByElement=function(e){return t.findByElement(e)||new t(e)},t.refreshAll=function(){for(var e in o)o[e].refresh()},t.findByElement=function(e){return o[e.waypointContextKey]},window.onload=function(){s&&s(),t.refreshAll()},n.requestAnimationFrame=function(t){var i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e;i.call(window,t)},n.Context=t}(),function(){"use strict";function e(e,t){return e.triggerPoint-t.triggerPoint}function t(e,t){return t.triggerPoint-e.triggerPoint}function i(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(e){this.waypoints.push(e)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?t:e);for(var s=0,r=o.length;s-1&&this.waypoints.splice(t,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(e){return o[e.axis][e.name]||new i(e)},n.Group=i}(),function(){"use strict";function e(e){return e===e.window}function t(t){return e(t)?t:t.defaultView}function i(e){this.element=e,this.handlers={}}var o=window.Waypoint;i.prototype.innerHeight=function(){var t=e(this.element);return t?this.element.innerHeight:this.element.clientHeight},i.prototype.innerWidth=function(){var t=e(this.element);return t?this.element.innerWidth:this.element.clientWidth},i.prototype.off=function(e,t){function i(e,t,i){for(var o=0,n=t.length-1;oa;)r.call(e,n=s[a++])&&t.push(n);return t}},{"./$":22}],10:[function(e,t,i){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],11:[function(e,t,i){var o={}.toString,n=e("./$.to-iobject"),s=e("./$").getNames,r="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return s(e)}catch(e){return r.slice()}};t.exports.get=function(e){return r&&"[object Window]"==o.call(e)?a(e):s(n(e))}},{"./$":22,"./$.to-iobject":30}],12:[function(e,t,i){var o=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=o)},{}],13:[function(e,t,i){var o={}.hasOwnProperty;t.exports=function(e,t){return o.call(e,t)}},{}],14:[function(e,t,i){var o=e("./$"),n=e("./$.property-desc");t.exports=e("./$.support-desc")?function(e,t,i){return o.setDesc(e,t,n(1,i))}:function(e,t,i){return e[t]=i,e}},{"./$":22,"./$.property-desc":25,"./$.support-desc":28}],15:[function(e,t,i){var o=e("./$.cof");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},{"./$.cof":5}],16:[function(e,t,i){var o=e("./$.cof");t.exports=Array.isArray||function(e){return"Array"==o(e)}},{"./$.cof":5}],17:[function(e,t,i){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],18:[function(e,t,i){"use strict";var o=e("./$"),n={};e("./$.hide")(n,e("./$.wks")("iterator"),function(){return this}),t.exports=function(t,i,s){t.prototype=o.create(n,{next:e("./$.property-desc")(1,s)}),e("./$.tag")(t,i+" Iterator")}},{"./$":22,"./$.hide":14,"./$.property-desc":25,"./$.tag":29,"./$.wks":33}],19:[function(e,t,i){"use strict";var o=e("./$.library"),n=e("./$.def"),s=e("./$.redef"),r=e("./$.hide"),a=e("./$.has"),l=e("./$.wks")("iterator"),d=e("./$.iterators"),c=!([].keys&&"next"in[].keys()),p="@@iterator",u="keys",f="values",h=function(){return this};t.exports=function(t,i,m,v,g,y,w){e("./$.iter-create")(m,i,v);var k,b,$=function(e){switch(e){case u:return function(){return new m(this,e)};case f:return function(){return new m(this,e)}}return function(){return new m(this,e)}},S=i+" Iterator",T=t.prototype,x=T[l]||T[p]||g&&T[g],C=x||$(g);if(x){var P=e("./$").getProto(C.call(new t));e("./$.tag")(P,S,!0),!o&&a(T,p)&&r(P,l,h)}if(o&&!w||r(T,l,C),d[i]=C,d[S]=h,g)if(k={values:g==f?C:$(f),keys:y?C:$(u),entries:g!=f?C:$("entries")},w)for(b in k)b in T||s(T,b,k[b]);else n(n.P+n.F*c,i,k)}},{"./$":22,"./$.def":7,"./$.has":13,"./$.hide":14,"./$.iter-create":18,"./$.iterators":21,"./$.library":24,"./$.redef":26,"./$.tag":29,"./$.wks":33}],20:[function(e,t,i){t.exports=function(e,t){return{value:t,done:!!e}}},{}],21:[function(e,t,i){t.exports={}},{}],22:[function(e,t,i){var o=Object;t.exports={create:o.create,getProto:o.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:o.getOwnPropertyDescriptor,setDesc:o.defineProperty,setDescs:o.defineProperties,getKeys:o.keys,getNames:o.getOwnPropertyNames,getSymbols:o.getOwnPropertySymbols,each:[].forEach}},{}],23:[function(e,t,i){var o=e("./$"),n=e("./$.to-iobject");t.exports=function(e,t){for(var i,s=n(e),r=o.getKeys(s),a=r.length,l=0;a>l;)if(s[i=r[l++]]===t)return i}},{"./$":22,"./$.to-iobject":30}],24:[function(e,t,i){t.exports=!1},{}],25:[function(e,t,i){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],26:[function(e,t,i){var o=e("./$.global"),n=e("./$.hide"),s=e("./$.uid")("src"),r="toString",a=Function[r],l=(""+a).split(r);e("./$.core").inspectSource=function(e){return a.call(e)},(t.exports=function(e,t,i,r){"function"==typeof i&&(i.hasOwnProperty(s)||n(i,s,e[t]?""+e[t]:l.join(String(t))),i.hasOwnProperty("name")||n(i,"name",t)),e===o?e[t]=i:(r||delete e[t],n(e,t,i))})(Function.prototype,r,function(){return"function"==typeof this&&this[s]||a.call(this)})},{"./$.core":6,"./$.global":12,"./$.hide":14,"./$.uid":31}],27:[function(e,t,i){var o=e("./$.global"),n="__core-js_shared__",s=o[n]||(o[n]={});t.exports=function(e){return s[e]||(s[e]={})}},{"./$.global":12}],28:[function(e,t,i){t.exports=!e("./$.fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./$.fails":10}],29:[function(e,t,i){var o=e("./$").setDesc,n=e("./$.has"),s=e("./$.wks")("toStringTag");t.exports=function(e,t,i){e&&!n(e=i?e:e.prototype,s)&&o(e,s,{configurable:!0,value:t})}},{"./$":22,"./$.has":13,"./$.wks":33}],30:[function(e,t,i){var o=e("./$.iobject"),n=e("./$.defined");t.exports=function(e){return o(n(e))}},{"./$.defined":8,"./$.iobject":15}],31:[function(e,t,i){var o=0,n=Math.random();t.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++o+n).toString(36))}},{}],32:[function(e,t,i){var o=e("./$.wks")("unscopables");void 0==[][o]&&e("./$.hide")(Array.prototype,o,{}),t.exports=function(e){[][o][e]=!0}},{"./$.hide":14,"./$.wks":33}],33:[function(e,t,i){var o=e("./$.shared")("wks"),n=e("./$.global").Symbol;t.exports=function(t){return o[t]||(o[t]=n&&n[t]||(n||e("./$.uid"))("Symbol."+t))}},{"./$.global":12,"./$.shared":27,"./$.uid":31}],34:[function(e,t,i){"use strict";var o=e("./$.unscope"),n=e("./$.iter-step"),s=e("./$.iterators"),r=e("./$.to-iobject");e("./$.iter-define")(Array,"Array",function(e,t){this._t=r(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,i=this._i++;return!e||i>=e.length?(this._t=void 0,n(1)):"keys"==t?n(0,i):"values"==t?n(0,e[i]):n(0,[i,e[i]])},"values"),s.Arguments=s.Array,o("keys"),o("values"),o("entries")},{"./$.iter-define":19,"./$.iter-step":20,"./$.iterators":21,"./$.to-iobject":30,"./$.unscope":32}],35:[function(e,t,i){var o=e("./$.def");o(o.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},{"./$.def":7}],36:[function(e,t,i){"use strict";var o=e("./$"),n=e("./$.global"),s=e("./$.has"),r=e("./$.support-desc"),a=e("./$.def"),l=e("./$.redef"),d=e("./$.fails"),c=e("./$.shared"),p=e("./$.tag"),u=e("./$.uid"),f=e("./$.wks"),h=e("./$.keyof"),m=e("./$.get-names"),v=e("./$.enum-keys"),g=e("./$.is-array"),y=e("./$.an-object"),w=e("./$.to-iobject"),k=e("./$.property-desc"),b=o.getDesc,$=o.setDesc,S=o.create,T=m.get,x=n.Symbol,C=n.JSON,P=C&&C.stringify,_=!1,A=f("_hidden"),j=o.isEnum,O=c("symbol-registry"),L=c("symbols"),E="function"==typeof x,z=Object.prototype,H=r&&d(function(){return 7!=S($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a})?function(e,t,i){var o=b(z,t);o&&delete z[t],$(e,t,i),o&&e!==z&&$(z,t,o)}:$,M=function(e){var t=L[e]=S(x.prototype);return t._k=e,r&&_&&H(z,e,{configurable:!0,set:function(t){s(this,A)&&s(this[A],e)&&(this[A][e]=!1),H(this,e,k(1,t))}}),t},I=function(e){return"symbol"==typeof e},F=function(e,t,i){return i&&s(L,t)?(i.enumerable?(s(e,A)&&e[A][t]&&(e[A][t]=!1),i=S(i,{enumerable:k(0,!1)})):(s(e,A)||$(e,A,k(1,{})),e[A][t]=!0),H(e,t,i)):$(e,t,i)},U=function(e,t){y(e);for(var i,o=v(t=w(t)),n=0,s=o.length;s>n;)F(e,i=o[n++],t[i]);return e},D=function(e,t){return void 0===t?S(e):U(S(e),t)},R=function(e){var t=j.call(this,e);return!(t||!s(this,e)||!s(L,e)||s(this,A)&&this[A][e])||t},W=function(e,t){var i=b(e=w(e),t);return!i||!s(L,t)||s(e,A)&&e[A][t]||(i.enumerable=!0),i},N=function(e){for(var t,i=T(w(e)),o=[],n=0;i.length>n;)s(L,t=i[n++])||t==A||o.push(t);return o},B=function(e){for(var t,i=T(w(e)),o=[],n=0;i.length>n;)s(L,t=i[n++])&&o.push(L[t]);return o},q=function(e){for(var t,i,o=[e],n=1,s=arguments;s.length>n;)o.push(s[n++]);return t=o[1],"function"==typeof t&&(i=t),!i&&g(t)||(t=function(e,t){if(i&&(t=i.call(this,e,t)),!I(t))return t}),o[1]=t,P.apply(C,o)},X=d(function(){var e=x();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))});E||(x=function(){if(I(this))throw TypeError("Symbol is not a constructor");return M(u(arguments.length>0?arguments[0]:void 0))},l(x.prototype,"toString",function(){return this._k}),I=function(e){return e instanceof x},o.create=D,o.isEnum=R,o.getDesc=W,o.setDesc=F,o.setDescs=U,o.getNames=m.get=N,o.getSymbols=B,r&&!e("./$.library")&&l(z,"propertyIsEnumerable",R,!0));var Y={for:function(e){return s(O,e+="")?O[e]:O[e]=x(e)},keyFor:function(e){return h(O,e)},useSetter:function(){_=!0},useSimple:function(){_=!1}};o.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(e){var t=f(e);Y[e]=E?t:M(t)}),_=!0,a(a.G+a.W,{Symbol:x}),a(a.S,"Symbol",Y),a(a.S+a.F*!E,"Object",{create:D,defineProperty:F,defineProperties:U,getOwnPropertyDescriptor:W,getOwnPropertyNames:N,getOwnPropertySymbols:B}),C&&a(a.S+a.F*(!E||X),"JSON",{stringify:q}),p(x,"Symbol"),p(Math,"Math",!0),p(n.JSON,"JSON",!0)},{"./$":22,"./$.an-object":4,"./$.def":7,"./$.enum-keys":9,"./$.fails":10,"./$.get-names":11,"./$.global":12,"./$.has":13,"./$.is-array":16,"./$.keyof":23,"./$.library":24,"./$.property-desc":25,"./$.redef":26,"./$.shared":27,"./$.support-desc":28,"./$.tag":29,"./$.to-iobject":30,"./$.uid":31,"./$.wks":33}],37:[function(e,t,i){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var r=function(){function e(e,t){for(var i=0;i=3?r=2:r<=-1&&(r=0),a>=3?a=2:a<=-1&&(a=0),[n[r],s[a]]}},{key:"_networkFacebook",value:function(e){return this.config.networks.facebook.loadSdk?window.FB?(this._updateHref(e,"https://www.facebook.com/sharer/sharer.php",{u:this.config.networks.facebook.url}),FB.ui({method:"feed",name:this.config.networks.facebook.title,link:this.config.networks.facebook.url,picture:this.config.networks.facebook.image,caption:this.config.networks.facebook.caption,description:this.config.networks.facebook.description})):console.error("The Facebook JS SDK hasn't loaded yet."):this._updateHref(e,"https://www.facebook.com/sharer/sharer.php",{u:this.config.networks.facebook.url})}},{key:"_networkTwitter",value:function(e){this._updateHref(e,"https://twitter.com/intent/tweet",{text:this.config.networks.twitter.description,url:this.config.networks.twitter.url})}},{key:"_networkGooglePlus",value:function(e){this._updateHref(e,"https://plus.google.com/share",{url:this.config.networks.googlePlus.url})}},{key:"_networkPinterest",value:function(e){this._updateHref(e,"https://www.pinterest.com/pin/create/button",{url:this.config.networks.pinterest.url,media:this.config.networks.pinterest.image,description:this.config.networks.pinterest.description})}},{key:"_networkLinkedin",value:function(e){this._updateHref(e,"https://www.linkedin.com/shareArticle",{mini:"true",url:this.config.networks.linkedin.url,title:this.config.networks.linkedin.title,summary:this.config.networks.linkedin.description})}},{key:"_networkEmail",value:function(e){this._updateHref(e,"mailto:",{subject:this.config.networks.email.title,body:this.config.networks.email.description})}},{key:"_networkReddit",value:function(e){this._updateHref(e,"http://www.reddit.com/submit",{url:this.config.networks.reddit.url,title:this.config.networks.reddit.title})}},{key:"_networkWhatsapp",value:function(e){this._updateHref(e,"whatsapp://send",{text:this.config.networks.whatsapp.description+" "+this.config.networks.whatsapp.url})}},{key:"_injectStylesheet",value:function(e){if(!this.el.head.querySelector("link[href='"+e+"']")){var t=document.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),this.el.head.appendChild(t)}}},{key:"_injectHtml",value:function(e){var t=this.config.ui.networkOrder,i="",o=!0,n=!1,s=void 0;try{for(var r,a=t[Symbol.iterator]();!(o=(r=a.next()).done);o=!0){var l=r.value;i+=" "}}catch(e){n=!0,s=e}finally{try{!o&&a.return&&a.return()}finally{if(n)throw s}}e.innerHTML=this.config.ui.buttonText+""}},{key:"_injectFacebookSdk",value:function(){if(!window.FB&&this.config.networks.facebook.appId&&!this.el.body.querySelector("#fb-root")){var e=document.createElement("script");e.text="window.fbAsyncInit=function(){FB.init({appId:'"+this.config.networks.facebook.appId+"',status:true,xfbml:true})};(function(e,t,n){var r,i=e.getElementsByTagName(t)[0];if (e.getElementById(n)){return}r=e.createElement(t);r.id=n;r.src='//connect.facebook.net/en_US/all.js';i.parentNode.insertBefore(r,i)})(document,'script','facebook-jssdk');";var t=document.createElement("div");t.id="fb-root",this.el.body.appendChild(t),this.el.body.appendChild(e)}}},{key:"_hook",value:function(e,t,i){var o=this.config.networks[t][e];if("function"==typeof o){var n=o.call(this.config.networks[t],i);void 0!==n&&(n=this._normalizeFilterConfigUpdates(n),this.extend(this.config.networks[t],n,!0),this._normalizeNetworkConfiguration())}}},{key:"_defaultTitle",value:function(){var e=void 0;return(e=document.querySelector('meta[property="og:title"]')||document.querySelector('meta[name="twitter:title"]'))?e.getAttribute("content"):(e=document.querySelector("title"))?e.textContent||e.innerText:void 0}},{key:"_defaultImage",value:function(){var e=void 0;if(e=document.querySelector('meta[property="og:image"]')||document.querySelector('meta[name="twitter:image"]'))return e.getAttribute("content")}},{key:"_defaultDescription",value:function(){var e=void 0;return(e=document.querySelector('meta[property="og:description"]')||document.querySelector('meta[name="twitter:description"]')||document.querySelector('meta[name="description"]'))?e.getAttribute("content"):""}},{key:"_detectNetworks",value:function(){var e=!0,t=!1,i=void 0;try{for(var o,n=Object.keys(this.config.networks)[Symbol.iterator]();!(e=(o=n.next()).done);e=!0){var s=o.value,r=!0,a=!1,l=void 0;try{for(var d,c=Object.keys(this.config.networks[s])[Symbol.iterator]();!(r=(d=c.next()).done);r=!0){var p=d.value;null===this.config.networks[s][p]&&(this.config.networks[s][p]=this.config[p])}}catch(e){a=!0,l=e}finally{try{!r&&c.return&&c.return();
}finally{if(a)throw l}}this.config.networks[s].enabled?(this.class="enabled",this.config.enabledNetworks+=1):this.class="disabled",this.config.networks[s].class=this.class}}catch(e){t=!0,i=e}finally{try{!e&&n.return&&n.return()}finally{if(t)throw i}}}},{key:"_normalizeNetworkConfiguration",value:function(){this.config.networks.facebook.appId||(this.config.networks.facebook.loadSdk=!1),this.config.networks.twitter.description&&(this._isEncoded(this.config.networks.twitter.description)||(this.config.networks.twitter.description=encodeURIComponent(this.config.networks.twitter.description))),"number"==typeof this.config.networks.facebook.appId&&(this.config.networks.facebook.appId=this.config.networks.facebook.appId.toString())}},{key:"_normalizeFilterConfigUpdates",value:function(e){return this.config.networks.facebook.appId!==e.appId&&(console.warn("You are unable to change the Facebook appId after the button has been initialized. Please update your Facebook filters accordingly."),delete e.appId),this.config.networks.facebook.loadSdk!==e.loadSdk&&(console.warn("You are unable to change the Facebook loadSdk option after the button has been initialized. Please update your Facebook filters accordingly."),delete e.appId),e}}]),t}(d.default);t.exports=c},{"./share-utils":38,"core-js/fn/array/iterator":1,"core-js/fn/math/trunc":2,"core-js/fn/symbol":3}],38:[function(e,t,i){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(i,"__esModule",{value:!0});var n=function(){function e(e,t){for(var i=0;i=0,n=e.getElementsByTagName("a")[0];if(n.setAttribute("href",this._getUrl(t,!o,i)),!(o||this.config.networks.facebook.loadSdk&&"facebook"===e.getAttribute("class"))){var s={width:500,height:350};s.top=screen.height/2-s.height/2,s.left=screen.width/2-s.width/2,window.open(n.href,"targetWindow","\n toolbar=no,\n location=no,\n status=no,\n menubar=no,\n scrollbars=yes,\n resizable=yes,\n left="+s.left+",\n top="+s.top+",\n width="+s.width+",\n height="+s.height+"\n ")}}},{key:"popup",value:function e(t){var i=this,o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],e={width:500,height:350};e.top=screen.height/2-e.height/2,e.left=screen.width/2-e.width/2;var n=function(){var e=[],t=!0,n=!1,s=void 0;try{for(var r,a=Object.keys(o)[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){var l=r.value,d=o[l];e.push(l+"="+i._encode(d))}}catch(e){n=!0,s=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw s}}return e.join("&")}();n&&(n="?"+n),window.open(t+n,"targetWindow","\n toolbar=no,\n location=no,\n status=no,\n menubar=no,\n scrollbars=yes,\n resizable=yes,\n left="+e.left+",\n top="+e.top+",\n width="+e.width+",\n height="+e.height+"\n ")}},{key:"_merge",value:function(e){function t(t,i){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e,t){"object"!=typeof e&&(e={});for(var i in t)if(t.hasOwnProperty(i)){var o=t[i];if("object"==typeof o){e[i]=this._merge(e[i],o);continue}e[i]=o}for(var n=2,s=arguments.length;ne&&(t=1,i.push(o),o=[]),o.push(n)}),i.push(o);for(var r=0,a=i.length;rr?r:i,(void 0===o||o>i)&&(t=a),r=0}return t},m=function(e,t){return window.getComputedStyle(e,null).getPropertyValue(t)},v=function(){for(var e=s.rows,t=0,i=0,o=0,n=e.length;ot[n+1]){var s=t[n];t[n]=t[n+1],t[n+1]=s}return t},k=function(e){return document.querySelector(e)},b=function(e){for(var t=document.querySelectorAll(e),i=[],o=t.length-1;o>=0;o--)null!==t[o].offsetParent&&i.unshift(t[o]);return i},$=function(e,t){for(var i=0,o=e.length;i=i&&"function"==typeof t&&t()},T=function(){$(s.container.children,function(e,t){t.removeAttribute("style")}),s.container.removeAttribute("style"),window.removeEventListener("resize",g)},x=function(e,t){var n=b("img");i=n.length-1,o=0,$(n,function(n,s){return s.complete?(o++,void S(e,t)):(s.addEventListener("load",function(){o++,S(e,t)}),void s.addEventListener("error",function(){i--,S(e,t)}))})};return t.init=function(t){if(t.container&&(s.container=k(t.container),s.container))return delete t.container,s.options=e(n,t),window.addEventListener("resize",g),s.container.style.position="relative",s.elements=s.container.children,s.options.waitForImages?void x(null,function(){g()}):(g(),void x(function(){g()}))},t.recalculate=g,t.onImageLoad=x,t.remove=T,t}),!function(e,t,i){"undefined"!=typeof module&&module.exports?module.exports=i():"function"==typeof define&&define.amd?define(t,i):e[t]=i()}(this,"bowser",function(){function e(e){function t(t){var i=e.match(t);return i&&i.length>1&&i[1]||""}function i(t){var i=e.match(t);return i&&i.length>1&&i[2]||""}var o,n=t(/(ipod|iphone|ipad)/i).toLowerCase(),s=/like android/i.test(e),a=!s&&/android/i.test(e),l=/nexus\s*[0-6]\s*/i.test(e),d=!l&&/nexus\s*[0-9]+/i.test(e),c=/CrOS/.test(e),p=/silk/i.test(e),u=/sailfish/i.test(e),f=/tizen/i.test(e),h=/(web|hpw)os/i.test(e),m=/windows phone/i.test(e),v=(/SamsungBrowser/i.test(e),!m&&/windows/i.test(e)),g=!n&&!p&&/macintosh/i.test(e),y=!a&&!u&&!f&&!h&&/linux/i.test(e),w=t(/edge\/(\d+(\.\d+)?)/i),k=t(/version\/(\d+(\.\d+)?)/i),b=/tablet/i.test(e),$=!b&&/[^-]mobi/i.test(e),S=/xbox/i.test(e);/opera/i.test(e)?o={name:"Opera",opera:r,version:k||t(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr|opios/i.test(e)?o={name:"Opera",opera:r,version:t(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||k}:/SamsungBrowser/i.test(e)?o={name:"Samsung Internet for Android",samsungBrowser:r,version:k||t(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(e)?o={name:"Opera Coast",coast:r,version:k||t(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(e)?o={name:"Yandex Browser",yandexbrowser:r,version:k||t(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(e)?o={name:"UC Browser",ucbrowser:r,version:t(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(e)?o={name:"Maxthon",maxthon:r,version:t(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(e)?o={name:"Epiphany",epiphany:r,version:t(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(e)?o={name:"Puffin",puffin:r,version:t(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(e)?o={name:"Sleipnir",sleipnir:r,version:t(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(e)?o={name:"K-Meleon",kMeleon:r,version:t(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:m?(o={name:"Windows Phone",windowsphone:r},w?(o.msedge=r,o.version=w):(o.msie=r,o.version=t(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(e)?o={name:"Internet Explorer",msie:r,version:t(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:c?o={name:"Chrome",chromeos:r,chromeBook:r,chrome:r,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/chrome.+? edge/i.test(e)?o={name:"Microsoft Edge",msedge:r,version:w}:/vivaldi/i.test(e)?o={name:"Vivaldi",vivaldi:r,version:t(/vivaldi\/(\d+(\.\d+)?)/i)||k}:u?o={name:"Sailfish",sailfish:r,version:t(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(e)?o={name:"SeaMonkey",seamonkey:r,version:t(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(e)?(o={name:"Firefox",firefox:r,version:t(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(e)&&(o.firefoxos=r)):p?o={name:"Amazon Silk",silk:r,version:t(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(e)?o={name:"PhantomJS",phantom:r,version:t(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(e)?o={name:"SlimerJS",slimer:r,version:t(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(e)||/rim\stablet/i.test(e)?o={name:"BlackBerry",blackberry:r,version:k||t(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:h?(o={name:"WebOS",webos:r,version:k||t(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(e)&&(o.touchpad=r)):/bada/i.test(e)?o={name:"Bada",bada:r,version:t(/dolfin\/(\d+(\.\d+)?)/i)}:f?o={name:"Tizen",tizen:r,version:t(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||k}:/qupzilla/i.test(e)?o={name:"QupZilla",qupzilla:r,version:t(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||k}:/chromium/i.test(e)?o={name:"Chromium",chromium:r,version:t(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||k}:/chrome|crios|crmo/i.test(e)?o={name:"Chrome",chrome:r,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:a?o={name:"Android",version:k}:/safari|applewebkit/i.test(e)?(o={name:"Safari",safari:r},k&&(o.version=k)):n?(o={name:"iphone"==n?"iPhone":"ipad"==n?"iPad":"iPod"},k&&(o.version=k)):o=/googlebot/i.test(e)?{name:"Googlebot",googlebot:r,version:t(/googlebot\/(\d+(\.\d+))/i)||k}:{name:t(/^(.*)\/(.*) /),version:i(/^(.*)\/(.*) /)},!o.msedge&&/(apple)?webkit/i.test(e)?(/(apple)?webkit\/537\.36/i.test(e)?(o.name=o.name||"Blink",o.blink=r):(o.name=o.name||"Webkit",o.webkit=r),!o.version&&k&&(o.version=k)):!o.opera&&/gecko\//i.test(e)&&(o.name=o.name||"Gecko",o.gecko=r,o.version=o.version||t(/gecko\/(\d+(\.\d+)?)/i)),o.windowsphone||o.msedge||!a&&!o.silk?o.windowsphone||o.msedge||!n?g?o.mac=r:S?o.xbox=r:v?o.windows=r:y&&(o.linux=r):(o[n]=r,o.ios=r):o.android=r;var T="";o.windowsphone?T=t(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):n?(T=t(/os (\d+([_\s]\d+)*) like mac os x/i),T=T.replace(/[_\s]/g,".")):a?T=t(/android[ \/-](\d+(\.\d+)*)/i):o.webos?T=t(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):o.blackberry?T=t(/rim\stablet\sos\s(\d+(\.\d+)*)/i):o.bada?T=t(/bada\/(\d+(\.\d+)*)/i):o.tizen&&(T=t(/tizen[\/\s](\d+(\.\d+)*)/i)),T&&(o.osversion=T);var x=T.split(".")[0];return b||d||"ipad"==n||a&&(3==x||x>=4&&!$)||o.silk?o.tablet=r:($||"iphone"==n||"ipod"==n||a||l||o.blackberry||o.webos||o.bada)&&(o.mobile=r),o.msedge||o.msie&&o.version>=10||o.yandexbrowser&&o.version>=15||o.vivaldi&&o.version>=1||o.chrome&&o.version>=20||o.samsungBrowser&&o.version>=4||o.firefox&&o.version>=20||o.safari&&o.version>=6||o.opera&&o.version>=10||o.ios&&o.osversion&&o.osversion.split(".")[0]>=6||o.blackberry&&o.version>=10.1||o.chromium&&o.version>=20?o.a=r:o.msie&&o.version<10||o.chrome&&o.version<20||o.firefox&&o.version<20||o.safari&&o.version<6||o.opera&&o.version<10||o.ios&&o.osversion&&o.osversion.split(".")[0]<6||o.chromium&&o.version<20?o.c=r:o.x=r,o}function t(e){return e.split(".").length}function i(e,t){var i,o=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(i=0;i=0;){if(n[0][o]>n[1][o])return 1;if(n[0][o]!==n[1][o])return-1;if(0===o)return 0}}function n(t,i,n){var s=a;"string"==typeof i&&(n=i,i=void 0),void 0===i&&(i=!1),n&&(s=e(n));var r=""+s.version;for(var l in t)if(t.hasOwnProperty(l)&&s[l]){if("string"!=typeof t[l])throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(t));return o([r,t[l]])<0}return i}function s(e,t,i){return!n(e,t,i)}var r=!0,a=e("undefined"!=typeof navigator?navigator.userAgent||"":"");return a.test=function(e){for(var t=0;t