def fix_queryselector(elems):
    "Workaround for web components breaking querySelector.\n\n    Because someone thought it was a good idea to just yeet the moral equivalent\n    of iframes everywhere over a single page 🤦\n\n    Shadow DOM was a terrible idea and everyone involved should feel professionally\n    ashamed of themselves. Every problem it tried to solved could and should have\n    been solved in better ways that don't break the DOM.\n    "
    selectors = '").shadowRoot.querySelector("'.join(elems)
    return (('return document.querySelector("' + selectors) + '")')
Workaround for web components breaking querySelector.

Because someone thought it was a good idea to just yeet the moral equivalent
of iframes everywhere over a single page 🤦

Shadow DOM was a terrible idea and everyone involved should feel professionally
ashamed of themselves. Every problem it tried to solved could and should have
been solved in better ways that don't break the DOM.
def fix_queryselector(elems):
    "Workaround for web components breaking querySelector.\n\n    Because someone thought it was a good idea to just yeet the moral equivalent\n    of iframes everywhere over a single page 🤦\n\n    Shadow DOM was a terrible idea and everyone involved should feel professionally\n    ashamed of themselves. Every problem it tried to solved could and should have\n    been solved in better ways that don't break the DOM.\n    "
    selectors = '").shadowRoot.querySelector("'.join(elems)
    return (('return document.querySelector("' + selectors) + '")')