function _fixed_menu(){var t=document.getElementById("top-bar"),e=$(t),i=e.next("header").innerHeight()-80;window.onscroll=function(){(window.pageYOffset||document.documentElement.scrollTop)>=i?e.addClass("fixed in"):e.hasClass("fixed")&&(e.removeClass("in").addClass("out"),setTimeout(function(){e.removeClass("fixed out")},100))}}function _main_menu(){var t=document.getElementById("top-bar"),e=document.getElementById("top-bar__navigation-toggler"),i=document.getElementById("top-bar__navigation"),n=$(t),o=$(e),r=$(i),s=r.find("li a"),a=r.find(".submenu"),l=0;a.length&&a.parents("li").addClass("has-children"),l=o.is(":visible")?70:80,s.on("touchend click",function(t){var e=$(this),i=e.parent();if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var r=$(this.hash);return r=r.length?r:$("[name="+this.hash.slice(1)+"]"),r.length&&$("html,body").stop().animate({scrollTop:r.offset().top-l},1e3),o.is(":visible")&&(n.removeClass("expanded"),o.removeClass("active")),!1}if(o.is(":visible")&&e.next(a).length)return e.next().is(":visible")?(i.removeClass("drop_active"),e.next().slideUp("fast")):(e.closest("ul").find("li").removeClass("drop_active"),e.closest("ul").find(".submenu").slideUp("fast"),i.addClass("drop_active"),e.next().slideDown("fast")),!1}),o.on("touchend click",function(t){t.preventDefault();var e=$(this);return e.toggleClass("active"),n.toggleClass("expanded"),!1}),$window.smartresize(function(){window.innerWidth>=767&&(n.removeClass("expanded"),o.removeClass("active"))})}function _owl_carousel(){var t=$(".feedbacks--slider");t.length>0&&t.children(".owl-carousel").owlCarousel({loop:!0,nav:!1,dots:!0,autoplay:!0,autoplayTimeout:6e3,autoplayHoverPause:!0,autoHeight:!0,smartSpeed:1e3,margin:30,navText:['',''],responsive:{0:{items:1},992:{items:1}}})}function _isotope_sorting(){var t=document.getElementById("gallery-set"),e=$(t);if(e.length>0){var i=$(".js-isotope"),n=e.find("a");n.on("click",function(t){var n=$(this),o=n.data("cat");return e.find(".selected").removeClass("selected"),n.addClass("selected"),"*"!==o&&(o="."+o),i.isotope({filter:o}),!1})}}function _chart(){function t(t){$(".js-chart",t).each(function(){$(this).easyPieChart({easing:"easeOutElastic",delay:3e3,barColor:"#369670",trackColor:"",scaleColor:!1,lineWidth:12,trackWidth:12,size:175,lineCap:"butt",onStep:function(t,e,i){this.el.children[0].innerHTML=Math.round(i)}})})}$(".skill__item").appear(function(){var e=$(this);setTimeout(function(){t(e)},200)})}function _count(){function t(t){$(".js-count",t).each(function(){$(this).hasClass("animate")||$(this).countTo({from:0,speed:2e3,refreshInterval:100,onComplete:function(){$(this).addClass("animate")}})})}$(".counter__item").appear(function(){var e=$(this);setTimeout(function(){t(e)},200)})}function _g_map(){var t=$(".g_map");t.length>0&&$.getScript("http://maps.google.com/maps/api/js?sensor=false",function(e,i,n){t.each(function(){var t=$(this),e=new google.maps.LatLng(t.attr("data-longitude"),t.attr("data-latitude")),i=t.attr("data-marker"),n={zoom:14,center:e,mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControl:!1,scrollwheel:!1,draggable:!0,panControl:!1,zoomControl:!1,disableDefaultUI:!0},o=[{featureType:"all",elementType:"all",stylers:[{saturation:-100}]}],r=new google.maps.Map(t[0],n),s=new google.maps.StyledMapType(o,{name:"Grayscale"});r.mapTypes.set("Grayscale",s),r.setMapTypeId("Grayscale");new google.maps.Marker({map:r,icon:{size:new google.maps.Size(40,56),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(20,56),url:i},position:e});google.maps.event.addDomListener(window,"resize",function(){var t=r.getCenter();google.maps.event.trigger(r,"resize"),r.setCenter(t)})})})}function _parallax(){device.desktop()&&($.stellar({scrollProperty:"scroll",verticalOffset:0,horizontalOffset:0,horizontalScrolling:!1}),$window.smartresize(function(){$.stellar("refresh")}))}function _scrollTop(){var t=document.getElementById("btn-to-top-wrap"),e=$(t);if(e.length>0){var i=document.getElementById("btn-to-top"),n=$(i);n.on("click",function(t){return t.preventDefault(),$("body,html").stop().animate({scrollTop:0},1500),!1}),$window.on("scroll",function(t){$window.scrollTop()>n.data("visible-offset")?e.is(":hidden")&&e.fadeIn():e.is(":visible")&&e.fadeOut()})}}function _gall(){var t=$("a[data-gallery]");t.length>0&&t.boxer({fixed:!0,videoWidth:1e3})}!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function i(t){var e=!!t&&"length"in t&&t.length,i=rt.type(t);return"function"!==i&&!rt.isWindow(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function n(t,e,i){if(rt.isFunction(e))return rt.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return rt.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(gt.test(e))return rt.filter(e,t,i);e=rt.filter(e,t)}return rt.grep(t,function(t){return J.call(e,t)>-1!==i})}function o(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function r(t){var e={};return rt.each(t.match(bt)||[],function(t,i){e[i]=!0}),e}function s(){Y.removeEventListener("DOMContentLoaded",s),t.removeEventListener("load",s),rt.ready()}function a(){this.expando=rt.expando+a.uid++}function l(t,e,i){var n;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(zt,"-$&").toLowerCase(),i=t.getAttribute(n),"string"==typeof i){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:St.test(i)?rt.parseJSON(i):i)}catch(t){}Et.set(t,e,i)}else i=void 0;return i}function u(t,e,i,n){var o,r=1,s=20,a=n?function(){return n.cur()}:function(){return rt.css(t,e,"")},l=a(),u=i&&i[3]||(rt.cssNumber[e]?"":"px"),h=(rt.cssNumber[e]||"px"!==u&&+l)&&Ht.exec(rt.css(t,e));if(h&&h[3]!==u){u=u||h[3],i=i||[],h=+l||1;do r=r||".5",h/=r,rt.style(t,e,h+u);while(r!==(r=a()/l)&&1!==r&&--s)}return i&&(h=+h||+l||0,o=i[1]?h+(i[1]+1)*i[2]:+i[2],n&&(n.unit=u,n.start=h,n.end=o)),o}function h(t,e){var i="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&rt.nodeName(t,e)?rt.merge([t],i):i}function c(t,e){for(var i=0,n=t.length;n>i;i++)$t.set(t[i],"globalEval",!e||$t.get(e[i],"globalEval"))}function d(t,e,i,n,o){for(var r,s,a,l,u,d,p=e.createDocumentFragment(),f=[],g=0,m=t.length;m>g;g++)if(r=t[g],r||0===r)if("object"===rt.type(r))rt.merge(f,r.nodeType?[r]:r);else if(At.test(r)){for(s=s||p.appendChild(e.createElement("div")),a=(jt.exec(r)||["",""])[1].toLowerCase(),l=Dt[a]||Dt._default,s.innerHTML=l[1]+rt.htmlPrefilter(r)+l[2],d=l[0];d--;)s=s.lastChild;rt.merge(f,s.childNodes),s=p.firstChild,s.textContent=""}else f.push(e.createTextNode(r));for(p.textContent="",g=0;r=f[g++];)if(n&&rt.inArray(r,n)>-1)o&&o.push(r);else if(u=rt.contains(r.ownerDocument,r),s=h(p.appendChild(r),"script"),u&&c(s),i)for(d=0;r=s[d++];)Ot.test(r.type||"")&&i.push(r);return p}function p(){return!0}function f(){return!1}function g(){try{return Y.activeElement}catch(t){}}function m(t,e,i,n,o,r){var s,a;if("object"==typeof e){"string"!=typeof i&&(n=n||i,i=void 0);for(a in e)m(t,a,i,n,e[a],r);return t}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),o===!1)o=f;else if(!o)return t;return 1===r&&(s=o,o=function(t){return rt().off(t),s.apply(this,arguments)},o.guid=s.guid||(s.guid=rt.guid++)),t.each(function(){rt.event.add(this,e,o,n,i)})}function v(t,e){return rt.nodeName(t,"table")&&rt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function y(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function x(t){var e=Bt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function w(t,e){var i,n,o,r,s,a,l,u;if(1===e.nodeType){if($t.hasData(t)&&(r=$t.access(t),s=$t.set(e,r),u=r.events)){delete s.handle,s.events={};for(o in u)for(i=0,n=u[o].length;n>i;i++)rt.event.add(e,o,u[o][i])}Et.hasData(t)&&(a=Et.access(t),l=rt.extend({},a),Et.set(e,l))}}function b(t,e){var i=e.nodeName.toLowerCase();"input"===i&&kt.test(t.type)?e.checked=t.checked:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}function _(t,e,i,n){e=Z.apply([],e);var o,r,s,a,l,u,c=0,p=t.length,f=p-1,g=e[0],m=rt.isFunction(g);if(m||p>1&&"string"==typeof g&&!nt.checkClone&&Ft.test(g))return t.each(function(o){var r=t.eq(o);m&&(e[0]=g.call(this,o,r.html())),_(r,e,i,n)});if(p&&(o=d(e,t[0].ownerDocument,!1,t,n),r=o.firstChild,1===o.childNodes.length&&(o=r),r||n)){for(s=rt.map(h(o,"script"),y),a=s.length;p>c;c++)l=o,c!==f&&(l=rt.clone(l,!0,!0),a&&rt.merge(s,h(l,"script"))),i.call(t[c],l,c);if(a)for(u=s[s.length-1].ownerDocument,rt.map(s,x),c=0;a>c;c++)l=s[c],Ot.test(l.type||"")&&!$t.access(l,"globalEval")&&rt.contains(u,l)&&(l.src?rt._evalUrl&&rt._evalUrl(l.src):rt.globalEval(l.textContent.replace(Vt,"")))}return t}function C(t,e,i){for(var n,o=e?rt.filter(e,t):t,r=0;null!=(n=o[r]);r++)i||1!==n.nodeType||rt.cleanData(h(n)),n.parentNode&&(i&&rt.contains(n.ownerDocument,n)&&c(h(n,"script")),n.parentNode.removeChild(n));return t}function T(t,e){var i=rt(e.createElement(t)).appendTo(e.body),n=rt.css(i[0],"display");return i.detach(),n}function $(t){var e=Y,i=Qt[t];return i||(i=T(t,e),"none"!==i&&i||(Ut=(Ut||rt("':"vimeo"===r.type?i='':"vzaar"===r.type&&(i=''),t('
'+i+"
").insertAfter(o.find(".owl-video")),this._playing=o.addClass("owl-video-playing"))},o.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},o.prototype.destroy=function(){var t,e;this._core.$element.off("click.owl.video");for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function(e){this.core=e,this.core.options=t.extend({},o.Defaults,this.core.options),this.swapping=!0,this.previous=n,this.next=n,this.handlers={"change.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":t.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};o.Defaults={animateOut:!1,animateIn:!1},o.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),o=this.core.$stage.children().eq(this.next),r=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(s)),r&&o.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(r))}},o.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},o.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function(e){this._core=e,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":t.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":t.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":t.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},o.Defaults,this._core.options)};o.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},o.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},o.prototype._getNextTimeout=function(n,o){return this._timeout&&e.clearTimeout(this._timeout),e.setTimeout(t.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||i.hidden||this._core.next(o||this._core.settings.autoplaySpeed)},this),n||this._core.settings.autoplayTimeout)},o.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},o.prototype.stop=function(){this._core.is("rotating")&&(e.clearTimeout(this._timeout),this._core.leave("rotating"))},o.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},o.prototype.destroy=function(){var t,e;this.stop();for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var o=function(e){this._core=e,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":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('
'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop()); },this),"remove.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=t.extend({},o.Defaults,this._core.options),this.$element.on(this._handlers)};o.Defaults={nav:!1,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,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},o.prototype.initialize=function(){var e,i=this._core.settings;this._controls.$relative=(i.navContainer?t(i.navContainer):t("
").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[t("
").addClass(i.dotClass).append(t("")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("
").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",t.proxy(function(e){var n=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(n,i.dotsSpeed)},this));for(e in this._overrides)this._core[e]=t.proxy(this[e],this)},o.prototype.destroy=function(){var t,e,i,n;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},o.prototype.update=function(){var t,e,i,n=this._core.clones().length/2,o=n+this._core.items().length,r=this._core.maximum(!0),s=this._core.settings,a=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],t=n,e=0,i=0;t=a||0===e){if(this._pages.push({start:Math.min(r,t-n),end:t-n+a-1}),Math.min(r,t-n)===r)break;e=0,++i}e+=this._core.mergers(this._core.relative(t))}},o.prototype.draw=function(){var e,i=this._core.settings,n=this._core.items().length<=i.items,o=this._core.relative(this._core.current()),r=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||n),i.nav&&(this._controls.$previous.toggleClass("disabled",!r&&o<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!r&&o>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||n),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},o.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},o.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t,i){return t.start<=e&&t.end>=e},this)).pop()},o.prototype.getPosition=function(e){var i,n,o=this._core.settings;return"page"==o.slideBy?(i=t.inArray(this.current(),this._pages),n=this._pages.length,e?++i:--i,i=this._pages[(i%n+n)%n].start):(i=this._core.relative(this._core.current()),n=this._core.items().length,e?i+=o.slideBy:i-=o.slideBy),i},o.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},o.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},o.prototype.to=function(e,i,n){var o;!n&&this._pages.length?(o=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%o+o)%o].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var o=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}},this),"changed.owl.carousel":t.proxy(function(i){if(i.namespace&&"position"===i.property.name){var n=this._core.items(this._core.relative(this._core.current())),o=t.map(this._hashes,function(t,e){return t===n?e:null}).join();if(!o||e.location.hash.slice(1)===o)return;e.location.hash=o}},this)},this._core.options=t.extend({},o.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(t){var i=e.location.hash.substring(1),o=this._core.$stage.children(),r=this._hashes[i]&&o.index(this._hashes[i]);r!==n&&r!==this._core.current()&&this._core.to(this._core.relative(r),!1,!0)},this))};o.Defaults={URLhashListener:!1},o.prototype.destroy=function(){var i,n;t(e).off("hashchange.owl.navigation");for(i in this._handlers)this._core.$element.off(i,this._handlers[i]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=o}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){function o(e,i){var o=!1,r=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+a.join(r+" ")+r).split(" "),function(t,e){if(s[e]!==n)return o=!i||e,!1}),o}function r(t){return o(t,!0)}var s=t("").get(0).style,a="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},u={csstransforms:function(){return!!o("transform")},csstransforms3d:function(){return!!o("perspective")},csstransitions:function(){return!!o("transition")},cssanimations:function(){return!!o("animation")}};u.csstransitions()&&(t.support.transition=new String(r("transition")),t.support.transition.end=l.transition.end[t.support.transition]),u.cssanimations()&&(t.support.animation=new String(r("animation")),t.support.animation.end=l.animation.end[t.support.animation]),u.csstransforms()&&(t.support.transform=new String(r("transform")),t.support.transform3d=u.csstransforms3d())}(window.Zepto||window.jQuery,window,document),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){function e(t,e){return t.toFixed(e.decimals)}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,this.dataOptions(),n),this.init()};i.DEFAULTS={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:e,onUpdate:null,onComplete:null},i.prototype.init=function(){this.value=this.options.from,this.loops=Math.ceil(this.options.speed/this.options.refreshInterval),this.loopCount=0,this.increment=(this.options.to-this.options.from)/this.loops},i.prototype.dataOptions=function(){var t={from:this.$element.data("from"),to:this.$element.data("to"),speed:this.$element.data("speed"),refreshInterval:this.$element.data("refresh-interval"),decimals:this.$element.data("decimals")},e=Object.keys(t);for(var i in e){var n=e[i];"undefined"==typeof t[n]&&delete t[n]}return t},i.prototype.update=function(){this.value+=this.increment,this.loopCount++,this.render(),"function"==typeof this.options.onUpdate&&this.options.onUpdate.call(this.$element,this.value),this.loopCount>=this.loops&&(clearInterval(this.interval),this.value=this.options.to,"function"==typeof this.options.onComplete&&this.options.onComplete.call(this.$element,this.value))},i.prototype.render=function(){var t=this.options.formatter.call(this.$element,this.value,this.options);this.$element.text(t)},i.prototype.restart=function(){this.stop(),this.init(),this.start()},i.prototype.start=function(){this.stop(),this.render(),this.interval=setInterval(this.update.bind(this),this.options.refreshInterval)},i.prototype.stop=function(){this.interval&&clearInterval(this.interval)},i.prototype.toggle=function(){this.interval?this.stop():this.start()},t.fn.countTo=function(e){return this.each(function(){var n=t(this),o=n.data("countTo"),r=!o||"object"==typeof e,s="object"==typeof e?e:{},a="string"==typeof e?e:"start";r&&(o&&o.stop(),n.data("countTo",o=new i(this,s))),o[a].call(o)})}}),!function(t){t.fn.disappear=function(e,i){var n=t.extend({data:void 0},i);this.each(function(){var i=t(this);return i.bind("disappear",e,n.data),e?void 0:void i.trigger("disappear",n.data)})},t.fn.appear=function(e,i){var n=t.extend({data:void 0,one:!0},i);return this.each(function(){var i=t(this);if(i.appeared=!1,!e)return void i.trigger("appear",n.data);var o=t(window),r=function(){if(!i.is(":visible"))return void(i.appeared=!1);var t=o.scrollLeft(),e=o.scrollTop(),r=i.offset(),s=r.left,a=r.top;a+i.height()>=e&&a<=e+o.height()&&s+i.width()>=t&&s<=t+o.width()?i.appeared||i.trigger("appear",n.data):(i.appeared&&i.trigger("disappear",n.data),i.appeared=!1)},s=function(){if(i.appeared=!0,n.one){o.unbind("scroll",r);var s=t.inArray(r,t.fn.appear.checks);s>=0&&t.fn.appear.checks.splice(s,1)}e.apply(this,arguments)};n.one?i.one("appear",n.data,s):i.bind("appear",n.data,s),o.scroll(r),t.fn.appear.checks.push(r),r()})},t.extend(t.fn.appear,{checks:[],timeout:null,checkAll:function(){var e=t.fn.appear.checks.length;if(e>0)for(;e--;)t.fn.appear.checks[e]()},run:function(){t.fn.appear.timeout&&clearTimeout(t.fn.appear.timeout),t.fn.appear.timeout=setTimeout(t.fn.appear.checkAll,20)}}),t.each(["append","prepend","after","before","attr","removeAttr","addClass","removeClass","toggleClass","remove","css","show","hide"],function(e,i){var n=t.fn[i];n&&(t.fn[i]=function(){var e=n.apply(this,arguments);return t.fn.appear.run(),e})})}(jQuery),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(this,function(t){var e=function(t,e){var i,n=document.createElement("canvas");t.appendChild(n),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(n);var o=n.getContext("2d");n.width=n.height=e.size;var r=1;window.devicePixelRatio>1&&(r=window.devicePixelRatio,n.style.width=n.style.height=[e.size,"px"].join(""),n.width=n.height=e.size*r,o.scale(r,r)),o.translate(e.size/2,e.size/2),o.rotate((-.5+e.rotate/180)*Math.PI);var s=(e.size-e.lineWidth)/2;e.scaleColor&&e.scaleLength&&(s-=e.scaleLength+2),Date.now=Date.now||function(){return+new Date};var a=function(t,e,i){i=Math.min(Math.max(-1,i||0),1);var n=i<=0;o.beginPath(),o.arc(0,0,s,0,2*Math.PI*i,n),o.strokeStyle=t,o.lineWidth=e,o.stroke()},l=function(){var t,i;o.lineWidth=1,o.fillStyle=e.scaleColor,o.save();for(var n=24;n>0;--n)n%6===0?(i=e.scaleLength,t=0):(i=.6*e.scaleLength,t=e.scaleLength-i),o.fillRect(-e.size/2+t,0,i,1),o.rotate(Math.PI/12);o.restore()},u=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}(),h=function(){e.scaleColor&&l(),e.trackColor&&a(e.trackColor,e.trackWidth||e.lineWidth,1)};this.getCanvas=function(){return n},this.getCtx=function(){return o},this.clear=function(){o.clearRect(e.size/-2,e.size/-2,e.size,e.size)},this.draw=function(t){e.scaleColor||e.trackColor?o.getImageData&&o.putImageData?i?o.putImageData(i,0,0):(h(),i=o.getImageData(0,0,e.size*r,e.size*r)):(this.clear(),h()):this.clear(),o.lineCap=e.lineCap;var n;n="function"==typeof e.barColor?e.barColor(t):e.barColor,a(n,e.lineWidth,t/100)}.bind(this),this.animate=function(t,i){var n=Date.now();e.onStart(t,i);var o=function(){var r=Math.min(Date.now()-n,e.animate.duration),s=e.easing(this,r,t,i-t,e.animate.duration);this.draw(s),e.onStep(t,i,s),r>=e.animate.duration?e.onStop(t,i):u(o)}.bind(this);u(o)}.bind(this)},i=function(t,i){var n={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(t,e,i,n,o){return e/=o/2,e<1?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},onStart:function(t,e){},onStep:function(t,e,i){},onStop:function(t,e){}};if("undefined"!=typeof e)n.renderer=e;else{if("undefined"==typeof SVGRenderer)throw new Error("Please load either the SVG- or the CanvasRenderer");n.renderer=SVGRenderer}var o={},r=0,s=function(){this.el=t,this.options=o;for(var e in n)n.hasOwnProperty(e)&&(o[e]=i&&"undefined"!=typeof i[e]?i[e]:n[e],"function"==typeof o[e]&&(o[e]=o[e].bind(this)));"string"==typeof o.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[o.easing])?o.easing=jQuery.easing[o.easing]:o.easing=n.easing,"number"==typeof o.animate&&(o.animate={duration:o.animate,enabled:!0}),"boolean"!=typeof o.animate||o.animate||(o.animate={duration:1e3,enabled:o.animate}),this.renderer=new o.renderer(t,o),this.renderer.draw(r),t.dataset&&t.dataset.percent?this.update(parseFloat(t.dataset.percent)):t.getAttribute&&t.getAttribute("data-percent")&&this.update(parseFloat(t.getAttribute("data-percent")))}.bind(this);this.update=function(t){return t=parseFloat(t),o.animate.enabled?this.renderer.animate(r,t):this.renderer.draw(t),r=t,this}.bind(this),this.disableAnimation=function(){return o.animate.enabled=!1,this},this.enableAnimation=function(){return o.animate.enabled=!0,this},s()};t.fn.easyPieChart=function(e){return this.each(function(){var n;t.data(this,"easyPieChart")||(n=t.extend({},e,t(this).data()),t.data(this,"easyPieChart",new i(this,n)))})}}),!function(t,e,i,n){function o(e,i){this.element=e,this.options=t.extend({},s,i),this._defaults=s,this._name=r,this.init()}var r="stellar",s={scrollProperty:"scroll",positionProperty:"position",horizontalScrolling:!0,verticalScrolling:!0,horizontalOffset:0,verticalOffset:0,responsive:!1,parallaxBackgrounds:!0,parallaxElements:!0,hideDistantElements:!0,hideElement:function(t){t.hide()},showElement:function(t){t.show()}},a={scroll:{getLeft:function(t){return t.scrollLeft()},setLeft:function(t,e){t.scrollLeft(e)},getTop:function(t){return t.scrollTop()},setTop:function(t,e){t.scrollTop(e)}},position:{getLeft:function(t){return-1*parseInt(t.css("left"),10)},getTop:function(t){return-1*parseInt(t.css("top"),10)}},margin:{getLeft:function(t){return-1*parseInt(t.css("margin-left"),10)},getTop:function(t){return-1*parseInt(t.css("margin-top"),10)}},transform:{getLeft:function(t){var e=getComputedStyle(t[0])[h];return"none"!==e?-1*parseInt(e.match(/(-?[0-9]+)/g)[4],10):0},getTop:function(t){var e=getComputedStyle(t[0])[h];return"none"!==e?-1*parseInt(e.match(/(-?[0-9]+)/g)[5],10):0}}},l={position:{setLeft:function(t,e){t.css("left",e)},setTop:function(t,e){t.css("top",e)}},transform:{setPosition:function(t,e,i,n,o){t[0].style[h]="translate3d("+(e-i)+"px, "+(n-o)+"px, 0)"}}},u=function(){var e,i=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/,n=t("script")[0].style,o="";for(e in n)if(i.test(e)){o=e.match(i)[0];break}return"WebkitOpacity"in n&&(o="Webkit"),"KhtmlOpacity"in n&&(o="Khtml"),function(t){return o+(o.length>0?t.charAt(0).toUpperCase()+t.slice(1):t)}}(),h=u("transform"),c=t("
",{style:"background:#fff"}).css("background-position-x")!==n,d=c?function(t,e,i){t.css({"background-position-x":e,"background-position-y":i})}:function(t,e,i){t.css("background-position",e+" "+i)},p=c?function(t){return[t.css("background-position-x"),t.css("background-position-y")]}:function(t){return t.css("background-position").split(" ")},f=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t){setTimeout(t,1e3/60)};o.prototype={init:function(){this.options.name=r+"_"+Math.floor(1e9*Math.random()),this._defineElements(),this._defineGetters(),this._defineSetters(),this._handleWindowLoadAndResize(),this._detectViewport(),this.refresh({firstLoad:!0}),"scroll"===this.options.scrollProperty?this._handleScrollEvent():this._startAnimationLoop()},_defineElements:function(){this.element===i.body&&(this.element=e),this.$scrollElement=t(this.element),this.$element=this.element===e?t("body"):this.$scrollElement,this.$viewportElement=this.options.viewportElement!==n?t(this.options.viewportElement):this.$scrollElement[0]===e||"scroll"===this.options.scrollProperty?this.$scrollElement:this.$scrollElement.parent()},_defineGetters:function(){var t=this,e=a[t.options.scrollProperty];this._getScrollLeft=function(){return e.getLeft(t.$scrollElement)},this._getScrollTop=function(){return e.getTop(t.$scrollElement)}},_defineSetters:function(){var e=this,i=a[e.options.scrollProperty],n=l[e.options.positionProperty],o=i.setLeft,r=i.setTop;this._setScrollLeft="function"==typeof o?function(t){o(e.$scrollElement,t)}:t.noop,this._setScrollTop="function"==typeof r?function(t){r(e.$scrollElement,t)}:t.noop,this._setPosition=n.setPosition||function(t,i,o,r,s){e.options.horizontalScrolling&&n.setLeft(t,i,o),e.options.verticalScrolling&&n.setTop(t,r,s)}},_handleWindowLoadAndResize:function(){var i=this,n=t(e);i.options.responsive&&n.bind("load."+this.name,function(){i.refresh()}),n.bind("resize."+this.name,function(){i._detectViewport(),i.options.responsive&&i.refresh()})},refresh:function(i){var n=this,o=n._getScrollLeft(),r=n._getScrollTop();i&&i.firstLoad||this._reset(),this._setScrollLeft(0),this._setScrollTop(0),this._setOffsets(),this._findParticles(),this._findBackgrounds(),i&&i.firstLoad&&/WebKit/.test(navigator.userAgent)&&t(e).load(function(){var t=n._getScrollLeft(),e=n._getScrollTop();n._setScrollLeft(t+1),n._setScrollTop(e+1),n._setScrollLeft(t),n._setScrollTop(e)}),this._setScrollLeft(o),this._setScrollTop(r)},_detectViewport:function(){var t=this.$viewportElement.offset(),e=null!==t&&t!==n;this.viewportWidth=this.$viewportElement.width(),this.viewportHeight=this.$viewportElement.height(),this.viewportOffsetTop=e?t.top:0,this.viewportOffsetLeft=e?t.left:0},_findParticles:function(){var e=this;if(this._getScrollLeft(),this._getScrollTop(),this.particles!==n)for(var i=this.particles.length-1;i>=0;i--)this.particles[i].$element.data("stellar-elementIsActive",n);this.particles=[],this.options.parallaxElements&&this.$element.find("[data-stellar-ratio]").each(function(){var i,o,r,s,a,l,u,h,c,d=t(this),p=0,f=0,g=0,m=0;if(d.data("stellar-elementIsActive")){if(d.data("stellar-elementIsActive")!==this)return}else d.data("stellar-elementIsActive",this);e.options.showElement(d),d.data("stellar-startingLeft")?(d.css("left",d.data("stellar-startingLeft")),d.css("top",d.data("stellar-startingTop"))):(d.data("stellar-startingLeft",d.css("left")),d.data("stellar-startingTop",d.css("top"))),r=d.position().left,s=d.position().top,a="auto"===d.css("margin-left")?0:parseInt(d.css("margin-left"),10),l="auto"===d.css("margin-top")?0:parseInt(d.css("margin-top"),10),h=d.offset().left-a,c=d.offset().top-l,d.parents().each(function(){var e=t(this);return e.data("stellar-offset-parent")===!0?(p=g,f=m,u=e,!1):(g+=e.position().left,void(m+=e.position().top))}),i=d.data("stellar-horizontal-offset")!==n?d.data("stellar-horizontal-offset"):u!==n&&u.data("stellar-horizontal-offset")!==n?u.data("stellar-horizontal-offset"):e.horizontalOffset,o=d.data("stellar-vertical-offset")!==n?d.data("stellar-vertical-offset"):u!==n&&u.data("stellar-vertical-offset")!==n?u.data("stellar-vertical-offset"):e.verticalOffset,e.particles.push({$element:d,$offsetParent:u,isFixed:"fixed"===d.css("position"),horizontalOffset:i,verticalOffset:o,startingPositionLeft:r,startingPositionTop:s,startingOffsetLeft:h,startingOffsetTop:c,parentOffsetLeft:p,parentOffsetTop:f,stellarRatio:d.data("stellar-ratio")!==n?d.data("stellar-ratio"):1,width:d.outerWidth(!0),height:d.outerHeight(!0),isHidden:!1})})},_findBackgrounds:function(){var e,i=this,o=this._getScrollLeft(),r=this._getScrollTop();this.backgrounds=[],this.options.parallaxBackgrounds&&(e=this.$element.find("[data-stellar-background-ratio]"),this.$element.data("stellar-background-ratio")&&(e=e.add(this.$element)),e.each(function(){var e,s,a,l,u,h,c,f=t(this),g=p(f),m=0,v=0,y=0,x=0;if(f.data("stellar-backgroundIsActive")){if(f.data("stellar-backgroundIsActive")!==this)return}else f.data("stellar-backgroundIsActive",this);f.data("stellar-backgroundStartingLeft")?d(f,f.data("stellar-backgroundStartingLeft"),f.data("stellar-backgroundStartingTop")):(f.data("stellar-backgroundStartingLeft",g[0]),f.data("stellar-backgroundStartingTop",g[1])),a="auto"===f.css("margin-left")?0:parseInt(f.css("margin-left"),10),l="auto"===f.css("margin-top")?0:parseInt(f.css("margin-top"),10),u=f.offset().left-a-o,h=f.offset().top-l-r,f.parents().each(function(){var e=t(this);return e.data("stellar-offset-parent")===!0?(m=y,v=x,c=e,!1):(y+=e.position().left,void(x+=e.position().top))}),e=f.data("stellar-horizontal-offset")!==n?f.data("stellar-horizontal-offset"):c!==n&&c.data("stellar-horizontal-offset")!==n?c.data("stellar-horizontal-offset"):i.horizontalOffset,s=f.data("stellar-vertical-offset")!==n?f.data("stellar-vertical-offset"):c!==n&&c.data("stellar-vertical-offset")!==n?c.data("stellar-vertical-offset"):i.verticalOffset,i.backgrounds.push({$element:f,$offsetParent:c,isFixed:"fixed"===f.css("background-attachment"),horizontalOffset:e,verticalOffset:s,startingValueLeft:g[0],startingValueTop:g[1],startingBackgroundPositionLeft:isNaN(parseInt(g[0],10))?0:parseInt(g[0],10),startingBackgroundPositionTop:isNaN(parseInt(g[1],10))?0:parseInt(g[1],10),startingPositionLeft:f.position().left,startingPositionTop:f.position().top,startingOffsetLeft:u,startingOffsetTop:h,parentOffsetLeft:m,parentOffsetTop:v,stellarRatio:f.data("stellar-background-ratio")===n?1:f.data("stellar-background-ratio")})}))},_reset:function(){var t,e,i,n,o;for(o=this.particles.length-1;o>=0;o--)t=this.particles[o],e=t.$element.data("stellar-startingLeft"),i=t.$element.data("stellar-startingTop"),this._setPosition(t.$element,e,e,i,i),this.options.showElement(t.$element),t.$element.data("stellar-startingLeft",null).data("stellar-elementIsActive",null).data("stellar-backgroundIsActive",null);for(o=this.backgrounds.length-1;o>=0;o--)n=this.backgrounds[o],n.$element.data("stellar-backgroundStartingLeft",null).data("stellar-backgroundStartingTop",null),d(n.$element,n.startingValueLeft,n.startingValueTop)},destroy:function(){this._reset(),this.$scrollElement.unbind("resize."+this.name).unbind("scroll."+this.name),this._animationLoop=t.noop,t(e).unbind("load."+this.name).unbind("resize."+this.name)},_setOffsets:function(){var i=this,n=t(e);n.unbind("resize.horizontal-"+this.name).unbind("resize.vertical-"+this.name),"function"==typeof this.options.horizontalOffset?(this.horizontalOffset=this.options.horizontalOffset(),n.bind("resize.horizontal-"+this.name,function(){i.horizontalOffset=i.options.horizontalOffset()})):this.horizontalOffset=this.options.horizontalOffset,"function"==typeof this.options.verticalOffset?(this.verticalOffset=this.options.verticalOffset(),n.bind("resize.vertical-"+this.name,function(){i.verticalOffset=i.options.verticalOffset()})):this.verticalOffset=this.options.verticalOffset},_repositionElements:function(){var t,e,i,n,o,r,s,a,l,u,h=this._getScrollLeft(),c=this._getScrollTop(),p=!0,f=!0;if(this.currentScrollLeft!==h||this.currentScrollTop!==c||this.currentWidth!==this.viewportWidth||this.currentHeight!==this.viewportHeight){for(this.currentScrollLeft=h,this.currentScrollTop=c,this.currentWidth=this.viewportWidth,this.currentHeight=this.viewportHeight,u=this.particles.length-1;u>=0;u--)t=this.particles[u],e=t.isFixed?1:0,this.options.horizontalScrolling?(r=(h+t.horizontalOffset+this.viewportOffsetLeft+t.startingPositionLeft-t.startingOffsetLeft+t.parentOffsetLeft)*-(t.stellarRatio+e-1)+t.startingPositionLeft,a=r-t.startingPositionLeft+t.startingOffsetLeft):(r=t.startingPositionLeft,a=t.startingOffsetLeft),this.options.verticalScrolling?(s=(c+t.verticalOffset+this.viewportOffsetTop+t.startingPositionTop-t.startingOffsetTop+t.parentOffsetTop)*-(t.stellarRatio+e-1)+t.startingPositionTop,l=s-t.startingPositionTop+t.startingOffsetTop):(s=t.startingPositionTop,l=t.startingOffsetTop),this.options.hideDistantElements&&(f=!this.options.horizontalScrolling||a+t.width>(t.isFixed?0:h)&&a<(t.isFixed?0:h)+this.viewportWidth+this.viewportOffsetLeft,p=!this.options.verticalScrolling||l+t.height>(t.isFixed?0:c)&&l<(t.isFixed?0:c)+this.viewportHeight+this.viewportOffsetTop),f&&p?(t.isHidden&&(this.options.showElement(t.$element),t.isHidden=!1),this._setPosition(t.$element,r,t.startingPositionLeft,s,t.startingPositionTop)):t.isHidden||(this.options.hideElement(t.$element),t.isHidden=!0);for(u=this.backgrounds.length-1;u>=0;u--)i=this.backgrounds[u],e=i.isFixed?0:1,n=this.options.horizontalScrolling?(h+i.horizontalOffset-this.viewportOffsetLeft-i.startingOffsetLeft+i.parentOffsetLeft-i.startingBackgroundPositionLeft)*(e-i.stellarRatio)+"px":i.startingValueLeft,o=this.options.verticalScrolling?(c+i.verticalOffset-this.viewportOffsetTop-i.startingOffsetTop+i.parentOffsetTop-i.startingBackgroundPositionTop)*(e-i.stellarRatio)+"px":i.startingValueTop,d(i.$element,n,o)}},_handleScrollEvent:function(){var t=this,e=!1,i=function(){t._repositionElements(),e=!1},n=function(){e||(f(i),e=!0)};this.$scrollElement.bind("scroll."+this.name,n),n()},_startAnimationLoop:function(){var t=this;this._animationLoop=function(){f(t._animationLoop),t._repositionElements()},this._animationLoop()}},t.fn[r]=function(e){var i=arguments;return e===n||"object"==typeof e?this.each(function(){t.data(this,"plugin_"+r)||t.data(this,"plugin_"+r,new o(this,e))}):"string"==typeof e&&"_"!==e[0]&&"init"!==e?this.each(function(){var n=t.data(this,"plugin_"+r);n instanceof o&&"function"==typeof n[e]&&n[e].apply(n,Array.prototype.slice.call(i,1)),"destroy"===e&&t.data(this,"plugin_"+r,null)}):void 0},t[r]=function(){var i=t(e);return i.stellar.apply(i,Array.prototype.slice.call(arguments,0))},t[r].scrollProperty=a,t[r].positionProperty=l,e.Stellar=o}(jQuery,this,document),!function(t,e){"use strict";function i(e){return A.formatter=u,j=t("body"),W=L(),k=W!==!1,k||(W="transitionend.boxer"),t(this).on("click.boxer",t.extend({},A,e||{}),n)}function n(i){if("undefined"==typeof O.$boxer){var n=t(this),r=i.data.$object,s=n[0].href?n[0].href||"":"",l=n[0].hash?n[0].hash||"":"",u=s.toLowerCase().split(".").pop().split(/\#|\?/),c=u[0],d=n.data("boxer-type")||"",f="image"===d||t.inArray(c,i.data.extensions)>-1||"data:image"===s.substr(0,10),g=s.indexOf("youtube.com/embed")>-1||s.indexOf("player.vimeo.com/video")>-1,_="url"===d||!f&&!g&&"http"===s.substr(0,4)&&!l,C="element"===d||!f&&!g&&!_&&"#"===l.substr(0,1),T="undefined"!=typeof r;if(C&&(s=l),t("#boxer").length>1||!(f||g||_||C||T))return;if(z(i),O=t.extend({},{$window:t(e),$body:t("body"),$target:n,$object:r,visible:!1,resizeTimer:null,touchTimer:null,gallery:{active:!1},isMobile:D||i.data.mobile,isAnimating:!0,oldContentHeight:0,oldContentWidth:0},i.data),O.margin*=2,O.type=f?"image":g?"video":"element",f||g){var $=O.$target.data("gallery")||O.$target.attr("rel");"undefined"!=typeof $&&$!==!1&&(O.gallery.active=!0,O.gallery.id=$,O.gallery.$items=t("a[data-gallery= "+O.gallery.id+"], a[rel= "+O.gallery.id+"]"),O.gallery.index=O.gallery.$items.index(O.$target),O.gallery.total=O.gallery.$items.length-1)}var E="";if(O.isMobile||(E+='
'),E+='
",E+='',E+='
',E+='
',(f||g)&&(E+='
',O.gallery.active?(E+='",E+='",E+='

