text: "use strict";function _typeof(t){return t&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t}function _classCallCheck(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}!function(){function t(t,n){if("string"==typeof t){if(n&&n.constructor===e){var r=n.elms[0];if(!r)return[];n=r}return n=n||document,n.querySelectorAll(t)}return[t]}function n(r,o){return"function"==typeof r?n(window).on("DOMContentLoaded",r):new e(t(r,o)||[])}var e=function r(t){_classCallCheck(this,r),this.elms=t,this.length=this.elms.length};e.prototype.each=function(t){for(var n=this.elms,e=0;e<n.length;++e)t(n[e],e);return this},e.prototype.on=function(t,n){return this.each(function(e){return e.addEventListener(t,n)})},e.prototype.click=function(){return this.each(function(t){return t.click()})},e.prototype.off=function(t,n){return this.each(function(e){return e.removeEventListener(t,n)})},e.prototype.css=function(t,n){return this.each(function(e){return e.style[t]=n})},e.prototype.hide=function(){return this.css("display","none")},e.prototype.show=function(){return this.css("display","block")},e.prototype.addClass=function(){var t=arguments;return this.each(function(n){return n.classList.add.apply(n.classList,t)})},e.prototype.removeClass=function(){var t=arguments;return this.each(function(n){return n.classList.remove.apply(n.classList,t)})},e.prototype.toggleClass=function(){var t=arguments;return this.each(function(n){return n.classList.toggle.apply(n.classList,t)})},e.prototype.attr=function(t,n){return this.each(function(e){return e.setAttribute(t,n)})},e.prototype.removeAttr=function(t){return this.each(function(n){return n.removeAttribute(t,value)})},e.prototype.text=function o(o){return this.each(function(t){return t.textContent=o})},e.prototype.html=function u(u){return this.each(function(t){return t.innerHTML=u})},e.prototype.eq=function(t){var n=this.constructor;return new n([this.elms[t]])},e.prototype.remove=function(){return this.each(function(t){return t.remove()})},e.prototype.focus=function(){return this.elms[0].focus(),this},e.prototype.val=function(){return this.elms[0].value},e.prototype.trigger=function(t,n){return"string"==typeof t&&(t=new CustomEvent(t,{detail:n})),this.each(function(n){return n.dispatchEvent(t)})},n.fn=e.prototype,"object"===("undefined"==typeof module?"undefined":_typeof(module))?module.exports=n:window.$=n}();