1.请求页面
GET https://www.iqiyi.com/v_19rr1l5xmw.html HTTP/1.1
Host: www.iqiyi.com
Connection: keep-alive
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
返回数据:
HTTP/1.1 200 OK
Server: QWS
Date: Sat, 08 Sep 2018 05:02:27 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Expires: Sat, 08 Sep 2018 05:05:09 GMT
Cache-Control: max-age=180
X-Cache: HIT from 10.10.135.16
X-Cache: EXPIRED from 36.42.74.23
Content-Length: 241721
1006的房客第1集-电视剧-高清正版视频在线观看–爱奇艺
2.获取pcweb.wonder.js
GET https://static.iqiyi.com/js/player_v1/pcweb.wonder.js HTTP/1.1
Host: static.iqiyi.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Accept: */*
Referer: https://www.iqiyi.com/v_19rr1l5xmw.html
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
返回数据结果
HTTP/1.1 200 OK
Server: QWS
Date: Sat, 08 Sep 2018 05:02:27 GMT
Content-Type: text/javascript
Connection: keep-alive
Expires: Sat, 08 Sep 2018 04:41:20 GMT
Cache-Control: max-age=7200
Last-Modified: Wed, 05 Sep 2018 06:40:01 GMT
X-Cache: HIT from 10.10.131.242
X-Cache: HIT from 127.0.0.1
X-Cache: from 36.42.74.25
Content-Length: 445575
/*! Built by pcw player group @2018-9-5 14:39:34 */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.QiyiPlayerLoader=t():e.QiyiPlayerLoader=t()}(this,function(){return function(e){function t(i){if(a[i])return a[i].exports;var o=a[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var i=window.Promise;i||(i=function(){function e(){}function t(e,t){return function(){e.apply(t,arguments)}}function i(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function o(e,t){for(;3===e._state;)e=e._value;if(0===e._state)return void e._deferreds.push(t);e._handled=!0,i._immediateFn(function(){var i=1===e._state?t.onFulfilled:t.onRejected;if(null===i)return void(1===e._state?a:n)(t.promise,e._value);var o;try{o=i(e._value)}catch(e){return void n(t.promise,e)}a(t.promise,o)})}function a(e,o){try{if(o===e)throw new TypeError("A promise cannot be resolved with itself.");if(o&&("object"==typeof o||"function"==typeof o)){var a=o.then;if(o instanceof i)return e._state=3,e._value=o,void r(e);if("function"==typeof a)return void d(t(a,o),e)}e._state=1,e._value=o,r(e)}catch(t){n(e,t)}}function n(e,t){e._state=2,e._value=t,r(e)}function r(e){2===e._state&&0===e._deferreds.length&&i._immediateFn(function(){e._handled||i._unhandledRejectionFn(e._value)});for(var t=0,a=e._deferreds.length;t0){a<1e4&&(a=1e4),(0===_heartBeatTimer||0!==_heartBeatTimer&&a!==_heartBeatTime)&&(_heartBeatTime=a,_isActivation&&(clearInterval(_heartBeatTimer),_heartBeatTimer=0,_heartBeatTimer=setInterval(onHeartBeatTimer,_heartBeatTime)))}}}else switch(e.code){case"A10001":case"A10002":case"A10004":_isBANSync=!0,_banType=e.code}flushCallback(t)},failure:function(e,t){_userLevel=0,408===t&&logger.warn("passport: timeout, check user vip fail!"),flushCallback(!0)}}):flushCallback(!1)},isVIPSync=function(){return _isVIPSync},isBanned=function(){return _isBANSync},setInfo=function(e){preIsVip=""!==__QP0013&&"0"!==__QP0013,NoticedLoginInfo=e,!0===NoticedLoginInfo.login?NoticedLoginInfo.login=!0:"true"===NoticedLoginInfo.login?NoticedLoginInfo.login=!0:NoticedLoginInfo.login=!1,_isVIPSync=!0===NoticedLoginInfo.login,_isBANSync=!1,_banType="",clearVipTypes(),this.fire({type:"infoset"})},getBanType=function(){return _banType},addEvent=function(e,t,i){e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i)},beforeunloadListener=function(){var e=this,t=function(){e.isVip(function(e){e&&closeHeartBeat()})};addEvent(window,"beforeunload",t)},_getVipTypesStack=[],_getVipTypesCallback=function(e){for(var t=0;t<_getVipTypesStack.length;t++)_getVipTypesStack[t](e);_getVipTypesStack=[]},isChangeVipState=function(e){isVip(function(t){logger.log("isChangeVipState! preIsVip:"+preIsVip+",curIsVip: "+t),e(preIsVip!=t)})},isVip=function(e){getVipTypes(function(t){var i=t.join(",");e("0"!==i&&""!==i)})},isRequestVipTypes=!1,__QP0013=null,getVipTypes=function(e){if(isLogin()||clearVipTypes(),_getVipTypesStack.push(e),!__QP0013){__QP0013=cookies.get("QP0013");var t=__QP0013.match(/[0-9]/g)||[];__QP0013&&t.length!=__QP0013.replace(/,/g,"").length&&(__QP0013="")}if(__QP0013){var i=__QP0013.split(",");_getVipTypesCallback(i)}else isRequestVipTypes||(isRequestVipTypes=!0,requestVipTypes())},updateVipTypes=function(){isRequestVipTypes||(isRequestVipTypes=!0,requestVipTypes())},requestVipTypes=function(){if(!isLogin())return void _getVipTypesCallback([0]);http.ajax({url:"//vinfo.vip.iqiyi.com/external/vip_users",params:{uid:getUid(),P00001:cookies.get("P00001"),platform:getPTID(),version:"3.0",appVersion:"1.0",bizSource:"vip_web_player",messageId:uuid.createUUID(),vipTypes:i18n.isTWLocale()?"5,6,7,8,10,13,14":"1,3,4,5,7,8,10,13,14"},timeout:2e3,memory:!0,success:function(e){try{e=JSON.parse(e||{})}catch(e){logger.error("vip_users: parse Error"),requestVipTypesFailed()}if("A00000"===e.code){var t=e.data||{},i=[];for(var o in t){var a=t[o];a&&"1"==a.status&&i.push(a.vipType),a=null}i.length||i.push(0),__QP0013=i.join(","),cookies.set("QP0013",__QP0013,{expires:1296e6,path:"/",domain:"iqiyi.com"}),logger.log("requset vipTypes success! viptypes is "+__QP0013),_getVipTypesCallback(i)}else requestVipTypesFailed()},failure:function(e,t){requestVipTypesFailed()}})},requestVipTypesFailed=function(){requestVipTypesRetryTimes>0?(__QP0013="1",logger.log("requset vipTypes failed! viptypes is "+__QP0013),_getVipTypesCallback([1])):(requestVipTypes(),requestVipTypesRetryTimes++)},clearVipTypes=function(){isRequestVipTypes=!1,requestVipTypesRetryTimes=0,cookies.set("QP0013","",{expires:1296e6,path:"/",domain:"iqiyi.com"}),__QP0013=null},UserInfo=new Class("User",{extend:Dispatcher,methods:{isLogin:isLogin,getUid:getUid,isVipSync:isVIPSync,isBanned:isBanned,getBanType:getBanType,passportCookie:passportCookie,isNewUser:function(){return isNewUser},setInfo:setInfo,tvid:function(e){_tvid=e},openHeartBeat:openHeartBeat,stopHeartBeat:stopHeartBeat,closeHeartBeat:closeHeartBeat,beforeunloadListener:beforeunloadListener,checkVip:checkVip,isVip:isVip,getVipTypes:getVipTypes,updateVipTypes:updateVipTypes,clearVipTypes:clearVipTypes,__isChangeVipState:isChangeVipState}});module.exports=new UserInfo}.call(exports,__webpack_require__,exports,module))&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(4),n={},r={get:function(e,t){var i="";if(t=a({memory:!1},t,!0),t.memory&&n.hasOwnProperty(e))i=n[e];else{if(new RegExp('^[^\\x00-\\x20\\x7f\\(\\)<>@,;:\\\\\\"\\[\\]\\?=\\{\\}\\/\\u0080-\\uffff]+$').test(e)){var o=new RegExp("(^| )"+e+"=([^;]*)(;|$)"),r=o.exec(document.cookie);r&&(i=r[2]||"")}"string"==typeof i&&(i=decodeURIComponent(i)),t.memory&&(n[e]=i)}return i},set:function(e,t,i){i=i||{},t=encodeURIComponent(t);var o=i.expires;"number"==typeof i.expires&&(o=i.expires<=0?new Date(0):new Date,o.setTime(o.getTime()+i.expires)),delete n[e],document.cookie=e+"="+t+(i.path?"; path="+i.path:"")+(o?"; expires="+o.toUTCString():"")+(i.domain?"; domain="+i.domain:"")},remove:function(e,t){t=t||{},t.expires=-1,this.set(e,"",t)}};o.exports=r}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){i.exports={locale:"cn_s",isTraditionalChinese:function(){var e=!1,t=this.locale;return"tw_t"!==t&&"cn_t"!==t||(e=!0),e},isTWLocale:function(){var e=!1,t=this.locale;return"tw_t"!==t&&"tw_s"!==t||(e=!0),e},local:function(){return this.locale},setLocale:function(e){this.locale=e}}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(4),n=i(12),r=document,s=function(){},d={},p={"*":"*/".concat("*"),text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},l={"*":null,text:null,html:null,xml:null,json:function(e){var t={},i=window.JSON?JSON.parse:function(){return{}};try{t=i(e)}catch(e){}return t}},c={method:"get",dataType:"*",timeout:1e4,charset:"utf-8",cache:!0,withCredentials:!0,jsonpCallback:"callback",complete:s,success:s,failure:s},u=function(e){var t=[];if("object"==typeof e)for(var i in e)t[t.length]=encodeURIComponent(i)+"="+encodeURIComponent(e[i]);return t.join("&").replace(/%20/g,"+")},f=function(e){e=e||{},a(e,c);var t=e.url,i=e.params||{},o=e.success,n=e.failure;if(t){!function(){function a(){var t;4==d.readyState&&(t=l[e.dataType]?l[e.dataType](d.responseText):d.responseText,200==d.status?o(t):n(d.statusText,t))}var r={},s=u(i);r.params=i,r.url=t+(s.length>0?(/\?/i.test(t)?"&":"?")+s:""),"function"==typeof e.beforeSend&&(r=e.beforeSend(r));var d=new XMLHttpRequest;d.withCredentials=e.withCredentials,d.onreadystatechange=a,d.open(e.method,r.url),d.timeout=e.timeout,d.setRequestHeader("Accept",p[e.dataType]),d.send()}()}},g=function(e){e=e||{},a(e,c),e.dataType="json",f(e)},_=function(e){e=e||{},a(e,c);var t=e.url,i=e.params||{},o=e.success,s=e.failure,p="Q"+n(e.fixedCallback||t),l=!!e.memory,f=n(t+u(i)),g=d[f];if(t){if(l&&g&&o)return void o(g);var _=function(t,i,a){window[p]=void 0;try{delete window[p]}catch(e){}switch(t){case"success":l&&(d[f]=a),o(a);break;case"fail":s(a,i)}e.complete(a)};window[p]=function(e){_("success","200",e)};var h,m={},v=r.createElement("script");v.async=!0,v.type="text/javascript",v.charset=e.charset;var b=function(){if(v)try{v.onload(null,!0)}catch(e){}};return v.abort=b,v.onload=v.onreadystatechange=function(e,t){(t||!v.readyState||/loaded|complete/.test(v.readyState))&&(v.onload=v.onreadystatechange=null,v.parentNode&&v.parentNode.removeChild(v),v=null,clearTimeout(h))},v.onerror=function(e){_("fail",null),b()},h=setTimeout(function(){_("fail",408),b()},e.timeout),i[e.jsonpCallback]=p,m.url=t+(/\?/i.test(t)?"&":"?")+u(i),m.params=i,"function"==typeof e.beforeSend&&(m=e.beforeSend(m)||m),v.src=m.url,r.getElementsByTagName("head")[0].appendChild(v),v}},h=function(e,t,i){if("string"==typeof t){var o=void 0===i||i;if(e){var a=[];o&&(e._=+new Date);for(var n in e)a.push(n+"="+encodeURIComponent(e[n]));var r=t+"?"+a.join("&"),s=new Image;s.onload=s.onerror=s.onabort=function(){s.onload=s.onerror=s.onabort=null,s=null},s.src=r}}};o.exports={serializeParam:u,ajax:f,json:g,jsonp:_,beacon:h}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){var o=function(e){return"boolean"==typeof e},a=function(e){return"number"==typeof e},n=function(e){return"[object object]"===Object.prototype.toString.call(e).toLowerCase()},r=function(e){return Array.isArray?Array.isArray(e):"[object array]"===Object.prototype.toString.call(e).toLowerCase()},s=function(e){if(isNaN(e))return"00:00:00";e=Math.round(e);var t=e>=3600?Math.floor(e/3600):0,i=e%3600>=60?Math.floor(e%3600/60):0;return i=i>=10?i:"0"+i,e=parseInt(i,10)>=0?e%3600%60:e,e=e>=10?e:"0"+e,t>0?(t>9?t:"0"+t)+":"+i+":"+e:i+":"+e},d=function(e){var t="";return t=e.replace("http://","//"),t=t.replace("https://","//"),t=t.replace(".qiyipic",".iqiyipic")};i.exports={isBool:o,isNumber:a,isArray:r,isObject:n,formatMilliseconds:s,protocolRevise:d}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){var o=function(e){var t="",i="",o="",a="",n=/(\w+):\/\/([^\/:]+):?(\d*)((?:\/|$)[^?#]*)/,r=e.match(n);return r&&(t=r[1],i=r[2],o=r[3],a=r[4]),{protocol:t,host:i,port:o,path:a}},a=function(e){for(var t,i,o,a=e.substr(e.lastIndexOf("?")+1),n=a.split("&"),r=n.length,s={},d=0;d=0}function r(e,t){n(e,t)||(e.className+=(e.className?" ":"")+t)}function s(e,t){for(var i=" "+e.className+" ";i.indexOf(" "+t+" ")>=0;)i=i.replace(" "+t+" "," ");e.className="function"==typeof i.trim?i.trim():i.replace(/^\s+|\s+$/g,"")}function d(e,t){var i=t;e.className="function"==typeof i.trim?i.trim():i.replace(/^\s+|\s+$/g,"")}function p(e,t){n(e,t)?s(e,t):r(e,t)}var l=i(0),c=document,u=window,f=/^-ms-/,g=/-([a-z])/g,_=Object.prototype.toString,h=Array.prototype.slice,m=l("dom",{construct:function(e){return this._query.call(this,e)},methods:{find:function(e){return this._query(e,new m)},_query:function(e,t){var i,o=this,a=[];if(!e)return this;if("[object nodelist]"===_.call(e).toLowerCase())a=e;else if(e.nodeType)a.push(e);else if(t)for(i=0;i0&&(t=getComputedStyle(this[0])[a(e)]),t);for(var i in e)this.css(i,e[i])},show:function(){return this.css("display","")},hide:function(){return this.css("display","none")},attr:function(e,t){return void 0!==t?this._each(function(i,o){o.setAttribute(e,t)}):(this.length>0&&(t=this[0].getAttribute(e)),t)},removeAttr:function(e){this._each(function(t,i){1===i.nodeType&&i.removeAttribute(e)})},children:function(){var e,t=[],i=this[0];if(i)for(e=i.firstChild;e;)1===e.nodeType&&t.push(e),e=e.nextSibling;return t},html:function(e){if("string"==typeof e)this._each(function(t,i){i.innerHTML=e});else if(this[0])return this[0].innerHTML},append:function(e){var t,i,o=this,a=o[0];return a?("string"==typeof e&&(t=c.createDocumentFragment(),i=c.createElement("div"),t.appendChild(i),i.innerHTML=e,e=i.firstChild),a.appendChild(e),i=null,o):o},remove:function(){return this._each(function(e,t){t.parentNode&&t.parentNode.removeChild(t)})},offset:function(){var e,t=c.documentElement,i=this[0];return i?(e=i.getBoundingClientRect(),{top:e.top+(u.pageYOffset||t.scrollTop)-(t.clientTop||0),left:e.left+(u.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):{top:0,left:0}},width:function(e){var t=this[0];if(!t)return 0;if(void 0!==e)return this.css("width",isNaN(e)?e:e+"px");var i=this.css("width");if(i=parseInt("100%"===i?0:i),isNaN(i)){var o=t.offsetWidth;o<=0||null==o||(i=o)}return i},height:function(e){return this[0]?void 0!==e?this.css("height",isNaN(e)?e:e+"px"):parseInt(this.css("height")):0},contains:function(e){var t,i=this[0];return e&&(e.nodeType?t=e:e.__$__&&(t=e[0])),!(!i||!t)&&i.contains(t)},on:function(e,t){var i=this._events=this._events||[],o=i[e];return o||(o=i[e]=[]),o.push(t),this._each(function(i,o){o.addEventListener(e,t,!1)})},un:function(e,t){var i=this._events||[],o=i[e];return o||(o=i[e]=[]),this._each(function(i,a){var n;if(t){for(;(n=o.indexOf(t))>-1;)o.splice(n,1);a.removeEventListener(e,t)}else o.length>0&&(o.forEach(function(t){a.removeEventListener(e,t)}),o.splice(0,o.length))})},fire:function(e,t){var i=this,o=i._events=i._events||[],a=o[e];a||(a=o[e]=[]),t.data=t.data||{},i._each(function(e,i){a.forEach(function(e){e.call(i,t)})})}}});o.exports=function(e){return new m(e)}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){function o(e,t){e[t>>5]|=128<>>9<<4)]=t;for(var i=1732584193,o=-271733879,a=-1732584194,l=271733878,c=0;c>16)+(t>>16)+(i>>16)<<16|65535&i}function l(e,t){return e<>>32-t}function c(e){for(var t=Array(),i=(1<>5]|=(e.charCodeAt(o/g)&i)<>2]>>o%4*8+4&15)+t.charAt(e[o>>2]>>o%4*8&15);return i}var f=0,g=8;i.exports=function(e){return u(o(c(e),e.length*g))}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(72),n=i(25);return a.CORE_TYPES=n,a}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(6),n=i(12),r=0,s=!1,d="",p=window.webEventID||"",l=function(){p=window.webEventID||""},c=function(){return n(window.navigator.userAgent+document.cookie+Math.random()+(new Date).getTime()*r++)},u=function(e,t){a.set(e,t,{expires:31536e6,path:"/",domain:"iqiyi.com"})},f=function(){var e=a.get("QC006");return e||(s=!0,e=c(),u("QC006",e)),e},g=function(){var e=a.get("QC005");return e||(s=!0,e=c(),u("QC005",e)),e},_={createUUID:function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1).toUpperCase()}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},getJsuid:f,getFluid:g,getWeid:function(){return p||(p=window.webEventID||n(f()+"weid"+ +new Date)),p},getEid:function(){var e="";return d||(e=f(),d=n(e+"veid"+1*new Date)),d},getIsNewUser:function(){return s},init:function(){try{window.addEventListener("unload",l),window.addEventListener("beforeunload",l),window.addEventListener("pagehide",l)}catch(e){}}};o.exports=_}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){var o=0,a="ntf_";i.exports={NTF_PLG_Enable:a+o++,NTF_PLG_Disable:a+o++,NTF_HOTKEY_ControlbarShow:a+o++,NTF_Play:a+o++,NTF_Pause:a+o++,NTF_Replay:a+o++,NTF_Seek:a+o++,NTF_ChangeVolume:a+o++,NTF_SeekTime:a+o++,NTF_PlayerSmallWindowStatus:a+o++,NTF_ControlbarShow:a+o++,NTF_ControlbarHide:a+o++,NTF_DefinitionBtnClick:a+o++,NTF_DefinitionBtnMouseEnter:a+o++,NTF_DefinitionBtnMouseLeave:a+o++,NTF_DefinitionListShow:a+o++,NTF_DefinitionListhide:a+o++,NTF_DefinitionADShow:a+o++,NTF_DefinitionADClick:a+o++,NTF_FullScreen:a+o++,NTF_WebFullScreen:a+o++,NTF_SetDownLoad:a+o++,NTF_BarrageSelfSend:a+o++,NTF_BarrageSettingChange:a+o++,NTF_HIDE_BOTTOM_TOP:a+o++,NTF_SHOW_BOTTOM_TOP:a+o++,NTF_HIDE_PLAYLIST:a+o++,NTF_HIDE_TOPBAR:a+o++,NTF_SHOW_TOPBAR:a+o++,NTF_CLICK_PLAYLIST_BTN:a+o++,NTF_SHOW_PLAYLIST_BTN:a+o++,NTF_HIDE_PLAYLIST_BTN:a+o++,NTF_SHOW_CONTROLBAR_PINGBACK:a+o++,NTF_SEEKBAR_HOVER:a+o++,NTF_SHOW_HEATMAP:a+o++,NTF_SHOW_LOGIN_PANEL:a+o++,NTF_GESTURE_ASYNC_CONTROLS:a+o++,NTF_USER_SEEK:a+o++,NTF_BanTipHide:a+o++,NTF_WebFullScreen_BeforeChange:a+o++,NTF_WebFullScreen_AfterChange:a+o++,NTF_WebFullScreen_SetSwitch:a+o++,NTF_FullScreen_BeforeChange:a+o++,NTF_FullScreen_AfterChange:a+o++,NTF_ScoreTask_ScoreChange:a+o++,NTF_FullScreen_SetSwitch:a+o++,NTF_VideoPercent_Changed:a+o++,NTF_Barrage_SetConfigInfo:a+o++,NTF_Barrage_SetChannelConfigInfo:a+o++,NTF_Barrage_SetSwitch:a+o++,NTF_Barrage_ShowLike:a+o++,NTF_Barrage_ShowMoreLike:a+o++,NTF_Barrage_ShowReport:a+o++,NTF_Barrage_EnsureReport:a+o++,NTF_Barrage_ShowRulePage:a+o++,NTF_Barrage_NotifyBarrageData:a+o++,NTF_Barrage_ClearBanWord:a+o++,NTF_Barrage_AddBanWord:a+o++,NTF_Barrage_RemoveBanWord:a+o++,NTF_Barrage_CatchSystemBarrage:a+o++,NTF_Barrage_NotifyGiftInfo:a+o++,NTF_Barrage_ShowSystemBarrage:a+o++,NTF_Barrage_ClickSystemBarrage:a+o++,NTF_Barrage_ClickSystemBarrageButton:a+o++,NTF_Barrage_RequestBarrageData:a+o++,NTF_FeedBack_Show:a+o++,NTF_FeedBack_Hide:a+o++,Type_Play:"play",Type_Pause:"pause",Type_Replay:"replay"}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){function a(e){e=parseInt(e,10);var t=s(e+"IQIYI"+(new Date).getTime());return d[e]=t,t}function n(e){var t;for(var i in d)if(d[i]===e){t=i;break}return parseInt(t,10)}function r(e){return d[e]||""}var s=i(12),d={};o.exports={generate:a,getEpisodeId:n,getEventId:r}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){i.exports={Status_Idle:"idle",Status_Loadstart:"loadstart",Status_Loaddone:"loaddone",Status_LoadFailed:"error",Status_LoadedMetaData:"loadedmetadata",Status_Canplay:"canplay",Status_Waiting:"waiting",Status_Paused:"paused",Status_Play:"play",Status_Playing:"playing",Status_Stoped:"ended",Status_Stalled:"stalled",Status_Playing_Fail:"muted",NTF_StatusChanged:"statusChanged",NTF_CanPlayThrough:"canplaythrough",NTF_VolumeChanged:"volumechanged",NTF_DurationChanged:"durationchange",NTF_Seeking:"seeking",NTF_TimeUpdate:"timeupdate",NTF_Progress:"progress",NTF_NeedUserGesture4Playback:"needUserGesture",Action_Type_Controls:"controls",Action_Type_Code:"code",Action_Type_Native:"native"}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){var o=0,a="engine_ntf_";i.exports={Status_Assembled:a+ ++o,Status_Error:a+ ++o,Status_Done:a+ ++o,Status_Destroy:a+ ++o,NTF_MovieInfoChange:a+ ++o,NTF_VRSStart:a+ ++o,NTF_VRSReady:a+ ++o,NTF_VRSDone:a+ ++o,NTF_VRSPreloaded:a+ ++o,NTF_ReJointPreload:a+ ++o,NTF_TVIDChange:a+ ++o,NTF_TVIDChanged:a+ ++o,NTF_VDChanged:a+ ++o,NTF_VDChangeFail:a+ ++o,NTF_Recharge:a+ ++o,NTF_SetSkipPrelude:a+ ++o,NTF_NeedUserGesture4Playback:a+ ++o,NTF_ARES_Load:a+ ++o,NTF_ARES_Init:a+ ++o,NTF_ARES_Gas:a+ ++o,NTF_ARES_GasFinish:a+ ++o,NTF_ARES_Info:a+ ++o,NTF_ARES_Play:a+ ++o,NTF_ARES_End:a+ ++o,NTF_ARES_CloudPlay:a+ ++o,NTF_ARES_CloudPlayEnd:a+ ++o,NTF_AD_Start:"jsNotifyAdStart",NTF_AD_End:"jsNotifyAdEnd",NTF_ARES_NOAD:a+ ++o,NTF_ARES_READY:a+ ++o}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(2),n=i(0),r=i(15),s=document.createDocumentFragment();o.exports=n("PluginBase",{construct:function(e,t){var i=this;i.skin=e,i.core=t,i.wrapper=e.videoWrapper,i.plgContainer=e.plgContainer,i.isOpen=!1,i.enabled=void 0,i.panelType="normal"},extend:a,methods:{open:function(){},close:function(){},destroy:function(){},enable:function(){var e=this;!1!==e.enabled&&void 0!==e.enabled||(e.enabled=!0,e.$plugin&&e.plgContainer.append(e.$plugin[0]),e.fire({type:r.NTF_PLG_Enable}))},disable:function(){var e=this;!0!==e.enabled&&void 0!==e.enabled||(e.enabled=!1,e.$plugin&&!0!==e.plgMustShow&&s.appendChild(e.$plugin[0]),e.skin.fire({type:r.NTF_PLG_Disable}))}}})}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){var o={},a={},n={},r=0,s={getItem:function(e){return o[e]},setItem:function(e,t){o[e]=t},removeItem:function(e){delete o[e]}},d=function(){try{return window.localStorage.setItem("_Q_test_",1),window.localStorage.removeItem("_Q_test_"),window.localStorage}catch(e){}return s}(),p=function(){0===r&&(clearTimeout(r),r=setTimeout(function(){r=0;for(var e in a)d.setItem(e,a[e]),delete a[e];for(var t in n)d.removeItem(t),delete n[e]},1e3))};i.exports={PLAYER_VD_KEY:"QiyiPlayerVD",read:function(e){return o[e]||(o[e]=d.getItem(e)),o[e]},write:function(e,t){o[e]=t,a[e]=t,p()},remove:function(e){delete o[e],n[e]=0,p()}}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){i.exports={seriesLoadScripts:function(e,t){"object"!=typeof e&&(e=[e]);var i=document.getElementsByTagName("head").item(0)||document.documentElement,o=[],a=e.length-1,n=function(r){o[r]=document.createElement("script"),o[r].setAttribute("type","text/javascript"),o[r].onload=o[r].onreadystatechange=function(){this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(this.onload=this.onreadystatechange=null,this.parentNode.removeChild(this),r!=a?n(r+1):"function"==typeof t&&t(!0))},o[r].onerror=o[r].onstalled=function(){"function"==typeof t&&t(!1)},o[r].setAttribute("src",e[r]),i.appendChild(o[r])};n(0)},parallelLoadScripts:function(e,t){"object"!=typeof e&&(e=[e]);for(var i=document.getElementsByTagName("head").item(0)||document.documentElement,o=[],a=0,n=0;n35?String.fromCharCode(e+29):e.toString(36))},!"".replace(/^/,String)){for(;i--;)n[a(i)]=o[i]||a(i);o=[function(e){return n[e]}],a=function(){return"\\w+"},i=1}for(;i--;)o[i]&&(e=e.replace(new RegExp("\\b"+a(i)+"\\b","g"),o[i]));return e}('2k 2R(b){R=2p 8X(16*3b);2g=8W*16;3a=2p 5G(R);3p=2p 8V(R);a=2p 8T(R);c=2p 5G(R);3a[0]=8U;i=8Y;m=0;n=0;o=0;p=0;s=0;t=0;u=0;v=0;w=0;x=0;y=0;z=0;A=0;B=0;C=0;D=0;E=0;F=0;G=0;H=0;I=0;J=0;K=0;L=2y.8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>>2]=40;c[55]=c[3f]}1Y(0);a=c[51]|0;1H(a>>>0>o>>>0){J=a-o|0;c[51]=J;L=c[54]|0;K=L+o|0;c[54]=K;c[K+4>>2]=J|1;c[L+4>>2]=o|3;L=L+8|0;2d L|0}}2d 0}2k 4o(x){2d 2R(x)}2k 4i(){2f r={};r["9p"]="1";2d r}2k 2F(){2f r={};r["9q"]=1;r["9r"]=9m(9l.9h.9g())==="2k%9j%28%29%20%7B%20%8E%8L%5D%20%7D"?"a":"i";r["7i"]=0;1H(8G 8F!="8H")r["7i"]=1;r["8I"]=4r.8J(2p 4r())/6L;2d r}2k 4p(){2d 2F()}2k 3U(){2d 2F()}2f 7n=(2k(){2d!8S})();1H(7n){2t.2R=2R;2t.4o=4o;2t.4i=4i;2t.2F=2F;2t.4p=4p;2t.3U=3U}',0,640,"|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||Ia||||Ha|||sa|ua|Ba|Ga|za|wa|va|ya|db|_a|Ka|ta|bb|cb|eb|Fa|Ca|Da|Ea|Ja|fb|Za|Ua|xa|ib|gb|hb|Ra|Sa|Xa|Va|Wa|Ya|if|Qa|continue|case|break|mb|nb|qb|kb|lb|ob|jb|pb|Aa|Pa|else|Oa|while|do|||||||||||pn|ps|128|return|La|var|pt|ui|232|121|function|ut|496|256|156|new|157|pm|223327204|window|160|Na|ci|159|Math|640|193|2147483647|cr|136|161|cmd5xtmts|503206210|1023|charCodeAt|1388890711|268273123|1186168603|cu|205119057|306070462|89952541|380726747|cmd5x|1172163969|1424487794|861084163|145|381686885|158|127|797466866|||||168||||234558882||Rp|1024|1048320|16777215|1317685325|170|520192|245760|373881474|2075741683|2004298390|1973195180|_|1777071147|225229394|Rq|405859795|1404706964|149|cmd5xt|104|ct|419482005|116|659082404|1514409254|148|154|529461708|539859515|Ma|ch|112|ja|pa|la|33242356|146|qa|ra|fa|ea|ca|ba|132|304|cmd5xvms|1578590490|124|100|129|107||1719848737|||||||||1859242102|163|166|ga|da|190|141|924935704|cmd5xly|119|183|2088055561|173|152|cmd5ly|cmd5xlive|oa|Date|ia|ha|ma|ka|na|1905239980|876893045|135|252947873|2103109303|1162696414|1609523247|151|1191657700|1778799498|395027463|522724937|1797841953|1330564622|1999768042|27115808|2060210203|1599288595|1332493879|583337992|139|143|138|137|1854390030|23571533|1742022525|66713274|2098496209|||||||||||1663655995|1999460729|729837134|2136387674|1021816955|1581647320|102|2136007327|101|906020365|103|106|105|520486856|1024496191|2145560826|1775524201|403699684|221245562|705355747|1628865018|125479053|566281542|946902778|1017329338|109|65536|2047|65535||57343|55296|Int32Array|for|length|2097151|67108863|1588902052|1250383377|110|252|248|192|224|240|1546354233|573433763|817781417|248548091|721543188|394913534|1642549018||1735869413||||2123338553|||||794469430|845217744|1839362061|735801710|744675608|153|155|1417402377|1241365298|1821433937|1118038510|1402583234|1763856666|430907182|1732584193|1426481834|2024697286|692823717|1970494992|169207214|1934808656|171343354|1134317627|117621929|1283031477|555213856|506753693|58933214|209274788|796911875|1763841430|702715349|775604796|479053452|281|875125272|307|1e3|223327205|1513562601|1091295736|1818258150|1517567764|1491303093|117|1301399310|106029065|278|1501901147|211|String|min|167||||||||||203|113|426025673|115|77471208|111|114|1910606658|qds|128080197|1116549971|147|1849332518|isStrict|150|961017688|125|131|1916722598|162|133|1028988577|2095981013|1631560841|134|1509393712|126||524507312||1132267683|427127086|1316696592|937268693|123|122|1236535329|373897302|389564586|1502002290|680876936|40341101|165796510|643717713|1069501632|42063|176418897|701558691|1200080426|45705983|1044525330|1770035416|||||||||||1990404162|1473231341|1958414417|606105819|1804603682|187363961|1839030562|76029189|2022574463|378558|1926607734|722521979|681279174|1530992060|35309556|155497632|1094730640|1735328473|51403784|1019803690|568446438|405537848|660478335|530742520|421815835|1444681467|1163531501|640364487|1272893353|38016083|5Bnative|js_call_java_obj|typeof|undefined|tm|parse|set|20code|144|164|140|120|108|8328|this|Int8Array|255|Uint8Array|321|ArrayBuffer|1760|floor|||||||||po||3920|Array|imul|abs|172|176|toString|javaEnabled|switch|20javaEnabled|244|navigator|escape|1639813410|1639813405|qdv|qd_v|qdy|236|228|995338651|196|188|184|180|200|204|220|216|212|208|1639813437|358537222|1120210379|718787259|343485551|271733879|default|1309151649|1873313359|30611744|1560198380|1732584194|271733878|apply|fromCharCode|1431655768|now|subarray|245|171|4294967231|615|2054922799|145523070|1700485571|1416354905|96809952|601048418|169|4096|57434055|||601048392|601048386|621317265|198630844|1051523|621317264|1894986606|1126891415".split("|"),0,{}))}catch(e){}window.cmd5xtmts=cmd5xtmts,window.cmd5x=cmd5x,window.cmd5ly=cmd5ly,window.cmd5xlive=cmd5xlive,module.exports={cmd5xtmts:cmd5xtmts,cmd5x:cmd5x,cmd5ly:cmd5ly}}.call(exports,__webpack_require__,exports,module))&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(5),n={needRecord:!0,browserType:"",pageTmpltType:"",pgct:0,sTime_userInfo:0,sTime_P2PCore:0,sTime_history:0,sTime_showVideo:0,sTime_adInit:0,sTime_vms:0,usedTime_selfLoaded:0,usedTime_userInfo:0,usedTime_P2PCore:0,usedTime_history:0,usedTime_showVideo:0,usedTime_pageShowVideo:0,usedTime_adInit:0,usedTime_vms:0};a.on("httpStart",function(){n.sTime_userInfo=new Date-n.pgct}),a.on("httpComplete",function(){n.usedTime_userInfo=new Date-n.sTime_userInfo-n.pgct}),o.exports=n}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a,n=i(4),r=i(34),s=i(14),d=i(8),p=(i(10),i(6)),l=i(26),c=i(3),u=i(5),f=i(22),g=i(7),_=i(21),h=i(1),m=i(23),v=i(25),b="",y="",x=-1,w=!1,T=0,k={1:"303",2:"302",6:"304",11:"405",12:"401",13:"401",21:"302"},S="01010021010000000000",A=function(){c.browser.weixin?c.os.ios?S="02038001010000000000":c.os.android&&(S="02028001010000000000"):c.os.ios?S=c.os.iosMobile?"02030031010000000000":"03030021010000000000":c.os.android&&(S=c.os.androidMobile?"02020031010000000000":"03020021010000000000"),g.isTWLocale()&&(S=c.getPtid(!0))};A(),setTimeout(A,2e3);var E="1",P="10",L="101";c.browser.iPad?(E="2",P="20",L="202"):(c.os.ios||c.os.android)&&(E="2",P="20",L="201");var I="window";c.os.ios||c.os.mac?I="mac":c.os.android&&(I="android");var F="",q={},C=0,D="",N=function(e){!function(e){j(e,function(){a.getVideoInfo(function(t){u.isVip(function(i){var o=a.getMovieInfo(),c={bstp:6,ptid:S,pf:E,p:P,p1:L,c1:o.cid||"",r:o.tvid||"",aid:o.albumId||"",u:s.getFluid()||"",u2:s.getJsuid()||"",pu:u.getUid()||"",os:I,v:b,ra:F,nu:s.getIsNewUser()?1:0,ve:s.getEid(),ce:s.getWeid(),hu:i?1:-1,ht:o.isVIP?1:0,ispre:a.isTryWatch()?1:0,mod:g.local()||"",z:t.userDisInfo_t||"",diaoduuip:t.userDisInfo_t||"",server_ip:t.userDisInfo_l?String(t.userDisInfo_l).split("//")[1].split("/")[0]:"",stime:(new Date).getTime(),purl:window.location.href,rfr:window.document.referrer,lrfr:p.get("QC007")||"",dfp:l.get()||"",vfm:q.vfm||p.get("QP005")||"",vvfrom:q.vvfrom||"",vfrm:q.vfrm||"",plyrtp:0,coop:"",isdm:C,videotp:void 0!==o.is3D?o.is3D:"",rn:Math.random(),tmplt:m.pageTmpltType};e&&13===e.t&&t.vi&&n(c,{uploaderid:t.vi.uid,isfan:D}),e&&1===e.t&&t.vi&&R(t.vi.uid);try{n(c,{as:f.cmd5ly(c.r+""+c.p1+c.u+c.ve+"ChEnYH0804FdadrrEDFf2016tT")})}catch(e){}n(c,e),d.beacon(c,r.pingbackUrl)})})})}(e)},R=function(e){u.getUid()&&e&&(D="",d.jsonp({url:"//sns-api.iqiyi.com/apis/friend/follow.action",params:{myuid:u.getUid(),uids:e},timeout:2e3,memory:!0,success:function(t){"A00000"===t.code&&t.data&&(D=t.data[e])}}))},B=function(e,t,i,o,a){var n={};n._bizType="vrs_logRecord",n.errorcode=t,n.st=i,n.tvid=e,n.version=b,n.f4v=o,n.sgti=a,n.log_content=h.getLog();for(var r=JSON.stringify(n),s=new Uint8Array(r.length),d=0;d0&&void 0===window.dfp?_.seriesLoadScripts("//security.iqiyi.com/static/cook/v1/cooksdk.js",function(e){e&&void 0!==window.dfp&&(l.setSDK(window.dfp),t())}):t()};o.exports={sendVrsRequestPingback:function(){N({t:"init"})},sendVrsReadyPingback:function(){N({t:"ready"})},sendADStartPlayPingback:function(){N({t:15})},sendStartPlayPingback:function(){T=a.getCurrenttime(),N({t:1,lct:T}),-1===x&&this.sendTimingPingback(),this.sendProcessesTimePingback()},sendTimingPingback:function(){x=0;var e=0;clearTimeout(x);var t=function(){if(a.getCurrStatus()===v.Status_Playing){e+=1e3;var i=0;15e3==e?(i=T,T=a.getCurrenttime(),N({t:2,tm:15,lct:i+","+T})):6e4==e?(i=T,T=a.getCurrenttime(),N({t:2,tm:60,lct:i+","+T})):e%12e4==0&&(i=T,T=a.getCurrenttime(),N({t:2,tm:120,lct:i+","+T}))}if(e%6e4==0&&a.getCurrStatus()===v.Status_Playing){var o=u.isLogin()?"QP008":"QP007",n=p.get(o);n=""===n?0:parseInt(n,10),n+=60,p.set(o,n,{expires:31536e6,path:"/",domain:"iqiyi.com"})}clearTimeout(x),x=setTimeout(t,1e3)};t()},sendEndPlayPingback:function(e){T=a.getCurrenttime(),N({t:13,endtp:e,lct:T})},sendWaitingPingback:function(e){e?(w||(w=!0,N({t:8,jamtp:1,rd:"ad"})),this.sendErrorPlayPingback("","4016")):(w||(w=!0,N({t:8,jamtp:1,rd:"video"})),this.sendErrorPlayPingback("","4015"))},sendPlayingPingback:function(){w&&(w=!1)},sendErrorPlayPingback:function(e,t,i){N({t:0,ec:t||k[e],psrc:i||""})},sendProcessesTimePingback:function(){if(m.needRecord){m.needRecord=!1;var e={};e.t=10,m.usedTime_userInfo>0&&(e.tm1=m.usedTime_userInfo+","+m.sTime_userInfo),m.usedTime_P2PCore>0&&(e.tm2=m.usedTime_P2PCore+","+m.sTime_P2PCore),m.usedTime_history>0&&(e.tm7=m.usedTime_history+","+m.sTime_history),m.usedTime_pageShowVideo>0&&m.usedTime_pageShowVideo<12e4&&(e.tm8=m.usedTime_pageShowVideo+",0"),m.usedTime_showVideo>0&&m.usedTime_showVideo<6e4&&(e.tm9=m.usedTime_showVideo+","+m.sTime_showVideo),m.usedTime_vms>0&&(e.tm10=m.usedTime_vms+","+m.sTime_vms),m.usedTime_adInit>0&&(e.tm11=m.usedTime_adInit+","+m.sTime_adInit),m.usedTime_selfLoaded>0&&m.usedTime_selfLoaded<6e4&&(e.tm12=m.usedTime_selfLoaded+",0"),e.br=m.browserType||"",e.tmplt=m.pageTmpltType,e.re=window.screen.width+"*"+window.screen.height,N(e)}},init:function(e){x=0,a=e,b=a.holders.playerVersion,y="main"===a.holders.playerType?0:1,e.once(v.NTF_VRSReady,function(){})},setCurrentVD:function(e){F=e},setPbInfo:function(e){q=e},setPbisdm:function(e){C=e},sendErrorAuto:B}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){i.exports={Status_Idle:"idle",Status_Ready:"ready",Status_Loadstart:"loadstart",Status_LoadedMetaData:"loadedmetadata",Status_StartPlay:"startplay",Status_Waiting:"waiting",Status_Paused:"paused",Status_Play:"play",Status_Playing:"playing",Status_Stoped:"stoped",Status_End_Play:"endplay",Status_PlayError:"error",Status_AdLoaded:"adloaded",Status_AdInit:"adinit",Status_AdLoadstart:"adloadstart",Status_AdStartPlay:"adstartplay",Status_AdPlaying:"adplaying",Status_AdPaused:"adpaused",Status_AdPlayEnded:"adended",Status_AdError:"aderror",Status_AdStalled:"adstalled",Status_AdWaiting:"adwaiting",Status_AresPlay:"aresplay",Status_AresEnded:"aresended",Status_AresNoticeInfo:"aresnoticeinfo",NTF_StatusChanged:"statusChanged",NTF_Error:"engineError",NTF_VideoRefresh:"videorefresh",NTF_VideoChange:"videochange",NTF_VideoChanged:"videochanged",NTF_VideoListChanged:"videolistchanged",NTF_ADDVideoList:"addvideolist",NTF_CanPlayThrough:"canplaythrough",NTF_VolumeChanged:"volumechanged",NTF_KeyVolumeChange:"keyvolumechange",NTF_DurationChanged:"durationchange",NTF_VRSStart:"vrsstart",NTF_VRSPreReady:"vrspreready",NTF_VRSReady:"vrsready",NTF_VRSPreloaded:"vrspreloaded",NTF_DefinitionSwitching:"definitionswitch",NTF_DefinitionSwitched:"definitionswitched",NTF_TimeUpdate:"timeupdate",NTF_Progress:"progress",NTF_Seeking:"seeking",NTF_Recharge:"recharge",NTF_SkipHook:"skiphook",NTF_FollowUpNextLoad:"followUpNextLoad",NTF_NeedUserGesture4Playback:"needUserGesture4Playback",NTF_PlayingFailByAutoPlay:"playingFailByAutoPlay",NTF_AD_CanPlayThrough:"adcanplaythrough",NTF_AD_VolumeChanged:"advolumechanged",NTF_AD_DurationChanged:"addurationchange",NTF_AD_TimeUpdate:"adtimeupdate",NTF_AD_Progress:"adprogress",NTF_AD_Seeking:"adseeking",NTF_AD_NotifyManager:"jsNotifyAdManager",NTF_AD_Start:"jsNotifyAdStart",NTF_AD_End:"jsNotifyAdEnd",NTF_AD_CloudPlay:"adcloudplay",NTF_AD_CloudPlayEnd:"adcloudplayend",Evt_StartFromHistory:"playStartFromHistory",Evt_SkipHeader:"playSkipHeader",Evt_SkipTailer:"playSkipTailer",Evt_StartShareTime:"playShareTime",Evt_PreloadAD:"playPreloadAD",ERROR_HttpFailed:"P00001",ERROR_AnalyzFailed:"P00002",Enjoy_Evt_PlayEnd:"enjoy_play_end",Enjoy_Evt_PanleShow:"enjoy_panle_show"}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a,n=i(6),r="-1",s={get:function(){if(a)r=a.tryGetFingerPrint();else{if("-1"===r)try{r=n.get("__dfp")}catch(e){r=""}if(""!==r){var e=r.split("@"),t=(new Date).getTime();3==e.length&&Number(e[2])<=t&&t<=Number(e[1])&&(r=e[0])}}return r},setSDK:function(e){a=e}};o.exports=s}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(0),n=i(1),r=i(9),s=(i(12),i(2)),d=new n("EpisodeManager"),p={},l=function(e){return parseInt(e,10)},c=a("EpisodeManager",{extend:s,construct:function(){},methods:{_ensureDataStructure:function(e){var t=p[e]||{};r.isObject(t.pres)?(t.pres.finish=!!t.pres.finish,t.pres.queue=r.isArray(t.pres.queue)?t.pres.queue:[]):t.pres={finish:!1,queue:[]},r.isObject(t.mids)?(t.mids.finish=!!t.mids.finish,t.mids.queue=r.isArray(t.mids.queue)?t.mids.queue:[]):t.mids={finish:!1,queue:[]},r.isObject(t.features)?(t.features.finish=!!t.features.finish,t.features.queue=r.isArray(t.features.queue)?t.features.queue:[]):t.features={finish:!1,queue:[]},p[e]=t},clear:function(e){e=l(e),delete p[e]},clearAll:function(){p={}},addPres:function(e,t){var i=this;e=l(e),i.valid(e)&&r.isArray(t)&&(p[e].pres.queue=p[e].pres.queue.concat(t))},finishPres:function(e,t){var i=this;if(e=l(e),i.valid(e)){if("boolean"!=typeof t)return p[e].pres.finish;var o=p[e].pres;t&&!1===o.finish&&i.fire({type:"finishAddPres",data:{videoId:e,length:o.queue.length}}),o.finish=t}else d.warn("finishPres: episode id not valid, "+e)},getPres:function(e){var t=this,i=[];return e=l(e),t.valid(e)&&(i=p[e].pres.queue),i},clearPres:function(e){var t=this,i=[];e=l(e),t.valid(e)&&(i=p[e].pres.queue,i.splice(0,i.length))},addMids:function(e,t){var i=this;e=l(e),i.valid(e)&&r.isArray(t)&&(p[e].mids.queue=p[e].mids.queue.concat(t))},getMids:function(e){var t=this,i=[];return e=l(e),t.valid(e)&&(i=p[e].mids.queue),i},finishMids:function(e,t){var i=this;if(e=l(e),i.valid(e)){if("boolean"!=typeof t)return p[e].mids.finish;p[e].mids.finish=t}},clearMids:function(e){var t=this,i=[];e=l(e),t.valid(e)&&(i=p[e].mids.queue,i.splice(0,i.length))},freshFeatures:function(e,t){var i=this;e=l(e),i.valid(e)&&r.isArray(t)&&(p[e].features.queue=t)},finishFeatures:function(e,t){var i=this;if(e=l(e),i.valid(e)){if("boolean"!=typeof t)return p[e].features.finish;p[e].features.finish=t}},setInfo:function(e,t){var i=this;e=l(e),i.valid(e)&&(p[e].movieInfo=t)},getInfo:function(e){var t,i=this;return i.valid(e)&&p[e]&&(t=p[e].movieInfo),t},setDefinitionAd:function(e,t){var i=this;e=l(e),i.valid(e)&&(p[e].definitionAdInfo=t)},getDefinitionAd:function(e){var t,i=this;return i.valid(e)&&p[e]&&(t=p[e].definitionAdInfo),t},valid:function(e,t){var i=this;if(e=l(e),"boolean"!=typeof t)return p[e]&&!0===p[e].valid?(i._ensureDataStructure(e),t=!0):t=!1,t;i._ensureDataStructure(e),p[e].valid=t},destroy:function(){var e=this;p={},e.un("finishAddPres")}}});o.exports=new c}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(0),n=i(14),r=(i(5),i(1)),s=i(6),d=i(10),p=i(4),l=i(12),c=i(22),u=i(42),f=i(54),g=window.location.protocol,_=new r("segment"),h=a("segment",{construct:function(e,t,i,o,a,r,l,h,m,v,b,y,x,w,T,k){var S=this;S.ad=e,S.vip=t,S.index=e?0:o,S.tvId=a,S.vid=r,S.vidl=l,S.albumID=h,S.channelID=m,S.originID=v,S.du=b,S.size=y,S.showStartTime=x,S.showEndTime=w,S.startTime=T,S.endTime=k,S.__gas=o,S.__url=S.ad?i:g+"//data.video.iqiyi.com/videos"+i+"&cross-domain=1&qyid="+(n.getFluid()||n.getJsuid())+"&qypid="+S.tvId+"_"+f.getSrc(),S.__params=d.query2Json(S.__url),S.__filename=d.filename(S.__url),S.getUrl=function(){var e,t=this;if(t.ad)e=t.__url;else if(t.vip){var i=arguments[0]||"",o=c.cmd5x(i+t.__filename);i||_.warn(t.vid+", segment index: "+t.index+", boss key is empty!"),e=t.__url+"&t="+i+"&vid="+t.vid+"&ibt="+o+"&cid=afbe8fd3d73448c9&ib=4&ptime="+u.getPreviewTime(t.tvId)+"&qypid="+t.tvId+"_"+f.getSrc()+"&QY00001="+s.get("QY00001")}else e=t.__url+"&qypid="+t.tvId+"_"+f.getSrc();return e},S.getBossUrl=function(){var e=this,t=null;return!e.ad&&e.vip&&(p(e.__params,{filename:e.__filename,tvid:e.tvId,aid:e.albumID}),t=u.getRequestURL(e.__params)),t}},statics:{getIdentifier:function(e){return l(e.tvId+"_"+e.vid+"_"+e.startTime+"_"+e.endTime+"_"+e.__url)}},methods:{_setBoss:function(e){this.boss=e}}});o.exports=h}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(11),n=i(0),r=i(2),s=n("WebFullScreen",{extend:r,methods:{__notice:function(){var e=this;e.fire({type:"change",data:e.isWebFullScreen()?"enter":"exit"})},__beforeNotice:function(){var e=this;e.fire({type:"beforechange",data:e.isWebFullScreen()?"enter":"exit"})},init:function(e,t){var i=this;i._elem=a(t),i._wrapper=a(e);var o=function(){i.toggle()};i._elem.on("click",o)},exit:function(){var e=this;e._elem&&e.isWebFullScreen()&&(e.__beforeNotice(),e._elem.find("i").removeClass("webPage_screen-exit").addClass("webPage_screen"),e._wrapper.removeClass("webfullscreen"),e._wrapper.removeClass("fullScreen50"),e._wrapper.removeClass("fullScreen75"),document.body.style.overflow=e.__bodyOverflow,e.__notice())},enter:function(){var e=this;e._elem&&!e.isWebFullScreen()&&(e.__bodyOverflow=document.body.style.overflow,e.__beforeNotice(),e._elem.find("i").removeClass("webPage_screen").addClass("webPage_screen-exit"),e._wrapper.addClass("webfullscreen"),document.body.style.overflow="hidden",e.__notice())},toggle:function(){this.isWebFullScreen()?this.exit():this.enter()},isWebFullScreen:function(){return!!this._wrapper&&this._wrapper.hasClass("webfullscreen")}}});o.exports=new s}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){i.exports={error_code_title1:"喔喔,播放失敗啦~",error_code_desc1:"你可以試試獲取視頻信息更 穩定的 愛奇藝客戶端",error_code_desc2:"檢測發現您可能在使用惡意插件,請檢查並解安裝後重試",error_code_desc6:"很抱歉,你訪問的視頻丟了",error_code_desc7:"該視頻目前還未通過審核",error_code_title10:"喔喔,這裡的視頻消失了~",error_code_desc10:"你可以試試匯集全網視頻的 愛奇藝客戶端",error_code_desc11:"很抱歉,因爲版權限制,本節目暫無法觀看",error_code_title12:"當前平台暫無法播放喔~",error_code_desc12:"你可以試試看1080P全免費的愛奇藝客戶端",error_code_title13:"由於版權限制,您所在的地區無法觀看該視頻",error_code_title14:"本片受版權方約束,需要使用DRM碼流播放
請登錄手機客戶端或者Pad客戶端進行觀看",error_code_desc14:"",error_code_desc21:"您沒有權限觀看此視頻",error_code_desc22:"您的帳號僅限2台設備同時播放,請停止其他設備播放等待5分鍾或修改密碼",error_code_switch_flash:"播放出錯了,請點擊切換到原版Flash播放器",error_code_desc_http:"播放出錯了,請稍後刷新重試",error_code_title201:"抱歉,您訪問的視頻暫無法播放~",error_code_title206:"播放出錯了,請稍等片刻刷新試試~",error_code_desc_ad:"喔喔...廣告無法正常播放了,開通VIP功能跳過廣告,或關閉屏蔽廣告功能",controls_tip_history:'您上次觀看至 #time# 處, 愛奇藝爲您自動續播。',controls_tip_skipheader:"已經爲您跳過片頭",controls_tip_skiptailer:"即將爲您跳過片尾",controls_tip_recharge_type1:'免費試看6分鐘,觀看完整版請 開通VIP會員',controls_tip_recharge_type4:'免費試看6分鐘,觀看完整版請 開通網球會員',controls_tip_recharge_type2:'試看#previewTime#分鍾,因版權限制,觀看完整版請 購買本片',controls_tip_recharge_type3:'試看#previewTime#分鍾,因版權限制,觀看完整版請 用券觀看',controls_tip_recharge_defaultype:'免費觀看前#previewTime#分鐘,完整觀看請 立即購買',controls_tip_skipheadertailer:"跳過片頭片尾",controls_yes:"是",controls_no:"否",controls_tip_precache:"正在緩衝",controls_tip_switching:"正在切換到",controls_tip_switchedsucc:"已成功切換到",controls_tip_switchwaiting:"畫質,請稍候",controls_tip_switchedfail:"畫質切換失败,請檢查網絡并再次嘗試",controls_tip_switchedpic:"畫質",controls_tip_playspeedguide:"在這裏可以調節播放倍速",controls_playlistbtn:"選集",controls_clickplay_hover:"點擊播放",controls_clickpause_hover:"點擊暫停",controls_replay_hover:"重新播放",controls_forward_hover:"下一集",controls_webfullscreen_hover:"網頁全屏",controls_exitwebfullscreen_hover:"退出網頁全屏",controls_fullscreen_hover:"全屏",controls_exitfullscreen_hover:"退出全屏",controls_download:"立即下載",controls_download_mobile:"立即體驗",controls_clientdownload_mobile:"使用愛奇藝客戶端,視頻播放更流暢~",controls_cycleplay:"循環播放",controls_select_player:"播放器選擇",controls_setting_recommend:"推薦使用 [ HTML5 ]",controls_setting_playratedesc:"倍速播放",definition_name_limit:"極速",definition_name_standard:"流暢",definition_name_high:"高清",definition_name_superhigh:"超清",definition_name_720p:"720P",definition_name_1080p:"1080P",definition_name_4k:"4k",definition_name_ad:"廣告",definition_name_auto:"自動",error_errorcode_text:"錯誤代碼",error_switchplayer:"切換播放器",error_tryrefresh:"刷新試試",error_download:"立刻下載安裝",error_help:"幫助反饋",loading_text:"正在全力加載,請稍候…",score_task_guide:"再看10分鐘即領10積分獎勵",score_task_login:"恭喜完成觀看視頻任務!
登錄后領取積分獎勵",score_task_success:"恭喜完成觀看視頻任務!
送你#score#積分獎勵",score_task_btn_info1:"查看詳情",score_task_btn_info2:"我的積分",score_task_btn_close1:"不再提示",score_task_btn_close2:"不再提示",score_task_btn_login:"立即登錄",ban_btn:"修改密碼",ban_tip_001:"賬號最多同時在2台設備播放,終止其餘設備播放或修改密碼恢復",ban_tip_002:"檢測到賬號被多人共享,會員權益已暫停,請修改密碼",ban_tip_004:"檢測到您的帳號被嚴重分享,已永久封禁",flash_title:"未安裝Flash插件,暫時無法觀看視頻",flash_tip:"您可以通過以下方式觀看",flash_switchh5:"切換HTML5播放器",flash_download:"下載官方Flash插件",flash_pca:"下載桌面客戶端"}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){i.exports={error_code_title1:"呃,播放失败啦~",error_code_desc1:"你可以试试获取视频信息更 稳定的 爱奇艺客户端",error_code_desc2:"检测发现您可能在使用恶意插件,请检查并卸载后重试",error_code_desc6:"很抱歉,你访问的视频丢了",error_code_desc7:"该视频当前还未通过审核",error_code_title10:"呃,这里的视频消失了~",error_code_desc10:"你可以试试汇集全网视频的 爱奇艺客户端",error_code_desc11:"很抱歉,因为版权限制,本节目暂无法观看",error_code_title12:"当前平台暂无法播放哦~",error_code_desc12:"你可以试试看1080P全免费的爱奇艺客户端",error_code_title13:"由于版权限制,您所在的地区无法观看该视频",error_code_title14:"本片受版权方约束,暂不支持网页端播放
请使用移动客户端或电脑客户端进行观看 ",error_code_desc14:"",error_code_desc21:"您没有权限观看此视频",error_code_desc22:"您的账号仅限2台设备同时播放,请停止其他设备播放等待5分钟或修改密码",error_code_switch_flash:"播放出错了,请点击切换到原版Flash播放器",error_code_desc_http:"播放出错了,请稍后刷新重试",error_code_title201:"抱歉,您访问的视频暂无法播放~",error_code_title206:"播放出错了,请稍等片刻刷新试试~",error_code_desc_ad:"呃...广告无法正常播放了,开通VIP功能跳过广告,或关闭屏蔽广告功能",controls_tip_history:'您上次观看至 #time# 处, 爱奇艺为您自动续播。',controls_tip_skipheader:"已经为您跳过片头",controls_tip_skiptailer:"即将为您跳过片尾",controls_tip_recharge_type1:'免费试看6分钟,观看完整版请 开通VIP会员',controls_tip_recharge_type4:'免费试看6分钟,观看完整版请 开通网球会员',controls_tip_recharge_type2:'试看#previewTime#分钟,因版权限制,观看完整版请 购买本片',controls_tip_recharge_type3:'试看#previewTime#分钟,因版权限制,观看完整版请 用券观看',controls_tip_recharge_defaultype:'免费观看前#previewTime#分钟,完整观看请 立即购买',controls_tip_skipheadertailer:"跳过片头片尾",controls_yes:"是",controls_no:"否",controls_tip_precache:"正在缓冲",controls_tip_switching:"正在切换到",controls_tip_switchedsucc:"已成功切换到",controls_tip_switchwaiting:"画质,请稍候",controls_tip_switchedfail:"画质切换失败,请检查网络并再次尝试",controls_tip_switchedpic:"画质",controls_tip_playspeedguide:"在这里可以调节播放倍速",controls_playlistbtn:"选集",controls_clickplay_hover:"点击播放",controls_clickpause_hover:"点击暂停",controls_replay_hover:"重新播放",controls_forward_hover:"下一集",controls_webfullscreen_hover:"网页全屏",controls_exitwebfullscreen_hover:"退出网页全屏",controls_fullscreen_hover:"全屏",controls_exitfullscreen_hover:"退出全屏",controls_download:"立即下载",controls_download_mobile:"立即体验",controls_clientdownload_mobile:"使用爱奇艺客户端,视频播放更流畅~",controls_cycleplay:"循环播放",controls_select_player:"播放器选择",controls_setting_recommend:"推荐使用 [ HTML5 ]",controls_setting_playratedesc:"倍速播放",definition_name_limit:"极速",definition_name_standard:"流畅",definition_name_high:"高清",definition_name_superhigh:"超清",definition_name_720p:"720P",definition_name_1080p:"1080P",definition_name_4k:"4k",definition_name_ad:"广告",definition_name_auto:"自动",error_errorcode_text:"错误代码",error_switchplayer:"切换播放器",error_tryrefresh:"刷新试试",error_download:"立刻下载安装",error_help:"帮助反馈",loading_text:"正在全力加载,请稍候…",score_task_guide:"再看10分钟即领10积分奖励",score_task_login:"恭喜完成观看视频任务!
登录后领取积分奖励",score_task_success:"恭喜完成观看视频任务!
送你#score#积分奖励",score_task_btn_info1:"查看详情",score_task_btn_info2:"我的积分",score_task_btn_close1:"不再提示",score_task_btn_close2:"不再提示",score_task_btn_login:"立即登录",ban_btn:"修改密码",ban_tip_001:"账号最多同时在2台设备播放,终止其余设备播放或修改密码恢复",ban_tip_002:"检测到账号被多人共享,会员权益已暂停,请修改密码",ban_tip_004:"检测到您的帐号被严重分享,已永久封禁",flash_title:"未安装Flash插件,暂时无法观看视频",flash_tip:"您可以通过以下方式观看",flash_switchh5:"切换HTML5播放器",flash_download:"下载官方Flash插件",flash_pca:"下载桌面客户端"}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(8),n={},r=function(e,t){return e+"|"+t};o.exports={get:function(e,t){var i=e.tvid,o=e.vid||"",s=e.locale,d=r(i,o);if(n[d]=n[d]||[],n[d].push(t),i&&o&&t){var p=s?"//cache.video.iqiyi.com/jp/vi/"+i+"/"+o+"/?locale="+s:"//cache.video.iqiyi.com/jp/vi/"+i+"/"+o+"/";a.jsonp({url:p,memory:!0,success:function(e){var t=r(e.tvid,e.vid),i=r(e.videoQipuId,e.vid),o=[];n[t]?(o=(n[t]||[]).slice(0),delete n[t]):n[i]&&(o=(n[i]||[]).slice(0),delete n[i]);for(var a=0;a2&&"9"==e.charAt(e.length-1)&&"0"==e.charAt(e.length-2)&&(e=parseInt(e,10))>0&&e>9e7)}}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(0),n=i(1),r=i(6),s=i(2),d=(new n("Setting"),a("Setting",{extend:s,construct:function(){},methods:{isSkipPrelude:function(e){if("boolean"!=typeof e)return"skip"===r.get("QC157",{memory:!0});e?r.set("QC157","skip",{expires:31536e6,path:"/",domain:"iqiyi.com"}):r.remove("QC157",{path:"/",domain:"iqiyi.com"})},isBoss:function(e){if("boolean"!=typeof e)return"0"===r.get("QC004",{memory:!0});e?r.set("QC004","0",{expires:31536e6,path:"/",domain:"iqiyi.com"}):r.remove("QC004",{path:"/",domain:"iqiyi.com"})}}}));o.exports=new d}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){var o=window.location.protocol,a="420a8433732a6c99d1eae98fea69e55d/jp/dash";i.exports={vipauthUrl:"https://api.vip.iqiyi.com/services/cknsp.action",h5tmtsUrl:o+"//cache.m.iqiyi.com/jp/tmts/",vmsUrl:o+"//cache.video.iqiyi.com/jp/dash",vmsAccess:o+"//103.44.59.54/3ea",vmsIPSuc:o+"//{{IP}}/3ea/"+a,vmsIPFail:o+"//access.if.iqiyi.com/3ea/"+a,pingbackUrl:o+"//msg.qy.net/core",isfanUrl:o+"//sns-api.iqiyi.com/apis/friend/follow.action"}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(11),n=i(0),r=i(2),s=document,d=n("FullScreen",{extend:r,methods:{init:function(e){var t=this;t._elem=a(e)[0];var i=function(){t.fire({type:"change",data:t.isFullScreen()?"enter":"exit"})};t._elem.addEventListener("fullscreenchange",i),s.addEventListener("mozfullscreenchange",i),t._elem.addEventListener("webkitfullscreenchange",i),t._elem.addEventListener("MSFullscreenChange",i)},exit:function(){var e=this._elem;if(e)if(this.fire({type:"beforechange",data:this.isFullScreen()?"enter":"exit"}),e.exitFullscreen)e.exitFullscreen();else if(s.webkitCancelFullScreen)s.webkitCancelFullScreen();else if(s.mozCancelFullScreen)s.mozCancelFullScreen();else if(e.mozCancelFullScreen)e.mozCancelFullScreen();else if(e.msExitFullscreen)e.msExitFullscreen();else try{e.webkitExitFullscreen()}catch(e){}},enter:function(){var e=this._elem;if(e)if(this.fire({type:"beforechange",data:this.isFullScreen()?"enter":"exit"}),e.requestFullscreen)e.requestFullscreen();else if(e.webkitRequestFullscreen)e.webkitRequestFullscreen();else if(e.mozRequestFullScreen)e.mozRequestFullScreen();else if(e.msRequestFullscreen)e.msRequestFullscreen();else try{e.webkitEnterFullScreen()}catch(e){}},toggle:function(){this.isFullScreen()?this.exit():this.enter()},isFullScreen:function(){return!!(document.fullscreen||document.mozFullScreen||document.webkitIsFullScreen)}}});o.exports=new d}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a,n=i(0),r=i(4),s=i(14),d=i(8),p=(i(10),i(6)),l=i(5),c=i(3),u=i(2),f=i(22),g=i(7),_=i(39),h="1",m="10",v="101";c.browser.iPad?(h="2",m="20",v="202"):(c.os.ios||c.os.android)&&(h="2",m="20",v="201");var b=n("Pingback",{construct:function(e){var t=this;t._core=e,t._pbisdm=1},extend:u,methods:{_send:function(e,t){var i=this;l.isVip(function(o){var a=i._core.getMovieInfo(),n={bstp:6,block:"B",pf:h,p:m,p1:v,c1:a.cid||"",r:a.tvid||"",u:s.getFluid()||"",u2:s.getJsuid()||"",pu:l.getUid(),pru:p.get("P00PRU")||"",v:_,ra:e.ra||i._core.getCurrentVD(),nu:s.getIsNewUser()||"",ve:s.getEid(),ce:s.getWeid(),hu:o?1:-1,ht:a.isVIP?1:0,mod:g.local(),plyrtp:0,coop:"",isdm:i._pbisdm,videotp:a.is3D,tmplt:i._core.getPageTmpltType(),rn:Math.random()};try{r(n,{as:f.cmd5ly(n.r+""+n.p1+n.u+n.ve+"ChEnYH0804FdadrrEDFf2016tT")})}catch(e){}n=r(n,e,t),d.beacon(n,"//msg.qy.net/b")})},sendSeekPingback:function(e,t){var i=this,o={rseat:"ply_seek",from:e,to:t};i._core.getMovieInfo().isShowHeatMap&&(o.s2="lvjing"),i._send(o)},sendSwitchVDPingback:function(e){var t=this;t._send({rseat:"ply_cc",tra:e,t:20,ra:t._core.getCurrentVD()})},sendUserActionPingback:function(e){this._send({rseat:e,t:20})},sendBlockPingback:function(e){var t=this,i={block:e,t:21};t._core.getMovieInfo().isShowHeatMap&&(i.s2="lvjing"),t._send(i,!0)},setpbisdm:function(e){this._pbisdm=e},sendBarrageShowRulePagePingback:function(){this._send({rpage:"full_ply",block:"tucaou",t:20,rseat:"608241_etiquette"},!0)},sendBarrageShowLikePingback:function(){this._send({rpage:"full_ply",block:"tucaou",t:20,rseat:"608241_like"},!0)},sendBarrageEnsureReportPingback:function(){this._send({rpage:"full_ply",block:"tucaou",t:20,rseat:"608241_T0_sub"},!0)},sendBarrageShowReportPingback:function(){this._send({rpage:"full_ply",block:"tucaou",t:20,rseat:"608241_report"},!0)},sendShowSystemBarragePingback:function(e){var t=this;t._send({rpage:"full_ply",block:"dmsys",t:21,tm:e.contentId,aid:t._core.getMovieInfo().albumId,rseat:""},!0)},sendClickSystemBarragePingback:function(e){var t=this;t._send({rpage:"full_ply",block:"dmsys",t:20,tm:e.contentId,aid:t._core.getMovieInfo().albumId,rseat:"608241_sysclick"},!0)},sendClickSystemBarrageButtonPingback:function(e){var t=this;t._send({rpage:"full_ply",block:"dmsys",t:20,tm:e.contentId,aid:t._core.getMovieInfo().albumId,rseat:"608241_syspicclick"},!0)},sendShowControlBarPingback:function(e){var t=this,i={block:"80720_playerctrl",t:21};t._core.getMovieInfo().isShowHeatMap&&(i.s2="lvjing"),t._send(i,!0)},sendSeekBarHoverPingback:function(e){this._send({block:"80720_playerctrl_seekbar",t:21,s2:"lvjing"},!0)},sendShowHeatMapPingback:function(e){this._send({block:"80720_playerctrl_lvjing",t:21,s2:"lvjing"},!0)}}});o.exports={init:function(e){a||(a=new b(e))},getInterface:function(){return a}}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a,n,r,s=i(4),d=i(3),p=i(69),l=i(10),c={},u=function(){r=document.querySelectorAll?document.querySelectorAll("span"):document.getElementsByTagName("span"),a=window.QiyiPlayerParam||[],n={};for(var e=0;e])/g,"")},_=function(e){for(var t in e)e[t]||!1===e[t]||delete e[t];return e},h=function(e){var t,i,o=function(t){return e.getAttribute(t)},a={expandState:o("data-player-expandstate"),albumId:o("data-player-albumid"),tvid:o("data-player-tvid"),vid:o("data-player-videoid"),autoplay:o("data-player-autoplay"),isMember:o("data-player-ismember"),cyclePlay:o("data-player-cycleplay"),exclusive:o("data-player-exclusive"),qiyiProduced:o("data-player-qiyiProduced"),share_sTime:o("data-player-startTime"),share_eTime:o("data-player-endTime"),showBarStyle:o("data-player-barStyle"),isLoop:o("data-player-isloop")};for(t=0;t2&&(parseInt(e[0],10)>=12||11===parseInt(e[0],10)&&parseInt(e[1],10)>=4)}()&&QiyiPlayerConfig.FLASH_PLAYER_ZURL?QiyiPlayerConfig.FLASH_PLAYER_ZURL:QiyiPlayerConfig.FLASH_PLAYER_URL,flashP2PCoreUrl:QiyiPlayerConfig.FLASH_P2P_URL,barrageurl:QiyiPlayerConfig.FLASH_BARRAGE_URL,preloader:QiyiPlayerConfig.FLASH_PRELOADER_URL,preloaderTw:QiyiPlayerConfig.FLASH_PRELOADER_URL_TW,qiyiProducedPreloader:QiyiPlayerConfig.FLASH_PRELOADER_PRODUCE,qiyiProducedPreloaderTw:QiyiPlayerConfig.FLASH_PRELOADER_PRODUCE_TW,exclusivePreloader:QiyiPlayerConfig.FLASH_PRELOADER_EXCLUSIVE,exclusivePreloaderTw:QiyiPlayerConfig.FLASH_PRELOADER_EXCLUSIVE_TW,vipPreloader:QiyiPlayerConfig.FLASH_PRELOADER_VIP,vipPreloaderTw:QiyiPlayerConfig.FLASH_PRELOADER_VIP_TW,iconPreloader:QiyiPlayerConfig.FLASH_PRELOADER_ICON,iconPreloaderTw:QiyiPlayerConfig.FLASH_PRELOADER_ICON_TW,iconProducedPreloader:QiyiPlayerConfig.FLASH_PRELOADER_ICON_PRODUCE,iconProducedPreloaderTw:QiyiPlayerConfig.FLASH_PRELOADER_ICON_PRODUCE_TW,iconExclusivePreloader:QiyiPlayerConfig.FLASH_PRELOADER_ICON_EXCLUSIVE,iconExclusivePreloaderTw:QiyiPlayerConfig.FLASH_PRELOADER_ICON_EXCLUSIVE_TW,tipdataurl:QiyiPlayerConfig.FLASH_TIP_XML,h5P2PUrl:QiyiPlayerConfig.H5_P2P_URL,h5adsrc:QiyiPlayerConfig.H5_ARES_URL,h5AdPadSrc:QiyiPlayerConfig.H5_ARES_PAD_URL};return _(t)},y=function(){var e,t,i,o,d,p={};for(e=0;e0)for(e=0;e])/g,""))),o=t(g(window.location.hash.slice(1).replace(/([<>])/g,"")));s(e,_(i),!0),s(e,_(o),!0);for(var a in e)e[a]||!1===e[a]||delete e[a];return _(e)};return{mix:function(e,t){u();var i=window.__qlt,o="";i&&i.brs&&(o=i.brs||"");var a=e.tmplt||0,n={outsite:p.outsite,site:"iqiyiw",components:"feffffe6e",local:"cn_s",ost:"0",browserType:o,pageTmpltType:a};s(n,h(t),!0),s(n,m(),!0),s(n,v(),!0),s(n,b(),!0),s(n,y(),!0),s(n,x(t),!0),s(n,e,!0),s(n,w(),!0),(d.os.ios||d.os.android)&&(n.autoplay=!1);for(var r in n)"string"==typeof n[r]&&(n[r]=n[r].replace(/^http:/gi,""));return c=n,n},getVars:function(){return c}}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){function o(e){var t=e.target||e.srcElement;t.__resizeRAF__&&p(t.__resizeRAF__),t.__resizeRAF__=d(function(){var i=t.__resizeTrigger__;i.__resizeListeners__.forEach(function(t){t.call(i,e)})})}function a(e){this.contentDocument.defaultView.__resizeTrigger__=this.__resizeElement__,this.contentDocument.defaultView.addEventListener("resize",o)}var n=document.attachEvent,r=navigator.userAgent.match(/Trident/),s=null,d=function(){var e=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,20)};return function(t){return e(t)}}(),p=function(){var e=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout;return function(t){return e(t)}}(),l=function(e,t){if(!s.__resizeListeners__)if(s.__resizeListeners__=[],n)s.__resizeTrigger__=s,s.attachEvent("onresize",o);else{var i=s.__resizeTrigger__=document.createElement("object");i.setAttribute("style","display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;"),i.__resizeElement__=s,i.onload=a,i.type="text/html",r&&s.appendChild(i),i.data="about:blank",r||s.appendChild(i)}s.__resizeListeners__.push(t)},c=function(e,t){s.__resizeListeners__.splice(s.__resizeListeners__.indexOf(t),1),s.__resizeListeners__.length||(n?s.detachEvent("onresize",o):(s.__resizeTrigger__.contentDocument.defaultView.removeEventListener("resize",o),s.__resizeTrigger__=!s.removeChild(s.__resizeTrigger__)))},u=function(e){s=e};i.exports={on:l,off:c,registElement:u}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){i.exports="4.1.4"}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){i.exports={PlayerType_Html5VOD:"h5_VOD",PlayerType_FlashVOD:"flash_VOD",PlayerType_Null:"null",QYPLAYER_STATUS_LOAD_MOVIE:"loadmovie",QYPLAYER_STATUS_DATA_READY:"dataready",QYPLAYER_STATUS_AD_PLAYING:"adplaying",QYPLAYER_STATUS_AD_PAUSED:"adpaused",QYPLAYER_STATUS_AD_RESUMED:"adresumed",QYPLAYER_STATUS_READY:"ready",QYPLAYER_STATUS_START_PLAY:"startplay",QYPLAYER_STATUS_SEEKING:"seeking",QYPLAYER_STATUS_WAITING:"waiting",QYPLAYER_STATUS_PAUSED:"paused",QYPLAYER_STATUS_PLAYING:"playing",QYPLAYER_STATUS_STOPED:"stoped",QYPLAYER_STATUS_ERROR:"error",QYPLAYER_STATUS_END_PLAY:"endplay",QYPLAYER_LOAD_COMPLETE:"loadcomplete",QYPLAYER_LOAD_SUCCESS:"playerLoadSuccess",QYPLAYER_STATE_CHANGE:"playerStateChange",QYPLAYER_VIDEO_CHANGE:"videoChanged",QYPLAYER_VID_CHANGE:"vidChanged",QYPLAYER_NEXT_VIDEO:"playnextvideo",QYPLAYER_SET_LIGHT:"setLight",QYPLAYER_MOVETO_QITAN:"moveToQitan",QYPLAYER_SHOW_LOGIN_PANEL:"showLoginPanel",QYPLAYER_EXPAND:"expand",QYPLAYER_AUTHENTICATION_RESULE:"authenticationResult",QYPLAYER_RECHARGE:"recharge",QYPLAYER_SUBSCRIBE:"subscribe",QYPLAYER_REFRESH_PAGE:"refreshPage",QYPLAYER_DOWNLOAD:"download",QYPLAYER_REQUEST_VIDEOLIST:"requestVideoList",QYPLAYER_REQUEST_VIDEOLIST_BY_PAGE:"requestVideoListByPage",QYPLAYER_REQUEST_CHANGE_VIDEO:"requestChangeVideo",QYPLAYER_SWITCH_FULL_SCREEN:"switchFullScreen",QYPLAYER_ADD_TO_TABLE:"addToTable",QYPLAYER_FOCUS_TIPS:"focusTips",QYPLAYER_FOCUS_UPLOADER:"focusUploader",QYPLAYER_FIND_GOODS:"findGoods",QYPLAYER_PGC_FOLLOW:"pgcFollow",QYPLAYER_SHOW_DOWNLOAD_APPPOP:"showDownLoadAppPop",QYPLAYER_CHECK_CLIENT_INSTALL:"checkClientInstall",QYPLAYER_REQUEST_SEND_PINGBACK:"requestJSSendPB",QYPLAYER_DOSOMETHING:"setJsDoSomething",QYPLAYER_FOLLOW_UPNEXT_LOAD:"followUpNextLoad",QYPLAYER_USER_CLICK_SCORE:"userClickScore",QYPLAYER_BARRAGE_REPLAY:"barrageReply",QYPLAYER_BARRAGE_RECEIVE_DATA:"barrageReceiveData",QYPLAYER_SET_BARRAGE_INTERACT_INFO:"setBarrageInteractInfo",QYPLAYER_NOTIFY_BARRAGE_DATA:"notifyBarrageData",QYPLAYER_SET_BARRAGE_CONFIG_INFO:"setHasBarrageConfigInfo",QYPLAYER_SET_BARRAGE_CHANNEL_CONFIG_INFO:"setHasBarrageChannelConfigInfo",QYPLAYER_BARRAGE_STATE_CHANGE:"barrageStateChange",QYPLAYER_BARRAGE_ALLOWED:"barrageAllowed",QYPLAYER_REQUEST_REWARD:"requestReward",QYPLAYER_COMMENT_ALLOWED:"commentAllowed",QYPLAYER_GET_PLAYER_LOG:"getQiyiPlayerLog",QYPLAYER_WEBFULLSCREEN_BEFORE_CHANGE:"beforeWebFullScreenChange",QYPLAYER_WEBFULLSCREEN_AFTER_CHANGE:"afterWebFullScreenChange",QYPLAYER_FULLSCREEN_BEFORE_CHANGE:"beforeFullScreenChange",QYPLAYER_FULLSCREEN_AFTER_CHANGE:"afterFullScreenChange",QYPLAYER_NOTIFY_GIFT_INFO:"notifyGiftInfo",QYPLAYER_NOTIFY_WRITE_FLASH_LOG:"writeFlashLog",QYPLAYER_SWITCH_PLAYER:"switchPlayer",QYPLAYER_NOTIFY_AD_START:"ADStart",QYPLAYER_NOTIFY_AD_END:"ADEnd",QYPLAYER_NOTIFY_AD_NOTIFY_INFO:"adnotifyinfo",QYPLAYER_NOTIFY_TIMEUPDATE:"timeUpdate",QYPLAYER_NOTIFY_SCORECHANGE:"scoreTaskChange",QYPLAYER_NOTIFY_FEEDBACK_SHOW:"feedbackShow",QYPLAYER_NOTIFY_FEEDBACK_HIDE:"feedbackHide",QYPLAYER_NOTIFY_USER_SEEK:"userSeek",QYPLAYER_H5_VIDEO_LOADSTART:"h5videoloadstart",QYPLAYER_H5_VIDEO_LOADEDMETADATA:"h5videoloadedmetadata",QYPLAYER_H5_DURATION_CHANGED:"h5durationchanged",QYPLAYER_H5_VOLUME_CHANGED:"h5volumechanged"}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){var o={},a={api:o,get:function(){return this.api},set:function(e){this.api=e}};i.exports=a}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(8),n=i(5),r=i(14),s=i(4),d=i(3),p=i(1),l=i(26),c=i(34),u=i(48),f={},g=new p("authremote");o.exports={getRequestURL:function(e){var t=u.getVars(),i={version:"7.0",platform:"01010021010000000000",deviceId:r.getFluid()||r.getJsuid(),uid:n.getUid(),playType:"pcwh5",shareFlag:0,appname:"h5",dfp:l.get(),messageId:"h5_"+r.createUUID().replace(/-/gi,"")};return"tw_s"!==t.local&&"tw_t"!==t.local||(i.platform=d.getPtid(!0)),s(e,i),c.vipauthUrl+"?"+a.serializeParam(e)},getPreviewTime:function(e){var t=f[e];if(t){var i=0;return t.data&&t.data.prv&&1==t.data.prv&&1==t.previewType&&(i=60*t.previewTime*1e3),i}g.error("the time to invoke getPreviewTime is wrong!")},analyzeAuthData:function(e,t,i,o){var a=1==e.shareFlag,n=e.tvid;t&&t.hasOwnProperty("code")?(g.log("analyze authremote data,params: isShare = "+(a?"fgtw(分甘同味)":"")+",code = "+t.code),"A00000"===t.code?(t.bossKeyTime=+new Date,f[n]=t,i(n,t)):o(t.code,"CKNSP_RECHARGE_"+t.code,t)):o(null,"CKNSP_DATA_Fail")},request:function(e,t,i){var o=this,n=0,r=function(){n++;var s=o.getRequestURL(e);2===n&&(s=s.replace(/^https/gi,"http")),a.json({url:s,timeout:5e3,beforeSend:function(e){return g.log("check charge definition,params: url = "+e.url),e},success:function(a){o.analyzeAuthData(e,a,t,i)},failure:function(e,t){n<2?r():i(null,"CKNSP_HTTPFail")}})};r()}}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){var o=[],a={_videolist:o,getVideoIndexByTvid:function(e){for(var t,i=this,o=-1,a=0;a0&&(s=a[0].rate),n={identifier:l.getIdentifier(o),order:i.order,rollType:function(e){var t="null",i=e.__gas.offset;return!0===e.ad&&(0===i?t="preroll":i>0&&(t="midroll")),t}(o),ad:o.ad,vip:o.vip,gas:o.__gas,episodeId:parseInt(o.ad?p.getEpisodeId(o.__gas.videoEventId):o.tvId,10),tvid:parseInt(o.tvId,10),vid:o.vid,rate:s,startTime:o.startTime,endTime:o.endTime,showStartTime:o.showStartTime,showEndTime:o.showEndTime},Object.defineProperty(n,"realStartTime",{get:function(){return this.realStartTime}.bind(i)}),Object.defineProperty(n,"realEndTime",{get:function(){return this.realEndTime}.bind(i)}),c.push(n);t.length=c.length,t._changed()},getData:function(){return c},update:function(){this.setData(this.proxy.getFragments())},setProxy:function(e){this.proxy=e},_change:function(){this.fire({type:"change",data:c})},_changed:function(){var e=this;e.firstCRUD=!1,e.fire({type:"changed",data:c})},getSegmentsByTvid:function(e){var t=[];return e=parseInt(e,10),c.forEach(function(i,o,a){i.tvid===e&&t.push(i)}),t},getSegmentByIdentifier:function(e){var t=null;this.update();for(var i=0;i=0)for(var i=0,o=c.length;i0&&t>=a[0].showStartTime&&t<=a[a.length-1].showEndTime&&(o=!0),o},isFeatureFirstSegment:function(e){var t,i,o=this,a=!1,n=o.getFeaturesBySegment(e);return n.length>0&&(t=n[0],i=e.realStartTime,e.gas===t.gas&&(a=!0,a=null!==i&&!isNaN(i)&&i>=0?i===t.realStartTime:e.order===t.order&&e.vid===t.vid)),a},isFeatureEndSegment:function(e){var t,i,o=this,a=!1,n=o.getFeaturesBySegment(e);return n.length>0&&(t=n[n.length-1],i=e.realEndTime,e.gas===t.gas&&(a=!0,a=null!==i&&!isNaN(i)&&i>0?i===t.realEndTime:e.order===t.order&&e.vid===t.vid)),a},isEndSegment:function(e){var t,i=!1;return e&&(this.update(),t=c[c.length-1],i=e.gas===t.gas&&e.order===t.order),i}}});o.exports=new u}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(2),n=i(0),r=i(9),s=i(1),d=i(14),p=i(4),l=new s("PBProxy"),c=[],u=[],f=n("PBProxy",{extend:a,construct:function(){var e=this;e._p_=null,e._v_=null,e.version="",e._ready=!1,e.clearFragmentsFlag=!0,e._actions={}},methods:{__setVideo:function(e){this._v_=e},__setSDK:function(e){var t=this;t._p_=e,t.version=e.version,e.init(t._v_,t.__sdkListener.bind(t),l,d.getFluid()||d.getJsuid()),e.setLoad(!0),t._ready=!0,t.fire({type:"ready"})},__sdkListener:function(e,t,i){e=e||"",t="undefined"===t||void 0===t||null===t?"":t,i="undefined"===i||void 0===i||null===i?"":i;var o,a,n,r=this,s=e.split("_")[1]||"";"muted"!==s&&(r._state=s);var d={state:s,arg1:t,arg2:i};if("startFragment"===s||"endFragment"===s){var c=(t||"").toString().split("_");o=parseInt(c[0],10),a=c[1],n=parseInt(c[2],10),p(d,{vid:a,order:"number"==typeof o?o:r.getPlayOrder(),time:i},!0)}"progress"!=s&&l.debug("pbproxy state: "+s+", arg1: "+t+", arg2: "+i),"startFragment"===s&&r.hasFragment(a,n)&&r.fire({type:"orderChange",data:d}),("startFragment"!==s&&"endFragment"!==s||("startFragment"===s||"endFragment"===s)&&r.hasFragment(a,n))&&r.fire({type:"stateChange",data:d}),"endFragment"===s&&r.hasFragment(a,n)&&r.fire({type:"orderWillChange",data:d})},__setDispatchResult:function(e){l.log("call p2p -- ,params: func = dispatchResult(设置f4v信息)"),this._p_.dispatchResult=e},resetProxy:function(){var e=this;e.clearFragmentsFlag=!0,e._actions={},e.reset(null),e.reset(e._v_)},isReady:function(){return!!this._ready},ready:function(e){var t=this,i=function(){for(var e=0;e0){var i=t.getFragments();0===i.length||t.clearFragmentsFlag?(t.freshFragments(e,!1),t.seek(0,e[0].showStartTime,{run:!0}),t.hasAction("pause")||t.resume(),t.clearFragmentsFlag=!1):t.addFragment(e,i[i.length-1].order,Number.MAX_VALUE)}else l.warn("fillFragments params $fragmentList: "+e)},freshFragments:function(e,t,i,o){var a=this;a._p_&&(e=(e||[]).map(function(e){return p({},e,!0)}),a._p_.freshFragments.call(a._p_,e,t,i,o),u=e,a.fire({type:"fragmentsChange"}))},addFragment:function(e,t,i){var o=this;return o._p_&&(e=(e||[]).map(function(e){return p({},e,!0)}),o._p_.addFragment.call(o._p_,e,t,i),o.fire({type:"fragmentsChange"})),-1},removeFragment:function(e,t){var i=this;i._p_&&(l.debug("removeFragment, $start: "+e+", $length: "+t),i._p_.removeFragment(e,t),i.fire({type:"fragmentsChange"}))},seek:function(e,t,i){var o=this,a=p({run:!1,jump:!1},i||{},!0);t<0?l.error("the seek time ("+t+") is incorrect!"):o._p_&&o._p_.seek.call(o._p_,e,t,a)},resume:function(){var e=this;e._p_&&(e._actions.pause=!1,e._actions.play=!0,e._p_.resume())},pause:function(){var e=this;e._p_&&(e._actions.pause=!0,e._actions.play=!1,e._p_.pause())},getBuffer:function(){var e=this,t={};if(e._p_){var i=e._p_.bufferInfo;t={order:i.order,time:i.time}}return t},getPlayInfo:function(){var e=this;return e._p_?e._p_.playInfo:{}},getPlayOrder:function(){return this.getPlayInfo().order},getLastOrder:function(){var e=this.getFragments();return 0===e.length?0:e[e.length-1].order},getFragByOrder:function(e){for(var t,i=this.getFragments(),o=0;o /g,">").replace(/"/g,""").replace(/'/g,"'"):e}function a(e,t,i,o){for(var a=0;a0&&a(e.arrayAccessFormPaths,t,i,o)&&(t[i]=[t[i]])}function r(e){var t=e.split(/[-T:+Z]/g),i=new Date(t[0],t[1]-1,t[2]),o=t[5].split(".");if(i.setHours(t[3],t[4],o[0]),o.length>1&&i.setMilliseconds(o[1]),t[6]&&t[7]){var a=60*t[6]+Number(t[7]);a=0+("-"==(/\d\d-\d\d:\d\d$/.test(e)?"-":"+")?-1*a:a),i.setMinutes(i.getMinutes()-a-i.getTimezoneOffset())}else-1!==e.indexOf("Z",e.length-1)&&(i=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds())));return i}function s(t,i,o){if(e.datetimeAccessFormPaths.length>0){var n=o.split(".#")[0];return a(e.datetimeAccessFormPaths,t,i,n)?r(t):t}return t}function d(t,i,o,n){return!(i==w.ELEMENT_NODE&&e.xmlElementsFilter.length>0)||a(e.xmlElementsFilter,t,o,n)}function p(o,a){if(o.nodeType==w.DOCUMENT_NODE){for(var r=new Object,l=o.childNodes,c=0;c1&&null!=r.__text&&e.skipEmptyTextNodesForObj&&(e.stripWhitespaces&&""==r.__text||""==r.__text.trim())&&delete r.__text:r=r.__cdata,delete r.__cnt,!e.enableToStringFunc||null==r.__text&&null==r.__cdata||(r.toString=function(){return(null!=this.__text?this.__text:"")+(null!=this.__cdata?this.__cdata:"")}),r}if(o.nodeType==w.TEXT_NODE||o.nodeType==w.CDATA_SECTION_NODE)return o.nodeValue}function l(t,i,a,n){var r="<"+(null!=t&&null!=t.__prefix?t.__prefix+":":"")+i;if(null!=a)for(var s=0;s ":">"}function c(e,t){return""+(null!=e.__prefix?e.__prefix+":":"")+t+">"}function u(e,t){return-1!==e.indexOf(t,e.length-t.length)}function f(t,i){return!!("property"==e.arrayAccessForm&&u(i.toString(),"_asArray")||0==i.toString().indexOf(e.attributePrefix)||0==i.toString().indexOf("__")||t[i]instanceof Function)}function g(e){var t=0;if(e instanceof Object)for(var i in e)f(e,i)||t++;return t}function _(t,i,o){return 0==e.jsonPropertiesFilter.length||""==o||a(e.jsonPropertiesFilter,t,i,o)}function h(t){var i=[];if(t instanceof Object)for(var o in t)-1==o.toString().indexOf("__")&&0==o.toString().indexOf(e.attributePrefix)&&i.push(o);return i}function m(t){var i="";return null!=t.__cdata&&(i+=""),null!=t.__text&&(e.escapeMode?i+=o(t.__text):i+=t.__text),i}function v(t){var i="";return t instanceof Object?i+=m(t):null!=t&&(e.escapeMode?i+=o(t):i+=t),i}function b(e,t){return""===e?t:e+"."+t}function y(e,t,i,o){var a="";if(0==e.length)a+=l(e,t,i,!0);else for(var n=0;n0)for(var o in e)if(!f(e,o)&&(""==t||_(e,o,b(t,o)))){var a=e[o],n=h(a);if(null==a||void 0==a)i+=l(a,o,n,!0);else if(a instanceof Object)if(a instanceof Array)i+=y(a,o,n,t);else if(a instanceof Date)i+=l(a,o,n,!1),i+=a.toISOString(),i+=c(a,o);else{var r=g(a);r>0||null!=a.__text||null!=a.__cdata?(i+=l(a,o,n,!1),i+=x(a,b(t,o)),i+=c(a,o)):i+=l(a,o,n,!0)}else i+=l(a,o,n,!1),i+=v(a),i+=c(a,o)}return i+=v(e)}e=e||{},function(){void 0===e.escapeMode&&(e.escapeMode=!0),e.attributePrefix=e.attributePrefix||"_",e.arrayAccessForm=e.arrayAccessForm||"none",e.emptyNodeForm=e.emptyNodeForm||"text",void 0===e.enableToStringFunc&&(e.enableToStringFunc=!0),e.arrayAccessFormPaths=e.arrayAccessFormPaths||[],void 0===e.skipEmptyTextNodesForObj&&(e.skipEmptyTextNodesForObj=!0),void 0===e.stripWhitespaces&&(e.stripWhitespaces=!0),e.datetimeAccessFormPaths=e.datetimeAccessFormPaths||[],void 0===e.useDoubleQuotes&&(e.useDoubleQuotes=!1),e.xmlElementsFilter=e.xmlElementsFilter||[],e.jsonPropertiesFilter=e.jsonPropertiesFilter||[],void 0===e.keepCData&&(e.keepCData=!1)}();var w={ELEMENT_NODE:1,TEXT_NODE:3,CDATA_SECTION_NODE:4,COMMENT_NODE:8,DOCUMENT_NODE:9};this.parseXmlString=function(e){var t=window.ActiveXObject||"ActiveXObject"in window;if(void 0===e)return null;var i;if(window.DOMParser){var o=new window.DOMParser,a=null;if(!t)try{a=o.parseFromString("INVALID","text/xml").getElementsByTagName("parsererror")[0].namespaceURI}catch(e){a=null}try{i=o.parseFromString(e,"text/xml"),null!=a&&i.getElementsByTagNameNS(a,"parsererror").length>0&&(i=null)}catch(e){i=null}}else 0==e.indexOf("")&&(e=e.substr(e.indexOf("?>")+2)),i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(e);return i},this.asArray=function(e){return void 0===e||null==e?[]:e instanceof Array?e:[e]},this.toXmlDateTime=function(e){return e instanceof Date?e.toISOString():"number"==typeof e?new Date(e).toISOString():null},this.asDateTime=function(e){return"string"==typeof e?r(e):e},this.xml2json=function(e){return p(e)},this.xml_str2json=function(e){var t=this.parseXmlString(e);return null!=t?this.xml2json(t):null},this.json2xml_str=function(e){return x(e,"")},this.json2xml=function(e){var t=this.json2xml_str(e);return this.parseXmlString(t)},this.getVersion=function(){return"1.2.0"}};i.exports=o}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){var o=window,a=!(!o.MediaSource||!o.URL);i.exports=a}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(2),n=i(0),r=i(14),s=i(1),d=function(){},p=new s("BaseAdapter"),l=n("BaseAdapter",{extend:a,construct:function(){var e=this;e.__canRecordEvents=!0,r.init(),e.eventsRecorder={},e.__evtRecorderTimer=setTimeout(function(){e.stopRecordEvents()},3e5);var t=e.fire;e.fire=function(i){t.call(e,i);var o=i.type;e.__canRecordEvents&&(e.eventsRecorder[o]||(e.eventsRecorder[o]=[]),"playerStateChange"===o?e.eventsRecorder[o].push(i):e.eventsRecorder[o]=[i])},e.isSmallWindow=null},methods:{load:function(e){p.info("js call func,params: type = load(加载视频), data = "+e),this._player.load(e)},stopRecordEvents:function(){var e=this;e.__canRecordEvents=!1,clearTimeout(e.__evtRecorderTimer),setTimeout(function(){e.eventsRecorder={}},1e4)},destroy:function(){var e=this;p.log("js call func,params: type = player destroy(销毁播放器)"),e._player.destroy(),e.fire({type:"destroy"}),a.clearAll()},play:function(){p.info("js call func,params: type = play(播放)"),this._player.play()},resume:function(){p.info("js call func,params: type = resume"),this._player.resume()},replay:function(){p.info("js call func,params: type = replay"),this._player.replay()},pause:function(){p.info("js call func,params: type = pause"),this._player.pause()},seek:function(e){p.info("js call func,params: type = seek, time = "+e),this._player.seek(e)},stop:function(){p.info("js call func,params: type = stop(停止播放)"),this._player.stop()},getPlayInfo:function(e){this._player.getPlayInfo(e)},getVideoInfo:function(e){this._player.getVideoInfo(e,this._tvid,this._videoid)},getPlayerId:function(){return this._player.getPlayerId()},setQiyiUserLogin:function(e){p.info("js call func,params: type = setQiyiUserLogin(修改登录状态), param = "+s.stringify(e)),this._player.setQiyiUserLogin(e)},switchVideo:function(e){p.info("js call func,params: type = switchVideo(影片切换), param = "+s.stringify(e)),this._player.switchVideo(e)},switchNextVideo:function(){p.info("js call func,params: type = switchNextVideo(下一集)"),this._player.switchNextVideo()},switchPreVideo:function(){p.info("js call func,params: type = switchPreVideo(上一集)"),this._player.switchPreVideo()},addVideoList:function(e){p.info("js call func,params: type = addVideoList(添加联播列表)"),this._player.addVideoList(e)},removeVideoList:function(e){p.info("js call func,params: type = removeVideoList(从联播列表删除), data = "+e),this._player.removeVideoList(e)},setSmallWindowMode:function(e){var t=this;t.isSmallWindow!==e&&(p.info("js call func,params: type = setSmallWindowMode(设置小窗,1为小窗), data = "+e),t.isSmallWindow=e,t._player.setSmallWindowMode&&t._player.setSmallWindowMode(e))},jsNotifyAdManager:function(e){this._player.jsNotifyAdManager(e)},getQiyiPlayerLog:function(e){try{this._player.getQiyiPlayerLog(e)}catch(e){}},clearBanWord:function(){this._player.clearBanWord()},addBanWord:function(e){void 0!==e&&""!==e&&this._player.addBanWord(e)},removeBanWord:function(e){this._player.removeBanWord(e)},requestBarrageData:function(e){this._player.requestBarrageData({index:e})},notyfyADInfo:function(e){this._player.notyfyADInfo(e)},getIsInMainVideo:d,setCyclePlay:d,getQiyiPlayerInfo:d,getQiyiVideoInfo:d,setQiyiSubscribe:d,setLight:d,expand:d,setBarrageStatus:d,setSelfSendBarrageInfo:d,setBarrageSetting:d,setActivityNoticeInfo:d,zoomQiyiVideo:d,setTimeListener:d,getHasBarrageConfigInfo:d,getHasBarrageChannelConfigInfo:d,getHasBarrageGiftInfo:d,getCommentConfigInfo:d,setSubscribeInfo:d,setSubscribeStateChange:d,setContinuePlayState:d,getSwitchVideoType:d,forceToSaveCurVideoInfo:d,getContinueData:d,setQiyiVisits:d,initQiyiVideo:d,getQiyiPlayerType:d,setPlayerWebFullScreen:d,setPlayerFullScreen:d}});o.exports=l}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a,n=i(21),r=i(1),s=new r("comscore"),d=!1,p=function(){return function(){return!a&&d&&(a=new ns_.ReducedRequirementsStreamingAnalytics({publisherId:"26181340"})),a}}();!function(){n.seriesLoadScripts("//static.iqiyi.com/js/player_v1/sdk/comscore.streaming.6.1.0.170130.min.js",function(e){e?d=!0:(d=!1,s.error("loader comscore sdk failed!"))})}(),o.exports={getInstance:p,playVideoContent:function(e,t){d&&p().playVideoContentPart(e,t)},playVideoAdvertisement:function(e,t){if(d){var i=e||{ns_st_cl:"0"};p().playVideoAdvertisement(i,t)}},stop:function(){d&&p().stop()},destroy:function(){a=null}}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(0),n=i(1),r=i(20),s=(i(5),i(16),i(9)),d=i(4),p=i(10),l=i(74),c=i(18),u=i(27),f=i(42),g=i(75),_=new n("baseEngine");o.exports=a("baseEngine",{extend:l,construct:function(e,t){var i=this;i._param=t,i._isAd=!1,i._startPlayTime=0,i._endPlayTime=0,i._currentFeaturePlayingDuration=0,i._vd=r.read(r.PLAYER_VD_KEY),i._realArea={width:16,height:9},g.init(i)},methods:{brokedown:function(e,t,i,o){var a=this;a.pause(),a.fire({type:c.Status_Error,data:{code:e,realcode:t,ec:i,vmsst:o}})},reset:function(){var e=this;e._vdSwitch=!1,e._isAd=!1,e._startPlayTime=0,e._movieinfo=null,clearTimeout(e._switchDelayTimer)},destroy:function(){this.fire({type:c.Status_Destroy}),this.removeAllEventsListener()},updateMovieInfo:function(e){var t=this;t._movieinfo&&(u.clear(t._movieinfo.tvid),t._preEngineMovieinfo=t._movieinfo),t.reset(),t._movieinfo=e,t.fire({type:c.NTF_MovieInfoChange,data:{preMovieInfo:t._preEngineMovieinfo||"",curMovieInfo:t._movieinfo}}),u.valid(e.tvid,!0),t.loadMovie(e.tvid,e.vid)},getEngineMovieInfo:function(){return this._movieinfo||{}},hasPreload:function(e,t){return!1},isPPT:function(){return this._param.ppt||"0"},ost:function(){var e=this;return 1===parseInt(e._param.ost,10)?1===parseInt(e._param.bd)||"true"===e._param.bd?1:2:0},clearData:function(){_.log("clear engine data!"),this._clearData()},abortAres:function(){var e=this;_.debug("ares call abort! current gas: "+n.stringify(e.getCurrentGas())),e.isAd()&&e._abortAres&&e._abortAres()},isTryWatch:function(){return!(!this._movieinfo||!this._movieinfo.isTryWatch)},getPreviewTime:function(){var e=this;return e._movieinfo?e._movieinfo.previewTime:1/0},recharge:function(e,t){this._noticeRecharge(e,t)},setStartPlayTime:function(e,t){var i=this;e<0?_.error("play start time set error!"):i._startPlayTime=i.isTryWatch()&&!t?0:e},getStartPlayTime:function(){return this._startPlayTime},getEndPlayTime:function(){return this._endPlayTime},getFeaturePlayingDuration:function(){return this._currentFeaturePlayingDuration},_findBestPlayVd:function(e,t,i){var o,a,n=this,r=!1,s=[],d=0;for(e=parseInt(e||n._vd||null,10),t=t||n.getVidl(),a=0;a0&&(d=t[a].vd),t[a].vd===e&&(r=!0);return o=r?e:-1!=s.indexOf(2)?2:-1!=s.indexOf(1)?1:-1!=s.indexOf(96)?96:t[t.length-1].vd,0!==d&&(o=d),o},getCurrentGas:function(){return this._getCurrentGas()},getCurrentVD:function(){return parseInt(this._vd,10)},getRealArea:function(){var e=this;if(e._movieinfo&&e._movieinfo.vidl)for(var t,i=e._movieinfo.vidl,o=0;o=t._movieinfo.previewTime&&(t._noticeRecharge("Q00304"),i=!1),i},_checkSecondAuthTime:function(e){var t=this,i=t.getFeaturePlayingDuration();if(!t._isRequestAuthing&&t._movieinfo&&t._movieinfo.isVIP&&!t._movieinfo._hasSendSencondAuthRemote&&i>t._movieinfo.authRTime)try{var o=t._movieinfo.vidl.filter(function(e){return e.vd===t._movieinfo.vd})[0],a=function(e,t){for(var i,o=0;o0&&(t._vd=t.__switchToVd,r.write(r.PLAYER_VD_KEY,t._vd)),t.fire({type:c.NTF_VDChanged})):t.fire({type:c.NTF_VDChangeFail,data:t.__switchToVd}),t.__switchToVd=0},_noticeTvidChanged:function(){var e=this;e._vdSwitch=!1,e.fire({type:c.NTF_TVIDChanged})},_noticeDataPreloaded:function(){var e=this;e.fire({type:c.NTF_VRSPreloaded,data:e._preloadedMovieInfo})},_noticeReJointPreload:function(){var e=this;e.fire({type:c.NTF_ReJointPreload,data:e._preloadedMovieInfo})},_noticeDataStart:function(){var e=this;e.fire({type:c.NTF_VRSStart,data:e._movieinfo})},_noticeDataDone:function(){var e=this;e.fire({type:c.NTF_VRSDone,data:e._movieinfo}),e._preEngineMovieinfo&&e._noticeTvidChanged()},_noticeDataReady:function(){var e=this;e.fire({type:c.NTF_VRSReady,data:e._movieinfo})},_getIsTennisContent:function(){var e=this;if(e._movieinfo.vipTypes&&e._movieinfo.vipTypes.length>0)for(var t=0;t0?x:(new Date).getTime();x=0;_.sTime_vms=new Date-_.pgct,b.sendVrsRequestPingback(),T=function(){var e={tvid:S,bid:E,vid:A,src:c.isTWLocale()?a.getPtid(!0):f.win,vt:0,rs:1,uid:d.getUid(),ori:"pcw",ps:l.switchvd?1:0,tm:I,qd_v:"1",k_uid:p.getFluid()||p.getJsuid(),pt:0,d:0,s:"",lid:"",cf:"",ct:"",authKey:n(n("")+I+S),k_tag:1,ost:L,ppt:P,dfp:g.get(),locale:c.isTraditionalChinese()?"zh_tw":"zh_cn",prio:JSON.stringify({ff:"f4v",code:2}),pck:d.passportCookie(),k_err_retries:k};return e.k_ft1=v.getFT1(),c.isTraditionalChinese()&&(e.locale="zh_tw"),h.isBoss()&&(e.vv="821d3c731e374feaa629dcdaab7c394b"),w&&(e.ecode="701"),e.bop=JSON.stringify({version:"7.0",dfp:g.get()}),e}();var F=function(a){o=s.jsonp({url:a,params:T,memory:!0,timeout:5e3,beforeSend:function(t){var i=r.parse(t.url).host;e.forEach(function(e){t.url+="&ut="+e});var o="iloveiqiyi";try{var a=t.url.replace(new RegExp("^(http|https)://"+i,"ig"),"");w&&(a=a.replace("/3ea/420a8433732a6c99d1eae98fea69e55d","")),o=u.cmd5x(a)}catch(e){y.error("cmd5x: "+(e.message?e.message:e))}return t.url+="&vf="+o,y.log("load movieInfo from vrs, request,params: url = "+t.url),t},success:function(e){if(y.log("dash success raw json data->"+JSON.stringify(e)),_.usedTime_vms=new Date-_.pgct-_.sTime_vms,b.sendVrsReadyPingback(_.usedTime_vms),e&&e.hasOwnProperty("code"))"A00000"===e.code?t(e):("A00020"===e.code&&e.tm&&(x=e.tm),i(e));else{var o={};o.code="P00002",i(o)}},failure:function(e){y.error("dash fail raw json data->"+JSON.stringify(e));var t={};t.code="P00001",i(t)}})};w?s.ajax({url:m.vmsAccess,timeout:2e3,withCredentials:!1,success:function(e){if(e&&"string"==typeof e){var t=e.split(";"),i=Math.floor(Math.random()*t.length),o=t[i];F(m.vmsIPSuc.replace("{{IP}}",o))}else F(m.vmsIPFail)},failure:function(){F(m.vmsIPFail)}}):F(m.vmsUrl)}),{getReqParams:function(){return T},getXhrRequest:function(){return o}}}}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(0);o.exports=a("Definition",{construct:function(e,t,i,o,a,n,r,s){var d=this;d.vd=e,d.vid=t,d.duration=i,d.segments=o||[],d.realArea=a,d.isUsable=n,d.isLimit=r||!1,d.limitReason=s||[]},methods:{}})}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(1),n=i(44),r=i(58),s=i(28);new a("AnalyzeVidls");o.exports={analyzeVds:function(e,t){var i,o=e.vsInfo,a=e.isVIP,d=e.tvid,p=e.cid,l=e.sid||0,c=e.albumId;t||(i=[]);for(var u=[],f=0;f-1?k>0&&0===E?g:E:g;var F=S+P,q=S,C=F,D=new s(!1,a,L,k,d,m,u,c,p,l,P,I,q,C,S,F);x.push(D),g+=P,k===h-1&&(w=E>-1?k>0&&0===E?g:E+P:g)}var N=!1,R=!0,B=[];void 0!==b&&(N=!0,R=0===parseInt(b,10),B=o[f].vut||[]);var j=new r(v,m,w,x,y,R,N,B);if(t)v==t&&x.length>0&&(i=j);else{for(var V=!1,Y=0;Y0&&(i[Y]=j));V||i.push(j)}}return i}}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(2),n=i(0),r=i(9),s=[],d=[],p=n("StatusPool",{construct:function(){},extend:a,methods:{add:function(e,t){var i=this;if(r.isArray(e))for(var o=0;o-1&&s.splice(o,1)}},removeAll:function(){s.splice(0,s.length)},has:function(e){return s.concat(d).indexOf(e)>-1}}});o.exports=new p}.call(t,i,t,e))&&(e.exports=o)},function(e,t){function i(e,t){var i=e[1]||"",a=e[3];if(!a)return i;if(t&&"function"==typeof btoa){var n=o(a);return[i].concat(a.sources.map(function(e){return"/*# sourceURL="+a.sourceRoot+e+" */"})).concat([n]).join("\n")}return[i].join("\n")}function o(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var o=i(t,e);return t[2]?"@media "+t[2]+"{"+o+"}":o}).join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},a=0;a=340&&t<=490?e.$plugin.width(490):e.$plugin.width(540)),e.$plugin.show(),e._tipTimer=setTimeout(function(){e._hideTip()},1e4)},_hideTip:function(){var e=this;clearTimeout(e._tipTimer),e.$txt.html(""),e.$link.html(""),e.$plugin.hide(),e.skin.fire({type:f.NTF_BanTipHide})},_initEvents:function(){function e(t){var i=t.data.state,o={};switch(o.vipMode="httpMode",i){case u.Status_Playing:case u.Status_AdPlaying:a.core.un(u.NTF_StatusChanged,e),n.checkVip(function(){n.isBanned()&&l.getTips(function(e){var t=e.name,i=e.button_name;t.length>g&&(t=t.slice(0,g)+"..."),i.length>_&&(i=i.slice(0,_)+"..."),a.$txt.html(t),a.$link.html(i+">"),a.$link.attr("href",e.button_url),a._showTip()})},o)}}function t(){a._hideTip(),a.core.un(u.NTF_StatusChanged,e),a.core.on(u.NTF_StatusChanged,e)}function i(e){e.preventDefault(),a._hideTip()}function o(e){"1"===e.data||1===e.data?a.$plugin.css("visibility","hidden"):a.$plugin.css("visibility","")}var a=this;a.core.on(u.NTF_VideoChange,t),a.core.on(u.NTF_StatusChanged,e),a.$close.on("click",i),a.skin.on(f.NTF_PlayerSmallWindowStatus,o)}}})}.call(t,i,t,e))&&(e.exports=o)},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;void 0!==(__WEBPACK_AMD_DEFINE_RESULT__=function(require,exports,module){function _getDefaultDataStruct(){var e,t="http://passport.iqiyi.com/pages/secure/password/modify_pwd.action";return e=i18n.isTraditionalChinese()?LANG_TW:LANG_ZH,{A10001:{name:e.ban_tip_001,button_name:e.ban_btn,button_url:t},A10002:{name:e.ban_tip_002,button_name:e.ban_btn,button_url:t},A10004:{name:e.ban_tip_004,button_name:e.ban_btn,button_url:t}}}function _requestTipData(e){http.jsonp({url:window.location.protocol+"//mixer.video.iqiyi.com/jp/mixin/resources/205361512",memory:!0,timeout:2e3,success:function(t){var i={},o="",a=i18n.isTraditionalChinese();if(t&&Array.isArray(t.items)&&t.items.length>0)for(var n,r=0;r0&&("A10001"!==(o=n.kvs.mbd_error_code.split("_")[1])&&"A10002"!==o&&"A10004"!==o||(i[o]={code:o,locale:i18n.local(),name:a?n.kvs.proper_title_traditional:n.name,button_name:a?n.kvs.button_name_traditional:n.kvs.button_name,button_url:n.pageUrl}));e(i)},failure:function(){e({})}})}function _getTips(callback){function handleTipData(e){callback(e||_getDefaultDataStruct()[banType])}function initTip(){tipMemoryData?(tipMemoryData=JSON.parse(tipMemoryData)||eval("("+tipMemoryData+")"),tipMemoryData&&tipMemoryData.code===user.getBanType()&&tipMemoryData.locale===i18n.local()?handleTipData(tipMemoryData):needFetchRemoteData=!0):needFetchRemoteData=!0,needFetchRemoteData&&_requestTipData(function(e){var t=e[user.getBanType()];t&&cookies.set(TIP_COOKIE,JSON.stringify(t),{expires:432e5,path:"/",domain:"iqiyi.com"}),handleTipData(t)})}var tipMemoryData=cookies.get(TIP_COOKIE),banType=user.getBanType(),needFetchRemoteData=!1;if(""===banType){var options={};options.vipMode="httpMode",user.checkVip(function(){initTip(),user.getBanType()},options)}else initTip()}var user=__webpack_require__(5),http=__webpack_require__(8),cookies=__webpack_require__(6),i18n=__webpack_require__(7),LANG_TW=__webpack_require__(30),LANG_ZH=__webpack_require__(31),TIP_COOKIE="QP006";module.exports={getTips:_getTips}}.call(exports,__webpack_require__,exports,module))&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=window,n=i(67),r=i(21),s=a.QiyiPlayerConfig.H5_PLAYER_URL;Array.prototype.indexOf||(Array.prototype.indexOf=function(e){var t=this.length,i=+arguments[1]||0;if(0===t||isNaN(i)||i>=t)return-1;for(i<0&&(i=t+i)<0&&(i=0);i0&&p(n);var l=function(e){if(e){this.isActived=!0;var t=function(e){var t=/\/.+_(\w+)\.js$/gi.exec(e);return t&&2===t.length?t[1]:""},i=function(e){var i=n.version,o=t(e);""!==o&&i!==o?(a.QiyiPlayerCallbacks=d,r.seriesLoadScripts(e,function(e){})):p(n)};-1===d.indexOf(e)&&d.push(e),a.QiyiPlayerConfig?i(s):r.seriesLoadScripts("//static.iqiyi.com/js/player/config/online.js",function(t){t?i(s):"function"==typeof e&&e(null)})}};o.exports={ready:l}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(3),n=(i(8),i(10)),r=i(50),s=i(6),d=i(7),p=i(1),l=i(68),c=(i(26),i(39)),u=i(37),f=i(40),g=i(70),_=i(106),h={},m=new p("PlayerManager"),v={},b=navigator.userAgent,y=function(e){return h[e]},x=function(e){var t=!0,i=e.tvid||"",o=e.vid||"",a=y(e.parentId);return e.hasOwnProperty("parentId")?null!=a?t=!1:""!==i&&""!==o||(t=!1):t=!1,t},w=function(e){var t=v[e]||[];v[e]=[];for(var i=0;i=43||a.browser.FIREFOX&&p>=57)&&"1"!==s.get("QP004")&&!t)}();if(o=function(){return(a.browser.CHROME&&d>=43||a.browser.FIREFOX&&p>=57)&&!t}(),y)switch(y){case"h5":e=f.PlayerType_Html5VOD;break;case"flash":e=f.PlayerType_FlashVOD}else(a.os.ios||a.os.android||l)&&(e=f.PlayerType_Html5VOD);return e}();i.plyct=+new Date,m.log("播放器类型: 点播 - "+k+", .v = "+c),m.log("initialize info,params: location = "+window.location.href+", env: "+b.toLowerCase()),m.log("initialize parameter,params: info =="+p.stringify(i));l.createhvt("UA-iqiyi-10000901",i.irs);var S;switch(k){case f.PlayerType_Html5VOD:s.set("QP001",1,{expires:31536e6,path:"/",domain:"iqiyi.com"}),S=new g(i);break;case f.PlayerType_FlashVOD:s.set("QP001",0,{expires:31536e6,path:"/",domain:"iqiyi.com"});var A=T==f.PlayerType_FlashVOD||i.playerType==f.PlayerType_FlashVOD||"flash"==y;S=new _(i,o,A)}h[i.parentId]=S,S.on(f.QYPLAYER_LOAD_SUCCESS,function(e){S.__loadsuccess=!0;var t=e.data.playerId;w(t)});var E="";return S.on(f.QYPLAYER_STATE_CHANGE,function(e){switch(e.data.state.toLocaleLowerCase()){case f.QYPLAYER_STATUS_END_PLAY:var t,i=e.data.tvid;t=e.data.spend?e.data.spend:e.data.prePlayingDuration,l.hvt_end(i,t);break;case f.QYPLAYER_STATUS_START_PLAY:var o=e.data.tvid;o!==E&&(l.hvt_start(o),E=o)}}),S.on(f.QYPLAYER_STATUS_DATA_READY,function(e){var t=e.data.tvid;l.hvt_init(t)}),S.on(f.QYPLAYER_VID_CHANGE,function(e){var t,i;e.data.preMovieInfo?(t=e.data.preMovieInfo.tvid,i=e.data.preMovieInfo.spend):(t=e.data.preTvid,i=e.data.prePlayingDuration),l.hvt_end(t,i)}),S.on("destroy",function(){var e=this.getPlayerId();delete h[e]}),S},getPlayerById:function(e){return y(e)},destroyPlayer:function(e){y(e).destroy()},constantType:f,version:"{{PLAYER_HASH}}",ready:T}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(21);!function(){window.HyperVideoAnalyticsObjects=window.HyperVideoAnalyticsObjects||[],window.HyperVideoAnalyticsObjects.push("_hvt"),window._hvt=window._hvt||function(){return(window._hvt.q=window._hvt.q||[]).push(arguments)},a.seriesLoadScripts("//a.irs01.com/hvt.js?v=1.0",function(e){})}();var n=function(){return"function"==typeof _hvt&&r},r=!0;o.exports={createhvt:function(e,t){var i=e||"YOUR-UA";r=!(0===t||"0"===t),n()&&_hvt("create",i,{api_url:"//iqiyi.irs01.com/hvt",iframe_url:"//a.irs01.com/storage.html",swf_url:"//a.irs01.com/storage.swf#",storage_id:"_iwt_id"})},hvt_init:function(e){n()&&_hvt("init",{type:"manual"},{info:{v_id:e},upid:""})},hvt_start:function(e){n()&&_hvt("send","start",{info:{v_id:e},spend:0,upid:"",progress:""})},hvt_end:function(e,t){t=Math.ceil(t/1e3),n()&&_hvt("send","end",{info:{v_id:e},spend:t,upid:"",progress:""})},hvt_desctory:function(){n()&&_hvt("destroy")}}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){var o={getVer:function(){var e="";try{e=navigator.plugins["Shockwave Flash"].description}catch(t){try{e=new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version")}catch(e){}}return"string"!=typeof e&&(e=""),(e||"0 r0").match(/\d+/g)},outsite:function(){var e,t=[];try{e=!window.parent.location.href}catch(i){for(0===t.length&&(e=!0);t.length;)if(-1===document.referrer.indexOf(t.pop())){e=!0;break}}return e+""}()};i.exports=o}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(0),n=i(1),r=i(51),s=i(71),d=i(13).CORE_TYPES,p=i(15),l=i(40),c=new n("h5Adapter");o.exports=a("H5Adapter",{construct:function(e){var t=this;t._player=new s(e);var i=function(e,i){i=i||{},i.state=e.toLocaleLowerCase(),c.info("call js, fire event,params: type = playerStateChange(状态改变), state = "+i.state),t.fire({type:l.QYPLAYER_STATE_CHANGE,data:i})},o=function(e,i){var o={};o.type=e,i&&(o.data=i),t.fire(o)},a=!1;t._player.on(d.NTF_StatusChanged,function(e){switch(e.data.state){case d.Status_AdPlaying:i(l.QYPLAYER_STATUS_AD_PLAYING,e.data);break;case d.Status_AdPaused:i(l.QYPLAYER_STATUS_AD_PAUSED,e.data);break;case d.Status_Loadstart:c.info("call js, fire event,params: type = h5videoloadstart(视频开始加载)"),o(l.QYPLAYER_H5_VIDEO_LOADSTART);break;case d.Status_LoadedMetaData:c.info("call js, fire event,params: type = h5videoloadedmetadata(视频metadata数据已加载)"),o(l.QYPLAYER_H5_VIDEO_LOADEDMETADATA);break;case d.Status_StartPlay:i(l.QYPLAYER_STATUS_START_PLAY,e.data);break;case d.Status_Waiting:i(l.QYPLAYER_STATUS_WAITING,e.data);break;case d.Status_Paused:i(l.QYPLAYER_STATUS_PAUSED,e.data);break;case d.Status_Playing:i(l.QYPLAYER_STATUS_PLAYING,e.data);break;case d.Status_Stoped:i(l.QYPLAYER_STATUS_STOPED,e.data);break;case d.Status_End_Play:i(l.QYPLAYER_STATUS_END_PLAY,e.data);break;case d.Status_PlayError:i(l.QYPLAYER_STATUS_ERROR,e.data)}}),t._player.on(d.NTF_VRSReady,function(e){c.info("call js, fire event,params: type = dataready(数据信息已经准备好)"),o(l.QYPLAYER_STATUS_DATA_READY,e.data.data)}),t._player.on(d.NTF_CanPlayThrough,function(e){}),t._player.on(d.NTF_VolumeChanged,function(e){a&&(c.info("call js, fire event,params: type = h5volumechanged(音量修改)"),o(l.QYPLAYER_H5_VOLUME_CHANGED,e.data)),a=!0}),t._player.on(d.NTF_DurationChanged,function(e){c.info("call js, fire event,params: type = h5durationchanged(影片时长有修改)"),o(l.QYPLAYER_H5_DURATION_CHANGED,e.data)}),t._player.on(d.NTF_VideoChanged,function(e){c.info("call js, fire event,params: type = videoChanged(视频切换完成)"),o(l.QYPLAYER_VIDEO_CHANGE,e.data)}),t._player.on(d.NTF_VideoChange,function(e){c.info("call js, fire event,params: type = vidChanged(视频切换)"),o(l.QYPLAYER_VID_CHANGE,e.data)}),t._player.on(d.NTF_FollowUpNextLoad,function(e){c.info("call js, fire event,params: type = followUpNextLoad(继续加载后续结构)"),o(l.QYPLAYER_FOLLOW_UPNEXT_LOAD,e.data)}),t._player.on(d.NTF_AD_Start,function(e){c.info("call js, fire event,params: type = ADStart(广告开播)"),o(l.QYPLAYER_NOTIFY_AD_START,e.data)}),t._player.on(d.NTF_AD_End,function(e){c.info("call js, fire event,params: type = ADEnd(广告播放完成)"),o(l.QYPLAYER_NOTIFY_AD_END,e.data)}),t._player.on(d.Status_AresNoticeInfo,function(e){c.info("call js, fire event,params: type = AD notify info(广告通知的信息-只是转发)"+e.data.type),o(e.data.type,e.data.data)}),t._player.on(d.NTF_TimeUpdate,function(e){o(l.QYPLAYER_NOTIFY_TIMEUPDATE,e.data)}),t._player.on(d.NTF_Seeking,function(e){o(l.QYPLAYER_STATUS_SEEKING,e.data)}),t._player.on(l.QYPLAYER_DOSOMETHING,function(e){c.info("call js, fire event,params: type = setJsDoSomething(请求JS做某些操作), data = "+e.data),t.fire({type:l.QYPLAYER_DOSOMETHING,data:e.data})}),t._player.on(l.QYPLAYER_REQUEST_VIDEOLIST_BY_PAGE,function(e){c.info("call js, fire event,params: type = requestVideoListByPage(请求联播列表)"),t.fire({type:l.QYPLAYER_REQUEST_VIDEOLIST_BY_PAGE,data:e.data})}),t._player.on(l.QYPLAYER_REQUEST_CHANGE_VIDEO,function(e){c.info("call js, fire event,params: type = requestChangeVideo"),t.fire({type:l.QYPLAYER_REQUEST_CHANGE_VIDEO,data:e.data})}),t._player.on(d.NTF_Error,function(e){i(l.QYPLAYER_STATUS_ERROR,e.data),"A00011"===e.data.realcode&&(c.info("call js, fire event,params: type = recharge(请求JS充值)"),o(l.QYPLAYER_RECHARGE,{code:"Q00310",from:""}))}),t._player.on(d.NTF_Recharge,function(e){c.info("call js, fire event,params: type = recharge(请求JS充值)"),o(l.QYPLAYER_RECHARGE,e.data.data)}),t._player.on(l.QYPLAYER_FIND_GOODS,function(e){c.info("call js, fire event,params: type = findGoods(定位到商品)"),t.fire({type:l.QYPLAYER_FIND_GOODS,data:e.data})}),t._player.on(p.NTF_SHOW_LOGIN_PANEL,function(e){c.info("call js, fire event,params: type = showLoginPanel(弹出登录框)"),t.fire({type:l.QYPLAYER_SHOW_LOGIN_PANEL,data:e.data})}),setTimeout(function(){c.info("call js, fire event,params: type = playerLoadSuccess(播放器初始化完毕)"),o(l.QYPLAYER_LOAD_SUCCESS,{playerId:e.parentId}),c.info("call js, fire event,params: type = barrageAllowed(H5暂时不支持弹幕), enable = false"),o(l.QYPLAYER_BARRAGE_ALLOWED,{enable:!1})},0),t.barrageControlConfig={},t._player.on(p.NTF_Barrage_SetConfigInfo,function(e){c.info("call js, fire event,params: type = setHasBarrageConfigInfo(弹幕的云控配置)"),t.barrageControlConfig=e.data,t.firedBarrageControlConfig=!0,o(l.QYPLAYER_SET_BARRAGE_CONFIG_INFO,{configInfo:t.barrageControlConfig})}),t.barrageChannelConfig={},t._player.on(p.NTF_Barrage_SetChannelConfigInfo,function(e){c.info("call js, fire event,params: type = setHasBarrageChannelConfigInfo(弹幕的频道配置)"),t.barrageChannelConfig=e.data,t.firedBarrageChannelConfig=!0,o(l.QYPLAYER_SET_BARRAGE_CHANNEL_CONFIG_INFO,{configInfo:t.barrageChannelConfig})}),t._player.on(p.NTF_Barrage_SetSwitch,function(e){e.data&&e.data.selfFire&&(c.info("call js, fire event,params: type = barrageStateChange(弹幕状态发生改变), isOpen = "+e.data.isOpen),t.fire({type:l.QYPLAYER_BARRAGE_STATE_CHANGE,data:{barrageState:!0===e.data.isOpen?1:0}}))}),t._player.on(p.NTF_WebFullScreen_BeforeChange,function(e){t.fire({type:l.QYPLAYER_WEBFULLSCREEN_BEFORE_CHANGE,data:"enter"===e.data})}),t._player.on(p.NTF_WebFullScreen_AfterChange,function(e){var i="enter"===e.data;c.info("call js, fire event,params: type = afterWebFullScreenChange(页面全屏改变), data = "+i),t.fire({type:l.QYPLAYER_WEBFULLSCREEN_AFTER_CHANGE,data:i})}),t._player.on(p.NTF_FullScreen_BeforeChange,function(e){t.fire({type:l.QYPLAYER_FULLSCREEN_BEFORE_CHANGE,data:"enter"===e.data})}),t._player.on(p.NTF_FullScreen_AfterChange,function(e){var i="enter"===e.data;c.info("call js, fire event,params: type = afterWebFullScreenChange(全屏改变), data = "+i),t.fire({type:l.QYPLAYER_FULLSCREEN_AFTER_CHANGE,data:i})}),t._player.on(p.NTF_Barrage_NotifyGiftInfo,function(e){c.info("call js, fire event,params: type = notifyGiftInfo(发现弹幕红包)"),t.barrageGiftInfo=e.data,t.firedBarrageGiftInfo=!0,t.fire({type:l.QYPLAYER_NOTIFY_GIFT_INFO,data:t.barrageGiftInfo})}),t._player.on(p.NTF_ScoreTask_ScoreChange,function(e){t.fire({type:l.QYPLAYER_NOTIFY_SCORECHANGE})}),t._player.on(p.NTF_FeedBack_Show,function(){t.fire({type:l.QYPLAYER_NOTIFY_FEEDBACK_SHOW})}),t._player.on(p.NTF_FeedBack_Hide,function(){t.fire({type:l.QYPLAYER_NOTIFY_FEEDBACK_HIDE})}),t._player.on(p.NTF_USER_SEEK,function(e){c.info("call js, fire event,params: type = userSeek"),t.fire({type:l.QYPLAYER_NOTIFY_USER_SEEK})}),t._player.on(p.NTF_Barrage_NotifyBarrageData,function(e){c.info("call js, fire event,params: type = userSeek"),t.fire({type:l.QYPLAYER_NOTIFY_BARRAGE_DATA,data:e.data})})},extend:r,methods:{getQiyiPlayerInfo:function(e){this._player.getQiyiPlayerInfo(e)},getQiyiPlayerType:function(e){return e&&"function"==typeof e&&e("h5"),"h5"},setBarrageStatus:function(e){this._player.setBarrageStatus(e)},setSelfSendBarrageInfo:function(e){this._player.setSelfSendBarrageInfo(e)},setBarrageSetting:function(e){this._player.setBarrageSetting(e)},setPlayerWebFullScreen:function(e){this._player.setPlayerWebFullScreen(e)},setPlayerFullScreen:function(e){this._player.setPlayerFullScreen(e)},getHasBarrageChannelConfigInfo:function(){this.firedBarrageChannelConfig&&this.fire({type:l.QYPLAYER_SET_BARRAGE_CHANNEL_CONFIG_INFO,data:{configInfo:this.barrageChannelConfig}})},getHasBarrageConfigInfo:function(){this.firedBarrageControlConfig&&this.fire({type:l.QYPLAYER_SET_BARRAGE_CONFIG_INFO,data:{configInfo:this.barrageControlConfig}})},getHasBarrageGiftInfo:function(){var e=this;e.firedBarrageGiftInfo&&e.fire({type:l.QYPLAYER_NOTIFY_GIFT_INFO,data:e.barrageGiftInfo})},addPlayListView:function(e){this._player.addPlayListView(e)},getSwitchVideoType:function(e){this._player.getSwitchVideoType(e)}}})}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(2),n=i(0),r=i(5),s=i(35),d=i(38),p=i(29),l=i(1),c=i(41),u=i(3),f=i(11),g=i(39),_=i(13),h=i(88),m=i(15),v=i(13).CORE_TYPES,b=i(62),y=i(36),x=i(105),w=new l("h5Player");o.exports=n("h5Player",{construct:function(e){var t=this,i={playerVersion:g,playerType:"main"};t._playerId=e.parentId,t.__tidyVars(e);var o,a=document.getElementById(e.parentId),n=document.createElement("div");u.os.ios||u.os.android?(u.browser.iPad||u.os.androidTablet?n.innerHTML='':n.innerHTML='',a.insertBefore(n.firstChild,null),n=null,o=a.querySelector(".iqp-player")):(n.innerHTML='',a.insertBefore(n.firstChild,null),n=null,o=a.querySelector(".pw-video"));var r=document.createElement("video");r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("x-webkit-airplay","allow"),o.appendChild(r),(u.os.ios||u.os.android)&&(r.setAttribute("playsinline","true"),r.setAttribute("webkit-playsinline","true")),u.browser.iPhone&&f(r).addClass("iqp-hide-controls");var s=document.createElement("div");s.setAttribute("data-player-hook","plgcontainer"),o.appendChild(s);var p=document.createElement("div");p.setAttribute("data-cupid","container"),u.os.ios||u.os.android||o.appendChild(p),d.registElement(s);try{var l=a.querySelector('*[data-widget-layer="layer"]');l&&l.parentNode.removeChild(l)}catch(e){}t._core=new _(r,e,i),t._view=new h(o,s,t._core),"DATA"===t._core.getEngineType()&&c.set(new x(p,t._core,t._view)),[v.NTF_StatusChanged,v.NTF_CanPlayThrough,v.NTF_VolumeChanged,v.NTF_DurationChanged,v.NTF_VRSStart,v.NTF_VRSReady,v.NTF_VideoChange,v.NTF_VideoChanged,v.NTF_Recharge,v.NTF_Error,v.NTF_AD_Start,v.NTF_AD_End,v.Status_AresNoticeInfo,v.NTF_FollowUpNextLoad,v.NTF_TimeUpdate,v.NTF_Seeking,v.NTF_PlayingFailByAutoPlay,v.NTF_AD_CloudPlay,v.NTF_AD_CloudPlayEnd].forEach(function(e){t._core.on(e,function(e){switch(e.type){case v.NTF_PlayingFailByAutoPlay:t._core.setMuted(!0),t._core.fire({type:v.NTF_VolumeChanged})}t.fire(e)})}),t._view.on(m.NTF_SHOW_LOGIN_PANEL,function(e){t.fire({type:m.NTF_SHOW_LOGIN_PANEL,data:e.data})}),t._view.on(m.NTF_Barrage_SetConfigInfo,function(e){t.fire({type:m.NTF_Barrage_SetConfigInfo,data:e.data})}),t._view.on(m.NTF_Barrage_SetChannelConfigInfo,function(e){t.fire({type:m.NTF_Barrage_SetChannelConfigInfo,data:e.data})}),t._view.on(m.NTF_Barrage_SetSwitch,function(e){t.fire({type:m.NTF_Barrage_SetSwitch,data:e.data})}),t._view.on(m.NTF_WebFullScreen_BeforeChange,function(e){t.fire({type:m.NTF_WebFullScreen_BeforeChange,data:e.data})}),t._view.on(m.NTF_WebFullScreen_AfterChange,function(e){t.fire({type:m.NTF_WebFullScreen_AfterChange,data:e.data})}),t._view.on(m.NTF_FullScreen_BeforeChange,function(e){t.fire({type:m.NTF_FullScreen_BeforeChange,data:e.data})}),t._view.on(m.NTF_FullScreen_AfterChange,function(e){t.fire({type:m.NTF_FullScreen_AfterChange,data:e.data})}),t._view.on(m.NTF_Barrage_NotifyGiftInfo,function(e){t.fire({type:m.NTF_Barrage_NotifyGiftInfo,data:e.data})}),t._view.on(m.NTF_ScoreTask_ScoreChange,function(e){t.fire({type:m.NTF_ScoreTask_ScoreChange})}),t._view.on(m.NTF_FeedBack_Show,function(){t.fire({type:m.NTF_FeedBack_Show})}),t._view.on(m.NTF_FeedBack_Hide,function(){t.fire({type:m.NTF_FeedBack_Hide})}),t._view.on(m.NTF_USER_SEEK,function(e){t.fire({type:m.NTF_USER_SEEK})}),t._view.on(m.NTF_Barrage_NotifyBarrageData,function(e){t.fire({type:m.NTF_Barrage_NotifyBarrageData,data:e.data})}),b.addCallback(function(e){t.fire(e)}),t._core.load({tvid:e.tvid,vid:e.vid,cid:e.cid,autoplay:e.autoplay}),t._view.on(m.NTF_Barrage_ShowRulePage,function(e){y.getInterface().sendBarrageShowRulePagePingback()}),t._view.on(m.NTF_Barrage_ShowLike,function(e){y.getInterface().sendBarrageShowLikePingback()}),t._view.on(m.NTF_Barrage_ShowMoreLike,function(e){y.getInterface().sendBarrageShowLikePingback()}),t._view.on(m.NTF_Barrage_EnsureReport,function(e){y.getInterface().sendBarrageEnsureReportPingback()}),t._view.on(m.NTF_Barrage_ShowReport,function(e){y.getInterface().sendBarrageShowReportPingback()}),t._view.on(m.NTF_Barrage_ShowReport,function(e){y.getInterface().sendBarrageShowReportPingback()}),t._view.on(m.NTF_Barrage_ShowReport,function(e){y.getInterface().sendBarrageShowReportPingback()}),t._view.on(m.NTF_Barrage_ShowSystemBarrage,function(e){y.getInterface().sendShowSystemBarragePingback(e.data)}),t._view.on(m.NTF_Barrage_ClickSystemBarrage,function(e){y.getInterface().sendClickSystemBarragePingback(e.data)}),t._view.on(m.NTF_Barrage_ClickSystemBarrageButton,function(e){y.getInterface().sendClickSystemBarrageButtonPingback(e.data)}),t._view.on(m.NTF_SHOW_CONTROLBAR_PINGBACK,function(e){y.getInterface().sendShowControlBarPingback(e.data)}),t._view.on(m.NTF_SEEKBAR_HOVER,function(e){y.getInterface().sendSeekBarHoverPingback(e.data)}),t._view.on(m.NTF_SHOW_HEATMAP,function(e){y.getInterface().sendShowHeatMapPingback(e.data)}),t.__init()},extend:a,methods:{__init:function(){this._core.on(v.NTF_Recharge,function(){s.exit(),p.exit()})},__tidyVars:function(e){if(e){for(var t in e)/\.(swf|xml)/gi.test(e[t])&&delete e[t];w.log("vars:"+JSON.stringify(e))}},destroy:function(){var e=this;e._core.destroy(),e._view.destroy(),document.getElementById(e._playerId)&&(document.getElementById(e._playerId).innerHTML="")},load:function(e){e.tvid=e.tvId,delete e.tvId,this._core.load(e)},play:function(){this._core.play()},resume:function(){this._core.play()},replay:function(){this._core.replay()},pause:function(){this._core.pause()},seek:function(e){this._core.seek(e)},getVideoInfo:function(e){return this._core.getVideoInfo(e)},getPlayInfo:function(e){var t=this,i=t._core,o=t._view.videoWrapper;i.getPlayInfo(function(t){var a={};a.tvid=t.tvid,a.vid=t.vid,a.cid=t.cid,a.albumId=t.albumId,a.categoryId=t.cid,a.currentTime=i.getCurrenttime(),a.totalDuration=1e3*i.getDuration(),a.currentDefination=t.rate,a.currentTrack="",a.currentStatus=i.getCurrStatus(),a.isTryWatch=i.isTryWatch()?"1":"0",a.isPause=i.isPaused()?"1":"0",a.width=o.width(),a.height=o.height(),a.vipTypes=i.getVipTypes(),e&&"function"==typeof e&&e(a)})},getPlayerId:function(){return this._playerId},setQiyiUserLogin:function(e){var t=this;r.setInfo(e),r.__isChangeVipState(function(e){e?setTimeout(function(){t._core.refresh()},200):t._core.getMovieInfo().isVIP&&setTimeout(function(){t._core.refresh()},200)})},addVideoList:function(e){this._core.addVideoList(e)},addPlayListView:function(e){this._core.addPlayListView(e)},removeVideoList:function(e){this._core.removeVideoList(e)},switchVideo:function(e){this._core.switchVideo(e)},switchNextVideo:function(){this._core.switchNextVideo(3)},switchPreVideo:function(){this._core.switchPreVideo()},jsNotifyAdManager:function(e){this._core.jsNotifyAdManager(e)},setSmallWindowMode:function(e){var t=this;e=parseInt(e,10),t.__smallWinStatus!==e&&(t.__smallWinStatus=e,t._view.fire({type:m.NTF_PlayerSmallWindowStatus,data:e}))},getQiyiPlayerInfo:function(e){this.getPlayInfo(e)},setPlayerWebFullScreen:function(e){this._view.fire({type:m.NTF_WebFullScreen_SetSwitch,data:e})},setPlayerFullScreen:function(e){this._view.fire({type:m.NTF_FullScreen_SetSwitch,data:e})},setBarrageStatus:function(e){this._view.fire({type:m.NTF_Barrage_SetSwitch,data:e})},setSelfSendBarrageInfo:function(e){this._view.fire({type:m.NTF_BarrageSelfSend,data:e})},setBarrageSetting:function(e){this._view.fire({type:m.NTF_BarrageSettingChange,data:e})},clearBanWord:function(){this._view.fire({type:m.NTF_Barrage_ClearBanWord,data:null})},addBanWord:function(e){this._view.fire({type:m.NTF_Barrage_AddBanWord,data:e})},removeBanWord:function(e){this._view.fire({type:m.NTF_Barrage_RemoveBanWord,data:e})},requestBarrageData:function(e){this._view.fire({type:m.NTF_Barrage_RequestBarrageData,data:e})},getQiyiPlayerLog:function(e){e(l.getLog())},getSwitchVideoType:function(e){e(this._core.getSwitchVideoType())},notyfyADInfo:function(e){var t=this._core.getAres();t&&t.emit(e.type,e.data)}}})}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a,n=i(2),r=i(0),s=i(32),d=(i(5),i(1)),p=i(3),l=i(4),c=i(10),u=i(6),f=i(9),g=i(7),_=i(50),h=i(23),m=i(41),v=i(52),b=i(73),y=i(78),x=i(25),w=i(84),T=i(47),k=i(33),S=i(48),A=i(85),E=i(86),P=i(24),L=i(60),I=i(87),F=i(43),q={},C=new d("core"),D=c.query("__playerengine__");o.exports=r("core",{construct:function(e,t,o){var n=this;n._plyct=t.plyct||+new Date,n.canFireVideoEvts=!0,n.autoplay="boolean"!=typeof t.autoplay||t.autoplay,n.h5vars=t,n.holders=l(T,o,!0),n._firstPlay=!0,n._ADfirstPlay=!0,n._vdsSwitch=!1,n._isSkipAD=!0,n._videolist=F.getVideoList(),n._movieinfo=null,n._skipHT=0,n._skipTT=0,n._aresloaded=!1,n._playingDuration=0,n._playingSpend=0,n._preplaying_spend=0,n._timeMark=0,n._loadTimePoint=0,n._switchVideoType=0,n._preMovieInfo={tvid:t.tvid,vid:t.vid},n.__canGetVideoInfo=!1,S.setVars(t),P.init(n),setTimeout(function(){I.init(n)},0);var r=window.location.href;if(-1!==r.indexOf("vfm")){-1===r.indexOf("=")&&(r=decodeURIComponent(r));var s=c.query(r,"vfm");""!==s&&u.set("QP005",s)}switch(h.usedTime_selfLoaded=new Date-t.pgct,h.pgct=t.pgct||new Date,h.browserType=t.browserType,h.pageTmpltType=t.pageTmpltType,n.autoplay?h.sTime_showVideo=h.usedTime_selfLoaded:h.needRecord=!1,P.setPbInfo({vfm:t.vfm,vfrm:t.vfrm,vvfrom:t.videoIsFromQidan}),n.eventlog.vrspreready=!1,n._recorder=new A(n),""===D&&(D=!_||!p.browser.CHROME&&!p.browser.FIREFOX||p.os.ios||p.os.android?"http":"data"),D){case"data":n._engine=new y(e,n.h5vars);break;case"http":n._engine=new b(e,n.h5vars);break;default:n._engine=new b(e,n.h5vars)}C.log("core player createEngine,params: engine = "+n.getEngineType().toLowerCase()),n._engine._aresmw||"data"!==D||setTimeout(function(){n.setAresMW(m.get())},0),n._emitter=new w(n),n._engine.assemble(),("1"==t.isMute||t.masflag)&&n.setMuted(!0),a=i(g.isTraditionalChinese()?30:31)},extend:n,props:{eventlog:{},currStatus:"",errorcode:null},methods:{load:function(e,t){var i=this;i._movieinfo&&i._movieinfo.tvid==e.tvid&&i._movieinfo.vid===e.vid||(parseInt(e.tvid,10)<9e7&&C.error("Core Player load movie info error,params: msg = "+e.tvid+"is not invalid qipu id"),i._loadTimePoint=(new Date).getTime(),i._preMovieInfo=i._movieinfo,i._movieinfo=new E,i._movieinfo.tvid=e.tvid,i._movieinfo.vid=e.vid,i.adWholeCorner=!1,i.h5vars.share_sTime||i.h5vars.share_eTime||(i._st=!0),i._st||(i._movieinfo.share_start_time=i.h5vars.share_sTime&&parseInt(i.h5vars.share_sTime,10)<0?0:parseInt(i.h5vars.share_sTime),i._movieinfo.share_end_time=i.h5vars.share_eTime?parseInt(i.h5vars.share_eTime):void 0,i.h5vars.share_eTime&&!i.h5vars.share_sTime&&(i._movieinfo.share_end_time=parseInt(i.h5vars.share_eTime),i._movieinfo.share_start_time=0),i._st=!0),e.cid&&(i._movieinfo.adPlayerID=e.cid),i._movieinfo.ares=!f.isBool(e.ares)||e.ares,C.info("load movieInfo,info,params: tvid = "+i._movieinfo.tvid+",vid = "+i._movieinfo.vid+", adPlayer = "+e.ares),i._firstPlay=!0,i._ADfirstPlay=!0,i.setStartPlayTime(0),q.__sendTmtsRPB||(q.__sendTmtsRPB=!0),i._engine.updateMovieInfo(i._movieinfo))},checkPreload:function(){var e=this;if("DATA"===e.getEngineType()){var t=!0,i=e.getMovieInfo(),o=e.getCurrenttime(),a=e.getDuration();if(t=t&&!e.isAd(),t=t&&e.hasNextVideo(),t=t&&e._engine.pbDone(),t=t&&i.previewTime===1/0,t=t&&a-o>=5){var n=e._getVideoIndexInList(e.getMovieInfo().tvid);-1===n&&(n=e._getVideoIndexInList(e.getMovieInfo().oldTvid));var r=e._videolist[n+1].tvid,s=e._videolist[n+1].vid;e._engine.preload(r,s)}}},refresh:function(){var e,t,i,o=this;o._movieinfo&&(e=o._movieinfo.tvid,t=o._movieinfo.vid,i=o._movieinfo.adPlayerID,o._movieinfo=null,o._engine.clearData(),o._engine.reset(),C.log("Core Player refresh"),o.fire({type:x.NTF_VideoRefresh}),v.destroy(),o.load({tvid:e,vid:t,cid:i,autoplay:!0,ares:!0}))},setAres:function(e){this._engine.setAresSDK(e)},getAres:function(){return this._engine.getAresSDK()},setAresMW:function(e){this._engine.setAresMW(e)},getCurrentGas:function(){return this._engine.getCurrentGas()},abortAres:function(){this._engine.abortAres()},abortAllAres:function(e){this._engine._abortAllAres(e)},getEngineType:function(){var e="";return this._engine instanceof b?e="HTTP":this._engine instanceof y&&(e="DATA"),e},_getdata:function(){var e=this,t={};return t.tvid=e.getMovieInfo().tvid,t.vid=e.getMovieInfo().vid,t.privateVideo="0",t.origin="",t},video:function(){return this._engine.video()},play:function(e){this._engine.play(e)},pause:function(e){this._engine.pause(e)},isPaused:function(){return this._engine.isPaused()},replay:function(){this._engine.replay()},seek:function(e,t){C.log("Engine:seek("+e+")"),this._engine.seek(e,t)},isSeeking:function(){return this._engine.isSeeking()},switchDefinition:function(e){var t=this;e!==t._engine.getCurrentVD()&&(t._vdsSwitch=!0,t.fire({type:x.NTF_DefinitionSwitching,data:e}),t._engine.switchVD(e))},isSwitchingDefinition:function(){return this._vdsSwitch},getAudioTracks:function(){return this._engine.getAudioTracks()},setAudioTracks:function(e){},getBufferTime:function(){return this._engine.getBufferTime()},getCurrenttime:function(){return this._engine.getCurrenttime()},getPlayingDuration:function(){return this._playingDuration},getSkipHeaderTime:function(){return this._skipHT},getSkipTailTime:function(){return this._skipTT},isSkipPrelude:function(e,t){var i=k.isSkipPrelude();if("boolean"!=typeof e)return i;i!=e&&(k.isSkipPrelude(e),!0!==t&&this._engine.skipPrelude(e))},setStartPlayTime:function(e,t){this._engine.setStartPlayTime(e,t)},getStartPlayTime:function(){return this._engine.getStartPlayTime()},getEndPlayTime:function(){return this._engine.getEndPlayTime()},getDuration:function(){return this._engine.getDuration()},getVolume:function(){return this._engine.getVolume()},setVolume:function(e){this._engine.setVolume(e),this.video().muted=!1},setMuted:function(e){var t=this._engine.getVolume();this._tempvolume=t>0?t:this._tempvolume||.6,e?this._engine.setVolume(0):(this._engine.setVolume(this._tempvolume),this.video().muted=!1)},getMuted:function(){return 0===this._engine.getVolume()},getVipTypes:function(){return this.getMovieInfo().vipTypes},getPlayInfo:function(e){var t=this;t._getpcall=t._getpcall||[],t._getpcall.push(e);var i=function(){var e={},i=t.getMovieInfo();e.tvid=i.tvid,e.vid=i.vid,e.cid=i.cid,e.albumId=i.albumId,e.duration=t._engine.getDuration(),e.rate=t._engine.getCurrentVD(),e.vidl=t._engine.getVidl(),e.previewImageUrl=i.previewImageUrl;var o=t._getpcall.slice(0);t._getpcall=[];for(var a=0;a0){var t=i._switchActions[e-1];i._switchActions.splice(0,e),i._switchVideoAction(t)}}var i=this,o=i.getEngineType();if(e)switch(o){case"HTTP":i._switchVideoAction(e);break;case"DATA":i._switchActions=i._switchActions||[],i._switchActions.push(e),0===i._loadTimePoint||(new Date).getTime()-i._loadTimePoint>1e3?t():i._fixSwitchTimmer||(i._fixSwitchTimmer=setTimeout(function(){t(),i._fixSwitchTimmer=null},1e3))}},switchNextVideo:function(e){var t=this,i=t._getVideoIndexInList(t.getMovieInfo().tvid),o=t._videolist;if(t._switchVideoType=e,-1===i&&(i=t._getVideoIndexInList(t.getMovieInfo().oldTvid)),-1===i&&o.length>0||i>-1&&o[i+1]){var a=o[i+1].pageUrl?o[i+1].pageUrl:null;t.switchVideo({autoSwitch:0===e,tvid:o[i+1].tvid,vid:o[i+1].vid,pageUrl:a})}},switchPreVideo:function(){var e=this,t=e._getVideoIndexInList(e.getMovieInfo().tvid),i=e._videolist;-1===t&&(t=e._getVideoIndexInList(e.getMovieInfo().oldTvid)),t>-1&&i[t-1]&&e.switchVideo({tvid:i[t-1].tvid,vid:i[t-1].vid})},hasNextVideo:function(){var e=this,t=e.getMovieInfo(),i=e._getVideoIndexInList(t.tvid),o=e._videolist;return-1===i&&(i=e._getVideoIndexInList(t.oldTvid)),!!(-1===i&&o.length>0||i>-1&&o[i+1])},checkADSkipped:function(){return!!this._isSkipAD},getPoster:function(){var e=this,t="";return e.getVideoInfo(function(e){t=e.vpic}),t},pbVisualizer:function(){var e=this;"DATA"===e.getEngineType()&&e._engine.pbVisualizer()},pbLog:function(){var e=this;"DATA"===e.getEngineType()&&e._engine.pbLog()},pbVersion:function(){try{return this._engine.pbVersion()}catch(e){return""}},isTryWatch:function(){return this._engine.isTryWatch()},getPreviewType:function(){return parseInt(this.getMovieInfo().previewType||-1,10)},getPreviewTime:function(){return this._engine.getPreviewTime()},getPreviewTipType:function(){return parseInt(this.getMovieInfo().authTipType||-1,10)},getSwitchVideoType:function(){return this._switchVideoType},recharge:function(e,t){this._engine.recharge(e,t)},jsNotifyAdManager:function(e){var t=this,i=function(){t.fire({type:x.NTF_AD_NotifyManager,data:e})};t._aresloaded?i():t.on(x.Status_AdLoaded,function(){i()})},hasStatus:function(e){return L.has(e)},setPbisdm:function(e){P.setPbisdm(e)},destroy:function(){var e=this;e._engine.clearData(),e._engine.reset(),e._engine.destroy()},setHolder:function(e,t){this.holders[e]=t},blockVideoEvents:function(){this.canFireVideoEvts=!1},resumeVideoEvents:function(){this.canFireVideoEvts=!0},userGesturePlayed:function(){this._engine.userGesturePlayed()},getPlaybackRate:function(){this._engine.getPlaybackRate()},setPlaybackRate:function(e){this._engine.setPlaybackRate(e)},getPageTmpltType:function(){return h.pageTmpltType},getCurrentDefinitionAd:function(){var e=this;return"DATA"===e.getEngineType()?e._engine.getDefinitionAd(e._movieinfo.videoQipuId):""}}})}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(0),n=i(1),r=i(16),s=i(9),d=i(5),p=i(21),l=i(6),c=i(3),u=i(32),f=i(7),g=i(53),_=i(76),h=i(77),m=i(18),v=i(17),b=i(27),y=i(43),x=new n("httpEngine");o.exports=a("httpEngine",{extend:g,construct:function(e,t){var i=this;Object.defineProperty(e,"playbackRate",{set:function(e){},get:function(){}}),i._video=e,i._sdkloaded=!1,_.init(i)},methods:{assemble:function(){this.fire({type:m.Status_Assembled,data:{}})},_loadAdSdk:function(){var e=this,t=e._param.h5AdPadSrc;"undefined"==typeof aresPad?t&&""!==t?p.seriesLoadScripts(t,function(t){t&&"undefined"!=typeof aresPad?(e.fire({type:"aresloaded"}),e._sdkloaded=!0,x.log("ares version: "+aresPad.version)):x.error("H5 http ad sdk load error!")}):x.error("params ares src is null. "):e._sdkloaded=!0},getAresSDK:function(){return this._aresdk},_initAres:function(e){var t,i,o=this,a=e||o._movieinfo,n=(y.getViFromVl(a.tvid,a.vid),navigator.userAgent.match(/miuivideo\//i)||c.os.android&&parseInt(c.os.version)>4&&navigator.userAgent.match(/MiuiBrowser/i));i=c.browser.iPad?"ipad":c.browser.iPhone?"iphone":c.os.androidTablet?"gpad":c.os.androidMobile?"gphone":"ipad";var s=c.browser.iPad||c.browser.iPhone||c.os.android&&parseFloat(c.os.version)>4||n?"m3u8":"mp4";o._pMode=s,t=c.browser.iPad?f.isTWLocale()?"qc_105136_100639":"qc_100001_100103":c.browser.iPhone?f.isTWLocale()?"qc_105136_100638":"qc_100001_100102":c.os.androidMobile?f.isTWLocale()?"qc_105136_100640":"qc_100001_100186":f.isTWLocale()?"qc_105136_101044":"qc_100001_101043",o._param.cid&&"qc_105045_100459"==o._param.cid&&(t=o._param.cid),u.get({tvid:a.tvid,vid:a.vid},function(e){d.isVip(function(n){var p=a.tvid+"",c={playerId:t,tvId:p,vId:a.vid,userId:l.get("QC006"),passportId:d.getUid(),resIndex:a.vd,albumId:e.albumId||"",deviceType:i,videoEventId:r.generate(p),location:location.href,channelId:e.cid||"",duration:a.duration||"",locale:o._param.local,formatType:s,isVip:n,passportCookie:d.passportCookie()};window.CupidPadAdSdk&&(o._aresdk=new CupidPadAdSdk(o._video,c),o.fire({type:m.NTF_ARES_Load}))})})},_initAdEvents:function(){function e(e){t._movieinfo.ares&&t._initAres(e)}var t=this;t.on(m.NTF_MovieInfoChange,function(e){var i,o=e.data.preMovieInfo,a=e.data.curMovieInfo;if(o)try{i=r.getEventId(o.tvid),x.debug("stop ares-> "+o.tvid,"videoEventId->"+i),t.getAresSDK().stop({videoEventId:i})}catch(e){}else a&&(i=r.getEventId(a.tvid),x.debug("destroy ares by refresh player-> "+a.tvid,"videoEventId->"+i),t.getAresSDK().destroy({videoEventId:i}))}),t.on(m.NTF_VRSPreloaded,function(i){t._preMovieinfo=i.data,e(i.data)}),t.on(m.NTF_ARES_End,function(e){t._abortAllAres(),t.isPaused()&&t.play()})},_initares:function(){var e=this;e._loadAdSdk(),e._sdkloaded?e._initAres():e.on("aresloaded",function(){e._initAres()})},loadMovie:function(e,t){var i=this;i._vdSwitch?(i._adDuration=0,i._preIdAll="",i._loadTMTSData(e,t)):(i._resetVideo(),i._initAresStage(e,t))},_initAresStage:function(e,t){var i=this;i._initares(),i._aresInit||(i._aresInit=!0,i._initAdEvents()),i.on(m.NTF_ARES_Load,function(){var o=i.getAresSDK();o&&(o.off("noad"),o.on("noad",function(o){i._ads=[],i._preIdAll="",i.adEnded=!0,i._isAd=!1,i._adDuration=0,i._loadTMTSData(e,t)}),o.off("ready"),o.on("ready",function(o){i.adEnded=!1;var a=o.data,n="";if(a&&a.duration&&a.ads){a.ads.forEach(function(e){n+=e.tvid+"_"+e.vid+"-"}),i._preIdAll=n,i._adDuration=a.duration}a&&!a.duration&&a.ads&&(i._ads=a.ads),i._isAd=!0,i._loadTMTSData(e,t)}),o.off("roll-ended"),o.on("roll-ended",function(){i.adEnded=!0,x.debug("ad notice roll-ended"),"m3u8"===i._pMode?(i._video.currentTime=i._adDuration,x.debug("skip ares ->"+i._adDuration)):i.fire({type:m.NTF_ARES_End})}))})},_loadTMTSData:function(e,t){var i=this;i._noticeDataStart(),i._loadTMTS(e,t,function(){i._vdSwitch?i.setSrc(i._movieinfo.url,0,i._vdSwitchVideoPaused):(i._noticeDataReady(),i._noticeDataDone())},function(){i._noticeDataDone()})},setSrc:function(e,t,i){var o=this,a=o._pMode||"";if("mp4"===a){o._isAd=1===parseInt(t,10);var n=o._isAd?0:o.getStartPlayTime();o._isAd||(x.log("continue play time: "+n),o.enableSeek()),o.setDecodeSrc(e,n)}if("m3u8"===a){var r=o._isAd?0:o.getStartPlayTime()+o._adDuration;x.log("continue play time: "+r),o.setDecodeSrc(e,r)}i?o.pause():o.play()},_resetVideo:function(){var e=this;e.pause(),e.setDecodeSrc("",0)},isAd:function(){return this._isAd},_switchVD:function(e){var t=this;t.loadMovie(t.getEngineMovieInfo().tvid,e.vid)},_loadTMTS:function(e,t,i,o){var a=this,n=a._preIdAll||"";a._movieinfo.tvid=e,a._movieinfo.vid=t,a._movieinfo.oldTvid=e;var r=function(e){if(e){var t={MISSPARAM:1,A02500:1,A02510:1,A02511:1,A02512:1,A00003:1,A00010:1,A00114:1,A00115:1,A00301:1,A00302:1,A02801:1,A00001:2,A00101:2,A00004:6,A00005:6,A02501:6,A02502:6,A02503:6,A02592:6,A00113:7,A02591:7,Q00201:11,Q00202:11,Q00203:11,A02593:11,PLATFORM_MISMATCH:12,A00110:12,A00111:13,A00116:14,A00117:14,A00002:21,A00011:21,A00013:21,A02601:21,A02602:21,Q00501:22,A02603:22,P00001:101,P00002:102};a.brokedown(t[e],"ENGINE_HTTP_"+e,"6000")}o&&o()};e&&t?d.getVipTypes(function(){x.log("load movieInfo from vrs,params: tvid = "+e+", vid = "+t),h.request({cupid:a._movieinfo.adPlayerID,tvid:e,vid:t,preIdAll:n},function(e){try{x.log("load movieInfo from vrs ok"),a._movieinfo.tvid=e.data.tvid?e.data.tvid:a._movieinfo.tvid,a._movieinfo.albumId=e.data.aid||a._movieinfo.albumId||"",a._movieinfo.duration=e.data.duration,a._movieinfo.url=s.protocolRevise(e.data.m3u),a._movieinfo.cid=e.data.cid,a._movieinfo.clientIp=e.data.clientIp,a._movieinfo.ugc=e.data.ugc,a._movieinfo.isVIP=2===e.data.bossStatus,a._movieinfo.adVids=e.data.adVids?e.data.adVids:[],a._movieinfo.vipTypes=e.data.vipTypes,a._movieinfo.isTryWatch=1===parseInt(e.data.prv,10),a._movieinfo.previewTime=a._movieinfo.isTryWatch&&1==e.data.previewType?60*parseInt(e.data.previewTime,10)*1e3:1/0;var t=!1;if(a._movieinfo.vipTypes&&a._movieinfo.vipTypes.length>0)for(var o=0;o=a&&(i=a-.5),i==o._adDuration&&0!==i&&(i=o._adDuration+1),!o._checkSeek||!1!==o._checkSeek(i)){o.hasSeeking=!0;var n=o._video.seekable;1===n.length&&n.end(0)>=i?(t&&(o._currentManualAction=v.NTF_Seeking),isNaN(i)&&(i=0),i>=0&&i<=a&&(o._video.currentTime=i),o.isPaused()&&o.play()):setTimeout(function(){o.seek(i)},10)}}}})}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(2),n=i(0),r=i(3),s=i(1),d=new s("video decoder"),p=i(17),l={};o.exports=n("decode",{construct:function(e){var t=this;t._video=e,t._curStatus="",t.hasSeeking=!1,t.seekableFlag=!0,t.__beforeSeekTime=0,t._userGesturePlayed=!1,t._currentManualAction=null,t._currentCodeActionList=[];var i=function(i){if(""!==e.src){var o=i.status;t.fire({type:p.NTF_StatusChanged,data:i}),t._curStatus=o,o===p.Status_Playing?t._playing=!0:t._playing=!1}},o=function(e){if(t._currentManualAction&&t._currentManualAction===e)return t._currentManualAction=null,p.Action_Type_Controls;if(-1!=t._currentCodeActionList.indexOf(e)){var i=t._currentCodeActionList.indexOf(e);return t._currentCodeActionList.splice(i,1),p.Action_Type_Code}return p.Action_Type_Native};t._canFireDecodeEvt=function(){return!0},t._setSrc=function(e){1===arguments.length&&(t.__beforeSeekTime=0,t._video.setAttribute("src",e),r.os.ios||t._video.load())},l.loadstart=function(){t.__beforeSeekTime=0,i({status:p.Status_Loadstart,actionType:p.Action_Type_Native})},e.addEventListener("loadstart",l.loadstart),l.error=function(e){t.__beforeSeekTime=0,i({status:p.Status_LoadFailed,actionType:p.Action_Type_Native})},e.addEventListener("error",l.error),l.stalled=function(e){i({status:p.Status_Stalled,actionType:p.Action_Type_Native})},e.addEventListener("stalled",l.stalled),l.loadedmetadata=function(){i({status:p.Status_LoadedMetaData,actionType:p.Action_Type_Native})},e.addEventListener("loadedmetadata",l.loadedmetadata),l.canplay=function(){i({status:p.Status_Canplay,actionType:p.Action_Type_Native})},e.addEventListener("canplay",l.canplay),l.pause=function(){t._canFireDecodeEvt()&&i({status:p.Status_Paused,actionType:o(p.Status_Paused)})},e.addEventListener("pause",l.pause),l.play=function(){t._canFireDecodeEvt()&&i({status:p.Status_Play,actionType:o(p.Status_Play)})},e.addEventListener("play",l.play),l.playing=function(){t._canFireDecodeEvt()&&(t.hasSeeking=!1,i({status:p.Status_Playing,actionType:p.Action_Type_Native}))},e.addEventListener("playing",l.playing),l.waiting=function(){t._canFireDecodeEvt()&&i({status:p.Status_Waiting,actionType:p.Action_Type_Native})},e.addEventListener("waiting",l.waiting),l.seeking=function(){if(t._canFireDecodeEvt()){r.os.ios||r.os.android||i({status:p.Status_Waiting,actionType:p.Action_Type_Code});var e={current:t.getCurrenttime(),duration:t.getDuration()};e.actionType=o(p.NTF_Seeking),t.fire({type:p.NTF_Seeking,data:e})}},e.addEventListener("seeking",l.seeking),l.ended=function(){if(!1===t.seekableFlag&&Math.abs(t._getDecodeDuration()-t.__beforeSeekTime)>2)return t._seek(t.__beforeSeekTime);t._canFireDecodeEvt()&&(t._checkStop&&!t._checkStop()||i({status:p.Status_Stoped,actionType:p.Action_Type_Native}))},e.addEventListener("ended",l.ended),l.canplaythrough=function(){t.fire({type:p.NTF_CanPlayThrough,data:{actionType:p.Action_Type_Native}})},e.addEventListener("canplaythrough",l.canplaythrough),l.volumechange=function(){t.fire({type:p.NTF_VolumeChanged,data:t._video.volume,actionType:p.Action_Type_Native})},e.addEventListener("volumechange",l.volumechange),l.durationchange=function(){t._canFireDecodeEvt()&&t.fire({type:p.NTF_DurationChanged,data:t.getDuration(),actionType:p.Action_Type_Native})},e.addEventListener("durationchange",l.durationchange);var a=(new Date).getTime(),n=0;l.timeupdate=function(){var r=t.getCurrenttime(),s=t.getDuration();if(!e.seeking&&Math.abs(r-t.__beforeSeekTime)<1.2)t.__beforeSeekTime=r;else if(!1===t.seekableFlag)return t._seek(t.__beforeSeekTime);if(!t.isPaused()){var d=(new Date).getTime();d-a>500&&(clearTimeout(n),a=d,n=setTimeout(function(){t.fire({type:p.NTF_TimeUpdate,data:{current:r,duration:s,actionType:p.Action_Type_Native}})},0)),t._playing||(t.hasSeeking=!1,i({status:p.Status_Playing,actionType:o(p.Status_Playing)}))}},e.addEventListener("timeupdate",l.timeupdate),l.progress=function(){t._canFireDecodeEvt()&&t.fire({type:p.NTF_Progress,data:{buffer:t.getBufferTime(),actionType:p.Action_Type_Native}})},e.addEventListener("progress",l.progress),i({status:p.Status_Idle}),t._statusChanged=i,t._checkActionType=o},extend:a,methods:{video:function(){return this._video},removeAllEventsListener:function(){var e=this;e._video.removeEventListener("loadstart",l.loadstart),e._video.removeEventListener("error",l.error),e._video.removeEventListener("stalled",l.stalled),e._video.removeEventListener("loadedmetadata",l.loadedmetadata),e._video.removeEventListener("canplay",l.canplay),e._video.removeEventListener("pause",l.pause),e._video.removeEventListener("play",l.play),e._video.removeEventListener("playing",l.playing),e._video.removeEventListener("waiting",l.waiting),e._video.removeEventListener("seeking",l.seeking),e._video.removeEventListener("ended",l.ended),e._video.removeEventListener("canplaythrough",l.canplaythrough),e._video.removeEventListener("volumechange",l.volumechange),e._video.removeEventListener("durationchange",l.durationchange),e._video.removeEventListener("timeupdate",l.timeupdate),e._video.removeEventListener("progress",l.progress)},play:function(e){function t(){var e=i._video.play();void 0!==e&&e.then(function(){})["catch"](function(e){d.warn(e.message)})}var i=this;e?i._currentManualAction=p.Status_Play:i._currentCodeActionList.push(p.Status_Play),r.os.ios||r.os.android?i._userGesturePlayed?t():i.fire({type:p.NTF_NeedUserGesture4Playback}):t()},pause:function(e){e?this._currentManualAction=p.Status_Paused:this._currentCodeActionList.push(p.Status_Paused),this._video.pause()},isPaused:function(){return this._video.paused},replay:function(){this._video.play(this._video.src)},seek:function(){var e=this;e.seekableFlag&&e._seek.apply(e,arguments)},_seek:function(e,t){var i=this;if(!i._checkSeek||!1!==i._checkSeek(e)){i.hasSeeking=!0;var o=i._video.seekable;1===o.length&&o.end(0)>e?(t?i._currentManualAction=p.NTF_Seeking:this._currentCodeActionList.push(p.NTF_Seeking),e>=0&&e<=i.getDuration()&&(i._video.currentTime=e),i.isPaused()&&i.play()):setTimeout(function(){i._seek(e)},10)}},isSeeking:function(){return this.hasSeeking},enableSeek:function(){this.seekableFlag=!0},disableSeek:function(){this.seekableFlag=!1},setDecodeSrc:function(e,t){var i=this;i._setSrc(e),d.debug("decode src current time :"+t);try{i._video.duration=0,i._video.buffered.length=0,t>0?i._video.addEventListener("loadedmetadata",function e(){t0&&(t=e._video.buffered.end(e._video.buffered.length-1)),t},getBuffered:function(){return this._video.buffered},getCurrenttime:function(){var e=this,t=e.getDuration(),i=this._video.currentTime||0;return i0&&(t._currentFeaturePlayingDuration+=1e3*o),e=i}}),t.on(s.NTF_Seeking,function(t){e=void 0}),t.on(d.Status_Destroy,function(){i()}),t.on(d.NTF_MovieInfoChange,function(){i()})}}}));o.exports=new p}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(0),n=i(2),r=i(1),s=(i(12),i(16),i(17)),d=(i(27),i(18)),p=new r("HEngineEmitters"),l=a("HEngineEmitters",{extend:n,methods:{init:function(e){var t=this;t.engine=e,t._engineEvents(),t._vrsEvents()},_engineEvents:function(){var e,t=this.engine,i=0;t.on(s.NTF_StatusChanged,function(o){var a=o.data.status;switch(a){case s.Status_LoadedMetaData:t._vdSwitch&&setTimeout(function(){t._noticeVidChanged()},200);break;case s.Status_LoadFailed:case s.Status_Stoped:var n=t._ads,l=t.getCurrentGas();n&&n.length>0&&t.isAd()&&(a===s.Status_LoadFailed&&p.warn("drop ares gas:"+r.stringify(n)),setTimeout(function(){for(i=0;i0?(t.setSrc(t._ads[0].url,1,!1),t._gas=t._ads[0]):t.setSrc(t._movieinfo.url,0,!1)),"m3u8"===t._pMode&&t._movieinfo){t.getSrc()!==t._movieinfo.url&&t.setSrc(t._movieinfo.url,1,!1)}if(o&&t._movieinfo&&t._movieinfo.adVids.length>0){var a=t._movieinfo.adVids;p.info("notify CupidSdk removeInvalidAds vid->"+a),o.notifyCupidSdk("removeInvalidAd",{vid:a||[]}),t._adDuration&&(t._adDuration=t._adDuration-15*a.length,p.info("removeInvalidAd adDuration->"+t._adDuration))}})}}});o.exports=new l}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(3),n=i(10),r=i(8),s=i(26),d=i(5),p=i(4),l=i(6),c=i(1),u=i(54),f=i(34),g=i(24),_=i(33),h=new c("tmtsremote");o.exports={request:function(e,t,i){var o=navigator.userAgent.match(/miuivideo\//i)||a.os.android&&parseInt(a.os.version)>4&&navigator.userAgent.match(/MiuiBrowser/i),c=a.browser.iPad||a.browser.iPhone||a.os.android&&parseFloat(a.os.version)>4||o?"m3u8":"mp4";g.sendVrsRequestPingback(),r.jsonp({url:f.h5tmtsUrl+e.tvid+"/"+e.vid+"/",params:function(){var t={platForm:"h5",uid:d.getUid(),dfp:s.get(),cupid:e.cupid,src:u.getSrc(),preIdAll:e.preIdAll,codeflag:1,deviceid:l.get("QC005")||l.get("QC006"),type:c};_.isBoss()&&(t.nolimit=1);try{p(t,u.cmd5xtmts())}catch(e){}return t}(),beforeSend:function(e){var t=n.parse(e.url).host;try{u.cmd5x&&(e.url+="&vf="+u.cmd5x(e.url.replace(new RegExp("^https?://"+t,"ig"),"")))}catch(e){}return h.log("load movieInfo from vrs, request,params: url = "+e.url),e},success:function(e){g.sendVrsReadyPingback(),e&&e.hasOwnProperty("code")?"A00000"===e.code?t(e):i(e):i({code:"P00001"})},failure:function(){i({code:"P00001"})}})}}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(0),n=i(6),r=i(21),s=i(1),d=i(16),p=i(4),l=i(9),c=(i(41),i(5)),u=i(3),f=i(44),g=i(17),_=i(28),h=i(56),m=i(33),v=i(18),b=i(53),y=i(45),x=i(46),w=i(79),T=i(81),k=i(83),S=i(27),A=i(23),E=i(47),P=i(43),L=i(59),I=i(57),F=new s("DataEngine");o.exports=a("DataEngine",{extend:b,construct:function(e,t){var i=this;i._paused=!0,i._param=t,i._pburl=t.h5P2PUrl,i._vrs={},i._sdkloaded=!1,i._isSkipAD=!0,i._autoplay="boolean"!=typeof t.autoplay||t.autoplay,k.init(i),T.setEngine(i),x.__setVideo(e),y.setProxy(x),x.on("fragmentsChange",function(){y.setData(x.getFragments())}),w.init(i,e),i._canFireDecodeEvt=function(){return!1},i._setForcedPlayerType=function(e){"LoaderState_error_idc"===e&&(n.remove("player_forcedType"),n.set("player_forcedType","flash_VOD",{expires:2592e5}),location.reload())},i._pb_=x},methods:{assemble:function(){var e=this;e._loadP2PSdk(),e._loadAdSdk()},_loadP2PSdk:function(){var e=this,t=function(){var t=window.QIYI_HTML5_P2P_PlayBack_0001;t?(F.info("P2P core load ready"),e._pb_.__setSDK(t),e.fire({type:v.Status_Assembled,data:t})):F.info("P2P core load error")};window.QIYI_HTML5_P2P_PlayBack_0001?t():(F.info("P2P core start load,params:url = "+e._pburl),A.sTime_P2PCore=new Date-A.pgct,r.seriesLoadScripts(e._pburl,function(e){A.usedTime_P2PCore=new Date-A.sTime_P2PCore-A.pgct,t()}))},loadMovie:function(e,t){var i=this,o=T.getPid(e,t);i._noticeDataStart();var a=function(e){e.isPreload=!!e.isPreload,p(i._movieinfo,e,!0),i._movieinfo.vd=e.vd,i._vd=e.vd,i._setFragments(i._movieinfo.vidl.filter(function(e){return e.vd===i._vd})[0]),i._noticeDataReady(),i._noticeDataDone()};if(T.hasPreload(o)){var n=T.getPreloadData(o);a(n)}else T.getPromise(o).then(function(e){e.isPreload=!1,a(e)},function(e){switch(p(i._movieinfo,e.movieinfo,!0),e.type){case 0:i.brokedown(e.code,e.originalCode,e.ec,e.vmsst);break;case 1:i._noticeRecharge(e.code);break;case 2:i.brokedown(22);break;default:F.error(e&&e.stack?e.stack:e)}i._noticeDataDone()});i._aresInit||(i._aresInit=!0,i._initAdEvents())},preload:function(e,t){var i=this,o=T.getPid(e,t),a=y.getSegmentsByTvid(e);S.valid(e,!0),T.hasPreload(o)?0===a.length&&i._noticeReJointPreload():T.getPromise(o).then(function(e){e.isPreload=!0,e.ares=!0,i._preloadedMovieInfo=e,i._noticeDataPreloaded()},function(e){F.warn("preload movie which requires auth: "+s.stringify(e))})},hasPreload:function(e,t){var i=T.getPid(e,t);return S.finishPres(e)&&T.hasPreload(i)&&y.getSegmentsByTvid(e).length>0},hasFinishPreload:function(e,t){return this.hasPreload(e,t)&&S.finishPres(e)},_clearData:function(){x.resetProxy(),S.clearAll(),T.clearAll()},_checkSkipHeadTime:function(e){var t=this,i=t._movieinfo;if(i){var o=t._skipHeadTvid,a=m.isSkipPrelude(),n=a&&i.prelude.headTime>0?1e3*i.prelude.headTime:-1;o!=i.tvid&&(i.share_start_time||0===t.share_start_time?t.fire({type:h.Evt_StartShareTime,data:{time:e}}):a&&e===n?(t._skipHeadTvid=i.tvid,F.log("skip prelude, pos: "+n+"!"),t.fire({type:h.Evt_SkipHeader,data:{time:e}})):!0!==t.__checkSkiped&&void 0===o&&e>0&&(t._skipHeadTvid=i.tvid,F.log("apply record, pos: "+e+"!"),t.fire({type:h.Evt_StartFromHistory,data:{time:e}}))),t.__checkSkiped=!0}},_checkSkipTailTime:function(e){var t=this,i=t._movieinfo;if(i&&i.prelude){var o=!!t._skipTailTipped,a=m.isSkipPrelude(),n=a&&i.prelude.tailTime>0?1e3*i.prelude.tailTime:-1;t._skipTailTvid!=i.tvid&&(t._skipTailTvid=i.tvid,t._skipTailTipped=!1);var r=x.getPlayOrder(),s=y.getSegmentByOrder(r);a&&n>0&&(e+15e3>=n?o||y.isFeatureEndSegment(s)&&s.showEndTime===n&&(t._skipTailTipped=!0,F.log("skip tail, cur:"+e+", tail: "+n+"!"),t.fire({type:h.Evt_SkipTail,data:{time:n}})):t._skipTailTipped=!1),y.isFeatureEndSegment(s)&&e+15e3>=s.showEndTime&&t.fire({type:h.Enjoy_Evt_PlayEnd,data:{mv:i}})}},isAd:function(e){var t=!1,i="number"==typeof e&&e>=0?e:x.getPlayOrder(),o=y.getSegmentByOrder(i);return o&&!0===o.ad&&(t=!0),t},_abortAllAres:function(e){var t=this,i="ad play complete and removeFragment,params: rollType = "+e;switch(e){case"preroll":setTimeout(function(){if(t._movieinfo){var e=y.getAresPres(t._movieinfo.tvid);e.length>0&&(F.debug("setsrc remove pres!"),i+=", start = "+e[0].order+", length = "+e.length,F.info(i),x.removeFragment(e[0].order,e.length))}},0);break;case"midroll":setTimeout(function(){if(t._movieinfo){var e=y.getAresMids(t._movieinfo.tvid);e.length>0&&(F.debug("setsrc remove mids!"),i+=", start = "+e[0].order+", length = "+e.length,F.info(i),x.removeFragment(e[0].order,e.length))}},0)}},_getCurrentGas:function(){var e=x.getPlayOrder();return this._getGasByOrder(e)},_getGasByOrder:function(e){e=parseInt(e,10);var t={},i=y.getSegmentByOrder(e);return i&&(t=i.ad?i.gas:{videoEventId:d.getEventId(i.tvid)}),t},_setFragments:function(e){this._segments=e.segments,this._duration=e.duration},_checkSegmentsInPreview:function(e,t){var i=this;return e=e||i.getEngineMovieInfo().previewTime,t=t||i._segments,t.filter(function(t,i,o){var a=t.startTime0){var n=o[i-1];a=a&&n.endTime0){n=r.map(function(e){return p({},e,!0)}).filter(function(e,t,i){var o=e.startTime0){var a=i[t-1];o=o&&a.endTime=0&&i=o&&(o=n[n.length-1].endTime),n=n.filter(function(e,t,a){var n=a[t+1],r=e.startTime=n.startTime&&(r=!1),r=r&&i0)){var f=n[0],g=n[n.length-1];o=o===1/0?g.endTime:o,a._movieinfo&&a._movieinfo.tvid===d.tvid&&(a._startPlayTime=i/1e3,a._endPlayTime=o/1e3),f.showStartTime=i,g.showEndTime=o}}return 0===n.length&&F.error("construct play segments fail, pos: "+i+", vmi"+(t?s.stringify(t):"")),n},_getStartEndTimes:function(e,t){var i,o,a=this,n=t||a._movieinfo,r=m.isSkipPrelude(),s=n.isPreload?0:1e3*a._startPlayTime,d=r&&n.prelude.headTime>0?1e3*n.prelude.headTime:0,p=r&&n.prelude.tailTime>0?1e3*n.prelude.tailTime:1/0;return i=isNaN(e)||null===e?n.share_start_time||0===n.share_start_time?1e3*parseInt(n.share_start_time):d>=s&&d>0?d:s:e,o=n.share_end_time&&n.share_end_time>=n.share_start_time?1e3*parseInt(n.share_end_time):p,i>1e3*parseInt(n.share_end_time)&&(o=p),{start_play_time:i,end_play_time:o}},_getVRSSegmentByPlayTime:function(e){for(var t,i=this,o=i._segments,a=0;a0){a=1e3*(o.end(o.length-1)-b.prototype.getCurrenttime.call(t)),a<0&&(F.debug("buffered in video: "+a+"s"),a=0)}x.sleeping()&&t.pbReload();var n=t._constructPlaySegments(i);x.freshFragments(n,!0,0,i),t._switchDelayTimer=setTimeout(function(){"waiting"===x.getState()?t.once(g.NTF_TimeUpdate,function(){t._noticeVidChanged()}):t._noticeVidChanged()},a)};if(e.segments.length>0)i();else{var o=function(){t._noticeVidChanged(!1)},a=f.getNewVd(e.vd);F.info("switchVD, load movieInfo from vrs,params: tvid = "+t._tvid+", vid = "+t._vid+", islogin = "+c.isLogin()+", vd = "+a+"|"+e.vd),I.request({params:{tvid:t._movieinfo.tvid,vid:e.vid,vd:a,tryCount:0,switchvd:!0},hostUseIP:!1},function(a){if(a.hasOwnProperty("data")&&a.data.hasOwnProperty("st")){var n=parseInt(a.data.st,10);if(100a&&(t=e.getDuration());else if(n>a){var r,s=y.getSegmentByOrder(a),d=[];s&&(d=y.getFeaturesBySegment(s),d.length>0&&(r=d[d.length-1],n>r.order&&(t=e.getDuration())))}return t},getCurrenttime:function(){var e=this,t=e.getDuration(),i=x.getPlayInfo().time/1e3;return i-1?"qc_105092_300416":"qc_100001_100103");var n=i._param.isSupportViewpoint||!1,r=i._param.site||"iqiyiw";c.isVip(function(e){i._aresmw._isVip=e;var a=i._aresmw.video(),s=(o.videoQipuId||o.tvid)+"",p={autoLoad:!0,autoRender:!0,isMacH5:!0,isPreload:!!o.isPreload,adPlayerId:t,episodeId:s,videoEventId:d.generate(s),videoDefinition:o.vd,showVoiceIcon:!(u.os.android||u.os.ios),videoMidware:i._aresmw,isVIP:e,isSupportViewpoint:n,site:r,locale:i._param.local,passportId:c.getUid(),passportCookie:c.passportCookie(),clientVersion:E.playerVersion,videoContainer:a};setTimeout(function(){i.getAresSDK().init(p)},0)})},getDefinitionAd:function(e){var t;return S.valid(e)&&(t=S.getDefinitionAd(e)),t}}})}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(0),n=i(1),r=i(9),s=i(2),d=i(11),p=i(20),l=i(80),c=i(45),u=i(46),f=new n("PBVisualizer"),g=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,_=window.cancelAnimationFrame||window.mozCancelAnimationFrame,h="QiyiPlayerVisualizer",m=a("PBVisualizer",{extend:s,construct:function(){var e=this;e._initShowFlag=1===parseInt(p.read(h),10),e._showFlag=e._initShowFlag;try{e._canvas=document.createElement("canvas"),e._canvas.width=450,e._canvas.height=150,e._canvasCTX=e._canvas.getContext("2d"),e._graphics=new l.Graphics(e._canvas),e._hide()}catch(e){}},methods:{init:function(e,t){var i=this;i._video=t,i._video.parentNode.appendChild(i._canvas),i._layout(),i._initShowFlag&&i._show()},_layout:function(){d(this._canvas).css("pointerEvents","none").css("width","auto").css("height","auto").css("position","absolute").css("zIndex","100000").css("top","15px").css("left","15px")},_drawOutline:function(){var e=this;e._canvasCTX.fillStyle="rgba(26,26,26, 0.8)",e._canvasCTX.clearRect(0,0,450,150),e._canvasCTX.fillRect(0,0,450,150),e._canvasCTX.fontSize="18px"},_drawCloseTip:function(){var e=this,t=this._graphics;e._canvasCTX.fillStyle="rgba(225, 225, 225, 1)",t.wrapText("[CTRL+ALT+F7 开启/关闭]",320,15,430,20)},_drawFace:function(e,t,i,o){var a=this._graphics,n=2*i,r=a.create(e,t,n,n);r.setColor("#000000"),r.fillCircle(0,0,i);r.setColor(o),r.fillCircle(1,1,i-1);var s=n/25,d=i-4*s,p=i+4*s-2*s,l=n/3;r.setStrokeColor("#000000"),r.drawCircle(d,l,s),r.drawCircle(p,l,s);var c=n/2,u=i-c/2,f=2*n/3;r.setStrokeColor("#000000"),r.drawLine(u,f,u+c,f)},_drawSynopsis:function(e){var t=this,i=t._graphics,o=u.isDone(),a=u.getPlayOrder(),n=0,r=e.map(function(e){var t=e.order,i=a===t?"▶":"",o="F";return e.ad&&(o="A"+e.rollType[0].toUpperCase(),n++),i+o+"-"+e.vid.slice(0,5)}),s=r.length>0?e[0].rate:"null",d="rate: "+s+", ",p=d;t._drawFace(10,4,10,o?"#699f00":"red"),t._canvasCTX.fillStyle="rgba(225, 225, 225, 1)",i.wrapText(p,35,15,430,20)},_drawProcess:function(e,t,i){var o=this,a=o._graphics,n=45,s=10,d=0,p=0,l=0,c=0,u=0,f=[],g=[],_=[];if(e.forEach(function(e,t,i){var o=e.tvid;0!==t&&i[t-1].tvid===o||(_=[],g.push(_)),_.push(e),0===t&&(p=e.startTime,l=e.showStartTime),t!==i.length-1&&f.push(e.endTime)}),g.map(function(e){var t=0,i=0,o=e[e.length-1],a=e[0];return a.startTime>-1&&o.startTime>-1?(i=o.endTime-a.startTime,t=o.showEndTime-a.showStartTime):i=e.reduce(function(e,t){return e.realEndTime+t.realEndTime},0),{du:i,showdu:t}}).forEach(function(e){c+=e.du,u+=e.showdu}),d=parseInt(u/c*430,10)||0,s+=parseInt((l-p)/c*430,10)||0,a.setStrokeColor("rgba(225, 225, 225, 1)"),a.drawRect(10,n,430,20),a.fillRect(s,n,d,20),f.forEach(function(e){var t=(e-p)/c*430+10;a.setStrokeColor("rgba(225, 255, 255, 1)"),a.drawLine(t,46,t,64),a.setColor("rgba(225, 225, 225, 1)"),a.textBaseline("bottom"),a.fillText(r.formatMilliseconds(e/1e3),t-16,41)}),e.length>0){var h=(i-p)/c*430+10,m=o._canvasCTX;m.beginPath();var v=parseInt(8/Math.tan(120*Math.PI/360),10);m.moveTo(h,66),m.lineTo(h+v,74),m.lineTo(h-v,74),m.fillStyle="black",m.fill(),m.closePath()}},_drawSegmentsText:function(e,t){var i=this,o=i._graphics,a=0,n=e.map(function(e){var i=e.order,o=t===i?"▶":"",n="F";return e.ad&&(n="A"+e.rollType[0].toUpperCase(),a++),o+n+"-"+e.vid.slice(0,5)}),r=n.length+"_"+a+", ";i._canvasCTX.fillStyle="rgba(225, 225, 225, 1)",o.wrapText(r+"["+n.join("_|_")+"]",10,90,430,20)},_show:function(){var e=this;e._showFlag=!0,d(e._canvas).css("display",""),e._requestID=g(function t(){e._update(),e._requestID=g(t)})},_hide:function(){var e=this;e._showFlag=!1,d(e._canvas).css("display","none"),_(e._requestID)},toggle:function(){var e=this;f.warn("toggle pb visualizer!"),e._showFlag?(p.remove(h),e._hide()):(p.write(h,1),e._show())},_update:function(){var e=this,t=c.getData(),i=u.getPlayInfo(),o=i.order,a=i.time;try{e._drawOutline(),e._drawSynopsis(t),e._drawCloseTip(t),e._drawProcess(t,o,a),e._drawSegmentsText(t,o),e._layout()}catch(e){}}}});o.exports=new m}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){var o={Rectangle:function(e,t,i,o){this.x=e,this.y=t,this.width=i,this.height=o,this.clone=function(){return new this.Rectangle(this.x,this.y,this.width,this.height)}},Graphics:function(e){function t(e,t,i){n.beginPath(),n.arc(r.x+e+i,r.y+t+i,i,0,2*Math.PI,!0),n.closePath()}function i(e,t,i){if(n.beginPath(),null!==e&&null!==t){var o=Math.min(i,Math.min(e.length,t.length));if(o>0)for(var a=0;a0&&null!==e&&null!==t&&(i(e,t,o),n.stroke())},this.fillPolygon=function(e,t,o){o>0&&null!==e&&null!==t&&(i(e,t,o),n.fill())},this.translate=function(e,t){r.x=e,r.y=t},this.wrapText=function(e,t,i,o,a){var n=this,r=n.getContext(),s=e.split(""),d="";r.textBaseline="middle";for(var p=0;po&&p>0?(r.fillText(d,t,i),d=s[p]+"",i+=a):d=l}r.fillText(d,t,i)},this.fillText=function(e,t,i){this.getContext().fillText(e,t,i)}}};i.exports=o}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a,n=i(10),r=i(0),s=i(9),d=i(4),p=i(2),l=i(1),c=i(32),u=i(5),f=i(20),g=i(44),_=i(57),h=i(42),m=(i(58),i(28),i(24)),v=i(47),b=i(59),y=new l("DataProvider"),x={},w="",T=null,k=["313","391","392","393","411","412","413","414","491","492","493","501","502","1500","1501","1502","1503"],S=r("DataProvider",{extend:p,construct:function(e,t){var i=this;i._movieinfo={},i._movieinfo.tvid=e,i._movieinfo.vid=t,i._movieinfo.oldTvid=e,i.tryCount=0,i.maxTryCount=3,i.vmsErrorRetry=!1,i.vmsErrorEry=!0},methods:{_startRequest:function(){var e=this,t=e.tryCount>0;e.tryCount++;var i=f.read(f.PLAYER_VD_KEY)||2;i=g.getNewVd(i),y.info("load movieInfo from vrs,params: tvid = "+e._movieinfo.tvid+", vid = "+e._movieinfo.vid+", islogin = "+u.isLogin()+", vd = "+i),T=_.request({params:{tvid:e._movieinfo.tvid,vid:e._movieinfo.vid,vd:i,ppt:a.isPPT(),ost:a.ost(),tryCount:e.tryCount-1,switchvd:!1},hostUseIP:t},e._parse.bind(e),function(t){var i={A00001:2,A00302:30,A00301:30,U00001:22,P00001:101,P00002:102},o=t.code,a=t.data?t.data.st:"",n=t.hasOwnProperty("data")&&t.data.hasOwnProperty("retry")?t.data.retry:"";w="A00001"===o?"707":"A00302"===o?"708":"P00001"===o?"701":"P00002"===o?"702":o,y.info("load movieInfo from vrs, movieinfo error,params: vmsCode = "+t.code+", code = "+w),v.isEnjoyPlayer&&a&&(505==a||507==a)?e._reject(0,15,o,w,"",n):e._reject(0,i[o],o,w,"",n);var r=T.getReqParams();if(r){var s=r.tvId,d=r.sgti;m.sendErrorAuto(s,w,0,"",d)}})},_reject:function(e,t,i,o,a,n){y.warn("type:"+e+",e:"+t+",o:"+i);var r=this;r.fire({type:"reject",data:{type:e,code:t,originalCode:i,ec:o,vmsst:a,movieinfo:r._movieinfo,retry:n}})},_resolve:function(){var e=this;y.log("movieInfo baseinfo,params: tvid = "+e._movieinfo.tvid+", vid = "+e._movieinfo.vid+", isTryWatch(试看) = "+e._movieinfo.isTryWatch+", member(会员片源) = "+e._movieinfo.isVIP+", albumId = "+e._movieinfo.albumId+", channelID = "+e._movieinfo.cid+", qipuId = "+e._movieinfo.videoQipuId+", headTime(片头) = "+e._movieinfo.prelude.headTime+", tailTime(片尾) = "+e._movieinfo.prelude.tailTime+", duration(时长) = "+e._movieinfo.duration+", isTennisContent(网球会员内容) = "+e._getIsTennisContent()+", logoOpen(水印总开关) = "+e._movieinfo.logoOpen+", topLogoOpen(右上角) = "+e._movieinfo.topLogoOpen+", lowerLogoOpen(右下角) = "+e._movieinfo.lowerLogoOpen+", exclusive(独播) = "+e._movieinfo.exclusive+", qiyiProduced(自制) = "+e._movieinfo.qiyiProduced+", nextTvid = "+e._movieinfo.nextTvid+", nextVid = "+e._movieinfo.nextVid),y.log("movieInfo definition,params: current = "+e._movieinfo.vd+", user = "+a._vd),e.fire({type:"resolve",data:e._movieinfo})},_parse:function(e){var t=this;y.info("load movieInfo from vrs ok");var i,o="",r=T.getReqParams();r&&(i=r.tvid,o=r.sgti);var p=e.hasOwnProperty("data")&&e.data.hasOwnProperty("retry")?e.data.retry:"";try{var l=e.data;if(!function(e){if(null==e.data||!e.data.hasOwnProperty("st"))return y.error("movieinfo error,params:type = data.data null or st is lose"),w="103",t._reject(0,1,"dash_st_lose",w,"",p),m.sendErrorAuto(i,w,0,"",o),!1;var a=parseInt(e.data.st,10);if(v.isEnjoyPlayer()&&(505===a||506===a))return y.warn("站外禁播"),t._reject(0,15,"",w,"",p),!1;var n;if(!(1000,t._movieinfo.videoQipuId=l.tvid,t._movieinfo.prelude={headTime:l.p.bt,tailTime:l.p.et},t._movieinfo.qiyiProduced=1===l.content.isProduced,t._movieinfo.exclusive=1===l.content.exclusive,t._movieinfo.logoOpen=!0,t._movieinfo.topLogoOpen=!0,t._movieinfo.lowerLogoOpen=!0,l.p.lgh&&(t._movieinfo.lowerLogoOpen=-1==l.p.lgh.indexOf(2)&&-1==l.p.lgh.indexOf("2"),t._movieinfo.topLogoOpen=-1==l.p.lgh.indexOf(1)&&-1==l.p.lgh.indexOf("1"));var u=l.p.wmarkPos||0;if(t._movieinfo.logoOpen=-1!=u,t._movieinfo.vidl=[],l.program&&l.program.video){var f={vsInfo:l.program.video,isVIP:t._movieinfo.isVIP,tvid:t._movieinfo.tvid,cid:t._movieinfo.cid,sid:t._movieinfo.sid,albumId:t._movieinfo.albumId},g=b.analyzeVds(f);t._movieinfo.vidl=g,t._movieinfo.vidl.sort(function(e,t){return e.vd>t.vd}),t._movieinfo.vidl.unshift(t._movieinfo.vidl.pop())}if(t._movieinfo.duration=0,l.program&&l.program.stl&&l.program.stl.length>0)for(var _=l.program.stl,x=0;x<_.length;x++)1==parseInt(_[x].pre)&&(t._movieinfo.subtitlesUrl=s.protocolRevise(l.dstl)+_[x].xml);t._movieinfo.f4vInfo={};var k=e.data.p.pano;if(!k||2!=k.type&&3!=k.type&&4!=k.type?t._movieinfo.is3D=0:t._movieinfo.is3D=2,Object.defineProperty(t._movieinfo,"vd",{get:function(){return a._findBestPlayVd(null,this.vidl,"fs")}}),t._movieinfo.isVIP){var S={};if(t._movieinfo.vidl.length>0){var A=t._movieinfo.vidl.filter(function(e){return e.vd===t._movieinfo.vd});if(A.length>0){var E=A[0],P=E.segments[0].__url;S=n.query2Json(P);var L=n.filename(P);d(S,{filename:L,tvid:t._movieinfo.tvid,aid:t._movieinfo.albumId})}}l.hasOwnProperty("boss")&&l.boss.hasOwnProperty("code")?h.analyzeAuthData(S,l.boss,function(e,i){t._vipAuthSuccess.bind(t)(e,i)},function(e,i,o){t._vipAuthFail.bind(t)(e,i,o)}):t._vipAuth(S)}else t._resolve()}catch(e){t._movieinfo=null,y.log("movieinfo error,params: type = json error"+e.message),t._reject(0,10000001,"vmserror",w,"",p)}},_getIsTennisContent:function(){var e=this;if(e._movieinfo.vipTypes&&e._movieinfo.vipTypes.length>0)for(var t=0;t-1||i.hasOwnProperty("retry")&&1==i.retry?n.vmsErrorRetry=!0:n.vmsErrorRetry=!1,o?n._startRequest():n.vmsErrorRetry&&n.vmsErrorEry?(n.vmsErrorEry=!1,n._startRequest()):(a(i),x[e].st="rejected",x[e].data=i)}),n._startRequest()}),x[e]={st:"pending",pm:t,data:void 0}),t},isPending:function(e){return x[e]&&"pending"===x[e].st},hasPreload:function(e){return!(!x[e]||"fulfilled"!==x[e].st)},getPreloadData:function(e){return x[e].data},clearAll:function(){x={},T.getXhrRequest().abort(),y.info("abort last vms request")}}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,i){function o(){for(var e=[],t=1;t<=64;t++)e.push(d[1][t]?1:0);return parseInt(e.reverse().join(""),2)}function a(){}function n(e,t){d[e][t]=!0}function r(e,t){d[e][t]=!1}function s(e,t){return d[e][t]}var d={1:{3:!1,37:!1,40:!0,42:!1},2:{}};i.exports={getFT1:o,getFT2:a,hasBit:s,openBit:n,closeBit:r}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(0),n=i(2),r=i(1),s=i(12),d=i(16),p=i(9),l=i(28),c=i(17),u=i(18),f=i(45),g=i(27),_=i(46),h=new r("DEngineEmitters"),m=a("DEngineEmitters",{extend:n,methods:{init:function(e){var t=this;t.engine=e,t._engineEvents(),t._episodeEvents(),t._aresEvents(),t._vrsEvents(),t._providerEvents(),t._adSDKEvents()},_engineEvents:function(){var e=this,t=e.engine;t.on(c.NTF_TimeUpdate,function(){var e=1e3*t.getCurrenttime();t._checkAuthTime(e),t._checkSecondAuthTime(e),t._checkSkipTailTime(e)}),t.on(u.NTF_SetSkipPrelude,function(e){var i=1e3*t.getCurrenttime(),o=t._constructPlaySegments(i);_.freshFragments(o,!0,0,i)}),t.on(u.Status_Destroy,function(){g.destroy()})},_episodeEvents:function(){var e=this,t=e.engine;g.on("finishAddPres",function(e){var i=e.data,o=i.videoId,a=i.length,n=t._getCurrentGas(),r=d.getEpisodeId(n.videoEventId),s=t._constructPlaySegments(null,g.getInfo(o));o===r||0===a&&(void 0===r||isNaN(r))?h.debug(o+": concat cur episode"):h.debug(o+": concat preload episode"),_.fillFragments(s,_.getLastOrder(),Number.MAX_VALUE)})},_aresEvents:function(){var e=this,t=e.engine;t.on(u.NTF_ARES_Gas,function(e){var i=e.data,o=i.videoEventId,a=d.getEpisodeId(o),n=new l(!0,!1,i.file,i,a,s(i.id),[],"AD","AD","AD","AD",-1,0,-1,0,-1),p=0,c=0;if(0===i.offset)g.finishPres(a)?h.warn(a+": ignore ares gas, "+r.stringify(i)):(g.addPres(a,[n]),h.debug(a+": concat pre-ares!"),_.fillFragments([n]));else if(i.offset>0)if(t.getCurrenttime()0){var v=u[m-1];p=f.getIndex(v),c=Number.MAX_VALUE}else p=-1,c=1e3*i.offset;_.addFragment([n],p,c),g.addMids(a,[n])}else h.warn(a+":drop ares gas, "+r.stringify(i))}),t.on(u.NTF_ARES_GasFinish,function(e){var t=e.data,i=t.videoId;switch(t.rollType){case"preroll":g.finishPres(i,!0);break;case"midroll":g.finishMids(i,!0)}}),t.on(u.NTF_ARES_End,function(e){var t=e.data,i=t.rollType,o=t.videoId;switch(i){case"preroll":g.finishPres(o,!0);break;case"midroll":g.finishMids(o,!0)}})},_adSDKEvents:function(){var e=this,t=e.engine;t.on(u.NTF_ARES_Load,function(e){var i=t._aressdk;i&&(i.on("roll-play",function(e){var i=e.rollType,o=e.videoEventId,a=d.getEpisodeId(o),n=g.valid(a);h.debug("ares"+(n?"":" invalid")+" roll-play:"+r.stringify(e)),n&&t.fire({type:u.NTF_ARES_Play,data:{rollType:i,videoId:a}})}),i.on("roll-ended",function(e){var i=e.rollType,o=e.videoEventId,a=d.getEpisodeId(o),n=!t._movieinfo||t._movieinfo.tvid==a,s=g.valid(a)&&n;h.debug("ares"+(s?"":" invalid")+" roll-ended:"+r.stringify(e)+", videoId: "+a+", tvid: "+(t._movieinfo?t._movieinfo.tvid:"movieinfo_undefined")),s&&t.fire({type:u.NTF_ARES_End,agent:"ares",data:{rollType:i,videoId:a}})}),i.on("roll-load-finish",function(e){var i=e.rollType,o=e.videoEventId,a=d.getEpisodeId(o),n=g.valid(a);h.log("roll-load-finish"+(n?"":" invalid")+":"+r.stringify(e)),n&&setTimeout(function(){t.fire({type:u.NTF_ARES_GasFinish,data:{rollType:i,videoId:a}})},0)}),i.on("error",function(e){t.brokedown(7001,"P07001"),h.log("ad error"+r.stringify(e))}),i.on("adplayer_ad_info",function(e){e=e||{};var i=e.data.videoEventId,o=d.getEpisodeId(i),a=g.valid(o);h.debug("ares notice-info"+(a?"":" invalid")+":"+r.stringify(e)),a&&(p.isObject(e.definitionSwitchingAd)&&g.setDefinitionAd(o,e),t.fire({type:u.NTF_ARES_Info,data:e}))}),i.off("adplayer_ad_start"),i.on("adplayer_ad_start",function(e){t.fire({type:u.NTF_AD_Start,data:e})}),i.off("adplayer_ad_end"),i.on("adplayer_ad_end",function(e){t.fire({type:u.NTF_AD_End,data:e})}))})},_vrsEvents:function(){var e=this,t=e.engine;t.on(u.NTF_VRSPreloaded,function(e){var i=e.data,o=i.videoQipuId,a=t._constructPlaySegments(null,i);g.finishPres(o)&&!g.finishFeatures(o)&&(h.debug(o+": 预载直接拼Feature seg!"),_.fillFragments(a,_.getLastOrder(),Number.MAX_VALUE)),g.setInfo(o,i),g.freshFeatures(o,a),g.finishFeatures(o,!0)}),t.on(u.NTF_ReJointPreload,function(e){var i=e.data,o=i.videoQipuId;if(g.finishPres(o)&&g.finishFeatures(o)){var a=g.getPres(o),n=t._constructPlaySegments(null,i);h.debug(o+":rejoint preload, ares("+a.length+") & feature("+n.length+")!"),_.fillFragments(a.concat(n),_.getLastOrder(),Number.MAX_VALUE),g.setInfo(o,i),g.freshFeatures(o,n),g.finishFeatures(o,!0)}}),t.on(u.NTF_VRSReady,function(e){var i=e.data,o=i.videoQipuId;g.setInfo(o,i),i.ares||g.finishPres(o,!0),g.freshFeatures(o,t._checkSegmentsInPreview()),g.finishFeatures(o,!0)})},_providerEvents:function(){var e=this,t=e.engine;_.on("orderWillChange",function(e){var i=e.data.order,o=f.getSegmentByOrder(i),a=f.getSegmentByOrder(i+1),n=t._getGasByOrder(i);if(t.isAd()){var r=i>=0&&a&&!0===a.ad;o&&(r||t.fire({type:u.NTF_ARES_End,data:{videoId:d.getEpisodeId(n.videoEventId),rollType:o.rollType}}))}}),_.on("stateChange",function(e){var i,o,a=e.data;switch("endFragment"!==a.state&&"startFragment"!==a.state&&"playing"!==a.state&&"pause"!==a.state&&"stop"!==a.state&&"error"!==a.state||(t.hasSeeking=!1),a.state){case"endFragment":i=parseInt(a.order,10),o=f.getSegmentByOrder(i),t.isAd(i)?o.vid===a.vid&&(h.log("p2p state change -- ,params: type = endFragment, 在播碎片结束(广告)"),t._statusChanged({status:c.Status_Stoped})):f.isFeatureEndSegment(o)&&!f.isEndSegment(o)&&(Math.abs(a.time-o.realEndTime)<=2e3?(h.log("p2p state change -- ,params: type = endFragment, 在播碎片结束(正片最后一个碎片)"),t._statusChanged({status:c.Status_Stoped})):h.warn("p2p state change -- ,params: type = endFragment, data.time: "+a.time+"realEndTime: "+o.realEndTime));break;case"startFragment":i=parseInt(a.order,10),t.isAd(i)?t._paused||(h.log("p2p state change -- ,params: type = startFragment, 碎片播放开始(广告)"),t._statusChanged({status:c.Status_Play}),t._statusChanged({status:c.Status_Playing})):f.isFeatureFirstSegment(f.getSegmentByOrder(i))&&(h.log("p2p state change -- ,params: type = startFragment, 碎片播放开始(正片第一个碎片)"),t._statusChanged({status:c.Status_Play}),t._statusChanged({status:c.Status_Playing}),setTimeout(function(){_.isDone()&&t._statusChanged({status:c.Status_Loaddone})},200));break;case"loadState":if(t.isAd(a.arg1)&&p.isObject(a.arg2)){var n=a.arg2;"cache"===n.loadType&&"start"===n.activeType&&t._statusChanged({status:c.Status_Loadstart,eventOrigin:"ad",gas:t._getGasByOrder(a.arg1)})}break;case"playing":t._paused=!1,t._statusChanged({status:c.Status_Play,actionType:t._checkActionType(c.Status_Play)}),t._statusChanged({status:c.Status_Playing,actionType:t._checkActionType(c.Status_Playing)});break;case"pause":t._paused=!0,t._statusChanged({status:c.Status_Paused,actionType:t._checkActionType(c.Status_Paused)});break;case"waiting":case"seeking":t._paused=!0,t._statusChanged({status:c.Status_Waiting,actionType:t._checkActionType(c.Status_Waiting)});break;case"progress":t.fire({type:c.NTF_Progress,data:{buffer:t.getBufferTime()}});break;case"stop":t._paused=!0,t._checkAuthTime(t._movieinfo&&t._movieinfo.isVIP&&t._movieinfo.previewTime<1/0?t._movieinfo.previewTime+1:1e3*t.getCurrenttime())&&t._statusChanged({status:c.Status_Stoped});break;case"done":t._statusChanged({status:c.Status_Loaddone,actionType:!1});break;case"error":if(t._statusChanged({status:c.Status_LoadFailed,actionType:!1,gas:t._getGasByOrder(a.arg1)}),t.isAd(a.arg1))h.log("p2p state change -- ,params: type = error, (广告)"),t._removeAres(a.arg1);else switch(h.error("p2p state change -- ,params: type = error, 正片, arg2 = "+a.arg2+" (dispatch:调度出错,keyframe:数据验证失败,load:数据下载出错,hijack:视频下载劫持报错,data:数据结构错误,decoder:数据解码报错)"),a.arg2){case"dispatch":t.brokedown(201,"PB7001","7001");break;case"keyframe":t.brokedown(202,"PB7002","7002");break;case"load":t.brokedown(203,"PB7003","7003");break;case"hijack":t.brokedown(204,"PB7004","7004");break;case"data":t.brokedown(205,"PB7005","7005");break;case"decoder":t.brokedown(206,"PB7006","7006")}break;case"muted":t.fire({type:c.NTF_StatusChanged,data:{status:c.Status_Playing_Fail}})}}),_.on("orderChange",function(e){var i=e.data.order;if(t.isAd());else{var o=f.getSegmentByOrder(i);if(f.isFeatureFirstSegment(o))i>0&&(h.debug("playing at first feature segment, remove all segments before this segment!"),_.removeFragment(0,i),e.data.order=0),t._checkSkipHeadTime(o.showStartTime);else{var a=f.getAresPres(o.episodeId),n=f.getAresMids(o.episodeId);a.length>0&&(h.debug("remove all pres!"),_.removeFragment(a[0].order,a.length)),n.length>0&&(h.debug("remove all mids!"),_.removeFragment(n[0].order,n.length))}}})}}});o.exports=new m}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(2),n=i(0),r=i(1),s=i(5),d=(i(4),i(17)),p=i(25),l=i(18),c=i(56),u=i(24),f=i(60),g=i(23),_={},h=!1,m=new r("coreEmitters");o.exports=n("coreEmitters",{construct:function(e){var t=this;t._initTypes.bind(e)(),t._initEvts.bind(e)(),s.beforeunloadListener()},extend:a,methods:{_initTypes:function(){function e(e){switch(e){case p.Status_StartPlay:f.add([p.Status_StartPlay],!0);break;case p.Status_Playing:f.add([p.Status_Play,p.Status_Playing]),f.remove([p.Status_Idle,p.Status_PlayError,p.Status_Stoped,p.Status_End_Play,p.Status_Paused,p.Status_Waiting]);break;case p.Status_Paused:f.add(p.Status_Paused),f.remove([p.Status_Idle,p.Status_Play,p.Status_Playing,p.Status_Waiting,p.Status_PlayError,p.Status_Stoped,p.Status_End_Play]);break;case p.Status_Waiting:f.add(p.Status_Waiting),f.remove([p.Status_Idle,p.Status_Play,p.Status_Playing,p.Status_Paused,p.Status_PlayError,p.Status_Stoped,p.Status_End_Play]);break;case p.Status_PlayError:f.add(p.Status_PlayError),f.remove([p.Status_Idle,p.Status_Play,p.Status_Playing]);break;case p.Status_Stoped:f.add(p.Status_Stoped),f.remove([p.Status_Idle,p.Status_Play,p.Status_Playing,p.Status_Waiting]);break;case p.Status_End_Play:f.add(p.Status_End_Play),f.remove([p.Status_Idle,p.Status_Play,p.Status_Playing,p.Status_Waiting])}}var t=this;t._waitingTime=0;var i=t._engine;i.on(l.Status_Assembled,function(){i.isAssembled=!0,i.on(d.NTF_StatusChanged,function(o){var a=t.isAd(),n=function(i,o,a){var n=t._getdata();n.state=i,o&&(n.actionType=o.actionType||d.Action_Type_Native,o.gas&&(n.gas=o.gas),o.spend&&(n.spend=o.spend)),!t.canFireVideoEvts||t.currStatus===i&&!0!==a||(e(i),t.currStatus=i,t.fire({type:p.NTF_StatusChanged,data:n}),m.debug("core status changed: "+i))};switch(o.data.status){case d.Status_Canplay:a&&n(p.Status_Ready,o.data);break;case d.Status_Loadstart:a||"ad"===o.data.eventOrigin?"ad"===o.data.eventOrigin&&"DATA"===t.getEngineType()?n(p.Status_AdLoadstart,o.data,!0):n(p.Status_AdLoadstart,o.data):("HTTP"===t.getEngineType()&&n(p.Status_Loadstart,o.data),s.tvid(t._movieinfo.tvid)),s.stopHeartBeat();break;case d.Status_Loaddone:"DATA"===t.getEngineType()&&t.checkPreload();break;case d.Status_LoadedMetaData:a||n(p.Status_LoadedMetaData,o.data);break;case d.Status_Playing:_.__sendFirstFrameShow||(_.__sendFirstFrameShow=!0,g.usedTime_pageShowVideo=new Date-g.pgct,g.usedTime_showVideo=g.usedTime_pageShowVideo-g.usedTime_selfLoaded),_.__sendADStartPPB||(_.__sendADStartPPB=!0,u.sendADStartPlayPingback()),a?(t._ADfirstPlay&&(t._ADfirstPlay=!1,t._canGetVideoInfo(!0),n(p.Status_AdStartPlay,o.data),g.usedTime_adInit=new Date-g.pgct-g.sTime_adInit,m.log("ad start play,params: info = cur ad!")),t._isSkipAD=!1,t._engine._isSkipAD=!1,n(p.Status_AdPlaying,o.data)):(t._firstPlay&&(u.sendTimingPingback(),t._firstPlay=!1,t._canGetVideoInfo(!0),n(p.Status_StartPlay,o.data)),t.currStatus!==p.Status_Waiting&&t.currStatus!==p.Status_Play||u.sendPlayingPingback(),_.__sendMovieFirstFrameShow||(_.__sendMovieFirstFrameShow=!0,u.sendStartPlayPingback()),n(p.Status_Playing,o.data),s.openHeartBeat()),s.updateVipTypes(),h||(h=!0,t.fire({type:p.NTF_FollowUpNextLoad,data:""})),clearTimeout(t._waitingTime),t._waitingTime=0;break;case d.Status_Stalled:a&&n(p.Status_AdStalled,o.data);break;case d.Status_Waiting:a?n(p.Status_AdWaiting,o.data):(t._timeMark=0,n(p.Status_Waiting,o.data),s.stopHeartBeat()),i.isSeeking()||(clearTimeout(t._waitingTime),t._waitingTime=0,t._waitingTime=setTimeout(function(){u.sendWaitingPingback(a),clearTimeout(t._waitingTime),t._waitingTime=0},1e3));break;case d.Status_Paused:a?n(p.Status_AdPaused,o.data):(t._timeMark=0,n(p.Status_Paused,o.data),s.stopHeartBeat());break;case d.Status_Stoped:if(a)n(p.Status_AdPlayEnded,o.data);else if(t._timeMark=0,n(p.Status_Stoped,o.data),1===parseInt(t.h5vars.isLoop))if(t.hasNextVideo())t.switchNextVideo(0);else{var r=t._videolist;r.length>1?t.switchVideo({autoSwitch:!0,tvid:r[0].tvid,vid:r[0].vid}):t.refresh({tvid:t.h5vars.tvid,vid:t.h5vars.vid})}else t.h5vars.cyclePlay+""=="true"?t.refresh({tvid:t.h5vars.tvid,vid:t.h5vars.vid}):t.hasNextVideo()?t.switchNextVideo(0):(u.sendEndPlayPingback(1),n(p.Status_End_Play,o.data));s.stopHeartBeat();break;case d.Status_LoadFailed:a?n(p.Status_AdError,o.data):(t._timeMark=0,n(p.Status_PlayError,o.data)),h||(h=!0,t.fire({type:p.NTF_FollowUpNextLoad,data:""})),s.stopHeartBeat();break;case d.Status_Play:n(p.Status_Play,o.data);break;case d.Status_Playing_Fail:t.fire({type:p.NTF_PlayingFailByAutoPlay,data:{}})}}),[[d.NTF_CanPlayThrough,p.NTF_CanPlayThrough,p.NTF_AD_CanPlayThrough],[d.NTF_VolumeChanged,p.NTF_VolumeChanged,p.NTF_AD_VolumeChanged],[d.NTF_DurationChanged,p.NTF_DurationChanged,p.NTF_AD_DurationChanged],[d.NTF_TimeUpdate,p.NTF_TimeUpdate,p.NTF_AD_TimeUpdate],[d.NTF_Progress,p.NTF_Progress,p.NTF_AD_Progress],[d.NTF_Seeking,p.NTF_Seeking,p.NTF_AD_Seeking]].forEach(function(e){e[0]==d.NTF_TimeUpdate?i.on(e[0],function(i){var o=(new Date).getTime();0===t._timeMark&&(t._timeMark=o),t.isAd()||t.currStatus==d.Status_Stalled||t.currStatus==d.Status_Waiting||t.currStatus==d.Status_Paused||t.currStatus==d.Status_Stoped||t.currStatus==d.Status_LoadFailed||(t._playingDuration+=o-t._timeMark,t._playingSpend+=o-t._timeMark),t._timeMark=o,t.fire({type:t.isAd()?e[2]:e[1],data:i.data})}):i.on(e[0],function(i){t.fire({type:t.isAd()?e[2]:e[1],data:i.data})})})}),i.on(l.NTF_NeedUserGesture4Playback,function(){t.fire({type:p.NTF_NeedUserGesture4Playback})}),i.on(l.NTF_ARES_Load,function(){t._aresloaded=!0,t.fire({type:p.Status_AdLoaded})}),i.on(l.NTF_ARES_Init,function(){t.fire({type:p.Status_AdInit})}),i.on(l.NTF_ARES_Play,function(e){t.fire({type:p.Status_AresPlay,data:e.data})}),i.on(l.NTF_ARES_End,function(e){m.log("ares end, agent: "+(e.agent?e.agent:"engine")),t.fire({type:p.Status_AresEnded,data:e.data||""})}),i.on(l.NTF_ARES_Info,function(e){var i=e.data||{};t._aresinfoed=i,t.fire({type:p.Status_AresNoticeInfo,data:e.data||""})}),i.on(l.NTF_AD_Start,function(e){e.data&&"13"==e.data.ctp&&(t.adWholeCorner=!0),t.fire({type:p.NTF_AD_Start,data:e.data||""})}),i.on(l.NTF_AD_End,function(e){t.fire({type:p.NTF_AD_End,data:e.data||""})}),i.on(l.NTF_ARES_CloudPlay,function(e){t.fire({type:p.NTF_AD_CloudPlay,data:e.data||""})}),i.on(l.NTF_ARES_CloudPlayEnd,function(e){t.fire({type:p.NTF_AD_CloudPlayEnd,data:e.data||""})}),i.on(l.NTF_VRSStart,function(e){t.fire({type:p.NTF_VRSStart,data:t._getdata()})}),i.on(l.NTF_VRSReady,function(e){function o(){t.fire({type:p.NTF_VRSPreReady}),t.eventlog.vrspreready=!0}function a(){t.fire({type:p.NTF_VRSReady,data:{data:t._getdata(),movieinfo:e.data}}),t.eventlog.vrsready=!0}function n(){var i=t.getStartPlayTime();e.data.originalData&&e.data.originalData.data.p.bt&&(i<10&&t.isSkipPrelude(),t._skipHT=e.data.originalData.data.p.bt,t._skipTT=e.data.originalData.data.p.et)}i.isAssembled?(o(),a(),n()):i.on(l.Status_Assembled,function(){o(),a(),n()})}),i.on(l.NTF_VRSPreloaded,function(e){t.fire({type:p.NTF_VRSPreloaded,data:{movieinfo:e.data}})}),i.on(l.NTF_MovieInfoChange,function(){var e;t._preMovieInfo&&(e={tvid:parseInt(t._preMovieInfo.tvid,10),spend:parseInt(t._preplaying_spend,10)},t._vdsSwitch=!1,t.fire({type:p.NTF_VideoChange,data:{preMovieInfo:e}})),_={}}),i.on(l.NTF_VDChanged,function(){t._vdsSwitch=!1;var e=i.getCurrentVD();m.log("definition changed: "+e),t.fire({type:p.NTF_DefinitionSwitched,data:{curVD:e,success:!0}})}),i.on(l.NTF_VDChangeFail,function(e){t._vdsSwitch=!1,m.log("definition changeFail: "+e.data),t.fire({type:p.NTF_DefinitionSwitched,data:{curVD:e.data,success:!1}})}),i.on(l.NTF_TVIDChanged,function(){t.getVideoInfo(function(e){var i=t._getdata();i.vi=e.vi,m.info("core videoChanged"),t.fire({type:p.NTF_VideoChanged,data:i})})}),i.on(l.NTF_Recharge,function(e){m.warn("notice recharge: "+r.stringify(e)),t.fire({type:p.NTF_Recharge,data:e}),h||(h=!0,t.fire({type:p.NTF_FollowUpNextLoad,data:""}))}),i.on(l.Status_Error,function(e){var i=t._getdata();i.code=e.data.code,i.realcode=e.data.realcode,i.ec=e.data.ec,i.vmsst=e.data.vmsst,i.code&&7001!==i.code&&u.sendErrorPlayPingback(i.code,i.ec,i.vmsst),t.fire({type:p.NTF_Error,data:i}),h||(h=!0,t.fire({type:p.NTF_FollowUpNextLoad,data:""})),t.errorcode=i})},_initEvts:function(){var e=this,t=e._engine;t.on(c.Evt_StartFromHistory,function(t){e.fire({type:p.Evt_StartFromHistory,data:t.data})}),t.on(c.Evt_SkipHeader,function(t){e.fire({type:p.Evt_SkipHeader,data:t.data})}),t.on(c.Evt_SkipTail,function(t){e.fire({type:p.Evt_SkipTailer,data:t.data})}),t.on(c.Evt_StartShareTime,function(t){e.fire({type:p.Evt_StartShareTime,data:t.data})}),t.on(c.Enjoy_Evt_PlayEnd,function(t){e.fire({type:p.Enjoy_Evt_PlayEnd,data:t.data})}),t.on(c.Enjoy_Evt_PanleShow,function(t){e.fire({type:p.Enjoy_Evt_PanleShow,data:t.data})})}}})}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){function a(){return p.os.ios||p.os.android?d.getJsuid():d.getFluid()}var n=i(0),r=i(8),s=i(5),d=i(14),p=i(3),l=i(1),c=i(23),u=new l("recorder"),f=i(25);i(24);o.exports=n("Recorder",{construct:function(e){var t=this,i=!1;t._core=e,t._isSwitchingDefinition=!1;var o=function(){i||(i=!0,t._record())};e.on(f.NTF_StatusChanged,function(i){var o=i.data.state;if(o===f.Status_Playing&&t._startTimer(),o===f.Status_Paused||o===f.Status_Waiting||o===f.Status_Stoped){if(e.getCurrenttime()<=1&&o===f.Status_Waiting)return;if(Math.abs(e.getDuration()-e.getCurrenttime())<=1&&o!==f.Status_Stoped)return;t._stopTimer(),t._record(o===f.Status_Stoped)}}),e.on(f.NTF_Seeking,function(){e.isAd()||t._record()}),e.on(f.NTF_DefinitionSwitching,function(e){t._isSwitchingDefinition=!0}),e.on(f.NTF_DefinitionSwitched,function(e){t._isSwitchingDefinition=!1}).on(f.NTF_VideoChanged,function(e){t._isSwitchingDefinition=!1}),e.once(f.NTF_VRSStart,function(e){t._getCurrent(e.data.tvid)}),window.addEventListener("unload",o),window.addEventListener("beforeunload",o),window.addEventListener("pagehide",o)},methods:{_stopTimer:function(){var e=this;e._timer&&(clearInterval(e._timer),e._timer=null)},_startTimer:function(){var e=this;e._timer||(e._timer=setInterval(e._record.bind(e),12e4))},_getCurrent:function(e){function t(){var t=s.isLogin()?"//l-rcd.iqiyi.com/apis/qiyirc/getvplay":"//nl-rcd.iqiyi.com/apis/urc/getvplay",o={};o.tvId=e,o.agent_type=1,s.isLogin()||(o.ckuid=a()),c.sTime_history=new Date-c.pgct,r.jsonp({url:t,params:o,success:function(e){c.usedTime_history=new Date-c.sTime_history-c.pgct;var t=function(e){i._core.getMovieInfo().tvid==e.tvId&&(u.log("Movie History,params: isLogin = "+s.isLogin()+", time ="+e.videoPlayTime),i._setStartPlayTime(e.videoPlayTime))};e.data&&e.data.videoPlayTime>10&&(i._core.eventlog.vrspreready?t(e.data):i._core.once(f.NTF_VRSPreReady,function(){t(e.data)})),i._startTimer()}})}var i=this;i._isSwitchingDefinition||(e?t():i._core.getVideoInfo(function(e){t(e.tvid)}))},_setStartPlayTime:function(e){var t=this;u.log("play time point from record:"+e),t._core.setStartPlayTime(e)},_record:function(e){var t=this;t._core.getVideoInfo(function(i){var o=s.isLogin()?"//l-rcd.iqiyi.com/apis/qiyirc/setrc.php":"//nl-rcd.iqiyi.com/apis/urc/setrc",n=p.browser.ipad||p.browser.ipod?21:11,d={tvId:i.tvid,terminalId:n,agent_type:1};s.isLogin()||(d.ckuid=a()),d.videoPlayTime=e?0:parseInt(t._core.getCurrenttime(),10)||0,(d.videoPlayTime>0&&d.videoPlayTime3e5&&ns_?ns_.ReducedRequirementsStreamingAnalytics.ContentType.LongFormOnDemand:ns_.ReducedRequirementsStreamingAnalytics.ContentType.ShortFormOnDemand,a.playVideoContent(r,i)});break;case n.Status_Paused:case n.Status_AdError:case n.Status_PlayError:case n.Status_AdPlayEnded:case n.Status_End_Play:a.stop()}}),e.on(n.Status_AresPlay,function(e){var t;switch(e.data.rollType){case"preroll":t=ns_.ReducedRequirementsStreamingAnalytics.AdType.LinearOnDemandPreRoll;break;case"midroll":t=ns_.ReducedRequirementsStreamingAnalytics.AdType.LinearOnDemandMidRoll;break;case"postroll":t=ns_.ReducedRequirementsStreamingAnalytics.AdType.LinearOnDemandPostRoll;break;default:t=ns_.ReducedRequirementsStreamingAnalytics.AdType.LinearOnDemandPreRoll}a.playVideoAdvertisement(null,t)})},d=function(){return r};o.exports={init:s,getMetaData:d}}.call(t,i,t,e))&&(e.exports=o)},function(e,t,i){var o;void 0!==(o=function(e,t,o){var a=i(0),n=i(3),r=i(11),s=i(89),d=i(92),p=i(96),l=i(97),c=(i(64),i(101)),u=i(63),f=i(103),g=i(104),_=i(36),h=i(13).CORE_TYPES;o.exports=a("h5View",{construct:function(){var e=this,t=[s,p,d];_.init(e.core),(n.os.ios||n.os.android)&&(t.push(c),t.push(l),t.slice(t.indexOf(d),1)),e._loadCSS(),e.registerPlugins(t),e._loadSkins(),n.os.ios||n.os.android||e._loadPlayListSkin()},extend:u,methods:{_loadCSS:function(){var e,t=document.createElement("style");e=n.browser.iPhone||n.os.android||n.browser.iPad?g:f,t.innerHTML=e,r("head").append(t)},_loadSkins:function(){var e=this;n.os.ios||n.os.android?i.e(1).then(i.bind(null,110)).then(function(t){e.loadSkin(t)}):i.e(0).then(i.bind(null,111)).then(function(t){e.loadSkin(t)})},_loadPlayListSkin:function(){var e=this,t=!1,o=!1,a=[];e.core.on(h.NTF_ADDVideoList,function(n){t&&!o&&a.push(n),t||3==n.data.playSource||(i.e(2).then(i.bind(null,112)).then(function(t){e.loadSkin(t,n.data,"playlist"),o=!0;for(var i=0;i