Latest repo

This commit is contained in:
Marc
2025-06-02 16:42:16 +00:00
parent 53ddf1a329
commit cde5fae175
27907 changed files with 3875388 additions and 1 deletions

193
node_modules/aos/src/js/aos.js generated vendored Normal file
View File

@@ -0,0 +1,193 @@
/**
* *******************************************************
* AOS (Animate on scroll) - wowjs alternative
* made to animate elements on scroll in both directions
* *******************************************************
*/
import styles from './../sass/aos.scss';
// Modules & helpers
import throttle from 'lodash.throttle';
import debounce from 'lodash.debounce';
import observer from './libs/observer';
import detect from './helpers/detector';
import handleScroll from './helpers/handleScroll';
import prepare from './helpers/prepare';
import elements from './helpers/elements';
/**
* Private variables
*/
let $aosElements = [];
let initialized = false;
/**
* Default options
*/
let options = {
offset: 120,
delay: 0,
easing: 'ease',
duration: 400,
disable: false,
once: false,
startEvent: 'DOMContentLoaded',
throttleDelay: 99,
debounceDelay: 50,
disableMutationObserver: false,
};
/**
* Refresh AOS
*/
const refresh = function refresh(initialize = false) {
// Allow refresh only when it was first initialized on startEvent
if (initialize) initialized = true;
if (initialized) {
// Extend elements objects in $aosElements with their positions
$aosElements = prepare($aosElements, options);
// Perform scroll event, to refresh view and show/hide elements
handleScroll($aosElements, options.once);
return $aosElements;
}
};
/**
* Hard refresh
* create array with new elements and trigger refresh
*/
const refreshHard = function refreshHard() {
$aosElements = elements();
refresh();
};
/**
* Disable AOS
* Remove all attributes to reset applied styles
*/
const disable = function() {
$aosElements.forEach(function(el, i) {
el.node.removeAttribute('data-aos');
el.node.removeAttribute('data-aos-easing');
el.node.removeAttribute('data-aos-duration');
el.node.removeAttribute('data-aos-delay');
});
};
/**
* Check if AOS should be disabled based on provided setting
*/
const isDisabled = function(optionDisable) {
return optionDisable === true ||
(optionDisable === 'mobile' && detect.mobile()) ||
(optionDisable === 'phone' && detect.phone()) ||
(optionDisable === 'tablet' && detect.tablet()) ||
(typeof optionDisable === 'function' && optionDisable() === true);
};
/**
* Initializing AOS
* - Create options merging defaults with user defined options
* - Set attributes on <body> as global setting - css relies on it
* - Attach preparing elements to options.startEvent,
* window resize and orientation change
* - Attach function that handle scroll and everything connected to it
* to window scroll event and fire once document is ready to set initial state
*/
const init = function init(settings) {
options = Object.assign(options, settings);
// Create initial array with elements -> to be fullfilled later with prepare()
$aosElements = elements();
// Detect not supported browsers (<=IE9)
// http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
const browserNotSupported = document.all && !window.atob;
/**
* Don't init plugin if option `disable` is set
* or when browser is not supported
*/
if (isDisabled(options.disable) || browserNotSupported) {
return disable();
}
/**
* Disable mutation observing if not supported
*/
if (!options.disableMutationObserver && !observer.isSupported()) {
console.info(`
aos: MutationObserver is not supported on this browser,
code mutations observing has been disabled.
You may have to call "refreshHard()" by yourself.
`);
options.disableMutationObserver = true;
}
/**
* Set global settings on body, based on options
* so CSS can use it
*/
document.querySelector('body').setAttribute('data-aos-easing', options.easing);
document.querySelector('body').setAttribute('data-aos-duration', options.duration);
document.querySelector('body').setAttribute('data-aos-delay', options.delay);
/**
* Handle initializing
*/
if (options.startEvent === 'DOMContentLoaded' &&
['complete', 'interactive'].indexOf(document.readyState) > -1) {
// Initialize AOS if default startEvent was already fired
refresh(true);
} else if (options.startEvent === 'load') {
// If start event is 'Load' - attach listener to window
window.addEventListener(options.startEvent, function() {
refresh(true);
});
} else {
// Listen to options.startEvent and initialize AOS
document.addEventListener(options.startEvent, function() {
refresh(true);
});
}
/**
* Refresh plugin on window resize or orientation change
*/
window.addEventListener('resize', debounce(refresh, options.debounceDelay, true));
window.addEventListener('orientationchange', debounce(refresh, options.debounceDelay, true));
/**
* Handle scroll event to animate elements on scroll
*/
window.addEventListener('scroll', throttle(() => {
handleScroll($aosElements, options.once);
}, options.throttleDelay));
/**
* Observe [aos] elements
* If something is loaded by AJAX
* it'll refresh plugin automatically
*/
if (!options.disableMutationObserver) {
observer.ready('[data-aos]', refreshHard);
}
return $aosElements;
};
/**
* Export Public API
*/
module.exports = {
init,
refresh,
refreshHard
};

