this&&this[c]===a)returnc;return-1},a=function(a,c){this.name=a;this.code=DOMException[a];this.message=c},c=function(c,e){if(e==="")thrownewa("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(e))thrownewa("INVALID_CHARACTER_ERR","String contains an invalid character");returnb.call(c,e)},e=function(a){for(varc=d.call(a.className),c=c?c.split(/\s+/):[],b=0,e=c.length;b<e;b++)this.push(c[b]);this._updateClassName=function(){a.className=this.toString()}},i=e.prototype=[],
(function(){functionf(b,a,c){vare,d;if(typeofb.hasAttribute!=="undefined")b.hasAttribute(a)&&(e=b.getAttribute(a)),d=true;elseif(typeofb[a]!=="undefined")e=b[a],d=false;elseif(a==="class"&&typeofb.className!=="undefined")a="className",e=b.className,d=false;if(typeofe==="undefined"&&(typeofc==="undefined"||c===null))console.log(c),console.log(b),console.log("Element does not have the selected attribute");else{if(typeofc==="undefined")returne;typeofc!=="undefined"&&c!==null?d===true?b.setAttribute(a,
b.style[e[a]]=c:console.log("Property "+a+" nor an equivalent seems to exist")}$_.ext("dom",{addClass:function(b){$_.each(function(a){a.classList.add(b)})},removeClass:function(b){$_.each(function(a){a.classList.remove(b)})},hide:function(){this.css("display","none")},show:function(b){typeofb==="undefined"&&(b="block");this.css("display",b)},attr:function(b,a){varc=this.el;if(c.length>1&&typeofa==="undefined")console.log(c),console.log("Must be a singular element");elseif(c.length>1&&typeofa!==
e=0;$_.type(d)!=="array"&&(d=this.object_values(d));$_.type(b)!=="array"&&(b=this.object_values(b));c=d.length;if(c!==b.length)returnconsole.log("Object combine requires two arrays of the same size"),false;for(e=0;e<c;e++)a[d[e]]=b[e];returna},object_merge:function(){vard=Array.prototype.slice.call(arguments),b=d.length,a={},c,e=0,f,h,g;c=true;for(f=0;f<b;f++)if($_.type(d[f])!=="array"){c=false;break}if(c){a=[];for(f=0;f<b;f++)a=a.contact(d[f]);returna}for(f=0,g=0;f<b;f++)if(c=d[f],$_.type(c)==
[],a.listeners[c].push({callback:b,_listener:d})):console.log("Failed to _attach event:"+c+" on "+a)},g=function(a,c,b){if(typeofa.detachEvent!=="undefined"){vard=a.KIS_0_5_0;if(d&&d.listeners&&d.listeners[c])for(varf=d.listeners[c],g=f.length,j=0;j<g;j++)if(f[j].callback===b){a.detachEvent("on"+c,f[j]._listener);f.splice(j,1);f.length===0&&deleted.listeners[c];break}}});d=function(a,c,b,i){varh,k;if(typeofa==="undefined")returnconsole.log(arguments),console.log(c),false;if(c.match(/^([\w\-]+)$/))i===