app/javascript/mastodon/components/media_gallery.js: Copy the one from glitch-soc and adapt it

1 job for dev-lanodan in 5 minutes and 9 seconds (queued for 5 seconds)
latest
Status Job ID Name Coverage
  Test
passed #5591
build

00:05:09