70
node_modules/aos/src/js/helpers/calculateOffset.js generated vendored Normal file
View File

@@ -0,0 +1,70 @@
/**
* Calculate offset
* basing on element's settings like:
* - anchor
* - offset
*
* @param {Node} el [Dom element]
* @return {Integer} [Final offset that will be used to trigger animation in good position]
*/
import getOffset from './../libs/offset';
const calculateOffset = function (el, optionalOffset) {
let elementOffsetTop = 0;
let additionalOffset = 0;
const windowHeight = window.innerHeight;
const attrs = {
offset: el.getAttribute('data-aos-offset'),
anchor: el.getAttribute('data-aos-anchor'),
anchorPlacement: el.getAttribute('data-aos-anchor-placement')
};
if (attrs.offset && !isNaN(attrs.offset)) {
additionalOffset = parseInt(attrs.offset);
}
if (attrs.anchor && document.querySelectorAll(attrs.anchor)) {
el = document.querySelectorAll(attrs.anchor)[0];
}
elementOffsetTop = getOffset(el).top;
switch (attrs.anchorPlacement) {
case 'top-bottom':
// Default offset
break;
case 'center-bottom':
elementOffsetTop += el.offsetHeight / 2;
break;
case 'bottom-bottom':
elementOffsetTop += el.offsetHeight;
break;
case 'top-center':
elementOffsetTop += windowHeight / 2;
break;
case 'bottom-center':
elementOffsetTop += windowHeight / 2 + el.offsetHeight;
break;
case 'center-center':
elementOffsetTop += windowHeight / 2 + el.offsetHeight / 2;
break;
case 'top-top':
elementOffsetTop += windowHeight;
break;
case 'bottom-top':
elementOffsetTop += el.offsetHeight + windowHeight;
break;
case 'center-top':
elementOffsetTop += el.offsetHeight / 2 + windowHeight;
break;
}
if (!attrs.anchorPlacement && !attrs.offset && !isNaN(optionalOffset)) {
additionalOffset = optionalOffset;
}
return elementOffsetTop + additionalOffset;
};
export default calculateOffset;

33
node_modules/aos/src/js/helpers/detector.js generated vendored Normal file
View File

@@ -0,0 +1,33 @@
/**
* Device detector
*/
const fullNameRe = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i;
const prefixRe = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;
const fullNameMobileRe = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i;
const prefixMobileRe = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;
function ua() {
return navigator.userAgent || navigator.vendor || window.opera || '';
}
class Detector {
phone() {
const a = ua();
return !!(fullNameRe.test(a) || prefixRe.test(a.substr(0, 4)));
}
mobile() {
const a = ua();
return !!(fullNameMobileRe.test(a) || prefixMobileRe.test(a.substr(0, 4)));
}
tablet() {
return this.mobile() && !this.phone();
}
};
export default new Detector;

11
node_modules/aos/src/js/helpers/elements.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
/**
* Generate initial array with elements as objects
* This array will be extended later with elements attributes values
* like 'position'
*/
const createArrayWithElements = function (elements) {
elements = elements || document.querySelectorAll('[data-aos]');
return Array.prototype.map.call(elements, node => ({ node }));
};
export default createArrayWithElements;

39
node_modules/aos/src/js/helpers/handleScroll.js generated vendored Normal file
View File

@@ -0,0 +1,39 @@
/**
* Set or remove aos-animate class
* @param {node} el element
* @param {int} top scrolled distance
* @param {void} once
*/
const setState = function (el, top, once) {
const attrOnce = el.node.getAttribute('data-aos-once');
if (top > el.position) {
el.node.classList.add('aos-animate');
} else if (typeof attrOnce !== 'undefined') {
if (attrOnce === 'false' || (!once && attrOnce !== 'true')) {
el.node.classList.remove('aos-animate');
}
}
};
/**
* Scroll logic - add or remove 'aos-animate' class on scroll
*
* @param {array} $elements array of elements nodes
* @param {bool} once plugin option
* @return {void}
*/
const handleScroll = function ($elements, once) {
const scrollTop = window.pageYOffset;
const windowHeight = window.innerHeight;
/**
* Check all registered elements positions
* and animate them on scroll
*/
$elements.forEach((el, i) => {
setState(el, windowHeight + scrollTop, once);
});
};
export default handleScroll;

13
node_modules/aos/src/js/helpers/prepare.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
/* Clearing variables */
import calculateOffset from './calculateOffset';
const prepare = function ($elements, options) {
$elements.forEach((el, i) => {
el.node.classList.add('aos-init');
el.position = calculateOffset(el.node, options.offset);
});
return $elements;
};
export default prepare;

61
node_modules/aos/src/js/libs/observer.js generated vendored Normal file
View File

@@ -0,0 +1,61 @@
let callback = () => {};
function containsAOSNode(nodes) {
let i, currentNode, result;
for (i = 0; i < nodes.length; i += 1) {
currentNode = nodes[i];
if (currentNode.dataset && currentNode.dataset.aos) {
return true;
}
result = currentNode.children && containsAOSNode(currentNode.children);
if (result) {
return true;
}
}
return false;
}
function getMutationObserver() {
return window.MutationObserver ||
window.WebKitMutationObserver ||
window.MozMutationObserver;
}
function isSupported() {
return !!getMutationObserver();
}
function ready(selector, fn) {
const doc = window.document;
const MutationObserver = getMutationObserver();
const observer = new MutationObserver(check);
callback = fn;
observer.observe(doc.documentElement, {
childList: true,
subtree: true,
removedNodes: true
});
}
function check(mutations) {
if (!mutations) return;
mutations.forEach(mutation => {
const addedNodes = Array.prototype.slice.call(mutation.addedNodes);
const removedNodes = Array.prototype.slice.call(mutation.removedNodes);
const allNodes = addedNodes.concat(removedNodes);
if (containsAOSNode(allNodes)) {
return callback();
}
});
}
export default { isSupported, ready };

24
node_modules/aos/src/js/libs/offset.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
/**
* Get offset of DOM element Helper
* including these with translation
*
* @param {Node} el [DOM element]
* @return {Object} [top and left offset]
*/
const offset = function (el) {
let _x = 0;
let _y = 0;
while (el && !isNaN(el.offsetLeft) && !isNaN(el.offsetTop)) {
_x += el.offsetLeft - (el.tagName != 'BODY' ? el.scrollLeft : 0);
_y += el.offsetTop - (el.tagName != 'BODY' ? el.scrollTop : 0);
el = el.offsetParent;
}
return {
top: _y,
left: _x
};
};
export default offset;

177
node_modules/aos/src/sass/_animations.scss generated vendored Normal file
View File

