PageSourceSearch

https://survivalbrasil.org/assets/controllers/numiko/awa_controller-e7efe828.js

js survivalbrasil.org collected 2026-09-25 18:53:19 UTC 976 bytes, 29 lines download raw bytes

1import { Controller } from "@hotwired/stimulus"
2
3// Connects to data-controller="numiko--awa"
4export default class extends Controller {
5  static targets = ['invasionImages']
6
7  connect () {
8    this.invasionImagesTarget.children[0].style.opacity = 1;
9    this.invasionImagesTarget.children[1].style.opacity = 0;
10    this.invasionImagesTarget.children[2].style.opacity = 0;
11    this.invasionImagesTarget.children[3].style.opacity = 0;
12    this.invasionImagesTarget.dataset.selectedChild = 0;
13    setTimeout(changeImage, 3000, this.invasionImagesTarget)
14  }
15}
16
17function changeImage (elem) {
18  const currentChild = Number(elem.dataset.selectedChild);
19  if (elem.children[currentChild + 1]) {
20    elem.children[currentChild + 1].style.opacity = 1;
21    elem.dataset.selectedChild = currentChild + 1;
22  } else {
23    elem.children[0].style.opacity = 1;
24    elem.dataset.selectedChild = 0;
25  }
26  elem.children[currentChild].style.opacity = 0;
27
28  setTimeout(changeImage, 3000, elem)
29}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.