first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
[class*="jet-tricks-icon-"]{display:block}.elementor-panel [class*="jet-tricks-icon-"],.elementor-sortable-helper [class*="jet-tricks-icon-"]{font-size:38px;margin-bottom:calc( 28px - 1em)}.elementor-navigator__item [class*="jet-tricks-icon-"]{font-size:16px}[class*="jet-tricks-icon-"]:before{content:'';display:block;width:1em;height:1em;margin:0 auto;background-position:center;background-repeat:no-repeat;-webkit-background-size:contain;background-size:contain}.jet-tricks-icon-view-more:before{background-image:url("data:image/svg+xml,%3Csvg width='64' height='49' viewBox='0 0 64 49' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='18' height='18' rx='3' fill='white' stroke='%23162B40' stroke-width='2'/%3E%3Crect x='23' y='40' width='18' height='8' rx='3' fill='%234AF3BA' stroke='%23162B40' stroke-width='2'/%3E%3Crect x='2' y='23' width='16' height='2' rx='1' fill='%23162B40'/%3E%3Crect x='2' y='27' width='16' height='2' rx='1' fill='%23162B40'/%3E%3Cpath d='M2 32C2 31.4477 2.44772 31 3 31H9C9.55228 31 10 31.4477 10 32C10 32.5523 9.55228 33 9 33H3C2.44772 33 2 32.5523 2 32Z' fill='%23162B40'/%3E%3Crect x='24' y='23' width='16' height='2' rx='1' fill='%23162B40'/%3E%3Crect x='24' y='27' width='16' height='2' rx='1' fill='%23162B40'/%3E%3Cpath d='M24 32C24 31.4477 24.4477 31 25 31H31C31.5523 31 32 31.4477 32 32C32 32.5523 31.5523 33 31 33H25C24.4477 33 24 32.5523 24 32Z' fill='%23162B40'/%3E%3Crect x='46' y='23' width='16' height='2' rx='1' fill='%23162B40'/%3E%3Crect x='46' y='27' width='16' height='2' rx='1' fill='%23162B40'/%3E%3Cpath d='M46 32C46 31.4477 46.4477 31 47 31H53C53.5523 31 54 31.4477 54 32C54 32.5523 53.5523 33 53 33H47C46.4477 33 46 32.5523 46 32Z' fill='%23162B40'/%3E%3Crect x='23' y='1' width='18' height='18' rx='3' fill='white' stroke='%23162B40' stroke-width='2'/%3E%3Crect x='45' y='1' width='18' height='18' rx='3' fill='white' stroke='%23162B40' stroke-width='2'/%3E%3C/svg%3E")}.jet-tricks-icon-hotspot:before{background-image:url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='64' height='64' fill='white'/%3E%3Crect width='64' height='64' fill='white'/%3E%3Cpath d='M30.1074 36.6005L32 34.0107L33.8926 36.6005C34.266 37.1115 34.8598 37.4211 35.5 37.4211H52C53.6234 37.4211 55 38.7961 55 40.5263V54.8947C55 56.625 53.6234 58 52 58H12C10.3766 58 9 56.625 9 54.8947V40.5263C9 38.7961 10.3766 37.4211 12 37.4211H28.5C29.1402 37.4211 29.734 37.1115 30.1074 36.6005Z' fill='white' stroke='%23162B40' stroke-width='2'/%3E%3Cpath d='M24 21C24 16.5817 27.5817 13 32 13C36.4183 13 40 16.5817 40 21C40 25.4183 36.4183 29 32 29C27.5817 29 24 25.4183 24 21Z' fill='%236F8BFF' stroke='%23162B40' stroke-width='2'/%3E%3Cpath d='M3 10C3 7.23858 5.23858 5 8 5C10.7614 5 13 7.23858 13 10C13 12.7614 10.7614 15 8 15C5.23858 15 3 12.7614 3 10Z' fill='%236F8BFF' stroke='%23162B40' stroke-width='2'/%3E%3Cpath d='M51 10C51 7.23858 53.2386 5 56 5C58.7614 5 61 7.23858 61 10C61 12.7614 58.7614 15 56 15C53.2386 15 51 12.7614 51 10Z' fill='%236F8BFF' stroke='%23162B40' stroke-width='2'/%3E%3C/svg%3E%0A")}.jet-tricks-icon-unfold:before{background-image:url("data:image/svg+xml,%3Csvg width='64' height='50' viewBox='0 0 64 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='29' height='33' rx='3' fill='%236F8BFF' stroke='%23162B40' stroke-width='2'/%3E%3Cpath d='M7 26L9 28L11 26' stroke='%23162B40' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='34' y='1' width='29' height='48' rx='3' fill='white' stroke='%23162B40' stroke-width='2'/%3E%3Cpath d='M40 43L42 41L44 43' stroke='%23162B40' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='39' y='6' width='19' height='2' rx='1' fill='%23162B40'/%3E%3Crect x='39' y='10' width='19' height='2' rx='1' fill='%23162B40'/%3E%3Cpath d='M39 15C39 14.4477 39.4477 14 40 14H48C48.5523 14 49 14.4477 49 15C49 15.5523 48.5523 16 48 16H40C39.4477 16 39 15.5523 39 15Z' fill='%23162B40'/%3E%3C/svg%3E%0A")}

View File

@@ -0,0 +1,111 @@
(function( $, settingsPageConfig ) {
'use strict';
Vue.config.devtools = true;
if ( ! $('#jet-tricks-settings-page')[0] ) {
return false;
}
window.JetTricksSettingsPage = new Vue( {
el: '#jet-tricks-settings-page',
data: {
pageOptions: settingsPageConfig.settingsData,
preparedOptions: {},
savingStatus: false,
ajaxSaveHandler: null,
disableAllWidgets: false,
},
mounted: function() {
for ( var slug in this.pageOptions['avaliable_widgets']['value'] ) {
if ( 'true' === this.pageOptions['avaliable_widgets']['value'][slug] ) {
this.disableAllWidgets = true;
break;
}
}
this.$el.className = 'is-mounted';
},
watch: {
pageOptions: {
handler( options ) {
let prepared = {};
for ( let option in options ) {
if ( options.hasOwnProperty( option ) ) {
prepared[ option ] = options[option]['value'];
}
}
this.preparedOptions = prepared;
this.saveOptions();
},
deep: true
}
},
methods: {
disableAllWidgetsEvent: function( state ) {
if ( state ) {
for ( var slug in this.pageOptions['avaliable_widgets']['value'] ) {
this.pageOptions['avaliable_widgets']['value'][slug] = 'true';
}
} else {
for ( var slug in this.pageOptions['avaliable_widgets']['value'] ) {
this.pageOptions['avaliable_widgets']['value'][slug] = 'false';
}
}
},
saveOptions: function() {
var self = this;
self.savingStatus = true;
self.ajaxSaveHandler = $.ajax( {
type: 'POST',
url: settingsPageConfig.settingsApiUrl,
dataType: 'json',
data: self.preparedOptions,
beforeSend: function( jqXHR, ajaxSettings ) {
if ( null !== self.ajaxSaveHandler ) {
self.ajaxSaveHandler.abort();
}
},
success: function( responce, textStatus, jqXHR ) {
self.savingStatus = false;
if ( 'success' === responce.status ) {
self.$CXNotice.add( {
message: responce.message,
type: 'success',
duration: 3000,
} );
}
if ( 'error' === responce.status ) {
self.$CXNotice.add( {
message: responce.message,
type: 'error',
duration: 3000,
} );
}
}
} );
},
}
} );
})( jQuery, window.JetTricksSettingsPageConfig );

View File

@@ -0,0 +1,706 @@
( function( $, elementor ) {
'use strict';
var JetTricks = {
init: function() {
elementor.hooks.addAction( 'frontend/element_ready/section', JetTricks.elementorSection );
elementor.hooks.addAction( 'frontend/element_ready/column', JetTricks.elementorColumn );
elementor.hooks.addAction( 'frontend/element_ready/widget', JetTricks.elementorWidget );
var widgets = {
'jet-view-more.default' : JetTricks.widgetViewMore,
'jet-unfold.default' : JetTricks.widgetUnfold,
'jet-hotspots.default' : JetTricks.widgetHotspots
};
$.each( widgets, function( widget, callback ) {
elementor.hooks.addAction( 'frontend/element_ready/' + widget, callback );
});
},
elementorSection: function( $scope ) {
var $target = $scope,
sectionId = $scope.data( 'id' ),
editMode = Boolean( elementor.isEditMode() ),
settings = {};
if ( window.JetTricksSettings && window.JetTricksSettings.elements_data.sections.hasOwnProperty( sectionId ) ) {
settings = window.JetTricksSettings.elements_data.sections[ sectionId ];
}
if ( editMode ) {
settings = JetTricks.sectionEditorSettings( sectionId );
}
if ( ! settings ) {
return false;
}
if ( jQuery.isEmptyObject( settings ) ) {
return false;
}
if ( 'false' === settings.particles || '' === settings.particles_json ) {
return false;
}
var particlesId = 'jet-tricks-particles-instance-' + sectionId,
particlesJson = JSON.parse( settings.particles_json );
$scope.prepend( '<div id="' + particlesId + '" class="jet-tricks-particles-section__instance"></div>' );
particlesJS( particlesId, particlesJson );
},
elementorColumn: function( $scope ) {
var $target = $scope,
$window = $( window ),
columnId = $target.data( 'id' ),
editMode = Boolean( elementor.isEditMode() ),
settings = {},
stickyInstance = null,
stickyInstanceOptions = {
topSpacing: 50,
bottomSpacing: 50,
containerSelector: '.elementor-row',
innerWrapperSelector: '.elementor-column-wrap',
};
if ( ! editMode ) {
settings = $target.data( 'jet-settings' );
if ( $target.hasClass( 'jet-sticky-column' ) ) {
if ( -1 !== settings['stickyOn'].indexOf( elementorFrontend.getCurrentDeviceMode() ) ) {
stickyInstanceOptions.topSpacing = settings['topSpacing'];
stickyInstanceOptions.bottomSpacing = settings['bottomSpacing'];
$target.data( 'stickyColumnInit', true );
stickyInstance = new StickySidebar( $target[0], stickyInstanceOptions );
$window.on( 'resize.JetTricksStickyColumn orientationchange.JetTricksStickyColumn', JetTricksTools.debounce( 50, resizeDebounce ) );
}
}
} else {
return false;
settings = JetTricks.columnEditorSettings( columnId );
if ( 'true' === settings['sticky'] ) {
$target.addClass( 'jet-sticky-column' );
if ( -1 !== settings['stickyOn'].indexOf( elementorFrontend.getCurrentDeviceMode() ) ) {
stickyInstanceOptions.topSpacing = settings['topSpacing'];
stickyInstanceOptions.bottomSpacing = settings['bottomSpacing'];
$target.data( 'stickyColumnInit', true );
stickyInstance = new StickySidebar( $target[0], stickyInstanceOptions );
$window.on( 'resize.JetTricksStickyColumn orientationchange.JetTricksStickyColumn', JetTricksTools.debounce( 50, resizeDebounce ) );
}
}
}
function resizeDebounce() {
var currentDeviceMode = elementorFrontend.getCurrentDeviceMode(),
availableDevices = settings['stickyOn'] || [],
isInit = $target.data( 'stickyColumnInit' );
if ( -1 !== availableDevices.indexOf( currentDeviceMode ) ) {
if ( ! isInit ) {
$target.data( 'stickyColumnInit', true );
stickyInstance = new StickySidebar( $target[0], stickyInstanceOptions );
stickyInstance.updateSticky();
}
} else {
$target.data( 'stickyColumnInit', false );
stickyInstance.destroy();
}
}
},
elementorWidget: function( $scope ) {
var parallaxInstance = null,
satelliteInstance = null,
tooltipInstance = null;
parallaxInstance = new jetWidgetParallax( $scope );
parallaxInstance.init();
satelliteInstance = new jetWidgetSatellite( $scope );
satelliteInstance.init();
tooltipInstance = new jetWidgetTooltip( $scope );
tooltipInstance.init();
},
widgetViewMore: function( $scope ) {
var $target = $scope.find( '.jet-view-more' ),
instance = null,
settings = $target.data( 'settings' );
instance = new jetViewMore( $target, settings );
instance.init();
},
widgetUnfold: function( $scope ) {
var $target = $scope.find( '.jet-unfold' ),
$body = $( 'body' ),
$button = $( '.jet-unfold__button', $target ),
$mask = $( '.jet-unfold__mask', $target ),
$content = $( '.jet-unfold__content', $target ),
settings = $target.data( 'settings' ),
maskHeight = +settings['height']['size'] || 100,
maskTabletHeight = +settings['heightTablet']['size'] || maskHeight,
maskMobileHeight = +settings['heightMobile']['size'] || maskHeight,
separatorHeight = +settings['separatorHeight']['size'] || 20,
unfoldDuration = settings['unfoldDuration'],
foldDuration = settings['unfoldDuration'],
unfoldEasing = settings['unfoldEasing'],
foldEasing = settings['foldEasing'];
if ( ! $target.hasClass( 'jet-unfold-state' ) ) {
$mask.css( {
'height': maskHeight
} );
}
$button.on( 'click.jetUnfold', function() {
var $this = $( this ),
$buttonText = $( '.jet-unfold__button-text', $this ),
unfoldText = $this.data( 'unfold-text' ),
foldText = $this.data( 'fold-text' ),
$buttonIcon = $( '.jet-unfold__button-icon', $this ),
unfoldIcon = $this.data( 'unfold-icon' ),
foldIcon = $this.data( 'fold-icon' ),
contentHeight = $content.outerHeight(),
deviceHeight = getDeviceHeight();
if ( ! $target.hasClass( 'jet-unfold-state' ) ) {
$target.addClass( 'jet-unfold-state' );
$buttonIcon.html( '<i class="' + foldIcon + '"></i>' );
$buttonText.html( foldText );
anime( {
targets: $mask[0],
height: contentHeight,
duration: unfoldDuration['size'],
easing: unfoldEasing
} );
} else {
$target.removeClass( 'jet-unfold-state' );
$buttonIcon.html( '<i class="' + unfoldIcon + '"></i>' );
$buttonText.html( unfoldText );
anime( {
targets: $mask[0],
height: deviceHeight,
duration: foldDuration['size'],
easing: foldEasing
} );
}
} );
$( window ).on( 'resize.jetWidgetUnfold orientationchange.jetWidgetUnfold', JetTricksTools.debounce( 50, function(){
var deviceHeight = getDeviceHeight(),
contentHeight = $content.outerHeight();
if ( ! $target.hasClass( 'jet-unfold-state' ) ) {
$mask.css( {
'height': deviceHeight
} );
} else {
$mask.css( {
'height': contentHeight
} );
}
} ) );
function getDeviceHeight() {
var $deviceMode = elementor.getCurrentDeviceMode(),
deviceHeight = maskHeight;
switch ( $deviceMode ) {
case 'desktop':
deviceHeight = maskHeight;
break;
case 'tablet':
deviceHeight = maskTabletHeight;
break;
case 'mobile':
deviceHeight = maskMobileHeight;
break;
}
return deviceHeight;
}
},
widgetHotspots: function( $scope ) {
var $target = $scope.find( '.jet-hotspots' ),
$hotspots = $( '.jet-hotspots__item', $target),
settings = $target.data( 'settings' ),
editMode = Boolean( elementor.isEditMode() );
$target.imagesLoaded().progress( function() {
$target.addClass( 'image-loaded' );
} );
$hotspots.each( function( index ) {
var $this = $( this ),
horizontal = $this.data( 'horizontal-position' ),
vertical = $this.data( 'vertical-position' ),
itemSelector = $this[0];
$this.css( {
'left': horizontal + '%',
'top': vertical + '%'
} );
if ( itemSelector._tippy ) {
itemSelector._tippy.destroy();
}
tippy( [ itemSelector ], {
arrow: settings['tooltipArrow'],
arrowType: settings['tooltipArrowType'],
arrowTransform: settings['tooltipArrowSize'],
duration: [ settings['tooltipShowDuration']['size'], settings['tooltipHideDuration']['size'] ],
distance: settings['tooltipDistance']['size'],
placement: settings['tooltipPlacement'],
trigger: settings['tooltipTrigger'],
animation: settings['tooltipAnimation'],
flipBehavior: 'clockwise',
appendTo: itemSelector,
hideOnClick: 'manual' !== settings['tooltipTrigger'],
} );
if ( 'manual' === settings['tooltipTrigger'] && itemSelector._tippy ) {
itemSelector._tippy.show();
}
if ( settings['tooltipShowOnInit'] && itemSelector._tippy ) {
itemSelector._tippy.show();
}
if ( editMode && itemSelector._tippy ) {
itemSelector._tippy.show();
}
} );
},
columnEditorSettings: function( columnId ) {
var editorElements = null,
columnData = {};
if ( ! window.elementor.hasOwnProperty( 'elements' ) ) {
return false;
}
editorElements = window.elementor.elements;
if ( ! editorElements.models ) {
return false;
}
$.each( editorElements.models, function( index, obj ) {
$.each( obj.attributes.elements.models, function( index, obj ) {
if ( columnId == obj.id ) {
columnData = obj.attributes.settings.attributes;
}
} );
} );
return {
'sticky': columnData['jet_tricks_column_sticky'] || false,
'topSpacing': columnData['jet_tricks_top_spacing'] || 50,
'bottomSpacing': columnData['jet_tricks_bottom_spacing'] || 50,
'stickyOn': columnData['jet_tricks_column_sticky_on'] || [ 'desktop', 'tablet', 'mobile']
}
},
sectionEditorSettings: function( sectionId ) {
var editorElements = null,
sectionData = {};
if ( ! window.elementor.hasOwnProperty( 'elements' ) ) {
return false;
}
editorElements = window.elementor.elements;
if ( ! editorElements.models ) {
return false;
}
$.each( editorElements.models, function( index, obj ) {
if ( sectionId == obj.id ) {
sectionData = obj.attributes.settings.attributes;
}
} );
return {
'particles': sectionData['section_jet_tricks_particles'] || 'false',
'particles_json': sectionData['section_jet_tricks_particles_json'] || '',
}
}
};
$( window ).on( 'elementor/frontend/init', JetTricks.init );
var JetTricksTools = {
debounce: function( threshold, callback ) {
var timeout;
return function debounced( $event ) {
function delayed() {
callback.call( this, $event );
timeout = null;
}
if ( timeout ) {
clearTimeout( timeout );
}
timeout = setTimeout( delayed, threshold );
};
},
widgetEditorSettings: function( widgetId ) {
var editorElements = null,
widgetData = {};
if ( ! window.elementor.hasOwnProperty( 'elements' ) ) {
return false;
}
editorElements = window.elementor.elements;
if ( ! editorElements.models ) {
return false;
}
$.each( editorElements.models, function( index, obj ) {
$.each( obj.attributes.elements.models, function( index, obj ) {
$.each( obj.attributes.elements.models, function( index, obj ) {
if ( widgetId == obj.id ) {
widgetData = obj.attributes.settings.attributes;
}
} );
} );
} );
return {
'speed': widgetData['jet_tricks_widget_parallax_speed'] || { 'size': 50, 'unit': '%'},
'parallax': widgetData['jet_tricks_widget_parallax'] || 'false',
'invert': widgetData['jet_tricks_widget_parallax_invert'] || 'false',
'stickyOn': widgetData['jet_tricks_widget_parallax_on'] || [ 'desktop', 'tablet', 'mobile'],
'satellite': widgetData['jet_tricks_widget_satellite'] || 'false',
'satelliteType': widgetData['jet_tricks_widget_satellite_type'] || 'text',
'satellitePosition': widgetData['jet_tricks_widget_satellite_position'] || 'top-center',
'tooltip': widgetData['jet_tricks_widget_tooltip'] || 'false',
'tooltipDescription': widgetData['jet_tricks_widget_tooltip_description'] || 'Lorem Ipsum',
'tooltipPlacement': widgetData['jet_tricks_widget_tooltip_placement'] || 'top',
'xOffset': widgetData['jet_tricks_widget_tooltip_x_offset'] || 0,
'yOffset': widgetData['jet_tricks_widget_tooltip_y_offset'] || 0,
'tooltipAnimation': widgetData['jet_tricks_widget_tooltip_animation'] || 'shift-toward',
'zIndex': widgetData['jet_tricks_widget_tooltip_z_index'] || '999'
}
}
}
/**
* Jet jetViewMore Class
*
* @return {void}
*/
window.jetViewMore = function( $selector, settings ) {
var self = this,
$window = $( window ),
$button = $( '.jet-view-more__button', $selector ),
defaultSettings = {
sections: {},
effect: 'move-up',
showall: false
},
settings = $.extend( {}, defaultSettings, settings ),
sections = settings['sections'],
sectionsData = {},
buttonVisible = true,
editMode = Boolean( elementor.isEditMode() );
/**
* Init
*/
self.init = function() {
self.setSectionsData();
if ( editMode ) {
return false;
}
// Add Events
$button.on( 'click', function() {
for ( var section in sectionsData ) {
var $section = sectionsData[ section ]['selector'];
if ( ! settings.showall ) {
if ( ! sectionsData[ section ]['visible'] ) {
sectionsData[ section ]['visible'] = true;
$section.addClass( 'view-more-visible' );
$section.addClass( 'jet-tricks-' + settings['effect'] + '-effect' );
break;
}
} else {
sectionsData[ section ]['visible'] = true;
$section.addClass( 'view-more-visible' );
$section.addClass( 'jet-tricks-' + settings['effect'] + '-effect' );
}
}
for ( var section in sectionsData ) {
buttonVisible = true;
if ( sectionsData[ section ]['visible'] ) {
buttonVisible = false;
}
}
if ( ! buttonVisible ) {
$button.css( { 'display': 'none' } );
}
} );
};
self.setSectionsData = function() {
for ( var section in sections ) {
var $selector = $( '#' + sections[ section ] );
if ( ! editMode ) {
$selector.addClass( 'jet-view-more-section' );
} else {
$selector.addClass( 'jet-view-more-section-edit-mode' );
}
sectionsData[ section ] = {
'section_id': sections[ section ],
'selector': $selector,
'visible': false,
}
}
};
};
/**
* [jetWidgetParallax description]
* @param {[type]} $scope [description]
* @return {[type]} [description]
*/
window.jetWidgetParallax = function( $scope ) {
var self = this,
$target = $( '> .elementor-widget-container', $scope ),
$section = $scope.closest( '.elementor-top-section' ),
widgetId = $scope.data('id'),
settings = {},
editMode = Boolean( elementor.isEditMode() ),
$window = $( window ),
isSafari = !!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/),
platform = navigator.platform,
safariClass = isSafari ? 'is-safari' : '',
macClass = 'MacIntel' == platform ? ' is-mac' : '';
/**
* Init
*/
self.init = function() {
$scope.addClass( macClass );
if ( ! editMode ) {
settings = $scope.data( 'jet-tricks-settings' );
} else {
settings = JetTricksTools.widgetEditorSettings( widgetId );
}
if ( ! settings ) {
return false;
}
if ( 'undefined' === typeof settings ) {
return false;
}
if ( 'false' === settings['parallax'] || 'undefined' === typeof settings['parallax'] ) {
return false;
}
$window.on( 'scroll.jetWidgetParallax resize.jetWidgetParallax', self.scrollHandler ).trigger( 'resize.jetWidgetParallax' );
};
self.scrollHandler = function( event ) {
var speed = +settings['speed']['size'] * 0.01,
invert = 'true' == settings['invert'] ? -1 : 1,
winHeight = $window.height(),
winScrollTop = $window.scrollTop(),
offsetTop = $scope.offset().top,
thisHeight = $scope.outerHeight(),
sectionHeight = $section.outerHeight(),
positionDelta = winScrollTop - offsetTop + ( winHeight / 2 ),
abs = positionDelta > 0 ? 1 : -1,
posY = abs * Math.pow( Math.abs( positionDelta ), 0.85 ),
availableDevices = settings['stickyOn'] || [],
currentDeviceMode = elementorFrontend.getCurrentDeviceMode();
posY = invert * Math.ceil( speed * posY );
if ( -1 !== availableDevices.indexOf( currentDeviceMode ) ) {
$target.css( {
'transform': 'translateY(' + posY + 'px)'
} );
} else {
$target.css( {
'transform': 'translateY(0)'
} );
}
};
};
/**
* [jetWidgetSatellite description]
* @param {[type]} $scope [description]
* @return {[type]} [description]
*/
window.jetWidgetSatellite = function( $scope ) {
var self = this,
widgetId = $scope.data('id'),
settings = {},
editMode = Boolean( elementor.isEditMode() );
/**
* Init
*/
self.init = function() {
if ( ! editMode ) {
settings = $scope.data( 'jet-tricks-settings' );
} else {
settings = JetTricksTools.widgetEditorSettings( widgetId );
}
if ( ! settings ) {
return false;
}
if ( 'undefined' === typeof settings ) {
return false;
}
if ( 'false' === settings['satellite'] || 'undefined' === typeof settings['satellite'] ) {
return false;
}
$scope.addClass( 'jet-satellite-widget' );
$( '.jet-tricks-satellite', $scope ).addClass( 'jet-tricks-satellite--' + settings['satellitePosition'] );
};
};
/**
* [jetWidgetTooltip description]
* @param {[type]} $scope [description]
* @return {[type]} [description]
*/
window.jetWidgetTooltip = function( $scope ) {
var self = this,
widgetId = $scope.data('id'),
widgetSelector = $scope[0],
tooltipSelector = widgetSelector,
settings = {},
editMode = Boolean( elementor.isEditMode() ),
tooltipEvent = editMode ? 'click' : 'mouseenter';
/**
* Init
*/
self.init = function() {
if ( ! editMode ) {
settings = $scope.data( 'jet-tricks-settings' );
} else {
settings = JetTricksTools.widgetEditorSettings( widgetId );
}
if ( ! settings ) {
return false;
}
if ( 'undefined' === typeof settings ) {
return false;
}
if ( 'false' === settings['tooltip'] || 'undefined' === typeof settings['tooltip'] || '' === settings['tooltipDescription'] ) {
return false;
}
$scope.addClass( 'jet-tooltip-widget' );
if ( widgetSelector._tippy ) {
widgetSelector._tippy.destroy();
}
if ( '' !== settings['customSelector'] ) {
tooltipSelector = $( settings['customSelector'], $scope )[0];
}
var tippyInstance = tippy(
[ tooltipSelector ],
{
html: $( '#jet-tricks-tooltip-content-' + widgetId )[0],
appendTo: widgetSelector,
arrow: true,
placement: settings['tooltipPlacement'],
flipBehavior: 'clockwise',
trigger: tooltipEvent,
offset: settings['xOffset'] + ', ' + settings['yOffset'],
animation: settings['tooltipAnimation'],
zIndex: settings['zIndex']
}
);
if ( editMode && widgetSelector._tippy ) {
widgetSelector._tippy.show();
}
};
};
}( jQuery, window.elementorFrontend ) );