"+O.labels.count+' '+(O.gallery.total+1)+"",E+="

",E+='"),E+="
",O.$body.append(E),O.$overlay=t("#boxer-overlay"),O.$boxer=t("#boxer"),O.$container=O.$boxer.find(".boxer-container"),O.$content=O.$boxer.find(".boxer-content"),O.$meta=O.$boxer.find(".boxer-meta"),O.$position=O.$boxer.find(".boxer-position"),O.$caption=O.$boxer.find(".boxer-caption"),O.$controls=O.$boxer.find(".boxer-control"),O.paddingVertical=O.isMobile?O.$boxer.find(".boxer-close").outerHeight()/2:parseInt(O.$boxer.css("paddingTop"),10)+parseInt(O.$boxer.css("paddingBottom"),10),O.paddingHorizontal=O.isMobile?0:parseInt(O.$boxer.css("paddingLeft"),10)+parseInt(O.$boxer.css("paddingRight"),10),O.contentHeight=O.$boxer.outerHeight()-O.paddingVertical,O.contentWidth=O.$boxer.outerWidth()-O.paddingHorizontal,O.controlHeight=O.$controls.outerHeight(),a(),O.gallery.active&&v(),O.$window.on("resize.boxer",M.resize).on("keydown.boxer",y),O.$body.on("touchstart.boxer click.boxer","#boxer-overlay, #boxer .boxer-close",o).on("touchmove.boxer",z),O.gallery.active&&O.$boxer.on("touchstart.boxer click.boxer",".boxer-control",m),O.$boxer.on(W,function(e){z(e),t(e.target).is(O.$boxer)&&(O.$boxer.off(W),f?h(s):g?p(s):_?w(s):C?x(s):T?b(O.$object):t.error("BOXER: '"+s+"' is not valid."))}),j.addClass("boxer-open"),k||O.$boxer.trigger(W),T)return O.$boxer}}function o(e){z(e),"undefined"!=typeof O.$boxer&&(O.$boxer.on(W,function(e){z(e),t(e.target).is(O.$boxer)&&(O.$boxer.off(W),O.$overlay.remove(),O.$boxer.remove(),O={})}).addClass("animating"),j.removeClass("boxer-open"),k||O.$boxer.trigger(W),H(O.resizeTimer),O.$window.off("resize.boxer").off("keydown.boxer"),O.$body.off(".boxer").removeClass("boxer-open"),O.gallery.active&&O.$boxer.off(".boxer"),O.isMobile&&"image"===O.type&&O.gallery.active&&O.$container.off(".boxer"),O.$window.trigger("close.boxer"))}function r(){var e=l();O.isMobile?0:O.duration,O.isMobile||O.$controls.css({marginTop:(O.contentHeight-O.controlHeight-O.metaHeight)/2}),!O.visible&&O.isMobile&&O.gallery.active&&O.$content.on("touchstart.boxer",".boxer-image",T),(O.isMobile||O.fixed)&&O.$body.addClass("boxer-open"),O.$boxer.on(W,function(e){z(e),t(e.target).is(O.$boxer)&&(O.$boxer.off(W),O.$container.on(W,function(e){z(e),t(e.target).is(O.$container)&&(O.$container.off(W),O.$boxer.removeClass("animating"),O.isAnimating=!1)}),O.$boxer.removeClass("loading"),k||O.$content.trigger(W),O.visible=!0,O.callback.apply(O.$boxer),O.$window.trigger("open.boxer"),O.gallery.active&&g()); }),O.isMobile||O.$boxer.css({height:O.contentHeight+O.paddingVertical,width:O.contentWidth+O.paddingHorizontal,top:O.fixed?0:e.top});var i=O.oldContentHeight!==O.contentHeight||O.oldContentWidth!==O.contentWidth;!O.isMobile&&k&&i||O.$boxer.trigger(W),O.oldContentHeight=O.contentHeight,O.oldContentWidth=O.contentWidth}function s(){if(O.visible&&!O.isMobile){var t=l();O.$controls.css({marginTop:(O.contentHeight-O.controlHeight-O.metaHeight)/2}),O.$boxer.css({height:O.contentHeight+O.paddingVertical,width:O.contentWidth+O.paddingHorizontal,top:O.fixed?0:t.top})}}function a(){var t=l();O.$boxer.css({top:O.fixed?0:t.top})}function l(){if(O.isMobile)return{left:0,top:0};var t={left:(O.$window.width()-O.contentWidth-O.paddingHorizontal)/2,top:O.top<=0?(O.$window.height()-O.contentHeight-O.paddingVertical)/2:O.top};return O.fixed!==!0&&(t.top+=O.$window.scrollTop()),t}function u(t){var e=t.attr("title");return void 0!==e&&""!==e.trim()?'

