2022-11-01 05:18:35 +00:00
|
|
|
var wpex={};$.fn.wpexEqualHeights=function(t){var e=this,i=$(window),s=$.extend({children:"",mobileBreakPoint:"",reset:!1},t);function o(t,o){var n=0;s.children&&((t=t.find(s.children).not(".vc_row.vc_inner .vc_column-inner")).each(function(){var t=$(this);if(o&&t.css("height",""),$height=t.outerHeight(!0),0!=t.children().length){$height=0;for(var e=t.children(),i=0;i<e.length;i++)$height+=e.eq(i).outerHeight(!0)}$height>n&&(n=$height),window.wpexAnimsition.equal_height||t.css("height",$height+"px")}),window.wpexAnimsition.equal_height&&t.css("height",n+"px"))}$(s.children).length&&(e.each(function(){var t=$(this);t.is(window.wpexAnimsition.container_block)?o(t,!1):t.imagesLoaded(function(){o(t,!1)})}),i.resize(function(){e.each(function(){o($(this),!0)})}))},function(k){"use strict";(wpex={init:function(){this.config(),this.bindEvents()},config:function(){this.config={$window:k(window),$document:k(document),$head:k("head"),windowWidth:k(window).width(),windowHeight:k(window).height(),windowTop:k(window).scrollTop(),$body:k("body"),viewportWidth:"",$wpAdminBar:null,isRetina:!1,heightChanged:!1,widthChanged:!1,isRTL:!1,iLightboxSettings:{},vcActive:!1,isMobile:!1,mobileMenuStyle:null,mobileMenuToggleStyle:null,mobileMenuBreakpoint:960,$siteWrap:null,$siteMain:null,$siteHeader:null,siteHeaderStyle:null,siteHeaderHeight:0,siteHeaderTop:0,siteHeaderBottom:0,verticalHeaderActive:!1,hasHeaderOverlay:!1,hasStickyHeader:!1,stickyHeaderStyle:null,hasStickyMobileHeader:!1,hasStickyNavbar:!1,$siteLogo:null,siteLogoHeight:0,siteLogoSrc:null,$siteNavWrap:null,$siteNav:null,$siteNavDropdowns:null,$localScrollTargets:"li.local-scroll a, a.local-scroll, .local-scroll-link, .local-scroll-link > a",localScrollOffset:0,localScrollSpeed:600,localScrollEasing:"easeInOutCubic",localScrollSections:[],hasTopBar:!1,hasStickyTopBar:!1,$stickyTopBar:null,hasStickyTopBarMobile:!1,hasFixedFooter:!1}},bindEvents:function(){var t=this;t.config.$document.ready(function(){t.initUpdateConfig(),t.responsiveText(),t.superfish(),t.mobileMenu(),t.navNoClick(),t.hideEditLink(),t.menuWidgetAccordion(),t.inlineHeaderLogo(),t.menuSearch(),t.headerCart(),t.backTopLink(),t.smoothCommentScroll(),t.tipsyTooltips(),t.customHovers(),t.toggleBar(),t.localScrollLinks(),t.customSelects(),t.wpexOwlCarousel(),t.autoLightbox(),t.iLightbox(),t.overlayHovers(),t.skillbar(),t.milestone(),t.countdown(),t.typedText(),t.equalHeights(),t.archiveMasonryGrids(),t.isotopeGrids(),t.responsiveCSS(),t.vcexFilterNav(),t.ctf7Preloader(),t.vcAccessability(),t.vcPageEditable(),t.wooGallery(),t.twentytwenty()}),t.config.$window.on("load",function(){t.config.$body.addClass("wpex-window-loaded"),t.windowLoadUpdateConfig(),t.megaMenusWidth(),t.megaMenusTop(),t.flushDropdownsTop(),t.fadeIn(),t.parallax(),t.cartDropdownRelocate(),t.sliderPro(),t.stickyTopBar(),t.vcTabsTogglesJS(),t.headerOverlayOffset(),t.config.hasStickyHeader&&(t.stickyHeaderStyle=wpexLocalize.stickyHeaderStyle,"standard"!=t.stickyHeaderStyle&&"shrink"!=t.stickyHeaderStyle&&"shrink_animated"!=t.stickyHeaderStyle||t.stickyHeader()),t.stickyHeaderMenu(),t.stickyVcexNavbar(),t.footerReveal(),t.fixedFooter(),t.titleBreadcrumbsFix(),void 0!==k.fn.infinitescroll&&k("div.infinite-scroll-nav").length&&t.infiniteScrollInit(),t.loadMore(),wpexLocalize.scrollToHash&&window.setTimeout(function(){t.scrollToHash(t)},parseInt(wpexLocalize.scrollToHashTimeout))}),t.config.$window.resize(function(){t.config.widthChanged=!1,t.config.heightChanged=!1,t.config.$window.width()!=t.config.windowWidth&&(t.config.widthChanged=!0,t.widthResizeUpdateConfig()),t.config.$window.height()!=t.config.windowHeight&&(t.config.windowHeight=t.config.$window.height(),t.config.heightChanged=!0)}),t.config.$window.scroll(function(){t.config.$hasScrolled=!1,t.config.$window.scrollTop()!=t.config.windowTop&&(t.config.$hasScrolled=!0,t.config.windowTop=t.config.$window.scrollTop(),t.localScrollHighlight())}),t.config.$window.on("orientationchange",function(){t.widthResizeUpdateConfig(),t.isotopeGrids(),t.vcexFilterNav(),t.archiveMasonryGrids()})},initUpdateConfig:funct
|