Skip to content

Instantly share code, notes, and snippets.

@hsnmrd
Created June 28, 2023 13:24
Show Gist options
  • Save hsnmrd/7a010eaf4873989432bdc49bf5546f95 to your computer and use it in GitHub Desktop.
Save hsnmrd/7a010eaf4873989432bdc49bf5546f95 to your computer and use it in GitHub Desktop.
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("romeo",[],t):"object"==typeof exports?exports.romeo=t():e.romeo=t()}(self,(function(){return function(){var e,t,r,o={79649:function(e,t,r){"use strict";r.d(t,{default:function(){return Yt}});var o,n=r(81643),a=r.n(n),i=r(31238),s=r.n(i),l=r(51942),c=r.n(l),u=r(92762),m=r.n(u),d=r(59340),p=r.n(d),f=r(86902),h=r.n(f),b=r(47302),v=r.n(b),g=(r(74916),r(4723),r(70189),r(51532),r(66992),r(65465),r(34553),r(79753),r(69720),r(54678),r(22083),r(60586)),y=r.n(g),E=r(67294),S=r(73935),w=r(17187),x=r.n(w),k=r(41875),T=r.n(k),A=r(11794),P=r(42123),O=r(73126),R=r(23493),L=r.n(R),D=r(94473),M=r.n(D),I=r(2991),N=r.n(I),F=r(25843),C=r.n(F),V=r(78580),q=r.n(V),H=(r(41539),r(88674),r(78783),r(33948),r(23123),r(64765),r(9653),r(39714),r(68309),r(15306),r(56977),r(39704)),z=r(58971),B=r.n(z),j=(r(84761),function(e,t){var r=y().document.createElement("video");r.ontimeupdate=function(){0!==r.currentTime&&t()},r.autoplay=!0,r.muted=e,r.setAttribute("webkit-playsinline","webkit-playsinline"),r.setAttribute("playsinline","playsinline"),r.src="data:audio/mpeg;base64,/+MYxAAAAANIAUAAAASEEB/jwOFM/0MM/90b/+RhST//w4NFwOjf///PZu////9lns5GFDv//l9GlUIEEIAAAgIg8Ir/JGq3/+MYxDsLIj5QMYcoAP0dv9HIjUcH//yYSg+CIbkGP//8w0bLVjUP///3Z0x5QCAv/yLjwtGKTEFNRTMuOTeqqqqqqqqqqqqq/+MYxEkNmdJkUYc4AKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",r.style.display="none",r.load();try{(0,P.TH)(r.play())}catch(e){}return r}),U=(r(62479),function(e){var t=e.msg,r=e.env,o=e.showReloadBtn,n=e.appEmitter,a=(0,H.I0)(),i=(0,E.useState)(null),s=i[0],l=i[1];return(0,E.useEffect)((function(){var e=setTimeout((function(){a({type:A.aO.setMessages,payload:{state:A.PO.MESSAGES.NOTSHOW}})}),1e6);return l(e),function(){s&&clearTimeout(s)}}),[t]),E.createElement("div",{className:"romeo-message-container"},E.createElement("div",{className:"romeo-message"},t),o&&E.createElement("div",{className:"romeo-show-reload-button",onKeyPress:function(){},onClick:function(){r.isLive?window.location.reload():(n.emit("hotReload"),a({type:A.aO.setMessages,payload:{state:A.PO.MESSAGES.NOTSHOW}}))},type:"button",role:"button",tabIndex:"0"},r.messages.reload))}),W=(r(82526),r(41817),r(39819)),X=r(68670),G=(r(21558),r(7783),r(70351)),_=r(88483),Z=r(86454),Y=r(5966),J=(r(47727),(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(7827).then(r.bind(r,10127))}),"JumpBackIcon15sec")}))),K=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(4479).then(r.bind(r,20165))}),"JumpBackIcon5sec")})),Q=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(9006).then(r.bind(r,9087))}),"JumpForwardIcon15sec")})),$=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(6189).then(r.bind(r,66073))}),"JumpForwardIcon5sec")})),ee=E.memo((function(e){var t=e.isPaused,r=e.isSeeking,o=e.setSeeking,n=e.muted,a=e.volume,i=e.setChangeVolume,s=e.showChangeVolume,l=e.isTV,c=e.pauseFeedBack,u=e.playFeedBack,m=e.setPlayFeedBack,d=e.setPauseFeedBack,p=e.env,f=(0,E.useState)(""),h=f[0],b=f[1],v=(0,E.useRef)(!1);""!==h||v.current||(b(t?"pause":"play"),setTimeout((function(){v.current=!0,b(""),o(""),i(!1),m(!1),d(!1)}),400)),v.current=!1;var g=Math.ceil(10*a/3),y=c||u?h:s||""!==r?"otherFeedBack":"";return E.createElement("div",{className:"play-pause-feedback "+y},t&&!s&&""===r&&c&&E.createElement(X.Z,null),!t&&!s&&""===r&&u&&E.createElement(W.Z,null),"forward"===r&&!s&&(5===p.jumpSec?E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement($,null)):E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Q,null))),"back"===r&&!s&&(5===p.jumpSec?E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(K,null)):E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(J,null))),!l&&s&&""===r&&(n||0===g)&&E.createElement(G.Z,null),!l&&s&&""===r&&!n&&1===g&&E.createElement(_.Z,null),!l&&s&&""===r&&!n&&2===g&&E.createElement(Z.Z,null),!l&&s&&""===r&&!n&&g>=3&&E.createElement(Y.Z,null))})),te=r(76707),re=r(27979),oe=r(33938),ne=(r(35666),r(77766)),ae=r.n(ne),ie=r(93476),se=r.n(ie),le=r(55056),ce=r.n(le),ue=r(40175),me=r(90962),de=(r(25145),function(e){var t,r=e.timeOffset,o=e.vastAd,n=e.appEmitter,i=e.env,s=e.playerRef,l=e.adCurrentIndex,c=e.videoRef,u=e.setAdCurrentIndex,m=e.playerLoadedAt,d=e.poster,f=e.mobileStyle,h=e.playerTechRef,b=e.adsIdRef,g=e.onFinished,S=void 0===g?function(){}:g,w=e.changeVmapProfile,x=void 0===w?function(){}:w,k=(0,H.v9)((function(e){return e.player})),O=(0,H.I0)(),R=k.linearAdMode,L=k.handleSyncAd,D=k.video,M=(0,E.useState)([]),I=M[0],F=M[1],C=(0,E.useState)([]),V=C[0],q=C[1],z=(0,E.useState)(0),B=z[0],j=z[1],U=(0,E.useState)(null),W=U[0],X=U[1],G=(0,E.useState)(null),_=G[0],Z=G[1],Y=(0,E.useState)(null),J=Y[0],K=Y[1],Q=(0,E.useState)(null),$=Q[0],ee=Q[1],te=(0,E.useState)(!1),re=te[0],ne=te[1],ae=(0,E.useRef)(null),ie=(0,E.useRef)(!1),se=(0,E.useRef)(!1),le=(0,E.useRef)(!1),ce=(0,E.useRef)(!1),ue=(0,E.useRef)(!1),de=(0,E.useRef)(!1),pe=(0,E.useMemo)((function(){var e=!1,t="vast-not-skip-offset",r=i.messages.videoWillPlayAfterAd;return B&&B<Math.floor(c.duration)?(B<=I?(t="vast-skip-button",r=i.messages.skipAd):(t="vast-skip-counter",r=B-I+" "+i.messages.sec),e=!0):f||(e=!0),{visible:e,value:r,className:t}}),[B,I]),fe=function(){0===L.state&&O({type:A.aO.setHandleSyncAd,payload:{state:1,type:!1}}),O({type:A.aO.setLinearAdMode,payload:{state:A.PO.LINEARADMODE.NOTSET}}),S()},he=function(e,t){if(void 0===t&&(t=!1),i.sendStatXhr){var r={app:i.domain,spa:i.isSPA,tech:ae.current||"",isIR:i.isIR},o={body:p()(r),method:"POST",headers:{"content-type":"application/json"}};t&&(o.priority="high"),fetch(e,o)}},be=function(){he("/external/romeo/impression")},ve=function(){he("/external/romeo/trueView",!0)},ge=function(){var e=(0,oe.Z)(regeneratorRuntime.mark((function e(){var t,r,n,a,l,c,u,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=o.ads[0].creatives[0].mediaFiles,r=[],n=[],a=[],l=[],c=[],u=[],N()(t).call(t,(function(e){return(0,P.Bb)(e.mimeType)&&n.push(e),(0,P.kI)(e.mimeType)&&a.push(e),(0,P.FA)(e.mimeType)&&l.push(e),null})),l.length&&(m=v()(l).call(l,(function(e,t){return e.height<t.height?-1:e.height>t.height?1:0})),N()(m).call(m,(function(e){return!c.length&&i.isTV||!c.length&&(s&&s.clientHeight<=e.height||!s&&e.height>=360)?c.push(e):u.push(e),null}))),N()(P.en).call(P.en,(function(e){return e===P.cd&&i.capability.linearAdMode.hls&&n.length&&r.push(n),e===P.Vp&&i.capability.linearAdMode.dash&&a.length&&r.push(a),e===P.zs&&i.capability.linearAdMode.pseudo&&null!=c&&c.length&&r.push(c),null})),u.length&&r.push(u),O({type:A.aO.setAdMultiSrc,payload:{adMultiSrc:r,debug:i.debug}}),q(r);case 13:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,E.useEffect)((function(){ge(),function(){var e=o.ads[0].creatives[1],t=0;if(e)for(var r=0;r<e.variations.length;r+=1){var n=e.variations[r],i=n.id,s=n.width,l=n.height;if(0===a()(i).call(i,"syncbanner")&&"string"==typeof n.htmlResources[0])ie.current=!0,0===L.state&&(t=1,O({type:A.aO.setHandleSyncAd,payload:{state:1,type:!0,url:"forceHtml",html:n.htmlResources[0]}}));else if(0===a()(i).call(i,"morebutton"))try{var c=JSON.parse(n.htmlResources[0]);Z(n.trackingEvents),X(c)}catch(e){}else if(0===a()(i).call(i,"pausebanner")&&"string"==typeof n.staticResources[0].url){var u=s&&l&&(s>728||l>90)?"filimo-pause-ad":"aparat-pause-ad";O({type:A.aO.setPauseAdBanner,payload:{state:1,imgUrl:n.staticResources[0].url,linkUrl:n.companionClickThroughURLTemplate,type:u}})}}0===t&&0===L.state&&O({type:A.aO.setHandleSyncAd,payload:{state:1,type:!1}})}();var e=o.ads[0].creatives[0].skipDelay;j(e),O({type:A.aO.setSkipCounter,payload:e});var t=new me.VASTClient,r=new me.VASTTracker(t,o.ads[0],o.ads[0].creatives[0]);K(r),r.clickThroughURLTemplate&&ee(r.clickThroughURLTemplate.url);var s=function(){i.ad.trackImpressionOnLoad&&!se.current&&(se.current=!0,r.trackImpression(),be())},l=function(t){F(t),r.setProgress(t),!i.ad.trackImpressionOnLoad&&!se.current&&c&&c.currentTime>.2&&(se.current=!0,r.trackImpression(),be()),!le.current&&t>0&&(le.current=!0,he("/external/romeo/firstSec")),!ce.current&&e&&t>=e&&(ce.current=!0,ve(),O({type:A.aO.setSkipCounter,payload:0}))},u=function(){de.current||(de.current=!0,r.setPaused(!0))},m=function(){c.duration-c.currentTime<1&&(O({type:A.aO.setSkipCounter,payload:0}),r.complete(),n.emit("vastComplete",!0),fe(),(!e||e>=Math.floor(c.duration))&&ve())},d=function(){re||ne(!0),de.current&&(de.current=!1,r.setPaused(!1)),i.ad.trackImpressionOnLoad&&!se.current&&(se.current=!0,r.trackImpression(),be())};return n.on("adCanPlayThrough",s),n.on("adTimeupdate",l),n.on("adPause",u),n.on("adEnded",m),n.on("adPlaying",d),n.on("doFinishAd",fe),function(){n.off("adCanPlayThrough",s),n.off("adTimeupdate",l),n.off("adPause",u),n.off("adEnded",m),n.off("adPlaying",d),n.off("doFinishAd",fe)}}),[]),(0,E.useEffect)((function(){var e,t,o,n;V.length&&null!=(e=V[l])&&e[0]&&(o={src:(t=V[l][0]).fileURL,type:t.mimeType,isAdVideo:!0},n=0===r?"preRoll":"midRoll",O({type:A.aO.setLinearAdMode,payload:{state:A.PO.LINEARADMODE.SETSRC,source:o,break:n}}),x({vastAdDispatch:Date.now()-m}))}),[V,l]),(0,E.useEffect)((function(){ae.current=h}),[h]),(0,E.useEffect)((function(){!ue.current&&W&&J&&R&&R.break&&re&&(ue.current=!0,n.emit("adMoreButtonShow",{event:R.break,adId:J&&J.ad&&J.ad.id?J.ad.id:"",impression:1,origin:"plus",syncAd:ie.current}))}),[W,J,R,re]);var ye=function(){$&&(n.emit("doPause"),y().open($,"_blank").focus())},Ee=function(){if(!W.follow){if(_&&_["morebutton-clicktracker"]&&_["morebutton-clicktracker"].length>0)for(var e=0;e<_["morebutton-clicktracker"].length;e+=1)T()({url:_["morebutton-clicktracker"][e],method:"GET"},(function(){}));n.emit("doPause"),n.emit("adMoreButtonClick",{event:R?R.break:"",adId:J&&J.ad&&J.ad.id?J.ad.id:"",click:1,origin:"plus",syncAd:ie.current}),y().open(W.href,"_blank").focus()}J.click()},Se=function(){n.emit("clickSkipAd",!0),J.skip(),3===L.state&&O({type:A.aO.setHandleSyncAd,payload:{state:1,type:!1}}),0!==l&&u(0),O({type:A.aO.setLinearAdMode,payload:{state:A.PO.LINEARADMODE.NOTSET}}),O({type:A.aO.setVideoState,payload:{state:A.PO.VIDEOSTATE.INIT}}),S()};return R.state===A.PO.LINEARADMODE.SETSRC&&a()(t=[A.PO.VIDEOSTATE.PLAYING,A.PO.VIDEOSTATE.PAUSE]).call(t,D.state)>-1&&re&&E.createElement("div",{className:"vast-ad "+b},pe.visible&&E.createElement("div",{className:pe.className,onClick:Se,onKeyDown:Se,role:"button",tabIndex:"0"},!!d&&E.createElement("img",{src:d,alt:"ad-poster"}),E.createElement("span",null,pe.value)),$&&!W&&E.createElement("div",{className:"click-through",onClick:ye,onKeyDown:ye,role:"button",tabIndex:"0"},E.createElement("span",{className:"click-through-more"},i.messages.more)),W&&!W.follow&&E.createElement("div",{className:"moreBtn",onClick:Ee,onKeyDown:Ee,role:"button",tabIndex:"0"},E.createElement("span",null,W.text)),W&&W.follow&&E.createElement("a",{href:W.href,target:"_blank",rel:"noopener noreferrer",className:"moreBtn",onClick:Ee,onKeyDown:Ee,tabIndex:"0"},E.createElement("span",null,W.text)))}),pe=(r(36256),(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(5806).then(r.bind(r,65965))}),"SlideAD")}))),fe=function(e,t){return"number"==typeof e?e:q()(e).call(e,"%")?Math.floor(+e.replace("%","")*t/100):q()(e).call(e,":")?(0,P.WN)(e):"start"===e?0:"end"===e?t:0},he=function(e){var t=e.counter,r=e.tech,o=e.env,n=e.changeCurrentLevel,a=void 0===n?function(){}:n,i=r[P.Oq.HLS];return t>0&&t<6?(r.type===P.Oq.HLS&&i&&a(i.currentLevel),E.createElement("div",{className:"romeo-remain-count"},E.createElement("span",null,o.messages.adShowOn+" "+t))):E.createElement(E.Fragment,null)},be=function(e){var t=e.startTime,r=void 0===t?0:t,o=e.setStartTime,n=e.vmapUrl,i=e.appEmitter,s=e.env,l=e.playerRef,u=e.adCurrentIndex,m=e.videoRef,d=e.tech,f=e.setAdCurrentIndex,h=e.playerLoadedAt,b=e.poster,v=e.isUserActive,g=e.getSabaSID,S=e.mobileStyle,w=e.playerTechRef,x=e.duration,k=e.canPlayAd,O=e.setCanPlayAd,R=void 0===O?function(){}:O,L=e.changeCurrentLevel,D=void 0===L?function(){}:L,M=e.changeVmapProfile,I=void 0===M?function(){}:M,F=(0,E.useRef)("default"),C=(0,E.useState)([]),V=C[0],q=C[1],z=(0,E.useState)(null),j=z[0],U=z[1],W=(0,E.useState)(null),X=W[0],G=W[1],_=(0,E.useState)(0),Z=_[0],Y=_[1],J=(0,E.useState)(""),K=J[0],Q=J[1],$=(0,E.useRef)({}),ee=(0,E.useRef)(null),te=(0,E.useRef)(null),re=(0,E.useRef)(!1),ne=(0,E.useRef)(0),ie=(0,E.useRef)(""),le=(0,H.v9)((function(e){return e.player})),be=(0,H.I0)(),ve=le.handleSyncAd,ge=le.adBlocker,ye=le.contentFirstLoad,Ee=le.miniPlayer,Se=le.linearAdMode,we=function(e){if(s.sendStatXhr){var t={app:s.domain,spa:s.isSPA,isIR:s.isIR,preRoll:e.havePreRoll,midRoll:e.haveMidRoll,slideAd:e.haveSliderAd},r={url:"/external/romeo/auctionWin",body:p()(t),method:"POST",headers:{"content-type":"application/json"}};T()(r,(function(){}))}},xe=function(e){void 0===e&&(e=!0),e&&0===ve.state&&be({type:A.aO.setHandleSyncAd,payload:{state:1,type:!1}}),Se.state!==A.PO.LINEARADMODE.NOTSET&&be({type:A.aO.setLinearAdMode,payload:{state:A.PO.LINEARADMODE.NOTSET}})},ke=function(e,t,r,o){var n={vastXML:e,adTagUrl:t,timeOffset:r,isLinear:o,visited:!1};q((function(e){var t;return ae()(t=[]).call(t,e,[n])}))},Te=function(){var e=(0,oe.Z)(regeneratorRuntime.mark((function e(t){var r,o,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=B().get("sabaAuth"),o=null,window.Dox&&"function"==typeof window.Dox.initializeIframe&&(window.Dox.initializeIframe(),o=B().get("_sabavision__sid")),o&&g&&(r=o),n={"X-Screen-Width":y().window.screen.width||y().window.outerWidth||0,"X-Screen-Height":y().window.screen.height||y().window.outerHeight||0},r&&(n.Authorization=r),ce().interceptors.response.use((function(e){return e}),(function(e){var t=e.config;return t&&t.retry?e&&e.response&&e.response.status&&e.response.status>=400&&e.response.status<500?(i.emit("adError",e.message,"",F.current),null):(i.emit("adError",e.message,"",F.current,t.retry),t.retry-=1,0===t.retry?null:new(se())((function(e){var r=s.ad.xhrRetry-t.retry;setTimeout((function(){e(),t.timeout=s.ad.xhrRetryDelay[r]}),s.ad.xhrRetryDelay[r]||1e3)})).then((function(){return ce()(t)}))):null})),e.abrupt("return",ce()({url:t,headers:n,method:"get",retry:s.ad.xhrRetry,retryDelay:s.ad.xhrRetryDelay,timeout:s.ad.xhrRetryDelay[0]}));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ae=function(){var e=(0,oe.Z)(regeneratorRuntime.mark((function e(){var t,r,o,s,l,c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Te(n);case 2:if(r=e.sent){e.next=6;break}return xe(),e.abrupt("return");case 6:if(o=r.data,F.current=o,!(a()(t=r.headers["content-type"]).call(t,"application/json")>-1)){e.next=12;break}return i.emit("adError","content-type application/json","",o),xe(),e.abrupt("return");case 12:I({getVmap:Date.now()-h}),s=(new(y().DOMParser)).parseFromString(o,"text/xml"),l={havePreRoll:!1,haveMidRoll:!1,haveSliderAd:!1},"VAST"===s.documentElement.tagName?(ke(s,null,0,!0),l.havePreRoll=!0):(u=new ue.Z(s),N()(c=u.adBreaks).call(c,(function(e){var t,r,o,n,a=null,i=null;e.adSource.vastAdData?a=(new(y().DOMParser)).parseFromString(e.adSource.vastAdData.outerHTML,"text/xml"):null!=(t=e.adSource.adTagURI)&&t.uri&&(i=e.adSource.adTagURI.uri);var s=fe(e.timeOffset,x),c="linear"===e.breakType;if(ke(a,i,s,c),c&&0===s&&(l.havePreRoll=!0),c&&s>0&&(l.haveMidRoll=!0),c||(l.haveSliderAd=!0),null!=(r=e.adSource)&&null!=(o=r.vastAdData)&&null!=(n=o.firstElementChild)&&n.id){var u=e.breakType+"-"+e.adSource.vastAdData.firstElementChild.id;Q((function(e){return e+" "+u}))}return null})),u.adBreaks.length||i.emit("adError","emptyVmap")),we(l),I({findAd:Date.now()-h}),l.havePreRoll||xe();case 19:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Pe=function(){var e=(0,oe.Z)(regeneratorRuntime.mark((function e(t){var r,o,n,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Te(t);case 2:if(o=e.sent){e.next=6;break}return xe(),e.abrupt("return",null);case 6:if(n=o.data,F.current=n,!(a()(r=o.headers["content-type"]).call(r,"application/json")>-1)){e.next=12;break}return i.emit("adError","content-type application/json","",n),xe(),e.abrupt("return",null);case 12:if(I({getVast:Date.now()-h}),"VAST"!==(s=(new(y().DOMParser)).parseFromString(n,"text/xml")).documentElement.tagName){e.next=16;break}return e.abrupt("return",s);case 16:return xe(),e.abrupt("return",null);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Oe=function(e){if(e.timeOffset>0&&(P.en[0]===P.cd||P.en[0]===P.Vp))for(var t=e.parsedVastXML.ads[0].creatives[0].mediaFiles,r=!1,o=0;o<t.length;o+=1){var n=t[o].mimeType,a=t[o].fileURL;r||(0,P.bh)(n)!==P.en[0]||ee.current===a||(r=!0,ee.current=a,i.emit("setCatchSource",{src:a,type:n,start:e.timeOffset}))}},Re=function(){var e=(0,oe.Z)(regeneratorRuntime.mark((function e(t){var r,o,n,a,s,l,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",null);case 2:if(!t.getElementsByTagName("Wrapper").length){e.next=6;break}return i.emit("adError","vastWrapper"),e.abrupt("return",null);case 6:return s=new me.VASTClient,l=s.getParser(),e.prev=8,e.next=11,l.parseVAST(t);case 11:c=e.sent,e.next=17;break;case 14:e.prev=14,e.t0=e.catch(8),i.emit("adError","parseVast");case 17:if(c.ads.length){e.next=20;break}return i.emit("adError","emptyVast"),e.abrupt("return",null);case 20:if(null!=(r=c)&&null!=(o=r.ads[0])&&null!=(n=o.creatives[0])&&null!=(a=n.mediaFiles)&&a.length){e.next=23;break}return i.emit("adError","empty_ad_source"),e.abrupt("return",null);case 23:return e.abrupt("return",c);case 24:case"end":return e.stop()}}),e,null,[[8,14]])})));return function(t){return e.apply(this,arguments)}}(),Le=function(){var e=(0,oe.Z)(regeneratorRuntime.mark((function e(t){var r,o,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=V[t],(o=r.vastXML)||!r.adTagUrl){e.next=6;break}return e.next=5,Pe(r.adTagUrl);case 5:o=e.sent;case 6:return n=c()({},r,{vastXML:o,visited:!0}),q((function(e){return N()(e).call(e,(function(e,r){return r===t?n:e}))})),e.abrupt("return",n);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),De=function(){var e=(0,oe.Z)(regeneratorRuntime.mark((function e(t){var r,o,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Le(t);case 2:return r=e.sent,e.next=5,Re(r.vastXML);case 5:(o=e.sent)?(n={parsedVastXML:o,timeOffset:r.timeOffset},U(n),Oe(n)):xe();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Me=function(){var e=(0,oe.Z)(regeneratorRuntime.mark((function e(t){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Le(t);case 2:r=e.sent,(o=new me.VASTClient).getParser().parseVAST(r.vastXML).then((function(e){var t=e.ads[0],n=t.creatives[0],a=n.variations[0],i=JSON.parse(a.htmlResource),s=r.timeOffset,l=new me.VASTTracker(o,t,n);G(c()({},i,{startAt:s,vastTracker:l})),be({type:A.aO.setSlideAd,payload:A.PO.SLIDEADSTATE.CANSHOW})})).catch((function(){i.emit("adError","parseVast")}));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ie=function(e){Y(e)};return(0,E.useEffect)((function(){return I({playerLoadedAt:h}),R(!1),te.current=setTimeout((function(){re.current||ie.current===A.PO.LINEARADMODE.NOTSET||(i.emit("adError","timeout"),xe())}),s.ad.skipAdTimeout),Ae(n),i.emit("getVmap",{vmapUrl:n}),i.on("timeupdate",Ie),function(){i.off("timeupdate",Ie),clearTimeout(te.current)}}),[]),(0,E.useEffect)((function(){V.length&&N()(V).call(V,(function(e,t){if(e.visited||$.current[t])return null;var o=!e.isLinear&&e.timeOffset<Z,n=e.isLinear&&0===e.timeOffset,a=e.isLinear&&e.timeOffset-10<Z&&e.timeOffset>=Z&&(r>e.timeOffset||e.timeOffset>=r+ne.current);return o?($.current[t]=!0,Me(t)):(n||a)&&($.current[t]=!0,De(t),ne.current=60),null}))}),[V,Z]),(0,E.useEffect)((function(){ge&&j&&(i.emit("adError","detect"),xe())}),[ge,j]),(0,E.useEffect)((function(){ie.current=Se.state,Se.state===A.PO.LINEARADMODE.NOTSET&&te.current&&(te.current=null,clearTimeout(te.current))}),[Se.state]),(0,E.useEffect)((function(){re.current=k}),[k]),E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},j&&j.timeOffset>0&&j.isLinear&&E.createElement(he,{counter:Math.floor(j.timeOffset-Z),tech:d,changeCurrentLevel:D,env:s}),j&&j.timeOffset<=Z&&E.createElement(de,{vastAd:j.parsedVastXML,timeOffset:j.timeOffset,appEmitter:i,onFinished:function(){j.timeOffset>0&&o(j.timeOffset),U(null)},env:s,playerRef:l,adCurrentIndex:u,setAdCurrentIndex:f,videoRef:m,playerLoadedAt:h,changeVmapProfile:I,poster:b,mobileStyle:S,playerTechRef:w,adsIdRef:K}),X&&ye&&!Ee&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(pe,{slideAd:X,appEmitter:i,isUserActive:v,videoRef:m})))},ve=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(1734).then(r.bind(r,41366))}),"RomeoStatsManager")})),ge=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(1200).then(r.bind(r,14118))}),"WatermarkAd")})),ye=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(9262).then(r.bind(r,31628))}),"IspMessage")})),Ee=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(378).then(r.bind(r,56901))}),"AgeLimit")})),Se=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(2041).then(r.bind(r,74911))}),"Subscription")})),we=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(6110).then(r.bind(r,87017))}),"SkipIntro")})),xe=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(1116).then(r.bind(r,56741))}),"SkipCast")})),ke=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(7035).then(r.bind(r,94754))}),"BackButton")})),Te=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(5159).then(r.bind(r,61046))}),"BigMuteBtn")})),Ae=(0,E.lazy)((function(){return(0,P.XD)((function(){return Promise.all([r.e(2212),r.e(5912)]).then(r.bind(r,74679))}),"VR360Renderer")})),Pe=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(9054).then(r.bind(r,61958))}),"CustomSubtitles")})),Oe=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(3781).then(r.bind(r,72598))}),"Logo")})),Re=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(6653).then(r.bind(r,97109))}),"ShortKey")})),Le=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(7940).then(r.bind(r,69374))}),"TvChannels")})),De=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(2075).then(r.bind(r,7780))}),"BoxEnd")})),Me=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(9538).then(r.bind(r,78558))}),"FreeSansTimer")})),Ie=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(9186).then(r.bind(r,12241))}),"Recom")})),Ne=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(5621).then(r.bind(r,64451))}),"LikeDislike")})),Fe=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(1924).then(r.bind(r,44406))}),"RightClick")})),Ce=(0,E.lazy)((function(){return(0,P.XD)((function(){return Promise.all([r.e(1613),r.e(8767)]).then(r.bind(r,55307))}),"Details")})),Ve=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(8994).then(r.bind(r,59585))}),"ViewerCount")})),qe=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(7073).then(r.bind(r,98128))}),"Share")})),He=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(3245).then(r.bind(r,46913))}),"ExitMiniPlayer")})),ze=(0,E.lazy)((function(){return(0,P.XD)((function(){return Promise.all([r.e(8991),r.e(4969)]).then(r.bind(r,28868))}),"WSTeleParty")})),Be=(0,E.lazy)((function(){return(0,P.XD)((function(){return Promise.all([r.e(4060),r.e(5172)]).then(r.bind(r,98695))}),"Reaction")})),je=(0,E.lazy)((function(){return(0,P.XD)((function(){return Promise.all([r.e(1120),r.e(219)]).then(r.bind(r,78647))}),"SocialTourModal")})),Ue=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(5378).then(r.bind(r,3166))}),"QuestionModal")})),We=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(578).then(r.bind(r,54157))}),"Toast")})),Xe=A.PO.VIDEOSTATE,Ge=A.PO.RELOADSTATUS,_e="LOADING",Ze="BIG_BUTTON",Ye="PLAY",Je=function(e){var t,n,i,l,u=e.sources,d=e.poster,f=e.env,h=e.envIcons,b=e.appEmitter,v=e.resumeUID,g=e.tracks,y=e.thumbs,S=e.stats,w=e.startTime,x=e.watermarkAd,k=e.isp,R=e.intro,L=e.cast,D=e.back,I=e.info,F=e.multiAudio,C=e.previewMode,V=e.initVolume,q=void 0===V?1:V,z=e.is360,j=void 0!==z&&z,U=e.isUserActive,G=e.downloadSrc,_=e.aparatLink,Z=e.audioLangs,Y=e.setAudioLangs,J=e.title,K=e.vmap,Q=e.adTag,$=e.isAbroad,oe=e.setStartTime,ne=e.logo,ae=e.lang,ie=e.rootEl,se=e.autoPlay,le=e.playerRef,ce=e.adCurrentIndex,ue=e.setAdCurrentIndex,me=e.liveTvList,de=e.setMultiSources,pe=e.setUserActive,fe=e.boxEnd,he=e.showBoxEnd,Je=e.toggleShowBoxEnd,Ke=e.freeSansTimer,Qe=e.seriesData,$e=e.playerTechRef,et=e.recom,tt=e.rate,rt=e.aparatLinkDisable,ot=e.haveVideoBuffer,nt=e.chapterlist,at=e.currectBufferLength,it=e.cacheHlsObject,st=e.firstloadStat,lt=e.defaultResumeAt,ct=e.audioTracks,ut=e.useHlsJS,mt=e.havePreRolBuffer,dt=e.cacheDashObject,pt=e.color,ft=e.expireLiveSource,ht=e.videoWaiting,bt=e.setVideoWaiting,vt=e.videoFPS,gt=e.bufferStalledCount,yt=e.HlsChunkDuration,Et=e.mobileStyle,St=e.squadStream,wt=e.haveHlsSource,xt=e.havePseudoSource,kt=e.haveCastHistory,Tt=e.forceMidRoll,At=e.mainVideoError,Pt=e.vmapProfile,Ot=e.playerLoadedAt,Rt=e.isBlobSrc,Lt=e.canPlayAdRef,Dt=e.visitPostData,Mt=e.ageLimit,It=e.subscription,Nt=e.endElementTime,Ft=e.clip,Ct=e.uid,Vt=e.getSabaSID,qt=e.isTabActive,Ht=e.autoPlayPolicyCheck,zt=e.controlbarScroll,Bt=e.isEmbed,jt=e.teleParty,Ut=e.videoSmallSize,Wt=e.setTelepartyUsers,Xt=e.survey,Gt=e.duration,_t=e.setCanPlayAd,Zt=void 0===_t?function(){}:_t,Yt=e.goTheater,Jt=void 0===Yt?function(){}:Yt,Kt=e.onError,Qt=void 0===Kt?function(){}:Kt,$t=e.onTimeUpdate,er=void 0===$t?function(){}:$t,tr=e.onCanPlayThrough,rr=void 0===tr?function(){}:tr,or=e.onPlay,nr=void 0===or?function(){}:or,ar=e.onPause,ir=void 0===ar?function(){}:ar,sr=e.onEnded,lr=void 0===sr?function(){}:sr,cr=e.onSeeking,ur=void 0===cr?function(){}:cr,mr=e.onSeeked,dr=void 0===mr?function(){}:mr,pr=e.setCast,fr=void 0===pr?function(){}:pr,hr=e.setPlayerFocus,br=void 0===hr?function(){}:hr,vr=e.getEpisode,gr=void 0===vr?function(){}:vr,yr=e.changePlayerTech,Er=void 0===yr?function(){}:yr,Sr=e.changeHvaeBuffer,wr=void 0===Sr?function(){}:Sr,xr=e.changeCurrentLevel,kr=void 0===xr?function(){}:xr,Tr=e.sourceNotSupported,Ar=void 0===Tr?function(){}:Tr,Pr=e.changeCurrectBufferLength,Or=void 0===Pr?function(){}:Pr,Rr=e.changeCacheHlsObject,Lr=void 0===Rr?function(){}:Rr,Dr=e.sendFirstloadStat,Mr=void 0===Dr?function(){}:Dr,Ir=e.hlsInstance,Nr=void 0===Ir?function(){}:Ir,Fr=e.changeUseHlsJS,Cr=void 0===Fr?function(){}:Fr,Vr=e.changeUseDashJS,qr=void 0===Vr?function(){}:Vr,Hr=e.handleError,zr=void 0===Hr?function(){}:Hr,Br=e.adOnError,jr=void 0===Br?function(){}:Br,Ur=e.changeHavePreRolBuffer,Wr=void 0===Ur?function(){}:Ur,Xr=e.dashInstance,Gr=void 0===Xr?function(){}:Xr,_r=e.changeCacheDashObject,Zr=void 0===_r?function(){}:_r,Yr=e.changeMainVideoError,Jr=void 0===Yr?function(){}:Yr,Kr=e.changeVmapProfile,Qr=void 0===Kr?function(){}:Kr,$r=e.onPlaying,eo=void 0===$r?function(){}:$r;0===u.length&&u.push({});var to=(0,E.useRef)(null),ro=(0,E.useRef)(""),oo=(0,E.useRef)({}),no=(0,E.useRef)(0),ao=(0,E.useRef)(_e),io=(0,E.useRef)(0),so=(0,E.useRef)(0),lo=(0,E.useRef)([]),co=(0,E.useRef)([]),uo=(0,E.useRef)(0),mo=(0,E.useRef)(!1),po=(0,E.useRef)(!0),fo=(0,E.useRef)(null),ho=(0,E.useState)({status:Xe.INIT,canPlayThrough:!1,firstPlay:!1}),bo=ho[0],vo=ho[1],go=(0,E.useState)(q),yo=go[0],Eo=go[1],So=(0,E.useState)(!0),wo=So[0],xo=So[1],ko=(0,E.useState)(((t={type:P.Oq.HTML5})[P.Oq.HLS]=null,t[P.Oq.DASH]=null,t)),To=ko[0],Ao=ko[1],Po=(0,E.useState)(0),Oo=Po[0],Ro=Po[1],Lo=(0,E.useState)(0),Do=Lo[0],Mo=Lo[1],Io=(0,E.useState)(0),No=Io[0],Fo=Io[1],Co=(0,E.useState)(0),Vo=Co[0],qo=Co[1],Ho=(0,E.useState)(!1),zo=Ho[0],Bo=Ho[1],jo=(0,E.useState)(w),Uo=jo[0],Wo=jo[1],Xo=(0,E.useState)(!1),Go=(Xo[0],Xo[1]),_o=(0,E.useState)([]),Zo=_o[0],Yo=_o[1],Jo=(0,E.useState)([]),Ko=Jo[0],Qo=Jo[1],$o=(0,E.useState)({}),en=$o[0],tn=$o[1],rn=(0,E.useState)(0),on=rn[0],nn=rn[1],an=(0,E.useState)(Ge.NOTHING),sn=an[0],ln=an[1],cn=(0,E.useState)(!1),un=cn[0],mn=cn[1],dn=(0,E.useState)([]),pn=dn[0],fn=dn[1],hn=(0,E.useState)(""),bn=hn[0],vn=hn[1],gn=(0,E.useState)(!1),yn=gn[0],En=gn[1],Sn=(0,E.useState)(!1),wn=Sn[0],xn=Sn[1],kn=(0,E.useState)(!1),Tn=kn[0],An=kn[1],Pn=(0,E.useState)(!1),On=Pn[0],Rn=Pn[1],Ln=(0,E.useState)(!1),Dn=Ln[0],Mn=Ln[1],In=(0,E.useState)(null),Nn=In[0],Fn=In[1],Cn=(0,E.useState)(!0),Vn=Cn[0],qn=Cn[1],Hn=(0,E.useState)({}),zn=Hn[0],Bn=Hn[1],jn=(0,E.useState)(!1),Un=jn[0],Wn=jn[1],Xn=(0,E.useState)(!1),Gn=Xn[0],_n=Xn[1],Zn=(0,H.v9)((function(e){return e.player})),Yn=(0,H.I0)(),Jn=Zn.linearAdMode,Kn=Zn.skipCounter,Qn=Zn.captionAvailable,$n=Zn.radioMode,ea=Zn.pauseAdBanner,ta=Zn.pauseAdState,ra=Zn.endHtml,oa=Zn.firstLoad,na=Zn.adFirstLoad,aa=Zn.contentFirstLoad,ia=Zn.playbackRate,sa=Zn.messages,la=Zn.autoplaySupported,ca=Zn.miniPlayer,ua=Zn.isAdminTeleParty,ma=Zn.romeoReady,da=Zn.socialTour,pa=function e(t){T()(t,(function(r,n){if(200!==n.statusCode||r)if(f.backOffPolicy.length-1>no.current){var a=no.current+1;no.current=a;var i=f.playXhrChunkLength+f.backOffPolicy[a];f.isTV||(o=setTimeout((function(){e(t)}),1e3*i))}else no.current=0;else clearTimeout(o),0!==no.current&&(no.current=0)}))},fa=function(){var e=oo.current,t=e.userId,r=e.movieId;return t&&r?pa({url:"https://www.filimo.com/external/visitpost/startwatching/"+t+"/"+r,method:"POST",headers:{"content-type":"application/x-www-form-urlencoded; charset=UTF-8"}}):null},ha=function(){ao.current!==Ye&&(ao.current=Ye),bo.firstPlay&&!wn&&to.current&&(!w&&to.current.currentTime>1||w&&to.current.currentTime>w+1)&&xn(!0)},ba=function(e){var t=to.current;if(t){var r=t.play();r&&"function"==typeof r.then&&("seek"!==e&&ha(),r.then(null,(function(e){var r;f.statOnPlay&&!bo.firstPlay&&fa(),jt&&ua&&(b.emit("sendTelepartyMessage",{type:"play-video",current_time:to.current.currentTime}),b.emit("sendTelepartyMessage",{type:"chat-message",content:jt.name+", play the video"})),a()(r=e.toString()).call(r,"NotAllowedError")>-1?(t.muted=!0,t.play().then(null,(function(){t.muted=!1,Go(!0)}))):console.log(e)})))}},va=function(e){to.current&&(br(),On&&Rn(!1),f.statOnPlay&&!bo.firstPlay&&fa(),(0,P.TH)(to.current.play()),"seek"!==e&&ha(),jt&&ua&&(b.emit("sendTelepartyMessage",{type:"play-video",current_time:to.current.currentTime}),b.emit("sendTelepartyMessage",{type:"chat-message",content:jt.name+", play the video"})))},ga=function(){ha()},ya=function(){br(),to.current&&!to.current.paused&&(to.current.pause(),An(!0))},Ea=function(){if(br(),to.current&&!to.current.paused){if(!U&&f.isMobile&&f.customControls)return void pe(!0);to.current.pause()}An(!0),jt&&ua&&(b.emit("sendTelepartyMessage",{type:"pause-video",current_time:to.current.currentTime}),b.emit("sendTelepartyMessage",{type:"chat-message",content:jt.name+", pause the video"}))},Sa=function(){to.current.paused?b.emit("doPlay"):b.emit("doPause")},wa=function(e){br(),e==e&&to.current&&Jn.state===A.PO.LINEARADMODE.NOTSET&&(e>to.current.currentTime&&e===to.current.currentTime+f.jumpSec?vn("forward"):e<to.current.currentTime&&e===to.current.currentTime-f.jumpSec&&vn("back"),C&&e>C.previewDuration?(to.current.currentTime===C.previewDuration?to.current.currentTime=C.previewDuration-1e-6:to.current.currentTime=C.previewDuration,lr(),Ea()):to.current.currentTime=e,C&&e<C.previewDuration&&he&&Je(!1),to.current.paused||ba("seek"),On&&Rn(!1),(ra===A.PO.ENDHTML.SHOW&&!Nt||Nt&&ra===A.PO.ENDHTML.SHOW&&e<Nt)&&Yn({type:A.aO.setEndHtml,payload:A.PO.ENDHTML.INIT}),!f.isTV&&f.seekSetQuery&&function(e,t){try{window.history.replaceState("","","?t="+t)}catch(e){return null}}(0,Math.floor(e)),jt&&ua&&b.emit("sendTelepartyMessage",{type:"seek-video",current_time:e}),!Un&&zn.time&&e>zn.time-7?_n(!0):Gn&&_n(!1))},xa=function(e,t){br();var r=Math.min(1,Math.max(0,e));t&&En(!0),Eo(r),to.current&&(to.current.volume=r,B().set("romeo-vol",r))},ka=function(e,t){br(),xo(e),f.muted||B().set("romeo-muted",e),t&&En(!0),to.current&&(to.current.muted=e)},Ta="";!function(){if(to.current)for(var e=0;e<to.current.textTracks.length;e++){var t=to.current.textTracks[e];"captions"!==t.kind||"showing"!==t.mode||"fa"!==t.language&&"ar"!==t.language||(Ta="rtl-caption")}}();var Aa=function(e){$e&&e!==$e&&tn({}),Er(e)};Jn.state!==A.PO.LINEARADMODE.NOTSET&&Pt.tech!==$e&&Qr({tech:$e});var Pa=function(e){"number"==typeof e&&(fo.current=e)};(0,E.useEffect)((function(){f.isTV&&Jn.state===A.PO.LINEARADMODE.NOTSET&&L&&L.start&&w&&w+180>L.start&&(po.current=!1),At&&(zr(At.e,At.fire),Jr(!1)),ao.current=_e,f.statOnPlay&&function(){if(S&&S.statUrl)for(var e=S.statUrl.split("/"),t=0;t<e.length;t+=1)"visitor"===e[t]&&t<e.length-1&&(oo.current.userId=e[t+1]),"movie_id"===e[t]&&t<e.length-1&&(oo.current.movieId=e[t+1])}(),w&&!$&&Jn.state===A.PO.LINEARADMODE.NOTSET&&to.current&&!f.isTV&&(to.current.currentTime=w),io.current=Date.now(),f.debug&&console.log("==> VideoPlayer Loaded at:",(0,P.Xn)(!0)),g&&f.isGameConsole&&function(){for(var e=function(e){g[e].default&&(g[e]?(0,te.Y)(g[e].src).then((function(t){fn(t.rows),Yn({type:A.aO.setActiveTrackIndex,payload:e}),Yn({type:A.aO.setCaptionAvailable,payload:!0})})).catch((function(){Yn({type:A.aO.setActiveTrackIndex,payload:null}),Yn({type:A.aO.setCaptionAvailable,payload:!1})})):(Yn({type:A.aO.setActiveTrackIndex,payload:null}),Yn({type:A.aO.setCaptionAvailable,payload:!1})))},t=0;t<g.length;t+=1)e(t)}(),f.isTV&&Eo(1),Bo(!1),Wo(w),mn(!1),vo(c()({},bo,{canPlayThrough:!1})),b.on("doPlay",ba),b.on("doPause",ya),b.on("togglePlay",Sa),b.on("seekTo",wa),f.isLive&&b.on("viewerCount",Pa);var e={},t=!1;if((0,P.xZ)(P.Oq.HLS,u,f,to.current)&&!At)Cr(!0),qr(!1),Aa(P.Oq.HLS),f.debug&&console.log("==> VideoPlayer ShouldUse HLS Loaded at:",(0,P.Xn)(!0)),r.e(4817).then(r.bind(r,93041)).then((function(r){var o=r.default;if(o.isSupported()||Jn.state!==A.PO.LINEARADMODE.NOTSET||Ar(),f.debug&&console.log("==> VideoPlayer Import HLS Loaded at:",(0,P.Xn)(!0)),!t){var n,a,i=null;it&&Jn.state===A.PO.LINEARADMODE.NOTSET&&!me?(i=it,(n={type:P.Oq.HLS})[P.Oq.HLS]=i,Ao(e=n)):(i=Nr(o,to.current,u[0],!1,!!u[0].isAdVideo),(a={type:P.Oq.HLS})[P.Oq.HLS]=i,Ao(e=a),Qo([])),i.attachMedia(to.current),f.debug&&console.log("==> VideoPlayer Hls LoadSource and AttachMedia Loaded at:",(0,P.Xn)(!0))}}));else if((0,P.xZ)(P.Oq.DASH,u,f,to.current)&&!At)Cr(!1),qr(!0),Aa(P.Oq.DASH),"function"!=typeof window.MediaSource&&Jn.state===A.PO.LINEARADMODE.NOTSET&&Ar(),Promise.all([r.e(5786),r.e(6844),r.e(6435),r.e(7058),r.e(3862),r.e(9179),r.e(550),r.e(9113),r.e(7249),r.e(6460),r.e(1142),r.e(9638),r.e(927),r.e(4427),r.e(5327),r.e(7755),r.e(1651)]).then(r.bind(r,7189)).then((function(r){var o;if(!t){Jn.state===A.PO.LINEARADMODE.NOTSET||"preRoll"!==Jn.break||dt||Gr(r,to.current,u[0],!0);var n=null;(n=dt&&Jn.state===A.PO.LINEARADMODE.NOTSET&&!me?dt:Gr(r,to.current,u[0])).attachView(to.current),n.setAutoPlay(!0),n.setMute(!1),n.on("playbackPlaying",ga),(o={type:P.Oq.DASH})[P.Oq.DASH]=n,Ao(e=o),Qo([])}}));else{Cr(!1),qr(!1),u&&u[0]&&u[0].src&&Aa(P.Oq.HTML5);var o,n=u[0];if(!M()(u).call(u,(function(e){return e.label&&"auto"===e.label.toLowerCase()}))&&u.length>1){for(o=0;o<u.length&&!(n=u[o]).default&&"360p"!==n.label;o+=1);o<u.length&&nn(o)}sn!==Ge.NOTHING||At?At||ln(Ge.EMPTYSRC):tn({src:n.src,type:n.type}),e={type:P.Oq.HTML5},Ao(e)}switch(sn){case Ge.EMPTYSRC:ln(Ge.LOAD);break;case Ge.LOAD:case Ge.IMMEDIATE:to.current.load(),ln(Ge.NOTHING)}return function(){if(t=!0,e.type===P.Oq.HLS){var r=e[P.Oq.HLS];it||Jn.state!==A.PO.LINEARADMODE.NOTSET||f.isLive||Lr(r),r&&"function"==typeof r.detachMedia&&r.detachMedia(),(f.isLive||Jn.state!==A.PO.LINEARADMODE.NOTSET)&&r&&"function"==typeof r.destroy&&r.destroy()}else if(e.type===P.Oq.DASH){var o=e[P.Oq.DASH];dt||Jn.state!==A.PO.LINEARADMODE.NOTSET||f.isLive||Zr(o)}else e.type===P.Oq.HTML5&&to.current&&to.current.pause();b.off("doPlay",ba),b.off("doPause",ya),b.off("togglePlay",Sa),b.off("seekTo",wa),f.isLive&&b.off("viewerCount",Pa),f.isTV&&tn({})}}),[u]);var Oa=Jn.state!==A.PO.LINEARADMODE.NOTSET;if(1===Vo&&to.current&&to.current.textTracks.length>0){for(var Ra=!1,La=-1,Da=-1,Ma=0;Ma<to.current.textTracks.length;Ma++){var Ia=to.current.textTracks[Ma];Ra||"captions"!==Ia.kind||"showing"!==Ia.mode||(Ra=!0),-1===La&&"fa"===Ia.language?La=Ma:-1===Da&&"en"===Ia.language&&(Da=Ma)}Ra||(La>-1?to.current.textTracks[La].mode="showing":Da>-1&&(to.current.textTracks[Da].mode="showing")),qo(2)}switch(bo.status){case Xe.PLAYING:Jn.state===A.PO.LINEARADMODE.DISPLAY&&to.current.pause(),bo.firstPlay||(vo(c()({},bo,{firstPlay:!0})),b.emit("videoReady",to.current)),0===Vo&&f.isIOS&&!Oa&&Zo&&qo(1),bo.canPlayThrough||vo(c()({},bo,{canPlayThrough:!0})),un&&!zo&&to.current.readyState>3&&(Bo(!0),Uo&&(to.current.currentTime=Uo));break;case Xe.PAUSE:Jn&&Jn.tryPlayVideo&&(ba(),Yn({type:A.aO.setLinearAdMode,payload:{state:A.PO.LINEARADMODE.NOTSET,tryPlayVideo:!1}}))}var Na={backgroundImage:"url("+d+")"},Fa="";Jn.state!==A.PO.LINEARADMODE.NOTSET&&(Fa="romeo-linearMode"),f.customControls&&U&&(Fa+=" user-active"),to.current&&to.current.paused&&(Fa+=" paused"),f.customControls&&(Fa+=" romeo-player-custom-control");var Ca={};f.isIOS&&!F&&(Ca.playsInline=!0,Ca["webkit-playsinline"]="true");var Va=function(){if(f.sendStatXhr){var e=0;io.current&&(e=Date.now()-io.current),e>6e3?B().set("romeo-slow-throttle",!0):B().set("romeo-slow-throttle",!1),so.current=e/1e3;var t=u[0].src.replace("http://","").replace("https://","").split(/[/?#]/)[0],r=to.current&&Math.floor(to.current.duration)||0,o="";Oa&&(o=Jn.break&&""!==Jn.break?Jn.break:"preRoll");var n="";!Oa&&st.length>0&&(n=st[st.length-1].ad);var a="";K&&(a+="vmap"),Q&&(""!==a&&(a+=", "),a+="adTag");var i={time:e,domain:t,type:u[0].type,ad:o,playedAfter:n,duration:r,haveHls:wt,havePseudo:xt,adDetail:a,isBlobSrc:Rt,tabActive:qt,autoPlay:Ht,tech:$e||"",isIR:f.isIR,isEmbed:!!Bt},s={url:"/external/romeo/prom/firstLoad",body:p()(i),method:"POST",headers:{"content-type":"application/json"}};Mr({ad:o}),T()(s,(function(){}))}};!oa&&to.current&&(!w&&to.current.currentTime>0||w&&to.current.currentTime>w)&&(Yn({type:A.aO.setFirstLoad,payload:!0}),b.emit("firstLoad",{adMode:Oa}),Va());var qa=function(){!f.customControls||jt&&!ua||(!St||Oa?to.current.paused?va():Ea():window.top.location.href=St)};!ht&&ft&&to.current&&to.current.paused&&bt(!0),!f.isTV||sa.state===A.PO.MESSAGES.NOTSHOW||Vn||!navigator.onLine&&bo.status!==Xe.PLAYING||(qn(!0),Yn({type:A.aO.setMessages,payload:{state:A.PO.MESSAGES.NOTSHOW,msg:""}}),ba());var Ha={};f.color&&(Ha.color=f.color);var za=B().get("subtitle-classes")?B().get("subtitle-classes"):"";f.isIOS&&to.current&&to.current.webkitDisplayingFullscreen&&(za+=" ios-fullscreen");if(to.current&&to.current.buffered&&to.current.buffered.end){var Ba=to.current.buffered.length-1;Ba>-1&&Or(to.current.buffered.end(Ba))}if(to.current&&to.current.buffered&&to.current.buffered.end&&Oa&&"preRoll"===Jn.break&&!mt&&!f.isLive){var ja=to.current.buffered.length-1;ja>-1&&to.current.buffered.end(ja)===to.current.duration&&(r.e(4817).then(r.bind(r,93041)).then((function(e){var t=e.default;Nr(t,to.current,null,!0,!1)})),Wr(!0))}if(to.current&&to.current.buffered&&to.current.buffered.end&&!ma){var Ua=to.current.buffered.length-1;if(Ua>-1){var Wa=to.current.buffered.end(Ua);(Wa>10||Wa===to.current.duration||!Oa&&Wa>5||Oa&&Kn&&Wa>Kn||Oa&&Kn&&Wa===to.current.duration)&&(Yn({type:A.aO.setRomeoReady,payload:!0}),b.emit("romeoReady"))}}at&&to.current&&at-to.current.currentTime>10&&!ot?wr(!0):at&&to.current&&at-to.current.currentTime<=10&&ot&&wr(!1);var Xa=function(){Mn(!1),Fn(null),lo.current=[],co.current=[]};if("stat"===Dn&&to.current&&(so.current>0&&(!Nn||Nn.FirstLoad!==so.current+"(s)")&&Fn(c()({},Nn,{FirstLoad:so.current+"(s)"})),To.type===P.Oq.HLS)){var Ga=to.current.getVideoPlaybackQuality(),_a=Ga?Ga.droppedVideoFrames:0;_a&&uo.current!==_a&&(uo.current=_a);var Za=To.HLS.currentLevel;if(Za>-1){var Ya,Ja,Ka=To.HLS.levels[Za],Qa={Resolution:Ka.attrs?Ka.attrs.RESOLUTION:"",CurrentBitrate:(0,P.nh)(Math.floor(Ka.bitrate/1e3))+"(kbit/s)",DropFrame:uo.current};co.current.length>=20&&m()(Ya=co.current).call(Ya,0,1),co.current.push(Ka.bitrate),lo.current.length>=20&&m()(Ja=lo.current).call(Ja,0,1),To.HLS.abrController&&To.HLS.abrController._bwEstimator&&(lo.current.push(To.HLS.abrController._bwEstimator.getEstimate()),Qa.Bandwidth=(0,P.nh)(Math.floor(To.HLS.abrController._bwEstimator.getEstimate()/1e3))+"(kbit/s)");var $a=at-to.current.currentTime;Qa.BufferLength=$a>0?s()($a).toFixed(3):0,!Nn||Nn.Bandwidth===Qa.Bandwidth&&Nn.Resolution===Qa.Resolution&&Nn.BufferLength===Qa.BufferLength&&Nn.CurrentBitrate===Qa.CurrentBitrate||Fn(c()({},Nn,{Resolution:Qa.Resolution,PlayerSize:to.current?to.current.clientWidth+"x"+to.current.clientHeight:"-",Bandwidth:Qa.Bandwidth,no_name_1:lo.current,FPS:vt,DropFrame:Qa.DropFrame,CurrentBitrate:Qa.CurrentBitrate,no_name_2:co.current,BufferLength:Qa.BufferLength,BufferStalled:gt}))}}return to.current&&(!w&&to.current.currentTime>1||w&&to.current.currentTime>w+1||at>5)&&b.emit("startPlaying"),!Lt&&Oa&&to.current&&0!==to.current.currentTime&&Zt(!0),!(to.current&&zn.uri&&zn.time-10<to.current.currentTime)||to.current.currentTime>zn.time||Un||Gn||Wn(!0),E.createElement("div",{className:za+" "+Ta+" "+(pt?"romeo-option-color":"")+" "+(oa?"":"romeo-not-first-load")+" "+ro.current+" "+(St&&!Oa?"romeo-squad-stream":"")+" "+(Ut&&!Et?"romeo-video-small-size":"")+" "+(Et?"romeo-video-player-mobile-style":""),"aria-label":"romeo-player"},E.createElement("video",(0,O.Z)({crossOrigin:"anonymous",controls:!f.customControls||void 0},en,{className:Fa},Ca,{autoPlay:!(!1===se||jt),muted:!!f.muted,preload:"meta",onPlaying:function(){To.type===P.Oq.HLS&&f.isLive&&To.HLS.startLoad(),f.debug&&console.log("==> VideoPlayer onVideoPlaying Loaded at:",(0,P.Xn)(!0)),to.current&&to.current.error?Qt(to.current.error):(vo(c()({},bo,{status:Xe.PLAYING})),Yn({type:A.aO.setVideoState,payload:{state:A.PO.VIDEOSTATE.PLAYING}}),b.emit("playing"),0===Oo&&(to.current.muted?Ro(1):(Ro(2),xo(!1)))),eo()},onPlay:function(){To.type===P.Oq.HLS&&f.isLive&&To.HLS.startLoad(),nr()},onPause:function(){To.type===P.Oq.HLS&&f.isLive&&To.HLS.stopLoad(),to.current.ended||(vo(c()({},bo,{status:Xe.PAUSE})),Yn({type:A.aO.setVideoState,payload:{state:A.PO.VIDEOSTATE.PAUSE}}),ir())},onEnded:function(){Jn.state===A.PO.LINEARADMODE.NOTSET&&Rn(!0),Yn({type:A.aO.setVideoState,payload:{state:A.PO.VIDEOSTATE.ENDED}}),v&&B().get(v)&&B().remove(v),lr()},onLoadedMetadata:function(){Oa&&(Zt(!0),Qr({loadMetaDataAt:Date.now()-Ot})),Q&&w&&Jn.state===A.PO.LINEARADMODE.NOTSET&&to.current&&!f.isTV&&(to.current.currentTime=w),ao.current=Ze,Va(),Oa&&!na?Yn({type:A.aO.setAdFirstLoad,payload:!0}):Oa||aa||Yn({type:A.aO.setContentFirstLoad,payload:!0}),f.debug&&console.log("==> VideoPlayer MetaData Loaded at:",(0,P.Xn)(!0)),oa||(Yn({type:A.aO.setFirstLoad,payload:!0}),b.emit("firstLoad",{adMode:Oa})),to&&to.current&&to.current.playbackRate&&ia!==to.current.playbackRate&&!Oa&&(to.current.playbackRate=ia),la.autoPlay&&to.current&&to.current.paused&&!jt&&va(),vo(c()({},bo,{status:Xe.LOADEDMETADATA})),Yn({type:A.aO.setVideoState,payload:{state:A.PO.VIDEOSTATE.READY}}),1!==Oo||to.current.muted||(Ro(2),xo(!1)),g&&Yo(N()(g).call(g,(function(e){return E.createElement("track",{label:e.label,kind:e.kind,srcLang:e.srclang,src:e.src,default:e.default,key:e.src})}))),mn(!0)},onCanPlayThrough:function(){f.debug&&console.log("==> VideoPlayer onVideoCanPlayThrough Loaded at:",(0,P.Xn)(!0)),Oa&&Zt(!0),vo(c()({},bo,{canPlayThrough:!0})),bo.firstPlay&&!zo&&va(),rr()},onTimeUpdate:function(){var e=Math.floor(to.current.currentTime);if(!Oa&&Ft&&Ft.start&&Ft.end&&e>=Ft.end+1&&Ea(),bo.status===Xe.WAITING&&e!==Do&&vo(c()({},bo,{status:Xe.PLAYING})),Mo(e),er(e,to.current),v){var t=Math.floor(e/5);t!==No&&(Fo(t),zo&&function(e){var t=e.resumeUID,r=e.currentTime;r>e.duration-15?B().remove(t):r>1&&B().set(t,r)}({resumeUID:v,duration:to.current.duration,currentTime:5*t,env:f}))}},onVolumeChange:function(){!to.current.muted&&Oo<2&&(Ro(2),xo(!1))},onError:ut?function(){}:function(e){Oa?jr(e):zr(to.current.error,P.Oq.HTML5)},onClick:qa,onSeeking:function(){ur()},onSeeked:function(){dr()},onEmptied:function(){f.debug&&console.log("==> VideoPlayer onEmptied Loaded at:",(0,P.Xn)(!0)),setTimeout((function(){to.current&&to.current.error&&Qt(to.current.error)}),250)},onWaiting:function(){ft&&!ht&&bt(!0),f.debug&&console.log("==> VideoPlayer onVideoCanPlayThrough Loaded at:",(0,P.Xn)(!0)),vo(c()({},bo,{status:Xe.WAITING}))},onStalled:function(){!navigator.onLine&&f.isTV&&sa.state===A.PO.MESSAGES.NOTSHOW&&Vn&&(qn(!1),Yn({type:A.aO.setMessages,payload:{state:A.PO.MESSAGES.SHOW,msg:f.messages.disconnected}}),Ea()),f.isLive&&To.type===P.Oq.HTML5&&b.emit("stalled",!0)},ref:to}),Ko,!Oa&&!f.isGameConsole&&Zo),f.isGameConsole&&Qn&&to.current&&aa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Pe,{videoRef:to.current,tracks:g,env:f,isUserActive:U,captions:pn,setCaptions:fn})),(-1===a()(n=[Xe.PLAY,Xe.PAUSE,Xe.PLAYING,Xe.LOADEDMETADATA]).call(n,bo.status)||ao.current===_e)&&f.customControls&&sa.state===A.PO.MESSAGES.NOTSHOW&&E.createElement("div",{className:"romeo-loading-spinner"},E.createElement("svg",{viewBox:"25 25 50 50"},E.createElement("circle",{cx:"50",cy:"50",r:"20"}))),j&&to.current&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Ae,{videoRef:to.current,env:f})),f.customControls&&to.current&&-1===a()(i=[A.PO.LINEARADMODE.WAIT2START,A.PO.LINEARADMODE.DISPLAY]).call(i,Jn.state)&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(re.Z,{env:f,envIcons:h,videoRef:to.current,sources:u,downloadSrc:G,currentSourceIndex:on,setCurrentSourceIndex:function(e){nn(e);var t=u[e];f.isTV?sn===Ge.NOTHING?tn({src:t.src,type:t.type}):ln(Ge.EMPTYSRC):(Qo([E.createElement("source",{src:t.src,type:t.type,key:t.src})]),ln(Ge.IMMEDIATE)),to.current&&(Wo(to.current.currentTime),Ea()),Bo(!1),mn(!1),vo(c()({},bo,{canPlayThrough:!1}))},audioTracks:ct,tracks:g,thumbs:y,seekTo:wa,volume:yo,setVolume:xa,muted:wo,setMuted:ka,tech:To,isUserActive:U,previewMode:C,adMode:Oa,goTheater:Jt,playVideo:va,pauseVideo:Ea,title:J,aparatLink:_,multiAudio:F,audioLangs:Z,setAudioLangs:Y,is360:j,setCast:function(){for(var e=null,t=0;t<to.current.textTracks.length;t++){var r=to.current.textTracks[t];"captions"===r.kind&&"showing"===r.mode&&(e=t)}var o={currentTime:to.current.currentTime,duration:to.current.duration,trackIndex:e};Yn({type:A.aO.setCastData,payload:c()({},o)}),fr()},appEmitter:b,boxEnd:fe,cast:L,seriesData:Qe,setPlayerFocus:br,getEpisode:gr,rootEl:ie,aparatLinkDisable:rt,setMultiSources:de,playerTechRef:$e,setSubtitleLang:function(e){ro.current=e},chapterlist:nt,HlsChunkDuration:yt,mobileStyle:Et,onVideoClick:qa,clip:Ft,controlbarScroll:zt,teleParty:jt,duration:Gt})),C&&fe&&he&&aa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(De,{previewMode:C,boxEnd:fe})),(!f.isIOS||f.isNewIOS)&&Jn.state!==A.PO.LINEARADMODE.DISPLAY&&1===Oo&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Te,{bigMuteButtonClick:function(){ka(!1)},env:f})),(bo.status===Xe.INIT||$n)&&(!la.autoPlay||!1===se)&&d&&E.createElement(E.Fragment,null,E.createElement("div",{className:"romeo-poster-parent",style:Na}),E.createElement("div",{className:"romeo-poster-child",style:Na})),Jn.state===A.PO.LINEARADMODE.NOTSET&&E.createElement(E.Fragment,null,x&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(ge,{url:x.url})),(k&&k.text||Ke||Mt&&Mt.text)&&to.current&&aa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement("div",{className:"isp-and-countdown-parent "+(f.isMobile?"isMobile-true-countdown":"")+" "+(f.isIOS?"romeo-isp-message-is-ios":"")},k&&k.text&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(ye,{options:k,isPaused:bo.status===Xe.PAUSE,isUserActive:U})),Mt&&Mt.text&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Ee,{text:Mt.text,description:Mt.description,isPaused:bo.status===Xe.PAUSE})),Ke&&"number"==typeof Ke&&Ke>0&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Me,{freeSansTimer:Ke,env:f,isUserActive:U,isPaused:bo.status===Xe.PAUSE,videoRef:to.current})))),R&&aa&&(!jt||!!jt&&ua)&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(we,{options:R,currentTime:Do,seekTo:wa,env:f})),L&&L.start&&L.nextPartUid&&L.start>0&&po.current&&to.current&&aa&&(!jt||!!jt&&ua)&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(xe,{options:L,currentTime:Do,env:f,videoRef:to.current,setPlayerFocus:br,getEpisode:gr})),E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(ve,{options:S||{},env:f,currentTime:Do,appEmitter:b,videoRef:to.current,tech:To.type,isAutoQuality:Dt.isAutoQuality,bufferStalledCount:gt,videoState:bo}))),(bo.canPlayThrough||bo.status===Xe.LOADEDMETADATA)&&f.customControls&&E.createElement("button",{type:"button",className:"romeo-overlay "+(to.current&&0===to.current.currentTime&&to.current.paused&&(!bo.firstPlay||ao.current===Ze)||("filimo-pause-ad"!==ea.type||ta.state===A.PO.PAUSEADSTATE.NOTSET)&&(f.isMobile&&to.current&&(to.current.paused||U)||ca&&to.current&&to.current.paused)?"show-bigplay":"")+" "+(bo.firstPlay&&ao.current!==Ze?"":"first-play"),style:Ha},to.current&&to.current.paused&&E.createElement(W.Z,null),to.current&&!to.current.paused&&E.createElement(X.Z,null)),(D||I)&&aa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(ke,{back:D,info:I,isPaused:bo.status===Xe.PAUSE,isUserActive:U})),It&&It.text&&aa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Se,{subscription:It,isPaused:bo.status===Xe.PAUSE,isUserActive:U,haveInfo:D||I,mobileStyle:Et})),E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(ee,{isPaused:bo.status===Xe.PAUSE,isSeeking:bn,setSeeking:vn,volume:yo,muted:wo,setChangeVolume:En,showChangeVolume:yn,isTV:f.isTV,playFeedBack:wn,pauseFeedBack:Tn,setPlayFeedBack:xn,setPauseFeedBack:An,env:f})),me&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Le,{liveTvList:me,sources:u,setMultiSources:de,isUserActive:U,env:f,mobileStyle:Et})),K&&to.current&&!kt&&E.createElement(be,{startTime:w,vmapUrl:K,appEmitter:b,isAbroad:$,env:f,setStartTime:oe,playerRef:le,adCurrentIndex:ce,setAdCurrentIndex:ue,videoRef:to.current,tech:To,changeCurrentLevel:kr,defaultResumeAt:lt,haveCastHistory:kt,setIsEmptyVmap:function(e){mo.current=e},forceMidRoll:Tt,changeVmapProfile:Qr,playerLoadedAt:Ot,canPlayAd:Lt,setCanPlayAd:Zt,poster:d,isUserActive:U,getSabaSID:Vt,mobileStyle:Et,playerTechRef:$e,setCatchOnTimeMidrolData:Bn,catchOnTimeMidrolData:zn,type:"vmap",duration:Gt}),oa&&(ne?Et&&f.customControls&&bo.status!==Xe.PLAYING?E.createElement(E.Fragment,null):E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Oe,{logo:ne,lang:ae})):E.createElement(E.Fragment,null)),!f.isMobile&&!f.isTV&&to.current&&oa&&!jt&&!da&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Re,{rootEl:ie,videoRef:to.current,appEmitter:b,toggleMutedVideo:function(){to.current.muted?ka(!1):ka(!0)},seekTo:wa,setVolume:xa,env:f,setUserActive:pe,goTheater:Jt,detailsTitle:Dn,hideDetails:Xa})),f.showRecom&&Jn.state===A.PO.LINEARADMODE.NOTSET&&(et||tt)&&!Et&&aa&&(!jt||!!jt&&ua)&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Ie,{showCustomRecom:On,recom:et,env:f,info:I,rate:tt,getEpisode:gr,cast:L,currentTime:Do,isUserActive:U})),!!jt&&jt.roomID&&jt.username&&oa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(ze,{env:f,videoRef:to.current,teleParty:jt,appEmitter:b,autoPlayPolicyCheck:Ht,changeMuted:ka,setTelepartyUsers:Wt})),!!jt&&jt.roomID&&jt.username&&!Oa&&oa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Be,{env:f,appEmitter:b,mobileStyle:Et,videoSmallSize:Ut})),f.showRate&&Jn.state===A.PO.LINEARADMODE.NOTSET&&tt&&Et&&aa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Ne,{showCustomRecom:On,env:f,cast:L,rate:tt,currentTime:Do})),to.current&&oa&&!f.isTV&&!f.isMobile&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Fe,{rootEl:ie,adMode:Oa,videoRef:to.current,tech:To,env:f,showDetails:function(e,t){Mn(t),Fn(e)},appEmitter:b})),Nn&&Dn&&oa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Ce,{env:f,back:D,info:I,detailsTitle:Dn,detailsData:Nn,hideDetails:Xa,appEmitter:b})),f.isLive&&fo.current&&fo.current>0&&aa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Ve,{env:f,viewerCount:fo.current})),f.showShare&&!Oa&&to.current&&aa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(qe,{videoRef:to.current,env:f,appEmitter:b,lang:ae,isUserActive:U,rootEl:ie,uid:Ct,title:J,mobileStyle:Et})),ca&&to.current&&aa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(He,{appEmitter:b,videoRef:to.current,isUserActive:U})),da&&to.current&&aa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(je,{env:f,qualityLevel:null==(l=To.HLS)?void 0:l.currentLevel,appEmitter:b,videoRef:to.current,source:u[0],hlsInstance:Nr})),f.showQuestion&&to.current&&Xt&&Xt.length&&aa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Ue,{videoRef:to.current,env:f,appEmitter:b,mobileStyle:Et,survey:Xt})),aa&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(We,{env:f,appEmitter:b,mobileStyle:Et})))},Ke=(r(75524),(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(3343).then(r.bind(r,59974))}),"Annotations")}))),Qe=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(3740).then(r.bind(r,88219))}),"PauseAdXml")})),$e=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(8481).then(r.bind(r,18062))}),"PauseAdFullscreen")})),et=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(1371).then(r.bind(r,67010))}),"BoostAD")})),tt=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(6703).then(r.bind(r,66232))}),"EndHtml")})),rt=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(5725).then(r.bind(r,4117))}),"EmbedPoster")})),ot=(0,E.lazy)((function(){return(0,P.XD)((function(){return Promise.all([r.e(4960),r.e(253)]).then(r.bind(r,62677))}),"TelePartyIntro")})),nt=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(4328).then(r.bind(r,11972))}),"SensitiveContent")})),at=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(2438).then(r.bind(r,92630))}),"CastPlayet")})),it=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(258).then(r.bind(r,83665))}),"FlashPlayer")})),st=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(3336).then(r.bind(r,24066))}),"IframeAd")})),lt=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(9525).then(r.bind(r,43957))}),"CachePlayer")})),ct=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(6232).then(r.bind(r,73473))}),"MainCachePlayer")})),ut=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(4256).then(r.bind(r,64136))}),"Channel")})),mt=(0,E.lazy)((function(){return(0,P.XD)((function(){return Promise.all([r.e(8991),r.e(4969)]).then(r.bind(r,28868))}),"WSTeleParty")})),dt=(0,E.lazy)((function(){return(0,P.XD)((function(){return r.e(4060).then(r.bind(r,88612))}),"ChatRoom")})),pt=A.PO.VIDEOSTATE,ft=function(e){var t,r,o,n=e.options,i=n.multiSRC,l=n.liveTvList,u=n.poster,d=n.seriesData,f=n.ad,h=f.adTag,b=f.vmap,v=f.boostAd,g=f.watermarkAd,S=f.iStartURL,w=f.forceMidRoll,x=f.getSabaSID,k=f.adInContent,R=n.annotations,D=n.logo,I=n.resumeUID,F=n.tracks,V=n.thumbs,z=n.endElementId,W=n.endElementTime,X=n.stats,G=n.startTime,_=n.isp,Z=n.intro,Y=n.cast,J=n.back,K=n.info,Q=n.multiAudio,$=n.previewMode,ee=n.is360,te=n.isAbroad,re=n.skinClass,oe=void 0===re?"":re,ne=n.title,ae=n.duration,ie=n.isLive,se=n.chatEnable,le=n.liveStatus,ce=n.lang,ue=n.aparatLink,me=n.sensitiveContent,de=n.autoPlay,pe=n.boxEnd,fe=n.freeSansTimer,he=n.recom,be=n.rate,ve=n.embedAutoplay,ge=n.aparatLinkDisable,ye=n.chapterlist,Ee=n.color,Se=n.squadStream,we=n.ageLimit,xe=n.subscription,ke=n.clip,Te=n.controlbarScroll,Ae=n.isEmbed,Pe=n.channel,Oe=n.teleParty,Re=n.disableFocusPlayer,Le=n.movieAgeRange,De=n.capLevelToPlayerSize,Me=n.survey,Ie=e.env,Ne=e.envIcons,Fe=e.appEmitter,Ce=e.rootEl,Ve=e.reloadCall,qe=e.haveHlsSource,He=e.havePseudoSource,ze=e.mpegUrlSource,Be=e.setReloadCall,je=void 0===Be?function(){}:Be,Ue=!ie&&I?"ar-"+I:void 0,We=B().get(Ue),Xe=window.location.search.split("?")[1];if(Xe)for(var Ge=Xe.split("&"),_e=0;_e<Ge.length;_e+=1)"t"===Ge[_e].split("=")[0]&&(o=Number(Ge[_e].split("=")[1]));var Ze=b?[]:i[0],Ye=0;"number"==typeof o?Ye=o:G?Ye=G:We&&(Ye=We);var ft=(0,E.useState)(Ye),ht=ft[0],bt=ft[1],vt=(0,E.useState)(0),gt=vt[0],yt=vt[1],Et=(0,E.useState)(Ze),St=Et[0],wt=Et[1],xt=(0,E.useState)(i),kt=xt[0],Tt=xt[1],At=(0,E.useState)(null),Pt=At[0],Ot=At[1],Rt=(0,E.useState)(null),Lt=Rt[0],Dt=Rt[1],Mt=(0,E.useState)(me),It=Mt[0],Nt=Mt[1],Ft=(0,E.useState)(0),Ct=Ft[0],Vt=Ft[1],qt=(0,E.useState)(!1),Ht=qt[0],zt=qt[1],Bt=(0,E.useState)(!1),jt=Bt[0],Ut=Bt[1],Wt=(0,E.useState)([]),Xt=Wt[0],Gt=Wt[1],_t=(0,H.v9)((function(e){return e.player})),Zt=(0,H.I0)(),Yt=_t.linearAdMode,Jt=_t.pauseAdState,Kt=_t.annotationState,Qt=_t.endHtml,$t=_t.initEmbed,er=_t.initTeleParty,tr=_t.messages,rr=_t.casting,or=_t.receiverAvailable,nr=_t.adMultiSrc,ar=_t.menuIsOpen,ir=_t.video,sr=_t.adBlocker,lr=_t.firstLoad,cr=_t.contentFirstLoad,ur=_t.autoplaySupported,mr=_t.miniPlayer,dr=_t.pauseAdBanner,pr=_t.isAdminTeleParty,fr=(0,E.useRef)(null),hr=(0,E.useRef)(null),br=(0,E.useRef)(!1),vr=(0,E.useRef)(null),gr=(0,E.useRef)(!1),yr=(0,E.useRef)(!1),Er=(0,E.useRef)(!1),Sr=(0,E.useRef)(-1),wr=(0,E.useRef)(!1),xr=(0,E.useRef)(!1),kr=(0,E.useRef)(!1),Tr=(0,E.useRef)([]),Ar=(0,E.useRef)(-1),Pr=(0,E.useRef)(!1),Or=(0,E.useRef)(!1),Rr=(0,E.useRef)(!1),Lr=(0,E.useRef)(!1),Dr=(0,E.useRef)(!1),Mr=(0,E.useRef)(0),Ir=(0,E.useRef)(0),Nr=(0,E.useRef)(!1),Fr=(0,E.useRef)({}),Cr=(0,E.useRef)(Date.now()),Vr=(0,E.useRef)(!1),qr=(0,E.useRef)(!0),Hr=(0,E.useRef)(se),zr=(0,E.useRef)(!1),Br=(0,E.useRef)(le),jr=(0,E.useRef)(!1),Ur=(0,E.useRef)(3),Wr=(0,E.useRef)({isAutoQuality:!0}),Xr=(0,E.useRef)(!1),Gr=(0,E.useRef)({data:[],isSend:!1}),_r=(0,E.useRef)(!1),Zr=(0,E.useState)(!1),Yr=Zr[0],Jr=Zr[1],Kr=(0,E.useState)(!1),Qr=Kr[0],$r=Kr[1],eo=(0,E.useState)(!1),to=eo[0],ro=eo[1],oo={},no=(0,E.useState)(null),ao=no[0],io=no[1],so=(0,E.useState)(!1),lo=so[0],co=so[1],uo=(0,E.useState)(!1),mo=uo[0],po=uo[1],fo=(0,E.useState)(!1),ho=fo[0],bo=fo[1],vo=(0,E.useState)(!1),go=vo[0],yo=vo[1],Eo=(0,E.useState)([]),So=Eo[0],wo=Eo[1],xo=(0,E.useState)(!1),ko=xo[0],To=xo[1],Ao=null,Po=(0,E.useRef)((function(){}));Po.current=function(e){io(e)};var Oo=(0,E.useRef)(null);ao&&lo&&mo&&(Tt(ao),co(!1),io(null),po(!1));var Ro=function(){fr.current&&clearTimeout(fr.current),Ie.isVestelTV?Jr(!1):ar?Jr(!0):(Jr(!0),fr.current=setTimeout((function(){Jr(!1)}),5e3))},Lo=Yt.state!==A.PO.LINEARADMODE.NOTSET;hr.current&&hr.current.clientWidth<=768&&!Qr?$r(!0):hr.current&&hr.current.clientWidth>768&&Qr&&$r(!1);var Do=function(){Jr(!1)},Mo=function(){Re||hr.current&&hr.current.focus()};!Ie.isChrome||Ie.isTV||zr.current||function(){if(window.chrome&&window.chrome.cast){!0,zr.current=true;var e=new window.chrome.cast.SessionRequest(window.chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID),t=new window.chrome.cast.ApiConfig(e,(function(e){oo.session=e}),(function(e){e===window.chrome.cast.ReceiverAvailability.AVAILABLE?or||(Ie.debug&&console.log("==> Player find reciver and dispatch:",(0,P.Xn)(!0)),Zt({type:A.aO.setReceiverAvailable,payload:!0})):or&&(Zt({type:A.aO.setReceiverAvailable,payload:!1}),rr&&(Zt({type:A.aO.setCastData,payload:{}}),Zt({type:A.aO.setCast,payload:!1}),Dt(null)))}));window.chrome.cast.initialize(t,(function(){}))}}();var Io=function(e){if(Lt&&Lt.media&&Lt.media[Lt.media.length-1]){var t=Lt.media[Lt.media.length-1];t.pause(),ht!==t.currentTime&&bt(t.currentTime)}e&&Lt&&(Lt.stop(),Dr.current=!0),setTimeout((function(){Zt({type:A.aO.setMessages,payload:{state:A.PO.MESSAGES.NOTSHOW}})}),1e4),Dt(null),setTimeout((function(){Zt({type:A.aO.setCastData,payload:{}}),Zt({type:A.aO.setCast,payload:!1})}),750)},No=function(e){Er.current!==e&&(Er.current=e)},Fo=function(e,t,r,o){void 0===t&&(t=""),void 0===o&&(o=!1);var n=!!o&&Ie.ad.xhrRetry+1-o,a={error:e,tags:"ad_error, "+e+(n?", retry_"+n:""),level:"Error",tech:vr.current||"",isIR:Ie.isIR,errorLog:t.toString()};"timeout"===e&&(a.adDetail=Fr.current,a.adDetail.fireTime=Date.now()-Cr.current,B().set("romeo-slow-throttle",!0)),"Not a VMAP document"===e&&Math.floor(100*Math.random())>=50&&(a.xmlPayload=r&&""!==r&&"{}"!==r?r:"empty"),"content-type application/json"===e&&Math.floor(100*Math.random())>=50&&(a.xmlPayload=p()(r)),Fe.emit("sendErrorLog",a)},Co=function(e){Wr.current=c()({},Wr.current,e)},Vo=function(e){Zt({type:A.aO.setMiniPlayer,payload:e})},qo=function(){_r.current=!0};if((0,E.useEffect)((function(){Ie.debug&&console.log("==> Player Loaded at:",(0,P.Xn)(!0)),jr.current="visible"===document.visibilityState,Ve&&(Zt({type:A.aO.setDefaultStore}),je(!1)),Ie.isTV||function(e){var t=y().document.createElement("video");t.autoplay=!0,t.muted=!1,t.setAttribute("webkit-playsinline","webkit-playsinline"),t.setAttribute("playsinline","playsinline"),t.src="data:audio/mpeg;base64,/+MYxAAAAANIAUAAAASEEB/jwOFM/0MM/90b/+RhST//w4NFwOjf///PZu////9lns5GFDv//l9GlUIEEIAAAgIg8Ir/JGq3/+MYxDsLIj5QMYcoAP0dv9HIjUcH//yYSg+CIbkGP//8w0bLVjUP///3Z0x5QCAv/yLjwtGKTEFNRTMuOTeqqqqqqqqqqqqq/+MYxEkNmdJkUYc4AKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",t.style.display="none",t.load();var r=t.play();void 0!==r&&function(e){e&&e.then((function(){Ur.current=1})).catch((function(){Ur.current=2}))}(r)}(),kr.current=ht,Fe.on("setCatchSource",No),null===ur.autoPlay&&function(){if(Ie.isTV)return Zt({type:A.aO.setAutoplaySupported,payload:{autoPlay:!0,muted:!1}}),{autoPlay:!0,muted:!1};var e,t,r,o;e=function(e){Zt({type:A.aO.setAutoplaySupported,payload:e})},t=1e3,r=!1,o=function(t){r||(r=!0,e({autoPlay:!0,muted:t}))},e&&(!y().navigator.userAgent.match(/(iPhone|iPod)/g)||"playsInline"in y().document.createElement("video")?(j(!1,(function(){o(!1)})),setTimeout((function(){j(!0,(function(){o(!0)}))}),t/25),setTimeout((function(){r||(r=!0,e({autoPlay:!1,muted:!1}))}),t)):e({autoPlay:!1,muted:!1}))}(),hr.current&&!Re&&hr.current.focus(),Ce.addEventListener("mouseleave",Do);var e=function(e){var t;t=e,Br.current=t},t=function(e){var t;t=e,Hr.current=t},r=function(e){Po.current(e)};if(ie&&(Fe.on("nextSrc",r),Fe.on("chatEnable",t),Fe.on("liveStatus",e)),Q&&Ie.isTV){for(var o=[],n=function(e){var t=i[e][0].lang;t&&(M()(o).call(o,(function(e){return e.name===t}))||o.push({name:t,index:e,selected:e===gt}))},a=0;a<i.length;a++)n(a);o.length>0&&Ot(o)}return Fe.on("adError",Fo),Fe.on("setVisitPost",Co),Fe.on("miniPlayer",Vo),Fe.on("domAccess",qo),function(){rr&&Ie.mustStopCast&&Io(!0),Fe.off("setCatchSource",No),Fe.off("adError",Fo),Fe.off("setVisitPost",Co),Fe.off("miniPlayer",Vo),Fe.off("domAccess",qo),ie&&(Fe.off("nextSrc",r),Fe.off("chatEnable",t),Fe.off("liveStatus",e),Ce.removeEventListener("mouseleave",Do))}}),[i]),ee&&Ie.isTV&&tr.state!==A.PO.MESSAGES.SHOW&&Zt({type:A.aO.setMessages,payload:{state:A.PO.MESSAGES.SHOW,msg:Ie.messages.canNot360}}),$t&&!ve)return E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(rt,{poster:u,title:ne,duration:ae,env:Ie,channel:Pe,envIcons:Ne}));if(It)return E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(nt,{poster:u,env:Ie,setSensitiveContent:function(){Nt(!1)}}));if(er)return E.createElement(E.Fragment,null,E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(mt,{env:Ie,teleParty:Oe,appEmitter:Fe,autoPlayPolicyCheck:Ur,setTelepartyUsers:wo})),E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(ot,{appEmitter:Fe,env:Ie,teleParty:Oe,poster:u,logo:D,rootEl:Ce,duration:ae,info:K,movieAgeRange:Le,telepartyUsers:So})));var Ho,zo=function(e){var t="";if(nr.length>0&&nr[Ct+1]&&nr[Ct+1][0]?(Vt(Ct+1),t="switch_next_src"):(Fe.emit("doFinishAd"),t="not_next_src"),"HLS"===vr.current){var r="";"manifestLoadError"===e.details&&nr&&nr[Ct]&&nr[Ct][0]&&(r=nr[Ct][0].fileURL),Fe.emit("adError","videoError_"+(e.details||"noDetail")+", "+t,r)}else"HTML5"===vr.current&&Fe.emit("adError","videoError_"+(e.code||"noCode")+", "+t)},Bo=function(e){var t={},r="video_error",o=0,n=null;if("HLS"===vr.current){n="HLS";try{t=p()(e)}catch(r){t={tech:"HLS",currentSourceIndex:gt,error:e.e,type:e.data?e.data.type:null,details:e.data?e.data.details:null,src:i[gt],response:e.data?{code:e.data.response?e.data.response.code:null,text:e.data.response?e.data.response.text:null}:null,context:e.data?{url:e.data.context?e.data.context.url:null,responseType:e.data.context?e.data.context.responseType:null}:null},t=p()(t)}r+=", hls, retry_chunk",o=e&&e.data&&e.data.response&&e.data.response.code?e.data.response.code:0}else if("HTML5"===vr.current)n="HTML5",t={tech:"HTML5",code:e.code||"not_code",message:e.message||"not_message",currentSourceIndex:gt},t=p()(t),r+=", html5",o=e&&e.code?e.code:0;else if("DASH"===vr.current){n="DASH";try{t=p()(e)}catch(r){t={tech:"DASH",currentSourceIndex:gt,code:e.error?e.error.code:null,message:e.error?e.error.message:null},t=p()(t)}r+=", dash",o=e&&e.error&&e.error.code?e.error.code:0}var a={tech_type:n,linear_ad_mode:Yt.state!==A.PO.LINEARADMODE.NOTSET};Fe.emit("changeErrorLog",a);var s={error:"string"==typeof t?t:"",tags:r,level:"Fatal",isBlobSrc:Vr.current,isEmbed:!!Ae};if(Fe.emit("onError",o),i.length-1>gt){if(s.tags=r+", fallback, next_src",Ie.debug&&console.log("==> Player onError:",(0,P.Xn)(!0),e),Ue){var l=B().get(Ue);l>0&&bt(l)}yt(gt+1)}else{s.tags=r+", not_next_src",console.log("Err",e);var c=Ie.messages.errors.default;if(e&&e.code)switch(e.code){case 2:c=Ie.messages.errors.code2;break;case 3:c=Ie.messages.errors.code3;break;default:c=Ie.messages.errors.code}else if(e&&e.hls&&e.data&&"networkError"===e.data.type)switch(e.data.details){case"keyLoadTimeOut":case"fragLoadTimeOut":case"levelLoadTimeOut":case"manifestLoadTimeOut":c=Ie.messages.errors.timeout;break;case"levelLoadError":case"manifestParsingError":case"manifestLoadError":case"fragLoadError":case"keyLoadError":c=Ie.messages.errors.loadError;break;default:c=e.data.details}yr.current?c=Ie.messages.errors.ban:Ut(!0),ie||Zt({type:A.aO.setMessages,payload:{state:A.PO.MESSAGES.ERR,msg:c}})}Fe.emit("sendErrorLog",s)},jo=function(e){Nr.current=e},Uo=function(e,t){Ie.debug&&(console.log("==> VideoPlayer OnError Loaded at:",(0,P.Xn)(!0)),console.log("==> VideoPlayer error",e,t,Lo)),Pr.current&&t!==P.Oq.HLS||Or.current&&t!==P.Oq.DASH||(e&&e.mainVideo&&Lo?jo({e:e,fire:t}):Bo(e||{}))},Wo=function(e){"download"===e.error&&Uo(e,P.Oq.DASH)},Xo={},Go=[],_o=M()(kt).call(kt,(function(e){return M()(e).call(e,(function(e){return(0,P.FA)(e.type)}))}));Lo?(!Yt.source||0!==St.length&&St[0].src===Yt.source.src||wt([c()({},Yt.source)]),Xo={onPlay:function(){Fe.emit("adPlay")},onPlaying:function(){Fe.emit("adPlaying")},onCanPlayThrough:function(){Fe.emit("adCanPlayThrough")},onPause:function(){Fe.emit("adPause")},onTimeUpdate:function(e){Fe.emit("adTimeupdate",e)},onEnded:function(){Fe.emit("adEnded"),0!==Ct&&Vt(0)},onError:zo}):(gt<kt.length&&(0!==St.length&&St[0].src===kt[gt][0].src||wt(kt[gt])),R&&R.data.length>0&&(Go=N()(Ho=R.data).call(Ho,(function(e){var t=e;return t.end||(t.end=e.start+R.duration),t}))),Xo={resumeUID:Ue,tracks:F,thumbs:V,stats:X,startTime:ht,watermarkAd:g,isp:_,intro:Z,cast:Y,back:J,info:K,multiAudio:Q,previewMode:$,is360:ee,liveStatus:Br.current,isLive:ie,lang:ce,chatEnabled:Hr.current,aparatLink:ue,title:ne,audioLangs:Pt,setAudioLangs:function(e,t){for(var r=t,o=0;o<r.length;o++)r[o].selected=o===e;if(Ue){var n=B().get(Ue);n>0&&bt(n)}Ot(r),yt(e)},onError:Bo,onEnded:function(){if(Fe.emit("ended"),pe&&$)zt(!0);else if($&&!pe){var e=y().document.getElementById($.messageId);if(e&&e.style&&e.className){var t;e.style.display="block";var r=C()(t=e.className.replace("hidden","")).call(t);e.className=r+" preview-end-message",Ce.appendChild(e)}}else Qt===A.PO.ENDHTML.INIT&&Zt({type:A.aO.setEndHtml,payload:A.PO.ENDHTML.SHOW})},onPlay:function(){tr.state===A.PO.MESSAGES.ERR&&Zt({type:A.aO.setMessages,payload:{state:A.PO.MESSAGES.NOTSHOW,msg:""}}),jt&&Ut(!1),yr.current&&(yr.current=!1),Fe.emit("play"),Qt!==A.PO.ENDHTML.SHOW||W||Zt({type:A.aO.setEndHtml,payload:A.PO.ENDHTML.INIT})},onSeeking:function(){Fe.emit("seeking")},onSeeked:function(){Fe.emit("seeked")},onPause:function(){Fe.emit("pause")}},Xo.onTimeUpdate=ie?L()((function(e,t){var r=0;try{r=t.buffered.end(0)}catch(e){}var o={progress:e,muted:t.muted,volume:t.volume,buffered:r,videoHeight:t.videoHeight||0,videoWidth:t.videoWidth||0,clientHeight:t.clientHeight||0,clientWidth:t.clientWidth||0};Fe.emit("timeupdate",o)}),2e3):function(e){var t;if(Fe.emit("timeupdate",e),Gr.current.isSend||o||G||!k||"number"!=typeof k.start||"number"!=typeof k.end||(e>=k.start&&e<=k.end?q()(t=Gr.current.data).call(t,e)||Gr.current.data.push(e):e>k.end&&(Gr.current.isSend=!0,Gr.current.data.length===k.end-k.start+1?Fe.emit("adInContent",!0):Fe.emit("adInContent",!1))),R&&Kt.state)for(var r=0;r<Kt.state.length;r+=1)if(0===Kt.state[r].state)e>Kt.state[r].start&&(Kt.state[r].state=1,Zt({type:A.aO.setAnnotationState,payload:Kt}));else if(e>Kt.state[r].end){var n;m()(n=Kt.state).call(n,r,1),0===Kt.state.length?Zt({type:A.aO.setAnnotationState,payload:0}):Zt({type:A.aO.setAnnotationState,payload:Kt})}z&&W&&Qt===A.PO.ENDHTML.INIT&&e>W&&(Zt({type:A.aO.setEndHtml,payload:A.PO.ENDHTML.SHOW}),Fe.emit("doPause"))});var Zo=L()((function(){Ie.isMobile&&Ie.customControls||Ro()}),1e3,{leading:!0,trailing:!1}),Yo=function(){rr?Io(!0):(Ie.debug&&console.log("==> Player call to start cast:",(0,P.Xn)(!0)),setTimeout((function(){Ie.debug&&console.log("==> Player setTimeout for set reciver to cast:",(0,P.Xn)(!0));var e=new window.chrome.cast.SessionRequest(window.chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID);window.chrome.cast.requestSession((function(e){Zt({type:A.aO.setCast,payload:!0}),Dt(e),Ie.debug&&console.log("==> Player set cast and set current session:",(0,P.Xn)(!0))}),(function(){}),e)}),1e3),tr.state===A.PO.MESSAGES.SHOW&&Zt({type:A.aO.setMessages,payload:{state:A.PO.MESSAGES.NOTSHOW}}))},Jo=0;hr&&hr.current&&(Jo=hr.current.clientWidth);var Ko="romeo-client-width-";hr&&hr.current&&(hr.current.clientWidth<=576?Ko+="portrait-phones":hr.current.clientWidth>576&&hr.current.clientWidth<=768?Ko+="landscape-phones":hr.current.clientWidth>768&&hr.current.clientWidth<=992?Ko+="tablets":hr.current.clientWidth>992&&hr.current.clientWidth<=1200?Ko+="desktops":hr.current.clientWidth>1200&&(Ko+="large-desktops"));var Qo="";Ie.isFlashPlayer&&(Qo=" romeo-flashplayer-true");var $o=function(e,t){if(void 0===t&&(t=!1),t)window.location.href=t;else{var r=window.location.origin+"/api/fa/v1/movie/watch/watch/uid/"+e;Ie.isTV&&(r+="?issmart=1"),Oe&&(r=a()(r).call(r,"?")>-1?r+"&party="+Oe.roomID:r+"?party="+Oe.roomID),To(!0),Fe.emit("doPause"),T()({url:r,options:{method:"GET"}},(function(t,r,o){if(t||200!==r.statusCode)window.location.href="/m/"+e;else{Zt({type:A.aO.setDefaultStore}),Oe?window.history.pushState("","","/w/"+e+window.location.search):window.history.pushState("","","/w/"+e);var n=JSON.parse(o);n&&n.data&&n.data.attributes&&(n.data.attributes.info&&n.data.attributes.info.text&&(window.document.title=n.data.attributes.info.text),Ie.debug&&console.log(n.data.attributes),Oe&&pr&&Fe.emit("sendTelepartyMessage",{type:"change-source",content:p()(n.data.attributes)}),Fe.emit("reload",n.data.attributes))}}))}};if(Yt.state!==A.PO.LINEARADMODE.NOTSET)if(Oo&&Oo.current&&0===Oo.current.clientHeight&&!sr){var en=document.getElementById("romeo-detect");en&&window.getComputedStyle&&window.getComputedStyle(en,null)&&"none"===window.getComputedStyle(en,null).display&&(Zt({type:A.aO.setAdBlocker,payload:!0}),(b||h||S)&&function(){if(Ie.sendStatXhr){var e={app:Ie.domain,tech:vr.current||"",spa:Ie.isSPA,isIR:Ie.isIR},t={url:"/external/romeo/detect",body:p()(e),method:"POST",headers:{"content-type":"application/json"}};T()(t,(function(){}))}}())}else Oo&&Oo.current&&Oo.current.clientHeight>0&&sr&&Zt({type:A.aO.setAdBlocker,payload:!1});var tn=function(e){Fr.current=c()({},Fr.current,e)},rn=function(e){yr.current=e};ho&&(Ie.masterManifestReusable?Fe.emit("hotReload"):Ie.masterManifestReusable||(Zt({type:A.aO.setMessages,payload:{state:A.PO.MESSAGES.SHOW,msg:Ie.messages.errors.masterManifestExpire}}),Ut(!0)),bo(!1),ro(!1));var on=function(e,t,r,o,n){void 0===o&&(o=!1),void 0===n&&(n=!1);var a=null;if(o?kt[gt]&&kt[gt][0]&&(0,P.Bb)(kt[gt][0].type)&&(a=kt[gt][0]):a=r,!a)return null;var i={debug:Ie.debug,autoStartLoad:!0,maxStarvationDelay:ie||n?2:5,manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:n?5e3:1e4,maxLoadTimeMs:n?1e4:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:500,maxRetryDelayMs:2e3},errorRetry:{maxNumRetry:2,retryDelayMs:500,maxRetryDelayMs:2e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:n?1e3:1e4,maxLoadTimeMs:n?3e4:6e4,timeoutRetry:{maxNumRetry:n?2:5,retryDelayMs:n?200:500,maxRetryDelayMs:n?800:2e3},errorRetry:{maxNumRetry:n?2:5,retryDelayMs:n?200:500,maxRetryDelayMs:n?800:2e3}}},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},certLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},maxMaxBufferLength:300,appendErrorMaxRetry:6,maxBufferLength:30,maxBufferSize:6e7,maxBufferHole:.5,highBufferWatchdogPeriod:3,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,enableWorker:!0,enableSoftwareAES:!0,liveSyncDurationCount:2,liveBackBufferLength:600,startFragPrefetch:!0,testBandwidth:!0,hls:{capLevelToPlayerSize:"boolean"!=typeof De||De}};ie&&(i.live=!0,i.manifestLoadPolicy.default.timeoutRetry.maxRetryDelayMs=94e3,i.playlistLoadPolicy.default.timeoutRetry.maxRetryDelayMs=94e3,i.fragLoadPolicy.default.timeoutRetry.maxRetryDelayMs=94e3,i.steeringManifestLoadPolicy.default.timeoutRetry.maxRetryDelayMs=94e3);var l=new e(i);return l.on(e.Events.LEVEL_LOADED,(function(e,t){Lo&&tn({hlsLevelLoadedAt:Date.now()-Cr.current}),t&&t.details&&(Lr.current=t.details.targetduration)})),n&&l.on(e.Events.MANIFEST_PARSED,(function(){tn({hlsManifestLoadedAt:Date.now()-Cr.current})})),l.on(e.Events.FRAG_PARSING_DATA,(function(e,t){if("video"===t.type){var r=t.nb/(t.endPTS-t.startPTS),o=s()(r).toFixed(3),n=o.toString();(n=o.split("."))&&n[1]&&"000"===n[1]&&(o=Number(n[0])),Mr.current!==o&&(Mr.current=o)}})),l.on(e.Events.ERROR,(function(r,a){if(Ie.debug&&console.log("==> VideoPlayer (Hls.Events.ERROR) Loaded at:",(0,P.Xn)(!0),r,a),a.details===e.ErrorDetails.FRAG_LOAD_TIMEOUT)l.config.fragLoadPolicy.default.maxTimeToFirstByteMs=Ie.maxTimeToFirstByte;else if(n&&!o)if(a.fatal)zo(a);else{if(a.type!==e.ErrorTypes.MEDIA_ERROR)return null;a.details===e.ErrorDetails.BUFFER_APPEND_ERROR&&zo(a)}else if(a.type===e.ErrorTypes.NETWORK_ERROR&&a.response&&404===a.response.code)Uo({e:r,data:a,hls:l,Hls:e,mainVideo:!0},P.Oq.HLS),l.stopLoad();else if(a.type===e.ErrorTypes.NETWORK_ERROR&&a.response&&403===a.response.code)rn(!0),ho||bo(!0),l.stopLoad();else if(a.type===e.ErrorTypes.NETWORK_ERROR&&a.response&&a.response.code>=400&&ie){if(0===t.buffered.length)Fe.emit("onError",a.response.code);else{var i=t.buffered.end(0);(t.paused||i-t.currentTime<10)&&Fe.emit("onError",a.response.code)}428===a.response.code&&(co(!0),l.stopLoad())}else if(a.fatal)a.type===e.ErrorTypes.MEDIA_ERROR?l.recoverMediaError():Uo({e:r,data:a,hls:l,Hls:e,mainVideo:!0},P.Oq.HLS);else{if(a.type!==e.ErrorTypes.MEDIA_ERROR)return null;a.details===e.ErrorDetails.BUFFER_APPENDING_ERROR&&(Ar.current+=1,l.levels[Ar.current]?(l.currentLevel=Ar.current,l.startLoad(),B().set("romeo-quality",-1)):Ar.current=-1,l.swapAudioCodec(),l.recoverMediaError()),a.details===e.ErrorDetails.BUFFER_STALLED_ERROR&&(Fe.emit("stalled",!0),Ir.current+=1,to||ro(!0))}})),l.on(e.Events.AUDIO_TRACKS_UPDATED,(function(e,t){var r;0!==t.audioTracks.length&&(r=t.audioTracks,Gt(r))})),l.loadSource(a.src),o&&(Ao=l),l},nn=function(e,t,r,o){void 0===o&&(o=!1);var n=null;if(o?kt[gt]&&kt[gt][0]&&(0,P.kI)(kt[gt][0].type)&&(n=kt[gt][0]):n=r,!n)return null;var a=e.MediaPlayer().create();return a.initialize(),a.attachSource(n.src),a.updateSettings({debug:{logLevel:e.Debug.LOG_LEVEL_NONE}}),a.on("error",Wo),a.on("playbackMetaDataLoaded",(function(){return function(e){Gt(e.getTracksFor("audio"))}(a)})),o&&(xr.current=a),a},an="";return hr&&hr.current&&Ie.isTV&&oe&&(hr.current.clientWidth<600?an="tv-style-max-width-600":hr.current.clientWidth<950?an="tv-style-max-width-950":hr.current.clientWidth<1070&&(an="tv-style-max-width-1070")),mr&&!Xr.current&&hr&&hr.current&&hr.current.clientWidth<300?Xr.current=!0:mr&&Xr.current&&hr&&hr.current&&hr.current.clientWidth>300&&(Xr.current=!1),St[0]&&St[0].src&&a()(t=St[0].src).call(t,"blob")>-1&&!Vr.current?Vr.current=!0:St[0]&&St[0].src&&-1===a()(r=St[0].src).call(r,"blob")&&Vr.current&&(Vr.current=!1),E.createElement("div",{tabIndex:0,className:"romeo-container\n "+(oe&&Ie.isLive?"romeo-isTV-true-live":"")+"\n lang-"+Ie.lang+"\n "+an+"\n direction-"+Ie.lang+"\n "+oe+"\n "+(ie&&!Ie.isEventLive?"romeo-live":"")+"\n "+(Ie.isEventLive?"romeo-progress-live":"")+"\n "+Ko+"\n "+Qo+"\n "+(Qr?"romeo-mobile-style":"")+"\n "+(Xr.current?"romeo-small-mini-player":"")+"\n "+(Pe&&Ae&&Qr?"romeo-channel-mobilestyle":"")+"\n "+(Oe&&Qr?"romeo-tele-party-mobile":"")+"\n "+(mr?"romeo-mini-player-wrapper":"")+"\n "+(ue?"romeo-has-aparat-link":""),onMouseMove:Zo,onTouchStart:Zo,ref:hr},E.createElement("div",{className:"romeo-16-9"}),ko&&E.createElement("div",{className:"romeo-loading-wrapper"},E.createElement("div",{className:"romeo-loading-filimo",title:Ie.messages.wait},E.createElement("svg",{viewBox:"25 25 50 50"},E.createElement("circle",{cx:"50",cy:"50",r:"20"})))),hr.current&&hr.current.clientHeight>0&&E.createElement("div",{id:"wrapfabtest"},E.createElement("div",{className:"adBanner ad-banner",id:"romeo-detect",ref:Oo,style:{height:1,width:1,display:"inline"}})),tr.state!==A.PO.MESSAGES.NOTSHOW&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(U,{msg:tr.msg||"",showReloadBtn:jt,env:Ie,appEmitter:Fe})),!rr&&!(ee&&Ie.isTV)&&!Ie.isFlashPlayer&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Je,(0,O.Z)({sources:St,poster:u,env:Ie,envIcons:Ne,appEmitter:Fe},Xo,{goTheater:function(){var e;Mo(),ie?(e=!qr.current,qr.current=e,Fe.emit("chatOpen",!qr.current)):Fe.emit("gotheater")},isUserActive:Yr,downloadSrc:_o,setCast:Yo,logo:D,vmap:b,adTag:h,isAbroad:te,setStartTime:bt,lang:ce,rootEl:Ce,autoPlay:de,playerRef:hr.current,adCurrentIndex:Ct,setAdCurrentIndex:Vt,liveTvList:l,setMultiSources:Tt,setUserActive:Ro,boxEnd:pe,showBoxEnd:Ht,toggleShowBoxEnd:zt,freeSansTimer:fe,seriesData:d,setPlayerFocus:Mo,getEpisode:$o,changePlayerTech:function(e){vr.current=e},playerTechRef:vr.current,recom:he,rate:be,aparatLinkDisable:ge,haveVideoBuffer:gr.current,changeHvaeBuffer:function(e){gr.current=e},changeIsBan:rn,changeCurrentLevel:function(e){Sr.current=e},currentLevelRef:Sr.current,chapterlist:ye,sourceNotSupported:function(){if(i.length-1>gt)yt(gt+1);else{var e=Ie.messages.errors.code3;Zt({type:A.aO.setMessages,payload:{state:A.PO.MESSAGES.ERR,msg:e}})}},currectBufferLength:wr.current,changeCurrectBufferLength:function(e){wr.current=e},cacheHlsObject:Ao,changeCacheHlsObject:function(e){Ao=e},firstloadStat:Tr.current,sendFirstloadStat:function(e){Tr.current.push(e)},defaultResumeAt:kr.current,hlsInstance:on,audioTracks:Xt,useHlsJS:Pr.current,changeUseHlsJS:function(e){Pr.current=e},changeUseDashJS:function(e){Or.current=e},handleError:Uo,adOnError:zo,changeHavePreRolBuffer:function(e){Rr.current=e},havePreRolBuffer:Rr.current,dashInstance:nn,cacheDashObject:xr.current,changeCacheDashObject:function(e){xr.current=e},color:Ee,expireLiveSource:lo,setVideoWaiting:po,videoWaiting:mo,videoFPS:Mr.current,bufferStalledCount:Ir.current,HlsChunkDuration:Lr.current,mobileStyle:Qr,squadStream:Se,haveHlsSource:qe,havePseudoSource:He,haveCastHistory:Dr.current,forceMidRoll:w,mainVideoError:Nr.current,changeMainVideoError:jo,changeVmapProfile:tn,vmapProfile:Fr.current,playerLoadedAt:Cr.current,isBlobSrc:Vr.current,visitPostData:Wr.current,ageLimit:we,subscription:xe,endElementTime:W,clip:ke,uid:I,canPlayAdRef:br.current,setCanPlayAd:function(e){void 0===e&&(e=!0),br.current=e},getSabaSID:x,isTabActive:jr.current,autoPlayPolicyCheck:Ur.current,controlbarScroll:Te,isEmbed:Ae,teleParty:Oe,videoSmallSize:go,setTelepartyUsers:wo,survey:Me,duration:ae}))),Ie.isFlashPlayer&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(it,(0,O.Z)({sources:i,env:Ie,envIcons:Ne,tracks:F,isUserActive:Yr},Xo,{appEmitter:Fe,stats:X,getEpisode:$o,seriesData:d,cast:Y,mobileStyle:Qr}))),rr&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(at,(0,O.Z)({sources:ze,env:Ie,envIcons:Ne,appEmitter:Fe},Xo,{currentSession:Lt,setCast:Yo,setStartTime:bt,sessionStop:Io,resumeUID:Ue,poster:u,title:ne,stats:X,mobileStyle:Qr,tracks:F}))),Er.current&&wr.current&&wr.current>Er.current.start&&lr&&!Lo&&!Ie.isTV&&!sr&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(lt,{source:Er.current,sourceCached:function(){Er.current=!1},env:Ie,hlsInstance:on,dashInstance:nn})),Lo&&"preRoll"===Yt.break&&Rr.current&&!Ie.isTV&&hr.current&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(ct,{cacheHlsObject:Ao,cacheDashObject:xr.current,playerRef:hr.current})),!!Oe&&Oe.roomID&&Oe.username&&!Lo&&lr&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(dt,{env:Ie,teleParty:Oe,appEmitter:Fe,videoSmallSize:go,setVideoSmallSize:yo,mobileStyle:Qr,info:K,telepartyUsers:So})),!b&&S&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(st,{src:S})),v&&ir.state!==pt.ENDED&&lr&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(et,{boostAd:v,hasLinearAdMode:Lo,appEmitter:Fe})),1===dr.state&&!Ie.isMobile&&!Lo&&Jt.state!==A.PO.PAUSEADSTATE.NOTSET&&!sr&&cr&&"aparat-pause-ad"===dr.type&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Qe,{setPlayerFocus:Mo,width:Jo})),1===dr.state&&!Lo&&Jt.state!==A.PO.PAUSEADSTATE.NOTSET&&!sr&&cr&&"filimo-pause-ad"===dr.type&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement($e,{setPlayerFocus:Mo})),Go.length>0&&ir.state!==pt.ENDED&&cr&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(Ke,{annotations:Go,domAccess:_r.current})),!!Pe&&!Lo&&Ae&&cr&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(ut,{env:Ie,channel:Pe,isUserActive:Yr,mobileStyle:Qr,appEmitter:Fe,title:ne})),!ie&&cr&&E.createElement(E.Suspense,{fallback:E.createElement(E.Fragment,null)},E.createElement(tt,{endElementId:z,appEmitter:Fe,env:Ie,domAccess:_r.current})))},ht=JSON.parse('{"wait":"لطفا شکیبا باشید...","subscription":"خرید اشتراک","nminfree":"15 دقیقه آزمایشی","off":"خاموش","download":"دانلود","quality":"کیفیت","auto":"خودکار","back":"بازگشت","subtitle":"زیرنویس","selectSubtitle":"زیرنویس مورد نظر را انتخاب کنید","selectQuality":"کیفیت مورد نظر را انتخاب کنید","selectAudio":"تغییر صدا","selectSpeed":"سرعت پخش","back2pseudo":"اگر در پخش مشکلی احساس می کنید گزینه ای به جز اتوماتیک را انتخاب کنید","unmute":"با صدا ببین","sec":"ثانیه","skipAd":"رد کردن","more":"اطلاعات بیشتر","skipCast":"رد کردن تیتراژ","nextPart":"قسمت بعدی","errors":{"code":"متأسفیم، اشکالی در پخش ویدیو رخ داد. لطفا دوباره تلاش کنید","code2":"شرمنده یه خطای شبکه‌ای باعث شده که شما نتونید ویدیو رو ببنید، دوباره تلاش کنید","code3":"شرمنده یه خطایی باعث شده که پخش متوقف بشه!","timeout":"شرمنده، به دلیل کندی در شبکه فعلا نمی‌تونم پخش کنم!","loadError":"شرمنده، احتمالا یکی پاش رفته روی سیم!","default":"متاسفانه در حال حاضر قادر به پخش این ویدیو نیستیم. لطفا پس از چند دقیقه دوباره تلاش کنید و یا با پشتیبانی تماس بگیرید","ban":"دسترسی شما برای تماشای این ویدیو به خاطر تخطی از قوانین بطور موقت محدود شده است","masterManifestExpire":"در حال حاضر امکان تماشای ویدئو وجود ندارد"},"setting":"تنظیمات","guest":"مهمان‌ها","fontSize":"اندازه فونت","color":"رنگ","colors":{"white":"سفید","blue":"آبی","yellow":"زرد","green":"سبز","cyan":"فیروزه ای","magenta":"یاسی","red":"قرمز","black":"مشکی","transparent":"بی رنگ"},"none":"هیچی","depressed":"سایه مشکی","raised":"سایه سفید","background":"پس زمینه","edgeStyle":"نحوه نمایش","reset":"حالت پیشفرض","warning":"هشدار","sensitiveContent":"این ویدئو احتمالا حاوی صحنه هایی دلخراش و آزار دهنده است","watchVideo":"مشاهده ویدئو","play":"پخش","pause":"توقف","mute":"بی صدا","sound":"صدا","theaterMode":"حالت تئاتر","pictureInPicture":"تصویر در تصویر","fullScreen":"تمام صفحه","exitFullScreen":"کوچک کردن","jumpForward15sec":"15 ثانیه بعد","jumpForward5sec":"5 ثانیه بعد","jumpBack15sec":"15 ثانیه قبل","jumpBack5sec":"5 ثانیه قبل","airPlay":"اشتراک تصویر","chromeCast":"اشتراک تصویر","freeSansTimer":"زمان باقی مانده به اتمام سانس","hour":"ساعت","minute":"دقیقه","second":"ثانیه","seasons":"فصل ها","didYouLikeMovie":"فیلم رو دوست داشتین؟","director":"کارگردان","continueWatching":"ادامه تماشا","recomMovies":"فیلم های مشابه","radioMode":"حالت رادیویی","reload":"تلاش مجدد","casting":"ویدئو در حال نمایش در دستگاه دیگر می باشد. لطفا از بستن یا تغییر این صفحه خودداری کنید","canNot360":"با عرض پوزش این دستگاه توانایی پخش ویدیوهای ۳۶۰ درجه را ندارد","copyFromCurrentTime":"کپی لینک از زمان فعلی","playerVersion":"ورژن پلیر","shortcuts":"کلیدهای میانبر","arrowUp":"فلش رو به بالا","arrowDown":"فلش رو به پایین","volumeUp":"بالا بردن صدا","volumeDown":"پایین آوردن صدا","close":"بستن","openThisMenu":"باز کردن این منو","stat":"آمار","firstLoad":"نمایش اولین فریم","bandwidth":"پهنای باند","bandwidthGraph":"نمودار پهنای باند","resolution":"کیفیت","bitrate":"بیت بر ثانیه","disconnected":"اینترنت شما قطع شده است. لطفا وضعیت اینترنت خود را بررسی کنید","basedOnNetSpeed":"بر اساس سرعت اینترنت شما","episodes":"قسمت ها","watching":"در حال تماشا","channels":"کانال ها","miniPlayer":"مینی پلیر","share":"اشتراک گذاری در شبکه های اجتماعی","facebook":"فیسبوک","twitter":"توییتر","whatsapp":"واتساپ","telegram":"تلگرام","linkedin":"لینکدین","adShowOn":"نمایش تبلیغ","videoWillPlayAfterAd":"نمایش ویدئو بعد از تبلیغ","closeMenu":"بستن منو","seen":"دیده شده","useVpnAlert":"برای استفاده بهتر از امکانات سایت، بهتر است وی پی ان خود را خاموش کنید","telePartyMute":"ویدئو بصورت بی صدا به شما نمایش داده میشود. در صورت نیاز، دکمه صدا را فشار دهید","joinedParty":"به پارتی اضافه شد","leavedParty":"از پارتی خارج شد","playFilm":"پخش را شروع کرد.","pauseFilm":"پخش را متوقف کرد.","seekFilm":"زمان نمایش را تغییر داد","send":"ارسال","chat":"گپ و گفت","closeFilimoParty":"بستن دورهمی","telepartyContinueWatching":"انصراف و ادامه تماشا","closePartyWarning":"با بستن دورهمی، تماشای دسته‌جمعی برای شما و همه مهمان‌ها متوقف می‌شود و از اینجا خارج می‌شوید.","closePartyWarningUser":"اگر خارج شوید، برای ورود دوباره، نیاز به آدرس دعوت دارید","startFilimoparty":"شروع دورهمی","groupViewing":"گپ و تماشا","waitingForStartMovie":"منتظر شروع فیلم بمانید","adminDidNotStart":"برگزارکننده دورهمی هنوز فیلم را شروع نکرده است.","exitFilimoParty":"خروج از دورهمی آنلاین","telepartyHint1":"کنترلِ شروع و پخش فیلم فقط به دست خود شما است. مهمان‌های دورهمی، فقط می‌توانند زیرنویس، صدا و کیفیت را برای خودشان تنظیم کنند.","telepartyHint2":"کنترل شروع و پخش فیلم/سریال، فقط به دست برگزارکننده دورهمی است. شما به عنوان مهمان، فقط می‌توانید زیرنویس، صدا و کیفیت فیلم/سریال را برای خودتان تنظیم کنید.","activeUserInTeleparty":"مهمان‌های این دورهمی","copyLink":"کپی‌کردن آدرس این دورهمی","activeUser":"مهمان داریم","activeUserMobile":"کاربر فعال","inviteFriends":"دعوت از دوستان","inviteFriendsDescription":"برای دعوت دیگران به این دورهمی، آدرس زیر را به اشتراک بگذارید.","inviteFriendsDescription2":" تماشای دسته‌جمعی، هم در گوشی و هم در رایانه امکان‌پذیر است.","shareTeleparty":"اشتراک‌گذاری آدرس دورهمی","membersInParty":"در پارتی حضور دارند","inviteFriend":"دعوت دوستان","inviteFriendGroup":"دوستان خود را به تماشای گروهی دعوت کنید.","shareInviteLink":"کپی کردن لینک","exitFromPartyModal":"خروج از دورهمی","partyIntroTitle":"با کی می‌خواهی گپ‌بزنی و فیلم تماشا کنی؟","partyIntroSubTitle":"آدرس دورهمی را براش بفرست و دعوتش کن بیاد، با هم آنلاین فیلم ببینید","organizer":"برگزار کننده","closeAlertChat":"با بستن دورهمی، تماشای دسته‌جمعی برای شما و همه مهمان‌ها متوقف می‌شود و از اینجا خارج می‌شوید.","forComeBackNeedLink":"برای ورودِ دوباره، نیاز به آدرس دعوت دارید.","emptyGuest":"هنوز مهمانی نداریم","telepartyGuests":"مهمان‌های این دورهمی","haveTelepartyGuest":"تا مهمان دارید","socialTour":"سوشیال تور","partyLimit":"هر دورهمی‌ فقط تا 50 نفر جا دارد برای بیشتر از این تعداد ظرفیت پر است.","watchThisVideo":"تماشا میکنم","filimoHomePage":"صفحه اصلی فیلیمو","connecting":"در حال اتصال","disconnectedWs":"قطع شده","connected":"متصل","status":"وضعیت اتصال","new":"جدید","story":"استوری","storyTooltip":"با کلیک روی این گزینه، ۶ ثانیه قبل و بعد صحنه‌ای که مشاهده میکنید بریده میشود و میتوانید با سایر کاربران به اشتراک بگذارید."}'),bt=JSON.parse('{"wait":"Plaese wait","subscription":"Buy a subscription","nminfree":"15 min test","off":"Off","download":"Download","quality":"Quality","auto":"Auto","back":"Back","subtitle":"Subtitle","selectQuality":"Select Quality","selectSubtitle":"Select Subtitle","selectAudio":"Select Audio","selectSpeed":"Speed","back2pseudo":"If you have problem in playback, please select none auto quality","unmute":"Unmute","sec":"Second","skipAd":"Skip Ad","more":"More","skipCast":"Skip Cast","nextPart":"Next Part","errors":{"code":"We are unable to play the video right now. Please try again in a few minutes or contact customer service","code2":"Error occurred when downloading","code3":"Error occurred when decoding","timeout":"Timeout","loadError":"Load error","default":"There was a problem while playing. Please try again later","ban":"You do not have access to this video temporarily. Please wait to get permission again or contact customer service","masterManifestExpire":"Unble to watch video at this time"},"setting":"Setting","guest":"Guest","fontSize":"Font size","color":"Color","colors":{"white":"White","blue":"Blue","yellow":"Yellow","green":"Green","cyan":"Cyan","magenta":"Magenta","red":"Red","black":"Black","transparent":"Transparent"},"none":"None","depressed":"Depressed","raised":"Raised","background":"Background","edgeStyle":"Edge style","reset":"Reset","warning":"Warning","sensitiveContent":"This video may contain sensitive content","watchVideo":"Watch video","play":"Play","pause":"Pause","mute":"Mute","sound":"Sound","theaterMode":"Theater mode","pictureInPicture":"Picture in picture","fullScreen":"Fullscreen","exitFullScreen":"Exit fullscreen","jumpForward15sec":"Jump forward","jumpForward5sec":"Jump forward","jumpBack15sec":"Jump back","jumpBack5sec":"Jump back","airPlay":"AirPlay","chromeCast":"Chromecast","freeSansTimer":"Time to be continued sans","hour":"Hour","minute":"Minute","second":"Second","seasons":"Seasons","didYouLikeMovie":"Did you like the movie?","director":"Director","continueWatching":"Continue watching","recomMovies":"Recom movies","radioMode":"Radio mode","reload":"Reload","casting":"Video showing on other device. Please do not close this tab or change url","canNot360":"Sorry, this device can not play 360 degree video","copyFromCurrentTime":"Copy from current time","playerVersion":"Player version","shortcuts":"Shortcuts","arrowUp":"Arrow up","arrowDown":"Arrow down","volumeUp":"Volume up","volumeDown":"Volume down","close":"Close","openThisMenu":"Open this menu","stat":"Stat","firstLoad":"FirstLoad","bandwidth":"Bandwidth","bandwidthGraph":"Bandwidth Graph","resolution":"Resolution","bitrate":"Bitrate","disconnected":"You are disconnected, Please check your internet connection","basedOnNetSpeed":"Based on network speed","episodes":"Episodes","watching":"Watching","channels":"Channels","miniPlayer":"Mini player","share":"Share on social network","facebook":"Facebook","twitter":"Twitter","whatsapp":"Whatsapp","telegram":"Telegram","linkedin":"Linkedin","adShowOn":"Ad show on","videoWillPlayAfterAd":"Video will play after advertice","closeMenu":"Close menu","seen":"Seen","useVpnAlert":"To make better use of the site\'s features, it is better to turn off your VPN","telePartyMute":"Video muted played for you. If you want press unmute button","joinedParty":"Joined to party","leavedParty":"Leaved the party","playFilm":"Started party.","pauseFilm":"Paused video.","seekFilm":"Change video time","send":"Send","chat":"Chat","closeFilimoParty":"Close filimo party","telepartyContinueWatching":"Cancel and continue watching","closePartyWarning":"If close party, all members stop watching","closePartyWarningUser":"If you log out, you need an invitation address to log in again","startFilimoparty":"Start filimo party","groupViewing":"Group viewing","waitingForStartMovie":"Waiting for start movie","adminDidNotStart":"Admin did not start movie","exitFilimoParty":"Exit filimo party","telepartyHint1":"Whoever made Filmo Party controls the player. Other people present in the party can personalize the subtitle, sound and quality for themselves","telepartyHint2":"The control of starting and playing the movie/serial is only in the hands of the organizer. As a guest, you can only set the subtitle, sound and quality of the movie/series for yourself.","activeUserInTeleparty":"Filimo party members","copyLink":"Copy link","activeUser":"Active user","activeUserMobile":"Active user","inviteFriends":"Invite friends","inviteFriendsDescription":"Send this link to invite others. It is possible to watch simultaneously with a mobile phone or computer","inviteFriendsDescription2":"Batch viewing is possible on both phones and computers.","shareTeleparty":"Share","membersInParty":"Member in party","inviteFriend":"Invite Friend","inviteFriendGroup":"Invite your friends to watch as a group.","shareInviteLink":"Copy link","exitFromPartyModal":"Exit from party","partyIntroTitle":"Who do you want to chat and watch a movie with?","partyIntroSubTitle":"Send her the address of party and invite her to come and watch a movie online together","organizer":"Organizer","closeAlertChat":"Closing a session will stop group viewing for you and all guests and exit.","forComeBackNeedLink":"To log in again, you need an invitation address.","emptyGuest":"We don\'t have a party yet","telepartyGuests":"Teleparty guest","haveTelepartyGuest":"Guests","socialTour":"Social tour","partyLimit":"Each period can only accommodate up to 50 people, the capacity is full for more than this number","watchThisVideo":"Watching","filimoHomePage":"Filimo home page","connecting":"Connecting","disconnectedWs":"Disconnected","connected":"Connected","status":"Status","new":"New","story":"Story","storyTooltip":"By clicking on this option, 6 seconds before and after the scene you are watching will be cut and you can share it with other users."}'),vt=JSON.parse('{"wait":"رجاءا إنتظر...","subscription":"شراء إشتراك","nminfree":"15 دقيقة مجانية","off":"إغلاق","download":"تحميل","quality":"الجودة","auto":"تلقائي","back":"العودة","subtitle":"ترجمة","selectQuality":"إختيار الجودة","selectSubtitle":"إختار الترجمة","selectAudio":"تغيير الصوت","selectSpeed":"سرعة العرض","back2pseudo":"في حال وجود مشكلة في العرض لا تختار العرض التلقائي","unmute":"مشاهدة مع صوت","sec":"ثانية","skipAd":"التخطي","more":"معلومات إضافية","skipCast":"تخطي الشارة","nextPart":"الحلقة التالية","errors":{"code":"عذرا، هناك خطأ!","code2":"عذرا ، هناك مشكلة في الشبكة، لم تسمح لكم بمشاهدة الفيديو لذلك نرجوا المحاولة لاحقا ","code3":"عذرا، هناك مشكلة، أدت لتوقف العرض !","timeout":"عذرا، لا يمكننا متابعة العرض بسبب بطأ في الشبكة!","loadError":"عذرا ، مشكلة في الإتصال!","default":"عذرا، خطأ","ban":"لا ينكنك مشاهدة هذا الفيديو مؤقتا بسبب تخطي بعض القوانين","masterManifestExpire":"غير قادر على مشاهدة الفيديو في هذا الوقت"},"setting":"الإعدادات","guest":"زائر","fontSize":"حجم الخط","color":"اللون","colors":{"white":"أبيض","blue":"أزرق","yellow":"أصفر","green":"أخضر","cyan":"أزرق سماوي","magenta":"أرجواني","red":"قرمز","black":"أسود","transparent":"شفاف"},"none":"لا شيء","depressed":"ظل أسود","raised":"ظل أبيض","background":"خلفية","edgeStyle":"طريقة العرض","reset":"الوضع الإفتراضي","warning":"تحذير","sensitiveContent":"من الممكن أن يحتوي هذا الفيديو على مشاهد قاسية","watchVideo":"مشاهدة الفيديو","play":"عرض","pause":"إيقاف","mute":"بدون صوت","sound":"صوت","theaterMode":"حالة المسرح","pictureInPicture":"صورة في صورة","fullScreen":"كل الصفحة","exitFullScreen":"تصغير","jumpForward15sec":"بعد ١٥ ثانية","jumpForward5sec":"بعد ٥ ثانية","jumpBack15sec":"قبل ١٥ ثانية","jumpBack5sec":"قبل ٥ ثانية","airPlay":"مشاركة الصور","chromeCast":"مشاركة الصور","freeSansTimer":"الزمان المتبقي لإنتهاء فترة العرض","hour":"ساعة","minute":"دقیقة","second":"ثانیة","seasons":"المواسم","didYouLikeMovie":"هل أحببت الفيلم؟","director":"المخرج","continueWatching":"متابعة المشاهدة","recomMovies":"أفلام مماثلة","radioMode":"وضع الراديو","reload":"المحاولة مجددا","casting":"الفيديو يعرض حاليا على جهاز أخر يرجى الإمتناع عن إغلاق الصفحة أو تغييرها","canNot360":"عذرا، هذا الجهاز لا يملك تقنية عرض بميزة 360 درجة","copyFromCurrentTime":"تحميل الرابط من الوقت الحالي","playerVersion":"نسخة","shortcuts":"الإختصارات","arrowUp":"السهم للأعلى","arrowDown":"السهم للأسفل","volumeUp":"رفع الصوت","volumeDown":"خفض الصوت","close":"إغلاق","openThisMenu":"فتح هذه القائمة","stat":"إحصاءات","firstLoad":"عرض المشهد الأول","bandwidth":"عرض النطاق الترددي","bandwidthGraph":"الرسم البياني لعرض النطاق الترددي","resolution":"الجودة","bitrate":"معدل البت","disconnected":"الإنترنت الخاص بك مقطوع. تحقق من وضع الإنترنت","basedOnNetSpeed":"مبنية على أساس سرعة الإنترنت","episodes":"الحلقات","watching":"مشاهدة","channels":"القنوات","miniPlayer":"لاعب صغير","share":"شارك على الشبكات الاجتماعية","facebook":"الفيسبوك","twitter":"تویتر","whatsapp":"الواتس اب","telegram":"تلگرام","linkedin":"لينكد إن","adShowOn":"عرض الإعلان على","videoWillPlayAfterAd":"سيتم تشغيل الفيديو بعد الإعلان","closeMenu":"اقترب مني","seen":"عرض","useVpnAlert":"للاستفادة بشكل أفضل من ميزات الموقع ، من الأفضل إيقاف تشغيل وی بی ان الخاص بك","telePartyMute":"سيظهر لك الفيديو بصمت. إذا لزم الأمر ، اضغط على زر الصوت","joinedParty":"انضم إلى الحزب","leavedParty":"حزب أوراق الشجر","playFilm":"بدأ الحفلة.","pauseFilm":"فيديو متوقف مؤقتا","seekFilm":"تغيير وقت الفيديو","send":"إرسال","chat":"دردشة","closeFilimoParty":"إغلاق حزب فيلمو","telepartyContinueWatching":"إلغاء والاستمرار في المشاهدة","closePartyWarning":"بإغلاق فیلیمو بارتی ، يتوقف عرض المجموعة للجميع","closePartyWarningUser":"إذا قمت بتسجيل الخروج ، فستحتاج إلى عنوان دعوة لتسجيل الدخول مرة أخرى","startFilimoparty":"بداية حفلة الفيلم","groupViewing":"مشاهدة المجموعة","waitingForStartMovie":"في انتظار الفيلم ليبدأ","adminDidNotStart":"المسؤول لم يبدأ الفيلم","exitFilimoParty":"اخرج من فيلمو بارتي","telepartyHint1":"كل من صنع فیلیمو بارتی يتحكم في اللاعب. يمكن للأشخاص الآخرين الحاضرين في الحفلة تخصيص الترجمة والصوت والجودة لأنفسهم","telepartyHint2":"التحكم في بدء تشغيل الفيلم / المسلسل وتشغيله في يد المنظم فقط. كضيف ، يمكنك فقط تعيين الترجمة والصوت وجودة الفيلم / المسلسل لنفسك.","activeUserInTeleparty":"المستخدمون حاضرون في الحفلة","copyLink":"انسخ الرابط","activeUser":"مستخدم نشط","activeUserMobile":"مستخدم نشط","inviteFriends":"ادعو أصدقاء","inviteFriendsDescription":"أرسل هذا الرابط لدعوة الآخرين. من الممكن المشاهدة في نفس الوقت باستخدام الهاتف المحمول أو الكمبيوتر","inviteFriendsDescription2":"عرض الدفعة ممكن على كل من الهواتف وأجهزة الكمبيوتر.","shareTeleparty":"يشارك","membersInParty":"عضو في الحزب","inviteFriend":"قم بدعوة صديق","inviteFriendGroup":"ادعُ أصدقاءك للمشاهدة كمجموعة.","shareInviteLink":"انسخ الرابط","exitFromPartyModal":"الخروج من الحفلة","partyIntroTitle":"مع من تريد الدردشة ومشاهدة فيلم؟","partyIntroSubTitle":"أرسل لها عنوانه وادعها للحضور ومشاهدة فيلم عبر الإنترنت معًا","organizer":"منظم","closeAlertChat":"سيؤدي إغلاق الجلسة إلى إيقاف عرض المجموعة لك ولجميع الضيوف والخروج.","forComeBackNeedLink":"لتسجيل الدخول مرة أخرى ، تحتاج إلى عنوان دعوة.","emptyGuest":"ليس لدينا حفلة بعد","telepartyGuests":"حفلة ضيف","haveTelepartyGuest":"زائر","socialTour":"جولة اجتماعية","partyLimit":"يمكن أن تستوعب كل فترة ما يصل إلى 50 شخصًا فقط ، السعة ممتلئة لأكثر من هذا الرقم","watchThisVideo":"مشاهدة","filimoHomePage":"صفحة فیلیمو الرئيسية","connecting":"توصيل","disconnectedWs":"انقطع الاتصال","connected":"متصل","status":"الحالة","new":"جدید","story":"قصة","storyTooltip":"بالنقر فوق هذا الخيار ، سيتم قطع 6 ثوانٍ قبل وبعد المشهد الذي تشاهده ويمكنك مشاركته مع مستخدمين آخرين."}'),gt=r(70268),yt=["styles"];function Et(){return Et=c()||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Et.apply(this,arguments)}var St=function(e){e.styles;var t=(0,gt.Z)(e,yt);return E.createElement("svg",Et({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),E.createElement("path",{d:"M7 6.134v11.732c0 .895 1.03 1.438 1.822.951l9.628-5.866c.733-.441.733-1.46 0-1.914L8.822 5.183C8.029 4.696 7 5.239 7 6.134z",fill:"#FBFBFC"}))},wt=["styles"];function xt(){return xt=c()||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},xt.apply(this,arguments)}var kt=function(e){e.styles;var t=(0,gt.Z)(e,wt);return E.createElement("svg",xt({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),E.createElement("path",{d:"M8 19c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2s-2 .9-2 2v10c0 1.1.9 2 2 2zm6-12v10c0 1.1.9 2 2 2s2-.9 2-2V7c0-1.1-.9-2-2-2s-2 .9-2 2z",fill:"#fff"}))},Tt=["styles"];function At(){return At=c()||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},At.apply(this,arguments)}var Pt,Ot=function(e){e.styles;var t=(0,gt.Z)(e,Tt);return E.createElement("svg",At({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),E.createElement("path",{d:"M12 5V2.207a.5.5 0 00-.854-.353L7.354 5.646a.5.5 0 000 .708l3.792 3.792A.5.5 0 0012 9.793V7a6 6 0 11-5.917 6.995C5.992 13.451 5.553 13 5 13c-.552 0-1.006.45-.938.997A8 8 0 1012 5z",fill:"#fff"}))};r(79422),r.p=y().playerResourceBaseUrl;var Rt,Lt=(Rt=y().navigator.userAgent||y().navigator.vendor||y().opera,/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Rt)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Rt.substr(0,4))),Dt=/^((?!chrome|android).)*safari/i.test(y().navigator.userAgent),Mt=/Safari\/535.20\+/i.test(y().navigator.userAgent),It=!!y().navigator.platform&&/iPad|iPhone|iPod/.test(y().navigator.platform),Nt=/(Smart.TV|SmartTV|googletv|Internet.TV|NETTV|appletv|boxee|Kylo|hbbtv|pov_tv|DLNADOC|CE-HTML|netcast|GTV|Viera|Presto|Roku|DTV|Android.TV|Xbox|Playstation|PlayStation|BRAVIA|Apple TV|Linux; Tizen|Opera TV|rtd298x_tv001|X11\W+Linux\W+ko-KR)/i.test(y().navigator.userAgent),Ft=/(Xbox|Playstation|PlayStation|Nintendo|XBOX_ONE_ED)/i.test(y().navigator.userAgent),Ct=a()(Pt=y().navigator.userAgent.toLowerCase()).call(Pt,"firefox")>-1,Vt=/(Safari\/535.20\+)/i.test(y().navigator.userAgent),qt=/(Mac|Macintosh)/i.test(y().navigator.userAgent),Ht=/(OPR|OPT)/i.test(y().navigator.userAgent),zt=/(samsung|Samsung|tizen|Tizen)/i.test(y().navigator.userAgent),Bt=/(VSTVB|VESTEL|Vestel|vestel)/i.test(y().navigator.userAgent),jt=/(bot|googlebot|crawler|spider|robot|crawling)/i.test(y().navigator.userAgent),Ut=new(x()),Wt=0,Xt=y().navigator.userAgent;if(Xt){var Gt=Xt.toLowerCase().match(/android\s([0-9.]*)/i);Gt&&Gt[1]&&(Wt=s()(Gt[1]))}var _t=0;if(Xt&&zt){var Zt=Xt.toLowerCase().match(/tizen\s([0-9.]*)/i);Zt&&Zt[1]&&(_t=s()(Zt[1]))}var Yt=function(e,t){var r=y().document.getElementById(e);r.className="romeo romeo-aparat"+(It?" romeo-ios":""),t.isEmbed&&(r.className+=" romeo-embed",t.color&&(r.className+=" custom-color"));var o=t;o.ad&&!t.is360||(o.ad={});var n={};Ut.on("videoReady",(function(e){n=e})),!1===t.autoPlay?S.render(E.createElement(Jt,{options:o,rootEl:r,autoplaySupported:{autoPlay:!1,muted:!1}}),r):t.isTV||Nt||!Lt||t.isEmbed&&t.title&&t.duration?S.render(E.createElement(Jt,{options:o,rootEl:r,autoplaySupported:{autoPlay:!0,muted:!1}}),r):S.render(E.createElement(Jt,{options:o,rootEl:r,autoplaySupported:{autoPlay:null,muted:null}}),r);var a=function(e,t){Ut.once(t,(function(){try{return e.apply(void 0,arguments)}catch(e){return console.log("can't call callback on "+t,e),null}}))},i=function(e,t){Ut.on(t,(function(){try{return e.apply(void 0,arguments)}catch(e){return console.log("can't call callback on "+t,e),null}}))};return{onTimeupdate:function(e){return i(e,"timeupdate")},onEnded:function(e){return i(e,"ended")},onSyncAd:function(e){return i(e,"syncAd")},onError:function(e){return i(e,"onError")},onFirstPlay:function(e){return a(e,"play")},onFirstAdPlay:function(e){return a(e,"adPlay")},onAdPlay:function(e){return i(e,"adPlay")},onPlay:function(e){return i(e,"play")},onAdPause:function(e){return i(e,"adPause")},onPause:function(e){return i(e,"pause")},onPlaying:function(e){return i(e,"playing")},onGoTheater:function(e){return i(e,"gotheater")},reload:function(e){Ut.emit("reload",e)},load:function(e){Ut.emit("load",e)},distroy:function(){Ut.emit("distroy")},pause:function(e){Ut.emit("doPause",e)},play:function(e){Ut.emit("doPlay",e)},seekTo:function(e){Ut.emit("seekTo",e)},setViewerCount:function(e){Ut.emit("viewerCount",e)},setFullscreen:function(e){Ut.emit("setFullscreen",e)},setMiniPlayer:function(e){Ut.emit("miniPlayer",e)},setNextSrc:function(e){Ut.emit("nextSrc",e)},setDomAccess:function(e){Ut.emit("domAccess",e)},onStatSent:function(e){return i(e,"statSent")},onChatOpen:function(e){return i(e,"chatOpen")},onFirstLoad:function(e){return a(e,"firstLoad")},onRomeoReady:function(e){return a(e,"romeoReady")},onVastComplete:function(e){return i(e,"vastComplete")},onShowSkipAd:function(e){return a(e,"showSkipAd")},onStalled:function(e){return i(e,"stalled")},onAdError:function(e){return i(e,"adError")},onPip:function(e){return i(e,"pip")},onMiniPlayer:function(e){return i(e,"miniPlayer")},onStartPlaying:function(e){return a(e,"startPlaying")},onFullscreenChange:function(e){return i(e,"fullscreenChange")},onAdMoreButtonShow:function(e){return i(e,"adMoreButtonShow")},onAdMoreButtonClick:function(e){return i(e,"adMoreButtonClick")},destroyRomeo:function(){Ut.removeAllListeners(),S.unmountComponentAtNode(r)},video:function(){return n}}},Jt=function(e){var t,r=e.options,o=e.rootEl,n=e.autoplaySupported,i=(0,E.useRef)(!1),s=(0,E.useRef)(!1),l=(0,E.useRef)(!1),u=(0,E.useRef)(r),d=(0,E.useState)(!1),f=d[0],b=d[1],g=function(e){i.current=e},S=function(){u.current={ad:{}},b(!0)},w=function(e){if(e){S(),s.current=!1,g(!0);var t=e;e.ad&&!e.is360||(t.ad={}),u.current=t,setTimeout((function(){b(!1)}),0)}},x=(0,P.OP)(),k={fa:ht,en:bt,ar:vt},O=u.current,R=O.ad,L=O.endElementId,D=O.isAbroad,M=O.isEmbed,I=O.title,N=O.duration,F=O.isLive,C=O.poster,V=O.hideGoTheater,q=O.embedUsedInApp,H={isMobile:Lt,isSafari:Dt,isFirefox:Ct,isFlashPlayer:Vt,isIOS:It,isNewIOS:!1,hlsNotSupport:Mt,isTV:u.current.isTV||Nt,isVestelTV:Bt,isGameConsole:Ft,isChrome:!!window.chrome,isMac:qt,isSamsung:zt,tizenVersion:_t,isBot:jt,customControls:!0,enableVolumeScroll:!(!u.current.enableVolumeScroll||u.current.liveTvList||F||u.current.controlbarScroll),showPIP:!u.current.hidePIP&&!M,showAirPlay:(It||qt)&&Dt&&!(u.current.isTV||Nt),showGoTheater:(!F&&!M&&!V||F&&u.current.chatEnable)&&!Lt,showProgress:!F,showJumpButtons:!F,showPlaybackRate:!F,showDownload:M&&!u.current.hideDownload,showQuestion:!1,showFullScreen:!(It&&u.current.is360||u.current.hideFullScreen),muted:!!u.current.muted,isAbroad:D&&!M,lang:u.current.lang||"fa",messages:k[u.current.lang]?k[u.current.lang]:k.fa,isLive:F||u.current.liveTvList,isEventLive:F&&!!u.current.isEventLive,mustUseHLS:M&&q||Lt&&Wt>=5||Dt,debug:!!u.current.debug,isOpera:Ht,capability:{linearAdMode:{hls:!(Lt&&Ht||zt&&_t<2.4&&(u.current.isTV||Nt)),dash:!Lt&&!Nt,pseudo:!0}},showRecom:!1,showRate:!1,showMiniPlayer:!(u.current.isLive||u.current.isEmbed||u.current.hideMiniPlayer||M),radioMode:F&&!(u.current.isTV||Nt)&&!It,statChunkLength:60,backOffPolicy:[0,2,6,14],mustStopCast:!1,playXhrChunkLength:0,statOnPlay:!1,jumpSec:5,seekSetQuery:!1,isWebpSupport:x,thumbPath:"_",thumbSizeSupport:!1,statXhr:u.current.stats&&u.current.stats.statUrl,statBasedOnTime:!0,castCapability:!1,isSPA:!1,masterManifestReusable:!0,isMobileDesktopSite:!Lt&&!!window.chrome&&0===a()(t=y().navigator.platform).call(t,"Linux a")&&"ontouchstart"in document.documentElement,showShare:!(!M||u.current.hideShare||F||!u.current.resumeUID),ad:{xhrRetry:3,xhrRetryDelay:[700,2300,3e3],skipAdTimeout:u.current.ad&&"number"==typeof u.current.ad.skipAdTimeout?u.current.ad.skipAdTimeout:8e3,trackImpressionOnLoad:!(!u.current.ad||"boolean"!=typeof u.current.ad.trackImpressionOnLoad)&&u.current.ad.trackImpressionOnLoad},domain:F?"aparat-live":"aparat",version:"v1.2.1",isIR:"boolean"!=typeof u.current.isIR||u.current.isIR,secretKey:"KrSf9azBX9",sendStatXhr:!u.current.romeoStatXhrDisable,socialTourAPI:null,toastDuration:u.current.toastDuration||3e3,fullscreenOnLandscape:"boolean"==typeof u.current.fullscreenOnLandscape&&u.current.fullscreenOnLandscape,maxTimeToFirstByte:1e4};u.current.color&&(H.color=u.current.color);var z={play:E.createElement(St,{width:18,height:18}),pause:E.createElement(kt,{width:18,height:18}),replay:E.createElement(Ot,{width:18,height:18})},B={options:{lang:u.current.lang,liveStatus:u.current.liveStatus,resumeUID:u.current.resumeUID,is360:u.current.is360,multiAudio:u.current.multiAudio,isTV:u.current.isTV,isEmbed:u.current.isEmbed,chatEnable:u.current.chatEnable,autoPlay:u.current.autoPlay,isAbroad:u.current.isAbroad,startTime:u.current.startTime,duration:u.current.duration,freeSansTimer:u.current.freeSansTimer,stats:u.current.stats,isp:u.current.isp,previewMode:u.current.previewMode,seriesData:u.current.seriesData,liveTvList:u.current.liveTvList,multiSRC:u.current.multiSRC,ad:u.current.ad,tracks:u.current.tracks},env:{isMobile:H.isMobile,isSafari:H.isSafari,isFirefox:H.isFirefox,isFlashPlayer:H.isFlashPlayer,isIOS:H.isIOS,hlsNotSupport:H.hlsNotSupport,isTV:H.isTV,isGameConsole:H.isGameConsole,isChrome:H.isChrome,isMac:H.isMac,customControls:H.customControls,isAbroad:H.isAbroad,isLive:H.isLive,mustUseHLS:H.mustUseHLS,isOpera:H.isOpera,capability:H.capability,skipAdTimeout:H.ad.skipAdTimeout},domain:window.location.origin||window.location.hostname,version:H.version},j=function(e){if(H.sendStatXhr){var t=c()({},B,e);(0,P.C$)(t,H)}},U=function(e){B=c()({},B,e),(0,P.t3)(B)},W=function(){w(u.current)};if((0,E.useEffect)((function(){return(0,P.t3)(B),Ut.on("sendErrorLog",j),Ut.on("changeErrorLog",U),Ut.on("load",w),Ut.on("reload",w),Ut.on("distroy",S),Ut.on("hotReload",W),u.current.ad&&(!u.current.ad||u.current.ad.adTag||u.current.ad.vmap)||Ut.emit("syncAd",!1),function(){Ut.off("sendErrorLog",j),Ut.off("changeErrorLog",U),Ut.off("load",w),Ut.off("reload",w),Ut.off("distroy",S),Ut.off("hotReload",W)}}),[]),u.current.ad&&u.current.ad.iStartURL&&u.current.ad.vmap&&(u.current.ad.vmap=void 0),H.isBot&&(u.current.ad.vmap=void 0,u.current.ad.adTag=void 0),F&&"nolive"===u.current.liveStatus)return E.createElement(E.Fragment,null,C&&E.createElement("div",{style:{backgroundImage:"url("+C+")"},className:"romeo-poster"}));var X=!(!R||!R.vmap&&!R.adTag&&!R.iStartURL||D&&!(M&&I&&N)),G=E.createElement("div",{className:"romeo-loading-aparat",title:H.messages.wait},E.createElement("svg",{viewBox:"25 25 50 50"},E.createElement("circle",{cx:"50",cy:"50",r:"20"}))),_=!1,Z=!1,Y=!1;if(l.current=function(){if(!u.current.multiSRC||void 0===u.current.multiSRC)return!1;for(var e=0;e<u.current.multiSRC.length;e++){var t;if(u.current.multiSRC[e]&&0!==u.current.multiSRC[e].length)for(var r=0;r<u.current.multiSRC[e].length;r++){if((0,P.Bb)(u.current.multiSRC[e][r].type)&&!_&&(Y=u.current.multiSRC[e][r],H.castCapability=!0,_=!0),(0,P.FA)(u.current.multiSRC[e][r].type)&&!Z&&(Z=!0),(0,P.Bb)(u.current.multiSRC[e][r].type)&&"auto"!==u.current.multiSRC[e][r].label)u.current.multiSRC[e][r].label="auto";else if(!u.current.multiSRC[e][r].label&&u.current.multiSRC[e][r].profile&&(u.current.multiSRC[e][r].label=u.current.multiSRC[e][r].profile,!u.current.multiSRC[e][r].type)){var o=P.LO.pseudo[0];u.current.multiSRC[e][r].type=o}var n,a;if("blob"===u.current.multiSRC[e][r].type&&(H.isTV||H.isIOS&&!H.isNewIOS||H.isMobileDesktopSite||H.isMobile&&Wt>0&&Wt<5))m()(n=u.current.multiSRC[e]).call(n,r,1),r--,0===u.current.multiSRC[e].length&&m()(a=u.current.multiSRC).call(a,e,1);else if("blob"===u.current.multiSRC[e][r].type){var i=P.LO.hls[0];u.current.multiSRC[e][r].type=i}}else m()(t=u.current.multiSRC).call(t,e,1),e--}return 0!==u.current.multiSRC.length}(),f)return E.createElement(E.Fragment,null);if(s.current||(function(){if(H.sendStatXhr){var e="";u.current.is360?e="is360":H.isFlashPlayer?e="isFlashPlayer":M&&(e="isEmbed");var t=!0;if(u.current.startTime&&u.current.duration){var r=Math.floor(.9*u.current.duration);u.current.startTime&&u.current.startTime>0&&u.current.startTime<r&&(t=!1)}var o={app:H.domain,hasAD:X,isTabFocus:document&&"visible"===document.visibilityState,spa:H.isSPA,screenSize:window&&window.screen?window.screen.width>1080?"large":window.screen.width>768?"medium":"small":"unknown",badSrc:!l.current,isEmbed:!!M,removeADReason:e,isIR:H.isIR,startBeginning:t},n={url:"/external/romeo/init",body:p()(o),method:"POST",headers:{"content-type":"application/json"}};T()(n,(function(){}))}}(),s.current=!0),!1===l.current){var J={error:"badSrc",tags:"badSrc",level:"Error",isIR:H.isIR};return j(J),E.createElement("div",{className:"romeo-bad-src"},"Source not found...!")}var K,Q=(0,P.gE)(u.current.multiSRC,H);if(u.current.multiSRC=Q,H.isTV){var $=(0,P.Cx)(u.current.multiSRC);u.current.multiSRC=$}if(H.isTV&&(u.current.skinClass="romeo-isTV-true"),u.current.multiAudio&&u.current.tracks&&u.current.tracks.length>0){for(var ee=[],te=0;te<u.current.tracks.length;te++){var re=c()({},u.current.tracks[te],{default:!1});ee.push(re)}u.current.tracks=ee}return!u.current.previewMode||"object"==typeof u.current.previewMode&&0!==h()(u.current.previewMode).length||(u.current.previewMode=null),u.current.chapterlist&&u.current.chapterlist.length>0&&v()(K=u.current.chapterlist).call(K,(function(e,t){return e.start<t.start?-1:t.start<e.start?1:0})),H.debug&&console.log("==> Aparat App Loaded at:",(0,P.Xn)(!0)),window.romeoOptions=u.current,E.createElement(E.Suspense,{fallback:G},E.createElement(A.Qx,{hasLinearAdMode:X,endElementId:L,appEmitter:Ut,isEmbed:M,env:H,autoplaySupported:n},E.createElement(ft,{options:c()({},u.current,{ad:R||{}}),env:H,envIcons:z,appEmitter:Ut,rootEl:o,reloadCall:i,setReloadCall:g,haveHlsSource:_,havePseudoSource:Z,mpegUrlSource:Y})))}},27979:function(e,t,r){"use strict";r.d(t,{Z:function(){return xe}}),r(66992),r(41539),r(88674),r(78783),r(33948);var o=r(67294),n=r(39704),a=r(58971),i=r.n(a),s=r(42123),l=(r(9026),r(75439),r(33938)),c=(r(35666),r(11794)),u=(r(11998),r(70268)),m=r(51942),d=r.n(m),p=["styles"];function f(){return f=d()||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},f.apply(this,arguments)}var h=function(e){e.styles;var t=(0,u.Z)(e,p);return o.createElement("svg",f({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),o.createElement("g",{fill:"currentcolor","data-viewbox":"0 0 24 24"},o.createElement("path",{d:"M9.5 2.5h-4a3 3 0 00-3 3v4a1 1 0 002 0v-4a1 1 0 011-1h4a1 1 0 000-2zM9.5 19.5h-4a1 1 0 01-1-1v-4a1 1 0 00-2 0v4a3 3 0 003 3h4a1 1 0 000-2zM20.5 13.5a1 1 0 00-1 1v4a1 1 0 01-1 1h-4a1 1 0 000 2h4a3 3 0 003-3v-4a1 1 0 00-1-1zM18.5 2.5h-4a1 1 0 000 2h4a1 1 0 011 1v4a1 1 0 002 0v-4a3 3 0 00-3-3z"})))},b=["styles"];function v(){return v=d()||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},v.apply(this,arguments)}var g=function(e){e.styles;var t=(0,u.Z)(e,b);return o.createElement("svg",v({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),o.createElement("g",{fill:"currentcolor","data-viewbox":"0 0 24 24"},o.createElement("path",{d:"M9.5 2.5a1 1 0 00-1 1v4a1 1 0 01-1 1h-4a1 1 0 000 2h4a3 3 0 003-3v-4a1 1 0 00-1-1zM7.5 13.5h-4a1 1 0 000 2h4a1 1 0 011 1v4a1 1 0 002 0v-4a3 3 0 00-3-3zM20.5 13.5h-4a3 3 0 00-3 3v4a1 1 0 002 0v-4a1 1 0 011-1h4a1 1 0 000-2zM16.5 10.5h4a1 1 0 000-2h-4a1 1 0 01-1-1v-4a1 1 0 00-2 0v4a3 3 0 003 3z"})))},y=o.memo((function(e){var t=e.rootEl,r=e.videoRef,a=e.appEmitter,i=e.env,s=e.parentFlashPlayer,u=e.adMode,m=e.teleParty,d=e.togglePlayPause,p=void 0===d?function(){}:d,f=e.playVideo,b=void 0===f?function(){}:f;if(i.isIOS&&u)return o.createElement(o.Fragment,null);var v=(0,o.useRef)(!1),y=(0,n.v9)((function(e){return e.player})),E=(0,n.I0)(),S=y.fullScreen,w=y.isAdminTeleParty,x=(0,o.useRef)((function(){})),k=function(){var e;"boolean"==typeof document.fullscreen?e=document.fullscreen:(e=!document.romeoFullscreen,document.romeoFullscreen=e),a.emit("fullscreenChange",e),E({type:c.aO.setFullScreen,payload:e})},T=function(){r.setAttribute("playsinline",""),r.setAttribute("x5-playsinline",""),r.setAttribute("webkit-playsinline",""),b()},A=function(){var e=(0,l.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(i.isMobile&&!i.isIOS&&window.screen&&window.screen.orientation&&window.screen.orientation.lock&&"function"==typeof window.screen.orientation.lock)){e.next=3;break}return e.next=3,window.screen.orientation.lock("landscape");case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),P=function(){var e=(0,l.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!document.exitFullscreen){e.next=6;break}return e.next=4,document.exitFullscreen();case 4:e.next=19;break;case 6:if(!document.webkitExitFullscreen){e.next=11;break}return e.next=9,document.webkitExitFullscreen();case 9:e.next=19;break;case 11:if(!document.mozCancelFullScreen){e.next=16;break}return e.next=14,document.mozCancelFullScreen();case 14:e.next=19;break;case 16:if(!document.msExitFullscreen){e.next=19;break}return e.next=19,document.msExitFullscreen();case 19:e.next=23;break;case 21:e.prev=21,e.t0=e.catch(0);case 23:case"end":return e.stop()}}),e,null,[[0,21]])})));return function(){return e.apply(this,arguments)}}(),O=function(){var e=(0,l.Z)(regeneratorRuntime.mark((function e(){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,o=t,v.current||i.isFlashPlayer||((o=r).removeAttribute("playsinline"),o.removeAttribute("x5-playsinline"),o.removeAttribute("webkit-playsinline")),i.isFlashPlayer&&(o=s),i.isIOS&&(o=r),!o.requestFullscreen){e.next=10;break}return e.next=8,o.requestFullscreen();case 8:e.next=28;break;case 10:if(!o.mozRequestFullScreen){e.next=15;break}return e.next=13,o.mozRequestFullScreen();case 13:e.next=28;break;case 15:if(!o.webkitRequestFullscreen){e.next=20;break}return e.next=18,o.webkitRequestFullscreen();case 18:e.next=28;break;case 20:if(!o.msRequestFullscreen){e.next=25;break}return e.next=23,o.msRequestFullscreen();case 23:e.next=28;break;case 25:if(!o.webkitEnterFullscreen){e.next=28;break}return e.next=28,o.webkitEnterFullscreen();case 28:e.next=32;break;case 30:e.prev=30,e.t0=e.catch(0);case 32:case"end":return e.stop()}}),e,null,[[0,30]])})));return function(){return e.apply(this,arguments)}}(),R=function(){var e=(0,l.Z)(regeneratorRuntime.mark((function e(t,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===r&&(r=void 0),void 0===r||!!r!==S){e.next=3;break}return e.abrupt("return");case 3:if(!S){e.next=8;break}return e.next=6,P();case 6:e.next=13;break;case 8:if(S){e.next=13;break}return e.next=11,O();case 11:return e.next=13,A();case 13:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),L=function(){var e=(0,l.Z)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=(window.screen.orientation||{}).type||window.screen.mozOrientation||window.screen.msOrientation||window.orientation){e.next=3;break}return e.abrupt("return");case 3:if(S||"landscape-primary"!==t&&"landscape-secondary"!==t){e.next=9;break}return e.next=6,O();case 6:window.screen.orientation.lock("any"),e.next=12;break;case 9:if(!S||"portrait-primary"!==t&&"portrait-secondary"!==t){e.next=12;break}return e.next=12,P();case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,o.useEffect)((function(){var e;return i.fullscreenOnLandscape&&(null!=(e=window.screen)&&e.orientation?window.screen.orientation.addEventListener("change",L):window.addEventListener("orientationchange",L)),function(){var e,t;i.fullscreenOnLandscape&&null!=(e=window.screen)&&e.orientation&&(null!=(t=window.screen)&&t.orientation?window.screen.orientation.removeEventListener("change",L):window.removeEventListener("orientationchange",L))}}),[i.fullscreenOnLandscape,S]),x.current=function(e){R(),m&&!w||e&&p()};var D=function(e){R(!0,e)};return(0,o.useEffect)((function(){if(i.isFlashPlayer||(a.on("doFullscreen",R),a.on("setFullscreen",D)),"boolean"!=typeof document.fullscreen&&(document.romeoFullscreen=document.fullscreen),!i.isFlashPlayer){var e=document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled;t.addEventListener("fullscreenchange",k),t.addEventListener("webkitfullscreenchange",k),t.addEventListener("mozfullscreenchange",k),t.addEventListener("MSFullscreenChange",k),e||r.addEventListener("webkitendfullscreen",T),v.current=e;var o=function(){x.current(!0)};return r.addEventListener("dblclick",o),function(){t.removeEventListener("fullscreenchange",k),t.removeEventListener("webkitfullscreenchange",k),t.removeEventListener("mozfullscreenchange",k),t.removeEventListener("MSFullscreenChange",k),v.current||t.addEventListener("webkitendfullscreen",T),r.removeEventListener("dblclick",o)}}return i.isFlashPlayer?(t.addEventListener("webkitfullscreenchange",k),function(){t.removeEventListener("webkitfullscreenchange",k)}):function(){i.isFlashPlayer||(a.off("doFullscreen",R),a.off("setFullscreen",D))}}),[t]),o.createElement("button",{type:"button",className:"romeo-button romeo-fullscreen",onClick:R,onMouseDown:function(e){e.preventDefault()},"aria-label":(S?i.messages.exitFullScreen:i.messages.fullScreen)+" F"},S&&o.createElement(g,null),!S&&o.createElement(h,null),o.createElement("div",{className:"romeo-player-tooltip romeo-player-big-tooltip romeo-player-tooltip-fullscreen"},(S?i.messages.exitFullScreen:i.messages.fullScreen)+" (F)"))})),E=r(5281),S=r(42377),w=r(44845),x=r(73126),k=(r(39714),r(74916),r(23123),r(9653),r(3649)),T=r.n(k),A=r(2991),P=r.n(A),O=r(77766),R=r.n(O),L=r(5302),D=(r(83627),r(81643)),M=r.n(D),I=r(94198),N=r.n(I),F=r(78914),C=r.n(F),V=r(93476),q=r.n(V),H=(r(69600),r(15306),r(4723),r(41875)),z=r.n(H),B=function(e,t){var r=[" ","\n","\r","\t","\f","\v"," "," "," "," "," "," "," "," "," "," "," "," ","​","\u2028","\u2029"," "].join(""),o=0,n=0,a=""+e;for(t&&(r=(""+t).replace(/([[\]().?/*{}+$^:])/g,"$1")),o=a.length,n=0;n<o;n+=1)if(-1===M()(r).call(r,a.charAt(n))){a=a.substring(n);break}for(n=(o=a.length)-1;n>=0;n-=1)if(-1===M()(r).call(r,a.charAt(n))){a=a.substring(0,n+1);break}return-1===M()(r).call(r,a.charAt(0))?a:""},j=function(e){var t=function(e){var t=e.split("."),r=t[0].split(":");return{milliseconds:N()(t[1],10)||0,seconds:N()(r.pop(),10)||0,minutes:N()(r.pop(),10)||0,hours:N()(r.pop(),10)||0}}(e);return N()(3600*t.hours+60*t.minutes+t.seconds+t.milliseconds/1e3,10)},U=function(e){return new(q())((function(t,r){var o={url:e},n=function(e){return void 0===e&&(e=[window.location.protocol,"//",window.location.hostname,window.location.port?":"+window.location.port:"",window.location.pathname].join("")),e.split(/([^/]*)$/gi).shift()}(e);z()(o,(function(e,o,a){if(a&&!e){var i=function(e,t){var r=[],o=e.split(/[\r\n][\r\n]/i);return C()(o).call(o,(function(e){if(e.match(/([0-9]{2}:)?([0-9]{2}:)?[0-9]{2}(.[0-9]{3})?( ?--> ?)([0-9]{2}:)?([0-9]{2}:)?[0-9]{2}(.[0-9]{3})?[\r\n]{1}.*/gi)){var o=e.split(/[\r\n]/i),n=o[0].split(/ ?--> ?/i),a=n[0],i=n[1],s=function(e,t){var r,o,n={},a=(r=e,o=t,M()(r).call(r,"//")>=0?r:0===M()(o).call(o,"//")?[o.replace(/\/$/gi,""),B(r,"/")].join("/"):M()(o).call(o,"//")>0?[B(o,"/"),B(r,"/")].join("/"):r);if(!a.match(/#xywh=/i))return n.background='url("'+a+'")',n;var i,s,l,c=(s=(i=a.split(/#xywh=/i))[0],{x:(l=i[1].match(/[0-9]+/gi))[0],y:l[1],w:l[2],h:l[3],image:s});return n.background='url("'+c.image+'") no-repeat -'+c.x+"px -"+c.y+"px",n.width=c.w+"px",n.height=c.h+"px",n}(o[1],t);r.push({start:j(a),end:j(i),css:s})}})),r}(a,n);t(i)}else r()}))}))},W=function(e,t){if(!e)return{};for(var r=0;r<e.length;r+=1){var o=e[r];if(t>=o.start&&t<o.end)return o.css}return{}},X=function(e,t){return e.replace("_XxX_",""+t)},G=["styles"];function _(){return _=d()||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},_.apply(this,arguments)}var Z=function(e){e.styles;var t=(0,u.Z)(e,G);return o.createElement("svg",_({stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 448 512"},t),o.createElement("path",{d:"M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z",stroke:"none"}))},Y=function(e){var t=e.videoRef,r=e.thumbs,a=e.duration,i=e.previewMode,l=e.env,u=e.currentMediaSession,m=e.casting,p=e.adMode,f=e.chapterlist,h=e.tech,b=e.HlsChunkDuration,v=e.clip,g=e.mobileStyle,y=e.seekTo,E=void 0===y?function(){}:y,S=e.playVideo,w=void 0===S?function(){}:S,k=e.pauseVideo,A=void 0===k?function(){}:k;if(!t||!a)return o.createElement(o.Fragment,null);var O=(0,n.I0)(),R=(0,n.v9)((function(e){return e.player})),D=R.midRolls,M=(0,o.useRef)([0,a]);if(l.isEventLive&&h.type===s.Oq.HLS&&b){var I=h.HLS.currentLevel;if(I>-1){var N=h.HLS.levels[I].details.totalduration;N<a&&M.current[0]+2*b<a-N?M.current=[a-N,a]:N+2*b>=a&&M.current[1]+2*b<a&&(M.current=[0,a])}}var F,C=m&&u?u.currentTime:t.currentTime,V=Math.floor(C),q=[V],H=(0,o.useState)(!1),z=H[0],B=H[1],j=(0,o.useState)(null),W=j[0],G=j[1],_=(0,o.useState)(null),Z=_[0],Y=_[1],$=(0,o.useState)([]),ee=$[0],te=$[1],re=(0,o.useRef)(""),oe=(0,o.useRef)(!1),ne=(0,o.useRef)(!1),ae=(0,o.useRef)(!1),ie=(0,o.useRef)(!1),se=(0,o.useState)({values:T()(q).call(q),update:T()(q).call(q)}),le=se[0],ce=se[1],ue=function(e,t){l.isEventLive&&t!==c.js.EVENT||(E(e[0]),ce(d()({},le,{values:e})))},me=function(){r&&r.src&&U(r.src).then((function(e){oe.current=e,Y(e)}),(function(){ne.current=!0}))};if(l.isWebpSupport&&l.thumbSizeSupport&&!ne.current&&r&&r.src&&t&&W&&(g&&"mobile"!==re.current?(re.current="mobile",ae.current&&"notHave"!==ae.current?Y(ae.current):ae.current?"notHave"===ae.current&&oe.current?Y(oe.current):oe.current||me():function(){if(W){var e=X(W,l.thumbPath+"t.webp");U(e).then((function(e){ae.current=e,Y(e)})).catch((function(){ae.current="notHave",oe.current?Y(oe.current):me()}))}}()):g||"desktop"===re.current||(re.current="desktop",ie.current&&"notHave"!==ie.current?Y(ie.current):ie.current?"notHave"===ie.current&&oe.current?Y(oe.current):oe.current||me():function(){if(W){var e=X(W,l.thumbPath+"m.webp");U(e).then((function(e){ie.current=e,Y(e)})).catch((function(){ie.current="notHave",oe.current?Y(oe.current):me()}))}}())),(0,o.useEffect)((function(){Z&&O({type:c.aO.setFilmStrip,payload:Z})}),[Z]),(0,o.useEffect)((function(){!p&&v&&v.start&&v.end?M.current=[v.start,v.end]:M.current=[0,a]}),[a]),(0,o.useEffect)((function(){if(r&&r.src){var e=r.src.replace("-t.","_XxX_.").replace("_t.","_XxX_.");G(e),l.isWebpSupport&&l.thumbSizeSupport||U(r.src).then(Y,(function(){}))}return f&&Array.isArray(f)&&te(f),function(){}}),[r]),i){var de=(0,s.cz)(i.previewDuration,a);F=o.createElement(L.S0,null,(function(){return o.createElement("div",{className:"preview-end",style:{left:de}})}))}var pe=[];if(D.length>0)for(var fe=function(e){var r=(0,s.cz)(D[e].seconds,t.duration);pe.push(o.createElement(L.S0,{key:D[e].timeOffset},(function(){return o.createElement("div",{className:"romeo-midrol-break",style:{left:r}})})))},he=0;he<D.length;he+=1)fe(he);var be=[];if(ee&&ee.length>0&&t)for(var ve=function(e){var r=ee[e+1]?ee[e+1].start:t.duration,n=0===e?0:ee[e].start,c=(0,s.cz)(n,t.duration),u=4/t.clientWidth*t.duration;r-n-u<0&&(u=0);var m=(0,s.cz)(r-n-u,a);e===ee.length-1&&(m=(0,s.cz)(r-n,a)),be.push(o.createElement(L.S0,{key:c.toString()},(function(r){return o.createElement(J,(0,x.Z)({classes:"romeo-chapterlist "+(e===ee.length-1?"romeo-chapterlist-last":""),styleData:{left:c,width:m}},r,{vttData:Z,previewMode:i,chapterData:ee,videoRef:t,env:l,clip:v}))})))},ge=0;ge<ee.length;ge+=1)ve(ge);return o.createElement(o.Fragment,null,o.createElement(L.iR,{className:"romeo-progress-bar"+(z?" active":""),mode:1,step:1,domain:M.current,onSlideStart:function(){B(!0),A()},onSlideEnd:function(e){B(!1),w("seek"),l.isEventLive&&ue(e,c.js.EVENT)},onUpdate:function(e){ce(d()({},le,{update:e}))},onChange:ue,values:[V]},function(){if(!l.isFlashPlayer&&!m&&t.buffered&&t.buffered.end){for(var e=[],r=function(r){var n=t.buffered.start(r),i=t.buffered.end(r),l=(0,s.cz)(n,a),c=(0,s.cz)(i-n,a);e.push(o.createElement(L.S0,{key:n.toString()},(function(){return o.createElement("div",{className:"buffer-progress "+(ee&&ee.length>0&&!p?"romeo-progress-buffer-chapter":""),style:{left:l,width:c}})})))},n=0;n<t.buffered.length;n+=1)r(n);return e}}(),(p||0===be.length)&&o.createElement(L.S0,null,(function(e){return o.createElement(J,(0,x.Z)({env:l},e,{vttData:Z,previewMode:i,chapterData:ee,videoRef:t,clip:v}))})),o.createElement(L.OF,{right:!1},(function(e){var t=e.tracks,r=e.getTrackProps;return o.createElement(o.Fragment,null,P()(t).call(t,(function(e){var t=e.id,n=e.target.percent;return o.createElement(Q,{key:t,percent:n,getTrackProps:r,env:l})})))})),F,!p&&be.length>0&&be,!p&&pe.length>0&&pe,o.createElement(L.wO,null,(function(e){var r=e.handles,n=e.activeHandleID,a=e.getHandleProps;return o.createElement("div",{className:"handles"},P()(r).call(r,(function(e){return o.createElement(K,{key:e.id,handle:e,domain:M.current,isActive:e.id===n,getHandleProps:a,vttData:Z,previewMode:i,env:l,videoRef:t,chapterData:ee,clip:v})})))}))))},J=function(e){function t(){for(var t,r,o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return r=e.call.apply(e,R()(t=[this]).call(t,n))||this,(0,w.Z)((0,E.Z)(r),"state",{value:null,percent:null}),(0,w.Z)((0,E.Z)(r),"onMouseEnter",(function(){document.addEventListener("mousemove",r.onMouseMove)})),(0,w.Z)((0,E.Z)(r),"onMouseLeave",(function(){r.setState({value:null,percent:null}),document.removeEventListener("mousemove",r.onMouseMove)})),(0,w.Z)((0,E.Z)(r),"onMouseMove",(function(e){var t=r.props,o=t.activeHandleID,n=t.getEventData;o?r.setState({value:null,percent:null}):r.setState(n(e))})),r}return(0,S.Z)(t,e),t.prototype.render=function(){var e=this.state,t=e.value,r=e.percent,n=this.props,a=n.activeHandleID,i=n.getRailProps,s=n.vttData,l=n.previewMode,c=n.chapterData,u=n.videoRef,m=n.styleData,d=void 0===m?{}:m,p=n.classes,f=n.env,h=n.clip;return o.createElement(o.Fragment,null,!a&&t?o.createElement($,{value:t,percent:r,vttData:s,previewMode:l,chapterData:c,videoRef:u,env:f,clip:h}):null,o.createElement("div",(0,x.Z)({className:"rail "+p,style:d},i({onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave}))),o.createElement("div",{className:"rail-center",style:d}))},t}(o.Component),K=function(e){function t(){for(var t,r,o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return r=e.call.apply(e,R()(t=[this]).call(t,n))||this,(0,w.Z)((0,E.Z)(r),"state",{mouseOver:!1}),(0,w.Z)((0,E.Z)(r),"onMouseEnter",(function(){r.setState({mouseOver:!0})})),(0,w.Z)((0,E.Z)(r),"onMouseLeave",(function(){r.setState({mouseOver:!1})})),r}return(0,S.Z)(t,e),t.prototype.render=function(){var e=this.props,t=e.domain,r=t[0],n=t[1],a=e.handle,i=a.id,s=a.value,l=a.percent,c=e.isActive,u=e.disabled,m=e.getHandleProps,d=e.vttData,p=e.previewMode,f=e.env,h=e.videoRef,b=e.chapterData,v=e.clip,g=this.state.mouseOver,y={left:l+"%"};return f.color&&(y.backgroundColor=f.color),o.createElement(o.Fragment,null,!g&&!c||u?null:o.createElement($,{value:s,env:f,chapterData:b,videoRef:h,percent:l,vttData:d,previewMode:p,clip:v}),o.createElement("div",(0,x.Z)({className:"progress-handle",style:{left:l+"%"}},m(i,{onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave}))),o.createElement("div",{className:"prog-slider",role:"slider","aria-valuemin":r,"aria-valuemax":n,"aria-valuenow":s,style:y}))},t}(o.Component);function Q(e){var t=e.percent,r=e.getTrackProps,n=e.env,a={width:t+"%"};return n.color&&(a.backgroundColor=n.color),o.createElement("div",(0,x.Z)({className:"play-progress",style:a},r()))}var $=function(e){var t=e.percent,r=e.value,a=e.vttData,i=e.previewMode,l=e.chapterData,c=e.videoRef,u=e.env,m=e.clip,d=(0,o.useRef)(null),p=(0,n.v9)((function(e){return e.player})).miniPlayer,f=i&&r>i.previewDuration;if(l&&l.length>0)for(var h=0;h<l.length;h+=1){var b=l[h].start,v=l[h+1]?l[h+1].start:c.duration;r>b&&r<v&&d.current!==l[h].text&&(d.current=l[h].text)}var g=p?{}:W(a,r),y=c.offsetWidth*(t/100),E=t;if(g&&g.width){var S=g.width.split("px")[0];(S=Number(S)/2)&&(y<S?E=S/c.offsetWidth*100:y+S>c.offsetWidth&&(E=(c.offsetWidth-S)/c.offsetWidth*100))}return o.createElement("div",{className:"romeo-tooltip-container",style:{left:E+"%"}},o.createElement("div",{className:"romeo-tooltip"},o.createElement("div",{className:"romeo-tooltip-photo "+(f?"preview":"")+" "+(d.current?"romeo-tooltip-photo-chapter":""),style:p?{}:W(a,r)},o.createElement("div",{className:"romeo-tooltip-time "+(d.current?"romeo-tooltip-time-chapter":"")},f&&o.createElement(Z,null),u.isEventLive?"-"+(0,s.f3)(c.duration-r):""+(m&&m.start&&m.end?(0,s.f3)(r-m.start):(0,s.f3)(r))),d.current&&o.createElement("div",{className:"romeo-chapter-text",dangerouslySetInnerHTML:{__html:d.current}}))))},ee=r(69284),te=["styles"];function re(){return re=d()||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},re.apply(this,arguments)}var oe=function(e){e.styles;var t=(0,u.Z)(e,te);return o.createElement("svg",re({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),o.createElement("path",{d:"M19 18H5a3 3 0 01-3-3V9a3 3 0 013-3h14a3 3 0 013 3v6a3 3 0 01-3 3zM5 8a1 1 0 00-1 1v6a1 1 0 001 1h14a1 1 0 001-1V9a1 1 0 00-1-1z",fill:"currentcolor","data-viewbox":"0 0 24 24"}))},ne=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(7739).then(r.bind(r,19581))}),"AparatLinkButton")})),ae=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(8996).then(r.bind(r,3849))}),"TVSettings")})),ie=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(2774).then(r.bind(r,91356))}),"CastSetting")})),se=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(7984).then(r.bind(r,52592))}),"ShowNextPart")})),le=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(6980).then(r.bind(r,91619))}),"ShowSessions")})),ce=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(2226).then(r.bind(r,58126))}),"MiniPlayer")})),ue=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(9532).then(r.bind(r,82882))}),"Speed")})),me=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(6417).then(r.bind(r,67416))}),"AudioLang")})),de=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(2583).then(r.bind(r,88314))}),"Caption")})),pe=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(5466).then(r.bind(r,44514))}),"Pip")})),fe=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(2306).then(r.bind(r,4513))}),"Airplay")})),he=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(2854).then(r.bind(r,97014))}),"Volume")})),be=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(7448).then(r.bind(r,68977))}),"Settings")})),ve=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(9030).then(r.bind(r,14e3))}),"SocialTour")})),ge=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(7827).then(r.bind(r,10127))}),"JumpBackIcon15sec")})),ye=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(4479).then(r.bind(r,20165))}),"JumpBackIcon5sec")})),Ee=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(9006).then(r.bind(r,9087))}),"JumpForwardIcon15sec")})),Se=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(6189).then(r.bind(r,66073))}),"JumpForwardIcon5sec")})),we=(0,o.lazy)((function(){return(0,s.XD)((function(){return r.e(8464).then(r.bind(r,19640))}),"JumpMobileIcon")})),xe=function(e){var t=e.videoRef,r=e.tech,a=e.sources,l=e.currentSourceIndex,u=e.audioTracks,m=e.thumbs,d=e.fullScreen,p=e.env,f=e.envIcons,h=e.isUserActive,b=e.previewMode,v=e.adMode,g=void 0!==v&&v,E=e.volume,S=e.muted,w=e.downloadSrc,x=e.aparatLink,k=e.title,T=e.multiAudio,A=e.audioLangs,P=e.setAudioLangs,O=e.currentMediaSession,R=e.tracks,L=e.appEmitter,D=e.parentFlashPlayer,M=e.cast,I=e.seriesData,N=e.rootEl,F=e.aparatLinkDisable,C=e.chapterlist,V=e.HlsChunkDuration,q=e.mobileStyle,H=e.clip,z=e.controlbarScroll,B=e.teleParty,j=e.goTheater,U=void 0===j?function(){}:j,W=e.setCurrentSourceIndex,X=void 0===W?function(){}:W,G=e.seekTo,_=void 0===G?function(){}:G,Z=e.setVolume,J=void 0===Z?function(){}:Z,K=e.setMuted,Q=void 0===K?function(){}:K,$=e.playVideo,te=void 0===$?function(){}:$,re=e.pauseVideo,xe=void 0===re?function(){}:re,ke=e.setCast,Te=void 0===ke?function(){}:ke,Ae=e.setPlayerFocus,Pe=void 0===Ae?function(){}:Ae,Oe=e.getEpisode,Re=void 0===Oe?function(){}:Oe,Le=e.setSubtitleLang,De=void 0===Le?function(){}:Le,Me=e.onVideoClick,Ie=void 0===Me?function(){}:Me;if(!t)return o.createElement(o.Fragment,null);var Ne=(0,n.v9)((function(e){return e.player})),Fe=(0,n.I0)(),Ce=Ne.casting,Ve=Ne.receiverAvailable,qe=Ne.firstLoad,He=Ne.captionAvailable,ze=Ne.menuIsOpen,Be=Ne.miniPlayer,je=Ne.video,Ue=Ne.isAdminTeleParty,We=(0,o.useRef)((function(){})),Xe=(0,o.useState)(null),Ge=Xe[0],_e=Xe[1],Ze=(0,o.useState)(!1),Ye=Ze[0],Je=Ze[1],Ke=(0,o.useState)(!1),Qe=Ke[0],$e=Ke[1],et=b?b.contentDuration:t.duration,tt=Ce&&O?O.currentTime:t.currentTime,rt=t.paused,ot=function(e){var r=Ce?O.currentTime:t.currentTime;_(r-p.jumpSec),"dubleClick"===e&&(Je(!0),setTimeout((function(){Je(!1)}),500))},nt=function(e){if(!g){var r=Ce?O.currentTime:t.currentTime;_(r+p.jumpSec)}"dubleClick"===e&&($e(!0),setTimeout((function(){$e(!1)}),500))};if(We.current=function(){rt?te():xe()},C&&C.length>0&&t)for(var at=0;at<C.length;at+=1){var it=0===at?0:C[at].start,st=C[at+1]?C[at+1].start:t.duration,lt=t.currentTime;if(lt>it&&lt<st&&C[at+1]){if(!Ge||Ge.text!==C[at+1].text||Ge.end){var ct=C[at+1];ct.end=!1,_e(ct)}}else if(lt>it&&lt<st&&!C[at+1]&&(!Ge||!Ge.end)){var ut=C[C.length-1];ut.end=!0,_e(ut)}}(0,o.useEffect)((function(){if(p.debug&&console.log("==> Controls Loaded at:",(0,s.Xn)(!0)),!Ce&&!p.isFlashPlayer&&!p.isTV){var e=i().get("romeo-vol");e&&"number"==typeof e&&J(e),p.muted?Q(!0):Q(!!i().get("romeo-muted"))}}),[a]);var mt="romeo-controls"+(rt?" romeo-controls-pause":" romeo-controls-play")+(p.isMobile?" mobile":" desktop")+(d?" fullscreen":"")+(h||ze?" romeo-controls-show":" romeo-controls-hide")+(g?" ad-mode":" ")+(B&&!Ue?" romeo-telepary":" ")+(Be?" romeo-controls-mini-player":"")+(ze?" romeo-controls-menu-open":""),dt=function(e){e.preventDefault()},pt=function(e){return(q&&"mobile"===e&&(rt||h)||!q&&"mobile"!==e)&&Ve&&(p.isChrome||Ce)&&!g&&p.castCapability?o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ie,{env:p,setCast:Te})):null},ft=function(e){return(q&&"mobile"===e&&rt||!q&&"mobile"!==e)&&p.showAirPlay&&!Ce&&!p.isFlashPlayer&&window.WebKitPlaybackTargetAvailabilityEvent?o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(fe,{video:t,env:p})):null};return o.createElement(o.Fragment,null,!p.isTV&&o.createElement("div",{className:"\n romeo-controlbar-gradiend\n romeo-controlbar-gradiend-top\n "+(h||rt||ze?"romeo-controls-show":"romeo-controls-hide")+"\n "+(Be?"romeo-controlbar-gradiend-mini-player":"")+"\n ",onClick:Ie,onKeyPress:function(){},role:"presentation"}),!p.isTV&&o.createElement("div",{className:"\n romeo-controlbar-gradiend\n romeo-controlbar-gradiend-bottom\n "+(h||rt||ze?"romeo-controls-show":"romeo-controls-hide")+"\n "+(Be?"romeo-controlbar-gradiend-mini-player":"")+"\n ",onClick:Ie,onKeyPress:function(){},role:"presentation"}),pt("mobile"),ft("mobile"),(p.showJumpButtons||p.isEventLive)&&!g&&q&&(!B||!!B&&Ue)&&o.createElement(o.Fragment,null,o.createElement("div",{className:"romeo-jump-button-mobile-wrapper romeo-jump-back-button-mobile-wrapper",onDoubleClick:function(){return ot("dubleClick")}},o.createElement("div",{className:"romeo-jump-button-mobile "+(Ye?"romeo-jump-button-mobile-show":"")},o.createElement("div",{className:"romeo-jump-back-wrapper"},o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(we,{width:18,height:18})),o.createElement("span",null,5===p.jumpSec?p.messages.jumpBack5sec:p.messages.jumpBack15sec)))),o.createElement("div",{className:"romeo-jump-button-mobile-wrapper romeo-jump-forward-button-mobile-wrapper",onDoubleClick:function(){return nt("dubleClick")}},o.createElement("div",{className:"romeo-jump-button-mobile "+(Qe?"romeo-jump-button-mobile-show":"")},o.createElement("div",{className:"romeo-jump-forward-wrapper"},o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(we,{width:18,height:18})),o.createElement("span",null,5===p.jumpSec?p.messages.jumpForward5sec:p.messages.jumpForward15sec))))),o.createElement("div",{className:mt},(p.showProgress||p.isEventLive)&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(Y,{videoRef:t,duration:et,seekTo:_,playVideo:te,pauseVideo:xe,thumbs:m,previewMode:b,env:p,currentMediaSession:O,casting:Ce,adMode:g,chapterlist:C,tech:r,HlsChunkDuration:V,mobileStyle:q,clip:H})),o.createElement("div",{className:"left-bar"},(!B||!!B&&Ue)&&o.createElement("button",{type:"button",className:"romeo-button romeo-play-toggle","aria-label":(rt?p.messages.play:p.messages.pause)+" K",onClick:We.current,onMouseDown:dt},!rt&&je.state!==c.PO.VIDEOSTATE.ENDED&&f.pause,rt&&je.state!==c.PO.VIDEOSTATE.ENDED&&f.play,je.state===c.PO.VIDEOSTATE.ENDED&&f.replay,o.createElement("div",{className:"romeo-player-tooltip romeo-player-tooltip-play"},(rt?p.messages.play:p.messages.pause)+" (K)")),je.state===c.PO.VIDEOSTATE.ENDED||q||!p.showJumpButtons&&!p.isEventLive||g||!(!B||B&&Ue)?null:o.createElement(o.Fragment,null,o.createElement("button",{type:"button",className:"romeo-button jump-back "+(Be?"romeo-hide":""),onClick:ot,onMouseDown:dt,"aria-label":(5===p.jumpSec?p.messages.jumpBack5sec:p.messages.jumpBack15sec)+" J"},o.createElement("div",{className:"romeo-player-tooltip romeo-player-big-tooltip"},(5===p.jumpSec?p.messages.jumpBack5sec:p.messages.jumpBack15sec)+" (J)"),5===p.jumpSec?o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ye,null)):o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ge,null))),o.createElement("button",{type:"button",className:"romeo-button jump-forward "+(Be?"romeo-hide":""),onClick:nt,onMouseDown:dt,"aria-label":(5===p.jumpSec?p.messages.jumpForward5sec:p.messages.jumpForward15sec)+" L"},o.createElement("div",{className:"romeo-player-tooltip romeo-player-big-tooltip"},(5===p.jumpSec?p.messages.jumpForward5sec:p.messages.jumpForward15sec)+" (L)"),5===p.jumpSec?o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(Se,null)):o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(Ee,null)))),!p.isTV&&!Ce&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(he,{volume:E,muted:S,playerVolume:J,playerMute:Q,env:p})),t.currentTime>0&&et>0&&o.createElement("div",{className:"romeo-progress "+(p.isEventLive&&tt+5*V<et?"romeo-hls-event-not-live":"")},o.createElement("div",{className:"romeo-current-time"},o.createElement("span",{className:"romeo-current "+(p.isEventLive?"romeo-hls-event-current":""),onClick:function(){p.isEventLive&&_(et-2*V)},onKeyPress:function(){},role:"presentation"},p.isEventLive?"Live":""+(!g&&H&&H.start&&H.end?(0,s.f3)(tt-H.start):(0,s.f3)(tt))),o.createElement("span",{className:"romeo-duration"}," / "+(!g&&H&&H.start&&H.end?(0,s.f3)(H.end-H.start):(0,s.f3)(et)))),Ge&&!g&&!q&&o.createElement("div",{type:"button",className:"romeo-next-chapter "+(Ge.end?"":"romeo-next-chapter-icon"),onClick:function(){Ge&&!Ge.end&&_(Ge.start)},onKeyPress:function(){},role:"button",tabIndex:0,dangerouslySetInnerHTML:{__html:Ge.text?Ge.text:""}})),p.isLive&&!g&&!p.isEventLive&&o.createElement("span",{className:"romeo-live-badge"},"Live"),b&&o.createElement("div",{className:"romeo-preview-mode"},o.createElement("a",{className:"purchase",href:b.pruchaseLink,"data-capping":"preview|controlbarButton","data-capping-cta":"preview|controlbarButton","data-ctr":"preview|controlbarButton","data-ctr-cta":"preview|controlbarButton"},b.text?b.text:p.messages.subscription),b.previewTitle?b.previewTitle:p.messages.nminfree)),o.createElement("div",{className:"center-bar"},!!z&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement("div",{className:"romeo-controlbar-scroll",onClick:function(){L.emit("controlbarScrollClick",!0)},onKeyPress:function(){},role:"presentation"},o.createElement("span",null,z),o.createElement(ee.Z,{width:12,height:12})))),o.createElement("div",{className:"right-bar"},x&&!Ce&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ne,{videoRef:t,env:p,title:k,aparatLink:x,aparatLinkDisable:F})),p.showFullScreen&&!Ce&&o.createElement(y,{rootEl:p.isFlashPlayer?D:N,videoRef:t,playVideo:te,togglePlayPause:We.current,appEmitter:L,env:p,parentFlashPlayer:D,adMode:g,teleParty:B}),p.showPIP&&!Ce&&!p.isFlashPlayer&&!g&&"function"==typeof document.exitPictureInPicture&&(!B||!!B&&Ue)&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(pe,{video:t,env:p,setPlayerFocus:Pe,appEmitter:L})),p.showMiniPlayer&&!Ce&&!p.isFlashPlayer&&!g&&qe&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ce,{env:p,setPlayerFocus:Pe,appEmitter:L})),ft(),p.showGoTheater&&!Ce&&!p.isFlashPlayer&&!g&&o.createElement("button",{type:"button",className:"romeo-button go-theater "+(Be?"romeo-hide":""),onClick:U,onMouseDown:dt,"aria-label":p.messages.theaterMode+" T"},o.createElement(oe,null),o.createElement("div",{className:"romeo-player-tooltip romeo-player-big-tooltip"},p.messages.theaterMode+" (T)")),!g&&o.createElement(o.Fragment,null,!Ce&&p.isTV&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ae,{env:p,tech:r,videoRef:t,sources:a,currentSourceIndex:l,setCurrentSourceIndex:X,multiAudio:T,setAudioLangs:P,audioLangs:A,tracks:R,setSubtitleLang:De,appEmitter:L})),!Ce&&!p.isTV&&(!p.isIOS||p.isNewIOS)&&!p.isFlashPlayer&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(be,{env:p,tech:r,videoRef:t,audioTracks:u,downloadSrc:w,tracks:R,multiAudio:T,setSubtitleLang:De,appEmitter:L,mobileStyle:q})),p.showNextPart&&!!M&&qe&&(!B||!!B&&Ue)&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(se,{env:p,cast:M,getEpisode:Re,appEmitter:L,setPlayerFocus:Pe})),p.showSessions&&!!I&&qe&&(!B||!!B&&Ue)&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(le,{env:p,seriesData:I,appEmitter:L,getEpisode:Re,mobileStyle:q,videoRef:t})),(t&&t.textTracks&&t.textTracks.length>0&&!He||R&&R.length>0&&He)&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(de,{env:p,tracks:He?R:t.textTracks,appEmitter:L,setSubtitleLang:De,multiAudio:T,mobileStyle:q,videoRef:t})),(u&&u.length>1&&!p.isTV||p.isTV&&A&&P&&!p.isFlashPlayer)&&!p.isTV&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(me,{env:p,tech:p.isTV?{type:s.Oq.HTML5,setAudioLangs:P}:r,audioTracks:p.isTV?A:u,appEmitter:L,mobileStyle:q,videoRef:t})),p.showPlaybackRate&&!p.isTV&&!Ce&&(!B||!!B&&Ue)&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ue,{env:p,currentPlaybackRate:t.playbackRate,setCurrentPlaybackRate:function(e){Fe({type:c.aO.setPlaybackRate,payload:e}),t.playbackRate=e},mobileStyle:q,videoRef:t,appEmitter:L}))),!!p.socialTourAPI&&!g&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ve,{env:p,appEmitter:L,videoRef:t})),pt())))}},76707:function(e,t,r){"use strict";r.d(t,{Y:function(){return m}});var o=r(78914),n=r.n(o),a=r(20116),i=r.n(a),s=r(93476),l=r.n(s),c=(r(74916),r(23123),r(4723),r(9653),r(41875)),u=r.n(c),m=function(e){return new(l())((function(t,r){var o={url:e};u()(o,(function(e,o,a){if(a&&!e){var s=function(e){var t=e.split(/[\r\n][\r\n][\r\n]/i),r={records:t.length,total:t.length,rows:[]};return n()(t).call(t,(function(e){if(e.match(/([0-9]{2}:)?([0-9]{2}:)?[0-9]{2}(.[0-9]{3})?( ?--> ?)([0-9]{2}:)?([0-9]{2}:)?[0-9]{2}(.[0-9]{3})?[\r\n]{1}.*/gi)){var t=e.split(/[\r\n]/i),o=i()(t).call(t,(function(e){return null!==e&&""!==e})),n=o[1].split(/ ?--> ?/i),a=n[0],s=n[1],l=a.split(":");l=60*+l[0]*60+60*+l[1]+ +l[2];var c=s.split(":");c=60*+c[0]*60+60*+c[1]+ +c[2];for(var u=[],m=2;m<=o.length;m+=1)o[m]&&u.push(o[m]);r.rows.push({index:Number(o[0])?Number(o[0]):o[0],start:a,end:s,startTime:l,endTime:c,data:u,position:"HB",alignment:"C"})}})),r}(a);t(s)}else r()}))}))}},11794:function(e,t,r){"use strict";r.d(t,{Qx:function(){return d},aO:function(){return c},PO:function(){return u},js:function(){return m}});var o=r(51942),n=r.n(o),a=r(67294),i=r(14890),s=r(39704),l=r(42123),c={setLinearAdMode:"setLinearAdMode",setHandleSyncAd:"setHandleSyncAd",setSkipCounter:"setSkipCounter",setSlideAd:"setSlideAd",setPauseAd:"setPauseAd",setAnnotationState:"setAnnotationState",setEndHtml:"setEndHtml",setFullScreen:"setFullScreen",setVideoState:"setVideoState",setMessages:"setMessages",setInit:"setInit",setCast:"setCast",setCastData:"setCastData",setReceiverAvailable:"setReceiverAvailable",setActiveTrackIndex:"setActiveTrackIndex",setCaptionAvailable:"setCaptionAvailable",setAdMultiSrc:"setAdMultiSrc",setPauseAdBanner:"setPauseAdBanner",setMustBeFullScreen:"setMustBeFullScreen",setDefaultStore:"setDefaultStore",setMenuIsOpen:"setMenuIsOpen",setAdBlocker:"setAdBlocker",setFirstLoad:"setFirstLoad",setAdFirstLoad:"setAdFirstLoad",setContentFirstLoad:"setContentFirstLoad",setRadioMode:"setRadioMode",setPlaybackRate:"setPlaybackRate",setMidRolls:"setMidRolls",setEndHtmlElement:"setEndHtmlElement",setInitEmbed:"setInitEmbed",setInitTeleParty:"setInitTeleParty",setMiniPlayer:"setMiniPlayer",setAutoplaySupported:"setAutoplaySupported",setIsAdminTeleParty:"setIsAdminTeleParty",setRomeoReady:"setRomeoReady",setSocialTour:"setSocialTour",setFilmStrip:"setFilmStrip",setToast:"setToast"},u={LINEARADMODE:{WAIT2START:"WAIT2START",WAIT4READY2DISPALY:"WAIT4READY2DISPALY",DISPLAY:"DISPLAY",VASTFINISH:"VASTFINISH",NOTSET:"NOTSET",SETSRC:"SETSRC",WAIT4PLAYERREADY:"WAIT4PLAYERREADY",PLAYAD:"PLAYAD",IFINISH:"IFINISH",LOADMETA:"LOADMETA"},SLIDEADSTATE:{NOTSET:-1,NOTSHOW:0,CANSHOW:1,SHOW:2},PAUSEADSTATE:{NOTSET:-1,NOTSHOW:0,CANSHOW:1,SHOW:2},ENDHTML:{NOTHING:0,INIT:2,SHOW:3},VIDEOSTATE:{INIT:"INIT",READY:"READY",PLAYING:"PLAYING",PAUSE:"PAUSE",ERROR:"ERROR",ENDED:"ENDED",FIRSTPLAYINIT:"FIRSTPLAYINIT",PLAY:"PLAY",LOADEDMETADATA:"LOADEDMETADATA",SEEKING:"SEEKING",SEEKED:"SEEKED",WAITING:"WAITING",CANPLAYTHROUGH:"CANPLAYTHROUGH"},RELOADSTATUS:{IMMEDIATE:"IMMEDIATE",EMPTYSRC:"EMPTYSRC",LOAD:"LOAD",SETSRC:"SETSRC",NOTHING:"NOTHING"},MESSAGES:{NOTSHOW:"NOTSHOW",SHOW:"SHOW",ERR:"ERR"}},m={VOD:"VOD",LIVE:"LIVE",EVENT:"EVENT"},d=function(e){var t=(0,a.useState)(null),r=t[0],o=t[1],m=e.children,d=e.hasLinearAdMode,p=e.pauseAd,f=e.isEmbed,h=e.teleParty,b=e.appEmitter,v=e.autoplaySupported;return(0,a.useEffect)((function(){var e={slideAdState:u.SLIDEADSTATE.NOTSET,annotationState:{state:-1,init:{}},messages:{state:u.MESSAGES.NOTSHOW},activeTrackIndex:null,captionAvailable:!1,adMultiSrc:[],menuIsOpen:!1,adBlocker:!1,firstLoad:!1,adFirstLoad:!1,contentFirstLoad:!1,radioMode:!1,playbackRate:1,midRolls:[],skipCounter:0,handleSyncAd:{state:0},pauseAdBanner:{state:0},miniPlayer:!1,isAdminTeleParty:!1,romeoReady:!1},t=n()({video:{state:u.VIDEOSTATE.INIT},linearAdMode:{state:d?u.LINEARADMODE.WAIT2START:u.LINEARADMODE.NOTSET},fullScreen:!1,pauseAdState:p?u.PAUSEADSTATE.NOTSHOW:u.PAUSEADSTATE.NOTSET,initEmbed:!!f,initTeleParty:!!h,casting:!1,castData:{},receiverAvailable:!1,endHtml:u.ENDHTML.NOTHING,endHtmlElement:null,autoplaySupported:v,socialTour:!1,filmStrip:!1,toast:!1},e),r=(0,i.UY)({player:function(r,o){switch(void 0===r&&(r=t),o.type){case c.setMidRolls:return n()({},r,{midRolls:o.payload});case c.setIsAdminTeleParty:return n()({},r,{isAdminTeleParty:o.payload});case c.setPlaybackRate:return n()({},r,{playbackRate:o.payload});case c.setRadioMode:return n()({},r,{radioMode:o.payload});case c.setFirstLoad:return n()({},r,{firstLoad:o.payload});case c.setRomeoReady:return n()({},r,{romeoReady:o.payload});case c.setAdFirstLoad:return n()({},r,{adFirstLoad:o.payload});case c.setContentFirstLoad:return n()({},r,{contentFirstLoad:o.payload});case c.setAdBlocker:return n()({},r,{adBlocker:o.payload});case c.setMenuIsOpen:return n()({},r,{menuIsOpen:o.payload});case c.setPauseAdBanner:return n()({},r,{pauseAdBanner:o.payload});case c.setVideoState:if(o.payload.state!==r.video.state)return n()({},r,{video:o.payload});break;case c.setLinearAdMode:return n()({},r,{linearAdMode:o.payload});case c.setHandleSyncAd:return 0===r.handleSyncAd.state&&1===o.payload.state?o.payload.type?(b.emit("syncAd",!0,o.payload.url,o.payload.html),n()({},r,{handleSyncAd:n()({},o.payload,{state:2})})):(b.emit("syncAd",!1),n()({},r,{handleSyncAd:n()({},o.payload,{state:2})})):0===r.handleSyncAd.state&&3===o.payload.state&&o.payload.type?n()({},r,{handleSyncAd:n()({},o.payload)}):3===r.handleSyncAd.state&&1===o.payload.state?(b.emit("syncAd",!0,r.handleSyncAd.url,r.handleSyncAd.html),n()({},r,{handleSyncAd:n()({},r.handleSyncAd,{state:2})})):n()({},r,{handleSyncAd:o.payload});case c.setSkipCounter:return n()({},r,{skipCounter:o.payload});case c.setFullScreen:return n()({},r,{fullScreen:o.payload});case c.setSlideAd:return n()({},r,{slideAdState:o.payload});case c.setPauseAd:return n()({},r,{pauseAdState:o.payload});case c.setAnnotationState:return n()({},r,{annotationState:o.payload});case c.setEndHtml:return n()({},r,{endHtml:o.payload});case c.setEndHtmlElement:return n()({},r,{endHtmlElement:o.payload});case c.setInitEmbed:return n()({},r,{initEmbed:o.payload});case c.setInitTeleParty:return n()({},r,{initTeleParty:o.payload});case c.setMessages:return n()({},r,{messages:o.payload});case c.setInit:return n()({},r,o.payload);case c.setCast:return n()({},r,{casting:o.payload});case c.setCastData:return n()({},r,{castData:o.payload});case c.setReceiverAvailable:return n()({},r,{receiverAvailable:o.payload});case c.setActiveTrackIndex:return n()({},r,{activeTrackIndex:o.payload});case c.setCaptionAvailable:return n()({},r,{captionAvailable:o.payload});case c.setMiniPlayer:return n()({},r,{miniPlayer:o.payload});case c.setAutoplaySupported:return n()({},r,{autoplaySupported:o.payload});case c.setAdMultiSrc:return o.payload.debug&&console.log("==> Player State setAdMultiSrc Loaded at:",(0,l.Xn)(!0)),n()({},r,{adMultiSrc:o.payload.adMultiSrc});case c.setSocialTour:return n()({},r,{socialTour:o.payload});case c.setFilmStrip:return n()({},r,{filmStrip:o.payload});case c.setToast:return n()({},r,{toast:o.payload});case c.setDefaultStore:return n()({},r,e);default:return r}return r}}),a=(0,i.MT)(r);o(a)}),[]),r?a.createElement(s.zt,{store:r},m):null}},42123:function(e,t,r){"use strict";r.d(t,{Oq:function(){return P},LO:function(){return M},cd:function(){return R},Vp:function(){return L},zs:function(){return D},en:function(){return U},f3:function(){return G},WN:function(){return _},cz:function(){return Z},TH:function(){return Y},XD:function(){return Q},Xn:function(){return J},C$:function(){return K},t3:function(){return X},cD:function(){return $},xZ:function(){return ee},gE:function(){return te},Cx:function(){return re},OP:function(){return oe},nh:function(){return ne},pJ:function(){return ae},bh:function(){return C},Bb:function(){return I},kI:function(){return N},FA:function(){return F}}),r(69600),r(74916),r(23123),r(56977),r(4723),r(68309),r(15306),r(41539),r(39714);var o=r(78580),n=r.n(o),a=r(20116),i=r.n(a),s=r(2991),l=r.n(s),c=r(94198),u=r.n(c),m=r(59340),d=r.n(m),p=r(93476),f=r.n(p),h=r(51942),b=r.n(h),v=r(3649),g=r.n(v),y=r(92762),E=r.n(y),S=r(77766),w=r.n(S),x=r(81643),k=r.n(x),T=r(41875),A=r.n(T),P={HLS:"HLS",DASH:"DASH",HTML5:"HTML5"},O=Date.now(),R="hls",L="dash",D="pseudo",M={hls:["application/vnd.apple.mpegurl","application/x-mpegURL"],dash:["application/dash+xml"],pseudo:["video/mp4"]},I=function(e){var t;return n()(t=M[R]).call(t,e)},N=function(e){var t;return n()(t=M[L]).call(t,e)},F=function(e){var t;return n()(t=M[D]).call(t,e)},C=function(e){return I(e)?R:N(e)?L:F(e)?D:null},V="function"==typeof window.MediaSource,q=[],H=[L,R,D],z=[R,L,D],B=[R,D],j=[R,D],U=[],W={},X=function(e){W=e},G=function(e){var t,r,o=e%3600;return i()(t=l()(r=[e/3600,o/60,o%60]).call(r,(function(e){var t=u()(e,10);return t<10?"0"+t:t}))).call(t,(function(e,t){return"00"!==e||t>0})).join(":")},_=function(e){var t=e.split(":");return 3600*+t[0]+60*+t[1]+ +t[2]},Z=function(e,t,r){var o=e/t||0;return o=100*(o>=1?1:o),r&&(o=o.toFixed(2)),o+"%"},Y=function(e){e&&"function"==typeof e.then&&e.then(null,(function(){}))};function J(){return Date.now()-O}var K=function(e,t){var r={url:"/external/romeo",body:d()(e),method:"POST",headers:{"content-type":"application/json"}};A()(r,(function(e,r,o){if(e||200!==r.statusCode)t.debug&&console.log("==> Player onError xhr send error:",J(),e);else{var n=JSON.parse(o);t.debug&&console.log("==> Player onError xhr send success:",J(),n)}}))};function Q(e,t,r,o){return void 0===t&&(t=""),void 0===r&&(r=5),void 0===o&&(o=1e3),new(f())((function(n,a){e().then(n).catch((function(i){var s={component:t,message:i.message,name:i.name,request:i.request,type:i.type,retriesLeft:r},l=b()({},W,{tags:"retry, faild_load",error:d()(s),level:"Warning"});setTimeout((function(){if(1===r)return l.level="Panic",K(l),void a(i);Q(e,t,r-1,o).then(n,a)}),o)}))}))}var $=function(){var e=document.cookie;if(!e||""===e)return null;e=e.split(";");for(var t=null,r=0;r<e.length;r+=1){var o=e[r].replace(/\s/g,"");"AuthV1"===g()(o).call(o,0,6)&&(t=o)}return t&&(t=t.split("=")).length>1?t[1]:null},ee=function(e,t,r,o){switch(e){case P.HLS:return!!(!r.isIOS&&(!r.isTV||r.isTV&&r.isVestelTV&&V)&&!r.useNativeHLS&&t.length>0&&I(t[0].type)&&(r.isMobile&&!r.isIOS&&r.isChrome&&78===(n=navigator.userAgent.match(/Chrom(?:e|ium)\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/),null==n||5!==n.length?{major:0,minor:0,build:0,patch:0}:{major:(n=l()(n).call(n,(function(e){return u()(e,10)})))[1],minor:n[2],build:n[3],patch:n[4]}).major||o&&""===o.canPlayType(M.hls[0])||r.mustUseHLS));case P.DASH:return!(r.isIOS||r.isTV||!(t.length>0)||!N(t[0].type));default:return!1}var n},te=function(e,t){t.isMobile&&!t.isIOS?U.push.apply(U,z):t.isIOS?U.push.apply(U,B):t.isTV?U.push.apply(U,j):U.push.apply(U,H);for(var r=[],o=0;o<U.length;o+=1)for(var a=0;a<e.length;a+=1){var i;n()(i=M[U[o]]).call(i,e[a][0].type)&&(r.push(e[a]),F(e[a][0].type)&&0===q.length&&(q=e[a]))}return r},re=function(e){for(var t=!1,r=!1,o=!1,n=!1,a=!1,i=0;i<e.length;i+=1)if(I(e[i][0].type)&&(t=!0,1===e[i].length&&(o=!0,n=i)),F(e[i][0].type)){if(r=!0,e[i].length>2)for(var s=0;s<e[i].length;s+=1){var l;"144p"!==e[i][s].label&&"240p"!==e[i][s].label||(E()(l=e[i]).call(l,s,1),s-=1)}a=i}var c,u,m=[];return t&&r&&o?(m=w()(c=[w()(u=[b()({},e[n][0],{label:"Auto",default:!0})]).call(u,e[a])]).call(c,e),E()(m).call(m,n+1,1)):m=e,m};function oe(){var e,t=document.createElement("canvas");return!(!t.getContext||!t.getContext("2d"))&&0===k()(e=t.toDataURL("image/webp")).call(e,"data:image/webp")}function ne(e){return e.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")}function ae(e){var t,r,o,n,a,i,s=new Date(e),l=g()(t="0"+s.getDate()).call(t,-2),c=g()(r="0"+s.getMonth()).call(r,-2);return{year:g()(o="0"+s.getFullYear()).call(o,-2),month:c,date:l,hours:g()(n="0"+s.getHours()).call(n,-2),minutes:g()(a="0"+s.getMinutes()).call(a,-2),seconds:g()(i="0"+s.getSeconds()).call(i,-2)}}},69284:function(e,t,r){"use strict";var o=r(70268),n=r(51942),a=r.n(n),i=r(67294),s=["styles"];function l(){return l=a()||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},l.apply(this,arguments)}t.Z=function(e){e.styles;var t=(0,o.Z)(e,s);return i.createElement("svg",l({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},t),i.createElement("path",{d:"M6.667 17.083a.833.833 0 01-.567-1.441L12.117 10 6.1 4.358a.833.833 0 011.133-1.216l6.667 6.25a.835.835 0 010 1.216l-6.667 6.25a.833.833 0 01-.566.225z"}))}},68670:function(e,t,r){"use strict";var o=r(70268),n=r(51942),a=r.n(n),i=r(67294),s=["styles"];function l(){return l=a()||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},l.apply(this,arguments)}t.Z=function(e){e.styles;var t=(0,o.Z)(e,s);return i.createElement("svg",l({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),i.createElement("g",{fill:"currentcolor","data-viewbox":"0 0 24 24"},i.createElement("path",{d:"M8.63 3.5a2 2 0 00-2 2v13a2 2 0 004 0v-13a2 2 0 00-2-2zM15.63 3.5a2 2 0 00-2 2v13a2 2 0 004 0v-13a2 2 0 00-2-2z"})))}},39819:function(e,t,r){"use strict";var o=r(70268),n=r(51942),a=r.n(n),i=r(67294),s=["styles"];function l(){return l=a()||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},l.apply(this,arguments)}t.Z=function(e){e.styles;var t=(0,o.Z)(e,s);return i.createElement("svg",l({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),i.createElement("path",{d:"M7.09 20a1.28 1.28 0 01-.65-.14C5.12 19.08 5 13.58 5 11.92c0-2.09.14-7 1.43-7.76 1.3-.76 5.62 1.58 7.42 2.62C15.3 7.61 20 10.43 20 12s-4.24 4.12-6.07 5.17C12.34 18.08 8.82 20 7.09 20z",fill:"currentcolor"}))}},70351:function(e,t,r){"use strict";var o=r(70268),n=r(51942),a=r.n(n),i=r(67294),s=["styles"];function l(){return l=a()||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},l.apply(this,arguments)}t.Z=function(e){e.styles;var t=(0,o.Z)(e,s);return i.createElement("svg",l({viewBox:"0 2 24 20",xmlns:"http://www.w3.org/2000/svg"},t),i.createElement("g",{fill:"currentcolor","data-viewbox":"0 0 24 24"},i.createElement("path",{d:"M10.79 9.77a1 1 0 00.71.29.84.84 0 00.38-.08 1 1 0 00.62-.92V5a1 1 0 00-1.5-.84L8.48 5.74a1 1 0 00-.48.73 1 1 0 00.29.82zM19.57 4.72a1 1 0 10-1.44 1.39A8.5 8.5 0 0119 16.82a1 1 0 00.26 1.39 1 1 0 00.57.18 1 1 0 00.82-.44 10.5 10.5 0 00-1.08-13.23z"}),i.createElement("path",{d:"M16.5 12a4.42 4.42 0 01-.5 2 1 1 0 00.44 1.34.93.93 0 00.45.11 1 1 0 00.9-.55 6.4 6.4 0 00.71-2.9 6.49 6.49 0 00-2-4.72 1 1 0 10-1.37 1.45A4.46 4.46 0 0116.5 12zM12.21 12.16L7.4 7.35 3.21 3.16a1 1 0 00-1.42 0 1 1 0 000 1.41L4.72 7.5H2.5a1 1 0 00-1 1v7a1 1 0 001 1h3.21L11 19.84a1 1 0 00.54.16 1 1 0 001-1v-3.72l6.43 6.43a1 1 0 001.42 0 1 1 0 000-1.42z"})))}},88483:function(e,t,r){"use strict";var o=r(70268),n=r(51942),a=r.n(n),i=r(67294),s=["styles"];function l(){return l=a()||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},l.apply(this,arguments)}t.Z=function(e){e.styles;var t=(0,o.Z)(e,s);return i.createElement("svg",l({viewBox:"0 2 24 20",xmlns:"http://www.w3.org/2000/svg"},t),i.createElement("g",{fill:"currentcolor","data-viewbox":"0 0 24 24"},i.createElement("path",{d:"M12 4.12a1 1 0 00-1 0L5.71 7.5H2.5a1 1 0 00-1 1v7a1 1 0 001 1h3.21L11 19.84a1 1 0 00.54.16 1 1 0 001-1V5a1 1 0 00-.54-.88zM15.14 8.78a1 1 0 10-1.4 1.43 2.5 2.5 0 010 3.56 1 1 0 000 1.41 1 1 0 001.41 0 4.49 4.49 0 000-6.4z"})))}},86454:function(e,t,r){"use strict";var o=r(70268),n=r(51942),a=r.n(n),i=r(67294),s=["styles"];function l(){return l=a()||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},l.apply(this,arguments)}t.Z=function(e){e.styles;var t=(0,o.Z)(e,s);return i.createElement("svg",l({viewBox:"0 2 24 20",xmlns:"http://www.w3.org/2000/svg"},t),i.createElement("g",{fill:"currentcolor","data-viewbox":"0 0 24 24"},i.createElement("path",{d:"M12 4.12a1 1 0 00-1 0L5.71 7.5H2.5a1 1 0 00-1 1v7a1 1 0 001 1h3.21L11 19.84a1 1 0 00.54.16 1 1 0 001-1V5a1 1 0 00-.54-.88zM16.46 7.28a1 1 0 10-1.37 1.45 4.5 4.5 0 010 6.54 1 1 0 001.37 1.45 6.48 6.48 0 000-9.44z"})))}},5966:function(e,t,r){"use strict";var o=r(70268),n=r(51942),a=r.n(n),i=r(67294),s=["styles"];function l(){return l=a()||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},l.apply(this,arguments)}t.Z=function(e){e.styles;var t=(0,o.Z)(e,s);return i.createElement("svg",l({viewBox:"0 2 24 20",xmlns:"http://www.w3.org/2000/svg"},t),i.createElement("g",{fill:"currentcolor","data-viewbox":"0 0 24 24"},i.createElement("path",{d:"M12 4.12a1 1 0 00-1 0L5.71 7.5H2.5a1 1 0 00-1 1v7a1 1 0 001 1h3.21L11 19.84a1 1 0 00.54.16 1 1 0 001-1V5a1 1 0 00-.54-.88zM19.57 4.72a1 1 0 10-1.44 1.39 8.5 8.5 0 010 11.78 1 1 0 000 1.42 1 1 0 00.7.27 1 1 0 00.72-.3 10.51 10.51 0 000-14.56z"}),i.createElement("path",{d:"M16.46 7.28a1 1 0 10-1.37 1.45 4.5 4.5 0 010 6.54 1 1 0 101.37 1.45 6.48 6.48 0 000-9.44z"})))}},34922:function(e,t,r){(e.exports=r(23645)(!1)).push([e.id,'.romeo{font-family:IRANSans,IRANSans-web,IRANSansDN,NotoSans,Tajawal,NeoSans,OpenSanse,pelak,tahoma,arial,sans-serif;outline:none;display:block;max-width:100%;background-color:#000;direction:ltr;box-sizing:border-box;color:#fff;font-size:10px;font-size:calc(10px + 6*(100vw - 300px)/1300);font-style:normal;font-weight:400;line-height:1;padding:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%;margin:0;word-break:normal;overflow:hidden}.romeo *,.romeo ::after,.romeo ::before{box-sizing:inherit}.romeo .romeo-loading-aparat{position:relative;top:50%;left:50%;margin-left:-25px;margin-top:-25px}.romeo .romeo-loading-aparat svg{width:3.75em;transform-origin:center;animation:rotate 2s linear infinite}.romeo .romeo-loading-aparat circle{fill:none;stroke:#ed145b;stroke-width:4;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}100%{stroke-dashoffset:-125px}}.romeo video{cursor:none}.romeo video::cue{font-family:arial,tahoma,sans-serif;text-shadow:0 0 4px #000;background:none;font-size:23px;font-size:calc(.8125rem + (1vw - 3.2px)*.75)}.romeo video::-webkit-media-text-track-past-nodes{background:none;text-shadow:0 0 4px #000;line-height:1.5em}.romeo video::-webkit-media-text-track-container{overflow:visible !important;transition-duration:.2s}.romeo video::-webkit-media-text-track-display{overflow:visible !important;font-family:IRANSans,IRANSans-web,IRANSansDN,NotoSans,Tajawal,NeoSans,OpenSanse,pelak,tahoma,arial,sans-serif}.romeo video::-webkit-media-text-track-display-backdrop{overflow:visible !important}.romeo video.user-active,.romeo video.paused{cursor:default}.romeo video.user-active.romeo-player-custom-control::-webkit-media-text-track-container,.romeo video.paused.romeo-player-custom-control::-webkit-media-text-track-container{transform:translateY(-60px) !important;transition-duration:.2s}.romeo video.romeo-ios.user-active::-webkit-media-text-track-container,.romeo video.romeo-ios.paused::-webkit-media-text-track-container{transform:unset !important}.romeo .romeo-poster{position:absolute;top:0;right:0;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover}.romeo .romeo-poster:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(41,42,51,.8)}.romeo .romeo-squad-stream video{cursor:pointer}.romeo .romeo-bad-src{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);font-size:2em;width:100%;text-align:center;color:#adabab}',""])},99999:function(e,t,r){(e.exports=r(23645)(!1)).push([e.id,'.romeo-menu-desktop{position:absolute;display:none;padding:16px;bottom:55px;background:rgba(21,21,21,.95);backdrop-filter:blur(20px);border-radius:8px;margin:0;z-index:3}.romeo-menu-rtl{direction:rtl}.romeo-menu-radio-item{margin-bottom:24px;position:relative}.romeo-menu-radio-item:hover button{opacity:1}.romeo-menu-radio-item button{margin-right:20px;opacity:.7;transition-duration:300ms;font-size:12px}.romeo-menu-radio-item:before{content:"";position:absolute;border-radius:50%;border:2px solid #6d6d6d;width:12px;height:12px;right:0;display:inline-block;vertical-align:middle;top:50%;transform:translateY(-50%)}.romeo-menu-radio-item.checked button{opacity:1;color:#fff !important}.romeo-menu-subtitle li,.romeo-menu-audio li,.romeo-menu-speed li,.romeo-menu-setting li,.romeo-menu-dl li{cursor:pointer}.romeo-menu-subtitle button,.romeo-menu-audio button,.romeo-menu-speed button,.romeo-menu-setting button,.romeo-menu-dl button{cursor:pointer}.romeo-menu-subtitle-desktop .romeo-menu-radio-item:last-child,.romeo-menu-audio-desktop .romeo-menu-radio-item:last-child,.romeo-menu-speed-desktop .romeo-menu-radio-item:last-child,.romeo-menu-setting-desktop .romeo-menu-radio-item:last-child,.romeo-menu-dl-desktop .romeo-menu-radio-item:last-child,.romeo-menu-season-desktop .romeo-menu-radio-item:last-child{margin-bottom:0}.romeo-menu-subtitle button,.romeo-menu-audio button,.romeo-menu-speed button,.romeo-menu-setting button,.romeo-menu-dl button,.romeo-menu-season button{border:none;background:0 0;padding:0;color:#fff}.romeo-menu-subtitle ul,.romeo-menu-audio ul,.romeo-menu-speed ul,.romeo-menu-setting ul,.romeo-menu-dl ul,.romeo-menu-season ul{margin:0;padding:0;font-size:inherit;line-height:inherit}.romeo-menu-title{padding-bottom:24px}.romeo-menu-title-text{font-weight:bold;font-size:14px}.romeo-menu-open{display:block !important;font-size:inherit;line-height:inherit}.romeo-menu-open ul{margin:0;padding:0;font-size:inherit;line-height:inherit}.romeo-menu-open p{line-height:inherit;color:inherit}.romeo .romeo-mobile-menu-radio,.romeo .romeo-tv-menu-radio{padding:24px;position:fixed;top:0;left:0;bottom:0;width:100%;height:100%;border-radius:0;overflow-y:auto}.romeo .romeo-mobile-menu-radio .romeo-menu-subtitle-setting-head,.romeo .romeo-tv-menu-radio .romeo-menu-subtitle-setting-head{display:none}.romeo .romeo-mobile-menu-radio .romeo-menu-subtitle-setting-mobile-title,.romeo .romeo-tv-menu-radio .romeo-menu-subtitle-setting-mobile-title{text-align:center}.romeo .romeo-mobile-menu-radio .romeo-menu-close,.romeo .romeo-tv-menu-radio .romeo-menu-close{cursor:pointer;position:absolute;z-index:5}.romeo .romeo-mobile-menu-radio .romeo-menu-title,.romeo .romeo-tv-menu-radio .romeo-menu-title{padding-bottom:70px;display:block}.romeo .romeo-mobile-menu-radio .romeo-menu-radio-list,.romeo .romeo-tv-menu-radio .romeo-menu-radio-list{margin:0 auto}.romeo-mobile-menu-radio .romeo-menu-close{left:24px;top:24px}@media(max-width: 768px)and (min-width: 500px){.romeo-mobile-menu-radio{padding:32px 66px}.romeo-mobile-menu-radio .romeo-menu-radio-item{margin-bottom:32px;display:inline-block;vertical-align:middle;margin-right:15px;margin-left:15px}.romeo-mobile-menu-radio .romeo-menu-title{text-align:center}.romeo-mobile-menu-radio .romeo-menu-radio-list{text-align:center}}@media(max-width: 501px){.romeo-mobile-menu-radio .romeo-menu-radio-item{margin-bottom:32px}}.romeo-tv-menu-radio{padding:32px 66px}.romeo-tv-menu-radio .romeo-menu-title{text-align:center}.romeo-tv-menu-radio .romeo-menu-title-text{font-size:20px}.romeo-tv-menu-radio .romeo-menu-radio-list .romeo-menu-radio-item{margin-bottom:32px;display:inline-block;vertical-align:middle;margin-left:30px;margin-right:30px}.romeo-tv-menu-radio .romeo-menu-radio-list .romeo-menu-radio-item:before{width:16px;height:16px}.romeo-tv-menu-radio .romeo-menu-radio-list .romeo-menu-radio-item button{margin-right:24px;font-size:18px}.romeo-tv-menu-radio .romeo-menu-title,.romeo-tv-menu-radio .romeo-menu-radio-list{text-align:center}.romeo-tv-menu-radio .romeo-menu-close{left:66px;top:24px}.romeo-filimo .romeo-menu-radio-item.checked:before{border:4px solid #fdc13c}.romeo-filimo .romeo-tv-menu-radio .romeo-menu-radio-item.checked:before{border:5px solid #fdc13c}.romeo-filimo .romeo-menu-control-icon{color:#fdc13c;fill:#fdc13c}.romeo-aparat .romeo-menu-radio-item.checked:before{border:4px solid #ed145b}.romeo-aparat .romeo-tv-menu-radio .romeo-menu-radio-item.checked:before{border:5px solid #ed145b}.romeo-aparat .romeo-menu-control-icon{color:#ed145b;fill:#ed145b}.romeo .lang-en .romeo-menu-radio-item:before{left:0;right:auto}.romeo .lang-en .romeo-menu-radio-item button{margin-left:20px;margin-right:0}@media(max-width: 768px)and (min-width: 500px){.romeo .lang-en .romeo-mobile-menu-radio .romeo-menu-radio-item{margin-left:15px;margin-right:15px}}@media(max-width: 501px){.romeo .lang-en .romeo-mobile-menu-radio .romeo-menu-close{right:24px;left:auto;width:16px;height:16px}}.romeo .lang-en .romeo-tv-menu-radio .romeo-menu-radio-item{margin-right:30px;margin-left:30px}.romeo .lang-en .romeo-tv-menu-radio .romeo-menu-radio-item button{margin-left:24px;margin-right:0}',""])},65453:function(e,t,r){(e.exports=r(23645)(!1)).push([e.id,'.romeo-controlbar-gradiend{position:absolute;right:0;left:0;height:80px;background:#fff;transition:.3s opacity ease-out}.romeo-controlbar-gradiend.romeo-controls-hide{opacity:0;transition:.3s opacity ease-out}.romeo-controlbar-gradiend-top{top:0;background:linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 35.94%, rgba(0, 0, 0, 0.3) 70.83%, rgba(0, 0, 0, 0) 100%)}@media(max-width: 768px){.romeo-controlbar-gradiend-top{height:62px}}.romeo-controlbar-gradiend-bottom{height:140px;bottom:0;background:linear-gradient(180deg, rgba(32, 32, 32, 0) 0%, #000000d1 100%)}@media(max-width: 768px){.romeo-controlbar-gradiend-bottom{height:89px}}.romeo-controlbar-gradiend-mini-player{height:30px}.romeo-controls-menu-open .romeo-player-tooltip{display:none}.romeo-controls{position:absolute;left:0;right:0;bottom:0;height:60px;padding:0 12px;z-index:2;border-radius:0;opacity:0}.romeo-controls.fullscreen{z-index:2}.romeo-controls .left-bar,.romeo-controls .right-bar,.romeo-controls .center-bar{direction:ltr;position:absolute;bottom:10px}.romeo-controls .right-bar{right:0}.romeo-controls .right-bar>*{float:right}.romeo-controls .left-bar{direction:ltr;left:0}.romeo-controls .left-bar>*{float:left}.romeo-controls .center-bar{left:50%;bottom:15px;transform:translate(-50%, -50%);cursor:pointer}.romeo-controls .romeo-progress{position:relative;direction:ltr;top:11px;transform:translate(0, -50%)}.romeo-controls .romeo-progress .romeo-current-time{cursor:default;text-align:center;font-size:12px;display:inline-block;margin:0 10px}.romeo-controls.romeo-controls-play.romeo-controls-hide{opacity:0;transition:all .2s .1s ease;pointer-events:none}.romeo-controls.romeo-controls-pause,.romeo-controls.romeo-controls-show{opacity:1;transition:all .2s .1s ease}.romeo-controls .romeo-button{margin:0 12px;width:22px;height:22px;display:flex;justify-content:center;align-items:center}.romeo-controls .romeo-button svg{width:22px;height:22px}.romeo-controls .volume-slider{top:11px}.romeo-controls .romeo-preview-mode{direction:rtl;padding-top:5px;font-size:12px;cursor:default}.romeo-controls .romeo-preview-mode a{border:none;font-size:inherit;background-color:#39bb6a;border-radius:10px;margin-left:5px;padding:0 10px;text-decoration:none}.romeo-controls .romeo-next-chapter{display:inline;cursor:pointer;outline:0;font-size:10px;margin-left:10px;appearance:none}.romeo-controls .romeo-next-chapter-icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTAwJSIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMzIgMzIiIHdpZHRoPSIxMDAlIj48cGF0aCBkPSJtIDEyLjU5LDIwLjM0IDQuNTgsLTQuNTkgLTQuNTgsLTQuNTkgMS40MSwtMS40MSA2LDYgLTYsNiB6IiBmaWxsPSIjZmZmIiAvPjwvc3ZnPg==);background-repeat:no-repeat;background-position:right -5px center;padding-right:10px;text-align:right}.romeo-controls-mini-player{height:20px}.romeo-controls-mini-player .left-bar{display:none}.romeo-controls-mini-player .right-bar{display:none}.romeo-button{position:relative;padding:0;border:none;background:none;color:inherit;cursor:pointer}.romeo-button:focus{outline-style:solid;outline-width:2px;outline-offset:1px}.romeo-button:hover>.romeo-player-tooltip{visibility:visible}.romeo-player-tooltip{position:absolute;top:-40px;font-family:IRANSans,IRANSans-web,IRANSansDN,NotoSans,Tajawal,NeoSans,OpenSanse,pelak,tahoma,arial,sans-serif;left:-100%;background:rgba(0,0,0,.6);text-align:center;width:auto;visibility:hidden;min-width:65px;font-size:.8em;padding:5px 3px;border-radius:2px;white-space:nowrap}.romeo-player-big-tooltip{width:100px;left:-170%}.romeo-player-tooltip-fullscreen{left:-325%}.romeo-player-tooltip-play{left:0}@media(max-width: 600px){.go-theater{display:none !important}.left-bar .romeo-button,.right-bar .romeo-button{margin:0 8px}.left-bar .romeo-button svg,.right-bar .romeo-button svg{height:18px !important}}@media(max-width: 500px){.pip,.romeo-next-part,.romeo-sessions{display:none !important}}@media(max-width: 400px){.left-bar .romeo-button,.right-bar .romeo-button{margin:0 6px}}@media(max-width: 320px){.jump-back,.jump-forward,.show-mini-player{display:none !important}}@media(max-width: 270px){.romeo-caption,.romeo-audio-lang,.romeo-speed,.romeo-settings,.romeo-social-tour-button{display:none !important}}@media(max-width: 200px){.romeo-volume-icon,.romeo-fullscreen{display:none !important}}@media(max-width: 120px){.rome-aparat-link{display:none !important}}.romeo-isTV-true .romeo-controls{left:1em;right:1em;bottom:1em;height:14em;padding:0 2em;background-color:rgba(0,0,0,.7);border-radius:10px}.romeo-isTV-true .romeo-controls .romeo-player-tooltip{visibility:hidden}.romeo-isTV-true .romeo-controls .romeo-player-big-tooltip{visibility:hidden}.romeo-isTV-true .romeo-controls .romeo-next-chapter{font-size:20px}.romeo-isTV-true .romeo-controls .romeo-next-chapter-icon{padding-right:20px}.romeo-isTV-true .left-bar,.romeo-isTV-true .right-bar,.romeo-isTV-true .center-bar{bottom:2em}.romeo-isTV-true .left-bar{min-width:60%}.romeo-isTV-true .right-bar{min-width:30%}.romeo-isTV-true .romeo-button{margin:0 2em;width:66px;height:66px;line-height:66px;background:rgba(0,0,0,.7);border-radius:50%;display:inline-block;vertical-align:middle;text-align:center}.romeo-isTV-true .romeo-button svg{width:2.7777777778em;height:2.7777777778em;line-height:0;display:inline-block;vertical-align:middle}.romeo-isTV-true .romeo-button:hover::before{content:"";position:absolute;width:100%;height:100%;top:0;left:0;border-radius:50%;box-sizing:border-box}.romeo-isTV-true .romeo-progress{top:2.5em}.romeo-isTV-true .romeo-progress .romeo-current-time{font-size:2em}.romeo-isTV-true .settings-menu:hover>button{background:unset}.romeo-controls.mobile .romeo-player-tooltip{visibility:hidden}.romeo-controls.mobile .romeo-player-big-tooltip{visibility:hidden}.romeo-play-toggle:focus,.jump-back:focus,.jump-forward:focus,.romeo-volume-control:focus,.pip:focus,.go-theater:focus,.romeo-fullscreen:focus,.romeo-volume-icon:focus,.romeo-airplay:focus,.romeo-cast-toggle:focus,.romeo-settings:focus{box-shadow:inset 0 0 0 2px rgba(27,127,204,.8)}.romeo .romeo-live-badge{cursor:default;padding:4px 3px;border-radius:1px;margin:3px 5px;font-size:9px;text-shadow:1px 1px 7px #000}.romeo .romeo-controlbar-scroll{margin-top:-10px}.romeo .romeo-controlbar-scroll span{max-width:200px;display:inline-block;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;line-height:1.2;direction:rtl}.romeo .romeo-controlbar-scroll svg{transform:rotate(90deg);display:inline-block;vertical-align:middle;margin:-6px 0 0 5px}.romeo .romeo-mobile-style .romeo-controlbar-scroll{display:none}.romeo .romeo-jump-button-mobile-wrapper{position:absolute;top:0;height:100%;width:10em}.romeo .romeo-jump-button-mobile-wrapper .romeo-jump-button-mobile{height:100%;width:10em;background:#292a3366;opacity:0;transition-duration:.3s}.romeo .romeo-jump-button-mobile-wrapper .romeo-jump-button-mobile svg{display:block;margin:0 auto;width:30px}.romeo .romeo-jump-button-mobile-wrapper .romeo-jump-button-mobile span{cursor:default;margin-top:12px;display:block;text-align:center;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.romeo .romeo-jump-button-mobile-wrapper .romeo-jump-button-mobile-show{opacity:1;transition-duration:.3s}.romeo .romeo-jump-back-wrapper,.romeo .romeo-jump-forward-wrapper{position:absolute;top:50%;transform:translate(-50%, -50%);left:50%;min-width:85px}.romeo .romeo-jump-back-button-mobile-wrapper{left:0}.romeo .romeo-jump-back-button-mobile-wrapper .romeo-jump-button-mobile{border-radius:0 60% 60% 0}.romeo .romeo-jump-forward-button-mobile-wrapper{right:0}.romeo .romeo-jump-forward-button-mobile-wrapper .romeo-jump-button-mobile{border-radius:60% 0 0 60%}.romeo .romeo-jump-forward-button-mobile-wrapper .romeo-jump-button-mobile svg{transform:rotate(180deg)}.romeo-disable{color:gray}.romeo-disable:hover{color:gray !important}.romeo-filimo .romeo-button:hover{color:#fff}.romeo-filimo .romeo-controls{color:#e6e6e6}.romeo-filimo .romeo-controls .romeo-preview-mode a{color:#e6e6e6}.romeo-filimo .romeo-isTV-true .romeo-button:hover::before{border:.5em solid #fdc13c}.romeo-filimo .romeo-live-badge{background-color:#fdc13c}.romeo-aparat .romeo-button:hover{color:#fff}.romeo-aparat .romeo-controls{color:#e6e6e6}.romeo-aparat .romeo-controls .romeo-preview-mode a{color:#e6e6e6}.romeo-aparat .romeo-isTV-true .romeo-button:hover::before{border:.5em solid #ed145b}.romeo-aparat .romeo-live-badge{background-color:#ed145b}',""])},83519:function(e,t,r){(e.exports=r(23645)(!1)).push([e.id,".romeo .rtl-caption ::cue{direction:rtl}.romeo .rtl-caption .romeo-subtitle{direction:rtl}.romeo .white-caption-color ::cue{color:#fff}.romeo .white-caption-color .romeo-subtitle span{color:#fff}.romeo .blue-caption-color ::cue{color:blue}.romeo .blue-caption-color .romeo-subtitle span{color:blue}.romeo .yellow-caption-color ::cue{color:#ff0}.romeo .yellow-caption-color .romeo-subtitle span{color:#ff0}.romeo .green-caption-color ::cue{color:green}.romeo .green-caption-color .romeo-subtitle span{color:green}.romeo .cyan-caption-color ::cue{color:aqua}.romeo .cyan-caption-color .romeo-subtitle span{color:aqua}.romeo .magenta-caption-color ::cue{color:#f0f}.romeo .magenta-caption-color .romeo-subtitle span{color:#f0f}.romeo .red-caption-color ::cue{color:red}.romeo .red-caption-color .romeo-subtitle span{color:red}.romeo .black-caption-color ::cue{color:#000}.romeo .black-caption-color .romeo-subtitle span{color:#000}.romeo .large-caption-fontsize .romeo-subtitle span{font-size:35px}.romeo .large-caption-fontsize .romeo-subtitle div{min-height:55px}.romeo .xlarge-caption-fontsize .romeo-subtitle span{font-size:45px}.romeo .xlarge-caption-fontsize .romeo-subtitle div{min-height:68px}.romeo .transparent-caption-bgcolor ::cue{background-color:transparent}.romeo .transparent-caption-bgcolor .romeo-subtitle span{background-color:transparent}.romeo .black-caption-bgcolor ::cue{background-color:rgba(0,0,0,.7)}.romeo .black-caption-bgcolor .romeo-subtitle span{background-color:rgba(0,0,0,.7)}.romeo .white-caption-bgcolor ::cue{background-color:rgba(255,255,255,.7)}.romeo .white-caption-bgcolor .romeo-subtitle span{background-color:rgba(255,255,255,.7)}.romeo .yellow-caption-bgcolor ::cue{background-color:#ff0}.romeo .yellow-caption-bgcolor .romeo-subtitle span{background-color:#ff0}.romeo .green-caption-bgcolor ::cue{background-color:green}.romeo .green-caption-bgcolor .romeo-subtitle span{background-color:green}.romeo .cyan-caption-bgcolor ::cue{background-color:aqua}.romeo .cyan-caption-bgcolor .romeo-subtitle span{background-color:aqua}.romeo .blue-caption-bgcolor ::cue{background-color:blue}.romeo .blue-caption-bgcolor .romeo-subtitle span{background-color:blue}.romeo .magenta-caption-bgcolor ::cue{background-color:#f0f}.romeo .magenta-caption-bgcolor .romeo-subtitle span{background-color:#f0f}.romeo .red-caption-bgcolor ::cue{background-color:red}.romeo .red-caption-bgcolor .romeo-subtitle span{background-color:red}.romeo .depressed-caption-edge ::cue{text-shadow:2px 2px #000}.romeo .depressed-caption-edge .romeo-subtitle span{text-shadow:2px 2px #000}.romeo .raised-caption-edge ::cue{text-shadow:1px 2px 1px #fff}.romeo .raised-caption-edge .romeo-subtitle span{text-shadow:1px 2px 1px #fff}",""])},73210:function(e,t,r){(e.exports=r(23645)(!1)).push([e.id,"",""])},17632:function(e,t,r){(e.exports=r(23645)(!1)).push([e.id,".romeo .play-pause-feedback{width:55px;height:55px;border-radius:10rem;background-color:rgba(0,0,0,.5);position:absolute;top:50%;right:50%;transform:translate(50%, -50%);background-position:center;background-repeat:no-repeat;background-size:25px;direction:ltr;display:none}.romeo .play-pause-feedback svg{position:absolute;left:0;top:0;bottom:0;right:0;margin:auto;width:25px;height:25px}.romeo .play-pause-feedback.play{display:block !important;animation:animateFeedback .4s linear 1 normal forwards}.romeo .play-pause-feedback.pause{display:block !important;animation:animateFeedback .4s linear 1 normal forwards}.romeo .play-pause-feedback.otherFeedBack{display:block !important;animation:animateFeedback .4s linear 1 normal forwards}@keyframes animateFeedback{0%{opacity:.8}to{opacity:0;transform:translate(50%, -50%) scale(1.8)}}@media(max-width: 600px){.romeo .play-pause-feedback{display:none !important;visibility:hidden !important}}",""])},50391:function(e,t,r){(e.exports=r(23645)(!1)).push([e.id,'.romeo-progress-bar{position:relative;top:12px;direction:ltr}.romeo-progress-bar .rail{position:absolute;width:100%;transform:translate(0%, -50%);height:10px;cursor:pointer}.romeo-progress-bar .play-progress,.romeo-progress-bar .rail-center,.romeo-progress-bar .buffer-progress,.romeo-progress-bar .preview-end,.romeo-progress-bar .romeo-midrol-break{transition:height .2s .1s ease}.romeo-progress-bar .rail-center,.romeo-progress-bar .buffer-progress{position:absolute;width:100%;transform:translate(0%, -50%);cursor:pointer;pointer-events:none;height:2px;border-radius:1px;background-color:rgba(155,155,155,.5)}.romeo-progress-bar .buffer-progress{background-color:#8e8e8e}.romeo-progress-bar .play-progress{position:absolute;left:0;transform:translate(0%, -50%);height:2px;border-radius:1px;pointer-events:none;transition:.5s}.romeo-progress-bar .preview-end{position:absolute;width:5px;background-color:red;transform:translate(0%, -50%);height:2px;border-radius:1px;pointer-events:none}.romeo-progress-bar .romeo-midrol-break{position:absolute;width:5px;background-color:#10af4b;transform:translate(0%, -50%);z-index:2;height:2px;border-radius:1px;pointer-events:none}.romeo-progress-bar .prog-slider{position:absolute;transform:translate(-50%, -50%);-webkit-tap-highlight-color:rgba(0,0,0,0);width:2px;height:2px;border:0;border-radius:50%}.romeo-progress-bar .progress-handle{position:absolute;transform:translate(-50%, -50%);-webkit-tap-highlight-color:rgba(0,0,0,0);z-index:1;width:20px;height:40px;cursor:pointer;background-color:none}.romeo-progress-bar:hover .play-progress,.romeo-progress-bar:hover .rail-center,.romeo-progress-bar:hover .buffer-progress,.romeo-progress-bar:hover .preview-end,.romeo-progress-bar:hover .romeo-midrol-break,.romeo-progress-bar.active .play-progress,.romeo-progress-bar.active .rail-center,.romeo-progress-bar.active .buffer-progress,.romeo-progress-bar.active .preview-end,.romeo-progress-bar.active .romeo-midrol-break{height:5px;border-radius:2.5px;transition:height .2s .1s ease}.romeo-progress-bar:hover .prog-slider,.romeo-progress-bar.active .prog-slider{width:12px;height:12px;box-shadow:0px 0px 5px 3px rgba(0,0,0,.3);transition:width .2s .1s ease,height .2s .1s ease}.romeo-progress-bar .romeo-tooltip-container{position:absolute;transform:translate(0, -18px)}.romeo-progress-bar .romeo-tooltip-container .romeo-tooltip{position:relative;display:inline-block}.romeo-progress-bar .romeo-tooltip-container .romeo-tooltip .romeo-tooltip-photo{min-width:65px;min-height:20px;text-align:center;padding:5px 0;position:absolute;bottom:15px;left:0;transform:translate(-50%, 0)}.romeo-progress-bar .romeo-tooltip-container .romeo-tooltip .romeo-tooltip-photo:after{content:"";position:absolute;width:100%;height:100%;left:0;top:0}.romeo-progress-bar .romeo-tooltip-container .romeo-tooltip .romeo-tooltip-photo.preview svg{position:relative;top:2px;left:-2px;width:10px;background-color:red;padding:2px;border-radius:2px}.romeo-progress-bar .romeo-tooltip-container .romeo-tooltip .romeo-tooltip-photo .romeo-chapter-text{bottom:-14px;cursor:default;direction:rtl;padding:0 5px;font-size:10px;line-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-top:none;z-index:1}.romeo-progress-bar .romeo-tooltip-container .romeo-tooltip .romeo-tooltip-photo .romeo-tooltip-time{z-index:3}.romeo-progress-bar .romeo-tooltip-container .romeo-tooltip .romeo-tooltip-photo .romeo-tooltip-time-chapter{padding:0 5px;z-index:3}.romeo-progress-bar .romeo-tooltip-container .romeo-tooltip .romeo-tooltip-photo div{bottom:-15px;position:absolute;width:100%;font-size:12px;text-shadow:0 0 4px #000;cursor:default}.romeo-progress-bar .romeo-tooltip-container .romeo-tooltip .romeo-tooltip-photo-chapter{bottom:15px;min-width:140px}.romeo-progress-bar .romeo-tooltip-container .romeo-tooltip .romeo-tooltip-photo-chapter.romeo-tooltip-photo{bottom:30px}.romeo-progress-bar .romeo-tooltip-container .romeo-tooltip .romeo-tooltip-photo-chapter .romeo-chapter-text{bottom:-30px}.romeo-progress-bar .rail-chapter-pointer{height:3px;position:absolute;-webkit-transform:translate(0%, -50%);transform:translate(0%, -50%);cursor:pointer;pointer-events:none;background-color:#fff;width:5px;z-index:10}.romeo-progress-bar .romeo-chapterlist+.rail-center{border-radius:0}.romeo-progress-bar .romeo-chapterlist-last+.rail-center{border-radius:0 .5em .5em 0}.romeo-progress-bar .romeo-chapterlist-last::after{display:none}.romeo-progress-bar:hover .romeo-chapterlist:hover{height:8px;background:#d4d4d4b3;transition:.2s all ease-in-out}.romeo-progress-bar:hover .romeo-chapterlist::after{height:5px}.romeo-progress-bar .romeo-progress-buffer-chapter{opacity:.5}.romeo-isTV-true .romeo-progress-bar{top:3em}.romeo-isTV-true .romeo-progress-bar .rail{height:2em}.romeo-isTV-true .romeo-progress-bar .rail-center,.romeo-isTV-true .romeo-progress-bar .buffer-progress,.romeo-isTV-true .romeo-progress-bar .play-progress,.romeo-isTV-true .romeo-progress-bar .preview-end,.romeo-isTV-true .romeo-progress-bar .romeo-midrol-break{height:2em;border-radius:1em}.romeo-isTV-true .romeo-progress-bar:hover .prog-slider,.romeo-isTV-true .romeo-progress-bar.active .prog-slider{width:2em;height:2em}.romeo-isTV-true .romeo-progress-bar:hover .romeo-chapterlist,.romeo-isTV-true .romeo-progress-bar.active .romeo-chapterlist{height:1em}.romeo-isTV-true .romeo-progress-bar:hover .romeo-chapterlist::after,.romeo-isTV-true .romeo-progress-bar.active .romeo-chapterlist::after{height:1em}.romeo-isTV-true .romeo-tooltip-photo-chapter{min-width:140px}.romeo-isTV-true .romeo-chapter-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.romeo-isTV-true .rail-chapter-pointer{height:10px}.romeo-isTV-true .romeo-chapterlist::after{height:1em}.romeo-isTV-true .romeo-chapterlist+.rail-center{border-radius:0}.romeo-isTV-true .romeo-chapterlist-last+.rail-center{border-radius:0 .5em .5em 0}.romeo-isTV-true .romeo-chapterlist-last::after{display:none}.ad-mode .romeo-progress-bar{pointer-events:none}.ad-mode .romeo-progress-bar .play-progress,.ad-mode .romeo-progress-bar .prog-slider{background-color:#10af4b !important}.romeo-telepary .romeo-progress-bar{pointer-events:none}.romeo-filimo .romeo-progress-bar .play-progress{background-color:#fdc13c}.romeo-filimo .romeo-progress-bar .prog-slider{background-color:#fdc13c}.romeo-aparat .romeo-progress-bar .play-progress{background-color:#ed145b}.romeo-aparat .romeo-progress-bar .prog-slider{background-color:#ed145b}',""])},16641:function(e,t,r){(e.exports=r(23645)(!1)).push([e.id,".romeo .romeo-message-container{border-radius:5px;background-color:#191919e6;position:absolute;z-index:10;left:50%;top:40px;transform:translate(-50%, 0);width:90%;cursor:default}.romeo .romeo-message{text-align:center;padding:15px 30px;font-size:1.5em;direction:rtl;line-height:1.5}.romeo .romeo-show-reload-button{font-family:IRANSans,IRANSans-web,IRANSansDN,NotoSans,Tajawal,NeoSans,OpenSanse,pelak,tahoma,arial,sans-serif;cursor:pointer;width:90px;margin:0 auto 15px;height:30px;border-radius:4px;padding:9px 0;text-align:center;color:#000}.romeo-filimo .romeo-message-container{border:1px solid #e6e6e6}.romeo-filimo .romeo-show-reload-button{background-color:#fdc13c}.romeo-aparat .romeo-message-container{border:1px solid #e6e6e6}.romeo-aparat .romeo-show-reload-button{background-color:#ed145b}",""])},99446:function(e,t,r){(e.exports=r(23645)(!1)).push([e.id,".romeo .romeo-mobile-style .romeo-cast-toggle,.romeo .romeo-mobile-style .romeo-airplay{position:absolute;top:15px;right:10px;background:#333;padding:3px;border-radius:5px;height:36px}.romeo .romeo-mobile-style .romeo-cast-toggle svg,.romeo .romeo-mobile-style .romeo-airplay svg{width:30px !important;height:30px !important}.romeo .romeo-mobile-style .jump-forward{position:absolute;top:50%;right:20%;width:60px;background:rgba(255,255,255,.2);border-radius:5px;padding:5px;transform:translateY(-50%)}.romeo .romeo-mobile-style .jump-back{position:absolute;top:50%;left:20%;width:60px;background:rgba(255,255,255,.2);border-radius:5px;padding:5px;transform:translateY(-50%)}.romeo .romeo-mobile-style .romeo-player-tooltip{display:none}.romeo .romeo-mobile-style .filimo-back-button{width:50%}.romeo .romeo-mobile-style .romeo-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:unset;width:unset;z-index:1}.romeo .romeo-mobile-style .romeo-overlay svg{border-radius:5px;width:60px;height:60px;padding:5px;background:rgba(255,255,255,.2);color:#fff}.romeo .romeo-mobile-style .show-bigplay.first-play:after{border:unset !important}.romeo .romeo-mobile-style .isp-and-countdown-parent{top:60px}.romeo .romeo-mobile-style .isp-and-countdown-parent .filimo-countdown-message{background:#333}@media(max-width: 400px){.romeo .romeo-mobile-style.romeo-has-aparat-link .romeo-progress{display:none}}@media(max-width: 350px){.romeo .romeo-mobile-style .isp-and-countdown-parent{width:94% !important}.romeo .romeo-mobile-style .romeo-progress{display:none}}",""])},59519:function(e,t,r){(e.exports=r(23645)(!1)).push([e.id,'.romeo *{box-sizing:border-box}.romeo ul{list-style-type:none}.romeo button{font-family:IRANSans,IRANSans-web,IRANSansDN,NotoSans,Tajawal,NeoSans,OpenSanse,pelak,tahoma,arial,sans-serif}.romeo .romeo-container{outline-width:0}.romeo .romeo-container.lang-en{font-family:Arial,Helvetica,sans-serif}.romeo .romeo-16-9{padding-top:56.25%}.romeo .romeo-progress-live .romeo-current-time .romeo-current{display:inline-block;vertical-align:middle}.romeo .romeo-progress-live .romeo-current-time .romeo-duration{display:none}.romeo .romeo-progress-live .romeo-current-time::before{content:"";display:inline-block;vertical-align:middle;width:12px;height:12px;border-radius:6px;margin-right:5px;animation:blink-animation 1.5s ease-in 0s infinite}.romeo .romeo-progress-live .romeo-hls-event-not-live .romeo-current-time::before{background-color:gray;animation:unset}.romeo .romeo-progress-live .romeo-hls-event-current{cursor:pointer}.romeo .romeo-live .romeo-controls{left:2px;right:2px;bottom:0;height:32px;padding:0 5px;background:transparent}.romeo .romeo-live .romeo-controls .left-bar,.romeo .romeo-live .romeo-controls .right-bar{bottom:5px;padding:5px 0;border-radius:4px}.romeo .romeo-live .romeo-controls .left-bar{left:5px}.romeo .romeo-live .romeo-controls .right-bar{right:5px}.romeo .romeo-live .romeo-controls .romeo-current-time .romeo-current{display:inline-block;vertical-align:middle}.romeo .romeo-live .romeo-controls .romeo-current-time .romeo-duration{display:none}.romeo .romeo-live .romeo-controls .romeo-current-time::before{content:"";display:inline-block;vertical-align:middle;width:12px;height:12px;border-radius:6px;margin-right:5px;animation:blink-animation 1.5s ease-in 0s infinite}@keyframes blink-animation{50%{opacity:0}}.romeo .romeo-live .romeo-controls .romeo-volume-control svg{vertical-align:middle;width:18px;height:18px}.romeo .romeo-live .romeo-controls.pause .romeo-current-time::before{animation:none}.romeo .romeo-live.romeo-isTV-true-live .left-bar{min-width:unset}.romeo .romeo-live.romeo-isTV-true-live .right-bar{min-width:unset}.romeo .romeo-live.romeo-isTV-true-live .romeo-button{margin:0 2em;width:0px;height:0px;padding:2.5em;background:rgba(0,0,0,.7);box-sizing:content-box;border-radius:50%}.romeo .romeo-live.romeo-isTV-true-live .romeo-button svg{width:2.7777777778em;height:2.7777777778em;transform:translate(-50%, -50%)}.romeo .romeo-live .romeo-settings-main-menu{width:166px;bottom:40px;transform:translate(-50%, 0) translate(16px, 0)}.romeo .romeo-live .romeo-settings-main-menu:before{left:71%}.romeo .romeo-live .romeo-settings-main-menu .romeo-submenu li.hd button:before{top:6px}.romeo .direction-fa{direction:rtl}.romeo .direction-fa .romeo-player-tooltip{direction:rtl}.romeo .direction-fa .romeo-master-menu-next-part-parent{direction:rtl}.romeo .direction-en .romeo-player-tooltip{direction:ltr}.romeo .direction-en .romeo-master-menu-next-part-parent{direction:ltr}.romeo .direction-en .romeo-subscription-parent{direction:ltr}.romeo .romeo-flashplayer-true .romeo-player-tooltip,.romeo .romeo-flashplayer-true .romeo-player-big-tooltip{display:none}.romeo .romeo-client-width-landscape-phones video.user-active::-webkit-media-text-track-display,.romeo .romeo-client-width-landscape-phones video.paused::-webkit-media-text-track-display{line-height:1.2em}.romeo .romeo-client-width-tablets video.user-active::-webkit-media-text-track-display,.romeo .romeo-client-width-tablets video.paused::-webkit-media-text-track-display{line-height:.9em}.romeo .romeo-client-width-desktops video.user-active::-webkit-media-text-track-display,.romeo .romeo-client-width-desktops video.paused::-webkit-media-text-track-display{line-height:.8em}.romeo .romeo-client-width-large-desktops video.user-active::-webkit-media-text-track-display,.romeo .romeo-client-width-large-desktops video.paused::-webkit-media-text-track-display{line-height:1.3em}.romeo .adBanner{position:absolute;top:0;background-color:transparent}.romeo .tv-style-max-width-1070 .pip,.romeo .tv-style-max-width-1070 .go-theater{display:none !important}.romeo .tv-style-max-width-950 .romeo-progress,.romeo .tv-style-max-width-950 .pip,.romeo .tv-style-max-width-950 .go-theater{display:none !important}.romeo .tv-style-max-width-600 .jump-forward,.romeo .tv-style-max-width-600 .jump-back,.romeo .tv-style-max-width-600 .romeo-progress,.romeo .tv-style-max-width-600 .pip,.romeo .tv-style-max-width-600 .go-theater{display:none !important}.romeo .romeo-hide{display:none !important}.romeo .romeo-mini-player-wrapper .vast-skip-counter,.romeo .romeo-mini-player-wrapper .moreBtn,.romeo .romeo-mini-player-wrapper .vast-skip-button{display:none !important}.romeo .romeo-loading-wrapper{z-index:10;background:#40404082;position:absolute;top:0;bottom:0;left:0;right:0}.romeo-filimo .romeo-progress-live .romeo-current-time::before{background-color:#fdc13c}.romeo-filimo .romeo-live .romeo-controls .romeo-current-time::before{background-color:#fdc13c}.romeo-aparat .romeo-progress-live .romeo-current-time::before{background-color:#ed145b}.romeo-aparat .romeo-live .romeo-controls .romeo-current-time::before{background-color:#ed145b}',""])},86446:function(e,t,r){(e.exports=r(23645)(!1)).push([e.id,".romeo .vast-ad{position:absolute;height:100%;width:100%;top:0;left:0;pointer-events:none}.romeo .vast-ad .click-through{pointer-events:auto;position:absolute;top:0;left:0;right:0;bottom:0}.romeo .vast-ad .click-through .click-through-more{font-family:IRANSans,IRANSans-web,IRANSansDN,NotoSans,Tajawal,NeoSans,OpenSanse,pelak,tahoma,arial,sans-serif;padding:10px;border-radius:5px;background-color:#0000009e;position:absolute;bottom:80px;left:18px}.romeo .vast-ad .vast-skip-button,.romeo .vast-ad .moreImg,.romeo .vast-ad .moreBtn{pointer-events:auto;z-index:5}.romeo .vast-ad .moreBtn{left:1.75em;text-decoration:none}@media(max-width: 600px){.romeo .vast-ad .moreBtn{padding:0}}.romeo .vast-ad .vast-skip-button,.romeo .vast-ad .vast-skip-counter,.romeo .vast-ad .vast-not-skip-offset,.romeo .vast-ad .moreBtn{color:rgba(255,255,255,.8);cursor:pointer;position:absolute;display:flex;bottom:5.5em;transition:background-color 200ms ease}.romeo .vast-ad .vast-skip-button>span,.romeo .vast-ad .vast-skip-counter>span,.romeo .vast-ad .vast-not-skip-offset>span,.romeo .vast-ad .moreBtn>span{unicode-bidi:embed;font-family:IRANSans,IRANSans-web,IRANSansDN,NotoSans,Tajawal,NeoSans,OpenSanse,pelak,tahoma,arial,sans-serif;font-size:13px;height:auto;line-height:1;color:#fff;padding:16px 10px;border-radius:8px;background-color:rgba(0,0,0,.55);align-items:center;direction:rtl}@media(max-width: 600px){.romeo .vast-ad .vast-skip-button>span,.romeo .vast-ad .vast-skip-counter>span,.romeo .vast-ad .vast-not-skip-offset>span,.romeo .vast-ad .moreBtn>span{font-size:9px}}.romeo .vast-ad .vast-skip-button>span:hover,.romeo .vast-ad .vast-skip-counter>span:hover,.romeo .vast-ad .vast-not-skip-offset>span:hover,.romeo .vast-ad .moreBtn>span:hover{background-color:rgba(0,0,0,.65)}.romeo .vast-ad .vast-skip-button,.romeo .vast-ad .vast-skip-counter,.romeo .vast-ad .vast-not-skip-offset{right:1.75em;z-index:1}.romeo .vast-ad .vast-skip-counter,.romeo .vast-ad .vast-not-skip-offset,.romeo .vast-ad .vast-skip-button{height:3.4em;right:0}.romeo .vast-ad .vast-skip-counter span,.romeo .vast-ad .vast-not-skip-offset span,.romeo .vast-ad .vast-skip-button span{display:inline-flex;border-radius:4px 0 0 4px}.romeo .vast-ad .vast-skip-counter img,.romeo .vast-ad .vast-not-skip-offset img,.romeo .vast-ad .vast-skip-button img{height:100%}.romeo .vast-ad .moreBtn{left:0}.romeo .vast-ad .moreBtn span{display:inline-flex;border-radius:0 4px 4px 0}.romeo .vast-ad .moreImg{cursor:pointer;margin:5px 15px;position:absolute;left:3px;bottom:75px;width:300px;height:80px;transition:all 400ms ease}.romeo .vast-ad .moreImg img{width:100%}@media(max-width: 600px){.romeo .vast-ad .moreImg{width:200px;height:53.33px}}.romeo .romeo-isTV-true .vast-ad .vast-skip-button,.romeo .romeo-isTV-true .vast-ad .vast-skip-counter,.romeo .romeo-isTV-true .vast-ad .vast-not-skip-offset,.romeo .romeo-isTV-true .vast-ad .moreBtn{bottom:200px}",""])},10860:function(e,t,r){(e.exports=r(23645)(!1)).push([e.id,'.romeo .romeo-option-color .romeo-overlay.show-bigplay.first-play:after{border:unset}.romeo video{left:0;position:absolute;top:0;height:100%;width:100%;transition-duration:.5s}.romeo video.disable-controls::-webkit-media-controls-start-playback-button{display:none !important;-webkit-appearance:none}.romeo .isp-and-countdown-parent{position:absolute;top:50px;right:5px;display:inline-flex}.romeo .isMobile-true-countdown{display:inline}.romeo .romeo-poster-parent{background-color:#000;background-position:50% 50%;background-repeat:no-repeat;background-size:cover;bottom:0;cursor:pointer;display:inline-block;height:100%;left:0;margin:0;padding:0;position:absolute;right:0;top:0;vertical-align:middle;filter:blur(8px)}.romeo .romeo-poster-child{background-position:50% 50%;background-repeat:no-repeat;background-size:contain;bottom:0;transform:translate(-50%, -50%);cursor:pointer;display:inline-block;width:40%;left:50%;margin:0;padding:0;position:absolute;top:50%;vertical-align:middle;border-radius:16px;z-index:1}.romeo .romeo-loading-spinner{position:absolute;z-index:5;top:50%;left:50%;margin-left:-25px;margin-top:-25px}.romeo .romeo-loading-spinner svg{width:3.75em;transform-origin:center;animation:rotate 2s linear infinite}.romeo .romeo-loading-spinner circle{fill:none;stroke-width:4;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}100%{stroke-dashoffset:-125px}}.romeo .romeo-overlay{position:absolute;background:none;pointer-events:none;top:10%;left:0;height:80%;width:100%;border:none;outline-width:0;z-index:1}.romeo .romeo-overlay svg{display:none;max-width:90px;max-height:90px;height:5em;margin:0 auto;position:absolute;top:45%;left:49.8%;transform:translate(-50%, -50%)}.romeo .romeo-overlay.show-bigplay svg{display:block;filter:drop-shadow(0 0 7px rgba(0, 0, 0, 0.5))}.romeo .romeo-overlay.show-bigplay.first-play:after{content:"";border-radius:50%;position:absolute;max-width:160px;max-height:160px;width:7em;height:7em;top:45%;left:50%;transform:translate(-55%, -50%);-webkit-filter:drop-shadow(0 0 7px rgba(0, 0, 0, 0.5));filter:drop-shadow(0 0 7px rgba(0, 0, 0, 0.5))}.romeo video.romeo-linearMode{cursor:default}.romeo .ios-fullscreen ::cue{font-size:40px !important}@media screen and (max-width: 320px){.romeo .ios-fullscreen ::cue{font-size:28px !important}}@media screen and (min-width: 321px)and (max-width: 480px){.romeo .ios-fullscreen ::cue{font-size:36px !important}}@media screen and (min-width: 481px)and (max-width: 600px){.romeo .ios-fullscreen ::cue{font-size:42px !important}}@media screen and (min-width: 601px)and (max-width: 860px){.romeo .ios-fullscreen ::cue{font-size:50px !important}}@media screen and (min-width: 861px)and (max-width: 1240px){.romeo .ios-fullscreen ::cue{font-size:64px !important}}@media screen and (min-width: 1241px)and (max-width: 1600px){.romeo .ios-fullscreen ::cue{font-size:76px !important}}@media screen and (min-width: 1601px){.romeo .ios-fullscreen ::cue{font-size:90px !important}}.romeo .romeo-submenu li:hover button{cursor:pointer}.romeo .settings-menu:hover>button{background:#8080807d;transition-duration:300ms}.romeo .romeo-not-first-load .romeo-controls{display:none}.romeo .romeo-subtitle-fa ::cue{font-family:IRANSans,IRANSans-web,IRANSansDN,tahoma,arial,sans-serif}.romeo .romeo-subtitle-ar ::cue{font-family:NotoSans,Tajawal,NeoSans,arial,tahoma}.romeo .romeo-subtitle-en ::cue{font-family:OpenSanse,"Times New Roman",Times,serif}.romeo .romeo-video-small-size video{width:100%;width:calc(100% - 310px);transition-duration:.5s}.romeo .romeo-video-small-size .romeo-controls{width:100%;width:calc(100% - 310px);transition-duration:.5s}.romeo-filimo .romeo-loading-spinner circle{stroke:#fdc13c}.romeo-filimo .romeo-overlay.show-bigplay{color:#fdc13c}.romeo-filimo .romeo-overlay.show-bigplay.first-play:after{border:6px solid #fdc13c}.romeo-aparat .romeo-loading-spinner circle{stroke:#ed145b}.romeo-aparat .romeo-overlay.show-bigplay{color:#ed145b}.romeo-aparat .romeo-overlay.show-bigplay.first-play:after{border:6px solid #ed145b}.romeo-aparat .romeo-poster-child{display:none}.romeo-aparat .romeo-poster-parent{filter:unset}',""])},84003:function(e,t,r){(e.exports=r(23645)(!1)).push([e.id,".romeo .romeo-remain-count{pointer-events:auto;z-index:5;color:rgba(255,255,255,.8);cursor:default;position:absolute;display:flex;bottom:80px;transition:background-color 200ms ease;right:0}.romeo .romeo-remain-count>span{unicode-bidi:embed;font-family:IRANSans,IRANSans-web,IRANSansDN,NotoSans,Tajawal,NeoSans,OpenSanse,pelak,tahoma,arial,sans-serif;font-size:13px;height:auto;line-height:1;color:#fff;padding:1em 1.7em;border-radius:4px 0 0 4px;background-color:rgba(0,0,0,.55);align-items:center;direction:rtl}@media(max-width: 600px){.romeo .romeo-remain-count>span{font-size:9px;margin-right:-5px;margin-top:8px}}",""])},79422:function(e,t,r){var o=r(34922);"string"==typeof o&&(o=[[e.id,o,""]]);r(76723)(o,{hmr:!0,transform:void 0,insertInto:void 0}),o.locals&&(e.exports=o.locals)},75439:function(e,t,r){var o=r(99999);"string"==typeof o&&(o=[[e.id,o,""]]);r(76723)(o,{hmr:!0,transform:void 0,insertInto:void 0}),o.locals&&(e.exports=o.locals)},9026:function(e,t,r){var o=r(65453);"string"==typeof o&&(o=[[e.id,o,""]]);r(76723)(o,{hmr:!0,transform:void 0,insertInto:void 0}),o.locals&&(e.exports=o.locals)},7783:function(e,t,r){var o=r(83519);"string"==typeof o&&(o=[[e.id,o,""]]);r(76723)(o,{hmr:!0,transform:void 0,insertInto:void 0}),o.locals&&(e.exports=o.locals)},11998:function(e,t,r){var o=r(73210);"string"==typeof o&&(o=[[e.id,o,""]]);r(76723)(o,{hmr:!0,transform:void 0,insertInto:void 0}),o.locals&&(e.exports=o.locals)},47727:function(e,t,r){var o=r(17632);"string"==typeof o&&(o=[[e.id,o,""]]);r(76723)(o,{hmr:!0,transform:void 0,insertInto:void 0}),o.locals&&(e.exports=o.locals)},83627:function(e,t,r){var o=r(50391);"string"==typeof o&&(o=[[e.id,o,""]]);r(76723)(o,{hmr:!0,transform:void 0,insertInto:void 0}),o.locals&&(e.exports=o.locals)},62479:function(e,t,r){var o=r(16641);"string"==typeof o&&(o=[[e.id,o,""]]);r(76723)(o,{hmr:!0,transform:void 0,insertInto:void 0}),o.locals&&(e.exports=o.locals)},75524:function(e,t,r){var o=r(99446);"string"==typeof o&&(o=[[e.id,o,""]]);r(76723)(o,{hmr:!0,transform:void 0,insertInto:void 0}),o.locals&&(e.exports=o.locals)},84761:function(e,t,r){var o=r(59519);"string"==typeof o&&(o=[[e.id,o,""]]);r(76723)(o,{hmr:!0,transform:void 0,insertInto:void 0}),o.locals&&(e.exports=o.locals)},25145:function(e,t,r){var o=r(86446);"string"==typeof o&&(o=[[e.id,o,""]]);r(76723)(o,{hmr:!0,transform:void 0,insertInto:void 0}),o.locals&&(e.exports=o.locals)},21558:function(e,t,r){var o=r(10860);"string"==typeof o&&(o=[[e.id,o,""]]);r(76723)(o,{hmr:!0,transform:void 0,insertInto:void 0}),o.locals&&(e.exports=o.locals)},36256:function(e,t,r){var o=r(84003);"string"==typeof o&&(o=[[e.id,o,""]]);r(76723)(o,{hmr:!0,transform:void 0,insertInto:void 0}),o.locals&&(e.exports=o.locals)}},n={};function a(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={id:e,exports:{}};return o[e].call(r.exports,r,r.exports,a),r.exports}a.m=o,e=[],a.O=function(t,r,o,n){if(!r){var i=1/0;for(u=0;u<e.length;u++){r=e[u][0],o=e[u][1],n=e[u][2];for(var s=!0,l=0;l<r.length;l++)(!1&n||i>=n)&&Object.keys(a.O).every((function(e){return a.O[e](r[l])}))?r.splice(l--,1):(s=!1,n<i&&(i=n));if(s){e.splice(u--,1);var c=o();void 0!==c&&(t=c)}}return t}n=n||0;for(var u=e.length;u>0&&e[u-1][2]>n;u--)e[u]=e[u-1];e[u]=[r,o,n]},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,r){return a.f[r](e,t),t}),[]))},a.u=function(e){return({219:"social-tour-modal",253:"teleparty-intro",258:"flash-player",378:"age-limit",550:"dash-4b56bf4b",578:"toast",927:"dash-104da9de",1116:"skip-cast",1142:"dash-60dc46df",1171:"televika-top-icon-en",1200:"watermark-ad",1371:"boost-ad",1374:"aparat-top-icon",1651:"dash-eaa8b4e8",1734:"romeo-stats",1924:"right-click",2041:"subscription",2075:"boxEnd",2226:"mini-player",2306:"airplay-romeo",2438:"cast-player",2583:"caption-romeo",2774:"cast-toggle",2854:"volume-romeo",3245:"exit-mini-player",3336:"i-start-url",3343:"annotations",3400:"filimo-top-icon",3740:"pause-ad-xml",3781:"logo",3862:"dash-682b430d",4060:"chat-room",4256:"channel",4328:"sensitive-content",4427:"dash-8f81934a",4479:"jump-back-5sec-fa-icon",4817:"hls",4969:"ws-teleparty",5159:"big-mute-btn",5172:"reaction",5327:"dash-55963318",5378:"question-modal",5466:"pip-romeo",5621:"likeDislike",5725:"embed-poster",5786:"dash-640e94a9",5806:"slide-ad",5912:"vr-360-renderer",6110:"skip-intro",6189:"jump-forward-5sec-fa-icon",6232:"main-cache-player",6417:"audio-lang",6435:"dash-7a750552",6460:"dash-a9afe0eb",6653:"shortKey",6703:"end-html",6844:"dash-b2fad05c",6980:"show-sessions",7035:"romeo-back-button",7058:"dash-c64ea415",7073:"share-embed",7249:"dash-fda4b5a7",7448:"settings-romeo",7739:"aparat-link-button",7755:"dash-2b4841d6",7827:"jump-back-15sec-fa-icon",7940:"tv-channels",7984:"show-next-part",8039:"televika-top-icon-fa",8464:"jump-mobile-icon",8481:"pause-ad-fullscreen",8767:"details",8994:"viewer-count",8996:"tv-settings",9006:"jump-forward-15sec-fa-icon",9030:"social-tour",9054:"subtitles",9113:"dash-4d54766b",9179:"dash-c15a3921",9186:"recom",9262:"isp-message",9525:"cache-player",9532:"speed-romeo",9538:"freeSansTimer",9638:"dash-ab841311",9914:"aparat-top-icon-en"}[e]||e)+"."+{219:"14dcd699def53b1d173d",253:"113e16b56711b7f872d0",258:"cc17cb01809a6ecd2031",378:"6472b94234d4a4c5529d",550:"a7b205058b32c45ed0f6",578:"d9087a7742420fc296e3",927:"6f392550ba7bf56b716f",1116:"85f62f0e41f70b90d8f9",1120:"ddc5a8ca1cd568760efb",1142:"7419894238817e1fd59f",1171:"9cfb2ed03fd9df51ac91",1200:"7609d1625a7a629e7f3e",1371:"856534b9225a0e5a4bed",1374:"48e0e48ff56fb49e74fa",1613:"f0b845dd671d5923a6de",1651:"3f69b9399e5eaa889c3f",1734:"16552df47852499ee3b9",1924:"ea53341e0034e74a0e08",2041:"2117182b9f9adfe775b9",2075:"e107a158bc6643ec3083",2212:"9c1206ceefa0bf128e14",2226:"ab7aa1f1339cd057ea7c",2306:"ce539028766d0ef59dc4",2438:"b5547987ebc736f01d4d",2583:"61c5ac5e4cd6151a495d",2774:"e1465f0782e3b7ff17b1",2854:"2271a28af6b540e43592",3245:"cf3bc3bb126ef23de59a",3336:"912ff20b770bfb8f79f5",3343:"367fce7747d8ecc5bc87",3400:"3d939151b599cacb70fc",3740:"4f44bcd8f98ab45db869",3781:"499d7ca0ba55b70b21e5",3862:"28ddbae6ac5f3a66503f",4060:"2863b54a0406e7bcb1a8",4256:"648082810f03631fdce6",4328:"43205e0ce65ab98b49be",4427:"4e324cb9b7dc5304955d",4479:"d6b27f88e87848a199ad",4817:"68b0a9bd70da2c193cd3",4960:"5cd913ef304426d236d7",4969:"259015a015500fd35ddc",5159:"350dd6f123ac48dbaa42",5172:"3b317a6ce8f135cdcac7",5327:"23a4c13ae701e4d1d73b",5378:"498d838aabb1ac829895",5466:"b10af0098e6713048e9c",5621:"0b50bf7ff7b4800dbc29",5725:"079c821a8f0a91deb718",5786:"657d96f32aac53be3f6c",5806:"4e0d252182988ab40f90",5912:"c1bbe72aeaff979cff35",6110:"00a1362e72bbbc4b326e",6189:"43591619261dce13bd42",6232:"2825530155f30406755a",6417:"393fbd2f212b937cbacd",6435:"e66304b0dbf3edd669d1",6460:"e70bc2af2c5715e6928b",6653:"a59a048e68342a7fdcd0",6703:"490a801d6bd2a4f8d2c0",6844:"4dd0689dc10701358978",6980:"6511f56882a9eed53621",7035:"3e66b73fbe7a8a59d7ac",7058:"0e89131285078960fbb9",7073:"943e9731135314942535",7249:"f62bc2454d64e80986dd",7448:"954a11284dba28c7c1a4",7739:"522da08aa7f71fa4dc67",7755:"274be3d8253f8bebb3a1",7827:"d2b4482d38d31329488d",7940:"1fce0e151c8ba18bc58e",7984:"1939f00694ccccd7c882",8039:"94e149acbf10d60533e8",8464:"be9611dbce4d636bf877",8481:"ef186cd089d84c945648",8767:"6411e146a08681d3fead",8991:"a74d4eb936cb09f47399",8994:"8f265c6bdc4557315c88",8996:"e42ca5c9c21615705788",9006:"c25dc8c0c54e856ff54d",9030:"b2960383a058edab61ee",9054:"5674ec03900f45c298c9",9113:"ad1118ee45d1a640cf21",9179:"55d4645c154c7df38c9e",9186:"fa82b231853193f5701c",9262:"5c7f8004e67f048dfa39",9525:"5e2177afd679ed356f9e",9532:"d797b9703688906f06d8",9538:"b3a0b2e6e2214ee761c1",9638:"bdc47546e35d31a0930b",9914:"e68b1e5b633147b2d8fe"}[e]+".chunk.js"},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t={},r="[name]:",a.l=function(e,o,n,i){if(t[e])t[e].push(o);else{var s,l;if(void 0!==n)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var m=c[u];if(m.getAttribute("src")==e||m.getAttribute("data-webpack")==r+n){s=m;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",r+n),s.src=e),t[e]=[o];var d=function(r,o){s.onerror=s.onload=null,clearTimeout(p);var n=t[e];if(delete t[e],s.parentNode&&s.parentNode.removeChild(s),n&&n.forEach((function(e){return e(o)})),r)return r(o)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e}(),function(){var e={7949:0};a.f.j=function(t,r){var o=a.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var n=new Promise((function(r,n){o=e[t]=[r,n]}));r.push(o[2]=n);var i=a.p+a.u(t),s=new Error;a.l(i,(function(r){if(a.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var n=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+n+": "+i+")",s.name="ChunkLoadError",s.type=n,s.request=i,o[1](s)}}),"chunk-"+t,t)}},a.O.j=function(t){return 0===e[t]};var t=function(t,r){var o,n,i=r[0],s=r[1],l=r[2],c=0;if(i.some((function(t){return 0!==e[t]}))){for(o in s)a.o(s,o)&&(a.m[o]=s[o]);if(l)var u=l(a)}for(t&&t(r);c<i.length;c++)n=i[c],a.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return a.O(u)},r=self.webpackChunk_name_=self.webpackChunk_name_||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}();var i=a.O(void 0,[1216,9351],(function(){return a(79649)}));return(i=a.O(i)).default}()}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment