@sgrsoft/vpe-core-sdk 0.24.3 → 0.24.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vpe-core-sdk.cjs.js +1 -1
- package/dist/vpe-core-sdk.es.js +779 -776
- package/package.json +1 -1
package/dist/vpe-core-sdk.es.js
CHANGED
|
@@ -1,113 +1,112 @@
|
|
|
1
|
-
var f =
|
|
2
|
-
function
|
|
3
|
-
var x = ["
|
|
4
|
-
return
|
|
1
|
+
var f = Dt;
|
|
2
|
+
function Te() {
|
|
3
|
+
var x = ["Invalid URL format.", "Fullscreen", "Cannot play DASH video on iOS.", "Settings", "Red", "Provocative content", "hour(s)", "Cancel", "Auto Skip Intro", "This video is rated for all audiences.", "You do not have permission to play this video.", "Raised", "733206BYezDl", "This video may be inappropriate for children under 15 and requires parental guidance.", "Semi Bold", "Player Execution Failed", "Drugs", "Quality", "Depressed", "Text Edge Style", "hour", "Thin", "Text Opacity", "Failed to communicate with the DRM license server.", "Font Weight", "Next video", "Play", "Authentication Failed", "Cyan", "1281940dNvnBE", "Bold", "second(s)", "The live stream is OFFLINE.", "In a moment", "Subtitle Style", "Subtitles", "14TKPZWt", "Monthly basic API calls exceeded. Please switch to a paid version.", "Required module was not loaded. (hls.js)", "Turn on captions", "Drop Shadow", "21694RYfgIS", "Mini player", "The video could not be played.", "White", "The license is not valid.", "Auto Skip Ending", "718110dJJCdk", "Unmute", "Change text, color, and background styles", "You are muted.", "Replay", "This feature requires the Standard plan.", "Not used", "FairPlay certificate validation failed.", "Font Color", "2092992OjXIaM", "Magenta", "Font Size", "Previous video", "minute(s)", "Playback speed", "1WqAUhU", "Auto Skip Opening", "Violence", "Extra Bold", "Cannot play video", "Horror", "Skip Opening", "Uniform", "Language", "seconds until auto-play", "Required module was not loaded. (dash.js)", "Invalid access. Please check your access_key.", "Pause", "Black", "Next video will play in {timeTxt} seconds.", "This video may be inappropriate for minors.", "None", "461052cEHggw", "Sexuality", "Subtitles not available", "Window Color", "544848MRHfZP", "Exit fullscreen", "Invalid DRM token.", "Background Color", "Player Startup Failed", "This video may be inappropriate for children under 12 and requires parental guidance.", "Turn off captions", "Yellow", "Video will start in {timeTxt}."];
|
|
4
|
+
return Te = function() {
|
|
5
5
|
return x;
|
|
6
|
-
},
|
|
6
|
+
}, Te();
|
|
7
7
|
}
|
|
8
8
|
(function(x, t) {
|
|
9
|
-
for (var e =
|
|
9
|
+
for (var e = Dt, i = x(); ; )
|
|
10
10
|
try {
|
|
11
|
-
var a = -parseInt(e(
|
|
11
|
+
var a = -parseInt(e(390)) / 1 * (-parseInt(e(369)) / 2) + -parseInt(e(411)) / 3 + parseInt(e(407)) / 4 + parseInt(e(357)) / 5 + parseInt(e(340)) / 6 * (-parseInt(e(364)) / 7) + parseInt(e(384)) / 8 + -parseInt(e(375)) / 9;
|
|
12
12
|
if (a === t) break;
|
|
13
13
|
i.push(i.shift());
|
|
14
14
|
} catch {
|
|
15
15
|
i.push(i.shift());
|
|
16
16
|
}
|
|
17
|
-
})(
|
|
18
|
-
function Rt(x, t) {
|
|
19
|
-
x = x - 104;
|
|
20
|
-
var e = Ee(), i = e[x];
|
|
21
|
-
return i;
|
|
22
|
-
}
|
|
23
|
-
const jt = { common: { cancel: f(140), auto: "Auto", normal: f(106), notUse: f(137), prev: f(129), next: "Next video", delayText: "seconds until auto-play", license: f(190), play: f(134), pause: f(166), replay: f(132), fullOn: f(138), fullOff: f(126), muteOn: f(135), muteOff: f(169), captionOff: f(157), captionOn: f(174), setting: f(152), live: f(182), miniPlayer: "Mini player", isMute: f(149), subtitle: f(112), subtitleNot: "Subtitles not available" }, settings: { autoplay: f(165), playbackRate: f(181), captions: f(112), quality: f(142) }, skip: { introSkip: f(121), openingSkip: f(168), endingSkip: "Skip Ending", autoSkipIntro: f(163), autoSkipOpening: "Auto Skip Opening", autoSkipEnding: f(141), autoSkipOpeningEnding: f(110) }, ageRating: { noticeAll: f(120), notice12: f(133), notice15: "This video may be inappropriate for children under 15 and requires parental guidance.", notice19: "This video may be inappropriate for minors." }, contentWarning: { sexuality: f(125), violence: f(173), language: f(187), drugs: "Drugs", horror: f(111), imitation: f(114), provocative: f(160) }, error: { "01": { title: f(162), desc: f(153) }, "02": { title: f(162), desc: "You do not have permission to play this video." }, "03": { title: f(189), desc: f(180) }, "04": { title: f(162), desc: f(154) }, "05": { title: f(162), desc: f(146) }, "06": { title: "Cannot play video", desc: "Monthly basic API calls exceeded. Please switch to a paid version." }, "07": { title: f(162), desc: f(124) }, "08": { title: f(162), desc: f(151) }, "09": { title: f(162), desc: f(118) }, 10: { title: f(162), desc: f(122) }, 11: { title: f(162), desc: f(139) }, 12: { title: f(162), desc: f(144) }, 13: { title: "Cannot play video", desc: f(143) }, 14: { title: f(162), desc: "Screen capture / screen recording has been detected." }, 15: { title: f(108), desc: f(113) }, 16: { title: f(108), desc: f(178) }, 17: { title: f(159), desc: "This feature requires the Standard plan." } }, tv: { default: "Default", quality: f(142), subtitleStyle: "Subtitle Style", subtitleStyleDesc: f(119), applyDefaultStyle: "Apply Default Style", fontColor: f(177), fontSize: f(164), textOpacity: f(109), edgeStyle: f(116), bgColor: f(170), bgOpacity: f(184), windowColor: f(179), windowOpacity: f(167), fontWeight: f(186), weight: { thin: "Thin", normal: "Normal", semiBold: f(183), bold: "Bold", extraBold: f(127) }, color: { white: f(185), black: "Black", red: f(150), green: f(107), blue: f(175), yellow: f(136), magenta: f(156), cyan: "Cyan" }, edge: { none: f(123), dropShadow: f(171), raised: f(188), depressed: f(172), uniform: "Uniform" } }, alternative: { hour: f(145), minute: "minute(s)", second: f(158), after: f(105), afterMin: "min", afterHour: f(161), afterDay: f(128), startPlay: "Video will start in {timeTxt}.", nextPlay: f(148), afterPlay: f(176) } };
|
|
17
|
+
})(Te, 138314);
|
|
24
18
|
function Dt(x, t) {
|
|
25
|
-
x = x -
|
|
19
|
+
x = x - 334;
|
|
26
20
|
var e = Te(), i = e[x];
|
|
27
21
|
return i;
|
|
28
22
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
const jt = { common: { cancel: f(335), auto: "Auto", normal: "Normal", notUse: f(381), prev: f(387), next: f(353), delayText: f(399), license: "License", play: f(354), pause: f(402), replay: f(379), fullOn: f(421), fullOff: f(412), muteOn: "Mute", muteOff: f(376), captionOff: f(417), captionOn: f(367), setting: f(423), live: "LIVE", miniPlayer: f(370), isMute: f(378), subtitle: f(363), subtitleNot: f(409) }, settings: { autoplay: "Autoplay", playbackRate: f(389), captions: "Subtitles", quality: f(345) }, skip: { introSkip: "Skip Intro", openingSkip: f(396), endingSkip: "Skip Ending", autoSkipIntro: f(336), autoSkipOpening: f(391), autoSkipEnding: f(374), autoSkipOpeningEnding: "Auto Skip Opening/Ending" }, ageRating: { noticeAll: f(337), notice12: f(416), notice15: f(341), notice19: f(405) }, contentWarning: { sexuality: f(408), violence: f(392), language: f(398), drugs: f(344), horror: f(395), imitation: "Imitation risk", provocative: f(425) }, error: { "01": { title: "Cannot play video", desc: f(401) }, "02": { title: f(394), desc: f(338) }, "03": { title: f(355), desc: "The network connection is unstable." }, "04": { title: "Cannot play video", desc: f(371) }, "05": { title: f(394), desc: f(373) }, "06": { title: "Cannot play video", desc: f(365) }, "07": { title: "Cannot play video", desc: "Unsupported format." }, "08": { title: f(394), desc: f(420) }, "09": { title: "Cannot play video", desc: f(360) }, 10: { title: f(394), desc: f(422) }, 11: { title: "Cannot play video", desc: f(413) }, 12: { title: f(394), desc: f(351) }, 13: { title: f(394), desc: f(382) }, 14: { title: f(394), desc: "Screen capture / screen recording has been detected." }, 15: { title: "Player Execution Failed", desc: f(366) }, 16: { title: f(343), desc: f(400) }, 17: { title: f(415), desc: f(380) } }, tv: { default: "Default", quality: f(345), subtitleStyle: f(362), subtitleStyleDesc: f(377), applyDefaultStyle: "Apply Default Style", fontColor: f(383), fontSize: f(386), textOpacity: f(350), edgeStyle: f(347), bgColor: f(414), bgOpacity: "Background Opacity", windowColor: f(410), windowOpacity: "Window Opacity", fontWeight: f(352), weight: { thin: f(349), normal: "Normal", semiBold: f(342), bold: f(358), extraBold: f(393) }, color: { white: f(372), black: f(403), red: f(424), green: "Green", blue: "Blue", yellow: f(418), magenta: f(385), cyan: f(356) }, edge: { none: f(406), dropShadow: f(368), raised: f(339), depressed: f(346), uniform: f(397) } }, alternative: { hour: f(334), minute: f(388), second: f(359), after: f(361), afterMin: "min", afterHour: f(348), afterDay: "day", startPlay: f(419), nextPlay: f(404), afterPlay: "Scheduled" } };
|
|
24
|
+
var w = Rt;
|
|
25
|
+
function Rt(x, t) {
|
|
26
|
+
x = x - 156;
|
|
27
|
+
var e = Ce(), i = e[x];
|
|
28
|
+
return i;
|
|
29
|
+
}
|
|
30
|
+
function Ce() {
|
|
31
|
+
var x = ["월 기본 제공 호출 건수를 초과하였습니다. 유료 버전으로 전환 후 사용 부탁 드립니다.", "동영상을 재생할 수 없음", "노란색", "매우 굵게", "오프닝 자동 스킵", "자동재생", "잠시 ", "초록색", "창 불투명도", "해상도", "플레이어 실행 실패", "이전 동영상", "45479ZNZitt", "사용안함", "실시간", "성적 표현", "DRM 라이선스 서버와 통신에 실패하였습니다.", "인트로 건너뛰기", "다음 동영상", "약간 굵게", "라이선스가 유효하지 않습니다.", "이 영상은 전체 관람가 영상입니다.", "그림자", "오프닝 건너뛰기", "배경 색상", "이 영상은 청소년이 시청하기에 부적절한 영상입니다.", "{timeTxt} 후 영상이 시작됩니다.", "배경 불투명도", "파란색", "자홍색", "잘못된 접근입니다. access_key를 확인해주세요.", "플레이어 구동 실패", "네트워크 연결이 원활하지 않습니다.", "엔딩 건너뛰기", "전체화면", "260025APXcCC", "글자 굵기", "음소거 해제", "모방위험", "다시보기", "음소거", "1270290NArdop", "URL 형식이 잘못되었습니다.", "자막 스타일", "864TtvaVi", "13062808QdPToQ", "6063LNYEcq", "빨간색", "일시정지", "인증 실패", "자막끄기", "36xuhixt", "동영상을 재생할 수 없습니다.", "텍스트, 색상, 배경 스타일 변경", "기본 스타일 적용", "글꼴 크기", "초 뒤 자동재생", "DRM 토큰이 잘못되었습니다.", "오프닝/엔딩 자동 스킵", "190QdufMb", "이 영상은 15세 미만의 청소년이 시청하기에 부적절하므로 보호자의 시청지도가 필요한 영상입니다.", "엔딩 자동 스킵", "창 색상", "48pYViOp", "필수 모듈이 로드되지 않았습니다. (hls.js)", "462888mzVEPL", "라이선스", "인트로 자동 스킵", "83568NfVQje", "iOS에서 Dash 비디오를 재생할 수 없습니다.", "라이브스트림이 OFFLINE 입니다."];
|
|
32
|
+
return Ce = function() {
|
|
32
33
|
return x;
|
|
33
|
-
},
|
|
34
|
+
}, Ce();
|
|
34
35
|
}
|
|
35
|
-
var w = Dt;
|
|
36
36
|
(function(x, t) {
|
|
37
|
-
for (var e =
|
|
37
|
+
for (var e = Rt, i = x(); ; )
|
|
38
38
|
try {
|
|
39
|
-
var a =
|
|
39
|
+
var a = parseInt(e(179)) / 1 + -parseInt(e(170)) / 2 * (parseInt(e(157)) / 3) + parseInt(e(162)) / 4 * (parseInt(e(217)) / 5) + -parseInt(e(226)) / 6 * (-parseInt(e(194)) / 7) + -parseInt(e(174)) / 8 * (-parseInt(e(176)) / 9) + parseInt(e(223)) / 10 + -parseInt(e(156)) / 11;
|
|
40
40
|
if (a === t) break;
|
|
41
41
|
i.push(i.shift());
|
|
42
42
|
} catch {
|
|
43
43
|
i.push(i.shift());
|
|
44
44
|
}
|
|
45
|
-
})(
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
var
|
|
50
|
-
return Ce = function() {
|
|
51
|
-
return x;
|
|
52
|
-
}, Ce();
|
|
53
|
-
}
|
|
54
|
-
function Ot(x, t) {
|
|
55
|
-
x = x - 382;
|
|
56
|
-
var e = Ce(), i = e[x];
|
|
45
|
+
})(Ce, 543279);
|
|
46
|
+
const Jt = { common: { cancel: "취소", auto: "자동", normal: "보통", notUse: w(195), prev: w(193), next: w(200), delayText: w(167), license: w(177), play: "재생", pause: w(159), replay: w(221), fullOn: w(216), fullOff: "전체화면 해제", muteOn: w(222), muteOff: w(219), captionOff: w(161), captionOn: "자막켜기", setting: "설정", live: w(196), miniPlayer: "미니플레이어", isMute: "음소거 상태입니다.", subtitle: "자막", subtitleNot: "자막 사용 불가" }, settings: { autoplay: w(187), playbackRate: "재생 속도", captions: "자막", quality: w(191) }, skip: { introSkip: w(199), openingSkip: w(205), endingSkip: w(215), autoSkipIntro: w(178), autoSkipOpening: w(186), autoSkipEnding: w(172), autoSkipOpeningEnding: w(169) }, ageRating: { noticeAll: w(203), notice12: "이 영상은 12세 미만의 청소년이 시청하기에 부적절하므로 보호자의 시청지도가 필요한 영상입니다.", notice15: w(171), notice19: w(207) }, contentWarning: { sexuality: w(197), violence: "폭력", language: "욕설", drugs: "약물", horror: "공포", imitation: w(220), provocative: "자극적 장면" }, error: { "01": { title: w(183), desc: w(212) }, "02": { title: w(183), desc: "동영상을 재생할 권한이 없습니다." }, "03": { title: w(160), desc: w(214) }, "04": { title: "동영상을 재생할 수 없음", desc: w(163) }, "05": { title: w(183), desc: w(202) }, "06": { title: w(183), desc: w(182) }, "07": { title: w(183), desc: "지원하지 않는 형식입니다." }, "08": { title: w(183), desc: w(224) }, "09": { title: "동영상을 재생할 수 없음", desc: w(181) }, 10: { title: w(183), desc: w(180) }, 11: { title: "동영상을 재생할 수 없음", desc: w(168) }, 12: { title: "동영상을 재생할 수 없음", desc: w(198) }, 13: { title: w(183), desc: "FairPlay 인증서 검증에 실패하였습니다." }, 14: { title: w(183), desc: "화면 캡쳐 / 화면 녹화가 감지되었습니다." }, 15: { title: "플레이어 실행 실패", desc: w(175) }, 16: { title: w(192), desc: "필수 모듈이 로드되지 않았습니다. (dash.js)" }, 17: { title: w(213), desc: "Standard 요금제가 필요한 기능입니다." } }, tv: { default: "기본", quality: "화질", subtitleStyle: w(225), subtitleStyleDesc: w(164), applyDefaultStyle: w(165), fontColor: "글꼴 색상", fontSize: w(166), textOpacity: "텍스트 불투명도", edgeStyle: "글자 테두리 스타일", bgColor: w(206), bgOpacity: w(209), windowColor: w(173), windowOpacity: w(190), fontWeight: w(218), weight: { thin: "얇게", normal: "보통", semiBold: w(201), bold: "굵게", extraBold: w(185) }, color: { white: "흰색", black: "검정색", red: w(158), green: w(189), blue: w(210), yellow: w(184), magenta: w(211), cyan: "청록색" }, edge: { none: "없음", dropShadow: w(204), raised: "양각", depressed: "음각", uniform: "균일" } }, alternative: { hour: "시", minute: "분", second: "초", after: w(188), afterMin: "분 ", afterHour: "시간 ", afterDay: "일 ", startPlay: w(208), nextPlay: "{timeTxt}초 후 다음 영상이 재생됩니다.", afterPlay: "예정" } };
|
|
47
|
+
function Mt(x, t) {
|
|
48
|
+
x = x - 189;
|
|
49
|
+
var e = Ae(), i = e[x];
|
|
57
50
|
return i;
|
|
58
51
|
}
|
|
52
|
+
var g = Mt;
|
|
59
53
|
(function(x, t) {
|
|
60
|
-
for (var e =
|
|
54
|
+
for (var e = Mt, i = x(); ; )
|
|
61
55
|
try {
|
|
62
|
-
var a =
|
|
56
|
+
var a = parseInt(e(257)) / 1 * (parseInt(e(226)) / 2) + -parseInt(e(234)) / 3 * (-parseInt(e(199)) / 4) + -parseInt(e(209)) / 5 * (-parseInt(e(215)) / 6) + -parseInt(e(255)) / 7 * (parseInt(e(228)) / 8) + parseInt(e(222)) / 9 * (-parseInt(e(244)) / 10) + -parseInt(e(191)) / 11 * (-parseInt(e(238)) / 12) + -parseInt(e(207)) / 13;
|
|
63
57
|
if (a === t) break;
|
|
64
58
|
i.push(i.shift());
|
|
65
59
|
} catch {
|
|
66
60
|
i.push(i.shift());
|
|
67
61
|
}
|
|
68
|
-
})(
|
|
69
|
-
const Jt = { common: { cancel: "キャンセル", auto: "自動", normal: "標準", notUse: g(398), prev: g(412), next: g(444), delayText: g(438), license: "ライセンス", play: "再生", pause: g(405), replay: g(383), fullOn: g(436), fullOff: g(448), muteOn: "ミュート", muteOff: g(415), captionOff: g(423), captionOn: "字幕をオンにする", setting: "設定", live: "ライブ", miniPlayer: g(441), isMute: "ミュート状態です。", subtitle: "字幕", subtitleNot: "字幕は利用できません" }, settings: { autoplay: g(406), playbackRate: "再生速度", captions: "字幕", quality: "画質" }, skip: { introSkip: g(430), openingSkip: g(419), endingSkip: g(437), autoSkipIntro: "イントロ自動スキップ", autoSkipOpening: g(424), autoSkipEnding: g(407), autoSkipOpeningEnding: g(410) }, ageRating: { noticeAll: g(411), notice12: g(386), notice15: "この映像は15歳未満の視聴には不適切な内容を含むため、保護者の指導が必要です。", notice19: g(450) }, contentWarning: { sexuality: g(413), violence: "暴力", language: "暴言", drugs: "薬物", horror: "恐怖", imitation: "模倣危険", provocative: g(431) }, error: { "01": { title: "動画を再生できません", desc: g(445) }, "02": { title: g(416), desc: g(422) }, "03": { title: g(392), desc: g(403) }, "04": { title: g(416), desc: "動画を再生できませんでした。" }, "05": { title: g(416), desc: g(417) }, "06": { title: g(416), desc: g(393) }, "07": { title: g(416), desc: g(395) }, "08": { title: g(416), desc: g(388) }, "09": { title: g(416), desc: "ライブストリームはオフラインです。" }, 10: { title: "動画を再生できません", desc: "iOSではDASHビデオを再生できません。" }, 11: { title: g(416), desc: g(451) }, 12: { title: "動画を再生できません", desc: "DRMライセンスサーバーとの通信に失敗しました。" }, 13: { title: g(416), desc: "FairPlay証明書の検証に失敗しました。" }, 14: { title: g(416), desc: g(429) }, 15: { title: g(402), desc: g(447) }, 16: { title: g(402), desc: g(433) }, 17: { title: g(402), desc: g(404) } }, tv: { default: g(408), quality: "画質", subtitleStyle: g(396), subtitleStyleDesc: g(387), applyDefaultStyle: "デフォルトスタイルを適用", fontColor: g(397), fontSize: g(418), textOpacity: g(426), edgeStyle: g(409), bgColor: g(390), bgOpacity: g(446), windowColor: "ウィンドウ色", windowOpacity: g(434), fontWeight: g(453), weight: { thin: "細い", normal: "標準", semiBold: g(385), bold: "太い", extraBold: "極太" }, color: { white: "白", black: "黒", red: "赤", green: "緑", blue: "青", yellow: "黄", magenta: g(382), cyan: g(425) }, edge: { none: "なし", dropShadow: g(391), raised: g(399), depressed: g(440), uniform: "均一" } }, alternative: { hour: "時間", minute: "分", second: "秒", after: g(389), afterMin: "分後", afterHour: g(400), afterDay: "日後", startPlay: g(442), nextPlay: g(439), afterPlay: "予定" } };
|
|
62
|
+
})(Ae, 403140);
|
|
70
63
|
function Ae() {
|
|
71
|
-
|
|
64
|
+
var x = ["642DhSoSV", "マゼンタ", "316072KHBQNu", "リプレイ", "DRMライセンスサーバーとの通信に失敗しました。", "デフォルトスタイルを適用", "シアン", "プレーヤーの起動に失敗しました", "6mBAqic", "性的表現", "ライブストリームはオフラインです。", "ミュート解除", "204xZdvHA", "動画を再生できません", "字幕をオフにする", "{timeTxt}後に動画が始まります。", "使用しない", "ライブ", "956430gQjgNq", "ドロップシャドウ", "この動画を再生する権限がありません。", "全画面表示を終了", "文字エッジスタイル", "必須モジュールが読み込まれていません。(dash.js)", "iOSではDASHビデオを再生できません。", "この映像は未成年者の視聴には不適切な内容を含みます。", "URLの形式が正しくありません。", "自動再生", "この映像は12歳未満の視聴には不適切な内容を含むため、保護者の指導が必要です。", "98mWPkjx", "刺激的な場面", "533iqchWs", "動画を再生できませんでした。", "再生速度", "画面キャプチャ/画面録画が検出されました。", "147103ShfoTP", "一時停止", "ネットワーク接続が不安定です。", "フォント色", "ライセンス", "ミュート", "字幕スタイル", "認証に失敗しました", "636392XnrfKt", "ライセンスが無効です。", "前の動画", "浮き出し", "オープニング自動スキップ", "全画面表示", "ウィンドウ色", "しばらくして", "3122652ZPCjiL", "不正なアクセスです。access_keyを確認してください。", "655oYHjWO", "模倣危険", "エンディングをスキップ", "字幕をオンにする", "秒後に自動再生", "{timeTxt}秒後に次の動画が再生されます。", "26358VGcymd", "エンディング自動スキップ", "月間の基本提供呼び出し回数を超過しました。有料版に切り替えてご利用ください。", "FairPlay証明書の検証に失敗しました。", "テキスト不透明度", "イントロをスキップ", "サポートされていない形式です。", "9xQDcCC", "DRMトークンが無効です。", "オープニングをスキップ", "背景不透明度"];
|
|
72
65
|
return Ae = function() {
|
|
73
66
|
return x;
|
|
74
67
|
}, Ae();
|
|
75
68
|
}
|
|
76
|
-
const
|
|
69
|
+
const Zt = { common: { cancel: "キャンセル", auto: "自動", normal: "標準", notUse: g(242), prev: g(201), next: "次の動画", delayText: g(213), license: g(195), play: "再生", pause: g(192), replay: g(229), fullOn: g(204), fullOff: g(247), muteOn: g(196), muteOff: g(237), captionOff: g(240), captionOn: g(212), setting: "設定", live: g(243), miniPlayer: "ミニプレーヤー", isMute: "ミュート状態です。", subtitle: "字幕", subtitleNot: "字幕は利用できません" }, settings: { autoplay: g(253), playbackRate: g(189), captions: "字幕", quality: "画質" }, skip: { introSkip: g(220), openingSkip: g(224), endingSkip: g(211), autoSkipIntro: "イントロ自動スキップ", autoSkipOpening: g(203), autoSkipEnding: g(216), autoSkipOpeningEnding: "OP/ED自動スキップ" }, ageRating: { noticeAll: "この映像は全年齢対象です。", notice12: g(254), notice15: "この映像は15歳未満の視聴には不適切な内容を含むため、保護者の指導が必要です。", notice19: g(251) }, contentWarning: { sexuality: g(235), violence: "暴力", language: "暴言", drugs: "薬物", horror: "恐怖", imitation: g(210), provocative: g(256) }, error: { "01": { title: g(239), desc: g(208) }, "02": { title: "動画を再生できません", desc: g(246) }, "03": { title: g(198), desc: g(193) }, "04": { title: g(239), desc: g(258) }, "05": { title: g(239), desc: g(200) }, "06": { title: "動画を再生できません", desc: g(217) }, "07": { title: g(239), desc: g(221) }, "08": { title: g(239), desc: g(252) }, "09": { title: g(239), desc: g(236) }, 10: { title: "動画を再生できません", desc: g(250) }, 11: { title: "動画を再生できません", desc: g(223) }, 12: { title: g(239), desc: g(230) }, 13: { title: g(239), desc: g(218) }, 14: { title: g(239), desc: g(190) }, 15: { title: g(233), desc: "必須モジュールが読み込まれていません。(hls.js)" }, 16: { title: g(233), desc: g(249) }, 17: { title: g(233), desc: "この機能にはStandardプランが必要です。" } }, tv: { default: "デフォルト", quality: "画質", subtitleStyle: g(197), subtitleStyleDesc: "テキスト、色、背景スタイルを変更", applyDefaultStyle: g(231), fontColor: g(194), fontSize: "フォントサイズ", textOpacity: g(219), edgeStyle: g(248), bgColor: "背景色", bgOpacity: g(225), windowColor: g(205), windowOpacity: "ウィンドウ不透明度", fontWeight: "文字の太さ", weight: { thin: "細い", normal: "標準", semiBold: "やや太い", bold: "太い", extraBold: "極太" }, color: { white: "白", black: "黒", red: "赤", green: "緑", blue: "青", yellow: "黄", magenta: g(227), cyan: g(232) }, edge: { none: "なし", dropShadow: g(245), raised: g(202), depressed: "沈み込み", uniform: "均一" } }, alternative: { hour: "時間", minute: "分", second: "秒", after: g(206), afterMin: "分後", afterHour: "時間後", afterDay: "日後", startPlay: g(241), nextPlay: g(214), afterPlay: "予定" } }, ke = Ot;
|
|
77
70
|
(function(x, t) {
|
|
78
|
-
const e =
|
|
71
|
+
const e = Ot, i = x();
|
|
79
72
|
for (; ; )
|
|
80
73
|
try {
|
|
81
|
-
if (parseInt(e(
|
|
74
|
+
if (parseInt(e(219)) / 1 + -parseInt(e(215)) / 2 + parseInt(e(220)) / 3 + -parseInt(e(211)) / 4 + parseInt(e(212)) / 5 + -parseInt(e(214)) / 6 + -parseInt(e(216)) / 7 * (parseInt(e(218)) / 8) === t) break;
|
|
82
75
|
i.push(i.shift());
|
|
83
76
|
} catch {
|
|
84
77
|
i.push(i.shift());
|
|
85
78
|
}
|
|
86
|
-
})(
|
|
87
|
-
function
|
|
88
|
-
return x = x -
|
|
79
|
+
})(De, 796266);
|
|
80
|
+
function Ot(x, t) {
|
|
81
|
+
return x = x - 211, De()[x];
|
|
89
82
|
}
|
|
90
|
-
|
|
83
|
+
function De() {
|
|
84
|
+
const x = ["464808eFbptw", "7DPQLkn", "undefined", "1392376AIiQLV", "1416930vwNhVL", "2434608GbhXGH", "5150260BQrvGO", "3847010jERvgy", "language", "3045516qvizjm"];
|
|
85
|
+
return De = function() {
|
|
86
|
+
return x;
|
|
87
|
+
}, De();
|
|
88
|
+
}
|
|
89
|
+
const Pt = { en: jt, ko: Jt, ja: Zt }, Xt = () => typeof navigator !== ke(217) && typeof navigator[ke(213)] !== ke(217);
|
|
91
90
|
function Qt(x) {
|
|
92
|
-
const t =
|
|
93
|
-
return
|
|
91
|
+
const t = x.split("-")[0];
|
|
92
|
+
return t in Pt ? t : "en";
|
|
94
93
|
}
|
|
95
|
-
function
|
|
96
|
-
const t =
|
|
94
|
+
function Qe(x) {
|
|
95
|
+
const t = ke;
|
|
97
96
|
let e = "en";
|
|
98
|
-
x ? e = x :
|
|
97
|
+
x ? e = x : Xt() && (e = navigator[t(213)]);
|
|
99
98
|
const i = Qt(e);
|
|
100
|
-
return
|
|
99
|
+
return Pt[i];
|
|
101
100
|
}
|
|
102
|
-
|
|
103
|
-
var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "",
|
|
101
|
+
Qe();
|
|
102
|
+
var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", dt = "?", T = {
|
|
104
103
|
FUNCTION: "function",
|
|
105
104
|
OBJECT: "object",
|
|
106
105
|
STRING: "string",
|
|
107
106
|
UNDEFINED: "undefined"
|
|
108
|
-
}, P = "browser",
|
|
107
|
+
}, P = "browser", z = "cpu", Y = "device", F = "engine", N = "os", se = "result", l = "name", s = "type", u = "vendor", d = "version", M = "architecture", be = "major", c = "model", _e = "console", S = "mobile", k = "tablet", C = "smarttv", V = "wearable", me = "xr", fe = "embedded", t0 = "fetcher", ie = "inapp", xt = "brands", ee = "formFactors", at = "fullVersionList", ce = "platform", nt = "platformVersion", Fe = "bitness", X = "sec-ch-ua", i0 = X + "-full-version-list", x0 = X + "-arch", a0 = X + "-" + Fe, n0 = X + "-form-factors", r0 = X + "-" + S, o0 = X + "-" + c, Nt = X + "-" + ce, s0 = Nt + "-version", Ut = [xt, at, S, c, ce, nt, M, ee, Fe], ye = "Amazon", xe = "Apple", ut = "ASUS", pt = "BlackBerry", $ = "Google", ht = "Huawei", Ye = "Lenovo", ft = "Honor", ve = "LG", Ke = "Microsoft", ze = "Motorola", bt = "Nvidia", wt = "OnePlus", We = "OPPO", de = "Samsung", gt = "Sharp", ue = "Sony", qe = "Xiaomi", je = "Zebra", mt = "Chrome", yt = "Chromium", j = "Chromecast", Ee = "Edge", pe = "Firefox", ae = "Opera", Je = "Facebook", vt = "Sogou", ne = "Mobile ", re = " Browser", $e = "Windows", c0 = typeof window !== T.UNDEFINED, O = c0 && window.navigator ? window.navigator : void 0, te = O && O.userAgentData ? O.userAgentData : void 0, l0 = function(x, t) {
|
|
109
108
|
var e = {}, i = t;
|
|
110
|
-
if (!
|
|
109
|
+
if (!Re(t)) {
|
|
111
110
|
i = {};
|
|
112
111
|
for (var a in t)
|
|
113
112
|
for (var r in t[a])
|
|
@@ -116,69 +115,69 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
116
115
|
for (var o in x)
|
|
117
116
|
e[o] = i[o] && i[o].length % 2 === 0 ? i[o].concat(x[o]) : x[o];
|
|
118
117
|
return e;
|
|
119
|
-
},
|
|
118
|
+
}, He = function(x) {
|
|
120
119
|
for (var t = {}, e = 0; e < x.length; e++)
|
|
121
120
|
t[x[e].toUpperCase()] = x[e];
|
|
122
121
|
return t;
|
|
123
|
-
},
|
|
124
|
-
if (typeof x ===
|
|
122
|
+
}, et = function(x, t) {
|
|
123
|
+
if (typeof x === T.OBJECT && x.length > 0) {
|
|
125
124
|
for (var e in x)
|
|
126
|
-
if (
|
|
125
|
+
if (J(t) == J(x[e])) return !0;
|
|
127
126
|
return !1;
|
|
128
127
|
}
|
|
129
|
-
return we(x) ?
|
|
130
|
-
},
|
|
128
|
+
return we(x) ? J(t) == J(x) : !1;
|
|
129
|
+
}, Re = function(x, t) {
|
|
131
130
|
for (var e in x)
|
|
132
|
-
return /^(browser|cpu|device|engine|os)$/.test(e) || (t ?
|
|
131
|
+
return /^(browser|cpu|device|engine|os)$/.test(e) || (t ? Re(x[e]) : !1);
|
|
133
132
|
}, we = function(x) {
|
|
134
|
-
return typeof x ===
|
|
135
|
-
},
|
|
133
|
+
return typeof x === T.STRING;
|
|
134
|
+
}, Ze = function(x) {
|
|
136
135
|
if (x) {
|
|
137
|
-
for (var t = [], e =
|
|
136
|
+
for (var t = [], e = le(/\\?\"/g, x).split(","), i = 0; i < e.length; i++)
|
|
138
137
|
if (e[i].indexOf(";") > -1) {
|
|
139
|
-
var a =
|
|
138
|
+
var a = Me(e[i]).split(";v=");
|
|
140
139
|
t[i] = { brand: a[0], version: a[1] };
|
|
141
140
|
} else
|
|
142
|
-
t[i] =
|
|
141
|
+
t[i] = Me(e[i]);
|
|
143
142
|
return t;
|
|
144
143
|
}
|
|
145
|
-
},
|
|
144
|
+
}, J = function(x) {
|
|
146
145
|
return we(x) ? x.toLowerCase() : x;
|
|
147
|
-
},
|
|
148
|
-
return we(x) ?
|
|
149
|
-
},
|
|
146
|
+
}, tt = function(x) {
|
|
147
|
+
return we(x) ? le(/[^\d\.]/g, x).split(".")[0] : void 0;
|
|
148
|
+
}, K = function(x) {
|
|
150
149
|
for (var t in x)
|
|
151
150
|
if (x.hasOwnProperty(t)) {
|
|
152
151
|
var e = x[t];
|
|
153
|
-
typeof e ==
|
|
152
|
+
typeof e == T.OBJECT && e.length == 2 ? this[e[0]] = e[1] : this[e] = void 0;
|
|
154
153
|
}
|
|
155
154
|
return this;
|
|
156
|
-
},
|
|
155
|
+
}, le = function(x, t) {
|
|
157
156
|
return we(t) ? t.replace(x, oe) : t;
|
|
158
157
|
}, he = function(x) {
|
|
159
|
-
return
|
|
160
|
-
},
|
|
161
|
-
return x =
|
|
162
|
-
},
|
|
158
|
+
return le(/\\?\"/g, x);
|
|
159
|
+
}, Me = function(x, t) {
|
|
160
|
+
return x = le(/^\s\s*/, String(x)), typeof t === T.UNDEFINED ? x : x.substring(0, t);
|
|
161
|
+
}, it = function(x, t) {
|
|
163
162
|
if (!(!x || !t))
|
|
164
|
-
for (var e = 0, i, a, r, o,
|
|
165
|
-
var y = t[e],
|
|
166
|
-
for (i = a = 0; i < y.length && !
|
|
167
|
-
if (
|
|
168
|
-
for (r = 0; r <
|
|
169
|
-
|
|
163
|
+
for (var e = 0, i, a, r, o, p, h; e < t.length && !p; ) {
|
|
164
|
+
var y = t[e], v = t[e + 1];
|
|
165
|
+
for (i = a = 0; i < y.length && !p && y[i]; )
|
|
166
|
+
if (p = y[i++].exec(x), p)
|
|
167
|
+
for (r = 0; r < v.length; r++)
|
|
168
|
+
h = p[++a], o = v[r], typeof o === T.OBJECT && o.length > 0 ? o.length === 2 ? typeof o[1] == T.FUNCTION ? this[o[0]] = o[1].call(this, h) : this[o[0]] = o[1] : o.length >= 3 && (typeof o[1] === T.FUNCTION && !(o[1].exec && o[1].test) ? o.length > 3 ? this[o[0]] = h ? o[1].apply(this, o.slice(2)) : void 0 : this[o[0]] = h ? o[1].call(this, h, o[2]) : void 0 : o.length == 3 ? this[o[0]] = h ? h.replace(o[1], o[2]) : void 0 : o.length == 4 ? this[o[0]] = h ? o[3].call(this, h.replace(o[1], o[2])) : void 0 : o.length > 4 && (this[o[0]] = h ? o[3].apply(this, [h.replace(o[1], o[2])].concat(o.slice(4))) : void 0)) : this[o] = h || void 0;
|
|
170
169
|
e += 2;
|
|
171
170
|
}
|
|
172
|
-
},
|
|
171
|
+
}, B = function(x, t) {
|
|
173
172
|
for (var e in t)
|
|
174
|
-
if (typeof t[e] ===
|
|
173
|
+
if (typeof t[e] === T.OBJECT && t[e].length > 0) {
|
|
175
174
|
for (var i = 0; i < t[e].length; i++)
|
|
176
|
-
if (
|
|
177
|
-
return e ===
|
|
178
|
-
} else if (
|
|
179
|
-
return e ===
|
|
175
|
+
if (et(t[e][i], x))
|
|
176
|
+
return e === dt ? void 0 : e;
|
|
177
|
+
} else if (et(t[e], x))
|
|
178
|
+
return e === dt ? void 0 : e;
|
|
180
179
|
return t.hasOwnProperty("*") ? t["*"] : x;
|
|
181
|
-
},
|
|
180
|
+
}, St = {
|
|
182
181
|
ME: "4.90",
|
|
183
182
|
"NT 3.51": "3.51",
|
|
184
183
|
"NT 4.0": "4.0",
|
|
@@ -190,7 +189,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
190
189
|
"8.1": "6.3",
|
|
191
190
|
10: ["6.4", "10.0"],
|
|
192
191
|
NT: ""
|
|
193
|
-
},
|
|
192
|
+
}, It = {
|
|
194
193
|
embedded: "Automotive",
|
|
195
194
|
mobile: "Mobile",
|
|
196
195
|
tablet: ["Tablet", "EInk"],
|
|
@@ -199,7 +198,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
199
198
|
xr: ["VR", "XR"],
|
|
200
199
|
"?": ["Desktop", "Unknown"],
|
|
201
200
|
"*": void 0
|
|
202
|
-
},
|
|
201
|
+
}, d0 = {
|
|
203
202
|
Chrome: "Google Chrome",
|
|
204
203
|
Edge: "Microsoft Edge",
|
|
205
204
|
"Edge WebView2": "Microsoft Edge WebView2",
|
|
@@ -209,23 +208,23 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
209
208
|
"MIUI Browser": "Miui Browser",
|
|
210
209
|
"Opera Mobi": "OperaMobile",
|
|
211
210
|
Yandex: "YaBrowser"
|
|
212
|
-
},
|
|
211
|
+
}, kt = {
|
|
213
212
|
browser: [
|
|
214
213
|
[
|
|
215
214
|
// Most common regardless engine
|
|
216
215
|
/\b(?:crmo|crios)\/([\w\.]+)/i
|
|
217
216
|
// Chrome for Android/iOS
|
|
218
217
|
],
|
|
219
|
-
[
|
|
218
|
+
[d, [l, ne + "Chrome"]],
|
|
220
219
|
[
|
|
221
220
|
/webview.+edge\/([\w\.]+)/i
|
|
222
221
|
// Microsoft Edge
|
|
223
222
|
],
|
|
224
|
-
[
|
|
223
|
+
[d, [l, Ee + " WebView"]],
|
|
225
224
|
[
|
|
226
225
|
/edg(?:e|ios|a)?\/([\w\.]+)/i
|
|
227
226
|
],
|
|
228
|
-
[
|
|
227
|
+
[d, [l, "Edge"]],
|
|
229
228
|
[
|
|
230
229
|
// Presto based
|
|
231
230
|
/(opera mini)\/([-\w\.]+)/i,
|
|
@@ -235,33 +234,33 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
235
234
|
/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i
|
|
236
235
|
// Opera
|
|
237
236
|
],
|
|
238
|
-
[
|
|
237
|
+
[l, d],
|
|
239
238
|
[
|
|
240
239
|
/opios[\/ ]+([\w\.]+)/i
|
|
241
240
|
// Opera mini on iphone >= 8.0
|
|
242
241
|
],
|
|
243
|
-
[
|
|
242
|
+
[d, [l, ae + " Mini"]],
|
|
244
243
|
[
|
|
245
244
|
/\bop(?:rg)?x\/([\w\.]+)/i
|
|
246
245
|
// Opera GX
|
|
247
246
|
],
|
|
248
|
-
[
|
|
247
|
+
[d, [l, ae + " GX"]],
|
|
249
248
|
[
|
|
250
249
|
/\bopr\/([\w\.]+)/i
|
|
251
250
|
// Opera Webkit
|
|
252
251
|
],
|
|
253
|
-
[
|
|
252
|
+
[d, [l, ae]],
|
|
254
253
|
[
|
|
255
254
|
// Mixed
|
|
256
255
|
/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i
|
|
257
256
|
// Baidu
|
|
258
257
|
],
|
|
259
|
-
[
|
|
258
|
+
[d, [l, "Baidu"]],
|
|
260
259
|
[
|
|
261
260
|
/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i
|
|
262
261
|
// Maxthon
|
|
263
262
|
],
|
|
264
|
-
[
|
|
263
|
+
[d, [l, "Maxthon"]],
|
|
265
264
|
[
|
|
266
265
|
/(kindle)\/([\w\.]+)/i,
|
|
267
266
|
// Kindle
|
|
@@ -284,22 +283,22 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
284
283
|
/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i
|
|
285
284
|
// Ecosia/Weibo
|
|
286
285
|
],
|
|
287
|
-
[
|
|
286
|
+
[l, d],
|
|
288
287
|
[
|
|
289
288
|
/quark(?:pc)?\/([-\w\.]+)/i
|
|
290
289
|
// Quark
|
|
291
290
|
],
|
|
292
|
-
[
|
|
291
|
+
[d, [l, "Quark"]],
|
|
293
292
|
[
|
|
294
293
|
/\bddg\/([\w\.]+)/i
|
|
295
294
|
// DuckDuckGo
|
|
296
295
|
],
|
|
297
|
-
[
|
|
296
|
+
[d, [l, "DuckDuckGo"]],
|
|
298
297
|
[
|
|
299
298
|
/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i
|
|
300
299
|
// UCBrowser
|
|
301
300
|
],
|
|
302
|
-
[
|
|
301
|
+
[d, [l, "UCBrowser"]],
|
|
303
302
|
[
|
|
304
303
|
/microm.+\bqbcore\/([\w\.]+)/i,
|
|
305
304
|
// WeChat Desktop for Windows Built-in Browser
|
|
@@ -307,107 +306,107 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
307
306
|
/micromessenger\/([\w\.]+)/i
|
|
308
307
|
// WeChat
|
|
309
308
|
],
|
|
310
|
-
[
|
|
309
|
+
[d, [l, "WeChat"]],
|
|
311
310
|
[
|
|
312
311
|
/konqueror\/([\w\.]+)/i
|
|
313
312
|
// Konqueror
|
|
314
313
|
],
|
|
315
|
-
[
|
|
314
|
+
[d, [l, "Konqueror"]],
|
|
316
315
|
[
|
|
317
316
|
/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i
|
|
318
317
|
// IE11
|
|
319
318
|
],
|
|
320
|
-
[
|
|
319
|
+
[d, [l, "IE"]],
|
|
321
320
|
[
|
|
322
321
|
/ya(?:search)?browser\/([\w\.]+)/i
|
|
323
322
|
// Yandex
|
|
324
323
|
],
|
|
325
|
-
[
|
|
324
|
+
[d, [l, "Yandex"]],
|
|
326
325
|
[
|
|
327
326
|
/slbrowser\/([\w\.]+)/i
|
|
328
327
|
// Smart Lenovo Browser
|
|
329
328
|
],
|
|
330
|
-
[
|
|
329
|
+
[d, [l, "Smart " + Ye + re]],
|
|
331
330
|
[
|
|
332
331
|
/(av(?:ast|g|ira))\/([\w\.]+)/i
|
|
333
332
|
// Avast/AVG/Avira Secure Browser
|
|
334
333
|
],
|
|
335
|
-
[[
|
|
334
|
+
[[l, /(.+)/, "$1 Secure" + re], d],
|
|
336
335
|
[
|
|
337
336
|
/norton\/([\w\.]+)/i
|
|
338
337
|
// Norton Private Browser
|
|
339
338
|
],
|
|
340
|
-
[
|
|
339
|
+
[d, [l, "Norton Private" + re]],
|
|
341
340
|
[
|
|
342
341
|
/\bfocus\/([\w\.]+)/i
|
|
343
342
|
// Firefox Focus
|
|
344
343
|
],
|
|
345
|
-
[
|
|
344
|
+
[d, [l, pe + " Focus"]],
|
|
346
345
|
[
|
|
347
346
|
/ mms\/([\w\.]+)$/i
|
|
348
347
|
// Opera Neon
|
|
349
348
|
],
|
|
350
|
-
[
|
|
349
|
+
[d, [l, ae + " Neon"]],
|
|
351
350
|
[
|
|
352
351
|
/ opt\/([\w\.]+)$/i
|
|
353
352
|
// Opera Touch
|
|
354
353
|
],
|
|
355
|
-
[
|
|
354
|
+
[d, [l, ae + " Touch"]],
|
|
356
355
|
[
|
|
357
356
|
/coc_coc\w+\/([\w\.]+)/i
|
|
358
357
|
// Coc Coc Browser
|
|
359
358
|
],
|
|
360
|
-
[
|
|
359
|
+
[d, [l, "Coc Coc"]],
|
|
361
360
|
[
|
|
362
361
|
/dolfin\/([\w\.]+)/i
|
|
363
362
|
// Dolphin
|
|
364
363
|
],
|
|
365
|
-
[
|
|
364
|
+
[d, [l, "Dolphin"]],
|
|
366
365
|
[
|
|
367
366
|
/coast\/([\w\.]+)/i
|
|
368
367
|
// Opera Coast
|
|
369
368
|
],
|
|
370
|
-
[
|
|
369
|
+
[d, [l, ae + " Coast"]],
|
|
371
370
|
[
|
|
372
371
|
/miuibrowser\/([\w\.]+)/i
|
|
373
372
|
// MIUI Browser
|
|
374
373
|
],
|
|
375
|
-
[
|
|
374
|
+
[d, [l, "MIUI" + re]],
|
|
376
375
|
[
|
|
377
376
|
/fxios\/([\w\.-]+)/i
|
|
378
377
|
// Firefox for iOS
|
|
379
378
|
],
|
|
380
|
-
[
|
|
379
|
+
[d, [l, ne + pe]],
|
|
381
380
|
[
|
|
382
381
|
/\bqihoobrowser\/?([\w\.]*)/i
|
|
383
382
|
// 360
|
|
384
383
|
],
|
|
385
|
-
[
|
|
384
|
+
[d, [l, "360"]],
|
|
386
385
|
[
|
|
387
386
|
/\b(qq)\/([\w\.]+)/i
|
|
388
387
|
// QQ
|
|
389
388
|
],
|
|
390
|
-
[[
|
|
389
|
+
[[l, /(.+)/, "$1Browser"], d],
|
|
391
390
|
[
|
|
392
391
|
/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i
|
|
393
392
|
],
|
|
394
|
-
[[
|
|
393
|
+
[[l, /(.+)/, "$1" + re], d],
|
|
395
394
|
[
|
|
396
395
|
// Oculus/Sailfish/HuaweiBrowser/VivoBrowser/PicoBrowser
|
|
397
396
|
/samsungbrowser\/([\w\.]+)/i
|
|
398
397
|
// Samsung Internet
|
|
399
398
|
],
|
|
400
|
-
[
|
|
399
|
+
[d, [l, de + " Internet"]],
|
|
401
400
|
[
|
|
402
401
|
/metasr[\/ ]?([\d\.]+)/i
|
|
403
402
|
// Sogou Explorer
|
|
404
403
|
],
|
|
405
|
-
[
|
|
404
|
+
[d, [l, vt + " Explorer"]],
|
|
406
405
|
[
|
|
407
406
|
/(sogou)mo\w+\/([\d\.]+)/i
|
|
408
407
|
// Sogou Mobile
|
|
409
408
|
],
|
|
410
|
-
[[
|
|
409
|
+
[[l, vt + " Mobile"], d],
|
|
411
410
|
[
|
|
412
411
|
/(electron)\/([\w\.]+) safari/i,
|
|
413
412
|
// Electron-based App
|
|
@@ -416,23 +415,23 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
416
415
|
/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i
|
|
417
416
|
// QQ/2345
|
|
418
417
|
],
|
|
419
|
-
[
|
|
418
|
+
[l, d],
|
|
420
419
|
[
|
|
421
420
|
/(lbbrowser|luakit|rekonq|steam(?= (clie|tenf|gameo)))/i
|
|
422
421
|
// LieBao Browser/Luakit/Rekonq/Steam
|
|
423
422
|
],
|
|
424
|
-
[
|
|
423
|
+
[l],
|
|
425
424
|
[
|
|
426
425
|
/ome\/([\w\.]+).+(iron(?= saf)|360(?=[es]e$))/i
|
|
427
426
|
// Iron / 360
|
|
428
427
|
],
|
|
429
|
-
[
|
|
428
|
+
[d, l],
|
|
430
429
|
[
|
|
431
430
|
// WebView
|
|
432
431
|
/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i
|
|
433
432
|
// Facebook App for iOS & Android
|
|
434
433
|
],
|
|
435
|
-
[[
|
|
434
|
+
[[l, Je], d, [s, ie]],
|
|
436
435
|
[
|
|
437
436
|
/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,
|
|
438
437
|
// Kakao App
|
|
@@ -453,111 +452,111 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
453
452
|
/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i
|
|
454
453
|
// Instagram/Snapchat/Klarna
|
|
455
454
|
],
|
|
456
|
-
[
|
|
455
|
+
[l, d, [s, ie]],
|
|
457
456
|
[
|
|
458
457
|
/\bgsa\/([\w\.]+) .*safari\//i
|
|
459
458
|
// Google Search Appliance on iOS
|
|
460
459
|
],
|
|
461
|
-
[
|
|
460
|
+
[d, [l, "GSA"], [s, ie]],
|
|
462
461
|
[
|
|
463
462
|
/(?:musical_ly|trill)(?:.+app_?version\/|_)([\w\.]+)/i
|
|
464
463
|
// TikTok
|
|
465
464
|
],
|
|
466
|
-
[
|
|
465
|
+
[d, [l, "TikTok"], [s, ie]],
|
|
467
466
|
[
|
|
468
467
|
/\[(linkedin)app\]/i
|
|
469
468
|
// LinkedIn App for iOS & Android
|
|
470
469
|
],
|
|
471
|
-
[
|
|
470
|
+
[l, [s, ie]],
|
|
472
471
|
[
|
|
473
472
|
/(zalo(?:app)?)[\/\sa-z]*([\w\.-]+)/i
|
|
474
473
|
// Zalo
|
|
475
474
|
],
|
|
476
|
-
[[
|
|
475
|
+
[[l, /(.+)/, "Zalo"], d, [s, ie]],
|
|
477
476
|
[
|
|
478
477
|
/(chromium)[\/ ]([-\w\.]+)/i
|
|
479
478
|
// Chromium
|
|
480
479
|
],
|
|
481
|
-
[
|
|
480
|
+
[l, d],
|
|
482
481
|
[
|
|
483
482
|
/ome-(lighthouse)$/i
|
|
484
483
|
// Chrome Lighthouse
|
|
485
484
|
],
|
|
486
|
-
[
|
|
485
|
+
[l, [s, t0]],
|
|
487
486
|
[
|
|
488
487
|
/headlesschrome(?:\/([\w\.]+)| )/i
|
|
489
488
|
// Chrome Headless
|
|
490
489
|
],
|
|
491
|
-
[
|
|
490
|
+
[d, [l, mt + " Headless"]],
|
|
492
491
|
[
|
|
493
492
|
/wv\).+chrome\/([\w\.]+).+edgw\//i
|
|
494
493
|
// Edge WebView2
|
|
495
494
|
],
|
|
496
|
-
[
|
|
495
|
+
[d, [l, Ee + " WebView2"]],
|
|
497
496
|
[
|
|
498
497
|
/ wv\).+(chrome)\/([\w\.]+)/i
|
|
499
498
|
// Chrome WebView
|
|
500
499
|
],
|
|
501
|
-
[[
|
|
500
|
+
[[l, mt + " WebView"], d],
|
|
502
501
|
[
|
|
503
502
|
/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i
|
|
504
503
|
// Android Browser
|
|
505
504
|
],
|
|
506
|
-
[
|
|
505
|
+
[d, [l, "Android" + re]],
|
|
507
506
|
[
|
|
508
507
|
/chrome\/([\w\.]+) mobile/i
|
|
509
508
|
// Chrome Mobile
|
|
510
509
|
],
|
|
511
|
-
[
|
|
510
|
+
[d, [l, ne + "Chrome"]],
|
|
512
511
|
[
|
|
513
512
|
/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i
|
|
514
513
|
// Chrome/OmniWeb/Arora/Tizen/Nokia
|
|
515
514
|
],
|
|
516
|
-
[
|
|
515
|
+
[l, d],
|
|
517
516
|
[
|
|
518
517
|
/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i
|
|
519
518
|
// Safari Mobile
|
|
520
519
|
],
|
|
521
|
-
[
|
|
520
|
+
[d, [l, ne + "Safari"]],
|
|
522
521
|
[
|
|
523
522
|
/iphone .*mobile(?:\/\w+ | ?)safari/i
|
|
524
523
|
],
|
|
525
|
-
[[
|
|
524
|
+
[[l, ne + "Safari"]],
|
|
526
525
|
[
|
|
527
526
|
/version\/([\w\.\,]+) .*(safari)/i
|
|
528
527
|
// Safari
|
|
529
528
|
],
|
|
530
|
-
[
|
|
529
|
+
[d, l],
|
|
531
530
|
[
|
|
532
531
|
/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i
|
|
533
532
|
// Safari < 3.0
|
|
534
533
|
],
|
|
535
|
-
[
|
|
534
|
+
[l, [d, "1"]],
|
|
536
535
|
[
|
|
537
536
|
/(webkit|khtml)\/([\w\.]+)/i
|
|
538
537
|
],
|
|
539
|
-
[
|
|
538
|
+
[l, d],
|
|
540
539
|
[
|
|
541
540
|
// Gecko based
|
|
542
541
|
/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i
|
|
543
542
|
// Firefox Mobile
|
|
544
543
|
],
|
|
545
|
-
[[
|
|
544
|
+
[[l, ne + pe], d],
|
|
546
545
|
[
|
|
547
546
|
/(navigator|netscape\d?)\/([-\w\.]+)/i
|
|
548
547
|
// Netscape
|
|
549
548
|
],
|
|
550
|
-
[[
|
|
549
|
+
[[l, "Netscape"], d],
|
|
551
550
|
[
|
|
552
551
|
/(wolvic|librewolf)\/([\w\.]+)/i
|
|
553
552
|
// Wolvic/LibreWolf
|
|
554
553
|
],
|
|
555
|
-
[
|
|
554
|
+
[l, d],
|
|
556
555
|
[
|
|
557
556
|
/mobile vr; rv:([\w\.]+)\).+firefox/i
|
|
558
557
|
// Firefox Reality
|
|
559
558
|
],
|
|
560
|
-
[
|
|
559
|
+
[d, [l, pe + " Reality"]],
|
|
561
560
|
[
|
|
562
561
|
/ekiohf.+(flow)\/([\w\.]+)/i,
|
|
563
562
|
// Flow
|
|
@@ -577,46 +576,46 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
577
576
|
/\b(links) \(([\w\.]+)/i
|
|
578
577
|
// Links
|
|
579
578
|
],
|
|
580
|
-
[
|
|
579
|
+
[l, [d, /_/g, "."]],
|
|
581
580
|
[
|
|
582
581
|
/(cobalt)\/([\w\.]+)/i
|
|
583
582
|
// Cobalt
|
|
584
583
|
],
|
|
585
|
-
[
|
|
584
|
+
[l, [d, /[^\d\.]+./, oe]]
|
|
586
585
|
],
|
|
587
586
|
cpu: [
|
|
588
587
|
[
|
|
589
588
|
/\b((amd|x|x86[-_]?|wow|win)64)\b/i
|
|
590
589
|
// AMD64 (x64)
|
|
591
590
|
],
|
|
592
|
-
[[
|
|
591
|
+
[[M, "amd64"]],
|
|
593
592
|
[
|
|
594
593
|
/(ia32(?=;))/i,
|
|
595
594
|
// IA32 (quicktime)
|
|
596
595
|
/\b((i[346]|x)86)(pc)?\b/i
|
|
597
596
|
// IA32 (x86)
|
|
598
597
|
],
|
|
599
|
-
[[
|
|
598
|
+
[[M, "ia32"]],
|
|
600
599
|
[
|
|
601
600
|
/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i
|
|
602
601
|
// ARM64
|
|
603
602
|
],
|
|
604
|
-
[[
|
|
603
|
+
[[M, "arm64"]],
|
|
605
604
|
[
|
|
606
605
|
/\b(arm(v[67])?ht?n?[fl]p?)\b/i
|
|
607
606
|
// ARMHF
|
|
608
607
|
],
|
|
609
|
-
[[
|
|
608
|
+
[[M, "armhf"]],
|
|
610
609
|
[
|
|
611
610
|
// PocketPC mistakenly identified as PowerPC
|
|
612
611
|
/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i
|
|
613
612
|
],
|
|
614
|
-
[[
|
|
613
|
+
[[M, "arm"]],
|
|
615
614
|
[
|
|
616
615
|
/ sun4\w[;\)]/i
|
|
617
616
|
// SPARC
|
|
618
617
|
],
|
|
619
|
-
[[
|
|
618
|
+
[[M, "sparc"]],
|
|
620
619
|
[
|
|
621
620
|
// IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC
|
|
622
621
|
/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i,
|
|
@@ -625,15 +624,15 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
625
624
|
/(?:osf1|[freopnt]{3,4}bsd) (alpha)/i
|
|
626
625
|
// Alpha
|
|
627
626
|
],
|
|
628
|
-
[[
|
|
627
|
+
[[M, /ower/, oe, J]],
|
|
629
628
|
[
|
|
630
629
|
/mc680.0/i
|
|
631
630
|
],
|
|
632
|
-
[[
|
|
631
|
+
[[M, "68k"]],
|
|
633
632
|
[
|
|
634
633
|
/winnt.+\[axp/i
|
|
635
634
|
],
|
|
636
|
-
[[
|
|
635
|
+
[[M, "alpha"]]
|
|
637
636
|
],
|
|
638
637
|
device: [
|
|
639
638
|
[
|
|
@@ -643,19 +642,19 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
643
642
|
// Samsung
|
|
644
643
|
/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i
|
|
645
644
|
],
|
|
646
|
-
[c, [u,
|
|
645
|
+
[c, [u, de], [s, k]],
|
|
647
646
|
[
|
|
648
647
|
/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,
|
|
649
648
|
/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,
|
|
650
649
|
/sec-(sgh\w+)/i
|
|
651
650
|
],
|
|
652
|
-
[c, [u,
|
|
651
|
+
[c, [u, de], [s, S]],
|
|
653
652
|
[
|
|
654
653
|
// Apple
|
|
655
654
|
/(?:\/|\()(ip(?:hone|od)[\w, ]*)[\/\);]/i
|
|
656
655
|
// iPod/iPhone
|
|
657
656
|
],
|
|
658
|
-
[c, [u, xe], [s,
|
|
657
|
+
[c, [u, xe], [s, S]],
|
|
659
658
|
[
|
|
660
659
|
/\b(?:ios|apple\w+)\/.+[\(\/](ipad)/i,
|
|
661
660
|
// iPad
|
|
@@ -670,33 +669,33 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
670
669
|
// Sharp
|
|
671
670
|
/\b(sh-?[altvz]?\d\d[a-ekm]?)/i
|
|
672
671
|
],
|
|
673
|
-
[c, [u,
|
|
672
|
+
[c, [u, gt], [s, S]],
|
|
674
673
|
[
|
|
675
674
|
// Honor
|
|
676
675
|
/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i
|
|
677
676
|
],
|
|
678
|
-
[c, [u,
|
|
677
|
+
[c, [u, ft], [s, k]],
|
|
679
678
|
[
|
|
680
679
|
/honor([-\w ]+)[;\)]/i
|
|
681
680
|
],
|
|
682
|
-
[c, [u,
|
|
681
|
+
[c, [u, ft], [s, S]],
|
|
683
682
|
[
|
|
684
683
|
// Huawei
|
|
685
684
|
/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i
|
|
686
685
|
],
|
|
687
|
-
[c, [u,
|
|
686
|
+
[c, [u, ht], [s, k]],
|
|
688
687
|
[
|
|
689
688
|
/(?:huawei) ?([-\w ]+)[;\)]/i,
|
|
690
689
|
/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][\dc][adnt]?)\b(?!.+d\/s)/i
|
|
691
690
|
],
|
|
692
|
-
[c, [u,
|
|
691
|
+
[c, [u, ht], [s, S]],
|
|
693
692
|
[
|
|
694
693
|
// Xiaomi
|
|
695
694
|
/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,
|
|
696
695
|
/\b(?:xiao)?((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i
|
|
697
696
|
// Mi Pad tablets
|
|
698
697
|
],
|
|
699
|
-
[[c, /_/g, " "], [u,
|
|
698
|
+
[[c, /_/g, " "], [u, qe], [s, k]],
|
|
700
699
|
[
|
|
701
700
|
/\b; (\w+) build\/hm\1/i,
|
|
702
701
|
// Xiaomi Hongmi 'numeric' models
|
|
@@ -708,61 +707,61 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
708
707
|
/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note|max|cc)?[_ ]?(?:\d{0,2}\w?)[_ ]?(?:plus|se|lite|pro)?( 5g|lte)?)(?: bui|\))/i,
|
|
709
708
|
/ ([\w ]+) miui\/v?\d/i
|
|
710
709
|
],
|
|
711
|
-
[[c, /_/g, " "], [u,
|
|
710
|
+
[[c, /_/g, " "], [u, qe], [s, S]],
|
|
712
711
|
[
|
|
713
712
|
// OnePlus
|
|
714
713
|
/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-l]\w[1m]10)\b/i,
|
|
715
714
|
/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i
|
|
716
715
|
],
|
|
717
|
-
[c, [u,
|
|
716
|
+
[c, [u, wt], [s, S]],
|
|
718
717
|
[
|
|
719
718
|
// OPPO
|
|
720
719
|
/; (\w+) bui.+ oppo/i,
|
|
721
720
|
/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i
|
|
722
721
|
],
|
|
723
|
-
[c, [u,
|
|
722
|
+
[c, [u, We], [s, S]],
|
|
724
723
|
[
|
|
725
724
|
/\b(opd2(\d{3}a?))(?: bui|\))/i
|
|
726
725
|
],
|
|
727
|
-
[c, [u,
|
|
726
|
+
[c, [u, B, { OnePlus: ["203", "304", "403", "404", "413", "415"], "*": We }], [s, k]],
|
|
728
727
|
[
|
|
729
728
|
// BLU
|
|
730
729
|
/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i
|
|
731
730
|
// Vivo series
|
|
732
731
|
],
|
|
733
|
-
[c, [u, "BLU"], [s,
|
|
732
|
+
[c, [u, "BLU"], [s, S]],
|
|
734
733
|
[
|
|
735
734
|
// Vivo
|
|
736
735
|
/; vivo (\w+)(?: bui|\))/i,
|
|
737
736
|
/\b(v[12]\d{3}\w?[at])(?: bui|;)/i
|
|
738
737
|
],
|
|
739
|
-
[c, [u, "Vivo"], [s,
|
|
738
|
+
[c, [u, "Vivo"], [s, S]],
|
|
740
739
|
[
|
|
741
740
|
// Realme
|
|
742
741
|
/\b(rmx[1-3]\d{3})(?: bui|;|\))/i
|
|
743
742
|
],
|
|
744
|
-
[c, [u, "Realme"], [s,
|
|
743
|
+
[c, [u, "Realme"], [s, S]],
|
|
745
744
|
[
|
|
746
745
|
// Lenovo
|
|
747
746
|
/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,
|
|
748
747
|
/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i
|
|
749
748
|
],
|
|
750
|
-
[c, [u,
|
|
749
|
+
[c, [u, Ye], [s, k]],
|
|
751
750
|
[
|
|
752
751
|
/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i
|
|
753
752
|
],
|
|
754
|
-
[c, [u,
|
|
753
|
+
[c, [u, Ye], [s, S]],
|
|
755
754
|
[
|
|
756
755
|
// Motorola
|
|
757
756
|
/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,
|
|
758
757
|
/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,
|
|
759
758
|
/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i
|
|
760
759
|
],
|
|
761
|
-
[c, [u,
|
|
760
|
+
[c, [u, ze], [s, S]],
|
|
762
761
|
[
|
|
763
762
|
/\b(mz60\d|xoom[2 ]{0,2}) build\//i
|
|
764
763
|
],
|
|
765
|
-
[c, [u,
|
|
764
|
+
[c, [u, ze], [s, k]],
|
|
766
765
|
[
|
|
767
766
|
// LG
|
|
768
767
|
/\b(?:lg)?([vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i
|
|
@@ -773,7 +772,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
773
772
|
/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,
|
|
774
773
|
/\blg-?([\d\w]+) bui/i
|
|
775
774
|
],
|
|
776
|
-
[c, [u, ve], [s,
|
|
775
|
+
[c, [u, ve], [s, S]],
|
|
777
776
|
[
|
|
778
777
|
// Nokia
|
|
779
778
|
/(nokia) (t[12][01])/i
|
|
@@ -783,7 +782,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
783
782
|
/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,
|
|
784
783
|
/nokia[-_ ]?(([-\w\. ]*?))( bui|\)|;|\/)/i
|
|
785
784
|
],
|
|
786
|
-
[[c, /_/g, " "], [s,
|
|
785
|
+
[[c, /_/g, " "], [s, S], [u, "Nokia"]],
|
|
787
786
|
[
|
|
788
787
|
// Google
|
|
789
788
|
/(pixel (c|tablet))\b/i
|
|
@@ -794,7 +793,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
794
793
|
// Google Pixel
|
|
795
794
|
/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i
|
|
796
795
|
],
|
|
797
|
-
[c, [u, $], [s,
|
|
796
|
+
[c, [u, $], [s, S]],
|
|
798
797
|
[
|
|
799
798
|
/(google) (pixelbook( go)?)/i
|
|
800
799
|
],
|
|
@@ -803,7 +802,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
803
802
|
// Sony
|
|
804
803
|
/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i
|
|
805
804
|
],
|
|
806
|
-
[c, [u, ue], [s,
|
|
805
|
+
[c, [u, ue], [s, S]],
|
|
807
806
|
[
|
|
808
807
|
/sony tablet [ps]/i,
|
|
809
808
|
/\b(?:sony)?sgp\w+(?: bui|\))/i
|
|
@@ -822,7 +821,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
822
821
|
/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i
|
|
823
822
|
// Fire Phone
|
|
824
823
|
],
|
|
825
|
-
[[c, /(.+)/g, "Fire Phone $1"], [u, ye], [s,
|
|
824
|
+
[[c, /(.+)/g, "Fire Phone $1"], [u, ye], [s, S]],
|
|
826
825
|
[
|
|
827
826
|
// BlackBerry
|
|
828
827
|
/(playbook);[-\w\),; ]+(rim)/i
|
|
@@ -833,16 +832,16 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
833
832
|
/\b((?:bb[a-f]|st[hv])100-\d)/i,
|
|
834
833
|
/(?:blackberry|\(bb10;) (\w+)/i
|
|
835
834
|
],
|
|
836
|
-
[c, [u,
|
|
835
|
+
[c, [u, pt], [s, S]],
|
|
837
836
|
[
|
|
838
837
|
// Asus
|
|
839
838
|
/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i
|
|
840
839
|
],
|
|
841
|
-
[c, [u,
|
|
840
|
+
[c, [u, ut], [s, k]],
|
|
842
841
|
[
|
|
843
842
|
/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i
|
|
844
843
|
],
|
|
845
|
-
[c, [u,
|
|
844
|
+
[c, [u, ut], [s, S]],
|
|
846
845
|
[
|
|
847
846
|
// HTC
|
|
848
847
|
/(nexus 9)/i
|
|
@@ -857,7 +856,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
857
856
|
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
858
857
|
// Alcatel/GeeksPhone/Nexian/Panasonic/Sony
|
|
859
858
|
],
|
|
860
|
-
[u, [c, /_/g, " "], [s,
|
|
859
|
+
[u, [c, /_/g, " "], [s, S]],
|
|
861
860
|
[
|
|
862
861
|
// TCL
|
|
863
862
|
/tcl (xess p17aa)/i,
|
|
@@ -867,12 +866,12 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
867
866
|
[
|
|
868
867
|
/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i
|
|
869
868
|
],
|
|
870
|
-
[c, [u, "TCL"], [s,
|
|
869
|
+
[c, [u, "TCL"], [s, S]],
|
|
871
870
|
[
|
|
872
871
|
// itel
|
|
873
872
|
/(itel) ((\w+))/i
|
|
874
873
|
],
|
|
875
|
-
[[u,
|
|
874
|
+
[[u, J], c, [s, B, { tablet: ["p10001l", "w7001"], "*": "mobile" }]],
|
|
876
875
|
[
|
|
877
876
|
// Acer
|
|
878
877
|
/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i
|
|
@@ -883,34 +882,34 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
883
882
|
/droid.+; (m[1-5] note) bui/i,
|
|
884
883
|
/\bmz-([-\w]{2,})/i
|
|
885
884
|
],
|
|
886
|
-
[c, [u, "Meizu"], [s,
|
|
885
|
+
[c, [u, "Meizu"], [s, S]],
|
|
887
886
|
[
|
|
888
887
|
// Ulefone
|
|
889
888
|
/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i
|
|
890
889
|
],
|
|
891
|
-
[c, [u, "Ulefone"], [s,
|
|
890
|
+
[c, [u, "Ulefone"], [s, S]],
|
|
892
891
|
[
|
|
893
892
|
// Energizer
|
|
894
893
|
/; (energy ?\w+)(?: bui|\))/i,
|
|
895
894
|
/; energizer ([\w ]+)(?: bui|\))/i
|
|
896
895
|
],
|
|
897
|
-
[c, [u, "Energizer"], [s,
|
|
896
|
+
[c, [u, "Energizer"], [s, S]],
|
|
898
897
|
[
|
|
899
898
|
// Cat
|
|
900
899
|
/; cat (b35);/i,
|
|
901
900
|
/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i
|
|
902
901
|
],
|
|
903
|
-
[c, [u, "Cat"], [s,
|
|
902
|
+
[c, [u, "Cat"], [s, S]],
|
|
904
903
|
[
|
|
905
904
|
// Smartfren
|
|
906
905
|
/((?:new )?andromax[\w- ]+)(?: bui|\))/i
|
|
907
906
|
],
|
|
908
|
-
[c, [u, "Smartfren"], [s,
|
|
907
|
+
[c, [u, "Smartfren"], [s, S]],
|
|
909
908
|
[
|
|
910
909
|
// Nothing
|
|
911
910
|
/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i
|
|
912
911
|
],
|
|
913
|
-
[c, [u, "Nothing"], [s,
|
|
912
|
+
[c, [u, "Nothing"], [s, S]],
|
|
914
913
|
[
|
|
915
914
|
// Archos
|
|
916
915
|
/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,
|
|
@@ -921,12 +920,12 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
921
920
|
/archos ([\w ]+)( b|\))/i,
|
|
922
921
|
/; (ac[3-6]\d\w{2,8})( b|\))/i
|
|
923
922
|
],
|
|
924
|
-
[c, [u, "Archos"], [s,
|
|
923
|
+
[c, [u, "Archos"], [s, S]],
|
|
925
924
|
[
|
|
926
925
|
// HMD
|
|
927
926
|
/; (n159v)/i
|
|
928
927
|
],
|
|
929
|
-
[c, [u, "HMD"], [s,
|
|
928
|
+
[c, [u, "HMD"], [s, S]],
|
|
930
929
|
[
|
|
931
930
|
// MIXED
|
|
932
931
|
/(imo) (tab \w+)/i,
|
|
@@ -951,7 +950,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
951
950
|
/droid[^;]+; (philips)[_ ]([sv-x][\d]{3,4}[xz]?)/i
|
|
952
951
|
// Philips
|
|
953
952
|
],
|
|
954
|
-
[u, c, [s,
|
|
953
|
+
[u, c, [s, S]],
|
|
955
954
|
[
|
|
956
955
|
/(kobo)\s(ereader|touch)/i,
|
|
957
956
|
// Kobo
|
|
@@ -965,36 +964,36 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
965
964
|
/(surface duo)/i
|
|
966
965
|
// Surface Duo
|
|
967
966
|
],
|
|
968
|
-
[c, [u,
|
|
967
|
+
[c, [u, Ke], [s, k]],
|
|
969
968
|
[
|
|
970
969
|
/droid [\d\.]+; (fp\du?)(?: b|\))/i
|
|
971
970
|
// Fairphone
|
|
972
971
|
],
|
|
973
|
-
[c, [u, "Fairphone"], [s,
|
|
972
|
+
[c, [u, "Fairphone"], [s, S]],
|
|
974
973
|
[
|
|
975
974
|
/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i
|
|
976
975
|
// Nvidia Tablets
|
|
977
976
|
],
|
|
978
|
-
[c, [u,
|
|
977
|
+
[c, [u, bt], [s, k]],
|
|
979
978
|
[
|
|
980
979
|
/(sprint) (\w+)/i
|
|
981
980
|
// Sprint Phones
|
|
982
981
|
],
|
|
983
|
-
[u, c, [s,
|
|
982
|
+
[u, c, [s, S]],
|
|
984
983
|
[
|
|
985
984
|
/(kin\.[onetw]{3})/i
|
|
986
985
|
// Microsoft Kin
|
|
987
986
|
],
|
|
988
|
-
[[c, /\./g, " "], [u,
|
|
987
|
+
[[c, /\./g, " "], [u, Ke], [s, S]],
|
|
989
988
|
[
|
|
990
989
|
/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i
|
|
991
990
|
// Zebra
|
|
992
991
|
],
|
|
993
|
-
[c, [u,
|
|
992
|
+
[c, [u, je], [s, k]],
|
|
994
993
|
[
|
|
995
994
|
/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i
|
|
996
995
|
],
|
|
997
|
-
[c, [u,
|
|
996
|
+
[c, [u, je], [s, S]],
|
|
998
997
|
[
|
|
999
998
|
///////////////////
|
|
1000
999
|
// SMARTTVS
|
|
@@ -1008,7 +1007,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1008
1007
|
[
|
|
1009
1008
|
/hbbtv.+maple;(\d+)/i
|
|
1010
1009
|
],
|
|
1011
|
-
[[c, /^/, "SmartTV"], [u,
|
|
1010
|
+
[[c, /^/, "SmartTV"], [u, de], [s, C]],
|
|
1012
1011
|
[
|
|
1013
1012
|
/(vizio)(?: |.+model\/)(\w+-\w+)/i,
|
|
1014
1013
|
// Vizio
|
|
@@ -1049,7 +1048,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1049
1048
|
/(portaltv)/i
|
|
1050
1049
|
// Facebook Portal TV
|
|
1051
1050
|
],
|
|
1052
|
-
[c, [u,
|
|
1051
|
+
[c, [u, Je], [s, C]],
|
|
1053
1052
|
[
|
|
1054
1053
|
/droid.+aft(\w+)( bui|\))/i
|
|
1055
1054
|
// Fire TV
|
|
@@ -1059,13 +1058,13 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1059
1058
|
/(shield \w+ tv)/i
|
|
1060
1059
|
// Nvidia Shield TV
|
|
1061
1060
|
],
|
|
1062
|
-
[c, [u,
|
|
1061
|
+
[c, [u, bt], [s, C]],
|
|
1063
1062
|
[
|
|
1064
1063
|
/\(dtv[\);].+(aquos)/i,
|
|
1065
1064
|
/(aquos-tv[\w ]+)\)/i
|
|
1066
1065
|
// Sharp
|
|
1067
1066
|
],
|
|
1068
|
-
[c, [u,
|
|
1067
|
+
[c, [u, gt], [s, C]],
|
|
1069
1068
|
[
|
|
1070
1069
|
/(bravia[\w ]+)( bui|\))/i
|
|
1071
1070
|
// Sony
|
|
@@ -1075,7 +1074,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1075
1074
|
/(mi(tv|box)-?\w+) bui/i
|
|
1076
1075
|
// Xiaomi
|
|
1077
1076
|
],
|
|
1078
|
-
[c, [u,
|
|
1077
|
+
[c, [u, qe], [s, C]],
|
|
1079
1078
|
[
|
|
1080
1079
|
/Hbbtv.*(technisat) (.*);/i
|
|
1081
1080
|
// TechniSAT
|
|
@@ -1087,7 +1086,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1087
1086
|
/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i
|
|
1088
1087
|
// HbbTV devices
|
|
1089
1088
|
],
|
|
1090
|
-
[[u, /.+\/(\w+)/, "$1",
|
|
1089
|
+
[[u, /.+\/(\w+)/, "$1", B, { LG: "lge" }], [c, Me], [s, C]],
|
|
1091
1090
|
[
|
|
1092
1091
|
///////////////////
|
|
1093
1092
|
// CONSOLES
|
|
@@ -1095,12 +1094,12 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1095
1094
|
/(playstation \w+)/i
|
|
1096
1095
|
// Playstation
|
|
1097
1096
|
],
|
|
1098
|
-
[c, [u, ue], [s,
|
|
1097
|
+
[c, [u, ue], [s, _e]],
|
|
1099
1098
|
[
|
|
1100
1099
|
/\b(xbox(?: one)?(?!; xbox))[\); ]/i
|
|
1101
1100
|
// Microsoft Xbox
|
|
1102
1101
|
],
|
|
1103
|
-
[c, [u,
|
|
1102
|
+
[c, [u, Ke], [s, _e]],
|
|
1104
1103
|
[
|
|
1105
1104
|
/(ouya)/i,
|
|
1106
1105
|
// Ouya
|
|
@@ -1112,7 +1111,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1112
1111
|
/droid.+; ((shield|rgcube|gr0006))( bui|\))/i
|
|
1113
1112
|
// Nvidia Portable/Anbernic/Logitech
|
|
1114
1113
|
],
|
|
1115
|
-
[[u,
|
|
1114
|
+
[[u, B, { Nvidia: "Shield", Anbernic: "RGCUBE", Logitech: "GR0006" }], c, [s, _e]],
|
|
1116
1115
|
[
|
|
1117
1116
|
///////////////////
|
|
1118
1117
|
// WEARABLES
|
|
@@ -1120,7 +1119,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1120
1119
|
/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i
|
|
1121
1120
|
// Samsung Galaxy Watch
|
|
1122
1121
|
],
|
|
1123
|
-
[c, [u,
|
|
1122
|
+
[c, [u, de], [s, V]],
|
|
1124
1123
|
[
|
|
1125
1124
|
/((pebble))app/i,
|
|
1126
1125
|
// Pebble
|
|
@@ -1132,7 +1131,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1132
1131
|
/(ow(?:19|20)?we?[1-3]{1,3})/i
|
|
1133
1132
|
// Oppo Watch
|
|
1134
1133
|
],
|
|
1135
|
-
[c, [u,
|
|
1134
|
+
[c, [u, We], [s, V]],
|
|
1136
1135
|
[
|
|
1137
1136
|
/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i
|
|
1138
1137
|
// Apple Watch
|
|
@@ -1142,12 +1141,12 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1142
1141
|
/(opwwe\d{3})/i
|
|
1143
1142
|
// OnePlus Watch
|
|
1144
1143
|
],
|
|
1145
|
-
[c, [u,
|
|
1144
|
+
[c, [u, wt], [s, V]],
|
|
1146
1145
|
[
|
|
1147
1146
|
/(moto 360)/i
|
|
1148
1147
|
// Motorola 360
|
|
1149
1148
|
],
|
|
1150
|
-
[c, [u,
|
|
1149
|
+
[c, [u, ze], [s, V]],
|
|
1151
1150
|
[
|
|
1152
1151
|
/(smartwatch 3)/i
|
|
1153
1152
|
// Sony SmartWatch
|
|
@@ -1161,7 +1160,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1161
1160
|
[
|
|
1162
1161
|
/droid.+; (wt63?0{2,3})\)/i
|
|
1163
1162
|
],
|
|
1164
|
-
[c, [u,
|
|
1163
|
+
[c, [u, je], [s, V]],
|
|
1165
1164
|
[
|
|
1166
1165
|
///////////////////
|
|
1167
1166
|
// XR
|
|
@@ -1179,7 +1178,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1179
1178
|
/(quest( \d| pro)?s?).+vr/i
|
|
1180
1179
|
// Meta Quest
|
|
1181
1180
|
],
|
|
1182
|
-
[c, [u,
|
|
1181
|
+
[c, [u, Je], [s, me]],
|
|
1183
1182
|
[
|
|
1184
1183
|
/mobile vr; rv.+firefox/i
|
|
1185
1184
|
// Unidentifiable VR device using Firefox Reality / Wolvic
|
|
@@ -1223,7 +1222,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1223
1222
|
[
|
|
1224
1223
|
/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew|; hmsc).+?(mobile|vr|\d) safari/i
|
|
1225
1224
|
],
|
|
1226
|
-
[c, [s,
|
|
1225
|
+
[c, [s, B, { mobile: "Mobile", xr: "VR", "*": k }]],
|
|
1227
1226
|
[
|
|
1228
1227
|
/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i
|
|
1229
1228
|
// Unidentifiable Tablet
|
|
@@ -1233,7 +1232,7 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1233
1232
|
/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i
|
|
1234
1233
|
// Unidentifiable Mobile
|
|
1235
1234
|
],
|
|
1236
|
-
[[s,
|
|
1235
|
+
[[s, S]],
|
|
1237
1236
|
[
|
|
1238
1237
|
/droid .+?; ([\w\. -]+)( bui|\))/i
|
|
1239
1238
|
// Generic Android Device
|
|
@@ -1245,17 +1244,17 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1245
1244
|
/windows.+ edge\/([\w\.]+)/i
|
|
1246
1245
|
// EdgeHTML
|
|
1247
1246
|
],
|
|
1248
|
-
[
|
|
1247
|
+
[d, [l, Ee + "HTML"]],
|
|
1249
1248
|
[
|
|
1250
1249
|
/(arkweb)\/([\w\.]+)/i
|
|
1251
1250
|
// ArkWeb
|
|
1252
1251
|
],
|
|
1253
|
-
[
|
|
1252
|
+
[l, d],
|
|
1254
1253
|
[
|
|
1255
1254
|
/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i
|
|
1256
1255
|
// Blink
|
|
1257
1256
|
],
|
|
1258
|
-
[
|
|
1257
|
+
[d, [l, "Blink"]],
|
|
1259
1258
|
[
|
|
1260
1259
|
/(presto)\/([\w\.]+)/i,
|
|
1261
1260
|
// Presto
|
|
@@ -1270,16 +1269,16 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1270
1269
|
/\b(libweb)/i
|
|
1271
1270
|
// LibWeb
|
|
1272
1271
|
],
|
|
1273
|
-
[
|
|
1272
|
+
[l, d],
|
|
1274
1273
|
[
|
|
1275
1274
|
/ladybird\//i
|
|
1276
1275
|
],
|
|
1277
|
-
[[
|
|
1276
|
+
[[l, "LibWeb"]],
|
|
1278
1277
|
[
|
|
1279
1278
|
/rv\:([\w\.]{1,9})\b.+(gecko)/i
|
|
1280
1279
|
// Gecko
|
|
1281
1280
|
],
|
|
1282
|
-
[
|
|
1281
|
+
[d, l]
|
|
1283
1282
|
],
|
|
1284
1283
|
os: [
|
|
1285
1284
|
[
|
|
@@ -1287,24 +1286,24 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1287
1286
|
/(windows nt) (6\.[23]); arm/i
|
|
1288
1287
|
// Windows RT
|
|
1289
1288
|
],
|
|
1290
|
-
[[
|
|
1289
|
+
[[l, /N/, "R"], [d, B, St]],
|
|
1291
1290
|
[
|
|
1292
1291
|
/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,
|
|
1293
1292
|
// Windows IoT/Mobile/Phone
|
|
1294
1293
|
// Windows NT/3.1/95/98/ME/2000/XP/Vista/7/8/8.1/10/11
|
|
1295
1294
|
/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i
|
|
1296
1295
|
],
|
|
1297
|
-
[
|
|
1296
|
+
[l, d],
|
|
1298
1297
|
[
|
|
1299
1298
|
/windows nt ?([\d\.\)]*)(?!.+xbox)/i,
|
|
1300
1299
|
/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i
|
|
1301
1300
|
],
|
|
1302
|
-
[[
|
|
1301
|
+
[[d, /(;|\))/g, "", B, St], [l, $e]],
|
|
1303
1302
|
[
|
|
1304
1303
|
/(windows ce)\/?([\d\.]*)/i
|
|
1305
1304
|
// Windows CE
|
|
1306
1305
|
],
|
|
1307
|
-
[
|
|
1306
|
+
[l, d],
|
|
1308
1307
|
[
|
|
1309
1308
|
// iOS/macOS
|
|
1310
1309
|
/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,
|
|
@@ -1313,100 +1312,100 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1313
1312
|
/\btvos ?([\w\.]+)/i,
|
|
1314
1313
|
/cfnetwork\/.+darwin/i
|
|
1315
1314
|
],
|
|
1316
|
-
[[
|
|
1315
|
+
[[d, /_/g, "."], [l, "iOS"]],
|
|
1317
1316
|
[
|
|
1318
1317
|
/(mac os x) ?([\w\. ]*)/i,
|
|
1319
1318
|
/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i
|
|
1320
1319
|
// Mac OS
|
|
1321
1320
|
],
|
|
1322
|
-
[[
|
|
1321
|
+
[[l, "macOS"], [d, /_/g, "."]],
|
|
1323
1322
|
[
|
|
1324
1323
|
// Google Chromecast
|
|
1325
1324
|
/android ([\d\.]+).*crkey/i
|
|
1326
1325
|
// Google Chromecast, Android-based
|
|
1327
1326
|
],
|
|
1328
|
-
[
|
|
1327
|
+
[d, [l, j + " Android"]],
|
|
1329
1328
|
[
|
|
1330
1329
|
/fuchsia.*crkey\/([\d\.]+)/i
|
|
1331
1330
|
// Google Chromecast, Fuchsia-based
|
|
1332
1331
|
],
|
|
1333
|
-
[
|
|
1332
|
+
[d, [l, j + " Fuchsia"]],
|
|
1334
1333
|
[
|
|
1335
1334
|
/crkey\/([\d\.]+).*devicetype\/smartspeaker/i
|
|
1336
1335
|
// Google Chromecast, Linux-based Smart Speaker
|
|
1337
1336
|
],
|
|
1338
|
-
[
|
|
1337
|
+
[d, [l, j + " SmartSpeaker"]],
|
|
1339
1338
|
[
|
|
1340
1339
|
/linux.*crkey\/([\d\.]+)/i
|
|
1341
1340
|
// Google Chromecast, Legacy Linux-based
|
|
1342
1341
|
],
|
|
1343
|
-
[
|
|
1342
|
+
[d, [l, j + " Linux"]],
|
|
1344
1343
|
[
|
|
1345
1344
|
/crkey\/([\d\.]+)/i
|
|
1346
1345
|
// Google Chromecast, unknown
|
|
1347
1346
|
],
|
|
1348
|
-
[
|
|
1347
|
+
[d, [l, j]],
|
|
1349
1348
|
[
|
|
1350
1349
|
// Mobile OSes
|
|
1351
1350
|
/droid ([\w\.]+)\b.+(android[- ]x86)/i
|
|
1352
1351
|
// Android-x86
|
|
1353
1352
|
],
|
|
1354
|
-
[
|
|
1353
|
+
[d, l],
|
|
1355
1354
|
[
|
|
1356
1355
|
/(ubuntu) ([\w\.]+) like android/i
|
|
1357
1356
|
// Ubuntu Touch
|
|
1358
1357
|
],
|
|
1359
|
-
[[
|
|
1358
|
+
[[l, /(.+)/, "$1 Touch"], d],
|
|
1360
1359
|
[
|
|
1361
1360
|
/(harmonyos)[\/ ]?([\d\.]*)/i,
|
|
1362
1361
|
// HarmonyOS
|
|
1363
1362
|
// Android/Blackberry/WebOS/QNX/Bada/RIM/KaiOS/Maemo/MeeGo/S40/Sailfish OS/OpenHarmony/Tizen
|
|
1364
1363
|
/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i
|
|
1365
1364
|
],
|
|
1366
|
-
[
|
|
1365
|
+
[l, d],
|
|
1367
1366
|
[
|
|
1368
1367
|
/\(bb(10);/i
|
|
1369
1368
|
// BlackBerry 10
|
|
1370
1369
|
],
|
|
1371
|
-
[
|
|
1370
|
+
[d, [l, pt]],
|
|
1372
1371
|
[
|
|
1373
1372
|
/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i
|
|
1374
1373
|
// Symbian
|
|
1375
1374
|
],
|
|
1376
|
-
[
|
|
1375
|
+
[d, [l, "Symbian"]],
|
|
1377
1376
|
[
|
|
1378
1377
|
/mozilla\/[\d\.]+ \((?:mobile[;\w ]*|tablet|tv|[^\)]*(?:viera|lg(?:l25|-d300)|alcatel ?o.+|y300-f1)); rv:([\w\.]+)\).+gecko\//i
|
|
1379
1378
|
// Firefox OS
|
|
1380
1379
|
],
|
|
1381
|
-
[
|
|
1380
|
+
[d, [l, pe + " OS"]],
|
|
1382
1381
|
[
|
|
1383
1382
|
/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,
|
|
1384
1383
|
// WebOS
|
|
1385
1384
|
/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i
|
|
1386
1385
|
],
|
|
1387
|
-
[
|
|
1386
|
+
[d, [l, "webOS"]],
|
|
1388
1387
|
[
|
|
1389
1388
|
/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i
|
|
1390
1389
|
// https://webostv.developer.lge.com/develop/specifications/web-api-and-web-engine
|
|
1391
1390
|
],
|
|
1392
|
-
[[
|
|
1391
|
+
[[d, B, { 25: "120", 24: "108", 23: "94", 22: "87", 6: "79", 5: "68", 4: "53", 3: "38", 2: "538", 1: "537", "*": "TV" }], [l, "webOS"]],
|
|
1393
1392
|
[
|
|
1394
1393
|
/watch(?: ?os[,\/ ]|\d,\d\/)([\d\.]+)/i
|
|
1395
1394
|
// watchOS
|
|
1396
1395
|
],
|
|
1397
|
-
[
|
|
1396
|
+
[d, [l, "watchOS"]],
|
|
1398
1397
|
[
|
|
1399
1398
|
// Google ChromeOS
|
|
1400
1399
|
/cros [\w]+(?:\)| ([\w\.]+)\b)/i
|
|
1401
1400
|
// Chromium OS
|
|
1402
1401
|
],
|
|
1403
|
-
[
|
|
1402
|
+
[d, [l, "Chrome OS"]],
|
|
1404
1403
|
[
|
|
1405
1404
|
// Smart TVs
|
|
1406
1405
|
/kepler ([\w\.]+); (aft|aeo)/i
|
|
1407
1406
|
// Vega OS
|
|
1408
1407
|
],
|
|
1409
|
-
[
|
|
1408
|
+
[d, [l, "Vega OS"]],
|
|
1410
1409
|
[
|
|
1411
1410
|
/(netrange)mmh/i,
|
|
1412
1411
|
// Netrange
|
|
@@ -1441,74 +1440,74 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1441
1440
|
/(haiku) ?(r\d)?/i
|
|
1442
1441
|
// Haiku
|
|
1443
1442
|
],
|
|
1444
|
-
[
|
|
1443
|
+
[l, d],
|
|
1445
1444
|
[
|
|
1446
1445
|
/(sunos) ?([\d\.]*)/i
|
|
1447
1446
|
// Solaris
|
|
1448
1447
|
],
|
|
1449
|
-
[[
|
|
1448
|
+
[[l, "Solaris"], d],
|
|
1450
1449
|
[
|
|
1451
1450
|
/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,
|
|
1452
1451
|
// BeOS/OS2/AmigaOS/OpenVMS/HP-UX/SerenityOS
|
|
1453
1452
|
/(unix) ?([\w\.]*)/i
|
|
1454
1453
|
// UNIX
|
|
1455
1454
|
],
|
|
1456
|
-
[
|
|
1455
|
+
[l, d]
|
|
1457
1456
|
]
|
|
1458
1457
|
}, Se = (function() {
|
|
1459
1458
|
var x = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} };
|
|
1460
|
-
return
|
|
1461
|
-
[P, [
|
|
1462
|
-
[
|
|
1463
|
-
[
|
|
1464
|
-
[F, [
|
|
1465
|
-
[N, [
|
|
1466
|
-
]),
|
|
1467
|
-
[P, [
|
|
1468
|
-
[F, [
|
|
1469
|
-
[N, [
|
|
1470
|
-
]),
|
|
1459
|
+
return K.call(x.init, [
|
|
1460
|
+
[P, [l, d, be, s]],
|
|
1461
|
+
[z, [M]],
|
|
1462
|
+
[Y, [s, c, u]],
|
|
1463
|
+
[F, [l, d]],
|
|
1464
|
+
[N, [l, d]]
|
|
1465
|
+
]), K.call(x.isIgnore, [
|
|
1466
|
+
[P, [d, be]],
|
|
1467
|
+
[F, [d]],
|
|
1468
|
+
[N, [d]]
|
|
1469
|
+
]), K.call(x.isIgnoreRgx, [
|
|
1471
1470
|
[P, / ?browser$/i],
|
|
1472
1471
|
[N, / ?os$/i]
|
|
1473
|
-
]),
|
|
1474
|
-
[P, [
|
|
1475
|
-
[
|
|
1476
|
-
[
|
|
1477
|
-
[F, [
|
|
1478
|
-
[N, [
|
|
1472
|
+
]), K.call(x.toString, [
|
|
1473
|
+
[P, [l, d]],
|
|
1474
|
+
[z, [M]],
|
|
1475
|
+
[Y, [u, c]],
|
|
1476
|
+
[F, [l, d]],
|
|
1477
|
+
[N, [l, d]]
|
|
1479
1478
|
]), x;
|
|
1480
1479
|
})(), u0 = function(x, t) {
|
|
1481
1480
|
var e = Se.init[t], i = Se.isIgnore[t] || 0, a = Se.isIgnoreRgx[t] || 0, r = Se.toString[t] || 0;
|
|
1482
1481
|
function o() {
|
|
1483
|
-
|
|
1482
|
+
K.call(this, e);
|
|
1484
1483
|
}
|
|
1485
1484
|
return o.prototype.getItem = function() {
|
|
1486
1485
|
return x;
|
|
1487
1486
|
}, o.prototype.withClientHints = function() {
|
|
1488
|
-
return te ? te.getHighEntropyValues(
|
|
1489
|
-
return x.setCH(new Lt(
|
|
1487
|
+
return te ? te.getHighEntropyValues(Ut).then(function(p) {
|
|
1488
|
+
return x.setCH(new Lt(p, !1)).parseCH().get();
|
|
1490
1489
|
}) : x.parseCH().get();
|
|
1491
1490
|
}, o.prototype.withFeatureCheck = function() {
|
|
1492
1491
|
return x.detectFeature().get();
|
|
1493
|
-
}, t != se && (o.prototype.is = function(
|
|
1494
|
-
var
|
|
1492
|
+
}, t != se && (o.prototype.is = function(p) {
|
|
1493
|
+
var h = !1;
|
|
1495
1494
|
for (var y in this)
|
|
1496
|
-
if (this.hasOwnProperty(y) &&
|
|
1497
|
-
if (
|
|
1498
|
-
} else if (
|
|
1499
|
-
|
|
1495
|
+
if (this.hasOwnProperty(y) && !et(i, y) && J(a ? le(a, this[y]) : this[y]) == J(a ? le(a, p) : p)) {
|
|
1496
|
+
if (h = !0, p != T.UNDEFINED) break;
|
|
1497
|
+
} else if (p == T.UNDEFINED && h) {
|
|
1498
|
+
h = !h;
|
|
1500
1499
|
break;
|
|
1501
1500
|
}
|
|
1502
|
-
return
|
|
1501
|
+
return h;
|
|
1503
1502
|
}, o.prototype.toString = function() {
|
|
1504
|
-
var
|
|
1505
|
-
for (var
|
|
1506
|
-
typeof this[r[
|
|
1507
|
-
return
|
|
1508
|
-
}), o.prototype.then = function(
|
|
1509
|
-
var
|
|
1510
|
-
for (var
|
|
1511
|
-
|
|
1503
|
+
var p = oe;
|
|
1504
|
+
for (var h in r)
|
|
1505
|
+
typeof this[r[h]] !== T.UNDEFINED && (p += (p ? " " : oe) + this[r[h]]);
|
|
1506
|
+
return p || T.UNDEFINED;
|
|
1507
|
+
}), o.prototype.then = function(p) {
|
|
1508
|
+
var h = this, y = function() {
|
|
1509
|
+
for (var E in h)
|
|
1510
|
+
h.hasOwnProperty(E) && (this[E] = h[E]);
|
|
1512
1511
|
};
|
|
1513
1512
|
y.prototype = {
|
|
1514
1513
|
is: o.prototype.is,
|
|
@@ -1516,29 +1515,29 @@ var $t = "2.0.9", e0 = 500, lt = "user-agent", oe = "", ut = "?", E = {
|
|
|
1516
1515
|
withClientHints: o.prototype.withClientHints,
|
|
1517
1516
|
withFeatureCheck: o.prototype.withFeatureCheck
|
|
1518
1517
|
};
|
|
1519
|
-
var
|
|
1520
|
-
return
|
|
1518
|
+
var v = new y();
|
|
1519
|
+
return p(v), v;
|
|
1521
1520
|
}, new o();
|
|
1522
1521
|
};
|
|
1523
1522
|
function Lt(x, t) {
|
|
1524
|
-
if (x = x || {},
|
|
1525
|
-
|
|
1526
|
-
[xt,
|
|
1527
|
-
[at,
|
|
1528
|
-
[
|
|
1523
|
+
if (x = x || {}, K.call(this, Ut), t)
|
|
1524
|
+
K.call(this, [
|
|
1525
|
+
[xt, Ze(x[X])],
|
|
1526
|
+
[at, Ze(x[i0])],
|
|
1527
|
+
[S, /\?1/.test(x[r0])],
|
|
1529
1528
|
[c, he(x[o0])],
|
|
1530
|
-
[ce, he(x[
|
|
1529
|
+
[ce, he(x[Nt])],
|
|
1531
1530
|
[nt, he(x[s0])],
|
|
1532
|
-
[
|
|
1533
|
-
[ee,
|
|
1534
|
-
[
|
|
1531
|
+
[M, he(x[x0])],
|
|
1532
|
+
[ee, Ze(x[n0])],
|
|
1533
|
+
[Fe, he(x[a0])]
|
|
1535
1534
|
]);
|
|
1536
1535
|
else
|
|
1537
1536
|
for (var e in x)
|
|
1538
|
-
this.hasOwnProperty(e) && typeof x[e] !==
|
|
1537
|
+
this.hasOwnProperty(e) && typeof x[e] !== T.UNDEFINED && (this[e] = x[e]);
|
|
1539
1538
|
}
|
|
1540
|
-
function
|
|
1541
|
-
return
|
|
1539
|
+
function Z(x, t, e, i) {
|
|
1540
|
+
return K.call(this, [
|
|
1542
1541
|
["itemType", x],
|
|
1543
1542
|
["ua", t],
|
|
1544
1543
|
["uaCH", i],
|
|
@@ -1546,50 +1545,50 @@ function J(x, t, e, i) {
|
|
|
1546
1545
|
["data", u0(this, x)]
|
|
1547
1546
|
]), this;
|
|
1548
1547
|
}
|
|
1549
|
-
|
|
1548
|
+
Z.prototype.get = function(x) {
|
|
1550
1549
|
return x ? this.data.hasOwnProperty(x) ? this.data[x] : void 0 : this.data;
|
|
1551
1550
|
};
|
|
1552
|
-
|
|
1551
|
+
Z.prototype.set = function(x, t) {
|
|
1553
1552
|
return this.data[x] = t, this;
|
|
1554
1553
|
};
|
|
1555
|
-
|
|
1554
|
+
Z.prototype.setCH = function(x) {
|
|
1556
1555
|
return this.uaCH = x, this;
|
|
1557
1556
|
};
|
|
1558
|
-
|
|
1557
|
+
Z.prototype.detectFeature = function() {
|
|
1559
1558
|
if (O && O.userAgent == this.ua)
|
|
1560
1559
|
switch (this.itemType) {
|
|
1561
1560
|
case P:
|
|
1562
|
-
O.brave && typeof O.brave.isBrave ==
|
|
1561
|
+
O.brave && typeof O.brave.isBrave == T.FUNCTION && this.set(l, "Brave");
|
|
1563
1562
|
break;
|
|
1564
|
-
case
|
|
1565
|
-
!this.get(s) && te && te[
|
|
1563
|
+
case Y:
|
|
1564
|
+
!this.get(s) && te && te[S] && this.set(s, S), this.get(c) == "Macintosh" && O && typeof O.standalone !== T.UNDEFINED && O.maxTouchPoints && O.maxTouchPoints > 2 && this.set(c, "iPad").set(s, k);
|
|
1566
1565
|
break;
|
|
1567
1566
|
case N:
|
|
1568
|
-
!this.get(
|
|
1567
|
+
!this.get(l) && te && te[ce] && this.set(l, te[ce]);
|
|
1569
1568
|
break;
|
|
1570
1569
|
case se:
|
|
1571
1570
|
var x = this.data, t = function(e) {
|
|
1572
1571
|
return x[e].getItem().detectFeature().get();
|
|
1573
1572
|
};
|
|
1574
|
-
this.set(P, t(P)).set(
|
|
1573
|
+
this.set(P, t(P)).set(z, t(z)).set(Y, t(Y)).set(F, t(F)).set(N, t(N));
|
|
1575
1574
|
}
|
|
1576
1575
|
return this;
|
|
1577
1576
|
};
|
|
1578
|
-
|
|
1579
|
-
switch (this.itemType != se &&
|
|
1577
|
+
Z.prototype.parseUA = function() {
|
|
1578
|
+
switch (this.itemType != se && it.call(this.data, this.ua, this.rgxMap), this.itemType) {
|
|
1580
1579
|
case P:
|
|
1581
|
-
this.set(be,
|
|
1580
|
+
this.set(be, tt(this.get(d)));
|
|
1582
1581
|
break;
|
|
1583
1582
|
case N:
|
|
1584
|
-
if (this.get(
|
|
1583
|
+
if (this.get(l) == "iOS" && this.get(d) == "18.6") {
|
|
1585
1584
|
var x = /\) Version\/([\d\.]+)/.exec(this.ua);
|
|
1586
|
-
x && parseInt(x[1].substring(0, 2), 10) >= 26 && this.set(
|
|
1585
|
+
x && parseInt(x[1].substring(0, 2), 10) >= 26 && this.set(d, x[1]);
|
|
1587
1586
|
}
|
|
1588
1587
|
break;
|
|
1589
1588
|
}
|
|
1590
1589
|
return this;
|
|
1591
1590
|
};
|
|
1592
|
-
|
|
1591
|
+
Z.prototype.parseCH = function() {
|
|
1593
1592
|
var x = this.uaCH, t = this.rgxMap;
|
|
1594
1593
|
switch (this.itemType) {
|
|
1595
1594
|
case P:
|
|
@@ -1598,50 +1597,50 @@ J.prototype.parseCH = function() {
|
|
|
1598
1597
|
if (e)
|
|
1599
1598
|
for (var a = 0; a < e.length; a++) {
|
|
1600
1599
|
var r = e[a].brand || e[a], o = e[a].version;
|
|
1601
|
-
this.itemType == P && !/not.a.brand/i.test(r) && (!i || /Chrom/.test(i) && r !=
|
|
1600
|
+
this.itemType == P && !/not.a.brand/i.test(r) && (!i || /Chrom/.test(i) && r != yt || i == Ee && /WebView2/.test(r)) && (r = B(r, d0), i = this.get(l), i && !/Chrom/.test(i) && /Chrom/.test(r) || this.set(l, r).set(d, o).set(be, tt(o)), i = r), this.itemType == F && r == yt && this.set(d, o);
|
|
1602
1601
|
}
|
|
1603
1602
|
break;
|
|
1604
|
-
case q:
|
|
1605
|
-
var h = x[D];
|
|
1606
|
-
h && (h && x[Le] == "64" && (h += "64"), tt.call(this.data, h + ";", t));
|
|
1607
|
-
break;
|
|
1608
1603
|
case z:
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1604
|
+
var p = x[M];
|
|
1605
|
+
p && (p && x[Fe] == "64" && (p += "64"), it.call(this.data, p + ";", t));
|
|
1606
|
+
break;
|
|
1607
|
+
case Y:
|
|
1608
|
+
if (x[S] && this.set(s, S), x[c] && (this.set(c, x[c]), !this.get(s) || !this.get(u))) {
|
|
1609
|
+
var h = {};
|
|
1610
|
+
it.call(h, "droid 9; " + x[c] + ")", t), !this.get(s) && h.type && this.set(s, h.type), !this.get(u) && h.vendor && this.set(u, h.vendor);
|
|
1612
1611
|
}
|
|
1613
1612
|
if (x[ee]) {
|
|
1614
1613
|
var y;
|
|
1615
1614
|
if (typeof x[ee] != "string")
|
|
1616
|
-
for (var
|
|
1617
|
-
y =
|
|
1615
|
+
for (var v = 0; !y && v < x[ee].length; )
|
|
1616
|
+
y = B(x[ee][v++], It);
|
|
1618
1617
|
else
|
|
1619
|
-
y =
|
|
1618
|
+
y = B(x[ee], It);
|
|
1620
1619
|
this.set(s, y);
|
|
1621
1620
|
}
|
|
1622
1621
|
break;
|
|
1623
1622
|
case N:
|
|
1624
|
-
var
|
|
1625
|
-
if (
|
|
1623
|
+
var E = x[ce];
|
|
1624
|
+
if (E) {
|
|
1626
1625
|
var R = x[nt];
|
|
1627
|
-
|
|
1626
|
+
E == $e && (R = parseInt(tt(R), 10) >= 13 ? "11" : "10"), this.set(l, E).set(d, R);
|
|
1628
1627
|
}
|
|
1629
|
-
this.get(
|
|
1628
|
+
this.get(l) == $e && x[c] == "Xbox" && this.set(l, "Xbox").set(d, void 0);
|
|
1630
1629
|
break;
|
|
1631
1630
|
case se:
|
|
1632
|
-
var
|
|
1633
|
-
return
|
|
1631
|
+
var G = this.data, U = function(L) {
|
|
1632
|
+
return G[L].getItem().setCH(x).parseCH().get();
|
|
1634
1633
|
};
|
|
1635
|
-
this.set(P, U(P)).set(
|
|
1634
|
+
this.set(P, U(P)).set(z, U(z)).set(Y, U(Y)).set(F, U(F)).set(N, U(N));
|
|
1636
1635
|
}
|
|
1637
1636
|
return this;
|
|
1638
1637
|
};
|
|
1639
|
-
function
|
|
1640
|
-
if (typeof x ===
|
|
1641
|
-
if (typeof e.append ===
|
|
1638
|
+
function W(x, t, e) {
|
|
1639
|
+
if (typeof x === T.OBJECT ? (Re(x, !0) ? (typeof t === T.OBJECT && (e = t), t = x) : (e = x, t = void 0), x = void 0) : typeof x === T.STRING && !Re(t, !0) && (e = t, t = void 0), e)
|
|
1640
|
+
if (typeof e.append === T.FUNCTION) {
|
|
1642
1641
|
var i = {};
|
|
1643
|
-
e.forEach(function(
|
|
1644
|
-
i[String(
|
|
1642
|
+
e.forEach(function(v, E) {
|
|
1643
|
+
i[String(E).toLowerCase()] = v;
|
|
1645
1644
|
}), e = i;
|
|
1646
1645
|
} else {
|
|
1647
1646
|
var a = {};
|
|
@@ -1649,9 +1648,9 @@ function K(x, t, e) {
|
|
|
1649
1648
|
e.hasOwnProperty(r) && (a[String(r).toLowerCase()] = e[r]);
|
|
1650
1649
|
e = a;
|
|
1651
1650
|
}
|
|
1652
|
-
if (!(this instanceof
|
|
1653
|
-
return new
|
|
1654
|
-
var o = typeof x ===
|
|
1651
|
+
if (!(this instanceof W))
|
|
1652
|
+
return new W(x, t, e).getResult();
|
|
1653
|
+
var o = typeof x === T.STRING ? x : (
|
|
1655
1654
|
// Passed user-agent string
|
|
1656
1655
|
e && e[lt] ? e[lt] : (
|
|
1657
1656
|
// User-Agent from passed headers
|
|
@@ -1660,53 +1659,53 @@ function K(x, t, e) {
|
|
|
1660
1659
|
oe
|
|
1661
1660
|
)
|
|
1662
1661
|
)
|
|
1663
|
-
),
|
|
1664
|
-
return
|
|
1665
|
-
return new
|
|
1662
|
+
), p = new Lt(e, !0), h = t ? l0(kt, t) : kt, y = function(v) {
|
|
1663
|
+
return v == se ? function() {
|
|
1664
|
+
return new Z(v, o, h, p).set("ua", o).set(P, this.getBrowser()).set(z, this.getCPU()).set(Y, this.getDevice()).set(F, this.getEngine()).set(N, this.getOS()).get();
|
|
1666
1665
|
} : function() {
|
|
1667
|
-
return new
|
|
1666
|
+
return new Z(v, o, h[v], p).parseUA().get();
|
|
1668
1667
|
};
|
|
1669
1668
|
};
|
|
1670
|
-
return
|
|
1669
|
+
return K.call(this, [
|
|
1671
1670
|
["getBrowser", y(P)],
|
|
1672
|
-
["getCPU", y(
|
|
1673
|
-
["getDevice", y(
|
|
1671
|
+
["getCPU", y(z)],
|
|
1672
|
+
["getDevice", y(Y)],
|
|
1674
1673
|
["getEngine", y(F)],
|
|
1675
1674
|
["getOS", y(N)],
|
|
1676
1675
|
["getResult", y(se)],
|
|
1677
1676
|
["getUA", function() {
|
|
1678
1677
|
return o;
|
|
1679
1678
|
}],
|
|
1680
|
-
["setUA", function(
|
|
1681
|
-
return we(
|
|
1679
|
+
["setUA", function(v) {
|
|
1680
|
+
return we(v) && (o = Me(v, e0)), this;
|
|
1682
1681
|
}]
|
|
1683
1682
|
]).setUA(o), this;
|
|
1684
1683
|
}
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
const
|
|
1684
|
+
W.VERSION = $t;
|
|
1685
|
+
W.BROWSER = He([l, d, be, s]);
|
|
1686
|
+
W.CPU = He([M]);
|
|
1687
|
+
W.DEVICE = He([c, u, s, _e, S, C, k, V, fe]);
|
|
1688
|
+
W.ENGINE = W.OS = He([l, d]);
|
|
1689
|
+
const _t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1691
1690
|
__proto__: null,
|
|
1692
|
-
UAParser:
|
|
1693
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1691
|
+
UAParser: W
|
|
1692
|
+
}, Symbol.toStringTag, { value: "Module" })), D = [];
|
|
1694
1693
|
for (let x = 0; x < 256; ++x)
|
|
1695
|
-
|
|
1694
|
+
D.push((x + 256).toString(16).slice(1));
|
|
1696
1695
|
function p0(x, t = 0) {
|
|
1697
|
-
return (
|
|
1696
|
+
return (D[x[t + 0]] + D[x[t + 1]] + D[x[t + 2]] + D[x[t + 3]] + "-" + D[x[t + 4]] + D[x[t + 5]] + "-" + D[x[t + 6]] + D[x[t + 7]] + "-" + D[x[t + 8]] + D[x[t + 9]] + "-" + D[x[t + 10]] + D[x[t + 11]] + D[x[t + 12]] + D[x[t + 13]] + D[x[t + 14]] + D[x[t + 15]]).toLowerCase();
|
|
1698
1697
|
}
|
|
1699
|
-
let
|
|
1698
|
+
let Xe;
|
|
1700
1699
|
const h0 = new Uint8Array(16);
|
|
1701
1700
|
function f0() {
|
|
1702
|
-
if (!
|
|
1701
|
+
if (!Xe) {
|
|
1703
1702
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
1704
1703
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
1705
|
-
|
|
1704
|
+
Xe = crypto.getRandomValues.bind(crypto);
|
|
1706
1705
|
}
|
|
1707
|
-
return
|
|
1706
|
+
return Xe(h0);
|
|
1708
1707
|
}
|
|
1709
|
-
const b0 = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto),
|
|
1708
|
+
const b0 = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Et = { randomUUID: b0 };
|
|
1710
1709
|
function w0(x, t, e) {
|
|
1711
1710
|
x = x || {};
|
|
1712
1711
|
const i = x.random ?? x.rng?.() ?? f0();
|
|
@@ -1714,669 +1713,673 @@ function w0(x, t, e) {
|
|
|
1714
1713
|
throw new Error("Random bytes length must be >= 16");
|
|
1715
1714
|
return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, p0(i);
|
|
1716
1715
|
}
|
|
1717
|
-
function
|
|
1718
|
-
return
|
|
1716
|
+
function Bt(x, t, e) {
|
|
1717
|
+
return Et.randomUUID && !x ? Et.randomUUID() : w0(x);
|
|
1718
|
+
}
|
|
1719
|
+
const n = Ft;
|
|
1720
|
+
function Ft(x, t) {
|
|
1721
|
+
return x = x - 491, Oe()[x];
|
|
1722
|
+
}
|
|
1723
|
+
function Oe() {
|
|
1724
|
+
const x = ["Nicaragua", "Bulgaria", "Equatorial Guinea", "Romania", "731036AThnHj", "Chile", "Finland", "Saint Pierre and Miquelon", "Puerto Rico", "Haiti", "Belarus", "Cuba", "Pitcairn", "Mali", "Mongolia", "Bermuda", "Namibia", "Syrian Arab Republic", "Tonga", "Réunion", "Gambia", "Guernsey", "Poland", "Antigua and Barbuda", "Sweden", "China", "Honduras", "4213665JSytkZ", "Spain", "Turkey", "Bonaire, Sint Eustatius and Saba", "Canada", "Somalia", "Tokelau", "Heard Island and McDonald Islands", "Jordan", "Grenada", "Afghanistan", "South Georgia and the South Sandwich Islands", "Malta", "Jamaica", "Dominica", "Saint Kitts and Nevis", "Austria", "Bahrain", "Åland Islands", "500538fFpaGB", "Mauritius", "Togo", "Iceland", "Niger", "Central African Republic", "Sri Lanka", "United Kingdom", "Belize", "Svalbard and Jan Mayen", "Lebanon", "Georgia", "French Southern Territories", "Saint Lucia", "35GyoOAx", "Luxembourg", "Russian Federation", "French Guiana", "Nauru", "Congo", "Tajikistan", "Saint Vincent and the Grenadines", "Botswana", "Faroe Islands", "Sudan", "Chad", "3846nWUUgA", "Vanuatu", "American Samoa", "Wallis and Futuna", "Argentina", "Taiwan", "Cyprus", "Italy", "Lithuania", "Kenya", "Uganda", "Cook Islands", "Brunei Darussalam", "Qatar", "Sint Maarten (Dutch part)", "Singapore", "Madagascar", "Kuwait", "Saint Helena, Ascension and Tristan da Cunha", "Mayotte", "973576eCceAI", "Serbia", "Oman", "Egypt", "Gibraltar", "New Caledonia", "France", "Angola", "111012uBMuKJ", "South Africa", "Estonia", "Macedonia (the former Yugoslav Republic of)", "Dominican Republic", "Sao Tome and Principe", "Niue", "South Sudan", "Ukraine", "Slovenia", "Turks and Caicos Islands", "Tunisia", "Bahamas", "Northern Mariana Islands", "Tanzania, United Republic of", "Lesotho", "Uzbekistan", "Ecuador", "Andorra", "Azerbaijan", "Côte d'Ivoire", "Algeria", "Eritrea", "Mozambique", "Yemen", "San Marino", "3knJgcP", "Macao", "Monaco", "Hong Kong", "Holy See", "Latvia", "Curaçao", "Moldova (Republic of)", "United Arab Emirates", "El Salvador", "Korea, Republic of", "Libya", "28frYWzV", "Cocos (Keeling) Islands", "Greenland", "Myanmar", "Saint Barthélemy", "Benin", "Saint Martin (French part)", "Panama", "Armenia", "Norfolk Island", "Iraq", "Timor-Leste", "Venezuela (Bolivarian Republic of)", "Samoa", "Cayman Islands", "Mauritania", "Bosnia and Herzegovina", "Paraguay", "Micronesia (Federated States of)", "Peru", "3117960RJHGIu", "United States of America", "Czech Republic", "Korea (Democratic People's Republic of)", "British Indian Ocean Territory", "Bangladesh", "Viet Nam", "Palau", "Colombia", "Isle of Man", "Aruba", "Cameroon", "Malawi", "Netherlands", "Philippines", "Thailand", "Iran (Islamic Republic of)", "Germany", "Costa Rica", "Anguilla", "Morocco", "Suriname", "Montenegro", "Guatemala", "Papua New Guinea", "Christmas Island", "Greece", "Ireland", "Hungary", "Sierra Leone", "Tuvalu", "Cabo Verde", "Liberia", "Virgin Islands (U.S.)", "Cambodia", "Virgin Islands (British)", "Burundi", "Gabon", "Australia", "French Polynesia", "Guam", "Brazil", "Montserrat", "Belgium", "Barbados", "Falkland Islands (Malvinas)", "Israel", "Solomon Islands", "Albania", "United States Minor Outlying Islands", "Ghana", "Nepal"];
|
|
1725
|
+
return Oe = function() {
|
|
1726
|
+
return x;
|
|
1727
|
+
}, Oe();
|
|
1719
1728
|
}
|
|
1720
|
-
const n = Ht;
|
|
1721
1729
|
(function(x, t) {
|
|
1722
|
-
const e =
|
|
1730
|
+
const e = Ft, i = x();
|
|
1723
1731
|
for (; ; )
|
|
1724
1732
|
try {
|
|
1725
|
-
if (parseInt(e(
|
|
1733
|
+
if (parseInt(e(669)) / 1 + -parseInt(e(513)) / 2 + parseInt(e(539)) / 3 * (parseInt(e(627)) / 4) + parseInt(e(683)) / 5 * (parseInt(e(695)) / 6) + -parseInt(e(551)) / 7 * (parseInt(e(505)) / 8) + parseInt(e(650)) / 9 + -parseInt(e(571)) / 10 === t) break;
|
|
1726
1734
|
i.push(i.shift());
|
|
1727
1735
|
} catch {
|
|
1728
1736
|
i.push(i.shift());
|
|
1729
1737
|
}
|
|
1730
|
-
})(
|
|
1731
|
-
const
|
|
1732
|
-
function Ht(x, t) {
|
|
1733
|
-
return x = x - 497, De()[x];
|
|
1734
|
-
}
|
|
1735
|
-
function De() {
|
|
1736
|
-
const x = ["Saudi Arabia", "Liechtenstein", "Kyrgyzstan", "British Indian Ocean Territory", "Brunei Darussalam", "Costa Rica", "Estonia", "Guinea-Bissau", "India", "Croatia", "French Polynesia", "Tanzania, United Republic of", "Spain", "Peru", "Niue", "Gibraltar", "Jordan", "Korea, Republic of", "China", "Georgia", "Australia", "Madagascar", "Northern Mariana Islands", "Montserrat", "259195cfwAJK", "1447912sNgdMd", "Falkland Islands (Malvinas)", "Mayotte", "Comoros", "Gabon", "Guam", "Sweden", "Macao", "Holy See", "Dominican Republic", "Uruguay", "Cayman Islands", "Colombia", "Malaysia", "Cambodia", "459128ONjxGb", "San Marino", "Guatemala", "7XzwBTy", "Bouvet Island", "Saint Martin (French part)", "Kazakhstan", "Indonesia", "Bahrain", "1542468BgoGXH", "Armenia", "South Africa", "Ireland", "Algeria", "Tunisia", "Switzerland", "Palestine, State of", "Réunion", "Oman", "Togo", "Cuba", "Slovenia", "Greece", "Andorra", "Wallis and Futuna", "Gambia", "Portugal", "South Sudan", "Sierra Leone", "430MrmPXU", "Equatorial Guinea", "Saint Lucia", "Chad", "Mongolia", "Japan", "Honduras", "Philippines", "Mexico", "Rwanda", "Svalbard and Jan Mayen", "Namibia", "American Samoa", "Martinique", "Pitcairn", "Virgin Islands (British)", "326voVBdt", "42696FesHry", "Saint Pierre and Miquelon", "Ukraine", "Cook Islands", "Luxembourg", "Isle of Man", "Botswana", "French Guiana", "Mali", "Mauritius", "Taiwan", "Czech Republic", "France", "Iraq", "Syrian Arab Republic", "5550yRfBlk", "Myanmar", "Eritrea", "Liberia", "Mauritania", "Angola", "Nepal", "Cameroon", "Zimbabwe", "Sri Lanka", "Saint Kitts and Nevis", "Western Sahara", "Haiti", "Bolivia (Plurinational State of)", "Libya", "Sudan", "Poland", "Guyana", "Congo", "Heard Island and McDonald Islands", "Guinea", "Saint Barthélemy", "Germany", "Trinidad and Tobago", "Thailand", "Saint Helena, Ascension and Tristan da Cunha", "Yemen", "Netherlands", "Bahamas", "Turks and Caicos Islands", "Palau", "Burkina Faso", "Maldives", "Chile", "Samoa", "Latvia", "United States of America", "Malta", "Central African Republic", "Anguilla", "Antarctica", "828990tUcHPS", "Nigeria", "Solomon Islands", "Austria", "Venezuela (Bolivarian Republic of)", "Malawi", "Bermuda", "Mozambique", "Benin", "Hungary", "Jamaica", "Denmark", "Uzbekistan", "Paraguay", "Belize", "Korea (Democratic People's Republic of)", "Aruba", "El Salvador", "Zambia", "Morocco", "Israel", "Russian Federation", "New Zealand", "Belarus", "Uganda", "Lesotho", "Qatar", "Kuwait", "Tokelau", "Congo (Democratic Republic of the)", "Cyprus", "Côte d'Ivoire", "Finland", "Faroe Islands", "Turkmenistan", "Brazil", "Moldova (Republic of)", "Nauru", "Viet Nam", "Canada", "Azerbaijan", "Åland Islands", "Grenada", "Micronesia (Federated States of)", "Suriname"];
|
|
1737
|
-
return De = function() {
|
|
1738
|
-
return x;
|
|
1739
|
-
}, De();
|
|
1740
|
-
}
|
|
1741
|
-
const _ = ot;
|
|
1738
|
+
})(Oe, 301879);
|
|
1739
|
+
const Ht = { AF: n(660), AX: n(668), AL: n(619), DZ: n(534), AS: n(697), AD: n(531), AO: n(512), AI: n(590), AQ: "Antarctica", AG: n(646), AR: n(699), AM: n(559), AW: n(581), AU: n(609), AT: n(666), AZ: n(532), BS: n(525), BH: n(667), BD: n(576), BB: n(615), BY: n(633), BE: n(614), BZ: n(677), BJ: n(556), BM: n(638), BT: "Bhutan", BO: "Bolivia (Plurinational State of)", BQ: n(653), BA: n(567), BW: n(691), BV: "Bouvet Island", BR: n(612), IO: n(575), BN: n(497), BG: n(624), BF: "Burkina Faso", BI: n(607), CV: n(602), KH: n(605), CM: n(582), CA: n(654), KY: n(565), CF: n(674), TD: n(694), CL: n(628), CN: n(648), CX: n(596), CC: n(552), CO: n(579), KM: "Comoros", CG: n(688), CD: "Congo (Democratic Republic of the)", CK: n(496), CR: n(589), CI: n(533), HR: "Croatia", CU: n(634), CW: n(545), CY: n(491), CZ: n(573), DK: "Denmark", DJ: "Djibouti", DM: n(664), DO: n(517), EC: n(530), EG: n(508), SV: n(548), GQ: n(625), ER: n(535), EE: n(515), ET: "Ethiopia", FK: n(616), FO: n(692), FJ: "Fiji", FI: n(629), FR: n(511), GF: n(686), PF: n(610), TF: n(681), GA: n(608), GM: n(643), GE: n(680), DE: n(588), GH: n(621), GI: n(509), GR: n(597), GL: n(553), GD: n(659), GP: "Guadeloupe", GU: n(611), GT: n(594), GG: n(644), GN: "Guinea", GW: "Guinea-Bissau", GY: "Guyana", HT: n(632), HM: n(657), VA: n(543), HN: n(649), HK: n(542), HU: n(599), IS: n(672), IN: "India", ID: "Indonesia", IR: n(587), IQ: n(561), IE: n(598), IM: n(580), IL: n(617), IT: n(492), JM: n(663), JP: "Japan", JE: "Jersey", JO: n(658), KZ: "Kazakhstan", KE: n(494), KI: "Kiribati", KP: n(574), KR: n(549), KW: n(502), KG: "Kyrgyzstan", LA: "Lao People's Democratic Republic", LV: n(544), LB: n(679), LS: n(528), LR: n(603), LY: n(550), LI: "Liechtenstein", LT: n(493), LU: n(684), MO: n(540), MK: n(516), MG: n(501), MW: n(583), MY: "Malaysia", MV: "Maldives", ML: n(636), MT: n(662), MH: "Marshall Islands", MQ: "Martinique", MR: n(566), MU: n(670), YT: n(504), MX: "Mexico", FM: n(569), MD: n(546), MC: n(541), MN: n(637), ME: n(593), MS: n(613), MA: n(591), MZ: n(536), MM: n(554), NA: n(639), NR: n(687), NP: n(622), NL: n(584), NC: n(510), NZ: "New Zealand", NI: n(623), NE: n(673), NG: "Nigeria", NU: n(519), NF: n(560), MP: n(526), NO: "Norway", OM: n(507), PK: "Pakistan", PW: n(578), PS: "Palestine, State of", PA: n(558), PG: n(595), PY: n(568), PE: n(570), PH: n(585), PN: n(635), PL: n(645), PT: "Portugal", PR: n(631), QA: n(498), RE: n(642), RO: n(626), RU: n(685), RW: "Rwanda", BL: n(555), SH: n(503), KN: n(665), LC: n(682), MF: n(557), PM: n(630), VC: n(690), WS: n(564), SM: n(538), ST: n(518), SA: "Saudi Arabia", SN: "Senegal", RS: n(506), SC: "Seychelles", SL: n(600), SG: n(500), SX: n(499), SK: "Slovakia", SI: n(522), SB: n(618), SO: n(655), ZA: n(514), GS: n(661), SS: n(520), ES: n(651), LK: n(675), SD: n(693), SR: n(592), SJ: n(678), SZ: "Swaziland", SE: n(647), CH: "Switzerland", SY: n(640), TW: n(700), TJ: n(689), TZ: n(527), TH: n(586), TL: n(562), TG: n(671), TK: n(656), TO: n(641), TT: "Trinidad and Tobago", TN: n(524), TR: n(652), TM: "Turkmenistan", TC: n(523), TV: n(601), UG: n(495), UA: n(521), AE: n(547), GB: n(676), US: n(572), UM: n(620), UY: "Uruguay", UZ: n(529), VU: n(696), VE: n(563), VN: n(577), VG: n(606), VI: n(604), WF: n(698), EH: "Western Sahara", YE: n(537), ZM: "Zambia", ZW: "Zimbabwe" }, _ = zt;
|
|
1742
1740
|
(function(x, t) {
|
|
1743
|
-
const e =
|
|
1741
|
+
const e = zt, i = x();
|
|
1744
1742
|
for (; ; )
|
|
1745
1743
|
try {
|
|
1746
|
-
if (parseInt(e(
|
|
1744
|
+
if (parseInt(e(189)) / 1 + -parseInt(e(164)) / 2 + -parseInt(e(175)) / 3 * (-parseInt(e(144)) / 4) + -parseInt(e(176)) / 5 + parseInt(e(214)) / 6 + parseInt(e(156)) / 7 * (-parseInt(e(152)) / 8) + -parseInt(e(180)) / 9 === t) break;
|
|
1747
1745
|
i.push(i.shift());
|
|
1748
1746
|
} catch {
|
|
1749
1747
|
i.push(i.shift());
|
|
1750
1748
|
}
|
|
1751
|
-
})(
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1749
|
+
})(Pe, 312918);
|
|
1750
|
+
function Pe() {
|
|
1751
|
+
const x = ["2695536wxDewa", "sessionId", "latest", "quality", "totalStartTime", "VPE React Native", "toLowerCase", "mpd", "floor", "isp", "prod", "stage", "timeupdate", "MA report failed:", "playerStartTime", "sendBeacon", "extra", "isArray", "push", "https://log.vpe.naverncp.com/stats", "type", "20428iahjGm", "report", "country", "stringify", "Korea, Republic of", "vpePackageId", "entries", "nation", "361992lcgKaJ", "getFullYear", "vpe", "join", "56mVrQXf", "https://log.vpe.gov-ntruss.com/stats", "video", "vod", "logDateUnix", "logDate", "TID", "indexOf", "253380HWGYBn", "platform", "assign", "parse", "log", "UUID", "actionType", "seekedTime", "videoFormat", "log_type", "player_version", "228TDaHJl", "196380lmXJiN", "live", "application/json", "------------------------------------------------", "3277791rWPoHn", "padStart", "syncResult", "getTime", "m3u8", "POST", "error", "json", "https://papi.vpe.gov-ntruss.com/player/maSync", "367687JdhXUC", "browser", "getMinutes", "sync", "host", "mp4", "videoStartTime", "url", "https://log.beta-vpe.naverncp.com/stats", "geoLocation", "forEach", "https://papi.beta-vpe.naverncp.com/player/maSync", "result", "getDate", "MA init report failed:", "net", "https://papi.beta-vpe.gov-ntruss.com/player/maSync", "getSeconds", "object", "MA vpe init", "address", "video_type", "actionDuration", "getMonth", "1.0"];
|
|
1752
|
+
return Pe = function() {
|
|
1753
|
+
return x;
|
|
1754
|
+
}, Pe();
|
|
1755
|
+
}
|
|
1756
|
+
const Ge = { gov: { prod: { log: _(188), report: _(157) }, beta: { log: _(205), report: "https://log.beta-vpe.gov-ntruss.com/stats" } }, pub: { prod: { log: "https://papi.vpe.naverncp.com/player/maSync", report: _(142) }, beta: { log: _(200), report: _(197) } } };
|
|
1757
|
+
let A = { video: {}, browser: {}, device: {}, connection: {}, screen: {}, player_version: _(216), extra: { sessionId: null, playerType: _(219) }, log_type: _(154), privacy: { cookie_enabled: !0 } }, H = { platform: "pub", stage: _(224), sync: !1, syncResult: {} };
|
|
1758
|
+
const g0 = (/* @__PURE__ */ new Date()).getTime(), Gt = (x) => x;
|
|
1755
1759
|
function Ie() {
|
|
1756
|
-
return
|
|
1760
|
+
return Bt();
|
|
1757
1761
|
}
|
|
1758
|
-
function
|
|
1759
|
-
return
|
|
1762
|
+
function Tt() {
|
|
1763
|
+
return Bt();
|
|
1760
1764
|
}
|
|
1761
|
-
const
|
|
1762
|
-
const x = _, t = /* @__PURE__ */ new Date(), e = (o) => String(o)[x(
|
|
1765
|
+
const Vt = () => {
|
|
1766
|
+
const x = _, t = /* @__PURE__ */ new Date(), e = (o) => String(o)[x(181)](2, "0"), i = t[x(153)]() + "-" + e(t[x(212)]() + 1) + "-" + e(t[x(202)]()) + " " + e(t.getHours()) + ":" + e(t[x(191)]()) + ":" + e(t[x(206)]()), a = Math[x(222)](t.getTime() / 1e3), r = (/* @__PURE__ */ new Date())[x(183)]() - g0;
|
|
1763
1767
|
return { logDate: i, logDateUnix: a, thisSec: r };
|
|
1764
1768
|
};
|
|
1765
1769
|
function m0(x) {
|
|
1766
|
-
|
|
1770
|
+
const t = _;
|
|
1771
|
+
return typeof x === t(207) && x !== null && !Array[t(140)](x);
|
|
1767
1772
|
}
|
|
1768
1773
|
function rt(x, t) {
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
+
const e = _;
|
|
1775
|
+
Object[e(150)](t)[e(199)](([i, a]) => {
|
|
1776
|
+
const r = e;
|
|
1777
|
+
m0(a) ? (!x[i] && (x[i] = {}), Object.entries(a)[r(199)](([o, p]) => {
|
|
1778
|
+
p != null && (x[i][o] = p);
|
|
1779
|
+
})) : a != null && (x[i] = a);
|
|
1774
1780
|
});
|
|
1775
1781
|
}
|
|
1776
|
-
function ot(x, t) {
|
|
1777
|
-
return x = x - 400, Oe()[x];
|
|
1778
|
-
}
|
|
1779
1782
|
function y0(x) {
|
|
1780
1783
|
const t = _;
|
|
1781
|
-
return x
|
|
1784
|
+
return x[t(163)](t(184)) > -1 ? "hls" : x[t(163)](t(221)) > -1 ? "dash" : t(194);
|
|
1782
1785
|
}
|
|
1783
1786
|
function v0(x) {
|
|
1784
1787
|
const t = _, e = [];
|
|
1785
|
-
return x?.r1 && e[t(
|
|
1788
|
+
return x?.r1 && e[t(141)](x.r1), x?.r2 && e[t(141)](x.r2), x?.r3 && e[t(141)](x.r3), e[t(155)](" ");
|
|
1786
1789
|
}
|
|
1787
|
-
function
|
|
1790
|
+
function ot(x) {
|
|
1788
1791
|
const t = _;
|
|
1789
|
-
if (!x || typeof x !== t(
|
|
1790
|
-
const e = String(x
|
|
1791
|
-
if (!(e === "v2" || /^2(?:\.|$)
|
|
1792
|
-
(!x[t(
|
|
1793
|
-
const a = x.extra && typeof x
|
|
1794
|
-
r(x[t(
|
|
1795
|
-
const o = r(x[t(
|
|
1796
|
-
x[t(
|
|
1792
|
+
if (!x || typeof x !== t(207)) return;
|
|
1793
|
+
const e = String(x[t(174)] ?? "");
|
|
1794
|
+
if (!(e === "v2" || /^2(?:\.|$)/.test(e))) return;
|
|
1795
|
+
(!x[t(158)] || typeof x[t(158)] !== t(207)) && (x[t(158)] = {});
|
|
1796
|
+
const a = x.extra && typeof x.extra === t(207) ? x[t(139)] : {}, r = (h) => h == null || h === "" || h === "0p";
|
|
1797
|
+
r(x[t(158)][t(217)]) && (x[t(158)][t(217)] = r(a[t(217)]) ? "unknown" : a[t(217)]);
|
|
1798
|
+
const o = r(x[t(158)][t(143)]) ? r(a.type) ? r(a[t(210)]) ? t(159) : a[t(210)] : a[t(143)] : x[t(158)][t(143)], p = String(o)[t(220)]();
|
|
1799
|
+
x.video[t(143)] = p === t(177) ? t(177) : t(159), r(x[t(158)].url) && !r(a[t(196)]) && (x[t(158)][t(196)] = a[t(196)]);
|
|
1797
1800
|
}
|
|
1798
1801
|
function Yt(x) {
|
|
1799
1802
|
const t = _;
|
|
1800
|
-
x
|
|
1803
|
+
x.actionDuration === t(213) && (x[t(211)] = 0), x[t(211)] === void 0 && (x[t(211)] = 0), [t(137), t(195), t(218), t(171)][t(199)]((i) => {
|
|
1801
1804
|
x[i] === void 0 && (x[i] = 0);
|
|
1802
|
-
}), x[t(
|
|
1805
|
+
}), x[t(143)] === void 0 && A[t(158)]?.type && (x[t(143)] = A[t(158)][t(143)]), x.url === void 0 && A[t(158)]?.[t(196)] && (x[t(196)] = A[t(158)].url, x[t(172)] = y0(x[t(196)]));
|
|
1803
1806
|
}
|
|
1804
|
-
function
|
|
1807
|
+
function Kt(x) {
|
|
1805
1808
|
const t = _;
|
|
1806
|
-
return !!(x[t(
|
|
1809
|
+
return !!(x[t(169)] && x[t(162)] && x[t(193)]);
|
|
1807
1810
|
}
|
|
1808
|
-
function
|
|
1811
|
+
function Ve(x) {
|
|
1809
1812
|
const t = _;
|
|
1810
1813
|
try {
|
|
1811
|
-
const e =
|
|
1812
|
-
e && (x[t(
|
|
1814
|
+
const e = H.syncResult?.geoLocation;
|
|
1815
|
+
e && (x[t(209)] = v0(e), x[t(223)] = e[t(204)] || "", x.ip = H.syncResult?.ip || "", x.nation = e[t(146)] || "");
|
|
1813
1816
|
} catch {
|
|
1814
1817
|
}
|
|
1815
1818
|
}
|
|
1816
1819
|
const S0 = async (x) => {
|
|
1817
1820
|
const t = _;
|
|
1818
1821
|
if (!x) return;
|
|
1819
|
-
const { platform: e, stage: i } =
|
|
1822
|
+
const { platform: e, stage: i } = H, a = Ge[e][i][t(168)];
|
|
1820
1823
|
try {
|
|
1821
|
-
const r = await fetch(a, { method:
|
|
1822
|
-
|
|
1823
|
-
const { logDate:
|
|
1824
|
-
return A[t(
|
|
1824
|
+
const r = await fetch(a, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON[t(147)]({ access_key: x }) }), o = await r[t(187)]();
|
|
1825
|
+
H[t(192)] = o[t(201)]?.[t(192)] || !1, H[t(182)] = o[t(201)] || {};
|
|
1826
|
+
const { logDate: p, logDateUnix: h } = Vt();
|
|
1827
|
+
return A[t(139)][t(161)] = p, A[t(139)].logDateUnix = h, H.syncResult?.[t(198)] && Ve(A[t(139)]), o;
|
|
1825
1828
|
} catch (r) {
|
|
1826
|
-
return console
|
|
1829
|
+
return console[t(186)]("MA config initialization failed:", r), null;
|
|
1827
1830
|
}
|
|
1828
1831
|
}, I0 = async (x) => {
|
|
1829
|
-
const t = _, { platform: e, stage: i } =
|
|
1830
|
-
r[t(
|
|
1832
|
+
const t = _, { platform: e, stage: i } = H, a = Gt(Ge[e][i].report), r = { ...x };
|
|
1833
|
+
r[t(173)] = t(154), Ve(r[t(139)]), ot(r);
|
|
1831
1834
|
try {
|
|
1832
|
-
await fetch(a, { method:
|
|
1835
|
+
await fetch(a, { method: t(185), headers: { "Content-Type": t(178) }, body: JSON.stringify(r) });
|
|
1833
1836
|
} catch (o) {
|
|
1834
|
-
console[t(
|
|
1837
|
+
console[t(186)](t(203), o);
|
|
1835
1838
|
}
|
|
1836
1839
|
}, k0 = async (x) => {
|
|
1837
|
-
const t = _, { platform: e, stage: i } =
|
|
1838
|
-
if (rt(r, x), r[t(
|
|
1840
|
+
const t = _, { platform: e, stage: i } = H, a = Gt(Ge[e][i][t(145)]), r = JSON[t(167)](JSON[t(147)](A));
|
|
1841
|
+
if (rt(r, x), r[t(173)] = "MA", Ve(r[t(139)]), Yt(r[t(139)]), ot(r), !!Kt(r.extra))
|
|
1839
1842
|
try {
|
|
1840
|
-
r[t(
|
|
1843
|
+
r[t(143)] != t(226), await fetch(a, { method: t(185), headers: { "Content-Type": "application/json" }, body: JSON[t(147)](r) });
|
|
1841
1844
|
} catch (o) {
|
|
1842
|
-
console
|
|
1845
|
+
console.log(t(227), o);
|
|
1843
1846
|
}
|
|
1844
1847
|
};
|
|
1848
|
+
function zt(x, t) {
|
|
1849
|
+
return x = x - 137, Pe()[x];
|
|
1850
|
+
}
|
|
1845
1851
|
async function _0(x, t, e, i, a) {
|
|
1846
1852
|
const r = _;
|
|
1847
|
-
|
|
1848
|
-
const { logDate: o, logDateUnix:
|
|
1849
|
-
A
|
|
1850
|
-
}
|
|
1851
|
-
function Oe() {
|
|
1852
|
-
const x = ["1.0", "https://log.beta-vpe.naverncp.com/stats", "sendBeacon", "floor", "prod", "video", "join", "------------------------------------------------", "entries", "2374840CLFyff", "video_type", "https://papi.vpe.gov-ntruss.com/player/maSync", "videoStartTime", "unknown", "https://papi.vpe.naverncp.com/player/maSync", "logDateUnix", "seekedTime", "mp4", "extra", "isp", "totalStartTime", "getTime", "videoFormat", "parse", "stringify", "43070npolbj", "VPE React Native", "126gCzOjm", "m3u8", "getMinutes", "created_at", "url", "4711800rMzwFX", "hls", "1237894Sxiuts", "live", "application/json", "sync", "report", "https://log.beta-vpe.gov-ntruss.com/stats", "padStart", "net", "quality", "nation", "6456942sPqDXG", "mpd", "getDate", "log", "geoLocation", "3nrCEEl", "UUID", "log_type", "https://papi.beta-vpe.gov-ntruss.com/player/maSync", "4343180SwKRSB", "logDate", "https://log.vpe.gov-ntruss.com/stats", "sessionId", "json", "vpeKey", "result", "242354VZjJpi", "toLowerCase", "dash", "error", "address", "timeupdate", "forEach", "actionType", "POST", "14LopaKu", "syncResult", "push", "browser", "host", "actionDuration", "getHours", "MA init report failed:", "object", "type", "TID", "test", "playerStartTime", "https://papi.beta-vpe.naverncp.com/player/maSync", "Korea, Republic of", "vpePackageId", "country"];
|
|
1853
|
-
return Oe = function() {
|
|
1854
|
-
return x;
|
|
1855
|
-
}, Oe();
|
|
1853
|
+
H[r(165)] = x, H[r(225)] = t, rt(A, e), i && (A[r(139)][r(149)] = i), a && (A.extra.vpeKey = a), A.extra[r(151)] ? A[r(190)][r(146)] = Ht[A.extra[r(151)]] || r(148) : A[r(190)][r(146)] = "Korea, Republic of";
|
|
1854
|
+
const { logDate: o, logDateUnix: p } = Vt();
|
|
1855
|
+
A[r(139)][r(161)] = o, A[r(139)].logDateUnix = p, A.extra.created_at = p;
|
|
1856
1856
|
}
|
|
1857
1857
|
function E0(x) {
|
|
1858
|
-
const t = _, { platform: e, stage: i } =
|
|
1858
|
+
const t = _, { platform: e, stage: i } = H, a = Ge[e]?.[i]?.[t(145)];
|
|
1859
1859
|
if (!a) return !1;
|
|
1860
|
-
const r = JSON[t(
|
|
1861
|
-
if (rt(r, x), r
|
|
1860
|
+
const r = JSON[t(167)](JSON.stringify(A));
|
|
1861
|
+
if (rt(r, x), r.log_type = "MA", Ve(r.extra), Yt(r[t(139)]), ot(r), !Kt(r[t(139)])) return !1;
|
|
1862
1862
|
try {
|
|
1863
|
-
const o = new Blob([JSON
|
|
1864
|
-
return navigator[t(
|
|
1863
|
+
const o = new Blob([JSON[t(147)](r)], { type: t(178) });
|
|
1864
|
+
return navigator[t(138)](a, o);
|
|
1865
1865
|
} catch {
|
|
1866
1866
|
return !1;
|
|
1867
1867
|
}
|
|
1868
1868
|
}
|
|
1869
|
-
|
|
1870
|
-
const x = ["912ErQjRH", "6179136ZPOnzc", "dropshadow", "#009dff", "395395luLMBD", "12IGyXos", "10396sJfqYH", "8704593YpiMBp", "#4299f5", "383526tSMjEi", "progressBar", "16/9", "controlBtn", "contain", "NAVER CLOUD PLATFORM", "12980vlytGI", "rgba(0, 0, 0, 0.4)", "watermarkConfig", "6834436EqVKLw"];
|
|
1871
|
-
return Pe = function() {
|
|
1872
|
-
return x;
|
|
1873
|
-
}, Pe();
|
|
1874
|
-
}
|
|
1875
|
-
const T0 = ct;
|
|
1869
|
+
const T0 = st;
|
|
1876
1870
|
(function(x, t) {
|
|
1877
|
-
const e =
|
|
1871
|
+
const e = st, i = x();
|
|
1878
1872
|
for (; ; )
|
|
1879
1873
|
try {
|
|
1880
|
-
if (parseInt(e(
|
|
1874
|
+
if (parseInt(e(510)) / 1 * (-parseInt(e(507)) / 2) + parseInt(e(498)) / 3 + parseInt(e(513)) / 4 + -parseInt(e(505)) / 5 + parseInt(e(501)) / 6 + -parseInt(e(499)) / 7 + parseInt(e(511)) / 8 === t) break;
|
|
1881
1875
|
i.push(i.shift());
|
|
1882
1876
|
} catch {
|
|
1883
1877
|
i.push(i.shift());
|
|
1884
1878
|
}
|
|
1885
|
-
})(
|
|
1886
|
-
function ct(x, t) {
|
|
1887
|
-
return x = x - 313, Pe()[x];
|
|
1888
|
-
}
|
|
1879
|
+
})(Ne, 870941);
|
|
1889
1880
|
const C0 = (x = {}, t) => {
|
|
1890
|
-
const e =
|
|
1891
|
-
if (t !==
|
|
1881
|
+
const e = st, i = { autostart: !0, muted: !1, aspectRatio: e(508), objectFit: "contain", controls: !0, keyboardShortcut: !0, startMutedInfoNotVisible: !1, allowsPictureInPicture: !1, staysActiveInBackground: !1, screenRecordingPrevention: !1, modalFullscreen: !1, seekingPreview: !0, lang: "ko", ui: e(503), controlBtn: { play: !0, fullscreen: !0, progressBar: !0, volume: !1, times: !0, pictureInPicture: !0, setting: !0, subtitle: !0 }, progressBarColor: "#4299f5", controlActiveTime: 3e3, playRateSetting: [0.5, 0.75, 1, 1.5, 2], autoPause: !1, repeat: !1, setStartTime: void 0, playIndex: 0, lowLatencyMode: !0, touchGestures: !0, descriptionNotVisible: !1, devTestAppId: void 0, token: "", visibleWatermark: !1, iosFullscreenNativeMode: !0, watermarkText: e(506), watermarkConfig: { randPosition: !0, randPositionInterVal: 3e3, x: 10, y: 10, opacity: 0.5 }, captionStyle: { fontSize: 12, color: e(512), backgroundColor: "rgba(0, 0, 0, 0.4)", edgeStyle: "dropshadow" }, override: null };
|
|
1882
|
+
if (t !== e(502)) return { ...i, ...A0 };
|
|
1892
1883
|
const a = { ...i, ...x };
|
|
1893
|
-
return x
|
|
1894
|
-
}, A0 = { free: !0, startMutedInfoNotVisible: !1, lowLatencyMode: !1, progressBarColor: T0(
|
|
1884
|
+
return x.controlBtn && (a[e(514)] = { ...i.controlBtn, ...x.controlBtn }), x[e(515)] && (a[e(515)] = { ...i.watermarkConfig, ...x[e(515)] }), x.captionStyle && (a[e(504)] = { ...i[e(504)], ...x[e(504)] }), a[e(514)]?.[e(500)] === void 0 && (a[e(514)][e(500)] = !0), a;
|
|
1885
|
+
}, A0 = { free: !0, startMutedInfoNotVisible: !1, lowLatencyMode: !1, progressBarColor: T0(509), playRateSetting: [0.5, 0.75, 1, 1.5, 2], descriptionNotVisible: !0, seekingPreview: !1, controlActiveTime: 1500, ui: "all", token: "", setStartTime: null, controlBtn: { play: !0, fullscreen: !0, volume: !0, times: !0, setting: !1, pictureInPicture: !1, progressBar: !0 } };
|
|
1886
|
+
function st(x, t) {
|
|
1887
|
+
return x = x - 498, Ne()[x];
|
|
1888
|
+
}
|
|
1895
1889
|
function Ne() {
|
|
1896
|
-
const x = ["
|
|
1890
|
+
const x = ["captionStyle", "5803345XHskRb", "NAVER CLOUD PLATFORM", "3450FHOASQ", "16/9", "#009dff", "165emuogL", "8850296pYumML", "#ffffff", "166596BEelxT", "controlBtn", "watermarkConfig", "2637273ZRPCbT", "4173631HjYCwn", "progressBar", "5312646UurOwp", "pay", "all"];
|
|
1897
1891
|
return Ne = function() {
|
|
1898
1892
|
return x;
|
|
1899
1893
|
}, Ne();
|
|
1900
1894
|
}
|
|
1901
|
-
const b =
|
|
1895
|
+
const b = Wt;
|
|
1896
|
+
function Wt(x, t) {
|
|
1897
|
+
return x = x - 389, Ue()[x];
|
|
1898
|
+
}
|
|
1899
|
+
function Ue() {
|
|
1900
|
+
const x = ["prev", "log_type", "seekCnt", "handleCanplay", "timeupdate", "vpe", "bufferingEnd", "rebuffering", "PAUSED", "SEEKING", "getHours", "OPENING_SKIP", "startup", "872mSeeDm", "prevUrl", "ENDING_SKIP", "nation", "quality_change", "PREV_TRACK", "handleTrackChange", "initializeReportData", "resetStateForNewTrack", "catch", "latest", "video", "handleTimeUpdate", "REBUFFERING", "getMinutes", "watch_percent", "playbackRate", "ending_skip", "isSeeking", "Unknown Error", "forEach", "RATE_CHANGE", "visibilitychange", "play", "beforeunload", "bufferingStart", "playedTime", "PLAYER_START", "intro_skip", "sessionId", "handleSeeked", "VPE_REPORT_DELAY_MS", "waiting", "getTime", "296686aIUZYa", "quality", "report", "handleWaiting", "handleAutoSkip", "prev_track", "introSkip", "extra", "65430MVksht", "4031631mizCyV", "startTime", "isFullscreen", "beaconSent", "sendSessionBeacon", "ENDED", "now", "384535ctRsgJ", "isBounce", "padStart", "initTimeupdate", "next_track", "addEventListener", "lastPlaybackSpeed", "getFullYear", "bind", "seekedTime", "ERROR", "error", "ended", "actionType", "firstError", "TIMEUPDATE_FOCUS", "handleFullscreenChange", "next", "waitingEnd", "prevTime", "logDateUnix", "contentId", "vpeReportScheduled", "timeupdateFocus", "maSync", "state", "boundVisibilityChange", "pause", "handleSeeking", "buildSessionMetrics", "VPE", "TID", "scheduleVpeReport", "PLAYING", "handleRateChange", "seeked", "handlePlay", "entries", "pauseCnt", "WAITING", "FULLSCREEN_CHANGE", "toFixed", "then", "Korea, Republic of", "destroy", "removeEventListener", "handleTimeUpdateFocus", "currentTime", "fullscreenEnterTime", "prevAction", "reportData", "hidden", "watchPercent", "player_start", "playAttempt", "handleError", "opening_skip", "isPlainObject", "ratechange", "8aPqABf", "318058PYFwgO", "visibilityState", "speedChangeCnt", "nextTrack", "8498JIDWMK", "suppressNextSeek", "floor", "fullscreenDuration", "errorMessage", "INTRO_SKIP", "CANPLAY", "object", "handleEnded", "PLAY", "seeking", "fullscreenYn", "round", "isCompleted", "stageData", "data", "handleStartup", "percent", "contentDuration", "handleBeforeUnload", "dispatchEvent", "PAUSE", "stringify", "seekStartTime", "firstPlaying", "errorCode", "1050744FTJUFw", "UUID", "handlePause", "maInit", "isEnded", "type", "QUALITY_CHANGE", "vpeReportTimerId", "parse", "message", "STARTUP", "SEEKED", "isPlaying", "isArray", "handlePlayerStart", "duration", "isBuffering", "browser", "country", "boundBeforeUnload", "handleQualityChange"];
|
|
1901
|
+
return Ue = function() {
|
|
1902
|
+
return x;
|
|
1903
|
+
}, Ue();
|
|
1904
|
+
}
|
|
1902
1905
|
(function(x, t) {
|
|
1903
|
-
const e =
|
|
1906
|
+
const e = Wt, i = x();
|
|
1904
1907
|
for (; ; )
|
|
1905
1908
|
try {
|
|
1906
|
-
if (
|
|
1909
|
+
if (parseInt(e(419)) / 1 + parseInt(e(495)) / 2 + -parseInt(e(427)) / 3 * (-parseInt(e(494)) / 4) + parseInt(e(435)) / 5 + parseInt(e(525)) / 6 + parseInt(e(499)) / 7 * (-parseInt(e(559)) / 8) + -parseInt(e(428)) / 9 === t) break;
|
|
1907
1910
|
i.push(i.shift());
|
|
1908
1911
|
} catch {
|
|
1909
1912
|
i.push(i.shift());
|
|
1910
1913
|
}
|
|
1911
|
-
})(
|
|
1912
|
-
const
|
|
1913
|
-
class
|
|
1914
|
-
|
|
1915
|
-
[b(
|
|
1916
|
-
[b(
|
|
1917
|
-
|
|
1918
|
-
[b(
|
|
1919
|
-
|
|
1920
|
-
[b(
|
|
1921
|
-
[b(
|
|
1922
|
-
|
|
1914
|
+
})(Ue, 171081);
|
|
1915
|
+
const Ct = "0p", D0 = 6e4, R0 = 1, m = { PLAYER_START: b(488), STARTUP: b(558), PLAY: b(408), PAUSE: b(462), PLAYING: "playing", PAUSED: b(462), SEEKING: b(509), SEEKED: b(470), WAITING: b(417), WAITING_END: b(453), CANPLAY: "canplay", ENDED: b(447), NEXT_TRACK: b(439), PREV_TRACK: b(424), ERROR: b(446), QUALITY_CHANGE: b(389), REBUFFERING: b(553), TIMEUPDATE: b(550), TIMEUPDATE_FOCUS: b(458), RATE_CHANGE: b(493), FULLSCREEN_CHANGE: "fullscreenchange", INTRO_SKIP: b(413), OPENING_SKIP: b(491), ENDING_SKIP: b(402) };
|
|
1916
|
+
class M0 {
|
|
1917
|
+
[b(485)];
|
|
1918
|
+
[b(513)];
|
|
1919
|
+
[b(460)];
|
|
1920
|
+
[b(431)] = !1;
|
|
1921
|
+
[b(544)];
|
|
1922
|
+
boundVisibilityChange;
|
|
1923
|
+
[b(457)] = !1;
|
|
1924
|
+
[b(532)] = null;
|
|
1925
|
+
VPE_REPORT_DELAY_MS = 3e3;
|
|
1923
1926
|
constructor(t, e, i) {
|
|
1924
1927
|
const a = b;
|
|
1925
|
-
this[a(
|
|
1928
|
+
this[a(513)] = { platform: t, stage: e, sync: !1, syncResult: {} }, this[a(485)] = { video: {}, browser: {}, device: {}, connection: {}, screen: {}, player_version: a(395), extra: { UUID: null, TID: null, sessionId: null, playerType: a(465), playAttempt: !1 }, log_type: a(551), privacy: { cookie_enabled: !0 } }, this[a(460)] = { prevAction: null, isPlaying: !1, isSeeking: !1, initTimeupdate: !1, isBuffering: !1, firstError: !1, isEnded: !1, firstPlay: !0, firstPlaying: !0, startTime: 0, prevTime: 0, startUpDuration: 0, prevUrl: "", prevQuality: Ct, pauseCnt: 0, seekCnt: 0, speedChangeCnt: 0, lastPlaybackSpeed: 1, fullscreenYn: !1, fullscreenEnterTime: 0, fullscreenDuration: 0, contentId: null, contentDuration: 0, seekStartTime: 0, suppressNextSeek: !1 }, this[a(392)](i), this[a(513)], this[a(544)] = this[a(518)].bind(this), this[a(461)] = this.handleVisibilityChange[a(443)](this), window[a(440)](a(409), this[a(544)]), document[a(440)](a(407), this[a(461)]);
|
|
1926
1929
|
}
|
|
1927
|
-
[b(
|
|
1930
|
+
[b(392)](t) {
|
|
1928
1931
|
const e = b;
|
|
1929
|
-
this[e(
|
|
1932
|
+
this[e(485)] = { ...this[e(485)], ...t }, this[e(485)][e(426)].nation ? this.reportData.browser[e(543)] = Ht[this[e(485)][e(426)][e(562)]] || e(478) : this[e(485)][e(542)][e(543)] = e(478);
|
|
1930
1933
|
}
|
|
1931
|
-
[b(
|
|
1932
|
-
const t = b, e = /* @__PURE__ */ new Date(), i = (o) => String(o)[t(
|
|
1934
|
+
[b(418)]() {
|
|
1935
|
+
const t = b, e = /* @__PURE__ */ new Date(), i = (o) => String(o)[t(437)](2, "0"), a = e[t(442)]() + "-" + i(e.getMonth() + 1) + "-" + i(e.getDate()) + " " + i(e[t(556)]()) + ":" + i(e[t(399)]()) + ":" + i(e.getSeconds()), r = Math[t(501)](e[t(418)]() / 1e3);
|
|
1933
1936
|
return { logDate: a, logDateUnix: r };
|
|
1934
1937
|
}
|
|
1935
|
-
[b(
|
|
1936
|
-
return typeof t
|
|
1938
|
+
[b(492)](t) {
|
|
1939
|
+
return typeof t == "object" && t !== null && !Array[b(538)](t);
|
|
1937
1940
|
}
|
|
1938
|
-
async [b(
|
|
1941
|
+
async [b(421)](t, e) {
|
|
1939
1942
|
const i = b;
|
|
1940
|
-
if (this[i(
|
|
1941
|
-
const { logDate: a, logDateUnix: r } = this[i(
|
|
1942
|
-
for (const
|
|
1943
|
-
y[
|
|
1944
|
-
const R = this[i(
|
|
1945
|
-
this
|
|
1943
|
+
if (this.state[i(449)]) return;
|
|
1944
|
+
const { logDate: a, logDateUnix: r } = this[i(418)](), o = Date.now(), p = this.state.prevTime > 0 ? o - this[i(460)][i(454)] : 0, h = p, y = e && typeof e === i(506) && e[i(514)] ? e[i(514)] : {}, v = ["contentId", i(517), i(516), i(400), i(487), i(512), i(436), "pauseCnt", i(548), i(497), i(441), i(510), i(502), "dropOffPosition", i(444), i(524), i(503), "code", i(534)], E = {};
|
|
1945
|
+
for (const q of v)
|
|
1946
|
+
y[q] !== void 0 && (E[q] = y[q]);
|
|
1947
|
+
const R = this[i(460)][i(517)], G = R > 0 ? Math[i(501)](R / 1e3) : this.reportData.extra[i(540)] || 0, U = this[i(485)].extra.currentTime || 0, L = G > 0 ? Math[i(511)](U / G * 1e4) / 100 : 0, Q = { ...this.reportData, video: this.reportData[i(396)], percent: L, extra: { ...this[i(485)][i(426)], actionType: t, actionDuration: h ? h[i(476)](2) : 0, duration: G, contentDuration: R, percent: L, watch_percent: L, logDate: a, logDateUnix: r, ...E } };
|
|
1948
|
+
this[i(460)][i(454)] = o, await k0(Q);
|
|
1946
1949
|
}
|
|
1947
|
-
async
|
|
1950
|
+
async [b(528)](t) {
|
|
1948
1951
|
const e = b;
|
|
1949
|
-
!this[e(
|
|
1952
|
+
!this[e(485)][e(426)][e(414)] && (this.reportData.extra[e(414)] = Tt(), this[e(485)].extra[e(466)] = Ie(), this.reportData[e(426)].UUID = Ie()), t?.[e(426)] && typeof t[e(426)] === e(506) && (t[e(426)][e(414)] = this[e(485)][e(426)][e(414)], Object.assign(this[e(485)][e(426)], t.extra)), t?.[e(396)] && typeof t[e(396)] == "object" && (this.reportData[e(396)] = { ...this.reportData[e(396)], ...t.video });
|
|
1950
1953
|
}
|
|
1951
|
-
[b(
|
|
1954
|
+
[b(467)]() {
|
|
1952
1955
|
const t = b;
|
|
1953
|
-
this.vpeReportScheduled || (this[t(
|
|
1956
|
+
this.vpeReportScheduled || (this[t(457)] = !0, this.vpeReportTimerId = setTimeout(() => {
|
|
1954
1957
|
const e = t;
|
|
1955
|
-
this[e(
|
|
1956
|
-
const i = JSON[e(
|
|
1957
|
-
i[e(
|
|
1958
|
+
this[e(532)] = null;
|
|
1959
|
+
const i = JSON[e(533)](JSON[e(521)](this[e(485)]));
|
|
1960
|
+
i[e(547)] = e(551);
|
|
1958
1961
|
const { logDate: a, logDateUnix: r } = this.getTime();
|
|
1959
|
-
i[e(
|
|
1962
|
+
i[e(426)] = i[e(426)] || {}, i.extra.logDate = a, i[e(426)][e(455)] = r, i.extra.actionType = i.extra[e(448)] || "vpe_init", I0(i)[e(394)](() => {
|
|
1960
1963
|
});
|
|
1961
|
-
}, this[t(
|
|
1964
|
+
}, this[t(416)]));
|
|
1962
1965
|
}
|
|
1963
|
-
async [b(
|
|
1966
|
+
async [b(459)](t) {
|
|
1964
1967
|
const e = b;
|
|
1965
|
-
!t || typeof t !== e(
|
|
1968
|
+
!t || typeof t !== e(506) || Object.entries(t).forEach(([i, a]) => {
|
|
1966
1969
|
const r = e;
|
|
1967
|
-
this
|
|
1968
|
-
const
|
|
1969
|
-
|
|
1970
|
-
}) : a != null && (this[
|
|
1970
|
+
this.isPlainObject(a) ? Object[r(472)](a)[r(405)](([o, p]) => {
|
|
1971
|
+
const h = r;
|
|
1972
|
+
p != null && (this[h(485)][i][o] = p);
|
|
1973
|
+
}) : a != null && (this.reportData[i] = a);
|
|
1971
1974
|
});
|
|
1972
1975
|
}
|
|
1973
|
-
[b(
|
|
1974
|
-
const e = b, { type: i, data: a } = t, r = { url: a?.
|
|
1975
|
-
switch (o && o > 0 && (this[e(
|
|
1976
|
-
case m
|
|
1977
|
-
this[e(
|
|
1976
|
+
[b(519)](t) {
|
|
1977
|
+
const e = b, { type: i, data: a } = t, r = { url: a?.url || this[e(460)][e(560)], type: a?.[e(530)], quality: a?.[e(420)] || this[e(460)].prevQuality, data: a }, o = a?.extra?.duration;
|
|
1978
|
+
switch (o && o > 0 && (this[e(460)].contentDuration = Math[e(511)](o * 1e3)), i) {
|
|
1979
|
+
case m.PLAYER_START:
|
|
1980
|
+
this[e(539)](r, a);
|
|
1978
1981
|
break;
|
|
1979
|
-
case m[e(
|
|
1980
|
-
this[e(
|
|
1982
|
+
case m[e(535)]:
|
|
1983
|
+
this[e(515)](r, a);
|
|
1981
1984
|
break;
|
|
1982
|
-
case m[e(
|
|
1983
|
-
this[e(
|
|
1985
|
+
case m[e(508)]:
|
|
1986
|
+
this[e(471)](r, a);
|
|
1984
1987
|
break;
|
|
1985
|
-
case m[e(
|
|
1986
|
-
this[e(
|
|
1988
|
+
case m[e(520)]:
|
|
1989
|
+
this[e(527)](r, a);
|
|
1987
1990
|
break;
|
|
1988
|
-
case m
|
|
1989
|
-
this[e(
|
|
1991
|
+
case m.TIMEUPDATE:
|
|
1992
|
+
this[e(397)](r, a);
|
|
1990
1993
|
break;
|
|
1991
|
-
case m[e(
|
|
1992
|
-
this
|
|
1994
|
+
case m[e(450)]:
|
|
1995
|
+
this[e(481)](r, a);
|
|
1993
1996
|
break;
|
|
1994
|
-
case m[e(
|
|
1995
|
-
this
|
|
1997
|
+
case m[e(555)]:
|
|
1998
|
+
this[e(463)](r, a);
|
|
1996
1999
|
break;
|
|
1997
|
-
case m[e(
|
|
1998
|
-
this[e(
|
|
2000
|
+
case m[e(536)]:
|
|
2001
|
+
this[e(415)](r, a);
|
|
1999
2002
|
break;
|
|
2000
|
-
case m
|
|
2001
|
-
case e(
|
|
2002
|
-
this[e(
|
|
2003
|
+
case m[e(474)]:
|
|
2004
|
+
case e(410):
|
|
2005
|
+
this[e(422)](r, a);
|
|
2003
2006
|
break;
|
|
2004
|
-
case m
|
|
2005
|
-
case
|
|
2006
|
-
case
|
|
2007
|
-
this[e(
|
|
2007
|
+
case m.WAITING_END:
|
|
2008
|
+
case e(552):
|
|
2009
|
+
case "loadingEnd":
|
|
2010
|
+
this[e(549)](r, a);
|
|
2008
2011
|
break;
|
|
2009
|
-
case m[e(
|
|
2010
|
-
this[e(
|
|
2012
|
+
case m[e(505)]:
|
|
2013
|
+
this[e(549)](r, a);
|
|
2011
2014
|
break;
|
|
2012
|
-
case m
|
|
2013
|
-
this[e(
|
|
2015
|
+
case m[e(433)]:
|
|
2016
|
+
this[e(507)](r, a);
|
|
2014
2017
|
break;
|
|
2015
|
-
case
|
|
2016
|
-
case
|
|
2017
|
-
this[e(
|
|
2018
|
+
case e(498):
|
|
2019
|
+
case e(452):
|
|
2020
|
+
this[e(391)](m.NEXT_TRACK, r, a);
|
|
2018
2021
|
break;
|
|
2019
2022
|
case "prevTrack":
|
|
2020
|
-
case e(
|
|
2021
|
-
this[e(
|
|
2023
|
+
case e(546):
|
|
2024
|
+
this.handleTrackChange(m[e(390)], r, a);
|
|
2022
2025
|
break;
|
|
2023
|
-
case m[e(
|
|
2024
|
-
this[e(
|
|
2026
|
+
case m[e(445)]:
|
|
2027
|
+
this[e(490)](r, a);
|
|
2025
2028
|
break;
|
|
2026
|
-
case m[e(
|
|
2027
|
-
this[e(
|
|
2029
|
+
case m[e(531)]:
|
|
2030
|
+
this[e(545)](r, a);
|
|
2028
2031
|
break;
|
|
2029
|
-
case m
|
|
2032
|
+
case m.RATE_CHANGE:
|
|
2030
2033
|
this.handleRateChange(r, a);
|
|
2031
2034
|
break;
|
|
2032
|
-
case m[e(
|
|
2033
|
-
this
|
|
2035
|
+
case m[e(475)]:
|
|
2036
|
+
this[e(451)](r, a);
|
|
2034
2037
|
break;
|
|
2035
|
-
case
|
|
2036
|
-
this
|
|
2038
|
+
case e(425):
|
|
2039
|
+
this.handleAutoSkip(m[e(504)], r, a);
|
|
2037
2040
|
break;
|
|
2038
|
-
case
|
|
2039
|
-
this[e(
|
|
2041
|
+
case "openingSkip":
|
|
2042
|
+
this[e(423)](m[e(557)], r, a);
|
|
2040
2043
|
break;
|
|
2041
|
-
case
|
|
2042
|
-
this[e(
|
|
2044
|
+
case "endingSkip":
|
|
2045
|
+
this[e(423)](m[e(561)], r, a);
|
|
2043
2046
|
break;
|
|
2044
2047
|
}
|
|
2045
2048
|
}
|
|
2046
|
-
|
|
2049
|
+
[b(423)](t, e, i) {
|
|
2047
2050
|
const a = b;
|
|
2048
|
-
this[a(
|
|
2051
|
+
this.state[a(500)] = !0, this[a(421)](t, { ...e, data: i });
|
|
2049
2052
|
}
|
|
2050
|
-
|
|
2053
|
+
handlePlayerStart(t, e) {
|
|
2051
2054
|
const i = b;
|
|
2052
|
-
!this[i(
|
|
2055
|
+
!this[i(485)][i(426)].sessionId && (this.reportData[i(426)][i(414)] = Tt(), this[i(485)][i(426)].TID = Ie(), this[i(485)][i(426)].UUID = Ie()), this[i(460)].startTime = Date.now(), this.state.prevTime = this[i(460)][i(429)], this.report(m[i(412)], { ...t, data: e });
|
|
2053
2056
|
}
|
|
2054
|
-
|
|
2057
|
+
[b(515)](t, e) {
|
|
2055
2058
|
const i = b;
|
|
2056
|
-
if (this[i(
|
|
2057
|
-
const a = e?.[i(
|
|
2058
|
-
a?.[i(
|
|
2059
|
+
if (this[i(460)][i(523)]) {
|
|
2060
|
+
const a = e?.[i(426)] || e || {};
|
|
2061
|
+
a?.[i(456)] && (this[i(460)][i(456)] = a[i(456)]), this[i(460)][i(537)] = !0, this[i(421)](m[i(535)], { ...t, data: { ...e, contentId: this[i(460)][i(456)], contentDuration: this[i(460)].contentDuration } }), this[i(460)][i(523)] = !1, this[i(467)]();
|
|
2059
2062
|
}
|
|
2060
2063
|
}
|
|
2061
|
-
[b(
|
|
2064
|
+
[b(471)](t, e) {
|
|
2062
2065
|
const i = b;
|
|
2063
|
-
this.state[i(
|
|
2066
|
+
this.state[i(537)] || (this.reportData[i(426)][i(411)] = e?.[i(411)], this[i(485)][i(426)][i(516)] = e?.percent, this[i(460)][i(537)] = !0, this[i(485)][i(426)][i(489)] = !0, this[i(460)].firstPlay && (this[i(460)].firstPlay = !1), this[i(467)](), this[i(460)][i(484)] === m.PAUSED && this[i(421)](m[i(468)], { ...t, data: e }), this[i(460)][i(484)] = m[i(468)]);
|
|
2064
2067
|
}
|
|
2065
|
-
|
|
2068
|
+
[b(527)](t, e) {
|
|
2066
2069
|
const i = b;
|
|
2067
|
-
this.state
|
|
2070
|
+
this.state.isSeeking || this.state.isBuffering || !this[i(460)].isPlaying || (this.state.pauseCnt++, this.state.isPlaying = !1, this[i(421)](m[i(554)], { ...t, data: { ...e, pauseCnt: this[i(460)][i(473)] } }), this.state.prevAction = m[i(554)]);
|
|
2068
2071
|
}
|
|
2069
|
-
[b(
|
|
2072
|
+
[b(397)](t, e) {
|
|
2070
2073
|
const i = b;
|
|
2071
|
-
this.state
|
|
2074
|
+
this.state[i(537)] = !0, this[i(485)][i(426)].playAttempt = !0, !(this[i(485)][i(426)][i(482)] < R0) && (this.state.isPlaying && Date[i(434)]() - this.state[i(454)] > D0 && this[i(421)](m[i(468)], { ...t, data: e }), this.state[i(560)] = t.url || "", this[i(460)].prevQuality = t[i(420)] || Ct);
|
|
2072
2075
|
}
|
|
2073
|
-
|
|
2076
|
+
[b(481)](t, e) {
|
|
2074
2077
|
const i = b;
|
|
2075
|
-
this[i(
|
|
2078
|
+
this[i(485)][i(426)][i(482)] > 0 && (this[i(421)](m[i(468)], { ...t, data: e }), this[i(460)][i(438)] = !0);
|
|
2076
2079
|
}
|
|
2077
|
-
|
|
2080
|
+
[b(463)](t, e) {
|
|
2078
2081
|
const i = b;
|
|
2079
|
-
this
|
|
2082
|
+
this.state.suppressNextSeek || this[i(460)][i(403)] || (this[i(460)][i(548)]++, this[i(460)][i(403)] = !0, this.state[i(522)] = Date[i(434)](), this.state[i(537)] ? this.report(m[i(468)], { ...t, data: e }) : this.state[i(484)] === m[i(554)] && this[i(421)](m[i(554)], { ...t, data: e }), this[i(460)][i(484)] = m[i(555)]);
|
|
2080
2083
|
}
|
|
2081
|
-
[b(
|
|
2084
|
+
[b(415)](t, e) {
|
|
2082
2085
|
const i = b;
|
|
2083
|
-
if (this[i(
|
|
2084
|
-
this[i(
|
|
2086
|
+
if (this.state[i(500)]) {
|
|
2087
|
+
this[i(460)][i(500)] = !1;
|
|
2085
2088
|
return;
|
|
2086
2089
|
}
|
|
2087
|
-
if (!this
|
|
2088
|
-
const a = this[i(
|
|
2089
|
-
this[i(
|
|
2090
|
+
if (!this.state.isSeeking) return;
|
|
2091
|
+
const a = this[i(460)].seekStartTime > 0 ? Date[i(434)]() - this[i(460)][i(522)] : 0;
|
|
2092
|
+
this[i(460)].seekStartTime = 0, this[i(460)][i(403)] = !1, this[i(421)](m[i(555)], { ...t, data: { ...e || {}, seekedTime: a } }), this[i(460)][i(484)] = this[i(460)][i(537)] ? m[i(468)] : m[i(554)];
|
|
2090
2093
|
}
|
|
2091
|
-
|
|
2094
|
+
handleWaiting(t, e) {
|
|
2092
2095
|
const i = b;
|
|
2093
|
-
this[i(
|
|
2096
|
+
this[i(460)][i(403)] || this[i(460)][i(541)] || (this[i(460)][i(541)] = !0, this[i(460)][i(537)] && this[i(421)](m[i(468)], { ...t, data: e }), this[i(460)][i(484)] = m[i(398)]);
|
|
2094
2097
|
}
|
|
2095
|
-
[b(
|
|
2098
|
+
[b(549)](t, e) {
|
|
2096
2099
|
const i = b;
|
|
2097
|
-
this[i(
|
|
2100
|
+
this[i(460)][i(541)] && (this[i(460)][i(541)] = !1, this[i(421)](m[i(398)], { ...t, data: e }), this[i(460)][i(484)] = this.state[i(537)] ? m[i(468)] : m[i(554)]);
|
|
2098
2101
|
}
|
|
2099
2102
|
sendSessionBeacon() {
|
|
2100
2103
|
const t = b;
|
|
2101
|
-
if (this[t(
|
|
2102
|
-
this[t(
|
|
2103
|
-
const { logDate: e, logDateUnix: i } = this[t(
|
|
2104
|
-
E0(
|
|
2104
|
+
if (this[t(431)] || this.state.isEnded || this[t(460)][t(449)] || !this[t(485)][t(426)][t(526)] || !this[t(485)][t(426)][t(466)]) return;
|
|
2105
|
+
this[t(431)] = !0;
|
|
2106
|
+
const { logDate: e, logDateUnix: i } = this[t(418)](), a = Date[t(434)](), r = this[t(460)][t(454)] > 0 ? a - this.state[t(454)] : 0, o = (this.reportData.extra[t(482)] || 0) * 1e3, p = this[t(460)][t(517)], h = p > 0 ? Math[t(511)](o / p * 1e4) / 100 : 0, y = this.reportData[t(426)].playedTime || 0, v = { ...this[t(485)], video: this.reportData[t(396)], percent: h, extra: { ...this[t(485)][t(426)], actionType: "ended", actionDuration: r ? r[t(476)](2) : 0, duration: p > 0 ? Math[t(501)](p / 1e3) : this.reportData[t(426)][t(540)] || 0, logDate: e, logDateUnix: i, contentId: this[t(460)][t(456)], contentDuration: p, percent: h, watch_percent: h, watchPercent: h, isCompleted: h >= 95, isBounce: y < 1e4, pauseCnt: this[t(460)][t(473)], seekCnt: this.state[t(548)], speedChangeCnt: this[t(460)][t(497)], lastPlaybackSpeed: this[t(460)][t(441)], fullscreenYn: this[t(460)][t(510)], fullscreenDuration: this.state.fullscreenDuration + (this[t(460)].fullscreenEnterTime > 0 ? Date[t(434)]() - this[t(460)][t(483)] : 0), dropOffPosition: Math[t(511)](o) } };
|
|
2107
|
+
E0(v);
|
|
2105
2108
|
}
|
|
2106
|
-
[b(
|
|
2107
|
-
this[b(
|
|
2109
|
+
[b(518)]() {
|
|
2110
|
+
this[b(432)]();
|
|
2108
2111
|
}
|
|
2109
|
-
|
|
2112
|
+
handleVisibilityChange() {
|
|
2110
2113
|
const t = b;
|
|
2111
|
-
document[t(
|
|
2114
|
+
document[t(496)] === t(486) && this[t(432)]();
|
|
2112
2115
|
}
|
|
2113
|
-
|
|
2116
|
+
[b(479)]() {
|
|
2114
2117
|
const t = b;
|
|
2115
|
-
window[t(
|
|
2118
|
+
window[t(480)](t(409), this[t(544)]), document[t(480)](t(407), this[t(461)]), this[t(532)] !== null && (clearTimeout(this[t(532)]), this[t(532)] = null);
|
|
2116
2119
|
}
|
|
2117
|
-
[b(
|
|
2118
|
-
const i = b, a = e?.[i(
|
|
2119
|
-
let y = this[i(
|
|
2120
|
-
return this[i(
|
|
2120
|
+
[b(464)](t, e) {
|
|
2121
|
+
const i = b, a = e?.[i(426)] || e || {}, r = (a?.currentTime || 0) * 1e3, o = this[i(460)][i(517)], p = o > 0 ? Math[i(511)](r / o * 1e4) / 100 : 0, h = this[i(485)].extra[i(411)] || 0;
|
|
2122
|
+
let y = this[i(460)][i(502)];
|
|
2123
|
+
return this[i(460)][i(483)] > 0 && (y += Date[i(434)]() - this[i(460)][i(483)]), { ...t, data: { ...e, contentId: this[i(460)][i(456)], duration: o > 0 ? Math[i(501)](o / 1e3) : a?.[i(540)] || 0, contentDuration: o, percent: p, watch_percent: p, watchPercent: p, isCompleted: p >= 95, isBounce: h < 1e4, pauseCnt: this[i(460)][i(473)], seekCnt: this.state[i(548)], speedChangeCnt: this[i(460)][i(497)], lastPlaybackSpeed: this[i(460)][i(441)], fullscreenYn: this[i(460)][i(510)], fullscreenDuration: y, dropOffPosition: Math[i(511)](r) } };
|
|
2121
2124
|
}
|
|
2122
|
-
[b(
|
|
2125
|
+
[b(507)](t, e) {
|
|
2123
2126
|
const i = b;
|
|
2124
|
-
this
|
|
2127
|
+
this[i(460)][i(529)] || (this[i(460)].isEnded = !0, this[i(460)][i(537)] = !1, this[i(431)] = !0, this[i(460)][i(484)] !== m.PAUSED && this[i(421)](this.state[i(484)] || m.PLAYING, { ...t, data: e }), this.report(m[i(433)], this[i(464)](t, e)));
|
|
2125
2128
|
}
|
|
2126
|
-
[b(
|
|
2129
|
+
[b(391)](t, e, i) {
|
|
2127
2130
|
const a = b;
|
|
2128
|
-
this[a(
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
+
this[a(421)](this[a(460)].prevAction || m[a(468)], this[a(464)](e, i))[a(477)](() => {
|
|
2132
|
+
const r = a;
|
|
2133
|
+
this[r(421)](t, { ...e, data: i }).then(() => {
|
|
2134
|
+
this[r(393)]();
|
|
2131
2135
|
});
|
|
2132
2136
|
});
|
|
2133
2137
|
}
|
|
2134
|
-
[b(
|
|
2138
|
+
[b(490)](t, e) {
|
|
2135
2139
|
const i = b;
|
|
2136
|
-
this[i(
|
|
2137
|
-
const a = { errorCode: e?.[i(
|
|
2138
|
-
this[i(
|
|
2140
|
+
this.state[i(484)] && !this.state.firstPlaying && this[i(421)](this[i(460)].prevAction, this[i(464)](t, e));
|
|
2141
|
+
const a = { errorCode: e?.[i(524)] || e?.[i(426)]?.[i(524)] || e?.code || "E0000", errorMessage: e?.[i(503)] || e?.extra?.[i(503)] || e?.[i(534)] || i(404) };
|
|
2142
|
+
this[i(421)](m[i(445)], { ...t, data: { ...e, ...a } }), this.state[i(449)] = !0;
|
|
2139
2143
|
}
|
|
2140
|
-
[b(
|
|
2144
|
+
[b(545)](t, e) {
|
|
2141
2145
|
const i = b;
|
|
2142
|
-
this[i(
|
|
2146
|
+
this.state.prevAction && !this[i(460)][i(403)] && !this[i(460)][i(541)] && !this[i(460)][i(523)] && (this[i(460)][i(403)] = !0, this[i(421)](this[i(460)][i(484)], { ...t, data: e }), this[i(460)][i(484)] = m.SEEKING);
|
|
2143
2147
|
}
|
|
2144
|
-
[b(
|
|
2145
|
-
const i = b, a = e?.[i(
|
|
2146
|
-
a !== this
|
|
2148
|
+
[b(469)](t, e) {
|
|
2149
|
+
const i = b, a = e?.[i(401)] || e?.[i(426)]?.playbackRate || 1;
|
|
2150
|
+
a !== this[i(460)][i(441)] && (this[i(460)][i(497)]++, this[i(460)][i(441)] = a, this[i(421)](m[i(406)], { ...t, data: { ...e, speedChangeCnt: this[i(460)][i(497)], lastPlaybackSpeed: a } }));
|
|
2147
2151
|
}
|
|
2148
|
-
[b(
|
|
2152
|
+
[b(451)](t, e) {
|
|
2149
2153
|
const i = b;
|
|
2150
|
-
e?.[i(
|
|
2154
|
+
e?.[i(430)] || e?.[i(426)]?.isFullscreen ? (this[i(460)][i(510)] = !0, this[i(460)][i(483)] = Date[i(434)]()) : this.state[i(483)] > 0 && (this[i(460)][i(502)] += Date[i(434)]() - this[i(460)][i(483)], this[i(460)][i(483)] = 0), this.report(m.FULLSCREEN_CHANGE, { ...t, data: { ...e, fullscreenYn: this[i(460)][i(510)], fullscreenDuration: this[i(460)][i(502)] } });
|
|
2151
2155
|
}
|
|
2152
|
-
[b(
|
|
2156
|
+
[b(393)]() {
|
|
2153
2157
|
const t = b;
|
|
2154
|
-
this[t(
|
|
2158
|
+
this.state[t(484)] = null, this[t(460)][t(537)] = !1, this.state[t(454)] = 0, this[t(460)].firstPlaying = !0, this[t(460)][t(438)] = !1, this[t(460)][t(473)] = 0, this.state.seekCnt = 0, this.state[t(497)] = 0, this.state.lastPlaybackSpeed = 1, this[t(460)][t(510)] = !1, this[t(460)][t(483)] = 0, this[t(460)][t(502)] = 0, this[t(460)][t(456)] = null, this[t(460)][t(517)] = 0;
|
|
2155
2159
|
}
|
|
2156
2160
|
}
|
|
2157
|
-
function
|
|
2158
|
-
return x = x -
|
|
2161
|
+
function qt(x, t) {
|
|
2162
|
+
return x = x - 480, Le()[x];
|
|
2159
2163
|
}
|
|
2160
|
-
const
|
|
2164
|
+
const I = qt;
|
|
2161
2165
|
(function(x, t) {
|
|
2162
|
-
const e =
|
|
2166
|
+
const e = qt, i = x();
|
|
2163
2167
|
for (; ; )
|
|
2164
2168
|
try {
|
|
2165
|
-
if (parseInt(e(
|
|
2169
|
+
if (-parseInt(e(536)) / 1 + -parseInt(e(637)) / 2 + parseInt(e(582)) / 3 * (parseInt(e(595)) / 4) + parseInt(e(564)) / 5 * (parseInt(e(627)) / 6) + parseInt(e(529)) / 7 * (-parseInt(e(641)) / 8) + -parseInt(e(518)) / 9 + parseInt(e(556)) / 10 * (parseInt(e(545)) / 11) === t) break;
|
|
2166
2170
|
i.push(i.shift());
|
|
2167
2171
|
} catch {
|
|
2168
2172
|
i.push(i.shift());
|
|
2169
2173
|
}
|
|
2170
|
-
})(
|
|
2171
|
-
function
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
const O0 = { gov: { prod: { config: v(593), report: "aHR0cHM6Ly9sb2cudnBlLmdvdi1udHJ1c3MuY29tL3N0YXRz" }, beta: { config: "aHR0cHM6Ly9wYXBpLmJldGEtdnBlLmdvdi1udHJ1c3MuY29tL3BsYXllci9jb25maWc=", report: v(479) } }, pub: { prod: { config: v(544), report: v(517) }, beta: { config: v(558), report: "aHR0cHM6Ly9sb2cuYmV0YS12cGUubmF2ZXJuY3AuY29tL3N0YXRz" } } };
|
|
2175
|
-
function Ue() {
|
|
2176
|
-
const x = ["kakao", "playlist", "stage", "getErrorState", "startup", "name", ".mpd", "11gAshDb", "result", "mp4", "13FVXADB", "errorCode", "aHR0cHM6Ly9wYXBpLnZwZS5nb3YtbnRydXNzLmNvbS9wbGF5ZXIvY29uZmln", "type", "unknown", "getBrowserInfo", "setErrorRun", "playerStateReport", "width", "quality", "hls", "controlBtn", "version", "Edge iOS", "maxTouchPoints", "live", "warn", "toLowerCase", "getResult", "downlink", "userAgentData", "userAgent", "LIVE", "json", "#EXT-X-STREAM-INF", "slice", "initialize", "9Ppwriy", "UAParser", "getElapsedMilliseconds", "34TniIge", "tablet", "rtt", "status", "dispatchEvent", "includes", "join", "playerName", "play", "domain", "some", "screen", "string", "accessKey", "url", "next", "isInitialized", "exec", "startTimeAt", "saveData", "port", "Firefox", "report", "getTime", "Auto", "toString", "watermarkConfig", "hardwareConcurrency", ".m3u8", "Error:", "Naver webview", "createPlayerInfo", "host", "isDev", "ios", "isPaidTier", "pricing", "volumechange", "Edge", "ready", "videoHeight", "pay", "player_name", "165108oLXRyh", "1909136YhowML", "maUse", "poster", "aHR0cHM6Ly9sb2cuYmV0YS12cGUuZ292LW50cnVzcy5jb20vc3RhdHM=", "prevTrack", "location", "connection", "effectiveType", "HLS 파싱 실패:", "deviceMemory", "2010pPAzde", "480230minovT", "vpe", "config", "E0001", "Whale", "VPE", "lang", "Base64 decoding failed:", "Safari", "errorInfo", "protocol", "maSync", "serverConfig", "prev", "mozConnection", "naver", "undefined", "mpd", "maManager", "error", "stateChange", "API", "errorState", "errorMessage", "title", "getVideoProtocol", "naverncp.com/live/video/ls-", "contentId", "maInit", "VPE Player: accessKey 또는 appId가 없어 키 인증을 건너뜁니다.", "aHR0cHM6Ly9sb2cudnBlLm5hdmVybmNwLmNvbS9zdGF0cw==", "hasFirstPlayReported", "navigator", "startsWith", "kbps", "VOD", "Kakao webview", "vendor", "filter", "length", "Other", "test", "POST", "player_start", "videoWidth", "statusText", "platform", "now", "Unknown", "href", "77zFYiBz", "updateTranslator", "language", "whale", "ratechange", "translator", "options", "aHR0cHM6Ly9wYXBpLnZwZS5uYXZlcm5jcC5jb20vcGxheWVyL2NvbmZpZw==", "Firefox iOS", "nextTrack", "push", "text", "12634TAWyWl", "playbackRate", "indexOf", "1772oPcyfG", "meta", "data", " / ", "appId", "fullscreenchange", "aHR0cHM6Ly9wYXBpLmJldGEtdnBlLm5hdmVybmNwLmNvbS9wbGF5ZXIvY29uZmln", "incomingType", "playerVersion", "2839320rdItFk", "browser", "webkitConnection", "getValidatedOptions", "Edg", "device", "object", "origin", "playerStartTimeMs", "split", "model", "player_version", "auto", "video", "playerInfo", "reduce", "round", "application/json", "2815824JFKFft", "height"];
|
|
2177
|
-
return Ue = function() {
|
|
2174
|
+
})(Le, 346938);
|
|
2175
|
+
function Le() {
|
|
2176
|
+
const x = ["POST", "next", "connection", "Other", "browser", "ratechange", "serverConfig", "#EXT-X-STREAM-INF", "some", "Error:", "now", "extra", "Firefox", "HLS 파싱 실패:", "dash", "aHR0cHM6Ly9wYXBpLnZwZS5nb3YtbnRydXNzLmNvbS9wbGF5ZXIvY29uZmln", "Safari", "rtt", "effectiveType", "indexOf", "warn", "meta", "startup", "length", "VOD", "pay", "isDev", "E0002", "API", "toLowerCase", "videoHeight", "deviceMemory", "protocol", "isFullscreen", "Base64 decoding failed:", "href", "getElapsedMilliseconds", "initialize", "Kakao webview", "mozConnection", "origin", "getResult", "trim", "playbackRate", "createPlayerInfo", "slice", "naverncp.com/live/video/ls-", "options", "split", "reduce", "playerInfo", "player_name", "url", "domain", "model", "setErrorRun", "kakao", "errorCode", "kakaotalk", "mobile", "getTime", "4775553UpKAno", "kbps", "playerVersion", "Naver webview", "updateTranslator", "getErrorState", "playlist", "result", "getValidatedOptions", "E0001", "getVideoProtocol", "287MzCJnm", "unknown", "screen", "code", "VPE SDK Initialization failed:", "aHR0cHM6Ly9wYXBpLmJldGEtdnBlLmdvdi1udHJ1c3MuY29tL3BsYXllci9jb25maWc=", "host", "118567tkLait", "text", "pricing", "aHR0cHM6Ly9sb2cuYmV0YS12cGUuZ292LW50cnVzcy5jb20vc3RhdHM=", "access_key", "aHR0cHM6Ly9wYXBpLnZwZS5uYXZlcm5jcC5jb20vcGxheWVyL2NvbmZpZw==", "Auto", "LIVE", "Chrome", "3619BYavAO", "language", "application/json", "statusText", "video", "match", "naver", "mpd", "map", "quality", "state", "25990DgcoNV", "playerStartTimeMs", "?preview=true", "hasFirstPlayReported", "webkitConnection", "watermarkConfig", "errorMessage", "lang", "2796380ntuemC", "auto", "maInit", "type", "toString", "Unknown", "player_start", "aHR0cHM6Ly9sb2cudnBlLmdvdi1udHJ1c3MuY29tL3N0YXRz", "version", "ios", "startsWith", "error", ".mpd", "location", "accessKey", "userAgentData", "isInitialized", "getBrowserInfo", "196596yKhQMp", "hardwareConcurrency", "controlBtn", "Content-Type", "stateChange", "ncplayer : ", "userAgent", "live", "downlink", "platform", "currentTime", "whale", "floor", "4xJcRVr", "startTimeAt", "sync", "appId", "maManager", "VPE", "Firefox iOS", "join", "name", "object", "maxTouchPoints", "string", "incomingType", "translator", "player_version", "height", "vpe", "UAParser", "prevTrack", "device", "title", "hlsPaser", "cid", "stage", "saveData", "mp4", "Whale", "navigator", "Edg", "test", "includes", "errorInfo", "6ETAmOw", "vendor", "contentId", "errorState", ".m3u8", "width", "round", "data", "poster", "maSync", "578752zAtYcc", "maUse", "ready", "fullscreenchange", "37928nMoZQM", "aHR0cHM6Ly9sb2cuYmV0YS12cGUubmF2ZXJuY3AuY29tL3N0YXRz", "Edge iOS", "undefined", "report"];
|
|
2177
|
+
return Le = function() {
|
|
2178
2178
|
return x;
|
|
2179
|
-
},
|
|
2179
|
+
}, Le();
|
|
2180
2180
|
}
|
|
2181
|
-
|
|
2181
|
+
const O0 = { gov: { prod: { config: I(661), report: I(571) }, beta: { config: I(534), report: I(539) } }, pub: { prod: { config: I(541), report: "aHR0cHM6Ly9sb2cudnBlLm5hdmVybmNwLmNvbS9zdGF0cw==" }, beta: { config: "aHR0cHM6Ly9wYXBpLmJldGEtdnBlLm5hdmVybmNwLmNvbS9wbGF5ZXIvY29uZmln", report: I(642) } } };
|
|
2182
|
+
let At = [];
|
|
2182
2183
|
const P0 = (x) => {
|
|
2183
|
-
const t =
|
|
2184
|
+
const t = I;
|
|
2184
2185
|
try {
|
|
2185
2186
|
return atob(x);
|
|
2186
2187
|
} catch (e) {
|
|
2187
|
-
return console[t(
|
|
2188
|
+
return console[t(575)](t(491), e), "";
|
|
2188
2189
|
}
|
|
2189
2190
|
};
|
|
2190
2191
|
class U0 {
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
[
|
|
2195
|
-
[
|
|
2196
|
-
[
|
|
2197
|
-
[
|
|
2198
|
-
[
|
|
2199
|
-
[
|
|
2200
|
-
[
|
|
2201
|
-
[
|
|
2202
|
-
|
|
2203
|
-
[
|
|
2204
|
-
|
|
2192
|
+
[I(652)] = {};
|
|
2193
|
+
playerInfo = null;
|
|
2194
|
+
accessKey;
|
|
2195
|
+
[I(598)];
|
|
2196
|
+
[I(591)];
|
|
2197
|
+
[I(618)];
|
|
2198
|
+
[I(483)];
|
|
2199
|
+
[I(608)] = Qe();
|
|
2200
|
+
[I(630)];
|
|
2201
|
+
[I(599)] = null;
|
|
2202
|
+
[I(596)] = null;
|
|
2203
|
+
incomingType = null;
|
|
2204
|
+
[I(559)] = !1;
|
|
2205
|
+
playerStartTimeMs = 0;
|
|
2205
2206
|
constructor({ accessKey: t, appId: e, platform: i, stage: a, isDev: r = !1, language: o }) {
|
|
2206
|
-
const
|
|
2207
|
-
this[
|
|
2207
|
+
const p = I;
|
|
2208
|
+
this[p(578)] = t, this.appId = e || location[p(497)], this.platform = i, this[p(618)] = a, this[p(483)] = r, this.updateTranslator(o), this[p(630)] = { errorCode: null, errorMessage: null };
|
|
2208
2209
|
}
|
|
2209
|
-
async [
|
|
2210
|
-
const t =
|
|
2211
|
-
if ([this[e[0]], this[e[1]]][t(
|
|
2210
|
+
async [I(494)]() {
|
|
2211
|
+
const t = I, e = ["accessKey", t(598), t(484), t(527), "E0003"], i = "VPE Player: accessKey 또는 appId가 없어 키 인증을 건너뜁니다.";
|
|
2212
|
+
if ([this[e[0]], this[e[1]]][t(654)]((o) => !o)) return console[t(666)](i), { error: this.setErrorRun(e[2]) };
|
|
2212
2213
|
const r = (o) => {
|
|
2213
|
-
const
|
|
2214
|
-
return this
|
|
2214
|
+
const p = t;
|
|
2215
|
+
return this[p(652)] = o, this[p(507)] = this[p(501)](o), this[p(507)];
|
|
2215
2216
|
};
|
|
2216
2217
|
try {
|
|
2217
2218
|
const o = await this.performKeyCheck();
|
|
2218
|
-
if (o
|
|
2219
|
-
const
|
|
2220
|
-
if (window[t(
|
|
2221
|
-
await _0(this[t(
|
|
2222
|
-
const
|
|
2223
|
-
this[t(
|
|
2219
|
+
if (o[t(532)] !== 200) return { error: this[t(512)](e[3]) };
|
|
2220
|
+
const p = r(o);
|
|
2221
|
+
if (window[t(611)] && (window[t(611)].playerName = p?.player_name, window[t(611)][t(520)] = window[t(611)][t(520)] || p?.[t(609)], window[t(611)][t(508)] = p[t(508)] + "|" + window[t(611)].playerVersion, window[t(611)][t(555)] = this.stage), p?.maUse === "Y") {
|
|
2222
|
+
await _0(this[t(591)], this[t(618)], p, this[t(598)], this[t(578)]);
|
|
2223
|
+
const h = await S0(this[t(578)]);
|
|
2224
|
+
this[t(599)] = new M0(this.platform, this[t(618)], p), this.startTimeAt = Date[t(656)](), h?.result?.[t(597)] && await this[t(599)][t(566)]({ video: p[t(549)] || {}, extra: { ...p[t(657)] } });
|
|
2224
2225
|
}
|
|
2225
|
-
return { options: this[t(
|
|
2226
|
+
return { options: this[t(652)].result?.options, playerInfo: p };
|
|
2226
2227
|
} catch (o) {
|
|
2227
|
-
return console[t(
|
|
2228
|
+
return console[t(575)](t(533), o), { error: this[t(512)](e[4]) };
|
|
2228
2229
|
}
|
|
2229
2230
|
}
|
|
2230
2231
|
async performKeyCheck() {
|
|
2231
|
-
const t =
|
|
2232
|
-
|
|
2233
|
-
|
|
2232
|
+
const t = I, e = [t(558), "config", t(585), t(547), t(540), t(510), t(646)], i = this[t(483)] ? e[0] : "", a = P0(O0[this[t(591)]][this[t(618)]][e[1]]) + i, r = this.appId, o = JSON.stringify([e[4], e[5]][t(506)]((h, y, v) => {
|
|
2233
|
+
const E = t;
|
|
2234
|
+
return h[y] = [this[E(578)], r][v], h;
|
|
2235
|
+
}, {})), p = await fetch(a, { method: e[6], headers: { [e[2]]: e[3] }, body: o });
|
|
2236
|
+
if (!p.ok) throw new Error([t(485), t(655), p.status, p[t(548)]][t(602)](" "));
|
|
2237
|
+
return p.json();
|
|
2234
2238
|
}
|
|
2235
|
-
|
|
2236
|
-
const t =
|
|
2237
|
-
return /CriOS\/(\d+\.\d+)/[t(
|
|
2239
|
+
[I(581)]() {
|
|
2240
|
+
const t = I, e = navigator[t(588)];
|
|
2241
|
+
return /CriOS\/(\d+\.\d+)/[t(624)](e) ? { origin: "Chrome iOS", version: RegExp.$1 } : /FxiOS\/(\d+\.\d+)/[t(624)](e) ? { origin: t(601), version: RegExp.$1 } : /EdgiOS\/(\d+\.\d+)/[t(624)](e) ? { origin: t(643), version: RegExp.$1 } : /Edg\/(\d+\.\d+)/.test(e) ? { origin: "Edge", version: RegExp.$1 } : /Chrome\/(\d+\.\d+)/[t(624)](e) && !e.includes(t(623)) ? { origin: t(544), version: RegExp.$1 } : /Firefox\/(\d+\.\d+)/[t(624)](e) ? { origin: t(658), version: RegExp.$1 } : /Version\/(\d+\.\d+)/[t(624)](e) && e[t(625)](t(662)) ? { origin: "Safari", version: RegExp.$1 } : { origin: t(569), version: t(569) };
|
|
2238
2242
|
}
|
|
2239
|
-
[
|
|
2240
|
-
const e =
|
|
2241
|
-
window
|
|
2242
|
-
const y =
|
|
2243
|
-
return { cid: t[e(
|
|
2243
|
+
[I(501)](t) {
|
|
2244
|
+
const e = I, [i, a] = t.result[e(603)][e(505)]("|"), r = navigator.connection || navigator[e(496)] || navigator[e(560)], o = this.getBrowserInfo(), p = navigator[e(579)], h = new _t[e(612)](window[e(622)][e(588)])[e(498)]();
|
|
2245
|
+
window[e(622)][e(588)][e(486)]()[e(625)](e(593)) ? h.browser.name = e(621) : window.navigator[e(588)].toLowerCase()[e(625)](e(515)) ? h[e(650)].name = e(495) : window[e(622)][e(588)].toLowerCase()[e(625)](e(551)) ? h.browser[e(603)] = e(521) : window.navigator[e(588)].toLowerCase()[e(625)](e(513)) ? h[e(650)][e(603)] = e(495) : window[e(622)][e(588)].toLowerCase()[e(625)](e(551)) && (h[e(650)][e(603)] = e(521));
|
|
2246
|
+
const y = h[e(614)].type, v = /Macintosh/.test(window[e(622)][e(588)]) && (navigator[e(605)] ?? 0) > 1, E = y === e(516) || y === "tablet" || v || (p?.[e(516)] ?? !1), R = h.os[e(603)] || p?.platform || e(569), G = (h.os[e(603)] || "")[e(486)]() === e(573), U = /Version\/(\d+\.\d+)/.exec(navigator[e(588)])?.[1], L = G && !!U, Q = L ? U : h.os[e(572)], q = G && !L, ge = typeof window !== e(644) && window[e(611)]?.[e(520)] || a;
|
|
2247
|
+
return { cid: t.result[e(617)], player_name: i, player_version: ge, pricing: t[e(525)][e(538)], maUse: t.result[e(504)]?.[e(638)] === "Y" ? "Y" : "N", browser: { lang: navigator[e(546)], ua: navigator[e(588)] }, screen: { width: window[e(531)][e(632)], height: window[e(531)][e(610)] }, connection: { network: r?.[e(664)] ?? e(530), downlink: r?.downlink ?? null, rtt: r?.rtt ?? null, save_data: r?.saveData ?? !1 }, device: { platform: R, mobile: E, memory: navigator[e(488)] ?? null, processor: navigator[e(583)] ?? null }, video: { url: "" }, extra: { vpeKey: this.accessKey, playerType: e(600), playerVersion: ge, os: (h.os[e(603)] || e(569)) + " / " + (Q || ""), osOrigin: h.os[e(603)] || e(569), osVersion: Q, osVersionFrozen: q, vpePackageId: null, actionDuration: this.getElapsedMilliseconds(), actionType: e(639), browser: o[e(497)], browserOrigin: o[e(497)], browserVersion: o.version, quality: e(649), qualityOrigin: e(542), device: h[e(614)][e(628)] + " " + h[e(614)][e(511)], location: window.location.href, host: window[e(577)][e(535)], port: window[e(577)].port, protocol: window[e(577)][e(489)], title: "" } };
|
|
2244
2248
|
}
|
|
2245
|
-
|
|
2246
|
-
const e =
|
|
2247
|
-
return this[e(
|
|
2249
|
+
setErrorRun(t) {
|
|
2250
|
+
const e = I, i = t[e(502)](-2), a = this[e(608)][e(575)][i] || this[e(608)][e(575)]["01"], r = { errorCode: t, errorMessage: a };
|
|
2251
|
+
return this[e(630)] = r, console[e(575)](e(587), r), r;
|
|
2248
2252
|
}
|
|
2249
|
-
[
|
|
2250
|
-
|
|
2251
|
-
this[e(542)] = Ze(t);
|
|
2253
|
+
[I(522)](t) {
|
|
2254
|
+
this.translator = Qe(t);
|
|
2252
2255
|
}
|
|
2253
|
-
[
|
|
2254
|
-
return this
|
|
2256
|
+
[I(523)]() {
|
|
2257
|
+
return this[I(630)];
|
|
2255
2258
|
}
|
|
2256
|
-
|
|
2257
|
-
const t =
|
|
2258
|
-
return this[t(
|
|
2259
|
+
isPaidTier() {
|
|
2260
|
+
const t = I;
|
|
2261
|
+
return this.serverConfig[t(525)]?.[t(538)] === t(482);
|
|
2259
2262
|
}
|
|
2260
|
-
[
|
|
2261
|
-
const t =
|
|
2262
|
-
return !!this[t(
|
|
2263
|
+
[I(580)]() {
|
|
2264
|
+
const t = I;
|
|
2265
|
+
return !!this.serverConfig[t(525)];
|
|
2263
2266
|
}
|
|
2264
|
-
[
|
|
2265
|
-
const e =
|
|
2266
|
-
this[e(
|
|
2267
|
+
[I(526)](t) {
|
|
2268
|
+
const e = I, i = C0(this[e(652)][e(525)]?.options, this[e(652)][e(525)]?.[e(538)]);
|
|
2269
|
+
this[e(652)].result?.[e(538)] !== e(482) && (t = { ...t, ...i });
|
|
2267
2270
|
const a = { ...i, ...t ?? {} };
|
|
2268
|
-
return a?.lang && (a?.
|
|
2271
|
+
return a?.lang && (a?.[e(563)] == e(565) || this.updateTranslator(a[e(563)])), t?.[e(584)] && (a[e(584)] = { ...i[e(584)], ...t[e(584)] }), t?.[e(561)] && (a[e(561)] = { ...i[e(561)], ...t[e(561)] }), a[e(524)] && !Array.isArray(a[e(524)]) && (a[e(524)] = [{ file: a[e(524)] }]), At = a[e(524)] || [], a;
|
|
2269
2272
|
}
|
|
2270
2273
|
getPlaylist() {
|
|
2271
|
-
return
|
|
2274
|
+
return At || [];
|
|
2272
2275
|
}
|
|
2273
2276
|
$t(t) {
|
|
2274
|
-
const e =
|
|
2275
|
-
let a = this
|
|
2277
|
+
const e = I, i = t.split(".");
|
|
2278
|
+
let a = this[e(608)];
|
|
2276
2279
|
for (const r of i)
|
|
2277
|
-
if (a && typeof a === e(
|
|
2280
|
+
if (a && typeof a === e(604) && r in a) a = a[r];
|
|
2278
2281
|
else return t;
|
|
2279
|
-
return typeof a === e(
|
|
2282
|
+
return typeof a === e(606) ? a : t;
|
|
2280
2283
|
}
|
|
2281
|
-
async
|
|
2282
|
-
const e =
|
|
2283
|
-
if (!t || t[e(
|
|
2284
|
-
const a = (
|
|
2284
|
+
async [I(616)](t) {
|
|
2285
|
+
const e = I, i = [];
|
|
2286
|
+
if (!t || t[e(665)](e(631)) === -1) return i;
|
|
2287
|
+
const a = (p, h) => {
|
|
2285
2288
|
const y = e;
|
|
2286
2289
|
try {
|
|
2287
|
-
return new URL(
|
|
2290
|
+
return new URL(h, p)[y(568)]();
|
|
2288
2291
|
} catch {
|
|
2289
|
-
return
|
|
2292
|
+
return h;
|
|
2290
2293
|
}
|
|
2291
|
-
}, r = (
|
|
2292
|
-
const
|
|
2294
|
+
}, r = (p) => {
|
|
2295
|
+
const h = e, y = p[h(550)](/RESOLUTION=(\d+)x(\d+)/);
|
|
2293
2296
|
if (y) return y[2] + "p";
|
|
2294
|
-
const
|
|
2295
|
-
return
|
|
2296
|
-
}, o = (
|
|
2297
|
-
const
|
|
2298
|
-
for (let
|
|
2299
|
-
const
|
|
2300
|
-
if (
|
|
2301
|
-
const R = y[
|
|
2302
|
-
R && !R[
|
|
2297
|
+
const v = p[h(550)](/BANDWIDTH=(\d+)/);
|
|
2298
|
+
return v ? Math[h(633)](Number(v[1]) / 1e3) + h(519) : "auto";
|
|
2299
|
+
}, o = (p) => {
|
|
2300
|
+
const h = e, y = p[h(505)](/\r?\n/)[h(553)]((v) => v[h(499)]()).filter((v) => v[h(480)] > 0);
|
|
2301
|
+
for (let v = 0; v < y[h(480)]; v += 1) {
|
|
2302
|
+
const E = y[v];
|
|
2303
|
+
if (E.startsWith(h(653))) {
|
|
2304
|
+
const R = y[v + 1];
|
|
2305
|
+
R && !R[h(574)]("#") && (i.push({ quality: r(E), url: a(t, R), levelIndex: i.length }), v += 1);
|
|
2303
2306
|
}
|
|
2304
2307
|
}
|
|
2305
2308
|
};
|
|
2306
2309
|
try {
|
|
2307
|
-
const
|
|
2308
|
-
if (!
|
|
2309
|
-
const
|
|
2310
|
-
return
|
|
2311
|
-
} catch (
|
|
2312
|
-
return console[e(
|
|
2310
|
+
const p = await fetch(t);
|
|
2311
|
+
if (!p.ok) return i;
|
|
2312
|
+
const h = await p[e(537)]();
|
|
2313
|
+
return h && o(h), i;
|
|
2314
|
+
} catch (p) {
|
|
2315
|
+
return console[e(575)](e(659), p), i;
|
|
2313
2316
|
}
|
|
2314
2317
|
}
|
|
2315
|
-
async
|
|
2316
|
-
const e =
|
|
2317
|
-
if (!t?.[e(
|
|
2318
|
-
const i = new
|
|
2319
|
-
if (t[e(
|
|
2320
|
-
if (t[e(
|
|
2321
|
-
await this[e(
|
|
2318
|
+
async playerStateReport(t) {
|
|
2319
|
+
const e = I;
|
|
2320
|
+
if (!t?.[e(567)] || !this[e(599)] || this[e(507)]?.[e(638)] !== "Y") return;
|
|
2321
|
+
const i = new _t[e(612)](window[e(622)][e(588)])[e(498)]();
|
|
2322
|
+
if (t[e(567)] == "volumechange" || t[e(567)] == e(586)) return;
|
|
2323
|
+
if (t[e(567)] == e(651)) {
|
|
2324
|
+
await this[e(645)](e(651), { extra: { playbackRate: t?.[e(634)]?.[e(500)] || t?.[e(549)]?.[e(634)]?.[e(500)] || 1 } }, t[e(567)]);
|
|
2322
2325
|
return;
|
|
2323
2326
|
}
|
|
2324
|
-
if (t[e(
|
|
2325
|
-
await this[e(
|
|
2327
|
+
if (t[e(567)] == "fullscreenchange") {
|
|
2328
|
+
await this[e(645)](e(640), { extra: { isFullscreen: t?.[e(634)]?.[e(490)] || !1 } }, t.type);
|
|
2326
2329
|
return;
|
|
2327
2330
|
}
|
|
2328
|
-
const a = t
|
|
2329
|
-
t
|
|
2330
|
-
const r = t?.[e(
|
|
2331
|
-
this[e(
|
|
2332
|
-
const y = this.incomingType ===
|
|
2333
|
-
y && (this[e(
|
|
2334
|
-
const
|
|
2335
|
-
let
|
|
2336
|
-
if (
|
|
2337
|
-
const
|
|
2338
|
-
Q =
|
|
2331
|
+
const a = t.type;
|
|
2332
|
+
t[e(567)] == e(639) && (t.type = "player_start"), (t.type === e(647) || t[e(567)] === "prev" || t.type === "nextTrack" || t[e(567)] === e(613)) && (this[e(559)] = !1);
|
|
2333
|
+
const r = t?.[e(549)]?.[e(509)] ?? "", o = /\.mp4(?:[?#]|$)/i[e(624)](r) && !r.includes(".m3u8") && !r[e(625)](e(576)), p = !o && (t?.[e(549)]?.[e(567)] == e(589) || r[e(625)](e(503))), h = navigator[e(648)] || navigator.mozConnection || navigator[e(560)] || null;
|
|
2334
|
+
this[e(607)] = t?.[e(567)] || null;
|
|
2335
|
+
const y = this.incomingType === "play" && !this.hasFirstPlayReported, v = y ? "startup" : this[e(607)];
|
|
2336
|
+
y && (this[e(559)] = !0);
|
|
2337
|
+
const E = t?.[e(549)]?.data?.duration || 0, R = t?.[e(549)]?.data?.[e(592)] || 0, G = t?.video?.videoWidth || 0, U = t?.video?.[e(487)] || 0;
|
|
2338
|
+
let L = 0, Q = 0, q = 0;
|
|
2339
|
+
if (v == e(570) && (L = this[e(493)](), this[e(557)] = L), v == e(668)) {
|
|
2340
|
+
const ct = this[e(493)]();
|
|
2341
|
+
Q = ct - this[e(557)], q = ct;
|
|
2339
2342
|
}
|
|
2340
|
-
const ge = { type:
|
|
2341
|
-
await this[e(
|
|
2343
|
+
const ge = { type: v, video: { type: p ? "LIVE" : e(481), quality: t?.video?.quality ? t?.[e(549)]?.[e(554)] : "auto", url: t?.[e(549)]?.url }, connection: h ? { network: h[e(664)], downlink: h[e(590)], rtt: h[e(663)], save_data: h[e(619)] } : void 0, extra: { actionType: v, url: t?.[e(549)]?.url, type: e(p ? 543 : 481), videoFormat: this[e(528)](t?.[e(549)]?.[e(509)]), ...t?.[e(549)]?.poster ? { poster: t.video[e(635)] } : {}, video_type: e(p ? 543 : 481), title: t?.[e(667)]?.[e(615)], contentId: t?.video?.[e(629)] || t?.meta?.[e(629)] || null, metaData: t?.meta, videoWidth: Math.round(G), videoHeight: Math[e(633)](U), video_protocols: this[e(528)](t?.[e(549)]?.[e(509)]), duration: Math[e(594)](E), currentTime: Math[e(594)](R), playedTime: this[e(493)](), viewingTime: Math[e(633)](this[e(493)]() / 1e3), playerStartTime: L, videoStartTime: Q, totalStartTime: q, percent: Math[e(633)](R / E * 100), quality: t?.[e(549)]?.[e(554)] ? t?.[e(549)]?.[e(554)] : e(565), errorCode: t?.[e(634)]?.[e(514)] ?? t?.[e(626)]?.errorCode, errorMessage: t?.[e(634)]?.[e(562)] ?? t?.[e(626)]?.[e(562)], actionDuration: this.getElapsedMilliseconds() / 1e3, device: i[e(614)][e(628)] + " " + i[e(614)].model, location: window[e(577)][e(492)], host: window[e(577)].host, port: window.location.port, protocol: window[e(577)].protocol }, browser: { lang: navigator[e(546)], ua: navigator[e(588)] }, screen: { width: window[e(531)].width, height: window[e(531)][e(610)] } };
|
|
2344
|
+
await this[e(645)](v, ge, a);
|
|
2342
2345
|
}
|
|
2343
|
-
async [
|
|
2344
|
-
const a =
|
|
2345
|
-
if (!this
|
|
2346
|
-
const r = e && typeof e
|
|
2347
|
-
await this.maManager[a(
|
|
2346
|
+
async [I(645)](t, e, i) {
|
|
2347
|
+
const a = I;
|
|
2348
|
+
if (!this.maManager) return;
|
|
2349
|
+
const r = e && typeof e === a(604) ? e : { extra: { actionDuration: this[a(493)]() } };
|
|
2350
|
+
await this.maManager[a(636)](r), await this[a(599)].dispatchEvent({ type: t, data: r });
|
|
2348
2351
|
}
|
|
2349
|
-
|
|
2350
|
-
const e =
|
|
2351
|
-
return t[e(
|
|
2352
|
+
getVideoProtocol(t) {
|
|
2353
|
+
const e = I;
|
|
2354
|
+
return t[e(665)]("m3u8") > -1 ? "hls" : t.indexOf(e(552)) > -1 ? e(660) : e(620);
|
|
2352
2355
|
}
|
|
2353
|
-
[
|
|
2354
|
-
const t =
|
|
2355
|
-
return this
|
|
2356
|
+
[I(493)]() {
|
|
2357
|
+
const t = I;
|
|
2358
|
+
return this.startTimeAt ? (/* @__PURE__ */ new Date())[t(517)]() - this.startTimeAt : 0;
|
|
2356
2359
|
}
|
|
2357
2360
|
}
|
|
2358
|
-
function
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
}, Be();
|
|
2361
|
+
function N0(x, t) {
|
|
2362
|
+
x = x - 221;
|
|
2363
|
+
var e = Be(), i = e[x];
|
|
2364
|
+
return i;
|
|
2363
2365
|
}
|
|
2364
2366
|
(function(x, t) {
|
|
2365
2367
|
for (var e = N0, i = x(); ; )
|
|
2366
2368
|
try {
|
|
2367
|
-
var a = parseInt(e(
|
|
2369
|
+
var a = -parseInt(e(221)) / 1 * (parseInt(e(222)) / 2) + parseInt(e(231)) / 3 + parseInt(e(232)) / 4 * (parseInt(e(227)) / 5) + parseInt(e(228)) / 6 + -parseInt(e(230)) / 7 * (parseInt(e(224)) / 8) + -parseInt(e(226)) / 9 * (-parseInt(e(225)) / 10) + -parseInt(e(223)) / 11 * (parseInt(e(229)) / 12);
|
|
2368
2370
|
if (a === t) break;
|
|
2369
2371
|
i.push(i.shift());
|
|
2370
2372
|
} catch {
|
|
2371
2373
|
i.push(i.shift());
|
|
2372
2374
|
}
|
|
2373
|
-
})(Be,
|
|
2374
|
-
function
|
|
2375
|
-
x =
|
|
2376
|
-
|
|
2377
|
-
|
|
2375
|
+
})(Be, 204453);
|
|
2376
|
+
function Be() {
|
|
2377
|
+
var x = ["2432RizCKV", "2444PHeMKN", "84xRKxFw", "6670081FSYYof", "88ZWlplY", "3860FJcWDb", "6849hLvDZI", "1540lALIJt", "368250NlCEEt", "12Gifrkv", "17563OnsgoA", "1196058EORuUG"];
|
|
2378
|
+
return Be = function() {
|
|
2379
|
+
return x;
|
|
2380
|
+
}, Be();
|
|
2378
2381
|
}
|
|
2379
2382
|
export {
|
|
2380
2383
|
U0 as default,
|
|
2381
|
-
|
|
2384
|
+
Qe as getTranslator
|
|
2382
2385
|
};
|