LittleDemon WebShell


Linux hkvL61zh9Vexzf 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64
Path : /www/wwwroot/fashion-kingdom.com/wp-content/plugins/kitify/assets/js/addons/
File Upload :
Command :
Current File : /www/wwwroot/fashion-kingdom.com/wp-content/plugins/kitify/assets/js/addons/motion-fx.min.js

!function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=70)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=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}}();var i=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return o.document=n,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,elementorModules.Module),o(t,[{key:"getTimingSetting",value:function(e){return this.getSettings(this.getName()+"_"+e)}}]),t}();t.default=i},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=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}}();var i=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return o.callback=n,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,elementorModules.Module),o(t,[{key:"getTriggerSetting",value:function(e){return this.getSettings(this.getName()+"_"+e)}}]),t}();t.default=i},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=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}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,o)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(o):void 0};var r=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,elementorModules.ViewModule),o(t,[{key:"__construct",value:function(e){var t=this;this.motionFX=e.motionFX,this.runImmediately=this.run,this.run=function(){if(t.animationFrameRequest=requestAnimationFrame(t.run.bind(t)),"page"!==t.motionFX.getSettings("range")){var e=t.motionFX.getSettings("dimensions"),n=e.elementTop-pageYOffset,o=n-innerHeight,i=n+e.elementHeight;o<=0&&i>=0&&t.runImmediately()}else t.runImmediately()}}},{key:"runCallback",value:function(){this.getSettings("callback").apply(void 0,arguments)}},{key:"destroy",value:function(){cancelAnimationFrame(this.animationFrameRequest)}},{key:"onInit",value:function(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"onInit",this).call(this),this.run()}}]),t}();t.default=r},,,,,function(e,t,n){"use strict";var o=elementorModules.frontend.handlers.Base.extend({bindEvents:function(){elementorFrontend.addListenerOnce(this.getUniqueHandlerID()+"sticky","resize",this.run)},unbindEvents:function(){elementorFrontend.removeListeners(this.getUniqueHandlerID()+"sticky","resize",this.run)},isActiveSticky:function(){return void 0!==this.$element.data("sticky")},activate:function(){var e=this.getElementSettings(),t={to:e.sticky,offset:e.sticky_offset,effectsOffset:e.sticky_effects_offset,classes:{sticky:"elementor-sticky",stickyActive:"elementor-sticky--active elementor-section--handles-inside",stickyEffects:"elementor-sticky--effects",spacer:"elementor-sticky__spacer"}},n=elementorFrontend.elements.$wpAdminBar;e.sticky_parent&&(t.parent=".e-con, .elementor-widget-wrap"),n.length&&"top"===e.sticky&&"fixed"===n.css("position")&&(t.offset+=n.height()),this.$element.sticky(t)},deactivate:function(){this.isActiveSticky()&&this.$element.sticky("destroy")},run:function(e){if(this.getElementSettings("sticky")){var t=elementorFrontend.getCurrentDeviceMode();-1!==this.getElementSettings("sticky_on").indexOf(t)?!0===e?this.reactivate():this.isActiveSticky()||this.activate():this.deactivate()}else this.deactivate()},reactivate:function(){this.deactivate(),this.activate()},onElementChange:function(e){-1!==["sticky","sticky_on"].indexOf(e)&&this.run(!0),-1!==["sticky_offset","sticky_effects_offset","sticky_parent"].indexOf(e)&&this.reactivate()},onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.run()},onDestroy:function(){elementorModules.frontend.handlers.Base.prototype.onDestroy.apply(this,arguments),this.deactivate()}});e.exports=function(e){new o({$element:e})}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var o,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=function e(t,n,o){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,o)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(o):void 0},s=n(71),a=(o=s)&&o.__esModule?o:{default:o};var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,elementorModules.ViewModule),i(t,[{key:"onInit",value:function(){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"onInit",this).call(this),this.modules={}}},{key:"bindEvents",value:function(){jQuery(window).on("elementor/frontend/init",this.onElementorFrontendInit.bind(this))}},{key:"initModules",value:function(){var e=this,t={motionFX:a.default,sticky:n(77)};jQuery.each(t,(function(t,n){e.modules[t]=new n(jQuery)}))}},{key:"onElementorFrontendInit",value:function(){this.initModules()}}]),t}();window.elementorMotionFXFrontend=new u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,i=n(72),r=(o=i)&&o.__esModule?o:{default:o};var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e){e.closest(".elementor-kitify-advanced-carousel.elementor-element-edit-mode").length>0||elementorFrontend.elementsHandler.addHandler(r.default,{$element:e})})),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,elementorModules.Module),t}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,i="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},r=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}}(),s=function e(t,n,o){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,o)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(o):void 0},a=n(73),u=(o=a)&&o.__esModule?o:{default:o};var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,elementorModules.frontend.handlers.Base),r(t,[{key:"__construct",value:function(){for(var e,n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];(e=s(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"__construct",this)).call.apply(e,[this].concat(o)),this.toggle=elementorFrontend.debounce(this.toggle,200)}},{key:"bindEvents",value:function(){elementorFrontend.elements.$window.on("resize",this.toggle)}},{key:"unbindEvents",value:function(){elementorFrontend.elements.$window.off("resize",this.toggle)}},{key:"initEffects",value:function(){this.effects={translateY:{interaction:"scroll",actions:["translateY"]},translateX:{interaction:"scroll",actions:["translateX"]},rotateZ:{interaction:"scroll",actions:["rotateZ"]},scale:{interaction:"scroll",actions:["scale"]},opacity:{interaction:"scroll",actions:["opacity"]},blur:{interaction:"scroll",actions:["blur"]},mouseTrack:{interaction:"mouseMove",actions:["translateXY"]},tilt:{interaction:"mouseMove",actions:["tilt"]}}}},{key:"prepareOptions",value:function(e){var t=this,n=this.getElementSettings(),o="motion_fx"===e?"element":"background",r={};jQuery.each(n,(function(o,s){var a=new RegExp("^"+e+"_(.+?)_effect"),u=o.match(a);if(u&&s){var c={},l=u[1];jQuery.each(n,(function(t,n){var o=new RegExp(e+"_"+l+"_(.+)"),r=t.match(o);r&&("effect"!==r[1]&&("object"===(void 0===n?"undefined":i(n))&&(n=Object.keys(n.sizes).length?n.sizes:n.size),c[r[1]]=n))}));var f=t.effects[l],p=f.interaction;r[p]||(r[p]={}),f.actions.forEach((function(e){return r[p][e]=c}))}}));var s,a=this.$element,u=void 0,c=this.getElementType();"element"!==o||["section","container"].includes(c)||(u=a,s="column"===c?elementorFrontend.config.legacyMode.elementWrappers?".elementor-column-wrap":".elementor-widget-wrap":".elementor-widget-container",a=a.find("> "+s));var l={type:o,interactions:r,$element:a,$dimensionsElement:u,refreshDimensions:this.isEdit,range:n[e+"_range"],classes:{element:"elementor-motion-effects-element",parent:"elementor-motion-effects-parent",backgroundType:"elementor-motion-effects-element-type-background",container:"elementor-motion-effects-container",layer:"elementor-motion-effects-layer",perspective:"elementor-motion-effects-perspective"}};return l.range||"fixed"!==this.getCurrentDeviceSetting("_position")||(l.range="page"),"fixed"===this.getCurrentDeviceSetting("_position")&&(l.isFixedPosition=!0),"background"===o&&"column"===this.getElementType()&&(l.addBackgroundLayerTo=" > .elementor-element-populated"),l}},{key:"activate",value:function(e){var t=this.prepareOptions(e);jQuery.isEmptyObject(t.interactions)||(this[e]=new u.default(t))}},{key:"deactivate",value:function(e){this[e]&&(this[e].destroy(),delete this[e])}},{key:"toggle",value:function(){var e=this,t=elementorFrontend.getCurrentDeviceMode(),n=this.getElementSettings();["motion_fx","background_motion_fx"].forEach((function(o){var i=n[o+"_devices"];(!i||-1!==i.indexOf(t))&&(n[o+"_motion_fx_scrolling"]||n[o+"_motion_fx_mouse"])?e[o]?e.refreshInstance(o):e.activate(o):e.deactivate(o)}))}},{key:"refreshInstance",value:function(e){var t=this[e];if(t){var n=this.prepareOptions(e);t.setSettings(n),t.refresh()}}},{key:"onInit",value:function(){s(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"onInit",this).call(this),this.initEffects(),this.toggle()}},{key:"onElementChange",value:function(e){var t=this;if(/motion_fx_((scrolling)|(mouse)|(devices))$/.test(e))this.toggle();else{var n=e.match(".*?motion_fx");if(n){var o=n[0];this.refreshInstance(o),this[o]||this.activate(o)}/^_position/.test(e)&&["motion_fx","background_motion_fx"].forEach((function(e){t.refreshInstance(e)}))}}},{key:"onDestroy",value:function(){var e=this;s(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"onDestroy",this).call(this),["motion_fx","background_motion_fx"].forEach((function(t){e.deactivate(t)}))}}]),t}();t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=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}}(),i=function e(t,n,o){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,o)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(o):void 0},r=u(n(74)),s=u(n(75)),a=u(n(76));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,elementorModules.ViewModule),o(t,[{key:"getDefaultSettings",value:function(){return{type:"element",$element:null,$dimensionsElement:null,addBackgroundLayerTo:null,interactions:{},refreshDimensions:!1,range:"viewport",classes:{element:"motion-fx-element",parent:"motion-fx-parent",backgroundType:"motion-fx-element-type-background",container:"motion-fx-container",layer:"motion-fx-layer",perspective:"motion-fx-perspective"}}}},{key:"bindEvents",value:function(){this.onWindowResize=this.onWindowResize.bind(this),elementorFrontend.elements.$window.on("resize",this.onWindowResize)}},{key:"unbindEvents",value:function(){elementorFrontend.elements.$window.off("resize",this.onWindowResize)}},{key:"addBackgroundLayer",value:function(){var e=this.getSettings();this.elements.$motionFXContainer=jQuery("<div>",{class:e.classes.container}),this.elements.$motionFXLayer=jQuery("<div>",{class:e.classes.layer}),this.updateBackgroundLayerSize(),this.elements.$motionFXContainer.prepend(this.elements.$motionFXLayer),(e.addBackgroundLayerTo?this.$element.find(e.addBackgroundLayerTo):this.$element).prepend(this.elements.$motionFXContainer)}},{key:"removeBackgroundLayer",value:function(){this.elements.$motionFXContainer.remove()}},{key:"updateBackgroundLayerSize",value:function(){var e=this.getSettings(),t={x:0,y:0},n=e.interactions.mouseMove,o=e.interactions.scroll;n&&n.translateXY&&(t.x=10*n.translateXY.speed,t.y=10*n.translateXY.speed),o&&(o.translateX&&(t.x=10*o.translateX.speed),o.translateY&&(t.y=10*o.translateY.speed)),this.elements.$motionFXLayer.css({width:100+t.x+"%",height:100+t.y+"%"})}},{key:"defineDimensions",value:function(){var e=this.getSettings("$dimensionsElement")||this.$element,t=e.offset(),n={elementHeight:e.outerHeight(),elementWidth:e.outerWidth(),elementTop:t.top,elementLeft:t.left};n.elementRange=n.elementHeight+innerHeight,this.setSettings("dimensions",n),"background"===this.getSettings("type")&&this.defineBackgroundLayerDimensions()}},{key:"defineBackgroundLayerDimensions",value:function(){var e=this.getSettings("dimensions");e.layerHeight=this.elements.$motionFXLayer.height(),e.layerWidth=this.elements.$motionFXLayer.width(),e.movableX=e.layerWidth-e.elementWidth,e.movableY=e.layerHeight-e.elementHeight,this.setSettings("dimensions",e)}},{key:"initInteractionsTypes",value:function(){this.interactionsTypes={scroll:r.default,mouseMove:s.default}}},{key:"prepareSpecialActions",value:function(){var e=this.getSettings(),t=!(!e.interactions.mouseMove||!e.interactions.mouseMove.tilt);this.elements.$parent.toggleClass(e.classes.perspective,t)}},{key:"cleanSpecialActions",value:function(){var e=this.getSettings();this.elements.$parent.removeClass(e.classes.perspective)}},{key:"runInteractions",value:function(){var e=this,t=this.getSettings();this.prepareSpecialActions(),jQuery.each(t.interactions,(function(t,n){e.interactions[t]=new e.interactionsTypes[t]({motionFX:e,callback:function(){for(var t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];jQuery.each(n,(function(t,n){var i;return(i=e.actions).runAction.apply(i,[t,n].concat(o))}))}}),e.interactions[t].runImmediately()}))}},{key:"destroyInteractions",value:function(){this.cleanSpecialActions(),jQuery.each(this.interactions,(function(e,t){return t.destroy()})),this.interactions={}}},{key:"refresh",value:function(){this.actions.setSettings(this.getSettings()),"background"===this.getSettings("type")&&(this.updateBackgroundLayerSize(),this.defineBackgroundLayerDimensions()),this.actions.refresh(),this.destroyInteractions(),this.runInteractions()}},{key:"destroy",value:function(){this.destroyInteractions(),this.actions.refresh();var e=this.getSettings();this.$element.removeClass(e.classes.element),this.elements.$parent.removeClass(e.classes.parent),"background"===e.type&&(this.$element.removeClass(e.classes.backgroundType),this.removeBackgroundLayer())}},{key:"onInit",value:function(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"onInit",this).call(this);var e=this.getSettings();this.$element=e.$element,this.elements.$parent=this.$element.parent(),this.$element.addClass(e.classes.element),this.elements.$parent=this.$element.parent(),this.elements.$parent.addClass(e.classes.parent),"background"===e.type&&(this.$element.addClass(e.classes.backgroundType),this.addBackgroundLayer()),this.defineDimensions(),e.$targetElement="element"===e.type?this.$element:this.elements.$motionFXLayer,this.interactions={},this.actions=new a.default(e),this.initInteractionsTypes(),this.runInteractions()}},{key:"onWindowResize",value:function(){this.defineDimensions()}}]),t}();t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,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=n(5);var s=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"run",value:function(){if(pageYOffset===this.windowScrollTop)return!1;this.onScrollMovement(),this.windowScrollTop=pageYOffset}},{key:"onScrollMovement",value:function(){this.updateMotionFxDimensions(),this.updateAnimation()}},{key:"updateMotionFxDimensions",value:function(){this.motionFX.getSettings().refreshDimensions&&this.motionFX.defineDimensions()}},{key:"updateAnimation",value:function(){var e,t=this.motionFX.getSettings();if("page"===this.motionFX.getSettings("range"))e=document.documentElement.scrollTop/(document.body.scrollHeight-innerHeight)*100;else if(this.motionFX.getSettings("isFixedPosition"))e=elementorModules.utils.Scroll.getPageScrollPercentage({},window.innerHeight);else{var n=t.dimensions,o=n.elementTop-pageYOffset-innerHeight;e=100/n.elementRange*(-1*o)}this.runCallback(e)}}]),t}(((o=r)&&o.__esModule?o:{default:o}).default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,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=function e(t,n,o){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var r=Object.getPrototypeOf(t);return null===r?void 0:e(r,n,o)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(o):void 0},s=n(5);var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"bindEvents",value:function(){t.mouseTracked||(elementorFrontend.elements.$window.on("mousemove",t.updateMousePosition),t.mouseTracked=!0)}},{key:"run",value:function(){var e=t.mousePosition,n=this.oldMousePosition;if(n.x!==e.x||n.y!==e.y){this.oldMousePosition={x:e.x,y:e.y};var o=100/innerWidth*e.x,i=100/innerHeight*e.y;this.runCallback(o,i)}}},{key:"onInit",value:function(){this.oldMousePosition={},r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"onInit",this).call(this)}}]),t}(((o=s)&&o.__esModule?o:{default:o}).default);t.default=a,a.mousePosition={},a.updateMousePosition=function(e){a.mousePosition={x:e.clientX,y:e.clientY}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=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}}();var i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,elementorModules.Module),o(t,[{key:"getMovePointFromPassedPercents",value:function(e,t){return+(t/e*100).toFixed(2)}},{key:"getEffectValueFromMovePoint",value:function(e,t){return e*t/100}},{key:"getStep",value:function(e,t){return"element"===this.getSettings("type")?this.getElementStep(e,t):this.getBackgroundStep(e,t)}},{key:"getElementStep",value:function(e,t){return-(e-50)*t.speed}},{key:"getBackgroundStep",value:function(e,t){var n=this.getSettings("dimensions.movable"+t.axis.toUpperCase());return-this.getEffectValueFromMovePoint(n,e)}},{key:"getDirectionMovePoint",value:function(e,t,n){var o=void 0;return e<n.start?"out-in"===t?o=0:"in-out"===t?o=100:(o=this.getMovePointFromPassedPercents(n.start,e),"in-out-in"===t&&(o=100-o)):e<n.end?"in-out-in"===t?o=0:"out-in-out"===t?o=100:(o=this.getMovePointFromPassedPercents(n.end-n.start,e-n.start),"in-out"===t&&(o=100-o)):"in-out"===t?o=0:"out-in"===t?o=100:(o=this.getMovePointFromPassedPercents(100-n.end,100-e),"in-out-in"===t&&(o=100-o)),o}},{key:"translateX",value:function(e,t){e.axis="x",e.unit="px",this.transform("translateX",t,e)}},{key:"translateY",value:function(e,t){e.axis="y",e.unit="px",this.transform("translateY",t,e)}},{key:"translateXY",value:function(e,t,n){this.translateX(e,t),this.translateY(e,n)}},{key:"tilt",value:function(e,t,n){var o={speed:e.speed/10,direction:e.direction};this.rotateX(o,n),this.rotateY(o,100-t)}},{key:"rotateX",value:function(e,t){e.axis="x",e.unit="deg",this.transform("rotateX",t,e)}},{key:"rotateY",value:function(e,t){e.axis="y",e.unit="deg",this.transform("rotateY",t,e)}},{key:"rotateZ",value:function(e,t){e.unit="deg",this.transform("rotateZ",t,e)}},{key:"scale",value:function(e,t){var n=this.getDirectionMovePoint(t,e.direction,e.range);this.updateRulePart("transform","scale",1+e.speed*n/1e3)}},{key:"transform",value:function(e,t,n){n.direction&&(t=100-t),this.updateRulePart("transform",e,this.getStep(t,n)+n.unit)}},{key:"opacity",value:function(e,t){var n=this.getDirectionMovePoint(t,e.direction,e.range),o=e.level/10,i=1-o+this.getEffectValueFromMovePoint(o,n);this.$element.css("opacity",i)}},{key:"blur",value:function(e,t){var n=this.getDirectionMovePoint(t,e.direction,e.range),o=e.level-this.getEffectValueFromMovePoint(e.level,n);this.updateRulePart("filter","blur",o+"px")}},{key:"updateRulePart",value:function(e,t,n){this.rulesVariables[e]||(this.rulesVariables[e]={}),this.rulesVariables[e][t]||(this.rulesVariables[e][t]=!0,this.updateRule(e));var o="--"+t;this.$element[0].style.setProperty(o,n)}},{key:"updateRule",value:function(e){var t="";jQuery.each(this.rulesVariables[e],(function(e){t+=e+"(var(--"+e+"))"})),this.$element.css(e,t)}},{key:"runAction",value:function(e,t,n){t.affectedRange&&(t.affectedRange.start>n&&(n=t.affectedRange.start),t.affectedRange.end<n&&(n=t.affectedRange.end));for(var o=arguments.length,i=Array(o>3?o-3:0),r=3;r<o;r++)i[r-3]=arguments[r];this[e].apply(this,[t,n].concat(i))}},{key:"refresh",value:function(){this.rulesVariables={},this.$element.css({transform:"",filter:"",opacity:""})}},{key:"onInit",value:function(){this.$element=this.getSettings("$targetElement"),this.refresh()}}]),t}();t.default=i},function(e,t,n){"use strict";e.exports=function(){elementorFrontend.hooks.addAction("frontend/element_ready/section",n(10)),elementorFrontend.hooks.addAction("frontend/element_ready/widget",n(10)),elementorFrontend.hooks.addAction("frontend/element_ready/container",n(10))}}]);

LittleDemon - FACEBOOK
[ KELUAR ]