🐛  amp-inputmask: query is too zealous (#29624)
🐛  amp-inputmask: query is too zealous (#29624)

* amp-inputmask: Handle onBeforeMask undefined value

* better fix

* lint
jpettitt/amphtml,sharethrough/amphtml,jridgewell/amphtml,danielrozenberg/amphtml,media-net/amphtml,danielrozenberg/amphtml,mhc-gh/amphtml,nexxtv/amphtml,rsimha-amp/amphtml,Gregable/amphtml,honeybadgerdontcare/amphtml,nexxtv/amphtml,jridgewell/amphtml,jpettitt/amphtml,jpettitt/amphtml,jridgewell/amphtml,zhouyx/amphtml,prateekbh/amphtml,zhouyx/amphtml,voyagegroup/amphtml,rsimha-amp/amphtml,lannka/amphtml,media-net/amphtml,ampproject/amphtml,danielrozenberg/amphtml,rsimha-amp/amphtml,sharethrough/amphtml,mhc-gh/amphtml,ampproject/amphtml,nexxtv/amphtml,Gregable/amphtml,ampproject/amphtml,jmadler/amphtml,jmadler/amphtml,nexxtv/amphtml,rsimha-amp/amphtml,Gregable/amphtml,lannka/amphtml,smartadserver/amphtml,voyagegroup/amphtml,jpettitt/amphtml,alanorozco/amphtml,rsimha-amp/amphtml,danielrozenberg/amphtml,Gregable/amphtml,alanorozco/amphtml,alanorozco/amphtml,rsimha-amp/amphtml,prateekbh/amphtml,rsimha-amp/amphtml,jmadler/amphtml,prateekbh/amphtml,media-net/amphtml,jridgewell/amphtml,zhouyx/amphtml,lannka/amphtml,jmadler/amphtml,jmadler/amphtml,voyagegroup/amphtml,sharethrough/amphtml,sharethrough/amphtml,lannka/amphtml,honeybadgerdontcare/amphtml,jpettitt/amphtml,honeybadgerdontcare/amphtml,nexxtv/amphtml,honeybadgerdontcare/amphtml,jpettitt/amphtml,alanorozco/amphtml,jpettitt/amphtml,lannka/amphtml,danielrozenberg/amphtml,Gregable/amphtml,prateekbh/amphtml,smartadserver/amphtml,jridgewell/amphtml,voyagegroup/amphtml,zhouyx/amphtml,voyagegroup/amphtml,media-net/amphtml,jridgewell/amphtml,ampproject/amphtml,smartadserver/amphtml,mhc-gh/amphtml,honeybadgerdontcare/amphtml,mhc-gh/amphtml,voyagegroup/amphtml,ampproject/amphtml,smartadserver/amphtml,sharethrough/amphtml,media-net/amphtml,lannka/amphtml,mhc-gh/amphtml,zhouyx/amphtml,media-net/amphtml,alanorozco/amphtml,voyagegroup/amphtml,alanorozco/amphtml,mhc-gh/amphtml,Gregable/amphtml,honeybadgerdontcare/amphtml,jpettitt/amphtml,media-net/amphtml,alanorozco/amphtml,zhouyx/amphtml,ampproject/amphtml,honeybadgerdontcare/amphtml,ampproject/amphtml,ampproject/amphtml,smartadserver/amphtml,lannka/amphtml,Gregable/amphtml,prateekbh/amphtml,alanorozco/amphtml,danielrozenberg/amphtml,prateekbh/amphtml,jridgewell/amphtml,zhouyx/amphtml,danielrozenberg/amphtml,media-net/amphtml,danielrozenberg/amphtml,prateekbh/amphtml,smartadserver/amphtml,jmadler/amphtml,nexxtv/amphtml,mhc-gh/amphtml,nexxtv/amphtml,sharethrough/amphtml,mhc-gh/amphtml,Gregable/amphtml