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