View File

@@ -0,0 +1,33 @@
/*
2017 Julian Garnier
Released under the MIT license
*/
var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(e,r,p){if(p.get||p.set)throw new TypeError("ES3 does not support getters and setters.");e!=Array.prototype&&e!=Object.prototype&&(e[r]=p.value)};$jscomp.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:"undefined"!=typeof global&&null!=global?global:e};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_";
$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(e){return $jscomp.SYMBOL_PREFIX+(e||"")+$jscomp.symbolCounter_++};
$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var e=$jscomp.global.Symbol.iterator;e||(e=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[e]&&$jscomp.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(e){var r=0;return $jscomp.iteratorPrototype(function(){return r<e.length?{done:!1,value:e[r++]}:{done:!0}})};
$jscomp.iteratorPrototype=function(e){$jscomp.initSymbolIterator();e={next:e};e[$jscomp.global.Symbol.iterator]=function(){return this};return e};$jscomp.array=$jscomp.array||{};$jscomp.iteratorFromArray=function(e,r){$jscomp.initSymbolIterator();e instanceof String&&(e+="");var p=0,m={next:function(){if(p<e.length){var u=p++;return{value:r(u,e[u]),done:!1}}m.next=function(){return{done:!0,value:void 0}};return m.next()}};m[Symbol.iterator]=function(){return m};return m};
$jscomp.polyfill=function(e,r,p,m){if(r){p=$jscomp.global;e=e.split(".");for(m=0;m<e.length-1;m++){var u=e[m];u in p||(p[u]={});p=p[u]}e=e[e.length-1];m=p[e];r=r(m);r!=m&&null!=r&&$jscomp.defineProperty(p,e,{configurable:!0,writable:!0,value:r})}};$jscomp.polyfill("Array.prototype.keys",function(e){return e?e:function(){return $jscomp.iteratorFromArray(this,function(e){return e})}},"es6-impl","es3");var $jscomp$this=this;
(function(e,r){"function"===typeof define&&define.amd?define([],r):"object"===typeof module&&module.exports?module.exports=r():e.anime=r()})(this,function(){function e(a){if(!h.col(a))try{return document.querySelectorAll(a)}catch(c){}}function r(a,c){for(var d=a.length,b=2<=arguments.length?arguments[1]:void 0,f=[],n=0;n<d;n++)if(n in a){var k=a[n];c.call(b,k,n,a)&&f.push(k)}return f}function p(a){return a.reduce(function(a,d){return a.concat(h.arr(d)?p(d):d)},[])}function m(a){if(h.arr(a))return a;
h.str(a)&&(a=e(a)||a);return a instanceof NodeList||a instanceof HTMLCollection?[].slice.call(a):[a]}function u(a,c){return a.some(function(a){return a===c})}function C(a){var c={},d;for(d in a)c[d]=a[d];return c}function D(a,c){var d=C(a),b;for(b in a)d[b]=c.hasOwnProperty(b)?c[b]:a[b];return d}function z(a,c){var d=C(a),b;for(b in c)d[b]=h.und(a[b])?c[b]:a[b];return d}function T(a){a=a.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(a,c,d,k){return c+c+d+d+k+k});var c=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(a);
a=parseInt(c[1],16);var d=parseInt(c[2],16),c=parseInt(c[3],16);return"rgba("+a+","+d+","+c+",1)"}function U(a){function c(a,c,b){0>b&&(b+=1);1<b&&--b;return b<1/6?a+6*(c-a)*b:.5>b?c:b<2/3?a+(c-a)*(2/3-b)*6:a}var d=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(a)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(a);a=parseInt(d[1])/360;var b=parseInt(d[2])/100,f=parseInt(d[3])/100,d=d[4]||1;if(0==b)f=b=a=f;else{var n=.5>f?f*(1+b):f+b-f*b,k=2*f-n,f=c(k,n,a+1/3),b=c(k,n,a);a=c(k,n,a-1/3)}return"rgba("+
255*f+","+255*b+","+255*a+","+d+")"}function y(a){if(a=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(a))return a[2]}function V(a){if(-1<a.indexOf("translate")||"perspective"===a)return"px";if(-1<a.indexOf("rotate")||-1<a.indexOf("skew"))return"deg"}function I(a,c){return h.fnc(a)?a(c.target,c.id,c.total):a}function E(a,c){if(c in a.style)return getComputedStyle(a).getPropertyValue(c.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function J(a,c){if(h.dom(a)&&
u(W,c))return"transform";if(h.dom(a)&&(a.getAttribute(c)||h.svg(a)&&a[c]))return"attribute";if(h.dom(a)&&"transform"!==c&&E(a,c))return"css";if(null!=a[c])return"object"}function X(a,c){var d=V(c),d=-1<c.indexOf("scale")?1:0+d;a=a.style.transform;if(!a)return d;for(var b=[],f=[],n=[],k=/(\w+)\((.+?)\)/g;b=k.exec(a);)f.push(b[1]),n.push(b[2]);a=r(n,function(a,b){return f[b]===c});return a.length?a[0]:d}function K(a,c){switch(J(a,c)){case "transform":return X(a,c);case "css":return E(a,c);case "attribute":return a.getAttribute(c)}return a[c]||
0}function L(a,c){var d=/^(\*=|\+=|-=)/.exec(a);if(!d)return a;var b=y(a)||0;c=parseFloat(c);a=parseFloat(a.replace(d[0],""));switch(d[0][0]){case "+":return c+a+b;case "-":return c-a+b;case "*":return c*a+b}}function F(a,c){return Math.sqrt(Math.pow(c.x-a.x,2)+Math.pow(c.y-a.y,2))}function M(a){a=a.points;for(var c=0,d,b=0;b<a.numberOfItems;b++){var f=a.getItem(b);0<b&&(c+=F(d,f));d=f}return c}function N(a){if(a.getTotalLength)return a.getTotalLength();switch(a.tagName.toLowerCase()){case "circle":return 2*
Math.PI*a.getAttribute("r");case "rect":return 2*a.getAttribute("width")+2*a.getAttribute("height");case "line":return F({x:a.getAttribute("x1"),y:a.getAttribute("y1")},{x:a.getAttribute("x2"),y:a.getAttribute("y2")});case "polyline":return M(a);case "polygon":var c=a.points;return M(a)+F(c.getItem(c.numberOfItems-1),c.getItem(0))}}function Y(a,c){function d(b){b=void 0===b?0:b;return a.el.getPointAtLength(1<=c+b?c+b:0)}var b=d(),f=d(-1),n=d(1);switch(a.property){case "x":return b.x;case "y":return b.y;
case "angle":return 180*Math.atan2(n.y-f.y,n.x-f.x)/Math.PI}}function O(a,c){var d=/-?\d*\.?\d+/g,b;b=h.pth(a)?a.totalLength:a;if(h.col(b))if(h.rgb(b)){var f=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(b);b=f?"rgba("+f[1]+",1)":b}else b=h.hex(b)?T(b):h.hsl(b)?U(b):void 0;else f=(f=y(b))?b.substr(0,b.length-f.length):b,b=c&&!/\s/g.test(b)?f+c:f;b+="";return{original:b,numbers:b.match(d)?b.match(d).map(Number):[0],strings:h.str(a)||c?b.split(d):[]}}function P(a){a=a?p(h.arr(a)?a.map(m):m(a)):[];return r(a,
function(a,d,b){return b.indexOf(a)===d})}function Z(a){var c=P(a);return c.map(function(a,b){return{target:a,id:b,total:c.length}})}function aa(a,c){var d=C(c);if(h.arr(a)){var b=a.length;2!==b||h.obj(a[0])?h.fnc(c.duration)||(d.duration=c.duration/b):a={value:a}}return m(a).map(function(a,b){b=b?0:c.delay;a=h.obj(a)&&!h.pth(a)?a:{value:a};h.und(a.delay)&&(a.delay=b);return a}).map(function(a){return z(a,d)})}function ba(a,c){var d={},b;for(b in a){var f=I(a[b],c);h.arr(f)&&(f=f.map(function(a){return I(a,
c)}),1===f.length&&(f=f[0]));d[b]=f}d.duration=parseFloat(d.duration);d.delay=parseFloat(d.delay);return d}function ca(a){return h.arr(a)?A.apply(this,a):Q[a]}function da(a,c){var d;return a.tweens.map(function(b){b=ba(b,c);var f=b.value,e=K(c.target,a.name),k=d?d.to.original:e,k=h.arr(f)?f[0]:k,w=L(h.arr(f)?f[1]:f,k),e=y(w)||y(k)||y(e);b.from=O(k,e);b.to=O(w,e);b.start=d?d.end:a.offset;b.end=b.start+b.delay+b.duration;b.easing=ca(b.easing);b.elasticity=(1E3-Math.min(Math.max(b.elasticity,1),999))/
1E3;b.isPath=h.pth(f);b.isColor=h.col(b.from.original);b.isColor&&(b.round=1);return d=b})}function ea(a,c){return r(p(a.map(function(a){return c.map(function(b){var c=J(a.target,b.name);if(c){var d=da(b,a);b={type:c,property:b.name,animatable:a,tweens:d,duration:d[d.length-1].end,delay:d[0].delay}}else b=void 0;return b})})),function(a){return!h.und(a)})}function R(a,c,d,b){var f="delay"===a;return c.length?(f?Math.min:Math.max).apply(Math,c.map(function(b){return b[a]})):f?b.delay:d.offset+b.delay+
b.duration}function fa(a){var c=D(ga,a),d=D(S,a),b=Z(a.targets),f=[],e=z(c,d),k;for(k in a)e.hasOwnProperty(k)||"targets"===k||f.push({name:k,offset:e.offset,tweens:aa(a[k],d)});a=ea(b,f);return z(c,{children:[],animatables:b,animations:a,duration:R("duration",a,c,d),delay:R("delay",a,c,d)})}function q(a){function c(){return window.Promise&&new Promise(function(a){return p=a})}function d(a){return g.reversed?g.duration-a:a}function b(a){for(var b=0,c={},d=g.animations,f=d.length;b<f;){var e=d[b],
k=e.animatable,h=e.tweens,n=h.length-1,l=h[n];n&&(l=r(h,function(b){return a<b.end})[0]||l);for(var h=Math.min(Math.max(a-l.start-l.delay,0),l.duration)/l.duration,w=isNaN(h)?1:l.easing(h,l.elasticity),h=l.to.strings,p=l.round,n=[],m=void 0,m=l.to.numbers.length,t=0;t<m;t++){var x=void 0,x=l.to.numbers[t],q=l.from.numbers[t],x=l.isPath?Y(l.value,w*x):q+w*(x-q);p&&(l.isColor&&2<t||(x=Math.round(x*p)/p));n.push(x)}if(l=h.length)for(m=h[0],w=0;w<l;w++)p=h[w+1],t=n[w],isNaN(t)||(m=p?m+(t+p):m+(t+" "));
else m=n[0];ha[e.type](k.target,e.property,m,c,k.id);e.currentValue=m;b++}if(b=Object.keys(c).length)for(d=0;d<b;d++)H||(H=E(document.body,"transform")?"transform":"-webkit-transform"),g.animatables[d].target.style[H]=c[d].join(" ");g.currentTime=a;g.progress=a/g.duration*100}function f(a){if(g[a])g[a](g)}function e(){g.remaining&&!0!==g.remaining&&g.remaining--}function k(a){var k=g.duration,n=g.offset,w=n+g.delay,r=g.currentTime,x=g.reversed,q=d(a);if(g.children.length){var u=g.children,v=u.length;
if(q>=g.currentTime)for(var G=0;G<v;G++)u[G].seek(q);else for(;v--;)u[v].seek(q)}if(q>=w||!k)g.began||(g.began=!0,f("begin")),f("run");if(q>n&&q<k)b(q);else if(q<=n&&0!==r&&(b(0),x&&e()),q>=k&&r!==k||!k)b(k),x||e();f("update");a>=k&&(g.remaining?(t=h,"alternate"===g.direction&&(g.reversed=!g.reversed)):(g.pause(),g.completed||(g.completed=!0,f("complete"),"Promise"in window&&(p(),m=c()))),l=0)}a=void 0===a?{}:a;var h,t,l=0,p=null,m=c(),g=fa(a);g.reset=function(){var a=g.direction,c=g.loop;g.currentTime=
0;g.progress=0;g.paused=!0;g.began=!1;g.completed=!1;g.reversed="reverse"===a;g.remaining="alternate"===a&&1===c?2:c;b(0);for(a=g.children.length;a--;)g.children[a].reset()};g.tick=function(a){h=a;t||(t=h);k((l+h-t)*q.speed)};g.seek=function(a){k(d(a))};g.pause=function(){var a=v.indexOf(g);-1<a&&v.splice(a,1);g.paused=!0};g.play=function(){g.paused&&(g.paused=!1,t=0,l=d(g.currentTime),v.push(g),B||ia())};g.reverse=function(){g.reversed=!g.reversed;t=0;l=d(g.currentTime)};g.restart=function(){g.pause();
g.reset();g.play()};g.finished=m;g.reset();g.autoplay&&g.play();return g}var ga={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},S={duration:1E3,delay:0,easing:"easeOutElastic",elasticity:500,round:0},W="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "),H,h={arr:function(a){return Array.isArray(a)},obj:function(a){return-1<Object.prototype.toString.call(a).indexOf("Object")},
pth:function(a){return h.obj(a)&&a.hasOwnProperty("totalLength")},svg:function(a){return a instanceof SVGElement},dom:function(a){return a.nodeType||h.svg(a)},str:function(a){return"string"===typeof a},fnc:function(a){return"function"===typeof a},und:function(a){return"undefined"===typeof a},hex:function(a){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(a)},rgb:function(a){return/^rgb/.test(a)},hsl:function(a){return/^hsl/.test(a)},col:function(a){return h.hex(a)||h.rgb(a)||h.hsl(a)}},A=function(){function a(a,
d,b){return(((1-3*b+3*d)*a+(3*b-6*d))*a+3*d)*a}return function(c,d,b,f){if(0<=c&&1>=c&&0<=b&&1>=b){var e=new Float32Array(11);if(c!==d||b!==f)for(var k=0;11>k;++k)e[k]=a(.1*k,c,b);return function(k){if(c===d&&b===f)return k;if(0===k)return 0;if(1===k)return 1;for(var h=0,l=1;10!==l&&e[l]<=k;++l)h+=.1;--l;var l=h+(k-e[l])/(e[l+1]-e[l])*.1,n=3*(1-3*b+3*c)*l*l+2*(3*b-6*c)*l+3*c;if(.001<=n){for(h=0;4>h;++h){n=3*(1-3*b+3*c)*l*l+2*(3*b-6*c)*l+3*c;if(0===n)break;var m=a(l,c,b)-k,l=l-m/n}k=l}else if(0===
n)k=l;else{var l=h,h=h+.1,g=0;do m=l+(h-l)/2,n=a(m,c,b)-k,0<n?h=m:l=m;while(1e-7<Math.abs(n)&&10>++g);k=m}return a(k,d,f)}}}}(),Q=function(){function a(a,b){return 0===a||1===a?a:-Math.pow(2,10*(a-1))*Math.sin(2*(a-1-b/(2*Math.PI)*Math.asin(1))*Math.PI/b)}var c="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),d={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],a],Out:[[.25,
.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(b,c){return 1-a(1-b,c)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(b,c){return.5>b?a(2*b,c)/2:1-a(-2*b+2,c)/2}]},b={linear:A(.25,.25,.75,.75)},f={},e;for(e in d)f.type=e,d[f.type].forEach(function(a){return function(d,f){b["ease"+a.type+c[f]]=h.fnc(d)?
d:A.apply($jscomp$this,d)}}(f)),f={type:f.type};return b}(),ha={css:function(a,c,d){return a.style[c]=d},attribute:function(a,c,d){return a.setAttribute(c,d)},object:function(a,c,d){return a[c]=d},transform:function(a,c,d,b,f){b[f]||(b[f]=[]);b[f].push(c+"("+d+")")}},v=[],B=0,ia=function(){function a(){B=requestAnimationFrame(c)}function c(c){var b=v.length;if(b){for(var d=0;d<b;)v[d]&&v[d].tick(c),d++;a()}else cancelAnimationFrame(B),B=0}return a}();q.version="2.2.0";q.speed=1;q.running=v;q.remove=
function(a){a=P(a);for(var c=v.length;c--;)for(var d=v[c],b=d.animations,f=b.length;f--;)u(a,b[f].animatable.target)&&(b.splice(f,1),b.length||d.pause())};q.getValue=K;q.path=function(a,c){var d=h.str(a)?e(a)[0]:a,b=c||100;return function(a){return{el:d,property:a,totalLength:N(d)*(b/100)}}};q.setDashoffset=function(a){var c=N(a);a.setAttribute("stroke-dasharray",c);return c};q.bezier=A;q.easings=Q;q.timeline=function(a){var c=q(a);c.pause();c.duration=0;c.add=function(d){c.children.forEach(function(a){a.began=
!0;a.completed=!0});m(d).forEach(function(b){var d=z(b,D(S,a||{}));d.targets=d.targets||a.targets;b=c.duration;var e=d.offset;d.autoplay=!1;d.direction=c.direction;d.offset=h.und(e)?b:L(e,b);c.began=!0;c.completed=!0;c.seek(d.offset);d=q(d);d.began=!0;d.completed=!0;d.duration>b&&(c.duration=d.duration);c.children.push(d)});c.seek(0);c.reset();c.autoplay&&c.restart();return c};return c};q.random=function(a,c){return Math.floor(Math.random()*(c-a+1))+a};return q});

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
!function(){var e=function(t,i){function s(){this.q=[],this.add=function(e){this.q.push(e)};var e,t;this.call=function(){for(e=0,t=this.q.length;e<t;e++)this.q[e].call()}}function o(e,t){return e.currentStyle?e.currentStyle[t]:window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):e.style[t]}function n(e,t){if(e.resizedAttached){if(e.resizedAttached)return void e.resizedAttached.add(t)}else e.resizedAttached=new s,e.resizedAttached.add(t);e.resizeSensor=document.createElement("div"),e.resizeSensor.className="resize-sensor";var i="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",n="position: absolute; left: 0; top: 0; transition: 0s;";e.resizeSensor.style.cssText=i,e.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+i+'"><div style="'+n+'"></div></div><div class="resize-sensor-shrink" style="'+i+'"><div style="'+n+' width: 200%; height: 200%"></div></div>',e.appendChild(e.resizeSensor),{fixed:1,absolute:1}[o(e,"position")]||(e.style.position="relative");var d,r,l=e.resizeSensor.childNodes[0],c=l.childNodes[0],h=e.resizeSensor.childNodes[1],a=(h.childNodes[0],function(){c.style.width=l.offsetWidth+10+"px",c.style.height=l.offsetHeight+10+"px",l.scrollLeft=l.scrollWidth,l.scrollTop=l.scrollHeight,h.scrollLeft=h.scrollWidth,h.scrollTop=h.scrollHeight,d=e.offsetWidth,r=e.offsetHeight});a();var f=function(){e.resizedAttached&&e.resizedAttached.call()},u=function(e,t,i){e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i)},p=function(){e.offsetWidth==d&&e.offsetHeight==r||f(),a()};u(l,"scroll",p),u(h,"scroll",p)}var d=Object.prototype.toString.call(t),r="[object Array]"===d||"[object NodeList]"===d||"[object HTMLCollection]"===d||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements;if(r)for(var l=0,c=t.length;l<c;l++)n(t[l],i);else n(t,i);this.detach=function(){if(r)for(var i=0,s=t.length;i<s;i++)e.detach(t[i]);else e.detach(t)}};e.detach=function(e){e.resizeSensor&&(e.removeChild(e.resizeSensor),delete e.resizeSensor,delete e.resizedAttached)},"undefined"!=typeof module&&"undefined"!=typeof module.exports?module.exports=e:window.ResizeSensor=e}();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,253 @@
.jet-hotspots {
position: relative;
&.image-loaded {
.jet-hotspots__item {
visibility: visible;
}
}
&__container {
width: 100%;
height: 100%;
top: 0;
right: 0;
bottom: 0;
left: 0;
position: absolute;
display: block;
}
&__image {
width: 100%;
}
&__item {
visibility: hidden;
position: absolute;
transform: translate3d(-50%,-50%, 0);
z-index: 99;
.jet-hotspots__item-inner {
position: relative;
display: flex;
flex-flow: row nowrap;
justify-content: center;
align-items: center;
padding: 10px;
color: white;
background-color: #6ec1e4;
border-radius: 4px;
transform: translateZ(0);
transition: all 0.3s ease;
}
i {
font-size: 20px;
}
span {
font-size: 14px;
margin: 0 5px;
overflow-wrap: break-word;
}
}
}
.jet-hotspots {
&.jet-hotspots__hotspots-flash-animation {
.jet-hotspots__item {
.jet-hotspots__item-inner {
animation-name: flash;
animation-duration: 7.5s;
animation-fill-mode: both;
animation-iteration-count: infinite;
animation-play-state: running;
}
&:hover {
.jet-hotspots__item-inner {
animation-play-state: paused;
}
}
}
}
&.jet-hotspots__hotspots-pulse-animation {
.jet-hotspots__item {
.jet-hotspots__item-inner {
animation-name: pulse;
animation-duration: 5s;
animation-fill-mode: both;
animation-iteration-count: infinite;
animation-play-state: running;
}
&:hover {
.jet-hotspots__item-inner {
animation-play-state: paused;
}
}
}
}
&.jet-hotspots__hotspots-shake-animation {
.jet-hotspots__item {
.jet-hotspots__item-inner {
animation-name: shake;
animation-duration: 5s;
animation-fill-mode: both;
animation-iteration-count: infinite;
animation-play-state: running;
}
&:hover {
.jet-hotspots__item-inner {
animation-play-state: paused;
}
}
}
}
&.jet-hotspots__hotspots-tada-animation {
.jet-hotspots__item {
.jet-hotspots__item-inner {
animation-name: tada;
animation-duration: 5s;
animation-fill-mode: both;
animation-iteration-count: infinite;
animation-play-state: running;
}
&:hover {
.jet-hotspots__item-inner {
animation-play-state: paused;
}
}
}
}
&.jet-hotspots__hotspots-rubber-animation {
.jet-hotspots__item {
.jet-hotspots__item-inner {
animation-name: rubber;
animation-duration: 5s;
animation-fill-mode: both;
animation-iteration-count: infinite;
animation-play-state: running;
}
&:hover {
.jet-hotspots__item-inner {
animation-play-state: paused;
}
}
}
}
&.jet-hotspots__hotspots-swing-animation {
.jet-hotspots__item {
.jet-hotspots__item-inner {
transform-origin: top center;
animation-name: swing;
animation-duration: 5s;
animation-fill-mode: both;
animation-iteration-count: infinite;
animation-play-state: running;
}
&:hover {
.jet-hotspots__item-inner {
animation-play-state: paused;
}
}
}
}
}
@keyframes flash {
0%, 100%, 89% {
opacity: 1;
}
90%, 94%, 98% {
opacity: 0;
}
92%, 96% {
opacity: 1;
}
}
@keyframes pulse {
0%, 100%, 89% {
transform: scale3d(1, 1, 1);
}
90%, 94%, 98% {
transform: scale3d(1.1, 1.1, 1.1);
}
92%, 96% {
transform: scale3d(0.9, 0.9, 0.9);
}
}
@keyframes shake {
0%, 100%, 89% {
transform: translate3d(0, 0, 0);
}
90%, 94%, 98% {
transform: translate3d(-5px, 0, 0);
}
92%, 96% {
transform: translate3d(5px, 0, 0);
}
}
@keyframes tada {
0%, 100%, 86% {
transform: scale3d(1, 1, 1);
}
87% {
transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
}
90%, 94%, 98% {
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
}
92%, 96% {
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
}
}
@keyframes rubber {
64% {
transform: scale3d(1, 1, 1);
}
73% {
transform: scale3d(1.25, 0.75, 1);
}
77% {
transform: scale3d(0.75, 1.25, 1);
}
81% {
transform: scale3d(1.15, 0.85, 1);
}
86% {
transform: scale3d(.95, 1.05, 1);
}
90% {
transform: scale3d(1.05, .95, 1);
}
100% {
transform: scale3d(1, 1, 1);
}
}
@keyframes swing {
0%, 100%, 75% {
transform: rotate3d(0, 0, 1, 0deg);
}
80% {
transform: rotate3d(0, 0, 1, 15deg);
}
85% {
transform: rotate3d(0, 0, 1, -10deg);
}
90% {
transform: rotate3d(0, 0, 1, 5deg);
}
95% {
transform: rotate3d(0, 0, 1, -5deg);
}
}

