/*=============================== /plugins/system/t3/base-bs3/js/jquery.tap.min.js ================================================================================*/; !function(a,b){"use strict";var c,d,e,f="._tap",g="._tapActive",h="tap",i="clientX clientY screenX screenY pageX pageY".split(" "),j={count:0,event:0},k=function(a,c){var d=c.originalEvent,e=b.Event(d);e.type=a;for(var f=0,g=i.length;g>f;f++)e[i[f]]=c[i[f]];return e},l=function(a){if(a.isTrigger)return!1;var c=j.event,d=Math.abs(a.pageX-c.pageX),e=Math.abs(a.pageY-c.pageY),f=Math.max(d,e);return a.timeStamp-c.timeStampc;c++)a[i[c]]=b[i[c]]}a.timeStamp=Date.now?Date.now():+new Date},o={isEnabled:!1,isTracking:!1,enable:function(){o.isEnabled||(o.isEnabled=!0,c=b(a.body).on("touchstart"+f,o.onStart).on("mousedown"+f,o.onStart).on("click"+f,o.onClick))},disable:function(){o.isEnabled&&(o.isEnabled=!1,c.off(f))},onStart:function(a){a.isTrigger||(n(a),(!b.tap.LEFT_BUTTON_ONLY||a.touches||1===a.which)&&(a.touches&&(j.count=a.touches.length),o.isTracking||(a.touches||!m(a))&&(o.isTracking=!0,j.event=a,a.touches?(e=a,c.on("touchend"+f+g,o.onEnd).on("touchcancel"+f+g,o.onCancel)):c.on("mouseup"+f+g,o.onEnd))))},onEnd:function(a){var c;a.isTrigger||(n(a),l(a)&&(c=k(h,a),d=c,b(j.event.target).trigger(c)),o.onCancel(a))},onCancel:function(a){a&&"touchcancel"===a.type&&a.preventDefault(),o.isTracking=!1,c.off(g)},onClick:function(a){return!a.isTrigger&&d&&d.isDefaultPrevented()&&d.target===a.target&&d.pageX===a.pageX&&d.pageY===a.pageY&&a.timeStamp-d.timeStamp<750?(d=null,!1):void 0}};b(a).ready(o.enable),b.tap={POSITION_DELTA:10,TIME_DELTA:400,LEFT_BUTTON_ONLY:!0}}(document,jQuery); /*=============================== /plugins/system/t3/base-bs3/js/off-canvas.js ================================================================================*/; jQuery(document).ready(function($){function getAndroidVersion(ua){var ua=ua||navigator.userAgent;var match=ua.match(/Android\s([0-9\.]*)/);return match?match[1]:false;};if(parseInt(getAndroidVersion())==4){$('#t3-mainnav').addClass('t3-mainnav-android');} var JA_isLoading=false;if(/MSIE\s([\d.]+)/.test(navigator.userAgent)?new Number(RegExp.$1)<10:false){$('html').addClass('old-ie');}else if(/constructor/i.test(window.HTMLElement)){$('html').addClass('safari');} var $wrapper=$('body'),$inner=$('.t3-wrapper'),$toggles=$('.off-canvas-toggle'),$offcanvas=$('.t3-off-canvas'),$close=$('.t3-off-canvas .close'),$btn=null,$nav=null,direction='left',$fixed=null;if(!$wrapper.length)return;$toggles.each(function(){var $this=$(this),$nav=$($this.data('nav')),effect=$this.data('effect'),direction=($('html').attr('dir')=='rtl'&&$this.data('pos')!='right')||($('html').attr('dir')!='rtl'&&$this.data('pos')=='right')?'right':'left';$nav.addClass(effect).addClass('off-canvas-'+direction);var inside_effect=['off-canvas-effect-3','off-canvas-effect-16','off-canvas-effect-7','off-canvas-effect-8','off-canvas-effect-14'];if($.inArray(effect,inside_effect)==-1){$inner.before($nav);}else{$inner.prepend($nav);}});$toggles.on('tap',function(e){stopBubble(e);if($wrapper.hasClass('off-canvas-open')){oc_hide(e);return false;} $btn=$(this);$nav=$($btn.data('nav'));if(!$fixed)$fixed=$inner.find('*').filter(function(){return $(this).css("position")==='fixed';});else $fixed=$fixed.filter(function(){return $(this).css("position")==='fixed';}).add($inner.find('.affix'));$nav.addClass('off-canvas-current');direction=($('html').attr('dir')=='rtl'&&$btn.data('pos')!='right')||($('html').attr('dir')!='rtl'&&$btn.data('pos')=='right')?'right':'left';$offcanvas.height($(window).height());var events=$(window).data('events');if(events&&events.scroll&&events.scroll.length){var handlers=[];for(var i=0;i1&&arr1[1].length){oc_hide();setTimeout(function(){var anchor=$("a[name='"+arr1[1]+"']");if(!anchor.length)anchor=$('#'+arr1[1]);if(anchor.length) $('html,body').animate({scrollTop:anchor.offset().top},'slow');},1000);} return;} stopBubble(e);return true;} var stopBubble=function(e){e.stopPropagation();} $(window).load(function(){setTimeout(function(){$fixed=$inner.find('*').filter(function(){return $(this).css("position")==='fixed';});},100);});}) /*=============================== /plugins/system/t3/base-bs3/js/script.js ================================================================================*/; !function($){if($.browser==undefined||$.browser.msie==undefined){$.browser={msie:false,version:0};if(match=navigator.userAgent.match(/MSIE ([0-9]{1,}[\.0-9]{0,})/)||navigator.userAgent.match(/Trident.*rv:([0-9]{1,}[\.0-9]{0,})/)){$.browser.msie=true;$.browser.version=match[1];}} if($.browser.msie){$('html').addClass('ie'+Math.floor($.browser.version));} $(document).ready(function(){if(!window.getComputedStyle){window.getComputedStyle=function(el,pseudo){this.el=el;this.getPropertyValue=function(prop){var re=/(\-([a-z]){1})/g;if(prop=='float')prop='styleFloat';if(re.test(prop)){prop=prop.replace(re,function(){return arguments[2].toUpperCase();});} return el.currentStyle[prop]?el.currentStyle[prop]:null;} return this;}} var fromClass='body-data-holder',prop='content',$inspector=$('
').css('display','none').addClass(fromClass).appendTo($('body'));try{var computedStyle=window.getComputedStyle($inspector[0],':before');if(computedStyle){var attrs=computedStyle.getPropertyValue(prop);if(attrs){var matches=attrs.match(/([\da-z\-]+)/gi),data={};if(matches&&matches.length){for(var i=0;i .caret').on('click tap',function(e){item.clickable=false;});if(options.hover){$item.on('mouseover',function(e){if($item.hasClass('group')) return;var $target=$(e.target);if($target.data('show-processed')) return;$target.data('show-processed',true);setTimeout(function(){$target.data('show-processed',false);},10);self.show(item);}).on('mouseleave',function(e){if($item.hasClass('group')) return;var $target=$(e.target);if($target.data('hide-processed')) return;$target.data('hide-processed',true);setTimeout(function(){$target.data('hide-processed',false);},10);self.hide(item,$target);});if($link.length&&$child.length){$link.on('click',function(e){if(item.clickable){e.stopPropagation();} return item.clickable;});}}});$(document.body).on('tap hideall.t3menu',function(e){clearTimeout(self.timer);self.timer=setTimeout($.proxy(self.hide_alls,self),e.type=='tap'?500:self.options.hidedelay);});$menu.find('.mega-dropdown-menu').on('hideall.t3menu',function(e){e.stopPropagation();e.preventDefault();return false;});$menu.find('input, select, textarea, label').on('click tap',function(e){e.stopPropagation();});var $megatab=$menu.find('.mega-tab');if($megatab.length){$megatab.each(function(){var $tabul=$(this).find('>div>ul'),$tabItems=$tabul.children('.dropdown-submenu'),$tabs=$tabul.find('>li>.dropdown-menu'),tabheight=0,$parentItem=$(this).closest('li');$tabItems.data('mega-tab-item',1);var megatabs=$parentItem.data('mega-tabs')?$parentItem.data('mega-tabs'):[];megatabs.push($tabul);$parentItem.data('mega-tabs',megatabs);$tabItems.first().data('mega-tab-active',true).addClass('open');var $p=$tabul.parents('.dropdown-menu');$p.each(function(){var $this=$(this);$this.data('prev-style',$this.attr('style')).css({visibility:"visible",display:"block"});}) $tabs.each(function(){var $this=$(this),thisstyle=$this.attr('style');$this.css({visibility:"hidden",display:"block"});tabheight=Math.max(tabheight,$this.children().innerHeight());if(thisstyle){$this.attr('style',thisstyle);}else{$this.removeAttr('style');}});$tabul.css('min-height',tabheight);$p.each(function(){var $this=$(this);if($this.data('prev-style')) $this.attr('style',$this.data('prev-style'));else $this.removeAttr('style');$this.removeData('prev-style');})})} $menu.find('.modal').appendTo('body');},show:function(item){if(item.$item.data('mega-tab-item')){item.$item.parent().children().removeClass('open').data('mega-tab-active',false);item.$item.addClass('open').data('mega-tab-active',true);} if($.inArray(item,this.child_open)screen_width){align_delta=screen_width-align_offset -sub_width;sub.css('left',align_delta);if(screen_widthscreen_width){sub.css('right',align_offset +(align=='center'?(sub_width+width)/2:0)+align_trans -screen_width);}}}else{if(align=='right'){if(align_offsetscreen_width){sub.css('right',sub_width-screen_width +align_delta);}}}else{if(align_offset +(align=='center'?sub_width/2:sub_width)>screen_width){align_delta=screen_width -align_offset -(align=='center'?sub_width/2:sub_width);sub.css('left',align_delta+align_trans);} if(align_offset -(align=='center'?sub_width/2:0) +align_delta<0){sub.css('left',(align=='center'?(sub_width+width)/2:0) +align_trans -align_offset);}}}}else{if(this.options.rtl){if($item.closest('.mega-dropdown-menu').parent().hasClass('mega-align-right')){if(offset.left+width+sub_width>screen_width){$item.removeClass('mega-align-right');if(offset.left-sub_width<0){sub.css('right',offset.left+width -sub_width);}}}else{if(offset.left-sub_width<0){$item.removeClass('mega-align-left').addClass('mega-align-right');if(offset.left+width+sub_width>screen_width){sub.css('left',screen_width-offset.left -sub_width);}}}}else{if($item.closest('.mega-dropdown-menu').parent().hasClass('mega-align-right')){if(offset.left-sub_width<0){$item.removeClass('mega-align-right');if(offset.left+width+sub_width>screen_width){sub.css('left',screen_width-offset.left -sub_width);}}}else{if(offset.left+width+sub_width>screen_width){$item.removeClass('mega-align-left').addClass('mega-align-right');if(offset.left-sub_width<0){sub.css('right',offset.left+width -sub_width);}}}}}}};$.fn.t3menu=function(option){return this.each(function(){var $this=$(this),data=$this.data('megamenu'),options=typeof option=='object'&&option;if($this.parents('#off-canvas-nav').length) return;if($this.parents('#t3-off-canvas').length) return;if(!data){$this.data('megamenu',(data=new T3Menu(this,options)));}else{if(typeof option=='string'&&data[option]){data[option]()}}})};$.fn.t3menu.defaults={duration:400,timeout:100,hidedelay:200,hover:true,sb_width:20};$(document).ready(function(){var mm_duration=$('.t3-megamenu').data('duration')||0;if(mm_duration){$('').appendTo('head');} var mm_timeout=mm_duration?100+mm_duration:500,mm_rtl=$(document.documentElement).attr('dir')=='rtl',mm_trigger=$(document.documentElement).hasClass('mm-hover'),sb_width=(function(){var parent=$('
').appendTo('body'),child=parent.children(),width=child.innerWidth() -child.height(100).innerWidth();parent.remove();return width;})();if(!$.support.transition){$('.t3-megamenu').removeClass('animate');mm_timeout=100;} $('ul.nav').has('.dropdown-menu').t3menu({duration:mm_duration,timeout:mm_timeout,rtl:mm_rtl,sb_width:sb_width,hover:mm_trigger});$(window).load(function(){$('ul.nav').has('.dropdown-menu').t3menu({duration:mm_duration,timeout:mm_timeout,rtl:mm_rtl,sb_width:sb_width,hover:mm_trigger});});});})(jQuery); /*=============================== /templates/uber/js/jquery.inview.min.js ================================================================================*/; (function(d){var p={},e,a,h=document,i=window,f=h.documentElement,j=d.expando;d.event.special.inview={add:function(a){p[a.guid+"-"+this[j]]={data:a,$element:d(this)}},remove:function(a){try{delete p[a.guid+"-"+this[j]]}catch(d){}}};d(i).bind("scroll resize",function(){e=a=null});!f.addEventListener&&f.attachEvent&&f.attachEvent("onfocusin",function(){a=null});setInterval(function(){var k=d(),j,n=0;d.each(p,function(a,b){var c=b.data.selector,d=b.$element;k=k.add(c?d.find(c):d)});if(j=k.length){var b; if(!(b=e)){var g={height:i.innerHeight,width:i.innerWidth};if(!g.height&&((b=h.compatMode)||!d.support.boxModel))b="CSS1Compat"===b?f:h.body,g={height:b.clientHeight,width:b.clientWidth};b=g}e=b;for(a=a||{top:i.pageYOffset||f.scrollTop||h.body.scrollTop,left:i.pageXOffset||f.scrollLeft||h.body.scrollLeft};na.top&&c.topa.left&&c.leftc.left?"right":a.left+e.widthc.top?"bottom":a.top+e.heightpos+windowHeight){return;} $this.css('backgroundPosition',xpos+" "+Math.round((firstTop-pos)*speedFactor)+"px");});} $window.bind('scroll',update).resize(update);update();};})(jQuery); /*=============================== /templates/uber/js/jquery.placeholder.js ================================================================================*/; ; /*! http://mths.be/placeholder v2.0.8 by @mathias */ (function(window,document,$){var isOperaMini=Object.prototype.toString.call(window.operamini)=='[object OperaMini]';var isInputSupported='placeholder'in document.createElement('input')&&!isOperaMini;var isTextareaSupported='placeholder'in document.createElement('textarea')&&!isOperaMini;var prototype=$.fn;var valHooks=$.valHooks;var propHooks=$.propHooks;var hooks;var placeholder;if(isInputSupported&&isTextareaSupported){placeholder=prototype.placeholder=function(){return this;};placeholder.input=placeholder.textarea=true;}else{placeholder=prototype.placeholder=function(){var $this=this;$this.filter((isInputSupported?'textarea':':input')+'[placeholder]').not('.placeholder').bind({'focus.placeholder':clearPlaceholder,'blur.placeholder':setPlaceholder}).data('placeholder-enabled',true).trigger('blur.placeholder');return $this;};placeholder.input=isInputSupported;placeholder.textarea=isTextareaSupported;hooks={'get':function(element){var $element=$(element);var $passwordInput=$element.data('placeholder-password');if($passwordInput){return $passwordInput[0].value;} return $element.data('placeholder-enabled')&&$element.hasClass('placeholder')?'':element.value;},'set':function(element,value){var $element=$(element);var $passwordInput=$element.data('placeholder-password');if($passwordInput){return $passwordInput[0].value=value;} if(!$element.data('placeholder-enabled')){return element.value=value;} if(value==''){element.value=value;if(element!=safeActiveElement()){setPlaceholder.call(element);}}else if($element.hasClass('placeholder')){clearPlaceholder.call(element,true,value)||(element.value=value);}else{element.value=value;} return $element;}};if(!isInputSupported){valHooks.input=hooks;propHooks.value=hooks;} if(!isTextareaSupported){valHooks.textarea=hooks;propHooks.value=hooks;} $(function(){$(document).delegate('form','submit.placeholder',function(){var $inputs=$('.placeholder',this).each(clearPlaceholder);setTimeout(function(){$inputs.each(setPlaceholder);},10);});});$(window).bind('beforeunload.placeholder',function(){$('.placeholder').each(function(){this.value='';});});} function args(elem){var newAttrs={};var rinlinejQuery=/^jQuery\d+$/;$.each(elem.attributes,function(i,attr){if(attr.specified&&!rinlinejQuery.test(attr.name)){newAttrs[attr.name]=attr.value;}});return newAttrs;} function clearPlaceholder(event,value){var input=this;var $input=$(input);if(input.value==$input.attr('placeholder')&&$input.hasClass('placeholder')){if($input.data('placeholder-password')){$input=$input.hide().next().show().attr('id',$input.removeAttr('id').data('placeholder-id'));if(event===true){return $input[0].value=value;} $input.focus();}else{input.value='';$input.removeClass('placeholder');input==safeActiveElement()&&input.select();}}} function setPlaceholder(){var $replacement;var input=this;var $input=$(input);var id=this.id;if(input.value==''){if(input.type=='password'){if(!$input.data('placeholder-textinput')){try{$replacement=$input.clone().attr({'type':'text'});}catch(e){$replacement=$('').attr($.extend(args(this),{'type':'text'}));} $replacement.removeAttr('name').data({'placeholder-password':$input,'placeholder-id':id}).bind('focus.placeholder',clearPlaceholder);$input.data({'placeholder-textinput':$replacement,'placeholder-id':id}).before($replacement);} $input=$input.removeAttr('id').hide().prev().attr('id',id).show();} $input.addClass('placeholder');$input[0].value=$input.attr('placeholder');}else{$input.removeClass('placeholder');}} function safeActiveElement(){try{return document.activeElement;}catch(exception){}}}(this,document,jQuery)); /*=============================== /templates/uber/js/script.js ================================================================================*/; (function($){$(document).ready(function(){if($('.acm-testimonials.style-6').length>0){var maxwidth=0;$('.word-wrap .carousel-inner .item').each(function(){if($(this).width()>maxwidth){maxwidth=$(this).width();}});$('.word-wrap').width(maxwidth);} if($('.job-layout').length>0){$('.mod-articles-category-title').on('click',function(){$('.mod-articles-category-title').removeClass('active');$(this).toggleClass('active');});} if($('.nav.nav-tabs').length>0){$('.nav.nav-tabs a:not(.toclink)').on('click',function(e){e.preventDefault();$(this).tab('show');});} if($('.full-screen').length>0){var windowvideo=$(window).height()-$('.t3-header').height();$('.full-screen').outerHeight(windowvideo);$(window).on('resize',function(){var windowvideo=$(window).height()-$('.t3-header').height();$('.full-screen').outerHeight(windowvideo);});} var iOS=parseFloat((''+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,''])[1]).replace('undefined','3_2').replace('_','.').replace('_',''))||false;if(!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||iOS)){if($('.bg-image').length>0||$('.style-tab-1').length>0){$('.bg-image').parallax("50%",0.05);}}else{$('.bg-image').css({"background-attachment":"scroll","background-size":"cover"});} var formContact=$('.contact-form-1');if(formContact.length>0){$('#jform_contact_name',formContact).attr('placeholder','Name');$('#jform_contact_email',formContact).attr('placeholder','Mail');$('#jform_contact_emailmsg',formContact).attr('placeholder','Subject');$('#jform_contact_message',formContact).attr('placeholder','Write your message here');if($('.ie8').length>0){$("input[placeholder], textarea[placeholder]",formContact).each(function(i,e){if($(e).val()==""){$(e).val($(e).attr("placeholder"));} $(e).blur(function(){if($(this).val()=="") $(this).val($(e).attr("placeholder"));}).focus(function(){if($(this).val()==$(e).attr("placeholder")) $(this).val("");});});}} if($('.ie8').length>0){$('input, textarea').placeholder();} $('.section, .feature-animate, .sections-wrap .t3-module').on('inview',function(event,visible,visiblePartX,visiblePartY){if(visible){if(visiblePartY=='bottom'||visiblePartY=='both'){if(!$(this).hasClass('section-mask')){$(this).addClass('inview').trigger('inview');}}}});$('.section, .feature-animate, .sections-wrap .t3-module').each(function(){$(this).on('inview',function(event,visible,visiblePartX,visiblePartY){if(visible){if(visiblePartY=='top'||visiblePartY=='both'){$(this).addClass('inview').trigger('inview');}}});}) var carousel_items=$('.product-carousel-item');carousel_items.on('click',function(e){e.preventDefault();var $this=$(this);if($this.hasClass('first')){return false;} var first=$this;carousel_items.removeClass('first') if($this.hasClass('next')){var next=first.next().length>0?first.next():carousel_items.first();var last=first.prev().length>0?first.prev():carousel_items.last();}else if($this.hasClass('last')){var last=first.next().length>0?first.next():carousel_items.first();var next=first.prev().length>0?first.prev():carousel_items.last();} carousel_items.removeClass('first next last');first.addClass('first');next.addClass('next');last.addClass('last');return false;});$('.nav-tabs a').each(function(){var t=$(this);var url=t.attr('href');if(url){url=url.split(' ');if(url.length>=2){t.attr('href',url.splice(1,1));}}});var elmWidth=$('.t3-sidebar').width(),elmHeight=$('.uber-footer').outerHeight()+40;if($('.t3-module.has-affix').length>0){$('.t3-module.has-affix').affix({offset:{top:$('.t3-module.has-affix').offset().top,bottom:elmHeight}});$('.t3-module.has-affix').css({"width":elmWidth});if($('.t3-module.affix-bottom').length>0){$('.t3-module.affix-bottom').css({"bottom":elmHeight});}} setTimeout(function(){$('li .caret').on('tap',function(e){$item=$(this).parents('li').first();if($item.data('t3menu.item')){$item.data('t3menu.item').clickable=false;}});},200)});$(document).ready(function(){$('.loginDropDown').unbind().mouseover(function(e){$(this).parents('.dropdown_:first').addClass('open');e.stopPropagation();}).mousedown(function(e){$(this).parents('.dropdown_:first').addClass('open');e.stopPropagation();});});})(jQuery);if(typeof paycart!='undefined'){(function($){paycart.loadTab=function(){};})(paycart.jQuery);} /*=============================== /templates/uber/acm/footer/js/script.js ================================================================================*/;