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