去掉没用的

This commit is contained in:
shenjack 2024-03-22 22:23:27 +08:00
parent b27e60eb49
commit 75c77b12d1
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -14,49 +14,14 @@
if (!b.hasOwnProperty(q)) b[q] = a[q] if (!b.hasOwnProperty(q)) b[q] = a[q]
} }
} }
var z = function () {
var s = function () {}
s.prototype = {
p: {}
}
var r = new s()
if (!(r.__proto__ && r.__proto__.p === s.prototype.p)) return false
try {
if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0) return true
if (typeof version == "function" && version.length == 0) {
var q = version()
if (/^\d+\.\d+\.\d+\.\d+$/.test(q)) return true
}
} catch (p) {}
return false
}()
function setFunctionNamesIfNecessary(a) {
function t() {};
if (typeof t.name == "string") return
for (var s = 0; s < a.length; s++) {
var r = a[s]
var q = Object.keys(r)
for (var p = 0; p < q.length; p++) {
var o = q[p]
var n = r[o]
if (typeof n == "function") n.name = o
}
}
}
function inherit(a, b) { function inherit(a, b) {
a.prototype.constructor = a a.prototype.constructor = a
a.prototype["$i" + a.name] = a a.prototype["$i" + a.name] = a
if (b != null) { if (b != null) {
if (z) {
a.prototype.__proto__ = b.prototype a.prototype.__proto__ = b.prototype
return return
} }
var s = Object.create(b.prototype)
copyProperties(a.prototype, s)
a.prototype = s
}
} }
function inheritMany(a, b) { function inheritMany(a, b) {
@ -126,17 +91,7 @@
return a return a
} }
function convertToFastObject(a) { let y = 0;
function t() {}
t.prototype = a
new t()
return a
}
function convertAllToFastObject(a) {
for (var s = 0; s < a.length; ++s) convertToFastObject(a[s])
}
var y = 0
function instanceTearOffGetter(a, b) { function instanceTearOffGetter(a, b) {
var s = b.fs[0] var s = b.fs[0]
@ -242,8 +197,6 @@
lazyFinal: lazyFinal, lazyFinal: lazyFinal,
lazyOld: lazyOld, lazyOld: lazyOld,
updateHolder: updateHolder, updateHolder: updateHolder,
convertToFastObject: convertToFastObject,
setFunctionNamesIfNecessary: setFunctionNamesIfNecessary,
updateTypes: updateTypes, updateTypes: updateTypes,
setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag,
setOrUpdateLeafTags: setOrUpdateLeafTags setOrUpdateLeafTags: setOrUpdateLeafTags
@ -5662,8 +5615,7 @@
this.b = b this.b = b
} }
} }
var w = [B, C, D, E, F, G, H, J, K, M, N, O, P, Q, S, T, V, W, X, Y] var w = [B, C, D, F, G, H, J, K, M, N, O, P, Q, S, T, V, W, X, Y];
hunkHelpers.setFunctionNamesIfNecessary(w)
var $ = {} var $ = {}
H.hN.prototype = {} H.hN.prototype = {}
J.I.prototype = { J.I.prototype = {
@ -11641,7 +11593,8 @@
var s = function (a) { var s = function (a) {
var m = {} var m = {}
m[a] = 1 m[a] = 1
return Object.keys(hunkHelpers.convertToFastObject(m))[0] // return Object.keys(hunkHelpers.convertToFastObject(m))[0]
return a
} }
v.getIsolateTag = function (a) { v.getIsolateTag = function (a) {
return s("___dart_" + a + v.isolateTag) return s("___dart_" + a + v.isolateTag)
@ -12271,30 +12224,6 @@
Function.prototype.$4 = function (a, b, c, d) { Function.prototype.$4 = function (a, b, c, d) {
return this(a, b, c, d) return this(a, b, c, d)
}; };
// convertAllToFastObject(w)
// convertToFastObject($);
// (function (a) {
// if (typeof document === "undefined") {
// a(null)
// return
// }
// if (typeof document.currentScript != "undefined") {
// a(document.currentScript)
// return
// }
// var s = document.scripts
// function onLoad(b) {
// for (var q = 0; q < s.length; ++q) s[q].removeEventListener("load", onLoad, false)
// a(b.target)
// }
// for (var r = 0; r < s.length; ++r) s[r].addEventListener("load", onLoad, false)
// })(function (a) {
// v.currentScript = a
// var s = E.nu
// if (typeof dartMainRunner === "function") dartMainRunner(s, [])
// else s([])
// })
G.main_func() G.main_func()
})() })()
//# sourceMappingURL=index.dart.js.map //# sourceMappingURL=index.dart.js.map