WPZ

berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/web_styroporzuschnitte24/wp-content/themes/enfold/js/parallax.js (4.79 KB)
/**
 * ONLY A DEVELOPMENT FRAME TO TEST PERFORMANCE
 * ============================================
 *
 * Currently ununsed
 *
 * @since 5.0
 * @by Kriesi
 */

"use strict";

var avia = window.avia || {};


avia.parallax = function ()
{
	//singelton
	if(avia.parallax.instance){ return avia.parallax.instance; }

	avia.parallax.instance = this;
	this.MediaQueryOptions = {

		'av-mini-':		'(max-width: 479px)',
		'av-small-':	'(min-width: 480px) and (max-width: 767px)',
		'av-medium-':	'(min-width: 768px) and (max-width: 989px)'
	};

	//all parallax elements
	this.elements = [];

	//run the event binding and therefore initialize parallax movement.
	this.bindEvents();
	return this;
};

avia.parallax.instance 	= false;
avia.parallax.prototype = {

	//blueprint for a single parallax element
	element: function( node , _self )
	{
		this.dom			= node;
		this.config			= node.dataset;
		this.scrollspeed	= parseFloat( this.config.parallax_speed || this.config.aviaParallaxRatio || 0 );
		this.translate		= {x: 0, y: 0, z: 0 };
		this.prev			= {top:0, left:0};
		this.rect			= {}; //positioning data of the element
		this.css			= (styles) => Object.assign(this.dom.style, styles);
		this.inViewport		= () =>
		{
			this.rect 			= this.dom.getBoundingClientRect();
			this.translate 		= this.getTranslateValues();

			return (
				this.rect.bottom - this.translate.y >= 0 && this.rect.right >= 0 &&
				this.rect.top <= (window.innerHeight || document.documentElement.clientHeight) &&
				this.rect.left <= (window.innerWidth || document.documentElement.clientWidth)
			);
		};
		this.update = ( force = false ) =>
		{
			if(! this.scrollspeed ) return;

			_self.do( function( el )
			{
				if( ! el.inViewport() && ! force ) return;

				var style 		= {};
				var newLeft   	= 0;
				var offsetTop	= window.scrollY + el.rect.top - el.translate.y;
				var newTop 		= (window.scrollY * -1 )  * el.scrollspeed;

				if (offsetTop > window.innerHeight )
				{
					//scroll calc for elements that start out of vieport
					//We do this so elements that start out of window do not get re-positioned without a scroll
					newTop = parseFloat( (el.rect.top - window.innerHeight - el.translate.y) * el.scrollspeed );
				}

				console.log(window.innerHeight + el.rect.height);
				if(Math.abs(newTop) > window.innerHeight + el.rect.height) return;

				if(newTop != el.translate.y)
				{
					style.transform = "translate3d( "+ newLeft +"px," + newTop + "px, 0px )";
					el.css( style );
				}
			}, this);
		};

		//https://zellwk.com/blog/css-translate-values-in-javascript/
		this.getTranslateValues = () =>
		{
			const matrix = window.getComputedStyle(this.dom).transform;

			if (matrix === 'none' || typeof matrix === 'undefined') return { x: 0, y: 0, z: 0 };

			const matrixType 	= matrix.includes('3d') ? '3d' : '2d';
			const matrixValues 	= matrix.match(/matrix.*\((.+)\)/)[1].split(', ');

			if (matrixType === '2d') { return { x: matrixValues[4], y: matrixValues[5], z: 0 }; }
			if (matrixType === '3d') { return { x: matrixValues[12], y: matrixValues[13], z: matrixValues[14] }; }
		};

		//force update el and set visible
		this.update();
		_self.showElement( () => this.dom.classList.add('active-parallax') );

		return this;
	},
	//end element blueprint

	//bind events
	bindEvents: function()
	{
		this.addListener( window , ['scroll'], this.updateElements );
		this.addListener( window , ['resize','orientationchange','load','av-height-change'], this.updateElements  );
		this.addListener( document.body , ['av_resize_finished'], this.updateElements, true);
	},

	addListener: function( target, events, func, args = false)
	{
		for (var i  = 0, ev; ev = events[i]; i++)
		{
			target.addEventListener(ev, func.bind( this , args ),  { passive: true }  );
		}
	},

	//reveal image without jitter
	showElement: function( func )
	{
		if (document.readyState === 'complete') { func() } else { window.addEventListener( "load" , func ) }
  	},

	//add new parallax elements
	addElements: function( selector )
	{
		for (var i  = 0, item; item = document.querySelectorAll( selector )[i]; i++)
		{
			this.elements.push( new this.element( item , this ) );
		}
	},

	//iterate over all elements and run their update script on scroll
	updateElements: function(force, e)
	{
		for (var i  = 0, element; element = this.elements[i]; i++)
		{
			element.update(force);
		}
	},

	//generic wrapper for everything that access or manipulates the DOM
	//https://firefox-source-docs.mozilla.org/performance/bestpractices.html
	do: function( callback , args , delay = 0)
	{
		requestAnimationFrame(() => { setTimeout(() => callback.call(this, args) , delay); });
	}
};



