/*! * Aniview Content Player v8.5.13 * Build time: 2024-08-30T12:39:48.548Z * All rights reserved to ANIVIEW LTD 2024 */ /*! License information is available at LICENSE.txt */(window.webpackChunk_aniview_player=window.webpackChunk_aniview_player||[]).push([[522],{82445:function(t,e,n){"use strict";n.d(e,{w:function(){return _n}});var i=n(68645),o=n.n(i),r=n(15687),a=n.n(r),s=n(5561),l=n.n(s),c=n(67375),u=n.n(c),d=n(80300),h=n.n(d),p=n(58826),f=n.n(p),v=n(92664),m=n.n(v),g=n(7819),_=n.n(g),y=n(84827),w=n.n(y),S=n(8105),b=n.n(S),k=n(82945),x=n.n(k),C=n(86981),P=n.n(C),R=n(13464),B=n.n(R),I=n(90143),A=n.n(I),T=n(39290),L=n.n(T),F=n(8571),z=n.n(F),M=n(35704),V=n.n(M),E=n(72748),D=n(36535),W=n(43063),O=n(15763),N=n(70727),U=n(49941),Z=n(85380),H=n(75921),q=n(699),Y=n(91920),$=n(9222),X=n(25928),j=n(6426),G=n(54847),K=n.n(G),J=n(44016),Q=n.n(J),tt=n(10719),et=n.n(tt),nt=n(47667),it=n.n(nt),ot=n(98186),rt=n.n(ot),at=n(4945),st=n(68326),lt=(n(54877),n(8631)),ct=n(81165),ut=n(60539),dt=n(51791),ht=n.n(dt),pt=n(88946),ft=n.n(pt),vt=", ",mt="0s";function gt(t){var e;return ft()(e=(t||mt).split(vt)).call(e,(function(t){return e=t,1e3*Number(V()(e).call(e,0,-1).replace(",","."));var e}))}function _t(t,e){return void 0===e&&(e=[]),Math.max.apply(Math,l()(a(),ft()(e).call(e,(function(e,n){return e+t[n%t.length]}))))}var yt=function(t){return t.Run="run",t.BeforeStart="beforeStart",t.Start="start",t.End="end",t.Cancel="cancel",t}({}),wt={endEventName:"transitionend",properties:[],delays:[],durations:[],maxDelay:0,maxDuration:0,timeout:0};var St=function(){function t(t,e){var n=this;this.isExplicitDuration=!1,this.state=void 0,this.easing=wt,this.easingEndEventListener=void 0,this.easingEndTimerId=void 0,this.frameId=void 0,this.timerId=void 0,this.resolve=void 0,this.plugins=[],this.done=function(){n.removeEasingEndEventListener(),delete n.state.done,n.state.forced=!1,n.state.running=!1,n.emit(yt.End),n.state.forced||n.duration<=0?n.frameId=(0,lt.U7)((function(){return null==n.resolve?void 0:n.resolve(n.state)})):null==n.resolve||n.resolve(n.state)},this.onTransitionEnd=function(t){var e,i,o,r,a,s,l;(n.state.running&&t.target===n.target&&(e=n.easing,i=t.propertyName,o=e.properties,r=e.delays,a=e.durations,s=e.timeout,l="all"!==o[0]?ht()(o).call(o,i):0,r[l]+a[l]===s)||!t.target)&&n.done()},this.onAnimationEnd=function(t){var e,i,o,r,a,s,l;(n.state.running&&t.target===n.target&&(e=n.easing,i=t.animationName,o=e.names,r=e.delays,a=e.durations,s=e.timeout,l=ht()(o).call(o,i),r[l]+a[l]===s)||!t.target)&&n.done()},this.element=t,this.config=e,this.config=f()({},e);var i=this.target;this.state={currentTarget:this.element,target:i,forced:!1,running:!1},(0,ut.Z)(this.config.target)||delete this.config.target,isFinite(this.config.duration)&&(this.isExplicitDuration=!0)}var e=t.prototype;return e.use=function(t){this.plugins.push(t)},e.emit=function(t){var e,n,i=this;null==(e=this.config.events)||null==(n=e[t])||n.call(e,this.state),this.plugins.forEach((function(e){var n;null==e||null==(n=e[t])||n.call(e,i.state)}))},e.run=function(t){var e=this;void 0===t&&(t=!1),this.cancel(),this.state.target=this.target,this.state.forced=t,this.emit(yt.BeforeStart),this.state.running=!0;var n=new at.Z((function(t){e.resolve=t}));return this.onNextFrame((function(){e.state.done=e.done,e.emit(yt.Start),e.isExplicitDuration||t?e.duration>0&&!t?e.timerId=window.setTimeout(e.done,e.duration):e.done():(e.computeEasing(),e.easingEndEventListener&&e.easing.timeout>0?e.addEasingEndEventListener():e.done())})),n},e.deactivate=function(){return this.cancelNextFrame(),this.state.done&&this.removeEasingEndEventListener(),this.state.target=this.target,this.state.forced=!1,this.state.running=!1,this},e.cancel=function(t){var e;if(void 0===t&&(t=!1),t||this.state.running)return this.deactivate(),this.emit(yt.Cancel),null==(e=this.resolve)||e.call(this,this.state),this},e.onNextFrame=function(t){var e=this;this.state.forced||this.isExplicitDuration&&this.duration<=0?t():this.frameId=(0,lt.U7)((function(){e.frameId=(0,lt.U7)(t)}))},e.cancelNextFrame=function(){this.timerId?(window.clearTimeout(this.timerId),this.timerId=void 0):this.frameId&&((0,ct.Wx)(this.frameId),this.frameId=void 0)},e.addEasingEndEventListener=function(){this.target.addEventListener(this.easing.endEventName,this.easingEndEventListener,{passive:!0}),this.easingEndTimerId=window.setTimeout(this.easingEndEventListener,this.easing.timeout+1,{})},e.removeEasingEndEventListener=function(){this.target.removeEventListener(this.easing.endEventName,this.easingEndEventListener),window.clearTimeout(this.easingEndTimerId),this.easingEndEventListener=void 0},e.computeEasing=function(){var t,e,n,i,o,r,a=window.getComputedStyle(this.target),s=(e=(t=a).transitionDelay,n=t.transitionDuration,i=t.transitionProperty,o=gt(e),r=gt(n),{endEventName:"transitionend",properties:(i||"all").split(vt),delays:o,durations:r,maxDelay:Math.max.apply(Math,o),maxDuration:Math.max.apply(Math,r),timeout:_t(o,r)}),l=function(t){var e=t.animationDelay,n=t.animationDuration,i=t.animationName,o=gt(e),r=gt(n);return{endEventName:"animationend",names:(i||"none").split(vt),delays:o,durations:r,maxDelay:Math.max.apply(Math,o),maxDuration:Math.max.apply(Math,r),timeout:_t(o,r)}}(a);s.timeout>0&&s.timeout>=l.timeout?(this.easing=s,this.easingEndEventListener=this.onTransitionEnd):l.timeout>0?(this.easing=l,this.easingEndEventListener=this.onAnimationEnd):this.easing=wt},m()(t,[{key:"target",get:function(){return this.config.target?this.element.querySelector(this.config.target):this.element}},{key:"duration",get:function(){return(this.isExplicitDuration?this.config.duration:this.easing.timeout)||0}},{key:"isRunning",get:function(){return this.state.running}}]),t}(),bt=function(){function t(t,e){this.name=void 0,this.config=void 0,this.name=t,this.config=f()({},e)}var e=t.prototype;return e.beforeStart=function(t){this.cancel(t),t.target.classList.add(this.fromClass,this.commonActiveClass,this.activeClass)},e.start=function(t){t.target.classList.remove(this.fromClass),t.target.classList.add(this.toClass)},e.end=function(t){t.target.classList.remove(this.toClass,this.commonActiveClass,this.activeClass),t.target.classList.add(this.doneClass)},e.cancel=function(t){t.target.classList.remove(this.fromClass,this.toClass,this.commonActiveClass,this.activeClass,this.doneClass)},m()(t,[{key:"fromClass",get:function(){var e,n;return this.config.fromClass||(this.config.fromClass=z()(e=z()(n="".concat(this.classPrefix||t.CLASS_PREFIX_FROM)).call(n,this.name)).call(e,t.CLASS_SUFFIX_FROM))}},{key:"activeClass",get:function(){var e,n;return this.config.activeClass||(this.config.activeClass=z()(e=z()(n="".concat(this.classPrefix||t.CLASS_PREFIX_ACTIVE)).call(n,this.name)).call(e,t.CLASS_SUFFIX_ACTIVE))}},{key:"toClass",get:function(){var e,n;return this.config.toClass||(this.config.toClass=z()(e=z()(n="".concat(this.classPrefix||t.CLASS_PREFIX_TO)).call(n,this.name)).call(e,t.CLASS_SUFFIX_TO))}},{key:"doneClass",get:function(){var e,n;return this.config.doneClass||(this.config.doneClass=z()(e=z()(n="".concat(this.classPrefix||t.CLASS_PREFIX_DONE)).call(n,this.name)).call(e,t.CLASS_SUFFIX_DONE))}},{key:"commonActiveClass",get:function(){var e;return this.config.commonActiveClass||(this.config.commonActiveClass=z()(e="".concat(this.classPrefix||t.CLASS_PREFIX_ACTIVE,"transition")).call(e,t.CLASS_SUFFIX_ACTIVE))}},{key:"classPrefix",get:function(){return this.config.classPrefix||""}},{key:"detail",get:function(){return{fromClass:this.fromClass,activeClass:this.activeClass,toClass:this.toClass,doneClass:this.doneClass,classPrefix:this.classPrefix,commonActiveClass:this.commonActiveClass}}}]),t}();bt.CLASS_PREFIX_FROM="",bt.CLASS_PREFIX_ACTIVE="",bt.CLASS_PREFIX_TO="",bt.CLASS_PREFIX_DONE="",bt.CLASS_SUFFIX_FROM="-from",bt.CLASS_SUFFIX_ACTIVE="-active",bt.CLASS_SUFFIX_TO="-to",bt.CLASS_SUFFIX_DONE="-done";var kt=new(rt()),xt=new(rt()),Ct=new(rt()),Pt=new(rt()),Rt=function(){function t(t,e){var n=this;this.config=void 0,this.enterTransition=void 0,this.leaveTransition=void 0,this.promise=void 0,this.visiblePromise=void 0,this.visiblePromiseResolve=void 0,Q()(this,kt,{writable:!0,value:!1}),Q()(this,xt,{writable:!0,value:!1}),Q()(this,Ct,{writable:!0,value:!1}),Q()(this,Pt,{writable:!0,value:!1}),this.element=t;var i={currentTarget:t,target:t,forced:!1,running:!1};this.promise=at.Z.resolve(i),this.visiblePromise=new at.Z((function(t){n.visiblePromiseResolve=t})),this.setConfig(e)}var e=t.prototype;return e.setConfig=function(t){var e,n=this,i=Boolean(null==(e=t)?void 0:e.name);t=f()({leaveType:"hidden",css:i},t),i||(t.duration=0),this.config&&it()(this,xt)&&this.config.leaveType!==t.leaveType&&(Bt(this.element,this.config.leaveType),It(this.element,t.leaveType));var o=t.duration,r=o,a=o;(0,st.Z)(o)&&(r=o.enter,a=o.leave);var s=new St(this.element,{duration:r}),l=new St(this.element,{duration:a});if(s.use({beforeStart:function(e){et()(n,xt,!1),l.cancel(!0),n.visiblePromiseResolve||(n.visiblePromise=new at.Z((function(t){n.visiblePromiseResolve=t}))),Bt(e.target,t.leaveType),et()(n,Ct,!0)},start:function(t){n.visiblePromiseResolve(t),n.visiblePromiseResolve=null},end:function(){et()(n,kt,!0),et()(n,Ct,!1)},cancel:function(){(it()(n,Ct)||it()(n,xt))&&(n.visiblePromise=new at.Z((function(t){n.visiblePromiseResolve=t}))),et()(n,Ct,!1)}}),l.use({beforeStart:function(){et()(n,kt,!1),s.cancel(!0),n.visiblePromiseResolve||(n.visiblePromise=new at.Z((function(t){n.visiblePromiseResolve=t}))),et()(n,Pt,!0)},end:function(e){It(e.target,t.leaveType),et()(n,xt,!0),et()(n,Pt,!1)},cancel:function(){et()(n,Pt,!1)}}),t.css&&t.name){var c=new bt("".concat(t.name,"-enter"),{fromClass:t.enterClass,activeClass:t.enterActiveClass,toClass:t.enterToClass,doneClass:t.enterDoneClass,classPrefix:t.classPrefix}),u=new bt("".concat(t.name,"-leave"),{fromClass:t.leaveClass,activeClass:t.leaveActiveClass,toClass:t.leaveToClass,doneClass:t.leaveDoneClass,classPrefix:t.classPrefix});s.use(c),l.use(u)}this.config=t,this.enterTransition=s,this.leaveTransition=l},e.enter=function(t){return void 0===t&&(t=!1),t||!this.hasEntered&&!this.enterTransition.isRunning?(this.promise=this.enterTransition.run(t),this.promise):this.promise},e.leave=function(t){return void 0===t&&(t=!1),t||!this.hasLeft&&!this.leaveTransition.isRunning?(this.promise=this.leaveTransition.run(t),this.promise):this.promise},e.cancel=function(t){return void 0===t&&(t=!1),this.enterTransition.cancel(t),this.leaveTransition.cancel(t),this},e.destroy=function(){it()(this,xt)&&Bt(this.element,this.config.leaveType),this.cancel(!0)},e.with=function(t){return new this.constructor(this.element,f()({},this.config,t))},m()(t,[{key:"isRunning",get:function(){return this.isEntering||this.isLeaving}},{key:"whenFinished",get:function(){return this.promise}},{key:"whenVisible",get:function(){return this.visiblePromise}},{key:"hasEntered",get:function(){return it()(this,kt)}},{key:"isEntering",get:function(){return this.enterTransition.isRunning}},{key:"hasLeft",get:function(){return it()(this,xt)}},{key:"isLeaving",get:function(){return this.leaveTransition.isRunning}}]),t}();function Bt(t,e){switch(void 0===e&&(e=!1),e){case"invisible":t.style.setProperty("visibility","");break;case"inert":t.removeAttribute("inert");break;case"blank":t.style.setProperty("visibility",""),t.removeAttribute("inert");break;case"hidden":t.style.setProperty("display","")}}function It(t,e){switch(void 0===e&&(e=!1),e){case"invisible":t.style.setProperty("visibility","hidden");break;case"inert":t.setAttribute("inert","");break;case"blank":t.style.setProperty("visibility","hidden"),t.setAttribute("inert","");break;case"hidden":t.style.setProperty("display","none")}}var At,Tt,Lt,Ft=n(13717),zt=n(18402),Mt=n.n(zt);At=(0,Ft.b)({scope:"transient"});var Vt=function(){function t(){this.transitionMap=new(K())}var e=t.prototype;return e.set=function(t,e){var n,i=null==(n=Mt().scope)?void 0:n.name,o=f()({classPrefix:i?"".concat(i,"-"):void 0},e),r=this.get(t);return r?(r.cancel(!0),r.setConfig(o)):r=new Rt(t,o),this.transitionMap.set(t,r),r},e.get=function(t){return this.transitionMap.get(t)},e.delete=function(t){var e=this.get(t);e&&(e.destroy(),this.transitionMap.delete(t))},e.clear=function(){this.transitionMap.forEach((function(t){t.destroy()})),this.transitionMap.clear()},m()(t)}();Tt=Vt;var Et=l()(u(),x()(Tt,[],[At]).c,2);Lt=Et[0],(0,Et[1])();var Dt=n(10349),Wt=n.n(Dt);var Ot,Nt,Ut,Zt=n(5177),Ht=n.n(Zt),qt=n(80093),Yt=n.n(qt),$t=n(36594),Xt=n.n($t),jt=n(1440),Gt=n.n(jt),Kt=n(23513),Jt=n.n(Kt),Qt=n(53706),te=n.n(Qt),ee=n(67552),ne=n.n(ee),ie=n(73324),oe=n.n(ie),re=n(91829),ae=n.n(re),se=n(62079),le=n.n(se),ce=n(45826),ue=n(66772),de=n(92699),he=n(85940),pe=["key"],fe=0,ve=function(){return!0};function me(t,e){var n,i;return(0,ut.Z)(t)?z()(n="".concat(e,"_")).call(n,t):null!=t?t:z()(i="".concat(e,"_")).call(i,++fe)}Nt=(0,Ft.b)({scope:"transient"}),new(function(t){t=function(){function t(){this.ownerComponent=(0,D.f)(j.Ko),this.watcher=(0,D.f)($.C),this.app=(0,D.f)(j.Sq),this.diContainer=void 0,this.layout=[],this.mountedComponents=new(K()),this.pendingMountComponents=new(Jt()),this.diContainer=this.app.container}var e=t.prototype;return e.setLayout=function(t){var e=this;if(this.layout=t,!(t.length<=0)){var n,i=Xt()(t,!0);try{var o=function(){var t=n.value,i=t.component,o=t.host,r=t.showWhen,s=t.transition,c=void 0!==s&&s,d=t.list,p=t.seat,v=void 0===p?0:p,m=t.props,g=t.keepAlive,_=t.renderWhen?function(){return!!t.renderWhen()}:function(){return!0},y=e.asWatchSource(i),w=e.asWatchSource(o),S=e.asWatchSource(v),b=e.asWatchSource(d),k=e.asWatchSource(m),x=(0,he._t)(y()).name,C=!1;t.key=me(t.key,x),e.watcher.watch([y,w,_,b,S,k],(function(n,i){var o=l()(u(),n,6),s=o[0],d=o[1],p=o[2],v=o[3],m=o[4],_=o[5],y=l()(u(),i,6),w=y[0],S=y[1],b=y[2],k=void 0!==b&&b,R=y[3],I=void 0===R?[]:R,A=y[4],T=y[5];if(w&&s!==w&&e.queueComponentDestroy({component:e.getComponent(w,t),keepAlive:g,transition:c}),s){var L=function(t,e){if(t&&e){var n=le()(t);return n.some((function(n){return(0,ue.Z)(t[n],e[n])}))||n.length!==le()(e).length}return!!(t&&!e||!t&&e)}(_,T),F=!!v&&v!==I,M=p!==k,E=p&&(s!==w||!!d&&d!==S||m!==A);if(M||E||(E||F)||p&&(L||F)){var D,W;if(p&&!d){var O=e.getComponentClassSeat(s,m);d=O.commentNode.parentElement,D=W=O.commentNode}if(v)for(var N,U,Z=te()(N=z()(U=[]).call(U,l()(a(),v),l()(a(),I))).call(N,(function(t,e){return B()(t).call(t,(function(t){return e.key===t.key}))>=0||t.push(e),t}),[]),H=function(){var n,i=Z[q],o=i.key,a=h()(i,pe),l=me(o,x),u=!I.some((function(t){return t.key===o})),p=!u&&v.some((function(t){return t.key===o})),m=e.getComponent(s,f()({},t,{props:i,key:l}));if((u||p)&&(ne()(m,a),p))return"continue";var _=P()(n=V()(v).call(v,q+1)).call(n,(function(t){var e=t.key;return I.some((function(t){return t.key===e}))})),y=_&&me(_.key,x),w=_&&e.diContainer.has(y)?e.diContainer.get(y):null;D=w&&e.mountedComponents.has(w)?w.host:W,e.queueComponentMountToOrDestroy({component:m,contextElement:u?d:void 0,nextSibling:D,key:l,showWhen:r,keepAlive:g,transition:c},C)},q=0;q/]|\\s*?\\/?>)"),"g"),Ve=new RegExp("(class\\s*?=(?:\\s*?[\"'])?|\\s+?)".concat(Le,"(?![\\s\"'=>])"),"g"),Ee="$|[{\\s,:>+~.#[]",De=new RegExp(z()(be="#".concat(Le,"(")).call(be,Ee,")"),"g"),We=new RegExp(z()(ke="(\\.)".concat(Le,"(?!")).call(ke,Ee,")"),"g"),Oe=Ze(Fe,Ae),Ne=Ze(Le,Ae),Ue=new RegExp("".concat(Ae===Be?"(\\.)".concat(Le,"(-h)"):"(\\[)".concat(Le,"(-h])")),"g");function Ze(t,e){var n,i,o;return void 0===e&&(e=Re),new RegExp(z()(n="".concat(e===Be?z()(i="(\\.)".concat(t,"(")).call(i,Ee,")"):z()(o="(\\[)".concat(t,"(](?:")).call(o,Ee,"))"),"|([\\w_-]-)")).call(n,t,"(\\s*(?:[{\\d.,;]|var\\(--))"),"g")}xe=(0,Ft.b)();var He=function(){function t(){this.app=(0,D.f)(j.Sq)}var e=t.prototype;return e.addHtmlScope=function(t,e){var n=e.scopeId,i=Mt().scope;if(!(null==i?void 0:i.token))return t;var o=this.app.scopeId;i.classPrefix&&(t=t.replace(Ve,"$1".concat(ze)));var r="";return i.global&&(r+=o||""),i.local&&(r&&(r+=" "),r+=n),t=t.replace(Me,"$1".concat(r,"$2"))},e.addCssScope=function(t,e){var n=e.scopeId,i=Mt().scope;if(!(null==i?void 0:i.token))return t;var o=this.app,r=o.rootSelector,a=o.scopeId;return t=t.replace(Ue,"$1".concat(n,"$2")),i.rootId&&(t=t.replace(De,"".concat(r,"$1"))),i.classPrefix&&(t=t.replace(We,"$1".concat(ze))),i.global&&(t=t.replace(Oe,"$1".concat(a||"","$2"))),i.local&&(t=t.replace(Ne,"$1$3".concat(n||"","$2$4"))),t},m()(t)}();Ce=He;var qe=l()(u(),x()(Ce,[],[xe]).c,2);Pe=qe[0],(0,qe[1])();var Ye="fragment",$e="template";function Xe(t,e){return("svg"===e?Ge:je)(t)}var je="content"in Je($e)?function(t){var e=Je($e);return e.innerHTML=t,e.content}:function(t){var e,n=Je(Ye),i=Je($e),o=t.match(/^\s*?<(col(?:group)?|t(?:head|body|foot|r|d|h))/i);if(o){var r=o[1];i.innerHTML="".concat(t,"
"),e=i.querySelectorAll(r)}else i.innerHTML=t,e=i.childNodes;return Ke(n,e),n};function Ge(t){var e=Je(Ye),n=Je("div");return n.innerHTML=''+t+"",Ke(e,n.firstChild.childNodes),e}function Ke(t,e){for(var n=e.length;--n;)t.appendChild(e[0])}function Je(t){return t===Ye?document.createDocumentFragment():document.createElement(t)}var Qe,tn,en,nn=n(29898),on=n.n(nn),rn=n(79075);Qe=(0,Ft.b)();var an=function(){function t(){this.app=(0,D.f)(j.Sq)}var e=t.prototype;return e.prepareMountSeats=function(t){var e=this,n=new(K()),i=t.querySelectorAll(l()(a(),on()(rn.J).call(rn.J)).join(","));return Array.prototype.forEach.call(i,(function(t){var i=t.nodeName.toLowerCase(),o=rn.J.get(i);if(o){var r=n.get(o)||[];r.push(e.createMountSlot(t,r.length)),n.has(o)||n.set(o,r)}})),n},e.createMountSlot=function(t,e){var n=t.getAttribute("seat")||e,i=document.createComment("");t.removeAttribute("seat"),t.parentNode.insertBefore(i,t),t.parentNode.removeChild(t);var o=te()(Array.prototype).call(t.children,(function(t,e){var n=e.getAttribute("slot")||"default";return t[n]||(t[n]=[]),t[n].push(e),t}),{});return{commentNode:i,hostElement:t,seat:n,slots:o}},m()(t)}();tn=an;var sn,ln,cn,un=l()(u(),x()(tn,[],[Qe]).c,2);en=un[0],(0,un[1])(),sn=(0,Ft.b)({scope:"transient"});var dn=function(){function t(){this.app=(0,D.f)(j.Sq),this.metadata=(0,D.f)(he.zV),this.scope=(0,D.f)(Pe),this.seatManager=(0,D.f)(en),this.host=void 0,this.mountSeats=void 0,this.host=this.createElement(this.metadata.name),this.addHostScopeId()}var e=t.prototype;return e.render=function(t,e){void 0===e&&(e="default"),this.metadata.fragments[e]||(this.metadata.fragments[e]=Xe(this.addScopeId(t)));var n=this.metadata.fragments[e].cloneNode(!0);return this.mountSeats=this.seatManager.prepareMountSeats(n),n},e.addHostScopeId=function(){pn(this.host,this.hostScopeId)},e.addScopeId=function(t){return this.scope.addHtmlScope(t,{scopeId:this.metadata.scopeId})},e.addStyles=function(t,e){var n,i=this;if(void 0===e&&(e=this.app.insertStyleBefore),!t)return[];var o=this.app,r=o.root,a=o.isInShadowRoot;return ft()(n=Array.isArray(t)?_e()(t).call(t,1/0):[t]).call(n,(function(t,n){var o;a&&(t=t.replace(/:root/g,":host"));var s=(0,ye.d)(i.scope.addCssScope(t,i.metadata));return null!=(o=e)&&o.parentNode?e.parentNode.insertBefore(s,e):r.appendChild(s),s}))},e.createElement=function(t,e){void 0===e&&(e={});var n,i,o=this.app.scopeId,r=this.metadata.scopeId,s=document.createElement(t);(o&&pn(s,o),r&&pn(s,r),e.class)&&(n=s.classList).add.apply(n,l()(a(),ft()(i=e.class.split(" ")).call(i,(function(t){return(0,we.q)(t)}))));return e.style&&s.setAttribute("style",e.style),e.content&&(s.textContent=e.content),s},e.querySelector=function(t,e){return void 0===e&&(e=this.host),e.querySelector(Se(t))},e.querySelectorAll=function(t,e){return void 0===e&&(e=this.host),e.querySelectorAll(Se(t))},m()(t,[{key:"hostScopeId",get:function(){return"".concat(this.metadata.scopeId,"-h")}},{key:"hostScopeIdSelector",get:function(){return Mt().scope.type===Be?".".concat(this.hostScopeId):"[".concat(this.hostScopeId,"]")}}]),t}();ln=dn;var hn=l()(u(),x()(ln,[],[sn]).c,2);function pn(t,e){Mt().scope.type===Be?t.classList.add(e):t.setAttribute(e,"")}cn=hn[0],(0,hn[1])();var fn,vn,mn,gn=["when"],_n=function(t){w()(n,t);var e=b()(n);function n(){var t;return(t=e.call(this)).showWhen=(vn(_()(t)),fn(_()(t),(0,D.f)(j.oW))),t.app=(0,D.f)(j.Sq),t.transitionManager=(0,D.f)(Lt),t.eventManager=(0,D.f)(O.Q),t.watcher=(0,D.f)($.C),t.uid=(0,X.U)(),t.order=t.uid,t.isInited=!1,t.isMounted=!1,t.renderer=void 0,t.children=[],t.refs={},t.metadata=void 0,t.diContainer=void 0,t.componentManager=void 0,t.effectScope=void 0,t.transitionConfig={},t.forceTransitionSources=[],t.metadata=(0,he._t)(t.constructor),t}var i=n.prototype;return i.render=function(){return this.renderer.render(this.constructor.template)},i.activate=function(){var t=this;this.isActivated||(this.effectScope=(0,N.B)(),this.effectScope.order=this.order,this.effectScope.run((function(){t.componentManager.activateChildren(),t.initEvents(),t.onActivated(),t.emit("activated")})))},i.mount=function(t,e){var n,i,o,r=void 0===e?{}:e,a=r.nextSibling,s=r.seatElement,l=r.parentComponent,c=r.transition,u=void 0!==c&&c;this.isInited?this.order=(0,X.U)():(this.diContainer=this.app.container.of(this.metadata.scopeId),this.diContainer.set({id:j.Ko,value:this}),this.diContainer.set({id:j.xI,value:this.diContainer}),this.diContainer.set({id:he.zV,value:this.metadata}),this.renderer=this.diContainer.get(cn),this.componentManager=this.diContainer.get(Ut),s&&(!function(t){for(;t.attributes.length>0;)t.removeAttribute(t.attributes[0].name)}(this.host),i=this.host,o=s,Wt()(o.attributes).forEach((function(t){i.setAttribute(t.nodeName,t.nodeValue)}))),this.renderer.addHostScopeId(),l&&(this.host.removeAttribute(this.metadata.scopeId),this.host.setAttribute(l.scopeId,"")),this.init());var d={contextElement:t},h="open"===(null==(n=t.shadowRoot)?void 0:n.mode)?t.shadowRoot:t;this.isHidden?this.hide(!this.isMounted||!u):this.transition.isEntering||this.show(!u),this.emit("beforeMount",d),a?h.insertBefore(this.host,a):h.appendChild(this.host),this.isMounted||this.componentManager.setLayout(this.childrenLayout),this.activate(),!this.isMounted&&this.isHidden,this.isMounted=!0,this.emit("mounted",d)},i.deactivate=function(){var t;this.isActivated&&(this.eventManager.clearListeners(),this.watcher.dispose(),this.componentManager.deactivateChildren(),null==(t=this.effectScope)||t.stop(),this.onDeactivated(),this.emit("deactivated"),this.removeAllListeners({except:"unmounted"}))},i.detach=function(){var t;this.deactivate(),null==(t=this.host.parentElement)||t.removeChild(this.host)},i.unmount=function(){this.emit("beforeUnmount"),this.detach(),this.componentManager.unmountChildren(),this.isMounted=!1,this.emit("unmounted"),this.removeAllListeners("unmounted")},i.destroy=function(){var t;this.emit("beforeUnmount"),this.detach(),this.detachStyles(),this.componentManager.destroyChildren(),this.isMounted=!1,null==(t=this.diContainer)||t.dispose(),this.transitionManager.clear(),this.isInited=!1,this.emit("unmounted"),this.removeAllListeners("unmounted"),this.diContainer=this.renderer=this.componentManager=void 0},i.watch=function(t,e,n){return this.watcher.watch(t,e,f()({order:this.order},n))},i.getChild=function(t){var e;return P()(e=this.children).call(e,(function(e){return e instanceof t}))},i.show=function(t){return void 0===t&&(t=!1),this.transition.enter(t)},i.hide=function(t){return void 0===t&&(t=!1),this.transition.leave(t)},i.$on=function(t,e,n,i){var o=this,r=(0,H.Z)(i)?i:{},a=r.when,s=h()(r,gn);a?(0,U.YP)(a,(function(i){i?o.eventManager.addListener(t,e,n,s):o.eventManager.removeListener(t,e,n,s)}),{immediate:!0}):this.eventManager.addListener(t,e,n,s)},i.$off=function(t,e,n,i){this.eventManager.removeListener(t,e||null,n||null,i||null)},i.init=function(){this.attachStyles(),this.host.classList.add(this.tagName),this.host.appendChild(this.render()),this.findRefs(),this.transitionManager.set(this.host,this.transitionConfig),this.isInited=!0},i.attachStyles=function(){this.stylesAdded?this.metadata.styleMap.get(this.app.id).ids.push(this.uid):this.metadata.styleMap.set(this.app.id,{ids:[this.uid],styles:this.renderer.addStyles(this.constructor.styles)})},i.detachStyles=function(){var t,e,n=this;if(this.stylesAdded){var i=this.metadata.styleMap.get(this.app.id),o=B()(t=i.ids).call(t,(function(t){return t===n.uid}));o<0||(A()(e=i.ids).call(e,o,1),i.ids.length>0||(i.styles.forEach((function(t){var e;null==(e=t.parentElement)||e.removeChild(t)})),this.metadata.styleMap.delete(this.app.id)))}},i.onActivated=function(){},i.onDeactivated=function(){},i.updateTransition=function(t,e,n){void 0===n&&(n=this.isHidden);var i=this.transitionManager.set(t,e);return n?i.leave(!0):i.enter(!0),i},i.registerCssProperties=function(t){for(var e=this,n=function(){var t,n=l()(u(),o[i],2),r=n[0],a=n[1],s=a.global,c=void 0!==s&&s,d=a.value,h=a.unit,p=void 0===h?"":h,f=z()(t="--".concat(c?e.app.scopeId:e.tagName,"-")).call(t,(0,q.G)(r));(0,U.YP)(d,(function(t){var n;(0,Y.Z)(t)||Number.isNaN(t)?e.host.style.removeProperty(f):e.host.style.setProperty(f,z()(n="".concat(t)).call(n,p))}),{immediate:!0})},i=0,o=L()(t);i1?n-1:0),r=1;r0?a()(t).call(t,(function(t,e){var n,r;return o()(n="".concat(t)).call(n,String(null!=(r=i[e])?r:""))})).join(""):t[0])}},57248:function(t,e,n){"use strict";function i(t,e){void 0===e&&(e=document);var n=e.createElement("style");return n.appendChild(e.createTextNode(t)),n}n.d(e,{d:function(){return i}})},32844:function(t,e,n){"use strict";n.d(e,{Q:function(){return z}});var i=n(88946),o=n.n(i),r=n(35704),a=n.n(r),s=n(35024);var l,c,u,d,h=n(8571),p=n.n(h),f=RegExp(p()(l=p()(c="[".concat("\\u200d").concat("\\ud800-\\udfff")).call(c,"\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff")).call(l,"\\ufe0e\\ufe0f","]"));function v(t){return f.test(t)}var m="\\ud800-\\udfff",g="[".concat(m,"]"),_="[".concat("\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff","]"),y="\\ud83c[\\udffb-\\udfff]",w="(?:".concat(_,"|").concat(y,")"),S="[^".concat(m,"]"),b="(?:\\ud83c[\\udde6-\\uddff]){2}",k="[\\ud800-\\udbff][\\udc00-\\udfff]",x="".concat(w,"?"),C="[".concat("\\ufe0e\\ufe0f","]?"),P=C+x+p()(u="(?:".concat("\\u200d","(?:").concat([S,b,k].join("|"),")")).call(u,C+x,")*"),R="".concat(S).concat(_,"?"),B="(?:".concat([R,_,b,k,g].join("|"),")"),I=RegExp(p()(d="".concat(y,"(?=").concat(y,")|")).call(d,B+P),"g");function A(t){return v(t)?function(t){return t.match(I)||[]}(t):function(t){return t.split("")}(t)}var T,L=(T="toUpperCase",function(t){if(!t)return"";var e,n,i,o=v(t)?A(t):void 0,r=o?o[0]:t[0],l=o?(e=o,n=1,void 0===i&&(i=e.length),!n&&i>=e.length?e:(0,s.t)(e,n,i)).join(""):a()(t).call(t,1);return r[T]()+l}),F=n(57620);function z(t){var e,n=o()(e=(0,F.z)(t)).call(e,(function(t){return t.toLowerCase()})).join(" ");return L(n)}},90914:function(t,e,n){"use strict";n.d(e,{O:function(){return s}});var i,o,r,a,s,l=n(5561),c=n.n(l),u=n(67375),d=n.n(u),h=n(92664),p=n.n(h),f=n(82945),v=n.n(f),m=n(83103),g=n(87551),_=n(36783),y=n(36535),w=n(13717),S=n(85380),b=n(77181);i=(0,w.b)(),a=function(){function t(){this.isActive=(r(this),o(this)),this.config=(0,m.Df)(),this.playerState=(0,y.f)(g.f),this.contentState=(0,y.f)(_.M),this.overlayState=(0,y.f)(b.m),this.isActive=this.config.autoSkip.enable}return p()(t,[{key:"shouldRender",get:function(){return!(this.contentState.isLiveStream||!this.config.autoLoop&&this.contentState.isLastContent)&&this.config.autoSkip.enable}},{key:"shouldShow",get:function(){if(!(this.shouldRender&&this.playerState.isContentOwner&&this.isActive&&this.contentState.wasPlayed))return!1;var t=this.config.autoSkip.time;if(!(t>0&&t=t-Math.min(n,t)&&e<=t&&!this.overlayState.isOpen}}]),t}();var k=v()(a,[[S.F,3,"shouldRender"],[S.F,3,"shouldShow"],[S.q,0,"isActive"]],[i]),x=c()(d(),k.e,2);o=x[0],r=x[1];var C=c()(d(),k.c,2);s=C[0],(0,C[1])()},66355:function(t,e,n){"use strict";n.d(e,{m:function(){return a}});var i,o,r,a,s=n(5561),l=n.n(s),c=n(67375),u=n.n(c),d=n(92664),h=n.n(d),p=n(82945),f=n.n(p),v=n(13717),m=n(85380);i=(0,v.b)(),r=h()((function(){this.autoFocusMiddleControl=o(this,!1)}));var g=f()(r,[[m.q,0,"autoFocusMiddleControl"]],[i]),_=l()(u(),g.e,1);o=_[0];var y=l()(u(),g.c,2);a=y[0],(0,y[1])()},49824:function(t,e,n){"use strict";n.d(e,{U:function(){return s}});var i,o,r,a,s,l=n(5561),c=n.n(l),u=n(67375),d=n.n(u),h=n(92664),p=n.n(h),f=n(82945),v=n.n(f),m=n(35704),g=n.n(m),_=n(13464),y=n.n(_),w=n(8571),S=n.n(w),b=n(13717),k=n(85380);i=(0,b.b)(),a=function(){function t(){this.path=(r(this),o(this,[]))}var e=t.prototype;return e.push=function(t){this.path=t},e.goTo=function(t){if(0===t)this.collapse();else if(this.selectedMenu){var e;return this.path=g()(e=this.path).call(e,0,t),!0}return!1},e.back=function(){return this.goTo(-1)},e.toggle=function(t){var e,n,i=y()(e=this.path).call(e,(function(e){return t===e}));i>=0?this.goTo(i):this.path=S()(n=this.path).call(n,t)},e.collapse=function(){this.path=[]},p()(t,[{key:"isOpen",get:function(){return!!this.selectedMenu}},{key:"selectedMenu",get:function(){return this.path.length>0?this.path[this.path.length-1]:null}}]),t}();var x=v()(a,[[k.F,3,"isOpen"],[k.F,3,"selectedMenu"],[k.q,0,"path"]],[i]),C=c()(d(),x.e,2);o=C[0],r=C[1];var P=c()(d(),x.c,2);s=P[0],(0,P[1])()},68743:function(t,e,n){"use strict";n.r(e),n.d(e,{PlayerUi:function(){return bk}});var i=n(5561),o=n.n(i),r=n(67375),a=n.n(r),s=n(5177),l=n.n(s),c=n(80093),u=n.n(c),d=n(92664),h=n.n(d),p=n(44775),f=n.n(p),v=n(55536),m=n.n(v),g=n(84827),_=n.n(g),y=n(8105),w=n.n(y),S=n(82945),b=n.n(S),k=n(8571),x=n.n(k),C=n(22393),P=n(51791),R=n.n(P),B=n(3655);function I(t){var e=this.parentNode;return!!e&&R()(Array.prototype).call(e.querySelectorAll(t),this)>-1}var A=B.aF?function(t,e){return t.matches(e)}:function(t,e){return(t.matchesSelector||t.webkitMatchesSelector||t.khtmlMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||I).call(t,e)},T=n(7890),L=n(87551),F=n(33486),z=n(36535),M=0,V="ArrowDown",E="ArrowLeft",D="ArrowRight",W="ArrowUp",O="Enter",N="Escape",U="Space",Z="KeyF",H="KeyM",q=n(49941),Y=n(6913),$=n(3753),X=n(57248),j=n(66355),G=n(15687),K=n.n(G),J=n(58826),Q=n.n(J),tt=n(7819),et=n.n(tt),nt=n(14490),it=n.n(nt),ot=n(88946),rt=n.n(ot),at=n(53706),st=n.n(at),lt=n(32801),ct=n(82445),ut=n(8564),dt=n(83103),ht=n(82807),pt=n(15170),ft=n(1974),vt=n(38114),mt=n(80117),gt=n(43849),_t=n(36783),yt=n(44157),wt=n(33884),St=n(85380),bt=n(35639),kt=n(65578),xt=n(60539);function Ct(t){for(var e=t.containerBlockSize,n=void 0===e?1/0:e,i=t.viewAspectRatio,r=t.listOffset,s=t.listMaxInlineSize,l=t.listMaxBlockSize,c=t.minItemsPerPage,u=t.maxItemsPerPage,d=t.itemGap,h=t.itemAspectRatio,p=t.itemMinWidth,f=t.itemMinHeight,v=t.isVertical,m=!!i,g=v?[f,p,1/h]:[p,f,h],_=o()(a(),g,3),y=_[0],w=_[1],S=_[2],b=l,k=(0,Y.Z)(Math.floor(Pt(s,c,d)/y),c,u),x=(k*(n-r+h*d)-h*d)/(i*k+h),C=x*i,P=m?Math.min(s,x):s,R=Rt(P,k,d),B=R/S;(Rc;)B=(R=Rt(P,--k,d))/S;for(;B>b&&kn?Ct(Q()({},t,{listMaxInlineSize:P,minItemsPerPage:c+1})):{viewInlineSize:x,viewBlockSize:C,listInlineSize:I,listBlockSize:B,itemsPerPage:k,itemInlineSize:R,itemBlockSize:B,itemWidth:L,itemHeight:F}}function Pt(t,e,n){return Math.max(t-n*(e-1),0)}function Rt(t,e,n){return Pt(t,e,n)/e}var Bt,It,At,Tt,Lt,Ft,zt,Mt,Vt,Et,Dt,Wt,Ot,Nt,Ut,Zt,Ht,qt,Yt,$t,Xt=n(76555),jt=n.n(Xt),Gt=n(39290),Kt=n.n(Gt),Jt=n(40703),Qt=n.n(Jt),te={attribute:"bp"},ee=function(){function t(t,e){var n;this.attribute=void 0,this.entries=void 0,this.element=t,e=Q()({},te,e),this.attribute=e.attribute,this.entries=jt()(n=Kt()(e.breakpoints)).call(n,(function(t,e){return o()(a(),t,2)[1]>o()(a(),e,2)[1]?0:-1}))}return t.prototype.apply=function(t,e){void 0===e&&(e=this.attribute);var n=[];Qt()(this).some((function(e){var i=o()(a(),e,2),r=i[0],s=i[1];return t2&&(this.setContentCurrentTime(t.startTime),!0)},e.nextContent=function(){return this.player.nextContent(F.VL.Interaction)},e.prevContent=function(){return this.player.prevContent(F.VL.Interaction)},e.setContentByIndex=function(t,e){return this.player.setContentByIndex(t,e)},e.setVolume=function(t){this.player.setVolume(t,F.gj.Interaction)},e.setContentCurrentTime=function(t){this.player.setContentCurrentTime(t)},e.requestFullscreen=function(){return this.player.requestFullscreen()},e.exitFullscreen=function(){return this.player.exitFullscreen()},e.toggleFullscreen=function(t){return this.player.toggleFullscreen(t)},e.stopFloating=function(){this.player.stopFloating()},e.close=function(){this.player.close()},e.destroy=function(){this.player.destroy()},e.rewindChapterBy=function(t){var e=this.contentState.currentContent.chapters[this.contentState.currentChapterIndex+t];return!!e&&(this.setContentCurrentTime(e.startTime),!0)},e.handleFirstClick=function(){this.config.handleFirstGesture&&!this.player.firstGesture&&(this.player.firstGesture=!0)},e.firstVideoGesture=function(t,e,n){var i=t.paused?"pause":"play",o="visible"===t.style.visibility||""===t.style.visibility;if(t.setAttribute("avsync",""),e){if(!t.paused){try{t[i]()}catch(t){}return}this.reloadSrc(t,i,n)}else if(o){if(!t.paused){try{t[i]()}catch(t){}return}}else this.reloadSrc(t,i,n)},e.reloadSrc=function(t,e,n){n||(n=t.src);var i=t.currentTime;t.removeAttribute("src");try{t.load(),t[e]().then((function(){})).catch((function(t){}))}catch(t){}t.src=n,t.currentTime=i},h()(t,[{key:"isMuted",get:function(){return this.player.isMuted}}]),t}();var Fe=o()(a(),b()(Ae,[],[Ie]).c,2);Te=Fe[0],(0,Fe[1])();var ze,Me,Ve,Ee,De,We,Oe,Ne,Ue=n(91829),Ze=n.n(Ue),He=n(16469),qe=n(32858),Ye=n(26296),$e=n(26011),Xe=n(30781),je=n(63581),Ge=n(78428),Ke=n(86829),Je=n(88983),Qe=n(9376),tn=n(29737),en=n(83675),nn=n(54522),on=n(60993),rn=n(4192),an=n(2614),sn=n(8141),ln=n(77060),cn=n(34271),un=n(19460),dn=n(4152),hn=n(89052),pn=n(6886),fn=n(53680),vn=n(62212),mn=n(89477),gn=n(99268),_n=n(88304),yn=n(15851),wn=n(87179),Sn=n(98705),bn=n(7383),kn="clockwise-arrow",xn="counterclockwise-arrow",Cn="leftwards-arrow",Pn="rightwards-arrow",Rn="enter-fullscreen",Bn="exit-fullscreen",In="cross",An="image",Tn="live",Ln="link",Fn="logo",zn="next",Mn="pause",Vn="play",En="playlist",Dn="prev",Wn="replay",On="spinner",Nn="volume-solid",Un="volume",Zn="check-mark",Hn="closed-captions",qn="gear-solid",Yn="gear",$n="playback",Xn="tracks",jn="copy",Gn="email",Kn="facebook",Jn="share",Qn="twitter",ti=((ze={})[kn]=qe.Z,ze[xn]=Ye.Z,ze[Cn]=$e.Z,ze[Pn]=Xe.Z,ze[Zn]=je.Z,ze[In]=Ge.Z,ze[Rn]=Ke.Z,ze[Bn]=Je.Z,ze[Ln]=Qe.Z,ze[Fn]=tn.Z,ze[An]=en.Z,ze[Tn]=nn.Z,ze[zn]=on.Z,ze[Mn]=rn.Z,ze[Vn]=an.Z,ze[En]=sn.Z,ze[Dn]=ln.Z,ze[Wn]=cn.Z,ze[On]=un.Z,ze[Nn]=dn.Z,ze[Un]=hn.Z,ze[Hn]=pn.Z,ze[qn]=fn.Z,ze[Yn]=vn.Z,ze[$n]=mn.Z,ze[Xn]=gn.Z,ze[jn]=_n.Z,ze[Gn]=yn.Z,ze[Kn]=wn.Z,ze[Jn]=Sn.Z,ze[Qn]=bn.Z,ze),ei=n(42098),ni=(0,lt.N)(Me||(Me=it()(["default-icon"]))),ii=(0,lt.N)(Ve||(Ve=it()(["animate-fill-opacity"]))),oi=[Vn,Mn,Wn,Dn,zn,En,Jn];Ee=(0,C.w)({name:"avp-icon"}),De=(0,He.C)({type:String});var ri=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r'}},{key:"styles",get:function(){return ei.Z}}]),n}(ct.w);Oe=ri;var ai=b()(Oe,[[De,0,"name"]],[Ee],0,void 0,ct.w),si=o()(a(),ai.e,1);We=si[0];var li=o()(a(),ai.c,2);Ne=li[0],(0,li[1])();var ci,ui,di,hi,pi,fi,vi=n(44016),mi=n.n(vi),gi=n(10719),_i=n.n(gi),yi=n(47667),wi=n.n(yi),Si=n(98186),bi=n.n(Si),ki=(0,lt.N)(ci||(ci=it()(["button"]))),xi=new(bi()),Ci=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r"}}]),n}(ct.w),Pi=function(t){_()(n,t);var e=w()(n);function n(){return e.apply(this,arguments)}return n.prototype.onActivated=function(){f()(m()(n.prototype),"onActivated",this).call(this),this.$on(this.host,"click",this.onCloseButtonClick)},h()(n,[{key:"childrenLayout",get:function(){return[{component:Ne,props:{name:In}}]}}]),n}(Ci),Ri=n(74550),Bi=n(11067);ui=(0,Se.b)(),pi=function(){function t(){this.remainingTime=(hi(this),di(this,0)),this.adConfigState=(0,z.f)(Bi.Z),this.uiState=(0,z.f)(ye.C),this.adState=(0,z.f)(yt.M)}return h()(t,[{key:"shouldRender",get:function(){return this.adConfigState.isLinearDisplayEnabled}},{key:"shouldShow",get:function(){return this.uiState.isAdOwner&&this.adState.isDisplayOwner}}]),t}();var Ii=b()(pi,[[St.F,3,"shouldRender"],[St.F,3,"shouldShow"],[St.q,0,"remainingTime"]],[ui]),Ai=o()(a(),Ii.e,2);di=Ai[0],hi=Ai[1];var Ti,Li,Fi,zi,Mi=o()(a(),Ii.c,2);fi=Mi[0],(0,Mi[1])(),Ti=(0,Se.b)();var Vi=function(){function t(){this.config=(0,dt.Df)(),this.i18n=(0,z.f)($t),this.displayAdState=(0,z.f)(fi),Li(this)}return h()(t,[{key:"text",get:function(){var t,e;return this.displayAdState.shouldShow?x()(t="".concat(this.i18n.t("advertisement")," (")).call(t,Math.ceil(this.displayAdState.remainingTime/1e3).toFixed(0),") - "):null!=(e=this.config.caption.text)?e:""}},{key:"backgroundColor",get:function(){return this.displayAdState.shouldShow?"":this.config.caption.backgroundColor}}]),t}();Fi=Vi;var Ei=b()(Fi,[[St.F,3,"text"],[St.F,3,"backgroundColor"]],[Ti]),Di=o()(a(),Ei.e,1);Li=Di[0];var Wi,Oi,Ni,Ui,Zi,Hi,qi=o()(a(),Ei.c,2);zi=qi[0],(0,qi[1])(),Wi=(0,Se.b)(),Zi=function(){function t(){this.widthInAside=(Ui(this),Oi(this,0)),this.isDisplayDelayPassed=Ni(this),this.config=(0,dt.Df)(),this.globalState=(0,z.f)(ft.q),this.uiState=(0,z.f)(ye.C),this.playerState=(0,z.f)(L.f),this.layoutState=(0,z.f)(gt.$),this.appearanceState=(0,z.f)(mt.G),this.overlayState=(0,z.f)(_e.m),this.captionState=(0,z.f)(zi),this.isDisplayDelayPassed=!this.shouldDelay}return h()(t,[{key:"shouldDelay",get:function(){return this.config.closeButton.delay>0}},{key:"shouldRender",get:function(){return this.config.closeButton.enable}},{key:"position",get:function(){return this.config.closeButton.position===ut.Ly.Auto?this.uiState.isVertical&&this.placement===Ri.ug.View?ut.Ly.TopLeft:ut.Ly.TopRight:this.config.closeButton.position}},{key:"placement",get:function(){var t=this.config.closeButton.placement;return t===Ri.ug.Outside?!this.captionState.text&&this.canRenderInAside?Ri.ug.Aside:Ri.ug.Caption:t===Ri.ug.Auto||t===Ri.ug.Aside&&!this.canRenderInAside?this.captionState.text?Ri.ug.Caption:this.canRenderInAside?Ri.ug.Aside:Ri.ug.View:t}},{key:"shouldRenderInCaption",get:function(){return this.shouldRender&&this.placement===Ri.ug.Caption}},{key:"shouldRenderInAside",get:function(){return this.shouldRender&&this.placement===Ri.ug.Aside}},{key:"shouldRenderInView",get:function(){return this.shouldRender&&this.placement===Ri.ug.View}},{key:"shouldRenderInViewTopLeft",get:function(){return this.shouldRenderInView&&this.position===ut.Ly.TopLeft}},{key:"shouldRenderInViewTopRight",get:function(){return this.shouldRenderInView&&this.position===ut.Ly.TopRight}},{key:"shouldShow",get:function(){return!!this.isDisplayDelayPassed&&(!(!this.shouldRender||this.appearanceState.inFullscreen&&this.shouldRenderInView)&&(!(this.shouldRenderInView&&(!this.playerState.isContentOwner||this.overlayState.isOpen))&&(!this.appearanceState.isFloating||!this.config.floating.closeButton)))}},{key:"canRenderInAside",get:function(){return(!this.appearanceState.isInRead||!this.layoutState.isResponsive)&&(this.config.aside.enable&&this.layoutState.viewWidth+2*this.widthInAside<=this.globalState.viewportWidth)}}]),t}();var Yi=b()(Zi,[[St.F,3,"shouldDelay"],[St.F,3,"shouldRender"],[St.F,3,"position"],[St.F,3,"placement"],[St.F,3,"shouldRenderInCaption"],[St.F,3,"shouldRenderInAside"],[St.F,3,"shouldRenderInView"],[St.F,3,"shouldRenderInViewTopLeft"],[St.F,3,"shouldRenderInViewTopRight"],[St.F,3,"shouldShow"],[St.F,3,"canRenderInAside"],[St.q,0,"widthInAside"],[St.q,0,"isDisplayDelayPassed"]],[Wi]),$i=o()(a(),Yi.e,3);Oi=$i[0],Ni=$i[1],Ui=$i[2];var Xi,ji,Gi,Ki,Ji=o()(a(),Yi.c,2);Hi=Ji[0],(0,Ji[1])(),Xi=(0,C.w)({name:"avp-close-button",once:!0});var Qi=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r0?(n.userAction.close(),setTimeout((function(){n.userAction.destroy()}),n.config.closeButton.destroyDelay)):n.userAction.destroy()},ji(et()(n)),n}return n.prototype.onActivated=function(){var t,e=this;f()(m()(n.prototype),"onActivated",this).call(this),this.watch([function(){return e.state.shouldRenderInAside},function(){return e.layoutState.viewWidth},function(){return e.globalState.viewportWidth}],u()(l()().mark((function t(n){var i,r;return l()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=o()(a(),n,1),r=i[0],t.next=3,e.whenVisible;case 3:r&&(e.state.widthInAside=e.host.offsetWidth);case 4:case"end":return t.stop()}}),t)}))),{immediate:!0}),this.watch([function(){return e.state.shouldDelay},function(){return e.visibilityState.wasSeen},function(){return e.config.closeButton.delay}],(function(n){var i=o()(a(),n,3),r=i[0],s=i[1],l=i[2];e.state.isDisplayDelayPassed=!r,clearTimeout(t),r&&s&&(t=setTimeout((function(){e.state.isDisplayDelayPassed=!0}),1e3*l))}),{immediate:!0}),this.registerCssProperties({color:{global:!0,value:function(){return e.config.closeButton.color}},secondaryControlBackgroundColor:{global:!0,value:function(){return e.config.closeButton.backgroundColor}},secondaryControlBorderRadius:{global:!0,value:function(){var t=e.config.closeButton.borderRadius;return t<1?"".concat(100*t,"%"):"".concat(t,"px")}},secondaryControlSize:{global:!0,value:function(){return e.config.closeButton.size},unit:"px"},secondaryControlPadding:{global:!0,value:function(){return e.config.closeButton.padding},unit:"px"}})},h()(n,[{key:"label",get:function(){return this.i18n.t("buttons.closeButton.label")}}]),n}(Pi);Gi=Qi;var to=b()(Gi,[[St.F,3,"label"]],[Xi],0,void 0,Pi),eo=o()(a(),to.e,1);ji=eo[0];var no,io,oo,ro,ao=o()(a(),to.c,2);Ki=ao[0],(0,ao[1])(),no=(0,Se.b)();var so=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r=130}},{key:"asideWidth",get:function(){var t=this.closeButtonState.shouldRenderInAside?this.closeButtonState.widthInAside:this.closeFloatingButtonState.widthInAside;return this.globalState.viewportWidth-this.layoutState.viewWidth-t}},{key:"shouldShow",get:function(){return this.shouldRender}}]),t}();wo=bo;var ko,xo,Co,Po,Ro=b()(wo,[[St.F,3,"shouldRenderInView"],[St.F,3,"shouldRenderInAside"],[St.F,3,"shouldShowInView"],[St.F,3,"shouldShowInAside"],[St.F,3,"canRenderInAside"]],[]).e,Bo=o()(a(),Ro,1);yo=Bo[0],ko=(0,Se.b)();var Io=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r=320}}]),n}(bo);cr=hr;var pr=b()(cr,[[St.F,3,"placement"]],[sr],0,void 0,bo),fr=o()(a(),pr.e,1);lr=fr[0];var vr=o()(a(),pr.c,2);ur=vr[0],(0,vr[1])();var mr=n(36594),gr=n.n(mr),_r=n(92399),yr=n.n(_r),wr=n(10349),Sr=n.n(wr),br=n(10899),kr=n.n(br),xr=n(91920),Cr=function(){return document.createElement("div")},Pr=document.createTextNode(""),Rr=function(){function t(t,e){void 0===e&&(e={}),this.element=t,this.options=e,this.options=Q()({},e,{wordTemplateElement:e.wordTemplateElement||Cr(),letterTemplateElement:e.letterTemplateElement||Cr()})}return t.prototype.render=function(t){var e=this.element,n=this.options,i=n.wordTemplateElement,r=n.letterTemplateElement,s=[],l=0,c=0;t=(0,xr.Z)(t)?(0,xr.Z)(this.options.text)?e.textContent:this.options.text:t,e.textContent="";var u,d=gr()(yr()(t).call(t,/(\s*)(\S+)/g),!0);try{for(d.s();!(u=d.n()).done;){for(var h=u.value,p=o()(a(),h,3),f=p[1],v=p[2],m=[],g=Pr.cloneNode(),_=i.cloneNode(),y=0,w=Sr()(v);y'}},{key:"styles",get:function(){return Jr.Z}}]),n}(ct.w);oa=ca;var ua=o()(a(),b()(oa,[],[ia],0,void 0,ct.w).c,2);aa=ua[0],(0,ua[1])();var da,ha,pa,fa=n(67552),va=n.n(fa),ma=n(57001);da=(0,C.w)({name:"avp-close-button-overlay",once:!0});var ga=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r"}},{key:"styles",get:function(){return ma.Z}}]),n}(ct.w);ha=ga;var _a=o()(a(),b()(ha,[],[da],0,void 0,ct.w).c,2);pa=_a[0],(0,_a[1])();var ya,wa,Sa,ba,ka,xa=n(99952);ya=(0,C.w)({name:"avp-skip-display-ad-button"}),wa=(0,He.C)({type:String,required:!0});var Ca=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r"}},{key:"styles",get:function(){return xa.Z}}]),n}(ct.w);ba=Ca;var Pa=b()(ba,[[wa,0,"text"]],[ya],0,void 0,ct.w),Ra=o()(a(),Pa.e,1);Sa=Ra[0];var Ba=o()(a(),Pa.c,2);ka=Ba[0],(0,Ba[1])();var Ia,Aa,Ta,La=n(23741);Ia=(0,C.w)({name:"avp-caption"});var Fa=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r
'}},{key:"styles",get:function(){return La.Z}}]),n}(ct.w);Aa=Fa;var za,Ma,Va,Ea,Da=o()(a(),b()(Aa,[],[Ia],0,void 0,ct.w).c,2);Ta=Da[0],(0,Da[1])(),za=(0,Se.b)(),Va=function(){function t(){this.config=(0,dt.Df)(),this.state=(0,z.f)(zi),this.closeButtonState=(0,z.f)(Hi),this.closeFloatingButtonState=(0,z.f)(ro),Ma(this)}return h()(t,[{key:"shouldRender",get:function(){return!(!this.closeButtonState.shouldRenderInCaption&&!this.closeFloatingButtonState.shouldRenderInCaption)||!!this.state.text}},{key:"shouldShow",get:function(){return!!this.shouldRender&&(!!this.state.text||this.closeButtonState.shouldShow||this.closeFloatingButtonState.shouldShow)}}]),t}();var Wa=b()(Va,[[St.F,3,"shouldRender"],[St.F,3,"shouldShow"]],[za]),Oa=o()(a(),Wa.e,1);Ma=Oa[0];var Na=o()(a(),Wa.c,2);Ea=Na[0],(0,Na[1])();var Ua=n(32844);function Za(t){return t.toLocaleString(void 0,{minimumIntegerDigits:2})}function Ha(t){if(isNaN(t))return"--:--";var e=(t=Math.round(t))/60,n=e/60,i=n/60,o=t%60,r=Math.floor(e)%60,a=Math.floor(n)%24,s=Math.floor(i/24),l=[];return s>0&&l.push(s.toString()),a>0&&l.push(Za(a)),l.push(Za(r)),l.push(Za(o)),l.join(":")}var qa,Ya,$a,Xa=n(63077);qa=(0,C.w)({name:"avp-devtools",once:!0});var ja=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r
'}},{key:"styles",get:function(){return Xa.Z}}]),n}(ct.w);Ya=ja;var Ga=o()(a(),b()(Ya,[],[qa],0,void 0,ct.w).c,2);$a=Ga[0],(0,Ga[1])();var Ka,Ja,Qa,ts,es,ns,is,os=n(35820),rs=n.n(os),as=n(4792),ss=n(84096);Ka=(0,C.w)({name:"avp-icons-sprite"}),Ja=(0,He.C)({type:String,required:!0});var ls=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r=5)){t.next=20;break}return t.abrupt("return");case 20:return t.next=22,new(rs())((function(t){return setTimeout(t,3e3*e.loadAttempt)}));case 22:return t.abrupt("return",this.loadSprite());case 23:case"end":return t.stop()}}),t,this,[[3,15]])})));return function(){return t.apply(this,arguments)}}(),h()(n,[{key:"shouldLoad",get:function(){return!this.isLoaded&&this.globalState.isOnline}}],[{key:"styles",get:function(){return ss.Z}}]),n}(ct.w);ns=ls;var cs=b()(ns,[[St.F,3,"shouldLoad"],[Ja,0,"url"],[St.q,0,"isLoaded"]],[Ka],0,void 0,ct.w),us=o()(a(),cs.e,3);Qa=us[0],ts=us[1],es=us[2];var ds=o()(a(),cs.c,2);is=ds[0],(0,ds[1])();var hs,ps,fs,vs=0,ms=1,gs=2,_s=3,ys=4,ws=5,Ss=6,bs=n(56073),ks=n(9256),xs=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r'}},{key:"styles",get:function(){return Cs.Z}}]),n}(xs);ps=Ps;var Rs=o()(a(),b()(ps,[],[hs],0,void 0,xs).c,2);fs=Rs[0],(0,Rs[1])();var Bs,Is,As,Ts=function(t){_()(n,t);var e=w()(n);function n(){return e.apply(this,arguments)}return n.prototype.findRefs=function(){f()(m()(n.prototype),"findRefs",this).call(this,{video:"video"})},h()(n)}(xs),Ls=n(26942);Bs=(0,C.w)({name:"avp-video-ad",once:!0});var Fs=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r"}},{key:"styles",get:function(){return Ls.Z}}]),n}(Ts);Is=Fs;var zs,Ms,Vs,Es,Ds=o()(a(),b()(Is,[],[Bs],0,void 0,Ts).c,2);As=Ds[0],(0,Ds[1])(),zs=(0,Se.b)(),Vs=function(){function t(){this.uiState=(0,z.f)(ye.C),this.adState=(0,z.f)(yt.M),Ms(this)}return h()(t,[{key:"shouldShow",get:function(){return this.uiState.isAdOwner&&this.adState.isVideoOwner}}]),t}();var Ws=b()(Vs,[[St.F,3,"shouldShow"]],[zs]),Os=o()(a(),Ws.e,1);Ms=Os[0];var Ns,Us,Zs,Hs,qs,Ys,$s,Xs,js,Gs,Ks,Js=o()(a(),Ws.c,2);Es=Js[0],(0,Js[1])();var Qs;Ns=(0,Se.b)(),Ks=function(){function t(){this.isOpen=(Gs(this),Us(this,!1)),this.isVisible=Zs(this,!1),this.maxInlineSize=Hs(this,1/0),this.maxBlockSize=qs(this,1/0),this.listInlineSize=Ys(this,1/0),this.listBlockSize=$s(this,1/0),this.itemsPerPage=Xs(this,1/0),this.itemGap=js(this,0),this.config=(0,dt.Df)(),this.uiState=(0,z.f)(ye.C),this.layoutState=(0,z.f)(gt.$),this.appearanceState=(0,z.f)(mt.G),this.contentState=(0,z.f)(_t.M)}return h()(t,[{key:"minWidthToShowInView",get:function(){return this.config.playlistButton.enable?375:560}},{key:"minHeightToShowInView",get:function(){return this.config.playlistButton.enable?0:321}},{key:"minWidthToShowInMain",get:function(){return this.uiState.isVertical?560:this.isVertical&&this.isInMain?393:285}},{key:"shouldRenderInAny",get:function(){return this.shouldRenderInMain||this.shouldRenderInView}},{key:"shouldRenderInMain",get:function(){return this.shouldRender&&this.isInMain&&this.layoutState.mainWidth>=this.minWidthToShowInMain}},{key:"shouldRenderInView",get:function(){return this.shouldRender&&this.isInView}},{key:"shouldShowInMain",get:function(){return this.shouldRenderInMain&&this.shouldShow}},{key:"shouldShowInView",get:function(){return this.shouldRenderInView&&this.shouldShow}},{key:"shouldShowInViewMiddleMiddle",get:function(){return this.shouldShowInView&&this.position===ut.Ly.Middle}},{key:"shouldShowInViewMiddleBottom",get:function(){return this.shouldShowInView&&this.position===ut.Ly.Bottom}},{key:"shouldShowInLeftCenter",get:function(){return this.shouldShowInView&&this.position===ut.Ly.Left}},{key:"shouldShow",get:function(){return this.shouldRender&&this.isOpen&&(!this.uiState.isUiHidden||!this.isInView)}},{key:"shouldFitContainer",get:function(){return!!this.shouldRenderInMain&&(this.layoutState.isResponsive&&this.isVertical)}},{key:"placement",get:function(){return this.shouldRender?this.appearanceState.inFullscreen?Ri.ug.View:this.layoutState.mainWidth1}}]),t}();var tl=b()(Ks,[[St.F,3,"minWidthToShowInView"],[St.F,3,"minHeightToShowInView"],[St.F,3,"minWidthToShowInMain"],[St.F,3,"shouldRenderInAny"],[St.F,3,"shouldRenderInMain"],[St.F,3,"shouldRenderInView"],[St.F,3,"shouldShowInMain"],[St.F,3,"shouldShowInView"],[St.F,3,"shouldShowInViewMiddleMiddle"],[St.F,3,"shouldShowInViewMiddleBottom"],[St.F,3,"shouldShowInLeftCenter"],[St.F,3,"shouldShow"],[St.F,3,"shouldFitContainer"],[St.F,3,"placement"],[St.F,3,"position"],[St.F,3,"isInView"],[St.F,3,"isInMain"],[St.F,3,"isOnEnd"],[St.F,3,"orientation"],[St.F,3,"isVertical"],[St.F,3,"shouldRender"],[St.q,0,"isOpen"],[St.q,0,"isVisible"],[St.q,0,"maxInlineSize"],[St.q,0,"maxBlockSize"],[St.q,0,"listInlineSize"],[St.q,0,"listBlockSize"],[St.q,0,"itemsPerPage"],[St.q,0,"itemGap"]],[Ns]),el=o()(a(),tl.e,9);Us=el[0],Zs=el[1],Hs=el[2],qs=el[3],Ys=el[4],$s=el[5],Xs=el[6],js=el[7],Gs=el[8];var nl=o()(a(),tl.c,2);Qs=nl[0],(0,nl[1])();var il,ol,rl,al,sl=n(49824);il=(0,Se.b)();var ll=function(){function t(){this.settingsMenuState=(0,z.f)(sl.U),this.playlistState=(0,z.f)(Qs),ol(this)}return h()(t,[{key:"isMiddleBottomFree",get:function(){return!this.settingsMenuState.isOpen&&!this.playlistState.shouldShowInViewMiddleBottom&&!this.playlistState.shouldShowInViewMiddleMiddle}}]),t}();rl=ll;var cl=b()(rl,[[St.F,3,"isMiddleBottomFree"]],[il]),ul=o()(a(),cl.e,1);ol=ul[0];var dl,hl,pl,fl,vl,ml,gl=o()(a(),cl.c,2);al=gl[0],(0,gl[1])();var _l;dl=(0,Se.b)(),ml=function(){function t(){this.isOpen=(vl(this),hl(this,!1)),this.width=pl(this,300),this.height=fl(this,50),this.config=(0,dt.Df)(),this.layoutState=(0,z.f)(gt.$),this.contentState=(0,z.f)(_t.M),this.playerState=(0,z.f)(L.f),this.uiLayoutState=(0,z.f)(al),this.overlayState=(0,z.f)(_e.m)}return h()(t,[{key:"shouldShow",get:function(){return this.shouldRender&&this.isOpen&&this.playerState.isContentOwner&&!this.contentState.isIdle&&this.layoutState.viewWidth>=this.width&&this.layoutState.viewHeight>=this.height&&this.uiLayoutState.isMiddleBottomFree&&!this.overlayState.isOpen}},{key:"shouldRenderInViewMiddleBottom",get:function(){return this.shouldRender}},{key:"shouldRender",get:function(){return this.config.ad.display.overlay.enable}}]),t}();var yl=b()(ml,[[St.F,3,"shouldShow"],[St.F,3,"shouldRenderInViewMiddleBottom"],[St.F,3,"shouldRender"],[St.q,0,"isOpen"],[St.q,0,"width"],[St.q,0,"height"]],[dl]),wl=o()(a(),yl.e,4);hl=wl[0],pl=wl[1],fl=wl[2],vl=wl[3];var Sl,bl,kl,xl,Cl=o()(a(),yl.c,2);_l=Cl[0],(0,Cl[1])(),Sl=(0,Se.b)(),kl=function(){function t(){this.config=(0,dt.Df)(),this.playerState=(0,z.f)(L.f),this.layoutState=(0,z.f)(gt.$),this.chapterTitleState=(0,z.f)(Po),this.chapterDescriptionState=(0,z.f)(Mo),this.contentState=(0,z.f)(_t.M),this.uiLayoutState=(0,z.f)(al),this.uiState=(0,z.f)(ye.C),this.overlayState=(0,z.f)(_e.m),this.overlayDisplayAdState=(0,z.f)(_l),bl(this)}return h()(t,[{key:"position",get:function(){return this.config.annotation.position}},{key:"isLeftPosition",get:function(){return this.position===ut.Ly.Left}},{key:"isRightPosition",get:function(){return this.position===ut.Ly.Right}},{key:"shouldRender",get:function(){return this.chapterTitleState.shouldRenderInView||this.chapterDescriptionState.shouldRenderInView}},{key:"shouldShow",get:function(){return this.shouldRender&&this.playerState.isContentOwner&&!this.contentState.isIdle&&!this.contentState.isCompleted&&this.uiLayoutState.isMiddleBottomFree&&!this.overlayState.isOpen&&!this.overlayDisplayAdState.shouldShow&&this.shouldShowContent&&(this.contentState.isCarousel||!this.uiState.isUiHidden)&&this.layoutState.viewWidth>(this.contentState.isCarousel?190:540)}},{key:"shouldShowContent",get:function(){return this.chapterTitleState.shouldShowInView||this.chapterDescriptionState.shouldShowInView}}]),t}();var Pl=b()(kl,[[St.F,3,"position"],[St.F,3,"isLeftPosition"],[St.F,3,"isRightPosition"],[St.F,3,"shouldRender"],[St.F,3,"shouldShow"],[St.F,3,"shouldShowContent"]],[Sl]),Rl=o()(a(),Pl.e,1);bl=Rl[0];var Bl=o()(a(),Pl.c,2);xl=Bl[0],(0,Bl[1])();var Il,Al,Tl,Ll,Fl=n(90914);Il=(0,Se.b)(),Tl=function(){function t(){this.config=(0,dt.Df)(),this.layoutState=(0,z.f)(gt.$),Al(this)}return h()(t,[{key:"shouldRender",get:function(){return this.config.stayButton.enable&&this.layoutState.viewHeight>160}}]),t}();var zl=b()(Tl,[[St.F,3,"shouldRender"]],[Il]),Ml=o()(a(),zl.e,1);Al=Ml[0];var Vl,El,Dl,Wl,Ol=o()(a(),zl.c,2);Ll=Ol[0],(0,Ol[1])(),Vl=(0,Se.b)();var Nl=function(){function t(){this.config=(0,dt.Df)(),this.playerState=(0,z.f)(L.f),this.layoutState=(0,z.f)(gt.$),this.contentState=(0,z.f)(_t.M),this.uiState=(0,z.f)(ye.C),this.uiLayoutState=(0,z.f)(al),this.overlayState=(0,z.f)(_e.m),this.autoSkipState=(0,z.f)(Fl.O),this.stayButtonState=(0,z.f)(Ll),this.annotationState=(0,z.f)(xl),this.playlistState=(0,z.f)(Qs),El(this)}return h()(t,[{key:"placement",get:function(){return this.annotationState.shouldRender?Ri.ug.Annotation:Ri.ug.View}},{key:"position",get:function(){var t=this.config.readMoreButton.position;return this.layoutState.viewWidth<450&&t===ut.Ly.Center&&!this.uiState.isVertical?ut.Ly.BottomCenter:this.layoutState.viewHeight<=320&&this.autoSkipState.shouldShow&&this.stayButtonState.shouldRender&&(t===ut.Ly.TopRight||t===ut.Ly.BottomRight)?this.oppositePosition:t}},{key:"oppositePosition",get:function(){return function(t){switch(t){case ut.Ly.TopRight:return ut.Ly.TopLeft;case ut.Ly.TopLeft:return ut.Ly.TopRight;case ut.Ly.BottomRight:return ut.Ly.BottomLeft;case ut.Ly.BottomLeft:return ut.Ly.BottomRight;case ut.Ly.BottomCenter:return ut.Ly.TopCenter;case ut.Ly.TopCenter:return ut.Ly.BottomCenter;default:return t}}(this.config.readMoreButton.position)}},{key:"shouldRenderInView",get:function(){return this.shouldRender&&this.placement===Ri.ug.View}},{key:"shouldRenderInViewMiddleMiddle",get:function(){return this.shouldRenderInView&&this.position===ut.Ly.Center}},{key:"shouldRenderInViewMiddleBottom",get:function(){var t;return this.shouldRenderInView&&Ze()(t=[ut.Ly.BottomLeft,ut.Ly.BottomCenter,ut.Ly.BottomRight]).call(t,this.position)}},{key:"shouldRenderInAnnotation",get:function(){return this.shouldRender&&this.placement===Ri.ug.Annotation}},{key:"shouldShow",get:function(){if(this.shouldRenderInAnnotation)return!0;if(!this.playerState.isContentOwner||this.overlayState.isOpen||this.playlistState.shouldShowInViewMiddleMiddle)return!1;var t=this.shouldRenderInViewMiddleBottom?this.uiLayoutState.isMiddleBottomFree:this.shouldRenderInView;return this.config.readMoreButton.showWhen===Ri.V9.Always?t:this.config.readMoreButton.showWhen===Ri.V9.UiVisible?t&&!this.uiState.isUiHidden:t}},{key:"shouldRender",get:function(){return this.config.readMoreButton.enable&&!!this.contentState.clickThroughUrl&&!this.contentState.isIdle&&this.layoutState.viewWidth>=180}}]),t}();Dl=Nl;var Ul=b()(Dl,[[St.F,3,"placement"],[St.F,3,"position"],[St.F,3,"oppositePosition"],[St.F,3,"shouldRenderInView"],[St.F,3,"shouldRenderInViewMiddleMiddle"],[St.F,3,"shouldRenderInViewMiddleBottom"],[St.F,3,"shouldRenderInAnnotation"],[St.F,3,"shouldShow"]],[Vl]),Zl=o()(a(),Ul.e,1);El=Zl[0];var Hl=o()(a(),Ul.c,2);Wl=Hl[0],(0,Hl[1])();var ql,Yl,$l,Xl,jl=n(69697);ql=(0,C.w)({name:"avp-content",once:!0});var Gl=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r=o?n.userAction.rewindForward():n.userAction.rewindBackward()}n.lastDoubleTapTimestamp=e},n.onDoubleClick=function(t){var e=n.userAction.toggleFullscreen();return n.eventBus.emit("ContentDoubleClick",{nativeEvent:t}),e},Yl(et()(n)),n}var i=n.prototype;return i.onActivated=function(){var t=this;f()(m()(n.prototype),"onActivated",this).call(this),this.uiSlotBag.contentSlot=this.host,this.uiSlotBag.contentVideoSlot=this.refs.video,this.$on(this.host,"click",this.onBackgroundClick),this.$on(this.host,"click",this.handleDoubleTouch,{when:function(){return t.globalState.isMobile}}),this.$on(this.host,"dblclick",this.onDoubleClick,{when:function(){return!t.globalState.isMobile}}),(0,q.m0)((function(){t.host.style.zIndex=t.playerState.isContentOwner?"".concat(ms):"".concat(vs)})),(0,q.YP)((function(){return t.uiState.isCursorHidden}),(function(e){t.host.classList.toggle(fe,e)}),{immediate:!0})},i.navigateToClickThroughUrl=function(t,e){!this.config.clickThrough.withoutPause&&this.playerState.isPlaying&&this.userAction.pause(F.Ob.ClickThrough);var n=window.open(t,"_blank");n&&(n.focus(),this.eventBus.emit("ContentClickThru",{url:t,nativeEvent:e}))},h()(n,[{key:"clickThroughUrl",get:function(){return this.config.clickThrough.clickableEntireChapterArea?this.contentState.clickThroughUrl:this.contentState.currentContent.clickThroughUrl||""}},{key:"isAbleToClickThrough",get:function(){return!(!this.config.clickThrough.enable||!this.clickThroughUrl||this.readMoreButtonState.shouldShow&&this.config.readMoreButton.preventOtherClickThrough)}}],[{key:"template",get:function(){return""}},{key:"styles",get:function(){return jl.Z}}]),n}(Ts);$l=Gl;var Kl=b()($l,[[St.F,3,"clickThroughUrl"],[St.F,3,"isAbleToClickThrough"]],[ql],0,void 0,Ts),Jl=o()(a(),Kl.e,1);Yl=Jl[0];var Ql=o()(a(),Kl.c,2);Xl=Ql[0],(0,Ql[1])();var tc,ec,nc,ic,oc=n(54094),rc=(null==(tc=window.CSS)?void 0:tc.supports)||window.supportsCSS||oc.Z,ac=n(31050);ec=(0,C.w)({name:"avp-logo-image",once:!0});var sc=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r'}},{key:"styles",get:function(){return ac.Z}}]),n}(ct.w);nc=sc;var lc=o()(a(),b()(nc,[],[ec],0,void 0,ct.w).c,2);ic=lc[0],(0,lc[1])();var cc,uc,dc,hc,pc=n(12455);cc=(0,Se.b)(),dc=function(){function t(){this.config=(0,dt.Df)(),this.uiState=(0,z.f)(ye.C),this.contentState=(0,z.f)(_t.M),this.overlayState=(0,z.f)(_e.m),uc(this)}return h()(t,[{key:"shouldShow",get:function(){return!(!this.shouldRender||this.overlayState.isSharingOpen)&&(!(this.config.autoPlay||!this.contentState.isIdle)||(this.contentState.isCarousel?!this.overlayState.isOpen:!this.uiState.isUiHidden))}},{key:"shouldRenderInView",get:function(){return this.shouldRender&&!this.overlayState.isNextPreviewOpen}},{key:"shouldRenderInNextPreview",get:function(){return this.shouldRender&&this.overlayState.isNextPreviewOpen}},{key:"position",get:function(){return this.config.logo.position===ut.Ly.Auto?this.uiState.isVertical?ut.Ly.TopRight:ut.Ly.TopLeft:this.config.logo.position!==ut.Ly.TopRight?ut.Ly.TopLeft:ut.Ly.TopRight}},{key:"hasCustomImage",get:function(){return!!this.config.logo.url}},{key:"shouldRenderTitle",get:function(){return!!this.config.logo.text}},{key:"textPosition",get:function(){return this.config.logo.textPosition!==ut.Ly.Right?ut.Ly.Left:ut.Ly.Right}},{key:"shouldRender",get:function(){return this.config.logo.enable}}]),t}();var fc=b()(dc,[[St.F,3,"shouldShow"],[St.F,3,"shouldRenderInView"],[St.F,3,"shouldRenderInNextPreview"],[St.F,3,"position"],[St.F,3,"hasCustomImage"],[St.F,3,"shouldRenderTitle"],[St.F,3,"textPosition"],[St.F,3,"shouldRender"]],[cc]),vc=o()(a(),fc.e,1);uc=vc[0];var mc=o()(a(),fc.c,2);hc=mc[0],(0,mc[1])();var gc,_c,yc,wc=n(38982);gc=(0,C.w)({name:"avp-logo-title",once:!0});var Sc=function(t){_()(n,t);var e=w()(n);function n(){for(var t,n,i=arguments.length,o=new Array(i),r=0;r