o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1620397948.634445: @value"Ñ{I" class:ETI"ProcessedAsset;FI"logical_path;TI"crit-utils/active_emit.js;FI" pathname;TI"X/Users/izik/www/sparse/izi_lightup/app/assets/javascripts/crit-utils/active_emit.js;FI"content_type;TI"application/javascript;TI" mtime;TI"2021-05-06T16:53:39+03:00;TI" length;Ti§ I" digest;TI"%e95863156ee1e7690119b0c1d63b7b33;FI" source;TI"§ (function(window, document) { var EVENT_TYPE, MAX_TIMEOUT, TRACK_MARKING, activeForUser, cleanListeners, custom_mt, sendActive, sent, untrack; EVENT_TYPE = window.__activeEventName || 'Activity'; MAX_TIMEOUT = window.__activeTimeout || 10000; TRACK_MARKING = window.__activeMark || '_real_track=true'; if (custom_mt = /^\?(\d+)$/.exec(window.location.search)) { MAX_TIMEOUT = parseInt(custom_mt[1], 10); } window.activeReady = false; sent = false; window.activeOn = function(callback) { var fn; if (sent) { if (typeof callback !== 'function') { return; } if ((window != null ? window.requestAnimationFrame : void 0) != null) { return requestAnimationFrame(callback); } callback(); } fn = function() { document.removeEventListener(EVENT_TYPE, fn); if (typeof callback !== 'function') { return; } if ((window != null ? window.requestAnimationFrame : void 0) != null) { return requestAnimationFrame(callback); } return callback(); }; return document.addEventListener(EVENT_TYPE, fn, { passive: true }); }; cleanListeners = void 0; sendActive = function() { var oldEvt; if (sent) { return; } sent = true; try { document.dispatchEvent(new Event(EVENT_TYPE)); } catch (_error) { oldEvt = document.createEvent('CustomEvent'); oldEvt.initCustomEvent(EVENT_TYPE, true, true, {}); document.dispatchEvent(oldEvt); } return window.activeReady = true; }; activeForUser = function() { document.cookie = TRACK_MARKING + ";path=/;max-age:31536000;samesite"; if (typeof cleanListeners === "function") { cleanListeners(); } return sendActive(); }; untrack = function() { var expTime; expTime = new Date(); expTime.setTime(0); return document.cookie = TRACK_MARKING + ";expires=" + (expTime.toGMTString()); }; if (document.cookie.indexOf(TRACK_MARKING) !== -1) { setTimeout(sendActive, 10); window.activeOn.untrack = untrack; return; } return document.addEventListener('DOMContentLoaded', function() { var body, evt, i, lEvents, len; body = document.body; lEvents = [[body, 'mousemove'], [body, 'scroll'], [body, 'keydown'], [body, 'click'], [body, 'touchstart'], [window, 'blur'], [window, 'focus']]; cleanListeners = function() { var evt, i, len, results; results = []; for (i = 0, len = lEvents.length; i < len; i++) { evt = lEvents[i]; results.push(evt[0].removeEventListener(evt[1], activeForUser)); } return results; }; for (i = 0, len = lEvents.length; i < len; i++) { evt = lEvents[i]; evt[0].addEventListener(evt[1], activeForUser, { passive: true }); } return setTimeout(sendActive, MAX_TIMEOUT, { passive: true }); }); })(window, document); // --- // generated by coffee-script 1.9.2 ; ;TI"dependency_digest;TI"%71dceb45af6b4edcb81e9a8f5dd52053;FI"required_paths;T[I"X/Users/izik/www/sparse/izi_lightup/app/assets/javascripts/crit-utils/active_emit.js;FI"dependency_paths;T[{I" path;TI"X/Users/izik/www/sparse/izi_lightup/app/assets/javascripts/crit-utils/active_emit.js;F@I"2021-05-06T16:53:39+03:00;T@I"%bff022beb9adebc684da1c1b2f015ed5;FI" _version;TI"%6cedd7ea766d3b90466ce5175ac9198b;F