(function(){"use strict";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(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,s=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;tr.offsetHeight+100?o.show():o.hide():300
');r("body").append(i);var t=r("div",i).innerWidth();i.css("overflow-y","scroll");var e=r("div",i).innerWidth();return r(i).remove(),t-e}},r(function(){AstraProQuickView.init()}))}(jQuery); !function(i){function n(e,t){$pg_wrap=i(".ast-product-gallery-layout-vertical"),0<$pg_wrap.length&&($pg_nav=$pg_wrap.find(".flex-control-nav"),0<$pg_nav.length&&(768$pg_view_ht+50)&&$pg_nav.css({"max-height":$pg_view_ht+"px","overflow-x":"hidden","overflow-y":"auto","paddine-right":"2px"})):$pg_nav.css({"max-height":"","overflow-x":"","overflow-y":"","paddine-right":""})))}var e;jQuery(document).ready(function(e){var t;"undefined"!=typeof wp&&void 0!==wp.customize&&jQuery(window).trigger("resize"),jQuery(".ast-product-gallery-layout-vertical .flex-control-nav li").on("click",function(e){clearTimeout(t),t=setTimeout(function(){n(!1,!0)},500)})}),jQuery(window).on("load",function(){n()}),jQuery(window).on("resize",function(){clearTimeout(e),e=setTimeout(function(){n()},300)})}(jQuery); function astrawpWooQuantityButtons(i){var t=document.querySelector(".woocommerce div.product form.cart");i=i||".qty",$quantityBoxesWrap=document.querySelectorAll("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)");for(var e=0;e<$quantityBoxesWrap.length;e++){var a=$quantityBoxesWrap[e],n=a.querySelector(i);if(n&&"date"!==n.getAttribute("type")&&"hidden"!==n.getAttribute("type")){$qty_parent=n.parentElement,$qty_parent.classList.add("buttons_added"),$qty_parent.insertAdjacentHTML("afterbegin",'-'),$qty_parent.insertAdjacentHTML("beforeend",'+'),$quantityEach=document.querySelectorAll("input"+i+":not(.product-quantity)");for(var r=0;r<$quantityEach.length;r++){var o=$quantityEach[r],u=o.getAttribute("min");u&&0n;n++)a[n].onclick=function(e){if(e.preventDefault(),e=e||window.event,this.classList.contains("header-cover"))for(var t=document.querySelectorAll(".ast-search-box.header-cover"),a=0;a=e("#main").find(".product:last").offset().top){if(n .ast-woocommerce-container ul.products")).length)var t=e(".elementor-widget-wc-archive-products ul.products");p.hide(),e(".ast-shop-load-more").addClass("active").show(),t.append(o);astra.grid_layout;var i=astra.shop_no_more_post_message||"";n'+i+""),e(window).trigger("astWooCommerceAjaxPostsAdded"),r=!0})}}}(jQuery); !function(i){null!=window.astra&&(astraSingleProductAjax={quick_view_enable:astra.shop_quick_view_enable||!1,ajax_add_to_cart_enable:astra.single_product_ajax_add_to_cart||!1,init:function(){this._bind()},_bind:function(){astraSingleProductAjax.ajax_add_to_cart_enable&&i(document).on("click","body.single-product .product:not(.product-type-external) button.single_add_to_cart_button",astraSingleProductAjax._processAjaxRequest),astraSingleProductAjax.quick_view_enable&&i(document.body).on("click","#ast-quick-view-content .product:not(.product-type-external) button.single_add_to_cart_button",astraSingleProductAjax._processAjaxRequest),i(document.body).on("added_to_cart",astraSingleProductAjax._updateButton),i("form.variations_form").on("woocommerce_variation_has_changed",astraSingleProductAjax._updateSaleBadge)},_processAjaxRequest:function(a){a.preventDefault();var t=i(this).closest("form");if(!t[0].checkValidity())return t[0].reportValidity(),!1;var e=i(this),r=i(this).val()||"";i('input[name="variation_id"]').val();if(!e.hasClass("disabled")){e.removeClass("added"),e.addClass("loading");var d=i('input[name="quantity"]').val();if(i(".woocommerce-grouped-product-list-item").length){var n=i("input.qty");d=[];i.each(n,function(a,t){var e=i(this).attr("name");e=(e=e.replace("quantity[","")).replace("]",""),e=parseInt(e),i(this).val()&&(d[e]=i(this).val())})}var o=t.serialize();i.ajax({url:astra.ajax_url,type:"POST",data:"action=astra_add_cart_single_product&add-to-cart="+r+"&"+o,success:function(a){i(document.body).trigger("wc_fragment_refresh"),i(document.body).trigger("added_to_cart",[a.fragments,a.cart_hash,e]),"undefined"!=typeof wc_add_to_cart_params&&("yes"!==wc_add_to_cart_params.cart_redirect_after_add||(window.location=wc_add_to_cart_params.cart_url))}})}},_updateButton:function(a,t,e,r){r=void 0!==r&&r,i("button.single_add_to_cart_button").length&&(i(r).removeClass("loading"),i(r).addClass("added"),astra.is_cart||0!==i(r).parent().find(".added_to_cart").length||i(r).after(' '+astra.view_cart+""),i(document.body).trigger("wc_cart_button_updated",[r]))},_updateSaleBadge:function(a){var t=i(this),e=t.find(".variation_id").val();if(""!=e){var r=t.closest(".product-type-variable").find("span.onsale");if("sale-percentage"==r.data("notification")){var d=r.data("sale");if(void 0!==d[e]){var n=r.data("sale-per-text");n=n.replace("[value]",d[e]),r.text(n)}}}}},i(function(){astraSingleProductAjax.init()}))}(jQuery); (function(a,f,g,c){function h(b,d){this.element=b;this.settings=a.extend({},e,d);this._defaults=e;this._name="bellows";this.init()}var e={folding:"multiple",current:"off"};a.extend(h.prototype,{init:function(){this.initialize_subtoggles(this);this.force_current_tree(this);"on"==this.settings.current&&this.initialize_current_submenus(this);this.initialize_show_more(this)},initialize_subtoggles:function(b){var d=a(b.element);d.removeClass("bellows-nojs");d.find(".bellows-subtoggle, .bellows-menu-item-has-children > span.bellows-target").on("click", function(d){d=a(this).closest(".bellows-menu-item");b.toggle_submenu(d,b);return!1})},toggle_submenu:function(b,a){b.hasClass("bellows-active")?a.close_submenu(b):(a.open_submenu(b,a),"single"==a.settings.folding&&a.close_sibling_submenus(b,a))},open_submenu:function(b,a){a=b.find("> .bellows-submenu");a.length&&a.slideDown(400,function(){b.trigger("bellowsopen");b.addClass("bellows-active")})},close_submenu:function(a,d){a.find("> .bellows-submenu").slideUp(400,function(){a.removeClass("bellows-active"); a.trigger("bellowsclose")})},close_sibling_submenus:function(b,d){b.siblings().each(function(){d.close_submenu(a(this))})},initialize_current_submenus:function(b){a(b.element).find(".bellows-current-menu-item, .bellows-current-menu-ancestor, .bellows-current-menu-parent").each(function(){b.open_submenu(a(this));a(this).parentsUntil(".bellows-nav",".bellows-menu-item:not(.bellows-active)").each(function(){b.open_submenu(a(this))})})},force_current_tree:function(b){a(b.element).find(".bellows-current-menu-item").parents(".bellows-menu-item:not(.bellows-current-menu-item,.bellows-current-menu-parent,.bellows-current-menu-ancestor)").addClass("bellows-current-menu-ancestor")}, initialize_show_more:function(b){a(b.element).find(".bellows-show-more-toggle").each(function(){var b=a(this).clone().attr("id","").addClass("bellows-show-less-toggle").removeClass("bellows-show-more-toggle");b.find(".bellows-target-title").html(' '+a(this).data("show-less"));a(this).closest(".bellows-submenu,.bellows-nav").append(b);a(this).find("> .bellows-target").on("click",function(b){b.preventDefault();a(this).parent().toggleClass("bellows-show-less")}); b.find("> .bellows-target").on("click",function(b){b.preventDefault();a(this).parent().siblings(".bellows-show-more-toggle").toggleClass("bellows-show-less")})})}});a.fn.bellows=function(b){var d=arguments;if(b===c||"object"===typeof b)return this.each(function(){a.data(this,"plugin_bellows")||a.data(this,"plugin_bellows",new h(this,b))});if("string"===typeof b&&"_"!==b[0]&&"init"!==b){var e;this.each(function(){var c=a.data(this,"plugin_bellows");c instanceof h&&"function"===typeof c[b]&&(e=c[b].apply(c, Array.prototype.slice.call(d,1)));"destroy"===b&&a.data(this,"plugin_bellows",null)});return e!==c?e:this}}})(jQuery,window,document); (function(a){function f(c){if(!g&&(g=!0,"undefined"!=typeof console&&"window.load"==c&&console.log("Notice: Bellows initialized via "+c+". This indicates that an unrelated error on the site prevented it from loading via the normal document ready event."),a(".bellows").each(function(){var c=a(this).find("> .bellows-nav").data("bellows-config");a(this).bellows(bellows_data.config[c])}),c=function(){if(a(this).find("#wpgmza_map").length)InitMap();else if(a(this).find(".wpgmza_map").length)for(var c in wpgmaps_localize){var e= wpgmaps_localize[c],b=MYMAP[e.id].map;google.maps.event.trigger(b,"resize");e=new google.maps.LatLng(e.map_start_lat,e.map_start_lng);b.setCenter(e)}a(this).off("bellowsopen")},"function"==typeof InitMap))a(".bellows-menu-item").on("bellowsopen",c)}var g=!1;jQuery(function(a){f("document.ready")});a(window).bind("load",function(){f("window.load")})})(jQuery); !function(d,l){"use strict";var e=!1,o=!1;if(l.querySelector)if(d.addEventListener)e=!0;if(d.wp=d.wp||{},!d.wp.receiveEmbedMessage)if(d.wp.receiveEmbedMessage=function(e){var t=e.data;if(t)if(t.secret||t.message||t.value)if(!/[^a-zA-Z0-9]/.test(t.secret)){var r,a,i,s,n,o=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),c=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]');for(r=0;r0||a>0)&&2>=o&&2>=a&&300>=e.timeStamp-s.timeStamp&&(mouse=!0,i)){var n=$(t.target).closest("a");n.is("a")&&$.each(menuTrees,function(){return $.contains(this.$root[0],n[0])?(this.itemEnter({currentTarget:n[0]}),!1):void 0}),i=!1}}s=e}],[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut",function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)}]],e)),mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,e){e||(e="");var i={};return $.each(t,function(t,s){i[s[0].split(" ").join(e+" ")+e]=s[1]}),i}var menuTrees=[],IE=!!window.createPopup,mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)};return $.SmartMenus=function(t,e){this.$root=$(t),this.opts=e,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 t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var e=this;if(!t){menuTrees.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 i=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).bind(getEventsNS([["mouseover focusin",$.proxy(this.rootOver,this)],["mouseout focusout",$.proxy(this.rootOut,this)],["keydown",$.proxy(this.rootKeyDown,this)]],i)).delegate("a",getEventsNS([["mouseenter",$.proxy(this.itemEnter,this)],["mouseleave",$.proxy(this.itemLeave,this)],["mousedown",$.proxy(this.itemDown,this)],["focus",$.proxy(this.itemFocus,this)],["blur",$.proxy(this.itemBlur,this)],["click",$.proxy(this.itemClick,this)]],i)),i+=this.rootId,this.opts.hideOnClick&&$(document).bind(getEventsNS([["touchstart",$.proxy(this.docTouchStart,this)],["touchmove",$.proxy(this.docTouchMove,this)],["touchend",$.proxy(this.docTouchEnd,this)],["click",$.proxy(this.docClick,this)]],i)),$(window).bind(getEventsNS([["resize orientationchange",$.proxy(this.winResize,this)]],i)),this.opts.subIndicators&&(this.$subArrow=$("").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul").each(function(){e.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var s=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(s,""),n=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(s,""),i=$(this);(t==a||t==n)&&(i.addClass("current"),e.opts.markCurrentTree&&i.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var e=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").unbind(e).undelegate(e),e+=this.rootId,$(document).unbind(e),$(window).unbind(e),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var i=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((i.opts.subMenusMinWidth||i.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(i.accessIdPrefix)&&t.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 t=$(this);0==t.attr("id").indexOf(i.accessIdPrefix)&&t.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"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var e=this.$root.offset();this.$disableOverlay=$('
').css({position:"absolute",top:e.top,left:e.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){return this.$touchScrollingSub?(this.$touchScrollingSub=null,void 0):((this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).is("a"))&&this.menuHideAll(),void 0)},docTouchEnd:function(){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&&$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var t=this;this.hideTimeout=setTimeout(function(){t.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var e=t.originalEvent.touches[0];this.lastTouch.x2=e.pageX,this.lastTouch.y2=e.pageY}},docTouchStart:function(t){var e=t.originalEvent.touches[0];this.lastTouch={x1:e.pageX,y1:e.pageY,target:e.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for(var e=$(t).closest("ul");e.dataSM("in-mega");)e=e.parent().closest("ul");return e[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,e){var i;"none"==t.css("display")&&(i={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=s&&(e?s.height||s.bottom-s.top:s.width||s.right-s.left);return o||0===o||(o=e?t[0].offsetHeight:t[0].offsetWidth),i&&t.hide().css(i),o},getStartZIndex:function(t){var e=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(e)&&(e=parseInt(this.$root.css("z-index"))),isNaN(e)?1:e},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var e=t?"Height":"Width",i=document.documentElement["client"+e],s=window["inner"+e];return s&&(i=Math.min(i,s)),i},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"block"==this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){return"fixed"==$(this).css("position")?(t=!0,!1):void 0}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,e){var i=t.closest("ul"),s=i.dataSM("level");if(s>1&&(!this.activatedItems[s-2]||this.activatedItems[s-2][0]!=i.dataSM("parent-a")[0])){var o=this;$(i.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(i).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if((!this.isCollapsible()||e)&&this.menuHideSubMenus(this.activatedItems[s-1]&&this.activatedItems[s-1][0]==t[0]?s:s-1),this.activatedItems[s-1]=t,this.$root.triggerHandler("activate.smapi",t[0])!==!1){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&this.$root.triggerHandler("blur.smapi",e[0])},itemClick:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==e.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",e[0])===!1)return!1;var i=$(t.target).is("span.sub-arrow"),s=e.dataSM("sub"),o=s?2==s.dataSM("level"):!1;if(s&&!s.is(":visible")){if(this.opts.showOnClick&&o&&(this.clickActivated=!0),this.itemActivate(e),s.is(":visible"))return this.focusActivated=!0,!1}else if(this.isCollapsible()&&i)return this.itemActivate(e),this.menuHide(s),!1;return this.opts.showOnClick&&o||e.hasClass("disabled")||this.$root.triggerHandler("select.smapi",e[0])===!1?!1:void 0}},itemDown:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&e.dataSM("mousedown",!0)},itemEnter:function(t){var e=$(t.currentTarget);if(this.handleItemEvents(e)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var i=this;this.showTimeout=setTimeout(function(){i.itemActivate(e)},this.opts.showOnClick&&1==e.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",e[0])}},itemFocus:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(!this.focusActivated||this.isTouchMode()&&e.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==e[0]||this.itemActivate(e,!0),this.$root.triggerHandler("focus.smapi",e[0]))},itemLeave:function(t){var e=$(t.currentTarget);this.handleItemEvents(e)&&(this.isTouchMode()||(e[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),e.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",e[0]))},menuHide:function(t){if(this.$root.triggerHandler("beforehide.smapi",t[0])!==!1&&(t.stop(!0,!0),"none"!=t.css("display"))){var e=function(){t.css("z-index","")};this.isCollapsible()?this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,e):t.hide(this.opts.collapsibleHideDuration,e):this.opts.hideFunction?this.opts.hideFunction.call(this,t,e):t.hide(this.opts.hideDuration,e),t.dataSM("ie-shim")&&t.dataSM("ie-shim").remove().css({"-webkit-transform":"",transform:""}),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).unbind(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var i=t.dataSM("level");this.activatedItems.splice(i-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,e=this.visibleSubMenus.length-1;e>=t;e--)this.menuHide(this.visibleSubMenus[e]);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(t){for(var e=this.activatedItems.length-1;e>=t;e--){var i=this.activatedItems[e].dataSM("sub");i&&this.menuHide(i)}},menuIframeShim:function(t){IE&&this.opts.overlapControlsInIE&&!t.dataSM("ie-shim")&&t.dataSM("ie-shim",$("