function e(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function t(e,t,n){return{...e[t]||{},...n}}function n(t,n,r,i){let{points:a}=r,o=Object.keys(t);for(let r=0;r<o.length;r+=1){let s=o[r];if(e(t[s].points,a,i))return`${n}-placement-${s}`}return``}export{t as getAlignFromPlacement,n as getAlignPopupClassName};