PageSourceSearch

https://www.oborniki.pl/wp-content/plugins/nextgen-gallery/static/Legacy/ajax.min.js?ver=4.4.1

js oborniki.pl collected 2026-09-24 09:53:59 UTC 2,782 bytes, 53 lines download raw bytes

1// TODO: This file can be removed once the minimum Pro API version is 4.0
2EasyCookie=(function(){var EPOCH='Thu, 01-Jan-1970 00:00:01 GMT',RATIO=1000*60*60*24,KEYS=['expires','path','domain'],esc=escape,un=unescape,doc=document,me;var get_now=function(){var r=new Date();r.setTime(r.getTime());return r;}
3    var cookify=function(c_key,c_val){var i,key,val,r=[],opt=(arguments.length>2)?arguments[2]:{};r.push(esc(c_key)+'='+esc(c_val));for(i=0;i<KEYS.length;i++){key=KEYS[i];if(val=opt[key])
4        r.push(key+'='+val);}
5        if(opt.secure)
6            r.push('secure');return r.join('; ');}
7    var alive=function(){var k='__EC_TEST__',v=new Date();v=v.toGMTString();this.set(k,v);this.enabled=(this.remove(k)==v);return this.enabled;}
8    me={set:function(key,val){var opt=(arguments.length>2)?arguments[2]:{},now=get_now(),expire_at,cfg={};if(opt.expires){opt.expires*=RATIO;cfg.expires=new Date(now.getTime()+opt.expires);cfg.expires=cfg.expires.toGMTString();}
9        var keys=['path','domain','secure'];for(i=0;i<keys.length;i++)
10            if(opt[keys[i]])
11                cfg[keys[i]]=opt[keys[i]];var r=cookify(key,val,cfg);doc.cookie=r;return val;},has:function(key){key=esc(key);var c=doc.cookie,ofs=c.indexOf(key+'='),len=ofs+key.length+1,sub=c.substring(0,key.length);return((!ofs&&key!=sub)||ofs<0)?false:true;},get:function(key){key=esc(key);var c=doc.cookie,ofs=c.indexOf(key+'='),len=ofs+key.length+1,sub=c.substring(0,key.length),end;if((!ofs&&key!=sub)||ofs<0)
12        return null;end=c.indexOf(';',len);if(end<0)
13        end=c.length;return un(c.substring(len,end));},remove:function(k){var r=me.get(k),opt={expires:EPOCH};doc.cookie=cookify(k,'',opt);return r;},keys:function(){var c=doc.cookie,ps=c.split('; '),i,p,r=[];for(i=0;i<ps.length;i++){p=ps[i].split('=');r.push(un(p[0]));}
14        return r;},all:function(){var c=doc.cookie,ps=c.split('; '),i,p,r=[];for(i=0;i<ps.length;i++){p=ps[i].split('=');r.push([un(p[0]),un(p[1])]);}
15        return r;},version:'0.2.1',enabled:false};me.enabled=alive.call(me);return me;}());
16
17window.Ngg_Store = {
18
19    get: function(key){
20        return EasyCookie.get(key);
21    },
22
23    set: function(key, value){
24        if (typeof(value) == 'object') {
25            value = JSON.stringify(value);
26        }
27        return EasyCookie.set(key, value, {
28            expires: 10,
29            path: '/',
30            secure: false
31        });
32    },
33
34    del: function(key){
35        EasyCookie.remove(key);
36        return !this.has(key);
37    },
38
39    has: function(key){
40        var value = this.get(key);
41        return typeof(value) != 'undefined' && value != null;
42    },
43
44    save: function(){
45        return true;
46    }
47};
48
49jQuery(function($){
50    $(window).on('unload', function(){
51        Ngg_Store.save();
52    })
53});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.