queryInputElementInside = (el) => (
  el instanceof HTMLInputElement
    ? el
    : el.querySelector('input') || el
)
Extracts first input element inside given html element (if any)
@param {HTMLElement} el
@returns {HTMLElement|HTMLInputElement}