PageSourceSearch

https://www.dublinchristmasflea.ie/wp-content/plugins/nextgen-gall…/modules/ajax/static/ajax.min_ver-4.3.17.js

js dublinchristmasflea.ie collected 2026-10-04 19:13:02 UTC 2,691 bytes, 54 lines download raw bytes

1EasyCookie=(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;}
2    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])
3        r.push(key+'='+val);}
4        if(opt.secure)
5            r.push('secure');return r.join('; ');}
6    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;}
7    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();}
8        var keys=['path','domain','secure'];for(i=0;i<keys.length;i++)
9            if(opt[keys[i]])
10                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)
11        return null;end=c.indexOf(';',len);if(end<0)
12        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]));}
13        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])]);}
14        return r;},version:'0.2.1',enabled:false};me.enabled=alive.call(me);return me;}());
15
16window.Ngg_Store = {
17
18    get: function(key){
19        return EasyCookie.get(key);
20    },
21
22    set: function(key, value){
23        if (typeof(value) == 'object') {
24            value = JSON.stringify(value);
25        }
26        return EasyCookie.set(key, value, {
27            expires: 10,
28            path: '/',
29            secure: false
30        });
31    },
32
33    del: function(key){
34        EasyCookie.remove(key);
35        return !this.has(key);
36    },
37
38    has: function(key){
39        var value = this.get(key);
40        return typeof(value) != 'undefined' && value != null;
41    },
42
43    save: function(){
44        return true;
45    }
46};
47
48jQuery(function($){
49
50$(window).unload(function(){
51    Ngg_Store.save();
52})
53
54});

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.