!function(a,b){"function"==typeof define&&define.amd?define([],function(){return a.kissuiPosition=b()}):a.kissuiPosition=b(a)}(this,function(){function a(a){if(a="Kissui.position: "+a,1!=n.safeMode)throw Error(a);console.log(a)}function b(){for(var a=document.querySelectorAll("*["+n.attribute+"]"),b=0;b-1&&(d=e>=0&&g>=0&&f<=l&&h<=m&&(d&&!0)),c.indexOf("out")>-1&&(d=(e+j<0||g+k<0||g>m||e>l)&&(d&&!0)),c.indexOf("top")>-1&&(d=0==e&&(d&&!0)),c.indexOf("left")>-1&&(d=0==g&&(d&&!0)),c.indexOf("right")>-1&&(d=h==m&&(d&&!0)),c.indexOf("bottom")>-1&&(d=f==l&&(d&&!0)),c.indexOf("middle")>-1&&(d=e+j/2==l/2&&(d&&!0)),c.indexOf("center")>-1&&(d=g+k/2==m/2&&(d&&!0)),d&&(a.getAttribute("id")&&i(a.getAttribute("id"),a),i(b,a),i("*",a,b))}function g(a){for(var b=0;b-1&&m[a].splice(c,1))},{_options:n,_elements:l,on:h,once:j,removeListener:_removeListener,init:k,positions:g,add:c,reset:d}}),function(a,b){"function"==typeof define&&define.amd?define(["kissuiPosition"],function(c){return a.kissuiScrollAnim=b(c)}):a.kissuiScrollAnim=b(a.kissuiPosition)}(this,function(a){function b(){i=[];for(var a=document.querySelectorAll("*["+h.attribute+"]"),b=0;b