PageSourceSearch

https://cpsit.be/css/modernizr.custom.js.download

js cpsit.be collected 2026-10-08 11:40:42 UTC 14,060 bytes, 326 lines download raw bytes

vendor: 14,060 bytes, lines 1-326
1/* Modernizr 2.6.2 (Custom Build) | MIT & BSD
2 * Build: http://modernizr.com/download/#-shiv-cssclasses-load
3 */
4;
5window.Modernizr = function (a, b, c) {
6        function u(a) {
7            j.cssText = a
8        }
9
10        function v(a, b) {
11            return u(prefixes.join(a + ";") + (b || ""))
12        }
13
14        function w(a, b) {
15            return typeof a === b
16        }
17
18        function x(a, b) {
19            return !!~("" + a).indexOf(b)
20        }
21
22        function y(a, b, d) {
23            for (var e in a) {
24                var f = b[a[e]];
25                if (f !== c) return d === !1 ? a[e] : w(f, "function") ? f.bind(d || b) : f
26            }
27            return !1
28        }
29        var d = "2.6.2",
30            e = {},
31            f = !0,
32            g = b.documentElement,
33            h = "modernizr",
34            i = b.createElement(h),
35            j = i.style,
36            k, l = {}.toString,
37            m = {},
38            n = {},
39            o = {},
40            p = [],
41            q = p.slice,
42            r, s = {}.hasOwnProperty,
43            t;
44        !w(s, "undefined") && !w(s.call, "undefined") ? t = function (a, b) {
45            return s.call(a, b)
46        } : t = function (a, b) {
47            return b in a && w(a.constructor.prototype[b], "undefined")
48        }, Function.prototype.bind || (Function.prototype.bind = function (b) {
49            var c = this;
50            if (typeof c != "function") throw new TypeError;
51            var d = q.call(arguments, 1),
52                e = function () {
53                    if (this instanceof e) {
54                        var a = function () {};
55                        a.prototype = c.prototype;
56                        var f = new a,
57                            g = c.apply(f, d.concat(q.call(arguments)));
58                        return Object(g) === g ? g : f
59                    }
60                    return c.apply(b, d.concat(q.call(arguments)))
61                };
62            return e
63        });
64        for (var z in m) t(m, z) && (r = z.toLowerCase(), e[r] = m[z](), p.push((e[r] ? "" : "no-") + r));
65        return e.addTest = function (a, b) {
66                if (typeof a == "object")
67                    for (var d in a) t(a, d) && e.addTest(d, a[d]);
68                else {
69                    a = a.toLowerCase();
70                    if (e[a] !== c) return e;
71                    b = typeof b == "function" ? b() : b, typeof f != "undefined" && f && (g.className += " " + (b ? "" : "no-") + a), e[a] = b
72                }
73                return e
74            }, u(""), i = k = null,
75            function (a, b) {
76                function k(a, b) {
77                    var c = a.createElement("p"),
78                        d = a.getElementsByTagName("head")[0] || a.documentElement;
79                    return c.innerHTML = "x<style>" + b + "</style>", d.insertBefore(c.lastChild, d.firstChild)
80                }
81
82                function l() {
83                    var a = r.elements;
84                    return typeof a == "string" ? a.split(" ") : a
85                }
86
87                function m(a) {
88                    var b = i[a[g]];
89                    return b || (b = {}, h++, a[g] = h, i[h] = b), b
90                }
91
92                function n(a, c, f) {
93                    c || (c = b);
94                    if (j) return c.createElement(a);
95                    f || (f = m(c));
96                    var g;
97                    return f.cache[a] ? g = f.cache[a].cloneNode() : e.test(a) ? g = (f.cache[a] = f.createElem(a)).cloneNode() : g = f.createElem(a), g.canHaveChildren && !d.test(a) ? f.frag.appendChild(g) : g
98                }
99
100                function o(a, c) {
101                    a || (a = b);
102                    if (j) return a.createDocumentFragment();
103                    c = c || m(a);
104                    var d = c.frag.cloneNode(),
105                        e = 0,
106                        f = l(),
107                        g = f.length;
108                    for (; e < g; e++) d.createElement(f[e]);
109                    return d
110                }
111
112                function p(a, b) {
113                    b.cache || (b.cache = {}, b.createElem = a.createElement, b.createFrag = a.createDocumentFragment, b.frag = b.createFrag()), a.createElement = function (c) {
114                        return r.shivMethods ? n(c, a, b) : b.createElem(c)
115                    }, a.createDocumentFragment = Function("h,f", "return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&(" + l().join().replace(/\w+/g, function (a) {
116                        return b.createElem(a), b.frag.createElement(a), 'c("' + a + '")'
117                    }) + ");return n}")(r, b.frag)
118                }
119
120                function q(a) {
121                    a || (a = b);
122                    var c = m(a);
123                    return r.shivCSS && !f && !c.hasCSS && (c.hasCSS = !!k(a, "article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")), j || p(a, c), a
124                }
125                var c = a.html5 || {},
126                    d = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,
127                    e = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,
128                    f, g = "_html5shiv",
129                    h = 0,
130                    i = {},
131                    j;
132                (function () {
133                    try {
134                        var a = b.createElement("a");
135                        a.innerHTML = "<xyz></xyz>", f = "hidden" in a, j = a.childNodes.length == 1 || function () {
136                            b.createElement("a");
137                            var a = b.createDocumentFragment();
138                            return typeof a.cloneNode == "undefined" || typeof a.createDocumentFragment == "undefined" || typeof a.createElement == "undefined"
139                        }()
140                    } catch (c) {
141                        f = !0, j = !0
142                    }
143                })();
144                var r = {
145                    elements: c.elements || "abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",
146                    shivCSS: c.shivCSS !== !1,
147                    supportsUnknownElements: j,
148                    shivMethods: c.shivMethods !== !1,
149                    type: "default",
150                    shivDocument: q,
151                    createElement: n,
152                    createDocumentFragment: o
153                };
154                a.html5 = r, q(b)
155            }(this, b), e._version = d, g.className = g.className.replace(/(^|\s)no-js(\s|$)/, "$1$2") + (f ? " js " + p.join(" ") : ""), e
156    }(this, this.document),
157    function (a, b, c) {
158        function d(a) {
159            return "[object Function]" == o.call(a)
160        }
161
162        function e(a) {
163            return "string" == typeof a
164        }
165
166        function f() {}
167
168        function g(a) {
169            return !a || "loaded" == a || "complete" == a || "uninitialized" == a
170        }
171
172        function h() {
173            var a = p.shift();
174            q = 1, a ? a.t ? m(function () {
175                ("c" == a.t ? B.injectCss : B.injectJs)(a.s, 0, a.a, a.x, a.e, 1)
176            }, 0) : (a(), h()) : q = 0
177        }
178
179        function i(a, c, d, e, f, i, j) {
180            function k(b) {
181                if (!o && g(l.readyState) && (u.r = o = 1, !q && h(), l.onload = l.onreadystatechange = null, b)) {
182                    "img" != a && m(function () {
183                        t.removeChild(l)
184                    }, 50);
185                    for (var d in y[c]) y[c].hasOwnProperty(d) && y[c][d].onload()
186                }
187            }
188            var j = j || B.errorTimeout,
189                l = b.createElement(a),
190                o = 0,
191                r = 0,
192                u = {
193                    t: d,
194                    s: c,
195                    e: f,
196                    a: i,
197                    x: j
198                };
199            1 === y[c] && (r = 1, y[c] = []), "object" == a ? l.data = c : (l.src = c, l.type = a), l.width = l.height = "0", l.onerror = l.onload = l.onreadystatechange = function () {
200                k.call(this, r)
201            }, p.splice(e, 0, u), "img" != a && (r || 2 === y[c] ? (t.insertBefore(l, s ? null : n), m(k, j)) : y[c].push(l))
202        }
203
204        function j(a, b, c, d, f) {
205            return q = 0, b = b || "j", e(a) ? i("c" == b ? v : u, a, b, this.i++, c, d, f) : (p.splice(this.i++, 0, a), 1 == p.length && h()), this
206        }
207
208        function k() {
209            var a = B;
210            return a.loader = {
211                load: j,
212                i: 0
213            }, a
214        }
215        var l = b.documentElement,
216            m = a.setTimeout,
217            n = b.getElementsByTagName("script")[0],
218            o = {}.toString,
219            p = [],
220            q = 0,
221            r = "MozAppearance" in l.style,
222            s = r && !!b.createRange().compareNode,
223            t = s ? l : n.parentNode,
224            l = a.opera && "[object Opera]" == o.call(a.opera),
225            l = !!b.attachEvent && !l,
226            u = r ? "object" : l ? "script" : "img",
227            v = l ? "script" : u,
228            w = Array.isArray || function (a) {
229                return "[object Array]" == o.call(a)
230            },
231            x = [],
232            y = {},
233            z = {
234                timeout: function (a, b) {
235                    return b.length && (a.timeout = b[0]), a
236                }
237            },
238            A, B;
239        B = function (a) {
240            function b(a) {
241                var a = a.split("!"),
242                    b = x.length,
243                    c = a.pop(),
244                    d = a.length,
245                    c = {
246                        url: c,
247                        origUrl: c,
248                        prefixes: a
249                    },
250                    e, f, g;
251                for (f = 0; f < d; f++) g = a[f].split("="), (e = z[g.shift()]) && (c = e(c, g));
252                for (f = 0; f < b; f++) c = x[f](c);
253                return c
254            }
255
256            function g(a, e, f, g, h) {
257                var i = b(a),
258                    j = i.autoCallback;
259                i.url.split(".").pop().split("?").shift(), i.bypass || (e && (e = d(e) ? e : e[a] || e[g] || e[a.split("/").pop().split("?")[0]]), i.instead ? i.instead(a, e, f, g, h) : (y[i.url] ? i.noexec = !0 : y[i.url] = 1, f.load(i.url, i.forceCSS || !i.forceJS && "css" == i.url.split(".").pop().split("?").shift() ? "c" : c, i.noexec, i.attrs, i.timeout), (d(e) || d(j)) && f.load(function () {
260                    k(), e && e(i.origUrl, h, g), j && j(i.origUrl, h, g), y[i.url] = 2
261                })))
262            }
263
264            function h(a, b) {
265                function c(a, c) {
266                    if (a) {
267                        if (e(a)) c || (j = function () {
268                            var a = [].slice.call(arguments);
269                            k.apply(this, a), l()
270                        }), g(a, j, b, 0, h);
271                        else if (Object(a) === a)
272                            for (n in m = function () {
273                                    var b = 0,
274                                        c;
275                                    for (c in a) a.hasOwnProperty(c) && b++;
276                                    return b
277                                }(), a) a.hasOwnProperty(n) && (!c && !--m && (d(j) ? j = function () {
278                                var a = [].slice.call(arguments);
279                                k.apply(this, a), l()
280                            } : j[n] = function (a) {
281                                return function () {
282                                    var b = [].slice.call(arguments);
283                                    a && a.apply(this, b), l()
284                                }
285                            }(k[n])), g(a[n], j, b, n, h))
286                    } else !c && l()
287                }
288                var h = !!a.test,
289                    i = a.load || a.both,
290                    j = a.callback || f,
291                    k = j,
292                    l = a.complete || f,
293                    m, n;
294                c(h ? a.yep : a.nope, !!i), i && c(i)
295            }
296            var i, j, l = this.yepnope.loader;
297            if (e(a)) g(a, 0, l, 0);
298            else if (w(a))
299                for (i = 0; i < a.length; i++) j = a[i], e(j) ? g(j, 0, l, 0) : w(j) ? B(j) : Object(j) === j && h(j, l);
300            else Object(a) === a && h(a, l)
301        }, B.addPrefix = function (a, b) {
302            z[a] = b
303        }, B.addFilter = function (a) {
304            x.push(a)
305        }, B.errorTimeout = 1e4, null == b.readyState && b.addEventListener && (b.readyState = "loading", b.addEventListener("DOMContentLoaded", A = function () {
306            b.removeEventListener("DOMContentLoaded", A, 0), b.readyState = "complete"
307        }, 0)), a.yepnope = k(), a.yepnope.executeStack = h, a.yepnope.injectJs = function (a, c, d, e, i, j) {
308            var k = b.createElement("script"),
309                l, o, e = e || B.errorTimeout;
310            k.src = a;
311            for (o in d) k.setAttribute(o, d[o]);
312            c = j ? h : c || f, k.onreadystatechange = k.onload = function () {
313                !l && g(k.readyState) && (l = 1, c(), k.onload = k.onreadystatechange = null)
314            }, m(function () {
315                l || (l = 1, c(1))
316            }, e), i ? k.onload() : n.parentNode.insertBefore(k, n)
317        }, a.yepnope.injectCss = function (a, c, d, e, g, i) {
318            var e = b.createElement("link"),
319                j, c = i ? h : c || f;
320            e.href = a, e.rel = "stylesheet", e.type = "text/css";
321            for (j in d) e.setAttribute(j, d[j]);
322            g || (n.parentNode.insertBefore(e, n), m(c, 0))
323        }
324    }(this, document), Modernizr.load = function () {
325        yepnope.apply(window, [].slice.call(arguments, 0))
326    };

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.