PageSourceSearch

https://lanzaroteinvestments.com/cookies.js

js lanzaroteinvestments.com collected 2026-10-06 03:59:24 UTC 13,784 bytes, 294 lines download raw bytes

1!(function (e) {
2    "use strict";
3    var t = e,
4        i = t.document,
5        o = "cbinstance";
6    var n = {
7            get: function (e) {
8                return decodeURIComponent(i.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent(e).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null;
9            },
10            set: function (e, t, o, n, s, r) {
11                if (!e || /^(?:expires|max\-age|path|domain|secure)$/i.test(e)) return !1;
12                var a = "";
13                if (o)
14                    switch (o.constructor) {
15                        case Number:
16                            a = o === 1 / 0 ? "; expires=Fri, 31 Dec 9999 23:59:59 GMT" : "; max-age=" + o;
17                            break;
18                        case String:
19                            a = "; expires=" + o;
20                            break;
21                        case Date:
22                            a = "; expires=" + o.toUTCString();
23                    }
24                return (i.cookie = encodeURIComponent(e) + "=" + encodeURIComponent(t) + a + (s ? "; domain=" + s : "") + (n ? "; path=" + n : "") + (r ? "; secure" : "")), !0;
25            },
26            has: function (e) {
27                return new RegExp("(?:^|;\\s*)" + encodeURIComponent(e).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=").test(i.cookie);
28            },
29            remove: function (e, t, o) {
30                return !(!e || !this.has(e)) && ((i.cookie = encodeURIComponent(e) + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT" + (o ? "; domain=" + o : "") + (t ? "; path=" + t : "")), !0);
31            },
32        },
33        s = {
34            merge: function () {
35                var e,
36                    t = {},
37                    i = 0,
38                    o = arguments.length;
39                if (0 === o) return t;
40                for (; i < o; i++) for (e in arguments[i]) Object.prototype.hasOwnProperty.call(arguments[i], e) && (t[e] = arguments[i][e]);
41                return t;
42            },
43            str2bool: function (e) {
44                switch ((e = "" + e).toLowerCase()) {
45                    case "false":
46                    case "no":
47                    case "0":
48                    case "":
49                        return !1;
50                    default:
51                        return !0;
52                }
53            },
54            fade_in: function (e) {
55                e.style.opacity < 1 &&
56                    ((e.style.opacity = (parseFloat(e.style.opacity) + 0.05).toFixed(2)),
57                    t.setTimeout(function () {
58                        s.fade_in(e);
59                    }, 50));
60            },
61            get_data_attribs: function (e) {
62                var t = {};
63                if (Object.prototype.hasOwnProperty.call(e, "dataset")) t = e.dataset;
64                else {
65                    var i,
66                        o = e.attributes;
67                    for (i in o)
68                        if (Object.prototype.hasOwnProperty.call(o, i)) {
69                            var n = o[i];
70                            if (/^data-/.test(n.name)) t[s.camelize(n.name.substr(5))] = n.value;
71                        }
72                }
73                return t;
74            },
75            normalize_keys: function (e) {
76                var t = {};
77                for (var i in e)
78                    if (Object.prototype.hasOwnProperty.call(e, i)) {
79                        var o = s.camelize(i);
80                        t[o] = e[o] ? e[o] : e[i];
81                    }
82                return t;
83            },
84            camelize: function (e) {
85                for (var t = "-", i = e.indexOf(t); -1 != i; ) {
86                    var o = i === e.length - 1,
87                        n = o ? "" : e[i + 1],
88                        s = n.toUpperCase(),
89                        r = o ? t : t + n;
90                    i = (e = e.replace(r, s)).indexOf(t);
91                }
92                return e;
93            },
94            find_script_by_id: function (e) {
95                for (var t = i.getElementsByTagName("script"), o = 0, n = t.length; o < n; o++) if (e === t[o].id) return t[o];
96                return null;
97            },
98        },
99        r = s.find_script_by_id("cookieinfo"),
100        a = (e.cookieinfo = function (e) {
101            this.init(e);
102        });
103    (a.prototype = {
104        cookiejar: n,
105        init: function (t) {
106            (this.inserted = !1), (this.closed = !1), (this.test_mode = !1);
107            if (
108                ((this.default_options = {
109                    cookie: "we-love-cookies",
110                    closeText: "&#10006;",
111                    cookiePath: "/",
112                    debug: !1,
113                    expires: 1 / 0,
114                    zindex: 1e20,
115                    mask: !1,
116                    maskOpacity: 0.5,
117                    maskBackground: "#999",
118                    height: "auto",
119                    minHeight: "21px",
120                    bg: "#eee",
121                    fg: "#333",
122                    link: "#31A8F0",
123                    divlink: "#000",
124                    divlinkbg: "#F1D600",
125                    position: "bottom",
126                    message: "We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.",
127                    linkmsg: "More info",
128                    scriptmsg: "seo konferenz",
129                    moreinfo: "http://wikipedia.org/wiki/HTTP_cookie",
130                    scriptinfo: "https://konferenz.seo-minds.de",
131                    tracking: "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
132                    effect: null,
133                    fontSize: "14px",
134                    fontFamily: "verdana, arial, sans-serif",
135                    instance: o,
136                    textAlign: "center",
137                    acceptOnScroll: !1,
138                }),
139                (this.options = this.default_options),
140                (this.script_el = r),
141                this.script_el)
142            ) {
143                var i = s.get_data_attribs(this.script_el);
144                this.options = s.merge(this.options, i);
145            }
146            t && ((t = s.normalize_keys(t)), (this.options = s.merge(this.options, t))),
147                (o = this.options.instance),
148                (this.options.zindex = parseInt(this.options.zindex, 10)),
149                (this.options.mask = s.str2bool(this.options.mask)),
150                "string" == typeof this.options.expires && "function" == typeof e[this.options.expires] && (this.options.expires = e[this.options.expires]),
151                "function" == typeof this.options.expires && (this.options.expires = this.options.expires()),
152                this.script_el && this.run();
153        },
154        log: function () {
155            "undefined" != typeof console && console.log.apply(console, arguments);
156        },
157        run: function () {
158            if (!this.agreed()) {
159                var e = this;
160                !(function (e, t) {
161                    var i = !1,
162                        o = !0,
163                        n = e.document,
164                        s = n.documentElement,
165                        r = n.addEventListener ? "addEventListener" : "attachEvent",
166                        a = n.addEventListener ? "removeEventListener" : "detachEvent",
167                        c = n.addEventListener ? "" : "on",
168                        l = function (o) {
169                            ("readystatechange" == o.type && "complete" != n.readyState) || (("load" == o.type ? e : n)[a](c + o.type, l, !1), !i && (i = !0) && t.call(e, o.type || o));
170                        },
171                        p = function () {
172                            try {
173                                s.doScroll("left");
174                            } catch (e) {
175                                return void setTimeout(p, 50);
176                            }
177                            l("poll");
178                        };
179                    if ("complete" == n.readyState) t.call(e, "lazy");
180                    else {
181                        if (n.createEventObject && s.doScroll) {
182                            try {
183                                o = !e.frameElement;
184                            } catch (e) {}
185                            o && p();
186                        }
187                        n[r](c + "DOMContentLoaded", l, !1), n[r](c + "readystatechange", l, !1), e[r](c + "load", l, !1);
188                    }
189                })(t, function () {
190                    e.insert();
191                });
192            }
193        },
194        build_viewport_mask: function () {
195            var e = null;
196            if (!0 === this.options.mask) {
197                var t = this.options.maskOpacity,
198                    o =
199                        '<div id="cookieinfo-mask" style="position:fixed;top:0;left:0;width:100%;height:100%;background:' +
200                        this.options.maskBackground +
201                        ";zoom:1;filter:alpha(opacity=" +
202                        100 * t +
203                        ");opacity:" +
204                        t +
205                        ";z-index:" +
206                        this.options.zindex +
207                        ';"></div>',
208                    n = i.createElement("div");
209                (n.innerHTML = o), (e = n.firstChild);
210            }
211            return e;
212        },
213        agree: function () {
214            return this.cookiejar.set(this.options.cookie, 1, this.options.expires, this.options.cookiePath), !0;
215        },
216        agreed: function () {
217            return this.cookiejar.has(this.options.cookie);
218        },
219        close: function () {
220            return this.inserted && (this.closed || (this.element && this.element.parentNode.removeChild(this.element), this.element_mask && this.element_mask.parentNode.removeChild(this.element_mask), (this.closed = !0))), this.closed;
221        },
222        agree_and_close: function () {
223            return this.agree(), this.close();
224        },
225        cleanup: function () {
226            return this.close(), this.unload();
227        },
228        unload: function () {
229            return this.script_el && this.script_el.parentNode.removeChild(this.script_el), (e[o] = void 0), !0;
230        },
231        insert: function () {
232            this.element_mask = this.build_viewport_mask();
233            var e = this.options.zindex;
234            this.element_mask && (e += 1);
235            var t = i.createElement("div");
236            (t.className = "cookieinfo"),
237                (t.style.position = "fixed"),
238                (t.style.left = 0),
239                (t.style.right = 0),
240                (t.style.height = this.options.height),
241                (t.style.minHeight = this.options.minHeight),
242                (t.style.zIndex = e),
243                (t.style.background = this.options.bg),
244                (t.style.color = this.options.fg),
245                (t.style.lineHeight = t.style.minHeight),
246                (t.style.padding = "8px 18px"),
247                (t.style.fontFamily = this.options.fontFamily),
248                (t.style.fontSize = this.options.fontSize),
249                (t.style.textAlign = this.options.textAlign),
250                "top" === this.options.position ? (t.style.top = 0) : (t.style.bottom = 0),
251                (t.innerHTML =
252                    '<div class="cookieinfo-close" style="float:right;display:block;padding:5px 8px 5px 8px;min-width:100px;margin-left:5px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;">' +
253                    this.options.closeText +
254                    '</div><span style="display:block;padding:5px 0 5px 0;">' +
255                    this.options.message +
256                    " <a>" +
257                    this.options.linkmsg +
258                    "</a><img> <a>" +
259                    this.options.scriptmsg +
260                    "</a></span>"),
261                (this.element = t);
262            var o = t.getElementsByTagName("a")[0];
263            (o.href = this.options.moreinfo), (o.style.textDecoration = "none"), (o.style.color = this.options.link);
264            var n = t.getElementsByTagName("a")[1];
265            (n.href = this.options.scriptinfo), (n.style.textDecoration = "none"), (n.style.display = "none"), (n.style.color = this.options.link);
266            var r = t.getElementsByTagName("div")[0];
267            (r.style.cursor = "pointer"), (r.style.color = this.options.divlink), (r.style.background = this.options.divlinkbg), (r.style.textAlign = "center");
268            var a = t.getElementsByTagName("img")[0];
269            function c(e, t, i) {
270                var o = e.addEventListener ? "addEventListener" : "attachEvent",
271                    n = e.addEventListener ? "" : "on";
272                e[o](n + t, i, !1);
273            }
274            (a.src = this.options.tracking), (a.style.display = "none");
275            var l = this;
276            c(r, "click", function () {
277                l.agree_and_close();
278            }),
279                this.element_mask &&
280                    (c(this.element_mask, "click", function () {
281                        l.agree_and_close();
282                    }),
283                    i.body.appendChild(this.element_mask)),
284                this.options.acceptOnScroll &&
285                    c(window, "scroll", function () {
286                        l.agree_and_close();
287                    }),
288                i.body.appendChild(this.element),
289                (this.inserted = !0),
290                "fade" === this.options.effect ? ((this.element.style.opacity = 0), s.fade_in(this.element)) : (this.element.style.opacity = 1);
291        },
292    }),
293        r && (e[o] || (e[o] = new a()));
294})(window);

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.