Вход Регистрация
Файл: CloudBox-main/CloudBox/admin_assets/js/lib/modernizr.js
Строк: 464
<?php
/* Modernizr 2.6.2 (Custom Build) | MIT & BSD
 * Build: http://modernizr.com/download/#-csstransitions-touch-shiv-cssclasses-prefixed-teststyles-testprop-testallprops-prefixes-domprefixes-load
 */
;
window.Modernizr = function (abc) {
    function 
z(a) {
        
j.cssText a
    
}

    function 
A(ab) {
        return 
z(m.join(";") + (|| ""))
    }

    function 
B(ab) {
        return 
typeof a === b
    
}

    function 
C(ab) {
        return!!~(
"" a).indexOf(b)
    }

    function 
D(ab) {
        for (var 
d in a) {
            var 
a[d];
            if (!
C(e"-") && j[e] !== c)return == "pfx" : !0
        
}
        return!
1
    
}

    function 
E(abd) {
        for (var 
e in a) {
            var 
b[a[e]];
            if (
!== c)return === !a[e] : B(f"function") ? f.bind(|| b) : f
        
}
        return!
1
    
}

    function 
F(abc) {
        var 
a.charAt(0).toUpperCase() + a.slice(1), = (" " o.join(" ") + d).split(" ");
        return 
B(b"string") || B(b"undefined") ? D(eb) : (= (" " p.join(" ") + d).split(" "), E(ebc))
    }

    var 
"2.6.2"= {}, = !0b.documentElement"modernizr"b.createElement(h), i.stylek= {}.toString" -webkit- -moz- -o- -ms- ".split(" "), "Webkit Moz O ms"n.split(" "), n.toLowerCase().split(" "), = {}, = {}, = {}, = [], t.slicev= function (acde) {
        var 
fijkb.createElement("div"), b.body|| b.createElement("body");
        if (
parseInt(d10))while (d--)b.createElement("div"), j.id e[d] : + (1), l.appendChild(j);
        return 
= ["&#173;"'<style id="s'h'">'a"</style>"].join(""), l.id h, (n).innerHTML += fn.appendChild(l), || (n.style.background ""n.style.overflow "hidden"g.style.overflowg.style.overflow "hidden"g.appendChild(n)), c(la), l.parentNode.removeChild(l) : (n.parentNode.removeChild(n), g.style.overflow k), !!i
    
}, = {}.hasOwnPropertyy;
    !
B(x"undefined") && !B(x.call"undefined") ? = function (ab) {
        return 
x.call(ab)
    } : 
= function (ab) {
        return 
b in a && B(a.constructor.prototype[b], "undefined")
    }, Function.
prototype.bind || (Function.prototype.bind = function (b) {
        var 
this;
        if (
typeof c != "function")throw new TypeError;
        var 
u.call(arguments1), = function () {
            if (
this instanceof e) {
                var 
= function () {
                };
                
a.prototype c.prototype;
                var 
= new ac.apply(fd.concat(u.call(arguments)));
                return 
Object(g) === f
            
}
            return 
c.apply(bd.concat(u.call(arguments)))
        };
        return 
e
    
}), q.touch = function () {
        var 
c;
        return
"ontouchstart"in a || a.DocumentTouch && instanceof DocumentTouch = !w(["@media ("m.join("touch-enabled),("), h")""{#modernizr{top:9px;position:absolute}}"].join(""), function (a) {
            
a.offsetTop === 9
        
}), c
    
}, q.csstransitions = function () {
        return 
F("transition")
    };
    for (var 
G in q)y(qG) && (G.toLowerCase(), e[v] = q[G](), t.push((e[v] ? "" "no-") + v));
    return 
e.addTest = function (ab) {
        if (
typeof a == "object")for (var d in a)y(ad) && e.addTest(da[d]); else {
            
a.toLowerCase();
            if (
e[a] !== c)return e;
            
typeof b == "function" b() : btypeof f != "undefined" && && (g.className += " " + ("" "no-") + a), e[a] = b
        
}
        return 
e
    
}, z(""), null, function (ab) {
        function 
k(ab) {
            var 
a.createElement("p"), a.getElementsByTagName("head")[0] || a.documentElement;
            return 
c.innerHTML "x<style>" "</style>"d.insertBefore(c.lastChildd.firstChild)
        }

        function 
l() {
            var 
r.elements;
            return 
typeof a == "string" a.split(" ") : a
        
}

        function 
m(a) {
            var 
i[a[g]];
            return 
|| (= {}, h++, a[g] = hi[h] = b), b
        
}

        function 
n(acf) {
            
|| (b);
            if (
j)return c.createElement(a);
            
|| (m(c));
            var 
g;
            return 
f.cache[a] ? f.cache[a].cloneNode() : e.test(a) ? = (f.cache[a] = f.createElem(a)).cloneNode() : f.createElem(a), g.canHaveChildren && !d.test(a) ? f.frag.appendChild(g) : g
        
}

        function 
o(ac) {
            
|| (b);
            if (
j)return a.createDocumentFragment();
            
|| m(a);
            var 
c.frag.cloneNode(), 0l(), f.length;
            for (; 
ge++)d.createElement(f[e]);
            return 
d
        
}

        function 
p(ab) {
            
b.cache || (b.cache = {}, b.createElem a.createElementb.createFrag a.createDocumentFragmentb.frag b.createFrag()), a.createElement = function (c) {
                return 
r.shivMethods n(cab) : b.createElem(c)
            }, 
a.createDocumentFragment = Function("h,f""return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&(" l().join().replace(/w+/g, function (a) {
                return 
b.createElem(a), b.frag.createElement(a), 'c("' '")'
            
}) + ");return n}")(rb.frag)
        }

        function 
q(a) {
            
|| (b);
            var 
m(a);
            return 
r.shivCSS && !&& !c.hasCSS && (c.hasCSS = !!k(a"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")), || p(ac), a
        
}

        var 
a.html5 || {}, = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i= /^(?: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)$/if"_html5shiv"0= {}, j;
        (function () {
            try {
                var 
b.createElement("a");
                
a.innerHTML "<xyz></xyz>""hidden"in aa.childNodes.length == || function () {
                    
b.createElement("a");
                    var 
b.createDocumentFragment();
                    return 
typeof a.cloneNode == "undefined" || typeof a.createDocumentFragment == "undefined" || typeof a.createElement == "undefined"
                
}()
            } catch (
c) {
                
= !0= !0
            
}
        })();
        var 
= {elementsc.elements || "abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video"shivCSSc.shivCSS !== !1supportsUnknownElementsjshivMethodsc.shivMethods !== !1type"default"shivDocumentqcreateElementncreateDocumentFragmento};
        
a.html5 rq(b)
    }(
thisb), e._version de._prefixes me._domPrefixes pe._cssomPrefixes oe.testProp = function (a) {
        return 
D([a])
    }, 
e.testAllProps Fe.testStyles we.prefixed = function (abc) {
        return 
F(abc) : F(a"pfx")
    }, 
g.className g.className.replace(/(^|s)no-js(s|$)/, "$1$2") + (" js " t.join(" ") : ""), e
}(thisthis.document), function (abc) {
    function 
d(a) {
        return
"[object Function]" == o.call(a)
    }

    function 
e(a) {
        return
"string" == typeof a
    
}

    function 
f() {
    }

    function 
g(a) {
        return!
|| "loaded" == || "complete" == || "uninitialized" == a
    
}

    function 
h() {
        var 
p.shift();
        
1a.m(function () {
            (
"c" == a.B.injectCss B.injectJs)(a.s0a.aa.xa.e1)
        }, 
0) : (a(), h()) : 0
    
}

    function 
i(acdefij) {
        function 
k(b) {
            if (!
&& g(l.readyState) && (u.1, !&& h(), l.onload l.onreadystatechange nullb)) {
                
"img" != && m(function () {
                    
t.removeChild(l)
                }, 
50);
                for (var 
d in y[c])y[c].hasOwnProperty(d) && y[c][d].onload()
            }
        }

        var 
|| B.errorTimeoutb.createElement(a), 00= {tdscefaixj};
        
=== y[c] && (1y[c] = []), "object" == l.data : (l.src cl.type a), l.width l.height "0"l.onerror l.onload l.onreadystatechange = function () {
            
k.call(thisr)
        }, 
p.splice(e0u), "img" != && (|| === y[c] ? (t.insertBefore(lnull n), m(kj)) : y[c].push(l))
    }

    function 
j(abcdf) {
        return 
0|| "j"e(a) ? i("c" == uabthis.i++, cdf) : (p.splice(this.i++, 0a), == p.length && h()), this
    
}

    function 
k() {
        var 
B;
        return 
a.loader = {loadji0}, a
    
}

    var 
b.documentElementa.setTimeoutb.getElementsByTagName("script")[0], = {}.toString= [], 0"MozAppearance"in l.style&& !!b.createRange().compareNoden.parentNodea.opera && "[object Opera]" == o.call(a.opera), = !!b.attachEvent && !l"object" "script" "img""script" u= Array.isArray || function (a) {
        return
"[object Array]" == o.call(a)
    }, 
= [], = {}, = {timeout: function (ab) {
        return 
b.length && (a.timeout b[0]), a
    
}}, AB;
    
= function (a) {
        function 
b(a) {
            var 
a.split("!"), x.lengtha.pop(), a.length= {urlcorigUrlcprefixesa}, efg;
            for (
0df++)a[f].split("="), (z[g.shift()]) && (e(cg));
            for (
0bf++)x[f](c);
            return 
c
        
}

        function 
g(aefgh) {
            var 
b(a), i.autoCallback;
            
i.url.split(".").pop().split("?").shift(), i.bypass || (&& (d(e) ? e[a] || e[g] || e[a.split("/").pop().split("?")[0]]), i.instead i.instead(aefgh) : (y[i.url] ? i.noexec = !y[i.url] = 1f.load(i.urli.forceCSS || !i.forceJS && "css" == i.url.split(".").pop().split("?").shift() ? "c" ci.noexeci.attrsi.timeout), (d(e) || d(j)) && f.load(function () {
                
k(), && e(i.origUrlhg), && j(i.origUrlhg), y[i.url] = 2
            
})))
        }

        function 
h(ab) {
            function 
c(ac) {
                if (
a) {
                    if (
e(a))|| (= function () {
                        var 
= [].slice.call(arguments);
                        
k.apply(thisa), l()
                    }), 
g(ajb0h); else if (Object(a) === a)for (n in m = function () {
                        var 
0c;
                        for (
c in a)a.hasOwnProperty(c) && b++;
                        return 
b
                    
}(), a)a.hasOwnProperty(n) && (!&& !--&& (d(j) ? = function () {
                        var 
= [].slice.call(arguments);
                        
k.apply(thisa), l()
                    } : 
j[n] = function (a) {
                        return function () {
                            var 
= [].slice.call(arguments);
                            
&& a.apply(thisb), l()
                        }
                    }(
k[n])), g(a[n], jbnh))
                } else!
&& l()
            }

            var 
= !!a.testa.load || a.botha.callback || fja.complete || fmn;
            
c(a.yep a.nope, !!i), && c(i)
        }

        var 
ijthis.yepnope.loader;
        if (
e(a))g(a0l0); else if (w(a))for (0a.lengthi++)a[i], e(j) ? g(j0l0) : w(j) ? B(j) : Object(j) === && h(jl); else Object(a) === && h(al)
    }, 
B.addPrefix = function (ab) {
        
z[a] = b
    
}, B.addFilter = function (a) {
        
x.push(a)
    }, 
B.errorTimeout 1e4null == b.readyState && b.addEventListener && (b.readyState "loading"b.addEventListener("DOMContentLoaded"= function () {
        
b.removeEventListener("DOMContentLoaded"A0), b.readyState "complete"
    
}, 0)), a.yepnope k(), a.yepnope.executeStack ha.yepnope.injectJs = function (acdeij) {
        var 
b.createElement("script"), lo|| B.errorTimeout;
        
k.src a;
        for (
o in d)k.setAttribute(od[o]);
        
|| fk.onreadystatechange k.onload = function () {
            !
&& g(k.readyState) && (1c(), k.onload k.onreadystatechange null)
        }, 
m(function () {
            
|| (1c(1))
        }, 
e), k.onload() : n.parentNode.insertBefore(kn)
    }, 
a.yepnope.injectCss = function (acdegi) {
        var 
b.createElement("link"), j|| f;
        
e.href ae.rel "stylesheet"e.type "text/css";
        for (
j in d)e.setAttribute(jd[j]);
        
|| (n.parentNode.insertBefore(en), m(c0))
    }
}(
thisdocument), Modernizr.load = function () {
    
yepnope.apply(window, [].slice.call(arguments0))
};
?>
Онлайн: 0
Реклама