PageSourceSearch

https://www.3bmeteo.com/ass/js/accordion-fe6c562935.js

js 3bmeteo.com collected 2026-09-24 08:35:48 UTC 1,575 bytes, 1 lines download raw bytes

1var resizeTimeout,convertFooterAccordionElements=function(){var t=document.querySelector(".footer-nav");if(t){var e=t.querySelectorAll(".ds-accordion-trigger"),o=window.innerWidth>=1128;e.forEach(function(t){var e=t.tagName.toLowerCase();if(o&&"button"===e||!o&&"div"===e){var n=o?"div":"button",r=document.createElement(n);Array.from(t.attributes).forEach(function(t){r.setAttribute(t.name,t.value)}),r.innerHTML=t.innerHTML,t.parentNode.replaceChild(r,t)}})}},setupAriaControls=function(){document.querySelectorAll(".ds-accordion-trigger").forEach(function(t){if(!t.hasAttribute("aria-controls")){var e=t.nextElementSibling;if(e&&!e.id){var o="dropdown-".concat(Math.random().toString(36).substr(2,9));e.setAttribute("id",o),t.setAttribute("aria-controls",o)}}})},handleAccordionClick=function(t){var e=t.target.closest(".ds-accordion-trigger");if(e&&(e.closest(".forecast-accordion")||!(window.innerWidth>=1128)||window.location.href.includes("cartografico"))){var o=e.parentElement,n=e.nextElementSibling,r="true"===e.getAttribute("aria-expanded");e.setAttribute("aria-expanded",!r),o.classList.toggle("ds-active"),n&&n.classList.toggle("ds-dropdown-active")}},initFooterAccordion=function(){setupAriaControls(),document.addEventListener("click",handleAccordionClick),convertFooterAccordionElements()};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",initFooterAccordion):initFooterAccordion(),window.addEventListener("resize",function(){clearTimeout(resizeTimeout),resizeTimeout=setTimeout(function(){convertFooterAccordionElements()},150)});

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.