PageSourceSearch

https://miipp.ru/wp-content/themes/art_miipp/js/animate.js?v=6ac346f0ed227&ver=7.1.2

js miipp.ru collected 2026-10-05 06:43:19 UTC 3,037 bytes, 129 lines download raw bytes

1jQuery(document).ready(function ($) {
2
3
4	$('.__animate__top').each(function () {
5		el = $(this)
6		elParent = $(this).parent()[0]
7        let delay =  $(this).data('delay') ? $(this).data('delay') : 0;
8        let duration =  $(this).data('duration') ? $(this).data('duration') : 0.625;
9
10		gsap.to(el, {
11			scrollTrigger: {
12				trigger: el[0],
13				start: 'top 85%',
14			},
15			y: '0',
16			opacity: 1,
17			ease: 'ease-in-out',
18            delay: delay,
19            duration: duration
20		})
21	})
22
23    $('.__animate__move__top').each(function () {
24		el = $(this)
25		elParent = $(this).parent()[0]
26        let delay =  $(this).data('delay') ? $(this).data('delay') : 0;
27        let duration =  $(this).data('duration') ? $(this).data('duration') : 0.625;
28
29		gsap.to(el, {
30			scrollTrigger: {
31				trigger: el[0],
32				start: 'top 70%',
33			},
34			y: '-100%',
35			ease: 'ease-in-out',
36            delay: delay,
37            duration: duration
38		})
39	})
40
41
42
43
44
45
46    $('.__animate__scale').each(function () {
47		el = $(this)
48		elParent = $(this).parent()[0]
49        let delay =  $(this).data('delay') ? $(this).data('delay') : 0;
50        let duration =  $(this).data('duration') ? $(this).data('duration') : 0.625;
51
52		gsap.to(el, {
53			scrollTrigger: {
54				trigger:elParent,
55				start: 'top 85%',
56			},
57			scale: 1,
58			opacity: 1,
59			ease: 'ease-in-out',
60            delay: delay,
61            duration: duration
62		})
63	})
64
65
66    $('.__animate__left').each(function () {
67		el = $(this)
68		elParent = $(this).parent()[0]
69        let delay =  $(this).data('delay') ? $(this).data('delay') : 0;
70        let duration =  $(this).data('duration') ? $(this).data('duration') : 0.625;
71
72		gsap.to(el, {
73			scrollTrigger: {
74				trigger: el[0],
75				start: 'top 85%',
76			},
77			x: '0',
78			opacity: 1,
79			ease: 'ease-in-out',
80            delay: delay,
81            duration: duration
82		})
83	})
84
85
86    $(".__animate__title").each(function () {
87        el = $(this).find('span')
88        elParent = $(this).parent()[0];
89        let duration =  $(this).data('duration') ? $(this).data('duration') : 0.625;
90        let delay =  $(this).data('delay') ? $(this).data('delay') : 0;
91
92        gsap.to(el, {
93            scrollTrigger: {
94                trigger: elParent,
95                start: 'top 85%',
96            },
97            y: '0',
98            opacity:1,
99            ease: "ease-in-out",
100            stagger: {
101                amount: 0.3
102            },
103            delay: delay,
104            duration: duration
105
106        })
107    })
108
109
110
111    $(".__animate__opacity").each(function () {
112        el = $(this)
113        elParent = $(this).parent()[0];
114        let delay =  $(this).data('delay') ? $(this).data('delay') : 0;
115        let duration =  $(this).data('duration') ? $(this).data('duration') : 0.625;
116
117        gsap.to(el, {
118            scrollTrigger: {
119                trigger: el[0],
120                start: 'top 85%',
121            },
122            y: '0',
123            opacity:1,
124            ease: "ease-in-out",
125            duration:duration,
126            delay: delay,
127        })
128    })
129})

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.