Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/landing/cache/ |
Upload File : |
(function(){"use strict";BX.namespace("BX.Landing");var n=BX.Landing.Utils.isFunction;BX.Landing.Cache=function(){this.store=[]};BX.Landing.Cache.globalStore={};BX.Landing.Cache.get=function(t,i){if(t in BX.Landing.Cache.globalStore){return BX.Landing.Cache.globalStore[t]}if(n(i)){return i()}return i};BX.Landing.Cache.set=function(n,t){BX.Landing.Cache.globalStore[n]=t};BX.Landing.Cache.has=function(n){return n in BX.Landing.Cache.globalStore};BX.Landing.Cache.prototype={add:function(n,t){if(!this.has(n)){this.store.push(new BX.Landing.Cache.Entry(n,t))}},set:function(n,t){this.store=this.store.filter(function(t){return!t.has(n)});this.add(n,t)},has:function(n){return this.store.some(function(t){return t.has(n)})},get:function(n){var t=this.store.find(function(t){return t.has(n)});if(t){return t.value}return null},clear:function(){this.store=[]}}})();