View File

@@ -0,0 +1,45 @@
.jet-unfold {
transition: all 300ms ease;
&__mask {
overflow: hidden;
position: relative;
}
&__separator {
position: absolute;
display: block;
width: 100%;
height: 30px;
bottom: 0;
opacity: 1;
transition: opacity 100ms ease;
}
&__trigger {
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
margin-top: 30px;
}
&__button {
display: flex;
flex-flow: row nowrap;
justify-content: flex-start;
align-items: center;
background-color: #6ec1e4;
cursor: pointer;
}
&__button-icon {
margin-right: 5px;
}
&-state {
.jet-unfold__separator {
opacity: 0;
}
}
}

View File

@@ -0,0 +1,193 @@
.jet-view-more {
display: flex;
justify-content: center;
align-items: center;
&__button {
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
padding: 15px 30px;
font-size: 16px;
border-radius: 4px;
line-height: 1;
background-color: #818a91;
color: white;
text-align: center;
transition: all 0.5s;
}
&__icon {
color: white;
margin: 0 5px 0 0;
}
&__label {
color: white;
}
}
.jet-view-more-section-edit-mode {
filter: grayscale(1);
opacity: 0.5;
}
.jet-view-more-section {
height: 0;
overflow: hidden;
&.jet-tricks-fade-effect {
animation-name: jetTricksFade;
animation-duration: 500ms;
animation-timing-function: cubic-bezier(.26,.69,.37,.96);
animation-play-state: paused;
&.view-more-visible {
height: auto;
animation-play-state: running;
}
}
&.jet-tricks-zoom-in-effect {
animation-name: jetTricksZoomIn;
animation-duration: 500ms;
animation-timing-function: cubic-bezier(.26,.69,.37,.96);
animation-play-state: paused;
&.view-more-visible {
height: auto;
animation-play-state: running;
}
}
&.jet-tricks-zoom-out-effect {
animation-name: jetTricksZoomOut;
animation-duration: 500ms;
animation-timing-function: cubic-bezier(.26,.69,.37,.96);
animation-play-state: paused;
&.view-more-visible {
height: auto;
animation-play-state: running;
}
}
&.jet-tricks-move-up-effect {
animation-name: jetTricksMoveUp;
animation-duration: 500ms;
animation-timing-function: cubic-bezier(.26,.69,.37,.96);
animation-play-state: paused;
&.view-more-visible {
height: auto;
animation-play-state: running;
}
}
&.jet-tricks-fall-perspective-effect {
animation-name: jetTricksFallPerspective;
animation-duration: 500ms;
animation-timing-function: cubic-bezier(.26,.69,.37,.96);
animation-play-state: paused;
&.view-more-visible {
height: auto;
animation-play-state: running;
}
}
}
@keyframes jetTricksFade {
0% {
height: 0;
opacity: 0;
}
1% {
height: auto;
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes jetTricksZoomIn {
0% {
height: 0;
opacity: 0;
transform: scale(0.75);
}
1% {
height: auto;
opacity: 0;
transform: scale(0.75);
}
100% {
opacity: 1;
transform: scale(1);
}
}
@keyframes jetTricksZoomOut {
0% {
height: 0;
opacity: 0;
transform: scale(1.1);
}
1% {
height: auto;
opacity: 0;
transform: scale(1.1);
}
100% {
opacity: 1;
transform: scale(1);
}
}
@keyframes jetTricksMoveUp {
0% {
height: 0;
opacity: 0;
transform: translateY(50px);
}
1% {
height: auto;
opacity: 0;
transform: translateY(50px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@keyframes jetTricksFallPerspective {
0% {
height: 0;
opacity: 0;
transform: perspective(1000px) translateY(50px) translateZ(-300px) rotateX(-35deg);
}
1% {
height: auto;
opacity: 0;
transform: perspective(1000px) translateY(50px) translateZ(-300px) rotateX(-35deg);
}
100% {
opacity: 1;
transform: perspective(1000px) translateY(0) translateZ(0) rotateX(0deg);
}
}

View File

@@ -0,0 +1,8 @@
.jet-tricks-particles-section__instance {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}

View File

@@ -0,0 +1,104 @@
.jet-satellite-widget {
position: relative;
> .elementor-widget-container {
position: relative;
z-index: 1;
}
}
.jet-tricks-satellite {
position: absolute;
pointer-events: none;
transform-origin: 50% 50%;
z-index: 2;
.jet-tricks-satellite__text {
font-size: 60px;
font-weight: 600;
color: #6ec1e4;
transform: translateX(-50%) translateY(-50%);
span {
display: block;
white-space: nowrap;
transform-origin: 50% 50%;
}
}
.jet-tricks-satellite__icon {
position: relative;
transform: translateX(-50%) translateY(-50%);
.jet-tricks-satellite__icon-instance {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
border-radius: 50px;
color: #fff;
background-color: #6ec1e4
}
}
.jet-tricks-satellite__image {
position: relative;
transform: translateX(-50%) translateY(-50%);
.jet-tricks-satellite__image-instance {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
transform-origin: 50% 50%;
}
}
&--top-left {
top: 0;
left: 0;
}
&--top-center {
top: 0;
left: 50%;
}
&--top-right {
top: 0;
left: 100%;
}
&--middle-left {
top: 50%;
left: 0;
}
&--middle-center {
top: 50%;
left: 50%;
}
&--middle-right {
top: 50%;
left: 100%;
}
&--bottom-left {
top: 100%;
left: 0;
}
&--bottom-center {
top: 100%;
left: 50%;
}
&--bottom-right {
top: 100%;
left: 100%;
}
}

View File

@@ -0,0 +1,17 @@
.jet-tooltip-widget {
&__content {
display: none;
}
.tippy-popper {
.tippy-tooltip {
max-width: 100%;
}
.jet-tooltip-widget__content {
display: block;
}
}
}

View File

@@ -0,0 +1,76 @@
#jet-tricks-settings-page {
visibility: hidden;
&.is-mounted {
visibility: visible;
}
}
.jet-tricks-settings-page {
margin: 25px 15px 0 15px;
.cx-vui-tabs-panel {
> .cx-vui-subtitle {
padding: 20px;
margin-top: 20px;
&:first-child {
margin-top: 0;
}
}
}
.jet-tricks-avaliable-widgets-control {
.cx-vui-checkgroup {
display: flex;
flex-flow: row wrap;
.cx-vui-checkbox-wrap {
width: 25%;
@media screen and (max-width: 1200px) {
width: 50%;
}
@media screen and (max-width: 782px) {
width: 100%;
}
}
}
}
&__avaliable-controls {
display: flex;
flex-flow: row wrap;
}
&__avaliable-control {
width: 33.3333%;
@media screen and (max-width: 1200px) {
width: 50%;
}
@media screen and (max-width: 782px) {
width: 100%;
}
.cx-vui-component {
padding: 10px 0;
}
}
&__disable-all-widgets {
display: flex;
justify-content: flex-start;
align-items: center;
border-bottom: 1px solid #ECECEC;
padding-bottom: 20px;
margin: 20px 0;
.cx-vui-component__label {
margin-right: 10px;
}
}
}

View File

@@ -0,0 +1,31 @@
@import "addons/jet-view-more";
@import "addons/jet-unfold";
@import "addons/jet-hotspots";
@import "extensions/jet-satellite";
@import "extensions/jet-tooltip";
@import "extensions/jet-particles";
.jet-sticky-section {
&.stuck {
position: fixed;
width: auto;
z-index: 99;
}
}
.jet-sticky-column {
align-self: flex-start;
&.is-affixed.elementor-element.elementor-column > .elementor-column-wrap {
margin-top: 0;
margin-bottom: 0;
}
}
.jet-parallax-widget:not(.is-mac) {
> .elementor-widget-container {
transition: transform 0.25s cubic-bezier(.25,.88,.54,.98);
will-change: transform;
transform: translateZ(0);
}
}

View File

@@ -0,0 +1,37 @@
[class*="jet-tricks-icon-"] {
display: block;
.elementor-panel &,
.elementor-sortable-helper & {
font-size: 38px;
margin-bottom: calc( 28px - 1em );
}
.elementor-navigator__item & {
font-size: 16px;
}
&:before {
content: '';
display: block;
width: 1em;
height: 1em;
margin: 0 auto;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
}
.jet-tricks-icon-view-more:before {
background-image: url("data:image/svg+xml,%3Csvg width='64' height='49' viewBox='0 0 64 49' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='18' height='18' rx='3' fill='white' stroke='%23162B40' stroke-width='2'/%3E%3Crect x='23' y='40' width='18' height='8' rx='3' fill='%234AF3BA' stroke='%23162B40' stroke-width='2'/%3E%3Crect x='2' y='23' width='16' height='2' rx='1' fill='%23162B40'/%3E%3Crect x='2' y='27' width='16' height='2' rx='1' fill='%23162B40'/%3E%3Cpath d='M2 32C2 31.4477 2.44772 31 3 31H9C9.55228 31 10 31.4477 10 32C10 32.5523 9.55228 33 9 33H3C2.44772 33 2 32.5523 2 32Z' fill='%23162B40'/%3E%3Crect x='24' y='23' width='16' height='2' rx='1' fill='%23162B40'/%3E%3Crect x='24' y='27' width='16' height='2' rx='1' fill='%23162B40'/%3E%3Cpath d='M24 32C24 31.4477 24.4477 31 25 31H31C31.5523 31 32 31.4477 32 32C32 32.5523 31.5523 33 31 33H25C24.4477 33 24 32.5523 24 32Z' fill='%23162B40'/%3E%3Crect x='46' y='23' width='16' height='2' rx='1' fill='%23162B40'/%3E%3Crect x='46' y='27' width='16' height='2' rx='1' fill='%23162B40'/%3E%3Cpath d='M46 32C46 31.4477 46.4477 31 47 31H53C53.5523 31 54 31.4477 54 32C54 32.5523 53.5523 33 53 33H47C46.4477 33 46 32.5523 46 32Z' fill='%23162B40'/%3E%3Crect x='23' y='1' width='18' height='18' rx='3' fill='white' stroke='%23162B40' stroke-width='2'/%3E%3Crect x='45' y='1' width='18' height='18' rx='3' fill='white' stroke='%23162B40' stroke-width='2'/%3E%3C/svg%3E");
}
.jet-tricks-icon-hotspot:before {
background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='64' height='64' fill='white'/%3E%3Crect width='64' height='64' fill='white'/%3E%3Cpath d='M30.1074 36.6005L32 34.0107L33.8926 36.6005C34.266 37.1115 34.8598 37.4211 35.5 37.4211H52C53.6234 37.4211 55 38.7961 55 40.5263V54.8947C55 56.625 53.6234 58 52 58H12C10.3766 58 9 56.625 9 54.8947V40.5263C9 38.7961 10.3766 37.4211 12 37.4211H28.5C29.1402 37.4211 29.734 37.1115 30.1074 36.6005Z' fill='white' stroke='%23162B40' stroke-width='2'/%3E%3Cpath d='M24 21C24 16.5817 27.5817 13 32 13C36.4183 13 40 16.5817 40 21C40 25.4183 36.4183 29 32 29C27.5817 29 24 25.4183 24 21Z' fill='%236F8BFF' stroke='%23162B40' stroke-width='2'/%3E%3Cpath d='M3 10C3 7.23858 5.23858 5 8 5C10.7614 5 13 7.23858 13 10C13 12.7614 10.7614 15 8 15C5.23858 15 3 12.7614 3 10Z' fill='%236F8BFF' stroke='%23162B40' stroke-width='2'/%3E%3Cpath d='M51 10C51 7.23858 53.2386 5 56 5C58.7614 5 61 7.23858 61 10C61 12.7614 58.7614 15 56 15C53.2386 15 51 12.7614 51 10Z' fill='%236F8BFF' stroke='%23162B40' stroke-width='2'/%3E%3C/svg%3E%0A");
}
.jet-tricks-icon-unfold:before {
background-image: url("data:image/svg+xml,%3Csvg width='64' height='50' viewBox='0 0 64 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='29' height='33' rx='3' fill='%236F8BFF' stroke='%23162B40' stroke-width='2'/%3E%3Cpath d='M7 26L9 28L11 26' stroke='%23162B40' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='34' y='1' width='29' height='48' rx='3' fill='white' stroke='%23162B40' stroke-width='2'/%3E%3Cpath d='M40 43L42 41L44 43' stroke='%23162B40' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='39' y='6' width='19' height='2' rx='1' fill='%23162B40'/%3E%3Crect x='39' y='10' width='19' height='2' rx='1' fill='%23162B40'/%3E%3Cpath d='M39 15C39 14.4477 39.4477 14 40 14H48C48.5523 14 49 14.4477 49 15C49 15.5523 48.5523 16 48 16H40C39.4477 16 39 15.5523 39 15Z' fill='%23162B40'/%3E%3C/svg%3E%0A");
}