vendor: 28,313 bytes, lines 1-690
1!function (e, t) { 2 "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = "undefined" != typeof globalThis ? globalThis : e || self).DisableDevtool = t() 3}(this, function () { 4 "use strict"; 5 6 function i(e) { 7 return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { 8 return typeof e 9 } : function (e) { 10 return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e 11 })(e) 12 } 13 14 function o(e, t) { 15 if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") 16 } 17 18 function r(e, t) { 19 for (var n = 0; n < t.length; n++) { 20 var o = t[n]; 21 o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, o.key, o) 22 } 23 } 24 25 function u(e, t, n) { 26 t && r(e.prototype, t), n && r(e, n), Object.defineProperty(e, "prototype", {writable: !1}) 27 } 28 29 function e(e, t, n) { 30 t in e ? Object.defineProperty(e, t, {value: n, enumerable: !0, configurable: !0, writable: !0}) : e[t] = n 31 } 32 33 function c(e, t) { 34 if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); 35 e.prototype = Object.create(t && t.prototype, { 36 constructor: { 37 value: e, 38 writable: !0, 39 configurable: !0 40 } 41 }), Object.defineProperty(e, "prototype", {writable: !1}), t && n(e, t) 42 } 43 44 function a(e) { 45 return (a = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (e) { 46 return e.__proto__ || Object.getPrototypeOf(e) 47 })(e) 48 } 49 50 function n(e, t) { 51 return (n = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (e, t) { 52 return e.__proto__ = t, e 53 })(e, t) 54 } 55 56 function U(e, t) { 57 if (t && ("object" == typeof t || "function" == typeof t)) return t; 58 if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined"); 59 t = e; 60 if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 61 return t 62 } 63 64 function l(n) { 65 var o = function () { 66 if ("undefined" == typeof Reflect || !Reflect.construct) return !1; 67 if (Reflect.construct.sham) return !1; 68 if ("function" == typeof Proxy) return !0; 69 try { 70 return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () { 71 })), !0 72 } catch (e) { 73 return !1 74 } 75 }(); 76 return function () { 77 var e, t = a(n); 78 return U(this, o ? (e = a(this).constructor, Reflect.construct(t, arguments, e)) : t.apply(this, arguments)) 79 } 80 } 81 82 function f(e, t) { 83 (null == t || t > e.length) && (t = e.length); 84 for (var n = 0, o = new Array(t); n < t; n++) o[n] = e[n]; 85 return o 86 } 87 88 function s(e, t) { 89 var n, o = "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"]; 90 if (!o) { 91 if (Array.isArray(e) || (o = function (e, t) { 92 if (e) { 93 if ("string" == typeof e) return f(e, t); 94 var n = Object.prototype.toString.call(e).slice(8, -1); 95 return "Map" === (n = "Object" === n && e.constructor ? e.constructor.name : n) || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? f(e, t) : void 0 96 } 97 }(e)) || t && e && "number" == typeof e.length) return o && (e = o), n = 0, { 98 s: t = function () { 99 }, n: function () { 100 return n >= e.length ? {done: !0} : {done: !1, value: e[n++]} 101 }, e: function (e) { 102 throw e 103 }, f: t 104 }; 105 throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") 106 } 107 var i, r = !0, u = !1; 108 return { 109 s: function () { 110 o = o.call(e) 111 }, n: function () { 112 var e = o.next(); 113 return r = e.done, e 114 }, e: function (e) { 115 u = !0, i = e 116 }, f: function () { 117 try { 118 r || null == o.return || o.return() 119 } finally { 120 if (u) throw i 121 } 122 } 123 } 124 } 125 126 function t() { 127 if (d.url) window.location.href = d.url; else if (d.rewriteHTML) try { 128 document.documentElement.innerHTML = d.rewriteHTML 129 } catch (e) { 130 document.documentElement.innerText = d.rewriteHTML 131 } else { 132 try { 133 window.opener = null, window.open("", "_self"), window.close(), window.history.back() 134 } catch (e) { 135 console.log(e) 136 } 137 setTimeout(function () { 138 window.location.href = d.timeOutUrl || "https://theajack.github.io/disable-devtool/404.html?h=".concat(encodeURIComponent(location.host)) 139 }, 500) 140 } 141 } 142 143 var d = { 144 md5: "", 145 ondevtoolopen: t, 146 ondevtoolclose: null, 147 url: "", 148 timeOutUrl: "", 149 tkName: "ddtk", 150 interval: 500, 151 disableMenu: !0, 152 stopIntervalTime: 5e3, 153 clearIntervalWhenDevOpenTrigger: !1, 154 detectors: [1, 3, 4, 5, 6, 7], 155 clearLog: !0, 156 disableSelect: !1, 157 disableInputSelect: !1, 158 disableCopy: !1, 159 disableCut: !1, 160 disablePaste: !1, 161 ignore: null, 162 disableIframeParents: !0, 163 seo: !0, 164 rewriteHTML: "" 165 }, H = ["detectors", "ondevtoolclose", "ignore"]; 166 167 function q(e) { 168 var t, n = 0 < arguments.length && void 0 !== e ? e : {}; 169 for (t in n.onDevtoolOpen && (n.ondevtoolopen = n.onDevtoolOpen), n.onDevtoolClose && (n.ondevtoolclose = n.onDevtoolClose), d) { 170 var o = t; 171 void 0 === n[o] || i(d[o]) !== i(n[o]) && -1 === H.indexOf(o) || (d[o] = n[o]) 172 } 173 "function" == typeof d.ondevtoolclose && !0 === d.clearIntervalWhenDevOpenTrigger && (d.clearIntervalWhenDevOpenTrigger = !1, console.warn("ãDISABLE-DEVTOOLãclearIntervalWhenDevOpenTrigger å¨ä½¿ç¨ ondevtoolclose æ¶æ æ")) 174 } 175 176 function v() { 177 return (new Date).getTime() 178 } 179 180 function h(e) { 181 var t = v(); 182 return e(), v() - t 183 } 184 185 function z(n, o) { 186 function e(t) { 187 return function () { 188 n && n(); 189 var e = t.apply(void 0, arguments); 190 return o && o(), e 191 } 192 } 193 194 var t = window.alert, i = window.confirm, r = window.prompt; 195 try { 196 window.alert = e(t), window.confirm = e(i), window.prompt = e(r) 197 } catch (e) { 198 } 199 } 200 201 var p, y, B, b = { 202 iframe: !1, 203 pc: !1, 204 qqBrowser: !1, 205 firefox: !1, 206 macos: !1, 207 edge: !1, 208 oldEdge: !1, 209 ie: !1, 210 iosChrome: !1, 211 iosEdge: !1, 212 chrome: !1, 213 seoBot: !1, 214 mobile: !1 215 }; 216 217 function W() { 218 function e(e) { 219 return -1 !== t.indexOf(e) 220 } 221 222 var t = navigator.userAgent.toLowerCase(), n = function () { 223 var e = navigator, t = e.platform, e = e.maxTouchPoints; 224 if ("number" == typeof e) return 1 < e; 225 if ("string" == typeof t) { 226 e = t.toLowerCase(); 227 if (/(mac|win)/i.test(e)) return !1; 228 if (/(android|iphone|ipad|ipod|arch)/i.test(e)) return !0 229 } 230 return /(iphone|ipad|ipod|ios|android)/i.test(navigator.userAgent.toLowerCase()) 231 }(), o = !!window.top && window !== window.top, i = !n, r = e("qqbrowser"), u = e("firefox"), 232 c = e("macintosh"), a = e("edge"), l = a && !e("chrome"), f = l || e("trident") || e("msie"), 233 s = e("crios"), d = e("edgios"), v = e("chrome") || s, 234 h = !n && /(googlebot|baiduspider|bingbot|applebot|petalbot|yandexbot|bytespider|chrome\-lighthouse|moto g power)/i.test(t); 235 Object.assign(b, { 236 iframe: o, 237 pc: i, 238 qqBrowser: r, 239 firefox: u, 240 macos: c, 241 edge: a, 242 oldEdge: l, 243 ie: f, 244 iosChrome: s, 245 iosEdge: d, 246 chrome: v, 247 seoBot: h, 248 mobile: n 249 }) 250 } 251 252 function M() { 253 for (var e = function () { 254 for (var e = {}, t = 0; t < 500; t++) e["".concat(t)] = "".concat(t); 255 return e 256 }(), t = [], n = 0; n < 50; n++) t.push(e); 257 return t 258 } 259 260 function g() { 261 d.clearLog && B() 262 } 263 264 var K = "", V = !1; 265 266 function N() { 267 var e = d.ignore; 268 if (e) { 269 if ("function" == typeof e) return e(); 270 if (0 !== e.length) { 271 var t = location.href; 272 if (K === t) return V; 273 K = t; 274 var n, o = !1, i = s(e); 275 try { 276 for (i.s(); !(n = i.n()).done;) { 277 var r = n.value; 278 if ("string" == typeof r) { 279 if (-1 !== t.indexOf(r)) { 280 o = !0; 281 break 282 } 283 } else if (r.test(t)) { 284 o = !0; 285 break 286 } 287 } 288 } catch (e) { 289 i.e(e) 290 } finally { 291 i.f() 292 } 293 return V = o 294 } 295 } 296 } 297 298 var X = function () { 299 return !1 300 }; 301 302 function w(n) { 303 var t, e, o = 74, i = 73, r = 85, u = 83, c = 123, a = b.macos ? function (e, t) { 304 return e.metaKey && e.altKey && (t === i || t === o) 305 } : function (e, t) { 306 return e.ctrlKey && e.shiftKey && (t === i || t === o) 307 }, l = b.macos ? function (e, t) { 308 return e.metaKey && e.altKey && t === r || e.metaKey && t === u 309 } : function (e, t) { 310 return e.ctrlKey && (t === u || t === r) 311 }; 312 n.addEventListener("keydown", function (e) { 313 var t = (e = e || n.event).keyCode || e.which; 314 if (t === c || a(e, t) || l(e, t)) return T(n, e) 315 }, !0), t = n, d.disableMenu && t.addEventListener("contextmenu", function (e) { 316 if ("touch" !== e.pointerType) return T(t, e) 317 }), e = n, (d.disableSelect || d.disableInputSelect) && m(e, "selectstart"), e = n, d.disableCopy && m(e, "copy"), e = n, d.disableCut && m(e, "cut"), e = n, d.disablePaste && m(e, "paste") 318 } 319 320 function m(o, e) { 321 o.addEventListener(e, function (e) { 322 if (!(t = e.target) || "INPUT" !== t.tagName && "TEXTAREA" !== t.tagName && "true" !== (null == (n = t.getAttribute) ? void 0 : n.call(t, "contenteditable"))) { 323 if (d.disableSelect) return T(o, e) 324 } else if (d.disableInputSelect) return T(o, e); 325 var t, n 326 }) 327 } 328 329 function T(e, t) { 330 if (!N() && !X()) return (t = t || e.event).returnValue = !1, t.preventDefault(), !1 331 } 332 333 var O, D = !1, S = {}; 334 335 function F(e) { 336 S[e] = !1 337 } 338 339 function $() { 340 for (var e in S) if (S[e]) return D = !0; 341 return D = !1 342 } 343 344 (A = O = O || {})[A.Unknown = -1] = "Unknown", A[A.RegToString = 0] = "RegToString", A[A.DefineId = 1] = "DefineId", A[A.Size = 2] = "Size", A[A.DateToString = 3] = "DateToString", A[A.FuncToString = 4] = "FuncToString", A[A.Debugger = 5] = "Debugger", A[A.Performance = 6] = "Performance", A[A.DebugLib = 7] = "DebugLib"; 345 var k = function () { 346 function n(e) { 347 var t = e.type, e = e.enabled, e = void 0 === e || e; 348 o(this, n), this.type = O.Unknown, this.enabled = !0, this.type = t, this.enabled = e, this.enabled && (t = this, Q.push(t), this.init()) 349 } 350 351 return u(n, [{ 352 key: "onDevToolOpen", value: function () { 353 var e; 354 console.warn("You don't have permission to use DEVTOOL!ãtype = ".concat(this.type, "ã")), d.clearIntervalWhenDevOpenTrigger && te(), window.clearTimeout(J), d.ondevtoolopen(this.type, t), e = this.type, S[e] = !0 355 } 356 }, { 357 key: "init", value: function () { 358 } 359 }]), n 360 }(), G = function () { 361 c(t, k); 362 var e = l(t); 363 364 function t() { 365 return o(this, t), e.call(this, {type: O.DebugLib}) 366 } 367 368 return u(t, [{ 369 key: "init", value: function () { 370 } 371 }, { 372 key: "detect", value: function () { 373 var e; 374 (!0 === (null == (e = null == (e = window.eruda) ? void 0 : e._devTools) ? void 0 : e._isShow) || window._vcOrigConsole && window.document.querySelector("#__vconsole.vc-toggle")) && this.onDevToolOpen() 375 } 376 }], [{ 377 key: "isUsing", value: function () { 378 return !!window.eruda || !!window._vcOrigConsole 379 } 380 }]), t 381 }(), Y = 0, J = 0, Q = [], Z = 0; 382 383 function ee(i) { 384 function e() { 385 l = !0 386 } 387 388 function t() { 389 l = !1 390 } 391 392 var n, o, r, u, c, a, l = !1; 393 394 function f() { 395 (a[u] === r ? o : n)() 396 } 397 398 z(e, t), n = t, o = e, void 0 !== (a = document).hidden ? (r = "hidden", c = "visibilitychange", u = "visibilityState") : void 0 !== a.mozHidden ? (r = "mozHidden", c = "mozvisibilitychange", u = "mozVisibilityState") : void 0 !== a.msHidden ? (r = "msHidden", c = "msvisibilitychange", u = "msVisibilityState") : void 0 !== a.webkitHidden && (r = "webkitHidden", c = "webkitvisibilitychange", u = "webkitVisibilityState"), a.removeEventListener(c, f, !1), a.addEventListener(c, f, !1), Y = window.setInterval(function () { 399 if (!(i.isSuspend || l || N())) { 400 var e, t, n = s(Q); 401 try { 402 for (n.s(); !(e = n.n()).done;) { 403 var o = e.value; 404 F(o.type), o.detect(Z++) 405 } 406 } catch (e) { 407 n.e(e) 408 } finally { 409 n.f() 410 } 411 g(), "function" == typeof d.ondevtoolclose && (t = D, !$() && t && d.ondevtoolclose()) 412 } 413 }, d.interval), J = setTimeout(function () { 414 b.pc || G.isUsing() || te() 415 }, d.stopIntervalTime) 416 } 417 418 function te() { 419 window.clearInterval(Y) 420 } 421 422 var P = 8; 423 424 function ne(e) { 425 for (var t = function (e, t) { 426 e[t >> 5] |= 128 << t % 32, e[14 + (t + 64 >>> 9 << 4)] = t; 427 for (var n = 1732584193, o = -271733879, i = -1732584194, r = 271733878, u = 0; u < e.length; u += 16) { 428 var c = n, a = o, l = i, f = r; 429 n = E(n, o, i, r, e[u + 0], 7, -680876936), r = E(r, n, o, i, e[u + 1], 12, -389564586), i = E(i, r, n, o, e[u + 2], 17, 606105819), o = E(o, i, r, n, e[u + 3], 22, -1044525330), n = E(n, o, i, r, e[u + 4], 7, -176418897), r = E(r, n, o, i, e[u + 5], 12, 1200080426), i = E(i, r, n, o, e[u + 6], 17, -1473231341), o = E(o, i, r, n, e[u + 7], 22, -45705983), n = E(n, o, i, r, e[u + 8], 7, 1770035416), r = E(r, n, o, i, e[u + 9], 12, -1958414417), i = E(i, r, n, o, e[u + 10], 17, -42063), o = E(o, i, r, n, e[u + 11], 22, -1990404162), n = E(n, o, i, r, e[u + 12], 7, 1804603682), r = E(r, n, o, i, e[u + 13], 12, -40341101), i = E(i, r, n, o, e[u + 14], 17, -1502002290), o = E(o, i, r, n, e[u + 15], 22, 1236535329), n = I(n, o, i, r, e[u + 1], 5, -165796510), r = I(r, n, o, i, e[u + 6], 9, -1069501632), i = I(i, r, n, o, e[u + 11], 14, 643717713), o = I(o, i, r, n, e[u + 0], 20, -373897302), n = I(n, o, i, r, e[u + 5], 5, -701558691), r = I(r, n, o, i, e[u + 10], 9, 38016083), i = I(i, r, n, o, e[u + 15], 14, -660478335), o = I(o, i, r, n, e[u + 4], 20, -405537848), n = I(n, o, i, r, e[u + 9], 5, 568446438), r = I(r, n, o, i, e[u + 14], 9, -1019803690), i = I(i, r, n, o, e[u + 3], 14, -187363961), o = I(o, i, r, n, e[u + 8], 20, 1163531501), n = I(n, o, i, r, e[u + 13], 5, -1444681467), r = I(r, n, o, i, e[u + 2], 9, -51403784), i = I(i, r, n, o, e[u + 7], 14, 1735328473), o = I(o, i, r, n, e[u + 12], 20, -1926607734), n = j(n, o, i, r, e[u + 5], 4, -378558), r = j(r, n, o, i, e[u + 8], 11, -2022574463), i = j(i, r, n, o, e[u + 11], 16, 1839030562), o = j(o, i, r, n, e[u + 14], 23, -35309556), n = j(n, o, i, r, e[u + 1], 4, -1530992060), r = j(r, n, o, i, e[u + 4], 11, 1272893353), i = j(i, r, n, o, e[u + 7], 16, -155497632), o = j(o, i, r, n, e[u + 10], 23, -1094730640), n = j(n, o, i, r, e[u + 13], 4, 681279174), r = j(r, n, o, i, e[u + 0], 11, -358537222), i = j(i, r, n, o, e[u + 3], 16, -722521979), o = j(o, i, r, n, e[u + 6], 23, 76029189), n = j(n, o, i, r, e[u + 9], 4, -640364487), r = j(r, n, o, i, e[u + 12], 11, -421815835), i = j(i, r, n, o, e[u + 15], 16, 530742520), o = j(o, i, r, n, e[u + 2], 23, -995338651), n = L(n, o, i, r, e[u + 0], 6, -198630844), r = L(r, n, o, i, e[u + 7], 10, 1126891415), i = L(i, r, n, o, e[u + 14], 15, -1416354905), o = L(o, i, r, n, e[u + 5], 21, -57434055), n = L(n, o, i, r, e[u + 12], 6, 1700485571), r = L(r, n, o, i, e[u + 3], 10, -1894986606), i = L(i, r, n, o, e[u + 10], 15, -1051523), o = L(o, i, r, n, e[u + 1], 21, -2054922799), n = L(n, o, i, r, e[u + 8], 6, 1873313359), r = L(r, n, o, i, e[u + 15], 10, -30611744), i = L(i, r, n, o, e[u + 6], 15, -1560198380), o = L(o, i, r, n, e[u + 13], 21, 1309151649), n = L(n, o, i, r, e[u + 4], 6, -145523070), r = L(r, n, o, i, e[u + 11], 10, -1120210379), i = L(i, r, n, o, e[u + 2], 15, 718787259), o = L(o, i, r, n, e[u + 9], 21, -343485551), n = C(n, c), o = C(o, a), i = C(i, l), r = C(r, f) 430 } 431 return Array(n, o, i, r) 432 }(function (e) { 433 for (var t = Array(), n = (1 << P) - 1, o = 0; o < e.length * P; o += P) t[o >> 5] |= (e.charCodeAt(o / P) & n) << o % 32; 434 return t 435 }(e), e.length * P), n = "0123456789abcdef", o = "", i = 0; i < 4 * t.length; i++) o += n.charAt(t[i >> 2] >> i % 4 * 8 + 4 & 15) + n.charAt(t[i >> 2] >> i % 4 * 8 & 15); 436 return o 437 } 438 439 function x(e, t, n, o, i, r) { 440 return C((t = C(C(t, e), C(o, r))) << i | t >>> 32 - i, n) 441 } 442 443 function E(e, t, n, o, i, r, u) { 444 return x(t & n | ~t & o, e, t, i, r, u) 445 } 446 447 function I(e, t, n, o, i, r, u) { 448 return x(t & o | n & ~o, e, t, i, r, u) 449 } 450 451 function j(e, t, n, o, i, r, u) { 452 return x(t ^ n ^ o, e, t, i, r, u) 453 } 454 455 function L(e, t, n, o, i, r, u) { 456 return x(n ^ (t | ~o), e, t, i, r, u) 457 } 458 459 function C(e, t) { 460 var n = (65535 & e) + (65535 & t); 461 return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n 462 } 463 464 var A = function () { 465 c(t, k); 466 var e = l(t); 467 468 function t() { 469 return o(this, t), e.call(this, {type: O.RegToString, enabled: b.qqBrowser || b.firefox}) 470 } 471 472 return u(t, [{ 473 key: "init", value: function () { 474 var t = this; 475 this.lastTime = 0, this.reg = /./, p(this.reg), this.reg.toString = function () { 476 var e; 477 return b.qqBrowser ? (e = (new Date).getTime(), t.lastTime && e - t.lastTime < 100 ? t.onDevToolOpen() : t.lastTime = e) : b.firefox && t.onDevToolOpen(), "" 478 } 479 } 480 }, { 481 key: "detect", value: function () { 482 p(this.reg) 483 } 484 }]), t 485 }(), oe = function () { 486 c(t, k); 487 var e = l(t); 488 489 function t() { 490 return o(this, t), e.call(this, {type: O.DefineId}) 491 } 492 493 return u(t, [{ 494 key: "init", value: function () { 495 var e = this; 496 this.div = document.createElement("div"), this.div.__defineGetter__("id", function () { 497 e.onDevToolOpen() 498 }), Object.defineProperty(this.div, "id", { 499 get: function () { 500 e.onDevToolOpen() 501 } 502 }) 503 } 504 }, { 505 key: "detect", value: function () { 506 p(this.div) 507 } 508 }]), t 509 }(), ie = function () { 510 c(t, k); 511 var e = l(t); 512 513 function t() { 514 return o(this, t), e.call(this, {type: O.Size, enabled: !b.iframe && !b.edge}) 515 } 516 517 return u(t, [{ 518 key: "init", value: function () { 519 var e = this; 520 this.checkWindowSizeUneven(), window.addEventListener("resize", function () { 521 setTimeout(function () { 522 e.checkWindowSizeUneven() 523 }, 100) 524 }, !0) 525 } 526 }, { 527 key: "detect", value: function () { 528 } 529 }, { 530 key: "checkWindowSizeUneven", value: function () { 531 var e = function () { 532 if (re(window.devicePixelRatio)) return window.devicePixelRatio; 533 var e = window.screen; 534 return !!(re(e) && e.deviceXDPI && e.logicalXDPI) && e.deviceXDPI / e.logicalXDPI 535 }(); 536 if (!1 !== e) { 537 var t = 200 < window.outerWidth - window.innerWidth * e, 538 e = 300 < window.outerHeight - window.innerHeight * e; 539 if (t || e) return this.onDevToolOpen(), !1; 540 F(this.type) 541 } 542 return !0 543 } 544 }]), t 545 }(); 546 547 function re(e) { 548 return null != e 549 } 550 551 var _, ue = function () { 552 c(t, k); 553 var e = l(t); 554 555 function t() { 556 return o(this, t), e.call(this, {type: O.DateToString, enabled: !b.iosChrome && !b.iosEdge}) 557 } 558 559 return u(t, [{ 560 key: "init", value: function () { 561 var e = this; 562 this.count = 0, this.date = new Date, this.date.toString = function () { 563 return e.count++, "" 564 } 565 } 566 }, { 567 key: "detect", value: function () { 568 this.count = 0, p(this.date), g(), 2 <= this.count && this.onDevToolOpen() 569 } 570 }]), t 571 }(), ce = function () { 572 c(t, k); 573 var e = l(t); 574 575 function t() { 576 return o(this, t), e.call(this, {type: O.FuncToString, enabled: !b.iosChrome && !b.iosEdge}) 577 } 578 579 return u(t, [{ 580 key: "init", value: function () { 581 var e = this; 582 this.count = 0, this.func = function () { 583 }, this.func.toString = function () { 584 return e.count++, "" 585 } 586 } 587 }, { 588 key: "detect", value: function () { 589 this.count = 0, p(this.func), g(), 2 <= this.count && this.onDevToolOpen() 590 } 591 }]), t 592 }(), ae = function () { 593 c(t, k); 594 var e = l(t); 595 596 function t() { 597 return o(this, t), e.call(this, {type: O.Debugger, enabled: b.iosChrome || b.iosEdge}) 598 } 599 600 return u(t, [{ 601 key: "detect", value: function () { 602 var e = v(); 603 100 < v() - e && this.onDevToolOpen() 604 } 605 }]), t 606 }(), le = function () { 607 c(n, k); 608 var t = l(n); 609 610 function n() { 611 var e; 612 return o(this, n), (e = t.call(this, {type: O.Performance, enabled: b.chrome || !b.mobile})).count = 0, e 613 } 614 615 return u(n, [{ 616 key: "init", value: function () { 617 this.maxPrintTime = 0, this.largeObjectArray = M() 618 } 619 }, { 620 key: "detect", value: function () { 621 var e = this, t = h(function () { 622 y(e.largeObjectArray) 623 }), n = h(function () { 624 p(e.largeObjectArray) 625 }); 626 if (this.maxPrintTime = Math.max(this.maxPrintTime, n), g(), 0 === t || 0 === this.maxPrintTime) return !1; 627 t > 10 * this.maxPrintTime && (2 <= this.count ? this.onDevToolOpen() : (this.count++, this.detect())) 628 } 629 }]), n 630 }(), 631 fe = (e(_ = {}, O.RegToString, A), e(_, O.DefineId, oe), e(_, O.Size, ie), e(_, O.DateToString, ue), e(_, O.FuncToString, ce), e(_, O.Debugger, ae), e(_, O.Performance, le), e(_, O.DebugLib, G), _); 632 var R = Object.assign(function (e) { 633 function t() { 634 var e = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : ""; 635 return {success: !e, reason: e} 636 } 637 638 var n; 639 if (R.isRunning) return t("already running"); 640 if (W(), n = window.console || { 641 log: function () { 642 }, table: function () { 643 }, clear: function () { 644 } 645 }, B = b.ie ? (p = function () { 646 return n.log.apply(n, arguments) 647 }, y = function () { 648 return n.table.apply(n, arguments) 649 }, function () { 650 return n.clear() 651 }) : (p = n.log, y = n.table, n.clear), q(e), d.md5 && ne(function (e) { 652 var t = window.location.search, n = window.location.hash; 653 if ("" !== (t = "" === t && "" !== n ? "?".concat(n.split("?")[1]) : t) && void 0 !== t) { 654 n = new RegExp("(^|&)" + e + "=([^&]*)(&|$)", "i"), e = t.substr(1).match(n); 655 if (null != e) return unescape(e[2]) 656 } 657 return "" 658 }(d.tkName)) === d.md5) return t("token passed"); 659 if (d.seo && b.seoBot) return t("seobot"); 660 R.isRunning = !0, ee(R); 661 var o = R, i = (X = function () { 662 return o.isSuspend 663 }, window.top), r = window.parent; 664 if (w(window), d.disableIframeParents && i && r && i !== window) { 665 for (; r !== i;) w(r), r = r.parent; 666 w(i) 667 } 668 return ("all" === d.detectors ? Object.keys(fe) : d.detectors).forEach(function (e) { 669 new fe[e] 670 }), t() 671 }, {isRunning: !1, isSuspend: !1, md5: ne, version: "0.3.9", DetectorType: O, isDevToolOpened: $}); 672 A = function () { 673 if ("undefined" == typeof window || !window.document) return null; 674 var n = document.querySelector("[disable-devtool-auto]"); 675 if (!n) return null; 676 var o = ["disable-menu", "disable-select", "disable-copy", "disable-cut", "disable-paste", "clear-log"], 677 i = ["interval"], r = {}; 678 return ["md5", "url", "tk-name", "detectors"].concat(o, i).forEach(function (e) { 679 var t = n.getAttribute(e); 680 null !== t && (-1 !== i.indexOf(e) ? t = parseInt(t) : -1 !== o.indexOf(e) ? t = "false" !== t : "detector" === e && "all" !== t && (t = t.split(" ")), r[function (e) { 681 if (-1 === e.indexOf("-")) return e; 682 var t = !1; 683 return e.split("").map(function (e) { 684 return "-" === e ? (t = !0, "") : t ? (t = !1, e.toUpperCase()) : e 685 }).join("") 686 }(e)] = t) 687 }), r 688 }(); 689 return A && R(A), R 690});
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.