var e={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},t=Object.keys(e);e.all=!0;function n(n){let r={};for(let e of t)n[e]&&(r[e]=!0);return Object.keys(r).length===0?e:(r.horizontal?r.left=r.right=!0:r.left&&r.right&&(r.horizontal=!0),r.vertical?r.up=r.down=!0:r.up&&r.down&&(r.vertical=!0),r.horizontal&&r.vertical&&(r.all=!0),r)}var r=[`INPUT`,`TEXTAREA`];function i(e,t){return t.event===void 0&&e.target!==void 0&&!e.target.draggable&&typeof t.handler==`function`&&!r.includes(e.target.nodeName.toUpperCase())&&(e.qClonedBy===void 0||!e.qClonedBy.includes(t.uid))}export{i as n,n as t};