@@ -0,0 +1,177 @@
// Animations variables
$aos-distance: 100px !default;
/**
* Fade animations:
* fade
* fade-up, fade-down, fade-left, fade-right
* fade-up-right, fade-up-left, fade-down-right, fade-down-left
*/
[data-aos^='fade'][data-aos^='fade'] {
opacity: 0;
transition-property: opacity, transform;
&.aos-animate {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
[data-aos='fade-up'] {
transform: translate3d(0, $aos-distance, 0);
}
[data-aos='fade-down'] {
transform: translate3d(0, -$aos-distance, 0);
}
[data-aos='fade-right'] {
transform: translate3d(-$aos-distance, 0, 0);
}
[data-aos='fade-left'] {
transform: translate3d($aos-distance, 0, 0);
}
[data-aos='fade-up-right'] {
transform: translate3d(-$aos-distance, $aos-distance, 0);
}
[data-aos='fade-up-left'] {
transform: translate3d($aos-distance, $aos-distance, 0);
}
[data-aos='fade-down-right'] {
transform: translate3d(-$aos-distance, -$aos-distance, 0);
}
[data-aos='fade-down-left'] {
transform: translate3d($aos-distance, -$aos-distance, 0);
}
/**
* Zoom animations:
* zoom-in, zoom-in-up, zoom-in-down, zoom-in-left, zoom-in-right
* zoom-out, zoom-out-up, zoom-out-down, zoom-out-left, zoom-out-right
*/
[data-aos^='zoom'][data-aos^='zoom'] {
opacity: 0;
transition-property: opacity, transform;
&.aos-animate {
opacity: 1;
transform: translate3d(0, 0, 0) scale(1);
}
}
[data-aos='zoom-in'] {
transform: scale(.6);
}
[data-aos='zoom-in-up'] {
transform: translate3d(0, $aos-distance, 0) scale(.6);
}
[data-aos='zoom-in-down'] {
transform: translate3d(0, -$aos-distance, 0) scale(.6);
}
[data-aos='zoom-in-right'] {
transform: translate3d(-$aos-distance, 0, 0) scale(.6);
}
[data-aos='zoom-in-left'] {
transform: translate3d($aos-distance, 0, 0) scale(.6);
}
[data-aos='zoom-out'] {
transform: scale(1.2);
}
[data-aos='zoom-out-up'] {
transform: translate3d(0, $aos-distance, 0) scale(1.2);
}
[data-aos='zoom-out-down'] {
transform: translate3d(0, -$aos-distance, 0) scale(1.2);
}
[data-aos='zoom-out-right'] {
transform: translate3d(-$aos-distance, 0, 0) scale(1.2);
}
[data-aos='zoom-out-left'] {
transform: translate3d($aos-distance, 0, 0) scale(1.2);
}
/**
* Slide animations
*/
[data-aos^='slide'][data-aos^='slide'] {
transition-property: transform;
&.aos-animate {
transform: translate3d(0, 0, 0);
}
}
[data-aos='slide-up'] {
transform: translate3d(0, 100%, 0);
}
[data-aos='slide-down'] {
transform: translate3d(0, -100%, 0);
}
[data-aos='slide-right'] {
transform: translate3d(-100%, 0, 0);
}
[data-aos='slide-left'] {
transform: translate3d(100%, 0, 0);
}
/**
* Flip animations:
* flip-left, flip-right, flip-up, flip-down
*/
[data-aos^='flip'][data-aos^='flip'] {
backface-visibility: hidden;
transition-property: transform;
}
[data-aos='flip-left'] {
transform: perspective(2500px) rotateY(-100deg);
&.aos-animate {transform: perspective(2500px) rotateY(0);}
}
[data-aos='flip-right'] {
transform: perspective(2500px) rotateY(100deg);
&.aos-animate {transform: perspective(2500px) rotateY(0);}
}
[data-aos='flip-up'] {
transform: perspective(2500px) rotateX(-100deg);
&.aos-animate {transform: perspective(2500px) rotateX(0);}
}
[data-aos='flip-down'] {
transform: perspective(2500px) rotateX(100deg);
&.aos-animate {transform: perspective(2500px) rotateX(0);}
}

18
node_modules/aos/src/sass/_core.scss generated vendored Normal file
View File

@@ -0,0 +1,18 @@
// Generate Duration && Delay
[data-aos] {
@for $i from 1 through 60 {
body[data-aos-duration='#{$i * 50}'] &,
&[data-aos][data-aos-duration='#{$i * 50}'] {
transition-duration: #{$i * 50}ms;
}
body[data-aos-delay='#{$i * 50}'] &,
&[data-aos][data-aos-delay='#{$i * 50}'] {
transition-delay: 0;
&.aos-animate {
transition-delay: #{$i * 50}ms;
}
}
}
}

40
node_modules/aos/src/sass/_easing.scss generated vendored Normal file
View File

@@ -0,0 +1,40 @@
$aos-easing: (
linear: cubic-bezier(.250, .250, .750, .750),
ease: cubic-bezier(.250, .100, .250, 1),
ease-in: cubic-bezier(.420, 0, 1, 1),
ease-out: cubic-bezier(.000, 0, .580, 1),
ease-in-out: cubic-bezier(.420, 0, .580, 1),
ease-in-back: cubic-bezier(.6, -.28, .735, .045),
ease-out-back: cubic-bezier(.175, .885, .32, 1.275),
ease-in-out-back: cubic-bezier(.68, -.55, .265, 1.55),
ease-in-sine: cubic-bezier(.47, 0, .745, .715),
ease-out-sine: cubic-bezier(.39, .575, .565, 1),
ease-in-out-sine: cubic-bezier(.445, .05, .55, .95),
ease-in-quad: cubic-bezier(.55, .085, .68, .53),
ease-out-quad: cubic-bezier(.25, .46, .45, .94),
ease-in-out-quad: cubic-bezier(.455, .03, .515, .955),
ease-in-cubic: cubic-bezier(.55, .085, .68, .53),
ease-out-cubic: cubic-bezier(.25, .46, .45, .94),
ease-in-out-cubic: cubic-bezier(.455, .03, .515, .955),
ease-in-quart: cubic-bezier(.55, .085, .68, .53),
ease-out-quart: cubic-bezier(.25, .46, .45, .94),
ease-in-out-quart: cubic-bezier(.455, .03, .515, .955)
);
// Easings implementations
// Default timing function: 'ease'
[data-aos] {
@each $key, $val in $aos-easing {
body[data-aos-easing="#{$key}"] &,
&[data-aos][data-aos-easing="#{$key}"] {
transition-timing-function: $val;
}
}
}

3
node_modules/aos/src/sass/aos.scss generated vendored Normal file
View File

@@ -0,0 +1,3 @@
@import 'core';
@import 'easing';
@import 'animations';