/* Plugin Name: BrowserSelector Written by: Okler Themes - (http://www.okler.net) */ function scrollAndFocus(a,b,c){!function(d){d("body").addClass("scrolling"),d("html, body").animate({scrollTop:d(a).offset().top-(c?c:0)},300,function(){d("body").removeClass("scrolling"),setTimeout(function(){d(b).focus()},500)})}(jQuery)}!function(a){a.extend({browserSelector:function(){!function(a){(jQuery.browser=jQuery.browser||{}).mobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4))}(navigator.userAgent||navigator.vendor||window.opera);var b,c="ontouchstart"in window||navigator.msMaxTouchPoints,d=navigator.userAgent,e=d.toLowerCase(),f=function(a){return e.indexOf(a)>-1},g="gecko",h="webkit",i="safari",j="opera",k=document.documentElement,l=[!/opera|webtv/i.test(e)&&/msie\s(\d)/.test(e)?"ie ie"+parseFloat(navigator.appVersion.split("MSIE")[1]):f("firefox/2")?g+" ff2":f("firefox/3.5")?g+" ff3 ff3_5":f("firefox/3")?g+" ff3":f("gecko/")?g:f("opera")?j+(/version\/(\d+)/.test(e)?" "+j+RegExp.jQuery1:/opera(\s|\/)(\d+)/.test(e)?" "+j+RegExp.jQuery2:""):f("konqueror")?"konqueror":f("chrome")?h+" chrome":f("iron")?h+" iron":f("applewebkit/")?h+" "+i+(/version\/(\d+)/.test(e)?" "+i+RegExp.jQuery1:""):f("mozilla/")?g:"",f("j2me")?"mobile":f("iphone")?"iphone":f("ipod")?"ipod":f("mac")?"mac":f("darwin")?"mac":f("webtv")?"webtv":f("win")?"win":f("freebsd")?"freebsd":f("x11")||f("linux")?"linux":"","js"];b=l.join(" "),a.browser.mobile&&(b+=" mobile"),c&&(b+=" touch"),k.className+=" "+b;var m=!window.ActiveXObject&&"ActiveXObject"in window;if(m)return void a("html").removeClass("gecko").addClass("ie ie11");var n=document.documentMode||/Edge/.test(navigator.userAgent);return n?void a("html").addClass("edge"):void(/iPad|iPhone|iPod/.test(navigator.platform)&&a(document).ready(function(a){a(".image-frame").attr("onclick","return true")}))}}),a.browserSelector()}(jQuery),function(a){function b(a,b){return a.toFixed(b.decimals)}a.fn.countTo=function(b){return b=b||{},a(this).each(function(){function c(){k+=g,j++,d(k),"function"==typeof e.onUpdate&&e.onUpdate.call(h,k),j>=f&&(i.removeData("countTo"),clearInterval(l.interval),k=e.to,"function"==typeof e.onComplete&&e.onComplete.call(h,k))}function d(a){var b=e.formatter.call(h,a,e);i.html(b)}var e=a.extend({},a.fn.countTo.defaults,{from:a(this).data("from"),to:a(this).data("to"),speed:a(this).data("speed"),refreshInterval:a(this).data("refresh-interval"),decimals:a(this).data("decimals")},b),f=Math.ceil(e.speed/e.refreshInterval),g=(e.to-e.from)/f,h=this,i=a(this),j=0,k=e.from,l=i.data("countTo")||{};i.data("countTo",l),l.interval&&clearInterval(l.interval),l.interval=setInterval(c,e.refreshInterval),d(k)})},a.fn.countTo.defaults={from:0,to:0,speed:1e3,refreshInterval:100,decimals:0,formatter:b,onUpdate:null,onComplete:null}}(jQuery),function(a){/** * Copyright 2012, Digital Fusion * Licensed under the MIT license. * http://teamdf.com/jquery-plugins/license/ * * @author Sam Sehnert * @desc A small plugin that checks whether elements are within * the user visible viewport of a web browser. * only accounts for vertical position, not horizontal. */ var b=a(window);a.fn.visible=function(c,d,e,f){if(!(this.length<1)){e=e||"both";var g=this.length>1?this.eq(0):this,h="undefined"!=typeof f&&null!==f,i=h?a(f):b,j=h?i.position():0,k=g.get(0),l=i.outerWidth(),m=i.outerHeight(),n=d===!0?k.offsetWidth*k.offsetHeight:!0;if("function"==typeof k.getBoundingClientRect){var o=k.getBoundingClientRect(),p=h?o.top-j.top>=0&&o.top=0&&o.top0&&o.bottom<=m+j.top:o.bottom>0&&o.bottom<=m,r=h?o.left-j.left>=0&&o.left=0&&o.left0&&o.right0&&o.right<=l,t=c?p||q:p&&q,u=c?r||s:r&&s,t=o.top<0&&o.bottom>m?!0:t,u=o.left<0&&o.right>l?!0:u;if("both"===e)return n&&t&&u;if("vertical"===e)return n&&t;if("horizontal"===e)return n&&u}else{var v=h?0:j,w=v+m,x=i.scrollLeft(),y=x+l,z=g.position(),A=z.top,B=A+g.height(),C=z.left,D=C+g.width(),E=c===!0?B:A,F=c===!0?A:B,G=c===!0?D:C,H=c===!0?C:D;if("both"===e)return!!n&&w>=F&&E>=v&&y>=H&&G>=x;if("vertical"===e)return!!n&&w>=F&&E>=v;if("horizontal"===e)return!!n&&y>=H&&G>=x}}}}(jQuery),function(a){"use strict";var b,c={action:function(){},runOnLoad:!1,duration:500},d=c,e=!1,f={};f.init=function(){for(var b=0;b<=arguments.length;b++){var c=arguments[b];switch(typeof c){case"function":d.action=c;break;case"boolean":d.runOnLoad=c;break;case"number":d.duration=c}}return this.each(function(){d.runOnLoad&&d.action(),a(this).resize(function(){f.timedAction.call(this)})})},f.timedAction=function(a,c){var f=function(){var a=d.duration;if(e){var c=new Date-b;if(a=d.duration-c,0>=a)return clearTimeout(e),e=!1,void d.action()}g(a)},g=function(a){e=setTimeout(f,a)};b=new Date,"number"==typeof c&&(d.duration=c),"function"==typeof a&&(d.action=a),e||f()},a.fn.afterResize=function(a){return f[a]?f[a].apply(this,Array.prototype.slice.call(arguments,1)):f.init.apply(this,arguments)}}(jQuery),function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){var b="waitForImages",c=function(a){return a.srcset&&a.sizes}(new Image);a.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage","cursor"],hasImageAttributes:["srcset"]},a.expr.pseudos["has-src"]=function(b){return a(b).is('img[src][src!=""]')},a.expr.pseudos.uncached=function(b){return a(b).is(":has-src")?!b.complete:!1},a.fn.waitForImages=function(){var d,e,f,g=0,h=0,i=a.Deferred(),j=this,k=[],l=a.waitForImages.hasImageProperties||[],m=a.waitForImages.hasImageAttributes||[],n=/url\(\s*(['"]?)(.*?)\1\s*\)/g;if(a.isPlainObject(arguments[0])?(f=arguments[0].waitForAll,e=arguments[0].each,d=arguments[0].finished):1===arguments.length&&"boolean"===a.type(arguments[0])?f=arguments[0]:(d=arguments[0],e=arguments[1],f=arguments[2]),d=d||a.noop,e=e||a.noop,f=!!f,!a.isFunction(d)||!a.isFunction(e))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var b=a(this);f?b.find("*").addBack().each(function(){var b=a(this);b.is("img:has-src")&&!b.is("[srcset]")&&k.push({src:b.attr("src"),element:b[0]}),a.each(l,function(a,c){var d,e=b.css(c);if(!e)return!0;for(;d=n.exec(e);)k.push({src:d[2],element:b[0]})}),a.each(m,function(a,c){var d=b.attr(c);return d?void k.push({src:b.attr("src"),srcset:b.attr("srcset"),element:b[0]}):!0})}):b.find("img:has-src").each(function(){k.push({src:this.src,element:this})})}),g=k.length,h=0,0===g&&(d.call(j),i.resolveWith(j)),a.each(k,function(f,k){var l=new Image,m="load."+b+" error."+b;a(l).one(m,function n(b){var c=[h,g,"load"==b.type];return h++,e.apply(k.element,c),i.notifyWith(k.element,c),a(this).off(m,n),h==g?(d.call(j[0]),i.resolveWith(j[0]),!1):void 0}),c&&k.srcset&&(l.srcset=k.srcset,l.sizes=k.sizes),l.src=k.src}),i.promise()}}),function(a){a.fn.hover3d=function(b){var c=a.extend({selector:null,perspective:1e3,sensitivity:20,invert:!1,shine:!1,hoverInClass:"hover-in",hoverOutClass:"hover-out",hoverClass:"hover-3d"},b);return a.browser.mobile?void 0:this.each(function(){function b(a){g.addClass(c.hoverInClass+" "+c.hoverClass),currentX=currentY=0,setTimeout(function(){g.removeClass(c.hoverInClass)},400)}function d(a){var b=g.innerWidth(),d=g.innerHeight(),e=Math.round(a.pageX-g.offset().left),f=Math.round(a.pageY-g.offset().top),i=c.invert?(b/2-e)/c.sensitivity:-(b/2-e)/c.sensitivity,j=c.invert?-(d/2-f)/c.sensitivity:(d/2-f)/c.sensitivity,k=e-b/2,l=f-d/2,m=Math.atan2(l,k),n=180*m/Math.PI-90;0>n&&(n+=360),g.css({perspective:c.perspective+"px",transform:"rotateY("+i/2+"deg) rotateX("+j/2+"deg) translateX("+i/2+"px) scale(1.05)"}),g.find(".image-frame-action").css({perspective:c.perspective+"px",transform:"rotateY("+i/5+"deg) rotateX("+j/5+"deg) translateY("+j/5+"px) translateX("+i/5+"px)"}),g.find(".image-frame-inner-border").css({perspective:c.perspective+"px",transform:"translateX("+i/2+"px)"}),h.css("background","linear-gradient("+n+"deg, rgba(255,255,255,"+a.offsetY/d*.5+") 0%,rgba(255,255,255,0) 80%)")}function e(){g.addClass(c.hoverOutClass+" "+c.hoverClass),g.css({perspective:c.perspective+"px",transform:"none"}),setTimeout(function(){g.removeClass(c.hoverOutClass+" "+c.hoverClass),currentX=currentY=0},400)}var f=a(this),g=f.find(c.selector);currentX=0,currentY=0,c.shine&&g.append('
');var h=a(this).find(".shine");f.css({perspective:c.perspective+"px"}),g.css({perspective:c.perspective+"px"}),h.css({position:"absolute",top:0,left:0,bottom:0,right:0,transform:"translateZ(1px)","z-index":9}),f.on("mouseenter",function(){return b()}),f.on("mousemove",function(a){return d(a)}),f.on("mouseleave",function(){return e()})})}}(jQuery),function(a){a.isFunction(a.fn.hover3d)&&a(function(){a(".hover-effect-3d").each(function(){var b=a(this);b.hover3d({selector:".image-frame"})})})}.apply(this,[jQuery]),jQuery(document).ready(function(a){function b(){c(a(".word-rotator.letters").find("b")),d(a(".word-rotator"))}function c(b){b.each(function(){var b=a(this),c=b.text().split(""),d=b.hasClass("is-visible");for(i in c)b.parents(".rotate-2").length>0&&(c[i]=""+c[i]+""),c[i]=d?''+c[i]+"":""+c[i]+"";var e=c.join("");b.html(e).css("opacity",1)})}function d(b){var c=l;b.each(function(){var b=a(this);if(b.hasClass("loading-bar"))c=m,setTimeout(function(){b.find(".word-rotator-words").addClass("is-loading")},n);else if(b.hasClass("clip")){var d=b.find(".word-rotator-words"),f=d.width()+10;d.css("width",f)}else if(!b.hasClass("type")){var g=b.find(".word-rotator-words b"),h=0;g.each(function(){var b=a(this).width();b>h&&(h=b)}),b.find(".word-rotator-words").css("width",h)}setTimeout(function(){e(b.find(".is-visible").eq(0))},c)})}function e(a){var b=j(a);if(a.parents(".word-rotator").hasClass("type")){var c=a.parent(".word-rotator-words");c.addClass("selected").removeClass("waiting"),setTimeout(function(){c.removeClass("selected"),a.removeClass("is-visible").addClass("is-hidden").children("i").removeClass("in").addClass("out")},q),setTimeout(function(){f(b,p)},r)}else if(a.parents(".word-rotator").hasClass("letters")){var d=a.children("i").length>=b.children("i").length?!0:!1;g(a.find("i").eq(0),a,d,o),h(b.find("i").eq(0),b,d,o)}else a.parents(".word-rotator").hasClass("clip")?a.parents(".word-rotator-words").animate({width:"2px"},s,function(){k(a,b),f(b)}):a.parents(".word-rotator").hasClass("loading-bar")?(a.parents(".word-rotator-words").removeClass("is-loading"),k(a,b),setTimeout(function(){e(b)},m),setTimeout(function(){a.parents(".word-rotator-words").addClass("is-loading")},n)):(k(a,b),setTimeout(function(){e(b)},l))}function f(a,b){a.parents(".word-rotator").hasClass("type")?(h(a.find("i").eq(0),a,!1,b),a.addClass("is-visible").removeClass("is-hidden")):a.parents(".word-rotator").hasClass("clip")&&a.parents(".word-rotator-words").animate({width:a.width()+10},s,function(){setTimeout(function(){e(a)},t)})}function g(b,c,d,f){if(b.removeClass("in").addClass("out"),b.is(":last-child")?d&&setTimeout(function(){e(j(c))},l):setTimeout(function(){g(b.next(),c,d,f)},f),b.is(":last-child")&&a("html").hasClass("no-csstransitions")){var h=j(c);k(c,h)}}function h(a,b,c,d){a.addClass("in").removeClass("out"),a.is(":last-child")?(b.parents(".word-rotator").hasClass("type")&&setTimeout(function(){b.parents(".word-rotator-words").addClass("waiting")},200),c||setTimeout(function(){e(b)},l)):setTimeout(function(){h(a.next(),b,c,d)},d)}function j(a){return a.is(":last-child")?a.parent().children().eq(0):a.next()}function k(a,b){a.removeClass("is-visible").addClass("is-hidden"),b.removeClass("is-hidden").addClass("is-visible")}var l=2500,m=3800,n=m-3e3,o=50,p=150,q=500,r=q+800,s=600,t=1500;b()}),function(a){a.isFunction(a.fn.tooltip)&&a('[data-toggle="tooltip"]').tooltip(),a.isFunction(a.fn.popover)&&a('[data-toggle="popover"]').popover()}(jQuery),function(){var a,b;a=this.jQuery||window.jQuery,b=a(window),a.fn.stick_in_parent=function(c){var d,e,f,g,h,i,j,k,l,m,n;for(null==c&&(c={}),n=c.sticky_class,h=c.inner_scrolling,m=c.recalc_every,l=c.parent,k=c.offset_top,j=c.spacer,e=c.bottoming,null==k&&(k=0),null==l&&(l=void 0),null==h&&(h=!0),null==n&&(n="is_stuck"),d=a(document),null==e&&(e=!0),f=function(c,f,g,i,o,p,q,r){var s,t,u,v,w,x,y,z,A,B,C,D;if(!c.data("sticky_kit")){if(c.data("sticky_kit",!0),w=d.height(),y=c.parent(),null!=l&&(y=y.closest(l)),!y.length)throw"failed to find stick parent";if(s=u=!1,(C=null!=j?j&&c.closest(j):a("
"))&&C.css("position",c.css("position")),z=function(){var a,b,e;return!r&&(w=d.height(),a=parseInt(y.css("border-top-width"),10),b=parseInt(y.css("padding-top"),10),f=parseInt(y.css("padding-bottom"),10),g=y.offset().top+a+b,i=y.height(),u&&(s=u=!1,null==j&&(c.insertAfter(C),C.detach()),c.css({position:"",top:"",width:"",bottom:""}).removeClass(n),e=!0),o=c.offset().top-(parseInt(c.css("margin-top"),10)||0)-k,p=c.outerHeight(!0),q=c.css("float"),C&&C.css({width:c.outerWidth(!0),height:p,display:c.css("display"),"vertical-align":c.css("vertical-align"),"float":q}),e)?D():void 0},z(),p!==i)return v=void 0,x=k,B=m,D=function(){var a,l,t,A;return!r&&(t=!1,null!=B&&(--B,0>=B&&(B=m,z(),t=!0)),t||d.height()===w||z(),t=b.scrollTop(),null!=v&&(l=t-v),v=t,u?(e&&(A=t+p+x>i+g,s&&!A&&(s=!1,c.css({position:"fixed",bottom:"",top:x}).trigger("sticky_kit:unbottom"))),o>t&&(u=!1,x=k,null==j&&("left"!==q&&"right"!==q||c.insertAfter(C),C.detach()),a={position:"",width:"",top:""},c.css(a).removeClass(n).trigger("sticky_kit:unstick")),h&&(a=b.height(),p+k>a&&!s&&(x-=l,x=Math.max(a-p,x),x=Math.min(k,x),u&&c.css({top:x+"px"})))):t>o&&(u=!0,a={position:"fixed",top:x},a.width="border-box"===c.css("box-sizing")?c.outerWidth()+"px":c.width()+"px",c.css(a).addClass(n),null==j&&(c.after(C),"left"!==q&&"right"!==q||C.append(c)),c.trigger("sticky_kit:stick")),u&&e&&(null==A&&(A=t+p+x>i+g),!s&&A))?(s=!0,"static"===y.css("position")&&y.css({position:"relative"}),c.css({position:"absolute",bottom:f,top:"auto"}).trigger("sticky_kit:bottom")):void 0},A=function(){return z(),D()},t=function(){return r=!0,b.off("touchmove",D),b.off("scroll",D),b.off("resize",A),a(document.body).off("sticky_kit:recalc",A),c.off("sticky_kit:detach",t),c.removeData("sticky_kit"),c.css({position:"",bottom:"",top:"",width:""}),y.position("position",""),u?(null==j&&("left"!==q&&"right"!==q||c.insertAfter(C),C.remove()),c.removeClass(n)):void 0},b.on("touchmove",D),b.on("scroll",D),b.on("resize",A),a(document.body).on("sticky_kit:recalc",A),c.on("sticky_kit:detach",t),setTimeout(D,0)}},g=0,i=this.length;i>g;g++)c=this[g],f(a(c));return this}}.call(this),function(a){var b=a(".quantity"),c=b.find(".plus"),d=b.find(".minus");c.on("click",function(){var b=a(this),c=b.prev();c.val(parseInt(c.val())+1)}),d.on("click",function(){var b=a(this),c=b.next();c.val(parseInt(c.val())>0?parseInt(c.val())-1:0)})}(jQuery),function(a){a(".rating input").change(function(){var b=a(this);a(".rating .selected").removeClass("selected"),b.closest("label").addClass("selected")})}(jQuery),function(a){var b={$wrapper:a(".footer-reveal"),init:function(){var a=this;return a.build(),a.events(),this},build:function(){var b=this,c=b.$wrapper.outerHeight(!0),d=a(window).height()-a(".header-body").height();return c>d?(a("#footer").removeClass("footer-reveal"),a(".main").css("margin-bottom",0)):(a("#footer").addClass("footer-reveal"),a(".main").css("margin-bottom",c)),this},events:function(){var b=this,c=a(window);return c.on("load",function(){c.afterResize(function(){b.build()})}),this}};a(".footer-reveal").get(0)&&b.init()}(jQuery),function(a){"use strict";var b={init:function(a){var b=this;return b.$wrapper=a,b.build(),this},build:function(){var b=this,c=b.$wrapper,d=c.data("skew-layer-from"),e=c.data("skew-layer-value");return a(window).on("load",function(){"right"==d&&c.addClass("skew-layer-from-right"),setTimeout(function(){c.css({left:e,transition:"ease left 300ms"})},300)}),this}};a("[data-skew-layer]").get(0)&&a("[data-skew-layer]").each(function(){var c=a(this);b.init(c)})}(jQuery),function(a){"use strict";var b={init:function(a){var b=this;return b.$wrapper=a,b.build(),this},build:function(){var b=this,c=b.$wrapper,d=c.data("to"),e=c.data("delay")?c.data("delay"):0,f="vertical"==c.data("direction")?{height:d+"%"}:{width:d+"%"};return a(window).on("load scroll",function(){c.visible(!0)&&a({to:0}).animate({to:1},e,function(){c.css(f)})}),this}};a(".progress-bar").get(0)&&a(".progress-bar").each(function(){var c=a(this);b.init(c)})}(jQuery);