"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["SearchModal-public"],{"Zo/k":function(e,t,o){o.r(t);var s=o("LpH3"),a=o("a6K/"),p=o("Pb72");t.default=function(e){var t=e.searchTerm,o=e.payload,r=e.settings,n=wp.element.useEffect,d=document.getElementsByTagName("body")[0];n((function(){t?d.classList.add("shopwp-is-searching"):d.classList.remove("shopwp-is-searching")}),[t]);var i=(0,s.iv)("position:absolute;top:52px;left:0;width:100%;background:white;padding:",t?"30px 20px":"0",";box-shadow:",t?"0 0 21px -13px rgb(0 0 0 / 42%)":"none",";border-bottom-left-radius:15px;border-bottom-right-radius:15px;border:",t?"1px solid #ddd":"none",";border-top:0;max-height:400px;overflow-y:scroll;;label:SearchModalCSS;");return t&&o?(0,s.tZ)("div",{css:i},o.length?(0,s.tZ)(a.Z,{payload:o,settings:r}):(0,s.tZ)(p.default,{status:"info"},r.noResultsText)):null}}}]);