PageSourceSearch

https://www.consileondx.com/wp-content/cache/wpo-minify/1791343542…-footer-consileondx-custom1788977806.min.js

js consileondx.com collected 2026-10-09 23:57:15 UTC 4,542 bytes, 11 lines download raw bytes

1
2function isElementorEditorPreview(){return!!(window.elementorFrontend&&typeof elementorFrontend.isEditMode==='function'&&elementorFrontend.isEditMode())}(function initMagneticButtons(){if(isElementorEditorPreview())return;if(window.matchMedia('(prefers-reduced-motion: reduce)').matches)return;if(!window.matchMedia('(pointer: fine)').matches)return;document.querySelectorAll('.e-btn-animated, .toggle-btn').forEach(btn=>{const magnetRadiusX=180;const magnetRadiusY=80;const lerp=0.04;let currentX=0,currentY=0;let targetX=0,targetY=0;let rafId=null;function tick(){currentX+=(targetX-currentX)*lerp;currentY+=(targetY-currentY)*lerp;btn.style.transform=`translate(${currentX}px, ${currentY}px)`;if(Math.abs(currentX-targetX)>0.01||Math.abs(currentY-targetY)>0.01){rafId=requestAnimationFrame(tick)}else{currentX=targetX;currentY=targetY;btn.style.transform=`translate(${currentX}px, ${currentY}px)`;rafId=null}}
3document.addEventListener('mousemove',e=>{const rect=btn.getBoundingClientRect();const btnCenterX=rect.left+rect.width/2;const btnCenterY=rect.top+rect.height/2;const distX=e.clientX-btnCenterX;const distY=e.clientY-btnCenterY;const normalizedDist=Math.sqrt((distX/magnetRadiusX)**2+(distY/magnetRadiusY)**2);if(normalizedDist<1){const pull=1-normalizedDist;targetX=distX*pull*0.3;targetY=distY*pull*0.3}else{targetX=0;targetY=0}
4if(!rafId)rafId=requestAnimationFrame(tick);})})})();(function initScrollToTop(){if(isElementorEditorPreview())return;const btn=document.querySelector('.scroll-to-top');if(!btn)return;const sentinel=document.createElement('div');sentinel.style.cssText='position:absolute;top:50vh;left:0;width:1px;height:1px;pointer-events:none;';document.body.appendChild(sentinel);const observer=new IntersectionObserver(entries=>{const isAboveMiddle=!entries[0].isIntersecting;btn.classList.toggle('scroll-to-top--visible',isAboveMiddle)},{threshold:0});observer.observe(sentinel);btn.addEventListener('click',()=>{window.scrollTo({top:0,behavior:'smooth'})});if(window.matchMedia('(prefers-reduced-motion: reduce)').matches)return;const magnetRadius=60;document.addEventListener('mousemove',e=>{const rect=btn.getBoundingClientRect();const btnCenterX=rect.left+rect.width/2;const btnCenterY=rect.top+rect.height/2;const distX=e.clientX-btnCenterX;const distY=e.clientY-btnCenterY;const dist=Math.sqrt(distX*distX+distY*distY);if(dist<magnetRadius){const pull=(magnetRadius-dist)/magnetRadius;btn.style.transition='transform 0.2s ease, opacity 0.3s ease, visibility 0.3s ease';btn.style.transform=`translate(${distX * pull * 0.3}px, ${distY * pull * 0.3}px)`}else{btn.style.transition='transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0.3s ease';btn.style.transform='translate(0, 0)'}});btn.addEventListener('mouseleave',()=>{btn.style.transition='transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0.3s ease';btn.style.transform='translate(0, 0)'})})();(function initBlurLayerFallback(){if(isElementorEditorPreview())return;const body=document.body;let closing=!1;let closedAt=0;function setState(isOpen){body.classList.toggle('popup-open',isOpen)}
5function updateBlurState(){if(closing)return;const modal=document.querySelector('.elementor-popup-modal');setState(!!modal&&getComputedStyle(modal).display!=='none')}
6if(window.jQuery){jQuery(document).on('elementor/popup/show',function(){if(performance.now()-closedAt<300)return;closing=!1;setState(!0)});jQuery(document).on('elementor/popup/hide',function(){closedAt=performance.now();closing=!0;setState(!1)})}
7const observer=new MutationObserver(updateBlurState);observer.observe(body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:['style']});updateBlurState()})();document.addEventListener('DOMContentLoaded',function(){if(isElementorEditorPreview())return;document.querySelectorAll('.card-image-animated').forEach((img)=>{const box=img.parentElement;box.style.setProperty('--card-photo',`url(${img.src})`)})});document.addEventListener('DOMContentLoaded',function(){var noHistory=document.documentElement.classList.contains('no-back-history');
7document.querySelectorAll('.back-btn').forEach(function(btn){if(noHistory){return}
8btn.setAttribute('role','button');btn.setAttribute('tabindex','0');var icon=btn.querySelector('svg');if(icon)icon.setAttribute('aria-hidden','true');function goBack(){window.history.back()}
9btn.addEventListener('click',goBack);btn.addEventListener('keydown',function(e){if(e.key==='Enter'||e.key===' '||e.key==='Spacebar'){e.preventDefault();goBack()}})})});
10
11

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.