Файловый менеджер - Редактировать - /home/adiggxhn/it-latam.com/wp-content/plugins/uicore-elements/assets/js/elements/icon-box.js
Ðазад
"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,_toPropertyKey(o.key),o)}}function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function _toPropertyKey(t){t=_toPrimitive(t,"string");return"symbol"==_typeof(t)?t:t+""}function _toPrimitive(t,e){if("object"!=_typeof(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0===n)return("string"===e?String:Number)(t);n=n.call(t,e||"default");if("object"!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}function _callSuper(t,e,n){return e=_getPrototypeOf(e),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(e,n||[],_getPrototypeOf(t).constructor):e.apply(t,n))}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}window.addEventListener("DOMContentLoaded",function(){var e=function(){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,elementorModules.frontend.handlers.Base),_createClass(t,[{key:"animate",value:function(){var t,e,n,o,r,i,s,u,a,c,l,f,p=this,d="ui-e-animation-description-show"==this.getElementSettings("description_animation"),y="ui-e-animation-rm-show"==this.getElementSettings("readmore_animation"),m="top"==this.getElementSettings("position")||"yes"==this.getElementSettings("icon_inline");(d||y)&&(e=(t=this.$element.find(".ui-e-ico-box")).find(".ui-e-box-content"),n=t.find(".ui-e-flex-wrp"),o=t.find(".ui-e-description"),r=t.find(".ui-e-title-wrp"),i=t.find(".ui-e-readmore"),c=this.getElementSettings("content_padding"),u=s=f=0,a=c.top?parseFloat(c.top):0,c=c.bottom?parseFloat(c.bottom):0,l=i.length?i.outerHeight(!0):0,f=m?n.outerHeight()+e.outerHeight(!0)+a+c:r.outerHeight(!0)+l+a+c,d?s+=o.outerHeight(!0):o&&(u=o.outerHeight(!0),s+=o.outerHeight(!0),f+=o.outerHeight(!0),m)&&n.css("transform","translate3d(0, -"+u+"px, 0)"),y?(s+=l,0==m&&(u=o.outerHeight(!0),s=o.outerHeight(!0)+l,r.css("transform","translate3d(0, -"+u+"px, 0)"))):i&&(s+=u=l,n.css("transform","translate3d(0, -"+u+"px, 0)")),t.css("min-height",f+"px"),t.css("--ui-e-ico-box-translate",-l+"px"),this.$element.on("pointerenter touchmove",function(){p.$element.addClass("ui-e-hovered"),(m?n:r).css("transform","translate3d(0, -"+s+"px, 0)"),y&&setTimeout(function(){i.css("transition-delay","0s")},450)}),this.$element.on("pointerleave touchend",function(){p.$element.removeClass("ui-e-hovered"),(m?n:r).css("transform","translate3d(0, -"+u+"px, 0)"),y&&i.css("transition-delay","")}))}},{key:"onElementChange",value:function(){var t=this;clearTimeout(this.timeout),this.timeout=setTimeout(function(){t.animate()},1500)}},{key:"bindEvents",value:function(){this.animate()}}])}();jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/uicore-icon-box.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})});
| ver. 1.1 | |
.
| PHP 8.4.20 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка