31 lines
156 KiB
JavaScript
31 lines
156 KiB
JavaScript
|
!function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:false,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=true,o.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,n){if(!e.o(t,i))Object.defineProperty(t,i,{configurable:false,enumerable:true,get:n})},e.n=function(t){var i=t&&t.__esModule?function e(){return t.default}:function e(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/Content/BundledScripts/",e(e.s=5305)}({101:function(t,e,i){"use strict";function n(t){if(this.element=t,this.name=t.getAttribute("data-animation-name"),this.event="scroll",this.durationRaw=t.getAttribute("data-animation-duration"),this.duration=Number(this.durationRaw),isNaN(this.duration)||!isFinite(this.duration)||this.duration<0)this.duration=0;var e=t.getAttribute("data-animation-event");if(e)this.event=e;if(this.delayRaw=t.getAttribute("data-animation-delay"),this.delay=0,this.delayRaw)if(this.delay=Number(this.delayRaw),isNaN(this.delay)||!isFinite(this.delay)||this.delay<0)this.delay=0;var i=t.getAttribute("data-animation-cycle");if(i)if(i=Number(i),!isNaN(i))this.animationCycle=i;var n=t.getAttribute("data-animation-direction");if(n)this.direction=n}t.exports=n,window.AnimationInfo=t.exports},103:function(t,e,i){"use strict";function TabsControl(t){this.tabsSelector=".u-tabs",this.activeClass="u-tab-active",this.activeSelector="."+this.activeClass,this.activeLinkClass="active",this.activeLinkSelector="."+this.activeLinkClass,this.tabListSelector=".u-tab-list",this.tabContentSelector=".u-tab-content",this.tabLinkSelector=".u-tab-link",this.tabPaneSelector=".u-tab-pane",this._tabLink=this._getLink(t),this._tabList=this._tabLink.closest(this.tabListSelector),this._tabContent=this._tabLink.closest(this.tabsSelector).children(this.tabContentSelector)}TabsControl.prototype.show=function(){var link=this._tabLink;if(!link.is(this.activeLinkSelector))this._removeActiveLink(),this._addActiveLink(link),this._activateTabPane(link)},TabsControl.prototype._getLink=function(t){if(t.is(this.tabPaneSelector))return this._findLinkByPane(t);else return t.is(this.tabLinkSelector)?t:t.children(this.tabLinkSelector)},TabsControl.prototype._findLinkByPane=function(t){var e=t.attr("aria-labelledby");return t.closest(this.tabsSelector).children(this.tabListSelector).find("#"+e)},TabsControl.prototype._removeActiveLink=function(){var t=this._getActiveLink();t.removeClass(this.activeLinkClass),t.attr("aria-selected",false)},TabsControl.prototype._getActiveLink=function(){return this._tabList.find(this.activeLinkSelector)},TabsControl.prototype._addActiveLink=function(link){link.addClass(this.activeLinkClass),link.attr("aria-selected",true)},TabsControl.prototype._activateTabPane=function(link){this._tabContent.children(this.activeSelector).removeClass(this.activeClass),this.getTabPane(link).addClass(this.activeClass)},TabsControl.prototype.getTabPane=function(t){var link=this._getLink(t),e=link.attr("href");return this._tabContent.children(e)},TabsControl.prototype.getTabLink=function(){return this._tabLink},TabsControl.prototype.removeId=function(){this._tabList.find(this.tabLinkSelector).removeAttr("id"),this._tabContent.children().removeAttr("id")},t.exports=TabsControl,window.TabsControl=TabsControl},108:function(t,e,i){"use strict";function HorizontalLayoutSlider(slider,t){if(slider&&slider.length){var e=slider.children(".u-gallery-inner, .u-repeater");if(e.length){this.viewport=e;var i=slider.children(".u-gallery-nav");if(i.length){if(this.controls=i,this.data={offset:0,width:0,scrollWidth:0,maxOffset:0},t)this._onScroll=this.onScroll.bind(this),this.viewport.scroll(this._onScroll);if(this.updateInnerData(),t)this.updateControls()}}}}t.exports=HorizontalLayoutSlider,HorizontalLayoutSlider.prototype.onScroll=function(){this.updateControls()},HorizontalLayoutSlider.prototype.updateControls=function(){this.updateOffset();var data=this.data;this.controls.each(function(){var t=$(this);t.toggleClass("u-hidden",t.hasClass("u-gallery-nav-next")?data.offset>=data.maxOffset-1:da
|
||
|
* https://github.com/gilmoreorless/css-background-parser
|
||
|
* Copyright © 2015 Gilmore Davidson under the MIT license: http://gilmoreorless.mit-license.org/
|
||
|
*/
|
||
|
!function(t){function e(t){if(!(this instanceof e))return new e;this.backgrounds=t||[]}function Background(t){function e(e,n){i[e]=e in t?t[e]:n}if(!(this instanceof Background))return new Background(t);t=t||{};var i=this;e("color",""),e("image",""),e("attachment",""),e("clip",""),e("origin",""),e("position",""),e("repeat",""),e("size","")}function i(t){var e=[],i=/[,\(\)]/,n=0,o="";if(null==t)return e;for(;t.length;){var a=i.exec(t);if(!a)break;var s=a[0],l=false;switch(s){case",":if(!n)e.push(o.trim()),o="",l=true;break;case"(":n++;break;case")":n--;break}var index=a.index+1;o+=t.slice(0,l?index-1:index),t=t.slice(index)}if(o.length||t.length)e.push((o+t).trim());return e.filter(function(t){return"none"!==t})}function n(t){return t.trim()}function o(t){return(t||"").split(",").map(n)}e.prototype.toString=function t(e){return this.backgrounds.map(function(t){return t.toString(e)}).filter(function(t){return t}).join(", ")},Background.prototype.toString=function t(e){e=e||["image","repeat","attachment","position","size","origin","clip"],e=Array.isArray(e)?e:[e];var size=e.includes("size")&&this.size?" / "+this.size:"",list=[e.includes("image")?this.image:"",e.includes("repeat")?this.repeat:"",e.includes("attachment")?this.attachment:"",e.includes("position")?this.position+size:"",e.includes("origin")?this.origin:"",e.includes("clip")?this.clip:""];if(this.color)list.unshift(this.color);return list.filter(function(t){return t}).join(" ")},t.BackgroundList=e,t.Background=Background,t.parseElementStyle=function(t){var list=new e;if(null==t)return list;for(var n=i(t.backgroundImage),a=t.backgroundColor,s=o(t.backgroundAttachment),l=o(t.backgroundClip),u=o(t.backgroundOrigin),f=o(t.backgroundPosition),c=o(t.backgroundRepeat),p=o(t.backgroundSize),background,h=0,m=n.length;h<m;h++){if(background=new Background({image:n[h],attachment:s[h%s.length],clip:l[h%l.length],origin:u[h%u.length],position:f[h%f.length],repeat:c[h%c.length],size:p[h%p.length]}),h===m-1)background.color=a;list.backgrounds.push(background)}return list}}(function(e){if(void 0!==t&&void 0!==t.exports)return t.exports;else return e.cssBgParser={}}(this))}).call(window)},155:function(t,e,i){"use strict";function n(t){if(t&&"counter"===t.name)return new o(t);else return new a(t)}var o=i(156),a=i(159),s={};s.createAnimation=function t(e){var animation=n(e);return animation.hint=s.hint,animation},s.setHint=function t(e){s.hint=e},t.exports=s,window.AnimationFactory=t.exports},156:function(t,e,i){"use strict";function n(t,e){this.info=t,this.hint=e,this.timeoutId=null}var o=i(157);n.prototype.init=function init(){var t=this.info.element;if(!this.countUp&&t){var e=/(\D*)(\d+(?:([.,])(\d+))?)(.*)/.exec(t.innerText),i=2,n=3,a=4;if(null!==e&&e[i]&&!(e[i].length>15)){var s=e[i];if(","===e[n])s=s.replace(",",".");if(s=Number(s),s&&!isNaN(s)&&isFinite(s)){if(this.hint)this.hint.hintBrowser(this.info);var l=0;if(e[a])l=e[a].length;var u={element:t,prefix:e[1],decimal:e[n],decimals:l,suffix:e[5],startVal:0,endVal:s,duration:this.info.durationRaw,cycle:this.info.animationCycle,separator:""};this.countUp=new o(u)}}}},n.prototype.start=function t(){if(this.countUp){if(this.countUp.reset(),this._timeoutId)clearTimeout(this._timeoutId);var e=function(){this._timeoutId=null,this.countUp.start()}.bind(this),i=this.info.delay;if(isNaN(i))i=0;if(!i)return e(),void 0;this._timeoutId=setTimeout(e,i)}},n.prototype.startOut=function t(){if(this._timeoutId)clearTimeout(this._timeoutId),this._timeoutId=null},n.prototype.reset=function t(){if(this.countUp)this.countUp.reset()},n.prototype.isInOutAnimation=function t(){return true},n.prototype.needOutAnimation=function t(){return false},n.prototype.clear=function t(){if(this.hint)this.hint.removeHint(this.info)},n.prototype.getTime=function t(){if(!this.info)return 0;var e=this.info.duration,i=this.info.delay;if(isNaN(i))i=0;return i+e},n.prototype.getOutTime=function t(){return 0},t.exports=n,window.CounterAnimation=t.exports},157:function(t,e,i){"use strict";function n(t){this.initialize(t)}function o(countUp,t,e){if(countUp){if(t=Number(
|
||
|
* http://photoswipe.com
|
||
|
* Copyright (c) 2019 Dmitry Semenov; */
|
||
|
!function(a,factory){if(true)n=factory,o="function"==typeof n?n.call(e,i,e,t):n,!(void 0!==o&&(t.exports=o));else if("object"==typeof e)t.exports=factory();else a.PhotoSwipe=factory()}(this,function(){return function(template,t,items,e){var i={features:null,bind:function(t,type,e,i){var n=(i?"remove":"add")+"EventListener";type=type.split(" ");for(var o=0;o<type.length;o++)if(type[o])t[n](type[o],e,false)},isArray:function(t){return t instanceof Array},createEl:function(t,e){var el=document.createElement(e||"div");if(t)el.className=t;return el},getScrollY:function(){var t=window.pageYOffset;return void 0!==t?t:document.documentElement.scrollTop},unbind:function(t,type,e){i.bind(t,type,e,true)},removeClass:function(el,t){var e=new RegExp("(\\s|^)"+t+"(\\s|$)");el.className=el.className.replace(e," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(el,t){if(!i.hasClass(el,t))el.className+=(el.className?" ":"")+t},hasClass:function(el,t){return el.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(el.className)},getChildByClass:function(t,e){for(var n=t.firstChild;n;){if(i.hasClass(n,e))return n;n=n.nextSibling}},arraySearch:function(t,e,i){for(var n=t.length;n--;)if(t[n][i]===e)return n;return-1},extend:function(t,e,i){for(var n in e)if(e.hasOwnProperty(n)){if(i&&t.hasOwnProperty(n))continue;t[n]=e[n]}},easing:{sine:{out:function(t){return Math.sin(t*(Math.PI/2))},inOut:function(t){return-(Math.cos(Math.PI*t)-1)/2}},cubic:{out:function(t){return--t*t*t+1}}},detectFeatures:function(){if(i.features)return i.features;var t=i.createEl(),e=t.style,n="",o={};if(o.oldIE=document.all&&!document.addEventListener,o.touch="ontouchstart"in window,window.requestAnimationFrame)o.raf=window.requestAnimationFrame,o.caf=window.cancelAnimationFrame;if(o.pointerEvent=!!window.PointerEvent||navigator.msPointerEnabled,!o.pointerEvent){var a=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var s=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);if(s&&s.length>0)if(s=parseInt(s[1],10),s>=1&&s<8)o.isOldIOSPhone=true}var l=a.match(/Android\s([0-9\.]*)/),u=l?l[1]:0;if(u=parseFloat(u),u>=1){if(u<4.4)o.isOldAndroid=true;o.androidVersion=u}o.isMobileOpera=/opera mini|opera mobi/i.test(a)}for(var f=["transform","perspective","animationName"],c=["","webkit","Moz","ms","O"],p,h,m=0;m<4;m++){n=c[m];for(var v=0;v<3;v++)if(p=f[v],h=n+(n?p.charAt(0).toUpperCase()+p.slice(1):p),!o[p]&&h in e)o[p]=h;if(n&&!o.raf)if(n=n.toLowerCase(),o.raf=window[n+"RequestAnimationFrame"],o.raf)o.caf=window[n+"CancelAnimationFrame"]||window[n+"CancelRequestAnimationFrame"]}if(!o.raf){var g=0;o.raf=function(t){var e=(new Date).getTime(),i=Math.max(0,16-(e-g)),id=window.setTimeout(function(){t(e+i)},i);return g=e+i,id},o.caf=function(id){clearTimeout(id)}}return o.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i.features=o,o}};if(i.detectFeatures(),i.features.oldIE)i.bind=function(t,type,e,i){type=type.split(" ");for(var n=(i?"detach":"attach")+"Event",o,a=function(){e.handleEvent.call(e)},s=0;s<type.length;s++)if(o=type[s],o)if("object"==typeof e&&e.handleEvent){if(!i)e["oldIE"+o]=a;else if(!e["oldIE"+o])return false;t[n]("on"+o,e["oldIE"+o])}else t[n]("on"+o,e)};var n=this,o=25,a=3,s={allowPanToNext:true,spacing:.12,bgOpacity:1,mouseUsed:false,loop:true,pinchToClose:true,closeOnScroll:true,closeOnVerticalDrag:true,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:false,focus:true,escKey:true,arrowKeys:true,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(el){return"A"===el.tagName},getDoubleTapZoom:function(t,e){if(t)return 1;else return e.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:true,scaleMode:"fit"};i.extend(s,e);var l=function(){return{x:0,y:0}},u,f,c,p,h,m,v=l(),g=l(),y=l(),w,b,_,x={},C,T,S,k,A,I,E=0,L={},O=l(),F,M,z=0,P,N,H,B,W,U,V=true,Z,j=[],X,$,G,K,Y,J,tt,nt={},ot=false,rt,at=function(t,e){i.extend(n,e.publicMethods),j.push(t)},st=function(index){var t=bi();if(index>t-1)return index-t;else if(index<0)ret
|
||
|
* http://photoswipe.com
|
||
|
* Copyright (c) 2019 Dmitry Semenov; */
|
||
|
!function(a,factory){if(true)n=factory,o="function"==typeof n?n.call(e,i,e,t):n,!(void 0!==o&&(t.exports=o));else if("object"==typeof e)t.exports=factory();else a.PhotoSwipeUI_Default=factory()}(this,function(){return function(t,e){var i=this,n=false,o=true,a,s,l,u,f,c,p,h=true,m,v,g,y,w,b,_,x,C={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(t,e){if(!t.title)return e.children[0].innerHTML="",false;else return e.children[0].innerHTML=t.title,true},closeEl:true,captionEl:true,fullscreenEl:true,zoomEl:true,shareEl:true,counterEl:true,arrowEl:true,preloaderEl:true,tapToClose:false,tapToToggleControls:true,clickToCloseNonZoomable:true,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/"+"?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:true}],getImageURLForShare:function(){return t.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return t.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},T,S,k=function(t){if(T)return true;if(t=t||window.event,x.timeToIdle&&x.mouseUsed&&!v)B();for(var i=t.target||t.srcElement,n,o=i.getAttribute("class")||"",a,s=0;s<G.length;s++)if(n=G[s],n.onTap&&o.indexOf("pswp__"+n.name)>-1)n.onTap(),a=true;if(a){if(t.stopPropagation)t.stopPropagation();T=true;var l=e.features.isOldAndroid?600:30;S=setTimeout(function(){T=false},l)}},A=function(){return!t.likelyTouchDevice||x.mouseUsed||screen.width>x.fitControlsWidth},I=function(el,t,add){e[(add?"add":"remove")+"Class"](el,"pswp__"+t)},E=function(){var t=1===x.getNumItemsFn();if(t!==_)I(s,"ui--one-slide",t),_=t},L=function(){I(p,"share-modal--hidden",h)},O=function(){if(h=!h,!h)L(),setTimeout(function(){if(!h)e.addClass(p,"pswp__share-modal--fade-in")},30);else e.removeClass(p,"pswp__share-modal--fade-in"),setTimeout(function(){if(h)L()},300);if(!h)M();return false},F=function(e){e=e||window.event;var i=e.target||e.srcElement;if(t.shout("shareLinkClick",e,i),!i.href)return false;if(i.hasAttribute("download"))return true;if(window.open(i.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,"+"location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),!h)O();return false},M=function(){for(var t="",e,i,n,o,a,s=0;s<x.shareButtons.length;s++)if(e=x.shareButtons[s],n=x.getImageURLForShare(e),o=x.getPageURLForShare(e),a=x.getTextForShare(e),i=e.url.replace("{{url}}",encodeURIComponent(o)).replace("{{image_url}}",encodeURIComponent(n)).replace("{{raw_image_url}}",n).replace("{{text}}",encodeURIComponent(a)),t+='<a href="'+i+'" target="_blank" '+'class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",x.parseShareButtonOut)t=x.parseShareButtonOut(e,t);p.children[0].innerHTML=t,p.children[0].onclick=F},z=function(t){for(var i=0;i<x.closeElClasses.length;i++)if(e.hasClass(t,"pswp__"+x.closeElClasses[i]))return true},P,N,H=0,B=function(){if(clearTimeout(N),H=0,v)i.setIdle(false)},W=function(t){t=t?t:window.event;var e=t.relatedTarget||t.toElement;if(!e||"HTML"===e.nodeName)clearTimeout(N),N=setTimeout(function(){i.setIdle(true)},x.timeToIdleOutside)},U=function(){if(x.fullscreenEl&&!e.features.isOldAndroid){if(!a)a=i.getFullscreenAPI();if(a)e.bind(document,a.eventK,i.updateFullscreen),i.updateFullscreen(),e.addClass(t.template,"pswp--supports-fs");else e.removeClass(t.template,"pswp--supports-fs")}},V=function(){if(x.preloaderEl)Z(true),g("beforeChange",function(){clearTimeout(b),b=setTimeout(function(){if(t.currItem&&t.currItem.loading){if(!t.allowProgressiveImg()||t.currItem.img&&!t.currItem.img.naturalWidth)Z(false)}else Z(true)},x.loadingIndicatorDelay)}),g("imageLoadComplete",functi
|
||
|
* skrollr core
|
||
|
*
|
||
|
* Alexander Prinzhorn - https://github.com/Prinzhorn/skrollr
|
||
|
*
|
||
|
* Free to use under terms of MIT license
|
||
|
*/
|
||
|
!function(e,i,n){"use strict";function o(t){if(f=i.documentElement,c=i.body,G(),At=this,t=t||{},Pt=t.constants||{},t.easing)for(var n in t.easing)J[n]=t.easing[n];if(Kt=t.edgeStrategy||"set",Dt={beforerender:t.beforerender,render:t.render,keyframe:t.keyframe},Ft=false!==t.forceHeight,Ft)zt=t.scale||1;if(Rt=t.mobileDeceleration||k,Zt=false!==t.smoothScrolling,jt=t.smoothScrollingDuration||I,Xt={targetTop:At.getScrollTop()},Yt=(t.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||e.opera)})(),Yt){if(Ot=i.getElementById(t.skrollrBody||A),Ot)pt();tt(),xt(f,[_,T],[x])}else xt(f,[_,C],[x]);At.refresh(),ht(e,"resize orientationchange",function(){var t=f.clientWidth,e=f.clientHeight;if(e!==Wt||t!==qt)Wt=e,qt=t,Ut=true});var o=K();return!function t(){rt(),ee=o(t)}(),At}var a={get:function(){return At},init:function(t){return At||new o(t)},VERSION:"0.6.30"},s=Object.prototype.hasOwnProperty,l=e.Math,u=e.getComputedStyle,f,c,p="touchstart",h="touchmove",m="touchcancel",v="touchend",g="skrollable",y=g+"-before",w=g+"-between",b=g+"-after",_="skrollr",x="no-"+_,C=_+"-desktop",T=_+"-mobile",S="linear",k=.004,A="skrollr-body",I=200,E="end",L="center",O="bottom",F="___skrollable_id",M=/^(?:input|textarea|button|select)$/i,z=/^\s+|\s+$/g,P=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,N=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,H=/^(@?[a-z\-]+)\[(\w+)\]$/,B=/-([a-z0-9_])/g,W=function(t,e){return e.toUpperCase()},U=/[\-+]?[\d]*\.?[\d]+/g,V=/\{\?\}/g,Z=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,j=/[a-z\-]+-gradient/g,X="",$="",G=function(){var t=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(u){var style=u(c,null);for(var e in style)if(X=e.match(t)||+e==e&&style[e].match(t),X)break;if(!X)return X=$="",void 0;if(X=X[0],"-"===X.slice(0,1))$=X,X={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[X];else $="-"+X.toLowerCase()+"-"}},K=function(){var t=e.requestAnimationFrame||e[X.toLowerCase()+"RequestAnimationFrame"],i=St();if(Yt||!t)t=function(t){var n=St()-i,o=l.max(0,1e3/60-n);return e.setTimeout(function(){i=St(),t()},o)};return t},Y=function(){var t=e.cancelAnimationFrame||e[X.toLowerCase()+"CancelAnimationFrame"];if(Yt||!t)t=function(t){return e.clearTimeout(t)};return t},J={begin:function(){return 0},end:function(){return 1},linear:function(t){return t},quadratic:function(t){return t*t},cubic:function(t){return t*t*t},swing:function(t){return-l.cos(t*l.PI)/2+.5},sqrt:function(t){return l.sqrt(t)},outCubic:function(t){return l.pow(t-1,3)+1},bounce:function(t){var e;if(t<=.5083)e=3;else if(t<=.8489)e=9;else if(t<=.96208)e=27;else if(t<=.99981)e=91;else return 1;return 1-l.abs(3*l.cos(t*e*1.028)/e)}};o.prototype.refresh=function(t){var e,o,a=false;if(t===n)a=true,Lt=[],Gt=0,t=i.getElementsByTagName("*");else if(t.length===n)t=[t];for(e=0,o=t.length;e<o;e++){var el=t[e],s=el,l=[],u=Zt,f=Kt,c=false;if(a&&F in el)delete el[F];if(el.attributes){for(var p=0,h=el.attributes.length;p<h;p++){var m=el.attributes[p];if("data-anchor-target"!==m.name)if("data-smooth-scrolling"!==m.name)if("data-edge-strategy"!==m.name)if("data-emit-events"!==m.name){var v=m.name.match(P);if(null!==v){var y={props:m.value,element:el,eventType:m.name.replace(B,W)};l.push(y);var w=v[1];if(w)y.constant=w.substr(1);var b=v[2];if(/p$/.test(b))y.isPercentage=true,y.offset=(0|b.slice(0,-1))/100;else y.offset=0|b;var _=v[3],x=v[4]||_;if(!_||"start"===_||_===E){if(y.mode="absolute",_===E)y.isEnd=true;else if(!y.isPercentage)y.offset=y.offset*zt}else y.mode="relative",y.anchors=[_,x]}}else c=true;else f=m.value;else u="off"!==m.value;else if(s=i.querySelector(m.value),null===s)throw'Unable to find anchor target "'+m.value+'"'}if(l.length){var C,T,id;if(!a&&F in el)id=el[F],C=Lt[id].styleAttr,T=Lt[id].classAttr;else id=el[F]=Gt++,C=el.style.cssText,T=_t(el);Lt[id]={element:el,styleAttr:C,classAttr:T,anchorTarget:s,keyFrames:l,smoothScrolling:u,edgeStrategy:f,emitEvents:c,lastFrameIndex:-1},xt(el,[g],[])}}}for(yt(),e=0,o=t.length;e<o;e++){var sk=
|
||
|
Waypoints - 4.0.1
|
||
|
Copyright © 2011-2016 Caleb Troughton
|
||
|
Licensed under the MIT license.
|
||
|
https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
|
||
|
*/
|
||
|
!function(){"use strict";function t(n){if(!n)throw new Error("No options passed to Waypoint constructor");if(!n.element)throw new Error("No element option passed to Waypoint constructor");if(!n.handler)throw new Error("No handler option passed to Waypoint constructor");if(this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,n),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=n.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset])this.options.offset=t.offsetAliases[this.options.offset];this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){if(this.enabled)if(this.callback)this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=false,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=true,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var n in i)e.push(i[n]);for(var o=0,a=e.length;o<a;o++)e[o][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.Context.refreshAll();for(var e in i)i[e].enabled=true;return this},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:true,enabled:true,group:"default",horizontal:false,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){if(this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=false,this.didResize=false,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,n[t.waypointContextKey]=this,i+=1,!o.windowContext)o.windowContext=true,o.windowContext=new e(window);this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,n={},o=window.Waypoint,a=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;if(t&&e&&!i)this.adapter.off(".waypoints"),delete n[this.key]},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=false}var e=this;this.adapter.on("resize.waypoints",function(){if(!e.didResize)e.didResize=true,o.requestAnimationFrame(t)})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=false}var e=this;this.adapter.on("scroll.waypoints",function(){if(!e.didScroll||o.isTouch)e.didScroll=true,o.requestAnimationFrame(t)})},e.prototype.handleResize=function(){o.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var n=e[i],o=n.newScroll>n.oldScroll,a=o?n.forward:n.backward;for(var s in this.waypoints[i]){var l=this.w
|
||
|
* gumshoejs v5.1.2
|
||
|
* A simple, framework-agnostic scrollspy script.
|
||
|
* (c) 2019 Chris Ferdinandi
|
||
|
* MIT License
|
||
|
* http://github.com/cferdinandi/gumshoe
|
||
|
*/
|
||
|
!function(i,factory){if(true)n=[],o=function(){return factory(i)}.apply(e,n),!(void 0!==o&&(t.exports=o));else if("object"==typeof e)t.exports=factory(i);else i.Gumshoe=factory(i)}(void 0!==i?i:"undefined"!=typeof window?window:this,function(t){var e={navClass:"active",contentClass:"active",nested:false,nestedClass:"active",offset:0,reflow:false,events:true},i=function(){var t={};return Array.prototype.forEach.call(arguments,function(e){for(var i in e){if(!e.hasOwnProperty(i))return;t[i]=e[i]}}),t},n=function(type,t,e){if(e.settings.events){var i=new CustomEvent(type,{bubbles:true,cancelable:true,detail:e});t.dispatchEvent(i)}},o=function(t){var e=0;if(t.offsetParent)for(;t;)e+=t.offsetTop,t=t.offsetParent;return e>=0?e:0},a=function(t){if(t)t.sort(function(t,e){if(o(t.content)<o(e.content))return-1;else return 1})},s=function(settings){if("function"==typeof settings.offset)return parseFloat(settings.offset());else return parseFloat(settings.offset)},l=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},u=function(e,settings,i){var n=e.getBoundingClientRect(),o=s(settings);if(i)return parseInt(n.bottom,10)<(t.innerHeight||document.documentElement.clientHeight);else return parseInt(n.top,10)<=o},f=function(){if(t.innerHeight+t.pageYOffset>=l())return true;else return false},c=function(t,settings){if(f()&&u(t.content,settings,true))return true;else return false},p=function(t,settings){var e=t[t.length-1];if(c(e,settings))return e;for(var i=t.length-1;i>=0;i--)if(u(t[i].content,settings))return t[i]},h=function(nav,settings){if(settings.nested&&nav.parentNode){var t=nav.parentNode.closest("li");if(t)t.classList.remove(settings.nestedClass),h(t,settings)}},m=function(items,settings){if(items){var t=items.nav.closest("li");if(t)t.classList.remove(settings.navClass),items.content.classList.remove(settings.contentClass),h(t,settings),n("gumshoeDeactivate",t,{link:items.nav,content:items.content,settings:settings})}},v=function(nav,settings){if(settings.nested){var t=nav.parentNode.closest("li");if(t)t.classList.add(settings.nestedClass),v(t,settings)}},g=function(items,settings){if(items){var t=items.nav.closest("li");if(t)t.classList.add(settings.navClass),items.content.classList.add(settings.contentClass),v(t,settings),n("gumshoeActivate",t,{link:items.nav,content:items.content,settings:settings})}};return function(selector,n){var o={},s,l,u,f,settings;o.setup=function(){s=document.querySelectorAll(selector),l=[],Array.prototype.forEach.call(s,function(t){var e=document.getElementById(decodeURIComponent(t.hash.substr(1)));if(e)l.push({nav:t,content:e})}),a(l)},o.detect=function(){var t=p(l,settings);if(t){if(!u||t.content!==u.content)m(u,settings),g(t,settings),u=t}else if(u)m(u,settings),u=null};var c=function(e){if(f)t.cancelAnimationFrame(f);f=t.requestAnimationFrame(o.detect)},h=function(e){if(f)t.cancelAnimationFrame(f);f=t.requestAnimationFrame(function(){a(l),o.detect()})};return o.destroy=function(){if(u)m(u,settings);if(t.removeEventListener("scroll",c,false),settings.reflow)t.removeEventListener("resize",h,false);l=null,s=null,u=null,f=null,settings=null},function(){if(settings=i(e,n||{}),o.setup(),o.detect(),t.addEventListener("scroll",c,false),settings.reflow)t.addEventListener("resize",h,false)}(),o}})}).call(e,i(95))},5339:function(t,e,i){"use strict";var n=i(3),o=i(5340),HorizontalLayoutSlider=i(108);n(window).on("load",function(){setTimeout(function(){n(".u-gallery").removeClass("u-no-transition"),n(".u-layout-horizontal").each(function(){var gallery=n(this),slider=new HorizontalLayoutSlider(gallery,true);gallery.children(".u-gallery-nav").click(function(t){t.preventDefault();var e=n(t.currentTarget);slider.navigate(e)})})},250)}),n(function(){n("body").on("mouseenter",".u-gallery.u-no-transition",function(){n(this).closest(".u-gallery").removeClass("u-no-transition")}),new o([".u-gallery.u-product-zoom.u-layout-thumbnails",".u-gallery.u-pr
|