芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/lupusm.pulsehost.co.uk/wp-content/plugins/uicore-animate/assets/js/split.js
function _typeof(e){return(_typeof="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})(e)}function _readOnlyError(e){throw new TypeError('"'+e+'" is read-only')}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n
{function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,elementorModules.frontend.handlers.Base),_createClass(e,[{key:"bindEvents",value:function(){var e=this;"ui-split-animate"===this.getElementSettings("ui_animate_split")&&(jQuery(this.$element).css("opacity",0),elementorFrontend.isEditMode()?(this.unsplit(),setTimeout(function(){e.split()},20),setTimeout(function(){e.animate()},80)):(this.split(),this.animate()))}},{key:"isMarkupOptimized",value:function(){var e=elementorFrontend.config.experimentalFeatures.e_optimized_markup;return 0
*:not(style):not(.ui-e-highlight-icon):not(.ui-e-highlight-image)")):this.$element.find("*:not(style):not(.ui-e-highlight-icon):not(.ui-e-highlight-image)"),n=(0==i.length&&((this.isMarkupOptimized?this.$element:this.$element.find(n)).wrapInner('
'),i=this.isMarkupOptimized?this.$element.find("*:not(style)"):this.$element.find("".concat(n," > *:not(style)"))),this.getElementSettings("ui_animate_split_style"));-1!==n.indexOf("cut")&&(n=n.replace(" cut",""),i.addClass("ui-e-cut"),e=!0),Splitting({target:i,by:t,key:"ui-",isCut:e}),i.addClass("ui-e-"+n)}},{key:"unsplit",value:function(){var e="*:not(style)",t=this.isMarkupOptimized(!0),t=(this.isMarkupOptimized?this.$element.find("".concat(t," > ").concat(e)):this.$element.find("".concat(e)))[0],e=t.innerHTML;t&&t.classList.contains("splitting")&&(t.innerHTML=e.replace(/
(\s)<\/span>/g,"$1").replace(/
(\S+)<\/span>/g,"$1").replace(/ aria-hidden="true"/g,"").replace(/
(\S+)<\/span>/g,"$2"),t.classList.remove("splitting"))}},{key:"animate",value:function(){var n=this,i=jQuery(this.$element),r=this.getElementSettings("ui_animate_split_style"),o=this.$element.find("."+this.get_split(!1)),s=this.$element.find(".elementor-widget-container > *:not(style)");o.removeClass(r),s.addClass("ui-e-"+r),new IntersectionObserver(function(e,t){e.forEach(function(e){e.isIntersecting&&(i.css("opacity",1),setTimeout(function(){s.removeClass("ui-e-"+r)},100),o.addClass("ui-e-animated"),o.addClass(r),t.unobserve(n.$element[0]))})},{rootMargin:"0px 0px -10% 0px"}).observe(this.$element[0]),setTimeout(function(){jQuery(n.$element).removeClass("elementor-invisible")},1)}},{key:"get_split",value:function(){var e=!(0