(function($){

	//add ?new-parllax to the url to test. remove in production
	if(!window.location.search.includes('new-parallax')) { return; }

	var parallax = new avia.parallax();

	parallax.addElements('.av-parallax-object');


})(jQuery);
namawaktuukuranownerpermaksi
..
aviapopup/ 2023-02-04 23:45137.76 KB 76129f60960:kundendxwrx-rx-r
waypoints/ 2023-02-04 23:4535.81 KB 76129f60960:kundendxwrx-rx-r
avia-compat.js 2023-02-04 23:452.23 KB 76129f60960:kunden-xw-x-----
edt
avia-compat.min.js 2023-02-04 23:451.19 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-cookieconsent.js 2023-02-04 23:4521.45 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-cookieconsent.min.js 2023-02-04 23:4510.42 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-footer-effects.js 2023-02-04 23:451.68 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-footer-effects.min.js 2023-02-04 23:45774 B 76129f60960:kunden-xw-x-----
edt
avia-snippet-hamburger-menu.js 2023-02-04 23:4515.58 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-hamburger-menu.min.js 2023-02-04 23:457.42 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-lightbox.js 2023-02-04 23:456.93 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-lightbox.min.js 2023-02-04 23:453.7 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-megamenu.js 2023-02-04 23:456.42 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-megamenu.min.js 2023-02-04 23:453.2 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-parallax.js 2023-02-04 23:4514.66 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-parallax.min.js 2023-02-04 23:457.19 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-sidebarmenu.js 2023-02-04 23:451.14 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-sidebarmenu.min.js 2023-02-04 23:45555 B 76129f60960:kunden-xw-x-----
edt
avia-snippet-site-preloader.js 2023-02-04 23:451.96 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-site-preloader.min.js 2023-02-04 23:451.07 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-sticky-header.js 2023-02-04 23:453.46 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-sticky-header.min.js 2023-02-04 23:451.47 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-widget.js 2023-02-04 23:452.16 KB 76129f60960:kunden-xw-x-----
edt
avia-snippet-widget.min.js 2023-02-04 23:451015 B 76129f60960:kunden-xw-x-----
edt
avia.js 2023-02-04 23:4553.17 KB 76129f60960:kunden-xw-x-----
edt
avia.min.js 2023-02-04 23:4523.9 KB 76129f60960:kunden-xw-x-----
edt
html5shiv.js 2023-02-04 23:452.37 KB 76129f60960:kunden-xw-x-----
edt
parallax.js 2023-02-04 23:454.79 KB 76129f60960:kunden-xw-x-----
edt
shortcodes.js 2023-02-04 23:4541.26 KB 76129f60960:kunden-xw-x-----
edt
shortcodes.min.js 2023-02-04 23:4520.98 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/web_styroporzuschnitte24/wp-content/themes/enfold/js
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK