function v()

in static/js/aplus_v2.js [373:410]


        function v(e, t, n) {
          var a = window,
            r = a.XDomainRequest,
            o = a.XMLHttpRequest && 'withCredentials' in new a.XMLHttpRequest(),
            i = t.after;
          if (!t.isDebug && _.test() && (o || r)) {
            var u = g(t),
              l = t.LS_KEY + h.hash(e),
              v = _.get(l),
              d = 'local';
            v
              ? (c(l, t.LS_KEY_CLUSTER, t.LS_PREFIX),
                s(t, v),
                h.isFunction(i) &&
                  i.call(this, {
                    from: d,
                  }))
              : h.requestJS(
                  e,
                  navigator.userAgent,
                  function (a) {
                    f(t, {
                      key: l,
                      code: a,
                      oldCode: u,
                      size: n,
                      url: e,
                    });
                  },
                  function () {
                    p(t, {
                      url: e,
                      oldCode: u,
                    });
                  }
                );
          } else h.addScript(e, i);
        }