/*! For license information please see theme-scripts-library-search-menu.js.LICENSE.txt */
!function(e){var n={};function t(a){if(n[a])return n[a].exports;var _=n[a]={i:a,l:!1,exports:{}};return e[a].call(_.exports,_,_.exports,t),_.l=!0,_.exports}t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var _ in e)t.d(a,_,function(n){return e[n]}.bind(null,_));return a},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=93)}({93:function(e,n){var t;t=jQuery,document.addEventListener("DOMContentLoaded",(function(){function e(){t(".et_search_form_container").hasClass("et_pb_is_animating")||(t(".et_menu_container").removeClass("et_pb_menu_hidden et_pb_no_animation").addClass("et_pb_menu_visible"),t(".et_search_form_container").removeClass("et_pb_search_visible et_pb_no_animation").addClass("et_pb_search_form_hidden et_pb_is_animating"),setTimeout((function(){t(".et_menu_container").addClass("et_pb_no_animation"),t(".et_search_form_container").addClass("et_pb_no_animation").removeClass("et_pb_is_animating")}),1e3))}t("body").hasClass("et_header_style_left"),window.et_set_search_form_css=function(){var e=t(".et_search_form_container");if(e.hasClass("et_pb_search_visible")){var n=t("body"),a=t("#main-header").innerHeight(),_=t("#top-menu").width(),i=t("#top-menu li a").css("font-size");e.css({height:a+"px"}),e.find("input").css("font-size",i),n.hasClass("et_header_style_left")?e.find("form").css("max-width",_+60+"px"):e.css("max-width",_+60+"px")}},t("#et_top_search").on("click",(function(){var e=t(".et_search_form_container");e.hasClass("et_pb_is_animating")||(t(".et_menu_container").removeClass("et_pb_menu_visible et_pb_no_animation").addClass("et_pb_menu_hidden"),e.removeClass("et_pb_search_form_hidden et_pb_no_animation").addClass("et_pb_search_visible et_pb_is_animating"),setTimeout((function(){t(".et_menu_container").addClass("et_pb_no_animation"),e.addClass("et_pb_no_animation").removeClass("et_pb_is_animating")}),1e3),e.find("input").trigger("focus"),window.et_set_search_form_css())})),t(".et_close_search_field").on("click",(function(){e()})),t(document).on("mouseup",(function(n){var a=t("#main-header");t(".et_menu_container").hasClass("et_pb_menu_hidden")&&(a.is(n.target)||0!==a.has(n.target).length||e())}))}))}});