o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1620397948.656234: @value"¸{I" class:ETI"BundledAsset;FI"logical_path;TI"crit-utils/bundle.js;TI" pathname;TI"S/Users/izik/www/sparse/izi_lightup/app/assets/javascripts/crit-utils/bundle.js;FI"content_type;TI"application/javascript;TI" mtime;TI"2021-05-06T16:53:39+03:00;TI" length;TiÑI" digest;TI"%fb836ce008fff6d8bbe38ddc537591f1;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 ; (function(window, document) { var _buildSubscriptions, _onload, _subscribe; window.__required || (window.__required = {}); _onload = function(id) { var callback, callbacks, results; if (typeof __required[id] === 'undefined' || __required[id].loaded) { return; } __required[id].loaded = true; callbacks = __required[id].callbacks; if (!Array.isArray(callbacks)) { return; } results = []; while (callbacks.length > 0) { callback = callbacks.shift(); if (typeof callback === 'function') { results.push(callback.call(window, __required[id])); } else { results.push(void 0); } } return results; }; _buildSubscriptions = function(id, node) { var callback, data; data = __required[id]; if (data.loaded) { return; } callback = node.onload; node.onload = function() { return _onload(id); }; if (typeof node.addEventListener === 'function') { node.addEventListener('load', function() { return _onload(id); }); } if (typeof node.attachEvent === 'function') { node.attachEvent('load', function() { return _onload(id); }); } if (typeof callback === 'function') { return data.callbacks.push(callback); } }; _subscribe = function(id, callback) { var data; if (typeof __required[id] === 'undefined') { return; } data = __required[id]; if (data.loaded) { return setTimeout(callback, 0); } if (typeof callback === 'function') { return data.callbacks.push(callback); } }; window.miniRequire || (window.miniRequire = function(key, source_url, callback) { var id, src; if (callback == null) { callback = void 0; } key || (key = Math.random().toString(36).slice(2, 12)); id = "source_" + (key.replace(/[^a-z0-9_\-]+/ig, '_')); __required[id] || (__required[id] = { loaded: false, callbacks: [], started: false }); if (!((source_url != null ? source_url.length : void 0) > 0)) { return _subscribe(id, callback); } if (__required[id].started) { return _subscribe(id, callback); } __required[id].started = true; src = document.createElement('script'); src.id = id; src.async = true; src.defer = true; src.src = source_url; __required[id].node = src; _buildSubscriptions(id, src); _subscribe(id, callback); document.body.appendChild(src); return true; }); return window.miniPreload || (window.miniPreload = function(params, callback) { var id, key, source_url, src; if (callback == null) { callback = void 0; } key = params.key || Math.random().toString(36).slice(2, 12); callback || (callback = params.callback); source_url = params.src; id = "source_" + (key.replace(/[^a-z0-9_\-]+/ig, '_')); __required[id] || (__required[id] = { loaded: false, callbacks: [], started: false }); if (!((source_url != null ? source_url.length : void 0) > 0)) { return _subscribe(id, callback); } if (__required[id].started) { return _subscribe(id, callback); } __required[id].started = true; src = document.createElement('link'); src.id = id; src.rel = 'preload'; src.href = source_url; src.as = params.as || 'style'; __required[id].node = src; _buildSubscriptions(id, src); _subscribe(id, callback); document.head.appendChild(src); return true; }); })(window, document); (function(window) { window.waitFor || (window.waitFor = function(key, deepCheck, interval) { return function(callback) { var _called, _timer, checker; _timer = null; _called = false; setTimeout((function() { if (!_called) { return console.warn("not loaded component [" + key + "] in " + waitFor.timeout, typeof window[key]); } }), waitFor.timeout); checker = function() { if (_called || typeof window[key] === 'undefined') { return; } if (typeof deepCheck === 'function') { if (!deepCheck.call(window[key])) { return; } } clearInterval(_timer); _called = true; if (typeof callback !== 'function') { return; } return callback.call(window[key], window[key]); }; _timer = setInterval(checker, interval || waitFor.tick); checker(); return null; }; }); window.waitFor.timeout = waitFor.timeout || 30000; window.waitFor.tick = waitFor.tick || 100; })(window); ;TI"required_assets_digest;TI"%05037d25bb566535671836cb7ed587a7;FI" _version;TI"%6cedd7ea766d3b90466ce5175ac9198b;F