!function(e){"use strict";ElementsKit_Helper.registerWidget("elementskit-header-search.default",(function(e){var o=e.find(".ekit_navsearch-button"),t=e.closest("body"),s=e.data("id");o.magnificPopup({type:"inline",fixedContentPos:!0,fixedBgPos:!0,overflowY:"auto",closeBtnInside:!1,callbacks:{beforeOpen:function(){this.st.mainClass="my-mfp-slide-bottom ekit-promo-popup ekit-popup-"+s},open:function(){t.css("overflow","hidden"),t.find(".mfp-close").addClass("ekit-popup-close")},close:function(){t.css("overflow","auto"),t.find(".mfp-close").removeClass("ekit-popup-close")}}})}))}(jQuery);