PageSourceSearch

https://upa.es/andalucia/wp-content/plugins/bricksextras/components/assets/js/backtotop.min.js?ver=1.5.6

js upa.es collected 2026-10-02 04:23:38 UTC 1,606 bytes, 1 lines download raw bytes

1function xBackToTop(){document.querySelector("body > .brx-body.iframe"),document.querySelectorAll(".x-back-to-top").forEach(t=>{let e=t.querySelector(".x-back-to-top_progress-line"),o,r=!1;e&&(o=e.getTotalLength(),r=!0,e.style.strokeDasharray=o,e.style.strokeDashoffset=o);let a=!!t.getAttribute("data-x-backtotop")&&t.getAttribute("data-x-backtotop");config=!function t(e){try{return JSON.parse(e)&&!!e}catch(o){return!1}}(a)?{}:JSON.parse(a);let s=0,n=0,i=!1;document.addEventListener("scroll",a=>{s=window.scrollY,i||(window.requestAnimationFrame(()=>{if(r){var a;let c,l,d,b,y,p,u;a=s,l=(c=document.body.offsetTop)+document.body.offsetHeight,d=window.innerHeight,b=c,y=l-d,u=a>=b?(p=(a-b)/(y-b))<=1?o-p*o:0:o,e.style.strokeDashoffset=u}document.querySelector("body > .brx-body.iframe")||function e(o,r){function a(){t.setAttribute("aria-hidden",!1),t.removeAttribute("disabled"),t.style.opacity="1",t.style.transform="none",t.dispatchEvent(new Event("x_back_to_top:show"))}function s(){t.setAttribute("aria-hidden",!0),t.setAttribute("disabled",""),t.style.removeProperty("opacity"),t.style.removeProperty("transform"),t.dispatchEvent(new Event("x_back_to_top:hide"))}o>=config.scrollDistance?config.scrollUp?r-o>=0?a():s():a():s()}(s,n),n=s,i=!1}),i=!0)}),t.addEventListener("click",e=>{window.scrollTo({top:0,behavior:"smooth"}),document.body.setAttribute("tabindex","-1"),document.body.focus({preventScroll:!0}),document.body.removeAttribute("tabindex"),t.dispatchEvent(new Event("x_back_to_top:scroll"))})})}document.addEventListener("DOMContentLoaded",function(t){bricksIsFrontend&&xBackToTop()});

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.