!function(){var t;(t=jQuery)(window).on("et_pb_init_modules",(function(){window.et_pb_init_search_modules=function(){t((()=>{window.et_pb_search_init=function(i){const e=function(){const i=t(window).width();let e="desktop";return i<=980&&i>767?e="tablet":i<=767&&(e="phone"),e}();et_animation_breakpoint=e;const n=i.find(".et_pb_s"),o=i.find(".et_pb_searchsubmit"),s=o.outerHeight(),_=n.innerHeight();o.css({position:"relative"}),s>_&&n.innerHeight(s),o.css({position:""})},window.et_pb_search_percentage_custom_margin_fix=function(t){const i=t.find(".et_pb_s").css("margin").split(" ");let e={};switch(i.length){case 4:e={top:i[0],right:i[1],bottom:i[2],left:i[3]};break;case 2:e={top:i[0],right:i[1],bottom:i[0],left:i[1]};break;default:e={top:i[0],right:i[0],bottom:i[0],left:i[0]}}const n=0-parseFloat(e.left)+"px";t.find(".et_pb_searchsubmit").css({top:e.top,right:n,bottom:e.bottom})},t(".et_pb_search").length&&t(".et_pb_search").each((function(){const i=t(this);i.is(".et_pb_search_percentage_custom_margin")&&et_pb_search_percentage_custom_margin_fix(i),et_pb_search_init(i)}))}))},window.et_pb_init_search_modules()})),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibrarySearch={}}();