diff --git a/components/AOSAnimation.js b/components/AOSAnimation.js index 076ab37901c..7d246def604 100644 --- a/components/AOSAnimation.js +++ b/components/AOSAnimation.js @@ -10,14 +10,8 @@ import { useEffect } from 'react' export default function AOSAnimation() { const initAOS = async () => { Promise.all([ - loadExternalResource( - 'https://cdn.bootcdn.net/ajax/libs/aos/2.3.4/aos.js', - 'js' - ), - loadExternalResource( - 'https://cdn.bootcdn.net/ajax/libs/aos/2.3.4/aos.css', - 'css' - ) + loadExternalResource('/js/aos.js', 'js'), + loadExternalResource('/css/aos.css', 'css') ]).then(() => { if (window.AOS) { window.AOS.init() diff --git a/public/css/aos.css b/public/css/aos.css new file mode 100644 index 00000000000..86710a57328 --- /dev/null +++ b/public/css/aos.css @@ -0,0 +1,916 @@ +[data-aos][data-aos][data-aos-duration='50'], +body[data-aos-duration='50'] [data-aos] { + transition-duration: 50ms; +} +[data-aos][data-aos][data-aos-delay='50'], +body[data-aos-delay='50'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='50'].aos-animate, +body[data-aos-delay='50'] [data-aos].aos-animate { + transition-delay: 50ms; +} +[data-aos][data-aos][data-aos-duration='100'], +body[data-aos-duration='100'] [data-aos] { + transition-duration: 0.1s; +} +[data-aos][data-aos][data-aos-delay='100'], +body[data-aos-delay='100'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='100'].aos-animate, +body[data-aos-delay='100'] [data-aos].aos-animate { + transition-delay: 0.1s; +} +[data-aos][data-aos][data-aos-duration='150'], +body[data-aos-duration='150'] [data-aos] { + transition-duration: 0.15s; +} +[data-aos][data-aos][data-aos-delay='150'], +body[data-aos-delay='150'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='150'].aos-animate, +body[data-aos-delay='150'] [data-aos].aos-animate { + transition-delay: 0.15s; +} +[data-aos][data-aos][data-aos-duration='200'], +body[data-aos-duration='200'] [data-aos] { + transition-duration: 0.2s; +} +[data-aos][data-aos][data-aos-delay='200'], +body[data-aos-delay='200'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='200'].aos-animate, +body[data-aos-delay='200'] [data-aos].aos-animate { + transition-delay: 0.2s; +} +[data-aos][data-aos][data-aos-duration='250'], +body[data-aos-duration='250'] [data-aos] { + transition-duration: 0.25s; +} +[data-aos][data-aos][data-aos-delay='250'], +body[data-aos-delay='250'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='250'].aos-animate, +body[data-aos-delay='250'] [data-aos].aos-animate { + transition-delay: 0.25s; +} +[data-aos][data-aos][data-aos-duration='300'], +body[data-aos-duration='300'] [data-aos] { + transition-duration: 0.3s; +} +[data-aos][data-aos][data-aos-delay='300'], +body[data-aos-delay='300'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='300'].aos-animate, +body[data-aos-delay='300'] [data-aos].aos-animate { + transition-delay: 0.3s; +} +[data-aos][data-aos][data-aos-duration='350'], +body[data-aos-duration='350'] [data-aos] { + transition-duration: 0.35s; +} +[data-aos][data-aos][data-aos-delay='350'], +body[data-aos-delay='350'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='350'].aos-animate, +body[data-aos-delay='350'] [data-aos].aos-animate { + transition-delay: 0.35s; +} +[data-aos][data-aos][data-aos-duration='400'], +body[data-aos-duration='400'] [data-aos] { + transition-duration: 0.4s; +} +[data-aos][data-aos][data-aos-delay='400'], +body[data-aos-delay='400'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='400'].aos-animate, +body[data-aos-delay='400'] [data-aos].aos-animate { + transition-delay: 0.4s; +} +[data-aos][data-aos][data-aos-duration='450'], +body[data-aos-duration='450'] [data-aos] { + transition-duration: 0.45s; +} +[data-aos][data-aos][data-aos-delay='450'], +body[data-aos-delay='450'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='450'].aos-animate, +body[data-aos-delay='450'] [data-aos].aos-animate { + transition-delay: 0.45s; +} +[data-aos][data-aos][data-aos-duration='500'], +body[data-aos-duration='500'] [data-aos] { + transition-duration: 0.5s; +} +[data-aos][data-aos][data-aos-delay='500'], +body[data-aos-delay='500'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='500'].aos-animate, +body[data-aos-delay='500'] [data-aos].aos-animate { + transition-delay: 0.5s; +} +[data-aos][data-aos][data-aos-duration='550'], +body[data-aos-duration='550'] [data-aos] { + transition-duration: 0.55s; +} +[data-aos][data-aos][data-aos-delay='550'], +body[data-aos-delay='550'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='550'].aos-animate, +body[data-aos-delay='550'] [data-aos].aos-animate { + transition-delay: 0.55s; +} +[data-aos][data-aos][data-aos-duration='600'], +body[data-aos-duration='600'] [data-aos] { + transition-duration: 0.6s; +} +[data-aos][data-aos][data-aos-delay='600'], +body[data-aos-delay='600'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='600'].aos-animate, +body[data-aos-delay='600'] [data-aos].aos-animate { + transition-delay: 0.6s; +} +[data-aos][data-aos][data-aos-duration='650'], +body[data-aos-duration='650'] [data-aos] { + transition-duration: 0.65s; +} +[data-aos][data-aos][data-aos-delay='650'], +body[data-aos-delay='650'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='650'].aos-animate, +body[data-aos-delay='650'] [data-aos].aos-animate { + transition-delay: 0.65s; +} +[data-aos][data-aos][data-aos-duration='700'], +body[data-aos-duration='700'] [data-aos] { + transition-duration: 0.7s; +} +[data-aos][data-aos][data-aos-delay='700'], +body[data-aos-delay='700'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='700'].aos-animate, +body[data-aos-delay='700'] [data-aos].aos-animate { + transition-delay: 0.7s; +} +[data-aos][data-aos][data-aos-duration='750'], +body[data-aos-duration='750'] [data-aos] { + transition-duration: 0.75s; +} +[data-aos][data-aos][data-aos-delay='750'], +body[data-aos-delay='750'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='750'].aos-animate, +body[data-aos-delay='750'] [data-aos].aos-animate { + transition-delay: 0.75s; +} +[data-aos][data-aos][data-aos-duration='800'], +body[data-aos-duration='800'] [data-aos] { + transition-duration: 0.8s; +} +[data-aos][data-aos][data-aos-delay='800'], +body[data-aos-delay='800'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='800'].aos-animate, +body[data-aos-delay='800'] [data-aos].aos-animate { + transition-delay: 0.8s; +} +[data-aos][data-aos][data-aos-duration='850'], +body[data-aos-duration='850'] [data-aos] { + transition-duration: 0.85s; +} +[data-aos][data-aos][data-aos-delay='850'], +body[data-aos-delay='850'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='850'].aos-animate, +body[data-aos-delay='850'] [data-aos].aos-animate { + transition-delay: 0.85s; +} +[data-aos][data-aos][data-aos-duration='900'], +body[data-aos-duration='900'] [data-aos] { + transition-duration: 0.9s; +} +[data-aos][data-aos][data-aos-delay='900'], +body[data-aos-delay='900'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='900'].aos-animate, +body[data-aos-delay='900'] [data-aos].aos-animate { + transition-delay: 0.9s; +} +[data-aos][data-aos][data-aos-duration='950'], +body[data-aos-duration='950'] [data-aos] { + transition-duration: 0.95s; +} +[data-aos][data-aos][data-aos-delay='950'], +body[data-aos-delay='950'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='950'].aos-animate, +body[data-aos-delay='950'] [data-aos].aos-animate { + transition-delay: 0.95s; +} +[data-aos][data-aos][data-aos-duration='1000'], +body[data-aos-duration='1000'] [data-aos] { + transition-duration: 1s; +} +[data-aos][data-aos][data-aos-delay='1000'], +body[data-aos-delay='1000'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1000'].aos-animate, +body[data-aos-delay='1000'] [data-aos].aos-animate { + transition-delay: 1s; +} +[data-aos][data-aos][data-aos-duration='1050'], +body[data-aos-duration='1050'] [data-aos] { + transition-duration: 1.05s; +} +[data-aos][data-aos][data-aos-delay='1050'], +body[data-aos-delay='1050'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1050'].aos-animate, +body[data-aos-delay='1050'] [data-aos].aos-animate { + transition-delay: 1.05s; +} +[data-aos][data-aos][data-aos-duration='1100'], +body[data-aos-duration='1100'] [data-aos] { + transition-duration: 1.1s; +} +[data-aos][data-aos][data-aos-delay='1100'], +body[data-aos-delay='1100'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1100'].aos-animate, +body[data-aos-delay='1100'] [data-aos].aos-animate { + transition-delay: 1.1s; +} +[data-aos][data-aos][data-aos-duration='1150'], +body[data-aos-duration='1150'] [data-aos] { + transition-duration: 1.15s; +} +[data-aos][data-aos][data-aos-delay='1150'], +body[data-aos-delay='1150'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1150'].aos-animate, +body[data-aos-delay='1150'] [data-aos].aos-animate { + transition-delay: 1.15s; +} +[data-aos][data-aos][data-aos-duration='1200'], +body[data-aos-duration='1200'] [data-aos] { + transition-duration: 1.2s; +} +[data-aos][data-aos][data-aos-delay='1200'], +body[data-aos-delay='1200'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1200'].aos-animate, +body[data-aos-delay='1200'] [data-aos].aos-animate { + transition-delay: 1.2s; +} +[data-aos][data-aos][data-aos-duration='1250'], +body[data-aos-duration='1250'] [data-aos] { + transition-duration: 1.25s; +} +[data-aos][data-aos][data-aos-delay='1250'], +body[data-aos-delay='1250'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1250'].aos-animate, +body[data-aos-delay='1250'] [data-aos].aos-animate { + transition-delay: 1.25s; +} +[data-aos][data-aos][data-aos-duration='1300'], +body[data-aos-duration='1300'] [data-aos] { + transition-duration: 1.3s; +} +[data-aos][data-aos][data-aos-delay='1300'], +body[data-aos-delay='1300'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1300'].aos-animate, +body[data-aos-delay='1300'] [data-aos].aos-animate { + transition-delay: 1.3s; +} +[data-aos][data-aos][data-aos-duration='1350'], +body[data-aos-duration='1350'] [data-aos] { + transition-duration: 1.35s; +} +[data-aos][data-aos][data-aos-delay='1350'], +body[data-aos-delay='1350'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1350'].aos-animate, +body[data-aos-delay='1350'] [data-aos].aos-animate { + transition-delay: 1.35s; +} +[data-aos][data-aos][data-aos-duration='1400'], +body[data-aos-duration='1400'] [data-aos] { + transition-duration: 1.4s; +} +[data-aos][data-aos][data-aos-delay='1400'], +body[data-aos-delay='1400'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1400'].aos-animate, +body[data-aos-delay='1400'] [data-aos].aos-animate { + transition-delay: 1.4s; +} +[data-aos][data-aos][data-aos-duration='1450'], +body[data-aos-duration='1450'] [data-aos] { + transition-duration: 1.45s; +} +[data-aos][data-aos][data-aos-delay='1450'], +body[data-aos-delay='1450'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1450'].aos-animate, +body[data-aos-delay='1450'] [data-aos].aos-animate { + transition-delay: 1.45s; +} +[data-aos][data-aos][data-aos-duration='1500'], +body[data-aos-duration='1500'] [data-aos] { + transition-duration: 1.5s; +} +[data-aos][data-aos][data-aos-delay='1500'], +body[data-aos-delay='1500'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1500'].aos-animate, +body[data-aos-delay='1500'] [data-aos].aos-animate { + transition-delay: 1.5s; +} +[data-aos][data-aos][data-aos-duration='1550'], +body[data-aos-duration='1550'] [data-aos] { + transition-duration: 1.55s; +} +[data-aos][data-aos][data-aos-delay='1550'], +body[data-aos-delay='1550'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1550'].aos-animate, +body[data-aos-delay='1550'] [data-aos].aos-animate { + transition-delay: 1.55s; +} +[data-aos][data-aos][data-aos-duration='1600'], +body[data-aos-duration='1600'] [data-aos] { + transition-duration: 1.6s; +} +[data-aos][data-aos][data-aos-delay='1600'], +body[data-aos-delay='1600'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1600'].aos-animate, +body[data-aos-delay='1600'] [data-aos].aos-animate { + transition-delay: 1.6s; +} +[data-aos][data-aos][data-aos-duration='1650'], +body[data-aos-duration='1650'] [data-aos] { + transition-duration: 1.65s; +} +[data-aos][data-aos][data-aos-delay='1650'], +body[data-aos-delay='1650'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1650'].aos-animate, +body[data-aos-delay='1650'] [data-aos].aos-animate { + transition-delay: 1.65s; +} +[data-aos][data-aos][data-aos-duration='1700'], +body[data-aos-duration='1700'] [data-aos] { + transition-duration: 1.7s; +} +[data-aos][data-aos][data-aos-delay='1700'], +body[data-aos-delay='1700'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1700'].aos-animate, +body[data-aos-delay='1700'] [data-aos].aos-animate { + transition-delay: 1.7s; +} +[data-aos][data-aos][data-aos-duration='1750'], +body[data-aos-duration='1750'] [data-aos] { + transition-duration: 1.75s; +} +[data-aos][data-aos][data-aos-delay='1750'], +body[data-aos-delay='1750'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1750'].aos-animate, +body[data-aos-delay='1750'] [data-aos].aos-animate { + transition-delay: 1.75s; +} +[data-aos][data-aos][data-aos-duration='1800'], +body[data-aos-duration='1800'] [data-aos] { + transition-duration: 1.8s; +} +[data-aos][data-aos][data-aos-delay='1800'], +body[data-aos-delay='1800'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1800'].aos-animate, +body[data-aos-delay='1800'] [data-aos].aos-animate { + transition-delay: 1.8s; +} +[data-aos][data-aos][data-aos-duration='1850'], +body[data-aos-duration='1850'] [data-aos] { + transition-duration: 1.85s; +} +[data-aos][data-aos][data-aos-delay='1850'], +body[data-aos-delay='1850'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1850'].aos-animate, +body[data-aos-delay='1850'] [data-aos].aos-animate { + transition-delay: 1.85s; +} +[data-aos][data-aos][data-aos-duration='1900'], +body[data-aos-duration='1900'] [data-aos] { + transition-duration: 1.9s; +} +[data-aos][data-aos][data-aos-delay='1900'], +body[data-aos-delay='1900'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1900'].aos-animate, +body[data-aos-delay='1900'] [data-aos].aos-animate { + transition-delay: 1.9s; +} +[data-aos][data-aos][data-aos-duration='1950'], +body[data-aos-duration='1950'] [data-aos] { + transition-duration: 1.95s; +} +[data-aos][data-aos][data-aos-delay='1950'], +body[data-aos-delay='1950'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='1950'].aos-animate, +body[data-aos-delay='1950'] [data-aos].aos-animate { + transition-delay: 1.95s; +} +[data-aos][data-aos][data-aos-duration='2000'], +body[data-aos-duration='2000'] [data-aos] { + transition-duration: 2s; +} +[data-aos][data-aos][data-aos-delay='2000'], +body[data-aos-delay='2000'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2000'].aos-animate, +body[data-aos-delay='2000'] [data-aos].aos-animate { + transition-delay: 2s; +} +[data-aos][data-aos][data-aos-duration='2050'], +body[data-aos-duration='2050'] [data-aos] { + transition-duration: 2.05s; +} +[data-aos][data-aos][data-aos-delay='2050'], +body[data-aos-delay='2050'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2050'].aos-animate, +body[data-aos-delay='2050'] [data-aos].aos-animate { + transition-delay: 2.05s; +} +[data-aos][data-aos][data-aos-duration='2100'], +body[data-aos-duration='2100'] [data-aos] { + transition-duration: 2.1s; +} +[data-aos][data-aos][data-aos-delay='2100'], +body[data-aos-delay='2100'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2100'].aos-animate, +body[data-aos-delay='2100'] [data-aos].aos-animate { + transition-delay: 2.1s; +} +[data-aos][data-aos][data-aos-duration='2150'], +body[data-aos-duration='2150'] [data-aos] { + transition-duration: 2.15s; +} +[data-aos][data-aos][data-aos-delay='2150'], +body[data-aos-delay='2150'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2150'].aos-animate, +body[data-aos-delay='2150'] [data-aos].aos-animate { + transition-delay: 2.15s; +} +[data-aos][data-aos][data-aos-duration='2200'], +body[data-aos-duration='2200'] [data-aos] { + transition-duration: 2.2s; +} +[data-aos][data-aos][data-aos-delay='2200'], +body[data-aos-delay='2200'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2200'].aos-animate, +body[data-aos-delay='2200'] [data-aos].aos-animate { + transition-delay: 2.2s; +} +[data-aos][data-aos][data-aos-duration='2250'], +body[data-aos-duration='2250'] [data-aos] { + transition-duration: 2.25s; +} +[data-aos][data-aos][data-aos-delay='2250'], +body[data-aos-delay='2250'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2250'].aos-animate, +body[data-aos-delay='2250'] [data-aos].aos-animate { + transition-delay: 2.25s; +} +[data-aos][data-aos][data-aos-duration='2300'], +body[data-aos-duration='2300'] [data-aos] { + transition-duration: 2.3s; +} +[data-aos][data-aos][data-aos-delay='2300'], +body[data-aos-delay='2300'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2300'].aos-animate, +body[data-aos-delay='2300'] [data-aos].aos-animate { + transition-delay: 2.3s; +} +[data-aos][data-aos][data-aos-duration='2350'], +body[data-aos-duration='2350'] [data-aos] { + transition-duration: 2.35s; +} +[data-aos][data-aos][data-aos-delay='2350'], +body[data-aos-delay='2350'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2350'].aos-animate, +body[data-aos-delay='2350'] [data-aos].aos-animate { + transition-delay: 2.35s; +} +[data-aos][data-aos][data-aos-duration='2400'], +body[data-aos-duration='2400'] [data-aos] { + transition-duration: 2.4s; +} +[data-aos][data-aos][data-aos-delay='2400'], +body[data-aos-delay='2400'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2400'].aos-animate, +body[data-aos-delay='2400'] [data-aos].aos-animate { + transition-delay: 2.4s; +} +[data-aos][data-aos][data-aos-duration='2450'], +body[data-aos-duration='2450'] [data-aos] { + transition-duration: 2.45s; +} +[data-aos][data-aos][data-aos-delay='2450'], +body[data-aos-delay='2450'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2450'].aos-animate, +body[data-aos-delay='2450'] [data-aos].aos-animate { + transition-delay: 2.45s; +} +[data-aos][data-aos][data-aos-duration='2500'], +body[data-aos-duration='2500'] [data-aos] { + transition-duration: 2.5s; +} +[data-aos][data-aos][data-aos-delay='2500'], +body[data-aos-delay='2500'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2500'].aos-animate, +body[data-aos-delay='2500'] [data-aos].aos-animate { + transition-delay: 2.5s; +} +[data-aos][data-aos][data-aos-duration='2550'], +body[data-aos-duration='2550'] [data-aos] { + transition-duration: 2.55s; +} +[data-aos][data-aos][data-aos-delay='2550'], +body[data-aos-delay='2550'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2550'].aos-animate, +body[data-aos-delay='2550'] [data-aos].aos-animate { + transition-delay: 2.55s; +} +[data-aos][data-aos][data-aos-duration='2600'], +body[data-aos-duration='2600'] [data-aos] { + transition-duration: 2.6s; +} +[data-aos][data-aos][data-aos-delay='2600'], +body[data-aos-delay='2600'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2600'].aos-animate, +body[data-aos-delay='2600'] [data-aos].aos-animate { + transition-delay: 2.6s; +} +[data-aos][data-aos][data-aos-duration='2650'], +body[data-aos-duration='2650'] [data-aos] { + transition-duration: 2.65s; +} +[data-aos][data-aos][data-aos-delay='2650'], +body[data-aos-delay='2650'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2650'].aos-animate, +body[data-aos-delay='2650'] [data-aos].aos-animate { + transition-delay: 2.65s; +} +[data-aos][data-aos][data-aos-duration='2700'], +body[data-aos-duration='2700'] [data-aos] { + transition-duration: 2.7s; +} +[data-aos][data-aos][data-aos-delay='2700'], +body[data-aos-delay='2700'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2700'].aos-animate, +body[data-aos-delay='2700'] [data-aos].aos-animate { + transition-delay: 2.7s; +} +[data-aos][data-aos][data-aos-duration='2750'], +body[data-aos-duration='2750'] [data-aos] { + transition-duration: 2.75s; +} +[data-aos][data-aos][data-aos-delay='2750'], +body[data-aos-delay='2750'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2750'].aos-animate, +body[data-aos-delay='2750'] [data-aos].aos-animate { + transition-delay: 2.75s; +} +[data-aos][data-aos][data-aos-duration='2800'], +body[data-aos-duration='2800'] [data-aos] { + transition-duration: 2.8s; +} +[data-aos][data-aos][data-aos-delay='2800'], +body[data-aos-delay='2800'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2800'].aos-animate, +body[data-aos-delay='2800'] [data-aos].aos-animate { + transition-delay: 2.8s; +} +[data-aos][data-aos][data-aos-duration='2850'], +body[data-aos-duration='2850'] [data-aos] { + transition-duration: 2.85s; +} +[data-aos][data-aos][data-aos-delay='2850'], +body[data-aos-delay='2850'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2850'].aos-animate, +body[data-aos-delay='2850'] [data-aos].aos-animate { + transition-delay: 2.85s; +} +[data-aos][data-aos][data-aos-duration='2900'], +body[data-aos-duration='2900'] [data-aos] { + transition-duration: 2.9s; +} +[data-aos][data-aos][data-aos-delay='2900'], +body[data-aos-delay='2900'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2900'].aos-animate, +body[data-aos-delay='2900'] [data-aos].aos-animate { + transition-delay: 2.9s; +} +[data-aos][data-aos][data-aos-duration='2950'], +body[data-aos-duration='2950'] [data-aos] { + transition-duration: 2.95s; +} +[data-aos][data-aos][data-aos-delay='2950'], +body[data-aos-delay='2950'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='2950'].aos-animate, +body[data-aos-delay='2950'] [data-aos].aos-animate { + transition-delay: 2.95s; +} +[data-aos][data-aos][data-aos-duration='3000'], +body[data-aos-duration='3000'] [data-aos] { + transition-duration: 3s; +} +[data-aos][data-aos][data-aos-delay='3000'], +body[data-aos-delay='3000'] [data-aos] { + transition-delay: 0; +} +[data-aos][data-aos][data-aos-delay='3000'].aos-animate, +body[data-aos-delay='3000'] [data-aos].aos-animate { + transition-delay: 3s; +} +[data-aos][data-aos][data-aos-easing='linear'], +body[data-aos-easing='linear'] [data-aos] { + transition-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75); +} +[data-aos][data-aos][data-aos-easing='ease'], +body[data-aos-easing='ease'] [data-aos] { + transition-timing-function: ease; +} +[data-aos][data-aos][data-aos-easing='ease-in'], +body[data-aos-easing='ease-in'] [data-aos] { + transition-timing-function: ease-in; +} +[data-aos][data-aos][data-aos-easing='ease-out'], +body[data-aos-easing='ease-out'] [data-aos] { + transition-timing-function: ease-out; +} +[data-aos][data-aos][data-aos-easing='ease-in-out'], +body[data-aos-easing='ease-in-out'] [data-aos] { + transition-timing-function: ease-in-out; +} +[data-aos][data-aos][data-aos-easing='ease-in-back'], +body[data-aos-easing='ease-in-back'] [data-aos] { + transition-timing-function: cubic-bezier(0.6, -0.28, 0.735, 0.045); +} +[data-aos][data-aos][data-aos-easing='ease-out-back'], +body[data-aos-easing='ease-out-back'] [data-aos] { + transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275); +} +[data-aos][data-aos][data-aos-easing='ease-in-out-back'], +body[data-aos-easing='ease-in-out-back'] [data-aos] { + transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); +} +[data-aos][data-aos][data-aos-easing='ease-in-sine'], +body[data-aos-easing='ease-in-sine'] [data-aos] { + transition-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715); +} +[data-aos][data-aos][data-aos-easing='ease-out-sine'], +body[data-aos-easing='ease-out-sine'] [data-aos] { + transition-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1); +} +[data-aos][data-aos][data-aos-easing='ease-in-out-sine'], +body[data-aos-easing='ease-in-out-sine'] [data-aos] { + transition-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95); +} +[data-aos][data-aos][data-aos-easing='ease-in-quad'], +body[data-aos-easing='ease-in-quad'] [data-aos] { + transition-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53); +} +[data-aos][data-aos][data-aos-easing='ease-out-quad'], +body[data-aos-easing='ease-out-quad'] [data-aos] { + transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); +} +[data-aos][data-aos][data-aos-easing='ease-in-out-quad'], +body[data-aos-easing='ease-in-out-quad'] [data-aos] { + transition-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955); +} +[data-aos][data-aos][data-aos-easing='ease-in-cubic'], +body[data-aos-easing='ease-in-cubic'] [data-aos] { + transition-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53); +} +[data-aos][data-aos][data-aos-easing='ease-out-cubic'], +body[data-aos-easing='ease-out-cubic'] [data-aos] { + transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); +} +[data-aos][data-aos][data-aos-easing='ease-in-out-cubic'], +body[data-aos-easing='ease-in-out-cubic'] [data-aos] { + transition-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955); +} +[data-aos][data-aos][data-aos-easing='ease-in-quart'], +body[data-aos-easing='ease-in-quart'] [data-aos] { + transition-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53); +} +[data-aos][data-aos][data-aos-easing='ease-out-quart'], +body[data-aos-easing='ease-out-quart'] [data-aos] { + transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); +} +[data-aos][data-aos][data-aos-easing='ease-in-out-quart'], +body[data-aos-easing='ease-in-out-quart'] [data-aos] { + transition-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955); +} +[data-aos^='fade'][data-aos^='fade'] { + opacity: 0; + transition-property: opacity, transform; +} +[data-aos^='fade'][data-aos^='fade'].aos-animate { + opacity: 1; + transform: translateZ(0); +} +[data-aos='fade-up'] { + transform: translate3d(0, 100px, 0); +} +[data-aos='fade-down'] { + transform: translate3d(0, -100px, 0); +} +[data-aos='fade-right'] { + transform: translate3d(-100px, 0, 0); +} +[data-aos='fade-left'] { + transform: translate3d(100px, 0, 0); +} +[data-aos='fade-up-right'] { + transform: translate3d(-100px, 100px, 0); +} +[data-aos='fade-up-left'] { + transform: translate3d(100px, 100px, 0); +} +[data-aos='fade-down-right'] { + transform: translate3d(-100px, -100px, 0); +} +[data-aos='fade-down-left'] { + transform: translate3d(100px, -100px, 0); +} +[data-aos^='zoom'][data-aos^='zoom'] { + opacity: 0; + transition-property: opacity, transform; +} +[data-aos^='zoom'][data-aos^='zoom'].aos-animate { + opacity: 1; + transform: translateZ(0) scale(1); +} +[data-aos='zoom-in'] { + transform: scale(0.6); +} +[data-aos='zoom-in-up'] { + transform: translate3d(0, 100px, 0) scale(0.6); +} +[data-aos='zoom-in-down'] { + transform: translate3d(0, -100px, 0) scale(0.6); +} +[data-aos='zoom-in-right'] { + transform: translate3d(-100px, 0, 0) scale(0.6); +} +[data-aos='zoom-in-left'] { + transform: translate3d(100px, 0, 0) scale(0.6); +} +[data-aos='zoom-out'] { + transform: scale(1.2); +} +[data-aos='zoom-out-up'] { + transform: translate3d(0, 100px, 0) scale(1.2); +} +[data-aos='zoom-out-down'] { + transform: translate3d(0, -100px, 0) scale(1.2); +} +[data-aos='zoom-out-right'] { + transform: translate3d(-100px, 0, 0) scale(1.2); +} +[data-aos='zoom-out-left'] { + transform: translate3d(100px, 0, 0) scale(1.2); +} +[data-aos^='slide'][data-aos^='slide'] { + transition-property: transform; +} +[data-aos^='slide'][data-aos^='slide'].aos-animate { + transform: translateZ(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); +} +[data-aos^='flip'][data-aos^='flip'] { + backface-visibility: hidden; + transition-property: transform; +} +[data-aos='flip-left'] { + transform: perspective(2500px) rotateY(-100deg); +} +[data-aos='flip-left'].aos-animate { + transform: perspective(2500px) rotateY(0); +} +[data-aos='flip-right'] { + transform: perspective(2500px) rotateY(100deg); +} +[data-aos='flip-right'].aos-animate { + transform: perspective(2500px) rotateY(0); +} +[data-aos='flip-up'] { + transform: perspective(2500px) rotateX(-100deg); +} +[data-aos='flip-up'].aos-animate { + transform: perspective(2500px) rotateX(0); +} +[data-aos='flip-down'] { + transform: perspective(2500px) rotateX(100deg); +} +[data-aos='flip-down'].aos-animate { + transform: perspective(2500px) rotateX(0); +} diff --git a/public/js/aos.js b/public/js/aos.js new file mode 100644 index 00000000000..f77369b76fe --- /dev/null +++ b/public/js/aos.js @@ -0,0 +1,672 @@ +!(function (e, t) { + 'object' == typeof exports && 'object' == typeof module + ? (module.exports = t()) + : 'function' == typeof define && define.amd + ? define([], t) + : 'object' == typeof exports + ? (exports.AOS = t()) + : (e.AOS = t()) +})(this, function () { + return (function (e) { + function t(o) { + if (n[o]) return n[o].exports + var i = (n[o] = { exports: {}, id: o, loaded: !1 }) + return e[o].call(i.exports, i, i.exports, t), (i.loaded = !0), i.exports + } + var n = {} + return (t.m = e), (t.c = n), (t.p = 'dist/'), t(0) + })([ + function (e, t, n) { + 'use strict' + function o(e) { + return e && e.__esModule ? e : { default: e } + } + var i = + Object.assign || + function (e) { + for (var t = 1; t < arguments.length; t++) { + var n = arguments[t] + for (var o in n) + Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]) + } + return e + }, + r = n(1), + a = (o(r), n(6)), + u = o(a), + c = n(7), + s = o(c), + f = n(8), + d = o(f), + l = n(9), + p = o(l), + m = n(10), + b = o(m), + v = n(11), + y = o(v), + g = n(14), + h = o(g), + w = [], + k = !1, + x = { + offset: 120, + delay: 0, + easing: 'ease', + duration: 400, + disable: !1, + once: !1, + startEvent: 'DOMContentLoaded', + throttleDelay: 99, + debounceDelay: 50, + disableMutationObserver: !1 + }, + j = function () { + var e = + arguments.length > 0 && void 0 !== arguments[0] && arguments[0] + if ((e && (k = !0), k)) + return (w = (0, y.default)(w, x)), (0, b.default)(w, x.once), w + }, + O = function () { + ;(w = (0, h.default)()), j() + }, + M = function () { + w.forEach(function (e, t) { + e.node.removeAttribute('data-aos'), + e.node.removeAttribute('data-aos-easing'), + e.node.removeAttribute('data-aos-duration'), + e.node.removeAttribute('data-aos-delay') + }) + }, + S = function (e) { + return ( + e === !0 || + ('mobile' === e && p.default.mobile()) || + ('phone' === e && p.default.phone()) || + ('tablet' === e && p.default.tablet()) || + ('function' == typeof e && e() === !0) + ) + }, + _ = function (e) { + ;(x = i(x, e)), (w = (0, h.default)()) + var t = document.all && !window.atob + return S(x.disable) || t + ? M() + : (x.disableMutationObserver || + d.default.isSupported() || + (console.info( + '\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n ' + ), + (x.disableMutationObserver = !0)), + document + .querySelector('body') + .setAttribute('data-aos-easing', x.easing), + document + .querySelector('body') + .setAttribute('data-aos-duration', x.duration), + document + .querySelector('body') + .setAttribute('data-aos-delay', x.delay), + 'DOMContentLoaded' === x.startEvent && + ['complete', 'interactive'].indexOf(document.readyState) > -1 + ? j(!0) + : 'load' === x.startEvent + ? window.addEventListener(x.startEvent, function () { + j(!0) + }) + : document.addEventListener(x.startEvent, function () { + j(!0) + }), + window.addEventListener( + 'resize', + (0, s.default)(j, x.debounceDelay, !0) + ), + window.addEventListener( + 'orientationchange', + (0, s.default)(j, x.debounceDelay, !0) + ), + window.addEventListener( + 'scroll', + (0, u.default)(function () { + ;(0, b.default)(w, x.once) + }, x.throttleDelay) + ), + x.disableMutationObserver || d.default.ready('[data-aos]', O), + w) + } + e.exports = { init: _, refresh: j, refreshHard: O } + }, + function (e, t) {}, + , + , + , + , + function (e, t) { + ;(function (t) { + 'use strict' + function n(e, t, n) { + function o(t) { + var n = b, + o = v + return (b = v = void 0), (k = t), (g = e.apply(o, n)) + } + function r(e) { + return (k = e), (h = setTimeout(f, t)), M ? o(e) : g + } + function a(e) { + var n = e - w, + o = e - k, + i = t - n + return S ? j(i, y - o) : i + } + function c(e) { + var n = e - w, + o = e - k + return void 0 === w || n >= t || n < 0 || (S && o >= y) + } + function f() { + var e = O() + return c(e) ? d(e) : void (h = setTimeout(f, a(e))) + } + function d(e) { + return (h = void 0), _ && b ? o(e) : ((b = v = void 0), g) + } + function l() { + void 0 !== h && clearTimeout(h), (k = 0), (b = w = v = h = void 0) + } + function p() { + return void 0 === h ? g : d(O()) + } + function m() { + var e = O(), + n = c(e) + if (((b = arguments), (v = this), (w = e), n)) { + if (void 0 === h) return r(w) + if (S) return (h = setTimeout(f, t)), o(w) + } + return void 0 === h && (h = setTimeout(f, t)), g + } + var b, + v, + y, + g, + h, + w, + k = 0, + M = !1, + S = !1, + _ = !0 + if ('function' != typeof e) throw new TypeError(s) + return ( + (t = u(t) || 0), + i(n) && + ((M = !!n.leading), + (S = 'maxWait' in n), + (y = S ? x(u(n.maxWait) || 0, t) : y), + (_ = 'trailing' in n ? !!n.trailing : _)), + (m.cancel = l), + (m.flush = p), + m + ) + } + function o(e, t, o) { + var r = !0, + a = !0 + if ('function' != typeof e) throw new TypeError(s) + return ( + i(o) && + ((r = 'leading' in o ? !!o.leading : r), + (a = 'trailing' in o ? !!o.trailing : a)), + n(e, t, { leading: r, maxWait: t, trailing: a }) + ) + } + function i(e) { + var t = 'undefined' == typeof e ? 'undefined' : c(e) + return !!e && ('object' == t || 'function' == t) + } + function r(e) { + return ( + !!e && 'object' == ('undefined' == typeof e ? 'undefined' : c(e)) + ) + } + function a(e) { + return ( + 'symbol' == ('undefined' == typeof e ? 'undefined' : c(e)) || + (r(e) && k.call(e) == d) + ) + } + function u(e) { + if ('number' == typeof e) return e + if (a(e)) return f + if (i(e)) { + var t = 'function' == typeof e.valueOf ? e.valueOf() : e + e = i(t) ? t + '' : t + } + if ('string' != typeof e) return 0 === e ? e : +e + e = e.replace(l, '') + var n = m.test(e) + return n || b.test(e) ? v(e.slice(2), n ? 2 : 8) : p.test(e) ? f : +e + } + var c = + 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator + ? function (e) { + return typeof e + } + : function (e) { + return e && + 'function' == typeof Symbol && + e.constructor === Symbol && + e !== Symbol.prototype + ? 'symbol' + : typeof e + }, + s = 'Expected a function', + f = NaN, + d = '[object Symbol]', + l = /^\s+|\s+$/g, + p = /^[-+]0x[0-9a-f]+$/i, + m = /^0b[01]+$/i, + b = /^0o[0-7]+$/i, + v = parseInt, + y = + 'object' == ('undefined' == typeof t ? 'undefined' : c(t)) && + t && + t.Object === Object && + t, + g = + 'object' == ('undefined' == typeof self ? 'undefined' : c(self)) && + self && + self.Object === Object && + self, + h = y || g || Function('return this')(), + w = Object.prototype, + k = w.toString, + x = Math.max, + j = Math.min, + O = function () { + return h.Date.now() + } + e.exports = o + }).call( + t, + (function () { + return this + })() + ) + }, + function (e, t) { + ;(function (t) { + 'use strict' + function n(e, t, n) { + function i(t) { + var n = b, + o = v + return (b = v = void 0), (O = t), (g = e.apply(o, n)) + } + function r(e) { + return (O = e), (h = setTimeout(f, t)), M ? i(e) : g + } + function u(e) { + var n = e - w, + o = e - O, + i = t - n + return S ? x(i, y - o) : i + } + function s(e) { + var n = e - w, + o = e - O + return void 0 === w || n >= t || n < 0 || (S && o >= y) + } + function f() { + var e = j() + return s(e) ? d(e) : void (h = setTimeout(f, u(e))) + } + function d(e) { + return (h = void 0), _ && b ? i(e) : ((b = v = void 0), g) + } + function l() { + void 0 !== h && clearTimeout(h), (O = 0), (b = w = v = h = void 0) + } + function p() { + return void 0 === h ? g : d(j()) + } + function m() { + var e = j(), + n = s(e) + if (((b = arguments), (v = this), (w = e), n)) { + if (void 0 === h) return r(w) + if (S) return (h = setTimeout(f, t)), i(w) + } + return void 0 === h && (h = setTimeout(f, t)), g + } + var b, + v, + y, + g, + h, + w, + O = 0, + M = !1, + S = !1, + _ = !0 + if ('function' != typeof e) throw new TypeError(c) + return ( + (t = a(t) || 0), + o(n) && + ((M = !!n.leading), + (S = 'maxWait' in n), + (y = S ? k(a(n.maxWait) || 0, t) : y), + (_ = 'trailing' in n ? !!n.trailing : _)), + (m.cancel = l), + (m.flush = p), + m + ) + } + function o(e) { + var t = 'undefined' == typeof e ? 'undefined' : u(e) + return !!e && ('object' == t || 'function' == t) + } + function i(e) { + return ( + !!e && 'object' == ('undefined' == typeof e ? 'undefined' : u(e)) + ) + } + function r(e) { + return ( + 'symbol' == ('undefined' == typeof e ? 'undefined' : u(e)) || + (i(e) && w.call(e) == f) + ) + } + function a(e) { + if ('number' == typeof e) return e + if (r(e)) return s + if (o(e)) { + var t = 'function' == typeof e.valueOf ? e.valueOf() : e + e = o(t) ? t + '' : t + } + if ('string' != typeof e) return 0 === e ? e : +e + e = e.replace(d, '') + var n = p.test(e) + return n || m.test(e) ? b(e.slice(2), n ? 2 : 8) : l.test(e) ? s : +e + } + var u = + 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator + ? function (e) { + return typeof e + } + : function (e) { + return e && + 'function' == typeof Symbol && + e.constructor === Symbol && + e !== Symbol.prototype + ? 'symbol' + : typeof e + }, + c = 'Expected a function', + s = NaN, + f = '[object Symbol]', + d = /^\s+|\s+$/g, + l = /^[-+]0x[0-9a-f]+$/i, + p = /^0b[01]+$/i, + m = /^0o[0-7]+$/i, + b = parseInt, + v = + 'object' == ('undefined' == typeof t ? 'undefined' : u(t)) && + t && + t.Object === Object && + t, + y = + 'object' == ('undefined' == typeof self ? 'undefined' : u(self)) && + self && + self.Object === Object && + self, + g = v || y || Function('return this')(), + h = Object.prototype, + w = h.toString, + k = Math.max, + x = Math.min, + j = function () { + return g.Date.now() + } + e.exports = n + }).call( + t, + (function () { + return this + })() + ) + }, + function (e, t) { + 'use strict' + function n(e) { + var t = void 0, + o = void 0, + i = void 0 + for (t = 0; t < e.length; t += 1) { + if (((o = e[t]), o.dataset && o.dataset.aos)) return !0 + if ((i = o.children && n(o.children))) return !0 + } + return !1 + } + function o() { + return ( + window.MutationObserver || + window.WebKitMutationObserver || + window.MozMutationObserver + ) + } + function i() { + return !!o() + } + function r(e, t) { + var n = window.document, + i = o(), + r = new i(a) + ;(u = t), + r.observe(n.documentElement, { + childList: !0, + subtree: !0, + removedNodes: !0 + }) + } + function a(e) { + e && + e.forEach(function (e) { + var t = Array.prototype.slice.call(e.addedNodes), + o = Array.prototype.slice.call(e.removedNodes), + i = t.concat(o) + if (n(i)) return u() + }) + } + Object.defineProperty(t, '__esModule', { value: !0 }) + var u = function () {} + t.default = { isSupported: i, ready: r } + }, + function (e, t) { + 'use strict' + function n(e, t) { + if (!(e instanceof t)) + throw new TypeError('Cannot call a class as a function') + } + function o() { + return navigator.userAgent || navigator.vendor || window.opera || '' + } + Object.defineProperty(t, '__esModule', { value: !0 }) + var i = (function () { + function e(e, t) { + for (var n = 0; n < t.length; n++) { + var o = t[n] + ;(o.enumerable = o.enumerable || !1), + (o.configurable = !0), + 'value' in o && (o.writable = !0), + Object.defineProperty(e, o.key, o) + } + } + return function (t, n, o) { + return n && e(t.prototype, n), o && e(t, o), t + } + })(), + r = + /(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, + a = + /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, + u = + /(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, + c = + /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, + s = (function () { + function e() { + n(this, e) + } + return ( + i(e, [ + { + key: 'phone', + value: function () { + var e = o() + return !(!r.test(e) && !a.test(e.substr(0, 4))) + } + }, + { + key: 'mobile', + value: function () { + var e = o() + return !(!u.test(e) && !c.test(e.substr(0, 4))) + } + }, + { + key: 'tablet', + value: function () { + return this.mobile() && !this.phone() + } + } + ]), + e + ) + })() + t.default = new s() + }, + function (e, t) { + 'use strict' + Object.defineProperty(t, '__esModule', { value: !0 }) + var n = function (e, t, n) { + var o = e.node.getAttribute('data-aos-once') + t > e.position + ? e.node.classList.add('aos-animate') + : 'undefined' != typeof o && + ('false' === o || (!n && 'true' !== o)) && + e.node.classList.remove('aos-animate') + }, + o = function (e, t) { + var o = window.pageYOffset, + i = window.innerHeight + e.forEach(function (e, r) { + n(e, i + o, t) + }) + } + t.default = o + }, + function (e, t, n) { + 'use strict' + function o(e) { + return e && e.__esModule ? e : { default: e } + } + Object.defineProperty(t, '__esModule', { value: !0 }) + var i = n(12), + r = o(i), + a = function (e, t) { + return ( + e.forEach(function (e, n) { + e.node.classList.add('aos-init'), + (e.position = (0, r.default)(e.node, t.offset)) + }), + e + ) + } + t.default = a + }, + function (e, t, n) { + 'use strict' + function o(e) { + return e && e.__esModule ? e : { default: e } + } + Object.defineProperty(t, '__esModule', { value: !0 }) + var i = n(13), + r = o(i), + a = function (e, t) { + var n = 0, + o = 0, + i = window.innerHeight, + a = { + offset: e.getAttribute('data-aos-offset'), + anchor: e.getAttribute('data-aos-anchor'), + anchorPlacement: e.getAttribute('data-aos-anchor-placement') + } + switch ( + (a.offset && !isNaN(a.offset) && (o = parseInt(a.offset)), + a.anchor && + document.querySelectorAll(a.anchor) && + (e = document.querySelectorAll(a.anchor)[0]), + (n = (0, r.default)(e).top), + a.anchorPlacement) + ) { + case 'top-bottom': + break + case 'center-bottom': + n += e.offsetHeight / 2 + break + case 'bottom-bottom': + n += e.offsetHeight + break + case 'top-center': + n += i / 2 + break + case 'bottom-center': + n += i / 2 + e.offsetHeight + break + case 'center-center': + n += i / 2 + e.offsetHeight / 2 + break + case 'top-top': + n += i + break + case 'bottom-top': + n += e.offsetHeight + i + break + case 'center-top': + n += e.offsetHeight / 2 + i + } + return a.anchorPlacement || a.offset || isNaN(t) || (o = t), n + o + } + t.default = a + }, + function (e, t) { + 'use strict' + Object.defineProperty(t, '__esModule', { value: !0 }) + var n = function (e) { + for ( + var t = 0, n = 0; + e && !isNaN(e.offsetLeft) && !isNaN(e.offsetTop); + + ) + (t += e.offsetLeft - ('BODY' != e.tagName ? e.scrollLeft : 0)), + (n += e.offsetTop - ('BODY' != e.tagName ? e.scrollTop : 0)), + (e = e.offsetParent) + return { top: n, left: t } + } + t.default = n + }, + function (e, t) { + 'use strict' + Object.defineProperty(t, '__esModule', { value: !0 }) + var n = function (e) { + return ( + (e = e || document.querySelectorAll('[data-aos]')), + Array.prototype.map.call(e, function (e) { + return { node: e } + }) + ) + } + t.default = n + } + ]) +}) diff --git a/public/js/typed.min.js b/public/js/typed.min.js new file mode 100644 index 00000000000..52411da8da7 --- /dev/null +++ b/public/js/typed.min.js @@ -0,0 +1,626 @@ +/*! + * + * typed.js - A JavaScript Typing Animation Library + * Author: Matt Boldt + * Version: v2.0.12 + * Url: https://github.com/mattboldt/typed.js + * License(s): MIT + * + */ +;(function (t, e) { + 'object' == typeof exports && 'object' == typeof module + ? (module.exports = e()) + : 'function' == typeof define && define.amd + ? define([], e) + : 'object' == typeof exports + ? (exports.Typed = e()) + : (t.Typed = e()) +})(this, function () { + return (function (t) { + function e(n) { + if (s[n]) return s[n].exports + var i = (s[n] = { exports: {}, id: n, loaded: !1 }) + return t[n].call(i.exports, i, i.exports, e), (i.loaded = !0), i.exports + } + var s = {} + return (e.m = t), (e.c = s), (e.p = ''), e(0) + })([ + function (t, e, s) { + 'use strict' + function n(t, e) { + if (!(t instanceof e)) + throw new TypeError('Cannot call a class as a function') + } + Object.defineProperty(e, '__esModule', { value: !0 }) + var i = (function () { + function t(t, e) { + for (var s = 0; s < e.length; s++) { + var n = e[s] + ;(n.enumerable = n.enumerable || !1), + (n.configurable = !0), + 'value' in n && (n.writable = !0), + Object.defineProperty(t, n.key, n) + } + } + return function (e, s, n) { + return s && t(e.prototype, s), n && t(e, n), e + } + })(), + r = s(1), + o = s(3), + a = (function () { + function t(e, s) { + n(this, t), r.initializer.load(this, s, e), this.begin() + } + return ( + i(t, [ + { + key: 'toggle', + value: function () { + this.pause.status ? this.start() : this.stop() + } + }, + { + key: 'stop', + value: function () { + this.typingComplete || + this.pause.status || + (this.toggleBlinking(!0), + (this.pause.status = !0), + this.options.onStop(this.arrayPos, this)) + } + }, + { + key: 'start', + value: function () { + this.typingComplete || + (this.pause.status && + ((this.pause.status = !1), + this.pause.typewrite + ? this.typewrite( + this.pause.curString, + this.pause.curStrPos + ) + : this.backspace( + this.pause.curString, + this.pause.curStrPos + ), + this.options.onStart(this.arrayPos, this))) + } + }, + { + key: 'destroy', + value: function () { + this.reset(!1), this.options.onDestroy(this) + } + }, + { + key: 'reset', + value: function () { + var t = + arguments.length <= 0 || + void 0 === arguments[0] || + arguments[0] + clearInterval(this.timeout), + this.replaceText(''), + this.cursor && + this.cursor.parentNode && + (this.cursor.parentNode.removeChild(this.cursor), + (this.cursor = null)), + (this.strPos = 0), + (this.arrayPos = 0), + (this.curLoop = 0), + t && + (this.insertCursor(), + this.options.onReset(this), + this.begin()) + } + }, + { + key: 'begin', + value: function () { + var t = this + this.options.onBegin(this), + (this.typingComplete = !1), + this.shuffleStringsIfNeeded(this), + this.insertCursor(), + this.bindInputFocusEvents && this.bindFocusEvents(), + (this.timeout = setTimeout(function () { + t.currentElContent && 0 !== t.currentElContent.length + ? t.backspace( + t.currentElContent, + t.currentElContent.length + ) + : t.typewrite( + t.strings[t.sequence[t.arrayPos]], + t.strPos + ) + }, this.startDelay)) + } + }, + { + key: 'typewrite', + value: function (t, e) { + var s = this + this.fadeOut && + this.el.classList.contains(this.fadeOutClass) && + (this.el.classList.remove(this.fadeOutClass), + this.cursor && + this.cursor.classList.remove(this.fadeOutClass)) + var n = this.humanizer(this.typeSpeed), + i = 1 + return this.pause.status === !0 + ? void this.setPauseStatus(t, e, !0) + : void (this.timeout = setTimeout(function () { + e = o.htmlParser.typeHtmlChars(t, e, s) + var n = 0, + r = t.substr(e) + if ('^' === r.charAt(0) && /^\^\d+/.test(r)) { + var a = 1 + ;(r = /\d+/.exec(r)[0]), + (a += r.length), + (n = parseInt(r)), + (s.temporaryPause = !0), + s.options.onTypingPaused(s.arrayPos, s), + (t = t.substring(0, e) + t.substring(e + a)), + s.toggleBlinking(!0) + } + if ('`' === r.charAt(0)) { + for ( + ; + '`' !== t.substr(e + i).charAt(0) && + (i++, !(e + i > t.length)); + + ); + var u = t.substring(0, e), + l = t.substring(u.length + 1, e + i), + c = t.substring(e + i + 1) + ;(t = u + l + c), i-- + } + s.timeout = setTimeout(function () { + s.toggleBlinking(!1), + e >= t.length + ? s.doneTyping(t, e) + : s.keepTyping(t, e, i), + s.temporaryPause && + ((s.temporaryPause = !1), + s.options.onTypingResumed(s.arrayPos, s)) + }, n) + }, n)) + } + }, + { + key: 'keepTyping', + value: function (t, e, s) { + 0 === e && + (this.toggleBlinking(!1), + this.options.preStringTyped(this.arrayPos, this)), + (e += s) + var n = t.substr(0, e) + this.replaceText(n), this.typewrite(t, e) + } + }, + { + key: 'doneTyping', + value: function (t, e) { + var s = this + this.options.onStringTyped(this.arrayPos, this), + this.toggleBlinking(!0), + (this.arrayPos === this.strings.length - 1 && + (this.complete(), + this.loop === !1 || this.curLoop === this.loopCount)) || + (this.timeout = setTimeout(function () { + s.backspace(t, e) + }, this.backDelay)) + } + }, + { + key: 'backspace', + value: function (t, e) { + var s = this + if (this.pause.status === !0) + return void this.setPauseStatus(t, e, !1) + if (this.fadeOut) return this.initFadeOut() + this.toggleBlinking(!1) + var n = this.humanizer(this.backSpeed) + this.timeout = setTimeout(function () { + e = o.htmlParser.backSpaceHtmlChars(t, e, s) + var n = t.substr(0, e) + if ((s.replaceText(n), s.smartBackspace)) { + var i = s.strings[s.arrayPos + 1] + i && n === i.substr(0, e) + ? (s.stopNum = e) + : (s.stopNum = 0) + } + e > s.stopNum + ? (e--, s.backspace(t, e)) + : e <= s.stopNum && + (s.arrayPos++, + s.arrayPos === s.strings.length + ? ((s.arrayPos = 0), + s.options.onLastStringBackspaced(), + s.shuffleStringsIfNeeded(), + s.begin()) + : s.typewrite(s.strings[s.sequence[s.arrayPos]], e)) + }, n) + } + }, + { + key: 'complete', + value: function () { + this.options.onComplete(this), + this.loop ? this.curLoop++ : (this.typingComplete = !0) + } + }, + { + key: 'setPauseStatus', + value: function (t, e, s) { + ;(this.pause.typewrite = s), + (this.pause.curString = t), + (this.pause.curStrPos = e) + } + }, + { + key: 'toggleBlinking', + value: function (t) { + this.cursor && + (this.pause.status || + (this.cursorBlinking !== t && + ((this.cursorBlinking = t), + t + ? this.cursor.classList.add('typed-cursor--blink') + : this.cursor.classList.remove( + 'typed-cursor--blink' + )))) + } + }, + { + key: 'humanizer', + value: function (t) { + return Math.round((Math.random() * t) / 2) + t + } + }, + { + key: 'shuffleStringsIfNeeded', + value: function () { + this.shuffle && + (this.sequence = this.sequence.sort(function () { + return Math.random() - 0.5 + })) + } + }, + { + key: 'initFadeOut', + value: function () { + var t = this + return ( + (this.el.className += ' ' + this.fadeOutClass), + this.cursor && + (this.cursor.className += ' ' + this.fadeOutClass), + setTimeout(function () { + t.arrayPos++, + t.replaceText(''), + t.strings.length > t.arrayPos + ? t.typewrite(t.strings[t.sequence[t.arrayPos]], 0) + : (t.typewrite(t.strings[0], 0), (t.arrayPos = 0)) + }, this.fadeOutDelay) + ) + } + }, + { + key: 'replaceText', + value: function (t) { + this.attr + ? this.el.setAttribute(this.attr, t) + : this.isInput + ? (this.el.value = t) + : 'html' === this.contentType + ? (this.el.innerHTML = t) + : (this.el.textContent = t) + } + }, + { + key: 'bindFocusEvents', + value: function () { + var t = this + this.isInput && + (this.el.addEventListener('focus', function (e) { + t.stop() + }), + this.el.addEventListener('blur', function (e) { + ;(t.el.value && 0 !== t.el.value.length) || t.start() + })) + } + }, + { + key: 'insertCursor', + value: function () { + this.showCursor && + (this.cursor || + ((this.cursor = document.createElement('span')), + (this.cursor.className = 'typed-cursor'), + this.cursor.setAttribute('aria-hidden', !0), + (this.cursor.innerHTML = this.cursorChar), + this.el.parentNode && + this.el.parentNode.insertBefore( + this.cursor, + this.el.nextSibling + ))) + } + } + ]), + t + ) + })() + ;(e['default'] = a), (t.exports = e['default']) + }, + function (t, e, s) { + 'use strict' + function n(t) { + return t && t.__esModule ? t : { default: t } + } + function i(t, e) { + if (!(t instanceof e)) + throw new TypeError('Cannot call a class as a function') + } + Object.defineProperty(e, '__esModule', { value: !0 }) + var r = + Object.assign || + function (t) { + for (var e = 1; e < arguments.length; e++) { + var s = arguments[e] + for (var n in s) + Object.prototype.hasOwnProperty.call(s, n) && (t[n] = s[n]) + } + return t + }, + o = (function () { + function t(t, e) { + for (var s = 0; s < e.length; s++) { + var n = e[s] + ;(n.enumerable = n.enumerable || !1), + (n.configurable = !0), + 'value' in n && (n.writable = !0), + Object.defineProperty(t, n.key, n) + } + } + return function (e, s, n) { + return s && t(e.prototype, s), n && t(e, n), e + } + })(), + a = s(2), + u = n(a), + l = (function () { + function t() { + i(this, t) + } + return ( + o(t, [ + { + key: 'load', + value: function (t, e, s) { + if ( + ('string' == typeof s + ? (t.el = document.querySelector(s)) + : (t.el = s), + (t.options = r({}, u['default'], e)), + (t.isInput = 'input' === t.el.tagName.toLowerCase()), + (t.attr = t.options.attr), + (t.bindInputFocusEvents = t.options.bindInputFocusEvents), + (t.showCursor = !t.isInput && t.options.showCursor), + (t.cursorChar = t.options.cursorChar), + (t.cursorBlinking = !0), + (t.elContent = t.attr + ? t.el.getAttribute(t.attr) + : t.el.textContent), + (t.contentType = t.options.contentType), + (t.typeSpeed = t.options.typeSpeed), + (t.startDelay = t.options.startDelay), + (t.backSpeed = t.options.backSpeed), + (t.smartBackspace = t.options.smartBackspace), + (t.backDelay = t.options.backDelay), + (t.fadeOut = t.options.fadeOut), + (t.fadeOutClass = t.options.fadeOutClass), + (t.fadeOutDelay = t.options.fadeOutDelay), + (t.isPaused = !1), + (t.strings = t.options.strings.map(function (t) { + return t.trim() + })), + 'string' == typeof t.options.stringsElement + ? (t.stringsElement = document.querySelector( + t.options.stringsElement + )) + : (t.stringsElement = t.options.stringsElement), + t.stringsElement) + ) { + ;(t.strings = []), (t.stringsElement.style.display = 'none') + var n = Array.prototype.slice.apply( + t.stringsElement.children + ), + i = n.length + if (i) + for (var o = 0; o < i; o += 1) { + var a = n[o] + t.strings.push(a.innerHTML.trim()) + } + } + ;(t.strPos = 0), + (t.arrayPos = 0), + (t.stopNum = 0), + (t.loop = t.options.loop), + (t.loopCount = t.options.loopCount), + (t.curLoop = 0), + (t.shuffle = t.options.shuffle), + (t.sequence = []), + (t.pause = { + status: !1, + typewrite: !0, + curString: '', + curStrPos: 0 + }), + (t.typingComplete = !1) + for (var o in t.strings) t.sequence[o] = o + ;(t.currentElContent = this.getCurrentElContent(t)), + (t.autoInsertCss = t.options.autoInsertCss), + this.appendAnimationCss(t) + } + }, + { + key: 'getCurrentElContent', + value: function (t) { + var e = '' + return (e = t.attr + ? t.el.getAttribute(t.attr) + : t.isInput + ? t.el.value + : 'html' === t.contentType + ? t.el.innerHTML + : t.el.textContent) + } + }, + { + key: 'appendAnimationCss', + value: function (t) { + var e = 'data-typed-js-css' + if ( + t.autoInsertCss && + (t.showCursor || t.fadeOut) && + !document.querySelector('[' + e + ']') + ) { + var s = document.createElement('style') + ;(s.type = 'text/css'), s.setAttribute(e, !0) + var n = '' + t.showCursor && + (n += + '\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n '), + t.fadeOut && + (n += + '\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n '), + 0 !== s.length && + ((s.innerHTML = n), document.body.appendChild(s)) + } + } + } + ]), + t + ) + })() + e['default'] = l + var c = new l() + e.initializer = c + }, + function (t, e) { + 'use strict' + Object.defineProperty(e, '__esModule', { value: !0 }) + var s = { + strings: [ + 'These are the default values...', + 'You know what you should do?', + 'Use your own!', + 'Have a great day!' + ], + stringsElement: null, + typeSpeed: 0, + startDelay: 0, + backSpeed: 0, + smartBackspace: !0, + shuffle: !1, + backDelay: 700, + fadeOut: !1, + fadeOutClass: 'typed-fade-out', + fadeOutDelay: 500, + loop: !1, + loopCount: 1 / 0, + showCursor: !0, + cursorChar: '|', + autoInsertCss: !0, + attr: null, + bindInputFocusEvents: !1, + contentType: 'html', + onBegin: function (t) {}, + onComplete: function (t) {}, + preStringTyped: function (t, e) {}, + onStringTyped: function (t, e) {}, + onLastStringBackspaced: function (t) {}, + onTypingPaused: function (t, e) {}, + onTypingResumed: function (t, e) {}, + onReset: function (t) {}, + onStop: function (t, e) {}, + onStart: function (t, e) {}, + onDestroy: function (t) {} + } + ;(e['default'] = s), (t.exports = e['default']) + }, + function (t, e) { + 'use strict' + function s(t, e) { + if (!(t instanceof e)) + throw new TypeError('Cannot call a class as a function') + } + Object.defineProperty(e, '__esModule', { value: !0 }) + var n = (function () { + function t(t, e) { + for (var s = 0; s < e.length; s++) { + var n = e[s] + ;(n.enumerable = n.enumerable || !1), + (n.configurable = !0), + 'value' in n && (n.writable = !0), + Object.defineProperty(t, n.key, n) + } + } + return function (e, s, n) { + return s && t(e.prototype, s), n && t(e, n), e + } + })(), + i = (function () { + function t() { + s(this, t) + } + return ( + n(t, [ + { + key: 'typeHtmlChars', + value: function (t, e, s) { + if ('html' !== s.contentType) return e + var n = t.substr(e).charAt(0) + if ('<' === n || '&' === n) { + var i = '' + for ( + i = '<' === n ? '>' : ';'; + t.substr(e + 1).charAt(0) !== i && + (e++, !(e + 1 > t.length)); + + ); + e++ + } + return e + } + }, + { + key: 'backSpaceHtmlChars', + value: function (t, e, s) { + if ('html' !== s.contentType) return e + var n = t.substr(e).charAt(0) + if ('>' === n || ';' === n) { + var i = '' + for ( + i = '>' === n ? '<' : '&'; + t.substr(e - 1).charAt(0) !== i && (e--, !(e < 0)); + + ); + e-- + } + return e + } + } + ]), + t + ) + })() + e['default'] = i + var r = new i() + e.htmlParser = r + } + ]) +}) +//# sourceMappingURL=typed.min.js.map diff --git a/themes/hexo/components/Hero.js b/themes/hexo/components/Hero.js index 9892585618d..27db5945f3d 100644 --- a/themes/hexo/components/Hero.js +++ b/themes/hexo/components/Hero.js @@ -26,10 +26,7 @@ const Hero = props => { updateHeaderHeight() if (!typed && window && document.getElementById('typed')) { - loadExternalResource( - 'https://cdn.bootcdn.net/ajax/libs/typed.js/2.0.12/typed.min.js', - 'js' - ).then(() => { + loadExternalResource('/js/typed.min.js', 'js').then(() => { if (window.Typed) { changeType( new window.Typed('#typed', { diff --git a/themes/matery/components/Hero.js b/themes/matery/components/Hero.js index f50b73f0a97..2abc8d39d27 100644 --- a/themes/matery/components/Hero.js +++ b/themes/matery/components/Hero.js @@ -21,10 +21,7 @@ const Hero = props => { useEffect(() => { updateHeaderHeight() if (!typed && window && document.getElementById('typed')) { - loadExternalResource( - 'https://cdn.bootcdn.net/ajax/libs/typed.js/2.0.12/typed.min.js', - 'js' - ).then(() => { + loadExternalResource('/js/typed.min.js', 'js').then(() => { if (window.Typed) { changeType( new window.Typed('#typed', {