PluginProbe
UiCore Elements – Free widgets and templates for Elementor / 1.2.2
UiCore Elements – Free widgets and templates for Elementor v1.2.2
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.2, at assets/js/lib/carousel-effects/stacked.js

1 lines 9.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 (function(_0x30c29a,_0x1ee149){const _0x176258=_0x7906,_0x5b7974=_0x30c29a();while(!![]){try{const _0x10cc85=parseInt(_0x176258(0x77))/0x1*(-parseInt(_0x176258(0x8d))/0x2)+-parseInt(_0x176258(0x71))/0x3*(parseInt(_0x176258(0x76))/0x4)+-parseInt(_0x176258(0x89))/0x5+-parseInt(_0x176258(0x70))/0x6+-parseInt(_0x176258(0x81))/0x7+-parseInt(_0x176258(0x91))/0x8+parseInt(_0x176258(0x87))/0x9*(parseInt(_0x176258(0x7c))/0xa);if(_0x10cc85===_0x1ee149)break;else _0x5b7974['push'](_0x5b7974['shift']());}catch(_0x1d5473){_0x5b7974['push'](_0x5b7974['shift']());}}}(_0x2a56,0xdb288));function _0x2a56(){const _0xa4ad14=['px)','transform','5986771EJPBsH','opacity','transitionEnd','ms\x20ease-out\x20.1s,\x20opacity\x20.2s\x20ease-in','scale(\x0a\x20\x20\x20\x20\x20\x20\x20\x20','querySelector','1998RseFNm','transition','3069645dQGvhT','scale(1.05)\x20translateY(','scale(1)\x20translateY(','ms\x20ease-out,\x20opacity\x20.2s\x20ease-in\x20','1879028rveZuw','ms\x20ease-out,\x20opacity\x20.2s\x20ease-in\x20.1s','style','marginTop','3354296SyfGpm','.swiper-slide','scale(','transitionStart','length','2908716iazxtp','4089uxhdFZ','zIndex','init',')\x20translateY(','transform\x20','2780MwFiIG','1FQfDGU','marginBottom','none','animating','.swiper-wrapper','232330PxaJSD','progress','forEach'];_0x2a56=function(){return _0xa4ad14;};return _0x2a56();}function _0x7906(_0x5a7617,_0x35826b){const _0x2a5608=_0x2a56();return _0x7906=function(_0x790667,_0xcb05b3){_0x790667=_0x790667-0x70;let _0x1e341c=_0x2a5608[_0x790667];return _0x1e341c;},_0x7906(_0x5a7617,_0x35826b);}const stackedEffect=({swiper:_0x316c25,extendParams:_0x389be6,on:_0x47faff})=>{const _0x2e159c=_0x7906;let _0x1de32b=![],_0x4d8659=undefined;const _0x1eafb7=0x14,_0x42c839=0x14,_0x2437fe=0.05,_0x3da5b=0x3;_0x389be6({'watchSlidesProgress':!![],'virtualTranslate':!![],'autoHeight':!![],'longSwipes':![]}),_0x47faff(_0x2e159c(0x94),_0x4003fe=>{const _0x18f122=_0x2e159c;setTimeout(function(){const _0x440277=_0x7906;_0x4003fe[_0x440277(0x7a)]=![];},0x0);const {slides:_0x22e630,visibleSlidesIndexes:_0x458283}=_0x4003fe,_0x351013=_0x458283[0x0];_0x351013===_0x22e630[_0x18f122(0x95)]-0x2&&_0x4d8659===0x1&&(_0x22e630[_0x22e630[_0x18f122(0x95)]-0x1][_0x18f122(0x8f)]['transition']=_0x18f122(0x79));}),_0x47faff(_0x2e159c(0x83),_0x1f0ece=>{const {visibleSlidesIndexes:_0x1874f5}=_0x1f0ece;_0x4d8659=_0x1874f5[0x0];}),_0x47faff('beforeInit',({el:_0x4c9379})=>{const _0xbf94b4=_0x2e159c;_0x4c9379[_0xbf94b4(0x8f)][_0xbf94b4(0x90)]=_0x1eafb7+'px',_0x4c9379[_0xbf94b4(0x8f)][_0xbf94b4(0x78)]=_0x1eafb7*(_0x3da5b-0x1)+'px';const _0x33f64f=_0x4c9379[_0xbf94b4(0x86)](_0xbf94b4(0x92)),_0x35b33b=_0x4c9379[_0xbf94b4(0x86)](_0xbf94b4(0x7b));_0x35b33b['style']['maxHeight']=_0x33f64f['offsetHeight']+'px';}),_0x47faff(_0x2e159c(0x73),_0x37d115=>{const _0x223521=_0x2e159c,{slides:_0x2bb398,visibleSlidesIndexes:_0x5005a3,slidesSizesGrid:_0xe736e6}=_0x37d115,_0x5f04e4=_0xe736e6[0x0],_0xd7f41c=_0x5005a3[0x0];_0x2bb398[_0x223521(0x7e)]((_0x90087b,_0x18b951)=>{const _0x17af0f=_0x223521;_0x90087b[_0x17af0f(0x8f)]['transition']=null;if(_0x18b951<_0xd7f41c){_0x90087b[_0x17af0f(0x8f)][_0x17af0f(0x82)]=0x0,_0x90087b[_0x17af0f(0x8f)]['zIndex']=_0x18b951-_0xd7f41c,_0x90087b[_0x17af0f(0x8f)][_0x17af0f(0x80)]=_0x17af0f(0x8a)+(-_0x5f04e4*_0x18b951-_0x42c839)/1.05+_0x17af0f(0x7f);return;}const _0x31fbdb=_0x18b951-_0xd7f41c,_0x26763e=0x1-_0x2437fe*_0x31fbdb,_0x212cb8=-_0x5f04e4*_0x18b951/_0x26763e+_0x1eafb7*_0x31fbdb;_0x90087b['style'][_0x17af0f(0x82)]=0x1,_0x18b951>_0xd7f41c+_0x3da5b-0x1&&(_0x90087b[_0x17af0f(0x8f)][_0x17af0f(0x82)]=0x0),_0x90087b[_0x17af0f(0x8f)]['transform']=_0x17af0f(0x93)+_0x26763e+_0x17af0f(0x74)+_0x212cb8+_0x17af0f(0x7f),_0x90087b[_0x17af0f(0x8f)][_0x17af0f(0x72)]=-_0x31fbdb;}),_0x1de32b=!![];}),_0x47faff(_0x2e159c(0x7d),(_0x3fb403,_0x3beab8)=>{const _0x323878=_0x2e159c;if(!_0x1de32b)return;const {slides:_0x405559,visibleSlides:_0x38b081,slidesSizesGrid:_0x5bb4c4,visibleSlidesIndexes:_0x27e1aa,params:_0x148bf3}=_0x3fb403,{slidesPerView:_0x492520,spaceBetween:_0x2414ca,speed:_0x5aca40,loop:_0x101e65}=_0x148bf3,_0x22e3ff=_0x38b081[0x0],_0x31d242=_0x27e1aa[0x0],_0x538108=_0x5bb4c4[0x0],_0x3fa04b=_0x538108+_0x2414ca,_0x3d7da2=parseInt(0x64*_0x538108/_0x3fa04b),_0x1419ab=_0x405559['length']/_0x492520-0x1,_0x109cfd=0x1/_0x1419ab,_0x550f92=_0x109cfd/_0x492520,_0x1cbf7d=_0x31d242*_0x550f92,_0xc0cb62=_0x3beab8-_0x1cbf7d,_0x1bbdc9=Math['round'](0x64*_0xc0cb62/_0x550f92),_0x3f0bf9=_0x1bbdc9>0x0;_0x405559[_0x323878(0x7e)]((_0x4c5686,_0x4844f8)=>{const _0x398587=_0x323878;if(_0x4844f8===_0x31d242)return;if(_0x101e65){if(_0x31d242===0x0){if(_0x4844f8>=_0x405559[_0x398587(0x95)]-0x3&&_0x4844f8<=_0x405559[_0x398587(0x95)]-0x1){_0x4c5686[_0x398587(0x8f)]['transition']=null;const _0x52be47=_0x4844f8-(_0x405559[_0x398587(0x95)]-0x3),_0x52a697=0x1-_0x2437fe*(_0x52be47-0x1);_0x52be47===0x0?(_0x4c5686[_0x398587(0x8f)][_0x398587(0x82)]=0x0,_0x4c5686['style']['zIndex']=-0x1,_0x4c5686[_0x398587(0x8f)]['transform']='scale('+_0x52a697+_0x398587(0x74)+(-_0x538108*_0x4844f8/_0x52a697-_0x42c839)+'px)'):(_0x4c5686[_0x398587(0x8f)][_0x398587(0x82)]=0x1,_0x52be47===0x1?(_0x3f0bf9?_0x4c5686['style'][_0x398587(0x82)]=0x0:_0x4c5686['style'][_0x398587(0x88)]=_0x398587(0x75)+_0x5aca40+_0x398587(0x8e),_0x4c5686[_0x398587(0x8f)]['zIndex']=-0x3e7):_0x4c5686[_0x398587(0x8f)][_0x398587(0x72)]=-_0x52be47,_0x4c5686[_0x398587(0x8f)][_0x398587(0x80)]=_0x398587(0x93)+_0x52a697+_0x398587(0x74)+(-_0x538108*_0x4844f8/_0x52a697+_0x1eafb7*(_0x52be47-0x1))+'px)');return;}}if(_0x31d242===0x1){if(_0x4844f8===_0x405559[_0x398587(0x95)]-0x2){_0x4c5686['style'][_0x398587(0x88)]=null,_0x4c5686[_0x398587(0x8f)][_0x398587(0x82)]=0x0,_0x4c5686[_0x398587(0x8f)][_0x398587(0x72)]=-0x3e7;const _0x31f84a=0x1+_0x2437fe;_0x4c5686['style'][_0x398587(0x80)]=_0x398587(0x93)+_0x31f84a+_0x398587(0x74)+(-_0x538108*_0x4844f8-_0x42c839)/_0x31f84a+'px)';return;}}if(_0x31d242===_0x405559[_0x398587(0x95)]-0x3){if(_0x4844f8===0x2&&_0x4844f8!==_0x31d242-0x1){_0x4c5686[_0x398587(0x8f)][_0x398587(0x88)]=null,_0x4c5686['style'][_0x398587(0x82)]=0x0;const _0x2247af=0x1-_0x2437fe*0x3;_0x4c5686[_0x398587(0x8f)]['transform']=_0x398587(0x93)+_0x2247af+')\x20translateY('+(-_0x538108*_0x4844f8/_0x2247af+_0x1eafb7*0x3)+'px)';return;}}if(_0x31d242===_0x405559[_0x398587(0x95)]-0x2){if(_0x31d242-_0x4844f8===0x2)return;if(_0x4844f8===0x2){_0x4c5686['style'][_0x398587(0x88)]='transform\x20'+_0x5aca40+'ms\x20ease-out,\x20opacity\x20.2s\x20ease-in\x20.1s',_0x4c5686[_0x398587(0x8f)][_0x398587(0x82)]=0x1;const _0x414504=0x1-_0x2437fe*0x2;_0x4c5686['style'][_0x398587(0x80)]='scale('+_0x414504+')\x20translateY('+(-_0x538108*_0x4844f8/_0x414504+_0x1eafb7*0x2)+_0x398587(0x7f);return;}}if(_0x31d242===_0x405559[_0x398587(0x95)]-0x1){if(_0x4844f8===0x1){_0x4c5686[_0x398587(0x8f)][_0x398587(0x88)]=_0x398587(0x75)+_0x5aca40+_0x398587(0x8e),_0x4c5686[_0x398587(0x8f)][_0x398587(0x82)]=0x1,_0x4c5686[_0x398587(0x8f)][_0x398587(0x80)]=_0x398587(0x8b)+-_0x538108*_0x4844f8+_0x398587(0x7f);return;}if(_0x4844f8===0x2||_0x4844f8===0x3){const _0x463e08=_0x4844f8-0x1;_0x4c5686[_0x398587(0x8f)][_0x398587(0x88)]=_0x398587(0x75)+_0x5aca40+_0x398587(0x8e),_0x4c5686[_0x398587(0x8f)][_0x398587(0x82)]=0x1;const _0x5ed7f1=0x1-_0x2437fe*_0x463e08;_0x4c5686['style'][_0x398587(0x72)]=-_0x463e08,_0x4c5686[_0x398587(0x8f)][_0x398587(0x80)]=_0x398587(0x93)+_0x5ed7f1+')\x20translateY('+(-_0x538108*_0x4844f8/_0x5ed7f1+_0x1eafb7*_0x463e08)+_0x398587(0x7f);return;}}}_0x4c5686[_0x398587(0x8f)][_0x398587(0x88)]=null;if(_0x4844f8<_0x31d242){_0x4c5686[_0x398587(0x8f)][_0x398587(0x82)]=0x0,_0x4c5686[_0x398587(0x8f)]['zIndex']=_0x4844f8-_0x31d242,_0x4c5686['style']['transform']='scale(1.05)\x20translateY('+(-_0x538108*_0x4844f8-_0x42c839)/1.05+_0x398587(0x7f);return;}const _0x1f06a0=_0x4844f8-_0x31d242;_0x4c5686[_0x398587(0x8f)][_0x398587(0x72)]=-_0x1f06a0;_0x4844f8-_0x31d242<=_0x3da5b-0x1?(_0x4c5686['style']['transition']=_0x398587(0x75)+_0x5aca40+_0x398587(0x84),_0x4c5686['style']['opacity']=0x1):_0x4c5686[_0x398587(0x8f)][_0x398587(0x82)]=0x0;const _0xdb9469=0x1-_0x2437fe*_0x1f06a0;let _0x1100e2=-_0x538108*_0x4844f8/_0xdb9469+_0x1eafb7*_0x1f06a0;_0x4c5686[_0x398587(0x8f)][_0x398587(0x80)]=_0x398587(0x93)+_0xdb9469+')\x20translateY('+_0x1100e2+_0x398587(0x7f);});const _0x5c57b0=_0x31d242-0x1,_0x933c6b=_0x22e3ff['previousElementSibling'];if(_0x933c6b){const _0x33fdbb=_0x405559[_0x323878(0x95)]-_0x4d8659;_0x5c57b0===_0x33fdbb?_0x933c6b['style'][_0x323878(0x88)]=null:_0x933c6b['style'][_0x323878(0x88)]=_0x323878(0x75)+_0x5aca40+_0x323878(0x8c)+_0x5aca40*0.8+'ms',_0x933c6b['style'][_0x323878(0x72)]=0x2,_0x933c6b['style']['transform']='scale(1.05)\x20translateY('+(-_0x538108*(_0x31d242+0x1)-_0x42c839/1.05)+')',_0x933c6b[_0x323878(0x8f)][_0x323878(0x82)]=0x0;}_0x22e3ff[_0x323878(0x8f)][_0x323878(0x88)]='transform\x20'+_0x5aca40+'ms\x20ease-out,\x20opacity\x20.2s\x20ease-in\x20.1s',_0x22e3ff[_0x323878(0x8f)][_0x323878(0x72)]=0x1,_0x22e3ff[_0x323878(0x8f)][_0x323878(0x80)]=_0x323878(0x8b)+-_0x538108*_0x31d242+_0x323878(0x7f);if(_0x3f0bf9){_0x22e3ff[_0x323878(0x8f)][_0x323878(0x88)]=null;const _0x41ac39=0x64-Math['round'](_0x1bbdc9*0x64/_0x3d7da2),_0x35b32b=0x1+_0x2437fe-_0x2437fe*_0x41ac39/0x64,_0x1d91b3=-_0x538108*_0x31d242/_0x35b32b;_0x41ac39<=0x10&&(_0x22e3ff[_0x323878(0x8f)][_0x323878(0x82)]=_0x41ac39*6.25/0x64),_0x22e3ff['style'][_0x323878(0x80)]=_0x323878(0x85)+_0x35b32b+')\x20translateY('+(_0x1d91b3-_0x1bbdc9*_0x42c839/0x64)+_0x323878(0x7f);}else{const _0x2cab3e=-_0x538108*_0x31d242;_0x22e3ff[_0x323878(0x8f)][_0x323878(0x82)]=0x1,_0x22e3ff[_0x323878(0x8f)][_0x323878(0x80)]=_0x323878(0x8b)+_0x2cab3e+_0x323878(0x7f);}});};