!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,n,a={61805:function(e,t,r){"use strict";r.d(t,{default:function(){return ir}});var o,n=r(81643),a=r.n(n),i=r(31238),s=r.n(i),l=r(77149),c=r.n(l),u=r(86902),m=r.n(u),d=r(78914),p=r.n(d),f=r(51942),h=r.n(f),v=r(20455),b=r.n(v),g=r(92762),y=r.n(g),E=r(78580),S=r.n(E),w=r(59340),k=r.n(w),x=r(47302),T=r.n(x),A=(r(74916),r(4723),r(70189),r(51532),r(66992),r(65465),r(34553),r(79753),r(69720),r(54678),r(22083),r(60586)),P=r.n(A),O=r(67294),R=r(73935),L=r(17187),D=r.n(L),M=r(41875),I=r.n(M),N=r(11794),F=r(42123),C=r(73126),V=r(33938),H=r(23493),q=r.n(H),z=(r(35666),r(94473)),B=r.n(z),j=r(2991),U=r.n(j),W=r(25843),X=r.n(W),_=(r(41539),r(88674),r(78783),r(33948),r(23123),r(64765),r(9653),r(68309),r(15306),r(56977),r(39714),r(39704)),G=r(58971),Z=r.n(G),Y=(r(84761),function(e,t){var r=P().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,F.TH)(r.play())}catch(e){}return r}),J=function(e,t){void 0===t&&(t=!1);var r=P().document.createElement("video");r.autoplay=!0,r.muted=t,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();var o=r.play();void 0!==o&&e(o)},Q=(r(62479),function(e){var t=e.msg,r=e.env,o=e.showReloadBtn,n=e.appEmitter,a=(0,_.I0)(),i=(0,O.useState)(null),s=i[0],l=i[1];return(0,O.useEffect)((function(){var e=setTimeout((function(){a({type:N.aO.setMessages,payload:{state:N.PO.MESSAGES.NOTSHOW}})}),1e6);return l(e),function(){s&&clearTimeout(s)}}),[t]),O.createElement("div",{className:"romeo-message-container"},O.createElement("div",{className:"romeo-message"},t),o&&O.createElement("div",{className:"romeo-show-reload-button",onKeyPress:function(){},onClick:function(){r.isLive?window.location.reload():(n.emit("hotReload"),a({type:N.aO.setMessages,payload:{state:N.PO.MESSAGES.NOTSHOW}}))},type:"button",role:"button",tabIndex:"0"},r.messages.reload))}),K=r(94435),$=r.n(K),ee=r(93476),te=r.n(ee),re=(r(82526),r(41817),r(39819)),oe=r(68670),ne=(r(21558),r(7783),r(70351)),ae=r(88483),ie=r(86454),se=r(5966),le=(r(47727),(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(7827).then(r.bind(r,10127))}),"JumpBackIcon15sec")}))),ce=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(4479).then(r.bind(r,20165))}),"JumpBackIcon5sec")})),ue=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(9006).then(r.bind(r,9087))}),"JumpForwardIcon15sec")})),me=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(6189).then(r.bind(r,66073))}),"JumpForwardIcon5sec")})),de=O.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,O.useState)(""),h=f[0],v=f[1],b=(0,O.useRef)(!1);""!==h||b.current||(v(t?"pause":"play"),setTimeout((function(){b.current=!0,v(""),o(""),i(!1),m(!1),d(!1)}),400)),b.current=!1;var g=Math.ceil(10*a/3),y=c||u?h:s||""!==r?"otherFeedBack":"";return O.createElement("div",{className:"play-pause-feedback "+y},t&&!s&&""===r&&c&&O.createElement(oe.Z,null),!t&&!s&&""===r&&u&&O.createElement(re.Z,null),"forward"===r&&!s&&(5===p.jumpSec?O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(me,null)):O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(ue,null))),"back"===r&&!s&&(5===p.jumpSec?O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(ce,null)):O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(le,null))),!l&&s&&""===r&&(n||0===g)&&O.createElement(ne.Z,null),!l&&s&&""===r&&!n&&1===g&&O.createElement(ae.Z,null),!l&&s&&""===r&&!n&&2===g&&O.createElement(ie.Z,null),!l&&s&&""===r&&!n&&g>=3&&O.createElement(se.Z,null))})),pe=r(76707),fe=r(27979),he=r(77766),ve=r.n(he),be=r(55056),ge=r.n(be),ye=r(40175),Ee=r(90962),Se=r(39969),we=r.n(Se),ke=(r(25145),{144:"225234",240:"336394",360:"502738",480:"768075",720:"1513196",1080:"2837469"}),xe=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,d=e.playerLoadedAt,f=e.playerTechRef,h=e.adsIdRef,v=e.isEmbed,b=e.onFinished,g=void 0===b?function(){}:b,y=e.changeVmapProfile,E=void 0===y?function(){}:y,w=(0,_.v9)((function(e){return e.player})),x=(0,_.I0)(),A=w.linearAdMode,R=w.handleSyncAd,L=w.video,D=(0,O.useState)(0),M=D[0],C=D[1],H=(0,O.useState)(0),q=H[0],z=H[1],B=(0,O.useState)([]),j=B[0],W=B[1],X=(0,O.useState)(0),G=X[0],Z=X[1],Y=(0,O.useState)(null),J=Y[0],Q=Y[1],K=(0,O.useState)(null),$=K[0],ee=K[1],te=(0,O.useState)(null),re=te[0],oe=te[1],ne=(0,O.useState)(null),ae=ne[0],ie=ne[1],se=(0,O.useState)(!1),le=se[0],ce=se[1],ue=(0,O.useRef)(null),me=(0,O.useRef)(!1),de=(0,O.useRef)(!1),pe=(0,O.useRef)(!1),fe=(0,O.useRef)(!1),he=(0,O.useRef)(!1),ve=(0,O.useRef)(!1),be=(0,O.useRef)(!1),ge=(0,O.useRef)(!1),ye=(0,O.useRef)({}),Se=(0,O.useRef)(0),xe=(0,O.useRef)(!1),Te=(0,O.useRef)(!1),Ae=(0,O.useMemo)((function(){if(M){var e,t="vast-not-skip-offset",r=!1;return G&&G<=q&&Gt.height?1:0})),U()(f).call(f,(function(e){var t,r,o;!u.length&&s&&s.clientHeight<=1.3*e.height?u.push(e):m.push(e),o=e.width?1.3*((null==s?void 0:s.clientWidth)||320)>e.width:1.3*((null==s?void 0:s.clientHeight)||230)>e.height;var n=null==(t=navigator)||null==(r=t.connection)||!r.downlink||1e6*navigator.connection.downlink>ke[e.height];return o&&n?d.unshift({file:e.fileURL+"/chunk.m3u8",resolution:e.width+"x"+e.height,bandwidth:ke[e.height]}):d.push({file:e.fileURL+"/chunk.m3u8",resolution:e.width+"x"+e.height,bandwidth:ke[e.height]}),null}))),U()(F.en).call(F.en,(function(e){if(e===F.cd&&i.capability.linearAdMode.hls&&n.length){if((0,F.xZ)(F.Oq.HLS,U()(n).call(n,(function(e){return{src:e.fileURL,type:e.mimeType,isAdVideo:!0}})),i,c)&&d.length){var t="#EXTM3U";p()(d).call(d,(function(e){t=t+"\n#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH="+e.bandwidth+", RESOLUTION="+e.resolution+"\n"+e.file}));var o=new Blob([t],{type:"application/vnd.apple.mpegurl"});n[0].fileURL=we().createObjectURL(o)}r.push(n)}return e===F.Vp&&i.capability.linearAdMode.dash&&a.length&&r.push(a),e===F.zs&&i.capability.linearAdMode.pseudo&&null!=u&&u.length&&r.push(u),null})),m.length&&r.push(m),x({type:N.aO.setAdMultiSrc,payload:{adMultiSrc:r,debug:i.debug}}),W(r);case 14:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,O.useEffect)((function(){var e,t,r;Me(),function(){var e=o.ads[0].creatives[1],t=o.ads[0].extensions,r=0,i=!1;if(e)for(var s=0;s728||m>90)?"filimo-pause-ad":"aparat-pause-ad";x({type:N.aO.setPauseAdBanner,payload:{state:1,imgUrl:l.staticResources[0].url,linkUrl:l.companionClickThroughURLTemplate,type:p}})}}null!=t&&t.length&&U()(t).call(t,(function(e){var t,r;return null!=e&&null!=(t=e.attributes)&&null!=(r=t.type)&&S()(r).call(r,"syncbanner-json")&&e.value&&n.emit("jsonSyncAd",JSON.parse(e.value)),null})),0===r&&0===R.state&&x({type:N.aO.setHandleSyncAd,payload:{state:1,type:!1}}),i||x({type:N.aO.setPauseAdBanner,payload:{state:0}})}();var s=o.ads[0].creatives[0].skipDelay;Z(s),x({type:N.aO.setSkipCounter,payload:s});var l=null==(e=o.ads[0].impressionURLTemplates)||null==(t=e[0])?void 0:t.url;ye.current=o.ads[0].creatives[0].trackingEvents,p()(r=m()(ye.current)).call(r,(function(e){S()(e).call(e,"progress")&&(ye.current.trueView=ye.current[e],Se.current=+e.replace("progress-",""))}));var u=new Ee.VASTClient,d=new Ee.VASTTracker(u,o.ads[0],o.ads[0].creatives[0]),f=d.quartiles,h=f.firstQuartile,v=f.midpoint,b=f.thirdQuartile;oe(d),d.clickThroughURLTemplate&&ie(d.clickThroughURLTemplate.url);var g=function(){i.ad.trackImpressionOnLoad&&!de.current&&(de.current=!0,De(l,"impression"),Re())},y=function(e){var t,r,o,n;z(e),!i.ad.trackImpressionOnLoad&&!de.current&&c&&c.currentTime>.2&&(de.current=!0,De(l,"impression"),Re()),!pe.current&&e>0&&(pe.current=!0,Oe("/external/romeo/firstSec")),!fe.current&&ye.current.trueView&&Se.current&&e>=Se.current&&(fe.current=!0,U()(t=ye.current.trueView).call(t,(function(e){return De(e,"progress")})),Le()),!xe.current&&s&&e>=s&&(xe.current=!0,x({type:N.aO.setSkipCounter,payload:0})),!ve.current&&e>=h&&ye.current.firstQuartile&&(ve.current=!0,U()(r=ye.current.firstQuartile).call(r,(function(e){return De(e,"firstQuartile")}))),!be.current&&e>=v&&ye.current.midpoint&&(be.current=!0,U()(o=ye.current.midpoint).call(o,(function(e){return De(e,"midpoint")}))),!ge.current&&e>=b&&ye.current.thirdQuartile&&(ge.current=!0,U()(n=ye.current.thirdQuartile).call(n,(function(e){return De(e,"thirdQuartile")})))},E=function(){var e;Te.current||(Te.current=!0,ye.current.pause&&U()(e=ye.current.pause).call(e,(function(e){return De(e,"pause")})))},w=function(){var e,t;c.duration-c.currentTime<1&&(Pe(),x({type:N.aO.setSkipCounter,payload:0}),n.emit("vastComplete",!0),!fe.current&&ye.current.trueView&&(fe.current=!0,U()(e=ye.current.trueView).call(e,(function(e){return De(e,"progress")})),Le()),ye.current.complete&&U()(t=ye.current.complete).call(t,(function(e){return De(e,"complete")})))},k=function(){var e;le||ce(!0),Te.current&&(Te.current=!1,ye.current.resume&&U()(e=ye.current.resume).call(e,(function(e){return De(e,"resume")}))),i.ad.trackImpressionOnLoad&&!de.current&&(de.current=!0,De(l,"impression"),Re())},T=function(){C(c.duration)};return c.addEventListener("loadeddata",T),n.on("adCanPlayThrough",g),n.on("adTimeupdate",y),n.on("adPause",E),n.on("adEnded",w),n.on("adPlaying",k),n.on("doFinishAd",Pe),function(){c.removeEventListener("loadeddata",T),n.off("adCanPlayThrough",g),n.off("adTimeupdate",y),n.off("adPause",E),n.off("adEnded",w),n.off("adPlaying",k),n.off("doFinishAd",Pe)}}),[]),(0,O.useEffect)((function(){var e,t,o,n;j.length&&null!=(e=j[l])&&e[0]&&(o={src:(t=j[l][0]).fileURL,type:t.mimeType,isAdVideo:!0},n=0===r?"preRoll":"midRoll",x({type:N.aO.setLinearAdMode,payload:{state:N.PO.LINEARADMODE.SETSRC,source:o,break:n}}),E({vastAdDispatch:Date.now()-d}))}),[j,l]),(0,O.useEffect)((function(){ue.current=f}),[f]),(0,O.useEffect)((function(){!he.current&&J&&re&&A&&A.break&&le&&(he.current=!0,n.emit("adMoreButtonShow",{event:A.break,adId:re&&re.ad&&re.ad.id?re.ad.id:"",impression:1,origin:"plus",syncAd:me.current}))}),[J,re,A,le]);var Ie=function(){ae&&(n.emit("doPause"),P().open(ae,"_blank").focus())},Ne=function(){if(!J.follow){if($&&$["morebutton-clicktracker"]&&$["morebutton-clicktracker"].length>0)for(var e=0;e<$["morebutton-clicktracker"].length;e+=1)I()({url:$["morebutton-clicktracker"][e],method:"GET"},(function(){}));n.emit("doPause"),n.emit("adMoreButtonClick",{event:A?A.break:"",adId:re&&re.ad&&re.ad.id?re.ad.id:"",click:1,origin:"plus",syncAd:me.current}),P().open(J.href,"_blank").focus()}},Fe=function(){var e;n.emit("clickSkipAd",!0),ye.current.skip&&U()(e=ye.current.skip).call(e,(function(e){return De(e,"skip")})),3===R.state&&x({type:N.aO.setHandleSyncAd,payload:{state:1,type:!1}}),0!==l&&u(0),x({type:N.aO.setLinearAdMode,payload:{state:N.PO.LINEARADMODE.NOTSET}}),x({type:N.aO.setVideoState,payload:{state:N.PO.VIDEOSTATE.INIT}}),g()};return(0,O.useEffect)((function(){null!=Ae&&Ae.canSkip&&n.emit("showSkipAd",!0)}),[null==Ae?void 0:Ae.canSkip]),A.state===N.PO.LINEARADMODE.SETSRC&&a()(t=[N.PO.VIDEOSTATE.PLAYING,N.PO.VIDEOSTATE.PAUSE]).call(t,L.state)>-1&&le&&O.createElement("div",{className:"vast-ad "+h},(null==Ae?void 0:Ae.visible)&&O.createElement("div",{className:Ae.className,onClick:Ae.canSkip?Fe:function(){return null},onKeyDown:Ae.canSkip?Fe:function(){return null},role:"button",tabIndex:"0"},!!i.smallPoster&&O.createElement("img",{src:i.smallPoster,alt:"ad-poster"}),O.createElement("span",null,Ae.value)),ae&&!J&&O.createElement("div",{className:"click-through",onClick:Ie,onKeyDown:Ie,role:"button",tabIndex:"0"},O.createElement("span",{className:"click-through-more"},i.messages.more)),J&&!J.follow&&O.createElement("div",{className:"moreBtn",onClick:Ne,onKeyDown:Ne,role:"button",tabIndex:"0"},O.createElement("span",null,J.text)),J&&J.follow&&O.createElement("a",{href:J.href,target:"_blank",rel:"noopener noreferrer",className:"moreBtn",onClick:Ne,onKeyDown:Ne,tabIndex:"0"},O.createElement("span",null,J.text)))},Te=(r(36256),(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(5806).then(r.bind(r,65965))}),"SlideAD")}))),Ae=function(e,t){return"number"==typeof e?e:S()(e).call(e,"%")?Math.floor(+e.replace("%","")*t/100):S()(e).call(e,":")?(0,F.WN)(e):"start"===e?0:"end"===e?t:0},Pe=function(){var e=(0,V.Z)(regeneratorRuntime.mark((function e(t){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new Ee.VASTClient,o=r.getParser(),e.prev=2,e.next=5,o.parseVAST(t);case 5:if(!e.sent.ads.length){e.next=8;break}return e.abrupt("return",!0);case 8:return e.abrupt("return",!1);case 11:return e.prev=11,e.t0=e.catch(2),e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[2,11]])})));return function(t){return e.apply(this,arguments)}}(),Oe=function(e){var t=e.counter,r=e.tech,o=e.env,n=e.changeCurrentLevel,a=void 0===n?function(){}:n,i=r[F.Oq.HLS];return t>0&&t<6?(r.type===F.Oq.HLS&&i&&a(i.currentLevel),O.createElement("div",{className:"romeo-remain-count"},O.createElement("span",null,o.messages.adShowOn+" "+t))):O.createElement(O.Fragment,null)},Re=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,c=e.adCurrentIndex,u=e.videoRef,m=e.tech,d=e.setAdCurrentIndex,p=e.playerLoadedAt,f=e.isUserActive,v=e.getSabaSID,b=e.mobileStyle,g=e.playerTechRef,y=e.duration,E=e.canPlayAd,w=e.isEmbed,x=e.setCanPlayAd,T=void 0===x?function(){}:x,A=e.changeCurrentLevel,R=void 0===A?function(){}:A,L=e.changeVmapProfile,D=void 0===L?function(){}:L,M=(0,O.useRef)("default"),I=(0,O.useState)([]),C=I[0],H=I[1],q=(0,O.useState)(null),z=q[0],B=q[1],j=(0,O.useState)(null),W=j[0],X=j[1],G=(0,O.useState)(0),Y=G[0],J=G[1],Q=(0,O.useState)(""),K=Q[0],$=Q[1],ee=(0,O.useRef)({}),re=(0,O.useRef)(null),oe=(0,O.useRef)(null),ne=(0,O.useRef)(!1),ae=(0,O.useRef)(0),ie=(0,O.useRef)(""),se=(0,_.v9)((function(e){return e.player})),le=(0,_.I0)(),ce=se.handleSyncAd,ue=se.adBlocker,me=se.contentFirstLoad,de=se.miniPlayer,pe=se.linearAdMode,fe=function(e){if(void 0===e&&(e=!0),s.sendStatXhr){var t={type:e?"preRoll":"midRoll"},r={body:k()(t),method:"POST",headers:{"content-type":"application/json"}};fetch("/external/romeo/auctionRequest",r).catch((function(){}))}},he=function(e){if(void 0===e&&(e=!0),s.sendStatXhr){var t={type:e?"preRoll":"midRoll"},r={body:k()(t),method:"POST",headers:{"content-type":"application/json"}};fetch("/external/romeo/auctionWin",r).catch((function(){}))}},be=function(e){void 0===e&&(e=!0),e&&0===ce.state&&le({type:N.aO.setHandleSyncAd,payload:{state:1,type:!1}}),pe.state!==N.PO.LINEARADMODE.NOTSET&&le({type:N.aO.setLinearAdMode,payload:{state:N.PO.LINEARADMODE.NOTSET}})},Se=function(e,t,r,o){var n={vastXML:e,adTagUrl:t,timeOffset:r,isLinear:o,visited:!1};H((function(e){var t;return ve()(t=[]).call(t,e,[n])}))},we=function(){var e=(0,V.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=Z().get("sabaAuth"),o=null,window.Dox&&"function"==typeof window.Dox.initializeIframe&&(window.Dox.initializeIframe(),o=Z().get("_sabavision__sid")),o&&v&&(r=o),n={"X-Screen-Width":P().window.screen.width||P().window.outerWidth||0,"X-Screen-Height":P().window.screen.height||P().window.outerHeight||0},r&&(n.Authorization=r),ge().interceptors.response.use((function(e){return e}),(function(e){var t,r=e.config;return r&&r.retry?503===(null==e||null==(t=e.response)?void 0:t.status)?null:e&&e.response&&e.response.status&&e.response.status>=400&&e.response.status<500?(i.emit("adError",e.message,"",M.current),null):(i.emit("adError",e.message,"",M.current,r.retry),r.retry-=1,0===r.retry?null:new(te())((function(e){var t=s.ad.xhrRetry-r.retry;setTimeout((function(){e(),r.timeout=s.ad.xhrRetryDelay[t]}),s.ad.xhrRetryDelay[t]||1e3)})).then((function(){return ge()(r)}))):null})),e.abrupt("return",ge()({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)}}(),ke=function(){var e=(0,V.Z)(regeneratorRuntime.mark((function e(){var t,r,o,l,c,u,m,d,f,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return S()(n).call(n,"plus.sabavision.com")&&(l=null==(r=n.match(/\/(\w+-\w+)\?/))?void 0:r[1],S()(o=s.validZoneIds).call(o,l)||i.emit("adError","wrong-zone: "+l)),fe(),e.next=4,we(n);case 4:if((c=e.sent)&&c.data){e.next=8;break}return be(),e.abrupt("return");case 8:if(u=c.data,M.current=u,!(a()(t=c.headers["content-type"]).call(t,"application/json")>-1)){e.next=14;break}return i.emit("adError","content-type application/json","",u),be(),e.abrupt("return");case 14:if(D({getVmap:Date.now()-p}),m=(new(P().DOMParser)).parseFromString(u,"text/xml"),d=!1,"VAST"!==m.documentElement.tagName){e.next=25;break}return Se(m,null,0,!0),e.next=21,Pe(m);case 21:e.sent&&(d=!0),e.next=29;break;case 25:return h=new ye.Z(m),e.next=28,te().all(U()(f=h.adBreaks).call(f,function(){var e=(0,V.Z)(regeneratorRuntime.mark((function e(t){var r,o,n,a,i,s,l,c,u,m,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=null,c=null,null!=(r=t.adSource)&&r.vastAdData?l=(new(P().DOMParser)).parseFromString(t.adSource.vastAdData.outerHTML,"text/xml"):null!=(o=t.adSource)&&null!=(n=o.adTagURI)&&n.uri&&(c=t.adSource.adTagURI.uri),u=Ae(t.timeOffset,y),m="linear"===t.breakType,Se(l,c,u,m),!m||0!==u||!l){e.next=11;break}return e.next=9,Pe(l);case 9:e.sent&&(d=!0);case 11:return null!=(a=t.adSource)&&null!=(i=a.vastAdData)&&null!=(s=i.firstElementChild)&&s.id&&(p=t.breakType+"-"+t.adSource.vastAdData.firstElementChild.id,$((function(e){return e+" "+p}))),e.abrupt("return",null);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 28:h.adBreaks.length||i.emit("adError","emptyVmap");case 29:D({findAd:Date.now()-p}),d?he():be();case 31:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Re=function(){var e=(0,V.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 fe(!1),e.next=3,we(t);case 3:if(o=e.sent){e.next=7;break}return be(),e.abrupt("return",null);case 7:if(n=o.data,M.current=n,!(a()(r=o.headers["content-type"]).call(r,"application/json")>-1)){e.next=13;break}return i.emit("adError","content-type application/json","",n),be(),e.abrupt("return",null);case 13:if(D({getVast:Date.now()-p}),"VAST"!==(s=(new(P().DOMParser)).parseFromString(n,"text/xml")).documentElement.tagName){e.next=21;break}return e.next=18,Pe(s);case 18:return e.sent&&he(!1),e.abrupt("return",s);case 21:return be(),e.abrupt("return",null);case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Le=function(e){if(e.timeOffset>0&&(F.en[0]===F.cd||F.en[0]===F.Vp))for(var t=e.parsedVastXML.ads[0].creatives[0].mediaFiles,r=!1,o=0;o=Y&&e.timeOffset-10e.timeOffset||e.timeOffset>=r+ae.current);return o?(ee.current[t]=!0,Ne(t)):(n||a)&&(ee.current[t]=!0,Ie(t),ae.current=60),a&&(X(null),le({type:N.aO.setSlideAd,payload:N.PO.SLIDEADSTATE.NOTSET})),null}))}),[C,Y]),(0,O.useEffect)((function(){ue&&z&&(i.emit("adError","detect"),be())}),[ue,z]),(0,O.useEffect)((function(){ie.current=pe.state,pe.state===N.PO.LINEARADMODE.NOTSET&&oe.current&&(oe.current=null,clearTimeout(oe.current))}),[pe.state]),(0,O.useEffect)((function(){ne.current=E}),[E]),O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},z&&z.timeOffset>0&&O.createElement(Oe,{counter:Math.floor(z.timeOffset-Y),tech:m,changeCurrentLevel:R,env:s}),z&&z.timeOffset<=Y&&O.createElement(xe,{vastAd:z.parsedVastXML,timeOffset:z.timeOffset,appEmitter:i,onFinished:function(){z.timeOffset>0&&o(z.timeOffset),0===z.timeOffset&&s.supportPerformance&&(performance.clearMarks("romeo-start-time"),performance.mark("romeo-start-time",{startTime:performance.now()})),B(null)},env:s,playerRef:l,adCurrentIndex:c,setAdCurrentIndex:d,videoRef:u,playerLoadedAt:p,changeVmapProfile:D,mobileStyle:b,playerTechRef:g,adsIdRef:K,isEmbed:w}),W&&me&&!de&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Te,{slideAd:W,appEmitter:i,isUserActive:f,videoRef:u})))},Le=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(1734).then(r.bind(r,41366))}),"RomeoStatsManager")})),De=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(2641).then(r.bind(r,13163))}),"RomeoAiStatsManager")})),Me=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(1200).then(r.bind(r,14118))}),"WatermarkAd")})),Ie=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(9262).then(r.bind(r,31628))}),"IspMessage")})),Ne=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(378).then(r.bind(r,56901))}),"AgeLimit")})),Fe=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(2041).then(r.bind(r,74911))}),"Subscription")})),Ce=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(6110).then(r.bind(r,87017))}),"SkipIntro")})),Ve=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(1116).then(r.bind(r,56741))}),"SkipCast")})),He=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(7035).then(r.bind(r,94754))}),"BackButton")})),qe=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(5159).then(r.bind(r,61046))}),"BigMuteBtn")})),ze=(0,O.lazy)((function(){return(0,F.XD)((function(){return Promise.all([r.e(2212),r.e(5912)]).then(r.bind(r,74679))}),"VR360Renderer")})),Be=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(9054).then(r.bind(r,61958))}),"CustomSubtitles")})),je=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(3781).then(r.bind(r,72598))}),"Logo")})),Ue=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(6653).then(r.bind(r,97109))}),"ShortKey")})),We=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(7940).then(r.bind(r,69374))}),"TvChannels")})),Xe=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(2075).then(r.bind(r,7780))}),"BoxEnd")})),_e=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(9538).then(r.bind(r,78558))}),"FreeSansTimer")})),Ge=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(9186).then(r.bind(r,12241))}),"Recom")})),Ze=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(5621).then(r.bind(r,64451))}),"LikeDislike")})),Ye=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(1924).then(r.bind(r,44406))}),"RightClick")})),Je=(0,O.lazy)((function(){return(0,F.XD)((function(){return Promise.all([r.e(1613),r.e(8767)]).then(r.bind(r,55307))}),"Details")})),Qe=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(8994).then(r.bind(r,59585))}),"ViewerCount")})),Ke=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(7073).then(r.bind(r,98128))}),"Share")})),$e=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(3245).then(r.bind(r,46913))}),"ExitMiniPlayer")})),et=(0,O.lazy)((function(){return(0,F.XD)((function(){return Promise.all([r.e(8991),r.e(4969)]).then(r.bind(r,28868))}),"WSTeleParty")})),tt=(0,O.lazy)((function(){return(0,F.XD)((function(){return Promise.all([r.e(4060),r.e(5172)]).then(r.bind(r,98695))}),"Reaction")})),rt=(0,O.lazy)((function(){return(0,F.XD)((function(){return Promise.all([r.e(1120),r.e(219)]).then(r.bind(r,78647))}),"SocialTourModal")})),ot=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(5378).then(r.bind(r,3166))}),"QuestionModal")})),nt=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(578).then(r.bind(r,54157))}),"Toast")})),at=N.PO.VIDEOSTATE,it=N.PO.RELOADSTATUS,st="LOADING",lt="BIG_BUTTON",ct="PLAY",ut=function(e){var t,n,i,l,c=e.sources,u=e.poster,m=e.env,d=e.envIcons,p=e.appEmitter,f=e.resumeUID,v=e.tracks,b=e.thumbs,g=e.stats,E=e.startTime,w=e.watermarkAd,x=e.isp,T=e.intro,A=e.cast,P=e.back,R=e.info,L=e.multiAudio,D=e.mainAudioLanguage,M=e.previewMode,H=e.initVolume,q=void 0===H?1:H,z=e.is360,j=void 0!==z&&z,W=e.isUserActive,X=e.downloadSrc,G=e.aparatLink,Y=e.audioLangs,J=e.setAudioLangs,Q=e.title,K=e.vmap,ee=e.adTag,ne=e.isAbroad,ae=e.setStartTime,ie=e.logo,se=e.lang,le=e.rootEl,ce=e.autoPlay,ue=e.playerRef,me=e.adCurrentIndex,he=e.setAdCurrentIndex,ve=e.liveTvList,be=e.setMultiSources,ge=e.setUserActive,ye=e.boxEnd,Ee=e.showBoxEnd,Se=e.toggleShowBoxEnd,we=e.freeSansTimer,ke=e.seriesData,xe=e.playerTechRef,Te=e.recom,Ae=e.rate,Pe=e.aparatLinkDisable,Oe=e.aparatSportLink,ut=e.haveVideoBuffer,mt=e.chapterlist,dt=e.currectBufferLength,pt=e.cacheHlsObject,ft=e.firstloadStat,ht=e.defaultResumeAt,vt=e.audioTracks,bt=e.useHlsJS,gt=(e.havePreRolBuffer,e.cacheDashObject),yt=e.color,Et=e.expireLiveSource,St=e.videoWaiting,wt=e.setVideoWaiting,kt=e.videoFPS,xt=e.bufferStalledCount,Tt=e.HlsChunkDuration,At=e.mobileStyle,Pt=e.squadStream,Ot=e.haveHlsSource,Rt=e.havePseudoSource,Lt=e.haveCastHistory,Dt=e.forceMidRoll,Mt=e.mainVideoError,It=e.vmapProfile,Nt=e.playerLoadedAt,Ft=e.isBlobSrc,Ct=e.canPlayAdRef,Vt=e.visitPostData,Ht=e.ageLimit,qt=e.subscription,zt=e.endElementTime,Bt=e.clip,jt=e.uid,Ut=e.getSabaSID,Wt=e.isTabActive,Xt=e.autoPlayPolicyCheck,_t=e.controlbarScroll,Gt=e.isEmbed,Zt=e.teleParty,Yt=e.videoSmallSize,Jt=e.setTelepartyUsers,Qt=e.survey,Kt=e.duration,$t=e.pseudoIsEdge,er=e.preRollDuration,tr=e.setCanPlayAd,rr=void 0===tr?function(){}:tr,or=e.goTheater,nr=void 0===or?function(){}:or,ar=e.onError,ir=void 0===ar?function(){}:ar,sr=e.onTimeUpdate,lr=void 0===sr?function(){}:sr,cr=e.onCanPlayThrough,ur=void 0===cr?function(){}:cr,mr=e.onPlay,dr=void 0===mr?function(){}:mr,pr=e.onPause,fr=void 0===pr?function(){}:pr,hr=e.onEnded,vr=void 0===hr?function(){}:hr,br=e.onSeeking,gr=void 0===br?function(){}:br,yr=e.onSeeked,Er=void 0===yr?function(){}:yr,Sr=e.setCast,wr=void 0===Sr?function(){}:Sr,kr=e.setPlayerFocus,xr=void 0===kr?function(){}:kr,Tr=e.getEpisode,Ar=void 0===Tr?function(){}:Tr,Pr=e.changePlayerTech,Or=void 0===Pr?function(){}:Pr,Rr=e.changeHvaeBuffer,Lr=void 0===Rr?function(){}:Rr,Dr=e.changeCurrentLevel,Mr=void 0===Dr?function(){}:Dr,Ir=e.sourceNotSupported,Nr=void 0===Ir?function(){}:Ir,Fr=e.changeCurrectBufferLength,Cr=void 0===Fr?function(){}:Fr,Vr=e.changeCacheHlsObject,Hr=void 0===Vr?function(){}:Vr,qr=e.sendFirstloadStat,zr=void 0===qr?function(){}:qr,Br=e.hlsInstance,jr=void 0===Br?function(){}:Br,Ur=e.changeUseHlsJS,Wr=void 0===Ur?function(){}:Ur,Xr=e.changeUseDashJS,_r=void 0===Xr?function(){}:Xr,Gr=e.handleError,Zr=void 0===Gr?function(){}:Gr,Yr=e.adOnError,Jr=void 0===Yr?function(){}:Yr,Qr=(e.changeHavePreRolBuffer,e.dashInstance),Kr=void 0===Qr?function(){}:Qr,$r=e.changeCacheDashObject,eo=void 0===$r?function(){}:$r,to=e.changeMainVideoError,ro=void 0===to?function(){}:to,oo=e.changeVmapProfile,no=void 0===oo?function(){}:oo,ao=e.onPlaying,io=void 0===ao?function(){}:ao,so=e.setVideoClicked,lo=void 0===so?function(){}:so;0===c.length&&c.push({});var co=(0,O.useRef)(!1),uo=(0,O.useRef)(),mo=(0,O.useRef)(!1),po=(0,O.useRef)(),fo=(0,O.useRef)(0),ho=(0,O.useRef)(0),vo=(0,O.useRef)(!1),bo=(0,O.useRef)(!1),go=(0,O.useRef)(null),yo=(0,O.useRef)(""),Eo=(0,O.useRef)({}),So=(0,O.useRef)(0),wo=(0,O.useRef)(st),ko=(0,O.useRef)(0),xo=(0,O.useRef)(0),To=(0,O.useRef)([]),Ao=(0,O.useRef)([]),Po=(0,O.useRef)(0),Oo=(0,O.useRef)(!1),Ro=(0,O.useRef)(!0),Lo=(0,O.useRef)(null),Do=(0,O.useState)({status:at.INIT,canPlayThrough:!1,firstPlay:!1}),Mo=Do[0],Io=Do[1],No=(0,O.useState)(er&&"number"==typeof er&&(!E||er>E)),Fo=No[0],Co=No[1],Vo=(0,O.useState)(q),Ho=Vo[0],qo=Vo[1],zo=(0,O.useState)(!0),Bo=zo[0],jo=zo[1],Uo=(0,O.useState)(((t={type:F.Oq.HTML5})[F.Oq.HLS]=null,t[F.Oq.DASH]=null,t)),Wo=Uo[0],Xo=Uo[1],_o=(0,O.useState)(0),Go=_o[0],Zo=_o[1],Yo=(0,O.useState)(0),Jo=Yo[0],Qo=Yo[1],Ko=(0,O.useState)(0),$o=Ko[0],en=Ko[1],tn=(0,O.useState)(0),rn=tn[0],on=tn[1],nn=(0,O.useState)(!1),an=nn[0],sn=nn[1],ln=(0,O.useState)(E),cn=ln[0],un=ln[1],mn=(0,O.useState)(!1),dn=(mn[0],mn[1]),pn=(0,O.useState)([]),fn=pn[0],hn=pn[1],vn=(0,O.useState)([]),bn=vn[0],gn=vn[1],yn=(0,O.useState)({}),En=yn[0],Sn=yn[1],wn=(0,O.useState)(0),kn=wn[0],xn=wn[1],Tn=(0,O.useState)(it.NOTHING),An=Tn[0],Pn=Tn[1],On=(0,O.useState)(!1),Rn=On[0],Ln=On[1],Dn=(0,O.useState)([]),Mn=Dn[0],In=Dn[1],Nn=(0,O.useState)(""),Fn=Nn[0],Cn=Nn[1],Vn=(0,O.useState)(!1),Hn=Vn[0],qn=Vn[1],zn=(0,O.useState)(!1),Bn=zn[0],jn=zn[1],Un=(0,O.useState)(!1),Wn=Un[0],Xn=Un[1],_n=(0,O.useState)(!1),Gn=_n[0],Zn=_n[1],Yn=(0,O.useState)(!1),Jn=Yn[0],Qn=Yn[1],Kn=(0,O.useState)(null),$n=Kn[0],ea=Kn[1],ta=(0,O.useState)(!0),ra=ta[0],oa=ta[1],na=(0,O.useState)({}),aa=na[0],ia=na[1],sa=(0,O.useState)(!1),la=sa[0],ca=sa[1],ua=(0,O.useState)(!1),ma=ua[0],da=ua[1],pa=(0,_.v9)((function(e){return e.player})),fa=(0,_.I0)(),ha=pa.linearAdMode,va=pa.skipCounter,ba=pa.captionAvailable,ga=pa.radioMode,ya=pa.pauseAdBanner,Ea=pa.pauseAdState,Sa=pa.endHtml,wa=pa.firstLoad,ka=pa.adFirstLoad,xa=pa.contentFirstLoad,Ta=pa.playbackRate,Aa=pa.messages,Pa=pa.autoplaySupported,Oa=pa.miniPlayer,Ra=pa.isAdminTeleParty,La=pa.socialTour,Da=function e(t){I()(t,(function(r,n){if(200!==n.statusCode||r)if(m.backOffPolicy.length-1>So.current){var a=So.current+1;So.current=a;var i=m.playXhrChunkLength+m.backOffPolicy[a];m.isTV||(o=setTimeout((function(){e(t)}),1e3*i))}else So.current=0;else clearTimeout(o),0!==So.current&&(So.current=0)}))},Ma=function(){var e=Eo.current,t=e.userId,r=e.movieId;return t&&r?Da({url:"/external/visitpost/startwatching/"+t+"/"+r,method:"POST",headers:{"content-type":"application/x-www-form-urlencoded; charset=UTF-8"}}):null},Ia=function(){wo.current!==ct&&(wo.current=ct),Mo.firstPlay&&!Bn&&go.current&&(!E&&go.current.currentTime>1||E&&go.current.currentTime>E+1)&&jn(!0)},Na=function(e){var t=go.current;if(t){var r=t.play();r&&"function"==typeof r.then&&("seek"!==e&&Ia(),r.then(null,(function(e){var r;m.statOnPlay&&!Mo.firstPlay&&Ma(),Zt&&Ra&&(p.emit("sendTelepartyMessage",{type:"play-video",current_time:go.current.currentTime}),p.emit("sendTelepartyMessage",{type:"chat-message",content:Zt.name+", play the video"})),a()(r=e.toString()).call(r,"NotAllowedError")>-1?(t.muted=!0,t.play().then(null,(function(){t.muted=!1,dn(!0)}))):console.log(e)})))}},Fa=function(e,t){go.current&&(Mo.status===at.LOADEDMETADATA&&m.supportPerformance&&(performance.getEntriesByName("romeo-play-start-time","mark")[0]||performance.mark("romeo-play-start-time")),xr(),Gn&&Zn(!1),m.statOnPlay&&!Mo.firstPlay&&Ma(),m.startMuted&&t?go.current.play().catch((function(e){var t;m.isIOS&&m.isSafari||3===Xt||!S()(t=e.toString()).call(t,"NotAllowedError")||(go.current.muted=!0,(0,F.TH)(go.current.play()))})):(0,F.TH)(go.current.play()),"seek"!==e&&Ia(),Zt&&Ra&&(p.emit("sendTelepartyMessage",{type:"play-video",current_time:go.current.currentTime}),p.emit("sendTelepartyMessage",{type:"chat-message",content:Zt.name+", play the video"})))},Ca=function(){Ia()},Va=function(){xr(),go.current&&!go.current.paused&&(go.current.pause(),Xn(!0))},Ha=function(){if(xr(),go.current&&!go.current.paused){if(!W&&m.isMobile&&m.customControls)return void ge(!0);go.current.pause()}Xn(!0),Zt&&Ra&&(p.emit("sendTelepartyMessage",{type:"pause-video",current_time:go.current.currentTime}),p.emit("sendTelepartyMessage",{type:"chat-message",content:Zt.name+", pause the video"}))},qa=function(){go.current.paused?p.emit("doPlay"):p.emit("doPause")},za=function(e){xr(),e==e&&go.current&&ha.state===N.PO.LINEARADMODE.NOTSET&&(e>go.current.currentTime&&e===go.current.currentTime+m.jumpSec?Cn("forward"):eM.previewDuration?(go.current.currentTime===M.previewDuration?go.current.currentTime=M.previewDuration-1e-6:go.current.currentTime=M.previewDuration,vr(),Ha()):go.current.currentTime=e,M&&eaa.time-7?da(!0):ma&&da(!1))},Ba=function(e,t){xr();var r=Math.min(1,Math.max(0,e));t&&qn(!0),qo(r),go.current&&(go.current.volume=r,Z().set("romeo-vol",r))},ja=function(e,t){xr(),jo(e),m.muted||Z().set("romeo-muted",e),t&&qn(!0),go.current&&(go.current.muted=e)},Ua="";!function(){if(go.current)for(var e=0;e0)return S()(e).call(e,"?")?e+"&md="+o:e+"?md="+o}return e};(0,O.useEffect)((function(){Gt&&ha.state===N.PO.LINEARADMODE.NOTSET&&new($())(window.location.search).has("videoloop")&&(go.current.loop=!0),m.isTV&&ha.state===N.PO.LINEARADMODE.NOTSET&&A&&A.start&&E&&E+180>A.start&&(Ro.current=!1),Mt&&(Zr(Mt.e,Mt.fire),ro(!1)),wo.current=st,m.statOnPlay&&function(){if(g&&g.statUrl)for(var e=g.statUrl.split("/"),t=0;t VideoPlayer Loaded at:",(0,F.Xn)(!0)),v&&m.isGameConsole&&function(){for(var e=function(e){v[e].default&&(v[e]?(0,pe.Y)(v[e].src).then((function(t){In(t.rows),fa({type:N.aO.setActiveTrackIndex,payload:e}),fa({type:N.aO.setCaptionAvailable,payload:!0})})).catch((function(){fa({type:N.aO.setActiveTrackIndex,payload:null}),fa({type:N.aO.setCaptionAvailable,payload:!1})})):(fa({type:N.aO.setActiveTrackIndex,payload:null}),fa({type:N.aO.setCaptionAvailable,payload:!1})))},t=0;t VideoPlayer ShouldUse HLS Loaded at:",(0,F.Xn)(!0)),new(te())((function(e){return m.useLightHls?e(r.e(988).then(r.t.bind(r,39182,23))):e(r.e(4817).then(r.bind(r,93041)))})).then(function(){var r=(0,V.Z)(regeneratorRuntime.mark((function r(o){var n,a,i,s,l,u;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((n=o.default).isSupported()||ha.state!==N.PO.LINEARADMODE.NOTSET||Nr(),m.debug&&console.log("==> VideoPlayer Import HLS Loaded at:",(0,F.Xn)(!0)),!t){r.next=5;break}return r.abrupt("return");case 5:if(a=null,!pt||ha.state!==N.PO.LINEARADMODE.NOTSET||ve){r.next=12;break}a=pt,(i={type:F.Oq.HLS})[F.Oq.HLS]=a,Xo(e=i),r.next=20;break;case 12:return u=c[0].src,m.appendDiffTimeToManifest&&!c[0].isAdVideo&&null!=(s=u)&&S()(s).call(s,"tot")&&(u=Za(u)),r.next=16,jr(n,go.current,h()({},c[0],{src:u}),!1,!!c[0].isAdVideo);case 16:a=r.sent,(l={type:F.Oq.HLS})[F.Oq.HLS]=a,Xo(e=l),gn([]);case 20:a.attachMedia(go.current),a.on(n.Events.MANIFEST_LOADED,_a(!!c[0].isAdVideo)),a.on(n.Events.FRAG_LOADED,Ga),m.debug&&console.log("==> VideoPlayer Hls LoadSource and AttachMedia Loaded at:",(0,F.Xn)(!0));case 24:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}());else if((0,F.xZ)(F.Oq.DASH,c,m,go.current)&&!Mt)p.emit("startStreaming",{tech:"dash",isAd:!!c[0].isAdVideo}),Wr(!1),_r(!0),Wa(F.Oq.DASH),"function"!=typeof window.MediaSource&&ha.state===N.PO.LINEARADMODE.NOTSET&&Nr(),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(7097),r.e(8839),r.e(1651)]).then(r.bind(r,7189)).then((function(r){var o;if(!t){ha.state===N.PO.LINEARADMODE.NOTSET||"preRoll"!==ha.break||gt||Kr(r,go.current,c[0],!0);var n=null;(n=gt&&ha.state===N.PO.LINEARADMODE.NOTSET&&!ve?gt:Kr(r,go.current,c[0])).attachView(go.current),n.setAutoPlay(!0),n.setMute(!1),n.on("playbackPlaying",Ca),(o={type:F.Oq.DASH})[F.Oq.DASH]=n,Xo(e=o),gn([])}}));else{p.emit("startStreaming",{tech:"native",isAd:!!c[0].isAdVideo}),Wr(!1),_r(!1),c&&c[0]&&c[0].src&&Wa(F.Oq.HTML5);var o,n=c[0];if(!B()(c).call(c,(function(e){return e.label&&"auto"===e.label.toLowerCase()}))&&c.length>1){for(o=0;o0){for(var Ja=!1,Qa=-1,Ka=-1,$a=0;$a-1?go.current.textTracks[Qa].mode="showing":Ka>-1&&(go.current.textTracks[Ka].mode="showing")),on(2)}switch(Mo.status){case at.PLAYING:ha.state===N.PO.LINEARADMODE.DISPLAY&&go.current.pause(),Mo.firstPlay||(Io(h()({},Mo,{firstPlay:!0})),p.emit("videoReady",go.current)),0===rn&&m.isIOS&&!Ya&&fn&&on(1),Mo.canPlayThrough||Io(h()({},Mo,{canPlayThrough:!0})),Rn&&!an&&go.current.readyState>3&&(sn(!0),cn&&(go.current.currentTime=cn));break;case at.PAUSE:ha&&ha.tryPlayVideo&&(Na(),fa({type:N.aO.setLinearAdMode,payload:{state:N.PO.LINEARADMODE.NOTSET,tryPlayVideo:!1}}))}var ti={backgroundImage:"url("+u+")",pointerEvents:"none"},ri="";ha.state!==N.PO.LINEARADMODE.NOTSET&&(ri="romeo-linearMode"),m.customControls&&W&&(ri+=" user-active"),go.current&&go.current.paused&&(ri+=" paused"),m.customControls&&(ri+=" romeo-player-custom-control");var oi={};m.isIOS&&!L&&(oi.playsInline=!0,oi["webkit-playsinline"]=!0);var ni=function(){if(m.sendStatXhr){var e=0;ko.current&&(e=Date.now()-ko.current),e>6e3?Z().set("romeo-slow-throttle",!0):Z().set("romeo-slow-throttle",!1),xo.current=e/1e3;var t=c[0].src.replace("http://","").replace("https://","").split(/[/?#]/)[0],r=go.current&&Math.floor(go.current.duration)||0,o="";Ya&&(o=ha.break&&""!==ha.break?ha.break:"preRoll");var n="";!Ya&&ft.length>0&&(n=ft[ft.length-1].ad);var a,i="";if(K&&(i+="vmap"),ee&&(""!==i&&(i+=", "),i+="adTag"),m.supportPerformance){var s=performance.getEntriesByName("romeo-start-time","mark")[0];s&&(a=Math.floor(performance.now()-s.startTime))}var l={time:e,domain:t,type:c[0].type,ad:o,playedAfter:n,duration:r,haveHls:Ot,havePseudo:Rt,adDetail:i,isBlobSrc:Ft,tabActive:Wt,autoPlay:Xt,tech:xe||"",isIR:m.isIR,isEmbed:!!Gt,timeToInit:a,manifestLoadTimeToInit:fo.current||void 0,firstFragLoadTimeToInit:ho.current||void 0,edge:$t},u={url:"/external/romeo/prom/firstLoad",body:k()(l),method:"POST",headers:{"content-type":"application/json"}};I()(u,(function(){}))}};!wa&&go.current&&(!E&&go.current.currentTime>0||E&&go.current.currentTime>E)&&(fa({type:N.aO.setFirstLoad,payload:!0}),p.emit("firstLoad",{adMode:Ya}),ni());var ai=function(){!m.customControls||Zt&&!Ra||(!Pt||Ya?go.current.paused?(Fa(),lo()):Ha():window.top.location.href=Pt)};!St&&Et&&go.current&&go.current.paused&&wt(!0),!m.isTV||Aa.state===N.PO.MESSAGES.NOTSHOW||ra||!navigator.onLine&&Mo.status!==at.PLAYING||(oa(!0),fa({type:N.aO.setMessages,payload:{state:N.PO.MESSAGES.NOTSHOW,msg:""}}),Na());var ii={};m.color&&(ii.color=m.color);var si=Z().get("subtitle-classes")?Z().get("subtitle-classes"):"";m.isIOS&&go.current&&go.current.webkitDisplayingFullscreen&&(si+=" ios-fullscreen");if(go.current&&go.current.buffered&&go.current.buffered.end){var li=go.current.buffered.length-1;li>-1&&Cr(go.current.buffered.end(li))}(0,O.useEffect)((function(){uo.current&&(clearInterval(uo.current),uo.current=void 0),co.current||(uo.current=setInterval((function(){if(go.current&&go.current.buffered&&go.current.buffered.end){var e=go.current.buffered.length-1;if(e>-1){var t=go.current.buffered.end(e);(t>10||t===go.current.duration||!Ya&&t>5||Ya&&(Wo.type===F.Oq.HLS&&t>6||Wo.type!==F.Oq.HLS&&t>=4)||Ya&&va&&t===go.current.duration)&&t-go.current.currentTime>3&&(p.emit("romeoReady"),co.current=!0,clearInterval(uo.current),uo.current=void 0)}}}),500))}),[Ya,va]),(0,O.useEffect)((function(){po.current&&(clearInterval(po.current),po.current=void 0),!mo.current&&Ya&&"preRoll"===ha.break&&!m.isLive&&m.cacheMainVideo&&(po.current=setInterval((function(){if(go.current&&!mo.current&&go.current.buffered&&go.current.buffered.end){var e=go.current.buffered.length-1;if(e>-1){var t=go.current.buffered.end(e);(t-go.current.currentTime>=10||go.current.duration-t<1)&&(mo.current=!0,m.useLightHls?r.e(988).then(r.t.bind(r,39182,23)).then(function(){var e=(0,V.Z)(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.default,e.next=3,jr(r,go.current,null,!0,!1);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()):r.e(4817).then(r.bind(r,93041)).then(function(){var e=(0,V.Z)(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.default,e.next=3,jr(r,go.current,null,!0,!1);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),clearInterval(po.current),po.current=void 0)}}}),500))}),[Ya,ha.break,m.isLive,m.cacheMainVideo]),dt&&go.current&&dt-go.current.currentTime>10&&!ut?Lr(!0):dt&&go.current&&dt-go.current.currentTime<=10&&ut&&Lr(!1);var ci=function(){Qn(!1),ea(null),To.current=[],Ao.current=[]};if("stat"===Jn&&go.current&&(xo.current>0&&(!$n||$n.FirstLoad!==xo.current+"(s)")&&ea(h()({},$n,{FirstLoad:xo.current+"(s)"})),Wo.type===F.Oq.HLS)){var ui=go.current.getVideoPlaybackQuality(),mi=ui?ui.droppedVideoFrames:0;mi&&Po.current!==mi&&(Po.current=mi);var di=Wo.HLS.currentLevel;if(di>-1){var pi,fi,hi,vi=Wo.HLS.levels[di],bi={Resolution:vi.attrs?vi.attrs.RESOLUTION:"",CurrentBitrate:(0,F.nh)(Math.floor(vi.bitrate/1e3))+"(kbit/s)",DropFrame:Po.current};Ao.current.length>=20&&y()(fi=Ao.current).call(fi,0,1),Ao.current.push(vi.bitrate),To.current.length>=20&&y()(hi=To.current).call(hi,0,1),Wo.HLS.abrController&&null!=(pi=Wo.HLS)&&pi.abrController.bwEstimator&&(To.current.push(Wo.HLS.abrController.bwEstimator.getEstimate()),bi.Bandwidth=(0,F.nh)(Math.floor(Wo.HLS.abrController.bwEstimator.getEstimate()/1e3))+"(kbit/s)");var gi=dt-go.current.currentTime;bi.BufferLength=gi>0?s()(gi).toFixed(3):0,!$n||$n.Bandwidth===bi.Bandwidth&&$n.Resolution===bi.Resolution&&$n.BufferLength===bi.BufferLength&&$n.CurrentBitrate===bi.CurrentBitrate||ea(h()({},$n,{Resolution:bi.Resolution,PlayerSize:go.current?go.current.clientWidth+"x"+go.current.clientHeight:"-",Bandwidth:bi.Bandwidth,no_name_1:To.current,FPS:kt,DropFrame:bi.DropFrame,CurrentBitrate:bi.CurrentBitrate,no_name_2:Ao.current,BufferLength:bi.BufferLength,BufferStalled:xt}))}}return go.current&&(!E&&go.current.currentTime>1||E&&go.current.currentTime>E+1||dt>5)&&p.emit("startPlaying"),!Ct&&Ya&&go.current&&0!==go.current.currentTime&&rr(!0),!(go.current&&aa.uri&&aa.time-10aa.time||la||ma||ca(!0),(0,O.useEffect)((function(){Fo&&Jo>=er&&Co(!1)}),[Jo]),O.createElement("div",{className:si+" "+Ua+" "+(yt?"romeo-option-color":"")+" "+(wa?"":"romeo-not-first-load")+" "+yo.current+" "+(Pt&&!Ya?"romeo-squad-stream":"")+" "+(Yt&&!At?"romeo-video-small-size":"")+" "+(At?"romeo-video-player-mobile-style":""),"aria-label":"romeo-player"},O.createElement("video",(0,C.Z)({crossOrigin:"anonymous",controls:!m.customControls||void 0},En,{className:ri},oi,{autoPlay:m.startMuted&&m.isIOS&&m.isSafari&&!(!1===ce||Zt),muted:!!m.muted||m.startMuted&&m.isIOS&&m.isSafari&&1!==Xt&&!(!1===ce||Zt),preload:"meta",onPlaying:function(){Wo.type===F.Oq.HLS&&m.isLive&&Wo.HLS.startLoad(),m.debug&&console.log("==> VideoPlayer onVideoPlaying Loaded at:",(0,F.Xn)(!0)),go.current&&go.current.error?ir(go.current.error):(Io(h()({},Mo,{status:at.PLAYING})),fa({type:N.aO.setVideoState,payload:{state:N.PO.VIDEOSTATE.PLAYING}}),p.emit("playing"),0===Go?go.current.muted?Zo(1):(Zo(2),jo(!1)):go.current.muted&&(Zo(1),jo(!0))),io()},onPlay:function(){Wo.type===F.Oq.HLS&&m.isLive&&Wo.HLS.startLoad(),dr()},onPause:function(){Wo.type===F.Oq.HLS&&m.isLive&&Wo.HLS.stopLoad(),go.current.ended||(Io(h()({},Mo,{status:at.PAUSE})),fa({type:N.aO.setVideoState,payload:{state:N.PO.VIDEOSTATE.PAUSE}}),fr())},onEnded:function(){ha.state===N.PO.LINEARADMODE.NOTSET&&Zn(!0),fa({type:N.aO.setVideoState,payload:{state:N.PO.VIDEOSTATE.ENDED}}),f&&Z().get(f)&&Z().remove(f),vr()},onLoadedMetadata:function(){Ya&&(rr(!0),no({loadMetaDataAt:Date.now()-Nt})),ee&&E&&ha.state===N.PO.LINEARADMODE.NOTSET&&go.current&&!m.isTV&&(go.current.currentTime=E),wo.current=lt,ni(),Ya&&!ka?fa({type:N.aO.setAdFirstLoad,payload:!0}):Ya||xa||fa({type:N.aO.setContentFirstLoad,payload:!0}),m.debug&&console.log("==> VideoPlayer MetaData Loaded at:",(0,F.Xn)(!0)),wa||(fa({type:N.aO.setFirstLoad,payload:!0}),p.emit("firstLoad",{adMode:Ya})),go&&go.current&&go.current.playbackRate&&Ta!==go.current.playbackRate&&!Ya&&(go.current.playbackRate=Ta),Pa.autoPlay&&go.current&&go.current.paused&&!Zt&&Fa(void 0,!0),Io(h()({},Mo,{status:at.LOADEDMETADATA})),fa({type:N.aO.setVideoState,payload:{state:N.PO.VIDEOSTATE.READY}}),1!==Go||go.current.muted||(Zo(2),jo(!1)),v&&hn(U()(v).call(v,(function(e){return O.createElement("track",{label:e.label,kind:e.kind,srcLang:e.srclang,src:e.src,default:e.default,key:e.src})}))),Ln(!0)},onCanPlayThrough:function(){m.debug&&console.log("==> VideoPlayer onVideoCanPlayThrough Loaded at:",(0,F.Xn)(!0)),Ya&&rr(!0),Io(h()({},Mo,{canPlayThrough:!0})),Mo.firstPlay&&!an&&Fa(void 0,!0),ur()},onTimeUpdate:function(){!bo.current&&(!Ya&&Math.abs(go.current.currentTime-E)>0||Ya&&go.current.currentTime>0)&&(bo.current=!0,function(){if(m.sendStatXhr){var e=0;ko.current&&(e=Date.now()-ko.current),e>6e3?Z().set("romeo-slow-throttle",!0):Z().set("romeo-slow-throttle",!1),xo.current=e/1e3;var t=c[0].src.replace("http://","").replace("https://","").split(/[/?#]/)[0],r=go.current&&Math.floor(go.current.duration)||0,o="";Ya&&(o=ha.break&&""!==ha.break?ha.break:"preRoll");var n="";!Ya&&ft.length>0&&(n=ft[ft.length-1].ad);var a,i,s="";if(K&&(s+="vmap"),ee&&(""!==s&&(s+=", "),s+="adTag"),m.supportPerformance){var l=performance.getEntriesByName("romeo-play-start-time","mark")[0],u=performance.getEntriesByName("romeo-start-time","mark")[0];l?i=Math.floor(performance.now()-l.startTime):u&&(a=Math.floor(performance.now()-u.startTime))}var d={time:e,domain:t,type:c[0].type,ad:o,playedAfter:n,duration:r,haveHls:Ot,havePseudo:Rt,adDetail:s,isBlobSrc:Ft,tabActive:Wt,autoPlay:Xt,tech:xe||"",isIR:m.isIR,isEmbed:!!Gt,timeToInit:a,timeToPlayAction:i,edge:$t},p={url:"/external/romeo/prom/firstPlay",body:k()(d),method:"POST",headers:{"content-type":"application/json"}};zr({ad:o}),I()(p,(function(){}))}}());var e=Math.floor(go.current.currentTime);if(!Ya&&Bt&&Bt.start&&Bt.end&&e>=Bt.end+1&&Ha(),Mo.status===at.WAITING&&e!==Jo&&Io(h()({},Mo,{status:at.PLAYING})),Qo(e),lr(e,go.current),f){var t=Math.floor(e/5);t!==$o&&(en(t),an&&function(e){var t=e.resumeUID,r=e.currentTime;r>e.duration-15?Z().remove(t):r>1&&Z().set(t,r)}({resumeUID:f,duration:go.current.duration,currentTime:5*t,env:m}))}},onVolumeChange:function(){!go.current.muted&&Go<2&&(Zo(2),jo(!1))},onError:bt?function(){}:function(e){Ya?Jr(e):Zr(go.current.error,F.Oq.HTML5)},onClick:ai,onSeeking:function(){gr()},onSeeked:function(){Er()},onEmptied:function(){m.debug&&console.log("==> VideoPlayer onEmptied Loaded at:",(0,F.Xn)(!0)),setTimeout((function(){go.current&&go.current.error&&ir(go.current.error)}),250)},onWaiting:function(){Et&&!St&&wt(!0),m.debug&&console.log("==> VideoPlayer onVideoCanPlayThrough Loaded at:",(0,F.Xn)(!0)),Io(h()({},Mo,{status:at.WAITING}))},onStalled:function(){!navigator.onLine&&m.isTV&&Aa.state===N.PO.MESSAGES.NOTSHOW&&ra&&(oa(!1),fa({type:N.aO.setMessages,payload:{state:N.PO.MESSAGES.SHOW,msg:m.messages.disconnected}}),Ha()),m.isLive&&Wo.type===F.Oq.HTML5&&p.emit("stalled",!0)},ref:go}),bn,!Ya&&!m.isGameConsole&&fn),Fo&&O.createElement("div",{className:"romeo-counter"},O.createElement("span",null,m.messages.videoWillPlayAfterAd+" ("+Math.floor(er-Jo)+")")),m.isGameConsole&&ba&&go.current&&xa&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Be,{videoRef:go.current,tracks:v,env:m,isUserActive:W,captions:Mn,setCaptions:In})),(-1===a()(n=[at.PLAY,at.PAUSE,at.PLAYING,at.LOADEDMETADATA]).call(n,Mo.status)||wo.current===st)&&m.customControls&&Aa.state===N.PO.MESSAGES.NOTSHOW&&O.createElement("div",{className:"romeo-loading-spinner"},O.createElement("svg",{viewBox:"25 25 50 50"},O.createElement("circle",{cx:"50",cy:"50",r:"20"}))),j&&go.current&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(ze,{videoRef:go.current,env:m})),m.customControls&&go.current&&-1===a()(i=[N.PO.LINEARADMODE.WAIT2START,N.PO.LINEARADMODE.DISPLAY]).call(i,ha.state)&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(fe.Z,{firstPlay:Mo.firstPlay,disableControls:Fo,env:m,envIcons:d,videoRef:go.current,sources:c,downloadSrc:X,currentSourceIndex:kn,setCurrentSourceIndex:function(e){xn(e);var t=c[e];m.isTV?An===it.NOTHING?Sn({src:t.src,type:t.type}):Pn(it.EMPTYSRC):(gn([O.createElement("source",{src:t.src,type:t.type,key:t.src})]),Pn(it.IMMEDIATE)),go.current&&(un(go.current.currentTime),Ha()),sn(!1),Ln(!1),Io(h()({},Mo,{canPlayThrough:!1}))},audioTracks:vt,tracks:v,thumbs:b,seekTo:za,volume:Ho,setVolume:Ba,muted:Bo,setMuted:ja,tech:Wo,isUserActive:W,previewMode:M,adMode:Ya,goTheater:nr,playVideo:function(e){lo(),Fa(e)},pauseVideo:Ha,title:Q,aparatLink:G,multiAudio:L,audioLangs:Y,setAudioLangs:J,is360:j,setCast:function(){for(var e=null,t=0;t0&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(_e,{freeSansTimer:we,env:m,isUserActive:W,isPaused:Mo.status===at.PAUSE,videoRef:go.current})))),T&&xa&&(!Zt||!!Zt&&Ra)&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Ce,{options:T,currentTime:Jo,seekTo:za,env:m})),A&&A.start&&A.nextPartUid&&A.start>0&&Ro.current&&go.current&&xa&&(!Zt||!!Zt&&Ra)&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Ve,{options:A,currentTime:Jo,env:m,videoRef:go.current,setPlayerFocus:xr,getEpisode:Ar})),O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Le,{options:g||{},env:m,currentTime:Jo,appEmitter:p,videoRef:go.current,tech:Wo.type,isAutoQuality:Vt.isAutoQuality,bufferStalledCount:xt,videoState:Mo})),O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(De,{videoRef:go.current,env:m,behavesUrl:null==g?void 0:g.behavesUrl,appEmitter:p,multiAudio:L,mainAudioLanguage:D}))),(Mo.canPlayThrough||Mo.status===at.LOADEDMETADATA)&&m.customControls&&wo.current!==st&&O.createElement("button",{type:"button",className:"romeo-overlay "+(go.current&&0===go.current.currentTime&&go.current.paused&&(!Mo.firstPlay||wo.current===lt)||("filimo-pause-ad"!==ya.type||Ea.state===N.PO.PAUSEADSTATE.NOTSET)&&(m.isMobile&&go.current&&(go.current.paused||W)||Oa&&go.current&&go.current.paused)&&Sa!==N.PO.ENDHTML.SHOW?"show-bigplay":"")+" "+(Mo.firstPlay&&wo.current!==lt?"":"first-play"),style:ii},go.current&&go.current.paused&&O.createElement(re.Z,null),go.current&&!go.current.paused&&O.createElement(oe.Z,null)),(P||R)&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(He,{isSeries:!(null==ke||!ke.length),back:P,info:R,isPaused:Mo.status===at.PAUSE,isUserActive:W})),qt&&(qt.text||qt.title)&&xa&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Fe,{playerRef:ue,isLive:m.isLive,subscription:qt,isPaused:Mo.status===at.PAUSE,isUserActive:W,haveInfo:P||R,mobileStyle:At})),O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(de,{isPaused:Mo.status===at.PAUSE,isSeeking:Fn,setSeeking:Cn,volume:Ho,muted:Bo,setChangeVolume:qn,showChangeVolume:Hn,isTV:m.isTV,playFeedBack:Bn,pauseFeedBack:Wn,setPlayFeedBack:jn,setPauseFeedBack:Xn,env:m})),ve&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(We,{liveTvList:ve,sources:c,setMultiSources:be,isUserActive:W,env:m,mobileStyle:At,isPaused:Mo.status===at.PAUSE})),K&&go.current&&!Lt&&O.createElement(Re,{startTime:E,vmapUrl:K,appEmitter:p,isAbroad:ne,env:m,setStartTime:ae,playerRef:ue,adCurrentIndex:me,setAdCurrentIndex:he,videoRef:go.current,tech:Wo,changeCurrentLevel:Mr,defaultResumeAt:ht,haveCastHistory:Lt,setIsEmptyVmap:function(e){Oo.current=e},forceMidRoll:Dt,changeVmapProfile:no,playerLoadedAt:Nt,canPlayAd:Ct,setCanPlayAd:rr,isUserActive:W,getSabaSID:Ut,mobileStyle:At,playerTechRef:xe,setCatchOnTimeMidrolData:ia,catchOnTimeMidrolData:aa,type:"vmap",duration:Kt,isEmbed:!!Gt}),wa&&(ie?At&&m.customControls&&Mo.status!==at.PLAYING?O.createElement(O.Fragment,null):O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(je,{logo:ie,lang:se})):O.createElement(O.Fragment,null)),!m.isMobile&&!m.isTV&&go.current&&wa&&!Zt&&!La&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Ue,{rootEl:le,videoRef:go.current,appEmitter:p,toggleMutedVideo:function(){go.current.muted?ja(!1):ja(!0)},seekTo:za,setVolume:Ba,env:m,setUserActive:ge,goTheater:nr,detailsTitle:Jn,hideDetails:ci,disableSeek:Fo})),m.showRecom&&ha.state===N.PO.LINEARADMODE.NOTSET&&(Te||Ae)&&!At&&xa&&(!Zt||!!Zt&&Ra)&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Ge,{showCustomRecom:Gn,recom:Te,env:m,info:R,rate:Ae,getEpisode:Ar,cast:A,currentTime:Jo,isUserActive:W})),!!Zt&&Zt.roomID&&Zt.username&&wa&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(et,{env:m,videoRef:go.current,teleParty:Zt,appEmitter:p,autoPlayPolicyCheck:Xt,changeMuted:ja,setTelepartyUsers:Jt,isAd:ha.state!==N.PO.LINEARADMODE.NOTSET})),!!Zt&&Zt.roomID&&Zt.username&&!Ya&&wa&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(tt,{env:m,appEmitter:p,mobileStyle:At,videoSmallSize:Yt})),m.showRate&&ha.state===N.PO.LINEARADMODE.NOTSET&&Ae&&At&&xa&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Ze,{showCustomRecom:Gn,env:m,cast:A,rate:Ae,currentTime:Jo})),go.current&&wa&&!m.isTV&&!m.isMobile&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Ye,{rootEl:le,adMode:Ya,videoRef:go.current,tech:Wo,env:m,showDetails:function(e,t){Qn(t),ea(e)},appEmitter:p})),$n&&Jn&&wa&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Je,{env:m,back:P,info:R,detailsTitle:Jn,detailsData:$n,hideDetails:ci,appEmitter:p})),m.isLive&&Lo.current&&Lo.current>0&&xa&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Qe,{env:m,viewerCount:Lo.current})),m.showShare&&!Ya&&go.current&&xa&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Ke,{videoRef:go.current,env:m,appEmitter:p,lang:se,isUserActive:W,rootEl:le,uid:jt,title:Q,mobileStyle:At})),Oa&&go.current&&xa&&m.showMiniPlayer&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement($e,{appEmitter:p,videoRef:go.current,isUserActive:W})),La&&go.current&&xa&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(rt,{env:m,qualityLevel:null==(l=Wo.HLS)?void 0:l.currentLevel,appEmitter:p,videoRef:go.current,source:c[0],hlsInstance:jr})),m.showQuestion&&go.current&&Qt&&Qt.length&&xa&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(ot,{videoRef:go.current,env:m,appEmitter:p,mobileStyle:At,survey:Qt})),xa&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(nt,{env:m,appEmitter:p,mobileStyle:At})))},mt=(r(75524),(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(3343).then(r.bind(r,59974))}),"Annotations")}))),dt=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(3740).then(r.bind(r,88219))}),"PauseAdXml")})),pt=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(8481).then(r.bind(r,18062))}),"PauseAdFullscreen")})),ft=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(1371).then(r.bind(r,67010))}),"BoostAD")})),ht=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(6703).then(r.bind(r,66232))}),"EndHtml")})),vt=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(5725).then(r.bind(r,31555))}),"EmbedPoster")})),bt=(0,O.lazy)((function(){return(0,F.XD)((function(){return Promise.all([r.e(4960),r.e(253)]).then(r.bind(r,62677))}),"TelePartyIntro")})),gt=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(4328).then(r.bind(r,11972))}),"SensitiveContent")})),yt=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(2438).then(r.bind(r,92630))}),"CastPlayet")})),Et=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(258).then(r.bind(r,83665))}),"FlashPlayer")})),St=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(3336).then(r.bind(r,24066))}),"IframeAd")})),wt=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(9525).then(r.bind(r,43957))}),"CachePlayer")})),kt=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(4256).then(r.bind(r,64136))}),"Channel")})),xt=(0,O.lazy)((function(){return(0,F.XD)((function(){return Promise.all([r.e(8991),r.e(4969)]).then(r.bind(r,28868))}),"WSTeleParty")})),Tt=(0,O.lazy)((function(){return(0,F.XD)((function(){return r.e(4060).then(r.bind(r,88612))}),"ChatRoom")})),At=N.PO.VIDEOSTATE,Pt=function(e){var t,r,o,n=e.options,i=n.multiSRC,l=n.liveTvList,c=n.poster,u=n.seriesData,m=n.ad,d=m.adTag,f=m.vmap,v=m.boostAd,b=m.watermarkAd,g=m.iStartURL,E=m.forceMidRoll,w=m.getSabaSID,x=m.adInContent,A=m.preRollDuration,R=n.annotations,L=n.logo,D=n.resumeUID,M=n.tracks,H=n.thumbs,z=n.endElementId,j=n.endElementTime,W=n.stats,G=n.startTime,K=n.isp,$=n.intro,ee=n.cast,te=n.back,re=n.info,oe=n.multiAudio,ne=n.mainAudioLanguage,ae=n.previewMode,ie=n.is360,se=n.isAbroad,le=n.skinClass,ce=void 0===le?"":le,ue=n.title,me=n.duration,de=n.isLive,pe=n.chatEnable,fe=n.liveStatus,he=n.lang,ve=n.aparatLink,be=n.sensitiveContent,ge=n.autoPlay,ye=n.boxEnd,Ee=n.freeSansTimer,Se=n.recom,we=n.rate,ke=n.embedAutoplay,xe=n.aparatLinkDisable,Te=n.aparatSportLink,Ae=n.chapterlist,Pe=n.color,Oe=n.squadStream,Re=n.ageLimit,Le=n.subscription,De=n.clip,Me=n.controlbarScroll,Ie=n.isEmbed,Ne=n.channel,Fe=n.teleParty,Ce=n.disableFocusPlayer,Ve=n.movieAgeRange,He=n.capLevelToPlayerSize,qe=n.survey,ze=e.env,Be=e.envIcons,je=e.appEmitter,Ue=e.rootEl,We=e.reloadCall,Xe=e.haveHlsSource,_e=e.havePseudoSource,Ge=e.mpegUrlSource,Ze=e.setReloadCall,Ye=void 0===Ze?function(){}:Ze,Je=e.pseudoIsEdge,Qe=!de&&D?"ar-"+D:void 0,Ke=Z().get(Qe),$e=window.location.search.split("?")[1];if($e)for(var et=$e.split("&"),tt=0;tt768&&so&&lo(!1);var Xo=function(){ao(!1)},_o=function(){Ce||kr.current&&kr.current.focus()};!ze.isChrome||ze.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){po.session=e}),(function(e){e===window.chrome.cast.ReceiverAvailability.AVAILABLE?ur||(ze.debug&&console.log("==> Player find reciver and dispatch:",(0,F.Xn)(!0)),tr({type:N.aO.setReceiverAvailable,payload:!0})):ur&&(tr({type:N.aO.setReceiverAvailable,payload:!1}),cr&&(tr({type:N.aO.setCastData,payload:{}}),tr({type:N.aO.setCast,payload:!1}),Ht(null)))}));window.chrome.cast.initialize(t,(function(){}))}}();var Go=function(e){if(Vt&&Vt.media&&Vt.media[Vt.media.length-1]){var t=Vt.media[Vt.media.length-1];t.pause(),at!==t.currentTime&&it(t.currentTime)}e&&Vt&&(Vt.stop(),qr.current=!0),setTimeout((function(){tr({type:N.aO.setMessages,payload:{state:N.PO.MESSAGES.NOTSHOW}})}),1e4),Ht(null),setTimeout((function(){tr({type:N.aO.setCastData,payload:{}}),tr({type:N.aO.setCast,payload:!1})}),750)},Zo=function(e){Or.current!==e&&(Or.current=e)},Yo=function(e,t,r,o){void 0===t&&(t=""),void 0===o&&(o=!1);var n=!!o&&ze.ad.xhrRetry+1-o,a={error:e,tags:"ad_error, "+e+(n?", retry_"+n:""),level:"Error",isEmbed:!!Ie};"timeout"===e&&(a.adDetail=Ur.current,a.adDetail.fireTime=Date.now()-Wr.current,Z().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=k()(r)),je.emit("sendErrorLog",a)},Jo=function(e){Qr.current=h()({},Qr.current,e)},Qo=function(e){tr({type:N.aO.setMiniPlayer,payload:e})},Ko=function(){to.current=!0};(0,O.useEffect)((function(){ze.debug&&console.log("==> Player Loaded at:",(0,F.Xn)(!0)),Jr.current="visible"===document.visibilityState,We&&(tr({type:N.aO.setDefaultStore}),Ye(!1)),ze.isTV||J((function(e){e&&e.then((function(){vo(1)})).catch((function(){J((function(e){e&&e.then((function(){vo(2)})).catch((function(){vo(3)}))}),!0)}))})),Mr.current=at,je.on("setCatchSource",Zo),null===br.autoPlay&&function(){if(ze.isTV)return tr({type:N.aO.setAutoplaySupported,payload:{autoPlay:!0,muted:!1}}),{autoPlay:!0,muted:!1};var e,t,r,o;e=function(e){tr({type:N.aO.setAutoplaySupported,payload:e})},t=1e3,r=!1,o=function(t){r||(r=!0,e({autoPlay:!0,muted:t}))},e&&(!P().navigator.userAgent.match(/(iPhone|iPod)/g)||"playsInline"in P().document.createElement("video")?(Y(!1,(function(){o(!1)})),setTimeout((function(){Y(!0,(function(){o(!0)}))}),t/25),setTimeout((function(){r||(r=!0,e({autoPlay:!1,muted:!1}))}),t)):e({autoPlay:!1,muted:!1}))}(),kr.current&&!Ce&&kr.current.focus(),Ue.addEventListener("mouseleave",Xo);var e=function(e){var t;t=e,Yr.current=t},t=function(e){var t;t=e,Gr.current=t},r=function(e){Bo.current(e)};if(de&&(je.on("nextSrc",r),je.on("chatEnable",t),je.on("liveStatus",e)),oe&&ze.isTV){for(var o=[],n=function(e){var t=i[e][0].lang;t&&(B()(o).call(o,(function(e){return e.name===t}))||o.push({name:t,index:e,selected:e===lt}))},a=0;a0&&Ft(o)}return je.on("adError",Yo),je.on("setVisitPost",Jo),je.on("miniPlayer",Qo),je.on("domAccess",Ko),function(){cr&&ze.mustStopCast&&Go(!0),je.off("setCatchSource",Zo),je.off("adError",Yo),je.off("setVisitPost",Jo),je.off("miniPlayer",Qo),je.off("domAccess",Ko),de&&(je.off("nextSrc",r),je.off("chatEnable",t),je.off("liveStatus",e),Ue.removeEventListener("mouseleave",Xo))}}),[i]);var $o=function(e){Sr.current=e};if((0,O.useEffect)((function(){return je.on("setHlsAudioTrack",$o),function(){je.off("setHlsAudioTrack",$o)}}),[]),ie&&ze.isTV&&lr.state!==N.PO.MESSAGES.SHOW&&tr({type:N.aO.setMessages,payload:{state:N.PO.MESSAGES.SHOW,msg:ze.messages.canNot360}}),ir&&!ke)return O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(vt,{poster:c,title:ue,duration:me,env:ze,channel:Ne,envIcons:Be}));if(zt)return O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(gt,{poster:c,env:ze,setSensitiveContent:function(){Bt(!1)}}));if(sr)return O.createElement(O.Fragment,null,O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(xt,{env:ze,teleParty:Fe,appEmitter:je,autoPlayPolicyCheck:ho,setTelepartyUsers:No})),O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(bt,{appEmitter:je,env:ze,teleParty:Fe,poster:c,logo:L,rootEl:Ue,duration:me,info:re,movieAgeRange:Ve,telepartyUsers:Io})));var en,tn,rn=function(e){var t="";if(mr.length>0&&mr[Ut+1]&&mr[Ut+1][0]?(Wt(Ut+1),t="switch_next_src"):(je.emit("doFinishAd"),t="not_next_src"),"HLS"===Tr.current){var r="";"manifestLoadError"===e.details&&mr&&mr[Ut]&&mr[Ut][0]&&(r=mr[Ut][0].fileURL),je.emit("adError","videoError_"+(e.details||"noDetail")+", "+t,r)}else"HTML5"===Tr.current&&je.emit("adError","videoError_"+(e.code||"noCode")+", "+t)},on=function(e){var t={},r="video_error",o=0,n=null;if("HLS"===Tr.current){n="HLS";try{t=k()(e)}catch(r){t={tech:"HLS",currentSourceIndex:lt,error:e.e,type:e.data?e.data.type:null,details:e.data?e.data.details:null,src:i[lt],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=k()(t)}r+=", hls, retry_chunk",o=e&&e.data&&e.data.response&&e.data.response.code?e.data.response.code:0}else if("HTML5"===Tr.current)n="HTML5",t={tech:"HTML5",code:e.code||"not_code",message:e.message||"not_message",currentSourceIndex:lt},t=k()(t),r+=", html5",o=e&&e.code?e.code:0;else if("DASH"===Tr.current){n="DASH";try{t=k()(e)}catch(r){t={tech:"DASH",currentSourceIndex:lt,code:e.error?e.error.code:null,message:e.error?e.error.message:null},t=k()(t)}r+=", dash",o=e&&e.error&&e.error.code?e.error.code:0}var a={tech_type:n,linear_ad_mode:rr.state!==N.PO.LINEARADMODE.NOTSET};je.emit("changeErrorLog",a);var s={error:"string"==typeof t?t:"",tags:r,level:"Fatal",isEmbed:!!Ie};if(je.emit("onError",o),i.length-1>lt){if(s.tags=r+", fallback, next_src",ze.debug&&console.log("==> Player onError:",(0,F.Xn)(!0),e),Qe){var l=Z().get(Qe);l>0&&it(l)}ct(lt+1)}else{je.emit("fatalError"),s.tags=r+", not_next_src";var c=ze.messages.errors.default;if(e&&e.code)switch(e.code){case 2:c=ze.messages.errors.code2;break;case 3:c=ze.messages.errors.code3;break;default:c=ze.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=ze.messages.errors.timeout;break;case"levelLoadError":case"manifestParsingError":case"manifestLoadError":case"fragLoadError":case"keyLoadError":c=ze.messages.errors.loadError;break;default:c=e.data.details}Pr.current?c=ze.messages.errors.ban:Jt(!0),de||tr({type:N.aO.setMessages,payload:{state:N.PO.MESSAGES.ERR,msg:c}})}je.emit("sendErrorLog",s)},nn=function(e){jr.current=e},an=function(e,t){ze.debug&&(console.log("==> VideoPlayer OnError Loaded at:",(0,F.Xn)(!0)),console.log("==> VideoPlayer error",e,t,Wo)),Fr.current&&t!==F.Oq.HLS||Cr.current&&t!==F.Oq.DASH||(e&&e.mainVideo&&Wo?nn({e:e,fire:t}):on(e||{}))},sn=function(e){"download"===e.error&&an(e,F.Oq.DASH)},ln={},cn=[],un=B()(Dt).call(Dt,(function(e){return B()(e).call(e,(function(e){return(0,F.FA)(e.type)}))}));Wo?(!rr.source||0!==Ot.length&&Ot[0].src===rr.source.src||Rt([h()({},rr.source)]),ln={back:te,onPlay:function(){je.emit("adPlay",{clicked:qo.current})},onPlaying:function(){je.emit("adPlaying")},onCanPlayThrough:function(){je.emit("adCanPlayThrough")},onPause:function(){je.emit("adPause")},onTimeUpdate:function(e){je.emit("adTimeupdate",e)},onEnded:function(){je.emit("adEnded"),0!==Ut&&Wt(0)},onError:rn}):(lt0&&(cn=U()(tn=R.data).call(tn,(function(e){var t=e;return t.end||(t.end=e.start+R.duration),t}))),ln={resumeUID:Qe,tracks:M,thumbs:H,stats:W,startTime:at,watermarkAd:b,isp:K,intro:$,cast:ee,back:te,info:re,multiAudio:oe,mainAudioLanguage:ne,previewMode:ae,is360:ie,liveStatus:Yr.current,isLive:de,lang:he,chatEnabled:Gr.current,aparatLink:ve,title:ue,audioLangs:Nt,setAudioLangs:function(e,t){for(var r=t,o=0;o0&&it(n)}Ft(r),ct(e)},onError:on,onEnded:function(){if(je.emit("ended"),ye&&ae)Gt(!0);else if(ae&&!ye){var e=P().document.getElementById(ae.messageId);if(e&&e.style&&e.className){var t;e.style.display="block";var r=X()(t=e.className.replace("hidden","")).call(t);e.className=r+" preview-end-message",Ue.appendChild(e)}}else ar===N.PO.ENDHTML.INIT&&tr({type:N.aO.setEndHtml,payload:N.PO.ENDHTML.SHOW})},onPlay:function(){lr.state===N.PO.MESSAGES.ERR&&tr({type:N.aO.setMessages,payload:{state:N.PO.MESSAGES.NOTSHOW,msg:""}}),Yt&&Jt(!1),Pr.current&&(Pr.current=!1),je.emit("play",{clicked:qo.current}),ar!==N.PO.ENDHTML.SHOW||j||tr({type:N.aO.setEndHtml,payload:N.PO.ENDHTML.INIT})},onSeeking:function(){je.emit("seeking")},onSeeked:function(){je.emit("seeked")},onPause:function(){je.emit("pause")}},ln.onTimeUpdate=de?q()((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};je.emit("timeupdate",o)}),2e3):function(e){var t;if(je.emit("timeupdate",e),eo.current.isSend||o||G||!x||"number"!=typeof x.start||"number"!=typeof x.end||(e>=x.start&&e<=x.end?S()(t=eo.current.data).call(t,e)||eo.current.data.push(e):e>x.end&&(eo.current.isSend=!0,eo.current.data.length===x.end-x.start+1?je.emit("adInContent",!0):je.emit("adInContent",!1))),R&&nr.state)for(var r=0;r=nr.state[r].start&&enr.state[r].end){var n;y()(n=nr.state).call(n,r,1),0===nr.state.length?tr({type:N.aO.setAnnotationState,payload:0}):tr({type:N.aO.setAnnotationState,payload:nr})}else 1===nr.state[r].state&&ej&&(tr({type:N.aO.setEndHtml,payload:N.PO.ENDHTML.SHOW}),je.emit("doPause"))});var mn=q()((function(){ze.isMobile&&ze.customControls||Uo()}),1e3,{leading:!0,trailing:!1}),dn=function(){cr?Go(!0):(ze.debug&&console.log("==> Player call to start cast:",(0,F.Xn)(!0)),setTimeout((function(){ze.debug&&console.log("==> Player setTimeout for set reciver to cast:",(0,F.Xn)(!0));var e=new window.chrome.cast.SessionRequest(window.chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID);window.chrome.cast.requestSession((function(e){tr({type:N.aO.setCast,payload:!0}),Ht(e),ze.debug&&console.log("==> Player set cast and set current session:",(0,F.Xn)(!0))}),(function(){}),e)}),1e3),lr.state===N.PO.MESSAGES.SHOW&&tr({type:N.aO.setMessages,payload:{state:N.PO.MESSAGES.NOTSHOW}}))},pn=0;kr&&kr.current&&(pn=kr.current.clientWidth);var fn="romeo-client-width-";kr&&kr.current&&(kr.current.clientWidth<=576?fn+="portrait-phones":kr.current.clientWidth>576&&kr.current.clientWidth<=768?fn+="landscape-phones":kr.current.clientWidth>768&&kr.current.clientWidth<=992?fn+="tablets":kr.current.clientWidth>992&&kr.current.clientWidth<=1200?fn+="desktops":kr.current.clientWidth>1200&&(fn+="large-desktops"));var hn="";ze.isFlashPlayer&&(hn=" romeo-flashplayer-true");var vn=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;ze.isTV&&(r+="?issmart=1"),Fe&&(r=a()(r).call(r,"?")>-1?r+"&party="+Fe.roomID:r+"?party="+Fe.roomID),Vo(!0),je.emit("doPause"),I()({url:r,options:{method:"GET"}},(function(t,r,o){if(t||200!==r.statusCode)window.location.href="/m/"+e;else{tr({type:N.aO.setDefaultStore}),Fe?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.movie_title&&(window.document.title=n.data.attributes.movie_title),ze.debug&&console.log(n.data.attributes),Fe&&Er&&je.emit("sendTelepartyMessage",{type:"change-source",content:k()(n.data.attributes)}),je.emit("reload",n.data.attributes))}}))}};if(rr.state!==N.PO.LINEARADMODE.NOTSET)if(jo&&jo.current&&0===jo.current.clientHeight&&!fr){var bn=document.getElementById("romeo-detect");bn&&window.getComputedStyle&&window.getComputedStyle(bn,null)&&"none"===window.getComputedStyle(bn,null).display&&(tr({type:N.aO.setAdBlocker,payload:!0}),(f||d||g)&&function(){if(ze.sendStatXhr){var e={app:ze.domain,tech:Tr.current||"",spa:ze.isSPA,isIR:ze.isIR},t={url:"/external/romeo/detect",body:k()(e),method:"POST",headers:{"content-type":"application/json"}};I()(t,(function(){}))}}())}else jo&&jo.current&&jo.current.clientHeight>0&&fr&&tr({type:N.aO.setAdBlocker,payload:!1});var gn=function(e){Ur.current=h()({},Ur.current,e)},yn=function(e){Pr.current=e};Po&&(ze.masterManifestReusable?je.emit("hotReload"):ze.masterManifestReusable||(tr({type:N.aO.setMessages,payload:{state:N.PO.MESSAGES.SHOW,msg:ze.messages.errors.masterManifestExpire}}),Jt(!0)),Oo(!1),mo(!1));var En=function(){var e=(0,V.Z)(regeneratorRuntime.mark((function e(t,r,o,n,a){var i,l,c,u,m,d,f,h,v,b,g,y,E,w,k,x,A;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===n&&(n=!1),void 0===a&&(a=!1),u=null,n?Dt[lt]&&Dt[lt][0]&&(0,F.Bb)(Dt[lt][0].type)&&(u=Dt[lt][0]):u=o,u){e.next=6;break}return e.abrupt("return",null);case 6:if(d=null!=(i=navigator)&&null!=(l=i.connection)&&l.downlink?1e6*navigator.connection.downlink:1/0,a||null==(c=u.src)||!S()(c).call(c,"blob")){e.next=31;break}return e.prev=8,f=0,h=0,e.next=13,fetch(u.src);case 13:return v=e.sent,e.next=16,v.text();case 16:b=e.sent,g=b.match(/RESOLUTION=\d+/g),y=U()(g).call(g,(function(e){return+e.replace("RESOLUTION=","").split("x")[0]})),T()(y).call(y,(function(e,t){return e-t})),p()(y).call(y,(function(e,t){e StartLevel selector error:",e.t0);case 31:return void 0===m&&(m=!0===He||a?void 0:-1),k={debug:ze.debug,autoStartLoad:!0,maxStarvationDelay:de||a?2:5,manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:de?2e4:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:a?5e3:1e4,maxLoadTimeMs:a?1e4:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:500,maxRetryDelayMs:de?2e4:2e3},errorRetry:{maxNumRetry:2,retryDelayMs:500,maxRetryDelayMs:2e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:a?2e3:1e4,maxLoadTimeMs:a?3e4:6e4,timeoutRetry:{maxNumRetry:a||de?2:3,retryDelayMs:a?200:300,maxRetryDelayMs:a?800:1e3},errorRetry:{maxNumRetry:a||de?2:3,retryDelayMs:a?200:300,maxRetryDelayMs:a?800:1e3}}},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:de?2e4:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},appendErrorMaxRetry:6,maxMaxBufferLength:a?10:180,maxBufferLength:a?10:30,maxBufferSize:a?1e7:6e7,maxBufferHole:.5,highBufferWatchdogPeriod:3,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,enableWorker:!0,enableSoftwareAES:!0,liveSyncDurationCount:2,liveBackBufferLength:600,startFragPrefetch:!0,testBandwidth:!0,ignoreDevicePixelRatio:!0,capLevelToPlayerSize:!0===He||a,startLevel:m,abrEwmaDefaultEstimate:a?25e4:5e5},de&&(k.live=!0,k.manifestLoadPolicy.default.timeoutRetry.maxRetryDelayMs=94e3,k.playlistLoadPolicy.default.timeoutRetry.maxRetryDelayMs=94e3,k.fragLoadPolicy.default.timeoutRetry.maxRetryDelayMs=94e3,k.steeringManifestLoadPolicy.default.timeoutRetry.maxRetryDelayMs=94e3),x=function(e){$t(e)},(A=new t(k)).on(t.Events.LEVEL_LOADED,(function(e,t){Wo&&gn({hlsLevelLoadedAt:Date.now()-Wr.current}),t&&t.details&&(Hr.current=t.details.targetduration)})),a&&A.on(t.Events.MANIFEST_PARSED,(function(){gn({hlsManifestLoadedAt:Date.now()-Wr.current})})),a||(A.on(t.Events.FRAG_LOADING,(function(){ze.supportPerformance&&!Kr.current&&(performance.getEntriesByName("firstFragLoaded","mark")[0]||performance.mark("firstFragLoaded"))})),A.on(t.Events.FRAG_LOADED,(function(e,t){if(ze.supportPerformance&&!Kr.current){Kr.current=!0;var r=performance.getEntriesByName("firstFragLoaded","mark")[0];if(r){var o=Math.floor(performance.now()-r.startTime);je.emit("firstFragLoaded",{loadTime:o,duration:t.frag.duration,level:t.frag.level})}}}))),A.on(t.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])),zr.current!==o&&(zr.current=o)}})),A.on(t.Events.LEVEL_SWITCHED,(function(){var e=A.abrController.bwEstimator.getEstimate();ro.current!==e&&(ro.current=e,a?Z().set("ad-estimated-bandwidth",Math.floor(e)):Z().set("estimated-bandwidth",Math.floor(e)))})),A.on(t.Events.ERROR,(function(e,o){var i,s;if(ze.debug&&console.log("==> VideoPlayer (Hls.Events.ERROR) Loaded at:",(0,F.Xn)(!0),e,o),o.details===t.ErrorDetails.FRAG_LOAD_TIMEOUT)A.config.fragLoadPolicy.default.maxTimeToFirstByteMs=ze.maxTimeToFirstByte;else if(a&&!n)if(o.fatal)rn(o);else switch(o.type){case t.ErrorTypes.MEDIA_ERROR:if(o.details===t.ErrorDetails.BUFFER_APPEND_ERROR&&rn(o),o.details===t.ErrorDetails.FRAG_PARSING_ERROR&&(Ho.current=!0),o.details===t.ErrorDetails.BUFFER_STALLED_ERROR&&Ho.current){Ho.current=!1,A.stopLoad();var l=new Event("ended");r.dispatchEvent(l)}break;case t.ErrorTypes.NETWORK_ERROR:o.details===t.ErrorDetails.LEVEL_LOAD_ERROR&&null!=(i=o.error)&&null!=(s=i.message)&&S()(s).call(s,"status 0")&&(A.stopLoad(),je.emit("adError","detect"),tr({type:N.aO.setLinearAdMode,payload:{state:N.PO.LINEARADMODE.NOTSET}}));break;default:return null}else if(o.type===t.ErrorTypes.NETWORK_ERROR&&o.response&&404===o.response.code)an({e:e,data:o,hls:A,Hls:t,mainVideo:!0},F.Oq.HLS),A.stopLoad();else if(o.type===t.ErrorTypes.NETWORK_ERROR&&o.response&&403===o.response.code)yn(!0),Po||Oo(!0),A.stopLoad();else if(o.type===t.ErrorTypes.NETWORK_ERROR&&o.response&&o.response.code>=400&&de){if(0===r.buffered.length)je.emit("onError",o.response.code);else{var c=r.buffered.end(0);(r.paused||c-r.currentTime<10)&&je.emit("onError",o.response.code)}428===o.response.code&&(wo(!0),A.stopLoad())}else if(o.fatal)o.type===t.ErrorTypes.MEDIA_ERROR?A.recoverMediaError():an({e:e,data:o,hls:A,Hls:t,mainVideo:!0},F.Oq.HLS);else{if(o.type!==t.ErrorTypes.MEDIA_ERROR)return null;o.details===t.ErrorDetails.BUFFER_APPENDING_ERROR&&(Nr.current+=1,A.levels[Nr.current]?(A.currentLevel=Nr.current,A.startLoad(),Z().set("romeo-quality",-1)):Nr.current=-1,A.swapAudioCodec(),A.recoverMediaError()),o.details===t.ErrorDetails.BUFFER_STALLED_ERROR&&(je.emit("stalled",!0),Br.current+=1,uo||mo(!0))}})),A.on(t.Events.AUDIO_TRACKS_UPDATED,(function(e,t){void 0!==Sr.current&&(A.audioTrack=Sr.current),0!==t.audioTracks.length&&x(t.audioTracks)})),A.loadSource(u.src),n&&(zo=A),e.abrupt("return",A);case 46:case"end":return e.stop()}}),e,null,[[8,28]])})));return function(t,r,o,n,a){return e.apply(this,arguments)}}(),Sn=function(e,t,r,o){void 0===o&&(o=!1);var n=null;if(o?Dt[lt]&&Dt[lt][0]&&(0,F.kI)(Dt[lt][0].type)&&(n=Dt[lt][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",sn),a.on("playbackMetaDataLoaded",(function(){return function(e){$t(e.getTracksFor("audio"))}(a)})),o&&(Dr.current=a),a},wn="";return kr&&kr.current&&ze.isTV&&ce&&(kr.current.clientWidth<600?wn="tv-style-max-width-600":kr.current.clientWidth<950?wn="tv-style-max-width-950":kr.current.clientWidth<1070&&(wn="tv-style-max-width-1070")),gr&&!$r.current&&kr&&kr.current&&kr.current.clientWidth<300?$r.current=!0:gr&&$r.current&&kr&&kr.current&&kr.current.clientWidth>300&&($r.current=!1),Ot[0]&&Ot[0].src&&a()(t=Ot[0].src).call(t,"blob")>-1&&!Xr.current?Xr.current=!0:Ot[0]&&Ot[0].src&&-1===a()(r=Ot[0].src).call(r,"blob")&&Xr.current&&(Xr.current=!1),O.createElement("div",{tabIndex:0,className:"romeo-container\n "+(ce&&ze.isLive?"romeo-isTV-true-live":"")+"\n lang-"+ze.lang+"\n "+wn+"\n direction-"+ze.lang+"\n "+ce+"\n "+(de&&!ze.isEventLive?"romeo-live":"")+"\n "+(ze.isEventLive?"romeo-progress-live":"")+"\n "+fn+"\n "+hn+"\n "+(so?"romeo-mobile-style":"")+"\n "+($r.current?"romeo-small-mini-player":"")+"\n "+(Ne&&Ie&&so?"romeo-channel-mobilestyle":"")+"\n "+(Fe&&so?"romeo-tele-party-mobile":"")+"\n "+(gr?"romeo-mini-player-wrapper":"")+"\n "+(ve?"romeo-has-aparat-link":""),onMouseMove:mn,onTouchStart:mn,ref:kr},O.createElement("div",{className:"romeo-16-9"}),Co&&O.createElement("div",{className:"romeo-loading-wrapper"},O.createElement("div",{className:"romeo-loading-filimo",title:ze.messages.wait},O.createElement("svg",{viewBox:"25 25 50 50"},O.createElement("circle",{cx:"50",cy:"50",r:"20"})))),kr.current&&kr.current.clientHeight>0&&O.createElement("div",{id:"wrapfabtest"},O.createElement("div",{className:"adBanner ad-banner",id:"romeo-detect",ref:jo,style:{height:1,width:1,display:"inline"}})),lr.state!==N.PO.MESSAGES.NOTSHOW&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Q,{msg:lr.msg||"",showReloadBtn:Yt,env:ze,appEmitter:je})),!cr&&!(ie&&ze.isTV)&&!ze.isFlashPlayer&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(ut,(0,C.Z)({sources:Ot,poster:c,env:ze,envIcons:Be,appEmitter:je},ln,{goTheater:function(){var e;_o(),de?(e=!_r.current,_r.current=e,je.emit("chatOpen",!_r.current)):je.emit("gotheater")},isUserActive:no,downloadSrc:un,setCast:dn,logo:L,vmap:f,adTag:d,isAbroad:se,setStartTime:it,lang:he,rootEl:Ue,autoPlay:ge,playerRef:kr.current,adCurrentIndex:Ut,setAdCurrentIndex:Wt,liveTvList:l,setMultiSources:Mt,setUserActive:Uo,boxEnd:ye,showBoxEnd:_t,toggleShowBoxEnd:Gt,freeSansTimer:Ee,seriesData:u,setPlayerFocus:_o,getEpisode:vn,changePlayerTech:function(e){Tr.current=e},playerTechRef:Tr.current,recom:Se,rate:we,aparatLinkDisable:xe,aparatSportLink:Te,haveVideoBuffer:Ar.current,changeHvaeBuffer:function(e){Ar.current=e},changeIsBan:yn,changeCurrentLevel:function(e){Rr.current=e},currentLevelRef:Rr.current,chapterlist:Ae,sourceNotSupported:function(){if(i.length-1>lt)ct(lt+1);else{var e=ze.messages.errors.code3;tr({type:N.aO.setMessages,payload:{state:N.PO.MESSAGES.ERR,msg:e}})}},currectBufferLength:Lr.current,changeCurrectBufferLength:function(e){Lr.current=e},cacheHlsObject:zo,changeCacheHlsObject:function(e){zo=e},firstloadStat:Ir.current,sendFirstloadStat:function(e){Ir.current.push(e)},defaultResumeAt:Mr.current,hlsInstance:En,audioTracks:Kt,useHlsJS:Fr.current,changeUseHlsJS:function(e){Fr.current=e},changeUseDashJS:function(e){Cr.current=e},handleError:an,adOnError:rn,changeHavePreRolBuffer:function(e){Vr.current=e},havePreRolBuffer:Vr.current,dashInstance:Sn,cacheDashObject:Dr.current,changeCacheDashObject:function(e){Dr.current=e},color:Pe,expireLiveSource:So,setVideoWaiting:To,videoWaiting:xo,videoFPS:zr.current,bufferStalledCount:Br.current,HlsChunkDuration:Hr.current,mobileStyle:so,squadStream:Oe,haveHlsSource:Xe,havePseudoSource:_e,haveCastHistory:qr.current,forceMidRoll:E,mainVideoError:jr.current,changeMainVideoError:nn,changeVmapProfile:gn,vmapProfile:Ur.current,playerLoadedAt:Wr.current,isBlobSrc:Xr.current,visitPostData:Qr.current,ageLimit:Re,subscription:Le,endElementTime:j,clip:De,uid:D,canPlayAdRef:xr.current,setCanPlayAd:function(e){void 0===e&&(e=!0),xr.current=e},getSabaSID:w,isTabActive:Jr.current,autoPlayPolicyCheck:ho,controlbarScroll:Me,isEmbed:Ie,teleParty:Fe,videoSmallSize:Lo,setTelepartyUsers:No,survey:qe,duration:me,pseudoIsEdge:Je,setVideoClicked:function(){qo.current=!0},preRollDuration:A}))),ze.isFlashPlayer&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Et,(0,C.Z)({sources:i,env:ze,envIcons:Be,tracks:M,isUserActive:no},ln,{appEmitter:je,stats:W,getEpisode:vn,seriesData:u,cast:ee,mobileStyle:so}))),cr&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(yt,(0,C.Z)({sources:Ge,env:ze,envIcons:Be,appEmitter:je},ln,{currentSession:Vt,setCast:dn,setStartTime:it,sessionStop:Go,resumeUID:Qe,poster:c,title:ue,stats:W,mobileStyle:so,tracks:M}))),Or.current&&Lr.current&&Lr.current>Or.current.start&&hr&&!Wo&&!ze.isTV&&!fr&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(wt,{source:Or.current,sourceCached:function(){Or.current=!1},env:ze,hlsInstance:En,dashInstance:Sn})),!!Fe&&Fe.roomID&&Fe.username&&!Wo&&hr&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(Tt,{env:ze,teleParty:Fe,appEmitter:je,videoSmallSize:Lo,setVideoSmallSize:Do,mobileStyle:so,info:re,telepartyUsers:Io})),!f&&g&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(St,{src:g})),v&&pr.state!==At.ENDED&&hr&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(ft,{boostAd:v,hasLinearAdMode:Wo,appEmitter:je})),1===yr.state&&!ze.isMobile&&!Wo&&or.state!==N.PO.PAUSEADSTATE.NOTSET&&!fr&&vr&&"aparat-pause-ad"===yr.type&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(dt,{setPlayerFocus:_o,width:pn})),1===yr.state&&!Wo&&or.state!==N.PO.PAUSEADSTATE.NOTSET&&!fr&&vr&&"filimo-pause-ad"===yr.type&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(pt,{setPlayerFocus:_o})),cn.length>0&&pr.state!==At.ENDED&&vr&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(mt,{annotations:cn,domAccess:to.current})),!!Ne&&!Wo&&Ie&&vr&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(kt,{env:ze,channel:Ne,isUserActive:no,mobileStyle:so,appEmitter:je,title:ue})),!de&&vr&&O.createElement(O.Suspense,{fallback:O.createElement(O.Fragment,null)},O.createElement(ht,{endElementId:z,appEmitter:je,env:ze,domAccess:to.current})))},Ot=JSON.parse('{"wait":"لطفا شکیبا باشید...","subscription":"خرید اشتراک","nminfree":"15 دقیقه آزمایشی","off":"خاموش","download":"دانلود","quality":"کیفیت","auto":"خودکار","back":"بازگشت","subtitle":"زیرنویس","selectSubtitle":"زیرنویس مورد نظر را انتخاب کنید","selectQuality":"کیفیت مورد نظر را انتخاب کنید","selectAudio":"تغییر صدا","selectSpeed":"سرعت پخش","autoPlay":"پخش خودکار","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":"زمان باقی مانده به اتمام سانس","day":"روز","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":"اینترنت شما قطع شده است. لطفا وضعیت اینترنت خود را بررسی کنید","levelSwitched":"به علت کندی اینترنت کیفیت پخش شما به حالت خودکار تغییر پیدا کرد.","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":"با کلیک روی این گزینه، ۶ ثانیه قبل و بعد صحنه‌ای که مشاهده میکنید بریده میشود و میتوانید با سایر کاربران به اشتراک بگذارید."}'),Rt=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","autoPlay":"Auto play","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","day":"Day","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","levelSwitched":"Your streaming quality has been switched to automatic due to slow network 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."}'),Lt=JSON.parse('{"activeUser":"Меҳмон дорем","activeUserInTeleparty":"Меҳмонони ин давраҳамӣ","activeUserMobile":"Корбари фаъол","adShowOn":"Намоиши огаҳӣ","adminDidNotStart":"Баргузоркунандаи давраҳамӣ ҳанӯз филмро оғоз накардааст.","airPlay":"Иштироки тасвир","arrowDown":"флешро ба поён","arrowUp":"флешро ба боло","auto":"ручка","autoPlay":"пахши худкор","back":"бозгашт","back2pseudo":"Агар ҳангоми пахши мушкиле эҳсос мекунед, гузинаеро ғайр аз автоматик интихоб кунед.","background":"пас замина","bandwidth":"паҳнои банд","bandwidthGraph":"Диаграммаи паҳнои банд","basedOnNetSpeed":"Бар асоси суръати интернети шумо","bitrate":"бит бар сония","canNot360":"Бо узрхоҳӣ, ин дастгоҳ қобилияти пахши видеоҳои 360 дараҷаро надорад.","casting":"Видео дар ҳоли намоиш дар дастгоҳи дигар мебошад. Лутфан аз бастани ё тағйири ин саҳифа худдорӣ намоед.","channels":"каналҳо","chat":"гапу гуфт","chromeCast":"Иштироки тасвир","close":"бастан","closeAlertChat":"Бо бастани давраҳои дӯстона, тамошои гурӯҳӣ барои шумо ва ҳамаи меҳмонон қатъ мешавад ва аз инҷо берун меравед.","closeFilimoParty":"пӯшидани давраҳои ҳамнешинӣ\\n**Риоя ба ин қоидаҳо**:\\n","closeMenu":"бастани меню","closePartyWarning":"Бо бастани давраҳои дӯстона, тамошои дастаҷамъӣ барои шумо ва ҳамаи меҳмонон қатъ мешавад ва аз инҷо берун меравед.","closePartyWarningUser":"Агар берун равед, барои вуруди дубора, ниёз ба суроғаи даъват доред.","color":"ранг","colors":{"black":"машкӣ","blue":"абӣ","cyan":"фирӯзаӣ","green":"сабз","magenta":"ясӣ","red":"сурх","transparent":"бе ранг","white":"сафед","yellow":"зард"},"connected":"муттаҳид","connecting":"дар ҳоли пайвастшавӣ","continueWatching":"идомаи тамошо","copyFromCurrentTime":"копи кардани линки аз вақти феълӣ","copyLink":"нусхабардории суроғаи ин дурҳамӣ","day":"рӯз","depressed":"сояи машкӣ","didYouLikeMovie":"Шумо филмро дӯст доштед?","director":"коргардон","disconnected":"Интернети шумо қатъ шудааст. Лутфан вазъияти интернети худро тафтиш кунед.","disconnectedWs":"қатъ шуда","download":"зеркашӣ","edgeStyle":"Шеваи намоиш\\n**Риояи ин Қоидаҳо**:\\n- Ислоҳи Тафовутҳои Роиҷи Форсӣ-Тоҷикӣ: Ислоҳи хатоҳои имлоии асоси форсӣ дар тоҷикӣ ва танзими сохторҳои ҷумлаи форсӣ ба грамматикаи табиӣ тоҷикӣ.\\n- Риояи Қатъии Кириллица: Танҳо баровардани тоҷикӣ бо хати кириллица—бе ҳарфҳои форсӣ ё лотинӣ.\\n- Грамматика ва Маъно: Нигоҳ доштани дурустии грамматикӣ ҳамзамон бо ҳифзи маънои асли.\\n- Нигоҳ доштани рамзҳо, PHP ва мутағаййирҳо/функсияҳои HTML.\\n- Пешниҳоди тарҷума бидуни шарҳҳои иловагӣ.\\n- Илова накардани ҳеҷ гуна формати иловагӣ мисли \'```\' ё \'```html\'.","emptyGuest":"Ҳанӯз меҳмонӣ надорем","episodes":"Қисматҳо","errors":{"ban":"Дастрасии шумо барои тамошо кардани ин видео бинобар таҷовуз аз қоидҳо ба таври муваққат маҳдуд карда шудааст.","code":"Мо мутаассуфем, ҳангоми пахши видео хатогӣ рух дод. Лутфан, дубора кӯшиш кунед.","code2":"Мубориз ба шумо, як хатои шабакавӣ боис шудааст, ки шумо наметавонед видеоро тамошо кунед, дубора кӯшиш кунед.","code3":"Муборизам, як хатогӣ боис шудааст, ки пахши намоиш қатъ шавад!","default":"Мутаассуфона, ҳозир қодир ба пахши ин видео нестем. Лутфан, баъд аз чанд дақиқа дубора кӯшиш кунед ё бо пуштибонӣ тамос гиред.","loadError":"Шарманда, эҳтимолан яке пойаш рафтааст рӯи сим!","masterManifestExpire":"Ҳоло имкони тамошои видео вуҷуд надорад","timeout":"Мубориз бошед, бинобар сустӣ дар шабака феълан наметавонам пахш кунам!"},"exitFilimoParty":"Баромадан аз давраҳои онлайн\\n**Риояи ин Қоидаҳо**:","exitFromPartyModal":"баромадан аз давраҳои дӯстона","exitFullScreen":"кичик кардан","facebook":"Фейсбук","filimoHomePage":"Саҳифаи аслӣ Филимо","firstLoad":"Намоиши аввалин фрейм","fontSize":"андаозаи фонт","forComeBackNeedLink":"Барои вуруди дубора, ниёз ба суроғаи даъват доред.","freeSansTimer":"вақти боқимонда то анҷоми сеанс","fullScreen":"таъмоми саҳифа","groupViewing":"гап ва тамошо","guest":"меҳмонон","haveTelepartyGuest":"та меҳмон доред","hour":"соат","inviteFriend":"даъвати дӯстон","inviteFriendGroup":"Дӯстони худро ба тамошои гурӯҳӣ даъват кунед.","inviteFriends":"даъват аз дӯстон","inviteFriendsDescription":"Барои даъвати дигарон ба ин давраҳамӣ, суроғаи зерро дар миён гузоред.","inviteFriendsDescription2":"Тамошои дастаҷамъӣ, ҳам дар гӯшӣ ва ҳам дар раёнат мумкин аст.","joinedParty":"ба ҳизб илова шуд","jumpBack15sec":"15 сония пеш","jumpBack5sec":"5 сония пеш","jumpForward15sec":"15 сония баъд","jumpForward5sec":"5 сония баъд","leavedParty":"аз ҳизби хориҷ шуд","levelSwitched":"Ба сабаби сустии интернет, кайфияти пахши шумо ба таври худкор тағйир ёфт.","linkedin":"ЛинкдИн","membersInParty":"дар меҳмонӣ ҳузур доранд","miniPlayer":"мини плеер","minute":"дақиқа","more":"Иттилооти бештар","mute":"бе садо","new":"новин","nextPart":"Қисмати баъдӣ","nminfree":"15 дақиқаи озмоишӣ","none":"ҳеч чиз","off":"хомӯш","openThisMenu":"Кушодани ин меню","organizer":"баргузоркунанда","partyIntroSubTitle":"Суроғаи давраҳоиро барояш фирист ва даъваташ кун, ки биёяд, бо ҳам онлайн филм тамошо кунед.","partyIntroTitle":"Бо кӣ мехоҳӣ гап занӣ ва филм тамошо кунӣ?","partyLimit":"Ҳар давраҳамӣ танҳо то 50 нафар ҷой дорад, барои бештар аз ин шумора ғунҷоиш пур аст.","pause":"Ист.","pauseFilm":"пахширо қатъ кард.","pictureInPicture":"тасвир дар тасвир","play":"пахш","playFilm":"пахширо оғоз кард.","playerVersion":"версияи плеер","quality":"сифат","radioMode":"Ҳолати радиоӣ","raised":"Сояи сафед","recomMovies":"Филмҳои монанд","reload":"кӯшиши дубора","reset":"Ҳолати пешфарз","resolution":"сифат","seasons":"Фаслҳо\\n**Риоя ба ин Қоидаҳо**:\\n- Ислоҳи Тафовутҳои Роиҷи Форсӣ-Тоҷикӣ: Ислоҳи хатоҳои имлоии асосёфта ба забони форсӣ дар тоҷикӣ ва танзими сохторҳои ҷумлаи форсӣ ба грамматикаи табиии тоҷикӣ.\\n- Риояи Қатъии Кириллица: Танҳо баровардани матни тоҷикӣ бо ҳуруфи кириллица—бе ҳуруфҳои форсӣ ё лотинӣ.\\n- Грамматика ва Маъно: Ҳифзи дурустии грамматикӣ ҳамзамон бо нигоҳ доштани маънои асли.\\n- Ҳифзи рамзҳо, PHP ва мутағаййирҳо/функсияҳои HTML.\\n- Пешниҳоди тарҷума бидуни шарҳҳои иловагӣ.\\n- Илова накардани ҳеҷ гуна формати иловагӣ монанди \'```\' ё \'```html\'.","sec":"сония","second":"сония","seekFilm":"вақти намоишро тағйир дод","seen":"дида шуда","selectAudio":"тағйир садо","selectQuality":"Кайфияти мавриди назарро интихоб кунед","selectSpeed":"суръати пахш","selectSubtitle":"Зернависи мавриди назарро интихоб кунед","send":"Фиристодан\\n\\n**Риояи ин Қоидаҳо**:\\n\\n- Ислоҳи Тафовутҳои Роиҷи Форсӣ-Тоҷикӣ: Ислоҳи хатоҳои имлоии асоси форсӣ дар тоҷикӣ ва танзими сохторҳои ҷумлаи форсӣ ба грамматикаи табиии тоҷикӣ.\\n- Риояи Қатъии Кириллӣ: Танҳо истифодаи хати кириллӣ барои тоҷикӣ - бе истифодаи хатҳои форсӣ ё лотинӣ.\\n- Грамматика ва Маъно: Нигоҳ доштани дурустии грамматикӣ ҳамзамон бо ҳифзи маънои асли.\\n- Нигоҳ доштани рамзҳо, PHP ва мутағаййирҳо/функсияҳои HTML.\\n- Пешниҳоди тарҷума бидуни шарҳҳои иловагӣ.\\n- Илова накардани ҳеҷ гуна формати иловагӣ монанди \'```\' ё \'```html\'.","sensitiveContent":"Ин видео эҳтимолан дорои саҳнаҳои дилхарош ва озордиҳанда аст.","setting":"Танзимот\\n\\n**Риояи ин Қоидаҳо**:","share":"Иштирок кардан дар шабакаҳои иҷтимоӣ","shareInviteLink":"копи кардани линк","shareTeleparty":"Мубодилаи суроғаи давраҳамӣ","shortcuts":"Калидҳои миёнбур","skipAd":"рад кардан","skipCast":"рад кардани титраж","socialTour":"сошиал тур","sound":"садо","startFilimoparty":"Оғози давраҳамоӣ","stat":"Омор","status":"Ҳолати пайвастшавӣ","story":"Сторӣ","storyTooltip":"Бо клик кардан ба ин гузина, 6 сония қабл ва баъд аз саҳнае, ки тамошо мекунед, бурида мешавад ва метавонед онро бо дигар корбарон мубодила намоед.","subscription":"хариди обуна","subtitle":"зернавис\\n**Ба ин қоидаҳо риоя кардан**:\\n- Ислоҳи тафовутҳои маъмули форсӣ-тоҷикӣ: Ислоҳи хатоҳои имлоии асоси форсӣ дар тоҷикӣ ва танзими сохторҳои ҷумлаи форсӣ ба грамматикаи табиии тоҷикӣ.\\n- Риояи қатъии алифбои кириллӣ: Танҳо баровардани матни тоҷикӣ бо алифбои кириллӣ - бе истифода аз ҳарфҳои форсӣ ё лотинӣ.\\n- Грамматика ва маъно: Нигоҳ доштани дурустии грамматикӣ ҳамзамон бо ҳифзи маънои асли.\\n- Нигоҳ доштани рамзҳо, PHP ва мутағайирҳо/функсияҳои HTML.\\n- Пешниҳоди тарҷума бидуни шарҳҳои иловагӣ.\\n- Илова накардани ҳеҷ гуна форматсозии иловагӣ монанди \'```\' ё \'```html\'.","telePartyMute":"Видео бе садо ба шумо намоиш дода мешавад. Дар сурати ниёз, тугмаи садоро пахш кунед.","telegram":"Телеграм","telepartyContinueWatching":"интиқол ва идомаи тамошо","telepartyGuests":"Меҳмонони ин давраҳамӣ","telepartyHint1":"Контроли оғоз ва пахши филм танҳо дар дасти худи шумост. Меҳмонони давраҳои дӯстона, танҳо метавонанд зернавис, садо ва кайфиятро барои худашон танзим кунанд.","telepartyHint2":"Контроли оғоз ва пахши филм/сериал, танҳо ба дасти баргузоркунандаи давраҳамӣ аст. Шумо ҳамчун меҳмон, танҳо метавонед зернавис, садо ва сифати филм/сериалро барои худатон танзим кунед.","theaterMode":"Ҳолати театр","twitter":"Твиттер","unmute":"Барои пахши садо рӯи видео клик кунед","useVpnAlert":"Барои истифодаи беҳтар аз имконоти сайт, беҳтар аст VPN-и худро хомӯш кунед.","videoWillPlayAfterAd":"намоиш баъд аз огаҳӣ","volumeDown":"поён овардани садо","volumeUp":"баланд бардоштани садо","wait":"Лутфан, сабр кунед...","waitingForStartMovie":"Интизори оғози филм бимонед","warning":"Ҳушдор\\n**Риояи ин Қоидаҳо**:\\n- Ислоҳи Тафовутҳои Умумии Форсӣ-Тоҷикӣ: Ислоҳи хатоҳои имлоии асоси форсӣ дар тоҷикӣ ва танзими сохторҳои ҷумлаи форсӣ ба грамматикаи табиӣ тоҷикӣ.\\n- Риояи Қатъии Кириллица: Танҳо баровардани тоҷикӣ бо ҳуруфи кириллица - бе ҳуруфҳои форсӣ ё лотинӣ.\\n- Грамматика ва Маъно: Ҳифзи дурустии грамматикӣ ҳамзамон бо нигоҳ доштани маънои асли.\\n- Ҳифзи рамзҳо, PHP ва мутағаййирҳо/функсияҳои HTML.\\n- Пешниҳоди тарҷума бидуни шарҳҳои иловагӣ.\\n- Илова накардани ҳеҷ гуна формати иловагӣ мисли \'```\' ё \'```html\'.","watchThisVideo":"тамошо мекунам","watchVideo":"тамошои видео","watching":"дар ҳоли тамошо","whatsapp":"Ватсап"}'),Dt=JSON.parse('{"wait":"رجاءا إنتظر...","subscription":"شراء إشتراك","nminfree":"15 دقيقة مجانية","off":"إغلاق","download":"تحميل","quality":"الجودة","auto":"تلقائي","back":"العودة","subtitle":"ترجمة","selectQuality":"إختيار الجودة","selectSubtitle":"إختار الترجمة","selectAudio":"تغيير الصوت","selectSpeed":"سرعة العرض","autoPlay":"العرض التلقائي","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":"الزمان المتبقي لإنتهاء فترة العرض","day":"یوم","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":"الإنترنت الخاص بك مقطوع. تحقق من وضع الإنترنت","levelSwitched":"لقد تم تحويل جودة البث لديك إلى الوضع التلقائي بسبب بطء الاتصال بالشبكة.","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 ثوانٍ قبل وبعد المشهد الذي تشاهده ويمكنك مشاركته مع مستخدمين آخرين."}'),Mt=JSON.parse('{"activeUser":"У нас гости.","activeUserInTeleparty":"Гости этого посиделок","activeUserMobile":"Активный пользователь","adShowOn":"Показ объявления","adminDidNotStart":"Организатор встречи еще не начал фильм.","airPlay":"Поделиться изображением","arrowDown":"Переместите флеш вниз","arrowUp":"Флеш вверх","auto":"Автоматический","autoPlay":"Автоматическое воспроизведение","back":"Возврат","back2pseudo":"Если вы чувствуете проблемы с воспроизведением, выберите другой вариант, кроме автоматического.","background":"Фон","bandwidth":"Ширина полосы","bandwidthGraph":"Диаграмма ширины полосы","basedOnNetSpeed":"На основе скорости вашего интернета","bitrate":"бит в секунду","canNot360":"Извините, это устройство не поддерживает воспроизведение 360-градусных видео.","casting":"Видео воспроизводится на другом устройстве. Пожалуйста, воздержитесь от закрытия или изменения этой страницы.","channels":"Каналы","chat":"Общение","chromeCast":"Поделиться изображением","close":"Закрыть","closeAlertChat":"Закрывая встречу, групповой просмотр будет остановлен для вас и всех гостей, и вы покинете эту страницу.","closeFilimoParty":"Закрытие встречи","closeMenu":"Закрыть меню","closePartyWarning":"Закрывая сеанс общего просмотра, коллективный просмотр для вас и всех гостей будет остановлен, и вы покинете эту страницу.","closePartyWarningUser":"Если вы выйдете, для повторного входа вам понадобится пригласительный адрес.","color":"Цвет","colors":{"black":"Черный","blue":"Синий","cyan":"Фирюзовый","green":"Зеленый","magenta":"Яси","red":"Красный","transparent":"Бесцветный","white":"Белый","yellow":"желтый"},"connected":"Подключен","connecting":"В процессе подключения","continueWatching":"Продолжить просмотр","copyFromCurrentTime":"Копировать ссылку с текущего времени","copyLink":"Копирование адреса этой встречи","day":"День","depressed":"Черная тень","didYouLikeMovie":"Понравился вам фильм?","director":"режиссер","disconnected":"Ваш интернет отключен. Пожалуйста, проверьте состояние вашего интернета.","disconnectedWs":"Отключен","download":"Скачать","edgeStyle":"Способ отображения","emptyGuest":"У нас еще нет гостей.","episodes":"Части","errors":{"ban":"Ваш доступ к просмотру этого видео временно ограничен из-за нарушения правил.","code":"Извините, произошла ошибка при воспроизведении видео. Пожалуйста, попробуйте еще раз.","code2":"Извините, из-за сетевой ошибки вы не можете просмотреть видео, попробуйте еще раз.","code3":"Извините, произошла ошибка, из-за которой воспроизведение было остановлено!","default":"К сожалению, в настоящее время мы не можем воспроизвести это видео. Пожалуйста, попробуйте еще раз через несколько минут или свяжитесь со службой поддержки.","loadError":"Извините, вероятно, кто-то наступил на провод!","masterManifestExpire":"В настоящее время просмотр видео невозможен.","timeout":"Извините, из-за замедления в сети я сейчас не могу вести трансляцию!"},"exitFilimoParty":"Выход из онлайн-встречи","exitFromPartyModal":"Выход из встречи","exitFullScreen":"Уменьшение","facebook":"Фейсбук","filimoHomePage":"Главная страница Filmio","firstLoad":"Отображение первого кадра","fontSize":"Размер шрифта","forComeBackNeedLink":"Для повторного входа вам потребуется пригласительный адрес.","freeSansTimer":"Оставшееся время до окончания сеанса","fullScreen":"Весь экран","groupViewing":"Общение и просмотр","guest":"Гости","haveTelepartyGuest":"Пока у вас есть гости","hour":"Часы","inviteFriend":"Приглашение друзей","inviteFriendGroup":"Пригласите своих друзей на групповой просмотр.","inviteFriends":"Приглашение друзей","inviteFriendsDescription":"Для приглашения других на это мероприятие, пожалуйста, поделитесь следующим адресом.","inviteFriendsDescription2":"Совместный просмотр возможен как на телефоне, так и на компьютере.","joinedParty":"Добавлено к вечеринке","jumpBack15sec":"15 секунд назад","jumpBack5sec":"5 секунд назад","jumpForward15sec":"15 секунд спустя","jumpForward5sec":"5 секунд спустя","leavedParty":"Покинул вечеринку","levelSwitched":"Из-за медленного интернета качество вашей трансляции было автоматически изменено.","linkedin":"LinkedIn","membersInParty":"Они присутствуют на вечеринке.","miniPlayer":"Мини-плеер","minute":"минута","more":"Больше информации","mute":"Бесшумно","new":"Новый","nextPart":"Следующая часть","nminfree":"15 минут пробного периода","none":"Ничего","off":"Текст: Тихо","openThisMenu":"Открыть это меню","organizer":"Организатор","partyIntroSubTitle":"Отправь ему адрес собрания и пригласи его прийти, чтобы вы вместе смотрели фильм онлайн.","partyIntroTitle":"С кем ты хочешь поболтать и посмотреть фильм?","partyLimit":"Каждое мероприятие может вместить только до 50 человек, для большего числа мест нет.","pause":"Остановка","pauseFilm":"Остановить воспроизведение.","pictureInPicture":"Изображение в изображении","play":"Трансляция","playFilm":"Трансляция началась.","playerVersion":"Версия плеера","quality":"Качество","radioMode":"Радиорежим","raised":"Белая тень","recomMovies":"Похожие фильмы","reload":"Повторная попытка","reset":"Стандартное состояние","resolution":"Качество","seasons":"Сезоны","sec":"секунда","second":"секунда","seekFilm":"Время отображения было изменено","seen":"Наблюдаемый","selectAudio":"Изменение голоса","selectQuality":"Выберите желаемое качество","selectSpeed":"Скорость воспроизведения","selectSubtitle":"Выберите нужные субтитры","send":"Отправка","sensitiveContent":"Это видео, вероятно, содержит тревожные и беспокоящие сцены.","setting":"Настройки","share":"Поделиться в социальных сетях","shareInviteLink":"Копировать ссылку","shareTeleparty":"Поделиться адресом встречи","shortcuts":"Горячие клавиши","skipAd":"Отклонить","skipCast":"Отклонение титров","socialTour":"Социальный тур","sound":"Звук","startFilimoparty":"Начало встречи","stat":"Статистика","status":"Состояние соединения","story":"Стори","storyTooltip":"При нажатии на эту кнопку, сцена, которую вы просматриваете, будет обрезана на 6 секунд до и после, и вы сможете поделиться ею с другими пользователями.","subscription":"Покупка подписки","subtitle":"Субтитры","telePartyMute":"Видео будет показано вам без звука. При необходимости нажмите кнопку звука.","telegram":"Телеграм","telepartyContinueWatching":"Отмена и продолжение просмотра","telepartyGuests":"Гости этого посиделок","telepartyHint1":"Управление запуском и воспроизведением фильма полностью в ваших руках. Гости встречи могут только настроить для себя субтитры, звук и качество.","telepartyHint2":"Управление запуском и воспроизведением фильма/сериала находится исключительно в руках организатора мероприятия. Вы как гость можете только настроить субтитры, звук и качество фильма/сериала для себя.","theaterMode":"Театральное состояние","twitter":"Твиттер","unmute":"Для воспроизведения звука нажмите на видео.","useVpnAlert":"Для лучшего использования возможностей сайта, лучше выключить ваш VPN.","videoWillPlayAfterAd":"Отображение после объявления","volumeDown":"Уменьшение громкости","volumeUp":"Увеличение громкости","wait":"Пожалуйста, будьте терпеливы...","waitingForStartMovie":"Ожидайте начала фильма","warning":"Предупреждение","watchThisVideo":"Смотрю","watchVideo":"Просмотр видео","watching":"В процессе просмотра","whatsapp":"Ватсап"}'),It=r(40003),Nt=r(51422),Ft=r(70268),Ct=["styles"];function Vt(){return Vt=h()||function(e){for(var t=1;t-1,Zt=/(Safari\/535.20\+)/i.test(P().navigator.userAgent),Yt=/(Mac|Macintosh)/i.test(P().navigator.userAgent),Jt=/(OPR|OPT)/i.test(P().navigator.userAgent),Qt=/(samsung|Samsung|tizen|Tizen)/i.test(P().navigator.userAgent),Kt=/(VSTVB|VESTEL|Vestel|vestel)/i.test(P().navigator.userAgent),$t=/(bot|googlebot|crawler|spider|robot|crawling)/i.test(P().navigator.userAgent),er=new(D()),tr=0,rr=P().navigator.userAgent;if(rr){var or=rr.toLowerCase().match(/android\s([0-9.]*)/i);or&&or[1]&&(tr=s()(or[1]))}var nr=0;if(rr&&Qt){var ar=rr.toLowerCase().match(/tizen\s([0-9.]*)/i);ar&&ar[1]&&(nr=s()(ar[1]))}var ir=function(e,t){var r=P().document.getElementById(e);if(!r)return null;r.className="romeo "+(t.isSport?"romeo-aparat-sport":"romeo-aparat")+(Wt?" 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={};er.on("videoReady",(function(e){n=e}));var a="initialized";er.on("play",(function(){a="playing"})),er.on("pause",(function(){a="paused"})),er.on("ended",(function(){a="ended"})),er.on("adPlay",(function(){a="ad-playing"})),er.on("adPause",(function(){a="ad-paused"})),er.on("getVmap",(function(){a="ad-loading-vast"})),er.on("startStreaming",(function(e){var t=e.tech,r=e.isAd;"hls"===t&&(a=r?"ad-loading-m3u8-file-by-hls":"loading-m3u8-file-by-hls"),"dash"===t&&(a=r?"ad-loading-file-by-dash":"loading-file-by-dash"),"native"===t&&(a=r?"ad-loading-file":"loading-file")})),er.on("manifestLoad",(function(e){var t=e.isAd;a=t?"ad-loading-ts-file-by-hls":"loading-ts-file-by-hls"})),er.on("romeoReady",(function(){window.parent&&window.parent.postMessage&&window.parent.postMessage("romeoReady","*")})),!1===t.autoPlay?R.render(O.createElement(sr,{options:o,rootEl:r,autoplaySupported:{autoPlay:!1,muted:!1}}),r):R.render(O.createElement(sr,{options:o,rootEl:r,autoplaySupported:{autoPlay:!0,muted:!1}}),r);var i=function(e,t){er.once(t,(function(){try{return e.apply(void 0,arguments)}catch(e){return console.log("can't call callback on "+t,e),null}}))},s=function(e,t){er.on(t,(function(){try{for(var r=arguments.length,o=new Array(r),n=0;n=5||jt,debug:!!d.current.debug,isOpera:Jt,capability:{linearAdMode:{hls:!(Bt&&Jt||Qt&&nr<2.4&&(d.current.isTV||Xt)),dash:!Bt&&!Xt,pseudo:!0}},showRecom:!1,showRate:!1,showMiniPlayer:!(d.current.isLive||d.current.isEmbed||d.current.hideMiniPlayer||j||d.current.miniPlayer),radioMode:X&&!(d.current.isTV||Xt)&&!Wt,statChunkLength:60,backOffPolicy:[0,2,6,14],mustStopCast:!1,playXhrChunkLength:0,statOnPlay:!1,jumpSec:5,seekSetQuery:!1,isWebpSupport:A,thumbPath:"_",thumbSizeSupport:!1,statXhr:d.current.stats&&d.current.stats.statUrl,statBasedOnTime:!0,castCapability:!1,isSPA:!1,masterManifestReusable:!0,isMobileDesktopSite:!Bt&&!!window.chrome&&0===a()(t=P().navigator.platform).call(t,"Linux a")&&"ontouchstart"in document.documentElement,showShare:!(!j||d.current.hideShare||X||!d.current.resumeUID),ad:{xhrRetry:3,xhrRetryDelay:[700,2300,3e3],skipAdTimeout:d.current.ad&&"number"==typeof d.current.ad.skipAdTimeout?d.current.ad.skipAdTimeout:8e3,trackImpressionOnLoad:!(!d.current.ad||"boolean"!=typeof d.current.ad.trackImpressionOnLoad)&&d.current.ad.trackImpressionOnLoad},domain:X?"aparat-live":"aparat",version:"v2.6.19",isIR:"boolean"!=typeof d.current.isIR||d.current.isIR,secretKey:"KrSf9azBX9",sendStatXhr:!d.current.romeoStatXhrDisable,socialTourAPI:null,toastDuration:d.current.toastDuration||3e3,fullscreenOnLandscape:"boolean"==typeof d.current.fullscreenOnLandscape&&d.current.fullscreenOnLandscape,maxTimeToFirstByte:1e4,supportPerformance:!!(performance&&performance.now&&performance.mark),cacheMainVideo:!0,miniPlayer:"boolean"==typeof d.current.miniPlayer&&d.current.miniPlayer,smallPoster:d.current.smallPoster||d.current.poster,useLightHls:!1,validZoneIds:["11031-Z857","11030-Z075"],startMuted:!(d.current.isTV||Xt),qualitySwitcherTimeout:1e4,freeSansText:d.current.countdown_text,showAutoPlayButton:!0,schoolDomain:"filimo.school"};d.current.color&&(Y.color=d.current.color);var J={play:O.createElement(It.Z,{width:18,height:18}),pause:O.createElement(Nt.Z,{width:18,height:18}),replay:O.createElement(qt,{width:18,height:18})},Q={env:{isMobile:Y.isMobile,isSafari:Y.isSafari,isFirefox:Y.isFirefox,isFlashPlayer:Y.isFlashPlayer,isIOS:Y.isIOS,hlsNotSupport:Y.hlsNotSupport,isTV:Y.isTV,isGameConsole:Y.isGameConsole,isChrome:Y.isChrome,isMac:Y.isMac,customControls:Y.customControls,isAbroad:Y.isAbroad,isLive:Y.isLive,mustUseHLS:Y.mustUseHLS,isOpera:Y.isOpera,capability:Y.capability,skipAdTimeout:Y.ad.skipAdTimeout}},K=function(e){if(Y.sendStatXhr){var t=h()({},Q,e);(0,F.C$)(t,Y)}},$=function(e){Q=h()({},Q,e),(0,F.t3)(Q)},ee=function(){x(d.current)};if((0,O.useEffect)((function(){return(0,F.t3)(Q),er.on("sendErrorLog",K),er.on("changeErrorLog",$),er.on("load",x),er.on("reload",x),er.on("distroy",w),er.on("hotReload",ee),d.current.ad&&(!d.current.ad||d.current.ad.adTag||d.current.ad.vmap)||er.emit("syncAd",!1),function(){er.off("sendErrorLog",K),er.off("changeErrorLog",$),er.off("load",x),er.off("reload",x),er.off("distroy",w),er.off("hotReload",ee)}}),[]),d.current.ad&&d.current.ad.iStartURL&&d.current.ad.vmap&&(d.current.ad.vmap=void 0),Y.isBot&&(d.current.ad.vmap=void 0,d.current.ad.adTag=void 0),X&&"nolive"===d.current.liveStatus)return O.createElement(O.Fragment,null,_&&O.createElement("div",{style:{backgroundImage:"url("+_+")"},className:"romeo-poster"}));var te=!(!q||!q.vmap&&!q.adTag&&!q.iStartURL||B&&!(j&&U&&W)),re=O.createElement("div",{className:"romeo-loading-aparat",title:Y.messages.wait},O.createElement("svg",{viewBox:"25 25 50 50"},O.createElement("circle",{cx:"50",cy:"50",r:"20"}))),oe=!1,ne=!1,ae=!1,ie=!1;if(u.current=function(){if(!d.current.multiSRC||void 0===d.current.multiSRC)return!1;for(var e=0;e0&&tr<5))y()(n=d.current.multiSRC[e]).call(n,r,1),r--,0===d.current.multiSRC[e].length&&y()(a=d.current.multiSRC).call(a,e,1);else if("blob"===d.current.multiSRC[e][r].type){var s=F.LO.hls[0];d.current.multiSRC[e][r].type=s}}else y()(t=d.current.multiSRC).call(t,e,1),e--}return 0!==d.current.multiSRC.length}(),v)return O.createElement(O.Fragment,null);if(l.current||(function(){if(Y.sendStatXhr){var e="";d.current.is360?e="is360":Y.isFlashPlayer?e="isFlashPlayer":j&&(e="isEmbed");var t,r=!0;if(d.current.startTime&&d.current.duration){var o=Math.floor(.9*d.current.duration);d.current.startTime&&d.current.startTime>0&&d.current.startTime1080?"large":window.screen.width>768?"medium":"small":"unknown",badSrc:!u.current,isEmbed:!!j,removeADReason:e,isIR:Y.isIR,startBeginning:r,timeToStart:t},a={url:"/external/romeo/init",body:k()(n),method:"POST",headers:{"content-type":"application/json"}};I()(a,(function(){}))}}(),l.current=!0),!1===u.current)return K({error:"badSrc",tags:"badSrc",level:"Error"}),O.createElement("div",{className:"romeo-bad-src"},"Source not found...!");var se,le=(0,F.gE)(d.current.multiSRC,Y);if(d.current.multiSRC=le,Y.isTV){var ce=(0,F.Cx)(d.current.multiSRC);d.current.multiSRC=ce}if(Y.isTV&&(d.current.skinClass="romeo-isTV-true"),d.current.multiAudio&&d.current.tracks&&d.current.tracks.length>0){for(var ue=[],me=0;me0&&T()(se=d.current.chapterlist).call(se,(function(e,t){return e.start Aparat App Loaded at:",(0,F.Xn)(!0)),window.romeoOptions=d.current,O.createElement(O.Suspense,{fallback:re},O.createElement(N.Qx,{hasLinearAdMode:te,endElementId:z,appEmitter:er,isEmbed:j,env:Y,autoplaySupported:i,miniPlayer:Y.miniPlayer},O.createElement(Pt,{options:h()({},d.current,{ad:q||{}}),env:Y,envIcons:J,appEmitter:er,rootEl:n,reloadCall:s,setReloadCall:E,haveHlsSource:oe,havePseudoSource:ne,mpegUrlSource:ae,pseudoIsEdge:ie})))}},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;tr.videoHeight)){e.next=19;break}return e.prev=12,e.next=15,O();case 15:e.next=19;break;case 17:e.prev=17,e.t0=e.catch(12);case 19:case"end":return e.stop()}}),e,null,[[12,17]])})));return function(t,r){return e.apply(this,arguments)}}(),M=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(y.current||"landscape-primary"!==t&&"landscape-secondary"!==t){e.next=9;break}return e.next=6,L();case 6:window.screen.orientation.lock("any"),e.next=12;break;case 9:if(!y.current||"portrait-primary"!==t&&"portrait-secondary"!==t){e.next=12;break}return e.next=12,R();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",M):window.addEventListener("orientationchange",M)),function(){var e,t;i.fullscreenOnLandscape&&null!=(e=window.screen)&&e.orientation&&(null!=(t=window.screen)&&t.orientation?window.screen.orientation.removeEventListener("change",M):window.removeEventListener("orientationchange",M))}}),[i.fullscreenOnLandscape]),x.current=function(e){D(),m&&!k||e&&p()};var I=function(e){D(!0,e)};return(0,o.useEffect)((function(){if(i.isFlashPlayer||(a.on("doFullscreen",D),a.on("setFullscreen",I)),"boolean"!=typeof document.fullscreen&&(document.romeoFullscreen=document.fullscreen),!i.isFlashPlayer){var e=document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled;t.addEventListener("fullscreenchange",T),t.addEventListener("webkitfullscreenchange",T),t.addEventListener("mozfullscreenchange",T),t.addEventListener("MSFullscreenChange",T),e||(r.addEventListener("webkitbeginfullscreen",P),r.addEventListener("webkitendfullscreen",A)),b.current=e;var o=function(){x.current(!0)};return r.addEventListener("dblclick",o),function(){t.removeEventListener("fullscreenchange",T),t.removeEventListener("webkitfullscreenchange",T),t.removeEventListener("mozfullscreenchange",T),t.removeEventListener("MSFullscreenChange",T),b.current||(r.removeEventListener("webkitbeginfullscreen",P),t.removeEventListener("webkitendfullscreen",A)),r.removeEventListener("dblclick",o)}}return i.isFlashPlayer?(t.addEventListener("webkitfullscreenchange",T),function(){t.removeEventListener("webkitfullscreenchange",T)}):function(){i.isFlashPlayer||(a.off("doFullscreen",D),a.off("setFullscreen",I))}}),[t]),(0,o.useEffect)((function(){y.current=w}),[w]),o.createElement("button",{type:"button",className:"romeo-button romeo-fullscreen",onClick:D,onMouseDown:function(e){e.preventDefault()},"aria-label":(w?i.messages.exitFullScreen:i.messages.fullScreen)+" F"},w&&o.createElement(g,null),!w&&o.createElement(h,null),o.createElement("div",{className:"romeo-player-tooltip romeo-player-big-tooltip romeo-player-tooltip-fullscreen"},(w?i.messages.exitFullScreen:i.messages.fullScreen)+" (F)"))})),E=r(5281),S=r(42377),w=r(44845),k=r(73126),x=(r(39714),r(74916),r(23123),r(9653),r(3649)),T=r.n(x),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),H=r.n(V),q=(r(69600),r(15306),r(4723),r(41875)),z=r.n(q),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=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(H())((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=o.start&&t-1){var N=h.HLS.levels[I].details.totalduration;N=a&&M.current[1]+2*v0)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;he0&&t)for(var be=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)),ve.push(o.createElement(L.S0,{key:c.toString()},(function(r){return o.createElement(J,(0,k.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:b}))})))},ge=0;ge0&&!p?"romeo-progress-buffer-chapter":""),style:{left:l,width:c}})})))},n=0;n0&&ve,!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(Q,{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:b})})))}))))},J=function(e){function t(){for(var t,r,o=arguments.length,n=new Array(o),a=0;ai.previewDuration;if(l&&l.length>0)for(var h=0;hv&&rc.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;t680&&"hidden"!==b.text&&(D.emit("metrica","preview_button_show"),et.current=!0)}),[Be]),(0,o.useEffect)((function(){return window.addEventListener("resize",pt),function(){window.removeEventListener("resize",pt)}}),[]);var ft=function(e){var r=Xe?R.currentTime:t.currentTime;$(r-f.jumpSec),"dubleClick"===e&&(it(!0),setTimeout((function(){it(!1)}),500))},ht=function(e){if(!E){var r=Xe?R.currentTime:t.currentTime;$(r+f.jumpSec)}"dubleClick"===e&&(ct(!0),setTimeout((function(){ct(!1)}),500))};if($e.current=function(){dt?Pe():Re()},q&&q.length>0&&t)for(var vt=0;vtbt&&ytbt&&yt Controls Loaded at:",(0,s.Xn)(!0)),!Xe&&!f.isFlashPlayer&&!f.isTV){var e=i().get("romeo-vol");e&&"number"==typeof e&&re(e),f.muted?Te(!0):1!==X&&(f.isIOS||3!==X)&&f.startMuted||Te(!!i().get("romeo-muted"))}}),[l]);var wt="romeo-controls"+(dt?" romeo-controls-pause":" romeo-controls-play")+(f.isMobile?" mobile":" desktop")+(p?" fullscreen":"")+(v||Ye?" romeo-controls-show":" romeo-controls-hide")+(E?" ad-mode":" ")+(W&&!Ke?" romeo-telepary":" ")+(Je&&!f.miniPlayer?" romeo-controls-mini-player":"")+(f.miniPlayer?" romeo-controls-forced-mini-player":"")+(Ye?" romeo-controls-menu-open":""),kt=function(e){e.preventDefault()},xt=function(e){return(B&&"mobile"===e&&(dt||v)||!B&&"mobile"!==e)&&_e&&(f.isChrome||Xe)&&!E&&f.castCapability?o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ie,{env:f,setCast:De})):null},Tt=function(e){return(B&&"mobile"===e&&dt||!B&&"mobile"!==e)&&f.showAirPlay&&!Xe&&!f.isFlashPlayer&&window.WebKitPlaybackTargetAvailabilityEvent?o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(he,{video:t,env:f})):null},At=function(){v||t.paused||qe()};return o.createElement("div",{className:_?"romeo-controlbar-disabled":""},!f.isTV&&o.createElement("div",{className:"\n romeo-controlbar-gradiend\n romeo-controlbar-gradiend-top\n "+(v||dt||Ye?"romeo-controls-show":"romeo-controls-hide")+"\n "+(Je?"romeo-controlbar-gradiend-mini-player":"")+"\n ",onClick:qe,onKeyPress:function(){},role:"presentation"}),!f.isTV&&o.createElement("div",{className:"\n romeo-controlbar-gradiend\n romeo-controlbar-gradiend-bottom\n "+(v||dt||Ye?"romeo-controls-show":"romeo-controls-hide")+"\n "+(Je?"romeo-controlbar-gradiend-mini-player":"")+"\n ",onClick:qe,onKeyPress:function(){},role:"presentation"}),xt("mobile"),Tt("mobile"),(f.showJumpButtons||f.isEventLive)&&!E&&f.isMobile&&(!W||!!W&&Ke)&&o.createElement(o.Fragment,null,o.createElement("div",{className:"romeo-jump-button-mobile-wrapper romeo-jump-back-button-mobile-wrapper","aria-hidden":"true",onClick:function(){return At()},onDoubleClick:function(){return ft("dubleClick")}},o.createElement("div",{className:"romeo-jump-button-mobile "+(at?"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(ke,{width:18,height:18})),o.createElement("span",null,5===f.jumpSec?f.messages.jumpBack5sec:f.messages.jumpBack15sec)))),o.createElement("div",{className:"romeo-jump-button-mobile-wrapper romeo-jump-forward-button-mobile-wrapper","aria-hidden":"true",onClick:function(){return At()},onDoubleClick:function(){return ht("dubleClick")}},o.createElement("div",{className:"romeo-jump-button-mobile "+(lt?"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(ke,{width:18,height:18})),o.createElement("span",null,5===f.jumpSec?f.messages.jumpForward5sec:f.messages.jumpForward15sec))))),o.createElement("div",{className:wt},(f.showProgress||f.isEventLive)&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(Y,{videoRef:t,duration:ut,seekTo:$,playVideo:Pe,pauseVideo:Re,thumbs:d,previewMode:b,env:f,currentMediaSession:R,casting:Xe,adMode:E,chapterlist:q,tech:a,HlsChunkDuration:z,mobileStyle:B,clip:j})),o.createElement("div",{className:"left-bar"},(!W||!!W&&Ke)&&o.createElement("button",{type:"button",className:"romeo-button romeo-play-toggle","aria-label":(dt?f.messages.play:f.messages.pause)+" K",onClick:$e.current,onMouseDown:kt},!dt&&Qe.state!==c.PO.VIDEOSTATE.ENDED&&h.pause,dt&&Qe.state!==c.PO.VIDEOSTATE.ENDED&&h.play,Qe.state===c.PO.VIDEOSTATE.ENDED&&h.replay,o.createElement("div",{className:"romeo-player-tooltip romeo-player-tooltip-play"},(dt?f.messages.play:f.messages.pause)+" (K)")),Qe.state===c.PO.VIDEOSTATE.ENDED||B||!f.showJumpButtons&&!f.isEventLive||E||!(!W||W&&Ke)?null:o.createElement(o.Fragment,null,o.createElement("button",{type:"button",className:"romeo-button jump-back "+(Je?"romeo-hide":""),onClick:ft,onMouseDown:kt,"aria-label":(5===f.jumpSec?f.messages.jumpBack5sec:f.messages.jumpBack15sec)+" J"},o.createElement("div",{className:"romeo-player-tooltip romeo-player-big-tooltip"},(5===f.jumpSec?f.messages.jumpBack5sec:f.messages.jumpBack15sec)+" (J)"),5===f.jumpSec?o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(Ee,null)):o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ye,null))),o.createElement("button",{type:"button",className:"romeo-button jump-forward "+(Je?"romeo-hide":""),onClick:ht,onMouseDown:kt,"aria-label":(5===f.jumpSec?f.messages.jumpForward5sec:f.messages.jumpForward15sec)+" L"},o.createElement("div",{className:"romeo-player-tooltip romeo-player-big-tooltip"},(5===f.jumpSec?f.messages.jumpForward5sec:f.messages.jumpForward15sec)+" (L)"),5===f.jumpSec?o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(we,null)):o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(Se,null)))),!f.isTV&&!Xe&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ve,{volume:S,muted:w,playerVolume:re,playerMute:Te,env:f})),t.currentTime>0&&ut>0&&o.createElement("div",{className:"romeo-progress "+(f.isEventLive&&mt+5*z680&&o.createElement("div",{className:"romeo-preview-mode"},"hidden"!==b.text&&o.createElement("a",{className:"purchase",href:b.pruchaseLink,onClick:function(){D.emit("metrica","preview_button_click")},"data-capping":"preview|controlbarButton","data-capping-cta":"preview|controlbarButton","data-ctr":"preview|controlbarButton","data-ctr-cta":"preview|controlbarButton"},b.text?b.text:f.messages.subscription),b.previewTitle?b.previewTitle:f.messages.nminfree)),o.createElement("div",{className:"center-bar"},!!U&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement("div",{className:"romeo-controlbar-scroll",onClick:function(){D.emit("controlbarScrollClick",!0)},onKeyPress:function(){},role:"presentation"},o.createElement("span",null,U),o.createElement(ee.Z,{width:12,height:12})))),o.createElement("div",{className:"right-bar"},(x||V)&&!Xe&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ne,{videoRef:t,env:f,title:T,aparatLink:x,aparatLinkDisable:C,aparatSportLink:V})),f.showFullScreen&&!Xe&&o.createElement(y,{rootEl:f.isFlashPlayer?M:F,videoRef:t,playVideo:Pe,togglePlayPause:$e.current,appEmitter:D,env:f,parentFlashPlayer:M,adMode:E,teleParty:W}),f.showPIP&&!Xe&&!f.isFlashPlayer&&!E&&"function"==typeof document.exitPictureInPicture&&(!W||!!W&&Ke)&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(fe,{video:t,env:f,setPlayerFocus:Ie,appEmitter:D})),f.showMiniPlayer&&!Xe&&!f.isFlashPlayer&&!E&&Ge&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ce,{env:f,setPlayerFocus:Ie,appEmitter:D})),Tt(),f.showGoTheater&&!Xe&&!f.isFlashPlayer&&!E&&o.createElement("button",{type:"button",className:"romeo-button go-theater "+(Je?"romeo-hide":""),onClick:Z,onMouseDown:kt,"aria-label":f.messages.theaterMode+" T"},o.createElement(oe,null),o.createElement("div",{className:"romeo-player-tooltip romeo-player-big-tooltip"},f.messages.theaterMode+" (T)")),!E&&o.createElement(o.Fragment,null,!Xe&&f.isTV&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ae,{env:f,tech:a,videoRef:t,sources:l,currentSourceIndex:u,setCurrentSourceIndex:Q,multiAudio:A,setAudioLangs:O,audioLangs:P,tracks:L,setSubtitleLang:Ve,appEmitter:D})),!Xe&&!f.isTV&&!f.isIOS&&!f.isFlashPlayer&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(be,{firstPlay:r,env:f,tech:a,videoRef:t,audioTracks:m,downloadSrc:k,tracks:L,multiAudio:A,setSubtitleLang:Ve,appEmitter:D,mobileStyle:B})),f.showNextPart&&!!I&&Ge&&(!W||!!W&&Ke)&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(se,{env:f,cast:I,getEpisode:Fe,appEmitter:D,setPlayerFocus:Ie})),f.showSessions&&!!N&&Ge&&(!W||!!W&&Ke)&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(le,{env:f,seriesData:N,appEmitter:D,getEpisode:Fe,mobileStyle:B,videoRef:t})),(t&&t.textTracks&&t.textTracks.length>0&&!Ze||L&&L.length>0&&Ze)&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(pe,{env:f,tracks:Ze?L:t.textTracks,appEmitter:D,setSubtitleLang:Ve,multiAudio:A,mobileStyle:B,videoRef:t})),(m&&m.length>1&&!f.isTV||f.isTV&&P&&O&&!f.isFlashPlayer)&&!f.isTV&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(de,{env:f,tech:f.isTV?{type:s.Oq.HTML5,setAudioLangs:O}:a,audioTracks:f.isTV?P:m,appEmitter:D,mobileStyle:B,videoRef:t})),f.showPlaybackRate&&!f.isTV&&!Xe&&(!W||!!W&&Ke)&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ue,{env:f,currentPlaybackRate:t.playbackRate,setCurrentPlaybackRate:function(e){We({type:c.aO.setPlaybackRate,payload:e}),t.playbackRate=e},mobileStyle:B,videoRef:t,appEmitter:D})),f.showAutoPlayButton&&!H&&!f.isLive&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(me,{appEmitter:D,env:f}))),!!f.socialTourAPI&&!E&&o.createElement(o.Suspense,{fallback:o.createElement(o.Fragment,null)},o.createElement(ge,{env:f,appEmitter:D,videoRef:t})),xt())))}},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",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,v=e.appEmitter,b=e.autoplaySupported,g=e.miniPlayer;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:g,isAdminTeleParty:!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:b,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.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||2===r.handleSyncAd.state&&1===o.payload.state&&o.payload.type?o.payload.type?(v.emit("syncAd",!0,o.payload.url,o.payload.html),n()({},r,{handleSyncAd:n()({},o.payload,{state:2})})):(v.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?(v.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 _},WN:function(){return G},cz:function(){return Z},TH:function(){return Y},XD:function(){return K},Xn:function(){return J},C$:function(){return Q},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),v=r.n(h),b=r(3649),g=r.n(b),y=r(92762),E=r.n(y),S=r(77766),w=r.n(S),k=r(81643),x=r.n(k),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,H=[],q=[L,R,D],z=[R,L,D],B=[R,D],j=[R,D],U=[],W={},X=function(e){W=e},_=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(":")},G=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 Q=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)null!=t&&t.debug&&console.log("==> Player onError xhr send error:",J(),e);else{var n=JSON.parse(o);null!=t&&t.debug&&console.log("==> Player onError xhr send success:",J(),n)}}))};function K(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=v()({},W,{tags:"retry, faild_load",error:d()(s),level:"Warning"});setTimeout((function(){if(1===r)return l.level="Panic",Q(l),void a(i);K(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;r1?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.isChrome&&!r.isTV||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}},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,q);for(var r=[],o=0;o2)for(var s=0;s*{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-forced-mini-player .left-bar{display:none}.romeo-controls-forced-mini-player .right-bar .romeo-button:not(.romeo-fullscreen){display:none}.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:25%}.romeo .romeo-jump-button-mobile-wrapper .romeo-jump-button-mobile{height:100%;width:100%;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}.romeo-aparat-sport .romeo-isTV-true .romeo-button:hover::before{border:.5em solid #74c15c}.romeo-aparat-sport .romeo-live-badge{background-color:#74c15c}.romeo-aparat-sport .romeo-player-tooltip{font-family:"Yekan Bakh","Open Sans",sans-serif}',""])},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}.romeo-aparat-sport .romeo-progress-bar .play-progress{background-color:#74c15c}.romeo-aparat-sport .romeo-progress-bar .prog-slider{background-color:#74c15c}',""])},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}.romeo-aparat-sport .romeo-show-reload-button{background-color:#74c15c}",""])},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}.romeo-aparat-sport .romeo-progress-live .romeo-current-time::before{background-color:#74c15c}.romeo-aparat-sport .romeo-live .romeo-controls .romeo-current-time::before{background-color:#74c15c}.romeo-aparat-sport button{font-family:"Yekan Bakh","Open Sans",sans-serif}',""])},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;height:48px;transition:background-color 200ms ease}@media(max-width: 600px){.romeo .vast-ad .vast-skip-button,.romeo .vast-ad .vast-skip-counter,.romeo .vast-ad .vast-not-skip-offset,.romeo .vast-ad .moreBtn{height:38px}}.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:8px}}.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{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:flex;justify-content:center;align-items:center;border-radius:4px 0 0 4px;min-width:60px}.romeo .vast-ad .vast-skip-counter img,.romeo .vast-ad .vast-not-skip-offset img,.romeo .vast-ad .vast-skip-button img{height:100%}@media(max-width: 480px){.romeo .vast-ad .vast-skip-counter img,.romeo .vast-ad .vast-not-skip-offset img,.romeo .vast-ad .vast-skip-button img{display:none}}@media(max-width: 600px){.romeo .vast-ad .vast-skip-counter span,.romeo .vast-ad .vast-not-skip-offset span,.romeo .vast-ad .vast-skip-button span{min-width:50px}}.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}.romeo-aparat-sport .vast-ad .click-through .click-through-more{font-family:"Yekan Bakh","Open Sans",sans-serif}.romeo-aparat-sport .vast-ad .moreBtn>span{font-family:"Yekan Bakh","Open Sans",sans-serif}',""])},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:50%;left:50%;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:50%;left:50%;transform:translate(-50%, -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}.romeo-counter{color:rgba(255,255,255,.8);cursor:pointer;position:absolute;display:flex;bottom:5.5em;height:48px;transition:background-color 200ms ease;z-index:1;right:0}@media(max-width: 600px){.romeo-counter span{min-width:50px}}@media(max-width: 600px){.romeo-counter{height:38px}}.romeo-counter>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;background-color:rgba(0,0,0,.55);align-items:center;direction:rtl;display:flex;justify-content:center;align-items:center;border-radius:4px 0 0 4px;min-width:60px}@media(max-width: 600px){.romeo-counter>span{font-size:8px}}.romeo-counter>span:hover{background-color:rgba(0,0,0,.65)}.romeo-isTV-true .romeo-counter{bottom:200px}.romeo-aparat-sport .romeo-loading-spinner circle{stroke:#74c15c}.romeo-aparat-sport .romeo-overlay.show-bigplay{color:#74c15c}.romeo-aparat-sport .romeo-overlay.show-bigplay.first-play:after{border:6px solid #74c15c}.romeo-aparat-sport .romeo-counter>span{font-family:"Yekan Bakh","Open Sans",sans-serif}',""])},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:5.5em;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:48px;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;display:flex;direction:rtl}@media(max-width: 600px){.romeo .romeo-remain-count>span{height:38px}}@media(max-width: 600px){.romeo .romeo-remain-count>span{font-size:9px;margin-right:-5px;margin-top:8px}}.romeo-aparat-sport .romeo-remain-count>span{font-family:"Yekan Bakh","Open Sans",sans-serif}',""])},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)}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,exports:{}};return a[e].call(r.exports,r,r.exports,s),r.exports}s.m=a,e=[],s.O=function(t,r,o,n){if(!r){var a=1/0;for(u=0;u=n)&&Object.keys(s.O).every((function(e){return s.O[e](r[l])}))?r.splice(l--,1):(i=!1,n0&&e[u-1][2]>n;u--)e[u]=e[u-1];e[u]=[r,o,n]},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},r=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},s.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var n=Object.create(null);s.r(n);var a={};t=t||[null,r({}),r([]),r(r)];for(var i=2&o&&e;"object"==typeof i&&!~t.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((function(t){a[t]=function(){return e[t]}}));return a.default=function(){return e},s.d(n,a),n},s.d=function(e,t){for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=function(e){return Promise.all(Object.keys(s.f).reduce((function(t,r){return s.f[r](e,t),t}),[]))},s.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",988:"hls.light",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",2641:"romeo-ai-stats",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",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",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",7097:"dash-536eaa00",7249:"dash-fda4b5a7",7448:"settings-romeo",7739:"aparat-link-button",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",8839:"dash-9db5d9a1",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",9975:"autoplay-romeo"}[e]||e)+"."+{219:"8b3d1c659bdd01ceaa54",253:"113e16b56711b7f872d0",258:"cc17cb01809a6ecd2031",378:"68855bcec4c884f77ce4",550:"a7b205058b32c45ed0f6",578:"d9087a7742420fc296e3",927:"6f392550ba7bf56b716f",988:"a377ed5e2f076cbaa728",1116:"8d5677630c9523628209",1120:"ddc5a8ca1cd568760efb",1142:"7419894238817e1fd59f",1171:"9cfb2ed03fd9df51ac91",1200:"7609d1625a7a629e7f3e",1371:"767598cabbc179f795cb",1374:"48e0e48ff56fb49e74fa",1613:"e9d488582efcf91b8874",1651:"3f69b9399e5eaa889c3f",1734:"9b2e760e92cb4413e916",1924:"ea53341e0034e74a0e08",2041:"ff7373443fcfa1b7c78f",2075:"55a725b4af27751c29e2",2212:"9c1206ceefa0bf128e14",2226:"ab7aa1f1339cd057ea7c",2306:"ce539028766d0ef59dc4",2438:"b5547987ebc736f01d4d",2583:"c83422475e28d1bceef3",2641:"21ef42945e141e28bd93",2774:"847e655686c0465adc5a",2854:"620b8ce80638c122fa74",3245:"cf3bc3bb126ef23de59a",3336:"912ff20b770bfb8f79f5",3343:"367fce7747d8ecc5bc87",3400:"3d939151b599cacb70fc",3740:"b562708df11f4024441b",3781:"499d7ca0ba55b70b21e5",3862:"28ddbae6ac5f3a66503f",4060:"d9b2d47805499b55f8cf",4256:"add4de0b5a5814b78ebc",4328:"837e09cda9007e62fd93",4427:"288a6aa88979ab78f46a",4479:"d6b27f88e87848a199ad",4817:"a057113d415f18f8cf19",4960:"5cd913ef304426d236d7",4969:"7c14ff12c563c82834f7",5159:"e04812a55a1c99799698",5172:"3b317a6ce8f135cdcac7",5378:"caa98302702916c53fff",5466:"76c61bdd1bc125032a4d",5621:"54a06ba48cf322fc148c",5725:"d4d46217cd96657f22a7",5786:"657d96f32aac53be3f6c",5806:"aa03d6648c383d5dd03d",5912:"c1bbe72aeaff979cff35",6110:"95621e2a61ebb8181d71",6189:"43591619261dce13bd42",6417:"4f80e1713fc05f6f81e3",6435:"e66304b0dbf3edd669d1",6460:"e70bc2af2c5715e6928b",6653:"133cdd8113216346576d",6703:"c883c09a2f77adf8ab5e",6844:"4dd0689dc10701358978",6980:"6511f56882a9eed53621",7035:"d1275bc925f6fdbdf6d1",7058:"0e89131285078960fbb9",7073:"943e9731135314942535",7097:"99385de60650fe3dd09b",7249:"f62bc2454d64e80986dd",7448:"9a2eba666f5519abb13f",7739:"0b6271081a3ce2541417",7827:"d2b4482d38d31329488d",7940:"03665003143f8c6d1128",7984:"1939f00694ccccd7c882",8039:"94e149acbf10d60533e8",8464:"be9611dbce4d636bf877",8481:"ef186cd089d84c945648",8767:"6411e146a08681d3fead",8839:"068b248e7c036579a2a9",8991:"a74d4eb936cb09f47399",8994:"8f265c6bdc4557315c88",8996:"538d8da27aaec4c5b73e",9006:"c25dc8c0c54e856ff54d",9030:"b2960383a058edab61ee",9054:"165850cc6ae77ae25154",9113:"ad1118ee45d1a640cf21",9179:"55d4645c154c7df38c9e",9186:"2ddd6c70cc5cec78f758",9262:"f83b13083cb7bd221602",9525:"1ea5e07719d62687acc8",9532:"be840f1a08d7b896934b",9538:"b501e389e9a126612270",9638:"bdc47546e35d31a0930b",9914:"e68b1e5b633147b2d8fe",9975:"dede20ad17669a7400e7"}[e]+".chunk.js"},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o={},n="[name]:",s.l=function(e,t,r,a){if(o[e])o[e].push(t);else{var i,l;if(void 0!==r)for(var c=document.getElementsByTagName("script"),u=0;u