@sgrsoft/vpe-core-sdk 0.12.1 → 0.12.2
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/README.md +74 -0
- package/dist/vpe-core-sdk.cjs.js +1 -1
- package/dist/vpe-core-sdk.es.js +246 -248
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,2 +1,76 @@
|
|
|
1
1
|
# VPE Core SDK
|
|
2
2
|
|
|
3
|
+
VPE Player를 초기화하고 설정을 검증하는 Core SDK입니다. Access Key 검증, 서버 옵션 동기화, MA 리포트 동기화, 다국어 메시지, 옵션 정규화를 제공합니다.
|
|
4
|
+
|
|
5
|
+
## 주요 기능
|
|
6
|
+
- Access Key 및 App ID 기반 라이선스/설정 확인
|
|
7
|
+
- 플랫폼/스테이지별 서버 설정 로딩 (`pub|gov`, `prod|beta`)
|
|
8
|
+
- 플레이어 옵션 병합 및 검증
|
|
9
|
+
- 무료 요금제 강제 옵션 템플릿 적용
|
|
10
|
+
- MA(통계/리포트) 동기화 및 전송
|
|
11
|
+
- i18n 문자열 조회 (`$t`)
|
|
12
|
+
- HLS 마스터 플레이리스트 파싱
|
|
13
|
+
|
|
14
|
+
## 설치
|
|
15
|
+
```bash
|
|
16
|
+
pnpm install
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## 기본 사용법
|
|
20
|
+
```ts
|
|
21
|
+
import VpeCore from '@sgrsoft/vpe-core-sdk';
|
|
22
|
+
|
|
23
|
+
const vpe = new VpeCore({
|
|
24
|
+
accessKey: 'YOUR_ACCESS_KEY',
|
|
25
|
+
appId: location.origin,
|
|
26
|
+
platform: 'pub',
|
|
27
|
+
stage: 'prod',
|
|
28
|
+
isDev: false,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
const result = await vpe.initialize();
|
|
32
|
+
if (result.error) {
|
|
33
|
+
console.error(result.error);
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const options = vpe.getValidatedOptions({
|
|
38
|
+
autostart: false,
|
|
39
|
+
});
|
|
40
|
+
console.log(options);
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## API 요약
|
|
44
|
+
### VpeCore 생성자
|
|
45
|
+
- `accessKey`: 인증 키
|
|
46
|
+
- `appId`: 앱/도메인 식별자
|
|
47
|
+
- `platform`: `pub` 또는 `gov`
|
|
48
|
+
- `stage`: `prod` 또는 `beta`
|
|
49
|
+
- `isDev`: 개발 모드일 때 `true`
|
|
50
|
+
- `language`: i18n 언어 코드
|
|
51
|
+
|
|
52
|
+
### 주요 메서드
|
|
53
|
+
- `initialize()`: 서버 설정과 MA 초기화 수행
|
|
54
|
+
- `isInitialized()`: 서버 설정 로딩 여부
|
|
55
|
+
- `isPaidTier()`: 요금제 유료 여부
|
|
56
|
+
- `getValidatedOptions(options)`: 서버 옵션과 로컬 옵션 병합
|
|
57
|
+
- `$t(key)`: i18n 문자열 조회
|
|
58
|
+
- `getErrorState()`: 마지막 에러 상태 반환
|
|
59
|
+
- `hlsPaser(url)`: HLS 마스터 플레이리스트 파싱
|
|
60
|
+
|
|
61
|
+
## 예제
|
|
62
|
+
- `example/` 디렉터리의 최소 연동 샘플로 동작 확인
|
|
63
|
+
- 실행: `pnpm dev`
|
|
64
|
+
|
|
65
|
+
## 빌드
|
|
66
|
+
```bash
|
|
67
|
+
pnpm build
|
|
68
|
+
pnpm build:types
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## 배포 산출물
|
|
72
|
+
`dist/`에 다음 파일만 배포 대상으로 유지합니다.
|
|
73
|
+
- `vpe-core-sdk.es.js`
|
|
74
|
+
- `vpe-core-sdk.cjs.js`
|
|
75
|
+
- `main.d.ts`
|
|
76
|
+
|
package/dist/vpe-core-sdk.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function m(){var a=["1069349Rihhss","Invalid access. Please check your access_key.","In a moment","hour","Invalid DRM token.","Required module was not loaded. (dash.js)","Cancel","License","1078Fvvfne","Normal","Monthly basic API calls exceeded. Please switch to a paid version.","Player Startup Failed","Autoplay","60328qTxupx","Subtitles not available","second(s)","Screen capture / screen recording has been detected.","Cannot play video","Cannot play DASH video on iOS.","Quality","Required module was not loaded. (hls.js)","The video could not be played.","Previous video","minute(s)","69LumykM","Mini player","4297860gZKkop","min","Authentication Failed","Unsupported format.","Replay","Pause","Invalid URL format.","Next video","Auto","Subtitles","6259509rxRGuO","1930238SGrjtj","Player Execution Failed","3680380KGWykx","Settings","136028hXMCFs","Scheduled","Playback speed","Mute","Turn on captions"];return m=function(){return a},m()}function L(a,t){a=a-362;var x=m(),n=x[a];return n}var i=L;(function(a,t){for(var x=L,n=a();;)try{var r=-parseInt(x(363))/1+-parseInt(x(400))/2+parseInt(x(387))/3*(parseInt(x(404))/4)+-parseInt(x(402))/5+parseInt(x(389))/6+parseInt(x(371))/7*(parseInt(x(376))/8)+parseInt(x(399))/9;if(r===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(m,584742);const V={common:{cancel:i(369),auto:i(397),normal:i(372),notUse:"Not used",prev:i(385),next:i(396),delayText:"seconds until auto-play",license:i(370),play:"Play",pause:i(394),replay:i(393),fullOn:"Fullscreen",fullOff:"Exit fullscreen",muteOn:i(407),muteOff:"Unmute",captionOff:"Turn off captions",captionOn:i(362),setting:i(403),live:"LIVE",miniPlayer:i(388),isMute:"You are muted.",subtitle:i(398),subtitleNot:i(377)},settings:{autoplay:i(375),playbackRate:i(406),captions:"Subtitles",quality:i(382)},error:{"01":{title:i(380),desc:i(364)},"02":{title:i(380),desc:"You do not have permission to play this video."},"03":{title:i(391),desc:"The network connection is unstable."},"04":{title:i(380),desc:i(384)},"05":{title:i(380),desc:"The license is not valid."},"06":{title:"Cannot play video",desc:i(373)},"07":{title:i(380),desc:i(392)},"08":{title:i(380),desc:i(395)},"09":{title:i(380),desc:"The live stream is OFFLINE."},10:{title:i(380),desc:i(381)},11:{title:i(380),desc:i(367)},12:{title:i(380),desc:"Failed to communicate with the DRM license server."},13:{title:i(380),desc:"FairPlay certificate validation failed."},14:{title:i(380),desc:i(379)},15:{title:i(401),desc:i(383)},16:{title:"Player Execution Failed",desc:i(368)},17:{title:i(374),desc:"This feature requires the Standard plan."}},alternative:{hour:"hour(s)",minute:i(386),second:i(378),after:i(365),afterMin:i(390),afterHour:i(366),afterDay:"day",startPlay:"Video will start in {timeTxt}.",nextPlay:"Next video will play in {timeTxt} seconds.",afterPlay:i(405)}};var l=E;(function(a,t){for(var x=E,n=a();;)try{var r=-parseInt(x(155))/1*(-parseInt(x(138))/2)+parseInt(x(157))/3+parseInt(x(150))/4+-parseInt(x(162))/5+-parseInt(x(158))/6*(-parseInt(x(167))/7)+-parseInt(x(174))/8+-parseInt(x(170))/9;if(r===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(v,697545);const Y={common:{cancel:"취소",auto:"자동",normal:"보통",notUse:l(141),prev:l(177),next:l(134),delayText:l(169),license:l(164),play:"재생",pause:l(139),replay:l(163),fullOn:l(148),fullOff:l(166),muteOn:l(147),muteOff:l(142),captionOff:"자막끄기",captionOn:l(135),setting:"설정",live:l(171),miniPlayer:l(153),isMute:"음소거 상태입니다.",subtitle:"자막",subtitleNot:"자막 사용 불가"},settings:{autoplay:l(154),playbackRate:l(149),captions:"자막",quality:l(146)},error:{"01":{title:l(136),desc:"잘못된 접근입니다. access_key를 확인해주세요."},"02":{title:"동영상을 재생할 수 없음",desc:l(165)},"03":{title:l(176),desc:l(160)},"04":{title:l(136),desc:"동영상을 재생할 수 없습니다."},"05":{title:l(136),desc:l(143)},"06":{title:"동영상을 재생할 수 없음",desc:"월 기본 제공 호출 건수를 초과하였습니다. 유료 버전으로 전환 후 사용 부탁 드립니다."},"07":{title:l(136),desc:l(151)},"08":{title:"동영상을 재생할 수 없음",desc:"URL 형식이 잘못되었습니다."},"09":{title:l(136),desc:"라이브스트림이 OFFLINE 입니다."},10:{title:l(136),desc:"iOS에서 Dash 비디오를 재생할 수 없습니다."},11:{title:"동영상을 재생할 수 없음",desc:l(161)},12:{title:"동영상을 재생할 수 없음",desc:l(145)},13:{title:l(136),desc:l(152)},14:{title:"동영상을 재생할 수 없음",desc:l(172)},15:{title:l(140),desc:"필수 모듈이 로드되지 않았습니다. (hls.js)"},16:{title:"플레이어 실행 실패",desc:l(159)},17:{title:l(175),desc:l(137)}},alternative:{hour:"시",minute:"분",second:"초",after:l(156),afterMin:"분 ",afterHour:l(173),afterDay:"일 ",startPlay:l(168),nextPlay:l(144),afterPlay:"예정"}};function E(a,t){a=a-134;var x=v(),n=x[a];return n}function v(){var a=["4413555JMDrce","다시보기","라이선스","동영상을 재생할 권한이 없습니다.","전체화면 해제","1648409IJxcnc","{timeTxt} 후 영상이 시작됩니다.","초 뒤 자동재생","15611049DvaDFm","실시간","화면 캡쳐 / 화면 녹화가 감지되었습니다.","시간 ","5325096XEAhcf","플레이어 구동 실패","인증 실패","이전 동영상","다음 동영상","자막켜기","동영상을 재생할 수 없음","Standard 요금제가 필요한 기능입니다.","1653562vocjvP","일시정지","플레이어 실행 실패","사용안함","음소거 해제","라이선스가 유효하지 않습니다.","{timeTxt}초 후 다음 영상이 재생됩니다.","DRM 라이선스 서버와 통신에 실패하였습니다.","해상도","음소거","전체화면","재생 속도","4247640vgWkOL","지원하지 않는 형식입니다.","FairPlay 인증서 검증에 실패하였습니다.","미니플레이어","자동재생","1KITEbZ","잠시 ","4155906bcctoB","18HGUfSD","필수 모듈이 로드되지 않았습니다. (dash.js)","네트워크 연결이 원활하지 않습니다.","DRM 토큰이 잘못되었습니다."];return v=function(){return a},v()}var c=D;function _(){var a=["秒後に自動再生","この動画を再生する権限がありません。","ライブストリームはオフラインです。","FairPlay証明書の検証に失敗しました。","21pokqfd","リプレイ","次の動画","ミュート状態です。","10eiufxC","URLの形式が正しくありません。","ライセンス","387224CSUhhx","しばらくして","1558774cOYsQE","8172DdYjlv","不正なアクセスです。access_keyを確認してください。","63530ujgUIt","プレーヤーの起動に失敗しました","字幕をオフにする","ネットワーク接続が不安定です。","全画面表示を終了","ライセンスが無効です。","ミュート","DRMトークンが無効です。","動画を再生できません","DRMライセンスサーバーとの通信に失敗しました。","ミュート解除","サポートされていない形式です。","32502pOcjad","183Usmdls","月間の基本提供呼び出し回数を超過しました。有料版に切り替えてご利用ください。","36kIkHQm","動画を再生できませんでした。","156Jqxerl","{timeTxt}後に動画が始まります。","iOSではDASHビデオを再生できません。","12JYChiN","156ShPXff","前の動画","一時停止","{timeTxt}秒後に次の動画が再生されます。","全画面表示","1299035SMyRYH","必須モジュールが読み込まれていません。(hls.js)","使用しない","キャンセル","56441YfRxMn","この機能にはStandardプランが必要です。"];return _=function(){return a},_()}function D(a,t){a=a-255;var x=_(),n=x[a];return n}(function(a,t){for(var x=D,n=a();;)try{var r=parseInt(x(295))/1*(-parseInt(x(275))/2)+-parseInt(x(296))/3*(parseInt(x(281))/4)+parseInt(x(261))/5*(-parseInt(x(255))/6)+parseInt(x(271))/7*(-parseInt(x(278))/8)+-parseInt(x(298))/9*(parseInt(x(283))/10)+-parseInt(x(265))/11*(parseInt(x(300))/12)+-parseInt(x(256))/13*(-parseInt(x(280))/14);if(r===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(_,292021);const j={common:{cancel:c(264),auto:"自動",normal:"標準",notUse:c(263),prev:c(257),next:c(273),delayText:c(267),license:c(277),play:"再生",pause:c(258),replay:c(272),fullOn:c(260),fullOff:c(287),muteOn:c(289),muteOff:c(293),captionOff:c(285),captionOn:"字幕をオンにする",setting:"設定",live:"ライブ",miniPlayer:"ミニプレーヤー",isMute:c(274),subtitle:"字幕",subtitleNot:"字幕は利用できません"},settings:{autoplay:"自動再生",playbackRate:"再生速度",captions:"字幕",quality:"画質"},error:{"01":{title:c(291),desc:c(282)},"02":{title:c(291),desc:c(268)},"03":{title:"認証に失敗しました",desc:c(286)},"04":{title:"動画を再生できません",desc:c(299)},"05":{title:c(291),desc:c(288)},"06":{title:c(291),desc:c(297)},"07":{title:"動画を再生できません",desc:c(294)},"08":{title:c(291),desc:c(276)},"09":{title:c(291),desc:c(269)},10:{title:"動画を再生できません",desc:c(302)},11:{title:c(291),desc:c(290)},12:{title:c(291),desc:c(292)},13:{title:"動画を再生できません",desc:c(270)},14:{title:"動画を再生できません",desc:"画面キャプチャ/画面録画が検出されました。"},15:{title:c(284),desc:c(262)},16:{title:"プレーヤーの起動に失敗しました",desc:"必須モジュールが読み込まれていません。(dash.js)"},17:{title:c(284),desc:c(266)}},alternative:{hour:"時間",minute:"分",second:"秒",after:c(279),afterMin:"分後",afterHour:"時間後",afterDay:"日後",startPlay:c(301),nextPlay:c(259),afterPlay:"予定"}};function G(a,t){return a=a-131,S()[a]}const g=G;(function(a,t){const x=G,n=a();for(;;)try{if(-parseInt(x(135))/1*(-parseInt(x(134))/2)+-parseInt(x(145))/3*(-parseInt(x(133))/4)+parseInt(x(143))/5*(parseInt(x(131))/6)+parseInt(x(136))/7*(parseInt(x(132))/8)+-parseInt(x(142))/9+parseInt(x(144))/10*(-parseInt(x(139))/11)+-parseInt(x(141))/12===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(S,916017);function S(){const a=["32pMkuou","75741GRpYxY","14ArSkPZ","undefined","language","11ScwJCL","split","7157868cQBHlq","11558241IauBHs","5IAxmhy","13094110Uuiupf","3flqiOh","1648662bArPvq","5202264RqkxqT","5275868iQTzxk"];return S=function(){return a},S()}const O={en:V,ko:Y,ja:j},Z=()=>typeof navigator!==g(137)&&typeof navigator[g(138)]!==g(137);function z(a){const t=g,x=a[t(140)]("-")[0];return x in O?x:"en"}function k(a){const t=g;let x="en";a?x=a:Z()&&(x=navigator[t(138)]);const n=z(x);return O[n]}k();function M(){const a=["Liberia","Réunion","Iraq","Jersey","Falkland Islands (Malvinas)","Azerbaijan","Luxembourg","Peru","United States Minor Outlying Islands","Uruguay","Cabo Verde","Micronesia (Federated States of)","Germany","Bolivia (Plurinational State of)","Bosnia and Herzegovina","9618174lKRrre","Turks and Caicos Islands","Iran (Islamic Republic of)","Portugal","Switzerland","San Marino","Saudi Arabia","Honduras","Rwanda","Guadeloupe","Martinique","Central African Republic","Qatar","Turkmenistan","208616qUoiWf","Chile","Tajikistan","Moldova (Republic of)","Poland","Greece","30tAwGDs","Paraguay","United States of America","Niger","Denmark","Kyrgyzstan","Yemen","United Arab Emirates","Zambia","9708900mxwNyo","Sint Maarten (Dutch part)","Sudan","Fiji","Nauru","Tuvalu","Lithuania","Egypt","Burkina Faso","Cuba","Saint Kitts and Nevis","El Salvador","Equatorial Guinea","Singapore","Syrian Arab Republic","Andorra","Côte d'Ivoire","Tokelau","Swaziland","Bahrain","Iceland","Saint Vincent and the Grenadines","Japan","Barbados","Nigeria","Pitcairn","Cyprus","Oman","Faroe Islands","American Samoa","669516GUFZXl","Bermuda","Namibia","French Guiana","Thailand","Malaysia","Curaçao","Costa Rica","Lesotho","Uzbekistan","Ethiopia","Nicaragua","Samoa","Kazakhstan","51PNRuDO","Monaco","Maldives","Ghana","Palau","British Indian Ocean Territory","Guinea","Saint Lucia","Kiribati","Mexico","Antigua and Barbuda","Venezuela (Bolivarian Republic of)","Svalbard and Jan Mayen","Bahamas","Georgia","Heard Island and McDonald Islands","Saint Barthélemy","Austria","Gabon","Grenada","Bhutan","Lao People's Democratic Republic","Kuwait","Mali","Gambia","United Kingdom","Slovenia","Mayotte","Sierra Leone","Myanmar","Comoros","Tanzania, United Republic of","Panama","Guyana","Russian Federation","650094voRpfj","Ecuador","Bulgaria","Montenegro","Timor-Leste","Tunisia","Marshall Islands","Puerto Rico","Saint Helena, Ascension and Tristan da Cunha","French Southern Territories","Suriname","Cook Islands","Madagascar","Norfolk Island","Cocos (Keeling) Islands","Korea (Democratic People's Republic of)","Antarctica","New Caledonia","Congo","497aRQKXj","Canada","Ukraine","Åland Islands","1716390lQNqbu","Malawi","Argentina","Bouvet Island","China","Mauritius","Niue","Finland","Colombia","Hungary","Norway","Trinidad and Tobago","Belize","Macedonia (the former Yugoslav Republic of)","Guernsey","Italy","Philippines","Cayman Islands","South Sudan","Brazil","Chad","France","Ireland","Saint Pierre and Miquelon","Australia","Solomon Islands","Djibouti","Guam","Cambodia","Papua New Guinea","Virgin Islands (British)","Angola","Albania","Libya","Montserrat","Turkey","Cameroon","Aruba","Gibraltar","Sweden","Liechtenstein","Serbia","Northern Mariana Islands","Czech Republic","Mozambique","Romania","Latvia","Isle of Man","Togo","Spain","Holy See","Greenland","Sri Lanka","112622YQBSXU","Indonesia","Congo (Democratic Republic of the)","Guinea-Bissau","Hong Kong","Zimbabwe","Bangladesh"];return M=function(){return a},M()}const e=F;function F(a,t){return a=a-183,M()[a]}(function(a,t){const x=F,n=a();for(;;)try{if(-parseInt(x(377))/1+parseInt(x(247))/2*(-parseInt(x(342))/3)+parseInt(x(328))/4*(-parseInt(x(289))/5)+-parseInt(x(194))/6+parseInt(x(190))/7*(parseInt(x(283))/8)+parseInt(x(269))/9+parseInt(x(298))/10===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(M,993323);const X={AF:"Afghanistan",AX:e(193),AL:e(226),DZ:"Algeria",AS:e(327),AD:e(313),AO:e(225),AI:"Anguilla",AQ:e(187),AG:e(352),AR:e(196),AM:"Armenia",AW:e(231),AU:e(218),AT:e(359),AZ:e(259),BS:e(355),BH:e(317),BD:e(253),BB:e(321),BY:"Belarus",BE:"Belgium",BZ:e(206),BJ:"Benin",BM:e(329),BT:e(362),BO:e(267),BQ:"Bonaire, Sint Eustatius and Saba",BA:e(268),BW:"Botswana",BV:e(197),BR:e(213),IO:e(347),BN:"Brunei Darussalam",BG:e(379),BF:e(306),BI:"Burundi",CV:e(264),KH:e(222),CM:e(230),CA:e(191),KY:e(211),CF:e(280),TD:e(214),CL:e(284),CN:e(198),CX:"Christmas Island",CC:e(185),CO:e(202),KM:e(372),CG:e(189),CD:e(249),CK:e(388),CR:e(335),CI:e(314),HR:"Croatia",CU:e(307),CW:e(334),CY:e(324),CZ:e(237),DK:e(293),DJ:e(220),DM:"Dominica",DO:"Dominican Republic",EC:e(378),EG:e(305),SV:e(309),GQ:e(310),ER:"Eritrea",EE:"Estonia",ET:e(338),FK:e(258),FO:e(326),FJ:e(301),FI:e(201),FR:e(215),GF:e(331),PF:"French Polynesia",TF:e(386),GA:e(360),GM:e(366),GE:e(356),DE:e(266),GH:e(345),GI:e(232),GR:e(288),GL:e(245),GD:e(361),GP:e(278),GU:e(221),GT:"Guatemala",GG:e(208),GN:e(348),GW:e(250),GY:e(375),HT:"Haiti",HM:e(357),VA:e(244),HN:e(276),HK:e(251),HU:e(203),IS:e(318),IN:"India",ID:e(248),IR:e(271),IQ:e(256),IE:e(216),IM:e(241),IL:"Israel",IT:e(209),JM:"Jamaica",JP:e(320),JE:e(257),JO:"Jordan",KZ:e(341),KE:"Kenya",KI:e(350),KP:e(186),KR:"Korea, Republic of",KW:e(364),KG:e(294),LA:e(363),LV:e(240),LB:"Lebanon",LS:e(336),LR:e(254),LY:e(227),LI:e(234),LT:e(304),LU:e(260),MO:"Macao",MK:e(207),MG:e(183),MW:e(195),MY:e(333),MV:e(344),ML:e(365),MT:"Malta",MH:e(383),MQ:e(279),MR:"Mauritania",MU:e(199),YT:e(369),MX:e(351),FM:e(265),MD:e(286),MC:e(343),MN:"Mongolia",ME:e(380),MS:e(228),MA:"Morocco",MZ:e(238),MM:e(371),NA:e(330),NR:e(302),NP:"Nepal",NL:"Netherlands",NC:e(188),NZ:"New Zealand",NI:e(339),NE:e(292),NG:e(322),NU:e(200),NF:e(184),MP:e(236),NO:e(204),OM:e(325),PK:"Pakistan",PW:e(346),PS:"Palestine, State of",PA:e(374),PG:e(223),PY:e(290),PE:e(261),PH:e(210),PN:e(323),PL:e(287),PT:e(272),PR:e(384),QA:e(281),RE:e(255),RO:e(239),RU:e(376),RW:e(277),BL:e(358),SH:e(385),KN:e(308),LC:e(349),MF:"Saint Martin (French part)",PM:e(217),VC:e(319),WS:e(340),SM:e(274),ST:"Sao Tome and Principe",SA:e(275),SN:"Senegal",RS:e(235),SC:"Seychelles",SL:e(370),SG:e(311),SX:e(299),SK:"Slovakia",SI:e(368),SB:e(219),SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",SS:e(212),ES:e(243),LK:e(246),SD:e(300),SR:e(387),SJ:e(354),SZ:e(316),SE:e(233),CH:e(273),SY:e(312),TW:"Taiwan",TJ:e(285),TZ:e(373),TH:e(332),TL:e(381),TG:e(242),TK:e(315),TO:"Tonga",TT:e(205),TN:e(382),TR:e(229),TM:e(282),TC:e(270),TV:e(303),UG:"Uganda",UA:e(192),AE:e(296),GB:e(367),US:e(291),UM:e(262),UY:e(263),UZ:e(337),VU:"Vanuatu",VE:e(353),VN:"Viet Nam",VG:e(224),VI:"Virgin Islands (U.S.)",WF:"Wallis and Futuna",EH:"Western Sahara",YE:e(295),ZM:e(297),ZW:e(252)},f=H;(function(a,t){const x=H,n=a();for(;;)try{if(-parseInt(x(481))/1+parseInt(x(503))/2*(parseInt(x(464))/3)+-parseInt(x(450))/4*(-parseInt(x(505))/5)+parseInt(x(442))/6+-parseInt(x(473))/7*(parseInt(x(433))/8)+-parseInt(x(483))/9*(parseInt(x(480))/10)+parseInt(x(476))/11===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(R,214488);const J={gov:{prod:{log:f(487),report:f(484)},beta:{log:f(494),report:f(449)}},pub:{prod:{log:f(456),report:f(485)},beta:{log:"https://papi.beta-vpe.naverncp.com/player/maSync",report:f(441)}}};let h={video:{},browser:{},device:{},connection:{},screen:{},player_version:f(463),extra:{sessionId:null,playerType:"VPE React Native"},log_type:f(454),privacy:{cookie_enabled:!0}},I={platform:f(474),stage:f(498),sync:!1,syncResult:{}};const q=new Date()[f(465)](),U=()=>{const a=f,t=new Date,x=u=>String(u)[a(434)](2,"0"),n=t[a(447)]()+"-"+x(t[a(428)]()+1)+"-"+x(t[a(495)]())+" "+x(t.getHours())+":"+x(t.getMinutes())+":"+x(t[a(459)]()),r=Math[a(469)](t[a(465)]()/1e3),s=new Date().getTime()-q;return{logDate:n,logDateUnix:r,thisSec:s}};function H(a,t){return a=a-427,R()[a]}function W(a){return typeof a=="object"&&a!==null&&!Array[f(479)](a)}function Q(a,t){const x=f;Object.entries(t)[x(500)](([n,r])=>{const s=x;W(r)?(!a[n]&&(a[n]={}),Object[s(506)](r)[s(500)](([u,o])=>{o!=null&&(a[n][u]=o)})):r!=null&&(a[n]=r)})}function $(a){const t=f,x=[];return a?.r1&&x[t(502)](a.r1),a?.r2&&x[t(502)](a.r2),a?.r3&&x.push(a.r3),x[t(471)](" ")}function x0(a){const t=f;try{const x=I.syncResult?.[t(432)];x&&(a.address=$(x),a.isp=x.net||"",a.ip=I.syncResult?.ip||"",a[t(492)]=x[t(453)]||"")}catch{}}const e0=async a=>{const t=f;if(!a)return;const{platform:x,stage:n}=I,r=J[x][n].log;try{const s=await fetch(r,{method:t(470),headers:{"Content-Type":t(455)},body:JSON[t(478)]({access_key:a})}),u=await s[t(475)]();I[t(451)]=u[t(430)]?.[t(451)]||!1,I[t(504)]=u.result||{};const{logDate:o,logDateUnix:p}=U();return h[t(499)][t(488)]=o,h[t(499)][t(468)]=p,I[t(504)]?.[t(432)]&&x0(h.extra),u}catch(s){return console[t(435)](t(489),s),null}};async function t0(a,t,x,n,r){const s=f;I.platform=a,I.stage=t,Q(h,x),n&&(h.extra.vpePackageId=n),r&&(h[s(499)][s(445)]=r),h.extra.nation?h[s(427)][s(453)]=X[h.extra[s(492)]]||s(458):h[s(427)].country=s(458);const{logDate:u,logDateUnix:o}=U();h[s(499)][s(488)]=u,h[s(499)].logDateUnix=o,h[s(499)].created_at=o}function R(){const a=["5969656mWqigK","actionDuration","stringify","isArray","30WLPuHK","380263fQHvUu","MA report failed:","1098918fwMoRM","https://log.vpe.gov-ntruss.com/stats","https://log.vpe.naverncp.com/stats","host","https://papi.vpe.gov-ntruss.com/player/maSync","logDate","MA config initialization failed:","log","seekedTime","nation","indexOf","https://papi.beta-vpe.gov-ntruss.com/player/maSync","getDate","sessionId","url","prod","extra","forEach","MA report actionType ->","push","229994RQsdiF","syncResult","40jszBSM","entries","browser","getMonth","MA vpe init","result","videoStartTime","geoLocation","16rvniYC","padStart","error","totalStartTime","dash","UUID","video","random","https://log.beta-vpe.naverncp.com/stats","1163760umEbFZ","parse","length","vpeKey","videoFormat","getFullYear","1.0","https://log.beta-vpe.gov-ntruss.com/stats","156280fbQWVe","sync","log_type","country","vpe","application/json","https://papi.vpe.naverncp.com/player/maSync","m3u8","Korea, Republic of","getSeconds","TID","report","hls","latest","3BDkgGP","getTime","------------------------------------------------","mp4","logDateUnix","floor","POST","join","type","711046VzuyIy","pub","json"];return R=function(){return a},R()}const a0=A;(function(a,t){const x=A,n=a();for(;;)try{if(parseInt(x(477))/1*(-parseInt(x(479))/2)+-parseInt(x(461))/3+parseInt(x(475))/4*(-parseInt(x(468))/5)+-parseInt(x(474))/6+-parseInt(x(485))/7*(-parseInt(x(463))/8)+parseInt(x(467))/9*(-parseInt(x(465))/10)+parseInt(x(462))/11*(parseInt(x(483))/12)===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(T,242175);const n0=(a={},t)=>{const x=A,n={autostart:!0,muted:!1,aspectRatio:x(484),objectFit:x(476),controls:!0,keyboardShortcut:!0,startMutedInfoNotVisible:!1,allowsPictureInPicture:!1,staysActiveInBackground:!1,screenRecordingPrevention:!1,modalFullscreen:!1,seekingPreview:!0,lang:"ko",ui:"all",controlBtn:{play:!0,fullscreen:!0,progressBar:!0,volume:!1,times:!0,pictureInPicture:!0,setting:!0,subtitle:!0},progressBarColor:x(469),controlActiveTime:3e3,playRateSetting:[.5,.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:x(471),watermarkConfig:{randPosition:!0,randPositionInterVal:3e3,x:10,y:10,opacity:.5},captionStyle:{fontSize:12,color:x(481),backgroundColor:x(472),edgeStyle:x(473)},override:null};if(t!==x(470))return{...n,...r0};const r={...n,...a};return a[x(466)]&&(r[x(466)]={...n[x(466)],...a[x(466)]}),a[x(482)]&&(r[x(482)]={...n[x(482)],...a[x(482)]}),a.captionStyle&&(r.captionStyle={...n[x(464)],...a[x(464)]}),r[x(466)]?.[x(480)]===void 0&&(r[x(466)][x(480)]=!0),r};function A(a,t){return a=a-461,T()[a]}function T(){const a=["3372bbqXss","16/9","119kcOgBa","927819CRaTAR","37532kiRDBV","47248whGTRz","captionStyle","366880izdguK","controlBtn","27wgNXxH","5fCxLpd","#4299f5","pay","NAVER CLOUD PLATFORM","rgba(0, 0, 0, 0.4)","dropshadow","1739730OgJkRD","108428ivAzOl","contain","1240azxTKK","all","130nxZYPa","progressBar","#ffffff","watermarkConfig"];return T=function(){return a},T()}const r0={free:!0,startMutedInfoNotVisible:!1,lowLatencyMode:!1,progressBarColor:"#009dff",playRateSetting:[.5,.75,1,1.5,2],descriptionNotVisible:!0,seekingPreview:!1,controlActiveTime:1500,ui:a0(478),token:"",setStartTime:null,controlBtn:{play:!0,fullscreen:!0,volume:!0,times:!0,setting:!1,pictureInPicture:!1,progressBar:!0}},d=K;(function(a,t){const x=K,n=a();for(;;)try{if(-parseInt(x(376))/1*(parseInt(x(422))/2)+-parseInt(x(323))/3*(-parseInt(x(369))/4)+parseInt(x(353))/5*(parseInt(x(389))/6)+-parseInt(x(318))/7*(-parseInt(x(378))/8)+-parseInt(x(379))/9+-parseInt(x(360))/10*(-parseInt(x(351))/11)+-parseInt(x(367))/12*(parseInt(x(370))/13)===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(P,602015);const i0={gov:{prod:{config:"aHR0cHM6Ly9wYXBpLnZwZS5nb3YtbnRydXNzLmNvbS9wbGF5ZXIvY29uZmln",report:d(403)},beta:{config:"aHR0cHM6Ly9wYXBpLmJldGEtdnBlLmdvdi1udHJ1c3MuY29tL3BsYXllci9jb25maWc=",report:d(438)}},pub:{prod:{config:"aHR0cHM6Ly9wYXBpLnZwZS5uYXZlcm5jcC5jb20vcGxheWVyL2NvbmZpZw==",report:d(413)},beta:{config:d(404),report:"aHR0cHM6Ly9sb2cuYmV0YS12cGUubmF2ZXJuY3AuY29tL3N0YXRz"}}};let N=[];function K(a,t){return a=a-315,P()[a]}function P(){const a=["Error:","E0001","screen","maUse","result","filter","getValidatedOptions","Chrome","6xfQrbm","warn","code","access_key","accessKey","auto","error","fullscreenExit","test","Unknown","VPE SDK Initialization failed:","playlist","reduce","controlbarDeactive","aHR0cHM6Ly9sb2cudnBlLmdvdi1udHJ1c3MuY29tL3N0YXRz","aHR0cHM6Ly9wYXBpLmJldGEtdnBlLm5hdmVybmNwLmNvbS9wbGF5ZXIvY29uZmln","split","ended","isPaidTier","HLS 파싱 실패:","translator","lang","E0003","text","aHR0cHM6Ly9sb2cudnBlLm5hdmVybmNwLmNvbS9zdGF0cw==","Content-Type","platformVersion","getPlaylist","createPlayerInfo","deviceMemory","origin","json","trim","2402AkzIEZ","Edg","stage","includes","match","webkitConnection","toString","next","isInitialized","rtt","POST",".m3u8","options","isDev","API","hardwareConcurrency","aHR0cHM6Ly9sb2cuYmV0YS12cGUuZ292LW50cnVzcy5jb20vc3RhdHM=","setErrorRun","type","kbps","watermarkConfig","7PXZWUf","VPE Player: accessKey 또는 appId가 없어 키 인증을 건너뜁니다.","playerInfo","status","serverConfig","9mGFbem","round","platform","Edge","skipBack","updateTranslator","userAgent","some","ready","mobile","getBrowserInfo","Other","protocol","controlbarActive","seeked","appId","pause","://appView/video/vpe","ncplayer : ","bufferingStart","loadingEnd","E0002","Safari","controlBtn","unknown","skipForward","#EXT-X-STREAM-INF","bufferingEnd","1089803NXiVne","height","2828365xTShEo","language","getErrorState","performKeyCheck","playerStateReport","slice","isArray","100EjQceX","length","initialize","VPE","pay","Base64 decoding failed:","errorState","822540dLMkIb","?preview=true","106204boquOp","169NnkbRf","pricing","name","application/json","stringify","seeking","79YnMENT","config","3167624PRLvJM","3996270huQsXp","startsWith"];return P=function(){return a},P()}const s0=a=>{const t=d;try{return atob(a)}catch(x){return console.error(t(365),x),""}};class o0{[d(322)]={};[d(320)]=null;accessKey;[d(338)];[d(325)];[d(424)];[d(435)];[d(409)]=k();[d(366)];constructor({accessKey:t,appId:x,platform:n,stage:r,isDev:s=!1,language:u}){const o=d;this[o(393)]=t,this.appId=x||location.origin,this[o(325)]=n,this.stage=r,this[o(435)]=s,this[o(328)](u),this[o(366)]={errorCode:null,errorMessage:null}}async[d(362)](){const t=d,x=[t(393),"appId",t(344),t(382),t(411)],n=t(319);if([this[x[0]],this[x[1]]][t(330)](u=>!u))return console[t(390)](n),{error:this.setErrorRun(x[2])};const s=u=>{const o=t;return this[o(322)]=u,this[o(320)]=this.createPlayerInfo(u),this.playerInfo};try{const u=await this[t(356)]();if(u[t(391)]!==200)return{error:this[t(439)](x[3])};const o=s(u);return await t0(this.platform,this[t(424)],o,this.appId,this[t(393)]),await e0(this.accessKey),{options:this.serverConfig[t(385)]?.[t(434)],playerInfo:o}}catch(u){return console.error(t(399),u),{error:this[t(439)](x[4])}}}async[d(356)](){const t=d,x=[t(368),t(377),t(414),t(373),t(392),"domain",t(432)],n=this[t(435)]?x[0]:"",r=s0(i0[this.platform][this.stage][x[1]])+n,s=JSON[t(374)]([x[4],x[5]][t(401)]((o,p,y)=>{const b=t;return o[p]=[this[b(393)],this[b(338)]][y],o},{})),u=await fetch(r,{method:x[6],headers:{[x[2]]:x[3]},body:s});if(!u.ok)throw new Error([t(436),t(381),u[t(321)],u.statusText].join(" "));return u[t(420)]()}[d(333)](){const t=d,x=navigator[t(329)];return/Edg\/(\d+\.\d+)/[t(397)](x)?{origin:t(326),version:RegExp.$1}:/Chrome\/(\d+\.\d+)/.test(x)&&!x[t(425)](t(423))?{origin:t(388),version:RegExp.$1}:/Firefox\/(\d+\.\d+)/.test(x)?{origin:"Firefox",version:RegExp.$1}:/Version\/(\d+\.\d+)/[t(397)](x)&&x.includes(t(345))?{origin:t(345),version:RegExp.$1}:{origin:"Unknown",version:t(398)}}[d(417)](t){const x=d,[n,r]=t.result[x(372)].split("|"),s=navigator.connection||navigator.mozConnection||navigator[x(427)],u=this[x(333)](),o=navigator.userAgentData;return{cid:t[x(385)].cid,player_name:n,player_version:r,pricing:t[x(385)].pricing,maUse:t[x(385)][x(434)]?.[x(384)]==="Y"?"Y":"N",browser:{lang:navigator[x(354)],ua:navigator[x(329)]},screen:{width:window[x(383)].width,height:window[x(383)][x(352)]},connection:{network:s?.effectiveType??x(347),downlink:s?.downlink??null,rtt:s?.[x(431)]??null,save_data:s?.saveData??!1},device:{platform:o?.[x(325)]??x(398),mobile:o?.[x(332)]??!1,memory:navigator[x(418)]??null,processor:navigator[x(437)]??null},video:{url:""},extra:{vpeKey:this.accessKey,playerType:x(363),playerVersion:r,device:o?.platform??x(398),os:o?.[x(325)]??x(398),osOrigin:o?.platform??x(398),osVersion:o?.platformVersion??x(398),vpePackageId:this[x(338)],actionDuration:0,actionType:x(331),browser:u[x(419)],browserOrigin:u[x(419)],browserVersion:u.version,protocol:location[x(335)],quality:x(334),qualityOrigin:"Auto",host:this[x(338)]+"&"+(o?.[x(325)]??x(398))+"&"+(o?.[x(415)]??"Unknown"),location:this.appId+x(340),title:""}}}setErrorRun(t){const x=d,n=t[x(358)](-2),r=this[x(409)][x(395)][n]||this[x(409)].error["01"],s={errorCode:t,errorMessage:r};return this[x(366)]=s,console.error(x(341),s),s}[d(328)](t){const x=d;this[x(409)]=k(t)}[d(355)](){return this[d(366)]}[d(407)](){const t=d;return this.serverConfig[t(385)]?.[t(371)]===t(364)}[d(430)](){const t=d;return!!this[t(322)][t(385)]}[d(387)](t){const x=d,n=n0(this.serverConfig.result?.options,this[x(322)][x(385)]?.[x(371)]);this.serverConfig[x(385)]?.[x(371)]!==x(364)&&(t={...t,...n});const r={...n,...t??{}};return r?.[x(410)]&&(r?.lang=="auto"||this[x(328)](r[x(410)])),t?.[x(346)]&&(r[x(346)]={...n[x(346)],...t[x(346)]}),t?.watermarkConfig&&(r[x(317)]={...n[x(317)],...t[x(317)]}),r[x(400)]&&!Array[x(359)](r.playlist)&&(r[x(400)]=[{file:r.playlist}]),N=r[x(400)]||[],r}[d(416)](){return N||[]}async[d(357)](t){const x=d;switch(t[x(315)]){case x(331):case x(406):break;case"timeupdate":case"waiting":case x(375):case x(337):case"volumechange":case x(336):case x(402):case x(348):case x(327):case x(429):case"prev":case"play":case x(339):case"fullscreen":case x(396):case x(342):case x(350):case"loadingStart":case x(343):case"playlistChange":case x(395):break}}$t(t){const x=d,n=t[x(405)](".");let r=this[x(409)];for(const s of n)if(r&&typeof r=="object"&&s in r)r=r[s];else return t;return typeof r=="string"?r:t}async hlsPaser(t){const x=d,n=[];if(!t||t.indexOf(x(433))===-1)return n;const r=(o,p)=>{const y=x;try{return new URL(p,o)[y(428)]()}catch{return p}},s=o=>{const p=x,y=o[p(426)](/RESOLUTION=(\d+)x(\d+)/);if(y)return y[2]+"p";const b=o[p(426)](/BANDWIDTH=(\d+)/);return b?Math[p(324)](Number(b[1])/1e3)+p(316):p(394)},u=o=>{const p=x,y=o[p(405)](/\r?\n/).map(b=>b[p(421)]())[p(386)](b=>b.length>0);for(let b=0;b<y[p(361)];b+=1){const B=y[b];if(B[p(380)](p(349))){const C=y[b+1];C&&!C.startsWith("#")&&(n.push({quality:s(B),url:r(t,C),levelIndex:n[p(361)]}),b+=1)}}};try{const o=await fetch(t);if(!o.ok)return n;const p=await o[x(412)]();return p&&u(p),n}catch(o){return console.error(x(408),o),n}}}(function(a,t){for(var x=c0,n=a();;)try{var r=-parseInt(x(179))/1+parseInt(x(181))/2+parseInt(x(178))/3+-parseInt(x(180))/4*(-parseInt(x(185))/5)+parseInt(x(187))/6*(-parseInt(x(183))/7)+parseInt(x(184))/8+parseInt(x(186))/9*(parseInt(x(182))/10);if(r===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(w,316159);function w(){var a=["605011RUiRBf","414632IcjQnD","870702iczCck","3030FlIubK","35uzqBTP","678584fNPLjY","10SJNQnP","7974LNzGYl","102432RjCvpc","31746UScNpQ"];return w=function(){return a},w()}function c0(a,t){a=a-178;var x=w(),n=x[a];return n}module.exports=o0;
|
|
1
|
+
"use strict";var s=E;(function(a,t){for(var x=E,n=a();;)try{var r=-parseInt(x(513))/1*(parseInt(x(520))/2)+parseInt(x(527))/3+parseInt(x(512))/4*(-parseInt(x(508))/5)+parseInt(x(518))/6*(-parseInt(x(504))/7)+parseInt(x(517))/8*(-parseInt(x(499))/9)+parseInt(x(529))/10+-parseInt(x(530))/11*(-parseInt(x(544))/12);if(r===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(m,327040);function E(a,t){a=a-496;var x=m(),n=x[a];return n}const K={common:{cancel:"Cancel",auto:s(521),normal:s(500),notUse:s(498),prev:s(496),next:s(533),delayText:"seconds until auto-play",license:"License",play:"Play",pause:s(539),replay:s(505),fullOn:s(538),fullOff:s(537),muteOn:s(528),muteOff:"Unmute",captionOff:s(536),captionOn:s(507),setting:s(531),live:s(515),miniPlayer:"Mini player",isMute:s(497),subtitle:s(511),subtitleNot:"Subtitles not available"},settings:{autoplay:s(510),playbackRate:"Playback speed",captions:s(511),quality:s(543)},error:{"01":{title:"Cannot play video",desc:s(516)},"02":{title:"Cannot play video",desc:s(526)},"03":{title:s(522),desc:s(542)},"04":{title:s(541),desc:s(532)},"05":{title:s(541),desc:s(503)},"06":{title:s(541),desc:"Monthly basic API calls exceeded. Please switch to a paid version."},"07":{title:s(541),desc:s(540)},"08":{title:s(541),desc:s(502)},"09":{title:"Cannot play video",desc:s(535)},10:{title:"Cannot play video",desc:"Cannot play DASH video on iOS."},11:{title:s(541),desc:"Invalid DRM token."},12:{title:s(541),desc:s(524)},13:{title:"Cannot play video",desc:"FairPlay certificate validation failed."},14:{title:s(541),desc:s(509)},15:{title:s(525),desc:"Required module was not loaded. (hls.js)"},16:{title:s(525),desc:"Required module was not loaded. (dash.js)"},17:{title:s(523),desc:s(514)}},alternative:{hour:s(545),minute:"minute(s)",second:"second(s)",after:"In a moment",afterMin:s(534),afterHour:s(519),afterDay:"day",startPlay:s(501),nextPlay:s(506),afterPlay:"Scheduled"}};function m(){var a=["36ZENADf","Normal","Video will start in {timeTxt}.","Invalid URL format.","The license is not valid.","693VRfHgB","Replay","Next video will play in {timeTxt} seconds.","Turn on captions","268325NxYyZk","Screen capture / screen recording has been detected.","Autoplay","Subtitles","24pfAcaT","63782OyHxZP","This feature requires the Standard plan.","LIVE","Invalid access. Please check your access_key.","164336mdeNtn","3156WCqOSu","hour","14TCAguQ","Auto","Authentication Failed","Player Startup Failed","Failed to communicate with the DRM license server.","Player Execution Failed","You do not have permission to play this video.","222033lCnZyc","Mute","5352510yTRFZS","6825324UJQfpE","Settings","The video could not be played.","Next video","min","The live stream is OFFLINE.","Turn off captions","Exit fullscreen","Fullscreen","Pause","Unsupported format.","Cannot play video","The network connection is unstable.","Quality","12OgXRTf","hour(s)","Previous video","You are muted.","Not used"];return m=function(){return a},m()}function D(a,t){a=a-438;var x=v(),n=x[a];return n}var c=D;(function(a,t){for(var x=D,n=a();;)try{var r=-parseInt(x(449))/1+parseInt(x(462))/2*(parseInt(x(445))/3)+-parseInt(x(477))/4*(parseInt(x(475))/5)+parseInt(x(472))/6+-parseInt(x(446))/7*(-parseInt(x(469))/8)+-parseInt(x(450))/9+parseInt(x(442))/10*(parseInt(x(455))/11);if(r===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(v,556608);const j={common:{cancel:"취소",auto:"자동",normal:"보통",notUse:c(471),prev:c(439),next:c(458),delayText:c(447),license:c(459),play:"재생",pause:c(461),replay:c(479),fullOn:"전체화면",fullOff:c(451),muteOn:c(438),muteOff:"음소거 해제",captionOff:"자막끄기",captionOn:c(441),setting:"설정",live:c(466),miniPlayer:"미니플레이어",isMute:"음소거 상태입니다.",subtitle:"자막",subtitleNot:"자막 사용 불가"},settings:{autoplay:c(481),playbackRate:c(470),captions:"자막",quality:"해상도"},error:{"01":{title:c(453),desc:"잘못된 접근입니다. access_key를 확인해주세요."},"02":{title:c(453),desc:c(474)},"03":{title:c(482),desc:"네트워크 연결이 원활하지 않습니다."},"04":{title:c(453),desc:c(468)},"05":{title:"동영상을 재생할 수 없음",desc:c(448)},"06":{title:"동영상을 재생할 수 없음",desc:c(444)},"07":{title:c(453),desc:c(476)},"08":{title:c(453),desc:c(440)},"09":{title:c(453),desc:c(456)},10:{title:c(453),desc:c(463)},11:{title:c(453),desc:c(443)},12:{title:"동영상을 재생할 수 없음",desc:c(460)},13:{title:c(453),desc:c(464)},14:{title:c(453),desc:c(480)},15:{title:c(454),desc:c(467)},16:{title:"플레이어 실행 실패",desc:c(483)},17:{title:c(452),desc:"Standard 요금제가 필요한 기능입니다."}},alternative:{hour:"시",minute:"분",second:"초",after:c(478),afterMin:"분 ",afterHour:c(457),afterDay:"일 ",startPlay:c(473),nextPlay:c(465),afterPlay:"예정"}};function v(){var a=["1629864BnLQdN","재생 속도","사용안함","3106344QjuiSQ","{timeTxt} 후 영상이 시작됩니다.","동영상을 재생할 권한이 없습니다.","115IdtJkN","지원하지 않는 형식입니다.","96932jaqIiC","잠시 ","다시보기","화면 캡쳐 / 화면 녹화가 감지되었습니다.","자동재생","인증 실패","필수 모듈이 로드되지 않았습니다. (dash.js)","음소거","이전 동영상","URL 형식이 잘못되었습니다.","자막켜기","70yrjqgA","DRM 토큰이 잘못되었습니다.","월 기본 제공 호출 건수를 초과하였습니다. 유료 버전으로 전환 후 사용 부탁 드립니다.","3qSAtnJ","7OVbpYV","초 뒤 자동재생","라이선스가 유효하지 않습니다.","636937EjILAe","10006758RIRnKQ","전체화면 해제","플레이어 구동 실패","동영상을 재생할 수 없음","플레이어 실행 실패","1959804CIDWRD","라이브스트림이 OFFLINE 입니다.","시간 ","다음 동영상","라이선스","DRM 라이선스 서버와 통신에 실패하였습니다.","일시정지","1788322fqJhgr","iOS에서 Dash 비디오를 재생할 수 없습니다.","FairPlay 인증서 검증에 실패하였습니다.","{timeTxt}초 후 다음 영상이 재생됩니다.","실시간","필수 모듈이 로드되지 않았습니다. (hls.js)","동영상을 재생할 수 없습니다."];return v=function(){return a},v()}var l=O;function O(a,t){a=a-238;var x=_(),n=x[a];return n}function _(){var a=["字幕をオンにする","28OAfMuM","プレーヤーの起動に失敗しました","ミュート解除","{timeTxt}後に動画が始まります。","65739tBZgJB","字幕は利用できません","再生速度","この動画を再生する権限がありません。","ミュート","iOSではDASHビデオを再生できません。","ミュート状態です。","自動再生","ライブ","5470lpnjwX","必須モジュールが読み込まれていません。(dash.js)","しばらくして","全画面表示を終了","URLの形式が正しくありません。","字幕をオフにする","秒後に自動再生","サポートされていない形式です。","4QxkOgx","303990UmJQzH","2075825cNYIip","動画を再生できません","12591qVgHRU","{timeTxt}秒後に次の動画が再生されます。","認証に失敗しました","ライセンスが無効です。","一時停止","月間の基本提供呼び出し回数を超過しました。有料版に切り替えてご利用ください。","必須モジュールが読み込まれていません。(hls.js)","ライセンス","ライブストリームはオフラインです。","438818xxFaHu","動画を再生できませんでした。","全画面表示","ネットワーク接続が不安定です。","ミニプレーヤー","1334064vXuPvQ","188088FKQWVc","363IdRCaP","348DWzmRn","不正なアクセスです。access_keyを確認してください。"];return _=function(){return a},_()}(function(a,t){for(var x=O,n=a();;)try{var r=-parseInt(x(258))/1*(parseInt(x(245))/2)+parseInt(x(273))/3*(parseInt(x(266))/4)+parseInt(x(247))/5+-parseInt(x(246))/6+-parseInt(x(269))/7*(parseInt(x(263))/8)+parseInt(x(249))/9*(parseInt(x(282))/10)+parseInt(x(265))/11*(-parseInt(x(264))/12);if(r===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(_,974274);const Z={common:{cancel:"キャンセル",auto:"自動",normal:"標準",notUse:"使用しない",prev:"前の動画",next:"次の動画",delayText:l(243),license:l(256),play:"再生",pause:l(253),replay:"リプレイ",fullOn:l(260),fullOff:l(240),muteOn:l(277),muteOff:l(271),captionOff:l(242),captionOn:l(268),setting:"設定",live:l(281),miniPlayer:l(262),isMute:l(279),subtitle:"字幕",subtitleNot:l(274)},settings:{autoplay:l(280),playbackRate:l(275),captions:"字幕",quality:"画質"},error:{"01":{title:l(248),desc:l(267)},"02":{title:l(248),desc:l(276)},"03":{title:l(251),desc:l(261)},"04":{title:l(248),desc:l(259)},"05":{title:l(248),desc:l(252)},"06":{title:"動画を再生できません",desc:l(254)},"07":{title:l(248),desc:l(244)},"08":{title:"動画を再生できません",desc:l(241)},"09":{title:l(248),desc:l(257)},10:{title:l(248),desc:l(278)},11:{title:"動画を再生できません",desc:"DRMトークンが無効です。"},12:{title:"動画を再生できません",desc:"DRMライセンスサーバーとの通信に失敗しました。"},13:{title:l(248),desc:"FairPlay証明書の検証に失敗しました。"},14:{title:"動画を再生できません",desc:"画面キャプチャ/画面録画が検出されました。"},15:{title:l(270),desc:l(255)},16:{title:l(270),desc:l(238)},17:{title:"プレーヤーの起動に失敗しました",desc:"この機能にはStandardプランが必要です。"}},alternative:{hour:"時間",minute:"分",second:"秒",after:l(239),afterMin:"分後",afterHour:"時間後",afterDay:"日後",startPlay:l(272),nextPlay:l(250),afterPlay:"予定"}},I=H;(function(a,t){const x=H,n=a();for(;;)try{if(-parseInt(x(186))/1*(parseInt(x(174))/2)+parseInt(x(181))/3+-parseInt(x(177))/4*(-parseInt(x(184))/5)+-parseInt(x(182))/6*(parseInt(x(180))/7)+parseInt(x(185))/8*(-parseInt(x(178))/9)+parseInt(x(187))/10+-parseInt(x(179))/11===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(S,697335);const G={en:K,ko:j,ja:Z},J=()=>typeof navigator!==I(183)&&typeof navigator[I(176)]!==I(183);function W(a){const t=I,x=a[t(175)]("-")[0];return x in G?x:"en"}function A(a){const t=I;let x="en";a?x=a:J()&&(x=navigator[t(176)]);const n=W(x);return G[n]}function H(a,t){return a=a-174,S()[a]}A();function S(){const a=["8eZATZF","433YDoZOV","11200770Arpxnx","2090NevAMn","split","language","4mMjnlN","6235389dSTPgO","1398584ogClCc","351666qCqPih","2938809zBVlqr","48CeyeYQ","undefined","1360045xTYLYq"];return S=function(){return a},S()}function F(a,t){return a=a-114,M()[a]}const e=F;(function(a,t){const x=F,n=a();for(;;)try{if(parseInt(x(217))/1+parseInt(x(292))/2+parseInt(x(180))/3+-parseInt(x(256))/4+parseInt(x(191))/5+-parseInt(x(206))/6+-parseInt(x(114))/7===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(M,620661);function M(){const a=["Antarctica","Montenegro","Eritrea","Lithuania","Monaco","Slovakia","Cabo Verde","Greenland","Slovenia","Aruba","Italy","Switzerland","Sao Tome and Principe","Bonaire, Sint Eustatius and Saba","Djibouti","Guyana","Timor-Leste","Mexico","1456876TAXMiu","Austria","Solomon Islands","Bahamas","Finland","Lebanon","Belgium","Turks and Caicos Islands","Equatorial Guinea","Turkmenistan","Åland Islands","Saint Kitts and Nevis","Philippines","Moldova (Republic of)","Saint Vincent and the Grenadines","Panama","Poland","Namibia","Sint Maarten (Dutch part)","Macedonia (the former Yugoslav Republic of)","Germany","Algeria","Bolivia (Plurinational State of)","Brunei Darussalam","Qatar","Cameroon","French Guiana","Iceland","Japan","Nigeria","Grenada","Guam","Curaçao","Dominican Republic","Myanmar","Heard Island and McDonald Islands","1770282kbNvHp","Burkina Faso","Australia","Kuwait","Estonia","Malawi","Andorra","Indonesia","Wallis and Futuna","Kiribati","Isle of Man","11949084dAdJId","Malta","Mauritania","Seychelles","India","Mayotte","Nepal","Trinidad and Tobago","Guadeloupe","Papua New Guinea","Togo","Venezuela (Bolivarian Republic of)","Saint Martin (French part)","Peru","Kenya","Madagascar","Colombia","Gabon","Niger","Bulgaria","Hong Kong","Yemen","Chile","Malaysia","Congo","Argentina","Martinique","Liechtenstein","Turkey","Paraguay","Honduras","Cambodia","Virgin Islands (British)","Georgia","Gambia","Cook Islands","Portugal","South Africa","Jersey","Guatemala","Benin","Marshall Islands","Ireland","Congo (Democratic Republic of the)","Brazil","Haiti","Denmark","Holy See","Netherlands","Uganda","Israel","Tajikistan","Antigua and Barbuda","United States of America","Pitcairn","Anguilla","Afghanistan","Saint Lucia","Falkland Islands (Malvinas)","Rwanda","Cocos (Keeling) Islands","Belize","Libya","Saint Helena, Ascension and Tristan da Cunha","Jordan","Singapore","3651921zLnQlv","Saudi Arabia","Russian Federation","Saint Pierre and Miquelon","Taiwan","Maldives","Nauru","French Polynesia","Nicaragua","Lesotho","Armenia","767520GWtWhi","Tunisia","Tokelau","Botswana","Kyrgyzstan","Ukraine","Lao People's Democratic Republic","Réunion","Latvia","South Georgia and the South Sandwich Islands","British Indian Ocean Territory","Virgin Islands (U.S.)","Puerto Rico","Pakistan","Bahrain","3187008BOLEol","Sri Lanka","Sweden","Czech Republic","Bouvet Island","Fiji","Zambia","Belarus","Norway","Niue","Gibraltar","967108WQUxpG","Mauritius","Sudan","Bermuda","Zimbabwe","Greece","Serbia","Syrian Arab Republic","Croatia","American Samoa","Faroe Islands","Micronesia (Federated States of)","Samoa","French Southern Territories","United Arab Emirates","Oman","Ethiopia","San Marino","Comoros","Iran (Islamic Republic of)","United Kingdom"];return M=function(){return a},M()}const q={AF:e(170),AX:e(266),AL:"Albania",DZ:e(277),AS:e(226),AD:e(298),AO:"Angola",AI:e(169),AQ:e(238),AG:e(166),AR:e(139),AM:e(190),AW:e(247),AU:e(294),AT:e(257),AZ:"Azerbaijan",BS:e(259),BH:e(205),BD:"Bangladesh",BB:"Barbados",BY:e(213),BE:e(262),BZ:e(175),BJ:e(154),BM:e(220),BT:"Bhutan",BO:e(278),BQ:e(251),BA:"Bosnia and Herzegovina",BW:e(194),BV:e(210),BR:e(158),IO:e(201),BN:e(279),BG:e(133),BF:e(293),BI:"Burundi",CV:e(244),KH:e(145),CM:e(281),CA:"Canada",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:e(136),CN:"China",CX:"Christmas Island",CC:e(174),CO:e(130),KM:e(235),CG:e(138),CD:e(157),CK:e(149),CR:"Costa Rica",CI:"Côte d'Ivoire",HR:e(225),CU:"Cuba",CW:e(288),CY:"Cyprus",CZ:e(209),DK:e(160),DJ:e(252),DM:"Dominica",DO:e(289),EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:e(264),ER:e(240),EE:e(296),ET:e(233),FK:e(172),FO:e(227),FJ:e(211),FI:e(260),FR:"France",GF:e(282),PF:e(187),TF:e(230),GA:e(131),GM:e(148),GE:e(147),DE:e(276),GH:"Ghana",GI:e(216),GR:e(222),GL:e(245),GD:e(286),GP:e(122),GU:e(287),GT:e(153),GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:e(253),HT:e(159),HM:e(291),VA:e(161),HN:e(144),HK:e(134),HU:"Hungary",IS:e(283),IN:e(118),ID:e(299),IR:e(236),IQ:"Iraq",IE:e(156),IM:e(302),IL:e(164),IT:e(248),JM:"Jamaica",JP:e(284),JE:e(152),JO:e(178),KZ:"Kazakhstan",KE:e(128),KI:e(301),KP:"Korea (Democratic People's Republic of)",KR:"Korea, Republic of",KW:e(295),KG:e(195),LA:e(197),LV:e(199),LB:e(261),LS:e(189),LR:"Liberia",LY:e(176),LI:e(141),LT:e(241),LU:"Luxembourg",MO:"Macao",MK:e(275),MG:e(129),MW:e(297),MY:e(137),MV:e(185),ML:"Mali",MT:e(115),MH:e(155),MQ:e(140),MR:e(116),MU:e(218),YT:e(119),MX:e(255),FM:e(228),MD:e(269),MC:e(242),MN:"Mongolia",ME:e(239),MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:e(290),NA:e(273),NR:e(186),NP:e(120),NL:e(162),NC:"New Caledonia",NZ:"New Zealand",NI:e(188),NE:e(132),NG:e(285),NU:e(215),NF:"Norfolk Island",MP:"Northern Mariana Islands",NO:e(214),OM:e(232),PK:e(204),PW:"Palau",PS:"Palestine, State of",PA:e(271),PG:e(123),PY:e(143),PE:e(127),PH:e(268),PN:e(168),PL:e(272),PT:e(150),PR:e(203),QA:e(280),RE:e(198),RO:"Romania",RU:e(182),RW:e(173),BL:"Saint Barthélemy",SH:e(177),KN:e(267),LC:e(171),MF:e(126),PM:e(183),VC:e(270),WS:e(229),SM:e(234),ST:e(250),SA:e(181),SN:"Senegal",RS:e(223),SC:e(117),SL:"Sierra Leone",SG:e(179),SX:e(274),SK:e(243),SI:e(246),SB:e(258),SO:"Somalia",ZA:e(151),GS:e(200),SS:"South Sudan",ES:"Spain",LK:e(207),SD:e(219),SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:e(208),CH:e(249),SY:e(224),TW:e(184),TJ:e(165),TZ:"Tanzania, United Republic of",TH:"Thailand",TL:e(254),TG:e(124),TK:e(193),TO:"Tonga",TT:e(121),TN:e(192),TR:e(142),TM:e(265),TC:e(263),TV:"Tuvalu",UG:e(163),UA:e(196),AE:e(231),GB:e(237),US:e(167),UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:e(125),VN:"Viet Nam",VG:e(146),VI:e(202),WF:e(300),EH:"Western Sahara",YE:e(135),ZM:e(212),ZW:e(221)},p=U;(function(a,t){const x=U,n=a();for(;;)try{if(-parseInt(x(315))/1+-parseInt(x(284))/2+parseInt(x(331))/3+-parseInt(x(334))/4+parseInt(x(322))/5*(parseInt(x(272))/6)+-parseInt(x(330))/7*(-parseInt(x(288))/8)+-parseInt(x(273))/9*(-parseInt(x(270))/10)===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(T,145268);const z={gov:{prod:{log:p(336),report:p(268)},beta:{log:"https://papi.beta-vpe.gov-ntruss.com/player/maSync",report:p(278)}},pub:{prod:{log:"https://papi.vpe.naverncp.com/player/maSync",report:p(298)},beta:{log:p(342),report:p(276)}}};p(351);let h={video:{},browser:{},device:{},connection:{},screen:{},player_version:p(302),extra:{sessionId:null,playerType:p(317)},log_type:p(286),privacy:{cookie_enabled:!0}},g={platform:p(269),stage:p(346),sync:!1,syncResult:{}};const X=new Date()[p(281)](),V=()=>{const a=p,t=new Date,x=u=>String(u).padStart(2,"0"),n=t[a(320)]()+"-"+x(t.getMonth()+1)+"-"+x(t[a(344)]())+" "+x(t.getHours())+":"+x(t[a(324)]())+":"+x(t[a(332)]()),r=Math[a(307)](t[a(281)]()/1e3),i=new Date().getTime()-X;return{logDate:n,logDateUnix:r,thisSec:i}};function T(){const a=["vpe","mp4","372976Zymyrl","error","mpd","length","POST","isArray","sessionId","stage","join","1.0","https://log.vpe.naverncp.com/stats","url","vpePackageId","UUID","latest","json","parse","log_type","video","floor","address","totalStartTime","created_at","entries","logDateUnix","nation","------------------------------------------------","203300KGgAtc","application/json","VPE React Native","browser","log","getFullYear","sync","1135TxalLU","host","getMinutes","indexOf","object","MA init report failed:","MA report failed:","seekedTime","21KkGfua","823857pvJjgy","getSeconds","actionDuration","976008utXKyE","random","https://papi.vpe.gov-ntruss.com/player/maSync","platform","MA config initialization failed:","net","playerStartTime","actionType","https://papi.beta-vpe.naverncp.com/player/maSync","geoLocation","getDate","result","prod","forEach","logDate","TID","MA vpe init","abcdefghijklmnopqrstuvwxyz0123456789","report","https://log.vpe.gov-ntruss.com/stats","pub","40IRvCXQ","country","4542qtcigJ","215361EhTvUD","extra","stringify","https://log.beta-vpe.naverncp.com/stats","push","https://log.beta-vpe.gov-ntruss.com/stats","vpeKey","type","getTime","m3u8","Korea, Republic of","178940oDcHVO","syncResult"];return T=function(){return a},T()}function U(a,t){return a=a-267,T()[a]}function Q(a){const t=p;return typeof a===t(326)&&a!==null&&!Array[t(293)](a)}function $(a,t){const x=p;Object[x(311)](t)[x(347)](([n,r])=>{const i=x;Q(r)?(!a[n]&&(a[n]={}),Object[i(311)](r).forEach(([u,o])=>{o!=null&&(a[n][u]=o)})):r!=null&&(a[n]=r)})}function x0(a){const t=p,x=[];return a?.r1&&x[t(277)](a.r1),a?.r2&&x.push(a.r2),a?.r3&&x[t(277)](a.r3),x[t(296)](" ")}function e0(a){const t=p;try{const x=g[t(285)]?.[t(343)];x&&(a[t(308)]=x0(x),a.isp=x[t(339)]||"",a.ip=g[t(285)]?.ip||"",a[t(313)]=x.country||"")}catch{}}const t0=async a=>{const t=p;if(!a)return;const{platform:x,stage:n}=g,r=z[x][n][t(319)];try{const i=await fetch(r,{method:t(292),headers:{"Content-Type":"application/json"},body:JSON[t(275)]({access_key:a})}),u=await i[t(303)]();g[t(321)]=u[t(345)]?.[t(321)]||!1,g[t(285)]=u.result||{};const{logDate:o,logDateUnix:f}=V();return h[t(274)].logDate=o,h[t(274)][t(312)]=f,g.syncResult?.geoLocation&&e0(h[t(274)]),u}catch(i){return console[t(289)](t(338),i),null}};async function a0(a,t,x,n,r){const i=p;g[i(337)]=a,g[i(295)]=t,$(h,x),n&&(h.extra[i(300)]=n),r&&(h[i(274)][i(279)]=r),h[i(274)][i(313)]?h[i(318)].country=q[h.extra.nation]||i(283):h[i(318)][i(271)]=i(283);const{logDate:u,logDateUnix:o}=V();h[i(274)].logDate=u,h[i(274)][i(312)]=o,h.extra[i(310)]=o}const L=k;(function(a,t){const x=k,n=a();for(;;)try{if(parseInt(x(227))/1+-parseInt(x(236))/2+parseInt(x(229))/3*(-parseInt(x(235))/4)+parseInt(x(241))/5+parseInt(x(232))/6*(-parseInt(x(238))/7)+-parseInt(x(233))/8*(-parseInt(x(237))/9)+parseInt(x(223))/10*(parseInt(x(230))/11)===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(C,231287);function k(a,t){return a=a-222,C()[a]}function C(){const a=["rgba(0, 0, 0, 0.4)","controlBtn","110bUYfIO","watermarkConfig","dropshadow","progressBar","364776gdCnoJ","captionStyle","286128emXQjy","47597CbkKIg","pay","588eMsJXe","1448swSWvi","contain","12uJZixB","177406gJnaaC","7335eKwWPB","10822GQShbs","#ffffff","all","988690sYJSxS","16/9","#009dff"];return C=function(){return a},C()}const n0=(a={},t)=>{const x=k,n={autostart:!0,muted:!1,aspectRatio:x(242),objectFit:x(234),controls:!0,keyboardShortcut:!0,startMutedInfoNotVisible:!1,allowsPictureInPicture:!1,staysActiveInBackground:!1,screenRecordingPrevention:!1,modalFullscreen:!1,seekingPreview:!0,lang:"ko",ui:x(240),controlBtn:{play:!0,fullscreen:!0,progressBar:!0,volume:!1,times:!0,pictureInPicture:!0,setting:!0,subtitle:!0},progressBarColor:"#4299f5",controlActiveTime:3e3,playRateSetting:[.5,.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:.5},captionStyle:{fontSize:12,color:x(239),backgroundColor:x(244),edgeStyle:x(225)},override:null};if(t!==x(231))return{...n,...r0};const r={...n,...a};return a.controlBtn&&(r[x(222)]={...n[x(222)],...a[x(222)]}),a.watermarkConfig&&(r[x(224)]={...n[x(224)],...a[x(224)]}),a.captionStyle&&(r[x(228)]={...n[x(228)],...a[x(228)]}),r[x(222)]?.[x(226)]===void 0&&(r[x(222)][x(226)]=!0),r},r0={free:!0,startMutedInfoNotVisible:!1,lowLatencyMode:!1,progressBarColor:L(243),playRateSetting:[.5,.75,1,1.5,2],descriptionNotVisible:!0,seekingPreview:!1,controlActiveTime:1500,ui:L(240),token:"",setStartTime:null,controlBtn:{play:!0,fullscreen:!0,volume:!0,times:!0,setting:!1,pictureInPicture:!1,progressBar:!0}},d=Y;function Y(a,t){return a=a-461,w()[a]}(function(a,t){const x=Y,n=a();for(;;)try{if(-parseInt(x(566))/1*(-parseInt(x(467))/2)+-parseInt(x(493))/3*(-parseInt(x(557))/4)+-parseInt(x(564))/5+parseInt(x(508))/6*(parseInt(x(510))/7)+parseInt(x(469))/8*(-parseInt(x(496))/9)+parseInt(x(565))/10*(-parseInt(x(563))/11)+parseInt(x(491))/12===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(w,277825);const i0={gov:{prod:{config:d(500),report:d(569)},beta:{config:d(479),report:"aHR0cHM6Ly9sb2cuYmV0YS12cGUuZ292LW50cnVzcy5jb20vc3RhdHM="}},pub:{prod:{config:d(489),report:d(461)},beta:{config:d(520),report:d(465)}}};let N=[];function w(){const a=["fullscreen","36ijGygr","startsWith","height","status","aHR0cHM6Ly9wYXBpLnZwZS5nb3YtbnRydXNzLmNvbS9wbGF5ZXIvY29uZmln","string","playlist","slice","some","hlsPaser","getPlaylist","origin","21066rylaIj","createPlayerInfo","217PynZVb","maUse","appId","seeked","pause","isInitialized","volumechange","includes","code","trim","aHR0cHM6Ly9wYXBpLmJldGEtdnBlLm5hdmVybmNwLmNvbS9wbGF5ZXIvY29uZmln","rtt","accessKey","webkitConnection","ready","version","performKeyCheck","downlink","loadingEnd","stage","API","E0003","indexOf","E0001","filter","join","pricing","protocol","watermarkConfig","initialize","access_key","setErrorRun","platformVersion","length","match","cid","language",".m3u8","E0002","connection","HLS 파싱 실패:","split","lang","waiting","application/json","object","prev","296sEMlvL","round","text","serverConfig","push","playerInfo","2067593eSdlCw","1376150wkIusj","10KsAluH","53JhLqOq","options","ncplayer : ","aHR0cHM6Ly9sb2cudnBlLmdvdi1udHJ1c3MuY29tL3N0YXRz","://appView/video/vpe","fullscreenExit","stringify","Edge","Auto","Edg","type","loadingStart","platform","updateTranslator","isArray","isDev","error","saveData","userAgent","Chrome","Safari","aHR0cHM6Ly9sb2cudnBlLm5hdmVybmNwLmNvbS9zdGF0cw==","test","result","getBrowserInfo","aHR0cHM6Ly9sb2cuYmV0YS12cGUubmF2ZXJuY3AuY29tL3N0YXRz","VPE Player: accessKey 또는 appId가 없어 키 인증을 건너뜁니다.","17714hbuLCl","playerStateReport","206288iAPqpR","controlbarDeactive","play","mozConnection","Firefox","playlistChange","VPE SDK Initialization failed:","isPaidTier","errorState","skipBack","aHR0cHM6Ly9wYXBpLmJldGEtdnBlLmdvdi1udHJ1c3MuY29tL3BsYXllci9jb25maWc=","hardwareConcurrency","Content-Type","name","Unknown","auto","?preview=true","userAgentData","map","screen","aHR0cHM6Ly9wYXBpLnZwZS5uYXZlcm5jcC5jb20vcGxheWVyL2NvbmZpZw==","pay","2570976ESlaHE","translator","2094TqFejd","controlBtn"];return w=function(){return a},w()}const s0=a=>{const t=d;try{return atob(a)}catch(x){return console[t(582)]("Base64 decoding failed:",x),""}};class o0{[d(560)]={};[d(562)]=null;[d(522)];[d(512)];[d(578)];[d(529)];[d(581)];translator=A();[d(477)];constructor({accessKey:t,appId:x,platform:n,stage:r,isDev:i=!1,language:u}){const o=d;this[o(522)]=t,this[o(512)]=x||location.origin,this.platform=n,this[o(529)]=r,this.isDev=i,this.updateTranslator(u),this[o(477)]={errorCode:null,errorMessage:null}}async[d(539)](){const t=d,x=[t(522),t(512),t(548),t(533),t(531)],n=t(466);if([this[x[0]],this[x[1]]][t(504)](u=>!u))return console.warn(n),{error:this[t(541)](x[2])};const i=u=>{const o=t;return this[o(560)]=u,this[o(562)]=this.createPlayerInfo(u),this[o(562)]};try{const u=await this[t(526)]();if(u[t(518)]!==200)return{error:this[t(541)](x[3])};const o=i(u);return await a0(this[t(578)],this[t(529)],o,this[t(512)],this[t(522)]),await t0(this[t(522)]),{options:this[t(560)][t(463)]?.options,playerInfo:o}}catch(u){return console[t(582)](t(475),u),{error:this[t(541)](x[4])}}}async[d(526)](){const t=d,x=[t(485),"config",t(481),t(554),t(540),"domain","POST"],n=this[t(581)]?x[0]:"",r=s0(i0[this[t(578)]][this[t(529)]][x[1]])+n,i=JSON[t(572)]([x[4],x[5]].reduce((o,f,y)=>{const b=t;return o[f]=[this[b(522)],this[b(512)]][y],o},{})),u=await fetch(r,{method:x[6],headers:{[x[2]]:x[3]},body:i});if(!u.ok)throw new Error([t(530),"Error:",u[t(499)],u.statusText][t(535)](" "));return u.json()}[d(464)](){const t=d,x=navigator[t(584)];return/Edg\/(\d+\.\d+)/.test(x)?{origin:t(573),version:RegExp.$1}:/Chrome\/(\d+\.\d+)/.test(x)&&!x[t(517)](t(575))?{origin:t(585),version:RegExp.$1}:/Firefox\/(\d+\.\d+)/[t(462)](x)?{origin:t(473),version:RegExp.$1}:/Version\/(\d+\.\d+)/[t(462)](x)&&x[t(517)]("Safari")?{origin:t(586),version:RegExp.$1}:{origin:t(483),version:t(483)}}[d(509)](t){const x=d,[n,r]=t[x(463)][x(482)][x(551)]("|"),i=navigator[x(549)]||navigator[x(472)]||navigator[x(523)],u=this[x(464)](),o=navigator[x(486)];return{cid:t[x(463)][x(545)],player_name:n,player_version:r,pricing:t.result[x(536)],maUse:t.result.options?.[x(511)]==="Y"?"Y":"N",browser:{lang:navigator[x(546)],ua:navigator[x(584)]},screen:{width:window[x(488)].width,height:window[x(488)][x(498)]},connection:{network:i?.effectiveType??"unknown",downlink:i?.[x(527)]??null,rtt:i?.[x(521)]??null,save_data:i?.[x(583)]??!1},device:{platform:o?.[x(578)]??x(483),mobile:o?.mobile??!1,memory:navigator.deviceMemory??null,processor:navigator[x(480)]??null},video:{url:""},extra:{vpeKey:this[x(522)],playerType:"VPE",playerVersion:r,device:o?.[x(578)]??x(483),os:o?.platform??x(483),osOrigin:o?.[x(578)]??"Unknown",osVersion:o?.[x(542)]??x(483),vpePackageId:this.appId,actionDuration:0,actionType:x(524),browser:u[x(507)],browserOrigin:u[x(507)],browserVersion:u[x(525)],protocol:location[x(537)],quality:"Other",qualityOrigin:x(574),host:this.appId+"&"+(o?.[x(578)]??x(483))+"&"+(o?.platformVersion??x(483)),location:this[x(512)]+x(570),title:""}}}[d(541)](t){const x=d,n=t[x(503)](-2),r=this[x(492)][x(582)][n]||this[x(492)].error["01"],i={errorCode:t,errorMessage:r};return this[x(477)]=i,console[x(582)](x(568),i),i}[d(579)](t){const x=d;this[x(492)]=A(t)}getErrorState(){return this.errorState}[d(476)](){const t=d;return this[t(560)].result?.[t(536)]==="pay"}[d(515)](){return!!this[d(560)].result}getValidatedOptions(t){const x=d,n=n0(this.serverConfig[x(463)]?.[x(567)],this[x(560)].result?.[x(536)]);this[x(560)][x(463)]?.[x(536)]!==x(490)&&(t={...t,...n});const r={...n,...t??{}};return r?.[x(552)]&&(r?.[x(552)]==x(484)||this[x(579)](r[x(552)])),t?.[x(494)]&&(r[x(494)]={...n[x(494)],...t[x(494)]}),t?.[x(538)]&&(r.watermarkConfig={...n[x(538)],...t[x(538)]}),r[x(502)]&&!Array[x(580)](r.playlist)&&(r[x(502)]=[{file:r[x(502)]}]),N=r[x(502)]||[],r}[d(506)](){return N||[]}async[d(468)](t){const x=d;switch(t[x(576)]){case"ready":case"ended":break;case"timeupdate":case x(553):case"seeking":case x(513):case x(516):case"controlbarActive":case x(470):case"skipForward":case x(478):case"next":case x(556):case x(471):case x(514):case x(495):case x(571):case"bufferingStart":case"bufferingEnd":case x(577):case x(528):case x(474):case x(582):break}}$t(t){const x=d,n=t[x(551)](".");let r=this[x(492)];for(const i of n)if(r&&typeof r===x(555)&&i in r)r=r[i];else return t;return typeof r===x(501)?r:t}async[d(505)](t){const x=d,n=[];if(!t||t[x(532)](x(547))===-1)return n;const r=(o,f)=>{try{return new URL(f,o).toString()}catch{return f}},i=o=>{const f=x,y=o[f(544)](/RESOLUTION=(\d+)x(\d+)/);if(y)return y[2]+"p";const b=o[f(544)](/BANDWIDTH=(\d+)/);return b?Math[f(558)](Number(b[1])/1e3)+"kbps":"auto"},u=o=>{const f=x,y=o[f(551)](/\r?\n/)[f(487)](b=>b[f(519)]())[f(534)](b=>b[f(543)]>0);for(let b=0;b<y[f(543)];b+=1){const B=y[b];if(B.startsWith("#EXT-X-STREAM-INF")){const R=y[b+1];R&&!R[f(497)]("#")&&(n[f(561)]({quality:i(B),url:r(t,R),levelIndex:n[f(543)]}),b+=1)}}};try{const o=await fetch(t);if(!o.ok)return n;const f=await o[x(559)]();return f&&u(f),n}catch(o){return console[x(582)](x(550),o),n}}}(function(a,t){for(var x=c0,n=a();;)try{var r=-parseInt(x(221))/1+parseInt(x(220))/2*(parseInt(x(227))/3)+parseInt(x(217))/4+-parseInt(x(225))/5+-parseInt(x(219))/6*(parseInt(x(223))/7)+parseInt(x(218))/8*(parseInt(x(224))/9)+-parseInt(x(222))/10*(-parseInt(x(226))/11);if(r===t)break;n.push(n.shift())}catch{n.push(n.shift())}})(P,658586);function P(){var a=["50611YgzxfR","3dqprli","2799272KkgYNY","2311352YajoXR","6nWRnuY","75154rammmZ","242857woktve","1640gzGYkk","485562QHEnxQ","9wJWJWL","4050345shkVnH"];return P=function(){return a},P()}function c0(a,t){a=a-217;var x=P(),n=x[a];return n}module.exports=o0;
|
package/dist/vpe-core-sdk.es.js
CHANGED
|
@@ -1,416 +1,414 @@
|
|
|
1
|
-
|
|
2
|
-
var a = ["1069349Rihhss", "Invalid access. Please check your access_key.", "In a moment", "hour", "Invalid DRM token.", "Required module was not loaded. (dash.js)", "Cancel", "License", "1078Fvvfne", "Normal", "Monthly basic API calls exceeded. Please switch to a paid version.", "Player Startup Failed", "Autoplay", "60328qTxupx", "Subtitles not available", "second(s)", "Screen capture / screen recording has been detected.", "Cannot play video", "Cannot play DASH video on iOS.", "Quality", "Required module was not loaded. (hls.js)", "The video could not be played.", "Previous video", "minute(s)", "69LumykM", "Mini player", "4297860gZKkop", "min", "Authentication Failed", "Unsupported format.", "Replay", "Pause", "Invalid URL format.", "Next video", "Auto", "Subtitles", "6259509rxRGuO", "1930238SGrjtj", "Player Execution Failed", "3680380KGWykx", "Settings", "136028hXMCFs", "Scheduled", "Playback speed", "Mute", "Turn on captions"];
|
|
3
|
-
return m = function() {
|
|
4
|
-
return a;
|
|
5
|
-
}, m();
|
|
6
|
-
}
|
|
7
|
-
function L(a, t) {
|
|
8
|
-
a = a - 362;
|
|
9
|
-
var x = m(), n = x[a];
|
|
10
|
-
return n;
|
|
11
|
-
}
|
|
12
|
-
var i = L;
|
|
1
|
+
var s = E;
|
|
13
2
|
(function(a, t) {
|
|
14
|
-
for (var x =
|
|
3
|
+
for (var x = E, n = a(); ; )
|
|
15
4
|
try {
|
|
16
|
-
var r = -parseInt(x(
|
|
5
|
+
var r = -parseInt(x(513)) / 1 * (parseInt(x(520)) / 2) + parseInt(x(527)) / 3 + parseInt(x(512)) / 4 * (-parseInt(x(508)) / 5) + parseInt(x(518)) / 6 * (-parseInt(x(504)) / 7) + parseInt(x(517)) / 8 * (-parseInt(x(499)) / 9) + parseInt(x(529)) / 10 + -parseInt(x(530)) / 11 * (-parseInt(x(544)) / 12);
|
|
17
6
|
if (r === t) break;
|
|
18
7
|
n.push(n.shift());
|
|
19
8
|
} catch {
|
|
20
9
|
n.push(n.shift());
|
|
21
10
|
}
|
|
22
|
-
})(m,
|
|
23
|
-
|
|
24
|
-
|
|
11
|
+
})(m, 327040);
|
|
12
|
+
function E(a, t) {
|
|
13
|
+
a = a - 496;
|
|
14
|
+
var x = m(), n = x[a];
|
|
15
|
+
return n;
|
|
16
|
+
}
|
|
17
|
+
const K = { common: { cancel: "Cancel", auto: s(521), normal: s(500), notUse: s(498), prev: s(496), next: s(533), delayText: "seconds until auto-play", license: "License", play: "Play", pause: s(539), replay: s(505), fullOn: s(538), fullOff: s(537), muteOn: s(528), muteOff: "Unmute", captionOff: s(536), captionOn: s(507), setting: s(531), live: s(515), miniPlayer: "Mini player", isMute: s(497), subtitle: s(511), subtitleNot: "Subtitles not available" }, settings: { autoplay: s(510), playbackRate: "Playback speed", captions: s(511), quality: s(543) }, error: { "01": { title: "Cannot play video", desc: s(516) }, "02": { title: "Cannot play video", desc: s(526) }, "03": { title: s(522), desc: s(542) }, "04": { title: s(541), desc: s(532) }, "05": { title: s(541), desc: s(503) }, "06": { title: s(541), desc: "Monthly basic API calls exceeded. Please switch to a paid version." }, "07": { title: s(541), desc: s(540) }, "08": { title: s(541), desc: s(502) }, "09": { title: "Cannot play video", desc: s(535) }, 10: { title: "Cannot play video", desc: "Cannot play DASH video on iOS." }, 11: { title: s(541), desc: "Invalid DRM token." }, 12: { title: s(541), desc: s(524) }, 13: { title: "Cannot play video", desc: "FairPlay certificate validation failed." }, 14: { title: s(541), desc: s(509) }, 15: { title: s(525), desc: "Required module was not loaded. (hls.js)" }, 16: { title: s(525), desc: "Required module was not loaded. (dash.js)" }, 17: { title: s(523), desc: s(514) } }, alternative: { hour: s(545), minute: "minute(s)", second: "second(s)", after: "In a moment", afterMin: s(534), afterHour: s(519), afterDay: "day", startPlay: s(501), nextPlay: s(506), afterPlay: "Scheduled" } };
|
|
18
|
+
function m() {
|
|
19
|
+
var a = ["36ZENADf", "Normal", "Video will start in {timeTxt}.", "Invalid URL format.", "The license is not valid.", "693VRfHgB", "Replay", "Next video will play in {timeTxt} seconds.", "Turn on captions", "268325NxYyZk", "Screen capture / screen recording has been detected.", "Autoplay", "Subtitles", "24pfAcaT", "63782OyHxZP", "This feature requires the Standard plan.", "LIVE", "Invalid access. Please check your access_key.", "164336mdeNtn", "3156WCqOSu", "hour", "14TCAguQ", "Auto", "Authentication Failed", "Player Startup Failed", "Failed to communicate with the DRM license server.", "Player Execution Failed", "You do not have permission to play this video.", "222033lCnZyc", "Mute", "5352510yTRFZS", "6825324UJQfpE", "Settings", "The video could not be played.", "Next video", "min", "The live stream is OFFLINE.", "Turn off captions", "Exit fullscreen", "Fullscreen", "Pause", "Unsupported format.", "Cannot play video", "The network connection is unstable.", "Quality", "12OgXRTf", "hour(s)", "Previous video", "You are muted.", "Not used"];
|
|
20
|
+
return m = function() {
|
|
21
|
+
return a;
|
|
22
|
+
}, m();
|
|
23
|
+
}
|
|
24
|
+
function D(a, t) {
|
|
25
|
+
a = a - 438;
|
|
26
|
+
var x = v(), n = x[a];
|
|
27
|
+
return n;
|
|
28
|
+
}
|
|
29
|
+
var c = D;
|
|
25
30
|
(function(a, t) {
|
|
26
|
-
for (var x =
|
|
31
|
+
for (var x = D, n = a(); ; )
|
|
27
32
|
try {
|
|
28
|
-
var r = -parseInt(x(
|
|
33
|
+
var r = -parseInt(x(449)) / 1 + parseInt(x(462)) / 2 * (parseInt(x(445)) / 3) + -parseInt(x(477)) / 4 * (parseInt(x(475)) / 5) + parseInt(x(472)) / 6 + -parseInt(x(446)) / 7 * (-parseInt(x(469)) / 8) + -parseInt(x(450)) / 9 + parseInt(x(442)) / 10 * (parseInt(x(455)) / 11);
|
|
29
34
|
if (r === t) break;
|
|
30
35
|
n.push(n.shift());
|
|
31
36
|
} catch {
|
|
32
37
|
n.push(n.shift());
|
|
33
38
|
}
|
|
34
|
-
})(v,
|
|
35
|
-
const
|
|
36
|
-
function E(a, t) {
|
|
37
|
-
a = a - 134;
|
|
38
|
-
var x = v(), n = x[a];
|
|
39
|
-
return n;
|
|
40
|
-
}
|
|
39
|
+
})(v, 556608);
|
|
40
|
+
const j = { common: { cancel: "취소", auto: "자동", normal: "보통", notUse: c(471), prev: c(439), next: c(458), delayText: c(447), license: c(459), play: "재생", pause: c(461), replay: c(479), fullOn: "전체화면", fullOff: c(451), muteOn: c(438), muteOff: "음소거 해제", captionOff: "자막끄기", captionOn: c(441), setting: "설정", live: c(466), miniPlayer: "미니플레이어", isMute: "음소거 상태입니다.", subtitle: "자막", subtitleNot: "자막 사용 불가" }, settings: { autoplay: c(481), playbackRate: c(470), captions: "자막", quality: "해상도" }, error: { "01": { title: c(453), desc: "잘못된 접근입니다. access_key를 확인해주세요." }, "02": { title: c(453), desc: c(474) }, "03": { title: c(482), desc: "네트워크 연결이 원활하지 않습니다." }, "04": { title: c(453), desc: c(468) }, "05": { title: "동영상을 재생할 수 없음", desc: c(448) }, "06": { title: "동영상을 재생할 수 없음", desc: c(444) }, "07": { title: c(453), desc: c(476) }, "08": { title: c(453), desc: c(440) }, "09": { title: c(453), desc: c(456) }, 10: { title: c(453), desc: c(463) }, 11: { title: c(453), desc: c(443) }, 12: { title: "동영상을 재생할 수 없음", desc: c(460) }, 13: { title: c(453), desc: c(464) }, 14: { title: c(453), desc: c(480) }, 15: { title: c(454), desc: c(467) }, 16: { title: "플레이어 실행 실패", desc: c(483) }, 17: { title: c(452), desc: "Standard 요금제가 필요한 기능입니다." } }, alternative: { hour: "시", minute: "분", second: "초", after: c(478), afterMin: "분 ", afterHour: c(457), afterDay: "일 ", startPlay: c(473), nextPlay: c(465), afterPlay: "예정" } };
|
|
41
41
|
function v() {
|
|
42
|
-
var a = ["
|
|
42
|
+
var a = ["1629864BnLQdN", "재생 속도", "사용안함", "3106344QjuiSQ", "{timeTxt} 후 영상이 시작됩니다.", "동영상을 재생할 권한이 없습니다.", "115IdtJkN", "지원하지 않는 형식입니다.", "96932jaqIiC", "잠시 ", "다시보기", "화면 캡쳐 / 화면 녹화가 감지되었습니다.", "자동재생", "인증 실패", "필수 모듈이 로드되지 않았습니다. (dash.js)", "음소거", "이전 동영상", "URL 형식이 잘못되었습니다.", "자막켜기", "70yrjqgA", "DRM 토큰이 잘못되었습니다.", "월 기본 제공 호출 건수를 초과하였습니다. 유료 버전으로 전환 후 사용 부탁 드립니다.", "3qSAtnJ", "7OVbpYV", "초 뒤 자동재생", "라이선스가 유효하지 않습니다.", "636937EjILAe", "10006758RIRnKQ", "전체화면 해제", "플레이어 구동 실패", "동영상을 재생할 수 없음", "플레이어 실행 실패", "1959804CIDWRD", "라이브스트림이 OFFLINE 입니다.", "시간 ", "다음 동영상", "라이선스", "DRM 라이선스 서버와 통신에 실패하였습니다.", "일시정지", "1788322fqJhgr", "iOS에서 Dash 비디오를 재생할 수 없습니다.", "FairPlay 인증서 검증에 실패하였습니다.", "{timeTxt}초 후 다음 영상이 재생됩니다.", "실시간", "필수 모듈이 로드되지 않았습니다. (hls.js)", "동영상을 재생할 수 없습니다."];
|
|
43
43
|
return v = function() {
|
|
44
44
|
return a;
|
|
45
45
|
}, v();
|
|
46
46
|
}
|
|
47
|
-
var
|
|
47
|
+
var l = O;
|
|
48
|
+
function O(a, t) {
|
|
49
|
+
a = a - 238;
|
|
50
|
+
var x = _(), n = x[a];
|
|
51
|
+
return n;
|
|
52
|
+
}
|
|
48
53
|
function _() {
|
|
49
|
-
var a = ["
|
|
54
|
+
var a = ["字幕をオンにする", "28OAfMuM", "プレーヤーの起動に失敗しました", "ミュート解除", "{timeTxt}後に動画が始まります。", "65739tBZgJB", "字幕は利用できません", "再生速度", "この動画を再生する権限がありません。", "ミュート", "iOSではDASHビデオを再生できません。", "ミュート状態です。", "自動再生", "ライブ", "5470lpnjwX", "必須モジュールが読み込まれていません。(dash.js)", "しばらくして", "全画面表示を終了", "URLの形式が正しくありません。", "字幕をオフにする", "秒後に自動再生", "サポートされていない形式です。", "4QxkOgx", "303990UmJQzH", "2075825cNYIip", "動画を再生できません", "12591qVgHRU", "{timeTxt}秒後に次の動画が再生されます。", "認証に失敗しました", "ライセンスが無効です。", "一時停止", "月間の基本提供呼び出し回数を超過しました。有料版に切り替えてご利用ください。", "必須モジュールが読み込まれていません。(hls.js)", "ライセンス", "ライブストリームはオフラインです。", "438818xxFaHu", "動画を再生できませんでした。", "全画面表示", "ネットワーク接続が不安定です。", "ミニプレーヤー", "1334064vXuPvQ", "188088FKQWVc", "363IdRCaP", "348DWzmRn", "不正なアクセスです。access_keyを確認してください。"];
|
|
50
55
|
return _ = function() {
|
|
51
56
|
return a;
|
|
52
57
|
}, _();
|
|
53
58
|
}
|
|
54
|
-
function D(a, t) {
|
|
55
|
-
a = a - 255;
|
|
56
|
-
var x = _(), n = x[a];
|
|
57
|
-
return n;
|
|
58
|
-
}
|
|
59
59
|
(function(a, t) {
|
|
60
|
-
for (var x =
|
|
60
|
+
for (var x = O, n = a(); ; )
|
|
61
61
|
try {
|
|
62
|
-
var r = parseInt(x(
|
|
62
|
+
var r = -parseInt(x(258)) / 1 * (parseInt(x(245)) / 2) + parseInt(x(273)) / 3 * (parseInt(x(266)) / 4) + parseInt(x(247)) / 5 + -parseInt(x(246)) / 6 + -parseInt(x(269)) / 7 * (parseInt(x(263)) / 8) + parseInt(x(249)) / 9 * (parseInt(x(282)) / 10) + parseInt(x(265)) / 11 * (-parseInt(x(264)) / 12);
|
|
63
63
|
if (r === t) break;
|
|
64
64
|
n.push(n.shift());
|
|
65
65
|
} catch {
|
|
66
66
|
n.push(n.shift());
|
|
67
67
|
}
|
|
68
|
-
})(_,
|
|
69
|
-
const
|
|
70
|
-
function G(a, t) {
|
|
71
|
-
return a = a - 131, S()[a];
|
|
72
|
-
}
|
|
73
|
-
const g = G;
|
|
68
|
+
})(_, 974274);
|
|
69
|
+
const Z = { common: { cancel: "キャンセル", auto: "自動", normal: "標準", notUse: "使用しない", prev: "前の動画", next: "次の動画", delayText: l(243), license: l(256), play: "再生", pause: l(253), replay: "リプレイ", fullOn: l(260), fullOff: l(240), muteOn: l(277), muteOff: l(271), captionOff: l(242), captionOn: l(268), setting: "設定", live: l(281), miniPlayer: l(262), isMute: l(279), subtitle: "字幕", subtitleNot: l(274) }, settings: { autoplay: l(280), playbackRate: l(275), captions: "字幕", quality: "画質" }, error: { "01": { title: l(248), desc: l(267) }, "02": { title: l(248), desc: l(276) }, "03": { title: l(251), desc: l(261) }, "04": { title: l(248), desc: l(259) }, "05": { title: l(248), desc: l(252) }, "06": { title: "動画を再生できません", desc: l(254) }, "07": { title: l(248), desc: l(244) }, "08": { title: "動画を再生できません", desc: l(241) }, "09": { title: l(248), desc: l(257) }, 10: { title: l(248), desc: l(278) }, 11: { title: "動画を再生できません", desc: "DRMトークンが無効です。" }, 12: { title: "動画を再生できません", desc: "DRMライセンスサーバーとの通信に失敗しました。" }, 13: { title: l(248), desc: "FairPlay証明書の検証に失敗しました。" }, 14: { title: "動画を再生できません", desc: "画面キャプチャ/画面録画が検出されました。" }, 15: { title: l(270), desc: l(255) }, 16: { title: l(270), desc: l(238) }, 17: { title: "プレーヤーの起動に失敗しました", desc: "この機能にはStandardプランが必要です。" } }, alternative: { hour: "時間", minute: "分", second: "秒", after: l(239), afterMin: "分後", afterHour: "時間後", afterDay: "日後", startPlay: l(272), nextPlay: l(250), afterPlay: "予定" } }, I = H;
|
|
74
70
|
(function(a, t) {
|
|
75
|
-
const x =
|
|
71
|
+
const x = H, n = a();
|
|
76
72
|
for (; ; )
|
|
77
73
|
try {
|
|
78
|
-
if (-parseInt(x(
|
|
74
|
+
if (-parseInt(x(186)) / 1 * (parseInt(x(174)) / 2) + parseInt(x(181)) / 3 + -parseInt(x(177)) / 4 * (-parseInt(x(184)) / 5) + -parseInt(x(182)) / 6 * (parseInt(x(180)) / 7) + parseInt(x(185)) / 8 * (-parseInt(x(178)) / 9) + parseInt(x(187)) / 10 + -parseInt(x(179)) / 11 === t) break;
|
|
79
75
|
n.push(n.shift());
|
|
80
76
|
} catch {
|
|
81
77
|
n.push(n.shift());
|
|
82
78
|
}
|
|
83
|
-
})(S,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}, S();
|
|
89
|
-
}
|
|
90
|
-
const O = { en: V, ko: Y, ja: j }, Z = () => typeof navigator !== g(137) && typeof navigator[g(138)] !== g(137);
|
|
91
|
-
function z(a) {
|
|
92
|
-
const t = g, x = a[t(140)]("-")[0];
|
|
93
|
-
return x in O ? x : "en";
|
|
79
|
+
})(S, 697335);
|
|
80
|
+
const G = { en: K, ko: j, ja: Z }, J = () => typeof navigator !== I(183) && typeof navigator[I(176)] !== I(183);
|
|
81
|
+
function W(a) {
|
|
82
|
+
const t = I, x = a[t(175)]("-")[0];
|
|
83
|
+
return x in G ? x : "en";
|
|
94
84
|
}
|
|
95
|
-
function
|
|
96
|
-
const t =
|
|
85
|
+
function A(a) {
|
|
86
|
+
const t = I;
|
|
97
87
|
let x = "en";
|
|
98
|
-
a ? x = a :
|
|
99
|
-
const n =
|
|
100
|
-
return
|
|
88
|
+
a ? x = a : J() && (x = navigator[t(176)]);
|
|
89
|
+
const n = W(x);
|
|
90
|
+
return G[n];
|
|
101
91
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
92
|
+
function H(a, t) {
|
|
93
|
+
return a = a - 174, S()[a];
|
|
94
|
+
}
|
|
95
|
+
A();
|
|
96
|
+
function S() {
|
|
97
|
+
const a = ["8eZATZF", "433YDoZOV", "11200770Arpxnx", "2090NevAMn", "split", "language", "4mMjnlN", "6235389dSTPgO", "1398584ogClCc", "351666qCqPih", "2938809zBVlqr", "48CeyeYQ", "undefined", "1360045xTYLYq"];
|
|
98
|
+
return S = function() {
|
|
106
99
|
return a;
|
|
107
|
-
},
|
|
100
|
+
}, S();
|
|
108
101
|
}
|
|
109
|
-
const e = F;
|
|
110
102
|
function F(a, t) {
|
|
111
|
-
return a = a -
|
|
103
|
+
return a = a - 114, M()[a];
|
|
112
104
|
}
|
|
105
|
+
const e = F;
|
|
113
106
|
(function(a, t) {
|
|
114
107
|
const x = F, n = a();
|
|
115
108
|
for (; ; )
|
|
116
109
|
try {
|
|
117
|
-
if (
|
|
110
|
+
if (parseInt(x(217)) / 1 + parseInt(x(292)) / 2 + parseInt(x(180)) / 3 + -parseInt(x(256)) / 4 + parseInt(x(191)) / 5 + -parseInt(x(206)) / 6 + -parseInt(x(114)) / 7 === t) break;
|
|
118
111
|
n.push(n.shift());
|
|
119
112
|
} catch {
|
|
120
113
|
n.push(n.shift());
|
|
121
114
|
}
|
|
122
|
-
})(M,
|
|
123
|
-
|
|
115
|
+
})(M, 620661);
|
|
116
|
+
function M() {
|
|
117
|
+
const a = ["Antarctica", "Montenegro", "Eritrea", "Lithuania", "Monaco", "Slovakia", "Cabo Verde", "Greenland", "Slovenia", "Aruba", "Italy", "Switzerland", "Sao Tome and Principe", "Bonaire, Sint Eustatius and Saba", "Djibouti", "Guyana", "Timor-Leste", "Mexico", "1456876TAXMiu", "Austria", "Solomon Islands", "Bahamas", "Finland", "Lebanon", "Belgium", "Turks and Caicos Islands", "Equatorial Guinea", "Turkmenistan", "Åland Islands", "Saint Kitts and Nevis", "Philippines", "Moldova (Republic of)", "Saint Vincent and the Grenadines", "Panama", "Poland", "Namibia", "Sint Maarten (Dutch part)", "Macedonia (the former Yugoslav Republic of)", "Germany", "Algeria", "Bolivia (Plurinational State of)", "Brunei Darussalam", "Qatar", "Cameroon", "French Guiana", "Iceland", "Japan", "Nigeria", "Grenada", "Guam", "Curaçao", "Dominican Republic", "Myanmar", "Heard Island and McDonald Islands", "1770282kbNvHp", "Burkina Faso", "Australia", "Kuwait", "Estonia", "Malawi", "Andorra", "Indonesia", "Wallis and Futuna", "Kiribati", "Isle of Man", "11949084dAdJId", "Malta", "Mauritania", "Seychelles", "India", "Mayotte", "Nepal", "Trinidad and Tobago", "Guadeloupe", "Papua New Guinea", "Togo", "Venezuela (Bolivarian Republic of)", "Saint Martin (French part)", "Peru", "Kenya", "Madagascar", "Colombia", "Gabon", "Niger", "Bulgaria", "Hong Kong", "Yemen", "Chile", "Malaysia", "Congo", "Argentina", "Martinique", "Liechtenstein", "Turkey", "Paraguay", "Honduras", "Cambodia", "Virgin Islands (British)", "Georgia", "Gambia", "Cook Islands", "Portugal", "South Africa", "Jersey", "Guatemala", "Benin", "Marshall Islands", "Ireland", "Congo (Democratic Republic of the)", "Brazil", "Haiti", "Denmark", "Holy See", "Netherlands", "Uganda", "Israel", "Tajikistan", "Antigua and Barbuda", "United States of America", "Pitcairn", "Anguilla", "Afghanistan", "Saint Lucia", "Falkland Islands (Malvinas)", "Rwanda", "Cocos (Keeling) Islands", "Belize", "Libya", "Saint Helena, Ascension and Tristan da Cunha", "Jordan", "Singapore", "3651921zLnQlv", "Saudi Arabia", "Russian Federation", "Saint Pierre and Miquelon", "Taiwan", "Maldives", "Nauru", "French Polynesia", "Nicaragua", "Lesotho", "Armenia", "767520GWtWhi", "Tunisia", "Tokelau", "Botswana", "Kyrgyzstan", "Ukraine", "Lao People's Democratic Republic", "Réunion", "Latvia", "South Georgia and the South Sandwich Islands", "British Indian Ocean Territory", "Virgin Islands (U.S.)", "Puerto Rico", "Pakistan", "Bahrain", "3187008BOLEol", "Sri Lanka", "Sweden", "Czech Republic", "Bouvet Island", "Fiji", "Zambia", "Belarus", "Norway", "Niue", "Gibraltar", "967108WQUxpG", "Mauritius", "Sudan", "Bermuda", "Zimbabwe", "Greece", "Serbia", "Syrian Arab Republic", "Croatia", "American Samoa", "Faroe Islands", "Micronesia (Federated States of)", "Samoa", "French Southern Territories", "United Arab Emirates", "Oman", "Ethiopia", "San Marino", "Comoros", "Iran (Islamic Republic of)", "United Kingdom"];
|
|
118
|
+
return M = function() {
|
|
119
|
+
return a;
|
|
120
|
+
}, M();
|
|
121
|
+
}
|
|
122
|
+
const q = { AF: e(170), AX: e(266), AL: "Albania", DZ: e(277), AS: e(226), AD: e(298), AO: "Angola", AI: e(169), AQ: e(238), AG: e(166), AR: e(139), AM: e(190), AW: e(247), AU: e(294), AT: e(257), AZ: "Azerbaijan", BS: e(259), BH: e(205), BD: "Bangladesh", BB: "Barbados", BY: e(213), BE: e(262), BZ: e(175), BJ: e(154), BM: e(220), BT: "Bhutan", BO: e(278), BQ: e(251), BA: "Bosnia and Herzegovina", BW: e(194), BV: e(210), BR: e(158), IO: e(201), BN: e(279), BG: e(133), BF: e(293), BI: "Burundi", CV: e(244), KH: e(145), CM: e(281), CA: "Canada", KY: "Cayman Islands", CF: "Central African Republic", TD: "Chad", CL: e(136), CN: "China", CX: "Christmas Island", CC: e(174), CO: e(130), KM: e(235), CG: e(138), CD: e(157), CK: e(149), CR: "Costa Rica", CI: "Côte d'Ivoire", HR: e(225), CU: "Cuba", CW: e(288), CY: "Cyprus", CZ: e(209), DK: e(160), DJ: e(252), DM: "Dominica", DO: e(289), EC: "Ecuador", EG: "Egypt", SV: "El Salvador", GQ: e(264), ER: e(240), EE: e(296), ET: e(233), FK: e(172), FO: e(227), FJ: e(211), FI: e(260), FR: "France", GF: e(282), PF: e(187), TF: e(230), GA: e(131), GM: e(148), GE: e(147), DE: e(276), GH: "Ghana", GI: e(216), GR: e(222), GL: e(245), GD: e(286), GP: e(122), GU: e(287), GT: e(153), GG: "Guernsey", GN: "Guinea", GW: "Guinea-Bissau", GY: e(253), HT: e(159), HM: e(291), VA: e(161), HN: e(144), HK: e(134), HU: "Hungary", IS: e(283), IN: e(118), ID: e(299), IR: e(236), IQ: "Iraq", IE: e(156), IM: e(302), IL: e(164), IT: e(248), JM: "Jamaica", JP: e(284), JE: e(152), JO: e(178), KZ: "Kazakhstan", KE: e(128), KI: e(301), KP: "Korea (Democratic People's Republic of)", KR: "Korea, Republic of", KW: e(295), KG: e(195), LA: e(197), LV: e(199), LB: e(261), LS: e(189), LR: "Liberia", LY: e(176), LI: e(141), LT: e(241), LU: "Luxembourg", MO: "Macao", MK: e(275), MG: e(129), MW: e(297), MY: e(137), MV: e(185), ML: "Mali", MT: e(115), MH: e(155), MQ: e(140), MR: e(116), MU: e(218), YT: e(119), MX: e(255), FM: e(228), MD: e(269), MC: e(242), MN: "Mongolia", ME: e(239), MS: "Montserrat", MA: "Morocco", MZ: "Mozambique", MM: e(290), NA: e(273), NR: e(186), NP: e(120), NL: e(162), NC: "New Caledonia", NZ: "New Zealand", NI: e(188), NE: e(132), NG: e(285), NU: e(215), NF: "Norfolk Island", MP: "Northern Mariana Islands", NO: e(214), OM: e(232), PK: e(204), PW: "Palau", PS: "Palestine, State of", PA: e(271), PG: e(123), PY: e(143), PE: e(127), PH: e(268), PN: e(168), PL: e(272), PT: e(150), PR: e(203), QA: e(280), RE: e(198), RO: "Romania", RU: e(182), RW: e(173), BL: "Saint Barthélemy", SH: e(177), KN: e(267), LC: e(171), MF: e(126), PM: e(183), VC: e(270), WS: e(229), SM: e(234), ST: e(250), SA: e(181), SN: "Senegal", RS: e(223), SC: e(117), SL: "Sierra Leone", SG: e(179), SX: e(274), SK: e(243), SI: e(246), SB: e(258), SO: "Somalia", ZA: e(151), GS: e(200), SS: "South Sudan", ES: "Spain", LK: e(207), SD: e(219), SR: "Suriname", SJ: "Svalbard and Jan Mayen", SZ: "Swaziland", SE: e(208), CH: e(249), SY: e(224), TW: e(184), TJ: e(165), TZ: "Tanzania, United Republic of", TH: "Thailand", TL: e(254), TG: e(124), TK: e(193), TO: "Tonga", TT: e(121), TN: e(192), TR: e(142), TM: e(265), TC: e(263), TV: "Tuvalu", UG: e(163), UA: e(196), AE: e(231), GB: e(237), US: e(167), UM: "United States Minor Outlying Islands", UY: "Uruguay", UZ: "Uzbekistan", VU: "Vanuatu", VE: e(125), VN: "Viet Nam", VG: e(146), VI: e(202), WF: e(300), EH: "Western Sahara", YE: e(135), ZM: e(212), ZW: e(221) }, p = U;
|
|
124
123
|
(function(a, t) {
|
|
125
|
-
const x =
|
|
124
|
+
const x = U, n = a();
|
|
126
125
|
for (; ; )
|
|
127
126
|
try {
|
|
128
|
-
if (-parseInt(x(
|
|
127
|
+
if (-parseInt(x(315)) / 1 + -parseInt(x(284)) / 2 + parseInt(x(331)) / 3 + -parseInt(x(334)) / 4 + parseInt(x(322)) / 5 * (parseInt(x(272)) / 6) + -parseInt(x(330)) / 7 * (-parseInt(x(288)) / 8) + -parseInt(x(273)) / 9 * (-parseInt(x(270)) / 10) === t) break;
|
|
129
128
|
n.push(n.shift());
|
|
130
129
|
} catch {
|
|
131
130
|
n.push(n.shift());
|
|
132
131
|
}
|
|
133
|
-
})(
|
|
134
|
-
const
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
132
|
+
})(T, 145268);
|
|
133
|
+
const z = { gov: { prod: { log: p(336), report: p(268) }, beta: { log: "https://papi.beta-vpe.gov-ntruss.com/player/maSync", report: p(278) } }, pub: { prod: { log: "https://papi.vpe.naverncp.com/player/maSync", report: p(298) }, beta: { log: p(342), report: p(276) } } };
|
|
134
|
+
p(351);
|
|
135
|
+
let h = { video: {}, browser: {}, device: {}, connection: {}, screen: {}, player_version: p(302), extra: { sessionId: null, playerType: p(317) }, log_type: p(286), privacy: { cookie_enabled: !0 } }, g = { platform: p(269), stage: p(346), sync: !1, syncResult: {} };
|
|
136
|
+
const X = (/* @__PURE__ */ new Date())[p(281)](), V = () => {
|
|
137
|
+
const a = p, t = /* @__PURE__ */ new Date(), x = (u) => String(u).padStart(2, "0"), n = t[a(320)]() + "-" + x(t.getMonth() + 1) + "-" + x(t[a(344)]()) + " " + x(t.getHours()) + ":" + x(t[a(324)]()) + ":" + x(t[a(332)]()), r = Math[a(307)](t[a(281)]() / 1e3), i = (/* @__PURE__ */ new Date()).getTime() - X;
|
|
138
|
+
return { logDate: n, logDateUnix: r, thisSec: i };
|
|
139
139
|
};
|
|
140
|
-
function
|
|
141
|
-
|
|
140
|
+
function T() {
|
|
141
|
+
const a = ["vpe", "mp4", "372976Zymyrl", "error", "mpd", "length", "POST", "isArray", "sessionId", "stage", "join", "1.0", "https://log.vpe.naverncp.com/stats", "url", "vpePackageId", "UUID", "latest", "json", "parse", "log_type", "video", "floor", "address", "totalStartTime", "created_at", "entries", "logDateUnix", "nation", "------------------------------------------------", "203300KGgAtc", "application/json", "VPE React Native", "browser", "log", "getFullYear", "sync", "1135TxalLU", "host", "getMinutes", "indexOf", "object", "MA init report failed:", "MA report failed:", "seekedTime", "21KkGfua", "823857pvJjgy", "getSeconds", "actionDuration", "976008utXKyE", "random", "https://papi.vpe.gov-ntruss.com/player/maSync", "platform", "MA config initialization failed:", "net", "playerStartTime", "actionType", "https://papi.beta-vpe.naverncp.com/player/maSync", "geoLocation", "getDate", "result", "prod", "forEach", "logDate", "TID", "MA vpe init", "abcdefghijklmnopqrstuvwxyz0123456789", "report", "https://log.vpe.gov-ntruss.com/stats", "pub", "40IRvCXQ", "country", "4542qtcigJ", "215361EhTvUD", "extra", "stringify", "https://log.beta-vpe.naverncp.com/stats", "push", "https://log.beta-vpe.gov-ntruss.com/stats", "vpeKey", "type", "getTime", "m3u8", "Korea, Republic of", "178940oDcHVO", "syncResult"];
|
|
142
|
+
return T = function() {
|
|
143
|
+
return a;
|
|
144
|
+
}, T();
|
|
142
145
|
}
|
|
143
|
-
function
|
|
144
|
-
return
|
|
146
|
+
function U(a, t) {
|
|
147
|
+
return a = a - 267, T()[a];
|
|
148
|
+
}
|
|
149
|
+
function Q(a) {
|
|
150
|
+
const t = p;
|
|
151
|
+
return typeof a === t(326) && a !== null && !Array[t(293)](a);
|
|
145
152
|
}
|
|
146
|
-
function
|
|
147
|
-
const x =
|
|
148
|
-
Object
|
|
149
|
-
const
|
|
150
|
-
|
|
153
|
+
function $(a, t) {
|
|
154
|
+
const x = p;
|
|
155
|
+
Object[x(311)](t)[x(347)](([n, r]) => {
|
|
156
|
+
const i = x;
|
|
157
|
+
Q(r) ? (!a[n] && (a[n] = {}), Object[i(311)](r).forEach(([u, o]) => {
|
|
151
158
|
o != null && (a[n][u] = o);
|
|
152
159
|
})) : r != null && (a[n] = r);
|
|
153
160
|
});
|
|
154
161
|
}
|
|
155
|
-
function $(a) {
|
|
156
|
-
const t = f, x = [];
|
|
157
|
-
return a?.r1 && x[t(502)](a.r1), a?.r2 && x[t(502)](a.r2), a?.r3 && x.push(a.r3), x[t(471)](" ");
|
|
158
|
-
}
|
|
159
162
|
function x0(a) {
|
|
160
|
-
const t =
|
|
163
|
+
const t = p, x = [];
|
|
164
|
+
return a?.r1 && x[t(277)](a.r1), a?.r2 && x.push(a.r2), a?.r3 && x[t(277)](a.r3), x[t(296)](" ");
|
|
165
|
+
}
|
|
166
|
+
function e0(a) {
|
|
167
|
+
const t = p;
|
|
161
168
|
try {
|
|
162
|
-
const x =
|
|
163
|
-
x && (a
|
|
169
|
+
const x = g[t(285)]?.[t(343)];
|
|
170
|
+
x && (a[t(308)] = x0(x), a.isp = x[t(339)] || "", a.ip = g[t(285)]?.ip || "", a[t(313)] = x.country || "");
|
|
164
171
|
} catch {
|
|
165
172
|
}
|
|
166
173
|
}
|
|
167
|
-
const
|
|
168
|
-
const t =
|
|
174
|
+
const t0 = async (a) => {
|
|
175
|
+
const t = p;
|
|
169
176
|
if (!a) return;
|
|
170
|
-
const { platform: x, stage: n } =
|
|
177
|
+
const { platform: x, stage: n } = g, r = z[x][n][t(319)];
|
|
171
178
|
try {
|
|
172
|
-
const
|
|
173
|
-
|
|
174
|
-
const { logDate: o, logDateUnix:
|
|
175
|
-
return h[t(
|
|
176
|
-
} catch (
|
|
177
|
-
return console[t(
|
|
179
|
+
const i = await fetch(r, { method: t(292), headers: { "Content-Type": "application/json" }, body: JSON[t(275)]({ access_key: a }) }), u = await i[t(303)]();
|
|
180
|
+
g[t(321)] = u[t(345)]?.[t(321)] || !1, g[t(285)] = u.result || {};
|
|
181
|
+
const { logDate: o, logDateUnix: f } = V();
|
|
182
|
+
return h[t(274)].logDate = o, h[t(274)][t(312)] = f, g.syncResult?.geoLocation && e0(h[t(274)]), u;
|
|
183
|
+
} catch (i) {
|
|
184
|
+
return console[t(289)](t(338), i), null;
|
|
178
185
|
}
|
|
179
186
|
};
|
|
180
|
-
async function
|
|
181
|
-
const
|
|
182
|
-
|
|
183
|
-
const { logDate: u, logDateUnix: o } =
|
|
184
|
-
h[
|
|
185
|
-
}
|
|
186
|
-
function R() {
|
|
187
|
-
const a = ["5969656mWqigK", "actionDuration", "stringify", "isArray", "30WLPuHK", "380263fQHvUu", "MA report failed:", "1098918fwMoRM", "https://log.vpe.gov-ntruss.com/stats", "https://log.vpe.naverncp.com/stats", "host", "https://papi.vpe.gov-ntruss.com/player/maSync", "logDate", "MA config initialization failed:", "log", "seekedTime", "nation", "indexOf", "https://papi.beta-vpe.gov-ntruss.com/player/maSync", "getDate", "sessionId", "url", "prod", "extra", "forEach", "MA report actionType ->", "push", "229994RQsdiF", "syncResult", "40jszBSM", "entries", "browser", "getMonth", "MA vpe init", "result", "videoStartTime", "geoLocation", "16rvniYC", "padStart", "error", "totalStartTime", "dash", "UUID", "video", "random", "https://log.beta-vpe.naverncp.com/stats", "1163760umEbFZ", "parse", "length", "vpeKey", "videoFormat", "getFullYear", "1.0", "https://log.beta-vpe.gov-ntruss.com/stats", "156280fbQWVe", "sync", "log_type", "country", "vpe", "application/json", "https://papi.vpe.naverncp.com/player/maSync", "m3u8", "Korea, Republic of", "getSeconds", "TID", "report", "hls", "latest", "3BDkgGP", "getTime", "------------------------------------------------", "mp4", "logDateUnix", "floor", "POST", "join", "type", "711046VzuyIy", "pub", "json"];
|
|
188
|
-
return R = function() {
|
|
189
|
-
return a;
|
|
190
|
-
}, R();
|
|
187
|
+
async function a0(a, t, x, n, r) {
|
|
188
|
+
const i = p;
|
|
189
|
+
g[i(337)] = a, g[i(295)] = t, $(h, x), n && (h.extra[i(300)] = n), r && (h[i(274)][i(279)] = r), h[i(274)][i(313)] ? h[i(318)].country = q[h.extra.nation] || i(283) : h[i(318)][i(271)] = i(283);
|
|
190
|
+
const { logDate: u, logDateUnix: o } = V();
|
|
191
|
+
h[i(274)].logDate = u, h[i(274)][i(312)] = o, h.extra[i(310)] = o;
|
|
191
192
|
}
|
|
192
|
-
const
|
|
193
|
+
const L = k;
|
|
193
194
|
(function(a, t) {
|
|
194
|
-
const x =
|
|
195
|
+
const x = k, n = a();
|
|
195
196
|
for (; ; )
|
|
196
197
|
try {
|
|
197
|
-
if (parseInt(x(
|
|
198
|
+
if (parseInt(x(227)) / 1 + -parseInt(x(236)) / 2 + parseInt(x(229)) / 3 * (-parseInt(x(235)) / 4) + parseInt(x(241)) / 5 + parseInt(x(232)) / 6 * (-parseInt(x(238)) / 7) + -parseInt(x(233)) / 8 * (-parseInt(x(237)) / 9) + parseInt(x(223)) / 10 * (parseInt(x(230)) / 11) === t) break;
|
|
198
199
|
n.push(n.shift());
|
|
199
200
|
} catch {
|
|
200
201
|
n.push(n.shift());
|
|
201
202
|
}
|
|
202
|
-
})(
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
if (t !== x(470)) return { ...n, ...r0 };
|
|
206
|
-
const r = { ...n, ...a };
|
|
207
|
-
return a[x(466)] && (r[x(466)] = { ...n[x(466)], ...a[x(466)] }), a[x(482)] && (r[x(482)] = { ...n[x(482)], ...a[x(482)] }), a.captionStyle && (r.captionStyle = { ...n[x(464)], ...a[x(464)] }), r[x(466)]?.[x(480)] === void 0 && (r[x(466)][x(480)] = !0), r;
|
|
208
|
-
};
|
|
209
|
-
function A(a, t) {
|
|
210
|
-
return a = a - 461, T()[a];
|
|
203
|
+
})(C, 231287);
|
|
204
|
+
function k(a, t) {
|
|
205
|
+
return a = a - 222, C()[a];
|
|
211
206
|
}
|
|
212
|
-
function
|
|
213
|
-
const a = ["
|
|
214
|
-
return
|
|
207
|
+
function C() {
|
|
208
|
+
const a = ["rgba(0, 0, 0, 0.4)", "controlBtn", "110bUYfIO", "watermarkConfig", "dropshadow", "progressBar", "364776gdCnoJ", "captionStyle", "286128emXQjy", "47597CbkKIg", "pay", "588eMsJXe", "1448swSWvi", "contain", "12uJZixB", "177406gJnaaC", "7335eKwWPB", "10822GQShbs", "#ffffff", "all", "988690sYJSxS", "16/9", "#009dff"];
|
|
209
|
+
return C = function() {
|
|
215
210
|
return a;
|
|
216
|
-
},
|
|
211
|
+
}, C();
|
|
212
|
+
}
|
|
213
|
+
const n0 = (a = {}, t) => {
|
|
214
|
+
const x = k, n = { autostart: !0, muted: !1, aspectRatio: x(242), objectFit: x(234), controls: !0, keyboardShortcut: !0, startMutedInfoNotVisible: !1, allowsPictureInPicture: !1, staysActiveInBackground: !1, screenRecordingPrevention: !1, modalFullscreen: !1, seekingPreview: !0, lang: "ko", ui: x(240), controlBtn: { play: !0, fullscreen: !0, progressBar: !0, volume: !1, times: !0, pictureInPicture: !0, setting: !0, subtitle: !0 }, progressBarColor: "#4299f5", controlActiveTime: 3e3, playRateSetting: [0.5, 0.75, 1, 1.5, 2], autoPause: !1, repeat: !1, setStartTime: void 0, playIndex: 0, lowLatencyMode: !0, touchGestures: !0, descriptionNotVisible: !1, devTestAppId: void 0, token: "", visibleWatermark: !1, iosFullscreenNativeMode: !0, watermarkText: "NAVER CLOUD PLATFORM", watermarkConfig: { randPosition: !0, randPositionInterVal: 3e3, x: 10, y: 10, opacity: 0.5 }, captionStyle: { fontSize: 12, color: x(239), backgroundColor: x(244), edgeStyle: x(225) }, override: null };
|
|
215
|
+
if (t !== x(231)) return { ...n, ...r0 };
|
|
216
|
+
const r = { ...n, ...a };
|
|
217
|
+
return a.controlBtn && (r[x(222)] = { ...n[x(222)], ...a[x(222)] }), a.watermarkConfig && (r[x(224)] = { ...n[x(224)], ...a[x(224)] }), a.captionStyle && (r[x(228)] = { ...n[x(228)], ...a[x(228)] }), r[x(222)]?.[x(226)] === void 0 && (r[x(222)][x(226)] = !0), r;
|
|
218
|
+
}, r0 = { free: !0, startMutedInfoNotVisible: !1, lowLatencyMode: !1, progressBarColor: L(243), playRateSetting: [0.5, 0.75, 1, 1.5, 2], descriptionNotVisible: !0, seekingPreview: !1, controlActiveTime: 1500, ui: L(240), token: "", setStartTime: null, controlBtn: { play: !0, fullscreen: !0, volume: !0, times: !0, setting: !1, pictureInPicture: !1, progressBar: !0 } }, d = Y;
|
|
219
|
+
function Y(a, t) {
|
|
220
|
+
return a = a - 461, w()[a];
|
|
217
221
|
}
|
|
218
|
-
const r0 = { free: !0, startMutedInfoNotVisible: !1, lowLatencyMode: !1, progressBarColor: "#009dff", playRateSetting: [0.5, 0.75, 1, 1.5, 2], descriptionNotVisible: !0, seekingPreview: !1, controlActiveTime: 1500, ui: a0(478), token: "", setStartTime: null, controlBtn: { play: !0, fullscreen: !0, volume: !0, times: !0, setting: !1, pictureInPicture: !1, progressBar: !0 } }, d = K;
|
|
219
222
|
(function(a, t) {
|
|
220
|
-
const x =
|
|
223
|
+
const x = Y, n = a();
|
|
221
224
|
for (; ; )
|
|
222
225
|
try {
|
|
223
|
-
if (-parseInt(x(
|
|
226
|
+
if (-parseInt(x(566)) / 1 * (-parseInt(x(467)) / 2) + -parseInt(x(493)) / 3 * (-parseInt(x(557)) / 4) + -parseInt(x(564)) / 5 + parseInt(x(508)) / 6 * (parseInt(x(510)) / 7) + parseInt(x(469)) / 8 * (-parseInt(x(496)) / 9) + parseInt(x(565)) / 10 * (-parseInt(x(563)) / 11) + parseInt(x(491)) / 12 === t) break;
|
|
224
227
|
n.push(n.shift());
|
|
225
228
|
} catch {
|
|
226
229
|
n.push(n.shift());
|
|
227
230
|
}
|
|
228
|
-
})(
|
|
229
|
-
const i0 = { gov: { prod: { config:
|
|
231
|
+
})(w, 277825);
|
|
232
|
+
const i0 = { gov: { prod: { config: d(500), report: d(569) }, beta: { config: d(479), report: "aHR0cHM6Ly9sb2cuYmV0YS12cGUuZ292LW50cnVzcy5jb20vc3RhdHM=" } }, pub: { prod: { config: d(489), report: d(461) }, beta: { config: d(520), report: d(465) } } };
|
|
230
233
|
let N = [];
|
|
231
|
-
function
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
function P() {
|
|
235
|
-
const a = ["Error:", "E0001", "screen", "maUse", "result", "filter", "getValidatedOptions", "Chrome", "6xfQrbm", "warn", "code", "access_key", "accessKey", "auto", "error", "fullscreenExit", "test", "Unknown", "VPE SDK Initialization failed:", "playlist", "reduce", "controlbarDeactive", "aHR0cHM6Ly9sb2cudnBlLmdvdi1udHJ1c3MuY29tL3N0YXRz", "aHR0cHM6Ly9wYXBpLmJldGEtdnBlLm5hdmVybmNwLmNvbS9wbGF5ZXIvY29uZmln", "split", "ended", "isPaidTier", "HLS 파싱 실패:", "translator", "lang", "E0003", "text", "aHR0cHM6Ly9sb2cudnBlLm5hdmVybmNwLmNvbS9zdGF0cw==", "Content-Type", "platformVersion", "getPlaylist", "createPlayerInfo", "deviceMemory", "origin", "json", "trim", "2402AkzIEZ", "Edg", "stage", "includes", "match", "webkitConnection", "toString", "next", "isInitialized", "rtt", "POST", ".m3u8", "options", "isDev", "API", "hardwareConcurrency", "aHR0cHM6Ly9sb2cuYmV0YS12cGUuZ292LW50cnVzcy5jb20vc3RhdHM=", "setErrorRun", "type", "kbps", "watermarkConfig", "7PXZWUf", "VPE Player: accessKey 또는 appId가 없어 키 인증을 건너뜁니다.", "playerInfo", "status", "serverConfig", "9mGFbem", "round", "platform", "Edge", "skipBack", "updateTranslator", "userAgent", "some", "ready", "mobile", "getBrowserInfo", "Other", "protocol", "controlbarActive", "seeked", "appId", "pause", "://appView/video/vpe", "ncplayer : ", "bufferingStart", "loadingEnd", "E0002", "Safari", "controlBtn", "unknown", "skipForward", "#EXT-X-STREAM-INF", "bufferingEnd", "1089803NXiVne", "height", "2828365xTShEo", "language", "getErrorState", "performKeyCheck", "playerStateReport", "slice", "isArray", "100EjQceX", "length", "initialize", "VPE", "pay", "Base64 decoding failed:", "errorState", "822540dLMkIb", "?preview=true", "106204boquOp", "169NnkbRf", "pricing", "name", "application/json", "stringify", "seeking", "79YnMENT", "config", "3167624PRLvJM", "3996270huQsXp", "startsWith"];
|
|
236
|
-
return P = function() {
|
|
234
|
+
function w() {
|
|
235
|
+
const a = ["fullscreen", "36ijGygr", "startsWith", "height", "status", "aHR0cHM6Ly9wYXBpLnZwZS5nb3YtbnRydXNzLmNvbS9wbGF5ZXIvY29uZmln", "string", "playlist", "slice", "some", "hlsPaser", "getPlaylist", "origin", "21066rylaIj", "createPlayerInfo", "217PynZVb", "maUse", "appId", "seeked", "pause", "isInitialized", "volumechange", "includes", "code", "trim", "aHR0cHM6Ly9wYXBpLmJldGEtdnBlLm5hdmVybmNwLmNvbS9wbGF5ZXIvY29uZmln", "rtt", "accessKey", "webkitConnection", "ready", "version", "performKeyCheck", "downlink", "loadingEnd", "stage", "API", "E0003", "indexOf", "E0001", "filter", "join", "pricing", "protocol", "watermarkConfig", "initialize", "access_key", "setErrorRun", "platformVersion", "length", "match", "cid", "language", ".m3u8", "E0002", "connection", "HLS 파싱 실패:", "split", "lang", "waiting", "application/json", "object", "prev", "296sEMlvL", "round", "text", "serverConfig", "push", "playerInfo", "2067593eSdlCw", "1376150wkIusj", "10KsAluH", "53JhLqOq", "options", "ncplayer : ", "aHR0cHM6Ly9sb2cudnBlLmdvdi1udHJ1c3MuY29tL3N0YXRz", "://appView/video/vpe", "fullscreenExit", "stringify", "Edge", "Auto", "Edg", "type", "loadingStart", "platform", "updateTranslator", "isArray", "isDev", "error", "saveData", "userAgent", "Chrome", "Safari", "aHR0cHM6Ly9sb2cudnBlLm5hdmVybmNwLmNvbS9zdGF0cw==", "test", "result", "getBrowserInfo", "aHR0cHM6Ly9sb2cuYmV0YS12cGUubmF2ZXJuY3AuY29tL3N0YXRz", "VPE Player: accessKey 또는 appId가 없어 키 인증을 건너뜁니다.", "17714hbuLCl", "playerStateReport", "206288iAPqpR", "controlbarDeactive", "play", "mozConnection", "Firefox", "playlistChange", "VPE SDK Initialization failed:", "isPaidTier", "errorState", "skipBack", "aHR0cHM6Ly9wYXBpLmJldGEtdnBlLmdvdi1udHJ1c3MuY29tL3BsYXllci9jb25maWc=", "hardwareConcurrency", "Content-Type", "name", "Unknown", "auto", "?preview=true", "userAgentData", "map", "screen", "aHR0cHM6Ly9wYXBpLnZwZS5uYXZlcm5jcC5jb20vcGxheWVyL2NvbmZpZw==", "pay", "2570976ESlaHE", "translator", "2094TqFejd", "controlBtn"];
|
|
236
|
+
return w = function() {
|
|
237
237
|
return a;
|
|
238
|
-
},
|
|
238
|
+
}, w();
|
|
239
239
|
}
|
|
240
240
|
const s0 = (a) => {
|
|
241
241
|
const t = d;
|
|
242
242
|
try {
|
|
243
243
|
return atob(a);
|
|
244
244
|
} catch (x) {
|
|
245
|
-
return console
|
|
245
|
+
return console[t(582)]("Base64 decoding failed:", x), "";
|
|
246
246
|
}
|
|
247
247
|
};
|
|
248
248
|
class c0 {
|
|
249
|
-
[d(
|
|
250
|
-
[d(
|
|
251
|
-
|
|
252
|
-
[d(
|
|
253
|
-
[d(
|
|
254
|
-
[d(
|
|
255
|
-
[d(
|
|
256
|
-
|
|
257
|
-
[d(
|
|
258
|
-
constructor({ accessKey: t, appId: x, platform: n, stage: r, isDev:
|
|
249
|
+
[d(560)] = {};
|
|
250
|
+
[d(562)] = null;
|
|
251
|
+
[d(522)];
|
|
252
|
+
[d(512)];
|
|
253
|
+
[d(578)];
|
|
254
|
+
[d(529)];
|
|
255
|
+
[d(581)];
|
|
256
|
+
translator = A();
|
|
257
|
+
[d(477)];
|
|
258
|
+
constructor({ accessKey: t, appId: x, platform: n, stage: r, isDev: i = !1, language: u }) {
|
|
259
259
|
const o = d;
|
|
260
|
-
this[o(
|
|
260
|
+
this[o(522)] = t, this[o(512)] = x || location.origin, this.platform = n, this[o(529)] = r, this.isDev = i, this.updateTranslator(u), this[o(477)] = { errorCode: null, errorMessage: null };
|
|
261
261
|
}
|
|
262
|
-
async [d(
|
|
263
|
-
const t = d, x = [t(
|
|
264
|
-
if ([this[x[0]], this[x[1]]][t(
|
|
265
|
-
const
|
|
262
|
+
async [d(539)]() {
|
|
263
|
+
const t = d, x = [t(522), t(512), t(548), t(533), t(531)], n = t(466);
|
|
264
|
+
if ([this[x[0]], this[x[1]]][t(504)]((u) => !u)) return console.warn(n), { error: this[t(541)](x[2]) };
|
|
265
|
+
const i = (u) => {
|
|
266
266
|
const o = t;
|
|
267
|
-
return this[o(
|
|
267
|
+
return this[o(560)] = u, this[o(562)] = this.createPlayerInfo(u), this[o(562)];
|
|
268
268
|
};
|
|
269
269
|
try {
|
|
270
|
-
const u = await this[t(
|
|
271
|
-
if (u[t(
|
|
272
|
-
const o =
|
|
273
|
-
return await
|
|
270
|
+
const u = await this[t(526)]();
|
|
271
|
+
if (u[t(518)] !== 200) return { error: this[t(541)](x[3]) };
|
|
272
|
+
const o = i(u);
|
|
273
|
+
return await a0(this[t(578)], this[t(529)], o, this[t(512)], this[t(522)]), await t0(this[t(522)]), { options: this[t(560)][t(463)]?.options, playerInfo: o };
|
|
274
274
|
} catch (u) {
|
|
275
|
-
return console
|
|
275
|
+
return console[t(582)](t(475), u), { error: this[t(541)](x[4]) };
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
async [d(
|
|
279
|
-
const t = d, x = [t(
|
|
278
|
+
async [d(526)]() {
|
|
279
|
+
const t = d, x = [t(485), "config", t(481), t(554), t(540), "domain", "POST"], n = this[t(581)] ? x[0] : "", r = s0(i0[this[t(578)]][this[t(529)]][x[1]]) + n, i = JSON[t(572)]([x[4], x[5]].reduce((o, f, y) => {
|
|
280
280
|
const b = t;
|
|
281
|
-
return o[
|
|
282
|
-
}, {})), u = await fetch(r, { method: x[6], headers: { [x[2]]: x[3] }, body:
|
|
283
|
-
if (!u.ok) throw new Error([t(
|
|
284
|
-
return u
|
|
281
|
+
return o[f] = [this[b(522)], this[b(512)]][y], o;
|
|
282
|
+
}, {})), u = await fetch(r, { method: x[6], headers: { [x[2]]: x[3] }, body: i });
|
|
283
|
+
if (!u.ok) throw new Error([t(530), "Error:", u[t(499)], u.statusText][t(535)](" "));
|
|
284
|
+
return u.json();
|
|
285
285
|
}
|
|
286
|
-
[d(
|
|
287
|
-
const t = d, x = navigator[t(
|
|
288
|
-
return /Edg\/(\d+\.\d+)
|
|
286
|
+
[d(464)]() {
|
|
287
|
+
const t = d, x = navigator[t(584)];
|
|
288
|
+
return /Edg\/(\d+\.\d+)/.test(x) ? { origin: t(573), version: RegExp.$1 } : /Chrome\/(\d+\.\d+)/.test(x) && !x[t(517)](t(575)) ? { origin: t(585), version: RegExp.$1 } : /Firefox\/(\d+\.\d+)/[t(462)](x) ? { origin: t(473), version: RegExp.$1 } : /Version\/(\d+\.\d+)/[t(462)](x) && x[t(517)]("Safari") ? { origin: t(586), version: RegExp.$1 } : { origin: t(483), version: t(483) };
|
|
289
289
|
}
|
|
290
|
-
[d(
|
|
291
|
-
const x = d, [n, r] = t
|
|
292
|
-
return { cid: t[x(
|
|
290
|
+
[d(509)](t) {
|
|
291
|
+
const x = d, [n, r] = t[x(463)][x(482)][x(551)]("|"), i = navigator[x(549)] || navigator[x(472)] || navigator[x(523)], u = this[x(464)](), o = navigator[x(486)];
|
|
292
|
+
return { cid: t[x(463)][x(545)], player_name: n, player_version: r, pricing: t.result[x(536)], maUse: t.result.options?.[x(511)] === "Y" ? "Y" : "N", browser: { lang: navigator[x(546)], ua: navigator[x(584)] }, screen: { width: window[x(488)].width, height: window[x(488)][x(498)] }, connection: { network: i?.effectiveType ?? "unknown", downlink: i?.[x(527)] ?? null, rtt: i?.[x(521)] ?? null, save_data: i?.[x(583)] ?? !1 }, device: { platform: o?.[x(578)] ?? x(483), mobile: o?.mobile ?? !1, memory: navigator.deviceMemory ?? null, processor: navigator[x(480)] ?? null }, video: { url: "" }, extra: { vpeKey: this[x(522)], playerType: "VPE", playerVersion: r, device: o?.[x(578)] ?? x(483), os: o?.platform ?? x(483), osOrigin: o?.[x(578)] ?? "Unknown", osVersion: o?.[x(542)] ?? x(483), vpePackageId: this.appId, actionDuration: 0, actionType: x(524), browser: u[x(507)], browserOrigin: u[x(507)], browserVersion: u[x(525)], protocol: location[x(537)], quality: "Other", qualityOrigin: x(574), host: this.appId + "&" + (o?.[x(578)] ?? x(483)) + "&" + (o?.platformVersion ?? x(483)), location: this[x(512)] + x(570), title: "" } };
|
|
293
293
|
}
|
|
294
|
-
|
|
295
|
-
const x = d, n = t[x(
|
|
296
|
-
return this[x(
|
|
294
|
+
[d(541)](t) {
|
|
295
|
+
const x = d, n = t[x(503)](-2), r = this[x(492)][x(582)][n] || this[x(492)].error["01"], i = { errorCode: t, errorMessage: r };
|
|
296
|
+
return this[x(477)] = i, console[x(582)](x(568), i), i;
|
|
297
297
|
}
|
|
298
|
-
[d(
|
|
298
|
+
[d(579)](t) {
|
|
299
299
|
const x = d;
|
|
300
|
-
this[x(
|
|
300
|
+
this[x(492)] = A(t);
|
|
301
301
|
}
|
|
302
|
-
|
|
303
|
-
return this
|
|
302
|
+
getErrorState() {
|
|
303
|
+
return this.errorState;
|
|
304
304
|
}
|
|
305
|
-
[d(
|
|
305
|
+
[d(476)]() {
|
|
306
306
|
const t = d;
|
|
307
|
-
return this
|
|
307
|
+
return this[t(560)].result?.[t(536)] === "pay";
|
|
308
308
|
}
|
|
309
|
-
[d(
|
|
310
|
-
|
|
311
|
-
return !!this[t(322)][t(385)];
|
|
309
|
+
[d(515)]() {
|
|
310
|
+
return !!this[d(560)].result;
|
|
312
311
|
}
|
|
313
|
-
|
|
314
|
-
const x = d, n = n0(this.serverConfig
|
|
315
|
-
this
|
|
312
|
+
getValidatedOptions(t) {
|
|
313
|
+
const x = d, n = n0(this.serverConfig[x(463)]?.[x(567)], this[x(560)].result?.[x(536)]);
|
|
314
|
+
this[x(560)][x(463)]?.[x(536)] !== x(490) && (t = { ...t, ...n });
|
|
316
315
|
const r = { ...n, ...t ?? {} };
|
|
317
|
-
return r?.[x(
|
|
316
|
+
return r?.[x(552)] && (r?.[x(552)] == x(484) || this[x(579)](r[x(552)])), t?.[x(494)] && (r[x(494)] = { ...n[x(494)], ...t[x(494)] }), t?.[x(538)] && (r.watermarkConfig = { ...n[x(538)], ...t[x(538)] }), r[x(502)] && !Array[x(580)](r.playlist) && (r[x(502)] = [{ file: r[x(502)] }]), N = r[x(502)] || [], r;
|
|
318
317
|
}
|
|
319
|
-
[d(
|
|
318
|
+
[d(506)]() {
|
|
320
319
|
return N || [];
|
|
321
320
|
}
|
|
322
|
-
async [d(
|
|
321
|
+
async [d(468)](t) {
|
|
323
322
|
const x = d;
|
|
324
|
-
switch (t[x(
|
|
325
|
-
case
|
|
326
|
-
case
|
|
323
|
+
switch (t[x(576)]) {
|
|
324
|
+
case "ready":
|
|
325
|
+
case "ended":
|
|
327
326
|
break;
|
|
328
327
|
case "timeupdate":
|
|
329
|
-
case
|
|
330
|
-
case
|
|
331
|
-
case x(
|
|
332
|
-
case
|
|
333
|
-
case
|
|
334
|
-
case x(
|
|
335
|
-
case
|
|
336
|
-
case x(
|
|
337
|
-
case
|
|
338
|
-
case
|
|
339
|
-
case
|
|
340
|
-
case x(
|
|
341
|
-
case
|
|
342
|
-
case x(
|
|
343
|
-
case
|
|
344
|
-
case
|
|
345
|
-
case
|
|
346
|
-
case x(
|
|
347
|
-
case
|
|
348
|
-
case x(
|
|
328
|
+
case x(553):
|
|
329
|
+
case "seeking":
|
|
330
|
+
case x(513):
|
|
331
|
+
case x(516):
|
|
332
|
+
case "controlbarActive":
|
|
333
|
+
case x(470):
|
|
334
|
+
case "skipForward":
|
|
335
|
+
case x(478):
|
|
336
|
+
case "next":
|
|
337
|
+
case x(556):
|
|
338
|
+
case x(471):
|
|
339
|
+
case x(514):
|
|
340
|
+
case x(495):
|
|
341
|
+
case x(571):
|
|
342
|
+
case "bufferingStart":
|
|
343
|
+
case "bufferingEnd":
|
|
344
|
+
case x(577):
|
|
345
|
+
case x(528):
|
|
346
|
+
case x(474):
|
|
347
|
+
case x(582):
|
|
349
348
|
break;
|
|
350
349
|
}
|
|
351
350
|
}
|
|
352
351
|
$t(t) {
|
|
353
|
-
const x = d, n = t[x(
|
|
354
|
-
let r = this[x(
|
|
355
|
-
for (const
|
|
356
|
-
if (r && typeof r
|
|
352
|
+
const x = d, n = t[x(551)](".");
|
|
353
|
+
let r = this[x(492)];
|
|
354
|
+
for (const i of n)
|
|
355
|
+
if (r && typeof r === x(555) && i in r) r = r[i];
|
|
357
356
|
else return t;
|
|
358
|
-
return typeof r
|
|
357
|
+
return typeof r === x(501) ? r : t;
|
|
359
358
|
}
|
|
360
|
-
async
|
|
359
|
+
async [d(505)](t) {
|
|
361
360
|
const x = d, n = [];
|
|
362
|
-
if (!t || t
|
|
363
|
-
const r = (o,
|
|
364
|
-
const y = x;
|
|
361
|
+
if (!t || t[x(532)](x(547)) === -1) return n;
|
|
362
|
+
const r = (o, f) => {
|
|
365
363
|
try {
|
|
366
|
-
return new URL(
|
|
364
|
+
return new URL(f, o).toString();
|
|
367
365
|
} catch {
|
|
368
|
-
return
|
|
366
|
+
return f;
|
|
369
367
|
}
|
|
370
|
-
},
|
|
371
|
-
const
|
|
368
|
+
}, i = (o) => {
|
|
369
|
+
const f = x, y = o[f(544)](/RESOLUTION=(\d+)x(\d+)/);
|
|
372
370
|
if (y) return y[2] + "p";
|
|
373
|
-
const b = o[
|
|
374
|
-
return b ? Math[
|
|
371
|
+
const b = o[f(544)](/BANDWIDTH=(\d+)/);
|
|
372
|
+
return b ? Math[f(558)](Number(b[1]) / 1e3) + "kbps" : "auto";
|
|
375
373
|
}, u = (o) => {
|
|
376
|
-
const
|
|
377
|
-
for (let b = 0; b < y[
|
|
374
|
+
const f = x, y = o[f(551)](/\r?\n/)[f(487)]((b) => b[f(519)]())[f(534)]((b) => b[f(543)] > 0);
|
|
375
|
+
for (let b = 0; b < y[f(543)]; b += 1) {
|
|
378
376
|
const B = y[b];
|
|
379
|
-
if (B
|
|
380
|
-
const
|
|
381
|
-
|
|
377
|
+
if (B.startsWith("#EXT-X-STREAM-INF")) {
|
|
378
|
+
const R = y[b + 1];
|
|
379
|
+
R && !R[f(497)]("#") && (n[f(561)]({ quality: i(B), url: r(t, R), levelIndex: n[f(543)] }), b += 1);
|
|
382
380
|
}
|
|
383
381
|
}
|
|
384
382
|
};
|
|
385
383
|
try {
|
|
386
384
|
const o = await fetch(t);
|
|
387
385
|
if (!o.ok) return n;
|
|
388
|
-
const
|
|
389
|
-
return
|
|
386
|
+
const f = await o[x(559)]();
|
|
387
|
+
return f && u(f), n;
|
|
390
388
|
} catch (o) {
|
|
391
|
-
return console
|
|
389
|
+
return console[x(582)](x(550), o), n;
|
|
392
390
|
}
|
|
393
391
|
}
|
|
394
392
|
}
|
|
395
393
|
(function(a, t) {
|
|
396
394
|
for (var x = o0, n = a(); ; )
|
|
397
395
|
try {
|
|
398
|
-
var r = -parseInt(x(
|
|
396
|
+
var r = -parseInt(x(221)) / 1 + parseInt(x(220)) / 2 * (parseInt(x(227)) / 3) + parseInt(x(217)) / 4 + -parseInt(x(225)) / 5 + -parseInt(x(219)) / 6 * (parseInt(x(223)) / 7) + parseInt(x(218)) / 8 * (parseInt(x(224)) / 9) + -parseInt(x(222)) / 10 * (-parseInt(x(226)) / 11);
|
|
399
397
|
if (r === t) break;
|
|
400
398
|
n.push(n.shift());
|
|
401
399
|
} catch {
|
|
402
400
|
n.push(n.shift());
|
|
403
401
|
}
|
|
404
|
-
})(
|
|
405
|
-
function
|
|
406
|
-
var a = ["
|
|
407
|
-
return
|
|
402
|
+
})(P, 658586);
|
|
403
|
+
function P() {
|
|
404
|
+
var a = ["50611YgzxfR", "3dqprli", "2799272KkgYNY", "2311352YajoXR", "6nWRnuY", "75154rammmZ", "242857woktve", "1640gzGYkk", "485562QHEnxQ", "9wJWJWL", "4050345shkVnH"];
|
|
405
|
+
return P = function() {
|
|
408
406
|
return a;
|
|
409
|
-
},
|
|
407
|
+
}, P();
|
|
410
408
|
}
|
|
411
409
|
function o0(a, t) {
|
|
412
|
-
a = a -
|
|
413
|
-
var x =
|
|
410
|
+
a = a - 217;
|
|
411
|
+
var x = P(), n = x[a];
|
|
414
412
|
return n;
|
|
415
413
|
}
|
|
416
414
|
export {
|