PageSourceSearch

https://datahouse.ru/wp-content/themes/datahouse/frontend/build/static/js/dcParallax.ac368193.chunk.js

js datahouse.ru collected 2026-10-04 19:59:55 UTC 1,563 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[365],{61420:function(e,t,r){r.r(t);var o=r(23029),c=r(92901),i=r(45458),n="ontouchstart"in window||navigator.msMaxTouchPoints,a=(0,i.A)(document.querySelectorAll(".placard-dc")),s=function(){return(0,c.A)((function e(t,r){(0,o.A)(this,e),this.elem=t,this.maxMoveRatio=r,this.maxMoveX=this.elem.offsetWidth*this.maxMoveRatio,this.maxMoveY=this.elem.offsetHeight*this.maxMoveRatio,this.centerX=this.elem.offsetWidth/2,this.centerY=this.elem.offsetHeight/2}),[{key:"setTransform",value:function(e,t){var r=this.maxMoveX*e-this.centerX,o=this.maxMoveY*t-this.centerY;this.elem.style.transform="translate(".concat(r,"px, ").concat(o,"px)")}}])}();a.forEach((function(e){if(!window.matchMedia("(max-width: 768px)").matches&&!n){var t=new s(e.querySelector(".placard-dc__plan"),.02),r=new s(e.querySelector(".placard-dc__circle--1"),.02),o=new s(e.querySelector(".placard-dc__circle--2"),.06),c=new s(e.querySelector(".placard-dc__circle--3"),.1),i=new s(e.querySelector(".placard-dc__circle--4"),.16),a=new s(e.querySelector(".placard-dc__circle--5"),.22);e.addEventListener("mousemove",(function(n){var s=function(e,t,r){var o=e.getBoundingClientRect();return{x:Math.floor(t-o.left)/(o.right-o.left)*o.width,y:Math.floor(r-o.top)/(o.bottom-o.top)*o.height}}(e,n.clientX,n.clientY),f=(s.x-e.offsetWidth/2)/e.offsetWidth,h=(s.y-e.offsetHeight/2)/e.offsetHeight;t.setTransform(f,h),r.setTransform(f,h),o.setTransform(f,h),c.setTransform(f,h),i.setTransform(f,h),a.setTransform(f,h)}))}}))}}]);

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.