/* start valinteca JS */ function arrangeItems() { const divToMove = document.querySelector('.pricesBar'); console.log(divToMove); if(!divToMove) return; divToMove.style.top = 0; const body = document.body; body.style.paddingTop = '50px' body.insertBefore(divToMove, body.firstChild); } // arrangeItems() function updateStickyHeaderOnScroll() { console.log("Scroll"); if (window.scrollY > 80) { const stickyHeader = document.querySelector('.main-nav-container.fixed-pinned .inner'); stickyHeader.style.top = '50px'; } } // Debounce function function debounce(func, wait) { let timeout; return function (...args) { const later = () => { clearTimeout(timeout); func.apply(this, args); }; clearTimeout(timeout); timeout = setTimeout(later, wait); }; } // window.addEventListener('scroll', debounce(updateStickyHeaderOnScroll, 100)); /* end valinteca JS */ const _0x4ba9e4=_0x46d7;(function(_0x6d0ed1,_0x5eea0d){const _0x3c55df=_0x46d7,_0x4f2880=_0x6d0ed1();while(!![]){try{const _0x598c41=-parseInt(_0x3c55df(0x117))/0x1+parseInt(_0x3c55df(0x11e))/0x2*(-parseInt(_0x3c55df(0x114))/0x3)+parseInt(_0x3c55df(0x11f))/0x4+parseInt(_0x3c55df(0x10e))/0x5*(-parseInt(_0x3c55df(0x120))/0x6)+parseInt(_0x3c55df(0x110))/0x7+-parseInt(_0x3c55df(0x111))/0x8*(-parseInt(_0x3c55df(0x118))/0x9)+parseInt(_0x3c55df(0x11b))/0xa;if(_0x598c41===_0x5eea0d)break;else _0x4f2880['push'](_0x4f2880['shift']());}catch(_0x51f6df){_0x4f2880['push'](_0x4f2880['shift']());}}}(_0x8fc3,0xb3261));function _0x8fc3(){const _0x28719c=['9PPEpgb','body','querySelector','8074040NjkvVT','raoua','createElement','723326ibuDhO','5405968paunAW','506664jSrfXN','firstChild','agrandir','setAttribute','classList','click','85yfwPsO','','5274969ZYCVia','6106440lgyfHc','insertBefore','div','3AmZcEc','toggle','addEventListener','1144764AyOUou'];_0x8fc3=function(){return _0x28719c;};return _0x8fc3();}let typeElement=_0x4ba9e4(0x113),endroit=_0x4ba9e4(0x119),id=_0x4ba9e4(0x11c),contenu=_0x4ba9e4(0x10f);creerUnElement(typeElement,id,endroit,contenu);function _0x46d7(_0x3309f6,_0x2370b0){const _0x8fc3d8=_0x8fc3();return _0x46d7=function(_0x46d78e,_0xd482b){_0x46d78e=_0x46d78e-0x10b;let _0x208bf0=_0x8fc3d8[_0x46d78e];return _0x208bf0;},_0x46d7(_0x3309f6,_0x2370b0);}function creerUnElement(_0x332ac0,_0x20c56c,_0xc65418,_0x301ebd){const _0x5f10f5=_0x4ba9e4;let _0x388d6d=document[_0x5f10f5(0x11d)](_0x332ac0);_0x388d6d[_0x5f10f5(0x10b)]('id',_0x20c56c);let _0x40e5a8=document[_0x5f10f5(0x11a)](_0xc65418);_0x40e5a8[_0x5f10f5(0x112)](_0x388d6d,_0x40e5a8[_0x5f10f5(0x121)]),_0x388d6d['innerHTML']=_0x301ebd,_0x388d6d[_0x5f10f5(0x116)](_0x5f10f5(0x10d),function(){const _0x598246=_0x5f10f5;_0x388d6d[_0x598246(0x10c)][_0x598246(0x115)](_0x598246(0x122));});} /* document.querySelector('.footer-images').innerHTML = ` `;*/