-
-
Save winnerawan/1410f7954fd4087a1975f45b8657418a to your computer and use it in GitHub Desktop.
x.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ! function(r) { | |
| var n = {}; | |
| function o(t) { | |
| if (n[t]) return n[t].exports; | |
| var e = n[t] = { | |
| i: t, | |
| l: !1, | |
| exports: {} | |
| }; | |
| return r[t].call(e.exports, e, e.exports, o), e.l = !0, e.exports | |
| } | |
| o.m = r, o.c = n, o.d = function(t, e, r) { | |
| o.o(t, e) || Object.defineProperty(t, e, { | |
| enumerable: !0, | |
| get: r | |
| }) | |
| }, o.r = function(t) { | |
| "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { | |
| value: "Module" | |
| }), Object.defineProperty(t, "__esModule", { | |
| value: !0 | |
| }) | |
| }, o.t = function(e, t) { | |
| if (1 & t && (e = o(e)), 8 & t) return e; | |
| if (4 & t && "object" == typeof e && e && e.__esModule) return e; | |
| var r = Object.create(null); | |
| if (o.r(r), Object.defineProperty(r, "default", { | |
| enumerable: !0, | |
| value: e | |
| }), 2 & t && "string" != typeof e) | |
| for (var n in e) o.d(r, n, function(t) { | |
| return e[t] | |
| }.bind(null, n)); | |
| return r | |
| }, o.n = function(t) { | |
| var e = t && t.__esModule ? function() { | |
| return t.default | |
| } : function() { | |
| return t | |
| }; | |
| return o.d(e, "a", e), e | |
| }, o.o = function(t, e) { | |
| return Object.prototype.hasOwnProperty.call(t, e) | |
| }, o.p = "", o(o.s = 33) | |
| }({ | |
| 33: function(t, e) { | |
| function r(t, e, r) { | |
| if (r) { | |
| var n = { | |
| url: r, | |
| format: "", | |
| quality: e | |
| }; | |
| try { | |
| var o = r.match(/\.(wmv|asf|asx|rm|rmvb|mpg|mpeg|mpe|3gp|mov|mp4|m4v|avi|dat|mkv|flv|vob)/gi); | |
| n.format = o[0].slice(1) | |
| } catch (t) {} | |
| t.version.push(n) | |
| } | |
| } | |
| if (window.onerror = function(t) {}, window.native && "onDetectorStart" in window.native) { | |
| window.native.onDetectorStart(JSON.stringify({})); | |
| try { | |
| o = i = { | |
| title: "", | |
| thumb: "", | |
| duration: 0, | |
| version: [] | |
| }, n = document.querySelector('meta[property="og:duration"]'), o.duration = n ? +n.getAttribute("content") || 0 : +document.getElementsByTagName("video")[0].duration, o.duration = Math.floor(o.duration) || 0, o = i, window.html5player && (o.title = html5player.video_title, o.thumb = html5player.url_thumb169 || html5player.url_thumb, r(o, "low", html5player.url_low), r(o, "high", html5player.url_high)), i = i, window.native && window.native.onDetectorComplete && window.native.onDetectorComplete(JSON.stringify({ | |
| code: 0, | |
| message: "", | |
| data: { | |
| video: i | |
| } | |
| })) | |
| } catch (t) { | |
| window.native.onDetectorComplete(JSON.stringify({ | |
| code: 3, | |
| data: {}, | |
| message: JSON.stringify(t) | |
| })) | |
| } | |
| } | |
| var n, o, i | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment