1(function($){"use strict";window.App={};App.config={headroom:{enabled:!0,options:{classes:{initial:"headroom",pinned:"is-pinned",unpinned:"is-unpinned",top:"is-top",notTop:"is-not-top",bottom:"is-bottom",notBottom:"is-not-bottom",frozen:"is-frozen",},}},ajax:{enabled:!0,},cursorFollower:{enabled:!0,disableBreakpoint:'992',},} 2App.html=document.querySelector('html');App.body=document.querySelector('body');window.onload=function(){if(App.config.cursorFollower.enabled){Cursor.init()}} 3const Cursor=(function(){const cursor=document.querySelector(".pxl-js-cursor");let follower;let label;let drap;let icon;let clientX;let clientY;let cursorWidth;let cursorHeight;let cursorTriggers;let cursorTriggersSection;let state;function variables(){follower=cursor.querySelector(".pxl-js-follower");label=cursor.querySelector(".pxl-js-label");drap=cursor.querySelector(".pxl-js-drap");icon=cursor.querySelector(".pxl-js-icon");clientX=-100;clientY=-100;cursorWidth=cursor.offsetWidth/2;cursorHeight=cursor.offsetHeight/2;cursorTriggers;cursorTriggersSection;state=!1} 4function init(){if(!cursor)return;variables();state=!0;cursor.classList.add('is-enabled');document.addEventListener("mousedown",e=>{cursor.classList.add('is-mouse-down')});document.addEventListener("mouseup",e=>{cursor.classList.remove('is-mouse-down')});document.addEventListener("mousemove",(event)=>{clientX=event.clientX;clientY=event.clientY});const render=()=>{cursor.style.transform=`translate(${clientX - cursorWidth}px, ${clientY - cursorHeight}px)`;requestAnimationFrame(render)};requestAnimationFrame(render);update();breakpoint()} 5function enterHandler({target}){cursor.classList.add('is-active');if(target.getAttribute('data-cursor-label')){App.body.classList.add('is-cursor-active');cursor.classList.add('has-label');label.innerHTML=target.getAttribute('data-cursor-label')} 6if(target.getAttribute('data-cursor-drap')){App.body.classList.add('is-cursor-active');cursor.classList.add('has-drap');drap.innerHTML=target.getAttribute('data-cursor-drap')} 7if(target.getAttribute('data-drap-style')){var $d_style=target.getAttribute('data-drap-style');cursor.classList.add($d_style);drap.innerHTML=target.getAttribute('data-drap-style')} 8if(target.getAttribute('data-cursor-icon')){App.body.classList.add('is-cursor-active');cursor.classList.add('has-icon');const iconAttr=target.getAttribute('data-cursor-icon')} 9if(target.getAttribute('data-cursor-icon-left')){App.body.classList.add('is-cursor-active');cursor.classList.add('has-icon-left');const iconAttr_left=target.getAttribute('data-cursor-icon-left')} 10if(target.getAttribute('data-cursor-icon-right')){App.body.classList.add('is-cursor-active');cursor.classList.add('has-icon-right');const iconAttr_right=target.getAttribute('data-cursor-icon-right')} 11if(target.getAttribute('data-has-remove')){cursor.classList.add('has-remove')}} 12function leaveHandler({target}){App.body.classList.remove('is-cursor-active');cursor.classList.remove('is-active');cursor.classList.remove('has-label');cursor.classList.remove('has-drap');cursor.classList.remove('has-icon');cursor.classList.remove('has-icon-left');cursor.classList.remove('has-icon-right');cursor.classList.remove('has-remove');label.innerHTML='';drap.innerHTML='';icon.innerHTML=''} 13function update(){if(!cursor)return;cursorTriggers=document.querySelectorAll([".pxl-cursor--cta",".pxl-cursor-remove",".pxl-close","button","a","input","[data-cursor]","[data-cursor-label]","[data-cursor-drap]","[data-drap-style]","[data-cursor-icon]","[data-cursor-icon-left]","[data-cursor-icon-right]","textarea"]);cursorTriggersSection=document.querySelectorAll([".pxl-mouse-animation-yes"]);cursorTriggers.forEach(el=>{el.addEventListener("mouseenter",enterHandler);el.addEventListener("mouseleave",leaveHandler)})} 14function clear(){if(!cursor)return;cursorTriggers.forEach(el=>{el.removeEventListener("mouseenter",enterHandler);el.removeEventListener("mouseleave",leaveHandler)})} 15function hide(){if(!cursor)return;cursor.classList.add('is-hidden')} 16function show(){if(!cursor)return;cursor.classList.remove('is-hidden')} 17function breakpoint(){if(!state)return;if(!App.config.cursorFollower.disableBreakpoint)return;let width=(window.innerWidth>0)?window.innerWidth:screen.width;if(width<App.config.cursorFollower.disableBreakpoint){state=!1;cursor.classList.remove('is-enabled');clear()}else{state=!0;cursor.classList.add('is-enabled');
17update()} 18window.addEventListener('resize',()=>{let width=(window.innerWidth>0)?window.innerWidth:screen.width;if(width<App.config.cursorFollower.disableBreakpoint){state=!1;cursor.classList.remove('is-enabled');clear()}else{state=!0;cursor.classList.add('is-enabled');update()}})} 19return{init:init,update:update,clear:clear,hide:hide,show:show,}})()})(jQuery) 20;
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.