var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); !function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){n(1),n(3),n(117),e.exports=n(119)},function(e,t,n){var o=n(2);Y.use("node",function(e){window.Singleton.create({ready:function(){if(e.one(".collection-type-index")){if(window.innerWidth<=640)return!1;this.initializer(),this.bindUI(),this.syncUI()}},initializer:function(){return this.el=e.one(".show-on-scroll"),this.el?(this.elOffset=e.one(this.el.getData("offset-el")),this.offsetBehavior=this.el.getData("offset-behavior")||"top",this.elOffset?(e.one("body").prepend(e.Node.create('
')),this.wrapper=e.one("#showOnScrollWrapper"),this.wrapper.setHTML(this.el._node.outerHTML),void 0):void console.warn("No show on scroll offset element found.")):void console.warn("No show on scroll element found.")},bindUI:function(){this.scrollEvents(),e.one(window).on("resize",function(){this.syncUI()},this)},syncUI:function(){this.getVariables()},getVariables:function(){"bottom"===this.offsetBehavior?this.navShowPosition=this.elOffset.getY()+this.elOffset.get("offsetHeight"):this.navShowPosition=this.elOffset.getY()},scrollEvents:function(){this.scrolling=!1,e.one(window).on("scroll",function(){this.scrolling===!1&&(this.scrolling=!0,this.scrollLogic(),o(function(){this.scrolling=!1},300,this))},this)},scrollLogic:function(){window.pageYOffset>this.navShowPosition?this.wrapper.addClass("show"):this.wrapper.removeClass("show"),e.later(100,this,function(){this.scrolling===!0&&window.requestAnimationFrame(e.bind(function(){this.scrollLogic()},this))})}})})},function(e,t){function n(e,t,n){t=t||100,n=n||window,e&&(o&&o.cancel(),o=Y.later(t,n,e))}var o;e.exports=n},function(e,t,n){var o=n(4),r=n(2),i=n(5).VideoBackground,a=n(5).getVideoProps;Y.use(["node","squarespace-gallery-ng"],function(e){window.Singleton.create({ready:function(){this.resetGalleryPosition(),e.one(".collection-type-index")&&this.resetIndexGalleryPosition(),e.one(".collection-type-blog.view-list .sqs-featured-posts-gallery")&&e.one("body").addClass("has-banner-image"),this.init(),this.bindUI(),this.syncUI()},init:function(){if(this.setupUserAccountLinks(),this.forceMobileNav(),this.promotedGalleryShrink(),e.one(".has-promoted-gallery")?(this.textShrink(".meta-description p > strong","p"),this.textShrink(".meta-description p > em > strong","p")):(this.textShrink(".desc-wrapper p > strong","p"),this.textShrink(".desc-wrapper p > em > strong","p")),this.textShrink(".post-title a",".post-title"),this.textShrink(".blog-item-wrapper .post-title",".title-desc-wrapper"),this._touch=e.one(".touch-styles"),e.one(".collection-type-blog.view-list .sqs-featured-posts-gallery")&&this.makeFeaturedGallery(".posts",".post"),this.hideArrowsWhenOneSlide(),this.repositionCartButton(),!this._touch){var t=e.one("#preFooter");t.inViewportRegion()===!1&&t.addClass("unscrolled"),e.one(window).on("scroll",function(){t.hasClass("unscrolled")&&t.toggleClass("unscrolled",!t.inViewportRegion())})}var n=Array.prototype.slice.call(document.body.querySelectorAll("div.sqs-video-background"));n.map(function(e){var t=a(e);t.useCustomFallbackImage=!0,new i(t)})},setupUserAccountLinks:function(){e.all(".user-account-link").each(function(e){var t=o.isUserAuthenticated()?".unauth":".auth",n=e.one(t);n.remove(),e.on("click",function(e){e.preventDefault(),o.openAccountScreen()})})},bindUI:function(){e.one(window).on("resize",this.syncUI,this),e.all(".mobile-nav-toggle, .body-overlay").each(function(t){t.on("click",function(){e.one("body").toggleClass("mobile-nav-open")})});var t=e.throttle(e.bind(function(){this.bindScroll("#preFooter",.6*e.one("#preFooter").height())},this),200);this._touch||e.one(window).on("scroll",t),e.all(".subnav").each(function(t){var n=t._node.getBoundingClientRect();n.right>e.config.win.innerWidth&&t.addClass("right")});var n='#sidecarNav a[href^="#"], #sidecarNav a[href^="/#"], #sidecarNav a[href^="/"][href*="#"]';e.all(n).each(function(t){t.on("click",function(t){e.one("body").removeClass("mobile-nav-open")},this)},this),this.showIndexNavOnScroll(),this.disableHoverOnScroll()},syncUI:function(){this.forceMobileNav(),r(function(){this.addPaddingToFooter()},100,this)},bindScroll:function(t,n){var o;if(o||(o=e.one(t+".unscrolled")),o){var r=window.pageYOffset+e.one("body").get("winHeight"),i=o.getY()+(n||0);r>=i&&o.removeClass("unscrolled")}},_atLeast:0,forceMobileNav:function(){var t=e.one("#mainNavWrapper");if(t){var n,o,r,i=e.one("body").get("winWidth"),a=e.one("#header");r=e.one("#logoWrapper")?parseInt(e.Squarespace.Template.getTweakValue("logoContainerWidth"),10):parseInt(e.Squarespace.Template.getTweakValue("siteTitleContainerWidth"),10),i>this._atLeast?(e.one("body").removeClass("force-mobile-nav"),n=a.get("offsetWidth")-parseInt(a.getStyle("paddingLeft"),10)-parseInt(a.getStyle("paddingRight"),10),o=t.get("offsetWidth"),o>n-r&&(e.one("body").addClass("force-mobile-nav"),this._atLeast=i)):e.one("body").addClass("force-mobile-nav")}},makeFeaturedGallery:function(t,n){new e.Squarespace.Gallery2({autoHeight:!1,container:t,slides:n,elements:{next:".next-slide, .simple .next, .sqs-gallery-controls .next",previous:".previous-slide, .simple .previous, .sqs-gallery-controls .previous",controls:".dots, .circles",currentIndex:".current-index",totalSlides:".total-slides"},loop:!0,loaderOptions:{load:!0},design:"stacked",designOptions:{transition:"fade",clickBehavior:"auto"},refreshOnResize:!0})},promotedGalleryShrink:function(){var t,n,o,r=".has-promoted-gallery #promotedGalleryWrapper .meta";e.one(r)&&(t=e.one("#promotedGalleryWrapper").get("offsetHeight"),e.one(".transparent-header")&&(t-=90),e.all(r).each(function(e){e.setStyle("display","block"),n=e.get("offsetHeight"),n>t&&(o=e.ancestor(".slide"),o.addClass("reduce-text-size"),n=e.get("offsetHeight"),n>t&&(o.removeClass("reduce-text-size"),o.addClass("hide-body-text"),n=e.get("offsetHeight"),n>t&&o.addClass("reduce-text-size"))),e.setAttribute("style","")}))},textShrink:function(t,n){e.one(t)&&e.one(t).ancestor(n)&&e.all(t).each(function(t){t.plug(e.Squarespace.TextShrink,{parentEl:t.ancestor(n)})})},resetIndexGalleryPosition:function(){var t=".collection-type-index .index-section .sqs-layout > .sqs-row:first-child > .sqs-col-12 > .gallery-block:first-child .sqs-gallery-block-slideshow",n=".collection-type-index .index-section .promoted-gallery-wrapper ~ .index-section-wrapper .sqs-layout > .sqs-row:first-child > .sqs-col-12 > .gallery-block:first-child",o=e.one(".collection-type-index .index-section:first-child .sqs-layout > .sqs-row:first-child > .sqs-col-12 > .gallery-block:first-child .sqs-gallery-block-slideshow");o&&e.one("body").addClass("has-banner-image"),e.one(t)&&(e.one("body").addClass("has-promoted-gallery"),e.all(n).each(function(e){e.one(".sqs-gallery-block-slideshow")&&e.ancestor(".index-section-wrapper").previous(".promoted-gallery-wrapper").addClass("promoted-full").append(e)}))},resetGalleryPosition:function(){var t=e.one(".collection-type-page .main-content .sqs-layout > .sqs-row:first-child > .sqs-col-12 > .gallery-block:first-child .sqs-gallery-block-slideshow"),n=e.one(".collection-type-page .main-content .sqs-layout > .sqs-row:first-child > .sqs-col-12 > .gallery-block:first-child");t&&(e.one("#promotedGalleryWrapper .row .col").append(n),e.one("body").addClass("has-promoted-gallery").addClass("has-banner-image"))},hideArrowsWhenOneSlide:function(){e.one(".posts .post:only-child")&&e.all(".circles").addClass("hidden")},repositionCartButton:function(){var t=e.one("#header").get("offsetHeight"),n=e.one(".sqs-cart-dropzone");n&&(e.one(".transparent-header.has-banner-image")?n.setStyle("top",t):n.setStyle("top",t+20))},showIndexNavOnScroll:function(){var t,n=function(){if(e.one(".index-section")){var n=e.one(".index-section").getDOMNode();t=n.getBoundingClientRect().bottom+window.pageYOffset}};if(n(),e.one(".collection-type-index")&&window.innerWidth<=640){var o=function(){t-window.pageYOffset<=0?e.one("body").addClass("fix-header-nav"):e.one("body").removeClass("fix-header-nav")};e.one(window).on("resize",function(){n()}),o(),e.one(window).on("scroll",function(){o()},this),e.one(".mobile-nav-toggle.fixed-nav-toggle").on("click",function(){e.one("body").hasClass("fix-header-nav")&&e.one("body").removeClass("fix-header-nav")}),e.one(window).on(["touchstart","MSPointerDown"],function(){this._timeout&&this._timeout.cancel(),this.isHidden=!0,this.isHidden===!0&&(e.one(".mobile-nav-toggle.fixed-nav-toggle").setStyle("opacity",1),this.isHidden=!1)},this),e.one(window).on(["touchend","MSPointerUp"],function(){this._timeout=e.later(1500,this,function(){this.isHidden=!0,e.one(".mobile-nav-toggle.fixed-nav-toggle").setStyle("opacity",0)})},this)}},addPaddingToFooter:function(){var t=parseInt(e.one("#footer").getStyle("paddingBottom"),10),n=e.one("#siteWrapper").get("offsetHeight"),o=e.one("body").get("winHeight");n-t<=o&&e.one("#footer").setStyle("paddingBottom",o-(n-t))},disableHoverOnScroll:function(){if(e.UA.mobile)return!1;var t,n=".disable-hover:not(.sqs-layout-editing), .disable-hover:not(.sqs-layout-editing) * { pointer-events: none ; }",o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style"),i=document.body;r.type="text/css",r.styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o.appendChild(r),window.addEventListener("scroll",function(){clearTimeout(t),i.classList.contains("disable-hover")||i.classList.add("disable-hover"),t=setTimeout(function(){i.classList.remove("disable-hover")},300)},!1)}})})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});/** * @license * Copyright 2016 Squarespace, INC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ var n="UserAccounts API not available",o=window.UserAccountApi,r=function(){console.warn(n)},i=o?o.isUserAuthenticated:r,a=o?o.openAccountScreen:r;t.default={isUserAuthenticated:i,openAccountScreen:a},e.exports=t.default},function(e,t,n){var o=n(6).VideoBackground,r=n(116);e.exports={VideoBackground:o,getVideoProps:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.videoAutoplayTest=t.VideoFilterPropertyValues=t.VideoBackground=void 0,n(7);var o=n(8);t.VideoBackground=o.VideoBackground,t.VideoFilterPropertyValues=o.VideoFilterPropertyValues,t.videoAutoplayTest=o.videoAutoplayTest},function(e,t){!function(){function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}return"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,void(window.CustomEvent=e))}()},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.videoAutoplayTest=t.VideoFilterPropertyValues=t.VideoBackground=void 0;var r=n(9),i=o(r),a=n(115),s=n(92),c=o(s);t.VideoBackground=i.default,t.VideoFilterPropertyValues=a.filterProperties,t.videoAutoplayTest=c.default},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),i=o(r),a=n(77),s=o(a),c=n(79),l=o(c),u=n(83),f=o(u),d=n(84),A=o(d),h=n(88),p=o(h),y=n(92),v=o(y),g=!0,m=!1,b={container:".background-wrapper",url:"https://youtu.be/xkEmYQvJ_68",fitMode:"fill",maxLoops:"",scaleFactor:1,playbackSpeed:1,filter:1,filterStrength:50,timeCode:{start:0,end:null},useCustomFallbackImage:!0,DEBUG_VERBOSE:m},w=n(115).filterOptions,x=n(115).filterProperties,S=/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]{11}).*/,E=/^.*(vimeo\.com\/)([0-9]{7,}(#t\=.*s)?)/,T=function(){function e(t){var n=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;(0,f.default)(this,e),this.windowContext=o,this.events=[],this.initializeProperties(t),(0,v.default)().then(function(e){n.logger(e),n.canAutoPlay=!0},function(e){n.logger(e),n.canAutoPlay=!1,n.container.classList.add("mobile"),n.logger("added mobile")}).then(function(e){n.logger(e),n.setDisplayEffects(),n.setFallbackImage(),n.callVideoAPI(),n.bindUI(),g===!0&&(window.vdbg=n,n.debugInterval=setInterval(function(){n.player.getCurrentTime&&n.logger((n.player.getCurrentTime()/n.player.getDuration()).toFixed(2))},900))})}return(0,A.default)(e,[{key:"destroy",value:function(){this.events&&this.events.forEach(function(e){return e.target.removeEventListener(e.type,e.handler,!0)}),this.events=null,this.player&&"function"==typeof this.player.destroy&&(this.player.iframe.classList.remove("ready"),clearTimeout(this.player.playTimeout),this.player.playTimeout=null,this.player.destroy(),this.player={}),"number"==typeof this.timer&&(clearTimeout(this.timer),this.timer=null),"number"==typeof this.debugInterval&&(clearInterval(this.debugInterval),this.debugInterval=null)}},{key:"bindUI",value:function(){var e=this,t="undefined"==typeof window.orientation?"resize":"orientationchange",n=function(){"resize"===t&&e.player.iframe?e.windowContext.requestAnimationFrame(function(){e.scaleVideo()}):e.setFallbackImage()};this.events.push({target:this.windowContext,type:"resize",handler:n}),this.windowContext.addEventListener(t,n,!0)}},{key:"initializeProperties",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e=(0,l.default)({},b,e),1===e.container.nodeType)this.container=e.container;else{if("string"!=typeof e.container)return console.error("Container "+e.container+" not found"),!1;this.container=document.querySelector(e.container)}this.videoId=this.getVideoID(e.url),this.filter=e.filter,this.filterStrength=e.filterStrength,this.useCustomFallbackImage=e.useCustomFallbackImage,this.fitMode=e.fitMode,this.maxLoops=parseInt(e.maxLoops,10)||null,this.scaleFactor=e.scaleFactor,this.playbackSpeed=0===parseFloat(e.playbackSpeed)?1:parseFloat(e.playbackSpeed),this.timeCode={start:this._getStartTime(e.url)||e.timeCode.start,end:e.timeCode.end},this.player={},this.currentLoop=0,this.DEBUG_VERBOSE=e.DEBUG_VERBOSE}},{key:"getVideoID",value:function(e){e||(e=b.url);var t=e.match(S);return t&&t[2].length?(this.videoSource="youtube",t[2]):(t=e.match(E),t&&t[2].length?(this.videoSource="vimeo",t[2]):"")}},{key:"setFallbackImage",value:function(){if(this.useCustomFallbackImage&&this.windowContext.ImageLoader){var e=this.container.querySelector("img[data-src]");if(!e)return;e.addEventListener("load",function(){e.classList.add("loaded")}),this.windowContext.ImageLoader.load(e,{load:!0})}}},{key:"callVideoAPI",value:function(){"youtube"===this.videoSource&&this.initializeYouTubeAPI(),"vimeo"===this.videoSource&&this.initializeVimeoAPI()}},{key:"initializeYouTubeAPI",value:function(){var e=this;if(this.canAutoPlay){if(this.windowContext.document.documentElement.querySelector('script[src*="www.youtube.com/iframe_api"].loaded'))return void this.setVideoPlayer();this.player.ready=!1;var t=this.windowContext.document.createElement("script");t.src="https://www.youtube.com/iframe_api";var n=this.windowContext.document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n),t.addEventListener("load",function(t){t.currentTarget.classList.add("loaded"),e.setVideoPlayer()},!0)}}},{key:"initializeVimeoAPI",value:function(){this.canAutoPlay&&this.setVideoPlayer()}},{key:"setVideoPlayer",value:function(){if(this.player.ready)try{this.player.destroy(),this.player.ready=!1}catch(e){}"youtube"===this.videoSource?this.initializeYouTubePlayer():"vimeo"===this.videoSource&&this.initializeVimeoPlayer()}},{key:"initializeYouTubePlayer",value:function(){var e=this,t=null;if(1!==this.windowContext.YT.loaded)return setTimeout(this.setVideoPlayer.bind(this),100),!1;var n=function(t){var n=e.player;n.iframe=n.getIframe(),n.iframe.classList.add("background-video"),e.syncPlayer(),n.mute();var o=new CustomEvent("ready");e.container.dispatchEvent(o),document.body.classList.add("ready"),n.ready=!0,e.timeCode.start>=n.getDuration()&&(e.timeCode.start=0),n.seekTo(e.timeCode.start),n.playVideo(),e.logger("playing")},o=function(n){var o=e.player,r=o.getIframe(),i=(o.getDuration()-e.timeCode.start)/e.playbackSpeed,a=function n(){if(null===t){if(o.getCurrentTime()+.1>=o.getDuration()){if(e.maxLoops&&(e.currentLoop++,e.currentLoop>e.maxLoops))return o.pauseVideo(),void(e.currentLoop=0);t=o.getCurrentTime(),o.pauseVideo(),o.seekTo(e.timeCode.start)}}else o.getCurrentTime()i- -.1)?(e.logger("BUFFERING"),e.autoPlayTestTimeout()):n.data===e.windowContext.YT.PlayerState.PLAYING?(null!==e.player.playTimeout&&(clearTimeout(e.player.playTimeout),e.player.playTimeout=null),e.canAutoPlay||(e.canAutoPlay=!0,e.container.classList.remove("mobile")),e.logger("PLAYING"),r.classList.add("ready"),requestAnimationFrame(a.bind(e))):n.data===e.windowContext.YT.PlayerState.ENDED&&o.playVideo()},r=this.container.querySelector("#player");r||(r=document.createElement("div"),r.id="player",this.container.appendChild(r)),this.player=new this.windowContext.YT.Player(r,{height:"315",width:"560",videoId:this.videoId,playerVars:{autohide:1,autoplay:0,controls:0,enablejsapi:1,iv_load_policy:3,loop:0,modestbranding:1,playsinline:1,rel:0,showinfo:0,wmode:"opaque"},events:{onReady:function(e){n(e)},onStateChange:function(e){o(e)}}})}},{key:"initializeVimeoPlayer",value:function(){var e=this,t=this.windowContext.document.createElement("iframe");t.id="vimeoplayer",t.classList.add("background-video");var n="&background=1";t.src="https://player.vimeo.com/video/"+this.videoId+"?api=1"+n,this.container.appendChild(t),this.player.iframe=t;var o=this.player,r="*",i=function(t,n){var o={method:t};n&&(o.value=n);var i=(0,s.default)(o);e.windowContext.eval("(function(ctx){ ctx.player.iframe.contentWindow.postMessage("+i+", "+(0,s.default)(r)+"); })")(e)};o.postMessageManager=i;var a=function(){if(o.dimensions.width&&o.dimensions.height&&o.duration){e.syncPlayer();var t=new CustomEvent("ready");e.container.dispatchEvent(t),document.body.classList.add("ready"),i("setVolume","0"),i("setLoop","true"),i("seekTo",e.timeCode.start),i("play"),i("addEventListener","playProgress")}},c=function(){o.dimensions={},i("getDuration"),i("getVideoHeight"),i("getVideoWidth")},l=function(){clearTimeout(o.playTimeout),i("getVideoHeight"),i("getVideoWidth"),o.playTimeout=null,o.ready=!0,o.iframe.classList.add("ready"),e.canAutoPlay||(e.canAutoPlay=!0,e.container.classList.remove("mobile"))},u=function(t){if(!/^https?:\/\/player.vimeo.com/.test(t.origin))return!1;r=t.origin;var n=t.data;switch("string"==typeof n&&(n=JSON.parse(n)),e.logger(n),n.event){case"ready":c();break;case"playProgress":case"timeupdate":i("setVolume","0"),null!==o.playTimeout&&l(),n.data.percent>=.98&&e.timeCode.start>0&&i("seekTo",e.timeCode.start)}switch(n.method){case"getVideoHeight":o.dimensions.height=n.value,a();break;case"getVideoWidth":o.dimensions.width=n.value,a();break;case"getDuration":o.duration=n.value,e.timeCode.start>=o.duration&&(e.timeCode.start=0),a()}},f=function(e){u(e)};this.windowContext.addEventListener("message",f,!1),this.autoPlayTestTimeout(),o.destroy=function(){e.windowContext.removeEventListener("message",f),o.iframe.parentElement&&o.iframe.parentElement.removeChild(o.iframe)}}},{key:"scaleVideo",value:function(e){var t=e||this.scaleFactor,n=this.player.iframe,o=this._findPlayerDimensions();if("fill"!==this.fitMode)return n.style.width="",n.style.height="",!1;var r=n.parentNode.clientWidth,i=n.parentNode.clientHeight,a=r/i,s=o.width/o.height,c=0,l=0;a>s?(c=r*t,l=r*t/s,n.style.width=c+"px",n.style.height=l+"px"):s>a?(c=i*t*s,l=i*t,n.style.width=c+"px",n.style.height=l+"px"):(c=r*t,l=i*t,n.style.width=c+"px",n.style.height=l+"px"),n.style.left=0-(c-r)/2+"px",n.style.top=0-(l-i)/2+"px"}},{key:"setSpeed",value:function(e){this.playbackSpeed=parseFloat(this.playbackSpeed),this.player.setPlaybackRate(this.playbackSpeed)}},{key:"setDisplayEffects",value:function(){this.setFilter()}},{key:"setFilter",value:function(){var e=this.container.style,t=w[this.filter-1],n="";"none"!==t&&(n=this.getFilterStyle(t,this.filterStrength)),"blur"===t?(e.webkitFilter="",e.filter="",this.container.classList.add("filter-blur"),Array.prototype.slice.call(this.container.children).forEach(function(e){e.style.webkitFilter=n,e.style.filter=n})):(e.webkitFilter=n,e.filter=n,this.container.classList.remove("filter-blur"),Array.prototype.slice.call(this.container.children).forEach(function(e){e.style.webkitFilter="",e.style.filter=""}))}},{key:"getFilterStyle",value:function(e,t){return e+"("+(x[e].modifier(t)+x[e].unit)+")"}},{key:"_findPlayerDimensions",value:function(){var e=void 0,t=void 0,n=this.player;if("youtube"===this.videoSource&&n)for(var o in n){var r=n[o];if("object"===("undefined"==typeof r?"undefined":(0,i.default)(r))&&r.width&&r.height){e=r.width,t=r.height;break}}else"vimeo"===this.videoSource&&n&&(n.dimensions?(e=n.dimensions.width,t=n.dimensions.height):n.iframe&&(e=n.iframe.clientWidth,t=n.iframe.clientHeight));return e&&t||(e=this.container.clientWidth,t=this.container.clientHeight,console.warn("Video player dimensions not found.")),{width:e,height:t}}},{key:"_getStartTime",value:function(e){var t=new p.default(e,!0),n=this._getTimeParameter(t);if(!n)return!1;var o=/[hms]/,r=/[#t=s]/,i=void 0;switch(this.videoSource){case"youtube":i=n.split(o).filter(Boolean);break;case"vimeo":i=n.split(r).filter(Boolean)}var a=parseInt(i.pop(),10)||0,s=60*parseInt(i.pop(),10)||0,c=3600*parseInt(i.pop(),10)||0;return c+s+a}},{key:"_getTimeParameter",value:function(e){if("youtube"===this.videoSource&&(!e.query||!e.query.t)||"vimeo"===this.videoSource&&!e.hash)return!1;var t=void 0;return"youtube"===this.videoSource?t=e.query.t:"vimeo"===this.videoSource&&(t=e.hash),t}},{key:"autoPlayTestTimeout",value:function(){var e=this;this.player.playTimeout=setTimeout(function(){e.canAutoPlay=!1,e.container.classList.add("mobile"),e.logger("added mobile")},2500)}},{key:"syncPlayer",value:function(){this.setDisplayEffects(),"youtube"===this.videoSource&&this.setSpeed(),this.scaleVideo()}},{key:"logger",value:function(e){g&&this.DEBUG_VERBOSE&&console.log(e)}}]),e}();t.default=T},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(11),i=o(r),a=n(62),s=o(a),c="function"==typeof s.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===c(i.default)?function(e){return"undefined"==typeof e?"undefined":c(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"==typeof e?"undefined":c(e)}},function(e,t,n){e.exports={default:n(12),__esModule:!0}},function(e,t,n){n(13),n(57),e.exports=n(61).f("iterator")},function(e,t,n){"use strict";var o=n(14)(!0);n(17)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=o(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var o=n(15),r=n(16);e.exports=function(e){return function(t,n){var i,a,s=String(r(t)),c=o(n),l=s.length;return c<0||c>=l?e?"":void 0:(i=s.charCodeAt(c),i<55296||i>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):i:e?s.slice(c,c+2):(i-55296<<10)+(a-56320)+65536)}}},function(e,t){var n=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var o=n(18),r=n(19),i=n(34),a=n(24),s=n(35),c=n(36),l=n(37),u=n(53),f=n(55),d=n(54)("iterator"),A=!([].keys&&"next"in[].keys()),h="@@iterator",p="keys",y="values",v=function(){return this};e.exports=function(e,t,n,g,m,b,w){l(n,t,g);var x,S,E,T=function(e){if(!A&&e in F)return F[e];switch(e){case p:return function(){return new n(this,e)};case y:return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",P=m==y,C=!1,F=e.prototype,I=F[d]||F[h]||m&&F[m],R=I||T(m),V=m?P?T("entries"):R:void 0,M="Array"==t?F.entries||I:I;if(M&&(E=f(M.call(new e)),E!==Object.prototype&&E.next&&(u(E,k,!0),o||s(E,d)||a(E,d,v))),P&&I&&I.name!==y&&(C=!0,R=function(){return I.call(this)}),o&&!w||!A&&!C&&F[d]||a(F,d,R),c[t]=R,c[k]=v,m)if(x={values:P?R:T(y),keys:b?R:T(p),entries:V},w)for(S in x)S in F||i(F,S,x[S]);else r(r.P+r.F*(A||C),t,x);return x}},function(e,t){e.exports=!0},function(e,t,n){var o=n(20),r=n(21),i=n(22),a=n(24),s="prototype",c=function(e,t,n){var l,u,f,d=e&c.F,A=e&c.G,h=e&c.S,p=e&c.P,y=e&c.B,v=e&c.W,g=A?r:r[t]||(r[t]={}),m=g[s],b=A?o:h?o[t]:(o[t]||{})[s];A&&(n=t);for(l in n)u=!d&&b&&void 0!==b[l],u&&l in g||(f=u?b[l]:n[l],g[l]=A&&"function"!=typeof b[l]?n[l]:y&&u?i(f,o):v&&b[l]==f?function(e){var t=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,o)}return e.apply(this,arguments)};return t[s]=e[s],t}(f):p&&"function"==typeof f?i(Function.call,f):f,p&&((g.virtual||(g.virtual={}))[l]=f,e&c.R&&m&&!m[l]&&a(m,l,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(e,t,n){var o=n(23);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var o=n(25),r=n(33);e.exports=n(29)?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var o=n(26),r=n(28),i=n(32),a=Object.defineProperty;t.f=n(29)?Object.defineProperty:function(e,t,n){if(o(e),t=i(t,!0),o(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var o=n(27);e.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(29)&&!n(30)(function(){return 7!=Object.defineProperty(n(31)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(30)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var o=n(27),r=n(20).document,i=o(r)&&o(r.createElement);e.exports=function(e){return i?r.createElement(e):{}}},function(e,t,n){var o=n(27);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){e.exports=n(24)},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports={}},function(e,t,n){"use strict";var o=n(38),r=n(33),i=n(53),a={};n(24)(a,n(54)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=o(a,{next:r(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var o=n(26),r=n(39),i=n(51),a=n(48)("IE_PROTO"),s=function(){},c="prototype",l=function(){var e,t=n(31)("iframe"),o=i.length,r="<",a=">";for(t.style.display="none",n(52).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+a+"document.F=Object"+r+"/script"+a),e.close(),l=e.F;o--;)delete l[c][i[o]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[c]=o(e),n=new s,s[c]=null,n[a]=e):n=l(),void 0===t?n:r(n,t)}},function(e,t,n){var o=n(25),r=n(26),i=n(40);e.exports=n(29)?Object.defineProperties:function(e,t){r(e);for(var n,a=i(t),s=a.length,c=0;s>c;)o.f(e,n=a[c++],t[n]);return e}},function(e,t,n){var o=n(41),r=n(51);e.exports=Object.keys||function(e){return o(e,r)}},function(e,t,n){var o=n(35),r=n(42),i=n(45)(!1),a=n(48)("IE_PROTO");e.exports=function(e,t){var n,s=r(e),c=0,l=[];for(n in s)n!=a&&o(s,n)&&l.push(n);for(;t.length>c;)o(s,n=t[c++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){var o=n(43),r=n(16);e.exports=function(e){return o(r(e))}},function(e,t,n){var o=n(44);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var o=n(42),r=n(46),i=n(47);e.exports=function(e){return function(t,n,a){var s,c=o(t),l=r(c.length),u=i(a,l);if(e&&n!=n){for(;l>u;)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var o=n(15),r=Math.min;e.exports=function(e){return e>0?r(o(e),9007199254740991):0}},function(e,t,n){var o=n(15),r=Math.max,i=Math.min;e.exports=function(e,t){return e=o(e),e<0?r(e+t,0):i(e,t)}},function(e,t,n){var o=n(49)("keys"),r=n(50);e.exports=function(e){return o[e]||(o[e]=r(e))}},function(e,t,n){var o=n(20),r="__core-js_shared__",i=o[r]||(o[r]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){var n=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var o=n(20).document;e.exports=o&&o.documentElement},function(e,t,n){var o=n(25).f,r=n(35),i=n(54)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,i)&&o(e,i,{configurable:!0,value:t})}},function(e,t,n){var o=n(49)("wks"),r=n(50),i=n(20).Symbol,a="function"==typeof i,s=e.exports=function(e){return o[e]||(o[e]=a&&i[e]||(a?i:r)("Symbol."+e))};s.store=o},function(e,t,n){var o=n(35),r=n(56),i=n(48)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),o(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var o=n(16);e.exports=function(e){return Object(o(e))}},function(e,t,n){n(58);for(var o=n(20),r=n(24),i=n(36),a=n(54)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c=e.length?(this._t=void 0,r(1)):"keys"==t?r(0,n):"values"==t?r(0,e[n]):r(0,[n,e[n]])},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){t.f=n(54)},function(e,t,n){e.exports={default:n(63),__esModule:!0}},function(e,t,n){n(64),n(74),n(75),n(76),e.exports=n(21).Symbol},function(e,t,n){"use strict";var o=n(20),r=n(35),i=n(29),a=n(19),s=n(34),c=n(65).KEY,l=n(30),u=n(49),f=n(53),d=n(50),A=n(54),h=n(61),p=n(66),y=n(67),v=n(70),g=n(26),m=n(42),b=n(32),w=n(33),x=n(38),S=n(71),E=n(73),T=n(25),k=n(40),P=E.f,C=T.f,F=S.f,I=o.Symbol,R=o.JSON,V=R&&R.stringify,M="prototype",B=A("_hidden"),O=A("toPrimitive"),Y={}.propertyIsEnumerable,G=u("symbol-registry"),L=u("symbols"),N=u("op-symbols"),j=Object[M],U="function"==typeof I,_=o.QObject,D=!_||!_[M]||!_[M].findChild,Q=i&&l(function(){return 7!=x(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a})?function(e,t,n){var o=P(j,t);o&&delete j[t],C(e,t,n),o&&e!==j&&C(j,t,o)}:C,H=function(e){var t=L[e]=x(I[M]);return t._k=e,t},Z=U&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},W=function(e,t,n){return e===j&&W(N,t,n),g(e),t=b(t,!0),g(n),r(L,t)?(n.enumerable?(r(e,B)&&e[B][t]&&(e[B][t]=!1),n=x(n,{enumerable:w(0,!1)})):(r(e,B)||C(e,B,w(1,{})),e[B][t]=!0),Q(e,t,n)):C(e,t,n)},q=function(e,t){g(e);for(var n,o=y(t=m(t)),r=0,i=o.length;i>r;)W(e,n=o[r++],t[n]);return e},J=function(e,t){return void 0===t?x(e):q(x(e),t)},z=function(e){var t=Y.call(this,e=b(e,!0));return!(this===j&&r(L,e)&&!r(N,e))&&(!(t||!r(this,e)||!r(L,e)||r(this,B)&&this[B][e])||t)},X=function(e,t){if(e=m(e),t=b(t,!0),e!==j||!r(L,t)||r(N,t)){var n=P(e,t);return!n||!r(L,t)||r(e,B)&&e[B][t]||(n.enumerable=!0),n}},K=function(e){for(var t,n=F(m(e)),o=[],i=0;n.length>i;)r(L,t=n[i++])||t==B||t==c||o.push(t);return o},$=function(e){for(var t,n=e===j,o=F(n?N:m(e)),i=[],a=0;o.length>a;)!r(L,t=o[a++])||n&&!r(j,t)||i.push(L[t]);return i};U||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===j&&t.call(N,n),r(this,B)&&r(this[B],e)&&(this[B][e]=!1),Q(this,e,w(1,n))};return i&&D&&Q(j,e,{configurable:!0,set:t}),H(e)},s(I[M],"toString",function(){return this._k}),E.f=X,T.f=W,n(72).f=S.f=K,n(69).f=z,n(68).f=$,i&&!n(18)&&s(j,"propertyIsEnumerable",z,!0),h.f=function(e){return H(A(e))}),a(a.G+a.W+a.F*!U,{Symbol:I});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)A(ee[te++]);for(var ne=k(A.store),oe=0;ne.length>oe;)p(ne[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return r(G,e+="")?G[e]:G[e]=I(e)},keyFor:function(e){if(!Z(e))throw TypeError(e+" is not a symbol!");for(var t in G)if(G[t]===e)return t},useSetter:function(){D=!0},useSimple:function(){D=!1}}),a(a.S+a.F*!U,"Object",{create:J,defineProperty:W,defineProperties:q,getOwnPropertyDescriptor:X,getOwnPropertyNames:K,getOwnPropertySymbols:$}),R&&a(a.S+a.F*(!U||l(function(){var e=I();return"[null]"!=V([e])||"{}"!=V({a:e})||"{}"!=V(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!Z(e)){for(var t,n,o=[e],r=1;arguments.length>r;)o.push(arguments[r++]);return t=o[1],"function"==typeof t&&(n=t),!n&&v(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!Z(t))return t}),o[1]=t,V.apply(R,o)}}}),I[M][O]||n(24)(I[M],O,I[M].valueOf),f(I,"Symbol"),f(Math,"Math",!0),f(o.JSON,"JSON",!0)},function(e,t,n){var o=n(50)("meta"),r=n(27),i=n(35),a=n(25).f,s=0,c=Object.isExtensible||function(){return!0},l=!n(30)(function(){return c(Object.preventExtensions({}))}),u=function(e){a(e,o,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,o)){if(!c(e))return"F";if(!t)return"E";u(e)}return e[o].i},d=function(e,t){if(!i(e,o)){if(!c(e))return!0;if(!t)return!1;u(e)}return e[o].w},A=function(e){return l&&h.NEED&&c(e)&&!i(e,o)&&u(e),e},h=e.exports={KEY:o,NEED:!1,fastKey:f,getWeak:d,onFreeze:A}},function(e,t,n){var o=n(20),r=n(21),i=n(18),a=n(61),s=n(25).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=i?{}:o.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var o=n(40),r=n(68),i=n(69);e.exports=function(e){var t=o(e),n=r.f;if(n)for(var a,s=n(e),c=i.f,l=0;s.length>l;)c.call(e,a=s[l++])&&t.push(a);return t}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var o=n(44);e.exports=Array.isArray||function(e){return"Array"==o(e)}},function(e,t,n){var o=n(42),r=n(72).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):r(o(e))}},function(e,t,n){var o=n(41),r=n(51).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},function(e,t,n){var o=n(69),r=n(33),i=n(42),a=n(32),s=n(35),c=n(28),l=Object.getOwnPropertyDescriptor;t.f=n(29)?l:function(e,t){if(e=i(e),t=a(t,!0),c)try{return l(e,t)}catch(e){}if(s(e,t))return r(!o.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(66)("asyncIterator")},function(e,t,n){n(66)("observable")},function(e,t,n){e.exports={default:n(78),__esModule:!0}},function(e,t,n){var o=n(21),r=o.JSON||(o.JSON={stringify:JSON.stringify});e.exports=function(e){return r.stringify.apply(r,arguments)}},function(e,t,n){e.exports={default:n(80),__esModule:!0}},function(e,t,n){n(81),e.exports=n(21).Object.assign},function(e,t,n){var o=n(19);o(o.S+o.F,"Object",{assign:n(82)})},function(e,t,n){"use strict";var o=n(40),r=n(68),i=n(69),a=n(56),s=n(43),c=Object.assign;e.exports=!c||n(30)(function(){var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=o})?function(e,t){for(var n=a(e),c=arguments.length,l=1,u=r.f,f=i.f;c>l;)for(var d,A=s(arguments[l++]),h=u?o(A).concat(u(A)):o(A),p=h.length,y=0;p>y;)f.call(A,d=h[y++])&&(n[d]=A[d]);return n}:c},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(85),i=o(r);t.default=function(){function e(e,t){for(var n=0;ni;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&V(e)})}},V=function(e){v.call(c,function(){var t,n,o,r=e._v,i=M(e);if(i&&(t=b(function(){k?E.emit("unhandledRejection",r,e):(n=c.onunhandledrejection)?n({promise:e,reason:r}):(o=c.console)&&o.error&&o.error("Unhandled promise rejection",r)}),e._h=k||M(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},M=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,o=0;n.length>o;)if(t=n[o++],t.fail||!M(t.promise))return!1;return!0},B=function(e){v.call(c,function(){var t;k?E.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},O=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),R(t,!0))},Y=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw S("Promise can't be resolved itself");(t=I(e))?g(function(){var o={_w:n,_d:!1};try{t.call(e,l(Y,o,1),l(O,o,1))}catch(e){O.call(o,e)}}):(n._v=e,n._s=1,R(n,!1))}catch(e){O.call({_w:n,_d:!1},e)}}};F||(T=function(e){h(this,T,x,"_h"),A(e),o.call(this);try{e(l(Y,this,1),l(O,this,1))}catch(e){O.call(this,e)}},o=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},o.prototype=n(109)(T.prototype,{then:function(e,t){var n=C(y(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=k?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new o;this.promise=e,this.resolve=l(Y,e,1),this.reject=l(O,e,1)},m.f=C=function(e){return e===T||e===a?new i(e):r(e)}),f(f.G+f.W+f.F*!F,{Promise:T}),n(53)(T,x),n(110)(x),a=n(21)[x],f(f.S+f.F*!F,x,{reject:function(e){var t=C(this),n=t.reject;return n(e),t.promise}}),f(f.S+f.F*(s||!F),x,{resolve:function(e){return w(s&&this===a?T:this,e)}}),f(f.S+f.F*!(F&&n(111)(function(e){T.all(e).catch(P)})),x,{all:function(e){var t=this,n=C(t),o=n.resolve,r=n.reject,i=b(function(){var n=[],i=0,a=1;p(e,!1,function(e){var s=i++,c=!1;n.push(void 0),a++,t.resolve(e).then(function(e){c||(c=!0,n[s]=e,--a||o(n))},r)}),--a||o(n)});return i.e&&r(i.v),n.promise},race:function(e){var t=this,n=C(t),o=n.reject,r=b(function(){p(e,!1,function(e){t.resolve(e).then(n.resolve,o)})});return r.e&&o(r.v),n.promise}})},function(e,t,n){var o=n(44),r=n(54)("toStringTag"),i="Arguments"==o(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),r))?n:i?o(t):"Object"==(s=o(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t){e.exports=function(e,t,n,o){if(!(e instanceof t)||void 0!==o&&o in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var o=n(22),r=n(99),i=n(100),a=n(26),s=n(46),c=n(101),l={},u={},t=e.exports=function(e,t,n,f,d){var A,h,p,y,v=d?function(){return e}:c(e),g=o(n,f,t?2:1),m=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(i(v)){for(A=s(e.length);A>m;m++)if(y=t?g(a(h=e[m])[0],h[1]):g(e[m]),y===l||y===u)return y}else for(p=v.call(e);!(h=p.next()).done;)if(y=r(p,g,h.value,t),y===l||y===u)return y};t.BREAK=l,t.RETURN=u},function(e,t,n){var o=n(26);e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&o(i.call(e)),t}}},function(e,t,n){var o=n(36),r=n(54)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[r]===e)}},function(e,t,n){var o=n(96),r=n(54)("iterator"),i=n(36);e.exports=n(21).getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||i[o(e)]}},function(e,t,n){var o=n(26),r=n(23),i=n(54)("species");e.exports=function(e,t){var n,a=o(e).constructor;return void 0===a||void 0==(n=o(a)[i])?t:r(n)}},function(e,t,n){var o,r,i,a=n(22),s=n(104),c=n(52),l=n(31),u=n(20),f=u.process,d=u.setImmediate,A=u.clearImmediate,h=u.MessageChannel,p=u.Dispatch,y=0,v={},g="onreadystatechange",m=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},b=function(e){m.call(e.data)};d&&A||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++y]=function(){s("function"==typeof e?e:Function(e),t)},o(y),y},A=function(e){delete v[e]},"process"==n(44)(f)?o=function(e){f.nextTick(a(m,e,1))}:p&&p.now?o=function(e){p.now(a(m,e,1))}:h?(r=new h,i=r.port2,r.port1.onmessage=b,o=a(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(o=function(e){u.postMessage(e+"","*")},u.addEventListener("message",b,!1)):o=g in l("script")?function(e){c.appendChild(l("script"))[g]=function(){c.removeChild(this),m.call(e)}}:function(e){setTimeout(a(m,e,1),0)}),e.exports={set:d,clear:A}},function(e,t){e.exports=function(e,t,n){var o=void 0===n;switch(t.length){case 0:return o?e():e.call(n);case 1:return o?e(t[0]):e.call(n,t[0]);case 2:return o?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return o?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return o?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var o=n(20),r=n(103).set,i=o.MutationObserver||o.WebKitMutationObserver,a=o.process,s=o.Promise,c="process"==n(44)(a);e.exports=function(){var e,t,n,l=function(){var o,r;for(c&&(o=a.domain)&&o.exit();e;){r=e.fn,e=e.next;try{r()}catch(o){throw e?n():t=void 0,o}}t=void 0,o&&o.enter()};if(c)n=function(){a.nextTick(l)};else if(i){var u=!0,f=document.createTextNode("");new i(l).observe(f,{characterData:!0}),n=function(){f.data=u=!u}}else if(s&&s.resolve){var d=s.resolve();n=function(){d.then(l)}}else n=function(){r.call(o,l)};return function(o){var r={fn:o,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},function(e,t,n){"use strict";function o(e){var t,n;this.promise=new e(function(e,o){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=o}),this.resolve=r(t),this.reject=r(n)}var r=n(23);e.exports.f=function(e){return new o(e)}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var o=n(26),r=n(27),i=n(106);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=i.f(e),a=n.resolve;return a(t),n.promise}},function(e,t,n){var o=n(24);e.exports=function(e,t,n){for(var r in t)n&&e[r]?e[r]=t[r]:o(e,r,t[r]);return e}},function(e,t,n){"use strict";var o=n(20),r=n(21),i=n(25),a=n(29),s=n(54)("species");e.exports=function(e){var t="function"==typeof r[e]?r[e]:o[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var o=n(54)("iterator"),r=!1;try{var i=[7][o]();i.return=function(){r=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i=[7],a=i[o]();a.next=function(){return{done:n=!0}},i[o]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var o=n(19),r=n(21),i=n(20),a=n(102),s=n(108);o(o.P+o.R,"Promise",{finally:function(e){var t=a(this,r.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var o=n(19),r=n(106),i=n(107);o(o.S,"Promise",{try:function(e){var t=r.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="data:video/ogg;base64,T2dnUwACAAAAAAAAAABmnCATAAAAAHDEixYBKoB0aGVvcmEDAgEAAQABAAAQAAAQAAAAAAAFAAAAAQAAAAAAAAAAAGIAYE9nZ1MAAAAAAAAAAAAAZpwgEwEAAAACrA7TDlj///////////////+QgXRoZW9yYSsAAABYaXBoLk9yZyBsaWJ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ZGF0YQAAAAEAAAAATGF2ZjU2LjQwLjEwMQ==";t.OggVideo=n,t.Mp4Video=o},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=["none","blur","brightness","contrast","invert","opacity","saturate","sepia","drop-shadow","grayscale","hue-rotate"],o={blur:{modifier:function(e){return.3*e},unit:"px"},brightness:{modifier:function(e){return.009*e+.1},unit:""},contrast:{modifier:function(e){return.4*e+80},unit:"%"},grayscale:{modifier:function(e){return e},unit:"%"},"hue-rotate":{modifier:function(e){return 3.6*e},unit:"deg"},invert:{modifier:function(e){return 1},unit:""},opacity:{modifier:function(e){return e},unit:"%"},saturate:{modifier:function(e){return 2*e},unit:"%"},sepia:{modifier:function(e){return e},unit:"%"}};t.filterOptions=n,t.filterProperties=o},function(e,t){var n=function(e){var t={container:e};return e.getAttribute("data-config-url")&&(t.url=e.getAttribute("data-config-url")),e.getAttribute("data-config-playback-speed")&&(t.playbackSpeed=e.getAttribute("data-config-playback-speed")),e.getAttribute("data-config-filter")&&(t.filter=e.getAttribute("data-config-filter")),e.getAttribute("data-config-filter-strength")&&(t.filterStrength=e.getAttribute("data-config-filter-strength")),t};e.exports=n},function(e,t,n){var o=n(2),r=n(118),i=n(88);Y.use("node",function(){window.Singleton.create({ready:function(){this._touch=Y.one(".touch-styles"),this.bindUI(),this._touch||(this.folderRedirect(".folder-toggle","#headerNav"),this.folderRedirect(".folder-toggle","#footer")),this.folderActive(".folder-toggle","#mobileNavigation"),this.folderActive(".folder-toggle","#headerNav"),this.folderActive(".folder-toggle","#footer"),this.folderNavExpand(".folder-nav-toggle","#folderNav"),this.folderNavExpand(".category-nav-toggle","#categoryNav")},bindUI:function(){this.dataToggleBody(),this.dataToggleEl(),this.dataLightbox(),this.scrollAnchors(),Y.one(window).on("resize",this.syncUI,this)},syncUI:function(){o(function(){r()},100,this)},folderNavExpand:function(e,t){var n=Y.one(t);n&&n.one(e).on("click",function(){n.toggleClass("expanded")})},folderActive:function(e,t){e=e||".folder-toggle",t=t||"body";var n=Y.all(t);n.size()>0&&n.each(function(t){t.delegate("click",function(e){e.preventDefault(),e.currentTarget.toggleClass("active"),e.currentTarget.ancestor(".folder").siblings(".folder").each(function(e){e.one(".folder-toggle").removeClass("active")})},e)})},folderRedirect:function(e,t){e=e||".folder-toggle",t=t||"body";var n=Y.all(t);n.size()>0&&n.each(function(t){t.delegate("click",function(e){e.preventDefault();var t=e.currentTarget.getData("href");t?window.location=t:console.warn("folderRedirect: You must add a data-href attribute to the label.")},e)})},dataLightbox:function(){var e={};Y.all("[data-lightbox]").each(function(t){var n=t.getAttribute("data-lightbox");e[n]=e[n]||[],e[n].push({content:t,meta:t.getAttribute("alt")}),t.on("click",function(o){o.halt(),new Y.Squarespace.Lightbox2({set:e[n],currentSetIndex:Y.all("[data-lightbox]").indexOf(t),controls:{previous:!0,next:!0}}).render()})})},dataToggleBody:function(){Y.one("body").delegate("click",function(e){Y.one("body").toggleClass(e.currentTarget.getData("toggle-body"))},"[data-toggle-body]")},dataToggleEl:function(){Y.one("body").delegate("click",function(e){var t=e.currentTarget;t.toggleClass(t.getData("toggle"))},"[data-toggle]")},scrollAnchors:function(){if(!history.pushState)return!1;var e='a[href*="#"]';Y.one("body").delegate("click",function(e){var t=e.currentTarget.get("href"),n=this._getSamePageHash(t);n&&Y.one(n)&&(e.halt(),Y.one("#mobileNavToggle")&&Y.one("#mobileNavToggle").set("checked",!1).simulate("change"),this.smoothScrollTo(Y.one(n).getY()),history.pushState({},n,n))},e,this)},_getSamePageHash:function(e){var e=new i(e),t=new i(window.location.href);return e.host!==t.host||e.pathname!==t.pathname||""===e.hash?null:e.hash},smoothScrollTo:function(e){if(!Y.Lang.isNumber(e))try{e=parseInt(e)}catch(e){return console.warn("helpers.js: scrollTo was passed an invalid argument."),!1}var t=Y.UA.gecko||Y.UA.ie||navigator.userAgent.match(/Trident.*rv.11\./)?"html":"body",n=new Y.Anim({node:Y.one(document.scrollingElement||t),to:{scrollTop:e},duration:.4,easing:"easeOut"});n.run(),n.on("end",function(){n.destroy()})}})})},function(e,t){function n(e){e=e||"img[data-src]",Y.one(e)&&Y.all(e).each(function(e){ImageLoader.load(e)})}e.exports=n},function(e,t,n){var o=n(2),r=n(118),i=null!==document.documentElement.getAttribute("data-authenticated-account");i&&Y.use("node",function(e){window.Singleton.create({ready:function(){this.bindUI()},bindUI:function(){e.Global.on("tweak:change",function(t){t.config&&"Site Navigation"===t.config.category?e.one("#mobileNavToggle").set("checked",!0):e.one("#mobileNavToggle").set("checked",!1),"transparent-header"===t.getName()&&o(function(){r()},100,this)});var t=e.one("body.transparent-header");t&&(t=t.getDOMNode(),["sqs-stacked-items-dom-deleted","sqs-stacked-items-dom-reorder"].forEach(function(n){e.config.win.addEventListener(n,function(e){var n=t.querySelector("#content > div");n.querySelector(".banner-thumbnail-wrapper")||n.querySelector(".promoted-gallery-wrapper").children.length?t.classList.add("has-banner-image"):t.classList.remove("has-banner-image")}.bind(this))}.bind(this)))}})})}]); }