PluginProbe
UiCore Elements – Free widgets and templates for Elementor / 1.2.1
UiCore Elements – Free widgets and templates for Elementor v1.2.1
1.3.17 1.3.16 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 All 41 releases
uicore-elements / assets / js / lib / carousel-effects / stacked.js

stacked.js in UiCore Elements – Free widgets and templates for Elementor 1.2.1, at assets/js/lib/carousel-effects/stacked.js

1 lines 9.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 function _0x57af(){const _0x25a6f2=['10doUbIp','transitionStart','ms\x20ease-out\x20.1s,\x20opacity\x20.2s\x20ease-in','ms\x20ease-out,\x20opacity\x20.2s\x20ease-in\x20.1s','.swiper-slide','zIndex','scale(1)\x20translateY(','marginBottom','forEach','5121984JuRLlh','beforeInit','scale(','querySelector','scale(1.05)\x20translateY(','177849SIEZoV','init','opacity','657816UCpltY','3069040leAZQx','px)','.swiper-wrapper','12151536sjKHeh','117osrXlz','transition','length','ms\x20ease-out,\x20opacity\x20.2s\x20ease-in\x20','round','marginTop','3247528VCWGRV','previousElementSibling','2067093ZrEpBN','4QMuMYV','maxHeight','transform','scale(\x0a\x20\x20\x20\x20\x20\x20\x20\x20','style','offsetHeight','transform\x20',')\x20translateY('];_0x57af=function(){return _0x25a6f2;};return _0x57af();}function _0x47a4(_0x1213a3,_0x5d2388){const _0x57af56=_0x57af();return _0x47a4=function(_0x47a4a8,_0x5737fa){_0x47a4a8=_0x47a4a8-0x199;let _0x14065b=_0x57af56[_0x47a4a8];return _0x14065b;},_0x47a4(_0x1213a3,_0x5d2388);}(function(_0x16b350,_0x4abf5e){const _0x47eb3a=_0x47a4,_0x4c5027=_0x16b350();while(!![]){try{const _0x25f90c=parseInt(_0x47eb3a(0x19e))/0x1+parseInt(_0x47eb3a(0x1af))/0x2*(parseInt(_0x47eb3a(0x1a1))/0x3)+-parseInt(_0x47eb3a(0x1ac))/0x4*(-parseInt(_0x47eb3a(0x1b7))/0x5)+parseInt(_0x47eb3a(0x199))/0x6+parseInt(_0x47eb3a(0x1ae))/0x7+parseInt(_0x47eb3a(0x1a5))/0x8+parseInt(_0x47eb3a(0x1a6))/0x9*(-parseInt(_0x47eb3a(0x1a2))/0xa);if(_0x25f90c===_0x4abf5e)break;else _0x4c5027['push'](_0x4c5027['shift']());}catch(_0x203949){_0x4c5027['push'](_0x4c5027['shift']());}}}(_0x57af,0xe0326));const stackedEffect=({swiper:_0x1f9fd7,extendParams:_0x4099e8,on:_0x49cef0})=>{const _0x5380c9=_0x47a4;let _0x21dc37=![],_0x5f05d9=undefined;const _0x142c1f=0x14,_0x42050c=0x14,_0x1926df=0.05,_0x17c5b4=0x3;_0x4099e8({'watchSlidesProgress':!![],'virtualTranslate':!![],'autoHeight':!![],'longSwipes':![]}),_0x49cef0(_0x5380c9(0x1b8),_0x4fec28=>{const _0x8e9e36=_0x5380c9;setTimeout(function(){_0x4fec28['animating']=![];},0x0);const {slides:_0x425489,visibleSlidesIndexes:_0x3e087b}=_0x4fec28,_0x19d3e5=_0x3e087b[0x0];_0x19d3e5===_0x425489[_0x8e9e36(0x1a8)]-0x2&&_0x5f05d9===0x1&&(_0x425489[_0x425489['length']-0x1][_0x8e9e36(0x1b3)][_0x8e9e36(0x1a7)]='none');}),_0x49cef0('transitionEnd',_0x6ca5c9=>{const {visibleSlidesIndexes:_0xc823}=_0x6ca5c9;_0x5f05d9=_0xc823[0x0];}),_0x49cef0(_0x5380c9(0x19a),({el:_0x55b83c})=>{const _0xd34d19=_0x5380c9;_0x55b83c[_0xd34d19(0x1b3)][_0xd34d19(0x1ab)]=_0x142c1f+'px',_0x55b83c['style'][_0xd34d19(0x1be)]=_0x142c1f*(_0x17c5b4-0x1)+'px';const _0x212562=_0x55b83c[_0xd34d19(0x19c)](_0xd34d19(0x1bb)),_0x19a5a0=_0x55b83c['querySelector'](_0xd34d19(0x1a4));_0x19a5a0['style'][_0xd34d19(0x1b0)]=_0x212562[_0xd34d19(0x1b4)]+'px';}),_0x49cef0(_0x5380c9(0x19f),_0x4764df=>{const _0x278c=_0x5380c9,{slides:_0xf912f3,visibleSlidesIndexes:_0x13cdb9,slidesSizesGrid:_0x213cf3}=_0x4764df,_0x370827=_0x213cf3[0x0],_0x4ddd93=_0x13cdb9[0x0];_0xf912f3[_0x278c(0x1bf)]((_0x5b7323,_0x5c0225)=>{const _0x1a4b51=_0x278c;_0x5b7323[_0x1a4b51(0x1b3)][_0x1a4b51(0x1a7)]=null;if(_0x5c0225<_0x4ddd93){_0x5b7323[_0x1a4b51(0x1b3)]['opacity']=0x0,_0x5b7323[_0x1a4b51(0x1b3)][_0x1a4b51(0x1bc)]=_0x5c0225-_0x4ddd93,_0x5b7323[_0x1a4b51(0x1b3)]['transform']=_0x1a4b51(0x19d)+(-_0x370827*_0x5c0225-_0x42050c)/1.05+_0x1a4b51(0x1a3);return;}const _0x429515=_0x5c0225-_0x4ddd93,_0x5bca0d=0x1-_0x1926df*_0x429515,_0x2703ca=-_0x370827*_0x5c0225/_0x5bca0d+_0x142c1f*_0x429515;_0x5b7323[_0x1a4b51(0x1b3)]['opacity']=0x1,_0x5c0225>_0x4ddd93+_0x17c5b4-0x1&&(_0x5b7323[_0x1a4b51(0x1b3)][_0x1a4b51(0x1a0)]=0x0),_0x5b7323[_0x1a4b51(0x1b3)][_0x1a4b51(0x1b1)]=_0x1a4b51(0x19b)+_0x5bca0d+_0x1a4b51(0x1b6)+_0x2703ca+_0x1a4b51(0x1a3),_0x5b7323[_0x1a4b51(0x1b3)]['zIndex']=-_0x429515;}),_0x21dc37=!![];}),_0x49cef0('progress',(_0x81b4e3,_0xf23da5)=>{const _0x116534=_0x5380c9;if(!_0x21dc37)return;const {slides:_0x1e45b2,visibleSlides:_0x2b1780,slidesSizesGrid:_0x427df8,visibleSlidesIndexes:_0x48798e,params:_0x24c363}=_0x81b4e3,{slidesPerView:_0x120ae4,spaceBetween:_0x4b847e,speed:_0x41ab3e,loop:_0x590fd8}=_0x24c363,_0x24de04=_0x2b1780[0x0],_0x88cd61=_0x48798e[0x0],_0x427d29=_0x427df8[0x0],_0x1d3d26=_0x427d29+_0x4b847e,_0x48f159=parseInt(0x64*_0x427d29/_0x1d3d26),_0x5963d4=_0x1e45b2['length']/_0x120ae4-0x1,_0x4e60b5=0x1/_0x5963d4,_0x1dc54d=_0x4e60b5/_0x120ae4,_0x319df3=_0x88cd61*_0x1dc54d,_0x1f3b2d=_0xf23da5-_0x319df3,_0x402156=Math[_0x116534(0x1aa)](0x64*_0x1f3b2d/_0x1dc54d),_0x18944b=_0x402156>0x0;_0x1e45b2[_0x116534(0x1bf)]((_0x1ac64f,_0x5740f2)=>{const _0x45c885=_0x116534;if(_0x5740f2===_0x88cd61)return;if(_0x590fd8){if(_0x88cd61===0x0){if(_0x5740f2>=_0x1e45b2['length']-0x3&&_0x5740f2<=_0x1e45b2[_0x45c885(0x1a8)]-0x1){_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1a7)]=null;const _0x368aa4=_0x5740f2-(_0x1e45b2[_0x45c885(0x1a8)]-0x3),_0x1f6203=0x1-_0x1926df*(_0x368aa4-0x1);_0x368aa4===0x0?(_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1a0)]=0x0,_0x1ac64f['style'][_0x45c885(0x1bc)]=-0x1,_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1b1)]=_0x45c885(0x19b)+_0x1f6203+_0x45c885(0x1b6)+(-_0x427d29*_0x5740f2/_0x1f6203-_0x42050c)+_0x45c885(0x1a3)):(_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1a0)]=0x1,_0x368aa4===0x1?(_0x18944b?_0x1ac64f['style'][_0x45c885(0x1a0)]=0x0:_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1a7)]=_0x45c885(0x1b5)+_0x41ab3e+_0x45c885(0x1ba),_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1bc)]=-0x3e7):_0x1ac64f['style']['zIndex']=-_0x368aa4,_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1b1)]='scale('+_0x1f6203+_0x45c885(0x1b6)+(-_0x427d29*_0x5740f2/_0x1f6203+_0x142c1f*(_0x368aa4-0x1))+'px)');return;}}if(_0x88cd61===0x1){if(_0x5740f2===_0x1e45b2[_0x45c885(0x1a8)]-0x2){_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1a7)]=null,_0x1ac64f['style'][_0x45c885(0x1a0)]=0x0,_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1bc)]=-0x3e7;const _0x50105d=0x1+_0x1926df;_0x1ac64f[_0x45c885(0x1b3)]['transform']=_0x45c885(0x19b)+_0x50105d+_0x45c885(0x1b6)+(-_0x427d29*_0x5740f2-_0x42050c)/_0x50105d+_0x45c885(0x1a3);return;}}if(_0x88cd61===_0x1e45b2[_0x45c885(0x1a8)]-0x3){if(_0x5740f2===0x2&&_0x5740f2!==_0x88cd61-0x1){_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1a7)]=null,_0x1ac64f['style'][_0x45c885(0x1a0)]=0x0;const _0x55f398=0x1-_0x1926df*0x3;_0x1ac64f[_0x45c885(0x1b3)]['transform']=_0x45c885(0x19b)+_0x55f398+_0x45c885(0x1b6)+(-_0x427d29*_0x5740f2/_0x55f398+_0x142c1f*0x3)+_0x45c885(0x1a3);return;}}if(_0x88cd61===_0x1e45b2[_0x45c885(0x1a8)]-0x2){if(_0x88cd61-_0x5740f2===0x2)return;if(_0x5740f2===0x2){_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1a7)]=_0x45c885(0x1b5)+_0x41ab3e+_0x45c885(0x1ba),_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1a0)]=0x1;const _0x291748=0x1-_0x1926df*0x2;_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1b1)]=_0x45c885(0x19b)+_0x291748+_0x45c885(0x1b6)+(-_0x427d29*_0x5740f2/_0x291748+_0x142c1f*0x2)+_0x45c885(0x1a3);return;}}if(_0x88cd61===_0x1e45b2['length']-0x1){if(_0x5740f2===0x1){_0x1ac64f['style']['transition']=_0x45c885(0x1b5)+_0x41ab3e+_0x45c885(0x1ba),_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1a0)]=0x1,_0x1ac64f['style'][_0x45c885(0x1b1)]=_0x45c885(0x1bd)+-_0x427d29*_0x5740f2+_0x45c885(0x1a3);return;}if(_0x5740f2===0x2||_0x5740f2===0x3){const _0x30ec31=_0x5740f2-0x1;_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1a7)]='transform\x20'+_0x41ab3e+_0x45c885(0x1ba),_0x1ac64f[_0x45c885(0x1b3)]['opacity']=0x1;const _0x1ec226=0x1-_0x1926df*_0x30ec31;_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1bc)]=-_0x30ec31,_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1b1)]=_0x45c885(0x19b)+_0x1ec226+_0x45c885(0x1b6)+(-_0x427d29*_0x5740f2/_0x1ec226+_0x142c1f*_0x30ec31)+'px)';return;}}}_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1a7)]=null;if(_0x5740f2<_0x88cd61){_0x1ac64f[_0x45c885(0x1b3)]['opacity']=0x0,_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1bc)]=_0x5740f2-_0x88cd61,_0x1ac64f[_0x45c885(0x1b3)]['transform']=_0x45c885(0x19d)+(-_0x427d29*_0x5740f2-_0x42050c)/1.05+'px)';return;}const _0x49603d=_0x5740f2-_0x88cd61;_0x1ac64f[_0x45c885(0x1b3)]['zIndex']=-_0x49603d;_0x5740f2-_0x88cd61<=_0x17c5b4-0x1?(_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1a7)]=_0x45c885(0x1b5)+_0x41ab3e+_0x45c885(0x1b9),_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1a0)]=0x1):_0x1ac64f[_0x45c885(0x1b3)]['opacity']=0x0;const _0x57d3a6=0x1-_0x1926df*_0x49603d;let _0x5040de=-_0x427d29*_0x5740f2/_0x57d3a6+_0x142c1f*_0x49603d;_0x1ac64f[_0x45c885(0x1b3)][_0x45c885(0x1b1)]='scale('+_0x57d3a6+_0x45c885(0x1b6)+_0x5040de+'px)';});const _0x28c7c4=_0x88cd61-0x1,_0x487ffe=_0x24de04[_0x116534(0x1ad)];if(_0x487ffe){const _0x1e6494=_0x1e45b2[_0x116534(0x1a8)]-_0x5f05d9;_0x28c7c4===_0x1e6494?_0x487ffe[_0x116534(0x1b3)]['transition']=null:_0x487ffe[_0x116534(0x1b3)][_0x116534(0x1a7)]='transform\x20'+_0x41ab3e+_0x116534(0x1a9)+_0x41ab3e*0.8+'ms',_0x487ffe[_0x116534(0x1b3)][_0x116534(0x1bc)]=0x2,_0x487ffe['style']['transform']=_0x116534(0x19d)+(-_0x427d29*(_0x88cd61+0x1)-_0x42050c/1.05)+')',_0x487ffe[_0x116534(0x1b3)][_0x116534(0x1a0)]=0x0;}_0x24de04['style'][_0x116534(0x1a7)]=_0x116534(0x1b5)+_0x41ab3e+_0x116534(0x1ba),_0x24de04[_0x116534(0x1b3)][_0x116534(0x1bc)]=0x1,_0x24de04[_0x116534(0x1b3)][_0x116534(0x1b1)]='scale(1)\x20translateY('+-_0x427d29*_0x88cd61+_0x116534(0x1a3);if(_0x18944b){_0x24de04[_0x116534(0x1b3)][_0x116534(0x1a7)]=null;const _0x12f7b4=0x64-Math[_0x116534(0x1aa)](_0x402156*0x64/_0x48f159),_0x44992b=0x1+_0x1926df-_0x1926df*_0x12f7b4/0x64,_0x564e02=-_0x427d29*_0x88cd61/_0x44992b;_0x12f7b4<=0x10&&(_0x24de04[_0x116534(0x1b3)][_0x116534(0x1a0)]=_0x12f7b4*6.25/0x64),_0x24de04[_0x116534(0x1b3)]['transform']=_0x116534(0x1b2)+_0x44992b+')\x20translateY('+(_0x564e02-_0x402156*_0x42050c/0x64)+_0x116534(0x1a3);}else{const _0x1a509a=-_0x427d29*_0x88cd61;_0x24de04['style']['opacity']=0x1,_0x24de04[_0x116534(0x1b3)][_0x116534(0x1b1)]=_0x116534(0x1bd)+_0x1a509a+_0x116534(0x1a3);}});};