"use strict";function _asyncToGenerator(n){return function(){var e=n.apply(this,arguments);return new Promise(function(n,a){return function t(i,r){try{var o=e[i](r),u=o.value}catch(n){return void a(n)}if(!o.done)return Promise.resolve(u).then(function(n){t("next",n)},function(n){t("throw",n)});n(u)}("next")})}}drill.define(function(){var n=_asyncToGenerator(regeneratorRuntime.mark(function n(e){var a;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return a={runEleAnime:function(n,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.animateIn){n.addClass(e.animateIn);var t=e.animateInTime,i=e.animateInDelay;a.noDelay&&(i=0),a.noAnime?n.css({"animation-duration":"0s"}):n.css({"animation-duration":t+"s","animation-delay":i+"s","animation-fill-mode":"both"}),n.css("opacity","")}},runPageAnime:function(n){n.children().each(function(n,e){var t=$(e).find(".p_ele");if(t.length){var i=e.eleData;a.runEleAnime(t,i)}})},clearPageAnime:function(n){n.children().each(function(n,e){var a=$(e).find(".p_ele");if(a.length){var t=e.eleData;t.animateIn&&(a.removeClass(t.animateIn),a.css({"animation-duration":"","animation-delay":"","animation-fill-mode":""}),a.css("opacity","0"))}})}},n.abrupt("return",a);case 2:case"end":return n.stop()}},n,void 0)}));return function(e){return n.apply(this,arguments)}}());