'+e.trim()+"

":""}function h(e){O.$image=t(""),O.$image.load(function(){O.$image.off("load, error");var t=S(O.$image);O.naturalHeight=t.naturalHeight,O.naturalWidth=t.naturalWidth,O.retina&&(O.naturalHeight/=2,O.naturalWidth/=2),O.$content.prepend(O.$image),""===O.$caption.html()?O.$caption.hide():O.$caption.show(),c(),r()}).error(C).attr("src",e).addClass("boxer-image"),(O.$image[0].complete||4===O.$image[0].readyState)&&O.$image.trigger("load")}function c(){var t=0;for(O.windowHeight=O.viewportHeight=O.$window.height()-O.paddingVertical,O.windowWidth=O.viewportWidth=O.$window.width()-O.paddingHorizontal,O.contentHeight=1/0,O.contentWidth=1/0,O.imageMarginTop=0,O.imageMarginLeft=0;O.contentHeight>O.viewportHeight&&2>t;)O.imageHeight=0===t?O.naturalHeight:O.$image.outerHeight(),O.imageWidth=0===t?O.naturalWidth:O.$image.outerWidth(),O.metaHeight=0===t?0:O.metaHeight,0===t&&(O.ratioHorizontal=O.imageHeight/O.imageWidth,O.ratioVertical=O.imageWidth/O.imageHeight,O.isWide=O.imageWidth>O.imageHeight),O.imageHeightt&&(O.targetImageHeight=t,O.targetImageWidth=O.targetImageHeight*O.ratioVertical)):(O.targetImageHeight=t,O.targetImageWidth=O.targetImageHeight*O.ratioVertical,O.targetImageWidth>e&&(O.targetImageWidth=e,O.targetImageHeight=O.targetImageWidth*O.ratioHorizontal)),(O.targetImageWidth>O.imageWidth||O.targetImageHeight>O.imageHeight)&&(O.targetImageHeight=O.imageHeight,O.targetImageWidth=O.imageWidth),(O.targetImageWidth'),O.$video=t('