const NON_TEXT_INPUT_TYPES = new Set([ "button", "checkbox", "color", "file", "image", "radio", "range", "reset", "submit", "hidden", ]); /** * Whether the element (or one of its ancestors) is a control that needs the focus to be * usable for text entry or native picking: `