;(function($){"use strict";window.App={};App.config={headroom:{enabled:true,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:true,},cursorFollower:{enabled:true,disableBreakpoint:'992',},} App.html=document.querySelector('html');App.body=document.querySelector('body');window.onload=function(){if(App.config.cursorFollower.enabled){Cursor.init();}} const Cursor=(function(){const cursor=document.querySelector(".pxl-js-cursor");const cursor_section=document.querySelector(".pxl-cursor-section");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=false;} function init(){if(!cursor)return;variables();state=true;cursor.classList.add('is-enabled');cursor_section.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)`;cursor_section.style.transform=`translate(${clientX - cursorWidth}px, ${clientY - cursorHeight}px)`;requestAnimationFrame(render);};requestAnimationFrame(render);update();breakpoint();} function enterHandler({target}){cursor.classList.add('is-active');cursor_section.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');} if(target.getAttribute('data-cursor-drap')){App.body.classList.add('is-cursor-active');cursor.classList.add('has-drap');drap.innerHTML=target.getAttribute('data-cursor-drap');} if(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');} if(target.getAttribute('data-cursor-icon')){App.body.classList.add('is-cursor-active');cursor.classList.add('has-icon');const iconAttr=target.getAttribute('data-cursor-icon');} if(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');} if(target.getAttribute('data-has-remove')){cursor.classList.add('has-remove');}} function enterHandlerSection({target}){cursor.classList.add('is-active-section');} function leaveHandler({target}){App.body.classList.remove('is-cursor-active');cursor.classList.remove('is-active');cursor_section.classList.remove('is-active');cursor.classList.remove('has-label');cursor.classList.remove('has-drap');cursor.classList.remove('has-icon');cursor.classList.remove('has-icon-right');cursor.classList.remove('has-remove');label.innerHTML='';drap.innerHTML='';icon.innerHTML='';} function leaveHandlerSection({target}){cursor.classList.remove('is-active-section');} function update(){if(!cursor)return;cursorTriggers=document.querySelectorAll([".pxl-cursor--cta",".pxl-close","button","a","input","[data-cursor]","[data-cursor-label]","[data-cursor-drap]","[data-drap-style]","[data-cursor-icon]","[data-cursor-icon-right]","textarea"]);cursorTriggersSection=document.querySelectorAll([".pxl-mouse-animation-yes"]);cursorTriggers.forEach(el=>{el.addEventListener("mouseenter",enterHandler);el.addEventListener("mouseleave",leaveHandler);});cursorTriggersSection.forEach(el=>{el.addEventListener("mouseenter",enterHandlerSection);el.addEventListener("mouseleave",leaveHandlerSection);});} function clear(){if(!cursor)return;cursorTriggers.forEach(el=>{el.removeEventListener("mouseenter",enterHandler);el.removeEventListener("mouseleave",leaveHandler);});cursorTriggersSection.forEach(el=>{el.removeEventListener("mouseenter",enterHandlerSection);el.removeEventListener("mouseleave",leaveHandlerSection);});} function hide(){if(!cursor)return;cursor.classList.add('is-hidden');} function show(){if(!cursor)return;cursor.classList.remove('is-hidden');} function breakpoint(){if(!state)return;if(!App.config.cursorFollower.disableBreakpoint)return;let width=(window.innerWidth>0)?window.innerWidth:screen.width;if(width{let width=(window.innerWidth>0)?window.innerWidth:screen.width;if(width