1/*! 2* jQuery Cycle2; version: 2.1.6 build: 20141007 3* http://jquery.malsup.com/cycle2/ 4* Copyright (c) 2014 M. Alsup; Dual licensed: MIT/GPL 5*/
vendor: 10,280 bytes, line 6
6!function(a){"use strict";function b(a){return(a||"").toLowerCase()}var c="2.1.6";a.fn.cycle=function(c){var d;return 0!==this.length||a.isReady?this.each(function(){var d,e,f,g,h=a(this),i=a.fn.cycle.log;if(!h.data("cycle.opts")){(h.data("cycle-log")===!1||c&&c.log===!1||e&&e.log===!1)&&(i=a.noop),i("--c2 init--"),d=h.data();for(var j in d)d.hasOwnProperty(j)&&/^cycle[A-Z]+/.test(j)&&(g=d[j],f=j.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,b),i(f+":",g,"("+typeof g+")"),d[f]=g);e=a.extend({},a.fn.cycle.defaults,d,c||{}),e.timeoutId=0,e.paused=e.paused||!1,e.container=h,e._maxZ=e.maxZ,e.API=a.extend({_container:h},a.fn.cycle.API),e.API.log=i,e.API.trigger=function(a,b){return e.container.trigger(a,b),e.API},h.data("cycle.opts",e),h.data("cycle.API",e.API),e.API.trigger("cycle-bootstrap",[e,e.API]),e.API.addInitialSlides(),e.API.preInitSlideshow(),e.slides.length&&e.API.initSlideshow()}}):(d={s:this.selector,c:this.context},a.fn.cycle.log("requeuing slideshow (dom not ready)"),a(function(){a(d.s,d.c).cycle(c)}),this)},a.fn.cycle.API={opts:function(){return this._container.data("cycle.opts")},addInitialSlides:function(){var b=this.opts(),c=b.slides;b.slideCount=0,b.slides=a(),c=c.jquery?c:b.container.find(c),b.random&&c.sort(function(){return Math.random()-.5}),b.API.add(c)},preInitSlideshow:function(){var b=this.opts();b.API.trigger("cycle-pre-initialize",[b]);var c=a.fn.cycle.transitions[b.fx];c&&a.isFunction(c.preInit)&&c.preInit(b),b._preInitialized=!0},postInitSlideshow:function(){var b=this.opts();b.API.trigger("cycle-post-initialize",[b]);var c=a.fn.cycle.transitions[b.fx];c&&a.isFunction(c.postInit)&&c.postInit(b)},initSlideshow:function(){var b,c=this.opts(),d=c.container;c.API.calcFirstSlide(),"static"==c.container.css("position")&&c.container.css("position","relative"),a(c.slides[c.currSlide]).css({opacity:1,display:"block",visibility:"visible"}),c.API.stackSlides(c.slides[c.currSlide],c.slides[c.nextSlide],!c.reverse),c.pauseOnHover&&(c.pauseOnHover!==!0&&(d=a(c.pauseOnHover)),d.hover(function(){c.API.pause(!0)},function(){c.API.resume(!0)})),c.timeout&&(b=c.API.getSlideOpts(c.currSlide),c.API.queueTransition(b,b.timeout+c.delay)),c._initialized=!0,c.API.updateView(!0),c.API.trigger("cycle-initialized",[c]),c.API.postInitSlideshow()},pause:function(b){var c=this.opts(),d=c.API.getSlideOpts(),e=c.hoverPaused||c.paused;b?c.hoverPaused=!0:c.paused=!0,e||(c.container.addClass("cycle-paused"),c.API.trigger("cycle-paused",[c]).log("cycle-paused"),d.timeout&&(clearTimeout(c.timeoutId),c.timeoutId=0,c._remainingTimeout-=a.now()-c._lastQueue,(c._remainingTimeout<0||isNaN(c._remainingTimeout))&&(c._remainingTimeout=void 0)))},resume:function(a){var b=this.opts(),c=!b.hoverPaused&&!b.paused;a?b.hoverPaused=!1:b.paused=!1,c||(b.container.removeClass("cycle-paused"),0===b.slides.filter(":animated").length&&b.API.queueTransition(b.API.getSlideOpts(),b._remainingTimeout),b.API.trigger("cycle-resumed",[b,b._remainingTimeout]).log("cycle-resumed"))},add:function(b,c){var d,e=this.opts(),f=e.slideCount,g=!1;"string"==a.type(b)&&(b=a.trim(b)),a(b).each(function(){var b,d=a(this);c?e.container.prepend(d):e.container.append(d),e.slideCount++,b=e.API.buildSlideOpts(d),e.slides=c?a(d).add(e.slides):e.slides.add(d),e.API.initSlide(b,d,--e._maxZ),d.data("cycle.opts",b),e.API.trigger("cycle-slide-added",[e,b,d])}),e.API.updateView(!0),g=e._preInitialized&&2>f&&e.slideCount>=1,g&&(e._initialized?e.timeout&&(d=e.slides.length,e.nextSlide=e.reverse?d-1:1,e.timeoutId||e.API.queueTransition(e)):e.API.initSlideshow())},calcFirstSlide:function(){var a,b=this.opts();a=parseInt(b.startingSlide||0,10),(a>=b.slides.length||0>a)&&(a=0),b.currSlide=a,b.reverse?(b.nextSlide=a-1,b.nextSlide<0&&(b.nextSlide=b.slides.length-1)):(b.nextSlide=a+1,b.nextSlide==b.slides.length&&(b.nextSlide=0))},calcNextSlide:function(){var a,b=this.opts();b.reverse?(a=b.nextSlide-1<0,b.nextSlide=a?b.slideCount-1:b.nextSlide-1,b.currSlide=a?0:b.nextSlide+1):(a=b.nextSlide+1==b.slides.length,b.nextSlide=a?0:b.nextSlide+1,b.currSlide=a?b.slides.length-1:b.nextSlide-1)},calcTx:function(b,c){var d,e=b;return e._tempFx?d=a.fn.cycle.transitions[e._tempFx]:c&&e.manualFx&&(d=a.fn.cycle.transitions[e.manualFx]),d||(d=a.fn.cycle.transitions[e.fx]),e._tempFx=null,this.opts()._tempFx=null,d||(d=a.fn.cycle.transitions.fade,e.API.log('Transition "'+e.fx+'" not found. Using fade.')),d},prepareTx:function(a,b){var c,d,e,f,g,h=this.opts();return h.slideCount<2?void(h.timeoutId=0):(!a||h.busy&&!h.manualTrump||(h.API.stopTransition(),h.busy=!1,clearTimeout(h.timeoutId),h.timeoutId=0),void(h.busy||(0!==h.timeoutId||a)&&(d=h.slides[h.currSlide],e=h.slides[h.nextSlide],f=h.API.getSlideOpts(h.nextSlide),g=h.API.calcTx(f,a),h._tx=g,a&&void 0!==f.manualSpeed&&(f.speed=f.manualSpeed),h.nextSlide!=h.currSlide&&(a||!h.paused&&!h.hoverPaused&&h.timeout)?(h.API.trigger("cycle-before",[f,d,e,b]),g.before&&g.before(f,d,e,b),c=function(){h.busy=!1,h.container.data("cycle.opts")&&(g.after&&g.after(f,d,e,b),h.API.trigger("cycle-after",[f,d,e,b]),h.API.queueTransition(f),h.API.updateView(!0))},h.busy=!0,g.transition?g.transition(f,d,e,b,c):h.API.doTransition(f,d,e,b,c),h.API.calcNextSlide(),h.API.updateView()):h.API.queueTransition(f))))},doTransition:function(b,c,d,e,f){var g=b,h=a(c),i=a(d),j=function(){i.animate(g.animIn||{opacity:1},g.speed,g.easeIn||g.easing,f)};i.css(g.cssBefore||{}),h.animate(g.animOut||{},g.speed,g.easeOut||g.easing,function(){h.css(g.cssAfter||{}),g.sync||j()}),g.sync&&j()},queueTransition:function(b,c){var d=this.opts(),e=void 0!==c?c:b.timeout;return 0===d.nextSlide&&0===--d.loop?(d.API.log("terminating; loop=0"),d.timeout=0,e?setTimeout(function(){d.API.trigger("cycle-finished",[d])},e):d.API.trigger("cycle-finished",[d]),void(d.nextSlide=d.currSlide)):void 0!==d.continueAuto&&(d.continueAuto===!1||a.isFunction(d.continueAuto)&&d.continueAuto()===!1)?(d.API.log("terminating automatic transitions"),d.timeout=0,void(d.timeoutId&&clearTimeout(d.timeoutId))):void(e&&(d._lastQueue=a.now(),void 0===c&&(d._remainingTimeout=b.timeout),d.paused||d.hoverPaused||(d.timeoutId=setTimeout(function(){d.API.prepareTx(!1,!d.reverse)},e))))},stopTransition:function(){var a=this.opts();a.slides.filter(":animated").length&&(a.slides.stop(!1,!0),a.API.trigger("cycle-transition-stopped",[a])),a._tx&&a._tx.stopTransition&&a._tx.stopTransition(a)},advanceSlide:function(a){var b=this.opts();return clearTimeout(b.timeoutId),b.timeoutId=0,b.nextSlide=b.currSlide+a,b.nextSlide<0?b.nextSlide=b.slides.length-1:b.nextSlide>=b.slides.length&&(b.nextSlide=0),b.API.prepareTx(!0,a>=0),!1},buildSlideOpts:function(c){var d,e,f=this.opts(),g=c.data()||{};for(var h in g)g.hasOwnProperty(h)&&/^cycle[A-Z]+/.test(h)&&(d=g[h],e=h.match(/^cycle(.*)/)[1].replace(/^[A-Z]/,b),f.API.log("["+(f.slideCount-1)+"]",e+":",d,"("+typeof d+")"),g[e]=d);g=a.extend({},a.fn.cycle.defaults,f,g),g.slideNum=f.slideCount;try{delete g.API,delete g.slideCount,delete g.currSlide,delete g.nextSlide,delete g.slides}catch(i){}return g},getSlideOpts:function(b){var c=this.opts();void 0===b&&(b=c.currSlide);var d=c.slides[b],e=a(d).data("cycle.opts");return a.extend({},c,e)},initSlide:function(b,c,d){var e=this.opts();c.css(b.slideCss||{}),d>0&&c.css("zIndex",d),isNaN(b.speed)&&(b.speed=a.fx.speeds[b.speed]||a.fx.speeds._default),b.sync||(b.speed=b.speed/2),c.addClass(e.slideClass)},updateView:function(a,b){var c=this.opts();if(c._initialized){var d=c.API.getSlideOpts(),e=c.slides[c.currSlide];!a&&b!==!0&&(c.API.trigger("cycle-update-view-before",[c,d,e]),c.updateView<0)||(c.slideActiveClass&&c.slides.removeClass(c.slideActiveClass).eq(c.currSlide).addClass(c.slideActiveClass),a&&c.hideNonActive&&c.slides.filter(":not(."+c.slideActiveClass+")").css("visibility","hidden"),0===c.updateView&&setTimeout(function(){c.API.trigger("cycle-update-view",[c,d,e,a])},d.speed/(c.sync?2:1)),0!==c.updateView&&c.API.trigger("cycle-update-view",[c,d,e,a]),a&&c.API.trigger("cycle-update-view-after",[c,d,e]))}},getComponent:function(b){var c=this.opts(),d=c[b];return"string"==typeof d?/^\s*[\>|\+|~]/.test(d)?c.container.find(d):a(d):d.jquery?d:a(d)},stackSlides:function(b,c,d){var e=this.opts();b||(b=e.slides[e.currSlide],c=e.slides[e.nextSlide],d=!e.reverse),a(b).css("zIndex",e.maxZ);var f,g=e.maxZ-2,h=e.slideCount;if(d){for(f=e.currSlide+1;h>f;f++)a(e.slides[f]).css("zIndex",g--);for(f=0;f<e.currSlide;f++)a(e.slides[f]).css("zIndex",g--)}else{for(f=e.currSlide-1;f>=0;f--)a(e.slides[f]).css("zIndex",g--);for(f=h-1;f>e.currSlide;f--)a(e.slides[f]).css("zIndex",g--)}a(c).css("zIndex",e.maxZ-1)},getSlideIndex:function(a){return this.opts().slides.index(a)}},a.fn.cycle.log=function(){window.console&&console.log&&console.log("[cycle2] "+Array.prototype.join.call(arguments," "))},a.fn.cycle.version=function(){return"Cycle2: "+c},a.fn.cycle.transitions={custom:{},none:{before:function(a,b,c,d){a.API.stackSlides(c,b,d),a.cssBefore={opacity:1,visibility:"visible",display:"block"}}},fade:{before:function(b,c,d,e){var f=b.API.getSlideOpts(b.nextSlide).slideCss||{};b.API.stackSlides(c,d,e),b.cssBefore=a.extend(f,{opacity:0,visibility:"visible",display:"block"}),b.animIn={opacity:1},b.animOut={opacity:0}}},fadeout:{before:function(b,c,d,e){var f=b.API.getSlideOpts(b.nextSlide).slideCss||{};b.API.stackSlides(c,d,e),b.cssBefore=a.extend(f,{opacity:1,visibility:"visible",display:"block"}),b.animOut={opacity:0}}},scrollHorz:{before:function(a,b,c,d){a.API.stackSlides(b,c,d);var e=a.container.css("overflow","hidden").width();a.cssBefore={left:d?e:-e,top:0,opacity:1,visibility:"visible",display:"block"},a.cssAfter={zIndex:a._maxZ-2,left:0},a.animIn={left:0},a.animOut={left:d?-e:e}}}},a.fn.cycle.defaults={allowWrap:!0,autoSelector:".cycle-slideshow[data-cycle-auto-init!=false]",delay:0,easing:null,fx:"fade",hideNonActive:!0,loop:0,manualFx:void 0,manualSpeed:void 0,manualTrump:!0,maxZ:100,pauseOnHover:!1,reverse:!1,slideActiveClass:"cycle-slide-active",slideClass:"cycle-slide",slideCss:{position:"absolute",top:0,left:0},slides:"> img",speed:500,startingSlide:0,sync:!0,timeout:4e3,updateView:0},a(document).ready(function(){a(a.fn.cycle.defaults.autoSelector).cycle()})}(jQuery),/*! Cycle2 autoheight plugin; Copyright (c) M.Alsup, 2012; version: 20130913 */
vendor: 9,341 bytes, lines 6-13
6 7function(a){"use strict";function b(b,d){var e,f,g,h=d.autoHeight;if("container"==h)f=a(d.slides[d.currSlide]).outerHeight(),d.container.height(f);else if(d._autoHeightRatio)d.container.height(d.container.width()/d._autoHeightRatio);else if("calc"===h||"number"==a.type(h)&&h>=0){if(g="calc"===h?c(b,d):h>=d.slides.length?0:h,g==d._sentinelIndex)return;d._sentinelIndex=g,d._sentinel&&d._sentinel.remove(),e=a(d.slides[g].cloneNode(!0)),e.removeAttr("id name rel").find("[id],[name],[rel]").removeAttr("id name rel"),e.css({position:"static",visibility:"hidden",display:"block"}).prependTo(d.container).addClass("cycle-sentinel cycle-slide").removeClass("cycle-slide-active"),e.find("*").css("visibility","hidden"),d._sentinel=e}}function c(b,c){var d=0,e=-1;return c.slides.each(function(b){var c=a(this).height();c>e&&(e=c,d=b)}),d}function d(b,c,d,e){var f=a(e).outerHeight();c.container.animate({height:f},c.autoHeightSpeed,c.autoHeightEasing)}function e(c,f){f._autoHeightOnResize&&(a(window).off("resize orientationchange",f._autoHeightOnResize),f._autoHeightOnResize=null),f.container.off("cycle-slide-added cycle-slide-removed",b),f.container.off("cycle-destroyed",e),f.container.off("cycle-before",d),f._sentinel&&(f._sentinel.remove(),f._sentinel=null)}a.extend(a.fn.cycle.defaults,{autoHeight:0,autoHeightSpeed:250,autoHeightEasing:null}),a(document).on("cycle-initialized",function(c,f){function g(){b(c,f)}var h,i=f.autoHeight,j=a.type(i),k=null;("string"===j||"number"===j)&&(f.container.on("cycle-slide-added cycle-slide-removed",b),f.container.on("cycle-destroyed",e),"container"==i?f.container.on("cycle-before",d):"string"===j&&/\d+\:\d+/.test(i)&&(h=i.match(/(\d+)\:(\d+)/),h=h[1]/h[2],f._autoHeightRatio=h),"number"!==j&&(f._autoHeightOnResize=function(){clearTimeout(k),k=setTimeout(g,50)},a(window).on("resize orientationchange",f._autoHeightOnResize)),setTimeout(g,30))})}(jQuery),/*! caption plugin for Cycle2; version: 20130306 */ 8function(a){"use strict";a.extend(a.fn.cycle.defaults,{caption:"> .cycle-caption",captionTemplate:"{{slideNum}} / {{slideCount}}",overlay:"> .cycle-overlay",overlayTemplate:"<div>{{title}}</div><div>{{desc}}</div>",captionModule:"caption"}),a(document).on("cycle-update-view",function(b,c,d,e){if("caption"===c.captionModule){a.each(["caption","overlay"],function(){var a=this,b=d[a+"Template"],f=c.API.getComponent(a);f.length&&b?(f.html(c.API.tmpl(b,d,c,e)),f.show()):f.hide()})}}),a(document).on("cycle-destroyed",function(b,c){var d;a.each(["caption","overlay"],function(){var a=this,b=c[a+"Template"];c[a]&&b&&(d=c.API.getComponent("caption"),d.empty())})})}(jQuery),/*! command plugin for Cycle2; version: 20140415 */ 9function(a){"use strict";var b=a.fn.cycle;a.fn.cycle=function(c){var d,e,f,g=a.makeArray(arguments);return"number"==a.type(c)?this.cycle("goto",c):"string"==a.type(c)?this.each(function(){var h;return d=c,f=a(this).data("cycle.opts"),void 0===f?void b.log('slideshow must be initialized before sending commands; "'+d+'" ignored'):(d="goto"==d?"jump":d,e=f.API[d],a.isFunction(e)?(h=a.makeArray(g),h.shift(),e.apply(f.API,h)):void b.log("unknown command: ",d))}):b.apply(this,arguments)},a.extend(a.fn.cycle,b),a.extend(b.API,{next:function(){var a=this.opts();if(!a.busy||a.manualTrump){var b=a.reverse?-1:1;a.allowWrap===!1&&a.currSlide+b>=a.slideCount||(a.API.advanceSlide(b),a.API.trigger("cycle-next",[a]).log("cycle-next"))}},prev:function(){var a=this.opts();if(!a.busy||a.manualTrump){var b=a.reverse?1:-1;a.allowWrap===!1&&a.currSlide+b<0||(a.API.advanceSlide(b),a.API.trigger("cycle-prev",[a]).log("cycle-prev"))}},destroy:function(){this.stop();var b=this.opts(),c=a.isFunction(a._data)?a._data:a.noop;clearTimeout(b.timeoutId),b.timeoutId=0,b.API.stop(),b.API.trigger("cycle-destroyed",[b]).log("cycle-destroyed"),b.container.removeData(),c(b.container[0],"parsedAttrs",!1),b.retainStylesOnDestroy||(b.container.removeAttr("style"),b.slides.removeAttr("style"),b.slides.removeClass(b.slideActiveClass)),b.slides.each(function(){var d=a(this);d.removeData(),d.removeClass(b.slideClass),c(this,"parsedAttrs",!1)})},jump:function(a,b){var c,d=this.opts();if(!d.busy||d.manualTrump){var e=parseInt(a,10);if(isNaN(e)||0>e||e>=d.slides.length)return void d.API.log("goto: invalid slide index: "+e);if(e==d.currSlide)return void d.API.log("goto: skipping, already on slide",e);d.nextSlide=e,clearTimeout(d.timeoutId),d.timeoutId=0,d.API.log("goto: ",e," (zero-index)"),c=d.currSlide<d.nextSlide,d._tempFx=b,d.API.prepareTx(!0,c)}},stop:function(){var b=this.opts(),c=b.container;clearTimeout(b.timeoutId),b.timeoutId=0,b.API.stopTransition(),b.pauseOnHover&&(b.pauseOnHover!==!0&&(c=a(b.pauseOnHover)),c.off("mouseenter mouseleave")),b.API.trigger("cycle-stopped",[b]).log("cycle-stopped")},reinit:function(){var a=this.opts();a.API.destroy(),a.container.cycle()},remove:function(b){for(var c,d,e=this.opts(),f=[],g=1,h=0;h<e.slides.length;h++)c=e.slides[h],h==b?d=c:(f.push(c),a(c).data("cycle.opts").slideNum=g,g++);d&&(e.slides=a(f),e.slideCount--,a(d).remove(),b==e.currSlide?e.API.advanceSlide(1):b<e.currSlide?e.currSlide--:e.currSlide++,e.API.trigger("cycle-slide-removed",[e,b,d]).log("cycle-slide-removed"),e.API.updateView())}}),a(document).on("click.cycle","[data-cycle-cmd]",function(b){b.preventDefault();var c=a(this),d=c.data("cycle-cmd"),e=c.data("cycle-context")||".cycle-slideshow";a(e).cycle(d,c.data("cycle-arg"))})}(jQuery),/*! hash plugin for Cycle2; version: 20130905 */ 10function(a){"use strict";function b(b,c){var d;return b._hashFence?void(b._hashFence=!1):(d=window.location.hash.substring(1),void b.slides.each(function(e){if(a(this).data("cycle-hash")==d){if(c===!0)b.startingSlide=e;else{var f=b.currSlide<e;b.nextSlide=e,b.API.prepareTx(!0,f)}return!1}}))}a(document).on("cycle-pre-initialize",function(c,d){b(d,!0),d._onHashChange=function(){b(d,!1)},a(window).on("hashchange",d._onHashChange)}),a(document).on("cycle-update-view",function(a,b,c){c.hash&&"#"+c.hash!=window.location.hash&&(b._hashFence=!0,window.location.hash=c.hash)}),a(document).on("cycle-destroyed",function(b,c){c._onHashChange&&a(window).off("hashchange",c._onHashChange)})}(jQuery),/*! loader plugin for Cycle2; version: 20131121 */ 11function(a){"use strict";a.extend(a.fn.cycle.defaults,{loader:!1}),a(document).on("cycle-bootstrap",function(b,c){function d(b,d){function f(b){var f;"wait"==c.loader?(h.push(b),0===j&&(h.sort(g),e.apply(c.API,[h,d]),c.container.removeClass("cycle-loading"))):(f=a(c.slides[c.currSlide]),e.apply(c.API,[b,d]),f.show(),c.container.removeClass("cycle-loading"))}function g(a,b){return a.data("index")-b.data("index")}var h=[];if("string"==a.type(b))b=a.trim(b);else if("array"===a.type(b))for(var i=0;i<b.length;i++)b[i]=a(b[i])[0];b=a(b);var j=b.length;j&&(b.css("visibility","hidden").appendTo("body").each(function(b){function g(){0===--i&&(--j,f(k))}var i=0,k=a(this),l=k.is("img")?k:k.find("img");return k.data("index",b),l=l.filter(":not(.cycle-loader-ignore)").filter(':not([src=""])'),l.length?(i=l.length,void l.each(function(){this.complete?g():a(this).load(function(){g()}).on("error",function(){0===--i&&(c.API.log("slide skipped; img not loaded:",this.src),0===--j&&"wait"==c.loader&&e.apply(c.API,[h,d]))})})):(--j,void h.push(k))}),j&&c.container.addClass("cycle-loading"))}var e;c.loader&&(e=c.API.add,c.API.add=d)})}(jQuery),/*! pager plugin for Cycle2; version: 20140415 */ 12function(a){"use strict";function b(b,c,d){var e,f=b.API.getComponent("pager");f.each(function(){var f=a(this);if(c.pagerTemplate){var g=b.API.tmpl(c.pagerTemplate,c,b,d[0]);e=a(g).appendTo(f)}else e=f.children().eq(b.slideCount-1);e.on(b.pagerEvent,function(a){b.pagerEventBubble||a.preventDefault(),b.API.page(f,a.currentTarget)})})}function c(a,b){var c=this.opts();if(!c.busy||c.manualTrump){var d=a.children().index(b),e=d,f=c.currSlide<e;c.currSlide!=e&&(c.nextSlide=e,c._tempFx=c.pagerFx,c.API.prepareTx(!0,f),c.API.trigger("cycle-pager-activated",[c,a,b]))}}a.extend(a.fn.cycle.defaults,{pager:"> .cycle-pager",pagerActiveClass:"cycle-pager-active",pagerEvent:"click.cycle",pagerEventBubble:void 0,pagerTemplate:"<span>•</span>"}),a(document).on("cycle-bootstrap",function(a,c,d){d.buildPagerLink=b}),a(document).on("cycle-slide-added",function(a,b,d,e){b.pager&&(b.API.buildPagerLink(b,d,e),b.API.page=c)}),a(document).on("cycle-slide-removed",function(b,c,d){if(c.pager){var e=c.API.getComponent("pager");e.each(function(){var b=a(this);a(b.children()[d]).remove()})}}),a(document).on("cycle-update-view",function(b,c){var d;c.pager&&(d=c.API.getComponent("pager"),d.each(function(){a(this).children().removeClass(c.pagerActiveClass).eq(c.currSlide).addClass(c.pagerActiveClass)}))}),a(document).on("cycle-destroyed",function(a,b){var c=b.API.getComponent("pager");c&&(c.children().off(b.pagerEvent),b.pagerTemplate&&c.empty())})}(jQuery),/*! prevnext plugin for Cycle2; version: 20140408 */ 13function(a){"use strict";a.extend(a.fn.cycle.defaults,{next:"> .cycle-next",nextEvent:"click.cycle",disabledClass:"disabled",prev:"> .cycle-prev",prevEvent:"click.cycle",swipe:!1}),a(document).on("cycle-initialized",function(a,b){if(b.API.getComponent("next").on(b.nextEvent,function(a){a.preventDefault(),b.API.next()}),b.API.getComponent("prev").on(b.prevEvent,function(a){a.preventDefault(),b.API.prev()}
13),b.swipe){var c=b.swipeVert?"swipeUp.cycle":"swipeLeft.cycle swipeleft.cycle",d=b.swipeVert?"swipeDown.cycle":"swipeRight.cycle swiperight.cycle";b.container.on(c,function(){b._tempFx=b.swipeFx,b.API.next()}),b.container.on(d,function(){b._tempFx=b.swipeFx,b.API.prev()})}}),a(document).on("cycle-update-view",function(a,b){if(!b.allowWrap){var c=b.disabledClass,d=b.API.getComponent("next"),e=b.API.getComponent("prev"),f=b._prevBoundry||0,g=void 0!==b._nextBoundry?b._nextBoundry:b.slideCount-1;b.currSlide==g?d.addClass(c).prop("disabled",!0):d.removeClass(c).prop("disabled",!1),b.currSlide===f?e.addClass(c).prop("disabled",!0):e.removeClass(c).prop("disabled",!1)}}),a(document).on("cycle-destroyed",function(a,b){b.API.getComponent("prev").off(b.nextEvent),b.API.getComponent("next").off(b.prevEvent),b.container.off("swipeleft.cycle swiperight.cycle swipeLeft.cycle swipeRight.cycle swipeUp.cycle swipeDown.cycle")})}(jQuery),/*! progressive loader plugin for Cycle2; version: 20130315 */ 14function(a){"use strict";a.extend(a.fn.cycle.defaults,{progressive:!1}),a(document).on("cycle-pre-initialize",function(b,c){if(c.progressive){var d,e,f=c.API,g=f.next,h=f.prev,i=f.prepareTx,j=a.type(c.progressive);if("array"==j)d=c.progressive;else if(a.isFunction(c.progressive))d=c.progressive(c);else if("string"==j){if(e=a(c.progressive),d=a.trim(e.html()),!d)return;if(/^(\[)/.test(d))try{d=a.parseJSON(d)}catch(k){return void f.log("error parsing progressive slides",k)}else d=d.split(new RegExp(e.data("cycle-split")||"\n")),d[d.length-1]||d.pop()}i&&(f.prepareTx=function(a,b){var e,f;return a||0===d.length?void i.apply(c.API,[a,b]):void(b&&c.currSlide==c.slideCount-1?(f=d[0],d=d.slice(1),c.container.one("cycle-slide-added",function(a,b){setTimeout(function(){b.API.advanceSlide(1)},50)}),c.API.add(f)):b||0!==c.currSlide?i.apply(c.API,[a,b]):(e=d.length-1,f=d[e],d=d.slice(0,e),c.container.one("cycle-slide-added",function(a,b){setTimeout(function(){b.currSlide=1,b.API.advanceSlide(-1)},50)}),c.API.add(f,!0)))}),g&&(f.next=function(){var a=this.opts();if(d.length&&a.currSlide==a.slideCount-1){var b=d[0];d=d.slice(1),a.container.one("cycle-slide-added",function(a,b){g.apply(b.API),b.container.removeClass("cycle-loading")}),a.container.addClass("cycle-loading"),a.API.add(b)}else g.apply(a.API)}),h&&(f.prev=function(){var a=this.opts();if(d.length&&0===a.currSlide){var b=d.length-1,c=d[b];d=d.slice(0,b),a.container.one("cycle-slide-added",function(a,b){b.currSlide=1,b.API.advanceSlide(-1),b.container.removeClass("cycle-loading")}),a.container.addClass("cycle-loading"),a.API.add(c,!0)}else h.apply(a.API)})}})}(jQuery),/*! tmpl plugin for Cycle2; version: 20121227 */ 15function(a){"use strict";a.extend(a.fn.cycle.defaults,{tmplRegex:"{{((.)?.*?)}}"}),a.extend(a.fn.cycle.API,{tmpl:function(b,c){var d=new RegExp(c.tmplRegex||a.fn.cycle.defaults.tmplRegex,"g"),e=a.makeArray(arguments);return e.shift(),b.replace(d,function(b,c){var d,f,g,h,i=c.split(".");for(d=0;d<e.length;d++)if(g=e[d]){if(i.length>1)for(h=g,f=0;f<i.length;f++)g=h,h=h[i[f]]||c;else h=g[c];if(a.isFunction(h))return h.apply(g,e);if(void 0!==h&&null!==h&&h!=c)return h}return c})}})}(jQuery); 16; 17/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20141007 */ 18!function(a){"use strict";a(document).on("cycle-bootstrap",function(a,b,c){"carousel"===b.fx&&(c.getSlideIndex=function(a){var b=this.opts()._carouselWrap.children(),c=b.index(a);return c%b.length},c.next=function(){var a=b.reverse?-1:1;b.allowWrap===!1&&b.currSlide+a>b.slideCount-b.carouselVisible||(b.API.advanceSlide(a),b.API.trigger("cycle-next",[b]).log("cycle-next"))})}),a.fn.cycle.transitions.carousel={preInit:function(b){b.hideNonActive=!1,b.container.on("cycle-destroyed",a.proxy(this.onDestroy,b.API)),b.API.stopTransition=this.stopTransition;for(var c=0;c<b.startingSlide;c++)b.container.append(b.slides[0])},postInit:function(b){var c,d,e,f,g=b.carouselVertical;b.carouselVisible&&b.carouselVisible>b.slideCount&&(b.carouselVisible=b.slideCount-1);var h=b.carouselVisible||b.slides.length,i={display:g?"block":"inline-block",position:"static"};if(b.container.css({position:"relative",overflow:"hidden"}),b.slides.css(i),b._currSlide=b.currSlide,f=a('<div class="cycle-carou
18sel-wrap"></div>').prependTo(b.container).css({margin:0,padding:0,top:0,left:0,position:"absolute"}).append(b.slides),b._carouselWrap=f,g||f.css("white-space","nowrap"),b.allowWrap!==!1){for(d=0;d<(void 0===b.carouselVisible?2:1);d++){for(c=0;c<b.slideCount;c++)f.append(b.slides[c].cloneNode(!0));for(c=b.slideCount;c--;)f.prepend(b.slides[c].cloneNode(!0))}f.find(".cycle-slide-active").removeClass("cycle-slide-active"),b.slides.eq(b.startingSlide).addClass("cycle-slide-active")}b.pager&&b.allowWrap===!1&&(e=b.slideCount-h,a(b.pager).children().filter(":gt("+e+")").hide()),b._nextBoundry=b.slideCount-b.carouselVisible,this.prepareDimensions(b)},prepareDimensions:function(b){var c,d,e,f,g=b.carouselVertical,h=b.carouselVisible||b.slides.length;if(b.carouselFluid&&b.carouselVisible?b._carouselResizeThrottle||this.fluidSlides(b):b.carouselVisible&&b.carouselSlideDimension?(c=h*b.carouselSlideDimension,b.container[g?"height":"width"](c)):b.carouselVisible&&(c=h*a(b.slides[0])[g?"outerHeight":"outerWidth"](!0),b.container[g?"height":"width"](c)),d=b.carouselOffset||0,b.allowWrap!==!1)if(b.carouselSlideDimension)d-=(b.slideCount+b.currSlide)*b.carouselSlideDimension;else for(e=b._carouselWrap.children(),f=0;f<b.slideCount+b.currSlide;f++)d-=a(e[f])[g?"outerHeight":"outerWidth"](!0);b._carouselWrap.css(g?"top":"left",d)},fluidSlides:function(b){function c(){clearTimeout(e),e=setTimeout(d,20)}function d(){b._carouselWrap.stop(!1,!0);var a=b.container.width()/b.carouselVisible;a=Math.ceil(a-g),b._carouselWrap.children().width(a),b._sentinel&&b._sentinel.width(a),h(b)}var e,f=b.slides.eq(0),g=f.outerWidth()-f.width(),h=this.prepareDimensions;a(window).on("resize",c),b._carouselResizeThrottle=c,d()},transition:function(b,c,d,e,f){var g,h={},i=b.nextSlide-b.currSlide,j=b.carouselVertical,k=b.speed;if(b.allowWrap===!1){e=i>0;var l=b._currSlide,m=b.slideCount-b.carouselVisible;i>0&&b.nextSlide>m&&l==m?i=0:i>0&&b.nextSlide>m?i=b.nextSlide-l-(b.nextSlide-m):0>i&&b.currSlide>m&&b.nextSlide>m?i=0:0>i&&b.currSlide>m?i+=b.currSlide-m:l=b.currSlide,g=this.getScroll(b,j,l,i),b.API.opts()._currSlide=b.nextSlide>m?m:b.nextSlide}else e&&0===b.nextSlide?(g=this.getDim(b,b.currSlide,j),f=this.genCallback(b,e,j,f)):e||b.nextSlide!=b.slideCount-1?g=this.getScroll(b,j,b.currSlide,i):(g=this.getDim(b,b.currSlide,j),f=this.genCallback(b,e,j,f));h[j?"top":"left"]=e?"-="+g:"+="+g,b.throttleSpeed&&(k=g/a(b.slides[0])[j?"height":"width"]()*b.speed),b._carouselWrap.animate(h,k,b.easing,f)},getDim:function(b,c,d){var e=a(b.slides[c]);return e[d?"outerHeight":"outerWidth"](!0)},getScroll:function(a,b,c,d){var e,f=0;if(d>0)for(e=c;c+d>e;e++)f+=this.getDim(a,e,b);else for(e=c;e>c+d;e--)f+=this.getDim(a,e,b);return f},genCallback:function(b,c,d,e){return function(){var c=a(b.slides[b.nextSlide]).position(),f=0-c[d?"top":"left"]+(b.carouselOffset||0);b._carouselWrap.css(b.carouselVertical?"top":"left",f),e()}},stopTransition:function(){var a=this.opts();a.slides.stop(!1,!0),a._carouselWrap.stop(!1,!0)},onDestroy:function(){var b=this.opts();b._carouselResizeThrottle&&a(window).off("resize",b._carouselResizeThrottle),b.slides.prependTo(b.container),b._carouselWrap.remove()}}}(jQuery);; 19/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20141007 */ 20!function(a){"use strict";a.event.special.swipe=a.event.special.swipe||{scrollSupressionThreshold:10,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,setup:function(){var b=a(this);b.bind("touchstart",function(c){function d(b){if(g){var c=b.originalEvent.touches?b.originalEvent.touches[0]:b;e={time:(new Date).getTime(),coords:[c.pageX,c.pageY]},Math.abs(g.coords[0]-e.coords[0])>a.event.special.swipe.scrollSupressionThreshold&&b.preventDefault()}}var e,f=c.originalEvent.touches?c.originalEvent.touches[0]:c,g={time:(new Date).getTime(),coords:[f.pageX,f.pageY],origin:a(c.target)};b.bind("touchmove",d).one("touchend",function(){b.unbind("touchmove",d),g&&e&&e.time-g.time<a.event.special.swipe.durationThreshold&&Math.abs(g.coords[0]-e.coords[0])>a.event.special.swipe.horizontalDistanceThreshold&&Math.abs(g.coords[1]-e.coords[1])<a.event.special.swipe.verticalDistanceThreshold&&g.origin.trigger("swipe").trigger(g.coords[0]>
20e.coords[0]?"swipeleft":"swiperight"),g=e=void 0})})}},a.event.special.swipeleft=a.event.special.swipeleft||{setup:function(){a(this).bind("swipe",a.noop)}},a.event.special.swiperight=a.event.special.swiperight||a.event.special.swipeleft}(jQuery);; 21/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20141007 */ 22!function(a){"use strict";a.fn.cycle.transitions.tileSlide=a.fn.cycle.transitions.tileBlind={before:function(b,c,d,e){b.API.stackSlides(c,d,e),a(c).css({display:"block",visibility:"visible"}),b.container.css("overflow","hidden"),b.tileDelay=b.tileDelay||"tileSlide"==b.fx?100:125,b.tileCount=b.tileCount||7,b.tileVertical=b.tileVertical!==!1,b.container.data("cycleTileInitialized")||(b.container.on("cycle-destroyed",a.proxy(this.onDestroy,b.API)),b.container.data("cycleTileInitialized",!0))},transition:function(b,c,d,e,f){function g(a){m.eq(a).animate(t,{duration:b.speed,easing:b.easing,complete:function(){(e?p-1===a:0===a)&&b._tileAniCallback()}}),setTimeout(function(){(e?p-1!==a:0!==a)&&g(e?a+1:a-1)},b.tileDelay)}b.slides.not(c).not(d).css("visibility","hidden");var h,i,j,k,l,m=a(),n=a(c),o=a(d),p=b.tileCount,q=b.tileVertical,r=b.container.height(),s=b.container.width();q?(i=Math.floor(s/p),k=s-i*(p-1),j=l=r):(i=k=s,j=Math.floor(r/p),l=r-j*(p-1)),b.container.find(".cycle-tiles-container").remove();var t,u={left:0,top:0,overflow:"hidden",position:"absolute",margin:0,padding:0};t=q?"tileSlide"==b.fx?{top:r}:{width:0}:"tileSlide"==b.fx?{left:s}:{height:0};var v=a('<div class="cycle-tiles-container"></div>');v.css({zIndex:n.css("z-index"),overflow:"visible",position:"absolute",top:0,left:0,direction:"ltr"}),v.insertBefore(d);for(var w=0;p>w;w++)h=a("<div></div>").css(u).css({width:p-1===w?k:i,height:p-1===w?l:j,marginLeft:q?w*i:0,marginTop:q?0:w*j}).append(n.clone().css({position:"relative",maxWidth:"none",width:n.width(),margin:0,padding:0,marginLeft:q?-(w*i):0,marginTop:q?0:-(w*j)})),m=m.add(h);v.append(m),n.css("visibility","hidden"),o.css({opacity:1,display:"block",visibility:"visible"}),g(e?0:p-1),b._tileAniCallback=function(){o.css({display:"block",visibility:"visible"}),n.css("visibility","hidden"),v.remove(),f()}},stopTransition:function(a){a.container.find("*").stop(!0,!0),a._tileAniCallback&&a._tileAniCallback()},onDestroy:function(){var a=this.opts();a.container.find(".cycle-tiles-container").remove()}}}(jQuery);; 23/* Plugin for Cycle2; Copyright (c) 2012 M. Alsup; v20141007 */ 24!function(a){"use strict";function b(){try{this.playVideo()}catch(a){}}function c(){try{this.pauseVideo()}catch(a){}}var d='<div class=cycle-youtube><object width="640" height="360"><param name="movie" value="{{url}}"></param><param name="allowFullScreen" value="{{allowFullScreen}}"></param><param name="allowscriptaccess" value="always"></param><param name="wmode" value="opaque"></param><embed src="{{url}}" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="{{allowFullScreen}}" wmode="opaque"></embed></object></div>';a.extend(a.fn.cycle.defaults,{youtubeAllowFullScreen:!0,youtubeAutostart:!1,youtubeAutostop:!0}),a(document).on("cycle-bootstrap",function(e,f){f.youtube&&(f.hideNonActive=!1,f.container.find(f.slides).each(function(b){if(void 0!==a(this).attr("href")){var c,e=a(this),g=e.attr("href"),h=f.youtubeAllowFullScreen?"true":"false";g+=(/\?/.test(g)?"&":"?")+"enablejsapi=1",f.youtubeAutostart&&f.startingSlide===b&&(g+="&autoplay=1"),c=f.API.tmpl(d,{url:g,allowFullScreen:h}),e.replaceWith(c)}}),f.slides=f.slides.replace(/(\b>?a\b)/,"div.cycle-youtube"),f.youtubeAutostart&&f.container.on("cycle-initialized cycle-after",function(c,d){var e="cycle-initialized"==c.type?d.currSlide:d.nextSlide;a(d.slides[e]).find("object,embed").each(b)}),f.youtubeAutostop&&f.container.on("cycle-before",function(b,d){a(d.slides[d.currSlide]).find("object,embed").each(c)}))})}(jQuery);; 25(function(){var speed='fast';var slides_selector='.cycloneslider-template-dark .cycloneslider-slides';jQuery(document).on('cycle-before',slides_selector,function(event,optionHash,outgoingSlideEl,incomingSlideEl,forwardFlag){jQuery(this).find('.cycloneslider-caption-title').stop().fadeOut(0).end().find('.cycloneslider-caption-description').stop().fadeOut(0).end().find('.cycloneslider-caption-more').stop().fadeOut(0)});jQuery(document).on('cycle-initialized cycle-after',slides_selector,function(event,optionHash,outgoingSlideEl,incomingSlideEl,forwardFlag){var index=(event.type=='cycle-initialized')?optionHash.currSlide:optionHash.nextSlide;var slide=jQuery(optionHash.slides[index]);slide.find('.cycloneslider-caption-title').fadeIn(speed,function(){slide.find('.cycloneslider-caption-description').fadeIn(speed,function(){slide.find('.cycloneslider-caption-more').fadeIn(speed)})})})})(); 26(function(){var main='.cycloneslider-template-thumbnails';jQuery(document).on('cycle-initialized',main+' .cycloneslider-slides',function(event,optionHash){
26jQuery(this).parent().next().find('li').eq(optionHash.currSlide).addClass('current')});jQuery(document).on('cycle-before','.cycloneslider-template-thumbnails .cycloneslider-slides',function(event,optionHash,outgoingSlideEl,incomingSlideEl,forwardFlag){var i=optionHash.nextSlide;jQuery(this).parent().next().find('li').removeClass('current').eq(i).addClass('current')});jQuery(document).on('click','.cycloneslider-thumbnails li',function(){var i=jQuery(this).index();jQuery(this).parents('.cycloneslider-thumbnails').prev().find('.cycloneslider-slides').cycle('goto',i)})})(); 27/*! @vimeo/player v2.0.1 | (c) 2016 Vimeo | MIT License | https://github.com/vimeo/player.js */ 28(function(global,factory){typeof exports==='object'&&typeof module!=='undefined'?module.exports=factory():typeof define==='function'&&define.amd?define(factory):(global.Vimeo=global.Vimeo||{},global.Vimeo.Player=factory())}(this,(function(){'use strict';var arrayIndexOfSupport=typeof Array.prototype.indexOf!=='undefined';var postMessageSupport=typeof window.postMessage!=='undefined';if(!arrayIndexOfSupport||!postMessageSupport){throw new Error('Sorry, the Vimeo Player API is not available in this browser.')} 29var commonjsGlobal=typeof window!=='undefined'?window:typeof global!=='undefined'?global:typeof self!=='undefined'?self:{};function createCommonjsModule(fn,module){return module={exports:{}},fn(module,module.exports),module.exports} 30var index=createCommonjsModule(function(module,exports){(function(exports){'use strict';var i;var defineProperty=Object.defineProperty,is=function is(a,b){return a===b||a!==a&&b!==b};if(typeof WeakMap=='undefined'){exports.WeakMap=createCollection({'delete':sharedDelete,clear:sharedClear,get:sharedGet,has:mapHas,set:sharedSet},!0)} 31if(typeof Map=='undefined'||typeof new Map().values!=='function'||!new Map().values().next){exports.Map=createCollection({'delete':sharedDelete,has:mapHas,get:sharedGet,set:sharedSet,keys:sharedKeys,values:sharedValues,entries:mapEntries,forEach:sharedForEach,clear:sharedClear})} 32if(typeof Set=='undefined'||typeof new Set().values!=='function'||!new Set().values().next){exports.Set=createCollection({has:setHas,add:sharedAdd,'delete':sharedDelete,clear:sharedClear,keys:sharedValues,values:sharedValues,entries:setEntries,forEach:sharedForEach})} 33if(typeof WeakSet=='undefined'){exports.WeakSet=createCollection({'delete':sharedDelete,add:sharedAdd,clear:sharedClear,has:setHas},!0)} 34function createCollection(proto,objectOnly){function Collection(a){if(!this||this.constructor!==Collection)return new Collection(a);this._keys=[];this._values=[];this._itp=[];this.objectOnly=objectOnly;if(a)init.call(this,a);} 35if(!objectOnly){defineProperty(proto,'size',{get:sharedSize})} 36proto.constructor=Collection;Collection.prototype=proto;return Collection} 37function init(a){var i;if(this.add)a.forEach(this.add,this);else a.forEach(function(a){this.set(a[0],a[1])},this)} 38function sharedDelete(key){if(this.has(key)){this._keys.splice(i,1);this._values.splice(i,1);this._itp.forEach(function(p){if(i<p[0])p[0]--})} 39return-1<i} 40function sharedGet(key){return this.has(key)?this._values[i]:undefined} 41function has(list,key){if(this.objectOnly&&key!==Object(key))throw new TypeError("Invalid value used as weak collection key");if(key!=key||key===0)for(i=list.length;i--&&!is(list[i],key);){}else i=list.indexOf(key);return-1<i} 42function setHas(value){return has.call(this,this._values,value)} 43function mapHas(value){return has.call(this,this._keys,value)} 44function sharedSet(key,value){this.has(key)?this._values[i]=value:this._values[this._keys.push(key)-1]=value;return this} 45function sharedAdd(value){if(!this.has(value))this._values.push(value);return this} 46function sharedClear(){(this._keys||0).length=this._values.length=0} 47function sharedKeys(){return sharedIterator(this._itp,this._keys)} 48function sharedValues(){return sharedIterator(this._itp,this._values)} 49function mapEntries(){return sharedIterator(this._itp,this._keys,this._values)} 50function setEntries(){return sharedIterator(this._itp,this._values,this._values)} 51function sharedIterator(itp,array,array2){var p=[0],done=!1;itp.push(p);return{next:function next(){var v,k=p[0];if(!done&&k<array.length){v=array2?[array[k],array2[k]]:array[k];p[0]++}else{done=!0;
51itp.splice(itp.indexOf(p),1)} 52return{done:done,value:v}}}} 53function sharedSize(){return this._values.length} 54function sharedForEach(callback,context){var it=this.entries();for(;;){var r=it.next();if(r.done)break;callback.call(context,r.value[1],r.value[0],this)}}})(typeof exports!='undefined'&&typeof commonjsGlobal!='undefined'?commonjsGlobal:window)});var npo_src=createCommonjsModule(function(module){var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj}; 55/*! Native Promise Only 56 v0.8.1 (c) Kyle Simpson 57 MIT License: http://getify.mit-license.org 58*/ 59(function UMD(name,context,definition){context[name]=context[name]||definition();if(typeof module!="undefined"&&module.exports){module.exports=context[name]}else if(typeof define=="function"&&define.amd){define(function $AMD$(){return context[name]})}})("Promise",typeof commonjsGlobal!="undefined"?commonjsGlobal:commonjsGlobal,function DEF(){"use strict";var builtInProp,cycle,scheduling_queue,ToString=Object.prototype.toString,timer=typeof setImmediate!="undefined"?function timer(fn){return setImmediate(fn)}:setTimeout;try{Object.defineProperty({},"x",{});builtInProp=function builtInProp(obj,name,val,config){return Object.defineProperty(obj,name,{value:val,writable:!0,configurable:config!==!1})}}catch(err){builtInProp=function builtInProp(obj,name,val){obj[name]=val;return obj}} 60scheduling_queue=function Queue(){var first,last,item;function Item(fn,self){this.fn=fn;this.self=self;this.next=void 0} 61return{add:function add(fn,self){item=new Item(fn,self);if(last){last.next=item}else{first=item} 62last=item;item=void 0},drain:function drain(){var f=first;first=last=cycle=void 0;while(f){f.fn.call(f.self);f=f.next}}}}();function schedule(fn,self){scheduling_queue.add(fn,self);if(!cycle){cycle=timer(scheduling_queue.drain)}} 63function isThenable(o){var _then,o_type=typeof o==="undefined"?"undefined":_typeof(o);if(o!=null&&(o_type=="object"||o_type=="function")){_then=o.then} 64return typeof _then=="function"?_then:!1} 65function notify(){for(var i=0;i<this.chain.length;i++){notifyIsolated(this,this.state===1?this.chain[i].success:this.chain[i].failure,this.chain[i])} 66this.chain.length=0} 67function notifyIsolated(self,cb,chain){var ret,_then;try{if(cb===!1){chain.reject(self.msg)}else{if(cb===!0){ret=self.msg}else{ret=cb.call(void 0,self.msg)} 68if(ret===chain.promise){chain.reject(TypeError("Promise-chain cycle"))}else if(_then=isThenable(ret)){_then.call(ret,chain.resolve,chain.reject)}else{chain.resolve(ret)}}}catch(err){chain.reject(err)}} 69function resolve(msg){var _then,self=this;if(self.triggered){return} 70self.triggered=!0;if(self.def){self=self.def} 71try{if(_then=isThenable(msg)){schedule(function(){var def_wrapper=new MakeDefWrapper(self);try{_then.call(msg,function $resolve$(){resolve.apply(def_wrapper,arguments)},function $reject$(){reject.apply(def_wrapper,arguments)})}catch(err){reject.call(def_wrapper,err)}})}else{self.msg=msg;self.state=1;if(self.chain.length>0){schedule(notify,self)}}}catch(err){reject.call(new MakeDefWrapper(self),err)}} 72function reject(msg){var self=this;if(self.triggered){return} 73self.triggered=!0;if(self.def){self=self.def} 74self.msg=msg;self.state=2;if(self.chain.length>0){schedule(notify,self)}} 75function iteratePromises(Constructor,arr,resolver,rejecter){for(var idx=0;idx<arr.length;idx++){(function IIFE(idx){Constructor.resolve(arr[idx]).then(function $resolver$(msg){resolver(idx,msg)},rejecter)})(idx)}} 76function MakeDefWrapper(self){this.def=self;this.triggered=!1} 77function MakeDef(self){this.promise=self;this.state=0;this.triggered=!1;this.chain=[];this.msg=void 0} 78function Promise(executor){if(typeof executor!="function"){throw TypeError("Not a function")} 79if(this.__NPO__!==0){throw TypeError("Not a promise")} 80this.__NPO__=1;var def=new MakeDef(this);this["then"]=function then(success,failure){var o={success:typeof success=="function"?success:!0,failure:typeof failure=="function"?failure:!1};o.promise=new this.constructor(function extractChain(resolve,reject){if(typeof resolve!="function"||typeof reject!="function"){throw TypeError("Not a function")} 81o.resolve=resolve;o.reject=reject});def.chain.push(o);if(def.state!==0){schedule(notify,def)} 82return o.promise};this["catch"]=function $catch$(failure){return this.then(void 0,failure)};try{executor.call(void 0,function publicResolve(msg){resolve.call(def,msg)},function publicReject(msg){reject.call(def,msg)})}catch(err){reject.call(def,err)}} 83var PromisePrototype=builtInProp({},"constructor",Promise,!1);Promise.prototype=PromisePrototype;builtInProp(PromisePrototype,"__NPO__",0,!1);builtInProp(Promise,"resolve",function Promise$resolve(msg){var Constructor=this;if(msg&&(typeof msg==="undefined"?"undefined":_typeof(msg))=="object"&&msg.__NPO__===1){return msg} 84return new Constructor(function executor(resolve,reject){if(typeof resolve!="function"||typeof reject!="function"){throw TypeError("Not a function")} 85resolve(msg)})});builtInProp(Promise,"reject",function Promise$reject(msg){return new this(function executor(resolve,reject){if(typeof resolve!="function"||typeof reject!="function"){throw TypeError("Not a function")} 86reject(msg)})});
86builtInProp(Promise,"all",function Promise$all(arr){var Constructor=this;if(ToString.call(arr)!="[object Array]"){return Constructor.reject(TypeError("Not an array"))} 87if(arr.length===0){return Constructor.resolve([])} 88return new Constructor(function executor(resolve,reject){if(typeof resolve!="function"||typeof reject!="function"){throw TypeError("Not a function")} 89var len=arr.length,msgs=Array(len),count=0;iteratePromises(Constructor,arr,function resolver(idx,msg){msgs[idx]=msg;if(++count===len){resolve(msgs)}},reject)})});builtInProp(Promise,"race",function Promise$race(arr){var Constructor=this;if(ToString.call(arr)!="[object Array]"){return Constructor.reject(TypeError("Not an array"))} 90return new Constructor(function executor(resolve,reject){if(typeof resolve!="function"||typeof reject!="function"){throw TypeError("Not a function")} 91iteratePromises(Constructor,arr,function resolver(idx,msg){resolve(msg)},reject)})});return Promise})});var callbackMap=new WeakMap();function storeCallback(player,name,callback){var playerCallbacks=callbackMap.get(player.element)||{};if(!(name in playerCallbacks)){playerCallbacks[name]=[]} 92playerCallbacks[name].push(callback);callbackMap.set(player.element,playerCallbacks)} 93function getCallbacks(player,name){var playerCallbacks=callbackMap.get(player.element)||{};return playerCallbacks[name]||[]} 94function removeCallback(player,name,callback){var playerCallbacks=callbackMap.get(player.element)||{};if(!playerCallbacks[name]){return!0} 95if(!callback){playerCallbacks[name]=[];callbackMap.set(player.element,playerCallbacks);return!0} 96var index=playerCallbacks[name].indexOf(callback);if(index!==-1){playerCallbacks[name].splice(index,1)} 97callbackMap.set(player.element,playerCallbacks);return playerCallbacks[name]&&playerCallbacks[name].length===0} 98function shiftCallbacks(player,name){var playerCallbacks=getCallbacks(player,name);if(playerCallbacks.length<1){return!1} 99var callback=playerCallbacks.shift();removeCallback(player,name,callback);return callback} 100function swapCallbacks(oldElement,newElement){var playerCallbacks=callbackMap.get(oldElement);callbackMap.set(newElement,playerCallbacks);callbackMap.delete(oldElement)} 101function getMethodName(prop,type){if(prop.indexOf(type.toLowerCase())===0){return prop} 102return''+type.toLowerCase()+prop.substr(0,1).toUpperCase()+prop.substr(1)} 103function isDomElement(element){return element instanceof window.HTMLElement} 104function isInteger(value){return!isNaN(parseFloat(value))&&isFinite(value)&&Math.floor(value)==value} 105function isVimeoUrl(url){return(/^(https?:)?\/\/(player.)?vimeo.com(?=$|\/)/.test(url))} 106function getVimeoUrl(){var oEmbedParameters=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var id=oEmbedParameters.id;var url=oEmbedParameters.url;var idOrUrl=id||url;if(!idOrUrl){throw new Error('An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.')} 107if(isInteger(idOrUrl)){return'https://vimeo.com/'+idOrUrl} 108if(isVimeoUrl(idOrUrl)){return idOrUrl.replace('http:','https:')} 109if(id){throw new TypeError('\u201C'+id+'\u201D is not a valid video id.')} 110throw new TypeError('\u201C'+idOrUrl+'\u201D is not a vimeo.com url.')} 111var oEmbedParameters=['id','url','width','maxwidth','height','maxheight','portrait','title','byline','color','autoplay','autopause','loop','responsive'];function getOEmbedParameters(element){var defaults=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return oEmbedParameters.reduce(function(params,param){var value=element.getAttribute('data-vimeo-'+param);if(value||value===''){params[param]=value===''?1:value} 112return params},defaults)} 113function getOEmbedData(videoUrl){var params=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new Promise(function(resolve,reject){if(!isVimeoUrl(videoUrl)){throw new TypeError('\u201C'+videoUrl+'\u201D is not a vimeo.com url.')} 114var url='https://vimeo.com/api/oembed.json?url='+encodeURIComponent(videoUrl);for(var param in params){if(params.hasOwnProperty(param)){url+='&'+param+'='+encodeURIComponent(params[param])}} 115var xhr='XDomainRequest' in window?new XDomainRequest():new XMLHttpRequest();xhr.open('GET',url,!0);xhr.onload=function(){if(xhr.status===404){reject(new Error('\u201C'
115+videoUrl+'\u201D was not found.'));return} 116if(xhr.status===403){reject(new Error('\u201C'+videoUrl+'\u201D is not embeddable.'));return} 117try{var json=JSON.parse(xhr.responseText);resolve(json)}catch(error){reject(error)}};xhr.onerror=function(){var status=xhr.status?' ('+xhr.status+')':'';reject(new Error('There was an error fetching the embed code from Vimeo'+status+'.'))};xhr.send()})} 118function createEmbed(_ref,element){var html=_ref.html;if(!element){throw new TypeError('An element must be provided')} 119if(element.getAttribute('data-vimeo-initialized')!==null){return element.querySelector('iframe')} 120var div=document.createElement('div');div.innerHTML=html;element.appendChild(div.firstChild);element.setAttribute('data-vimeo-initialized','true');return element.querySelector('iframe')} 121function initializeEmbeds(){var parent=arguments.length>0&&arguments[0]!==undefined?arguments[0]:document;var elements=[].slice.call(parent.querySelectorAll('[data-vimeo-id], [data-vimeo-url]'));var handleError=function handleError(error){if('console' in window&&console.error){console.error('There was an error creating an embed: '+error)}};elements.forEach(function(element){try{if(element.getAttribute('data-vimeo-defer')!==null){return} 122var params=getOEmbedParameters(element);var url=getVimeoUrl(params);getOEmbedData(url,params).then(function(data){return createEmbed(data,element)}).catch(handleError)}catch(error){handleError(error)}})} 123function parseMessageData(data){if(typeof data==='string'){data=JSON.parse(data)} 124return data} 125function postMessage(player,method,params){if(!player.element.contentWindow.postMessage){return} 126var message={method:method};if(params!==undefined){message.value=params} 127var ieVersion=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,'$1'));if(ieVersion>=8&&ieVersion<10){message=JSON.stringify(message)} 128player.element.contentWindow.postMessage(message,player.origin)} 129function processData(player,data){data=parseMessageData(data);var callbacks=[];var param=void 0;if(data.event){if(data.event==='error'){var promises=getCallbacks(player,data.data.method);promises.forEach(function(promise){var error=new Error(data.data.message);error.name=data.data.name;promise.reject(error);removeCallback(player,data.data.method,promise)})} 130callbacks=getCallbacks(player,'event:'+data.event);param=data.data}else if(data.method){var callback=shiftCallbacks(player,data.method);if(callback){callbacks.push(callback);param=data.value}} 131callbacks.forEach(function(callback){try{if(typeof callback==='function'){callback.call(player,param);return} 132callback.resolve(param)}catch(e){}})} 133var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;if("value" in descriptor)descriptor.writable=!0;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}} 134var playerMap=new WeakMap();var readyMap=new WeakMap();var Player=function(){function Player(element){var _this=this;var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};_classCallCheck(this,Player);if(window.jQuery&&element instanceof jQuery){if(element.length>1&&window.console&&console.warn){console.warn('A jQuery object with multiple elements was passed, using the first element.')} 135element=element[0]} 136if(typeof element==='string'){element=document.getElementById(element)} 137if(!isDomElement(element)){throw new TypeError('You must pass either a valid element or a valid id.')} 138if(element.nodeName!=='IFRAME'){var iframe=element.querySelector('iframe');if(iframe){element=iframe}} 139if(element.nodeName==='IFRAME'&&!isVimeoUrl(element.getAttribute('src')||'')){throw new Error('The player element passed isnât a Vimeo embed.')} 140if(playerMap.has(element)){return playerMap.get(element)} 141this.element=element;this.origin='*';var readyPromise=new npo_src(function(resolve,reject){var onMessage=function onMessage(event){if(!isVimeoUrl(event.origin)||_this.element.contentWindow!==event.source){return} 142if(_this.origin==='*'){_this.origin=event.origin} 143var data=parseMessageData(event.data);var isReadyEvent='event' in data&&data.event==='ready';var isPingResponse='method' in data&&data.method==='ping';if(isReadyEvent||isPingResponse){_this.element.setAttribute('data-ready','true');resolve();return} 144processData(_this,data)};if(window.addEventListener){window.addEventListener('message',onMessage,!1)}else if(window.attachEvent){window.attachEvent('onmessage',onMessage)} 145if(_this.element.nodeName!=='IFRAME'){var params=getOEmbedParameters(element,options);var url=getVimeoUrl(params);getOEmbedData(url,params).then(function(data){var iframe=createEmbed(data,element);_this.element=iframe;swapCallbacks(element,iframe);return data}).catch(function(error){return reject(error)})}});readyMap.set(this,readyPromise);playerMap.set(this.element,this);if(this.element.nodeName==='IFRAME'){postMessage(this,'ping')} 146return this} 147_createClass(Player,[{key:'callMethod',value:function callMethod(name){var _this2=this;var args=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return new npo_src(function(resolve,reject){return _this2.ready().then(function(){storeCallback(_this2,
147name,{resolve:resolve,reject:reject});postMessage(_this2,name,args)})})}},{key:'get',value:function get(name){var _this3=this;return new npo_src(function(resolve,reject){name=getMethodName(name,'get');return _this3.ready().then(function(){storeCallback(_this3,name,{resolve:resolve,reject:reject});postMessage(_this3,name)})})}},{key:'set',value:function set(name,value){var _this4=this;return npo_src.resolve(value).then(function(val){name=getMethodName(name,'set');if(val===undefined||val===null){throw new TypeError('There must be a value to set.')} 148return _this4.ready().then(function(){return new npo_src(function(resolve,reject){storeCallback(_this4,name,{resolve:resolve,reject:reject});postMessage(_this4,name,val)})})})}},{key:'on',value:function on(eventName,callback){if(!eventName){throw new TypeError('You must pass an event name.')} 149if(!callback){throw new TypeError('You must pass a callback function.')} 150if(typeof callback!=='function'){throw new TypeError('The callback must be a function.')} 151var callbacks=getCallbacks(this,'event:'+eventName);if(callbacks.length===0){this.callMethod('addEventListener',eventName).catch(function(){})} 152storeCallback(this,'event:'+eventName,callback)}},{key:'off',value:function off(eventName,callback){if(!eventName){throw new TypeError('You must pass an event name.')} 153if(callback&&typeof callback!=='function'){throw new TypeError('The callback must be a function.')} 154var lastCallback=removeCallback(this,'event:'+eventName,callback);if(lastCallback){this.callMethod('removeEventListener',eventName).catch(function(e){})}}},{key:'loadVideo',value:function loadVideo(id){return this.callMethod('loadVideo',id)}},{key:'ready',value:function ready(){var readyPromise=readyMap.get(this);return npo_src.resolve(readyPromise)}},{key:'addCuePoint',value:function addCuePoint(time){var data=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return this.callMethod('addCuePoint',{time:time,data:data})}},{key:'removeCuePoint',value:function removeCuePoint(id){return this.callMethod('removeCuePoint',id)}},{key:'enableTextTrack',value:function enableTextTrack(language,kind){if(!language){throw new TypeError('You must pass a language.')} 155return this.callMethod('enableTextTrack',{language:language,kind:kind})}},{key:'disableTextTrack',value:function disableTextTrack(){return this.callMethod('disableTextTrack')}},{key:'pause',value:function pause(){return this.callMethod('pause')}},{key:'play',value:function play(){return this.callMethod('play')}},{key:'unload',value:function unload(){return this.callMethod('unload')}},{key:'getAutopause',value:function getAutopause(){return this.get('autopause')}},{key:'setAutopause',value:function setAutopause(autopause){return this.set('autopause',autopause)}},{key:'getColor',value:function getColor(){return this.get('color')}},{key:'setColor',value:function setColor(color){return this.set('color',color)}},{key:'getCuePoints',value:function getCuePoints(){return this.get('cuePoints')}},{key:'getCurrentTime',value:function getCurrentTime(){return this.get('currentTime')}},{key:'setCurrentTime',value:function setCurrentTime(currentTime){return this.set('currentTime',currentTime)}},{key:'getDuration',value:function getDuration(){return this.get('duration')}},{key:'getEnded',value:function getEnded(){return this.get('ended')}},{key:'getLoop',value:function getLoop(){return this.get('loop')}},{key:'setLoop',value:function setLoop(loop){return this.set('loop',loop)}},{key:'getPaused',value:function getPaused(){return this.get('paused')}},{key:'getTextTracks',value:function getTextTracks(){return this.get('textTracks')}},{key:'getVideoEmbedCode',value:function getVideoEmbedCode(){return this.get('videoEmbedCode')}},{key:'getVideoId',value:function getVideoId(){return this.get('videoId')}},{key:'getVideoTitle',value:function getVideoTitle(){return this.get('videoTitle')}},{key:'getVideoWidth',value:function getVideoWidth(){return this.get('videoWidth')}},{key:'getVideoHeight',value:function getVideoHeight(){return this.get('videoHeight')}},{key:'getVideoUrl',value:function getVideoUrl(){return this.get('videoUrl')}},{key:'getVolume',value:function getVolume(){return this.get('volume')}},{key:'setVolume',value:function setVolume(volume){return this.set('volume',volume)}}]);return Player}();initializeEmbeds();return Player}))); 156jQuery(document).ready(function($){(function(){try{$('.magnific-pop').magnificPopup({type:'image'})}catch(ignore){}}
156)()});(function(){var slides_selector='.cycloneslider-template-dark .cycloneslider-slides';slides_selector+=',.cycloneslider-template-default .cycloneslider-slides';slides_selector+=',.cycloneslider-template-standard .cycloneslider-slides';slides_selector+=',.cycloneslider-template-thumbnails .cycloneslider-slides';slides_selector+=',.cycloneslider-template-galleria .cycloneslider-slides';slides_selector+=',.cycloneslider-template-text .cycloneslider-slides';slides_selector+=',.cycloneslider-template-dos .cycloneslider-slides';jQuery(document).on('cycle-before',slides_selector,function(event,optionHash,outgoingSlideEl,incomingSlideEl,forwardFlag){var slide=jQuery(outgoingSlideEl),curHeight=0,nextHeight=0;if("on"==optionHash.dynamicHeight){curHeight=jQuery(outgoingSlideEl)[0].getBoundingClientRect().height;if(undefined==curHeight||0==curHeight){curHeight=jQuery(outgoingSlideEl).outerHeight()} 157nextHeight=jQuery(incomingSlideEl)[0].getBoundingClientRect().height;if(undefined==nextHeight||0==nextHeight){nextHeight=jQuery(incomingSlideEl).outerHeight()} 158if(nextHeight!=curHeight)jQuery(this).animate({height:nextHeight},optionHash.autoHeightSpeed,optionHash.autoHeightEasing)} 159if(slide.hasClass('cycloneslider-slide-youtube'))pauseYoutube(slide);
159if(slide.hasClass('cycloneslider-slide-vimeo'))pauseVimeo(slide);});jQuery(document).on('cycle-initialized cycle-after',slides_selector,function(event,optionHash,outgoingSlideEl,incomingSlideEl,forwardFlag){var index=(event.type=='cycle-initialized')?optionHash.currSlide:optionHash.nextSlide;var slide=jQuery(optionHash.slides[index]);if(!1==optionHash.hideNonActive)slide.css('zIndex',parseInt(slide.css('zIndex'))+20);});function pauseYoutube(slide){var data={"event":"command","func":"pauseVideo","args":[],"id":""} 160postMessage(slide.find('iframe'),data,'*')} 161function pauseVimeo(slide){postMessage(slide.find('iframe'),{method:'pause'},slide.find('iframe').attr('src'))} 162function postMessage(iframe,data,url){try{if(iframe[0]){iframe[0].contentWindow.postMessage(JSON.stringify(data),url)}}catch(ignore){}}})();
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.