/*! Pxlrtheme - v1.4.9 - 2016-08-17
* Copyright (c) 2016
* Licensed GPLv2+
*/
// Source: assets/plugins/modernizr/modernizr.custom.js
/* Modernizr 2.6.2 (Custom Build) | MIT & BSD
* Build: http://modernizr.com/download/#-cssanimations-csstransitions-touch-shiv-cssclasses-prefixed-teststyles-testprop-testallprops-prefixes-domprefixes-load
* Build: http://modernizr.com/download/#-csstransforms3d-csstransitions-touch-shiv-cssclasses-prefixed-teststyles-testprop-testallprops-prefixes-domprefixes-load
*/
;window.Modernizr=function(a,b,c){function z(a){j.cssText=a}function A(a,b){return z(m.join(a+";")+(b||""))}function B(a,b){return typeof a===b}function C(a,b){return!!~(""+a).indexOf(b)}function D(a,b){for(var d in a){var e=a[d];if(!C(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function E(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:B(f,"function")?f.bind(d||b):f}return!1}function F(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+o.join(d+" ")+d).split(" ");return B(b,"string")||B(b,"undefined")?D(e,b):(e=(a+" "+p.join(d+" ")+d).split(" "),E(e,b,c))}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m=" -webkit- -moz- -o- -ms- ".split(" "),n="Webkit Moz O ms",o=n.split(" "),p=n.toLowerCase().split(" "),q={},r={},s={},t=[],u=t.slice,v,w=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["",'"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},x={}.hasOwnProperty,y;!B(x,"undefined")&&!B(x.call,"undefined")?y=function(a,b){return x.call(a,b)}:y=function(a,b){return b in a&&B(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=u.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(u.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(u.call(arguments)))};return e}),q.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:w(["@media (",m.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},q.csstransforms3d=function(){var a=!!F("perspective");return a&&"webkitPerspective"in g.style&&w("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},q.csstransitions=function(){return F("transition")};for(var G in q)y(q,G)&&(v=G.toLowerCase(),e[v]=q[G](),t.push((e[v]?"":"no-")+v));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)y(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},z(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=m,e._domPrefixes=p,e._cssomPrefixes=o,e.testProp=function(a){return D([a])},e.testAllProps=F,e.testStyles=w,e.prefixed=function(a,b,c){return b?F(a,b,c):F(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+t.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;fthis.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i="next"==b?"first":"last",j=this;if(!f.length){if(!this.options.wrap)return;f=this.$element.find(".item")[i]()}if(f.hasClass("active"))return this.sliding=!1;var k=f[0],l=a.Event("slide.bs.carousel",{relatedTarget:k,direction:h});if(this.$element.trigger(l),!l.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var m=a(this.$indicators.children()[this.getItemIndex(f)]);m&&m.addClass("active")}var n=a.Event("slid.bs.carousel",{relatedTarget:k,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),j.sliding=!1,setTimeout(function(){j.$element.trigger(n)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(n)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&"show"==b&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a(this.options.trigger).filter('[href="#'+b.id+'"], [data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.1",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0,trigger:'[data-toggle="collapse"]'},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.find("> .panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":a.extend({},e.data(),{trigger:this});c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){b&&3===b.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=c(d),f={relatedTarget:this};e.hasClass("open")&&(e.trigger(b=a.Event("hide.bs.dropdown",f)),b.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f)))}))}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.1",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('').insertAfter(a(this)).on("click",b);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(b){if(/(38|40|27|32)/.test(b.which)&&!/input|textarea/i.test(b.target.tagName)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var e=c(d),g=e.hasClass("open");if(!g&&27!=b.which||g&&27==b.which)return 27==b.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.divider):visible a",i=e.find('[role="menu"]'+h+', [role="listbox"]'+h);if(i.length){var j=i.index(b.target);38==b.which&&j>0&&j--,40==b.which&&j').prependTo(this.$element).on("click.dismiss.bs.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.options.backdrop&&this.adjustBackdrop(),this.adjustDialog()},c.prototype.adjustBackdrop=function(){this.$backdrop.css("height",0).css("height",this.$element[0].scrollHeight)},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){this.bodyIsOverflowing=document.body.scrollHeight>document.documentElement.clientHeight,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b,g=f&&f.selector;(e||"destroy"!=b)&&(g?(e||d.data("bs.tooltip",e={}),e[g]||(e[g]=new c(this,f))):e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};c.VERSION="3.3.1",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(this.options.viewport.selector||this.options.viewport);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c&&c.$tip&&c.$tip.is(":visible")?void(c.hoverState="in"):(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.options.container?a(this.options.container):this.$element.parent(),p=this.getPosition(o);h="bottom"==h&&k.bottom+m>p.bottom?"top":"top"==h&&k.top-mp.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.width&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type)})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b,g=f&&f.selector;(e||"destroy"!=b)&&(g?(e||d.data("bs.popover",e={}),e[g]||(e[g]=new c(this,f))):e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.1",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},c.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){var e=a.proxy(this.process,this);this.$body=a("body"),this.$scrollElement=a(a(c).is("body")?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.1",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b="offset",c=0;a.isWindow(this.$scrollElement[0])||(b="position",c=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var d=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[b]().top+c,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){d.offsets.push(this[0]),d.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.1",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})
})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.1",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=i?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=a("body").height();"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);
// Source: assets/plugins/smoothscroll/SmoothScroll-min.js
//
// SmoothScroll for websites v1.2.1
// Licensed under the terms of the MIT license.
//
!function(){function e(){var e=!1;e&&c("keydown",r),g.keyboardSupport&&!e&&u("keydown",r)}function t(){if(document.body){var t=document.body,n=document.documentElement,o=window.innerHeight,r=t.scrollHeight;if(x=document.compatMode.indexOf("CSS")>=0?n:t,S=t,e(),k=!0,top!=self)b=!0;else if(r>o&&(t.offsetHeight<=o||n.offsetHeight<=o)){var a=!1,i=function(){a||n.scrollHeight==document.height||(a=!0,setTimeout(function(){n.style.height=document.height+"px",a=!1},500))};if(n.style.height="auto",setTimeout(i,10),x.offsetHeight<=o){var l=document.createElement("div");l.style.clear="both",t.appendChild(l)}}g.fixedBackground||v||(t.style.backgroundAttachment="scroll",n.style.backgroundAttachment="scroll")}}function n(e,t,n,o){if(o||(o=1e3),d(t,n),1!=g.accelerationMax){var r=+new Date,a=r-E;if(a1&&(i=Math.min(i,g.accelerationMax),t*=i,n*=i)}E=+new Date}if(T.push({x:t,y:n,lastX:0>t?.99:-.99,lastY:0>n?.99:-.99,start:+new Date}),!C){var l=e===document.body,u=function(r){for(var a=+new Date,i=0,c=0,s=0;s=g.animationTime,m=h?1:f/g.animationTime;g.pulseAlgorithm&&(m=p(m));var w=d.x*m-d.lastX>>0,v=d.y*m-d.lastY>>0;i+=w,c+=v,d.lastX+=w,d.lastY+=v,h&&(T.splice(s,1),s--)}l?window.scrollBy(i,c):(i&&(e.scrollLeft+=i),c&&(e.scrollTop+=c)),t||n||(T=[]),T.length?K(u,e,o/g.frameRate+1):C=!1};K(u,e,0),C=!0}}function o(e){k||t();var o=e.target,r=l(o);if(!r||e.defaultPrevented||s(S,"embed")||s(o,"embed")&&/\.pdf/i.test(o.src))return!0;var a=e.wheelDeltaX||0,i=e.wheelDeltaY||0;return a||i||(i=e.wheelDelta||0),!g.touchpadSupport&&f(i)?!0:(Math.abs(a)>1.2&&(a*=g.stepSize/120),Math.abs(i)>1.2&&(i*=g.stepSize/120),n(r,-a,-i),void e.preventDefault())}function r(e){var t=e.target,o=e.ctrlKey||e.altKey||e.metaKey||e.shiftKey&&e.keyCode!==M.spacebar;if(/input|textarea|select|embed/i.test(t.nodeName)||t.isContentEditable||e.defaultPrevented||o)return!0;if(s(t,"button")&&e.keyCode===M.spacebar)return!0;var r,a=0,i=0,u=l(S),c=u.clientHeight;switch(u==document.body&&(c=window.innerHeight),e.keyCode){case M.up:i=-g.arrowScroll;break;case M.down:i=g.arrowScroll;break;case M.spacebar:r=e.shiftKey?1:-1,i=-r*c*.9;break;case M.pageup:i=.9*-c;break;case M.pagedown:i=.9*c;break;case M.home:i=-u.scrollTop;break;case M.end:var d=u.scrollHeight-u.scrollTop-c;i=d>0?d+10:0;break;case M.left:a=-g.arrowScroll;break;case M.right:a=g.arrowScroll;break;default:return!0}n(u,a,i),e.preventDefault()}function a(e){S=e.target}function i(e,t){for(var n=e.length;n--;)z[A(e[n])]=t;return t}function l(e){var t=[],n=x.scrollHeight;do{var o=z[A(e)];if(o)return i(t,o);if(t.push(e),n===e.scrollHeight){if(!b||x.clientHeight+100?1:-1,t=t>0?1:-1,(y.x!==e||y.y!==t)&&(y.x=e,y.y=t,T=[],E=0)}function f(e){if(e){e=Math.abs(e),H.push(e),H.shift(),clearTimeout(N);var t=h(H[0],120)&&h(H[1],120)&&h(H[2],120);return!t}}function h(e,t){return Math.floor(e/t)==e/t}function m(e){var t,n,o;return e*=g.pulseScale,1>e?t=e-(1-Math.exp(-e)):(n=Math.exp(-1),e-=1,o=1-Math.exp(-e),t=n+o*(1-n)),t*g.pulseNormalize}function p(e){return e>=1?1:0>=e?0:(1==g.pulseNormalize&&(g.pulseNormalize/=m(1)),m(e))}var w={frameRate:150,animationTime:400,stepSize:120,pulseAlgorithm:!0,pulseScale:8,pulseNormalize:1,accelerationDelta:20,accelerationMax:1,keyboardSupport:!0,arrowScroll:50,touchpadSupport:!0,fixedBackground:!0,excluded:""},g=w,v=!1,b=!1,y={x:0,y:0},k=!1,x=document.documentElement,S,D,H=[120,120,120],M={left:37,up:38,right:39,down:40,spacebar:32,pageup:33,pagedown:34,end:35,home:36},g=w,T=[],C=!1,E=+new Date,z={};setInterval(function(){z={}},1e4);var A=function(){var e=0;return function(t){return t.uniqueID||(t.uniqueID=e++)}}(),N,K=function(){return window.reroxthemeAnimationFrame||window.webkitReroxthemeAnimationFrame||function(e,t,n){window.setTimeout(e,n||1e3/60)}}(),L=/chrome/i.test(window.navigator.userAgent),q=null;"onwheel"in document.createElement("div")?q="wheel":"onmousewheel"in document.createElement("div")&&(q="mousewheel"),q&&L&&(u(q,o),u("mousedown",a),u("load",t))}();
// Source: assets/plugins/wow/wow.min.js
/*! WOW - v1.1.2 - 2015-08-19
* Copyright (c) 2015 Matthieu Aussaguel; Licensed MIT */(function(){var a,b,c,d,e,f=function(a,b){return function(){return a.apply(b,arguments)}},g=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};b=function(){function a(){}return a.prototype.extend=function(a,b){var c,d;for(c in b)d=b[c],null==a[c]&&(a[c]=d);return a},a.prototype.isMobile=function(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)},a.prototype.createEvent=function(a,b,c,d){var e;return null==b&&(b=!1),null==c&&(c=!1),null==d&&(d=null),null!=document.createEvent?(e=document.createEvent("CustomEvent"),e.initCustomEvent(a,b,c,d)):null!=document.createEventObject?(e=document.createEventObject(),e.eventType=a):e.eventName=a,e},a.prototype.emitEvent=function(a,b){return null!=a.dispatchEvent?a.dispatchEvent(b):b in(null!=a)?a[b]():"on"+b in(null!=a)?a["on"+b]():void 0},a.prototype.addEvent=function(a,b,c){return null!=a.addEventListener?a.addEventListener(b,c,!1):null!=a.attachEvent?a.attachEvent("on"+b,c):a[b]=c},a.prototype.removeEvent=function(a,b,c){return null!=a.removeEventListener?a.removeEventListener(b,c,!1):null!=a.detachEvent?a.detachEvent("on"+b,c):delete a[b]},a.prototype.innerHeight=function(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight},a}(),c=this.WeakMap||this.MozWeakMap||(c=function(){function a(){this.keys=[],this.values=[]}return a.prototype.get=function(a){var b,c,d,e,f;for(f=this.keys,b=d=0,e=f.length;e>d;b=++d)if(c=f[b],c===a)return this.values[b]},a.prototype.set=function(a,b){var c,d,e,f,g;for(g=this.keys,c=e=0,f=g.length;f>e;c=++e)if(d=g[c],d===a)return void(this.values[c]=b);return this.keys.push(a),this.values.push(b)},a}()),a=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(a=function(){function a(){"undefined"!=typeof console&&null!==console&&console.warn("MutationObserver is not supported by your browser."),"undefined"!=typeof console&&null!==console&&console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return a.notSupported=!0,a.prototype.observe=function(){},a}()),d=this.getComputedStyle||function(a){return this.getPropertyValue=function(b){var c;return"float"===b&&(b="styleFloat"),e.test(b)&&b.replace(e,function(a,b){return b.toUpperCase()}),(null!=(c=a.currentStyle)?c[b]:void 0)||null},this},e=/(\-([a-z]){1})/g,this.WOW=function(){function e(a){null==a&&(a={}),this.scrollCallback=f(this.scrollCallback,this),this.scrollHandler=f(this.scrollHandler,this),this.resetAnimation=f(this.resetAnimation,this),this.start=f(this.start,this),this.scrolled=!0,this.config=this.util().extend(a,this.defaults),null!=a.scrollContainer&&(this.config.scrollContainer=document.querySelector(a.scrollContainer)),this.animationNameCache=new c,this.wowEvent=this.util().createEvent(this.config.boxClass)}return e.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null},e.prototype.init=function(){var a;return this.element=window.document.documentElement,"interactive"===(a=document.readyState)||"complete"===a?this.start():this.util().addEvent(document,"DOMContentLoaded",this.start),this.finished=[]},e.prototype.start=function(){var b,c,d,e;if(this.stopped=!1,this.boxes=function(){var a,c,d,e;for(d=this.element.querySelectorAll("."+this.config.boxClass),e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.all=function(){var a,c,d,e;for(d=this.boxes,e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(e=this.boxes,c=0,d=e.length;d>c;c++)b=e[c],this.applyStyle(b,!0);return this.disabled()||(this.util().addEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().addEvent(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live?new a(function(a){return function(b){var c,d,e,f,g;for(g=[],c=0,d=b.length;d>c;c++)f=b[c],g.push(function(){var a,b,c,d;for(c=f.addedNodes||[],d=[],a=0,b=c.length;b>a;a++)e=c[a],d.push(this.doSync(e));return d}.call(a));return g}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},e.prototype.stop=function(){return this.stopped=!0,this.util().removeEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().removeEvent(window,"resize",this.scrollHandler),null!=this.interval?clearInterval(this.interval):void 0},e.prototype.sync=function(){return a.notSupported?this.doSync(this.element):void 0},e.prototype.doSync=function(a){var b,c,d,e,f;if(null==a&&(a=this.element),1===a.nodeType){for(a=a.parentNode||a,e=a.querySelectorAll("."+this.config.boxClass),f=[],c=0,d=e.length;d>c;c++)b=e[c],g.call(this.all,b)<0?(this.boxes.push(b),this.all.push(b),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(b,!0),f.push(this.scrolled=!0)):f.push(void 0);return f}},e.prototype.show=function(a){return this.applyStyle(a),a.className=a.className+" "+this.config.animateClass,null!=this.config.callback&&this.config.callback(a),this.util().emitEvent(a,this.wowEvent),this.util().addEvent(a,"animationend",this.resetAnimation),this.util().addEvent(a,"oanimationend",this.resetAnimation),this.util().addEvent(a,"webkitAnimationEnd",this.resetAnimation),this.util().addEvent(a,"MSAnimationEnd",this.resetAnimation),a},e.prototype.applyStyle=function(a,b){var c,d,e;return d=a.getAttribute("data-wow-duration"),c=a.getAttribute("data-wow-delay"),e=a.getAttribute("data-wow-iteration"),this.animate(function(f){return function(){return f.customStyle(a,b,d,c,e)}}(this))},e.prototype.animate=function(){return"reroxthemeAnimationFrame"in window?function(a){return window.reroxthemeAnimationFrame(a)}:function(a){return a()}}(),e.prototype.resetStyle=function(){var a,b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(a.style.visibility="visible");return e},e.prototype.resetAnimation=function(a){var b;return a.type.toLowerCase().indexOf("animationend")>=0?(b=a.target||a.srcElement,b.className=b.className.replace(this.config.animateClass,"").trim()):void 0},e.prototype.customStyle=function(a,b,c,d,e){return b&&this.cacheAnimationName(a),a.style.visibility=b?"hidden":"visible",c&&this.vendorSet(a.style,{animationDuration:c}),d&&this.vendorSet(a.style,{animationDelay:d}),e&&this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?"none":this.cachedAnimationName(a)}),a},e.prototype.vendors=["moz","webkit"],e.prototype.vendorSet=function(a,b){var c,d,e,f;d=[];for(c in b)e=b[c],a[""+c]=e,d.push(function(){var b,d,g,h;for(g=this.vendors,h=[],b=0,d=g.length;d>b;b++)f=g[b],h.push(a[""+f+c.charAt(0).toUpperCase()+c.substr(1)]=e);return h}.call(this));return d},e.prototype.vendorCSS=function(a,b){var c,e,f,g,h,i;for(h=d(a),g=h.getPropertyCSSValue(b),f=this.vendors,c=0,e=f.length;e>c;c++)i=f[c],g=g||h.getPropertyCSSValue("-"+i+"-"+b);return g},e.prototype.animationName=function(a){var b;try{b=this.vendorCSS(a,"animation-name").cssText}catch(c){b=d(a).getPropertyValue("animation-name")}return"none"===b?"":b},e.prototype.cacheAnimationName=function(a){return this.animationNameCache.set(a,this.animationName(a))},e.prototype.cachedAnimationName=function(a){return this.animationNameCache.get(a)},e.prototype.scrollHandler=function(){return this.scrolled=!0},e.prototype.scrollCallback=function(){var a;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],a&&(this.isVisible(a)?this.show(a):e.push(a));return e}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},e.prototype.offsetTop=function(a){for(var b;void 0===a.offsetTop;)a=a.parentNode;for(b=a.offsetTop;a=a.offsetParent;)b+=a.offsetTop;return b},e.prototype.isVisible=function(a){var b,c,d,e,f;return c=a.getAttribute("data-wow-offset")||this.config.offset,f=this.config.scrollContainer&&this.config.scrollContainer.scrollTop||window.pageYOffset,e=f+Math.min(this.element.clientHeight,this.util().innerHeight())-c,d=this.offsetTop(a),b=d+a.clientHeight,e>=d&&b>=f},e.prototype.util=function(){return null!=this._util?this._util:this._util=new b},e.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},e}()}).call(this);
// Source: assets/plugins/FullscreenSlitSlider/js/jquery.ba-cond.min.js
/*
* cond - v0.1 - 6/10/2009
* http://benalman.com/projects/jquery-cond-plugin/
*
* Copyright (c) 2009 "Cowboy" Ben Alman
* Licensed under the MIT license
* http://benalman.com/about/license/
*
* Based on suggestions and sample code by Stephen Band and DBJDBJ in the
* jquery-dev Google group: http://bit.ly/jqba1
*/
!function(n){"$:nomunge";n.fn.cond=function(){for(var t,i,u,c,o=arguments,r=0;!i&&r'),this.$slides.wrapAll(this.$slideWrapper).each(function(s){var i=t(this),e=i.data("orientation");i.addClass("sl-slide-"+e).children().wrapAll('').wrapAll('')}),this._setSize(),this.$slides.eq(this.current).show().addClass("sl-trans-elems")},_navigate:function(s,e){if(this.isAnimating||this.slidesCount<2)return!1;this.isAnimating=!0;var n=this,a=this.$slides.eq(this.current);e!==i?this.current=e:"next"===s?this.current=this.current0?--this.current:this.slidesCount-1),this.options.onBeforeChange(a,this.current);var o=this.$slides.eq(this.current),l="next"===s?a:o,r=l.data(),h={};h.orientation=r.orientation||"horizontal",h.slice1angle=r.slice1Rotation||0,h.slice1scale=r.slice1Scale||1,h.slice2angle=r.slice2Rotation||0,h.slice2scale=r.slice2Scale||1,this._validateValues(h);var c="horizontal"===h.orientation?{marginTop:-this.size.height/2}:{marginLeft:-this.size.width/2},d={transform:"translate(0%,0%) rotate(0deg) scale(1)",opacity:1},p="horizontal"===h.orientation?{transform:"translateY(-"+this.options.translateFactor+"%) rotate("+h.slice1angle+"deg) scale("+h.slice1scale+")"}:{transform:"translateX(-"+this.options.translateFactor+"%) rotate("+h.slice1angle+"deg) scale("+h.slice1scale+")"},u="horizontal"===h.orientation?{transform:"translateY("+this.options.translateFactor+"%) rotate("+h.slice2angle+"deg) scale("+h.slice2scale+")"}:{transform:"translateX("+this.options.translateFactor+"%) rotate("+h.slice2angle+"deg) scale("+h.slice2scale+")"};if(this.options.optOpacity&&(p.opacity=0,u.opacity=0),this.options.animation&&"fade"===this.options.animation)return a.removeClass("sl-trans-elems").css("z-index",10),o.css({"z-index":5,display:"block"}),setTimeout(function(){o.addClass("sl-trans-elems")},this.options.speed/2),void a.fadeOut(this.options.speed,function(){n.isAnimating=!1});a.removeClass("sl-trans-elems");var f={transition:"all "+this.options.speed+"ms ease-in-out"};l.css("z-index",this.slidesCount).find("div.sl-content-wrapper").wrap(t('').css(f)).parent().cond("prev"===s,function(){var t=this;this.css(p),setTimeout(function(){t.css(d)},50)},function(){var t=this;setTimeout(function(){t.css(p)},50)}).clone().appendTo(l).cond("prev"===s,function(){var t=this;this.css(u),setTimeout(function(){a.addClass("sl-trans-back-elems"),n.support?t.css(d).on(n.transEndEventName,function(){n._onEndNavigate(t,a,s)}):n._onEndNavigate(t,a,s)},50)},function(){var t=this;setTimeout(function(){o.addClass("sl-trans-elems"),n.support?t.css(u).on(n.transEndEventName,function(){n._onEndNavigate(t,a,s)}):n._onEndNavigate(t,a,s)},50)}).find("div.sl-content-wrapper").css(c),o.show()},_validateValues:function(t){(t.slice1angle>this.options.maxAngle||t.slice1angle<-this.options.maxAngle)&&(t.slice1angle=this.options.maxAngle),(t.slice2angle>this.options.maxAngle||t.slice2angle<-this.options.maxAngle)&&(t.slice2angle=this.options.maxAngle),(t.slice1scale>this.options.maxScale||t.slice1scale<=0)&&(t.slice1scale=this.options.maxScale),(t.slice2scale>this.options.maxScale||t.slice2scale<=0)&&(t.slice2scale=this.options.maxScale),"vertical"!==t.orientation&&"horizontal"!==t.orientation&&(t.orientation="horizontal")},_onEndNavigate:function(t,s,i){var e=t.parent(),n="sl-trans-elems sl-trans-back-elems";t.remove(),e.css("z-index",1).find("div.sl-content-wrapper").unwrap(),s.hide().removeClass(n),e.removeClass(n),this.isAnimating=!1,this.options.onAfterChange(e,this.current)},_setSize:function(){var t={width:this.size.width,height:this.size.height};this.$el.css(t).closest(".sl-slider-wrapper").css(t).find("div.sl-content-wrapper").css(t)},_loadEvents:function(){var t=this;o.on("debouncedresize.slitslider",function(s){t._getSize(),t._setSize()}),this.options.keyboard&&l.on("keydown.slitslider",function(s){var i=s.keyCode||s.which,e={left:37,up:38,right:39,down:40};switch(i){case e.left:t._stopSlideshow(),t._navigate("prev");break;case e.right:t._stopSlideshow(),t._navigate("next")}})},_startSlideshow:function(){var t=this;this.slideshow=setTimeout(function(){t._navigate("next"),t.options.autoplay&&t._startSlideshow()},this.options.interval)},_stopSlideshow:function(){this.options.autoplay&&(clearTimeout(this.slideshow),this.isPlaying=!1,this.options.autoplay=!1)},_destroy:function(s){this.$el.off(".slitslider").removeData("slitslider"),o.off(".slitslider"),l.off(".slitslider"),this.$slides.each(function(s){var i=t(this),e=i.find("div.sl-content").children();e.appendTo(i),i.children("div.sl-content-wrapper").remove()}),this.$slides.unwrap(this.$slideWrapper).hide(),this.$slides.eq(0).show(),s&&s.call()},add:function(s,i){this.$slides=this.$slides.add(s);var e=this;s.each(function(s){var i=t(this),n=i.data("orientation");i.hide().addClass("sl-slide-"+n).children().wrapAll('').wrapAll('').end().appendTo(e.$el.find("div.sl-slides-wrapper"))}),this._setSize(),this.slidesCount=this.$slides.length,i&&i.call($items)},next:function(){this._stopSlideshow(),this._navigate("next")},previous:function(){this._stopSlideshow(),this._navigate("prev")},jump:function(t){return t-=1,t===this.current||t>=this.slidesCount||0>t?!1:(this._stopSlideshow(),void this._navigate(t>this.current?"next":"prev",t))},play:function(){this.isPlaying||(this.isPlaying=!0,this._navigate("next"),this.options.autoplay=!0,this._startSlideshow())},pause:function(){this.isPlaying&&this._stopSlideshow()},isActive:function(){return this.isAnimating},destroy:function(t){this._destroy(t)}};var h=function(t){s.console&&s.console.error(t)};t.fn.slitslider=function(s){var i=t.data(this,"slitslider");if("string"==typeof s){var e=Array.prototype.slice.call(arguments,1);this.each(function(){return i?t.isFunction(i[s])&&"_"!==s.charAt(0)?void i[s].apply(i,e):void h("no such method '"+s+"' for slitslider self"):void h("cannot call methods on slitslider prior to initialization; attempted to call method '"+s+"'")})}else this.each(function(){i?i._init():i=t.data(this,"slitslider",new t.Slitslider(s,this))});return i}}(jQuery,window);
// Source: assets/plugins/colorbox/jquery.colorbox-min.js
!function($,t,e){function i(e,i,n){var o=t.createElement(e);return i&&(o.id=y+i),n&&(o.style.cssText=n),$(o)}function n(){return e.innerHeight?e.innerHeight:$(e).height()}function o(t,e){e!==Object(e)&&(e={}),this.cache={},this.el=t,this.value=function(t){var i;return void 0===this.cache[t]&&(i=$(this.el).attr("data-cbox-"+t),void 0!==i?this.cache[t]=i:void 0!==e[t]?this.cache[t]=e[t]:void 0!==w[t]&&(this.cache[t]=w[t])),this.cache[t]},this.get=function(t){var e=this.value(t);return $.isFunction(e)?e.call(this.el,this):e}}function r(t){var e=P.length,i=(te+t)%e;return 0>i?e+i:i}function h(t,e){return Math.round((/%/.test(t)?("x"===e?B.width():n())/100:1)*parseInt(t,10))}function a(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function s(t,i){return t.get("retinaUrl")&&e.devicePixelRatio>1?i.replace(t.get("photoRegex"),t.get("retinaSuffix")):i}function l(t){"contains"in W[0]&&!W[0].contains(t.target)&&t.target!==E[0]&&(t.stopPropagation(),W.focus())}function d(t){d.str!==t&&(W.add(E).removeClass(d.str).addClass(t),d.str=t)}function c(t){te=0,t&&t!==!1&&"nofollow"!==t?(P=$("."+x).filter(function(){var e=$.data(this,v),i=new o(this,e);return i.get("rel")===t}),te=P.index(J.el),-1===te&&(P=P.add(J.el),te=P.length-1)):P=$(J.el)}function g(e){$(t).trigger(e),Q.triggerHandler(e)}function u(e){var n;if(!oe){if(n=$(e).data(v),J=new o(e,n),c(J.get("rel")),!ie){ie=ne=!0,d(J.get("className")),W.css({visibility:"hidden",display:"block",opacity:""}),O=i(ae,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),L.css({width:"",height:""}).append(O),V=F.height()+K.height()+L.outerHeight(!0)-L.height(),X=R.width()+S.width()+L.outerWidth(!0)-L.width(),Y=O.outerHeight(!0),Z=O.outerWidth(!0);var r=h(J.get("initialWidth"),"x"),a=h(J.get("initialHeight"),"y"),s=J.get("maxWidth"),u=J.get("maxHeight");J.w=Math.max((s!==!1?Math.min(r,h(s,"x")):r)-Z-X,0),J.h=Math.max((u!==!1?Math.min(a,h(u,"y")):a)-Y-V,0),O.css({width:"",height:J.h}),he.position(),g(b),J.get("onOpen"),G.add(D).hide(),W.focus(),J.get("trapFocus")&&t.addEventListener&&(t.addEventListener("focus",l,!0),Q.one(k,function(){t.removeEventListener("focus",l,!0)})),J.get("returnFocus")&&Q.one(k,function(){$(J.el).focus()})}var f=parseFloat(J.get("opacity"));E.css({opacity:f===f?f:"",cursor:J.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),J.get("closeButton")?q.html(J.get("close")).appendTo(L):q.appendTo(""),m()}}function f(){W||(de=!1,B=$(e),W=i(ae).attr({id:v,"class":$.support.opacity===!1?y+"IE":"",role:"dialog",tabindex:"-1"}).hide(),E=i(ae,"Overlay").hide(),_=$([i(ae,"LoadingOverlay")[0],i(ae,"LoadingGraphic")[0]]),M=i(ae,"Wrapper"),L=i(ae,"Content").append(D=i(ae,"Title"),N=i(ae,"Current"),U=$('').attr({id:y+"Previous"}),A=$('').attr({id:y+"Next"}),z=i("button","Slideshow"),_),q=$('').attr({id:y+"Close"}),M.append(i(ae).append(i(ae,"TopLeft"),F=i(ae,"TopCenter"),i(ae,"TopRight")),i(ae,!1,"clear:left").append(R=i(ae,"MiddleLeft"),L,S=i(ae,"MiddleRight")),i(ae,!1,"clear:left").append(i(ae,"BottomLeft"),K=i(ae,"BottomCenter"),i(ae,"BottomRight"))).find("div div").css({"float":"left"}),j=i(ae,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),G=A.add(U).add(N).add(z)),t.body&&!W.parent().length&&$(t.body).append(E,W.append(M,j))}function p(){function e(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),u(this))}return W?(de||(de=!0,A.click(function(){he.next()}),U.click(function(){he.prev()}),q.click(function(){he.close()}),E.click(function(){J.get("overlayClose")&&he.close()}),$(t).bind("keydown."+y,function(t){var e=t.keyCode;ie&&J.get("escKey")&&27===e&&(t.preventDefault(),he.close()),ie&&J.get("arrowKey")&&P[1]&&!t.altKey&&(37===e?(t.preventDefault(),U.click()):39===e&&(t.preventDefault(),A.click()))}),$.isFunction($.fn.on)?$(t).on("click."+y,"."+x,e):$("."+x).live("click."+y,e)),!0):!1}function m(){var t,n,o=he.prep,r,l=++se;if(ne=!0,ee=!1,g(I),g(T),J.get("onLoad"),J.h=J.get("height")?h(J.get("height"),"y")-Y-V:J.get("innerHeight")&&h(J.get("innerHeight"),"y"),J.w=J.get("width")?h(J.get("width"),"x")-Z-X:J.get("innerWidth")&&h(J.get("innerWidth"),"x"),J.mw=J.w,J.mh=J.h,J.get("maxWidth")&&(J.mw=h(J.get("maxWidth"),"x")-Z-X,J.mw=J.w&&J.w").hide().insertBefore(d),Q.one(I,function(){r.replaceWith(d)}),o(d)}else J.get("iframe")?o(" "):J.get("html")?o(J.get("html")):a(J,t)?(t=s(J,t),ee=J.get("createImg"),"svg"===t.split(".").pop()&&(console.log(t),$.ajax({url:t,async:!1,dataType:"xml",success:function(t){var e=t.documentElement.attributes;"undefined"!=typeof e.width&&(ee.width=parseInt(e.width.value)),"undefined"!=typeof e.height&&(ee.height=parseInt(e.height.value))}})),$(ee).addClass(y+"Photo").bind("error."+y,function(){o(i(ae,"Error").html(J.get("imgError")))}).one("load",function(){l===se&&setTimeout(function(){var t;J.get("retinaImage")&&e.devicePixelRatio>1&&(ee.height=ee.height/e.devicePixelRatio,ee.width=ee.width/e.devicePixelRatio),J.get("scalePhotos")&&(n=function(){ee.height-=ee.height*t,ee.width-=ee.width*t},J.mw&&ee.width>J.mw&&(t=(ee.width-J.mw)/ee.width,n()),J.mh&&ee.height>J.mh&&(t=(ee.height-J.mh)/ee.height,n())),J.h&&(ee.style.marginTop=Math.max(J.mh-ee.height,0)/2+"px"),P[1]&&(J.get("loop")||P[te+1])&&(ee.style.cursor="pointer",$(ee).bind("click."+y,function(){he.next()})),ee.style.width=ee.width+"px",ee.style.height=ee.height+"px",o(ee)},1)}),ee.src=t):t&&j.load(t,J.get("data"),function(t,e){l===se&&o("error"===e?i(ae,"Error").html(J.get("xhrError")):$(this).contents())})}var w={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return $(this).attr("href")},title:function(){return this.title},createImg:function(){var t=new Image,e=$(this).data("cbox-img-attrs");return"object"==typeof e&&$.each(e,function(e,i){t[e]=i}),t},createIframe:function(){var e=t.createElement("iframe"),i=$(this).data("cbox-iframe-attrs");return"object"==typeof i&&$.each(i,function(t,i){e[t]=i}),"frameBorder"in e&&(e.frameBorder=0),"allowTransparency"in e&&(e.allowTransparency="true"),e.name=(new Date).getTime(),e.allowFullscreen=!0,e}},v="colorbox",y="cbox",x=y+"Element",b=y+"_open",T=y+"_load",C=y+"_complete",H=y+"_cleanup",k=y+"_closed",I=y+"_purge",E,W,M,L,F,R,S,K,P,B,O,j,_,D,N,z,A,U,q,G,Q=$(""),J,V,X,Y,Z,te,ee,ie,ne,oe,re,he,ae="div",se=0,le={},de,ce=function(){function t(){clearTimeout(s)}function e(){(J.get("loop")||P[te+1])&&(t(),s=setTimeout(he.next,J.get("slideshowSpeed")))}function i(){z.html(J.get("slideshowStop")).unbind(a).one(a,n),Q.bind(C,e).bind(T,t),W.removeClass(h+"off").addClass(h+"on")}function n(){t(),Q.unbind(C,e).unbind(T,t),z.html(J.get("slideshowStart")).unbind(a).one(a,function(){he.next(),i()}),W.removeClass(h+"on").addClass(h+"off")}function o(){r=!1,z.hide(),t(),Q.unbind(C,e).unbind(T,t),W.removeClass(h+"off "+h+"on")}var r,h=y+"Slideshow_",a="click."+y,s;return function(){r?J.get("slideshow")||(Q.unbind(H,o),o()):J.get("slideshow")&&P[1]&&(r=!0,Q.one(H,o),J.get("slideshowAuto")?i():n(),z.show())}}();$[v]||($(f),he=$.fn[v]=$[v]=function(t,e){var i,n=this;return t=t||{},$.isFunction(n)&&(n=$(""),t.open=!0),n[0]?(f(),p()&&(e&&(t.onComplete=e),n.each(function(){var e=$.data(this,v)||{};$.data(this,v,$.extend(e,t))}).addClass(x),i=new o(n[0],t),i.get("open")&&u(n[0])),n):n},he.position=function(t,e){function i(){F[0].style.width=K[0].style.width=L[0].style.width=parseInt(W[0].style.width,10)-X+"px",L[0].style.height=R[0].style.height=S[0].style.height=parseInt(W[0].style.height,10)-V+"px"}var o,r=0,a=0,s=W.offset(),l,d;if(B.unbind("resize."+y),W.css({top:-9e4,left:-9e4}),l=B.scrollTop(),d=B.scrollLeft(),J.get("fixed")?(s.top-=l,s.left-=d,W.css({position:"fixed"})):(r=l,a=d,W.css({position:"absolute"})),a+=J.get("right")!==!1?Math.max(B.width()-J.w-Z-X-h(J.get("right"),"x"),0):J.get("left")!==!1?h(J.get("left"),"x"):Math.round(Math.max(B.width()-J.w-Z-X,0)/2),r+=J.get("bottom")!==!1?Math.max(n()-J.h-Y-V-h(J.get("bottom"),"y"),0):J.get("top")!==!1?h(J.get("top"),"y"):Math.round(Math.max(n()-J.h-Y-V,0)/2),W.css({top:s.top,left:s.left,visibility:"visible"}),M[0].style.width=M[0].style.height="9999px",o={width:J.w+Z+X,height:J.h+Y+V,top:r,left:a},t){var c=0;$.each(o,function(e){return o[e]!==le[e]?void(c=t):void 0}),t=c}le=o,t||W.css(o),W.dequeue().animate(o,{duration:t||0,complete:function(){i(),ne=!1,M[0].style.width=J.w+Z+X+"px",M[0].style.height=J.h+Y+V+"px",J.get("reposition")&&setTimeout(function(){B.bind("resize."+y,he.position)},1),$.isFunction(e)&&e()},step:i})},he.resize=function(t){var e;ie&&(t=t||{},t.width&&(J.w=h(t.width,"x")-Z-X),t.innerWidth&&(J.w=h(t.innerWidth,"x")),O.css({width:J.w}),t.height&&(J.h=h(t.height,"y")-Y-V),t.innerHeight&&(J.h=h(t.innerHeight,"y")),t.innerHeight||t.height||(e=O.scrollTop(),O.css({height:"auto"}),J.h=O.height()),O.css({height:J.h}),e&&O.scrollTop(e),he.position("none"===J.get("transition")?0:J.get("speed")))},he.prep=function(e){function n(){return J.w=J.w||O.width(),J.w=J.mw&&J.mw1?("string"==typeof J.get("current")&&N.html(J.get("current").replace("{current}",te+1).replace("{total}",i)).show(),A[J.get("loop")||i-1>te?"show":"hide"]().html(J.get("next")),U[J.get("loop")||te?"show":"hide"]().html(J.get("previous")),ce(),J.get("preloading")&&$.each([r(-1),r(1)],function(){var e,i=P[this],n=new o(i,$.data(i,v)),r=n.get("href");r&&a(n,r)&&(r=s(n,r),e=t.createElement("img"),e.src=r)})):G.hide(),J.get("iframe")?(n=J.get("createIframe"),J.get("scrolling")||(n.scrolling="no"),$(n).attr({src:J.get("href"),"class":y+"Iframe"}).one("load",h).appendTo(O),Q.one(I,function(){n.src="//about:blank"}),J.get("fastIframe")&&$(n).trigger("load")):h(),"fade"===J.get("transition")?W.fadeTo(c,1,e):e())},"fade"===J.get("transition")?W.fadeTo(c,0,function(){he.position(0,l)}):he.position(c,l)}},he.next=function(){!ne&&P[1]&&(J.get("loop")||P[te+1])&&(te=r(1),u(P[te]))},he.prev=function(){!ne&&P[1]&&(J.get("loop")||te)&&(te=r(-1),u(P[te]))},he.close=function(){ie&&!oe&&(oe=!0,ie=!1,g(H),J.get("onCleanup"),B.unbind("."+y),E.fadeTo(J.get("fadeOut")||0,0),W.stop().fadeTo(J.get("fadeOut")||0,0,function(){W.hide(),E.hide(),g(I),O.remove(),setTimeout(function(){oe=!1,g(k),J.get("onClosed")},1)}))},he.remove=function(){W&&(W.stop(),$[v].close(),W.stop(!1,!0).remove(),E.remove(),oe=!1,W=null,$("."+x).removeData(v).removeClass(x),$(t).unbind("click."+y).unbind("keydown."+y))},he.element=function(){return $(J.el)},he.settings=w)}(jQuery,document,window);
// Source: assets/plugins/imagesloaded/imagesloaded.pkgd-min.js
/*!
* EventEmitter v4.2.6 - git.io/ee
* Oliver Caldwell
* MIT license
* @preserve
*/
(function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function t(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function s(e){var t=this._getEvents(),n,i;if("object"==typeof e){n={};for(i in t)t.hasOwnProperty(i)&&e.test(i)&&(n[i]=t[i])}else n=t[e]||(t[e]=[]);return n},i.flattenListeners=function f(e){var t=[],n;for(n=0;nn;n++)t.push(e[n]);else t.push(e);return t}function f(e,t,n){if(!(this instanceof f))return new f(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=s(e),this.options=r({},this.options),"function"==typeof t?n=t:r(this.options,t),n&&this.on("always",n),this.getImages(),$&&(this.jqDeferred=new $.Deferred);var i=this;setTimeout(function(){i.check()})}function c(e){this.img=e}function a(e){this.src=e,v[e]=this}var $=t.jQuery,u=t.console,h="undefined"!=typeof u,d=Object.prototype.toString;f.prototype=new n,f.prototype.options={},f.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);var i=n.nodeType;if(i&&(1===i||9===i||11===i))for(var r=n.querySelectorAll("img"),o=0,s=r.length;s>o;o++){var f=r[o];this.addImage(f)}}},f.prototype.addImage=function(e){var t=new c(e);this.images.push(t)},f.prototype.check=function(){function e(e,r){return t.options.debug&&h&&u.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return void this.complete();for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},f.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},f.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},$&&($.fn.imagesLoaded=function(e,t){var n=new f(this,e,t);return n.jqDeferred.promise($(this))}),c.prototype=new n,c.prototype.check=function(){var e=v[this.img.src]||new a(this.img.src);if(e.isConfirmed)return void this.confirm(e.isLoaded,"cached was confirmed");if(this.img.complete&&void 0!==this.img.naturalWidth)return void this.confirm(0!==this.img.naturalWidth,"naturalWidth");var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return a.prototype=new n,a.prototype.check=function(){if(!this.isChecked){var e=new Image;i.bind(e,"load",this),i.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},a.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},a.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},a.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},a.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},a.prototype.unbindProxyEvents=function(e){i.unbind(e.target,"load",this),i.unbind(e.target,"error",this)},f});
// Source: assets/plugins/smartmenus/jquery.smartmenus.min.js
/*! Pxlrtheme - v1.4.9 - 2016-08-17
* Copyright (c) 2016; * Licensed GPLv2+ */
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){function b(b){var f=".smartmenus_mouse";if(i||b)i&&b&&(a(document).unbind(f),i=!1);else{var j=!0,k=null;a(document).bind(d([["mousemove",function(b){var c={x:b.pageX,y:b.pageY,timeStamp:(new Date).getTime()};if(k){var d=Math.abs(k.x-c.x),f=Math.abs(k.y-c.y);if((d>0||f>0)&&2>=d&&2>=f&&c.timeStamp-k.timeStamp<=300&&(g=!0,j)){var h=a(b.target).closest("a");h.is("a")&&a.each(e,function(){return a.contains(this.$root[0],h[0])?(this.itemEnter({currentTarget:h[0]}),!1):void 0}),j=!1}}k=c}],[h?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut",function(a){c(a.originalEvent)&&(g=!1)}]],f)),i=!0}}function c(a){return!/^(4|mouse)$/.test(a.pointerType)}function d(b,c){c||(c="");var d={};return a.each(b,function(a,b){d[b[0].split(" ").join(c+" ")+c]=b[1]}),d}var e=[],f=!!window.createPopup,g=!1,h="ontouchstart"in window,i=!1,j=window.reroxthemeAnimationFrame||function(a){return setTimeout(a,1e3/60)},k=window.cancelAnimationFrame||function(a){clearTimeout(a)};return a.SmartMenus=function(b,c){this.$root=a(b),this.opts=c,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in b.style||"webkitPerspective"in b.style,this.wasCollapsible=!1,this.init()},a.extend(a.SmartMenus,{hideAll:function(){a.each(e,function(){this.menuHideAll()})},destroy:function(){for(;e.length;)e[0].destroy();b(!0)},prototype:{init:function(c){var f=this;if(!c){e.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var g=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).bind(d([["mouseover focusin",a.proxy(this.rootOver,this)],["mouseout focusout",a.proxy(this.rootOut,this)],["keydown",a.proxy(this.rootKeyDown,this)]],g)).delegate("a",d([["mouseenter",a.proxy(this.itemEnter,this)],["mouseleave",a.proxy(this.itemLeave,this)],["mousedown",a.proxy(this.itemDown,this)],["focus",a.proxy(this.itemFocus,this)],["blur",a.proxy(this.itemBlur,this)],["click",a.proxy(this.itemClick,this)]],g)),g+=this.rootId,this.opts.hideOnClick&&a(document).bind(d([["touchstart",a.proxy(this.docTouchStart,this)],["touchmove",a.proxy(this.docTouchMove,this)],["touchend",a.proxy(this.docTouchEnd,this)],["click",a.proxy(this.docClick,this)]],g)),a(window).bind(d([["resize orientationchange",a.proxy(this.winResize,this)]],g)),this.opts.subIndicators&&(this.$subArrow=a("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),b()}if(this.$firstSub=this.$root.find("ul").each(function(){f.menuInit(a(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var h=/(index|default)\.[^#\?\/]*/i,i=/#.*/,j=window.location.href.replace(h,""),k=j.replace(i,"");this.$root.find("a").each(function(){var b=this.href.replace(h,""),c=a(this);(b==j||b==k)&&(c.addClass("current"),f.opts.markCurrentTree&&c.parentsUntil("[data-smartmenus-id]","ul").each(function(){a(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(b){if(!b){var c=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").unbind(c).undelegate(c),c+=this.rootId,a(document).unbind(c),a(window).unbind(c),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var d=this;this.$root.find("ul").each(function(){var b=a(this);b.dataSM("scroll-arrows")&&b.dataSM("scroll-arrows").remove(),b.dataSM("shown-before")&&((d.opts.subMenusMinWidth||d.opts.subMenusMaxWidth)&&b.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),b.dataSM("scroll-arrows")&&b.dataSM("scroll-arrows").remove(),b.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(b.attr("id")||"").indexOf(d.accessIdPrefix)&&b.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("ie-shim").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var b=a(this);0==b.attr("id").indexOf(d.accessIdPrefix)&&b.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),b||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),e.splice(a.inArray(this,e),1))},disable:function(b){if(!this.disabled){if(this.menuHideAll(),!b&&!this.opts.isPopup&&this.$root.is(":visible")){var c=this.$root.offset();this.$disableOverlay=a('').css({position:"absolute",top:c.top,left:c.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(b){return this.$touchScrollingSub?void(this.$touchScrollingSub=null):void((this.visibleSubMenus.length&&!a.contains(this.$root[0],b.target)||a(b.target).is("a"))&&this.menuHideAll())},docTouchEnd:function(b){if(this.lastTouch){if(this.visibleSubMenus.length&&(void 0===this.lastTouch.x2||this.lastTouch.x1==this.lastTouch.x2)&&(void 0===this.lastTouch.y2||this.lastTouch.y1==this.lastTouch.y2)&&(!this.lastTouch.target||!a.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var c=this;this.hideTimeout=setTimeout(function(){c.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(a){if(this.lastTouch){var b=a.originalEvent.touches[0];this.lastTouch.x2=b.pageX,this.lastTouch.y2=b.pageY}},docTouchStart:function(a){var b=a.originalEvent.touches[0];this.lastTouch={x1:b.pageX,y1:b.pageY,target:b.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(b){for(var c=a(b).closest("ul");c.dataSM("in-mega");)c=c.parent().closest("ul");return c[0]||null},getHeight:function(a){return this.getOffset(a,!0)},getOffset:function(a,b){var c;"none"==a.css("display")&&(c={position:a[0].style.position,visibility:a[0].style.visibility},a.css({position:"absolute",visibility:"hidden"}).show());var d=a[0].getBoundingClientRect&&a[0].getBoundingClientRect(),e=d&&(b?d.height||d.bottom-d.top:d.width||d.right-d.left);return e||0===e||(e=b?a[0].offsetHeight:a[0].offsetWidth),c&&a.hide().css(c),e},getStartZIndex:function(a){var b=parseInt(this[a?"$root":"$firstSub"].css("z-index"));return!a&&isNaN(b)&&(b=parseInt(this.$root.css("z-index"))),isNaN(b)?1:b},getTouchPoint:function(a){return a.touches&&a.touches[0]||a.changedTouches&&a.changedTouches[0]||a},getViewport:function(a){var b=a?"Height":"Width",c=document.documentElement["client"+b],d=window["inner"+b];return d&&(c=Math.min(c,d)),c},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(a){return this.getOffset(a)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(a){return this.handleEvents()&&!this.isLinkInMegaMenu(a)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"block"==this.$firstLink.css("display")},isFixed:function(){var b="fixed"==this.$root.css("position");return b||this.$root.parentsUntil("body").each(function(){return"fixed"==a(this).css("position")?(b=!0,!1):void 0}),b},isLinkInMegaMenu:function(b){return a(this.getClosestMenu(b[0])).hasClass("mega-menu")},isTouchMode:function(){return!g||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(b,c){var d=b.closest("ul"),e=d.dataSM("level");if(e>1&&(!this.activatedItems[e-2]||this.activatedItems[e-2][0]!=d.dataSM("parent-a")[0])){var f=this;a(d.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(d).each(function(){f.itemActivate(a(this).dataSM("parent-a"))})}if((!this.isCollapsible()||c)&&this.menuHideSubMenus(this.activatedItems[e-1]&&this.activatedItems[e-1][0]==b[0]?e:e-1),this.activatedItems[e-1]=b,this.$root.triggerHandler("activate.smapi",b[0])!==!1){var g=b.dataSM("sub");g&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(g)}},itemBlur:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&this.$root.triggerHandler("blur.smapi",c[0])},itemClick:function(b){var c=a(b.currentTarget);if(this.handleItemEvents(c)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==c.closest("ul")[0])return this.$touchScrollingSub=null,b.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",c[0])===!1)return!1;var d=a(b.target).is("span.sub-arrow"),e=c.dataSM("sub"),f=e?2==e.dataSM("level"):!1;if(e&&!e.is(":visible")){if(this.opts.showOnClick&&f&&(this.clickActivated=!0),this.itemActivate(c),e.is(":visible"))return this.focusActivated=!0,!1}else if(this.isCollapsible()&&d)return this.itemActivate(c),this.menuHide(e),!1;return this.opts.showOnClick&&f||c.hasClass("disabled")||this.$root.triggerHandler("select.smapi",c[0])===!1?!1:void 0}},itemDown:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&c.dataSM("mousedown",!0)},itemEnter:function(b){var c=a(b.currentTarget);if(this.handleItemEvents(c)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var d=this;this.showTimeout=setTimeout(function(){d.itemActivate(c)},this.opts.showOnClick&&1==c.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",c[0])}},itemFocus:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&(!this.focusActivated||this.isTouchMode()&&c.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==c[0]||this.itemActivate(c,!0),this.$root.triggerHandler("focus.smapi",c[0]))},itemLeave:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&(this.isTouchMode()||(c[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),c.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",c[0]))},menuHide:function(b){if(this.$root.triggerHandler("beforehide.smapi",b[0])!==!1&&(b.stop(!0,!0),"none"!=b.css("display"))){var c=function(){b.css("z-index","")};this.isCollapsible()?this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,b,c):b.hide(this.opts.collapsibleHideDuration,c):this.opts.hideFunction?this.opts.hideFunction.call(this,b,c):b.hide(this.opts.hideDuration,c),b.dataSM("ie-shim")&&b.dataSM("ie-shim").remove().css({"-webkit-transform":"",transform:""}),b.dataSM("scroll")&&(this.menuScrollStop(b),b.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).unbind(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),b.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),b.attr({"aria-expanded":"false","aria-hidden":"true"});var d=b.dataSM("level");this.activatedItems.splice(d-1,1),this.visibleSubMenus.splice(a.inArray(b,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",b[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var a=this.opts.isPopup?1:0,b=this.visibleSubMenus.length-1;b>=a;b--)this.menuHide(this.visibleSubMenus[b]);this.opts.isPopup&&(this.$root.stop(!0,!0),this.$root.is(":visible")&&(this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration),this.$root.dataSM("ie-shim")&&this.$root.dataSM("ie-shim").remove())),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(a){for(var b=this.activatedItems.length-1;b>=a;b--){var c=this.activatedItems[b].dataSM("sub");c&&this.menuHide(c)}},menuIframeShim:function(b){f&&this.opts.overlapControlsInIE&&!b.dataSM("ie-shim")&&b.dataSM("ie-shim",a("").attr({src:"javascript:0",tabindex:-9}).css({position:"absolute",top:"auto",left:"0",opacity:0,border:"0"}))},menuInit:function(a){if(!a.dataSM("in-mega")){a.hasClass("mega-menu")&&a.find("ul").dataSM("in-mega",!0);for(var b=2,c=a[0];(c=c.parentNode.parentNode)!=this.$root[0];)b++;var d=a.prevAll("a").eq(-1);d.length||(d=a.prevAll().find("a").eq(-1)),d.addClass("has-submenu").dataSM("sub",a),a.dataSM("parent-a",d).dataSM("level",b).parent().dataSM("sub",a);var e=d.attr("id")||this.accessIdPrefix+ ++this.idInc,f=a.attr("id")||this.accessIdPrefix+ ++this.idInc;d.attr({id:e,"aria-haspopup":"true","aria-controls":f,"aria-expanded":"false"}),a.attr({id:f,role:"group","aria-hidden":"true","aria-labelledby":e,"aria-expanded":"false"}),this.opts.subIndicators&&d[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(b){var c,e,f=b.dataSM("parent-a"),g=f.closest("li"),i=g.parent(),j=b.dataSM("level"),k=this.getWidth(b),l=this.getHeight(b),m=f.offset(),n=m.left,o=m.top,p=this.getWidth(f),q=this.getHeight(f),r=a(window),s=r.scrollLeft(),t=r.scrollTop(),u=this.getViewportWidth(),v=this.getViewportHeight(),w=i.parent().is("[data-sm-horizontal-sub]")||2==j&&!i.hasClass("sm-vertical"),x=this.opts.rightToLeftSubMenus&&!g.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&g.is("[data-sm-reverse]"),y=2==j?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,z=2==j?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(w?(c=x?p-k-y:y,e=this.opts.bottomToTopSubMenus?-l-z:q+z):(c=x?y-k:p-y,e=this.opts.bottomToTopSubMenus?q-z-l:z),this.opts.keepInViewport){var A=n+c,B=o+e;if(x&&s>A?c=w?s-A+c:p-y:!x&&A+k>s+u&&(c=w?s+u-k-A+c:y-k),w||(v>l&&B+l>t+v?e+=t+v-l-B:(l>=v||t>B)&&(e+=t-B)),w&&(B+l>t+v+.49||t>B)||!w&&l>v+.49){var C=this;b.dataSM("scroll-arrows")||b.dataSM("scroll-arrows",a([a('')[0],a('')[0]]).bind({mouseenter:function(){b.dataSM("scroll").up=a(this).hasClass("scroll-up"),C.menuScroll(b)},mouseleave:function(a){C.menuScrollStop(b),C.menuScrollOut(b,a)},"mousewheel DOMMouseScroll":function(a){a.preventDefault()}}).insertAfter(b));var D=".smartmenus_scroll";b.dataSM("scroll",{y:this.cssTransforms3d?0:e-q,step:1,itemH:q,subH:l,arrowDownH:this.getHeight(b.dataSM("scroll-arrows").eq(1))}).bind(d([["mouseover",function(a){C.menuScrollOver(b,a)}],["mouseout",function(a){C.menuScrollOut(b,a)}],["mousewheel DOMMouseScroll",function(a){C.menuScrollMousewheel(b,a)}]],D)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:c+(parseInt(b.css("border-left-width"))||0),width:k-(parseInt(b.css("border-left-width"))||0)-(parseInt(b.css("border-right-width"))||0),zIndex:b.css("z-index")}).eq(w&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()&&b.css({"touch-action":"none","-ms-touch-action":"none"}).bind(d([[h?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp",function(a){C.menuScrollTouch(b,a)}]],D))}}b.css({top:"auto",left:"0",marginLeft:c,marginTop:e-q}),this.menuIframeShim(b),b.dataSM("ie-shim")&&b.dataSM("ie-shim").css({zIndex:b.css("z-index"),width:k,height:l,marginLeft:c,marginTop:e-q})},menuScroll:function(a,b,c){var d,e=a.dataSM("scroll"),f=a.dataSM("scroll-arrows"),h=e.up?e.upEnd:e.downEnd;if(!b&&e.momentum){if(e.momentum*=.92,d=e.momentum,.5>d)return void this.menuScrollStop(a)}else d=c||(b||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(e.step));var i=a.dataSM("level");if(this.activatedItems[i-1]&&this.activatedItems[i-1].dataSM("sub")&&this.activatedItems[i-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(i-1),e.y=e.up&&h<=e.y||!e.up&&h>=e.y?e.y:Math.abs(h-e.y)>d?e.y+(e.up?d:-d):h,a.add(a.dataSM("ie-shim")).css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+e.y+"px, 0)",transform:"translate3d(0, "+e.y+"px, 0)"}:{marginTop:e.y}),g&&(e.up&&e.y>e.downEnd||!e.up&&e.y0;a.dataSM("scroll-arrows").eq(c?0:1).is(":visible")&&(a.dataSM("scroll").up=c,this.menuScroll(a,!0))}b.preventDefault()},menuScrollOut:function(b,c){g&&(/^scroll-(up|down)/.test((c.relatedTarget||"").className)||(b[0]==c.relatedTarget||a.contains(b[0],c.relatedTarget))&&this.getClosestMenu(c.relatedTarget)==b[0]||b.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(b,c){if(g&&!/^scroll-(up|down)/.test(c.target.className)&&this.getClosestMenu(c.target)==b[0]){this.menuScrollRefreshData(b);var d=b.dataSM("scroll"),e=a(window).scrollTop()-b.dataSM("parent-a").offset().top-d.itemH;b.dataSM("scroll-arrows").eq(0).css("margin-top",e).end().eq(1).css("margin-top",e+this.getViewportHeight()-d.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(b){var c=b.dataSM("scroll"),d=a(window).scrollTop()-b.dataSM("parent-a").offset().top-c.itemH;this.cssTransforms3d&&(d=-(parseFloat(b.css("margin-top"))-d)),a.extend(c,{upEnd:d,downEnd:d+this.getViewportHeight()-c.subH})},menuScrollStop:function(a){return this.scrollTimeout?(k(this.scrollTimeout),this.scrollTimeout=0,a.dataSM("scroll").step=1,!0):void 0},menuScrollTouch:function(b,d){if(d=d.originalEvent,c(d)){var e=this.getTouchPoint(d);if(this.getClosestMenu(e.target)==b[0]){var f=b.dataSM("scroll");if(/(start|down)$/i.test(d.type))this.menuScrollStop(b)?(d.preventDefault(),this.$touchScrollingSub=b):this.$touchScrollingSub=null,this.menuScrollRefreshData(b),a.extend(f,{touchStartY:e.pageY,touchStartTime:d.timeStamp});else if(/move$/i.test(d.type)){var g=void 0!==f.touchY?f.touchY:f.touchStartY;if(void 0!==g&&g!=e.pageY){this.$touchScrollingSub=b;var h=gthis.getWidth(a)&&a.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(a),a.dataSM("ie-shim")&&a.dataSM("ie-shim").insertBefore(a)}var d=function(){a.css("overflow","")};this.isCollapsible()?this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,a,d):a.show(this.opts.collapsibleShowDuration,d):this.opts.showFunction?this.opts.showFunction.call(this,a,d):a.show(this.opts.showDuration,d),b.attr("aria-expanded","true"),a.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(a),this.$root.triggerHandler("show.smapi",a[0])}},popupHide:function(a){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var b=this;this.hideTimeout=setTimeout(function(){b.menuHideAll()},a?1:this.opts.hideTimeout)},popupShow:function(a,b){if(!this.opts.isPopup)return void alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.');if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0).stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:a,top:b}),this.menuIframeShim(this.$root),this.$root.dataSM("ie-shim")&&this.$root.dataSM("ie-shim").css({zIndex:this.$root.css("z-index"),width:this.getWidth(this.$root),height:this.getHeight(this.$root),left:a,top:b}).insertBefore(this.$root);var c=this,d=function(){c.$root.css("overflow","")};this.opts.showFunction?this.opts.showFunction.call(this,this.$root,d):this.$root.show(this.opts.showDuration,d),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(b){if(this.handleEvents())switch(b.keyCode){case 27:var c=this.activatedItems[0];if(c){this.menuHideAll(),c[0].focus();var d=c.dataSM("sub");d&&this.menuHide(d)}break;case 32:var e=a(b.target);if(e.is("a")&&this.handleItemEvents(e)){var d=e.dataSM("sub");d&&!d.is(":visible")&&(this.itemClick({currentTarget:b.target}),b.preventDefault())}}},rootOut:function(a){if(this.handleEvents()&&!this.isTouchMode()&&a.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var b=this;this.hideTimeout=setTimeout(function(){b.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(a){this.handleEvents()&&!this.isTouchMode()&&a.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(a){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==a.type){var b=this.isCollapsible();this.wasCollapsible&&b||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=b}}else if(this.$disableOverlay){var c=this.$root.offset();this.$disableOverlay.css({top:c.top,left:c.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),a.fn.dataSM=function(a,b){return b?this.data(a+"_smartmenus",b):this.data(a+"_smartmenus")},a.fn.removeDataSM=function(a){return this.removeData(a+"_smartmenus")},a.fn.smartmenus=function(b){if("string"==typeof b){var c=arguments,d=b;return Array.prototype.shift.call(c),this.each(function(){var b=a(this).data("smartmenus");b&&b[d]&&b[d].apply(b,c)})}var e=a.extend({},a.fn.smartmenus.defaults,b);return this.each(function(){new a.SmartMenus(this,e)})},a.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"prepend",subIndicatorsText:"+",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(a,b){a.fadeOut(200,b)},collapsibleShowDuration:0,collapsibleShowFunction:function(a,b){a.slideDown(200,b)},collapsibleHideDuration:0,collapsibleHideFunction:function(a,b){a.slideUp(200,b)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,overlapControlsInIE:!0},a});
// Source: assets/plugins/smartmenus/addons/bootstrap/jquery.smartmenus.bootstrap.min.js
/*! Pxlrtheme - v1.4.9 - 2016-08-17
*
* Copyright (c) 2016; * Licensed GPLv2+ */
!function(a){"function"==typeof define&&define.amd?define(["jquery","jquery.smartmenus"],a):"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){return a.extend(a.SmartMenus.Bootstrap={},{keydownFix:!1,init:function(){var b=a("ul.navbar-nav:not([data-sm-skip])");b.each(function(){function b(){e.find("a.current").parent().addClass("active"),e.find("a.has-submenu").each(function(){var b=a(this);b.is('[data-toggle="dropdown"]')&&b.dataSM("bs-data-toggle-dropdown",!0).removeAttr("data-toggle"),b.is('[role="button"]')&&b.dataSM("bs-role-button",!0).removeAttr("role")}),e.find(".dropdown-menu").prev("a").append(' ')}function c(){e.find("a.current").parent().removeClass("active"),e.find("a.has-submenu").each(function(){var b=a(this);b.dataSM("bs-data-toggle-dropdown")&&b.attr("data-toggle","dropdown").removeDataSM("bs-data-toggle-dropdown"),b.dataSM("bs-role-button")&&b.attr("role","button").removeDataSM("bs-role-button")})}function d(a){var b=f.getViewportWidth();if(b!=g||a){var c=e.find(".caret");f.isCollapsible()?(e.addClass("sm-collapsible"),e.is("[data-sm-skip-collapsible-behavior]")||c.addClass("sub-arrow")):(e.removeClass("sm-collapsible"),e.is("[data-sm-skip-collapsible-behavior]")||c.removeClass("sub-arrow")),g=b}}var e=a(this),f=e.data("smartmenus");if(!f){e.smartmenus({subMenusSubOffsetX:2,subMenusSubOffsetY:-6,subIndicators:!1,collapsibleShowFunction:null,collapsibleHideFunction:null,rightToLeftSubMenus:e.hasClass("navbar-right"),bottomToTopSubMenus:e.closest(".navbar").hasClass("navbar-fixed-bottom"),showFunction:function(a,b){a.show(0),a.addClass("awake"),b.call(this)},hideFunction:function(a,b){a.removeClass("awake"),setTimeout(function(){a.hide(0)},300)}}).bind({"show.smapi":function(b,c){var d=a(c),e=d.dataSM("scroll-arrows");e&&e.css("background-color",a(document.body).css("background-color")),d.parent().addClass("open")},"hide.smapi":function(b,c){a(c).parent().removeClass("open")}}),b(),f=e.data("smartmenus"),f.isCollapsible=function(){return!/^(left|right)$/.test(this.$firstLink.parent().css("float"))},f.refresh=function(){a.SmartMenus.prototype.refresh.call(this),b(),d(!0)},f.destroy=function(b){c(),a.SmartMenus.prototype.destroy.call(this,b)},e.is("[data-sm-skip-collapsible-behavior]")&&e.bind({"click.smapi":function(b,c){if(f.isCollapsible()){var d=a(c),e=d.parent().dataSM("sub");if(e&&e.dataSM("shown-before")&&e.is(":visible"))return f.itemActivate(d),f.menuHide(e),!1}}});var g;d(),a(window).bind("resize.smartmenus"+f.rootId,d)}}),b.length&&!a.SmartMenus.Bootstrap.keydownFix&&(a(document).off("keydown.bs.dropdown.data-api",".dropdown-menu"),a.fn.dropdown&&a.fn.dropdown.Constructor&&a(document).on("keydown.bs.dropdown.data-api",'.dropdown-menu:not([id^="sm-"])',a.fn.dropdown.Constructor.prototype.keydown),a.SmartMenus.Bootstrap.keydownFix=!0)}}),a(a.SmartMenus.Bootstrap.init),a});
// Source: assets/plugins/smartmenus/addons/keyboard/jquery.smartmenus.keyboard.min.js
/*! Pxlrtheme - v1.4.9 - 2016-08-17
*
* Copyright (c) 2016; * Licensed GPLv2+ */
!function(a){function b(a){return a.find("> li > a:not(.disabled)").eq(0)}function c(a){return a.find("> li > a:not(.disabled)").eq(-1)}function d(a,c){var d=a.nextAll("li").children("a:not(.disabled)").eq(0);return c||d.length?d:b(a.parent())}function e(a,b){var d=a.prevAll("li").children("a:not(.disabled)").eq(0);return b||d.length?d:c(a.parent())}a.fn.focusSM=function(){return this.length&&this[0].focus&&this[0].focus(),this},a.extend(a.SmartMenus.Keyboard={},{docKeydown:function(f){var g=f.keyCode;if(/(27|37|38|39|40)/.test(g)){var h=a(this),i=h.data("smartmenus"),j=a(f.target);if(i&&j.is("a")){var k=j.parent(),l=k.parent(),m=l.dataSM("level");if(m){switch(i.opts.rightToLeftSubMenus&&(37==g?g=39:39==g&&(g=37)),g){case 27:if(i.visibleSubMenus[m])i.menuHide(i.visibleSubMenus[m]);else if(1==m)if(i.opts.isPopup&&i.menuHideAll(),i.opts.keyboardEscapeFocus)try{i.opts.keyboardEscapeFocus.focusSM()}catch(f){}else{var n=h.find("a, input, select, button, textarea").eq(-1),o=a("a, input, select, button, textarea"),p=o.index(n[0])+1;o.eq(p).focusSM()}else l.dataSM("parent-a").focusSM(),i.menuHide(i.visibleSubMenus[m-1]);break;case 37:if(i.isCollapsible())break;m>2||2==m&&h.hasClass("sm-vertical")?i.activatedItems[m-2].focusSM():h.hasClass("sm-vertical")||e(i.activatedItems[0].parent()).focusSM();break;case 38:if(i.isCollapsible()){var q;m>1&&(q=b(l)).length&&j[0]==q[0]?i.activatedItems[m-2].focusSM():e(k).focusSM()}else 1==m&&!h.hasClass("sm-vertical")&&i.visibleSubMenus[m]&&i.opts.bottomToTopSubMenus?c(i.visibleSubMenus[m]).focusSM():(m>1||h.hasClass("sm-vertical"))&&e(k).focusSM();break;case 39:if(i.isCollapsible())break;1!=m&&i.visibleSubMenus[m]||h.hasClass("sm-vertical")?i.visibleSubMenus[m]&&!i.visibleSubMenus[m].hasClass("mega-menu")&&b(i.visibleSubMenus[m]).focusSM():d(i.activatedItems[0].parent()).focusSM();break;case 40:if(i.isCollapsible()){var r,s;if(i.visibleSubMenus[m]&&!i.visibleSubMenus[m].hasClass("mega-menu")&&(r=b(i.visibleSubMenus[m])).length)r.focusSM();else if(m>1&&(s=c(l)).length&&j[0]==s[0]){for(var t=i.activatedItems[m-2].parent(),u=null;t.is("li")&&!(u=d(t,!0)).length;)t=t.parent().parent();u.focusSM()}else d(k).focusSM()}else 1!=m||h.hasClass("sm-vertical")||!i.visibleSubMenus[m]||i.opts.bottomToTopSubMenus?(m>1||h.hasClass("sm-vertical"))&&d(k).focusSM():b(i.visibleSubMenus[m]).focusSM()}f.stopPropagation(),f.preventDefault()}}}}}),a(document).delegate("ul.sm","keydown.smartmenus",a.SmartMenus.Keyboard.docKeydown),a.extend(a.SmartMenus.prototype,{keyboardSetEscapeFocus:function(a){this.opts.keyboardEscapeFocus=a},keyboardSetHotkey:function(c,d){var e=this;a(document).bind("keydown.smartmenus"+this.rootId,function(f){if(c==f.keyCode){var g=!0;d&&("string"==typeof d&&(d=[d]),a.each(["ctrlKey","shiftKey","altKey","metaKey"],function(b,c){return a.inArray(c,d)>=0&&!f[c]||a.inArray(c,d)<0&&f[c]?(g=!1,!1):void 0})),g&&(b(e.$root).focusSM(),f.stopPropagation(),f.preventDefault())}})}})}(jQuery);
// Source: assets/js/roxtheme.min.js
/*! Pxlrtheme - v1.4.9 - 2016-08-17
*
* Copyright (c) 2016; * Licensed GPLv2+ */
var PxlrthemeCache={$window:jQuery(window),$head:jQuery("#masthead"),$body:jQuery("body")},Pxlrtheme=function(a){return{initFormPlaceHolder:function(){"placeholder"in document.createElement("input")||(a("input[placeholder], textarea[placeholder]").each(function(){var b=a(this).attr("placeholder");""===this.value&&(this.value=b),a(this).focus(function(){this.value===b&&(this.value="")}).blur(function(){""===a.trim(this.value)&&(this.value=b)})}),a("form").submit(function(){a(this).find("input[placeholder], textarea[placeholder]").each(function(){this.value===a(this).attr("placeholder")&&(this.value="")})}))},initColorbox:function(){a("a.gallery").colorbox({rel:"gallery",maxWidth:"95%",maxHeight:"90%",retinaImage:!0})},initTooltip:function(){a("a[data-toggle=tooltip]").tooltip()},initMasonry:function(){var b=a(".grid-container");b.length>0&&b.imagesLoaded(function(){b.masonry({itemSelector:".post-grid-wrap"})})},initImageEffects:function(){Modernizr.touch?(a(".close-overlay").removeClass("hidden"),a(".effects").click(function(b){a(this).hasClass("hover")||a(this).addClass("hover")}),a(".close-overlay").click(function(b){b.preventDefault(),b.stopPropagation(),a(this).closest(".effects").hasClass("hover")&&a(this).closest(".effects").removeClass("hover")})):a(".effect").mouseenter(function(){a(this).addClass("hover")}).mouseleave(function(){a(this).removeClass("hover")})},showBackToTop:function(){var b=300,c=1200,d=a(".cd-top"),e=a(window);e.scrollTop()>b?(d.addClass("cd-is-visible"),PxlrthemeCache.$body.addClass("scrolled")):d.removeClass("cd-is-visible cd-fade-out"),e.scrollTop()>c&&d.addClass("cd-fade-out")},initBackToTop:function(){a(".cd-top").on("click",function(b){b.preventDefault(),a("body,html").animate({scrollTop:0},700)})},initTransparentHeader:function(){if(!PxlrthemeCache.$body.hasClass("transparent-header")){var b=a("#masthead").height(),c=a(".transparent-header .page-builder .roxtheme-row:first-of-type .container:first-of-type, .transparent-header .page-builder .roxtheme-row:first-of-type .container-fluid:first-of-type");c.css("padding-top",b+20)}},init:function(){Pxlrtheme.initTransparentHeader(),new WOW({offset:100}).init(),Pxlrtheme.initImageEffects(),Pxlrtheme.initColorbox(),Pxlrtheme.initTooltip(),Pxlrtheme.initBackToTop(),Pxlrtheme.initMasonry(),Pxlrtheme.initFormPlaceHolder()}}}(jQuery);PxlrthemeCache.$window.resize(Pxlrtheme.initTransparentHeader);var PageBuilder=function(a){return{initEvents:function(){a(".sl-slider-wrapper").each(function(){var b,c=a(this),d=c.find(".sl-slide"),e=c.data(),f={autoplay:!0,onBeforeChange:function(a,c){setTimeout(function(){d.removeClass("sl-active-slide"),d.eq(c).addClass("sl-active-slide")},200),b.removeClass("nav-dot-current"),b.eq(c).addClass("nav-dot-current")}},g=d.length;a.extend(f,e),c.append('"),b=c.find(".nav-dots > span"),b.first().addClass("nav-dot-current");var h=c.slitslider(f),i=c.find(".slit-nav-buttons .next"),j=c.find(".slit-nav-buttons .prev");d.first().addClass("sl-active-slide"),b.each(function(c){a(this).on("click",function(d){var e=a(this);return h.isActive()||(b.removeClass("nav-dot-current"),e.addClass("nav-dot-current")),h.jump(c+1),!1})}),i.on("click",function(a){return h.next(),!1}),j.on("click",function(a){return h.previous(),!1})})}}}(jQuery);jQuery(window).scroll(function(){Pxlrtheme.showBackToTop()}),jQuery(document).ready(function(){PageBuilder.initEvents(),Pxlrtheme.init()});