1function t136_init(e,t){var o=document.getElementById("rec"+e);if(o){if(t){if(void 0===window.isMobile){var r=Date.now();setTimeout((function o(){var n=Date.now();"boolean"!=typeof window.isMobile?"complete"===document.readyState&&n-r>1e3&&"boolean"!=typeof window.isMobile||setTimeout(o,100):t136_init(e,t)}))}var n=o.querySelectorAll(".txt-holder");Array.prototype.forEach.call(n,(function(e){e.style.backgroundColor="transparent"})),!1===window.isMobile&&window.sequenceController.registerNewBlock(o)}else{var n=o.querySelectorAll(".txt-holder"),i=o.querySelectorAll(".t136__background");Array.prototype.forEach.call(n,(function(e){e.style.top="",e.style.position="relative"})),Array.prototype.forEach.call(i,(function(e){e.style.height=window.sequenceController.itemHeight+"px"}))}if(window.isMobile){var l=o.querySelectorAll('[data-hook="item-background"]'),c=o.querySelectorAll('[data-hook="sequence-item"]');Array.prototype.forEach.call(l,(function(e){e.style.backgroundImage="url("+e.getAttribute("data-image-src")+")"})),Array.prototype.forEach.call(c,(function(e){e.querySelector("[data-hook='item-background']").style.height=window.sequenceController.itemHeight+"px",e.querySelector(".txt-holder").style.position="relative",e.querySelector(".txt-holder").style.backgroundColor="#000",e.style.backgroundColor="#000"}))}else{var s=o.querySelectorAll("div[data-content-video-url-youtube]");Array.prototype.forEach.call(s,(function(e){t_onFuncLoad("processYoutubeVideo",(function(){var t=window.getComputedStyle(e).height;processYoutubeVideo(e,t)}))}))}}}function SequenceController(){this.setScrollCb(),this.itemHeight=screen.availHeight;var e=.25;this.itemTransitionTop=this.itemHeight*e,this.activeItemIndex=null,this.windowHeight=document.documentElement.clientHeight||window.innerHeight||screen.availHeight,this.topOffsetShift=-150,$(window).resize(jQuery.proxy(this.recalculateAllSequencesOffsets,this)),this._resizeInterval=setInterval(jQuery.proxy(this.scrollCb,this),500)}function t_o …Длинные строки сокращены. Полная версия доступна по ссылке «Полный текст».