Sha256: ff36a7b519160e42ecca79e5e82e210b039ab5babc30193b89d22cb8065fb11b

Contents?: true

Size: 1.44 KB

Versions: 4

Compression:

Stored size: 1.44 KB

Contents

!function(o,a){function c(e){return"function"==typeof e}function n(){if(!l){l=!0;try{a.dispatchEvent(new Event(v))}catch(e){jQuery&&jQuery.Event&&$(a).trigger(new jQuery.Event(v))}o.activeReady=!0}}function i(e){return"body"==e?a.body:o}function t(){for(var e=0,t=s.length;e<t;e++)i(s[e][0]).removeEventListener(s[e][1],u)}function r(){for(var e=0,t=s.length;e<t;e++)i(s[e][0]).addEventListener(s[e][1],u,m);setTimeout(n,d)}function u(){a.cookie=f+";path=/;max-age:31536000;samesite",c(t)&&t(),n()}function e(){if(-1!==a.cookie.indexOf(f))return setTimeout(n,10);a.addEventListener("DOMContentLoaded",r)}var v,d,f,s,m,y;v=o.__activeEventName||"Activity",d=o.__activeTimeout||1e4,f=o.__activeMark||"_real_track=true",s=[["body","mousemove"],["body","scroll"],["body","keydown"],["body","click"],["body","touchstart"],["window","blur"],["window","focus"]],m={passive:!0},(y=/^\?(\d+)$/.exec(location.search))&&(d=parseInt(y[1],10));var l=o.activeReady=!1;o.activeOn=function(e,t){function n(){if(c(e))return c(o.requestIdleCallback)&&t?requestIdleCallback(e):t?setTimeout(e,50):c(o.requestAnimationFrame)?requestAnimationFrame(e):void e()}function i(){a.removeEventListener(v,i),n()}if("boolean"!=typeof t&&(t=!1),l)return n();a.addEventListener(v,i,m)},o.activeOn.untrack=function(){a.cookie=f+";path=/;expires=Thu, 01 Jan 1970 00:00:00 GMT"},o.activeOn.$$mock=function(e){t(),activeOn.untrack(),o.activeReady=!1,d=o.__activeTimeout||d,l=!1,r(),c(e)&&e()},e()}(window,document);

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
izi_lightup-1.0.26 app/assets/javascripts/crit-utils/active_emit.min.js
izi_lightup-1.0.25 app/assets/javascripts/crit-utils/active_emit.min.js
izi_lightup-1.0.24 app/assets/javascripts/crit-utils/active_emit.min.js
izi_lightup-1.0.23 app/assets/javascripts/crit-utils/active_emit.min.js