')
.prependTo($target)
.css({
'z-index': zIndex
});
}
$('.wpkoi-parallax-section__image', $layout).css({
'background-image': 'url(' + imageData.url + ')',
'background-size': bgSize,
'background-position-x': bgX + '%',
'background-position-y': bgY + '%',
});
var layoutData = {
selector: $layout,
image: imageData.url,
size: bgSize,
prop: animProp,
type: type,
xPos: bgX,
yPos: bgY,
speed: 2 * (speed / 100)
};
if (type !== 'none') {
if (type === 'scroll' || type === 'zoom') {
scrollLayoutList.push(layoutData);
} else if (type === 'mouse') {
mouseLayoutList.push(layoutData);
}
}
});
};
self.scrollHandler = function() {
winScrollTop = $window.scrollTop();
self.scrollUpdate();
};
self.scrollUpdate = function() {
$.each(scrollLayoutList, function(index, layout) {
var $this = layout.selector,
$image = $( '.wpkoi-parallax-section__image', $this ),
speed = layout.speed,
offsetTop = $this.offset().top,
thisHeight = $this.outerHeight(),
prop = layout.prop,
type = layout.type,
posY = ( winScrollTop - offsetTop + winHeight ) / thisHeight * 100,
device = elementorFrontend.getCurrentDeviceMode();
if ( winScrollTop < offsetTop - winHeight ) posY = 0;
if ( winScrollTop > offsetTop + thisHeight) posY = 200;
posY = parseFloat( speed * posY ).toFixed(1);
switch( type ) {
case 'scroll':
if ( 'bgposition' === layout.prop ) {
$image.css( {
'background-position-y': 'calc(' + layout.yPos + '% + ' + posY + 'px)'
} );
} else {
$image.css( {
'transform': 'translateY(' + posY + 'px)'
} );
}
break;
case 'zoom':
var deltaScale = ( winScrollTop - offsetTop + winHeight ) / winHeight,
scale = deltaScale * speed;
scale = scale + 1;
$image.css( {
'transform': 'scale(' + scale + ')'
} );
break;
}
});
};
self.mouseHandler = function(event) {
if (requestMouse) {
cancelAnimationFrame(requestMouse);
}
tiltx = (event.pageX - $window.width() / 2) / ($window.width() / 2);
tilty = (event.pageY - $window.height() / 2) / ($window.height() / 2);
requestMouse = requestAnimationFrame(self.mouseUpdate);
};
self.mouseUpdate = function() {
$.each(mouseLayoutList, function(index, layout) {
$(layout.selector).css('transform', 'translate3d(' + (tiltx * layout.speed * 100) + 'px, ' + (tilty * layout.speed * 100) + 'px, 0) scale(' + layout.scale + ')');
});
};
};
} )( jQuery, window.elementorFrontend );
function Parallax(options){
jQuery(document).ready(function($) {
options = options || {};
this.nameSpaces = {
wrapper: options.wrapper || '.wpkoi-parallax-section',
layers: options.layers || '.wpkoi-parallax-section__mouse-layout .wpkoi-parallax-section__image',
deep: options.deep || 'data-parallax-deep',
scale: options.scale || 'data-parallax-scale'
};
this.init = function() {
var self = this,
parallaxWrappers = document.querySelectorAll(this.nameSpaces.wrapper);
for(var i = 0; i < parallaxWrappers.length; i++){
(function(i){
parallaxWrappers[i].addEventListener('mousemove', function(e){
var x = e.clientX,
y = e.clientY,
layers = parallaxWrappers[i].querySelectorAll(self.nameSpaces.layers);
for(var j = 0; j < layers.length; j++){
(function(j){
var deep = layers[j].getAttribute(self.nameSpaces.deep),
scale = layers[j].getAttribute(self.nameSpaces.scale),
scale = scale / 100,
disallow = layers[j].getAttribute('data-parallax-disallow'),
itemX = (disallow && disallow === 'x') ? 0 : x / deep - 10,
itemY = (disallow && disallow === 'y') ? 0 : y / deep - 10;
if(disallow && disallow === 'both') return;
layers[j].style.transform = 'translateX(' + itemX + '%) translateY(' + itemY + '%) scale(' + scale + ')';
layers[j].style.transitionDuration = '0s';
})(j);
}
})
parallaxWrappers[i].addEventListener('mouseleave', function(e){
var layers = parallaxWrappers[i].querySelectorAll(self.nameSpaces.layers);
for(var j = 0; j < layers.length; j++){
(function(j){
var scale = layers[j].getAttribute(self.nameSpaces.scale),
scale = scale / 100,
disallow = layers[j].getAttribute('data-parallax-disallow');
if(disallow && disallow === 'both') return;
layers[j].style.transform = 'translateX(0%) translateY(0%) scale(' + scale + ')';
layers[j].style.transitionDuration = '0.5s';
})(j);
}
})
})(i);
}
};
this.init();
return this;
});
}
jQuery(document).ready(function($) {
new Parallax();
});
jQuery(function(l){if("undefined"==typeof wc_address_i18n_params)return!1;var e=wc_address_i18n_params.locale.replace(/"/g,'"'),n=JSON.parse(e);function o(e,a){a?(e.find("label .optional").remove(),e.addClass("validate-required"),0===e.find("label .required").length&&e.find("label").append(' *')):(e.find("label .required").remove(),e.removeClass("validate-required woocommerce-invalid woocommerce-invalid-required-field"),0===e.find("label .optional").length&&e.find("label").append(' ('+wc_address_i18n_params.i18n_optional_text+")"))}l(document.body).on("country_to_state_changing",function(e,a,i){var d=i,r="undefined"!=typeof n[a]?n[a]:n["default"],i=d.find("#billing_postcode_field, #shipping_postcode_field"),a=d.find("#billing_city_field, #shipping_city_field"),t=d.find("#billing_state_field, #shipping_state_field"),i=(i.attr("data-o_class")||(i.attr("data-o_class",i.attr("class")),a.attr("data-o_class",a.attr("class")),t.attr("data-o_class",t.attr("class"))),JSON.parse(wc_address_i18n_params.locale_fields));l.each(i,function(e,a){var a=d.find(a),i=l.extend(!0,{},n["default"][e],r[e]);"undefined"!=typeof i.label&&a.find("label").html(i.label),"undefined"!=typeof i.placeholder&&(a.find(":input").attr("placeholder",i.placeholder),a.find(":input").attr("data-placeholder",i.placeholder),a.find(".select2-selection__placeholder").text(i.placeholder)),"undefined"!=typeof i.placeholder||"undefined"==typeof i.label||a.find("label").length||(a.find(":input").attr("placeholder",i.label),a.find(":input").attr("data-placeholder",i.label),a.find(".select2-selection__placeholder").text(i.label)),"undefined"!=typeof i.required?o(a,i.required):o(a,!1),"undefined"!=typeof i.priority&&a.data("priority",i.priority),"state"!==e&&("undefined"!=typeof i.hidden&&!0===i.hidden?a.hide().find(":input").val(""):a.show()),Array.isArray(i["class"])&&(a.removeClass("form-row-first form-row-last form-row-wide"),a.addClass(i["class"].join(" ")))}),l(".woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper,.woocommerce-address-fields__field-wrapper,.woocommerce-additional-fields__field-wrapper .woocommerce-account-fields").each(function(e,a){var a=l(a).find(".form-row"),i=a.first().parent(),d=0;a.each(function(){l(this).data("priority")||l(this).data("priority",d+1),d=l(this).data("priority")}),a.sort(function(e,a){e=parseInt(l(e).data("priority"),10),a=parseInt(l(a).data("priority"),10);return aHemz Internationalhttps://validator.w3.org/feed/docs/rss2.html0Magnetism produces lines of force known as flux These can be detected by compass needle which shows the direction you are travelling as the earthsEye Casino Eye Of Horus of Horus Spielautomat Syllabus, Freispiel, BonusCozy in a Spiders Web – Hoodie Limited CollectionAn Overview of Robert Southeys Story the Goldilocks and the Three BearsThe Islamic State ISIS is a radical organization with a vast capacity for recruitment and cultural domination yet lacks its own literature even aLeading ten random video chat programs to guide you connect with acquaintances virtually securelyPromote equality and diversity in work with children and young peopleLatin American Art History Analyzing the Florentine Codex The Florentine Codex documents Aztec culture during the time of Spanish conquest from aboutI step into the studio a room dominated by a towering record collection and the flashing fluorescent lights of a soundboard Its a very small room butTextMessaging and the Promotion of Healthy Behaviors in Pediatric and Adolescent PopulationsMost Popular Solutions for Random Video Call – Ways to Handle Random Video Chat ResponsiblyBook of Ra Magic, Kostenlos & über Echtgeld vortragenLord Book of Dead-Triumph of the Ocean Slot 100% gratis spielenThe article Treadmill Predispositions and Social Responses by Schnaiberg Gould is related to the article Silent Spill by Beamish in that it explains aInstead of relying on traditional practices that could perhaps be outdated evidencebased care is based on evidence that works Organizations employThe Highly Rated Random Video Chat Programs Evaluated – Remain Unidentified on Unplanned Video ChatMental illness can affect anyone at any time there are no immunity or vaccination for these issues unlike some other physical illness and ailments inSuperiores Casinos con el pasar del tiempo book of dead máquina tragamonedas Juegos de Thunderkick referente a 2025Everyone has that one person in their life who either influences or inspires them Whomever the person is super important especially around the teenageТоп надежных виртуальных казино – как подобрать порядочный клуб покер онлайнThe Leading Unexpected Video Chat Choices in The Upcoming Year – A Overview for EveryoneОнлайн казино с премиями и известными автоматамиPremier spontaneous video chat sites to interact with acquaintances from around the worldTop ten random video chat applications to help you connect with strangers online securelyТипы вознаграждений в казино а также характеристики отработки.How To Make Your Essay Longer Instead Of BecauseMake Recent Acquaintances on Unplanned Video Chat – Guidance for First-timersИгровые развлечения на зеркале цифрового казиноTips to Stay Safe on Unplanned Video Chat – Exciting Strategies to InteractTop Random Video Chat Platforms for Leisure – Reasons Random Video Chat Is So PopularГлавные плюсы онлайн игорных заведений с игровыми автоматамиExperience the World through Random Video Chat – A Fresh Way to Discover OthersОсобенности развлечения в интернет-казино на живые деньги.The Leading Unexpected Video Chat Alternatives in Next Year – A Overview for Every IndividualHow to avoid risks when paying for business essaysBest Random Video Chat Hubs for Enjoyment – Reasons Spontaneous Video Chat Is So PopularПлюсы интернет игорных заведений с лицензией для игры на деньгиАзартный клуб в сети: как приступить игру в сети в слоты10 random video chat apps to guide you discover outsiders through the internet safelyBenefits and Cons of Random Video Chat Apps – Discover Free Random Video Chat PlatformsSalt Daddy (2023) – which he could be & why you need to Avoid HimHow To Write An Intro For A Persuasive EssayHow To Start A Paragraph In A Persuasive EssayEnjoy fun & exciting online conversations11 Symptoms Of A Desperate Woman That Change Men OffHow EssayHub Makes Composing Essays Easy for StudentsOfflin Kienspel Optreden Nederlan Speel Bingo ofwel Vanaf 10 PenningOnline Baccarat Inlichtingen 2025 Strategieën plus GeheimschriftGelijk speler behalve Amsterdam wint ruim 100 000 appreciren South Plantsoen slotMost Popular Random Video Chat Sites for Fun – Why Spontaneous Video Chat Is So Renowned