♻️ Update media pool with clearer IDs and proper pool membership check (#21615)
♻️ Update media pool with clearer IDs and proper pool membership check (#21615)

* Update media pool with clearer IDs and proper pool membership check

* Undo testing condition

* Lint

* Keep media element origin in memory instead of reading from classList

* Force bundle size re-run

adup-tech/amphtml,mhc-gh/amphtml,adup-tech/amphtml,mhc-gh/amphtml,jridgewell/amphtml,jmadler/amphtml,prateekbh/amphtml,sharethrough/amphtml,danielrozenberg/amphtml,voyagegroup/amphtml,zhouyx/amphtml,src-code/amphtml,dotandads/amphtml,jridgewell/amphtml,honeybadgerdontcare/amphtml,mhc-gh/amphtml,erwinmombay/amphtml,alanorozco/amphtml,media-net/amphtml,rsimha-amp/amphtml,cory-work/amphtml,cory-work/amphtml,prateekbh/amphtml,media-net/amphtml,sebastianbenz/amphtml,taboola/amphtml,zhouyx/amphtml,yandex-pcode/amphtml,voyagegroup/amphtml,danielrozenberg/amphtml,zhangsu/amphtml,nexxtv/amphtml,danielrozenberg/amphtml,Gregable/amphtml,sharethrough/amphtml,sebastianbenz/amphtml,ampproject/amphtml,techhtml/amphtml,sebastianbenz/amphtml,techhtml/amphtml,src-code/amphtml,dotandads/amphtml,nexxtv/amphtml,honeybadgerdontcare/amphtml,jridgewell/amphtml,nexxtv/amphtml,jmadler/amphtml,Gregable/amphtml,alanorozco/amphtml,cvializ/amphtml,media-net/amphtml,voyagegroup/amphtml,ampproject/amphtml,adup-tech/amphtml,yandex-pcode/amphtml,mhc-gh/amphtml,honeybadgerdontcare/amphtml,src-code/amphtml,adup-tech/amphtml,cory-work/amphtml,mhc-gh/amphtml,media-net/amphtml,media-net/amphtml,taboola/amphtml,yandex-pcode/amphtml,ampproject/amphtml,yandex-pcode/amphtml,sebastianbenz/amphtml,zhouyx/amphtml,jpettitt/amphtml,jmadler/amphtml,jmadler/amphtml,rsimha-amp/amphtml,tlong2/amphtml,adup-tech/amphtml,nexxtv/amphtml,lannka/amphtml,mhc-gh/amphtml,erwinmombay/amphtml,ampproject/amphtml,sharethrough/amphtml,honeybadgerdontcare/amphtml,sebastianbenz/amphtml,nexxtv/amphtml,rsimha-amp/amphtml,dotandads/amphtml,cvializ/amphtml,smartadserver/amphtml,Gregable/amphtml,prateekbh/amphtml,honeybadgerdontcare/amphtml,rsimha-amp/amphtml,zhangsu/amphtml,jpettitt/amphtml,techhtml/amphtml,alanorozco/amphtml,tlong2/amphtml,lannka/amphtml,techhtml/amphtml,sharethrough/amphtml,smartadserver/amphtml,jridgewell/amphtml,cory-work/amphtml,src-code/amphtml,erwinmombay/amphtml,ampproject/amphtml,dotandads/amphtml,tlong2/amphtml,src-code/amphtml,ampproject/amphtml,sebastianbenz/amphtml,sharethrough/amphtml,jpettitt/amphtml,zhangsu/amphtml,media-net/amphtml,jmadler/amphtml,cvializ/amphtml,Gregable/amphtml,lannka/amphtml,danielrozenberg/amphtml,prateekbh/amphtml,nexxtv/amphtml,alanorozco/amphtml,dotandads/amphtml,rsimha-amp/amphtml,smartadserver/amphtml,yandex-pcode/amphtml,yandex-pcode/amphtml,taboola/amphtml,voyagegroup/amphtml,lannka/amphtml,tlong2/amphtml,smartadserver/amphtml,alanorozco/amphtml,prateekbh/amphtml,Gregable/amphtml,taboola/amphtml,lannka/amphtml,Gregable/amphtml,jpettitt/amphtml,voyagegroup/amphtml,lannka/amphtml,Gregable/amphtml,tlong2/amphtml,honeybadgerdontcare/amphtml,cvializ/amphtml,cory-work/amphtml,alanorozco/amphtml,jridgewell/amphtml,erwinmombay/amphtml,techhtml/amphtml,tlong2/amphtml,taboola/amphtml,cory-work/amphtml,jpettitt/amphtml,danielrozenberg/amphtml,erwinmombay/amphtml,cory-work/amphtml,zhangsu/amphtml,smartadserver/amphtml,voyagegroup/amphtml,ampproject/amphtml,honeybadgerdontcare/amphtml,rsimha-amp/amphtml,zhouyx/amphtml,erwinmombay/amphtml,smartadserver/amphtml,Gregable/amphtml,voyagegroup/amphtml,jpettitt/amphtml,danielrozenberg/amphtml,jpettitt/amphtml,danielrozenberg/amphtml,jridgewell/amphtml,mhc-gh/amphtml,taboola/amphtml,ampproject/amphtml,media-net/amphtml,danielrozenberg/amphtml,yandex-pcode/amphtml,cvializ/amphtml,dotandads/amphtml,zhouyx/amphtml,taboola/amphtml,prateekbh/amphtml,alanorozco/amphtml,zhangsu/amphtml,src-code/amphtml,mhc-gh/amphtml,jmadler/amphtml,adup-tech/amphtml,cvializ/amphtml,jpettitt/amphtml,media-net/amphtml,zhangsu/amphtml,prateekbh/amphtml,techhtml/amphtml,rsimha-amp/amphtml,zhouyx/amphtml,zhouyx/amphtml,alanorozco/amphtml,nexxtv/amphtml,jridgewell/amphtml,sharethrough/amphtml,lannka/amphtml