PageSourceSearch

https://takomabicycle.com/cdn/shop/t/2/assets/jquery.plugins.min.js?v=70420172469440925341457647231

js takomabicycle.com collected 2026-10-08 10:29:34 UTC 133,330 bytes, 16 lines download raw bytes

1(function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],n.once===!0&&this.removeListener(e,n.listener),o=n.listener.apply(this,t||[]),o===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=o,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var o={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof exports?module.exports=t(e,require("wolfy87-eventemitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(window,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"===d.call(e)}function o(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;i>n;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred);var r=this;setTimeout(function(){r.check()})}function f(e){this.img=e}function c(e){this.src=e,v[e]=this}var a=e.jQuery,u=e.console,h=void 0!==u,d=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);var i=n.nodeType;if(i&&(1===i||9===i||11===i))for(var r=n.querySelectorAll("img"),o=0,s=r.length;s>o;o++){var f=r[o];this.addImage(f)}}},s.prototype.addImage=function(e){var t=new f(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&h&&u.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return void this.complete();for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},a&&(a.fn.imagesLoaded=function(e,t){var n=new s(this,e,t);return n.jqDeferred.promise(a(this))}),f.prototype=new t,f.prototype.check=function(){var e=v[this.img.src]||new c(this.img.src);if(e.isConfirmed)return void this.confirm(e.isLoaded,"cached was confirmed");
1if(this.img.complete&&void 0!==this.img.naturalWidth)return void this.confirm(0!==this.img.naturalWidth,"naturalWidth");var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},f.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return c.prototype=new t,c.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},c.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},c.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},c.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},c.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},c.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s});
2!function(t){t.fn.willFillParent=function(a){var i=t.extend({closest:!1,windowEvent:!1,loadingHTML:"",changeURL:!1},a);if(t(this).each(function(){var a=t(this);if(i.changeURL!==!1&&i.changeURL!=a.attr("src")){{var n=a.data("fillcont");t('<span class="loading"/>').html(i.loadingHTML).appendTo(n)}a.fadeOut(500,function(){t(this).remove()}),a=t("<img/>").attr("src",i.changeURL).appendTo(n).data("fillcont",n)}if(a.data("willloaded")){var n=a.data("fillcont");n.css({position:"static"==n.css("position")?"relative":null,overflow:"hidden"});var l=n.outerWidth(),e="1px"==n.css("min-height")?screen.height:n.outerHeight(),d=l/e;if(a.css({position:"absolute",maxWidth:"none"}),d>a.data("nr")){var o=l/a.data("nr");a.css({width:l,height:o,left:0,top:(e-o)/2})}else{var h=e*a.data("nr");a.css({width:h,height:e,left:(l-h)/2,top:0})}}else if("undefined"==typeof a.data("fillcont")&&(i.closest?a.data("fillcont",a.closest(i.closest)):a.data("fillcont",a.parent())),a.is("img"))a.imagesLoaded(function(){a.data("nw",a.width()).data("nh",a.height()).data("nr",a.data("nw")/a.data("nh")).data("willloaded",!0).addClass("loaded").willFillParent(),a.on("load",function(){a.css({height:"",width:""}).data("nw",a.width()).data("nh",a.height()).data("nr",a.data("nw")/a.data("nh")).willFillParent()}),a.data("fillcont").find(".loading").stop().fadeOut(250,function(){t(this).remove()})});else{var s=a.attr("width"),r=a.attr("height");a.data("nw",s).data("nh",r).data("nr",s/r).data("doFitRatherThanFill",i.doFitRatherThanFill).data("willloaded",!0).willFillParent()}}),i.windowEvent&&null!=i.windowEvent){var n=t(this),l=i.windowEvent+".willFillParent";t(window).on(l,function(){n.willFillParent()})}return t(this)}}(jQuery);
3var fakewaffle=function(a,e){"use strict";return e.responsiveTabs=function(s){e.currentPosition="tabs";var n=a(".nav-tabs.responsive"),t="",l="",o="";void 0===s&&(s=["xs","sm"]),a.each(s,function(){t+=" hidden-"+this,l+=" visible-"+this}),a.each(n,function(){var e=a(this),s=e.find("li a"),n=a("<div></div>",{"class":"panel-group responsive"+l,id:"collapse-"+e.attr("id")});a.each(s,function(){var s=a(this),t=void 0===s.attr("class")?"":s.attr("class"),l="accordion-toggle",i=void 0===s.parent().attr("class")?"":s.parent().attr("class"),r="panel panel-default",c=s.get(0).hash.replace("#","collapse-");t.length>0&&(l+=" "+t),i.length>0&&(i=i.replace(/\bactive\b/g,""),r+=" "+i,r=r.replace(/\s{2,}/g," "),r=r.replace(/^\s+|\s+$/g,"")),s.parent().hasClass("active")&&(o="#"+c),n.append(a("<div>").attr("class",r).html(a("<div>").attr("class","panel-heading").html(a("<h4>
3").attr("class","panel-title").html(a("<a>",{"class":l,"data-toggle":"collapse","data-parent":"#collapse-"+e.attr("id"),href:"#"+c,html:s.html()})))).append(a("<div>",{id:c,"class":"panel-collapse collapse"})))}),e.next().after(n),e.addClass(t),a(".tab-content.responsive").addClass(t)}),e.checkResize(),e.bindTabToCollapse(),o&&a(o).collapse("show")},e.checkResize=function(){a(".panel-group.responsive").is(":visible")===!0&&"tabs"===e.currentPosition?(e.tabToPanel(),e.currentPosition="panel"):a(".panel-group.responsive").is(":visible")===!1&&"panel"===e.currentPosition&&(e.panelToTab(),e.currentPosition="tabs")},e.tabToPanel=function(){var e=a(".nav-tabs.responsive");a.each(e,function(e,s){var n=a(s).next(".tab-content").find(".tab-pane");a.each(n,function(e,s){var n=a(s).attr("id").replace(/^/,"#collapse-");a(s).removeClass("tab-pane").addClass("panel-body").appendTo(a(n))})})},e.panelToTab=function(){var e=a(".panel-group.responsive");a.each(e,function(e,s){var n=a(s).attr("id").replace("collapse-","#"),t=a(n).next(".tab-content")[0],l=a(s).find(".panel-body");l.removeClass("panel-body").addClass("tab-pane").appendTo(a(t))})},e.bindTabToCollapse=function(){var e=a(".nav-tabs.responsive").find("li a"),s=a(".panel-group.responsive").find(".panel-collapse");e.on("shown.bs.tab",function(e){var s=a(e.currentTarget.hash.replace(/#/,"#collapse-"));if(s.collapse("show"),e.relatedTarget){var n=a(e.relatedTarget.hash.replace(/#/,"#collapse-"));n.collapse("hide")}}),s.on("shown.bs.collapse",function(e){var s=a(e.target).context.id.replace(/collapse-/g,"#");a('a[href="'+s+'"]').tab("show");var n=a(e.currentTarget).closest(".panel-group.responsive");a(n).find(".panel-body").removeClass("active"),a(e.currentTarget).find(".panel-body").addClass("active")})},a(window).resize(function(){e.checkResize()}),e}(window.jQuery,fakewaffle||{});
4var Swiper=function(e,t){"use strict";function i(e,t){return document.querySelectorAll?(t||document).querySelectorAll(e):jQuery(e,t)}function n(e){return"[object Array]"===Object.prototype.toString.apply(e)?!0:!1}function r(){var e=I-G;return t.freeMode&&(e=I-G),t.slidesPerView>k.slides.length&&!t.centeredSlides&&(e=0),0>e&&(e=0),e}function o(){function e(e){var i=new Image;i.onload=function(){k&&void 0!==k.imagesLoaded&&k.imagesLoaded++,k.imagesLoaded===k.imagesToLoad.length&&(k.reInit(),t.onImagesReady&&k.fireCallback(t.onImagesReady,k))},i.src=e}var n=k.h.addEventListener,r="wrapper"===t.eventTarget?k.wrapper:k.container;if(k.browser.ie10||k.browser.ie11?(n(r,k.touchEvents.touchStart,g),n(document,k.touchEvents.touchMove,w),n(document,k.touchEvents.touchEnd,m)):(k.support.touch&&(n(r,"touchstart",g),n(r,"touchmove",w),n(r,"touchend",m)),t.simulateTouch&&(n(r,"mousedown",g),n(document,"mousemove",w),n(document,"mouseup",m))),t.autoResize&&n(window,"resize",k.resizeFix),s(),k._wheelEvent=!1,t.mousewheelControl){if(void 0!==document.onmousewheel&&(k._wheelEvent="mou
4sewheel"),!k._wheelEvent)try{new WheelEvent("wheel"),k._wheelEvent="wheel"}catch(o){}k._wheelEvent||(k._wheelEvent="DOMMouseScroll"),k._wheelEvent&&n(k.container,k._wheelEvent,d)}if(t.keyboardControl&&n(document,"keydown",l),t.updateOnImagesReady){k.imagesToLoad=i("img",k.container);for(var a=0;a<k.imagesToLoad.length;a++)e(k.imagesToLoad[a].getAttribute("src"))}}function s(){var e,n=k.h.addEventListener;if(t.preventLinks){var r=i("a",k.container);for(e=0;e<r.length;e++)n(r[e],"click",f)}if(t.releaseFormElements){var o=i("input, textarea, select",k.container);for(e=0;e<o.length;e++)n(o[e],k.touchEvents.touchStart,h,!0)}if(t.onSlideClick)for(e=0;e<k.slides.length;e++)n(k.slides[e],"click",p);if(t.onSlideTouch)for(e=0;e<k.slides.length;e++)n(k.slides[e],k.touchEvents.touchStart,u)}function a(){var e,n=k.h.removeEventListener;if(t.onSlideClick)for(e=0;e<k.slides.length;e++)n(k.slides[e],"click",p);if(t.onSlideTouch)for(e=0;e<k.slides.length;e++)n(k.slides[e],k.touchEvents.touchStart,u);if(t.releaseFormElements){var r=i("input, textarea, select",k.container);for(e=0;e<r.length;e++)n(r[e],k.touchEvents.touchStart,h,!0)}if(t.preventLinks){var o=i("a",k.container);for(e=0;e<o.length;e++)n(o[e],"click",f)}}function l(e){var t=e.keyCode||e.charCode;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey)){if(37===t||39===t||38===t||40===t){for(var i=!1,n=k.h.getOffset(k.container),r=k.h.windowScroll().left,o=k.h.windowScroll().top,s=k.h.windowWidth(),a=k.h.windowHeight(),l=[[n.left,n.top],[n.left+k.width,n.top],[n.left,n.top+k.height],[n.left+k.width,n.top+k.height]],d=0;d<l.length;d++){var p=l[d];p[0]>=r&&p[0]<=r+s&&p[1]>=o&&p[1]<=o+a&&(i=!0)}if(!i)return}V?((37===t||39===t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),39===t&&k.swipeNext(),37===t&&k.swipePrev()):((38===t||40===t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),40===t&&k.swipeNext(),38===t&&k.swipePrev())}}function d(e){var i=k._wheelEvent,n=0;if(e.detail)n=-e.detail;else if("mousewheel"===i)if(t.mousewheelControlForceToAxis)if(V){if(!(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)))return;n=e.wheelDeltaX}else{if(!(Math.abs(e.wheelDeltaY)>Math.abs(e.wheelDeltaX)))return;n=e.wheelDeltaY}else n=e.wheelDelta;else if("DOMMouseScroll"===i)n=-e.detail;else if("wheel"===i)if(t.mousewheelControlForceToAxis)if(V){if(!(Math.abs(e.deltaX)>Math.abs(e.deltaY)))return;n=-e.deltaX}else{if(!(Math.abs(e.deltaY)>Math.abs(e.deltaX)))return;n=-e.deltaY}else n=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX:-e.deltaY;if(t.freeMode){var o=k.getWrapperTranslate()+n;if(o>0&&(o=0),o<-r()&&(o=-r()),k.setWrapperTransition(0),k.setWrapperTranslate(o),k.updateActiveSlide(o),0===o||o===-r())return}else(new Date).getTime()-q>60&&(0>n?k.swipeNext():k.swipePrev()),q=(new Date).getTime();return t.autoplay&&k.stopAutoplay(!0),e.preventDefault?e.preventDefault():e.returnValue=!1,!1}function p(e){k.allowSlideClick&&(c(e),k.fireCallback(t.onSlideClick,k,e))}function u(e){c(e),k.fireCallback(t.onSlideTouch,k,e)}function c(e){if(e.currentTarget)k.clickedSlide=e.currentTarget;else{var i=e.srcElement;do{if(i.className.indexOf(t.slideClass)>-1)break;i=i.parentNode}while(i);k.clickedSlide=i}
4k.clickedSlideIndex=k.slides.indexOf(k.clickedSlide),k.clickedSlideLoopIndex=k.clickedSlideIndex-(k.loopedSlides||0)}function f(e){return k.allowLinks?void 0:(e.preventDefault?e.preventDefault():e.returnValue=!1,t.preventLinksPropagation&&"stopPropagation"in e&&e.stopPropagation(),!1)}function h(e){return e.stopPropagation?e.stopPropagation():e.returnValue=!1,!1}function g(e){if(t.preventLinks&&(k.allowLinks=!0),k.isTouched||t.onlyExternal)return!1;if(t.noSwiping&&(e.target||e.srcElement)&&v(e.target||e.srcElement))return!1;if($=!1,k.isTouched=!0,Z="touchstart"===e.type,!Z||1===e.targetTouches.length){k.callPlugins("onTouchStartBegin"),Z||k.isAndroid||(e.preventDefault?e.preventDefault():e.returnValue=!1);var i=Z?e.targetTouches[0].pageX:e.pageX||e.clientX,n=Z?e.targetTouches[0].pageY:e.pageY||e.clientY;k.touches.startX=k.touches.currentX=i,k.touches.startY=k.touches.currentY=n,k.touches.start=k.touches.current=V?i:n,k.setWrapperTransition(0),k.positions.start=k.positions.current=k.getWrapperTranslate(),k.setWrapperTranslate(k.positions.start),k.times.start=(new Date).getTime(),W=void 0,t.moveStartThreshold>0&&(K=!1),t.onTouchStart&&k.fireCallback(t.onTouchStart,k,e),k.callPlugins("onTouchStartEnd")}}function w(e){if(k.isTouched&&!t.onlyExternal&&(!Z||"mousemove"!==e.type)){var i=Z?e.targetTouches[0].pageX:e.pageX||e.clientX,n=Z?e.targetTouches[0].pageY:e.pageY||e.clientY;if("undefined"==typeof W&&V&&(W=!!(W||Math.abs(n-k.touches.startY)>Math.abs(i-k.touches.startX))),"undefined"!=typeof W||V||(W=!!(W||Math.abs(n-k.touches.startY)<Math.abs(i-k.touches.startX))),W)return void(k.isTouched=!1);if(e.assignedToSwiper)return void(k.isTouched=!1);if(e.assignedToSwiper=!0,t.preventLinks&&(k.allowLinks=!1),t.onSlideClick&&(k.allowSlideClick=!1),t.autoplay&&k.stopAutoplay(!0),!Z||1===e.touches.length){if(k.isMoved||(k.callPlugins("onTouchMoveStart"),t.loop&&(k.fixLoop(),k.positions.start=k.getWrapperTranslate()),t.onTouchMoveStart&&k.fireCallback(t.onTouchMoveStart,k)),k.isMoved=!0,e.preventDefault?e.preventDefault():e.returnValue=!1,k.touches.current=V?i:n,k.positions.current=(k.touches.current-k.touches.start)*t.touchRatio+k.positions.start,k.positions.current>0&&t.onResistanceBefore&&k.fireCallback(t.onResistanceBefore,k,k.positions.current),k.positions.current<-r()&&t.onResistanceAfter&&k.fireCallback(t.onResistanceAfter,k,Math.abs(k.positions.current+r())),t.resistance&&"100%"!==t.resistance){var o;if(k.positions.current>0&&(o=1-k.positions.current/G/2,k.positions.current=.5>o?G/2:k.positions.current*o),k.positions.current<-r()){var s=(k.touches.current-k.touches.start)*t.touchRatio+(r()+k.positions.start);o=(G+s)/G;var a=k.positions.current-s*(1-o)/2,l=-r()-G/2;k.positions.current=l>a||0>=o?l:a}}if(t.resistance&&"100%"===t.resistance&&(k.positions.current>0&&(!t.freeMode||t.freeModeFluid)&&(k.positions.current=0),k.positions.current<-r()&&(!t.freeMode||t.freeModeFluid)&&(k.positions.current=-r())),!t.followFinger)return;if(t.moveStartThreshold)if(Math.abs(k.touches.current-k.touches.start)>t.moveStartThreshold||K){if(!K)return K=!0,void(k.touches.start=k.touches.current);k.setWrapperTranslate(k.positions.current)}else k.positions.current=k.positions.start;else k.setWrapperTranslate(k.positions.current);return(t.freeMode||t.watchActiveIndex)&&k.updateActiveSlide(k.positions.current),t.grabCursor&&(k.container.style.cursor="move",k.container.style.cursor="grabbing",k.container.style.cursor="-moz-grabbin",k.container.style.cursor="-webkit-grabbing"),Q||(Q=k.touches.current),U||(U=(new Date).getTime()),k.velocity=(k.touches.current-Q)/((new Date).getTime()-U)/2,Math.abs(k.touches.current-Q)<2&&(k.velocity=0),Q=k.touches.current,U=(new Date).getTime(),k.callPlugins("onTouchMoveEnd"),t.onTouchMove&&k.fireCallback(t.onTouchMove,k,e),!1}}}function m(e){if(W&&k.swipeReset(),!t.onlyExternal&&k.isTouched){k.isTouched=!1,t.grabCursor&&(k.container.style.cursor="move",k.container.style.cursor="grab",k.container.style.cursor="-moz-grab",k.container.style.cursor="-webkit-grab"),k.positions.current||0===k.positions.current||(k.positions.current=k.positions.start),t.followFinger&&k.setWrapperTranslate(k.positions.current),k.times.end=(new Date).getTime(),k.touches.diff=k.touches.current-k.touches.start,k.touches.abs=Math.abs(k.touches.diff),k.positions.diff=k.positions.current-k.positions.start,k.positions.abs=Math.abs(k.positions.diff);var i=k.positions.diff,n=k.positions.abs,o=k.times.end-k.times.start;5>n&&300>o&&k.allowLinks===!1&&(t.freeMode||0===n||k.swipeReset(),t.preventLinks&&(k.allowLinks=!0),t.onSlideClick&&(k.allowSlideClick=!0)),setTimeout(function(){t.preventLinks&&(k.allowLinks=!0),t.onSlideClick&&(k.allowSlideClick=!0)},100);var s=r();if(!k.isMoved&&t.freeMode)return k.isMoved=!1,t.onTouchEnd&&k.fireCallback(t.onTouchEnd,k,e),void k.callPlugins("onTouchEnd");if(!k.isMoved||k.positions.current>0||k.positions.current<-s)return k.swipeReset(),t.onTouchEnd&&k.fireCallback(t.onTouchEnd,k,e),void k.callPlugins("onTouchEnd");if(k.isMoved=!1,t.freeMode){if(t.freeModeFluid){var a,l=1e3*t.momentumRatio,d=k.velocity
4*l,p=k.positions.current+d,u=!1,c=20*Math.abs(k.velocity)*t.momentumBounceRatio;-s>p&&(t.momentumBounce&&k.support.transitions?(-c>p+s&&(p=-s-c),a=-s,u=!0,$=!0):p=-s),p>0&&(t.momentumBounce&&k.support.transitions?(p>c&&(p=c),a=0,u=!0,$=!0):p=0),0!==k.velocity&&(l=Math.abs((p-k.positions.current)/k.velocity)),k.setWrapperTranslate(p),k.setWrapperTransition(l),t.momentumBounce&&u&&k.wrapperTransitionEnd(function(){$&&(t.onMomentumBounce&&k.fireCallback(t.onMomentumBounce,k),k.callPlugins("onMomentumBounce"),k.setWrapperTranslate(a),k.setWrapperTransition(300))}),k.updateActiveSlide(p)}return(!t.freeModeFluid||o>=300)&&k.updateActiveSlide(k.positions.current),t.onTouchEnd&&k.fireCallback(t.onTouchEnd,k,e),void k.callPlugins("onTouchEnd")}D=0>i?"toNext":"toPrev","toNext"===D&&300>=o&&(30>n||!t.shortSwipes?k.swipeReset():k.swipeNext(!0)),"toPrev"===D&&300>=o&&(30>n||!t.shortSwipes?k.swipeReset():k.swipePrev(!0));var f=0;if("auto"===t.slidesPerView){for(var h,g=Math.abs(k.getWrapperTranslate()),w=0,m=0;m<k.slides.length;m++)if(h=V?k.slides[m].getWidth(!0,t.roundLengths):k.slides[m].getHeight(!0,t.roundLengths),w+=h,w>g){f=h;break}f>G&&(f=G)}else f=A*t.slidesPerView;"toNext"===D&&o>300&&(n>=f*t.longSwipesRatio?k.swipeNext(!0):k.swipeReset()),"toPrev"===D&&o>300&&(n>=f*t.longSwipesRatio?k.swipePrev(!0):k.swipeReset()),t.onTouchEnd&&k.fireCallback(t.onTouchEnd,k,e),k.callPlugins("onTouchEnd")}}function v(e){var i=!1;do e.className.indexOf(t.noSwipingClass)>-1&&(i=!0),e=e.parentElement;while(!i&&e.parentElement&&-1===e.className.indexOf(t.wrapperClass));return!i&&e.className.indexOf(t.wrapperClass)>-1&&e.className.indexOf(t.noSwipingClass)>-1&&(i=!0),i}function S(e,t){var i,n=document.createElement("div");return n.innerHTML=t,i=n.firstChild,i.className+=" "+e,i.outerHTML}function T(e,i,n){function r(){var o=+new Date,u=o-s;a+=l*u/(1e3/60),p="toNext"===d?a>e:e>a,p?(k.setWrapperTranslate(Math.round(a)),k._DOMAnimating=!0,window.setTimeout(function(){r()},1e3/60)):(t.onSlideChangeEnd&&("to"===i?n.runCallbacks===!0&&k.fireCallback(t.onSlideChangeEnd,k):k.fireCallback(t.onSlideChangeEnd,k)),k.setWrapperTranslate(e),k._DOMAnimating=!1)}var o="to"===i&&n.speed>=0?n.speed:t.speed,s=+new Date;if(k.support.transitions||!t.DOMAnimation)k.setWrapperTranslate(e),k.setWrapperTransition(o);else{var a=k.getWrapperTranslate(),l=Math.ceil((e-a)/o*(1e3/60)),d=a>e?"toNext":"toPrev",p="toNext"===d?a>e:e>a;if(k._DOMAnimating)return;r()}k.updateActiveSlide(e),t.onSlideNext&&"next"===i&&k.fireCallback(t.onSlideNext,k,e),t.onSlidePrev&&"prev"===i&&k.fireCallback(t.onSlidePrev,k,e),t.onSlideReset&&"reset"===i&&k.fireCallback(t.onSlideReset,k,e),("next"===i||"prev"===i||"to"===i&&n.runCallbacks===!0)&&y(i)}function y(e){if(k.callPlugins("onSlideChangeStart"),t.onSlideChangeStart)if(t.queueStartCallbacks&&k.support.transitions){if(k._queueStartCallbacks)return;k._queueStartCallbacks=!0,k.fireCallback(t.onSlideChangeStart,k,e),k.wrapperTransitionEnd(function(){k._queueStartCallbacks=!1})}else k.fireCallback(t.onSlideChangeStart,k,e);if(t.onSlideChangeEnd)if(k.support.transitions)if(t.queueEndCallbacks){if(k._queueEndCallbacks)return;k._queueEndCallbacks=!0,k.wrapperTransitionEnd(function(i){k.fireCallback(t.onSlideChangeEnd,i,e)})}else k.wrapperTransitionEnd(function(i){k.fireCallback(t.onSlideChangeEnd,i,e)});else t.DOMAnimation||setTimeout(function(){k.fireCallback(t.onSlideChangeEnd,k,e)},10)}function x(){var e=k.paginationButtons;if(e)for(var t=0;t<e.length;t++)k.h.removeEventListener(e[t],"click",b)}function C(){var e=k.paginationButtons;if(e)for(var t=0;t<e.length;t++)k.h.addEventListener(e[t],"click",b)}function b(e){for(var t,i=e.target||e.srcElement,n=k.paginationButtons,r=0;r<n.length;r++)i===n[r]&&(t=r);k.swipeTo(t)}function L(){J=setTimeout(function(){t.loop?(k.fixLoop(),k.swipeNext(!0)):k.swipeNext(!0)||(t.autoplayStopOnLast?(clearTimeout(J),J=void 0):k.swipeTo(0)),k.wrapperTransitionEnd(function(){"undefined"!=typeof J&&L()})},t.autoplay)}function M(){k.calcSlides(),t.loader.slides.length>0&&0===k.slides.length&&k.loadSlides(),t.loop&&k.createLoop(),k.init(),o(),t.pagination&&k.createPagination(!0),t.loop||t.initialSlide>0?k.swipeTo(t.initialSlide,0,!1):k.updateActiveSlide(0),t.autoplay&&k.startAutoplay(),k.centerIndex=k.activeIndex,t.onSwiperCreated&&k.fireCallback(t.onSwiperCreated,k),k.callPlugins("onSwiperCreated")}if(document.body.__defineGetter__&&HTMLElement){var E=HTMLElement.prototype;E.__defineGetter__&&E.__defineGetter__("outerHTML",function(){return(new XMLSerializer).serializeToString(this)})}if(window.getComputedStyle||(window.getComputedStyle=function(e){return this.el=e,this.getPropertyValue=function(t){var i=/(\-([a-z]){1})/g;return"float"===t&&(t="styleFloat"),i.test(t)&&(t=t.replace(i,function(){return arguments[2].toUpperCase()})),e.currentStyle[t]?e.currentStyle[t]:null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){for(var i=t||0,n=this.length;n>i;i++)if(this[i]===e)return i;return-1}),(document.querySelectorAll||window.jQuery)&&"undefined"!=typeof e&&(e.nodeType||0!==i(e).length)){var k=this;k.touches={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,diff:0,abs:0},k.positions={start:0,abs:0,diff:0,current:0},k.times={start:0,end:0},k.id=(new Date).getTime(),k.container=e.nodeType?e:i(e)[0],k.isTouched=!1,k.isMoved=!1,k.activeIndex=0,k.centerIndex=0,k.activeLoaderIndex=0,k.activeLoopIndex=0,k.previousIndex=null,k.velocity=0,k.snapGrid=[],k.slidesGrid=[],k.imagesToLoad=[],k.imagesLoaded=0,k.wrapperLeft=0,k.wrapperRight=0,k.wrapperTop=0,k.wrapperBottom=0,k.isAndroid=navigator.userAgent.toLowerCase().indexOf("android")>=0;var P,A,I,D,W,G,N={eventTarget:"wrapper",mode:"horizontal",touchRatio:1,speed:300,freeMode:!1,freeModeFluid:!1,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,slidesPerView:1,slidesPerGroup:1,slidesPerViewFit:!0,simulateTouch:!0,followFinger:!0,shortSwipes:!0,longSwipesRatio:.5,moveStartThreshold:!1,onlyExternal:!1,createPagination:!0,pagination:!1,paginationElement:"span",paginationClickable:!1,paginationAsRange:!0,resistance:!0,scrollContainer:!1,preventLinks:!0,preventLinksPropagation:!1,noSwiping:!1,noSwipingClass:"swiper-no-swiping",initialSlide:0,keyboardControl:!1,mou
4sewheelControl:!1,mousewheelControlForceToAxis:!1,useCSS3Transforms:!0,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,loop:!1,loopAdditionalSlides:0,roundLengths:!1,calculateHeight:!1,cssWidthAndHeight:!1,updateOnImagesReady:!0,releaseFormElements:!0,watchActiveIndex:!1,visibilityFullFit:!1,offsetPxBefore:0,offsetPxAfter:0,offsetSlidesBefore:0,offsetSlidesAfter:0,centeredSlides:!1,queueStartCallbacks:!1,queueEndCallbacks:!1,autoResize:!0,resizeReInit:!1,DOMAnimation:!0,loader:{slides:[],slidesHTMLType:"inner",surroundGroups:1,logic:"reload",loadAllSlides:!1},slideElement:"div",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",wrapperClass:"swiper-wrapper",paginationElementClass:"swiper-pagination-switch",paginationActiveClass:"swiper-active-switch",paginationVisibleClass:"swiper-visible-switch"};t=t||{};for(var R in N)if(R in t&&"object"==typeof t[R])for(var O in N[R])O in t[R]||(t[R][O]=N[R][O]);else R in t||(t[R]=N[R]);k.params=t,t.scrollContainer&&(t.freeMode=!0,t.freeModeFluid=!0),t.loop&&(t.resistance="100%");var V="horizontal"===t.mode,F=["mousedown","mousemove","mouseup"];k.browser.ie10&&(F=["MSPointerDown","MSPointerMove","MSPointerUp"]),k.browser.ie11&&(F=["pointerdown","pointermove","pointerup"]),k.touchEvents={touchStart:k.support.touch||!t.simulateTouch?"touchstart":F[0],touchMove:k.support.touch||!t.simulateTouch?"touchmove":F[1],touchEnd:k.support.touch||!t.simulateTouch?"touchend":F[2]};for(var z=k.container.childNodes.length-1;z>=0;z--)if(k.container.childNodes[z].className)for(var B=k.container.childNodes[z].className.split(/\s+/),H=0;H<B.length;H++)B[H]===t.wrapperClass&&(P=k.container.childNodes[z]);k.wrapper=P,k._extendSwiperSlide=function(e){return e.append=function(){return t.loop?e.insertAfter(k.slides.length-k.loopedSlides):(k.wrapper.appendChild(e),k.reInit()),e},e.prepend=function(){return t.loop?(k.wrapper.insertBefore(e,k.slides[k.loopedSlides]),k.removeLoopedSlides(),k.calcSlides(),k.createLoop()):k.wrapper.insertBefore(e,k.wrapper.firstChild),k.reInit(),e},e.insertAfter=function(i){if("undefined"==typeof i)return!1;var n;return t.loop?(n=k.slides[i+1+k.loopedSlides],n?k.wrapper.insertBefore(e,n):k.wrapper.appendChild(e),k.removeLoopedSlides(),k.calcSlides(),k.createLoop()):(n=k.slides[i+1],k.wrapper.insertBefore(e,n)),k.reInit(),e},e.clone=function(){return k._extendSwiperSlide(e.cloneNode(!0))},e.remove=function(){k.wrapper.removeChild(e),k.reInit()},e.html=function(t){return"undefined"==typeof t?e.innerHTML:(e.innerHTML=t,e)},e.index=function(){for(var t,i=k.slides.length-1;i>=0;i--)e===k.slides[i]&&(t=i);return t},e.isActive=function(){return e.index()===k.activeIndex?!0:!1},e.swiperSlideDataStorage||(e.swiperSlideDataStorage={}),e.getData=function(t){return e.swiperSlideDataStorage[t]},e.setData=function(t,i){return e.swiperSlideDataStorage[t]=i,e},e.data=function(t,i){return"undefined"==typeof i?e.getAttribute("data-"+t):(e.setAttribute("data-"+t,i),e)},e.getWidth=function(t,i){return k.h.getWidth(e,t,i)},e.getHeight=function(t,i){return k.h.getHeight(e,t,i)},e.getOffset=function(){return k.h.getOffset(e)},e},k.calcSlides=function(e){var i=k.slides?k.slides.length:!1;k.slides=[],k.displaySlides=[];for(var n=0;n<k.wrapper.childNodes.length;n++)if(k.wrapper.childNodes[n].className)for(var r=k.wrapper.childNodes[n].className,o=r.split(/\s+/),l=0;l<o.length;l++)o[l]===t.slideClass&&k.slides.push(k.wrapper.childNodes[n]);for(n=k.slides.length-1;n>=0;n--)k._extendSwiperSlide(k.slides[n]);i!==!1&&(i!==k.slides.length||e)&&(a(),s(),k.updateActiveSlide(),k.params.pagination&&k.createPagination(),k.callPlugins("numberOfSlidesChanged"))},k.createSlide=function(e,i,n){i=i||k.params.slideClass,n=n||t.slideElement;var r=document.createElement(n);return r.innerHTML=e||"",r.className=i,k._extendSwiperSlide(r)},k.appendSlide=function(e,t,i){return e?e.nodeType?k._extendSwiperSlide(e).append():k.createSlide(e,t,i).append():void 0},k.prependSlide=function(e,t,i){return e?e.nodeType?k._extendSwiperSlide(e).prepend():k.createSlide(e,t,i).prepend():void 0},k.insertSlideAfter=function(e,t,i,n){return"undefined"==typeof e?!1:t.nodeType?k._extendSwiperSlide(t).insertAfter(e):k.createSlide(t,i,n).insertAfter(e)},k.removeSlide=function(e){if(k.slides[e]){if(t.loop){if(!k.slides[e+k.loopedSlides])return!1;k.slides[e+k.loopedSlides].remove(),k.removeLoopedSlides(),k.calcSlides(),k.createLoop()}else k.slides[e].remove();return!0}return!1},k.removeLastSlide=function(){return k.slides.length>0?(t.loop?(k.slides[k.slides.length-1-k.loopedSlides].remove(),k.removeLoopedSlides(),k.calcSlides(),k.createLoop()):k.slides[k.slides.length-1].remove(),!0):!1},k.removeAllSlides=function(){for(var e=k.slides.length-1;e>=0;e--)k.slides[e].remove()},k.getSlide=function(e){return k.slides[e]},k.getLastSlide=function(){return k.slides[k.slides.length-1]},k.getFirstSlide=function(){return k.slides[0]},k.activeSlide=function(){return k.slides[k.activeIndex]},k.fireCallback=function(){var e=arguments[0];if("[object Array]"===Object.prototype.toString.call(e))for(var i=0;i<e.length;i++)"function"==typeof e[i]&&e[i](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);else"[object String]"===Object.prototype.toString.call(e)?t["on"+e]&&k.fireCallback(t["on"+e],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]):e(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},k.addCallback=function(e,t){var i,r=this;return r.params["on"+e]?n(this.params["on"+e])?this.params["on"+e].push(t):"function"==typeof this.params["on"+e]?(i=this.params["on"+e],this.params["on"+e]=[],this.params["on"+e].push(i),this.params["on"+e].push(t)):void 0:(this.params["on"+e]=[],this.params["on"+e].push(t))},k.removeCallbacks=function(e){k.params["on"+e]&&(k.params["on"+e]=null)};var _=[];for(var Y in k.plugins)if(t[Y]){var X=k.plugins[Y](k,t[Y]);X&&_.push(X)}k.callPlugins=function(e,t){t||(t={});for(var i=0;i<_.length;i++)e in _[i]&&_[i][e](t)},!k.browser.ie10&&!k.browser.ie11||t.onlyExternal||k.wrapper.classList.add("swiper-wp8-"+(V?"horizontal":"vertical")),t.freeMode&&(k.container.className+=" swiper-free-mode"),k.initialized=!1,k.init=function(e,i){var n=k.h.getWidth(k.container,!1,t.roundLengths),r=k.h.getHeight(k.container,!1,t.roundLengths);if(n!==k.width||r!==k.height||e){k.width=n,k.height=r;var o,s,a,l,d,p,u;G=V?n:r;var c=k.wrapper;if(e&&k.calcSlides(i),"auto"===t.slidesPerView){var f=0,h=0;t.slidesOffset>0&&(c.style.paddingLeft="",c.style.paddingRight="",c.style.paddingTop="",c.style.paddingBottom=""),c.style.width="",c.style.height="",t.offsetPxBefore>0&&(V?k.wrapperLeft=t.offsetPxBefore:k.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(V?k.wrapperRight=t.offsetPxAfter:k.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(V?(k.wrapperLeft=(G-this.slides[0].getWidth(!0,t.roundLengths))/2,k.wrapperRight=(G-k.slides[k.slides.length-1].getWidth(!0,t.roundLengths))/2):(k.wrapperTop=(G-k.slides[0].getHeight(!0,t.roundLengths))/2,k.wrapperBottom=(G-k.slides[k.slides.length-1].getHeight(!0,t.roundLengths))/2)),V?(k.wrapperLeft>=0&&(c.style.paddingLeft=k.wrapperLeft+"px"),k.wrapperRight>=0&&(c.style.paddingRight=k.wrapperRight+"px")):(k.wrapperTop>=0&&(c.style.paddingTop=k.wrapperTop+"px"),k.wrapperBottom>=0&&(c.style.paddingBottom=k.wrapperBottom+"px")),p=0;var g=0;for(k.snapGrid=[],k.slidesGrid=[],a=0,u=0;u<k.slides.length;u++){o=k.slides[u].getWidth(!0,t.roundLengths),s=k.slides[u].getHeight(!0,t.roundLengths),t.calculateHeight&&(a=Math.max(a,s));var w=V?o:s;if(t.centeredSlides){var m=u===k.slides.length-1?0:k.slides[u+1].getWidth(!0,t.roundLengths),v=u===k.slides.length-1?0:k.slides[u+1].getHeight(!0,t.roundLengths),S=V?m:v;if(w>G){if(t.slidesPerViewFit)k.snapGrid.push(p+k.wrapperLeft),k.snapGrid.push(p+w-G+k.wrapperLeft);else for(var T=0;T<=Math.floor(w/(G+k.wrapperLeft));T++)k.snapGrid.push(0===T?p+k.wrapperLeft:p+k.wrapperLeft+G*T);k.slidesGrid.push(p+k.wrapperLeft)}else k.snapGrid.push(g),k.slidesGrid.push(g);g+=w/2+S/2}else{if(w>G)if(t.slidesPerViewFit)k.snapGrid.push(p),k.snapGrid.push(p+w-G);else if(0!==G)for(var y=0;y<=Math.floor(w/G);y++)k.snapGrid.push(p+G*y);else k.snapGrid.push(p);else k.snapGrid.push(p);k.slidesGrid.push(p)}p+=w,f+=o,h+=s}t.calculateHeight&&(k.height=a),V?(I=f+k.wrapperRight+k.wrapperLeft,c.style.width=f+"px",c.style.height=k.height+"px"):(I=h+k.wrapperTop+k.wrapperBottom,c.style.width=k.width+"px",c.style.height=h+"px")}
4else if(t.scrollContainer)c.style.width="",c.style.height="",l=k.slides[0].getWidth(!0,t.roundLengths),d=k.slides[0].getHeight(!0,t.roundLengths),I=V?l:d,c.style.width=l+"px",c.style.height=d+"px",A=V?l:d;else{if(t.calculateHeight){for(a=0,d=0,V||(k.container.style.height=""),c.style.height="",u=0;u<k.slides.length;u++)k.slides[u].style.height="",a=Math.max(k.slides[u].getHeight(!0),a),V||(d+=k.slides[u].getHeight(!0));s=a,k.height=s,V?d=s:(G=s,k.container.style.height=G+"px")}else s=V?k.height:k.height/t.slidesPerView,t.roundLengths&&(s=Math.round(s)),d=V?k.height:k.slides.length*s;for(o=V?k.width/t.slidesPerView:k.width,t.roundLengths&&(o=Math.round(o)),l=V?k.slides.length*o:k.width,A=V?o:s,t.offsetSlidesBefore>0&&(V?k.wrapperLeft=A*t.offsetSlidesBefore:k.wrapperTop=A*t.offsetSlidesBefore),t.offsetSlidesAfter>0&&(V?k.wrapperRight=A*t.offsetSlidesAfter:k.wrapperBottom=A*t.offsetSlidesAfter),t.offsetPxBefore>0&&(V?k.wrapperLeft=t.offsetPxBefore:k.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(V?k.wrapperRight=t.offsetPxAfter:k.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(V?(k.wrapperLeft=(G-A)/2,k.wrapperRight=(G-A)/2):(k.wrapperTop=(G-A)/2,k.wrapperBottom=(G-A)/2)),V?(k.wrapperLeft>0&&(c.style.paddingLeft=k.wrapperLeft+"px"),k.wrapperRight>0&&(c.style.paddingRight=k.wrapperRight+"px")):(k.wrapperTop>0&&(c.style.paddingTop=k.wrapperTop+"px"),k.wrapperBottom>0&&(c.style.paddingBottom=k.wrapperBottom+"px")),I=V?l+k.wrapperRight+k.wrapperLeft:d+k.wrapperTop+k.wrapperBottom,t.cssWidthAndHeight||(parseFloat(l)>0&&(c.style.width=l+"px"),parseFloat(d)>0&&(c.style.height=d+"px")),p=0,k.snapGrid=[],k.slidesGrid=[],u=0;u<k.slides.length;u++)k.snapGrid.push(p),k.slidesGrid.push(p),p+=A,t.cssWidthAndHeight||(parseFloat(o)>0&&(k.slides[u].style.width=o+"px"),parseFloat(s)>0&&(k.slides[u].style.height=s+"px"))}k.initialized?(k.callPlugins("onInit"),t.onInit&&k.fireCallback(t.onInit,k)):(k.callPlugins("onFirstInit"),t.onFirstInit&&k.fireCallback(t.onFirstInit,k)),k.initialized=!0}},k.reInit=function(e){k.init(!0,e)},k.resizeFix=function(e){k.callPlugins("beforeResizeFix"),k.init(t.resizeReInit||e),t.freeMode?k.getWrapperTranslate()<-r()&&(k.setWrapperTransition(0),k.setWrapperTranslate(-r())):(k.swipeTo(t.loop?k.activeLoopIndex:k.activeIndex,0,!1),t.autoplay&&(k.support.transitions&&"undefined"!=typeof J?"undefined"!=typeof J&&(clearTimeout(J),J=void 0,k.startAutoplay()):"undefined"!=typeof et&&(clearInterval(et),et=void 0,k.startAutoplay()))),k.callPlugins("afterResizeFix")},k.destroy=function(){var e=k.h.removeEventListener,i="wrapper"===t.eventTarget?k.wrapper:k.container;k.browser.ie10||k.browser.ie11?(e(i,k.touchEvents.touchStart,g),e(document,k.touchEvents.touchMove,w),e(document,k.touchEvents.touchEnd,m)):(k.support.touch&&(e(i,"touchstart",g),e(i,"touchmove",w),e(i,"touchend",m)),t.simulateTouch&&(e(i,"mousedown",g),e(document,"mousemove",w),e(document,"mouseup",m))),t.autoResize&&e(window,"resize",k.resizeFix),a(),t.paginationClickable&&x(),t.mousewheelControl&&k._wheelEvent&&e(k.container,k._wheelEvent,d),t.keyboardControl&&e(document,"keydown",l),t.autoplay&&k.stopAutoplay(),k.callPlugins("onDestroy"),k=null},k.disableKeyboardControl=function(){t.keyboardControl=!1,k.h.removeEventListener(document,"keydown",l)},k.enableKeyboardControl=function(){t.keyboardControl=!0,k.h.addEventListener(document,"keydown",l)};var q=(new Date).getTime();if(k.disableMousewheelControl=function(){return k._wheelEvent?(t.mousewheelControl=!1,k.h.removeEventListener(k.container,k._wheelEvent,d),!0):!1},k.enableMousewheelControl=function(){return k._wheelEvent?(t.mousewheelControl=!0,k.h.addEventListener(k.container,k._wheelEvent,d),!0):!1},t.grabCursor){var j=k.container.style;j.cursor="move",j.cursor="grab",j.cursor="-moz-grab",j.cursor="-webkit-grab"}k.allowSlideClick=!0,k.allowLinks=!0;var K,Q,U,Z=!1,$=!0;k.swipeNext=function(e){!e&&t.loop&&k.fixLoop(),!e&&t.autoplay&&k.stopAutoplay(!0),k.callPlugins("onSwipeNext");var i=k.getWrapperTranslate(),n=i;if("auto"===t.slidesPerView){for(var o=0;o<k.snapGrid.length;o++)if(-i>=k.snapGrid[o]&&-i<k.snapGrid[o+1]){n=-k.snapGrid[o+1];break}}else{var s=A*t.slidesPerGroup;n=-(Math.floor(Math.abs(i)/Math.floor(s))*s+s)}
4return n<-r()&&(n=-r()),n===i?!1:(T(n,"next"),!0)},k.swipePrev=function(e){!e&&t.loop&&k.fixLoop(),!e&&t.autoplay&&k.stopAutoplay(!0),k.callPlugins("onSwipePrev");var i,n=Math.ceil(k.getWrapperTranslate());if("auto"===t.slidesPerView){i=0;for(var r=1;r<k.snapGrid.length;r++){if(-n===k.snapGrid[r]){i=-k.snapGrid[r-1];break}if(-n>k.snapGrid[r]&&-n<k.snapGrid[r+1]){i=-k.snapGrid[r];break}}}else{var o=A*t.slidesPerGroup;i=-(Math.ceil(-n/o)-1)*o}return i>0&&(i=0),i===n?!1:(T(i,"prev"),!0)},k.swipeReset=function(){k.callPlugins("onSwipeReset");var e,i=k.getWrapperTranslate(),n=A*t.slidesPerGroup;if(-r(),"auto"===t.slidesPerView){e=0;for(var o=0;o<k.snapGrid.length;o++){if(-i===k.snapGrid[o])return;if(-i>=k.snapGrid[o]&&-i<k.snapGrid[o+1]){e=k.positions.diff>0?-k.snapGrid[o+1]:-k.snapGrid[o];break}}-i>=k.snapGrid[k.snapGrid.length-1]&&(e=-k.snapGrid[k.snapGrid.length-1]),i<=-r()&&(e=-r())}else e=0>i?Math.round(i/n)*n:0;return t.scrollContainer&&(e=0>i?i:0),e<-r()&&(e=-r()),t.scrollContainer&&G>A&&(e=0),e===i?!1:(T(e,"reset"),!0)},k.swipeTo=function(e,i,n){e=parseInt(e,10),k.callPlugins("onSwipeTo",{index:e,speed:i}),t.loop&&(e+=k.loopedSlides);var o=k.getWrapperTranslate();if(!(e>k.slides.length-1||0>e)){var s;return s="auto"===t.slidesPerView?-k.slidesGrid[e]:-e*A,s<-r()&&
4(s=-r()),s===o?!1:(n=n===!1?!1:!0,T(s,"to",{index:e,speed:i,runCallbacks:n}),!0)}},k._queueStartCallbacks=!1,k._queueEndCallbacks=!1,k.updateActiveSlide=function(e){if(k.initialized&&0!==k.slides.length){k.previousIndex=k.activeIndex,"undefined"==typeof e&&(e=k.getWrapperTranslate()),e>0&&(e=0);var i;if("auto"===t.slidesPerView){if(k.activeIndex=k.slidesGrid.indexOf(-e),k.activeIndex<0){for(i=0;i<k.slidesGrid.length-1&&!(-e>k.slidesGrid[i]&&-e<k.slidesGrid[i+1]);i++);var n=Math.abs(k.slidesGrid[i]+e),r=Math.abs(k.slidesGrid[i+1]+e);k.activeIndex=r>=n?i:i+1}}else k.activeIndex=Math[t.visibilityFullFit?"ceil":"round"](-e/A);if(k.activeIndex===k.slides.length&&(k.activeIndex=k.slides.length-1),k.activeIndex<0&&(k.activeIndex=0),k.slides[k.activeIndex]){if(k.calcVisibleSlides(e),k.support.classList){var o;for(i=0;i<k.slides.length;i++)o=k.slides[i],o.classList.remove(t.slideActiveClass),k.visibleSlides.indexOf(o)>=0?o.classList.add(t.slideVisibleClass):o.classList.remove(t.slideVisibleClass);k.slides[k.activeIndex].classList.add(t.slideActiveClass)}else{var s=new RegExp("\\s*"+t.slideActiveClass),a=new RegExp("\\s*"+t.slideVisibleClass);for(i=0;i<k.slides.length;i++)k.slides[i].className=k.slides[i].className.replace(s,"").replace(a,""),k.visibleSlides.indexOf(k.slides[i])>=0&&(k.slides[i].className+=" "+t.slideVisibleClass);k.slides[k.activeIndex].className+=" "+t.slideActiveClass}if(t.loop){var l=k.loopedSlides;k.activeLoopIndex=k.activeIndex-l,k.activeLoopIndex>=k.slides.length-2*l&&(k.activeLoopIndex=k.slides.length-2*l-k.activeLoopIndex),k.activeLoopIndex<0&&(k.activeLoopIndex=k.slides.length-2*l+k.activeLoopIndex),k.activeLoopIndex<0&&(k.activeLoopIndex=0)}else k.activeLoopIndex=k.activeIndex;t.pagination&&k.updatePagination(e)}}},k.createPagination=function(e){if(t.paginationClickable&&k.paginationButtons&&x(),k.paginationContainer=t.pagination.nodeType?t.pagination:i(t.pagination)[0],t.createPagination){var n="",r=k.slides.length,o=r;t.loop&&(o-=2*k.loopedSlides);for(var s=0;o>s;s++)n+="<"+t.paginationElement+' class="'+t.paginationElementClass+'"></'+t.paginationElement+">";k.paginationContainer.innerHTML=n}k.paginationButtons=i("."+t.paginationElementClass,k.paginationContainer),e||k.updatePagination(),k.callPlugins("onCreatePagination"),t.paginationClickable&&C()},k.updatePagination=function(e){if(t.pagination&&!(k.slides.length<1)){var n=i("."+t.paginationActiveClass,k.paginationContainer);
5if(n){var r=k.paginationButtons;if(0!==r.length){for(var o=0;o<r.length;o++)r[o].className=t.paginationElementClass;var s=t.loop?k.loopedSlides:0;if(t.paginationAsRange){k.visibleSlides||k.calcVisibleSlides(e);var a,l=[];for(a=0;a<k.visibleSlides.length;a++){var d=k.slides.indexOf(k.visibleSlides[a])-s;t.loop&&0>d&&(d=k.slides.length-2*k.loopedSlides+d),t.loop&&d>=k.slides.length-2*k.loopedSlides&&(d=k.slides.length-2*k.loopedSlides-d,d=Math.abs(d)),l.push(d)}for(a=0;a<l.length;a++)r[l[a]]&&(r[l[a]].className+=" "+t.paginationVisibleClass);t.loop?void 0!==r[k.activeLoopIndex]&&(r[k.activeLoopIndex].className+=" "+t.paginationActiveClass):r[k.activeIndex].className+=" "+t.paginationActiveClass}else t.loop?r[k.activeLoopIndex]&&(r[k.activeLoopIndex].className+=" "+t.paginationActiveClass+" "+t.paginationVisibleClass):r[k.activeIndex].className+=" "+t.paginationActiveClass+" "+t.paginationVisibleClass}}}},k.calcVisibleSlides=function(e){var i=[],n=0,r=0,o=0;V&&k.wrapperLeft>0&&(e+=k.wrapperLeft),!V&&k.wrapperTop>0&&(e+=k.wrapperTop);for(var s=0;s<k.slides.length;s++){n+=r,r="auto"===t.slidesPerView?V?k.h.getWidth(k.slides[s],!0,t.roundLengths):k.h.getHeight(k.slides[s],!0,t.roundLengths):A,o=n+r;var a=!1;t.visibilityFullFit?(n>=-e&&-e+G>=o&&(a=!0),-e>=n&&o>=-e+G&&(a=!0)):(o>-e&&-e+G>=o&&(a=!0),n>=-e&&-e+G>n&&(a=!0),-e>n&&o>-e+G&&(a=!0)),a&&i.push(k.slides[s])}0===i.length&&(i=[k.slides[k.activeIndex]]),k.visibleSlides=i};var J,et;k.startAutoplay=function(){if(k.support.transitions){if("undefined"!=typeof J)return!1;if(!t.autoplay)return;k.callPlugins("onAutoplayStart"),t.onAutoplayStart&&k.fireCallback(t.onAutoplayStart,k),L()}else{if("undefined"!=typeof et)return!1;if(!t.autoplay)return;k.callPlugins("onAutoplayStart"),t.onAutoplayStart&&k.fireCallback(t.onAutoplayStart,k),et=setInterval(function(){t.loop?(k.fixLoop(),k.swipeNext(!0)):k.swipeNext(!0)||(t.auto
5playStopOnLast?(clearInterval(et),et=void 0):k.swipeTo(0))},t.autoplay)}},k.stopAutoplay=function(e){if(k.support.transitions){if(!J)return;J&&clearTimeout(J),J=void 0,e&&!t.autoplayDisableOnInteraction&&k.wrapperTransitionEnd(function(){L()}),k.callPlugins("onAutoplayStop"),t.onAutoplayStop&&k.fireCallback(t.onAutoplayStop,k)}else et&&clearInterval(et),et=void 0,k.callPlugins("onAutoplayStop"),t.onAutoplayStop&&k.fireCallback(t.onAutoplayStop,k)},k.loopCreated=!1,k.removeLoopedSlides=function(){if(k.loopCreated)for(var e=0;e<k.slides.length;e++)k.slides[e].getData("looped")===!0&&k.wrapper.removeChild(k.slides[e])},k.createLoop=function(){if(0!==k.slides.length){k.loopedSlides="auto"===t.slidesPerView?t.loopedSlides||1:t.slidesPerView+t.loopAdditionalSlides,k.loopedSlides>k.slides.length&&(k.loopedSlides=k.slides.length);var e,i="",n="",r="",o=k.slides.length,s=Math.floor(k.loopedSlides/o),a=k.loopedSlides%o;for(e=0;s*o>e;e++){var l=e;if(e>=o){var d=Math.floor(e/o);l=e-o*d}r+=k.slides[l].outerHTML}for(e=0;a>e;e++)n+=S(t.slideDuplicateClass,k.slides[e].outerHTML);for(e=o-a;o>e;e++)i+=S(t.slideDuplicateClass,k.slides[e].outerHTML);var p=i+r+P.innerHTML+r+n;for(P.innerHTML=p,k.loopCreated=!0,k.calcSlides(),e=0;e<k.slides.length;e++)(e<k.loopedSlides||e>=k.slides.length-k.loopedSlides)&&k.slides[e].setData("looped",!0);k.callPlugins("onCreateLoop")}},k.fixLoop=function(){var e;k.activeIndex<k.loopedSlides?(e=k.slides.length-3*k.loopedSlides+k.activeIndex,k.swipeTo(e,0,!1)):("auto"===t.slidesPerView&&k.activeIndex>=2*k.loopedSlides||k.activeIndex>k.slides.length-2*t.slidesPerView)&&(e=-k.slides.length+k.activeIndex+k.loopedSlides,k.swipeTo(e,0,!1))},k.loadSlides=function(){var e="";k.activeLoaderIndex=0;for(var i=t.loader.slides,n=t.loader.loadAllSlides?i.length:t.slidesPerView*(1+t.loader.surroundGroups),r=0;n>r;r++)e+="outer"===t.loader.slidesHTMLType?i[r]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+r+'">'+i[r]+"</"+t.slideElement+">";k.wrapper.innerHTML=e,k.calcSlides(!0),t.loader.loadAllSlides||k.wrapperTransitionEnd(k.reloadSlides,!0)},k.reloadSlides=function(){var e=t.loader.slides,i=parseInt(k.activeSlide().data("swiperindex"),10);if(!(0>i||i>e.length-1)){k.activeLoaderIndex=i;var n=Math.max(0,i-t.slidesPerView*t.loader.surroundGroups),r=Math.min(i+t.slidesPerView*(1+t.loader.surroundGroups)-1,e.length-1);if(i>0){var o=-A*(i-n);k.setWrapperTranslate(o),k.setWrapperTransition(0)}var s;if("reload"===t.loader.logic){k.wrapper.innerHTML="";var a="";for(s=n;r>=s;s++)a+="outer"===t.loader.slidesHTMLType?e[s]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+s+'">'+e[s]+"</"+t.slideElement+">";k.wrapper.innerHTML=a}else{var l=1e3,d=0;for(s=0;s<k.slides.length;s++){var p=k.slides[s].data("swiperindex");n>p||p>r?k.wrapper.removeChild(k.slides[s]):(l=Math.min(p,l),d=Math.max(p,d))}for(s=n;r>=s;s++){var u;l>
5s&&(u=document.createElement(t.slideElement),u.className=t.slideClass,u.setAttribute("data-swiperindex",s),u.innerHTML=e[s],k.wrapper.insertBefore(u,k.wrapper.firstChild)),s>d&&(u=document.createElement(t.slideElement),u.className=t.slideClass,u.setAttribute("data-swiperindex",s),u.innerHTML=e[s],k.wrapper.appendChild(u))}}k.reInit(!0)}},M()}};Swiper.prototype={plugins:{},wrapperTransitionEnd:function(e,t){"use strict";function i(){if(e(r),r.params.queueEndCallbacks&&(r._queueEndCallbacks=!1),!t)for(n=0;n<s.length;n++)r.h.removeEventListener(o,s[n],i)}var n,r=this,o=r.wrapper,s=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"];if(e)for(n=0;n<s.length;n++)r.h.addEventListener(o,s[n],i)},getWrapperTranslate:function(e){"use strict";var t,i,n,r,o=this.wrapper;return"undefined"==typeof e&&(e="horizontal"===this.params.mode?"x":"y"),this.support.transforms&&this.params.useCSS3Transforms?(n=window.getComputedStyle(o,null),window.WebKitCSSMatrix?r=new WebKitCSSMatrix("none"===n.webkitTransform?"":n.webkitTransform):(r=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),t=r.toString().split(",")),"x"===e&&(i=window.WebKitCSSMatrix?r.m41:parseFloat(16===t.length?t[12]:t[4])),"y"===e&&(i=window.WebKitCSSMatrix?r.m42:parseFloat(16===t.length?t[13]:t[5]))):("x"===e&&(i=parseFloat(o.style.left,10)||0),"y"===e&&(i=parseFloat(o.style.top,10)||0)),i||0},setWrapperTranslate:function(e,t,i){"use strict";var n,r=this.wrapper.style,o={x:0,y:0,z:0};3===arguments.length?(o.x=e,o.y=t,o.z=i):("undefined"==typeof t&&(t="horizontal"===this.params.mode?"x":"y"),o[t]=e),this.support.transforms&&this.params.useCSS3Transforms?(n=this.support.transforms3d?"translate3d("+o.x+"px, "+o.y+"px, "+o.z+"px)":"translate("+o.x+"px, "+o.y+"px)",r.webkitTransform=r.MsTransform=r.msTransform=r.MozTransform=r.OTransform=r.transform=n):(r.left=o.x+"px",r.top=o.y+"px"),this.callPlugins("onSetWrapperTransform",o),this.params.onSetWrapperTransform&&this.fireCallback(this.params.onSetWrapperTransform,this,o)},setWrapperTransition:function(e){"use strict";var t=this.wrapper.style;t.webkitTransitionDuration=t.MsTransitionDuration=t.msTransitionDuration=t.MozTransitionDuration=t.OTransitionDuration=t.transitionDuration=e/1e3+"s",this.callPlugins("onSetWrapperTransition",{duration:e}),this.params.onSetWrapperTransition&&this.fireCallback(this.params.onSetWrapperTransition,this,e)},h:{getWidth:function(e,t,i){"use strict";var n=window.getComputedStyle(e,null).getPropertyValue("width"),r=parseFloat(n);return(isNaN(r)||n.indexOf("%")>0)&&(r=e.offsetWidth-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-left"))-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-right"))),t&&(r+=parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-left"))+parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-right"))),i?Math.round(r):r},getHeight:function(e,t,i){"use strict";if(t)return e.offsetHeight;var n=window.getComputedStyle(e,null).getPropertyValue("height"),r=parseFloat(n);return(isNaN(r)||n.indexOf("%")>0)&&(r=e.offsetHeight-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-top"))-parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-bottom"))),t&&(r+=parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-top"))+parseFloat(window.getComputedStyle(e,null).getPropertyValue("padding-bottom"))),i?Math.round(r):r},getOffset:function(e){"use strict";var t=e.getBoundingClientRect(),i=document.body,n=e.clientTop||i.clientTop||0,r=e.clientLeft||i.clientLeft||0,o=window.pageYOffset||e.scrollTop,s=window.pageXOffset||e.scrollLeft;return document.documentElement&&!window.pageYOffset&&(o=document.documentElement.scrollTop,s=document.documentElement.scrollLeft),{top:t.top+o-n,left:t.left+s-r}},windowWidth:function(){"use strict";return window.innerWidth?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:void 0},windowHeight:function(){"use strict";return window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:void 0},windowScroll:function(){"use strict";return"undefined"!=typeof pageYOffset?{left:window.pageXOffset,top:window.pageYOffset}:document.documentElement?{left:document.documentElement.scrollLeft,top:document.documentElement.scrollTop}:void 0},addEventListener:function(e,t,i,n){"use strict";"undefined"==typeof n&&(n=!1),e.addEventListener?e.addEventListener(t,i,n):e.attachEvent&&e.attachEvent("on"+t,i)},removeEventListener:function(e,t,i,n){"use strict";"undefined"==typeof n&&(n=!1),e.removeEventListener?e.removeEventListener(t,i,n):e.detachEvent&&e.detachEvent("on"+t,i)}},setTransform:function(e,t){"use strict";var i=e.style;i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=t},setTranslate:function(e,t){"use strict";var i=e.style,n={x:t.x||0,y:t.y||0,z:t.z||0},r=this.support.transforms3d?"translate3d("+n.x+"px,"+n.y+"px,"+n.z+"px)":"translate("+n.x+"px,"+n.y+"px)";i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=r,this.support.transforms||(i.left
5=n.x+"px",i.top=n.y+"px")},setTransition:function(e,t){"use strict";var i=e.style;i.webkitTransitionDuration=i.MsTransitionDuration=i.msTransitionDuration=i.MozTransitionDuration=i.OTransitionDuration=i.transitionDuration=t+"ms"},support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){"use strict";return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){"use strict";var e=document.createElement("div").style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),transforms:window.Modernizr&&Modernizr.csstransforms===!0||function(){"use strict";var e=document.createElement("div").style;return"transform"in e||"WebkitTransform"in e||"MozTransform"in e||"msTransform"in e||"MsTransform"in e||"OTransform"in e}(),transitions:window.Modernizr&&Modernizr.csstransitions===!0||function(){"use strict";var e=document.createElement("div").style;return"transition"in e||"WebkitTransition"in e||"MozTransition"in e||"msTransition"in e||"MsTransition"in e||"OTransition"in e}(),classList:function(){"use strict";var e=document.createElement("div").style;return"classList"in e}()},browser:{ie8:function(){"use strict";var e=-1;if("Microsoft Internet Explorer"===navigator.appName){var t=navigator.userAgent,i=new RegExp(/MSIE ([0-9]{1,}[\.0-9]{0,})/);null!==i.exec(t)&&(e=parseFloat(RegExp.$1))}return-1!==e&&9>e}(),ie10:window.navigator.msPointerEnabled,ie11:window.navigator.pointerEnabled}},(window.jQuery||window.Zepto)&&!function(e){"use strict";e.fn.swiper=function(t){var i=new Swiper(e(this)[0],t);return e(this).data("swiper",i),i}}(window.jQuery||window.Zepto),"undefined"!=typeof module&&(module.exports=Swiper),"function"==typeof define&&define.amd&&define([],function(){"use strict";return Swiper});
6!function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var r=document.head||document.getElementsByTagName("head")[0],a=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}",d=document.createElement("div");d.innerHTML='<p>x</p><style id="fit-vids-style">'+a+"</style>",r.appendChild(d.childNodes[1])}return e&&t.extend(i,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];i.customSelector&&e.push(i.customSelector);var r=".fitvidsignore";i.ignore&&(r=r+", "+i.ignore);var a=t(this).find(e.join(","));a=a.not("object object"),a=a.not(r),a.each(function(e){var i=t(this);if(!(i.parents(r).length>0||"embed"===this.tagName.toLowerCase()&&i.parent("object").length||i.parent(".fluid-width-video-wrapper").length)){i.css("height")||i.css("width")||!isNaN(i.attr("height"))&&!isNaN(i.attr("width"))||(i.attr("height",9),i.attr("width",16));var a="object"===this.tagName.toLowerCase()||i.attr("height")&&!isNaN(parseInt(i.attr("height"),10))?parseInt(i.attr("height"),10):i.height(),d=isNaN(parseInt(i.attr("width"),10))?i.width():parseInt(i.attr("width"),10),o=a/d;if(!i.attr("id")){var h="fitvid"+e;i.attr("id",h)}i.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*o+"%"),i.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto);
7$.scrollBarWidth=function(){var o=$("<div/>").css({width:100,height:100,overflow:"scroll",position:"absolute",top:-9999}).prependTo("body"),t=o[0].offsetWidth-o[0].clientWidth;return o.remove(),t};
8!function(s){"use strict";function e(s){return new RegExp("(^|\\s+)"+s+"(\\s+|$)")}function n(s,e){var n=a(s,e)?c:t;n(s,e)}var a,t,c;"classList"in document.documentElement?(a=function(s,e){return s.classList.contains(e)},t=function(s,e){s.classList.add(e)},c=function(s,e){s.classList.remove(e)}):(a=function(s,n){return e(n).test(s.className)},t=function(s,e){a(s,e)||(s.className=s.className+" "+e)},c=function(s,n){s.className=s.className.replace(e(n)," ")}
8);var i={hasClass:a,addClass:t,removeClass:c,toggleClass:n,has:a,add:t,remove:c,toggle:n};"function"==typeof define&&define.amd?define(i):s.classie=i}(window);
9!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this.drag=a.extend({},m),this.state=a.extend({},n),this.e=a.extend({},o),this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._invalidated={},this._pipe=[],a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a[0].toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Pipe,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}function f(a){if(a.touches!==d)return{x:a.touches[0].pageX,y:a.touches[0].pageY};if(a.touches===d){if(a.pageX!==d)return{x:a.pageX,y:a.pageY};if(a.pageX===d)return{x:a.clientX,y:a.clientY}}}function g(a){var b,d,e=c.createElement("div"),f=a;for(b in f)if(d=f[b],"undefined"!=typeof e.style[d])return e=null,[d,b];return[!1]}function h(){return g(["transition","WebkitTransition","MozTransition","OTransition"])[1]}function i(){return g(["transform","WebkitTransform","MozTransform","OTransform","msTransform"])[0]}function j(){return g(["perspective","webkitPerspective","MozPerspective","OPerspective","MsPerspective"])[0]}function k(){return"ontouchstart"in b||!!navigator.msMaxTouchPoints}function l(){return b.navigator.msPointerEnabled}var m,n,o;m={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,offsetX:0,offsetY:0,distance:null,startTime:0,endTime:0,updatedX:0,targetEl:null},n={isTouch:!1,isScrolling:!1,isSwiping:!1,direction:!1,inMotion:!1},o={_onDragStart:null,_onDragMove:null,_onDragEnd:null,_transitionEnd:null,_resizer:null,_responsiveCall:null,_goToLoop:null,_checkVisibile:null},e.Defaults={items:3,loop:!1,center:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,responsiveClass:!1,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",themeClass:"owl-theme",baseClass:"owl-carousel",itemClass:"owl-item",centerClass:"center",activeClass:"active"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Plugins={},e.Pipe=[{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){var a=this._clones,b=this.$stage.children(".cloned");(b.length!==a.length||!this.settings.loop&&a.length>0)&&(this.$stage.children(".cloned").remove(),this._clones=[])}},{filter:["items","settings"],run:function(){var a,b,c=this._clones,d=this._items,e=this.settings.loop?c.length-Math.max(2*this.settings.items,4):0;for(a=0,b=Math.abs(e/2);b>a;a++)e>0?(this.$stage.children().eq(d.length+c.length-1).remove(),c.pop(),this.$stage.children().eq(0).remove(),c.pop()):(c.push(c.length/2),this.$stage.append(d[c[c.length-1]].clone().addClass("cloned")),c.push(d.length-1-(c.length-1)/2),this.$stage.prepend(d[c[c.length-1]].clone().addClass("cloned")))}},{filter:["width","items","settings"],run:function(){var a,b,c,d=this.settings.rtl?1:-1,e=(this.width()/this.settings.items).toFixed(3),f=0;for(this._coordinates=[],b=0,c=this._clones.length+this._items.length;c>b;b++)a=this._mergers[this.relative(b)],a=this.settings.mergeFit&&Math.min(a,this.settings.items)||a,f+=(this.settings.autoWidth?this._items[this.relative(b)].width()+this.settings.margin:e*a)*d,this._coordinates.push(f)}},{filter:["width","items","settings"],run:function(){var b,c,d=(this.width()/this.settings.items).toFixed(3),e={width:Math.abs(this._coordinates[this._coordinates.length-1])+2*this.settings.stagePadding,"padding-left":this.settings.stagePadding||"","padding-right":this.settings.stagePadding||""};if(this.$stage.css(e),e={width:this.settings.autoWidth?"auto":d-this.settings.margin},e[this.settings.rtl?"margin-left":"margin-right"]=this.settings.margin,!this.settings.autoWidth&&a.grep(this._mergers,function(a){return a>1}).length>0)for(b=0,c=this._coordinates.length;c>b;b++)e.width=Math.abs(this._coordinates[b])-Math.abs(this._coordinates[b-1]||0)-this.settings.margin,this.$stage.children().eq(b).css(e);else this.$stage.children().css(e)}},{filter:["width","items","settings"],run:function(a){a.current&&this.reset(this.$stage.children().index(a.current))}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a,b,c,d,e=this.settings.rtl?1:-1,f=2*this.settings.stagePadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[];for(c=0,d=this._coordinates.length;d>c;c++)a=this._coordinates[c-1]||0,b=Math.abs(this._coordinates[c])+f*e,(this.op(a,"<=",g)&&this.op(a,">",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children("."+this.settings.activeClass).removeClass(this.settings.activeClass),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass(this.settings.activeClass),this.settings.center&&(this.$stage.children("."+this.settings.centerClass).removeClass(this.settings.centerClass),this.$stage.children().eq(this.current()).addClass(this.settings.centerClass))}}],e.prototype.initialize=function(){if(this.trigger("initialize"),this.$element.addClass(this.settings.baseClass).addClass(this.settings.themeClass).toggleClass("owl-rtl",this.settings.rtl),this.browserSupport(),this.settings.autoWidth&&this.state.imagesLoaded!==!0){var b,c,e;if(b=this.$element.find("img"),c=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,e=this.$element.children(c).width(),b.length&&0>=e)return this.preloadAutoWidthImages(b),!1}this.$element.addClass("owl-loading"),this.$stage=a("<"+this.settings.stageElement+' class="owl-stage"/>').wrap('<div class="owl-stage-outer">'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this._width=this.$element.width(),this.refresh(),this.$element.removeClass("owl-loading").addClass("owl-loaded"),this.eventsCall(),this.internalEvents(),this.addTriggerableEvents(),this.trigger("initialized")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){b>=a&&a>
9d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),delete e.responsive,e.responsiveClass&&this.$element.attr("class",function(a,b){return b.replace(/\b owl-responsive-\S+/g,"")}).addClass("owl-responsive-"+d)):e=a.extend({},this.options),(null===this.settings||this._breakpoint!==d)&&(this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}}))},e.prototype.optionsLogic=function(){this.$element.toggleClass("owl-center",this.settings.center),this.settings.loop&&this._items.length<this.settings.items&&(this.settings.loop=!1),this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.settings.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};c>b;)(this._invalidated.all||a.grep(this._pipe[b].filter,d).length>0)&&this._pipe[b].run(e),b++;this._invalidated={}},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){if(0===this._items.length)return!1;(new Date).getTime();this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$stage.addClass("owl-refresh"),this.update(),this.$stage.removeClass("owl-refresh"),this.state.orientation=b.orientation,this.watchVisibility(),this.trigger("refreshed")},e.prototype.eventsCall=function(){this.e._onDragStart=a.proxy(function(a){this.onDragStart(a)},this),this.e._onDragMove=a.proxy(function(a){this.onDragMove(a)},this),this.e._onDragEnd=a.proxy(function(a){this.onDragEnd(a)},this),this.e._onResize=a.proxy(function(a){this.onResize(a)},this),this.e._transitionEnd=a.proxy(function(a){this.transitionEnd(a)},this),this.e._preventClick=a.proxy(function(a){this.preventClick(a)},this)},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this.e._onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return this._items.length?this._width===this.$element.width()?!1:this.trigger("resize").isDefaultPrevented()?!1:(this._width=this.$element.width(),this.invalidate("width"),this.refresh(),void this.trigger("resized")):!1},e.prototype.eventsRouter=function(a){var b=a.type;"mousedown"===b||"touchstart"===b?this.onDragStart(a):"mousemove"===b||"touchmove"===b?this.onDragMove(a):"mouseup"===b||"touchend"===b?this.onDragEnd(a):"touchcancel"===b&&this.onDragEnd(a)},e.prototype.internalEvents=function(){var c=(k(),l());this.settings.mouseDrag?(this.$stage.on("mousedown",a.proxy(function(a){this.eventsRouter(a)},this)),this.$stage.on("dragstart",function(){return!1}),this.$stage.get(0).onselectstart=function(){return!1}):this.$element.addClass("owl-text-select-on"),this.settings.touchDrag&&!c&&this.$stage.on("touchstart touchcancel",a.proxy(function(a){this.eventsRouter(a)},this)),this.transitionEndVendor&&this.on(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd,!1),this.settings.responsive!==!1&&this.on(b,"resize",a.proxy(this.onThrottledResize,this))},e.prototype.onDragStart=function(d){var e,g,h,i;if(e=d.originalEvent||d||b.event,3===e.which||this.state.isTouch)return!1;if("mousedown"===e.type&&this.$stage.addClass("owl-grab"),this.trigger("drag"),this.drag.startTime=(new Date).getTime(),this.speed(0),this.state.isTouch=!0,this.state.isScrolling=!1,this.state.isSwiping=!1,this.drag.distance=0,g=f(e).x,h=f(e).y,this.drag.offsetX=this.$stage.position().left,this.drag.offsetY=this.$stage.position().top,this.settings.rtl&&(this.drag.offsetX=this.$stage.position().left+this.$stage.width()-this.width()+this.settings.margin),this.state.inMotion&&this.support3d)i=this.getTransformProperty(),this.drag.offsetX=i,this.animate(i),this.state.inMotion=!0;else if(this.state.inMotion&&!this.support3d)return this.state.inMotion=!1,!1;this.drag.startX=g-this.drag.offsetX,this.drag.startY=h-this.drag.offsetY,this.drag.start=g-this.drag.startX,this.drag.targetEl=e.target||e.srcElement,this.drag.updatedX=this.drag.start,("IMG"===this.drag.targetEl.tagName||"A"===this.drag.targetEl.tagName)&&(this.drag.targetEl.draggable=!1),a(c).on("mousemove.owl.dragEvents mouseup.owl.dragEvents touchmove.owl.dragEvents touchend.owl.dragEvents",a.proxy(function(a){this.eventsRouter(a)},this))},e.prototype.onDragMove=function(a){var c,e,g,h,i,j;this.state.isTouch&&(this.state.isScrolling||(c=a.originalEvent||a||b.event,e=f(c).x,g=f(c).y,this.drag.currentX=e-this.drag.startX,this.drag.currentY=g-this.drag.startY,this.drag.distance=this.drag.currentX-this.drag.offsetX,this.drag.distance<0?this.state.direction=this.settings.rtl?"right":"left":this.drag.distance>0&&(this.state.direction=this.settings.rtl?"left":"right"),this.settings.loop?this.op(this.drag.currentX,">",this.coordinates(this.minimum()))&&"right"===this.state.direction?this.drag.currentX-=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length):this.op(this.drag.currentX,"<",this.coordinates(this.maximum()))&&"left"===this.state.direction&&(this.drag.currentX+=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length)):(h=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),i=this.coordinates(this.settings.rtl?this.minimum():this.maximum()),j=this.settings.pullDrag?this.drag.distance/5:0,this.drag.currentX=Math.max(Math.min(this.drag.currentX,h+j),i+j)),(this.drag.distance>8||this.drag.distance<-8)&&(c.preventDefault!==d?c.preventDefault():c.returnValue=!1,this.state.isSwiping=!0),this.drag.updatedX=this.drag.currentX,(this.drag.currentY>16||this.drag.currentY<-16)&&this.state.isSwiping===!1&&(this.state.isScrolling=!0,this.drag.updatedX=this.drag.start),this.animate(this.drag.updatedX)))},e.prototype.onDragEnd=function(b){var d,e,f;if(this.state.isTouch){if("mouseup"===b.type&&this.$stage.removeClass("owl-grab"),this.trigger("dragged"),this.drag.targetEl.removeAttribute("draggable"),this.state.isTouch=!1,this.state.isScrolling=!1,this.state.isSwiping=!1,0===this.drag.distance&&this.state.inMotion!==!0)return this.state.inMotion=!1,!1;this.drag.endTime=(new Date).getTime(),d=this.drag.endTime-this.drag.startTime,e=Math.abs(this.drag.distance),(e>3||d>300)&&this.removeClick(this.drag.targetEl),f=this.closest(this.drag.updatedX),this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(f),this.invalidate("position"),this.update(),this.settings.pullDrag||this.drag.updatedX!==this.coordinates(f)||this.transitionEnd(),this.drag.distance=0,a(c).off(".owl.dragEvents")}},e.prototype.removeClick=function(c){this.drag.targetEl=c,a(c).on("click.preventClick",this.e._preventClick),b.setTimeout(function(){a(c).off("click.preventClick")},300)},e.prototype.preventClick=function(b){b.preventDefault?b.preventDefault():b.returnValue=!1,b.stopPropagation&&b.stopPropagation(),a(b.target).off("click.preventClick")},e.prototype.getTransformProperty=function(){var a,c;return a=b.getComputedStyle(this.$stage.get(0),null).getPropertyValue(this.vendorName+"transform"),a=a.replace(/matrix(3d)?\(|\)/g,"").split(","),c=16===a.length,c!==!0?a[4]:a[12]},e.prototype.closest=function(b){var c=-1,d=30,e=this.width(),f=this.coordinates();return this.settings.freeDrag||a.each(f,a.proxy(function(a,g){return b>g-d&&g+d>b?c=a:this.op(b,"<",g)&&this.op(b,">",f[a+1]||g-e)&&(c="left"===this.state.direction?a+1:a),-1===c},this)),this.settings.loop||(this.op(b,">",f[this.minimum()])?c=b=this.minimum():this.op(b,"<",f[this.maximum()])&&(c=b=this.maximum())),c},e.prototype.animate=function(b){this.trigger("translate"),this.state.inMotion=this.speed()>0,this.support3d?this.$stage.css({transform:"translate3d("+b+"px,0px, 0px)",transition:this.speed()/1e3+"s"}):this.state.isTouch?this.$stage.css({left:b+"px"}):this.$stage.animate({left:b},this.speed()/1e3,this.settings.fallbackEasing,a.proxy(function(){this.state.inMotion&&this.transitionEnd()},this))}
9,e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(a){this._invalidated[a]=!0},e.prototype.reset=function(a){a=this.normalize(a),a!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(b,c){var e=c?this._items.length:this._items.length+this._clones.length;return!a.isNumeric(b)||1>e?d:b=this._clones.length?(b%e+e)%e:Math.max(this.minimum(c),Math.min(this.maximum(c),b))},e.prototype.relative=function(a){return a=this.normalize(a),a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=0,f=this.settings;if(a)return this._items.length-1;if(!f.loop&&f.center)b=this._items.length-1;else if(f.loop||f.center)if(f.loop||f.center)b=this._items.length+f.items;else{if(!f.autoWidth&&!f.merge)throw"Can not detect maximum absolute position.";for(revert=f.rtl?1:-1,c=this.$stage.width()-this.$element.width();(d=this.coordinates(e))&&!(d*revert>=c);)b=++e}else b=this._items.length-f.items;return b},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2===0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c=null;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[b-1]||0))/2*(this.settings.rtl?-1:1)):c=this._coordinates[b-1]||0,c)},e.prototype.duration=function(a,b,c){return Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(c,d){if(this.settings.loop){var e=c-this.relative(this.current()),f=this.current(),g=this.current(),h=this.current()+e,i=0>g-h?!0:!1,j=this._clones.length+this._items.length;h<this.settings.items&&i===!1?(f=g+this._items.length,this.reset(f)):h>=j-this.settings.items&&i===!0&&(f=g-this._items.length,this.reset(f)),b.clearTimeout(this.e._goToLoop),this.e._goToLoop=b.setTimeout(a.proxy(function(){this.speed(this.duration(this.current(),f+e,d)),this.current(f+e),this.update()},this),30)}else this.speed(this.duration(this.current(),c,d)),this.current(c),this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.transitionEnd=function(a){return a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0))?!1:(this.state.inMotion=!1,void this.trigger("translated"))},e.prototype.viewport=function(){var d;if(this.options.responsiveBaseElement!==b)d=a(this.options.responsiveBaseElement).width();else if(b.innerWidth)d=b.innerWidth;else{if(!c.documentElement||!c.documentElement.clientWidth)throw"Can not detect viewport width.";d=c.documentElement.clientWidth}return d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)},this)),this.reset(a.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(a,b){b=b===d?this._items.length:this.normalize(b,!0),this.trigger("add",{content:a,position:b}),0===this._items.length||b===this._items.length?(this.$stage.append(a),this._items.push(a),this._mergers.push(1*a.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)):(this._items[b].before(a),this._items.splice(b,0,a),this._mergers.splice(b,0,1*a.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)),this.invalidate("items"),this.trigger("added",{content:a,position:b})},e.prototype.remove=function(a){a=this.normalize(a,!0),a!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.addTriggerableEvents=function(){var b=a.proxy(function(b,c){return a.proxy(function(a){a.relatedTarget!==this&&(this.suppress([c]),b.apply(this,[].slice.call(arguments,1
9)),this.release([c]))},this)},this);a.each({next:this.next,prev:this.prev,to:this.to,destroy:this.destroy,refresh:this.refresh,replace:this.replace,add:this.add,remove:this.remove},a.proxy(function(a,c){this.$element.on(a+".owl.carousel",b(c,a+".owl.carousel"))},this))},e.prototype.watchVisibility=function(){function c(a){return a.offsetWidth>0&&a.offsetHeight>0}function d(){c(this.$element.get(0))&&(this.$element.removeClass("owl-hidden"),this.refresh(),b.clearInterval(this.e._checkVisibile))}c(this.$element.get(0))||(this.$element.addClass("owl-hidden"),b.clearInterval(this.e._checkVisibile),this.e._checkVisibile=b.setInterval(a.proxy(d,this),500))},e.prototype.preloadAutoWidthImages=function(b){var c,d,e,f;c=0,d=this,b.each(function(g,h){e=a(h),f=new Image,f.onload=function(){c++,e.attr("src",f.src),e.css("opacity",1),c>=b.length&&(d.state.imagesLoaded=!0,d.initialize())},f.src=e.attr("src")||e.attr("data-src")||e.attr("data-src-retina")})},e.prototype.destroy=function(){this.$element.hasClass(this.settings.themeClass)&&this.$element.removeClass(this.settings.themeClass),this.settings.responsive!==!1&&a(b).off("resize.owl.carousel"),this.transitionEndVendor&&this.off(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd);for(var d in this._plugins)this._plugins[d].destroy();(this.settings.mouseDrag||this.settings.touchDrag)&&(this.$stage.off("mousedown touchstart touchcancel"),a(c).off(".owl.dragEvents"),this.$stage.get(0).onselectstart=function(){},this.$stage.off("dragstart",function(){return!1})),this.$element.off(".owl"),this.$stage.children(".cloned").remove(),this.e=null,this.$element.removeData("owlCarousel"),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.unwrap()},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:c>a;case">":return d?c>a:a>c;case">=":return d?c>=a:a>=c;case"<=":return d?a>=c:c>=a}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d){var e={item:{count:this._items.length,index:this.current()}},f=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),g=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},e,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(g)}),this.$element.trigger(g),this.settings&&"function"==typeof this.settings[f]&&this.settings[f].apply(this,g)),g},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.browserSupport=function(){if(this.support3d=j(),this.support3d){this.transformVendor=i();var a=["transitionend","webkitTransitionEnd","transitionend","oTransitionEnd"];this.transitionEndVendor=a[h()],this.vendorName=this.transformVendor.replace(/Transform/i,""),this.vendorName=""!==this.vendorName?"-"+this.vendorName.toLowerCase()+"-":""}this.state.orientation=b.orientation},a.fn.owlCarousel=function(b){return this.each(function(){a(this).data("owlCarousel")||a(this).data("owlCarousel",new e(this,b))})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b){var c=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type))for(var c=this._core.settings,d=c.center&&Math.ceil(c.items/2)||c.items,e=c.center&&-1*d||0,f=(b.property&&b.property.value||this._core.current())+e,g=this._core.clones().length,h=a.proxy(function(a,b){this.load(b)},this);e++<d;)this.load(g/2+this._core.relative(f)),g&&a.each(this._core.clones(this._core.relative(f++)),h)},this)},this._core.options=a.extend({},c.Defaults,this._core.options),this._core.$element.on(this._handlers)};c.Defaults={lazyLoad:!1},c.prototype.load=function(c){var d=this._core.$stage.children().eq(c),e=d&&d.find(".owl-lazy");!e||a.inArray(d.get(0),this._loaded)>-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":"url("+g+")",opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},c.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=c}(window.Zepto||window.jQuery,window,document),function(a){var b=function(c){this._core=c,this._handlers={"initialized.owl.carousel":
9a.proxy(function(){this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){this._core.settings.autoHeight&&"position"==a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass)===this._core.$stage.children().eq(this._core.current())&&this.update()},this)},this._core.options=a.extend({},b.Defaults,this._core.options),this._core.$element.on(this._handlers)};b.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},b.prototype.update=function(){this._core.$stage.parent().height(this._core.$stage.children().eq(this._core.current()).height()).addClass(this._core.settings.autoHeightClass)},b.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=b}(window.Zepto||window.jQuery,window,document),function(a,b,c){var d=function(b){this._core=b,this._videos={},this._playing=null,this._fullscreen=!1,this._handlers={"resize.owl.carousel":a.proxy(function(a){this._core.settings.video&&!this.isInFullScreen()&&a.preventDefault()},this),"refresh.owl.carousel changed.owl.carousel":a.proxy(function(){this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))},this)},this._core.options=a.extend({},d.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};d.Defaults={video:!1,videoHeight:!1,videoWidth:!1},d.prototype.fetch=function(a,b){var c=a.attr("data-vimeo-id")?"vimeo":"youtube",d=a.attr("data-vimeo-id")||a.attr("data-youtube-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf("youtu")>-1)c="youtube";else{if(!(d[3].indexOf("vimeo")>-1))throw new Error("Video URL not supported.");c="vimeo"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},d.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?'style="width:'+c.width+"px;height:"+c.height+'px;"':"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(a){e='<div class="owl-video-play-icon"></div>',d=k.lazyLoad?'<div class="owl-video-tn '+j+'" '+i+'="'+a+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+a+')"></div>',b.after(d),b.after(e)};return b.wrap('<div class="owl-video-wrapper"'+g+"></div>"),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length?(l(h.attr(i)),h.remove(),!1):void("youtube"===c.type?(f="http://img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type&&a.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}))},d.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null},d.prototype.play=function(b){this._core.trigger("play",null,"video"),this._playing&&this.stop();var c,d,e=a(b.target||b.srcElement),f=e.closest("."+this._core.settings.itemClass),g=this._videos[f.attr("data-video")],h=g.width||"100%",i=g.height||this._core.$stage.height();"youtube"===g.type?c='<iframe width="'+h+'" height="'+i+'" src="http://www.youtube.com/embed/'+g.id+"?autoplay=1&v="+g.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===g.type&&(c='<iframe src="http://player.vimeo.com/video/'+g.id+'?autoplay=1" width="'+h+'" height="'+i+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'),f.addClass("owl-video-playing"),this._playing=f,d=a('<div style="height:'+i+"px; width:"+h+'px" class="owl-video-frame">'+c+"</div>"),e.after(d)},d.prototype.isInFullScreen=function(){var d=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return d&&a(d).parent().hasClass("owl-video-frame")&&(this._core.speed(0),this._fullscreen=!0),d&&this._fullscreen&&this._playing?!1:this._fullscreen?(this._fullscreen=!1,!1):this._playing&&this._core.state.orientation!==b.orientation?(this._core.state.orientation=b.orientation,!1):!0},d.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=d}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":
9a.proxy(function(a){"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){this.swapping="translated"==a.type},this),"translate.owl.carousel":a.proxy(function(){this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&this.core.support3d){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",c)),f&&e.addClass("animated owl-animated-in").addClass(f).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",c))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.transitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c){var d=function(b){this.core=b,this.core.options=a.extend({},d.Defaults,this.core.options),this.handlers={"translated.owl.carousel refreshed.owl.carousel":a.proxy(function(){this.autoplay()
10},this),"play.owl.autoplay":a.proxy(function(a,b,c){this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(){this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this.core.settings.autoplayHoverPause&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this.core.settings.autoplayHoverPause&&this.autoplay()},this)},this.core.$element.on(this.handlers)};d.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},d.prototype.autoplay=function(){this.core.settings.autoplay&&!this.core.state.videoPlay?(b.clearInterval(this.interval),this.interval=b.setInterval(a.proxy(function(){this.play()},this),this.core.settings.autoplayTimeout)):b.clearInterval(this.interval)},d.prototype.play=function(){return c.hidden===!0||this.core.state.isTouch||this.core.state.isScrolling||this.core.state.isSwiping||this.core.state.inMotion?void 0:this.core.settings.autoplay===!1?void b.clearInterval(this.interval):void this.core.next(this.core.settings.autoplaySpeed)},d.prototype.stop=function(){b.clearInterval(this.interval)},d.prototype.pause=function(){b.clearInterval(this.interval)},d.prototype.destroy=function(){var a,c;b.clearInterval(this.interval);for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=d}(window.Zepto||window.jQuery,window,document),function(a){"use strict";var b=function(c){this._core=c,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){this._core.settings.dotsData&&this._templates.push(a(b.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"add.owl.carousel":a.proxy(function(b){this._core.settings.dotsData&&this._templates.splice(b.position,0,a(b.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"remove.owl.carousel prepared.owl.carousel":a.proxy(function(a){this._core.settings.dotsData&&this._templates.splice(a.position,1)}
10,this),"change.owl.carousel":a.proxy(function(a){if("position"==a.property.name&&!this._core.state.revert&&!this._core.settings.loop&&this._core.settings.navRewind){var b=this._core.current(),c=this._core.maximum(),d=this._core.minimum();a.data=a.property.value>c?b>=c?d:c:a.property.value<d?c:a.property.value}},this),"changed.owl.carousel":a.proxy(function(a){"position"==a.property.name&&this.draw()},this),"refreshed.owl.carousel":a.proxy(function(){this._initialized||(this.initialize(),this._initialized=!0),this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation")},this)},this._core.options=a.extend({},b.Defaults,this._core.options),this.$element.on(this._handlers)};b.Defaults={nav:!1,navRewind:!0,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotData:!1,dotsSpeed:!1,dotsContainer:!1,controlsClass:"owl-control
10s"},b.prototype.initialize=function(){var b,c,d=this._core.settings;d.dotsData||(this._templates=[a("<div>").addClass(d.dotClass).append(a("<span>")).prop("outerHTML")]),d.navContainer&&d.dotsContainer||(this._controls.$container=a("<div>").addClass(d.controlsClass).appendTo(this.$element)),this._controls.$indicators=d.dotsContainer?a(d.dotsContainer):a("<div>").hide().addClass(d.dotsClass).appendTo(this._controls.$container),this._controls.$indicators.on("click","div",a.proxy(function(b){var c=a(b.target).parent().is(this._controls.$indicators)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(c,d.dotsSpeed)},this)),b=d.navContainer?a(d.navContainer):a("<div>").addClass(d.navContainerClass).prependTo(this._controls.$container),this._controls.$next=a("<"+d.navElement+">"),this._controls.$previous=this._controls.$next.clone(),this._controls.$previous.addClass(d.navClass[0]).html(d.navText[0]).hide().prependTo(b).on("click",a.proxy(function(){this.prev(d.navSpeed)},this)),this._controls.$next.addClass(d.navClass[1]).html(d.navText[1]).hide().appendTo(b).on("click",a.proxy(function(){this.next(d.navSpeed)},this));for(c in this._overrides)this._core[c]=a.proxy(this[c],this)},b.prototype.destroy=function(){var a,b,c,d;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},b.prototype.update=function(){var a,b,c,d=this._core.settings,e=this._core.clones().length/2,f=e+this._core.items().length,g=d.center||d.autoWidth||d.dotData?1:d.dotsEach||d.items;if("page"!==d.slideBy&&(d.slideBy=Math.min(d.slideBy,d.items)),d.dots||"page"==d.slideBy)for(this._pages=[],a=e,b=0,c=0;f>a;a++)(b>=g||0===b)&&(this._pages.push({start:a-e,end:a-e+g-1}),b=0,++c),b+=this._core.mergers(this._core.relative(a))},b.prototype.draw=function(){var b,c,d="",e=this._core.settings,f=(this._core.$stage.children(),this._core.relative(this._core.current()));if(!e.nav||e.loop||e.navRewind||(this._controls.$previous.toggleClass("disabled",0>=f),this._controls.$next.toggleClass("disabled",f>=this._core.maximum())),this._controls.$previous.toggle(e.nav),this._controls.$next.toggle(e.nav),e.dots){if(b=this._pages.length-this._controls.$indicators.children().length,e.dotData&&0!==b){for(c=0;c<this._controls.$indicators.children().length;c++)d+=this._templates[this._core.relative(c)];this._controls.$indicators.html(d)}else b>0?(d=new Array(b+1).join(this._templates[0]),this._controls.$indicators.append(d)):0>b&&this._controls.$indicators.children().slice(b).remove();this._controls.$indicators.find(".active").removeClass("active"),this._controls.$indicators.children().eq(a.inArray(this.current(),this._pages)).addClass("active")}this._controls.$indicators.toggle(e.dots)},b.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotData?1:c.dotsEach||c.items)}},b.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,function(a){return a.start<=b&&a.end>=b}).pop()},b.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},b.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},b.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},b.prototype.to=function(b,c,d){var e;d?a.proxy(this._overrides.to,this._core)(b,c):(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c))},a.fn.owlCarousel.Constructor.Plugins.Navigation=b}(window.Zepto||window.jQuery,window,document),function(a,b){"use strict";var c=function(d){this._core=d,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":
10a.proxy(function(){"URLHash"==this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){var c=a(b.content).find("[data-hash]").andSelf("[data-hash]").attr("data-hash");this._hashes[c]=b.content},this)},this._core.options=a.extend({},c.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(){var a=b.location.hash.substring(1),c=this._core.$stage.children(),d=this._hashes[a]&&c.index(this._hashes[a])||0;return a?void this._core.to(d,!1,!0):!1},this))};c.Defaults={URLhashListener:!1},c.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=c}(window.Zepto||window.jQuery,window,document);
11!function(e){e.fn.hoverIntent=function(t,n,o){var r={interval:100,sensitivity:6,timeout:0};r="object"==typeof t?e.extend(r,t):e.isFunction(n)?e.extend(r,{over:t,out:n,selector:o}):e.extend(r,{over:t,out:t,selector:n});var v,i,u,s,h=function(e){v=e.pageX,i=e.pageY},I=function(t,n){return n.hoverIntent_t=clearTimeout(n.hoverIntent_t),Math.sqrt((u-v)*(u-v)+(s-i)*(s-i))<r.sensitivity?(e(n).off("mousemove.hoverIntent",h),n.hoverIntent_s=!0,r.over.apply(n,[t])):(u=v,s=i,n.hoverIntent_t=setTimeout(function(){I(t,n)},r.interval),void 0)},a=function(e,t){return t.hoverIntent_t=clearTimeout(t.hoverIntent_t),t.hoverIntent_s=!1,r.out.apply(t,[e])},c=function(t){var n=e.extend({},t),o=this;o.hoverIntent_t&&(o.hoverIntent_t=clearTimeout(o.hoverIntent_t)),"mouseenter"===t.type?(u=n.pageX,s=n.pageY,e(o).on("mousemove.hoverIntent",h),o.hoverIntent_s||(o.hoverIntent_t=setTimeout(function(){I(n,o)},r.interval))):(e(o).off("mousemove.hoverIntent",h),o.hoverIntent_s&&(o.hoverIntent_t=setTimeout(function(){a(n,o)},r.timeout)))};return this.on({"mouseenter.hoverIntent":c,"mouseleave.hoverIntent":c},r.selector)}}(jQuery);
12(function(){var j=false;window.JQClass=function(){};JQClass.classes={};JQClass.extend=function extender(f){var g=this.prototype;j=true;var h=new this();j=false;for(var i in f){h[i]=typeof f[i]=='function'&&typeof g[i]=='function'?(function(d,e){return function(){var b=this._super;this._super=function(a){return g[d].apply(this,a)};var c=e.apply(this,arguments);this._super=b;return c}})(i,f[i]):f[i]}function JQClass(){if(!j&&this._init){this._init.apply(this,arguments)}}JQClass.prototype=h;JQClass.prototype.constructor=JQClass;JQClass.extend=extender;return JQClass}})();(function($){JQClass.classes.JQPlugin=JQClass.extend({name:'plugin',defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return'is-'+this.name},_init:function(){$.extend(this.defaultOptions,(this.regionalOptions&&this.regionalOptions[''])||{});var c=camelCase(this.name);$[c]=this;$.fn[c]=function(a){var b=Array.prototype.slice.call(arguments,1);if($[c]._isNotChained(a,b)){return $[c][a].apply($[c],[this[0]].concat(b))}return this.each(function(){if(typeof a==='string'){if(a[0]==='_'||!$[c][a]){throw'Unknown method: '+a;}$[c][a].apply($[c],[this].concat(b))}else{$[c]._attach(this,a)}})}},setDefaults:function(a){$.extend(this.defaultOptions,a||{})},_isNotChained:function(a,b){if(a==='option'&&(b.length===0||(b.length===1&&typeof b[0]==='string'))){return true}return $.inArray(a,this._getters)>-1},_attach:function(a,b){a=$(a);if(a.hasClass(this._getMarker())){return}a.addClass(this._getMarker());b=$.extend({},this.defaultOptions,this._getMetadata(a),b||{});var c=$.extend({name:this.name,elem:a,options:b},this._instSettings(a,b));a.data(this.name,c);this._postAttach(a,c);this.option(a,b)},_instSettings:function(a,b){return{}},_postAttach:function(a,b){},_getMetadata:function(d){try{var f=d.data(this.name.toLowerCase())||'';f=f.replace(/'/g,'"');f=f.replace(/([a-zA-Z0-9]+):/g,function(a,b,i){var c=f.substring(0,i).match(/"/g);return(!c||c.length%2===0?'"'+b+'":':b+':')});f=$.parseJSON('{'+f+'}');for(var g in f){var h=f[g];if(typeof h==='string'&&h.match(/^new Date\((.*)\)$/)){f[g]=eval(h)}}return f}catch(e){return{}}},_getInst:function(a){return $(a).data(this.name)||{}},option:function(a,b,c){a=$(a);var d=a.data(this.name);if(!b||(typeof b==='string'&&c==null)){var e=(d||{}).options;return(e&&b?e[b]:e)}if(!a.hasClass(this._getMarker())){return}var e=b||{};if(typeof b==='string'){e={};e[b]=c}this._optionsChanged(a,d,e);$.extend(d.options,e)},_optionsChanged:function(a,b,c){},destroy:function(a){a=$(a);if(!a.hasClass(this._getMarker())){return}this._preDestroy(a,this._getInst(a));a.removeData(this.name).removeClass(this._getMarker())},_preDestroy:function(a,b){}});function camelCase(c){return c.replace(/-([a-z])/g,function(a,b){return b.toUpperCase()})}$.JQPlugin={createPlugin:function(a,b){if(typeof a==='object'){b=a;a='JQPlugin'}a=camelCase(a);var c=camelCase(b.name);JQClass.classes[c]=JQClass.classes[a].extend(b);new JQClass.classes[c]()}}})(jQuery);
13(function($){var w='countdown';var Y=0;var O=1;var W=2;var D=3;var H=4;var M=5;var S=6;$.JQPlugin.createPlugin({name:w,defaultOptions:{until:null,since:null,timezone:null,serverSync:null,format:'dHMS',layout:'',compact:false,padZeroes:false,significant:0,description:'',expiryUrl:'',expiryText:'',alwaysExpire:false,onExpiry:null,onTick:null,tickInterval:1},regionalOptions:{'':{labels:['Years','Months','Weeks','Days','Hours','Minutes','Seconds'],labels1:['Year','Month','Week','Day','Hour','Minute','Second'],compactLabels:['y','m','w','d'],whichLabels:null,digits:['0','1','2','3','4','5','6','7','8','9'],timeSeparator:':',isRTL:false}},_getters:['getTimes'],_rtlClass:w+'-rtl',_sectionClass:w+'-section',_amountClass:w+'-amount',_periodClass:w+'-period',_rowClass:w+'-row',_holdingClass:w+'-holding',_showClass:w+'-show',_descrClass:w+'-descr',_timerElems:[],_init:function(){var c=this;this._super();this._serverSyncs=[];var d=(typeof Date.now=='function'?Date.now:function(){return new Date().getTime()});var e=(window.performance&&typeof window.performance.now=='function');function timerCallBack(a){var b=(a<1e12?(e?(performance.now()+performance.timing.navigationStart):d()):a||d());if(b-g>=1000){c._updateElems();g=b}f(timerCallBack)}var f=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null;var g=0;if(!f||$.noRequestAnimationFrame){$.noRequestAnimationFrame=null;setInterval(function(){c._updateElems()},980)}else{g=window.animationStartTime||window.webkitAnimationStartTime||window.mozAnimationStartTime||window.oAnimationStartTime||window.msAnimationStartTime||d();f(timerCallBack)}},UTCDate:function(a,b,c,e,f,g,h,i){if(typeof b=='object'&&b.constructor==Date){i=b.getMilliseconds();h=b.getSeconds();g=b.getMinutes();f=b.getHours();e=b.getDate();c=b.getMonth();b=b.getFullYear()}var d=new Date();d.setUTCFullYear(b);d.setUTCDate(1);d.setUTCMonth(c||0);d.setUTCDate(e||1);d.setUTCHours(f||0);d.setUTCMinutes((g||0)-(Math.abs(a)<30?a*60:a));d.setUTCSeconds(h||0);d.setUTCMilliseconds(i||0);return d},periodsToSeconds:function(a){return a[0]*31557600+a[1]*2629800+a[2]*604800+a[3]*86400+a[4]*3600+a[5]*60+a[6]},_instSettings:function(a,b){return{_periods:[0,0,0,0,0,0,0]}}
13,_addElem:function(a){if(!this._hasElem(a)){this._timerElems.push(a)}},_hasElem:function(a){return($.inArray(a,this._timerElems)>-1)},_removeElem:function(b){this._timerElems=$.map(this._timerElems,function(a){return(a==b?null:a)})},_updateElems:function(){for(var i=this._timerElems.length-1;i>=0;i--){this._updateCountdown(this._timerElems[i])}},_optionsChanged:function(a,b,c){if(c.layout){c.layout=c.layout.replace(/&lt;/g,'<').replace(/&gt;/g,'>')}this._resetExtraLabels(b.options,c);var d=(b.options.timezone!=c.timezone);$.extend(b.options,c);this._adjustSettings(a,b,c.until!=null||c.since!=null||d);var e=new Date();if((b._since&&b._since<e)||(b._until&&b._until>e)){this._addElem(a[0])}this._updateCountdown(a,b)},_updateCountdown:function(a,b){a=a.jquery?a:$(a);b=b||a.data(this.name);if(!b){return}a.html(this._generateHTML(b)).toggleClass(this._rtlClass,b.options.isRTL);if($.isFunction(b.options.onTick)){var c=b._hold!='lap'?b._periods:this._calculatePeriods(b,b._show,b.options.significant,new Date());if(b.options.tickInterval==1||this.periodsToSeconds(c)%b.options.tickInterval==0){b.options.onTick.apply(a[0],[c])}}var d=b._hold!='pause'&&(b._since?b._now.getTime()<b._since.getTime():b._now.getTime()>=b._until.getTime());if(d&&!b._expiring){b._expiring=true;if(this._hasElem(a[0])||b.options.alwaysExpire){this._removeElem(a[0]);if($.isFunction(b.options.onExpiry)){b.options.onExpiry.apply(a[0],[])}if(b.options.expiryText){var e=b.options.layout;b.options.layout=b.options.expiryText;this._updateCountdown(a[0],b);b.options.layout=e}if(b.options.expiryUrl){window.location=b.options.expiryUrl}}b._expiring=false}else if(b._hold=='pause'){this._removeElem(a[0])}},_resetExtraLabels:function(a,b){var c=false;for(var n in b){if(n!='whichLabels'&&n.match(/[Ll]abels/)){c=true;break}}if(c){for(var n in a){if(n.match(/[Ll]abels[02-9]|compactLabels1/)){a[n]=null}}}},_adjustSettings:function(a,b,c){var d;var e=0;var f=null;for(var i=0;i<this._serverSyncs.length;i++){if(this._serverSyncs[i][0]==b.options.serverSync){f=this._serverSyncs[i][1];break}}if(f!=null){e=(b.options.serverSync?f:0);d=new Date()}else{var g=($.isFunction(b.options.serverSync)?b.options.serverSync.apply(a[0],[]):null);d=new Date();e=(g?d.getTime()-g.getTime():0);this._serverSyncs.push([b.options.serverSync,e])}var h=b.options.timezone;h=(h==null?-d.getTimezoneOffset():h);if(c||(!c&&b._until==null&&b._since==null)){b._since=b.options.since;if(b._since!=null){b._since=this.UTCDate(h,this._determineTime(b._since,null));if(b._since&&e){b._since.setMilliseconds(b._since.getMilliseconds()+e)}}b._until=this.UTCDate(h,this._determineTime(b.options.until,d));if(e){b._until.setMilliseconds(b._until.getMilliseconds()+e)}}b._show=this._determineShow(b)},_preDestroy:function(a,b){this._removeElem(a[0]);a.empty()},pause:function(a){this._hold(a,'pause')},lap:function(a){this._hold(a,'lap')},resume:function(a){this._hold(a,null)},toggle:function(a){var b=$.data(a,this.name)||{};this[!b._hold?'pause':'resume'](a)},toggleLap:function(a){var b=$.data(a,this.name)||{};this[!b._hold?'lap':'resume'](a)},_hold:function(a,b){var c=$.data(a,this.name);if(c){if(c._hold=='pause'&&!b){c._periods=c._savePeriods;var d=(c._since?'-':'+');c[c._since?'_since':'_until']=this._determineTime(d+c._periods[0]+'y'+d+c._periods[1]+'o'+d+c._periods[2]+'w'+d+c._periods[3]+'d'+d+c._periods[4]+'h'+d+c._periods[5]+'m'+d+c._periods[6]+'s');this._addElem(a)}c._hold=b;c._savePeriods=(b=='pause'?c._periods:null);$.data(a,this.name,c);this._updateCountdown(a,c)}},getTimes:function(a){var b=$.data(a,this.name);return(!b?null:(b._hold=='pause'?b._savePeriods:(!b._hold?b._periods:this._calculatePeriods(b,b._show,b.options.significant,new Date()))))},_determineTime:function(k,l){var m=this;var n=function(a){var b=new Date();b.setTime(b.getTime()+a*1000);return b};var o=function(a){a=a.toLowerCase();var b=new Date();var c=b.getFullYear();var d=b.getMonth();var e=b.getDate();var f=b.getHours();var g=b.getMinutes();var h=b.getSeconds();var i=/([+-]?[0-9]+)\s*(s|m|h|d|w|o|y)?/g;var j=i.exec(a);while(j){switch(j[2]||'s'){case's':h+=parseInt(j[1],10);break;case'm':g+=parseInt(j[1],10);break;case'h':f+=parseInt(j[1],10);break;case'd':e+=parseInt(j[1],10);break;case'w':e+=parseInt(j[1],10)*7;break;case'o':d+=parseInt(j[1],10);e=Math.min(e,m._getDaysInMonth(c,d));break;case'y':c+=parseInt(j[1],10);e=Math.min(e,m._getDaysInMonth(c,d));break}j=i.exec(a)}return new Date(c,d,e,f,g,h,0)};var p=(k==null?l:(typeof k=='string'?o(k):(typeof k=='number'?n(k):k)));if(p)p.setMilliseconds(0);return p},_getDaysInMonth:function(a,b){return 32-new Date(a,b,32).getDate()},_normalLabels:function(a){return a},_generateHTML:function(c){var d=this;
13c._periods=(c._hold?c._periods:this._calculatePeriods(c,c._show,c.options.significant,new Date()));var e=false;var f=0;var g=c.options.significant;var h=$.extend({},c._show);for(var i=Y;i<=S;i++){e|=(c._show[i]=='?'&&c._periods[i]>0);h[i]=(c._show[i]=='?'&&!e?null:c._show[i]);f+=(h[i]?1:0);g-=(c._periods[i]>0?1:0)}var j=[false,false,false,false,false,false,false];for(var i=S;i>=Y;i--){if(c._show[i]){if(c._periods[i]){j[i]=true}else{j[i]=g>0;g--}}}var k=(c.options.compact?c.options.compactLabels:c.options.labels);var l=c.options.whichLabels||this._normalLabels;var m=function(a){var b=c.options['compactLabels'+l(c._periods[a])];return(h[a]?d._translateDigits(c,c._periods[a])+(b?b[a]:k[a])+' ':'')};var n=(c.options.padZeroes?2:1);var o=function(a){var b=c.options['labels'+l(c._periods[a])];return((!c.options.significant&&h[a])||(c.options.significant&&j[a])?'<span class="'+d._sectionClass+'">'+'<span class="'+d._amountClass+'">'+d._minDigits(c,c._periods[a],n)+'</span>'+'<span class="'+d._periodClass+'">'+(b?b[a]:k[a])+'</span></span>':'')};return(c.options.layout?this._buildLayout(c,h,c.options.layout,c.options.compact,c.options.significant,j):((c.options.compact?'<span class="'+this._rowClass+' '+this._amountClass+(c._hold?' '+this._holdingClass:'')+'">'+m(Y)+m(O)+m(W)+m(D)+(h[H]?this._minDigits(c,c._periods[H],2):'')+(h[M]?(h[H]?c.options.timeSeparator:'')+this._minDigits(c,c._periods[M],2):'')+(h[S]?(h[H]||h[M]?c.options.timeSeparator:'')+this._minDigits(c,c._periods[S],2):''):'<span class="'+this._rowClass+' '+this._showClass+(c.options.significant||f)+(c._hold?' '+this._holdingClass:'')+'">'+o(Y)+o(O)+o(W)+o(D)+o(H)+o(M)+o(S))+'</span>'+(c.options.description?'<span class="'+this._rowClass+' '+this._descrClass+'">'+c.options.description+'</span>':'')))},_buildLayout:function(c,d,e,f,g,h){var j=c.options[f?'compactLabels':'labels'];var k=c.options.whichLabels||this._normalLabels;var l=function(a){return(c.options[(f?'compactLabels':'labels')+k(c._periods[a])]||j)[a]};var m=function(a,b){return c.options.digits[Math.floor(a/b)%10]};var o={desc:c.options.description,sep:c.options.timeSeparator,yl:l(Y),yn:this._minDigits(c,c._periods[Y],1),ynn:this._minDigits(c,c._periods[Y],2),ynnn:this._minDigits(c,c._periods[Y],3),y1:m(c._periods[Y],1),y10:m(c._periods[Y],10),y100:m(c._periods[Y],100),y1000:m(c._periods[Y],1000),ol:l(O),on:this._minDigits(c,c._periods[O],1),onn:this._minDigits(c,c._periods[O],2),onnn:this._minDigits(c,c._periods[O],3),o1:m(c._periods[O],1),o10:m(c._periods[O],10),o100:m(c._periods[O],100),o1000:m(c._periods[O],1000),wl:l(W),wn:this._minDigits(c,c._periods[W],1),wnn:this._minDigits(c,c._periods[W],2),wnnn:this._minDigits(c,c._periods[W],3),w1:m(c._periods[W],1),w10:m(c._periods[W],10),w100:m(c._periods[W],100),w1000:m(c._periods[W],1000),dl:l(D),dn:this._minDigits(c,c._periods[D],1),dnn:this._minDigits(c,c._periods[D],2),dnnn:this._minDigits(c,c._periods[D],3),d1:m(c._periods[D],1),d10:m(c._periods[D],10),d100:m(c._periods[D],100),d1000:m(c._periods[D],1000),hl:l(H),hn:this._minDigits(c,c._periods[H],1),hnn:this._minDigits(c,c._periods[H],2),hnnn:this._minDigits(c,c._periods[H],3),h1:m(c._periods[H],1),h10:m(c._periods[H],10),h100:m(c._periods[H],100),h1000:m(c._periods[H],1000),ml:l(M),mn:this._minDigits(c,c._periods[M],1),mnn:this._minDigits(c,c._periods[M],2),mnnn:this._minDigits(c,c._periods[M],3),m1:m(c._periods[M],1),m10:m(c._periods[M],10),m100:m(c._periods[M],100),m1000:m(c._periods[M],1000),sl:l(S),sn:this._minDigits(c,c._periods[S],1),snn:this._minDigits(c,c._periods[S],2),snnn:this._minDigits(c,c._periods[S],3),s1:m(c._periods[S],1),s10:m(c._periods[S],10),s100:m(c._periods[S],100),s1000:m(c._periods[S],1000)};var p=e;for(var i=Y;i<=S;i++){var q='yowdhms'.charAt(i);var r=new RegExp('\\{'+q+'<\\}([\\s\\S]*)\\{'+q+'>\\}','g');p=p.replace(r,((!g&&d[i])||(g&&h[i])?'$1':''))}$.each(o,function(n,v){var a=new RegExp('\\{'+n+'\\}','g');p=p.replace(a,v)});return p},_minDigits:function(a,b,c){b=''+b;if(b.length>=c){return this._translateDigits(a,b)}b='0000000000'+b;return this._translateDigits(a,b.substr(b.length-c))},_translateDigits:function(b,c){return(''+c).replace(/[0-9]/g,function(a){return b.options.digits[a]})},_determineShow:function(a){var b=a.options.format;var c=[];c[Y]=(b.match('y')?'?':(b.match('Y')?'!':null));c[O]=(b.match('o')?'?':(b.match('O')?'!':null));c[W]=(b.match('w')?'?':(b.match('W')?'!':null));c[D]=(b.match('d')?'?':(b.match('D')?'!':null));c[H]=(b.match('h')?'?':(b.match('H')?'!':null));c[M]=(b.match('m')?'?':(b.match('M')?'!':null));c[S]=(b.match('s')?'?':(b.match('S')?'!':null));return c}
13,_calculatePeriods:function(c,d,e,f){c._now=f;c._now.setMilliseconds(0);var g=new Date(c._now.getTime());if(c._since){if(f.getTime()<c._since.getTime()){c._now=f=g}else{f=c._since}}else{g.setTime(c._until.getTime());if(f.getTime()>c._until.getTime()){c._now=f=g}}var h=[0,0,0,0,0,0,0];if(d[Y]||d[O]){var i=this._getDaysInMonth(f.getFullYear(),f.getMonth());var j=this._getDaysInMonth(g.getFullYear(),g.getMonth());var k=(g.getDate()==f.getDate()||(g.getDate()>=Math.min(i,j)&&f.getDate()>=Math.min(i,j)));var l=function(a){return(a.getHours()*60+a.getMinutes())*60+a.getSeconds()};var m=Math.max(0,(g.getFullYear()-f.getFullYear())*12+g.getMonth()-f.getMonth()+((g.getDate()<f.getDate()&&!k)||(k&&l(g)<l(f))?-1:0));h[Y]=(d[Y]?Math.floor(m/12):0);h[O]=(d[O]?m-h[Y]*12:0);f=new Date(f.getTime());var n=(f.getDate()==i);var o=this._getDaysInMonth(f.getFullYear()+h[Y],f.getMonth()+h[O]);if(f.getDate()>o){f.setDate(o)}f.setFullYear(f.getFullYear()+h[Y]);f.setMonth(f.getMonth()+h[O]);if(n){f.setDate(o)}}var p=Math.floor((g.getTime()-f.getTime())/1000);var q=function(a,b){h[a]=(d[a]?Math.floor(p/b):0);p-=h[a]*b};q(W,604800);q(D,86400);q(H,3600);q(M,60);q(S,1);if(p>0&&!c._since){var r=[1,12,4.3482,7,24,60,60];var s=S;var t=1;for(var u=S;u>=Y;u--){if(d[u]){if(h[s]>=t){h[s]=0;p=1}if(p>0){h[u]++;p=0;s=u;t=1}}t*=r[u]}}if(e){for(var u=Y;u<=S;u++){if(e&&h[u]){e--}else if(!e){h[u]=0}}}return h}})})(jQuery);
14!function(t,e,i){function n(i,n,o){var h=e.createElement(i);return n&&(h.id=Z+n),o&&(h.style.cssText=o),t(h)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function h(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function r(t){var e=k.length,i=(A+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in y[0]&&!y[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),y.focus())}function c(t){c.str!==t&&(y.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){A=0,e&&e!==!1&&"nofollow"!==e?(k=t("."+te).filter(function(){var i=t.data(this,Y),n=new h(this,i);return n.get("rel")===e}),A=k.index(_.el),-1===A&&(k=k.add(_.el),A=k.length-1)):k=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data(Y),_=new h(i,o),g(_.get("rel")),!$){$=q=!0,c(_.get("className")),y.css({visibility:"hidden",display:"block",opacity:""}),I=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(I),j=T.height()+W.height()+b.outerHeight(!0)-b.height(),D=C.width()+H.width()+b.outerWidth(!0)-b.width(),N=I.outerHeight(!0),z=I.outerWidth(!0);var r=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=(l!==!1?Math.min(r,a(l,"x")):r)-z-D,_.h=(f!==!1?Math.min(s,a(f,"y")):s)-N-j,I.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(S).hide(),y.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(he,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(he,function(){t(_.el).focus()})}var p=parseFloat(_.get("opacity"));v.css({opacity:p===p?p:"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("<div/>"),w()}}function p(){y||(V=!1,E=t(i),y=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),M=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),x=n(se,"Wrapper"),b=n(se,"Content").append(S=n(se,"Title"),F=n(se,"Current"),P=t('<button type="button"/>').attr({id:Z+"Previous"}),K=t('<button type="button"/>').attr({id:Z+"Next"}),R=n("button","Slideshow"),M),B=t('<button type="button"/>').attr({id:Z+"Close"}),x.append(n(se).append(n(se,"TopLeft"),T=n(se,"TopCenter"),n(se,"TopRight")),n(se,!1,"clear:left").append(C=n(se,"MiddleLeft"),b,H=n(se,"MiddleRight")),n(se,!1,"clear:left").append(n(se,"BottomLeft"),W=n(se,"BottomCenter"),n(se,"BottomRight"))).find("div div").css({"float":"left"}),L=n(se,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),O=K.add(P).add(F).add(R)),e.body&&!y.parent().length&&t(e.body).append(v,y.append(x,L))}function m(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return y?(V||(V=!0,K.click(function(){J.next()}),P.click(function(){J.prev()}),B.click(function(){J.close()}),v.click(function(){_.get("overlayClose")&&J.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;$&&_.get("escKey")&&27===e&&(t.preventDefault(),J.close()),$&&_.get("arrowKey")&&k[1]&&!t.altKey&&
vendor: 5,169 bytes, line 14
14(37===e?(t.preventDefault(),P.click()):39===e&&(t.preventDefault(),K.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+Z,"."+te,i):t("."+te).live("click."+Z,i)),!0):!1}function w(){var e,o,h,r=J.prep,d=++le;if(q=!0,U=!1,u(re),u(ie),_.get("onLoad"),_.h=_.get("height")?a(_.get("height"),"y")-N-j:_.get("innerHeight")&&a(_.get("innerHeight"),"y"),_.w=_.get("width")?a(_.get("width"),"x")-z-D:_.get("innerWidth")&&a(_.get("innerWidth"),"x"),_.mw=_.w,_.mh=_.h,_.get("maxWidth")&&(_.mw=a(_.get("maxWidth"),"x")-z-D,_.mw=_.w&&_.w<_.mw?_.w:_.mw),_.get("maxHeight")&&(_.mh=a(_.get("maxHeight"),"y")-N-j,_.mh=_.h&&_.h<_.mh?_.h:_.mh),e=_.get("href"),Q=setTimeout(function(){M.show()},100),_.get("inline")){var c=t(e);h=t("<div>").hide().insertBefore(c),ae.one(re,function(){h.replaceWith(c)}),r(c)}else _.get("iframe")?r(" "):_.get("html")?r(_.get("html")):s(_,e)?(e=l(_,e),U=_.get("createImg"),t(U).addClass(Z+"Photo").bind("error."+Z,function(){r(n(se,"Error").html(_.get("imgError")))}).one("load",function(){d===le&&setTimeout(function(){var e;_.get("retinaImage")&&i.devicePixelRatio>1&&(U.height=U.height/i.devicePixelRatio,U.width=U.width/i.devicePixelRatio),_.get("scalePhotos")&&(o=function(){U.height-=U.height*e,U.width-=U.width*e},_.mw&&U.width>_.mw&&(e=(U.width-_.mw)/U.width,o()),_.mh&&U.height>_.mh&&(e=(U.height-_.mh)/U.height,o())),(_.h||_.get("minHeight"))&&(U.style.marginTop=Math.max((_.h||_.get("minHeight"))-U.height,0)/2+"px"),k[1]&&(_.get("loop")||k[A+1])&&(U.style.cursor="pointer",t(U).bind("click."+Z,function(){J.next()})),U.style.width=U.width+"px",U.style.height=U.height+"px",r(U)},1)}),U.src=e):e&&L.load(e,_.get("data"),function(e,i){d===le&&r("error"===i?n(se,"Error").html(_.get("xhrError")):t(this).contents())})}var v,y,x,b,T,C,H,W,k,E,I,L,M,S,F,R,K,P,B,O,_,j,D,N,z,A,U,$,q,G,Q,J,V,X={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,minWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,minHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,function(t,i){e[t]=i}),e},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return"object"==typeof n&&t.each(n,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullScreen=!0,i}},Y="colorbox",Z="cbox",te=Z+"Element",ee=Z+"_open",ie=Z+"_load",ne=Z+"_complete",oe=Z+"_cleanup",he=Z+"_closed",re=Z+"_purge",ae=t("<a/>"),se="div",le=0,de={},ce=function(){function t(){clearTimeout(r)}function e(){(_.get("loop")||k[A+1])&&(t(),r=setTimeout(J.next,_.get("slideshowSpeed")))}function i(){R.html(_.get("slideshowStop")).unbind(s).one(s,n),ae.bind(ne,e).bind(ie,t),y.removeClass(a+"off").addClass(a+"on")}function n(){t(),ae.unbind(ne,e).unbind(ie,t),R.html(_.get("slideshowStart")).unbind(s).one(s,function(){J.next(),i()}),y.removeClass(a+"on").addClass(a+"off")}function o(){h=!1,R.hide(),t(),ae.unbind(ne,e).unbind(ie,t),y.removeClass(a+"off "+a+"on")}var h,r,a=Z+"Slideshow_",s="click."+Z;return function(){h?_.get("slideshow")||(ae.unbind(oe,o),o()):_.get("slideshow")&&k[1]&&(h=!0,ae.one(oe,o),_.get("slideshowAuto")?i():n(),R.show())}}();t[Y]||(t(p),J=t.fn[Y]=t[Y]=function(e,i){var n,o=this;return e=e||{},t.isFunction(o)&&(o=t("<a/>"),e.open=!0),o[0]?(p(),m()&&(i&&(e.onComplete=i),o.each(function(){var i=t.data(this,Y)||{};t.data(this,Y,t.extend(i,e))}).addClass(te),n=new h(o[0],e),n.get("open")&&f(o[0])),o):o},J.position=function(e,i){function n(){T[0].style.width=W[0].style.width=b[0].style.width=parseInt(y[0].style.width,10)-D+"px",b[0].style.height=C[0].style.height=H[0].style.height=parseInt(y[0].style.height,10)-j+"px"}var h,r,s,l=0,d=0,c=y.offset();if(E.unbind("resize."+Z),y.css({top:-9e4,left:-9e4}),r=E.scrollTop(),s=E.scrollLeft(),_.get("fixed")?(c.top-=r,c.left-=s,y.css({position:"fixed"})):(l=r,d=s,y.css({position:"absolute"})),d+=_.get("right")!==!1?Math.max(E.width()-_.w-z-D-a(_.get("right"),"x"),0):_.get("left")!==!1?a(_.get("left"),"x"):Math.round(Math.max(E.width()-_.w-z-D,0)/2),l+=_.get("bottom")!==!1?Math.max(o()-_.h-N-j-a(_.get("bottom"),"y"),0):_.get("top")!==!1?a(_.get("top"),"y"):Math.round(Math.max(o()-_.h-N-j,0)/2),y.css({top:c.top,left
14:c.left,visibility:"visible"}),x[0].style.width=x[0].style.height="9999px",h={width:_.w+z+D,height:_.h+N+j,top:l,left:d},e){var g=0;t.each(h,function(t){return h[t]!==de[t]?void(g=e):void 0}),e=g}de=h,e||y.css(h),y.dequeue().animate(h,{duration:e||0,complete:function(){n(),q=!1,x[0].style.width=_.w+z+D+"px",x[0].style.height=_.h+N+j+"px",_.get("reposition")&&setTimeout(function(){E.bind("resize."+Z,J.position)},1),t.isFunction(i)&&i()},step:n})},J.resize=function(t){var e;$&&(t=t||{},t.width&&(_.w=a(t.width,"x")-z-D),t.innerWidth&&(_.w=a(t.innerWidth,"x")),I.css({width:_.w}),t.height&&(_.h=a(t.height,"y")-N-j),t.innerHeight&&(_.h=a(t.innerHeight,"y")),t.innerHeight||t.height||(e=I.scrollTop(),I.css({height:"auto"}),_.h=I.height()),I.css({height:_.h}),e&&I.scrollTop(e),J.position("none"===_.get("transition")?0:_.get("speed")))},J.prep=function(i){function o(){return _.w=_.w||I.width(),_.get("minWidth")&&_.w<_.get("minWidth")&&(_.w=a(_.get("minWidth"),"x")),_.w=_.mw&&_.mw<_.w?_.mw:_.w,_.w}function d(){return _.h=_.h||I.height(),_.get("minHeight")&&_.h<_.get("minHeight")&&(_.h=a(_.get("minHeight"),"y")),_.h=_.mh&&_.mh<_.h?_.mh:_.h,_.h}if($){var g,f="none"===_.get("transition")?0:_.get("speed");I.remove(),I=n(se,"LoadedContent").append(i),I.hide().appendTo(L.show()).css({width:o(),overflow:_.get("scrolling")?"auto":"hidden"}).css({height:d()}).prependTo(b),L.hide(),t(U).css({"float":"none"}),c(_.get("className")),g=function(){function i(){t.support.opacity===!1&&y[0].style.removeAttribute("filter")}var n,o,a=k.length;$&&(o=function(){clearTimeout(Q),M.hide(),u(ne),_.get("onComplete")},S.html(_.get("title")).show(),I.show(),a>1?("string"==typeof _.get("current")&&F.html(_.get("current").replace("{current}",A+1).replace("{total}",a)).show(),K[_.get("loop")||a-1>A?"show":"hide"]().html(_.get("next")),P[_.get("loop")||A?"show":"hide"]().html(_.get("previous")),ce(),_.get("preloading")&&t.each([r(-1),r(1)],function(){var i,n=k[this],o=new h(n,t.data(n,Y)),r=o.get("href");r&&s(o,r)&&(r=l(o,r),i=e.createElement("img"),i.src=r)})):O.hide(),_.get("iframe")?(n=_.get("createIframe"),_.get("scrolling")||(n.scrolling="no"),t(n).attr({src:_.get("href"),"class":Z+"Iframe"}).one("load",o).appendTo(I),ae.one(re,function(){n.src="//about:blank"}),_.get("fastIframe")&&t(n).trigger("load")):o(),"fade"===_.get("transition")?y.fadeTo(f,1,i):i())},"fade"===_.get("transition")?y.fadeTo(f,0,function(){J.position(0,g)}):J.position(f,g)}},J.next=function(){!q&&k[1]&&(_.get("loop")||k[A+1])&&(A=r(1),f(k[A]))},J.prev=function(){!q&&k[1]&&(_.get("loop")||A)&&(A=r(-1),f(k[A]))},J.close=function(){$&&!G&&(G=!0,$=!1,u(oe),_.get("onCleanup"),E.unbind("."+Z),v.fadeTo(_.get("fadeOut")||0,0),y.stop().fadeTo(_.get("fadeOut")||0,0,function(){y.hide(),v.hide(),u(re),I.remove(),setTimeout(function(){G=!1,u(he),_.get("onClosed")},1)}))},J.remove=function(){y&&(y.stop(),t[Y].close(),y.stop(!1,!0).remove(),v.remove(),G=!1,y=null,t("."+te).removeData(Y).removeClass(te),t(e).unbind("click."+Z).unbind("keydown."+Z))},J.element=function(){return t(_.el)},J.settings=X)}(jQuery,document,window);
15!function(t){t.fn.clickyBoxes=function(){return t(this).filter("select:not(.replaced)").addClass("replaced").each(function(){var e,i=i||t(this).attr("id"),a=t('<ul class="clickyboxes"/>').attr("id","clickyboxes-"+i).data("select",t(this)).insertAfter(this);e=t(this).is("[id]")?t('label[for="'+t(this).attr("id")+'"]'):t(this).siblings("label"),e.length>0&&a.addClass("options-"+e.html().toLowerCase().replace(/[^a-z0-9]/,"-")),t(this).find("option").each(function(){t("<li/>").appendTo(a).append(t('<a href="#"/>').attr("data-value",t(this).val()).html(t(this).html()).addClass("opt-"+t(this).html().toLowerCase().replace(/[^a-z0-9]/,"-")))}),t(this).hide().addClass("replaced").on("change keyup",function(){a.find("a").removeClass("active").filter('[data-value="'+t(this).val()+'"]').addClass("active")}).trigger("keyup"),a.on("click","a",function(){return t(this).hasClass("active")||t(this).closest(".clickyboxes").data("select").val(t(this).data("value")).trigger("change"),!1})})},t.fn.selectReplace=function(){return t(this).filter("select:not(.replaced, .noreplace)").addClass("replaced").each(function(){var e=t(this).find("option"),i=e.filter(":selected").length>0?e.filter(":selected").text():e.first().text(),a=t(this).wrap('<div class="pretty-select">').parent().addClass("id-"+t(this).attr("id")).append('<span class="text"><span class="value">'+i+'</span></span><i class="icon-arrow3-down"></i>');a.toggleClass("plaintext",t(this).hasClass("plaintext"))}).on("change keyup",function(){t(this).siblings(".text").find(".value").html(t(this).find(":selected").html())})},t.fn.cropImageToRatio=function(e){var e=t.extend({ratio:4/3},e);return t(this).each(function(){if("undefined"==typeof t(this).data("imgratio")){var i=t(this).width()/t(this).height(),a=e.ratio;t(this).data("imgratio",i),t(this).css({position:"absolute",maxWidth:"none",maxHeight:"none"}).wrap("<div/>").parent().css({height:0,paddingTop:100/e.ratio+"%",overflow:"hidden",position:"relative"}),t(this).css(a>
15i?{top:100*-(a/(2*i)-.5)+"%",left:0,width:"100%",height:"auto"}:{top:0,left:100*-(i/(2*a)-.5)+"%",width:"auto",height:"100%"})}})},t.fn.staggerEvent=function(e,i,a){var e=e,i=i,s=t(this);return"undefined"==typeof a&&(a=0),setTimeout(function(){s.each(function(a){var s=t(this);setTimeout(function(){"function"==typeof e?e(s):s.trigger(e)},i*a)})},a),t(this)}}(jQuery);
16(function($){var defaults={url:false,callback:false,target:false,duration:120,on:"mouseover",touch:true,onZoomIn:false,onZoomOut:false,magnify:1};$.zoom=function(target,source,img,magnify){var targetHeight,targetWidth,sourceHeight,sourceWidth,xRatio,yRatio,offset,$target=$(target),position=$target.css("position"),$source=$(source);$target.css("position",/(absolute|fixed)/.test(position)?position:"relative");$target.css("overflow","hidden");img.style.width=img.style.height="";$(img).addClass("zoomImg").css({position:"absolute",top:0,left:0,opacity:0,width:img.width*magnify,height:img.height*magnify,border:"none",maxWidth:"none",maxHeight:"none"}).appendTo(target);return{init:function(){targetWidth=$target.outerWidth();targetHeight=$target.outerHeight();if(source===$target[0]){sourceWidth=targetWidth;sourceHeight=targetHeight}else{sourceWidth=$source.outerWidth();sourceHeight=$source.outerHeight()}xRatio=(img.width-targetWidth)/sourceWidth;yRatio=(img.height-targetHeight)/sourceHeight;offset=$source.offset()},move:function(e){var left=e.pageX-offset.left,top=e.pageY-offset.top;top=Math.max(Math.min(top,sourceHeight),0);left=Math.max(Math.min(left,sourceWidth),0);img.style.left=left*-xRatio+"px";img.style.top=top*-yRatio+"px"}}};$.fn.zoom=function(options){return this.each(function(){var settings=$.extend({},defaults,options||{}),target=settings.target||this,source=this,$source=$(source),$target=$(target),img=document.createElement("img"),$img=$(img),mousemove="mousemove.zoom",clicked=false,touched=false,$urlElement;if(!settings.url){$urlElement=$source.find("img");if($urlElement[0]){settings.url=$urlElement.data("src")||$urlElement.attr("src")}if(!settings.url){return}}(function(){var position=$target.css("position");var overflow=$target.css("overflow");$source.one("zoom.destroy",function(){$source.off(".zoom");$target.css("position",position);$target.css("overflow",overflow);$img.remove()})})();img.onload=function(){var zoom=$.zoom(target,source,img,settings.magnify);function start(e){zoom.init();zoom.move(e);$img.stop().fadeTo($.support.opacity?settings.duration:0,1,$.isFunction(settings.onZoomIn)?settings.onZoomIn.call(img):false)}function stop(){$img.stop().fadeTo(settings.duration,0,$.isFunction(settings.onZoomOut)?settings.onZoomOut.call(img):false)}if(settings.on==="grab"){$source.on("mousedown.zoom",function(e){if(e.which===1){$(document).one("mouseup.zoom",function(){stop();$(document).off(mousemove,zoom.move)});start(e);$(document).on(mousemove,zoom.move);e.preventDefault()}})}else if(settings.on==="click"){$source.on("click.zoom",function(e){if(clicked){return}else{clicked=true;start(e);$(document).on(mousemove,zoom.move);$(document).one("click.zoom",function(){stop();clicked=false;$(document).off(mousemove,zoom.move)});return false}})}else if(settings.on==="toggle"){$source.on("click.zoom",function(e){if(clicked){stop()}else{start(e)}clicked=!clicked})}else if(settings.on==="mouseover"){zoom.init();$source.on("mouseenter.zoom",start).on("mouseleave.zoom",stop).on(mousemove,zoom.move)}if(settings.touch){$source.on("touchstart.zoom",function(e){e.preventDefault();if(touched){touched=false;stop()}else{touched=true;start(e.originalEvent.touches[0]||e.originalEvent.changedTouches[0])}}).on("touchmove.zoom",function(e){e.preventDefault();zoom.move(e.originalEvent.touches[0]||e.originalEvent.changedTouches[0])})}if($.isFunction(settings.callback)){settings.callback.call(img)}};img.src=settings.url})};$.fn.zoom.defaults=defaults})(window.jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.