File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/im/install/js/im/lib/cookie/dist/cookie.bundle.min.js
Back
this.BX=this.BX||{};this.BX.Messenger=this.BX.Messenger||{};(function(e,i){"use strict"; /** * Bitrix Im * Cookie manager * * @package bitrix * @subpackage im * @copyright 2001-2020 Bitrix */var o={get:function e(o,t){var n=o?o+"_"+t:t;if(navigator.cookieEnabled){var r=document.cookie.match(new RegExp("(?:^|; )"+n.replace(/([.$?*|{}()\[\]\\\/+^])/g,"\\$1")+"=([^;]*)"));if(r){return decodeURIComponent(r[1])}}if(i.LocalStorage.isEnabled()){var s=i.LocalStorage.get(o,0,t,undefined);if(typeof s!=="undefined"){return s}}if(typeof window.BX.GuestUserCookie==="undefined"){window.BX.GuestUserCookie={}}return window.BX.GuestUserCookie[n]},set:function e(o,t,n,r){r=r||{};var s=r.expires;if(typeof s=="number"&&s){var a=new Date;a.setTime(a.getTime()+s*1e3);s=r.expires=a}if(s&&s.toUTCString){r.expires=s.toUTCString()}n=encodeURIComponent(n);var u=o?o+"_"+t:t;var f=u+"="+n;for(var d in r){if(!r.hasOwnProperty(d)){continue}f+="; "+d;var c=r[d];if(c!==true){f+="="+c}}document.cookie=f;if(typeof window.BX.GuestUserCookie==="undefined"){BX.GuestUserCookie={}}window.BX.GuestUserCookie[u]=n;i.LocalStorage.set(o,0,t,n);return true}};e.Cookie=o})(this.BX.Messenger.Lib=this.BX.Messenger.Lib||{},BX.Messenger.Lib); //# sourceMappingURL=cookie.bundle.map.js
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings