PageSourceSearch

http://mkretov.ru/js/blocs.min.js?812

js mkretov.ru collected 2026-10-04 23:55:24 UTC 23,082 bytes, 2 lines download raw bytes

1function setUpSpecialNavs(){function e(){document.querySelector(".content-tint").classList.remove("on"),document.querySelector(".selected-nav").click(),setTimeout((function(){document.querySelector(".content-tint").remove()}),10)}document.querySelectorAll(".navbar-toggler").forEach((function(e){e.addEventListener("click",(function(e){var t=e.target.closest("nav"),o=t.querySelector("ul.site-navigation"),l=o.parentNode.innerHTML;if(o.parentNode.matches(".fullscreen-nav, .sidebar-nav"))if(e.stopPropagation(),o.parentNode.classList.add("nav-special"),e.target.classList.contains("selected-nav"))document.querySelector(".close-special-menu").remove(),document.querySelector(".blocsapp-special-menu blocsnav").classList.remove("open"),document.querySelector(".selected-nav").classList.remove("selected-nav"),setTimeout((function(){document.querySelector(".blocsapp-special-menu").remove(),document.body.classList.remove("lock-scroll"),document.querySelector(".nav-special").classList.remove("nav-special")}),300);else{e.target.classList.add("selected-nav");var n=t.getAttribute("class").replace("navbar","").replace("row","").replace("hover-open-submenu",""),i=o.parentNode.getAttribute("class").replace("navbar-collapse","").replace("collapse","").replace("collapsing","");document.querySelector(".content-tint")||document.body.insertAdjacentHTML("beforeend",'<div class="content-tint"></div>'),document.querySelector(".page-container").insertAdjacentHTML("beforebegin",'<div class="blocsapp-special-menu '+n+'"><blocsnav class="'+i+'">'+l+"</div>"),document.querySelector("blocsnav").insertAdjacentHTML("afterbegin",'<a class="close-special-menu animated fadeIn animDelay06"><div class="close-icon"></div></a>'),function(){var e=0,t=60,o="fadeInRight";document.querySelector(".blocsapp-special-menu blocsnav").classList.contains("fullscreen-nav")?(o="fadeIn",t=100):document.querySelector(".blocsapp-special-menu").classList.contains("nav-invert")&&(o="fadeInLeft");document.querySelectorAll(".blocsapp-special-menu blocsnav li").forEach((l=>{l.parentNode.classList.contains("dropdown-menu")?l.classList.add.apply(l.classList,["animated","fadeIn"]):(e+=t,l.classList.add.apply(l.classList,["animated",o]),l.setAttribute("style","animation-delay:"+e+"ms"))}))}(),document.querySelector("blocsnav").querySelectorAll(".dropdown").forEach(function(dropdown){addDropdownEvent(dropdown);}),setTimeout((function(){document.querySelector(".blocsapp-special-menu blocsnav").classList.add("open"),document.querySelector(".content-tint").classList.add("on"),document.body.classList.add("lock-scroll")}),10)}}))})),delegateSelector("body","click",".blocsapp-special-menu a",(function(t){t.target.closest(".dropdown-toggle")||e()})),delegateSelector("body","mousedown touchend",".content-tint, .close-special-menu, .close-special-menu .close-icon",(function(t){e()}))}function setUpNavExtras(){function e(e){var t=e.closest(".dropdown-menu");if(t){var o=e.parentNode.querySelector(".dropdown-menu");if(!t.parentNode.classList.contains("navbar-nav")&&!e.closest(".nav-special")){var l=t.offsetWidth-2,n=e.parentNode.querySelector(".dropdown-menu").offsetWidth;o.classList.remove("submenu-left"),0==n&&(n=160),t.getBoundingClientRect().left+n+l>window.innerWidth&&o.classList.add("submenu-left")}}}delegateSelector("body","click",".dropdown-menu a.dropdown-toggle",(function(t){e(t.target)})),document.querySelectorAll(".dropdown-menu a.dropdown-toggle").forEach((function(t){t.addEventListener("click",(function(t){e(t.target)}))})),document.querySelectorAll("ul.dropdown-menu [data-toggle=dropdown]").forEach((function(e){e.addEventListener("click",(function(e){e.stopPropagation()}))}))}function scrollToTarget(e,t){var o=window.scrollY||document.documentElement.scrollTop,l=0,n=1e3,i=0;if(0==e)i=t.closest(".bloc").offsetHeight;else if(2==e)i=document.documentElement.scrollHeight;else if(1!=e){i=document.querySelector(e).getBoundingClientRect().top+window.scrollY;var a=document.querySelector(".sticky-nav");a&&(i-=a.offsetHeight)}t.matches("[data-scroll-speed]")&&(n=parseInt(t.getAttribute("data-scroll-speed")));var c=Math.max(.1,Math.min(Math.abs(o-i)/n,.8));!function e(){var t=(l+=1/60)/c,n=Math.sin(t*(Math.PI/2)),a=i;
1t<1&&(requestAnimFrame(e),a=o+(i-o)*n),window.scrollTo(0,a)}()}function stickyNavToggle(){var e=document.querySelector(".sticky-nav");if(e){var t=e.getBoundingClientRect().top+window.scrollY,o=["sticky"],l=document.querySelector(".page-container"),n=e.classList.contains("fill-bloc-top-edge");n&&(l=document.querySelector(".fill-bloc-top-edge.sticky-nav").parentNode,o=["sticky","animated","fadeIn"]),e.classList.contains("sticky")&&(t=e.getAttribute("data-original-offset")),(window.pageYOffset||document.documentElement.scrollTop)>t?e.classList.contains("sticky")||(e.classList.add.apply(e.classList,o),e.setAttribute("data-original-offset",t),t=e.offsetHeight,n&&(e.style.background=getBlocBgColor(l),t+=parseInt(window.getComputedStyle(l,null).getPropertyValue("padding-top"))),l.style.paddingTop=t+"px"):e.classList.contains("sticky")&&(e.classList.remove.apply(e.classList,o),e.removeAttribute("style"),l.removeAttribute("style"))}}function getBlocBgColor(e){var t=window.getComputedStyle(e,null),o=t.getPropertyValue("background-color"),l=t.getPropertyValue("background-image");return e.classList.contains("b-parallax")&&(o=window.getComputedStyle(e.querySelector(".parallax"),null).getPropertyValue("background-color")),"rgba(0, 0, 0, 0)"==o&&-1==l.indexOf("gradient")&&(o="#FFFFFF"),o}function hideAll(){document.querySelectorAll(".animated").forEach((e=>{(!document.body.classList.contains("mob-disable-anim")||document.body.classList.contains("mob-disable-anim")&&window.innerWidth>767)&&(e.getBoundingClientRect().top+e.offsetHeight/3>window.innerHeight&&(e.classList.remove("animated"),e.classList.add("hideMe")))}))}function inViewCheck(){[].slice.call(document.querySelectorAll(".hideMe"),0).reverse().forEach((e=>{var t=e.getBoundingClientRect().top+window.scrollY,o=t+e.offsetHeight,l=window.pageYOffset+window.innerHeight;if(e.offsetHeight>window.innerHeight&&(o=t),o<l){var n=e.className.replace("hideMe","animated");e.style.visibility="hidden",e.removeAttribute("class"),setTimeout((function(){e.style.visibility="visible",e.setAttribute("class",n)}),.01);["webkitAnimationEnd","mozAnimationEnd","oAnimationEnd","animationEnd"].forEach((function(t){window.addEventListener(t,(function(t){e.classList.contains("animLoopInfinite")||e.classList.remove(e.getAttribute("data-appear-anim-style"))}))}))}}))}function scrollBtnVisible(){var e=document.querySelector(".scrollToTop");e&&(window.pageYOffset>window.innerHeight/3?e.classList.contains("showScrollTop")||e.classList.add("showScrollTop"):e.classList.remove("showScrollTop"))}function setUpVisibilityToggle(){document.querySelectorAll("[data-toggle-visibility]").forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=e.currentTarget.getAttribute("data-toggle-visibility"),o=[t];-1!=t.indexOf(",")&&(o=t.split(",")),o.forEach((function(e){!function(e){if(e){if(e.classList.contains("toggled-item")||e.classList.add("toggled-item"),"0px"==window.getComputedStyle(e,null).getPropertyValue("height")||e.classList.contains("object-hidden")){e.classList.remove("object-hidden"),e.style.removeProperty("display"),e.style.height="auto";var t=e.clientHeight+"px";e.style.height="0px",e.offsetHeight,e.classList.remove("toggled-item-hidden"),setTimeout((function(){e.style.height=t}),0),setTimeout((function(){e.style.minHeight=t,e.style.removeProperty("height")}),360)}else e.style.height=e.scrollHeight+"px",e.offsetHeight,e.style.removeProperty("min-height"),e.classList.add("toggled-item-hidden"),window.setTimeout((function(){e.style.height="0",0==e.style.height&&(e.style.display="none")}),0);reCalculateParallax()}}(document.getElementById(e))}))}))}))}function setUpClassToggle(){document.querySelectorAll("[data-toggle-class-target]").forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault();var t=e.currentTarget.getAttribute("data-toggle-class-target"),o=e.currentTarget.getAttribute("data-toggle-class");if(o.length){if(-1!=t.indexOf(","))t.split(",").forEach((function(e){document.getElementById(e).classList.toggle(o)}));else document.getElementById(t).classList.toggle(o);reCalculateParallax()}}))}))}function setUpLightBox(){function e(){var e=document.querySelector("#lightbox-image"),t=document.querySelector(".lightbox-caption"),o=document.querySelector("#lightbox-video-container");e.style.display="block",t.style.display="none",o.style.display="none";var l=targetJSLightbox.getAttribute("data-lightbox");if(".mp4"==l.substring(l.length-4)){var n="";1==targetJSLightbox.getAttribute("data-autoplay")&&(n="autoplay"),e.style.display="none",o.style.display="block",o.innerHTML="<video controls "+n+' class="embed-responsive-item"><source id="lightbox-video" src="'+l+'" type="video/mp4"></video>'}else{e.setAttribute("src",l);var i=targetJSLightbox.getAttribute("data-caption");i&&(t.innerHTML=i,t.style.display="block")}var a=document.querySelector(".prev-lightbox"),c=document.querySelector(".next-lightbox");a.style.display="block",c.style.display="block";var s=document.querySelectorAll("a[data-lightbox]");if(targetJSLightbox.getAttribute("data-gallery-id")){var r=targetJSLightbox.getAttribute("data-gallery-id");s=document.querySelectorAll('a[data-gallery-id="'+r+'"]')}var d=Array.from(s).indexOf(targetJSLightbox);0==d?(a.style.display="none",1==s.length&&(c.style.display="none")):d==s.length-1&&(c.style.display="none")}window.targetJSLightbox,document.querySelectorAll("[data-lightbox]").forEach((function(t){t.addEventListener("click",(function(o){o.preventDefault(),targetJSLightbox=t;var l=targetJSLightbox.getAttribute("data-lightbox"),n=targetJSLightbox.getAttribute("data-caption"),i=targetJSLightbox.getAttribute("data-frame"),a="",c="";1==targetJSLightbox.getAttribute("data-autoplay")&&(c="autoplay");var s=targetJSLightbox.querySelector("img");s&&s.classList.contains("img-protected")&&(a="img-protected");var r=document.querySelector("#lightbox-modal");r&&r.remove();var d='<svg class="lightbox-close-svg" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 32 32">
1<path class="lightbox-close-icon" d="M4,4L28,28"/><path class="lightbox-close-icon" d="M28,4L4,28"/></svg>',u='<div id="lightbox-modal" class="modal fade"><div class="modal-dialog modal-dialog-centered modal-lg"><div class="modal-content '+i+' blocs-lb-container"><button id="blocs-lightbox-close-btn" type="button" class="close-lightbox" data-bs-dismiss="modal" aria-label="Close">'+d+'</button><div class="modal-body"><a href="#" class="prev-lightbox" aria-label="prev"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 32 32"><path class="lightbox-nav-icon lightbox-prev-icon" d="M22,2L9,16,22,30"/></svg></a><a href="#" class="next-lightbox" aria-label="next"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 32 32"><path class="lightbox-nav-icon lightbox-next-icon" d="M10.344,2l13,14-13,14"/></svg></a><img id="lightbox-image" class="img-fluid mx-auto '+a+'" src="'+l+'"><div id="lightbox-video-container" class="ratio ratio-16x9"><video controls '+c+' class="embed-responsive-item"><source id="lightbox-video" src="'+l+'" type="video/mp4"></video></div><p class="lightbox-caption">'+n+"</p></div></div></div></div>";document.body.insertAdjacentHTML("beforeend",u),document.querySelectorAll(".next-lightbox, .prev-lightbox").forEach((function(t){t.addEventListener("click",(function(o){o.preventDefault();var l=document.querySelectorAll("a[data-lightbox]");if(targetJSLightbox.getAttribute("data-gallery-id")){var n=targetJSLightbox.getAttribute("data-gallery-id");l=document.querySelectorAll('a[data-gallery-id="'+n+'"]')}var i=Array.from(l).indexOf(targetJSLightbox)+1;t.classList.contains("prev-lightbox")&&(i-=2),i>-1&&l.length>i&&(targetJSLightbox=l[i],e())}))})),function(){const e=document.getElementById("lightbox-image");if(e){let o=0,l=0,n=0,i=0;function t(){var e=document.querySelector(".prev-lightbox"),t=document.querySelector(".next-lightbox");n<=o&&"none"!=t.style.display&&t.click(),n>=o&&"none"!=e.style.display&&e.click()}e.addEventListener("touchstart",(function(e){o=e.changedTouches[0].screenX,l=e.changedTouches[0].screenY}),!1),e.addEventListener("touchend",(function(e){n=e.changedTouches[0].screenX,i=e.changedTouches[0].screenY,t()}),!1)}}(),r=document.querySelector("#lightbox-modal"),"fullscreen-lb"==i&&(r.classList.add("fullscreen-modal"),document.querySelector("#blocs-lightbox-close-btn").remove(),r.insertAdjacentHTML("beforeend",'<a class="close-full-screen-modal animated fadeIn" style="animation-delay:0.5s;" data-bs-dismiss="modal">'+d+"</a>")),e();var g=new bootstrap.Modal(document.querySelector("#lightbox-modal"),{});if(g.show(),a.length){var p=document.querySelector("#lightbox-modal .img-protected");p.addEventListener("contextmenu",(function(e){e.preventDefault()})),p.addEventListener("mousedown",(function(e){e.preventDefault()}))}delegateSelector("body","click",'[data-bs-dismiss="modal"]',(function(e){g.hide()}))}))})),window.addEventListener("keydown",(e=>{if(document.querySelector("#lightbox-modal")){var t=document.querySelector(".prev-lightbox");37==e.which||39==e.which?(39==e.which&&(t=document.querySelector(".next-lightbox")),"none"!=t.style.display&&t.click()):27==e.which&&document.getElementById("blocs-lightbox-close-btn").click()}}))}function setUpImgProtection(){document.querySelectorAll(".img-protected").forEach((function(e){e.addEventListener("contextmenu",(function(e){e.preventDefault()})),e.addEventListener("mousedown",(function(e){e.preventDefault()}))}))}function reCalculateParallax(){if(document.querySelector(".b-parallax")){var e=document.querySelectorAll(".parallax__container .parallax");e.forEach((e=>{e.style.height="100%"})),setTimeout((function(){calculateHeight(e,3)}),400)}}function scrollToPolyFill(){var e=window,t=document;if(!("scrollBehavior"in t.documentElement.style)||!0===e.__forceSmoothScrollPolyfill__){var o,l=e.HTMLElement||e.Element,n=468,i={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:l.prototype.scroll||s,scrollIntoView:l.prototype.scrollIntoView},a=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,c=(o=e.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(o)?1:0);e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==r(arguments[0])?m.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):i.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(r(arguments[0])?i.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):m.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},l.prototype.scroll=l.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==r(arguments[0])){var e=arguments[0].left,t=arguments[0].top;m.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},l.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==r(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},l.prototype.scrollIntoView=function(){if(!0!==r(arguments[0])){var o=function(e){for(;e!==t.body&&!1===g(e);)e=e.parentNode||e.host;return e}(this),l=o.getBoundingClientRect(),n=this.getBoundingClientRect();o!==t.body?(m.call(this,o,o.scrollLeft+n.left-l.left,o.scrollTop+n.top-l.top),"fixed"!==e.getComputedStyle(o).position&&e.scrollBy({left:l.left,top:l.top,behavior:"smooth"})):e.scrollBy({left:n.left,top:n.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function s(e,t){this.scrollLeft=e,this.scrollTop=t}function r(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;
1if("object"==typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function d(e,t){return"Y"===t?e.clientHeight+c<e.scrollHeight:"X"===t?e.clientWidth+c<e.scrollWidth:void 0}function u(t,o){var l=e.getComputedStyle(t,null)["overflow"+o];return"auto"===l||"scroll"===l}function g(e){var t=d(e,"Y")&&u(e,"Y"),o=d(e,"X")&&u(e,"X");return t||o}function p(t){var o,l,i,c,s=(a()-t.startTime)/n;c=s=s>1?1:s,o=.5*(1-Math.cos(Math.PI*c)),l=t.startX+(t.x-t.startX)*o,i=t.startY+(t.y-t.startY)*o,t.method.call(t.scrollable,l,i),l===t.x&&i===t.y||e.requestAnimationFrame(p.bind(e,t))}function m(o,l,n){var c,r,d,u,g=a();o===t.body?(c=e,r=e.scrollX||e.pageXOffset,d=e.scrollY||e.pageYOffset,u=i.scroll):(c=o,r=o.scrollLeft,d=o.scrollTop,u=s),p({scrollable:c,method:u,startTime:g,startX:r,startY:d,x:l,y:n})}}function delegateSelector(e,t,o,l){t.split(" ").forEach((t=>{var n=document.querySelectorAll(e);[].forEach.call(n,(function(e,n){e.addEventListener(t,(function(e){e.target.matches(o)&&l(e)}))}))}))}document.addEventListener("DOMContentLoaded",(function(){setUpNavExtras(),setUpSpecialNavs(),setUpLightBox(),setUpVisibilityToggle(),setUpClassToggle(),setUpImgProtection(),[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function(e){return new bootstrap.Tooltip(e)}),delegateSelector('body', "hidden.bs.modal", '.modal', function(e){e.target.querySelectorAll(".embed-responsive-item").forEach(videoItem =>{if (videoItem.tagName=='VIDEO'){videoItem.pause();}else{videoItem.setAttribute('src',videoItem.getAttribute('data-src'));}});}),document.querySelectorAll('a[onclick^="scrollToTarget"]').forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault()}))})),document.querySelectorAll(".nav-item [data-active-page]").forEach((function(e){e.classList.add(e.getAttribute("data-active-page"))})),window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(e){var t,o=(this.document||this.ownerDocument).querySelectorAll(e),l=this;do{for(t=o.length;--t>=0&&o.item(t)!==l;);}while(t<0&&(l=l.parentElement));return l}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),window.matchMedia("(prefers-color-scheme: dark)").matches&&document.body.classList.add("dark-theme"),scrollToPolyFill()})),window.addEventListener("load",(function(){hideAll(),inViewCheck(),window.addEventListener("scroll",(function(){inViewCheck(),scrollBtnVisible(),stickyNavToggle()}));var e=document.getElementById("page-loading-blocs-notifaction");e&&e.classList.add("preloader-complete")})),!function(o){const t="has-child-dropdown-show";var e;o.Dropdown.prototype.toggle=(e=o.Dropdown.prototype.toggle,function(){document.querySelectorAll("."+t).forEach(function(o){o.classList.remove(t)});let o=this._element.closest(".dropdown").parentNode.closest(".dropdown");for(;o&&o!==document;o=o.parentNode.closest(".dropdown"))o.classList.add(t);return e.call(this)}),document.querySelectorAll(".dropdown").forEach(function(o){addDropdownEvent(o)})}(bootstrap);
2function addDropdownEvent(s){s.addEventListener("hide.bs.dropdown",function(s){this.classList.contains("has-child-dropdown-show")&&(this.classList.remove("has-child-dropdown-show"),s.preventDefault()),s.clickEvent&&s.clickEvent.composedPath().some(s=>s.classList&&s.classList.contains("dropdown-toggle")&&s.parentNode.closest(".dropdown-toggle"))&&s.preventDefault(),s.stopPropagation()})};window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};var siteRelativeURLPath;(function(){var scriptUrl = new URL(document.currentScript.src);var parentDirectory = scriptUrl.pathname.substring(0, scriptUrl.pathname.lastIndexOf("/js/")+1);siteRelativeURLPath = scriptUrl.origin + parentDirectory;})();function scrollHorizontalContainer(t,l){if(!t.classList.contains("blocsapp-active-scroll")){t.classList.add("blocsapp-active-scroll");var o,e=null;if(l){var r=c(t,!0);if(r==0)r=t.scrollWidth;o=t.scrollLeft+r}else{var r=c(t,!1);o=t.scrollLeft-r}
2requestAnimFrame(s)}function s(l){null===e&&(e=l);var r,c,i,n=l-e,a=(r=n,c=t.scrollLeft,i=o-t.scrollLeft,(r/=500)<1?i/2*r*r+c:-i/2*(--r*(r-2)-1)+c);t.scrollLeft=a,n<1e3?requestAnimFrame(s):t.classList.remove("blocsapp-active-scroll")}function c(t,l){let o=t.scrollLeft,e=getComputedStyle(t),r=parseInt(e.getPropertyValue("gap")),pl=parseInt(e.getPropertyValue("padding-left")),pr=parseInt(e.getPropertyValue("padding-right")),s=t.children;for(let c=l?0:s.length-1;l?c<s.length:c>=0;l?c++:c--){let i=s[c];let g = r;if (i.clientWidth+1 > t.clientWidth) {g=0;};if(l){let n=i.offsetLeft+i.clientWidth-g-o,a=n-t.clientWidth+pl+pr-(2*g);if(n-g>t.clientWidth&&a>i.clientWidth/4)return a}else{i.offsetLeft,i.clientWidth;let f=o-i.offsetLeft+pl+g;if(i.offsetLeft<o&&f>i.clientWidth/4)return f}}return 0}}document.querySelectorAll(".blocs-horizontal-scroll-area").forEach(function(t){t.addEventListener("mouseover",function(){this.parentNode.classList.remove("hide-left-control","hide-right-control"),0===this.scrollLeft&&this.parentNode.classList.add("hide-left-control"),this.scrollLeft+this.clientWidth>=this.scrollWidth&&this.parentNode.classList.add("hide-right-control");});let l;t.addEventListener("scroll",function(){t.hasAttribute("data-horizontal-scroll-start")||t.setAttribute("data-horizontal-scroll-start",t.scrollLeft),t.hasAttribute("data-no-scroll-correction")||(clearTimeout(l),l=setTimeout(function(){let l=t.scrollLeft,o=t.getAttribute("data-horizontal-scroll-start");t.removeAttribute("data-horizontal-scroll-start");let e=l>o;(l-o>150&&e||o-l>150&&!e)&&scrollHorizontalContainer(t,e)},150))})}),document.querySelectorAll(".blocs-horizontal-scroll-control").forEach(function(t){t.addEventListener("click",function(){scrollHorizontalContainer(t.closest(".blocs-horizontal-scroll-container").querySelector(".blocs-horizontal-scroll-area"),t.classList.contains("blocs-scroll-control-next"))})});

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.