PageSourceSearch

https://www.tricolor.ru/frontend-2023/build/global.6722.39adc1a765c27887aa4d.js

js tricolor.ru collected 2026-10-02 11:21:58 UTC 1,900 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkproject=self.webpackChunkproject||[]).push([[6722],{6722:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i=function(){App.Tabs={init:function(){var t=this;document.querySelectorAll('.js--tabs:not([data-tabs="init"])').forEach((function(e){if(!e.closest(".js--for-popup")){var s=e.querySelectorAll(".js--tabs-link"),i=e.querySelectorAll(".js--tabs-body"),a=e.querySelector('[data-vue="Dropdown"]'),n=e.querySelector(".js--tabs-body._active"),o=e,c=e.offsetHeight;if(n&&(e!==n.parentElement?(o=n.parentElement,c=o.offsetHeight):c=o.offsetHeight-n.offsetHeight),s.forEach((function(a){var h=a.getAttribute("href").substr(1);a.addEventListener("click",(function(l){l.preventDefault(),a.classList.contains("_active")||(e!==n.parentElement?n.parentElement.style.height=n.parentElement.offsetHeight+"px":e.style.height=e.offsetHeight+"px",s.forEach((function(t){return t.classList.remove("_active")})),a.classList.add("_active"),location.hash="#"+h,i.forEach((function(e){e.classList.toggle("_active",e.dataset.id===h),e.dataset.id===h&&o.style.height&&t.changeBodyHeight(o,e,c)})))})),location.hash==="#"+h&&(a.classList.contains("_active")||a.dispatchEvent(new Event("click")))})),a){if(a.classList.contains("js--tabs-dd-no-close"))return;a.addEventListener("changeDropdown",(function(s){var a=s.detail.value.substr(1);e!==n.parentElement?n.parentElement.style.height=n.parentElement.offsetHeight+"px":e.style.height=e.offsetHeight+"px",i.forEach((function(e){e.classList.toggle("_active",e.dataset.id===a),e.dataset.id===a&&o.style.height&&t.changeBodyHeight(o,e,c)}))}))}e.dataset.tabs="init"}}))},changeBodyHeight:function(t,e,s){t.classList.contains("js--tabs")?t.style.height=e.offsetHeight+s+"px":t.style.height=(e.offsetHeight>s?e.offsetHeight:s)+"px",e.addEventListener("animationend",(function(s){s.target===e&&(t.style.height="")}),{once:!0})}},App.Tabs.init()}}}]);

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.