(function(){
window.addEventListener('DOMContentLoaded', function(event){
window.addEventListener('load', function(event){
let stopFlag=false, el1VelocityXYFlag=false, el2VelocityXYFlag=false, el1VelocityResizeFlag=false, el2VelocityResizeFlag=false, hoverElementWidth=0, hoverElementHeight=0, elementTop=0, elementLeft=0, calcTop=0, calcLeft=0, paddingTop=0, paddingLeft=0, hx=0, hy=0;
let mouseData={
x:0,
y:0,
hx:0,
hy:0,
prevX: 0,
prevY: 0,
prevTimeStamp: 0,
el1ScaleX: 1,
el1ScaleY: 1,
el2ScaleX: 1,
el2ScaleY: 1
};
let distanceX, timeDiff, velX=1, distanceY, velY=1, el1VelX=1, el1VelY=1, el2VelX=1, el2VelY=1;
const getMousePosition=function(e){
hx=e.clientX;
hy=e.clientY;
if(stopFlag){
hx=elementLeft;
hy=elementTop;
}
if(el1VelocityXYFlag||el2VelocityXYFlag){
distanceX=Math.sqrt(Math.pow(e.clientX - mouseData.prevX, 2) );
timeDiff=e.timeStamp - mouseData.prevTimeStamp;
velX=distanceX / timeDiff;
velX=1 /(1 + velX);
distanceY=Math.sqrt(Math.pow(e.clientY - mouseData.prevY, 2) );
velY=distanceY / timeDiff;
velY=1 /(1 + velY);
}
if(el1VelocityResizeFlag||el2VelocityResizeFlag){
distanceX=Math.sqrt(Math.pow(e.clientX - mouseData.prevX, 2) + Math.pow(e.clientY - mouseData.prevY, 2) );
timeDiff=e.timeStamp - mouseData.prevTimeStamp;
velX=distanceX / timeDiff;
velX=1 /(1 + velX);
}
if(el1VelocityXYFlag){
el1VelX=velX;
el1VelY=velY;
}
if(el2VelocityXYFlag){
el2VelX=velX;
el2VelY=velY;
}
if(el1VelocityResizeFlag){
el1VelX=velX;
el1VelY=velX;
}
if(el2VelocityResizeFlag){
el2VelX=velX;
el2VelY=velX;
}
return {
x:e.clientX,
y:e.clientY,
hx:hx,
hy:hy,
prevX: e.clientX,
prevY: e.clientY,
prevTimeStamp: e.timeStamp,
el1ScaleX: el1VelY,
el1ScaleY: el1VelX,
el2ScaleX: el2VelY,
el2ScaleY: el2VelX
}}
let body=document.querySelector('body'),
frames=document.querySelectorAll('iframe');
body.addEventListener('pointermove', function(ev){mouseData=getMousePosition(ev)});
if(frames.length > 0){
[...frames].forEach(function(frame){
frame.addEventListener('mouseenter', function(){
body.classList.add('iframe-hover');
});
frame.addEventListener('mouseleave', function(){
body.classList.remove('iframe-hover');
});
});
}
[...added_cursors].forEach(function(cursor){
let elements=null;
if(cursor.activate_on==0){
elements=document.querySelectorAll("body");
}else{
switch (cursor.selector_type){
case 'tag':
elements=document.querySelectorAll(cursor.selector_data);
break;
case 'class':
elements=document.querySelectorAll("." + cursor.selector_data);
break;
case 'id':
elements=document.querySelectorAll("#" + cursor.selector_data);
break;
case 'attribute':
elements=document.querySelectorAll("[" + cursor.selector_data + "]");
break;
}}
if(elements!=null&&elements.length > 0){
[...elements].forEach(function(element){
createCursor(element, cursor);
});
}});
function createCursor(element, cursor){
let cursorWrapper=document.createElement('div'),
cursorEl1=document.createElement('div'),
cursorEl2=document.createElement('div'),
mouseEntered=false;
cursorEl1.classList.add('cursor-el1');
cursorEl2.classList.add('cursor-el2');
if(cursor.cursor_type=='shape'){
cursorWrapper.classList.add(`cursor-${cursor.cursor_shape}`);
}
if(cursor.hide_tablet=="on"){
cursorWrapper.classList.add('hide-tablet');
}
if(cursor.hide_mobile=="on"){
cursorWrapper.classList.add('hide-mobile');
}
cursorWrapper.classList.add('wpcc-cursor');
cursorWrapper.classList.add('no-transition');
cursorWrapper.appendChild(cursorEl1);
cursorWrapper.appendChild(cursorEl2);
body.appendChild(cursorWrapper);
let createdCursorId=cursor.cursor_shape.substring(8), predefinedCursor=true;
[...created_cursors].forEach(function(createdCursor){
if(createdCursor.cursor_id==createdCursorId){
predefinedCursor=false;
let className=createdCursor.cursor_type;
if(createdCursor.cursor_type=='text'){
className=createdCursor.cursor_options.normal_text_type;
}
cursorWrapper.setAttribute('data-cursor-type', className);
switch(createdCursor.cursor_type){
case 'shape':
cursorWrapper.style.setProperty('--fe-width', createdCursor.cursor_options.fe_width + "px");
cursorWrapper.style.setProperty('--fe-height', createdCursor.cursor_options.fe_height + "px");
cursorWrapper.style.setProperty('--fe-color', createdCursor.cursor_options.fe_color);
cursorWrapper.style.setProperty('--fe-border-width', createdCursor.cursor_options.fe_border_width + "px");
cursorWrapper.style.setProperty('--fe-border-radius', createdCursor.cursor_options.fe_radius + "px");
cursorWrapper.style.setProperty('--fe-border-color', createdCursor.cursor_options.fe_border_color);
cursorWrapper.style.setProperty('--fe-transition-duration', createdCursor.cursor_options.fe_duration + "ms");
cursorWrapper.style.setProperty('--fe-transition-timing', createdCursor.cursor_options.fe_timing);
cursorWrapper.style.setProperty('--fe-blending-mode', createdCursor.cursor_options.fe_blending);
cursorWrapper.style.setProperty('--fe-zindex', createdCursor.cursor_options.fe_zindex);
cursorWrapper.style.setProperty('--fe-backdrop', `${createdCursor.cursor_options.fe_backdrop}(${createdCursor.cursor_options.fe_backdrop_value})`);
switch(createdCursor.cursor_options.fe_velocity){
case 'xy':
el1VelocityXYFlag=true;
break;
case 'resize':
el1VelocityResizeFlag=true;
break;
}
cursorWrapper.style.setProperty('--se-width', createdCursor.cursor_options.se_width + "px");
cursorWrapper.style.setProperty('--se-height', createdCursor.cursor_options.se_height + "px");
cursorWrapper.style.setProperty('--se-color', createdCursor.cursor_options.se_color);
cursorWrapper.style.setProperty('--se-border-width', createdCursor.cursor_options.se_border_width + "px");
cursorWrapper.style.setProperty('--se-border-radius', createdCursor.cursor_options.se_radius + "px");
cursorWrapper.style.setProperty('--se-border-color', createdCursor.cursor_options.se_border_color);
cursorWrapper.style.setProperty('--se-transition-duration', createdCursor.cursor_options.se_duration + "ms");
cursorWrapper.style.setProperty('--se-transition-timing', createdCursor.cursor_options.se_timing);
cursorWrapper.style.setProperty('--se-blending-mode', createdCursor.cursor_options.se_blending);
cursorWrapper.style.setProperty('--se-zindex', createdCursor.cursor_options.se_zindex);
cursorWrapper.style.setProperty('--se-backdrop', `${createdCursor.cursor_options.se_backdrop}(${createdCursor.cursor_options.se_backdrop_value})`);
switch(createdCursor.cursor_options.se_velocity){
case 'xy':
el2VelocityXYFlag=true;
break;
case 'resize':
el2VelocityResizeFlag=true;
break;
}
break;
case 'image':
let imageCursor=document.createElement('img');
imageCursor.setAttribute('src', createdCursor.cursor_options.image_url);
cursorEl1.appendChild(imageCursor);
cursorWrapper.classList.add('cursor-image');
let clickPointOption=createdCursor.cursor_options.click_point.split(','),
clickPointX=(Number(clickPointOption[0]) * Number(createdCursor.cursor_options.width)) / 100,
clickPointY=(Number(clickPointOption[1]) * Number(createdCursor.cursor_options.height)) / 100;
cursorWrapper.style.setProperty('--width', createdCursor.cursor_options.width + "px");
cursorWrapper.style.setProperty('--color', createdCursor.cursor_options.color);
cursorWrapper.style.setProperty('--radius', createdCursor.cursor_options.radius + "px");
if(createdCursor.cursor_options.background!='off'){
cursorWrapper.style.setProperty('--padding', createdCursor.cursor_options.padding + "px");
paddingTop=createdCursor.cursor_options.padding;
paddingLeft=createdCursor.cursor_options.padding;
}
calcTop=(Number(paddingTop) + clickPointY) * -1;
calcLeft=(Number(paddingLeft) + clickPointX) * -1;
cursorWrapper.style.setProperty('--blending', createdCursor.cursor_options.blending);
break;
case 'text':
if(createdCursor.cursor_options.normal_text_type=='horizontal'){
let hrDom=document.createElement('div');
hrDom.innerHTML=createdCursor.cursor_options.hr_text;
cursorEl1.appendChild(hrDom);
cursorWrapper.classList.add('cursor-horizontal');
cursorEl1.firstChild.style.setProperty('--hr-width', createdCursor.cursor_options.hr_width + "px");
cursorEl1.firstChild.style.setProperty('--hr-transform', createdCursor.cursor_options.hr_transform);
cursorEl1.firstChild.style.setProperty('--hr-size', createdCursor.cursor_options.hr_size + "px");
cursorEl1.firstChild.style.setProperty('--hr-weight', createdCursor.cursor_options.hr_weight);
cursorEl1.firstChild.style.setProperty('--bg-color', createdCursor.cursor_options.hr_bgcolor);
cursorEl1.firstChild.style.setProperty('--hr-size', createdCursor.cursor_options.hr_size + "px");
cursorEl1.firstChild.style.setProperty('--hr-spacing', createdCursor.cursor_options.hr_spacing + "px");
cursorEl1.firstChild.style.setProperty('--hr-radius', createdCursor.cursor_options.hr_radius + "px");
cursorEl1.firstChild.style.setProperty('--hr-padding', createdCursor.cursor_options.hr_padding + "px");
cursorEl1.firstChild.style.setProperty('--hr-backdrop', createdCursor.cursor_options.hr_backdrop + "(" + createdCursor.cursor_options.hr_backdrop_amount + ")");
cursorEl1.firstChild.style.setProperty('--hr-color', createdCursor.cursor_options.hr_color);
cursorWrapper.style.setProperty('--duration', createdCursor.cursor_options.hr_duration + "ms");
cursorWrapper.style.setProperty('--timing', createdCursor.cursor_options.hr_timing);
}else{
let svgString=`<svg viewBox="0 0 500 500"><path d="M50,250c0-110.5,89.5-200,200-200s200,89.5,200,200s-89.5,200-200,200S50,360.5,50,250" id="textcircle" fill="none"></path><text dy="25"><textPath xlink:href="#textcircle">${createdCursor.cursor_options.text}</textPath></text><circle cx="250" cy="250" r="${createdCursor.cursor_options.dot_width}" id="svg_circle_node"/></svg>`;
cursorEl1.innerHTML=svgString;
cursorWrapper.classList.add('cursor-text');
cursorEl1.firstChild.style.setProperty('--dot-fill', createdCursor.cursor_options.dot_color);
cursorEl1.firstChild.style.setProperty('--text-width', createdCursor.cursor_options.width + "px");
cursorEl1.firstChild.style.setProperty('--text-transform', createdCursor.cursor_options.text_transform);
cursorEl1.firstChild.style.setProperty('--font-weight', createdCursor.cursor_options.font_weight);
cursorEl1.firstChild.style.setProperty('--text-color', createdCursor.cursor_options.text_color);
cursorEl1.firstChild.style.setProperty('--font-size', createdCursor.cursor_options.font_size + "px");
cursorEl1.firstChild.style.setProperty('--word-spacing', createdCursor.cursor_options.word_spacing + "px");
cursorEl1.firstChild.style.setProperty('--animation-name', createdCursor.cursor_options.animation);
cursorEl1.firstChild.style.setProperty('--animation-duration', createdCursor.cursor_options.animation_duration + "s");
cursorEl1.firstChild.style.setProperty('--dot-width', createdCursor.cursor_options.dot_width + "px");
}
break;
}
if(createdCursor.hover_cursors){
createdCursor.hover_cursors.forEach(function(hoverCursor){
switch (hoverCursor.hover_type){
case 'default':
let defaultSelector=['a', 'button'];
defaultSelector.forEach(function(hoverSelector){
let hoverElements=document.querySelectorAll(`${hoverSelector}:not(.wpcc-cursor *)`);
[...hoverElements].forEach(function(el){
el.addEventListener('mouseenter', function(){
cursorWrapper.classList.add('link-hover');
});
el.addEventListener('mouseleave', function(){
cursorWrapper.classList.remove('link-hover');
});
});
});
break;
case 'snap':
let snapSelector=[];
if(hoverCursor.buttons=="on"){snapSelector.push('button')}
if(hoverCursor.images=="on"){snapSelector.push('img')}
if(hoverCursor.links=="on"){snapSelector.push('a')}
if(hoverCursor.custom=="on"){snapSelector.push(hoverCursor.selector)}
snapSelector.forEach(function(hoverSelector){
let currentStyles, currentChild, currentType, currentCalcTop, currentCalcLeft, currentEl1VelXYFlag, currentEl1VelResizeFlag, currentEl2VelXYFlag, currentEl2VelResizeFlag;
let hoverElements=document.querySelectorAll(`${hoverSelector}:not(.wpcc-cursor *)`);
[...hoverElements].forEach(function(el){
el.addEventListener('mouseenter', function(){
currentEl1VelXYFlag=el1VelocityXYFlag;
currentEl1VelResizeFlag=el1VelocityResizeFlag;
currentEl2VelXYFlag=el2VelocityXYFlag;
currentEl2VelResizeFlag=el2VelocityResizeFlag;
el1VelocityXYFlag=false;
el1VelocityResizeFlag=false;
el2VelocityXYFlag=false;
el2VelocityResizeFlag=false;
el1VelX=1;
el1VelY=1;
el2VelX=1;
el2VelY=1;
stopFlag=true;
if(cursorWrapper.getAttribute('style')){
currentStyles=cursorWrapper.getAttribute('style');
cursorWrapper.removeAttribute('style');
}
currentType=cursorWrapper.getAttribute('data-cursor-type');
cursorWrapper.classList.remove(`cursor-${currentType}`);
currentChild=cursorEl1.firstChild ? cursorEl1.removeChild(cursorEl1.firstChild):null;
currentCalcTop=calcTop;
currentCalcLeft=calcLeft;
calcTop=0;
calcLeft=0;
cursorWrapper.classList.add('cursor-snap');
let elementPos=el.getBoundingClientRect();
elementTop=elementPos.top - hoverCursor.padding;
elementLeft=elementPos.left - hoverCursor.padding;
hoverElementWidth=elementPos.width + (hoverCursor.padding * 2);
hoverElementHeight=elementPos.height + (hoverCursor.padding * 2);
cursorWrapper.style.setProperty('--width', hoverElementWidth + "px");
cursorWrapper.style.setProperty('--height', hoverElementHeight + "px");
cursorWrapper.style.setProperty('--blending', hoverCursor.blending);
cursorWrapper.style.setProperty('--bgcolor', hoverCursor.bgcolor);
cursorWrapper.style.setProperty('--border-color', hoverCursor.border_color);
cursorWrapper.style.setProperty('--border-width', hoverCursor.border_width + "px");
cursorWrapper.style.setProperty('--radius', hoverCursor.radius + "px");
cursorEl1.style.top=0;
cursorEl1.style.left=0;
});
el.addEventListener('mouseleave', function(){
el1VelocityXYFlag=currentEl1VelXYFlag;
el1VelocityResizeFlag=currentEl1VelResizeFlag;
el2VelocityXYFlag=currentEl2VelXYFlag;
el2VelocityResizeFlag=currentEl2VelResizeFlag;
stopFlag=false;
calcTop=currentCalcTop;
calcLeft=currentCalcLeft;
cursorWrapper.removeAttribute('style');
if(currentStyles){
cursorWrapper.setAttribute('style', currentStyles);
}
cursorWrapper.classList.remove('cursor-snap');
cursorWrapper.classList.add(`cursor-${currentType}`);
cursorWrapper.setAttribute('data-cursor-type', currentType);
if(currentChild){cursorEl1.appendChild(currentChild);}
cursorEl1.style.removeProperty('top');
cursorEl1.style.removeProperty('left');
});
});
});
break;
case 'shape':
let selector=[];
if(hoverCursor.buttons=="on"){selector.push('button')}
if(hoverCursor.images=="on"){selector.push('img')}
if(hoverCursor.links=="on"){selector.push('a')}
if(hoverCursor.custom=="on"){selector.push(hoverCursor.selector)}
selector.forEach(function(hoverSelector){
let hoverElements=document.querySelectorAll(`${hoverSelector}:not(.wpcc-cursor *)`);
[...hoverElements].forEach(function(el){
let currentStyles, currentChild, currentType, currentCalcTop, currentCalcLeft, currentEl1VelXYFlag, currentEl1VelResizeFlag, currentEl2VelXYFlag, currentEl2VelResizeFlag;
el.addEventListener('mouseenter', function(){
currentEl1VelXYFlag=el1VelocityXYFlag;
currentEl1VelResizeFlag=el1VelocityResizeFlag;
currentEl2VelXYFlag=el2VelocityXYFlag;
currentEl2VelResizeFlag=el2VelocityResizeFlag;
el1VelocityXYFlag=false;
el1VelocityResizeFlag=false;
el2VelocityXYFlag=false;
el2VelocityResizeFlag=false;
el1VelX=1;
el1VelY=1;
el2VelX=1;
el2VelY=1;
switch(hoverCursor.hover_fe_velocity){
case 'xy':
el1VelocityXYFlag=true;
break;
case 'resize':
el1VelocityResizeFlag=true;
break;
}
switch(hoverCursor.hover_se_velocity){
case 'xy':
el2VelocityXYFlag=true;
break;
case 'resize':
el2VelocityResizeFlag=true;
break;
}
if(cursorWrapper.getAttribute('style')){
currentStyles=cursorWrapper.getAttribute('style');
cursorWrapper.removeAttribute('style');
}
currentChild=cursorEl1.firstChild ? cursorEl1.removeChild(cursorEl1.firstChild):null;
currentType=cursorWrapper.getAttribute('data-cursor-type');
cursorWrapper.classList.remove(`cursor-${currentType}`);
cursorWrapper.setAttribute('data-cursor-type', hoverCursor.hover_type);
currentCalcTop=calcTop;
currentCalcLeft=calcLeft;
calcTop=0;
calcLeft=0;
cursorWrapper.classList.add(`cursor-${cursor.cursor_shape}`);
cursorWrapper.style.setProperty('--fe-width', hoverCursor.hover_fe_width + "px");
cursorWrapper.style.setProperty('--fe-height', hoverCursor.hover_fe_height + "px");
cursorWrapper.style.setProperty('--fe-color', hoverCursor.hover_fe_color);
cursorWrapper.style.setProperty('--fe-border-width', hoverCursor.hover_fe_border_width + "px");
cursorWrapper.style.setProperty('--fe-border-radius', hoverCursor.hover_fe_radius + "px");
cursorWrapper.style.setProperty('--fe-border-color', hoverCursor.hover_fe_border_color);
cursorWrapper.style.setProperty('--fe-transition-duration', hoverCursor.hover_fe_duration + "ms");
cursorWrapper.style.setProperty('--fe-transition-timing', hoverCursor.hover_fe_timing);
cursorWrapper.style.setProperty('--fe-blending-mode', hoverCursor.hover_fe_blending);
cursorWrapper.style.setProperty('--fe-zindex', hoverCursor.hover_fe_zindex);
cursorWrapper.style.setProperty('--fe-backdrop', `${hoverCursor.hover_fe_backdrop}(${hoverCursor.hover_fe_backdrop_value})`);
cursorWrapper.style.setProperty('--se-width', hoverCursor.hover_se_width + "px");
cursorWrapper.style.setProperty('--se-height', hoverCursor.hover_se_height + "px");
cursorWrapper.style.setProperty('--se-color', hoverCursor.hover_se_color);
cursorWrapper.style.setProperty('--se-border-width', hoverCursor.hover_se_border_width + "px");
cursorWrapper.style.setProperty('--se-border-radius', hoverCursor.hover_se_radius + "px");
cursorWrapper.style.setProperty('--se-border-color', hoverCursor.hover_se_border_color);
cursorWrapper.style.setProperty('--se-transition-duration', hoverCursor.hover_se_duration + "ms");
cursorWrapper.style.setProperty('--se-transition-timing', hoverCursor.hover_se_timing);
cursorWrapper.style.setProperty('--se-blending-mode', hoverCursor.hover_se_blending);
cursorWrapper.style.setProperty('--se-zindex', hoverCursor.hover_se_zindex);
cursorWrapper.style.setProperty('--se-backdrop', `${hoverCursor.hover_se_backdrop}(${createdCursor.cursor_options.se_backdrop_value})`);
});
el.addEventListener('mouseleave', function(){
el1VelocityXYFlag=currentEl1VelXYFlag;
el1VelocityResizeFlag=currentEl1VelResizeFlag;
el2VelocityXYFlag=currentEl2VelXYFlag;
el2VelocityResizeFlag=currentEl2VelResizeFlag;
cursorWrapper.removeAttribute('style');
if(currentStyles){
cursorWrapper.setAttribute('style', currentStyles);
}
cursorWrapper.classList.add(`cursor-${currentType}`);
cursorWrapper.setAttribute('data-cursor-type', currentType);
calcTop=currentCalcTop;
calcLeft=currentCalcLeft;
if(currentChild){cursorEl1.appendChild(currentChild);}});
});
});
break;
case 'image':
let imageSelector=[];
if(hoverCursor.buttons=="on"){imageSelector.push('button')}
if(hoverCursor.images=="on"){imageSelector.push('img')}
if(hoverCursor.links=="on"){imageSelector.push('a')}
if(hoverCursor.custom=="on"){imageSelector.push(hoverCursor.selector)}
let imageCursor=document.createElement('img');
imageCursor.setAttribute('src', hoverCursor.hover_image_url);
let clickPointOption=hoverCursor.hover_click_point.split(','),
clickPointX=(Number(clickPointOption[0]) * Number(hoverCursor.width)) / 100,
clickPointY=(Number(clickPointOption[1]) * Number(hoverCursor.height)) / 100;
imageSelector.forEach(function(hoverSelector){
let hoverElements=document.querySelectorAll(`${hoverSelector}:not(.wpcc-cursor *)`);
let currentStyles, currentChild, currentType, currentCalcTop, currentCalcLeft, currentEl1VelXYFlag, currentEl1VelResizeFlag, currentEl2VelXYFlag, currentEl2VelResizeFlag;
[...hoverElements].forEach(function(el){
el.addEventListener('mouseenter', function(){
currentEl1VelXYFlag=el1VelocityXYFlag;
currentEl1VelResizeFlag=el1VelocityResizeFlag;
currentEl2VelXYFlag=el2VelocityXYFlag;
currentEl2VelResizeFlag=el2VelocityResizeFlag;
el1VelocityXYFlag=false;
el1VelocityResizeFlag=false;
el2VelocityXYFlag=false;
el2VelocityResizeFlag=false;
el1VelX=1;
el1VelY=1;
el2VelX=1;
el2VelY=1;
if(cursorWrapper.getAttribute('style')){
currentStyles=cursorWrapper.getAttribute('style');
cursorWrapper.removeAttribute('style');
}
currentChild=cursorEl1.firstChild ? cursorEl1.removeChild(cursorEl1.firstChild):null;
cursorEl1.appendChild(imageCursor);
currentType=cursorWrapper.getAttribute('data-cursor-type');
cursorWrapper.classList.remove(`cursor-${currentType}`);
cursorWrapper.classList.add('cursor-image');
cursorWrapper.setAttribute('data-cursor-type', hoverCursor.hover_type);
currentCalcTop=calcTop;
currentCalcLeft=calcLeft;
cursorWrapper.style.setProperty('--width', hoverCursor.width + "px");
cursorWrapper.style.setProperty('--color', hoverCursor.color);
cursorWrapper.style.setProperty('--radius', hoverCursor.radius + "px");
if(hoverCursor.background!='off'){
cursorWrapper.style.setProperty('--padding', hoverCursor.padding + "px");
paddingTop=hoverCursor.padding;
paddingLeft=hoverCursor.padding;
}
calcTop=(Number(paddingTop) + clickPointY) * -1;
calcLeft=(Number(paddingLeft) + clickPointX) * -1;
cursorWrapper.style.setProperty('--blending', hoverCursor.blending);
});
el.addEventListener('mouseleave', function(){
el1VelocityXYFlag=currentEl1VelXYFlag;
el1VelocityResizeFlag=currentEl1VelResizeFlag;
el2VelocityXYFlag=currentEl2VelXYFlag;
el2VelocityResizeFlag=currentEl2VelResizeFlag;
cursorEl1.removeChild(imageCursor);
cursorWrapper.removeAttribute('style');
if(currentStyles){
cursorWrapper.setAttribute('style', currentStyles);
}
cursorWrapper.classList.remove('cursor-image');
cursorWrapper.classList.add(`cursor-${currentType}`);
cursorWrapper.setAttribute('data-cursor-type', currentType);
calcTop=currentCalcTop;
calcLeft=currentCalcLeft;
if(currentChild){cursorEl1.appendChild(currentChild);}});
});
});
break;
case 'text':
let textSelector=[];
if(hoverCursor.buttons=="on"){textSelector.push('button')}
if(hoverCursor.images=="on"){textSelector.push('img')}
if(hoverCursor.links=="on"){textSelector.push('a')}
if(hoverCursor.custom=="on"){textSelector.push(hoverCursor.selector)}
textSelector.forEach(function(hoverSelector){
let currentStyles, currentChild, currentType, currentCalcTop, currentCalcLeft, currentEl1VelXYFlag, currentEl1VelResizeFlag, currentEl2VelXYFlag, currentEl2VelResizeFlag;
let hoverElements=document.querySelectorAll(`${hoverSelector}:not(.wpcc-cursor *)`);
[...hoverElements].forEach(function(el){
el.addEventListener('mouseenter', function(){
currentEl1VelXYFlag=el1VelocityXYFlag;
currentEl1VelResizeFlag=el1VelocityResizeFlag;
currentEl2VelXYFlag=el2VelocityXYFlag;
currentEl2VelResizeFlag=el2VelocityResizeFlag;
el1VelocityXYFlag=false;
el1VelocityResizeFlag=false;
el2VelocityXYFlag=false;
el2VelocityResizeFlag=false;
el1VelX=1;
el1VelY=1;
el2VelX=1;
el2VelY=1;
if(cursorWrapper.getAttribute('style')){
currentStyles=cursorWrapper.getAttribute('style');
cursorWrapper.removeAttribute('style');
}
currentChild=cursorEl1.firstChild ? cursorEl1.removeChild(cursorEl1.firstChild):null;
currentType=cursorWrapper.getAttribute('data-cursor-type');
cursorWrapper.classList.remove(`cursor-${currentType}`);
cursorWrapper.classList.add('cursor-text');
cursorWrapper.setAttribute('data-cursor-type', hoverCursor.hover_type);
currentCalcTop=calcTop;
currentCalcLeft=calcLeft;
calcTop=0;
calcLeft=0;
let svgString=`<svg viewBox="0 0 500 500"><path d="M50,250c0-110.5,89.5-200,200-200s200,89.5,200,200s-89.5,200-200,200S50,360.5,50,250" id="textcircle" fill="none"></path><text dy="25"><textPath xlink:href="#textcircle">${hoverCursor.hover_text}</textPath></text><circle cx="250" cy="250" r="${hoverCursor.hover_dot_width}" id="svg_circle_node"/></svg>`;
cursorEl1.innerHTML=svgString;
cursorWrapper.style.setProperty('--dot-fill', hoverCursor.dot_color);
cursorWrapper.style.setProperty('--text-width', hoverCursor.width + "px");
cursorWrapper.style.setProperty('--text-transform', hoverCursor.hover_text_transform);
cursorWrapper.style.setProperty('--font-weight', hoverCursor.hover_font_weight);
cursorWrapper.style.setProperty('--text-color', hoverCursor.hover_text_color);
cursorWrapper.style.setProperty('--font-size', hoverCursor.font_size + "px");
cursorWrapper.style.setProperty('--word-spacing', hoverCursor.hover_word_spacing + "px");
cursorWrapper.style.setProperty('--animation-name', hoverCursor.hover_animation);
cursorWrapper.style.setProperty('--animation-duration', hoverCursor.hover_animation_duration + "s");
cursorWrapper.style.setProperty('--dot-width', hoverCursor.hover_dot_width + "px");
});
el.addEventListener('mouseleave', function(){
el1VelocityXYFlag=currentEl1VelXYFlag;
el1VelocityResizeFlag=currentEl1VelResizeFlag;
el2VelocityXYFlag=currentEl2VelXYFlag;
el2VelocityResizeFlag=currentEl2VelResizeFlag;
cursorWrapper.removeAttribute('style');
if(currentStyles){
cursorWrapper.setAttribute('style', currentStyles);
}
cursorEl1.innerHTML="";
cursorWrapper.classList.remove('cursor-text');
cursorWrapper.classList.add(`cursor-${currentType}`);
cursorWrapper.setAttribute('data-cursor-type', currentType);
if(currentChild){cursorEl1.appendChild(currentChild);}
calcTop=currentCalcTop;
calcLeft=currentCalcLeft;
});
});
});
break;
case 'horizontal':
let hrSelector=[];
if(hoverCursor.buttons=="on"){hrSelector.push('button')}
if(hoverCursor.images=="on"){hrSelector.push('img')}
if(hoverCursor.links=="on"){hrSelector.push('a')}
if(hoverCursor.custom=="on"){hrSelector.push(hoverCursor.selector)}
let hrContainer=document.createElement('div');
hrSelector.forEach(function(hoverSelector){
let currentStyles, currentChild, currentType, currentCalcTop, currentCalcLeft;
let hoverElements=document.querySelectorAll(`${hoverSelector}:not(.wpcc-cursor *)`);
[...hoverElements].forEach(function(el){
el.addEventListener('mouseenter', function(){
if(cursorWrapper.getAttribute('style')){
currentStyles=cursorWrapper.getAttribute('style');
cursorWrapper.removeAttribute('style');
}
currentChild=cursorEl1.firstChild ? cursorEl1.removeChild(cursorEl1.firstChild):null;
currentType=cursorWrapper.getAttribute('data-cursor-type');
currentCalcTop=calcTop;
currentCalcLeft=calcLeft;
calcTop=0;
calcLeft=0;
cursorWrapper.classList.add('cursor-horizontal');
hrContainer.innerHTML=hoverCursor.hover_hr_text;
cursorEl1.appendChild(hrContainer);
cursorWrapper.style.setProperty('--hr-width', hoverCursor.hover_hr_width + "px");
cursorWrapper.style.setProperty('--hr-transform', hoverCursor.hover_hr_transform);
cursorWrapper.style.setProperty('--hr-size', hoverCursor.hover_hr_size + "px");
cursorWrapper.style.setProperty('--hr-weight', hoverCursor.hover_hr_weight);
cursorWrapper.style.setProperty('--bg-color', hoverCursor.hover_hr_bgcolor);
cursorWrapper.style.setProperty('--hr-spacing', hoverCursor.hover_hr_spacing + "px");
cursorWrapper.style.setProperty('--hr-radius', hoverCursor.hover_hr_radius + "px");
cursorWrapper.style.setProperty('--hr-padding', hoverCursor.hover_hr_padding + "px");
cursorWrapper.style.setProperty('--hr-backdrop', hoverCursor.hover_hr_backdrop + "(" + hoverCursor.hover_hr_backdrop_amount + ")");
cursorWrapper.style.setProperty('--hr-color', hoverCursor.hover_hr_color);
cursorWrapper.style.setProperty('--duration', hoverCursor.hover_hr_duration + "ms");
cursorWrapper.style.setProperty('--timing', hoverCursor.hover_hr_timing);
});
el.addEventListener('mouseleave', function(){
cursorWrapper.removeAttribute('style');
if(currentStyles){
cursorWrapper.setAttribute('style', currentStyles);
}
cursorEl1.removeChild(hrContainer);
cursorWrapper.classList.remove('cursor-horizontal');
cursorWrapper.classList.add(`cursor-${currentType}`);
cursorWrapper.setAttribute('data-cursor-type', currentType);
calcTop=currentCalcTop;
calcLeft=currentCalcLeft;
if(currentChild){cursorEl1.appendChild(currentChild);}});
});
});
break;
}});
}else{
let innerLinks=element.querySelectorAll('a');
[...innerLinks].forEach(function(link){
link.addEventListener('mouseenter', function(){
cursorWrapper.classList.add('link-hover');
});
link.addEventListener('mouseleave', function(){
cursorWrapper.classList.remove('link-hover');
});
});
}}
});
if(predefinedCursor){
cursorWrapper.style.setProperty('--fe-width', cursor.width + "px");
cursorWrapper.style.setProperty('--fe-height', cursor.width + "px");
cursorWrapper.style.setProperty('--se-width', cursor.width + "px");
cursorWrapper.style.setProperty('--se-height', cursor.width + "px");
cursorWrapper.style.setProperty('--fe-color', cursor.color);
cursorWrapper.style.setProperty('--se-color', cursor.color);
cursorWrapper.style.setProperty('--fe-blending', cursor.blending_mode);
cursorWrapper.style.setProperty('--se-blending', cursor.blending_mode);
let innerLinks=element.querySelectorAll('a');
[...innerLinks].forEach(function(link){
link.addEventListener('mouseenter', function(){
cursorWrapper.classList.add('link-hover');
});
link.addEventListener('mouseleave', function(){
cursorWrapper.classList.remove('link-hover');
});
});
}
if(!Number(cursor.default_cursor)){
element.classList.add('no-cursor');
}else{
element.classList.add('default-cursor');
}
element.addEventListener('mouseenter', function(){
mouseEntered=true;
cursorWrapper.classList.add('active');
window.setTimeout(function(){
cursorWrapper.classList.remove('no-transition');
}, 1000);
});
element.addEventListener('mouseleave', function(){
mouseEntered=false;
cursorWrapper.classList.remove('active');
});
element.addEventListener('pointermove', function(){
if(!mouseEntered){
mouseEntered=true;
cursorWrapper.classList.add('active');
window.setTimeout(function(){
cursorWrapper.classList.remove('no-transition');
}, 1000);
}});
requestAnimationFrame(renderCursor);
function renderCursor(){
cursorEl1.style.transform=`matrix(${mouseData.el1ScaleX}, 0, 0, ${mouseData.el1ScaleY}, ${mouseData.hx + calcLeft}, ${mouseData.hy + calcTop})`;
cursorEl2.style.transform=`matrix(${mouseData.el2ScaleX}, 0, 0, ${mouseData.el2ScaleY}, ${mouseData.x}, ${mouseData.y})`;
requestAnimationFrame(renderCursor);
}
var innerInputs=element.querySelectorAll('input[type="text"], input[type="email"], input[type="search"], input[type="number"], input[type="password"], input[type="url"], input[type="date"], input[type="range"], textarea');
[...innerInputs].forEach(function(input){
input.addEventListener('mouseenter', function(){
cursorWrapper.classList.add('input-hover');
});
input.addEventListener('mouseleave', function(){
cursorWrapper.classList.remove('input-hover');
});
});
let observerOptions={
childList: true,
subtree: true,
},
observer=new MutationObserver(callback);
function callback(mutations){
for (let mutation of mutations){
if(mutation.type==='childList'){
for(let addedNode of mutation.addedNodes){
if(addedNode.nodeType==Node.ELEMENT_NODE){
if(cursorWrapper.contains(addedNode)){
return false;
}
let cursorId=cursor.cursor_shape.substring(8);
[...created_cursors].forEach(function(createdCursor){
if(createdCursor.cursor_id==cursorId){
createdCursor.hover_cursors.forEach(function(hover){
let selector=[];
if(hover.buttons=="on"){selector.push('button')}
if(hover.images=="on"){selector.push('img')}
if(hover.links=="on"){selector.push('a')}
if(hover.custom=="on"){selector.push(hover.selector)}
selector.forEach(function(selectorItem){
if(addedNode.matches(selectorItem)){
switch (hover.hover_type){
case 'default':
addedNode.addEventListener('mouseenter', function(){
cursorWrapper.classList.add('link-hover');
});
addedNode.addEventListener('mouseleave', function(){
cursorWrapper.classList.remove('link-hover');
});
break;
case 'snap':
let currentStyles, currentChild, currentType, currentCalcTop, currentCalcLeft;
addedNode.addEventListener('mouseenter', function(){
stopFlag=true;
if(cursorWrapper.getAttribute('style')){
currentStyles=cursorWrapper.getAttribute('style');
cursorWrapper.removeAttribute('style');
}
currentType=cursorWrapper.getAttribute('data-cursor-type');
cursorWrapper.classList.remove(`cursor-${currentType}`);
currentChild=cursorEl1.firstChild ? cursorEl1.removeChild(cursorEl1.firstChild):null;
currentCalcTop=calcTop;
currentCalcLeft=calcLeft;
calcTop=0;
calcLeft=0;
cursorWrapper.classList.add('cursor-snap');
let elementPos=el.getBoundingClientRect();
elementTop=elementPos.top - hoverCursor.padding;
elementLeft=elementPos.left - hoverCursor.padding;
hoverElementWidth=elementPos.width + (hoverCursor.padding * 2);
hoverElementHeight=elementPos.height + (hoverCursor.padding * 2);
cursorWrapper.style.setProperty('--width', hoverElementWidth + "px");
cursorWrapper.style.setProperty('--height', hoverElementHeight + "px");
cursorWrapper.style.setProperty('--blending', hoverCursor.blending);
cursorWrapper.style.setProperty('--bgcolor', hoverCursor.bgcolor);
cursorWrapper.style.setProperty('--border-color', hoverCursor.border_color);
cursorWrapper.style.setProperty('--border-width', hoverCursor.border_width + "px");
cursorWrapper.style.setProperty('--radius', hoverCursor.radius + "px");
cursorEl1.style.top=0;
cursorEl1.style.left=0;
});
addedNode.addEventListener('mouseleave', function(){
stopFlag=false;
calcTop=currentCalcTop;
calcLeft=currentCalcLeft;
cursorWrapper.removeAttribute('style');
if(currentStyles){
cursorWrapper.setAttribute('style', currentStyles);
}
cursorWrapper.classList.remove('cursor-snap');
cursorWrapper.classList.add(`cursor-${currentType}`);
cursorWrapper.setAttribute('data-cursor-type', currentType);
if(currentChild){cursorEl1.appendChild(currentChild);}
cursorEl1.style.removeProperty('top');
cursorEl1.style.removeProperty('left');
});
break;
case 'shape':
let currentStylesShape, currentChildShape, currentTypeShape, currentCalcTopShape, currentCalcLeftShape;
addedNode.addEventListener('mouseenter', function(){
if(cursorWrapper.getAttribute('style')){
currentStylesShape=cursorWrapper.getAttribute('style');
cursorWrapper.removeAttribute('style');
}
currentChildShape=cursorEl1.firstChild ? cursorEl1.removeChild(cursorEl1.firstChild):null;
currentTypeShape=cursorWrapper.getAttribute('data-cursor-type');
cursorWrapper.classList.remove(`cursor-${currentTypeShape}`);
cursorWrapper.setAttribute('data-cursor-type', hover.hover_type);
currentCalcTopShape=calcTop;
currentCalcLeftShape=calcLeft;
calcTop=0;
calcLeft=0;
cursorWrapper.classList.add(`cursor-${cursor.cursor_shape}`);
cursorWrapper.style.setProperty('--fe-width', hover.hover_fe_width + "px");
cursorWrapper.style.setProperty('--fe-height', hover.hover_fe_height + "px");
cursorWrapper.style.setProperty('--fe-color', hover.hover_fe_color);
cursorWrapper.style.setProperty('--fe-border-width', hover.hover_fe_border_width + "px");
cursorWrapper.style.setProperty('--fe-border-radius', hover.hover_fe_radius + "px");
cursorWrapper.style.setProperty('--fe-border-color', hover.hover_fe_border_color);
cursorWrapper.style.setProperty('--fe-transition-duration', hover.hover_fe_duration + "ms");
cursorWrapper.style.setProperty('--fe-transition-timing', hover.hover_fe_timing);
cursorWrapper.style.setProperty('--fe-blending-mode', hover.hover_fe_blending);
cursorWrapper.style.setProperty('--fe-zindex', hover.hover_fe_zindex);
cursorWrapper.style.setProperty('--fe-backdrop', `${hover.hover_fe_backdrop}(${hover.hover_fe_backdrop_value})`);
cursorWrapper.style.setProperty('--se-width', hover.hover_se_width + "px");
cursorWrapper.style.setProperty('--se-height', hover.hover_se_height + "px");
cursorWrapper.style.setProperty('--se-color', hover.hover_se_color);
cursorWrapper.style.setProperty('--se-border-width', hover.hover_se_border_width + "px");
cursorWrapper.style.setProperty('--se-border-radius', hover.hover_se_radius + "px");
cursorWrapper.style.setProperty('--se-border-color', hover.hover_se_border_color);
cursorWrapper.style.setProperty('--se-transition-duration', hover.hover_se_duration + "ms");
cursorWrapper.style.setProperty('--se-transition-timing', hover.hover_se_timing);
cursorWrapper.style.setProperty('--se-blending-mode', hover.hover_se_blending);
cursorWrapper.style.setProperty('--se-zindex', hover.hover_se_zindex);
cursorWrapper.style.setProperty('--se-backdrop', `${hover.hover_se_backdrop}(${createdCursor.cursor_options.se_backdrop_value})`);
});
addedNode.addEventListener('mouseleave', function(){
cursorWrapper.removeAttribute('style');
if(currentStylesShape){
cursorWrapper.setAttribute('style', currentStylesShape);
}
cursorWrapper.classList.add(`cursor-${currentTypeShape}`);
cursorWrapper.setAttribute('data-cursor-type', currentTypeShape);
calcTop=currentCalcTopShape;
calcLeft=currentCalcLeftShape;
if(currentChildShape){cursorEl1.appendChild(currentChildShape);}});
break;
case 'image':
let imageCursor=document.createElement('img');
imageCursor.setAttribute('src', hover.hover_image_url);
let clickPointOption=hover.hover_click_point.split(','),
clickPointX=(Number(clickPointOption[0]) * Number(hover.width)) / 100,
clickPointY=(Number(clickPointOption[1]) * Number(hover.height)) / 100;
let currentStylesImage, currentChildImage, currentTypeImage, currentCalcTopImage, currentCalcLeftImage;
addedNode.addEventListener('mouseenter', function(){
if(cursorWrapper.getAttribute('style')){
currentStylesImage=cursorWrapper.getAttribute('style');
cursorWrapper.removeAttribute('style');
}
currentChildImage=cursorEl1.firstChild ? cursorEl1.removeChild(cursorEl1.firstChild):null;
cursorEl1.appendChild(imageCursor);
currentTypeImage=cursorWrapper.getAttribute('data-cursor-type');
cursorWrapper.classList.remove(`cursor-${currentTypeImage}`);
cursorWrapper.classList.add('cursor-image');
cursorWrapper.setAttribute('data-cursor-type', hover.hover_type);
currentCalcTopImage=calcTop;
currentCalcLeftImage=calcLeft;
cursorWrapper.style.setProperty('--width', hover.width + "px");
cursorWrapper.style.setProperty('--color', hover.color);
cursorWrapper.style.setProperty('--radius', hover.radius + "px");
if(hover.background!='off'){
cursorWrapper.style.setProperty('--padding', hover.padding + "px");
paddingTop=hover.padding;
paddingLeft=hover.padding;
}
calcTop=(Number(paddingTop) + clickPointY) * -1;
calcLeft=(Number(paddingLeft) + clickPointX) * -1;
cursorWrapper.style.setProperty('--blending', hover.blending);
});
addedNode.addEventListener('mouseleave', function(){
cursorEl1.removeChild(imageCursor);
cursorWrapper.removeAttribute('style');
if(currentStylesImage){
cursorWrapper.setAttribute('style', currentStylesImage);
}
cursorWrapper.classList.remove('cursor-image');
cursorWrapper.classList.add(`cursor-${currentTypeImage}`);
cursorWrapper.setAttribute('data-cursor-type', currentTypeImage);
calcTop=currentCalcTopImage;
calcLeft=currentCalcLeftImage;
if(currentChildImage){cursorEl1.appendChild(currentChildImage);}});
break;
case 'text':
let currentStylesText, currentChildText, currentTypeText, currentCalcTopText, currentCalcLeftText;
addedNode.addEventListener('mouseenter', function(){
if(cursorWrapper.getAttribute('style')){
currentStylesText=cursorWrapper.getAttribute('style');
cursorWrapper.removeAttribute('style');
}
currentChildText=cursorEl1.firstChild ? cursorEl1.removeChild(cursorEl1.firstChild):null;
currentTypeText=cursorWrapper.getAttribute('data-cursor-type');
cursorWrapper.classList.remove(`cursor-${currentTypeText}`);
cursorWrapper.classList.add('cursor-text');
cursorWrapper.setAttribute('data-cursor-type', hover.hover_type);
currentCalcTopText=calcTop;
currentCalcLeftText=calcLeft;
calcTop=0;
calcLeft=0;
let svgString=`<svg viewBox="0 0 500 500"><path d="M50,250c0-110.5,89.5-200,200-200s200,89.5,200,200s-89.5,200-200,200S50,360.5,50,250" id="textcircle" fill="none"></path><text dy="25"><textPath xlink:href="#textcircle">${hover.hover_text}</textPath></text><circle cx="250" cy="250" r="${hover.hover_dot_width}" id="svg_circle_node"/></svg>`;
cursorEl1.innerHTML=svgString;
cursorWrapper.style.setProperty('--dot-fill', hover.dot_color);
cursorWrapper.style.setProperty('--text-width', hover.width + "px");
cursorWrapper.style.setProperty('--text-transform', hover.hover_text_transform);
cursorWrapper.style.setProperty('--font-weight', hover.hover_font_weight);
cursorWrapper.style.setProperty('--text-color', hover.hover_text_color);
cursorWrapper.style.setProperty('--font-size', hover.font_size + "px");
cursorWrapper.style.setProperty('--word-spacing', hover.hover_word_spacing + "px");
cursorWrapper.style.setProperty('--animation-name', hover.hover_animation);
cursorWrapper.style.setProperty('--animation-duration', hover.hover_animation_duration + "s");
cursorWrapper.style.setProperty('--dot-width', hover.hover_dot_width + "px");
});
addedNode.addEventListener('mouseleave', function(){
cursorWrapper.removeAttribute('style');
if(currentStylesText){
cursorWrapper.setAttribute('style', currentStylesText);
}
cursorEl1.innerHTML="";
cursorWrapper.classList.remove('cursor-text');
cursorWrapper.classList.add(`cursor-${currentTypeText}`);
cursorWrapper.setAttribute('data-cursor-type', currentTypeText);
if(currentChildText){cursorEl1.appendChild(currentChildText);}
calcTop=currentCalcTopText;
calcLeft=currentCalcLeftText;
});
break;
case 'horizontal':
let hrContainer=document.createElement('div');
let currentStylesHorizontal, currentChildHorizontal, currentTypeHorizontal, currentCalcTopHorizontal, currentCalcLeftHorizontal;
addedNode.addEventListener('mouseenter', function(){
if(cursorWrapper.getAttribute('style')){
currentStylesHorizontal=cursorWrapper.getAttribute('style');
cursorWrapper.removeAttribute('style');
}
currentChildHorizontal=cursorEl1.firstChild ? cursorEl1.removeChild(cursorEl1.firstChild):null;
currentTypeHorizontal=cursorWrapper.getAttribute('data-cursor-type');
currentCalcTopHorizontal=calcTop;
currentCalcLeftHorizontal=calcLeft;
calcTop=0;
calcLeft=0;
cursorWrapper.classList.add('cursor-horizontal');
hrContainer.innerHTML=hover.hover_hr_text;
cursorEl1.appendChild(hrContainer);
cursorWrapper.style.setProperty('--hr-width', hover.hover_hr_width + "px");
cursorWrapper.style.setProperty('--hr-transform', hover.hover_hr_transform);
cursorWrapper.style.setProperty('--hr-size', hover.hover_hr_size + "px");
cursorWrapper.style.setProperty('--hr-weight', hover.hover_hr_weight);
cursorWrapper.style.setProperty('--bg-color', hover.hover_hr_bgcolor);
cursorWrapper.style.setProperty('--hr-spacing', hover.hover_hr_spacing + "px");
cursorWrapper.style.setProperty('--hr-radius', hover.hover_hr_radius + "px");
cursorWrapper.style.setProperty('--hr-padding', hover.hover_hr_padding + "px");
cursorWrapper.style.setProperty('--hr-backdrop', hover.hover_hr_backdrop + "(" + hover.hover_hr_backdrop_amount + ")");
cursorWrapper.style.setProperty('--hr-color', hover.hover_hr_color);
cursorWrapper.style.setProperty('--duration', hover.hover_hr_duration + "ms");
cursorWrapper.style.setProperty('--timing', hover.hover_hr_timing);
});
addedNode.addEventListener('mouseleave', function(){
cursorWrapper.removeAttribute('style');
if(currentStylesHorizontal){
cursorWrapper.setAttribute('style', currentStylesHorizontal);
}
cursorEl1.removeChild(hrContainer);
cursorWrapper.classList.remove('cursor-horizontal');
cursorWrapper.classList.add(`cursor-${currentTypeHorizontal}`);
cursorWrapper.setAttribute('data-cursor-type', currentTypeHorizontal);
calcTop=currentCalcTopHorizontal;
calcLeft=currentCalcLeftHorizontal;
if(currentChildHorizontal){cursorEl1.appendChild(currentChildHorizontal);}});
break;
}}
});
})
}});
}}
}}
}
observer.observe(body, observerOptions);
}});
});
})();
!function(){var t=jQuery;t(window).on("load",function(){var o,n,e,a,i,l,s,r,c;(o=wpfront_scroll_top_data.data).data.hide_iframe&&t(window).attr("self")!==t(window).attr("top")||(null!==o.css&&t("<style>").text(o.css).appendTo("head"),t("body").append(o.html),n=o.data,e=t("#wpfront-scroll-top-container"),a=!1,i=0,l=function(){clearTimeout(i),e.is(":visible")&&e.stop().fadeTo(n.button_fade_duration,0,function(){e.removeClass("show"),a=!1})},s=function(){n.auto_hide&&(clearTimeout(i),i=setTimeout(function(){l()},1e3*n.auto_hide_after))},r=!1,c=function(){r||(r=!0,t(window).scrollTop()>n.scroll_offset?(e.stop().css("opacity",a?1:n.button_opacity).addClass("show"),a||s()):l(),r=!1)},t(window).on("scroll",c),c(),e.on("mouseenter",function(){clearTimeout(i),a=!0,t(this).css("opacity",1)}).on("mouseleave",function(){t(this).css("opacity",n.button_opacity),a=!1,s()}).on("click",function(o){if("url"===n.button_action)return!0;if("element"===n.button_action){o.preventDefault();var e=t(n.button_action_element_selector).first(),a=t(n.button_action_container_selector),i=e.offset();if(null==i)return!1;var l=a.last().offset();if(null==l)return!1;n.button_action_element_offset=parseInt(n.button_action_element_offset),isNaN(n.button_action_element_offset)&&(n.button_action_element_offset=0);var s=i.top-l.top-n.button_action_element_offset;return a.animate({scrollTop:s},n.scroll_duration),!1}return o.preventDefault(),t("html, body").animate({scrollTop:0},n.scroll_duration),!1}))})}();
!function(){class e{constructor(){this.initSettings(),this.initElements(),this.bindEvents()}initSettings(){this.settings={selectors:{menuToggle:".site-header .site-navigation-toggle",menuToggleHolder:".site-header .site-navigation-toggle-holder",dropdownMenu:".site-header .site-navigation-dropdown"}}}initElements(){this.elements={window:window,menuToggle:document.querySelector(this.settings.selectors.menuToggle),menuToggleHolder:document.querySelector(this.settings.selectors.menuToggleHolder),dropdownMenu:document.querySelector(this.settings.selectors.dropdownMenu)}}bindEvents(){this.elements.menuToggleHolder&&!this.elements.menuToggleHolder?.classList.contains("hide")&&(this.elements.menuToggle.addEventListener("click",()=>this.handleMenuToggle()),this.elements.dropdownMenu.querySelectorAll(".menu-item-has-children > a").forEach(e=>e.addEventListener("click",e=>this.handleMenuChildren(e))))}closeMenuItems(){this.elements.menuToggleHolder.classList.remove("elementor-active"),this.elements.window.removeEventListener("resize",()=>this.closeMenuItems())}handleMenuToggle(){const e=!this.elements.menuToggleHolder.classList.contains("elementor-active");this.elements.menuToggle.setAttribute("aria-expanded",e),this.elements.dropdownMenu.setAttribute("aria-hidden",!e),this.elements.dropdownMenu.inert=!e,this.elements.menuToggleHolder.classList.toggle("elementor-active",e),this.elements.dropdownMenu.querySelectorAll(".elementor-active").forEach(e=>e.classList.remove("elementor-active")),e?this.elements.window.addEventListener("resize",()=>this.closeMenuItems()):this.elements.window.removeEventListener("resize",()=>this.closeMenuItems())}handleMenuChildren(e){const t=e.currentTarget.parentElement;t?.classList&&t.classList.toggle("elementor-active")}}document.addEventListener("DOMContentLoaded",()=>{new e})}();
(()=>{"use strict";var e,r,_,t,a,n={},i={};function __webpack_require__(e){var r=i[e];if(void 0!==r)return r.exports;var _=i[e]={exports:{}};return n[e].call(_.exports,_,_.exports,__webpack_require__),_.exports}__webpack_require__.m=n,e=[],__webpack_require__.O=(r,_,t,a)=>{if(!_){var n=1/0;for(b=0;b<e.length;b++){for(var[_,t,a]=e[b],i=!0,c=0;c<_.length;c++)(!1&a||n>=a)&&Object.keys(__webpack_require__.O).every(e=>__webpack_require__.O[e](_[c]))?_.splice(c--,1):(i=!1,a<n&&(n=a));if(i){e.splice(b--,1);var o=t();void 0!==o&&(r=o)}}return r}a=a||0;for(var b=e.length;b>0&&e[b-1][2]>a;b--)e[b]=e[b-1];e[b]=[_,t,a]},_=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var a=Object.create(null);__webpack_require__.r(a);var n={};r=r||[null,_({}),_([]),_(_)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~r.indexOf(i);i=_(i))Object.getOwnPropertyNames(i).forEach(r=>n[r]=()=>e[r]);return n.default=()=>e,__webpack_require__.d(a,n),a},__webpack_require__.d=(e,r)=>{for(var _ in r)__webpack_require__.o(r,_)&&!__webpack_require__.o(e,_)&&Object.defineProperty(e,_,{enumerable:!0,get:r[_]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((r,_)=>(__webpack_require__.f[_](e,r),r),[])),__webpack_require__.u=e=>786===e?"397f2d183c19202777d6.bundle.min.js":216===e?"lightbox.570c05c5a283cfb6b223.bundle.min.js":30===e?"text-path.a67c1f3a78d208bc7e1b.bundle.min.js":131===e?"accordion.8b0db5058afeb74622f5.bundle.min.js":707===e?"alert.42cc1d522ef5c60bf874.bundle.min.js":457===e?"counter.12335f45aaa79d244f24.bundle.min.js":234===e?"progress.0ea083b809812c0e3aa1.bundle.min.js":575===e?"tabs.18344b05d8d1ea0702bc.bundle.min.js":775===e?"toggle.2a177a3ef4785d3dfbc5.bundle.min.js":180===e?"video.86d44e46e43d0807e708.bundle.min.js":177===e?"image-carousel.6167d20b95b33386757b.bundle.min.js":212===e?"text-editor.45609661e409413f1cef.bundle.min.js":211===e?"wp-audio.c9624cb6e5dc9de86abd.bundle.min.js":215===e?"nested-tabs.a2401356d329f179475e.bundle.min.js":915===e?"nested-accordion.294d40984397351fd0f5.bundle.min.js":1===e?"contact-buttons.e98d0220ce8c38404e7e.bundle.min.js":336===e?"floating-bars.740d06d17cea5cebdb61.bundle.min.js":557===e?"shared-frontend-handlers.03caa53373b56d3bab67.bundle.min.js":396===e?"shared-editor-handlers.cacdcbed391abf4b48b0.bundle.min.js":768===e?"container-editor-handlers.a2e8e48d28c5544fb183.bundle.min.js":77===e?"section-frontend-handlers.d85ab872da118940910d.bundle.min.js":220===e?"section-editor-handlers.53ffedef32043348b99b.bundle.min.js":304===e?"nested-title-keyboard-handler.2a67d3cc630e11815acc.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},a="elementorFrontend:",__webpack_require__.l=(e,r,_,n)=>{if(t[e])t[e].push(r);else{var i,c;if(void 0!==_)for(var o=document.getElementsByTagName("script"),b=0;b<o.length;b++){var u=o[b];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==a+_){i=u;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&i.setAttribute("nonce",__webpack_require__.nc),i.setAttribute("data-webpack",a+_),i.src=e),t[e]=[r];var onScriptComplete=(r,_)=>{i.onerror=i.onload=null,clearTimeout(d);var a=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(_)),r)return r(_)},d=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=onScriptComplete.bind(null,i.onerror),i.onload=onScriptComplete.bind(null,i.onload),c&&document.head.appendChild(i)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var r=__webpack_require__.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var _=r.getElementsByTagName("script");if(_.length)for(var t=_.length-1;t>-1&&(!e||!/^http(s?):/.test(e));)e=_[t--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={76:0};__webpack_require__.f.j=(r,_)=>{var t=__webpack_require__.o(e,r)?e[r]:void 0;if(0!==t)if(t)_.push(t[2]);else if(76!=r){var a=new Promise((_,a)=>t=e[r]=[_,a]);_.push(t[2]=a);var n=__webpack_require__.p+__webpack_require__.u(r),i=new Error;__webpack_require__.l(n,_=>{if(__webpack_require__.o(e,r)&&(0!==(t=e[r])&&(e[r]=void 0),t)){var a=_&&("load"===_.type?"missing":_.type),n=_&&_.target&&_.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+n+")",i.name="ChunkLoadError",i.type=a,i.request=n,t[1](i)}},"chunk-"+r,r)}else e[r]=0},__webpack_require__.O.j=r=>0===e[r];var webpackJsonpCallback=(r,_)=>{var t,a,[n,i,c]=_,o=0;if(n.some(r=>0!==e[r])){for(t in i)__webpack_require__.o(i,t)&&(__webpack_require__.m[t]=i[t]);if(c)var b=c(__webpack_require__)}for(r&&r(_);o<n.length;o++)a=n[o],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return __webpack_require__.O(b)},r=self.webpackChunkelementorFrontend=self.webpackChunkelementorFrontend||[];r.forEach(webpackJsonpCallback.bind(null,0)),r.push=webpackJsonpCallback.bind(null,r.push.bind(r))})()})();
(self.webpackChunkelementorFrontend=self.webpackChunkelementorFrontend||[]).push([[941],{1:(e,t,r)=>{"use strict";var n=r(5578),i=r(7255),s=r(5755),o=r(1866),a=r(6029),c=r(5022),l=n.Symbol,u=i("wks"),p=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return s(u,e)||(u[e]=a&&s(l,e)?l[e]:p("Symbol."+e)),u[e]}},41:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},169:(e,t,r)=>{"use strict";var n=r(4762),i=r(8473),s=r(1483),o=r(5755),a=r(382),c=r(2048).CONFIGURABLE,l=r(7268),u=r(4483),p=u.enforce,d=u.get,h=String,f=Object.defineProperty,g=n("".slice),m=n("".replace),v=n([].join),y=a&&!i(function(){return 8!==f(function(){},"length",{value:8}).length}),w=String(String).split("String"),b=e.exports=function(e,t,r){"Symbol("===g(h(t),0,7)&&(t="["+m(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||c&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),y&&r&&o(r,"arity")&&e.length!==r.arity&&f(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=p(e);return o(n,"source")||(n.source=v(w,"string"==typeof t?t:"")),e};Function.prototype.toString=b(function toString(){return s(this)&&d(this).source||l(this)},"toString")},274:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},348:(e,t,r)=>{"use strict";var n=r(1807),i=r(1483),s=r(1704),o=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&i(r=e.toString)&&!s(a=n(r,e)))return a;if(i(r=e.valueOf)&&!s(a=n(r,e)))return a;if("string"!==t&&i(r=e.toString)&&!s(a=n(r,e)))return a;throw new o("Can't convert object to primitive value")}},382:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},641:(e,t,r)=>{"use strict";r(5724),r(4846),r(7458),r(9655);const Module=function(){const e=jQuery,t=arguments,r=this,n={};let i;this.getItems=function(e,t){if(t){const r=t.split("."),n=r.splice(0,1);if(!r.length)return e[n];if(!e[n])return;return this.getItems(e[n],r.join("."))}return e},this.getSettings=function(e){return this.getItems(i,e)},this.setSettings=function(t,n,s){if(s||(s=i),"object"==typeof t)return e.extend(s,t),r;const o=t.split("."),a=o.splice(0,1);return o.length?(s[a]||(s[a]={}),r.setSettings(o.join("."),n,s[a])):(s[a]=n,r)},this.getErrorMessage=function(e,t){let r;if("forceMethodImplementation"===e)r=`The method '${t}' must to be implemented in the inheritor child.`;else r="An error occurs";return r},this.forceMethodImplementation=function(e){throw new Error(this.getErrorMessage("forceMethodImplementation",e))},this.on=function(t,i){if("object"==typeof t)return e.each(t,function(e){r.on(e,this)}),r;return t.split(" ").forEach(function(e){n[e]||(n[e]=[]),n[e].push(i)}),r},this.off=function(e,t){if(!n[e])return r;if(!t)return delete n[e],r;const i=n[e].indexOf(t);return-1!==i&&(delete n[e][i],n[e]=n[e].filter(e=>e)),r},this.trigger=function(t){const i="on"+t[0].toUpperCase()+t.slice(1),s=Array.prototype.slice.call(arguments,1);r[i]&&r[i].apply(r,s);const o=n[t];return o?(e.each(o,function(e,t){t.apply(r,s)}),r):r},r.__construct.apply(r,t),e.each(r,function(e){const t=r[e];"function"==typeof t&&(r[e]=function(){return t.apply(r,arguments)})}),function(){i=r.getDefaultSettings();const n=t[0];n&&e.extend(!0,i,n)}(),r.trigger("init")};Module.prototype.__construct=function(){},Module.prototype.getDefaultSettings=function(){return{}},Module.prototype.getConstructorID=function(){return this.constructor.name},Module.extend=function(e){const t=jQuery,r=this,child=function(){return r.apply(this,arguments)};return t.extend(child,r),(child.prototype=Object.create(t.extend({},r.prototype,e))).constructor=child,child.__super__=r.prototype,child},e.exports=Module},670:(e,t,r)=>{"use strict";var n=r(382),i=r(5835),s=r(7738);e.exports=function(e,t,r){n?i.f(e,t,s(0,r)):e[t]=r}},751:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724),r(4846),r(9655);class InstanceType{static[Symbol.hasInstance](e){let t=super[Symbol.hasInstance](e);if(e&&!e.constructor.getInstanceType)return t;if(e&&(e.instanceTypes||(e.instanceTypes=[]),t||this.getInstanceType()===e.constructor.getInstanceType()&&(t=!0),t)){const t=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===e.instanceTypes.indexOf(t)&&e.instanceTypes.push(t)}return!t&&e&&(t=e.instanceTypes&&Array.isArray(e.instanceTypes)&&-1!==e.instanceTypes.indexOf(this.getInstanceType())),t}static getInstanceType(){elementorModules.ForceMethodImplementation()}constructor(){let e=new.target;const t=[];for(;e.__proto__&&e.__proto__.name;)t.push(e.__proto__),e=e.__proto__;t.reverse().forEach(e=>this instanceof e)}}t.default=InstanceType},1091:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},1265:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(641)),s=n(r(2425)),o=n(r(2946)),a=n(r(3980)),c=n(r(2970)),l=n(r(8685)),u=r(9031),p=r(1462);const d={Module:i.default,ViewModule:s.default,ArgsObject:o.default,ForceMethodImplementation:l.default,utils:{Masonry:a.default,Scroll:c.default},importExport:{createGetInitialState:u.createGetInitialState,customizationDialogsRegistry:p.customizationDialogsRegistry}};window.elementorModules?Object.assign(window.elementorModules,d):window.elementorModules=d;t.default=window.elementorModules},1278:(e,t,r)=>{"use strict";var n=r(4762),i=n({}.toString),s=n("".slice);e.exports=function(e){return s(i(e),8,-1)}},1409:(e,t,r)=>{"use strict";var n=r(5578),i=r(1483);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},1423:(e,t,r)=>{"use strict";var n=r(1409),i=r(1483),s=r(4815),o=r(5022),a=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&s(t.prototype,a(e))}},1462:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customizationDialogsRegistry=void 0;var n=r(7958);t.customizationDialogsRegistry=new n.BaseRegistry},1483:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},1506:(e,t,r)=>{"use strict";var n=r(2914),i=r(1807),s=r(2293),o=r(8761),a=r(5299),c=r(6960),l=r(4815),u=r(4887),p=r(6665),d=r(6721),h=TypeError,Result=function(e,t){this.stopped=e,this.result=t},f=Result.prototype;e.exports=function(e,t,r){var g,m,v,y,w,b,S,x=r&&r.that,E=!(!r||!r.AS_ENTRIES),I=!(!r||!r.IS_RECORD),_=!(!r||!r.IS_ITERATOR),C=!(!r||!r.INTERRUPTED),O=n(t,x),stop=function(e){return g&&d(g,"normal"),new Result(!0,e)},callFn=function(e){return E?(s(e),C?O(e[0],e[1],stop):O(e[0],e[1])):C?O(e,stop):O(e)};if(I)g=e.iterator;else if(_)g=e;else{if(!(m=p(e)))throw new h(o(e)+" is not iterable");if(a(m)){for(v=0,y=c(e);y>v;v++)if((w=callFn(e[v]))&&l(f,w))return w;return new Result(!1)}g=u(e,m)}for(b=I?e.next:g.next;!(S=i(b,g)).done;){try{w=callFn(S.value)}catch(e){d(g,"throw",e)}if("object"==typeof w&&w&&l(f,w))return w}return new Result(!1)}},1507:e=>{"use strict";e.exports={}},1703:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function trunc(e){var n=+e;return(n>0?r:t)(n)}},1704:(e,t,r)=>{"use strict";var n=r(1483);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},1799:(e,t,r)=>{"use strict";var n=r(382),i=r(8473),s=r(3145);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a})},1807:(e,t,r)=>{"use strict";var n=r(274),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},1831:(e,t,r)=>{"use strict";var n=r(9557),i=r(5578),s=r(2095),o="__core-js_shared__",a=e.exports=i[o]||s(o,{});(a.versions||(a.versions=[])).push({version:"3.46.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"})},1851:(e,t,r)=>{"use strict";var n,i,s,o=r(8473),a=r(1483),c=r(1704),l=r(5290),u=r(3181),p=r(7914),d=r(1),h=r(9557),f=d("iterator"),g=!1;[].keys&&("next"in(s=[].keys())?(i=u(u(s)))!==Object.prototype&&(n=i):g=!0),!c(n)||o(function(){var e={};return n[f].call(e)!==e})?n={}:h&&(n=l(n)),a(n[f])||p(n,f,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},1866:(e,t,r)=>{"use strict";var n=r(4762),i=0,s=Math.random(),o=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+s,36)}},1975:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(8120),o=r(2293),a=r(41),c=r(8660),l=r(8901),u=r(9557),p=r(6721),d=r(7486),h=r(5267),f=!u&&!d("filter",function(){}),g=!u&&!f&&h("filter",TypeError),m=u||f||g,v=c(function(){for(var e,t,r=this.iterator,n=this.predicate,s=this.next;;){if(e=o(i(s,r)),this.done=!!e.done)return;if(t=e.value,l(r,n,[t,this.counter++],!0))return t}});n({target:"Iterator",proto:!0,real:!0,forced:m},{filter:function filter(e){o(this);try{s(e)}catch(e){p(this,"throw",e)}return g?i(g,this,e):new v(a(this),{predicate:e})}})},1983:(e,t,r)=>{"use strict";var n=r(6721);e.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{r=n(e[i].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},2048:(e,t,r)=>{"use strict";var n=r(382),i=r(5755),s=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=i(s,"name"),c=a&&"something"===function something(){}.name,l=a&&(!n||n&&o(s,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},2095:(e,t,r)=>{"use strict";var n=r(5578),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},2121:(e,t,r)=>{"use strict";var n=r(4762),i=r(8473),s=r(1278),o=Object,a=n("".split);e.exports=i(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===s(e)?a(e,""):o(e)}:o},2278:(e,t,r)=>{"use strict";var n=r(6742),i=r(4741).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return n(e,i)}},2293:(e,t,r)=>{"use strict";var n=r(1704),i=String,s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(i(e)+" is not an object")}},2313:(e,t,r)=>{"use strict";var n=r(7914);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},2347:(e,t,r)=>{"use strict";var n=r(3312),i=Object;e.exports=function(e){return i(n(e))}},2355:(e,t,r)=>{"use strict";var n=r(1807),i=r(1704),s=r(1423),o=r(2564),a=r(348),c=r(1),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!i(e)||s(e))return e;var r,c=o(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!i(r)||s(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},2425:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(641));t.default=i.default.extend({elements:null,getDefaultElements:()=>({}),bindEvents(){},onInit(){this.initElements(),this.bindEvents()},initElements(){this.elements=this.getDefaultElements()}})},2564:(e,t,r)=>{"use strict";var n=r(8120),i=r(5983);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},2811:(e,t,r)=>{"use strict";var n=r(1409);e.exports=n("document","documentElement")},2890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211);class _default extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{elements:".elementor-element",nestedDocumentElements:".elementor .elementor-element"},classes:{editMode:"elementor-edit-mode"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$elements:this.$element.find(e.elements).not(this.$element.find(e.nestedDocumentElements))}}getDocumentSettings(e){let t;if(this.isEdit){t={};const e=elementor.settings.page.model;jQuery.each(e.getActiveControls(),r=>{t[r]=e.attributes[r]})}else t=this.$element.data("elementor-settings")||{};return this.getItems(t,e)}runElementsHandlers(){this.elements.$elements.each((e,t)=>setTimeout(()=>elementorFrontend.elementsHandler.runReadyTrigger(t)))}onInit(){this.$element=this.getSettings("$element"),super.onInit(),this.isEdit=this.$element.hasClass(this.getSettings("classes.editMode")),this.isEdit?elementor.on("document:loaded",()=>{elementor.settings.page.model.on("change",this.onSettingsChange.bind(this))}):this.runElementsHandlers()}onSettingsChange(){}}t.default=_default},2914:(e,t,r)=>{"use strict";var n=r(3786),i=r(8120),s=r(274),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:s?o(e,t):function(){return e.apply(t,arguments)}}},2946:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(751)),s=n(r(5213));class ArgsObject extends i.default{static getInstanceType(){return"ArgsObject"}constructor(e){super(),this.args=e}requireArgument(e,t=this.args){if(!Object.prototype.hasOwnProperty.call(t,e))throw Error(`${e} is required.`)}requireArgumentType(e,t,r=this.args){if(this.requireArgument(e,r),typeof r[e]!==t)throw Error(`${e} invalid type: ${t}.`)}requireArgumentInstance(e,t,r=this.args){if(this.requireArgument(e,r),!(r[e]instanceof t||(0,s.default)(r[e],t)))throw Error(`${e} invalid instance.`)}requireArgumentConstructor(e,t,r=this.args){if(this.requireArgument(e,r),r[e].constructor.toString()!==t.prototype.constructor.toString())throw Error(`${e} invalid constructor type.`)}}t.default=ArgsObject},2970:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724);t.default=class Scroll{static scrollObserver(e){let t=0;const r={root:e.root||null,rootMargin:e.offset||"0px",threshold:((e=0)=>{const t=[];if(e>0&&e<=100){const r=100/e;for(let e=0;e<=100;e+=r)t.push(e/100)}else t.push(0);return t})(e.sensitivity)};return new IntersectionObserver(function handleIntersect(r){const n=r[0].boundingClientRect.y,i=r[0].isIntersecting,s=n<t?"down":"up",o=Math.abs(parseFloat((100*r[0].intersectionRatio).toFixed(2)));e.callback({sensitivity:e.sensitivity,isInViewport:i,scrollPercentage:o,intersectionScrollDirection:s}),t=n},r)}static getElementViewportPercentage(e,t={}){const r=e[0].getBoundingClientRect(),n=t.start||0,i=t.end||0,s=window.innerHeight*n/100,o=window.innerHeight*i/100,a=r.top-window.innerHeight,c=0-a+s,l=r.top+s+e.height()-a+o,u=Math.max(0,Math.min(c/l,1));return parseFloat((100*u).toFixed(2))}static getPageScrollPercentage(e={},t){const r=e.start||0,n=e.end||0,i=t||document.documentElement.scrollHeight-document.documentElement.clientHeight,s=i*r/100,o=i+s+i*n/100;return(document.documentElement.scrollTop+document.body.scrollTop+s)/o*100}}},3005:(e,t,r)=>{"use strict";var n=r(1703);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},3145:(e,t,r)=>{"use strict";var n=r(5578),i=r(1704),s=n.document,o=i(s)&&i(s.createElement);e.exports=function(e){return o?s.createElement(e):{}}},3181:(e,t,r)=>{"use strict";var n=r(5755),i=r(1483),s=r(2347),o=r(5409),a=r(9441),c=o("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=s(e);if(n(t,c))return t[c];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},3242:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(1506),o=r(8120),a=r(2293),c=r(41),l=r(6721),u=r(5267)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{find:function find(e){a(this);try{o(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;return s(t,function(t,n){if(e(t,r++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},3312:(e,t,r)=>{"use strict";var n=r(5983),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},3392:(e,t,r)=>{"use strict";var n=r(3005),i=Math.max,s=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):s(r,t)}},3617:(e,t,r)=>{"use strict";var n=r(8612),i=r(5578),s=r(6021),o=r(2293),a=r(1483),c=r(3181),l=r(3864),u=r(670),p=r(8473),d=r(5755),h=r(1),f=r(1851).IteratorPrototype,g=r(382),m=r(9557),v="constructor",y="Iterator",w=h("toStringTag"),b=TypeError,S=i[y],x=m||!a(S)||S.prototype!==f||!p(function(){S({})}),E=function Iterator(){if(s(this,f),c(this)===f)throw new b("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(e,t){g?l(f,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===f)throw new b("You can't redefine this property");d(this,e)?this[e]=t:u(this,e,t)}}):f[e]=t};d(f,w)||defineIteratorPrototypeAccessor(w,y),!x&&d(f,v)&&f[v]!==Object||defineIteratorPrototypeAccessor(v,E),E.prototype=f,n({global:!0,constructor:!0,forced:x},{Iterator:E})},3658:(e,t,r)=>{"use strict";var n=r(6742),i=r(4741);e.exports=Object.keys||function keys(e){return n(e,i)}},3786:(e,t,r)=>{"use strict";var n=r(1278),i=r(4762);e.exports=function(e){if("Function"===n(e))return i(e)}},3815:(e,t,r)=>{"use strict";var n=r(2355),i=r(1423);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},3864:(e,t,r)=>{"use strict";var n=r(169),i=r(5835);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},3896:(e,t,r)=>{"use strict";var n=r(382),i=r(8473);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},3980:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(5724);var i=n(r(2425));t.default=i.default.extend({getDefaultSettings:()=>({container:null,items:null,columnsCount:3,verticalSpaceBetween:30}),getDefaultElements(){return{$container:jQuery(this.getSettings("container")),$items:jQuery(this.getSettings("items"))}},run(){var e=[],t=this.elements.$container.position().top,r=this.getSettings(),n=r.columnsCount;t+=parseInt(this.elements.$container.css("margin-top"),10),this.elements.$items.each(function(i){var s=Math.floor(i/n),o=jQuery(this),a=o[0].getBoundingClientRect().height+r.verticalSpaceBetween;if(s){var c=o.position(),l=i%n,u=c.top-t-e[l];u-=parseInt(o.css("margin-top"),10),u*=-1,o.css("margin-top",u+"px"),e[l]+=a}else e.push(a)})}})},3991:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(8120),o=r(2293),a=r(41),c=r(8660),l=r(8901),u=r(6721),p=r(7486),d=r(5267),h=r(9557),f=!h&&!p("map",function(){}),g=!h&&!f&&d("map",TypeError),m=h||f||g,v=c(function(){var e=this.iterator,t=o(i(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:m},{map:function map(e){o(this);try{s(e)}catch(e){u(this,"throw",e)}return g?i(g,this,e):new v(a(this),{mapper:e})}})},4338:(e,t,r)=>{"use strict";var n={};n[r(1)("toStringTag")]="z",e.exports="[object z]"===String(n)},4347:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},4364:(e,t,r)=>{"use strict";r(3991)},4483:(e,t,r)=>{"use strict";var n,i,s,o=r(4644),a=r(5578),c=r(1704),l=r(9037),u=r(5755),p=r(1831),d=r(5409),h=r(1507),f="Object already initialized",g=a.TypeError,m=a.WeakMap;if(o||p.state){var v=p.state||(p.state=new m);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new g(f);return t.facade=e,v.set(e,t),t},i=function(e){return v.get(e)||{}},s=function(e){return v.has(e)}}else{var y=d("state");h[y]=!0,n=function(e,t){if(u(e,y))throw new g(f);return t.facade=e,l(e,y,t),t},i=function(e){return u(e,y)?e[y]:{}},s=function(e){return u(e,y)}}e.exports={set:n,get:i,has:s,enforce:function(e){return s(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},4644:(e,t,r)=>{"use strict";var n=r(5578),i=r(1483),s=n.WeakMap;e.exports=i(s)&&/native code/.test(String(s))},4741:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4762:(e,t,r)=>{"use strict";var n=r(274),i=Function.prototype,s=i.call,o=n&&i.bind.bind(s,s);e.exports=n?o:function(e){return function(){return s.apply(e,arguments)}}},4815:(e,t,r)=>{"use strict";var n=r(4762);e.exports=n({}.isPrototypeOf)},4846:(e,t,r)=>{"use strict";r(3617)},4887:(e,t,r)=>{"use strict";var n=r(1807),i=r(8120),s=r(2293),o=r(8761),a=r(6665),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(i(r))return s(n(r,e));throw new c(o(e)+" is not iterable")}},4914:(e,t,r)=>{"use strict";var n=r(1278);e.exports=Array.isArray||function isArray(e){return"Array"===n(e)}},4946:(e,t,r)=>{"use strict";var n=r(6784),i=n(r(1265)),s=n(r(2890)),o=n(r(7955)),a=n(r(8140)),c=n(r(7224)),l=n(r(5633)),u=n(r(9603));i.default.frontend={Document:s.default,tools:{StretchElement:o.default},handlers:{Base:c.default,StretchedElement:a.default,SwiperBase:l.default,CarouselBase:u.default}}},4961:(e,t,r)=>{"use strict";var n=r(382),i=r(1807),s=r(7611),o=r(7738),a=r(5599),c=r(3815),l=r(5755),u=r(1799),p=Object.getOwnPropertyDescriptor;t.f=n?p:function getOwnPropertyDescriptor(e,t){if(e=a(e),t=c(t),u)try{return p(e,t)}catch(e){}if(l(e,t))return o(!i(s.f,e,t),e[t])}},5022:(e,t,r)=>{"use strict";var n=r(6029);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5213:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=(e,t)=>{t=Array.isArray(t)?t:[t];for(const r of t)if(e.constructor.name===r.prototype[Symbol.toStringTag])return!0;return!1}},5247:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},5267:(e,t,r)=>{"use strict";var n=r(5578);e.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,s=i&&i[e],o=!1;if(s)try{s.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return s}},5290:(e,t,r)=>{"use strict";var n,i=r(2293),s=r(5799),o=r(4741),a=r(1507),c=r(2811),l=r(3145),u=r(5409),p="prototype",d="script",h=u("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return"<"+d+">"+e+"</"+d+">"},NullProtoObjectViaActiveX=function(e){e.write(scriptTag("")),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObject=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;NullProtoObject="undefined"!=typeof document?document.domain&&n?NullProtoObjectViaActiveX(n):(t=l("iframe"),r="java"+d+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(scriptTag("document.F=Object")),e.close(),e.F):NullProtoObjectViaActiveX(n);for(var i=o.length;i--;)delete NullProtoObject[p][o[i]];return NullProtoObject()};a[h]=!0,e.exports=Object.create||function create(e,t){var r;return null!==e?(EmptyConstructor[p]=i(e),r=new EmptyConstructor,EmptyConstructor[p]=null,r[h]=e):r=NullProtoObject(),void 0===t?r:s.f(r,t)}},5299:(e,t,r)=>{"use strict";var n=r(1),i=r(6775),s=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[s]===e)}},5409:(e,t,r)=>{"use strict";var n=r(7255),i=r(1866),s=n("keys");e.exports=function(e){return s[e]||(s[e]=i(e))}},5578:function(e,t,r){"use strict";var check=function(e){return e&&e.Math===Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof r.g&&r.g)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},5599:(e,t,r)=>{"use strict";var n=r(2121),i=r(3312);e.exports=function(e){return n(i(e))}},5633:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(7224));class SwiperHandlerBase extends i.default{getInitialSlide(){const e=this.getEditSettings();return e.activeItemIndex?e.activeItemIndex-1:0}getSlidesCount(){return this.elements.$slides.length}togglePauseOnHover(e){e?this.elements.$swiperContainer.on({mouseenter:()=>{this.swiper.autoplay.stop()},mouseleave:()=>{this.swiper.autoplay.start()}}):this.elements.$swiperContainer.off("mouseenter mouseleave")}handleKenBurns(){const e=this.getSettings();this.$activeImageBg&&this.$activeImageBg.removeClass(e.classes.kenBurnsActive),this.activeItemIndex=this.swiper?this.swiper.activeIndex:this.getInitialSlide(),this.swiper?this.$activeImageBg=jQuery(this.swiper.slides[this.activeItemIndex]).children("."+e.classes.slideBackground):this.$activeImageBg=jQuery(this.elements.$slides[0]).children("."+e.classes.slideBackground),this.$activeImageBg.addClass(e.classes.kenBurnsActive)}}t.default=SwiperHandlerBase},5724:(e,t,r)=>{"use strict";var n=r(8612),i=r(2347),s=r(6960),o=r(9273),a=r(1091);n({target:"Array",proto:!0,arity:1,forced:r(8473)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function push(e){var t=i(this),r=s(t),n=arguments.length;a(r+n);for(var c=0;c<n;c++)t[r]=arguments[c],r++;return o(t,r),r}})},5755:(e,t,r)=>{"use strict";var n=r(4762),i=r(2347),s=n({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return s(i(e),t)}},5799:(e,t,r)=>{"use strict";var n=r(382),i=r(3896),s=r(5835),o=r(2293),a=r(5599),c=r(3658);t.f=n&&!i?Object.defineProperties:function defineProperties(e,t){o(e);for(var r,n=a(t),i=c(t),l=i.length,u=0;l>u;)s.f(e,r=i[u++],n[r]);return e}},5835:(e,t,r)=>{"use strict";var n=r(382),i=r(1799),s=r(3896),o=r(2293),a=r(3815),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p="enumerable",d="configurable",h="writable";t.f=n?s?function defineProperty(e,t,r){if(o(e),t=a(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=u(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:p in r?r[p]:n[p],writable:!1})}return l(e,t,r)}:l:function defineProperty(e,t,r){if(o(e),t=a(t),o(r),i)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},5983:e=>{"use strict";e.exports=function(e){return null==e}},6021:(e,t,r)=>{"use strict";var n=r(4815),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},6029:(e,t,r)=>{"use strict";var n=r(6477),i=r(8473),s=r(5578).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},6145:(e,t,r)=>{"use strict";var n=r(4338),i=r(1483),s=r(1278),o=r(1)("toStringTag"),a=Object,c="Arguments"===s(function(){return arguments}());e.exports=n?s:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?r:c?s(t):"Object"===(n=s(t))&&i(t.callee)?"Arguments":n}},6211:(e,t,r)=>{"use strict";r(3242)},6477:(e,t,r)=>{"use strict";var n,i,s=r(5578),o=r(9461),a=s.process,c=s.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},6651:(e,t,r)=>{"use strict";var n=r(5599),i=r(3392),s=r(6960),createMethod=function(e){return function(t,r,o){var a=n(t),c=s(a);if(0===c)return!e&&-1;var l,u=i(o,c);if(e&&r!=r){for(;c>u;)if((l=a[u++])!=l)return!0}else for(;c>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},6665:(e,t,r)=>{"use strict";var n=r(6145),i=r(2564),s=r(5983),o=r(6775),a=r(1)("iterator");e.exports=function(e){if(!s(e))return i(e,a)||i(e,"@@iterator")||o[n(e)]}},6721:(e,t,r)=>{"use strict";var n=r(1807),i=r(2293),s=r(2564);e.exports=function(e,t,r){var o,a;i(e);try{if(!(o=s(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw r;if(a)throw o;return i(o),r}},6726:(e,t,r)=>{"use strict";var n=r(5755),i=r(9497),s=r(4961),o=r(5835);e.exports=function(e,t,r){for(var a=i(t),c=o.f,l=s.f,u=0;u<a.length;u++){var p=a[u];n(e,p)||r&&n(r,p)||c(e,p,l(t,p))}}},6742:(e,t,r)=>{"use strict";var n=r(4762),i=r(5755),s=r(5599),o=r(6651).indexOf,a=r(1507),c=n([].push);e.exports=function(e,t){var r,n=s(e),l=0,u=[];for(r in n)!i(a,r)&&i(n,r)&&c(u,r);for(;t.length>l;)i(n,r=t[l++])&&(~o(u,r)||c(u,r));return u}},6775:e=>{"use strict";e.exports={}},6784:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6960:(e,t,r)=>{"use strict";var n=r(8324);e.exports=function(e){return n(e.length)}},7224:(e,t,r)=>{"use strict";r(5724),r(4846),r(7458),r(6211),r(9655),e.exports=elementorModules.ViewModule.extend({$element:null,editorListeners:null,onElementChange:null,onEditSettingsChange:null,onPageSettingsChange:null,isEdit:null,__construct(e){this.isActive(e)&&(this.$element=e.$element,this.isEdit=this.$element.hasClass("elementor-element-edit-mode"),this.isEdit&&this.addEditorListeners())},isActive:()=>!0,isElementInTheCurrentDocument(){return!!elementorFrontend.isEditMode()&&elementor.documents.currentDocument.id.toString()===this.$element[0].closest(".elementor").dataset.elementorId},findElement(e){var t=this.$element;return t.find(e).filter(function(){return jQuery(this).parent().closest(".elementor-element").is(t)})},getUniqueHandlerID(e,t){return e||(e=this.getModelCID()),t||(t=this.$element),e+t.attr("data-element_type")+this.getConstructorID()},initEditorListeners(){var e=this;if(e.editorListeners=[{event:"element:destroy",to:elementor.channels.data,callback(t){t.cid===e.getModelCID()&&e.onDestroy()}}],e.onElementChange){const t=e.getWidgetType()||e.getElementType();let r="change";"global"!==t&&(r+=":"+t),e.editorListeners.push({event:r,to:elementor.channels.editor,callback(t,r){e.getUniqueHandlerID(r.model.cid,r.$el)===e.getUniqueHandlerID()&&e.onElementChange(t.model.get("name"),t,r)}})}e.onEditSettingsChange&&e.editorListeners.push({event:"change:editSettings",to:elementor.channels.editor,callback(t,r){if(r.model.cid!==e.getModelCID())return;const n=Object.keys(t.changed)[0];e.onEditSettingsChange(n,t.changed[n])}}),["page"].forEach(function(t){var r="on"+t[0].toUpperCase()+t.slice(1)+"SettingsChange";e[r]&&e.editorListeners.push({event:"change",to:elementor.settings[t].model,callback(t){e[r](t.changed)}})})},getEditorListeners(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(t){elementorFrontend.addListenerOnce(e,t.event,t.callback,t.to)})},removeEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(t){elementorFrontend.removeListeners(e,t.event,null,t.to)})},getElementType(){return this.$element.data("element_type")},getWidgetType(){const e=this.$element.data("widget_type");if(e)return e.split(".")[0]},getID(){return this.$element.data("id")},getModelCID(){return this.$element.data("model-cid")},getElementSettings(e){let t={};const r=this.getModelCID();if(this.isEdit&&r){const e=elementorFrontend.config.elements.data[r],n=e.attributes;let i=n.widgetType||n.elType;n.isInner&&(i="inner-"+i);let s=elementorFrontend.config.elements.keys[i];s||(s=elementorFrontend.config.elements.keys[i]=[],jQuery.each(e.controls,(e,t)=>{(t.frontend_available||t.editor_available)&&s.push(e)})),jQuery.each(e.getActiveControls(),function(e){if(-1!==s.indexOf(e)){let r=n[e];r.toJSON&&(r=r.toJSON()),t[e]=r}})}else t=this.$element.data("settings")||{};return this.getItems(t,e)},getEditSettings(e){var t={};return this.isEdit&&(t=elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes),this.getItems(t,e)},getCurrentDeviceSetting(e){return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(),e)},onInit(){this.isActive(this.getSettings())&&elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},onDestroy(){this.isEdit&&this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}})},7255:(e,t,r)=>{"use strict";var n=r(1831);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},7268:(e,t,r)=>{"use strict";var n=r(4762),i=r(1483),s=r(1831),o=n(Function.toString);i(s.inspectSource)||(s.inspectSource=function(e){return o(e)}),e.exports=s.inspectSource},7458:(e,t,r)=>{"use strict";r(1975)},7486:e=>{"use strict";e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},7611:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function propertyIsEnumerable(e){var t=n(this,e);return!!t&&t.enumerable}:r},7738:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7914:(e,t,r)=>{"use strict";var n=r(1483),i=r(5835),s=r(169),o=r(2095);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(n(r)&&s(r,l,a),a.global)c?e[t]=r:o(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},7955:e=>{"use strict";e.exports=elementorModules.ViewModule.extend({getDefaultSettings:()=>({element:null,direction:elementorFrontend.config.is_rtl?"right":"left",selectors:{container:window},considerScrollbar:!1,cssOutput:"inline"}),getDefaultElements(){return{$element:jQuery(this.getSettings("element"))}},stretch(){const e=this.getSettings();let t;try{t=jQuery(e.selectors.container)}catch(e){}t&&t.length||(t=jQuery(this.getDefaultSettings().selectors.container)),this.reset();var r=this.elements.$element,n=t.innerWidth(),i=r.offset().left,s="fixed"===r.css("position"),o=s?0:i,a=window===t[0];if(!a){var c=t.offset().left;s&&(o=c),i>c&&(o=i-c)}if(e.considerScrollbar&&a){o-=window.innerWidth-n}s||(elementorFrontend.config.is_rtl&&(o=n-(r.outerWidth()+o)),o=-o),e.margin&&(o+=e.margin);var l={};let u=n;e.margin&&(u-=2*e.margin),l.width=u+"px",l[e.direction]=o+"px","variables"!==e.cssOutput?r.css(l):this.applyCssVariables(r,l)},reset(){const e={},t=this.getSettings(),r=this.elements.$element;"variables"!==t.cssOutput?(e.width="",e[t.direction]="",r.css(e)):this.resetCssVariables(r)},applyCssVariables(e,t){e.css("--stretch-width",t.width),t.left?e.css("--stretch-left",t.left):e.css("--stretch-right",t.right)},resetCssVariables(e){e.css({"--stretch-width":"","--stretch-left":"","--stretch-right":""})}})},7958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseRegistry=void 0,r(4846),r(7458),r(9655),r(4364);t.BaseRegistry=class BaseRegistry{constructor(){this.sections=new Map}register(e){if(!e.key||!e.title)throw new Error("Template type must have key and title");const t=this.get(e.key)||this.formatSection(e);if(e.children)if(t.children){const r=new Map(t.children.map(e=>[e.key,e]));e.children.forEach(e=>{const t=this.formatSection(e);r.set(e.key,t)}),t.children=Array.from(r.values())}else t.children=e.children.map(e=>this.formatSection(e));this.sections.set(e.key,t)}formatSection({children:e,...t}){return{key:t.key,title:t.title,description:t.description||"",useParentDefault:!1!==t.useParentDefault,getInitialState:t.getInitialState||null,component:t.component||null,order:t.order||10,isAvailable:t.isAvailable||(()=>!0),...t}}getAll(){return Array.from(this.sections.values()).filter(e=>e.isAvailable()).map(e=>e.children?{...e,children:[...e.children].sort((e,t)=>e.order-t.order)}:e).sort((e,t)=>e.order-t.order)}get(e){return this.sections.get(e)}}},8120:(e,t,r)=>{"use strict";var n=r(1483),i=r(8761),s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(i(e)+" is not a function")}},8140:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211);var i=n(r(7224));class StretchedElement extends i.default{getStretchedClass(){return"e-stretched"}getStretchSettingName(){return"stretch_element"}getStretchActiveValue(){return"yes"}bindEvents(){const e=this.getUniqueHandlerID();elementorFrontend.addListenerOnce(e,"resize",this.stretch),elementorFrontend.addListenerOnce(e,"sticky:stick",this.stretch,this.$element),elementorFrontend.addListenerOnce(e,"sticky:unstick",this.stretch,this.$element),elementorFrontend.isEditMode()&&(this.onKitChangeStretchContainerChange=this.onKitChangeStretchContainerChange.bind(this),elementor.channels.editor.on("kit:change:stretchContainer",this.onKitChangeStretchContainerChange))}unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID(),"resize",this.stretch),elementorFrontend.isEditMode()&&elementor.channels.editor.off("kit:change:stretchContainer",this.onKitChangeStretchContainerChange)}isActive(e){return elementorFrontend.isEditMode()||e.$element.hasClass(this.getStretchedClass())}getStretchElementForConfig(e=null){return e?this.$element.find(e):this.$element}getStretchElementConfig(){return{element:this.getStretchElementForConfig(),selectors:{container:this.getStretchContainer()},considerScrollbar:elementorFrontend.isEditMode()&&elementorFrontend.config.is_rtl}}initStretch(){this.stretch=this.stretch.bind(this),this.stretchElement=new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig())}getStretchContainer(){return elementorFrontend.getKitSettings("stretched_section_container")||window}isStretchSettingEnabled(){return this.getElementSettings(this.getStretchSettingName())===this.getStretchActiveValue()}stretch(){this.isStretchSettingEnabled()&&this.stretchElement.stretch()}onInit(...e){this.isActive(this.getSettings())&&(this.initStretch(),super.onInit(...e),this.stretch())}onElementChange(e){this.getStretchSettingName()===e&&(this.isStretchSettingEnabled()?this.stretch():this.stretchElement.reset())}onKitChangeStretchContainerChange(){this.stretchElement.setSettings("selectors.container",this.getStretchContainer()),this.stretch()}}t.default=StretchedElement},8324:(e,t,r)=>{"use strict";var n=r(3005),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},8473:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},8612:(e,t,r)=>{"use strict";var n=r(5578),i=r(4961).f,s=r(9037),o=r(7914),a=r(2095),c=r(6726),l=r(8730);e.exports=function(e,t){var r,u,p,d,h,f=e.target,g=e.global,m=e.stat;if(r=g?n:m?n[f]||a(f,{}):n[f]&&n[f].prototype)for(u in t){if(d=t[u],p=e.dontCallGetSet?(h=i(r,u))&&h.value:r[u],!l(g?u:f+(m?".":"#")+u,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&s(d,"sham",!0),o(r,u,d,e)}}},8660:(e,t,r)=>{"use strict";var n=r(1807),i=r(5290),s=r(9037),o=r(2313),a=r(1),c=r(4483),l=r(2564),u=r(1851).IteratorPrototype,p=r(5247),d=r(6721),h=r(1983),f=a("toStringTag"),g="IteratorHelper",m="WrapForValidIterator",v="normal",y="throw",w=c.set,createIteratorProxyPrototype=function(e){var t=c.getterFor(e?m:g);return o(i(u),{next:function next(){var r=t(this);if(e)return r.nextHandler();if(r.done)return p(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:p(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var s=l(i,"return");return s?n(s,i):p(void 0,!0)}if(r.inner)try{d(r.inner.iterator,v)}catch(e){return d(i,y,e)}if(r.openIters)try{h(r.openIters,v)}catch(e){return d(i,y,e)}return i&&d(i,v),p(void 0,!0)}})},b=createIteratorProxyPrototype(!0),S=createIteratorProxyPrototype(!1);s(S,f,"Iterator Helper"),e.exports=function(e,t,r){var n=function Iterator(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?m:g,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,w(this,i)};return n.prototype=t?b:S,n}},8685:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ForceMethodImplementation=void 0;class ForceMethodImplementation extends Error{constructor(e={},t={}){super(`${e.isStatic?"static ":""}${e.fullName}() should be implemented, please provide '${e.functionName||e.fullName}' functionality.`,t),Object.keys(t).length&&console.error(t),Error.captureStackTrace(this,ForceMethodImplementation)}}t.ForceMethodImplementation=ForceMethodImplementation;t.default=e=>{const t=Error().stack.split("\n")[2].trim(),r=t.startsWith("at new")?"constructor":t.split(" ")[1],n={};if(n.functionName=r,n.fullName=r,n.functionName.includes(".")){const e=n.functionName.split(".");n.className=e[0],n.functionName=e[1]}else n.isStatic=!0;throw new ForceMethodImplementation(n,e)}},8730:(e,t,r)=>{"use strict";var n=r(8473),i=r(1483),s=/#|\.prototype\./,isForced=function(e,t){var r=a[o(e)];return r===l||r!==c&&(i(t)?n(t):!!t)},o=isForced.normalize=function(e){return String(e).replace(s,".").toLowerCase()},a=isForced.data={},c=isForced.NATIVE="N",l=isForced.POLYFILL="P";e.exports=isForced},8761:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},8901:(e,t,r)=>{"use strict";var n=r(2293),i=r(6721);e.exports=function(e,t,r,s){try{return s?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},9031:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createGetInitialState=function createGetInitialState(e,t={}){return(r,n)=>{let i=n;if(r.hasOwnProperty("uploadedData")){i=!1;const t=r.uploadedData.manifest.templates,n=elementorAppConfig?.["import-export-customization"]?.exportGroups||{};for(const r in t){if(n[t[r].doc_type]===e){i=!0;break}}}return{enabled:i,...t}}}},9037:(e,t,r)=>{"use strict";var n=r(382),i=r(5835),s=r(7738);e.exports=n?function(e,t,r){return i.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}},9273:(e,t,r)=>{"use strict";var n=r(382),i=r(4914),s=TypeError,o=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(i(e)&&!o(e,"length").writable)throw new s("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},9441:(e,t,r)=>{"use strict";var n=r(8473);e.exports=!n(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})},9461:(e,t,r)=>{"use strict";var n=r(5578).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},9497:(e,t,r)=>{"use strict";var n=r(1409),i=r(4762),s=r(2278),o=r(4347),a=r(2293),c=i([].concat);e.exports=n("Reflect","ownKeys")||function ownKeys(e){var t=s.f(a(e)),r=o.f;return r?c(t,r(e)):t}},9557:e=>{"use strict";e.exports=!1},9603:(e,t,r)=>{"use strict";var n=r(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r(4846),r(6211),r(9655);var i=n(r(5633));class CarouselHandlerBase extends i.default{getDefaultSettings(){return{selectors:{carousel:".swiper",swiperWrapper:".swiper-wrapper",slideContent:".swiper-slide",swiperArrow:".elementor-swiper-button",paginationWrapper:".swiper-pagination",paginationBullet:".swiper-pagination-bullet",paginationBulletWrapper:".swiper-pagination-bullets"}}}getDefaultElements(){const e=this.getSettings("selectors"),t={$swiperContainer:this.$element.find(e.carousel),$swiperWrapper:this.$element.find(e.swiperWrapper),$swiperArrows:this.$element.find(e.swiperArrow),$paginationWrapper:this.$element.find(e.paginationWrapper),$paginationBullets:this.$element.find(e.paginationBullet),$paginationBulletWrapper:this.$element.find(e.paginationBulletWrapper)};return t.$slides=t.$swiperContainer.find(e.slideContent),t}getSwiperSettings(){const e=this.getElementSettings(),t=+e.slides_to_show||3,r=1===t,n=elementorFrontend.config.responsive.activeBreakpoints,i={mobile:1,tablet:r?1:2},s={slidesPerView:t,loop:"yes"===e.infinite,speed:e.speed,handleElementorBreakpoints:!0,breakpoints:{}};let o=t;Object.keys(n).reverse().forEach(t=>{const r=i[t]?i[t]:o;s.breakpoints[n[t].value]={slidesPerView:+e["slides_to_show_"+t]||r,slidesPerGroup:+e["slides_to_scroll_"+t]||1},e.image_spacing_custom&&(s.breakpoints[n[t].value].spaceBetween=this.getSpaceBetween(t)),o=+e["slides_to_show_"+t]||r}),"yes"===e.autoplay&&(s.autoplay={delay:e.autoplay_speed,disableOnInteraction:"yes"===e.pause_on_interaction}),r?(s.effect=e.effect,"fade"===e.effect&&(s.fadeEffect={crossFade:!0})):s.slidesPerGroup=+e.slides_to_scroll||1,e.image_spacing_custom&&(s.spaceBetween=this.getSpaceBetween());const a="arrows"===e.navigation||"both"===e.navigation,c="dots"===e.navigation||"both"===e.navigation||e.pagination;return a&&(s.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),c&&(s.pagination={el:`.elementor-element-${this.getID()} .swiper-pagination`,type:e.pagination?e.pagination:"bullets",clickable:!0,renderBullet:(e,t)=>`<span class="${t}" role="button" tabindex="0" data-bullet-index="${e}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${e+1}"></span>`}),"yes"===e.lazyload&&(s.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),s.a11y={enabled:!0,prevSlideMessage:elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage,nextSlideMessage:elementorFrontend.config.i18n.a11yCarouselNextSlideMessage,firstSlideMessage:elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage,lastSlideMessage:elementorFrontend.config.i18n.a11yCarouselLastSlideMessage},s.on={slideChange:()=>{this.a11ySetPaginationTabindex(),this.handleElementHandlers(),this.a11ySetSlideAriaHidden()},init:()=>{this.a11ySetPaginationTabindex(),this.a11ySetSlideAriaHidden("initialisation")}},this.applyOffsetSettings(e,s,t),s}getOffsetWidth(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"offset_width","size",e)||0}applyOffsetSettings(e,t,r){const n=e.offset_sides;if(!(elementorFrontend.isEditMode()&&"NestedCarousel"===this.constructor.name)&&n&&"none"!==n)switch(n){case"right":this.forceSliderToShowNextSlideWhenOnLast(t,r),this.addClassToSwiperContainer("offset-right");break;case"left":this.addClassToSwiperContainer("offset-left");break;case"both":this.forceSliderToShowNextSlideWhenOnLast(t,r),this.addClassToSwiperContainer("offset-both")}}forceSliderToShowNextSlideWhenOnLast(e,t){e.slidesPerView=t+.001}addClassToSwiperContainer(e){this.getDefaultElements().$swiperContainer[0].classList.add(e)}async onInit(...e){if(super.onInit(...e),!this.elements.$swiperContainer.length||2>this.elements.$slides.length)return;await this.initSwiper();"yes"===this.getElementSettings().pause_on_hover&&this.togglePauseOnHover(!0)}async initSwiper(){const e=elementorFrontend.utils.swiper;this.swiper=await new e(this.elements.$swiperContainer,this.getSwiperSettings()),this.elements.$swiperContainer.data("swiper",this.swiper)}bindEvents(){this.elements.$swiperArrows.on("keydown",this.onDirectionArrowKeydown.bind(this)),this.elements.$paginationWrapper.on("keydown",".swiper-pagination-bullet",this.onDirectionArrowKeydown.bind(this)),this.elements.$swiperContainer.on("keydown",".swiper-slide",this.onDirectionArrowKeydown.bind(this)),this.$element.find(":focusable").on("focus",this.onFocusDisableAutoplay.bind(this)),elementorFrontend.elements.$window.on("resize",this.getSwiperSettings.bind(this))}unbindEvents(){this.elements.$swiperArrows.off(),this.elements.$paginationWrapper.off(),this.elements.$swiperContainer.off(),this.$element.find(":focusable").off(),elementorFrontend.elements.$window.off("resize")}onDirectionArrowKeydown(e){const t=elementorFrontend.config.is_rtl,r=e.originalEvent.code,n=t?"ArrowLeft":"ArrowRight";if(!(-1!==["ArrowLeft","ArrowRight"].indexOf(r)))return!0;(t?"ArrowRight":"ArrowLeft")===r?this.swiper.slidePrev():n===r&&this.swiper.slideNext()}onFocusDisableAutoplay(){this.swiper.autoplay.stop()}updateSwiperOption(e){const t=this.getElementSettings()[e],r=this.swiper.params;switch(e){case"autoplay_speed":r.autoplay.delay=t;break;case"speed":r.speed=t}this.swiper.update()}getChangeableProperties(){return{pause_on_hover:"pauseOnHover",autoplay_speed:"delay",speed:"speed",arrows_position:"arrows_position"}}onElementChange(e){if(0===e.indexOf("image_spacing_custom"))return void this.updateSpaceBetween(e);if(this.getChangeableProperties()[e])if("pause_on_hover"===e){const e=this.getElementSettings("pause_on_hover");this.togglePauseOnHover("yes"===e)}else this.updateSwiperOption(e)}onEditSettingsChange(e){"activeItemIndex"===e&&this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)}getSpaceBetween(e=null){const t=elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"image_spacing_custom","size",e);return Number(t)||0}updateSpaceBetween(e){const t=e.match("image_spacing_custom_(.*)"),r=t?t[1]:"desktop",n=this.getSpaceBetween(r);"desktop"!==r&&(this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[r].value].spaceBetween=n),this.swiper.params.spaceBetween=n,this.swiper.update()}getPaginationBullets(e="array"){const t=this.$element.find(this.getSettings("selectors").paginationBullet);return"array"===e?Array.from(t):t}a11ySetPaginationTabindex(){const e=this.swiper?.params?.pagination.bulletClass,t=this.swiper?.params?.pagination.bulletActiveClass;this.getPaginationBullets().forEach(e=>{e.classList?.contains(t)||e.removeAttribute("tabindex")});const r="ArrowLeft"===event?.code||"ArrowRight"===event?.code;event?.target?.classList?.contains(e)&&r&&this.$element.find(`.${t}`).trigger("focus")}getSwiperWrapperTranformXValue(){let e=this.elements.$swiperWrapper[0]?.style.transform;return e=e.replace("translate3d(",""),e=e.split(","),e=parseInt(e[0].replace("px","")),e||0}a11ySetSlideAriaHidden(e=""){if("number"!=typeof("initialisation"===e?0:this.swiper?.activeIndex))return;const t=this.getSwiperWrapperTranformXValue(),r=this.elements.$swiperWrapper[0].clientWidth;this.elements.$swiperContainer.find(this.getSettings("selectors").slideContent).each((e,n)=>{0<=n.offsetLeft+t&&r>n.offsetLeft+t?(n.removeAttribute("aria-hidden"),n.removeAttribute("inert")):(n.setAttribute("aria-hidden",!0),n.setAttribute("inert",""))})}handleElementHandlers(){}}t.default=CarouselHandlerBase},9655:(e,t,r)=>{"use strict";r(9930)},9930:(e,t,r)=>{"use strict";var n=r(8612),i=r(1807),s=r(1506),o=r(8120),a=r(2293),c=r(41),l=r(6721),u=r(5267)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:u},{forEach:function forEach(e){a(this);try{o(e)}catch(e){l(this,"throw",e)}if(u)return i(u,this,e);var t=c(this),r=0;s(t,function(t){e(t,r++)},{IS_RECORD:!0})}})}},e=>{var t;t=4946,e(e.s=t)}]);
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.3",
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;n<e.collisionWidth?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;o<e.collisionHeight?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});