PageSourceSearch

https://pod.rs.gov.br/matriz_common/versions/2.1.5/components/vlibras/vlibras.js?2.1.5.161.7+2

js pod.rs.gov.br collected 2026-10-07 20:30:44 UTC 1,813 bytes, 43 lines download raw bytes

1if (window.innerWidth >= $(".vlibras").attr("data-matriz-min-screen-width")) {
2    new window.VLibras.Widget('https://vlibras.gov.br/app');
3}
4
5let vlibras = $('.vlibras');
6
7if (document.getElementById("vlibras-esquerda")) {
8    $(document).ready(function () {
9        let botaoVlibrasObserver = new MutationObserver(() => {
10            let accessButton = $('div[vw-access-button]');
11            if (accessButton.length && !accessButton.hasClass('isLeft')) {
12                accessButton.addClass('isLeft');
13                vlibras.css({
14                    "left": "0",
15                    "right": "initial",
16                    "top": "50%",
17                    "bottom": "initial",
18                    "transform": "translateY(calc(-50% - 10px))"
19                });
20                botaoVlibrasObserver.disconnect();
21            }
22        });
23        botaoVlibrasObserver.observe(document.body, { childList: true, subtree: true });
24
25        let configuracaoPosicaoVlibrasObserver = new MutationObserver(() => {
26            var grid = document.querySelector('.vpw-position-box');
27
28            if (grid && grid.children.length > 0) {
29                let selected = grid.querySelector(".vpw-select-pos");
30                if (selected) {
31                    selected.classList.remove("vpw-select-pos");
32                }
33                // Adiciona a classe ao quarto elemento <span>
34                let spans = grid.getElementsByTagName("span");
35                if (spans.length >= 4) {
36                    spans[3].classList.add("vpw-select-pos");
37                }
38                configuracaoPosicaoVlibrasObserver.disconnect();
39            }
40        });
41        configuracaoPosicaoVlibrasObserver.observe(document.body, { childList: true, subtree: true });
42    });
43}

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.