@wscsports/blaze-web-sdk 0.34.2 → 0.35.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{publish/index.d.ts → index.d.ts} +296 -1
- package/index.js +1 -0
- package/package.json +7 -72
- package/publish/index.js +0 -1
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(a,b){'object'==typeof exports&&'object'==typeof module?module['exports']=b():'function'==typeof define&&define['amd']?define([],b):'object'==typeof exports?exports['BlazeSDK']=b():a['BlazeSDK']=b();}(window,()=>((()=>{var a={0x29:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['MetadataKeys']=void 0x0,f['buildLogMetadata']=function(k,m,p,q){const u=j['deviceDetector']['getDeviceInfo'](),v=j['deviceDetector']['getOSInfo'](),w=function(z){return z?{'mobile':'Phone','tablet':'Tablet'}[z]||z:'Desktop';}(u['type']),x=screen['width']+'x'+screen['height'],y=(function(){const z=navigator['connection']||navigator['mozConnection']||navigator['webkitConnection'];return z&&(z['effectiveType']||z['type'])||'Unknown';}());return Object['assign']({[f['MetadataKeys']['LOG_IDENTIFIER']]:p,[f['MetadataKeys']['SESSION_ID']]:k,[f['MetadataKeys']['ID']]:m,[f['MetadataKeys']['SDK_TYPE']]:'Web',[f['MetadataKeys']['SDK_VERSION']]:'0.35.2',[f['MetadataKeys']['API_KEY']]:h['ConfigService']['apiKey'],[f['MetadataKeys']['DEVICE_TYPE']]:w,[f['MetadataKeys']['DEVICE_BRAND']]:u['vendor'],[f['MetadataKeys']['DEVICE_MODEL']]:u['model'],[f['MetadataKeys']['OPERATING_SYSTEM']]:v['name'],[f['MetadataKeys']['OPERATING_SYSTEM_VERSION']]:v['version'],[f['MetadataKeys']['SCREEN_RESOLUTION']]:x,[f['MetadataKeys']['CONNECTION_TYPE']]:y,[f['MetadataKeys']['REPORTING_TIMESTAMP']]:new Date()['toISOString']()},q);};const h=g(0x11c1),j=g(0xb62);f['MetadataKeys']={'SESSION_ID':'session_id','ID':'id','SDK_TYPE':'sdk_type','SDK_VERSION':'sdk_version','API_KEY':'api_key','DEVICE_TYPE':'device_type','DEVICE_BRAND':'device_brand','DEVICE_MODEL':'device_model','OPERATING_SYSTEM':'operating_system','OPERATING_SYSTEM_VERSION':'operating_system_version','SCREEN_RESOLUTION':'screen_resolution','CONNECTION_TYPE':'connection_type','REPORTING_TIMESTAMP':'reporting_timestamp','LOG_IDENTIFIER':'log_identifier'};},0x33:function(f,j,k){'use strict';var q=this&&this['__awaiter']||function(M,N,O,P){return new(O||(O=Promise))(function(Q,R){function S(V){try{U(P['next'](V));}catch(W){R(W);}}function T(V){try{U(P['throw'](V));}catch(W){R(W);}}function U(V){var W;V['done']?Q(V['value']):(W=V['value'],W instanceof O?W:new O(function(X){X(W);}))['then'](S,T);}U((P=P['apply'](M,N||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetLayout']=void 0x0,k(0x1407);const w=k(0x1133),x=k(0x1699),z=k(0x1932),A=k(0x26ed),B=k(0x22d9),C=k(0x11c1),D=k(0x132a),E=k(0xdf6),F=k(0x2432),G=k(0x19e3),H=k(0x1492),I=k(0x1b52),J=k(0x1f0f);let K=window['innerWidth'];class L extends G['WidgetBaseLayout']{get['refElement'](){var M;return null!==(M=this['shadowRoot'])&&void 0x0!==M?M:this;}constructor(){super(),this['widgetHeight']=0x0,this['parentHeight']=void 0x0,this['focusedItemIndex']=-0x1,this['lastFocusedIndex']=-0x1,C['ConfigService']['runInShadowDom']&&this['attachShadow']({'mode':'open'}),this['widgetItems']=[],this['contents']=[],this['heightObserver']=new MutationObserver(this['handleHeightChangeMutation']['bind'](this)),this['onResizeEvent']=(0x0,w['debounce'])(this['onResize']['bind'](this),0x4b),this['onMouseMoveEvent']=(0x0,w['debounce'])(M=>{let N=(this['shadowRoot']||document)['elementFromPoint'](M['clientX'],M['clientY']);const O=(0x0,F['findParentOfType'])(N,H['BlazeWidgetItem'],this);if(O&&this['currentlyAnimatedItem']!==O){const P=this['currentlyAnimatedItem'];this['currentlyAnimatedItem']=O,null==P||P['loadNewThumbnail'](),this['currentlyAnimatedItem']['loadNewThumbnail']();}},0x32),this['onMouseLeaveEvent']=()=>{var M,N;'function'==typeof this['onMouseMoveEvent']['cancel']&&this['onMouseMoveEvent']['cancel']();const O=this['currentlyAnimatedItem'];this['currentlyAnimatedItem']=null!==(M=this['firstVisibleItem'])&&void 0x0!==M?M:this['widgetItems'][0x0],null==O||O['loadNewThumbnail'](),null===(N=this['currentlyAnimatedItem'])||void 0x0===N||N['loadNewThumbnail']();};}['connectedCallback'](){var M,N,O;if((0x0,F['setId'])(this,'blaze-layout'),this['setupAccessibility'](),super['connectedCallback'](),this['parentElement']&&new ResizeObserver(()=>{this['render']();})['observe'](this['parentElement']),this['isAnimatedThumbnail']()&&w['deviceDetector']['isDesktop']&&(this['addEventListener']('mousemove',this['onMouseMoveEvent']),this['addEventListener']('mouseleave',this['onMouseLeaveEvent'])),null===window||void 0x0===window||window['addEventListener']('resize',this['onResizeEvent']),null===window||void 0x0===window||window['addEventListener'](w['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['onResizeEventDelay']['bind'](this)),this['intersectionObserver']['observe'](this),this['setStyle']({'display':'grid','gridAutoFlow':'column','width':'auto','height':'100%','direction':C['ConfigService']['layoutDirection']}),this['parentElement']&&(this['parentHeight']=this['parentElement']['clientHeight'],this['heightObserver']['observe'](this['parentElement'],{'attributes':!0x0,'attributeFilter':['style','class']})),this['widgetHeight']=this['clientHeight'],this['innerHTML']+='<style>\x0a\x20\x20\x20\x20\x20\x20blaze-widget-layout::-webkit-scrollbar,blaze-div::-webkit-scrollbar\x20{display:\x20none;}\x0a\x20\x20\x20\x20\x20\x20blaze-widget-layout,blaze-div\x20{-ms-overflow-style:\x20none;\x20scrollbar-width:\x20none;}\x0a\x20\x20\x20\x20\x20\x20blaze-widget-layout:focus-visible\x20{outline:\x202px\x20solid\x20#007AFF;\x20outline-offset:\x202px;}\x0a\x20\x20\x20\x20</style>',this['theme']['layoutStyle']['isSkeleton']){const {itemRatio:P,columns:Q,rows:R,lines:U,labelStyle:V,horizontalItemsSpacing:W,verticalItemsSpacing:X}=this['theme']['layoutStyle'],{maxBadgeHeight:Y,maxBadgeWidth:Z,maxChipHeight:a0,maxChipWidth:a1}=this['getStatusIndicatorBadgeAndChipSizes'](),a2=a0/0x2+Y/0x2,a3=Z/0x2+a1/0x2;let a4=0x0,a5=0x0;const a6=-0x1!==V['position']['indexOf']('outside');if(V['isVisible']&&a6){const ac=this['calculateLabelSizes'](V,U);a4=ac['labelAdditionalWidth'],a5=ac['labelAdditionalHeight'];}const a7=this['getParentHeightWithoutPadding']()||this['parentHeight']||this['clientHeight']||this['widgetHeight'];let a8,a9;this['skeletonContainer']=B['WidgetsFactory']['create']('blaze-div'),this['skeletonContainer']['style']['display']='grid',this['skeletonContainer']['style']['columnGap']=W+'px',this['skeletonContainer']['style']['rowGap']=X+'px',this['skeletonContainer']['style']['overflow']='hidden',this['skeletonContainer']['style']['gridAutoFlow']='column';let aa=0x4;0x1==R&&0x0==Q?(this['skeletonContainer']['style']['gap']=W+'px',a8=a7-a5-a2,a9=this['calculateWidthForRow'](a8,P,a3,a4),this['skeletonContainer']['style']['overflowX']='auto',aa=this['clientWidth']/a9+0x1,this['skeletonContainer']['style']['gridTemplateColumns']='repeat('+aa+',\x20'+a9+'px)'):(a9=(a7-(Q-0x1)*W)/Q,(null===(M=this['parentElement'])||void 0x0===M?void 0x0:M['clientWidth'])&&(a9=((null===(N=this['parentElement'])||void 0x0===N?void 0x0:N['clientWidth'])-(Q-0x1)*W)/Q),a8=(a9-a4-a3)/P+a2+a5,this['skeletonContainer']['style']['gridTemplateColumns']='1fr\x20'['repeat'](Q),this['skeletonContainer']['style']['height']=0x2*a8+'px');const ab=this['getAttribute']('max-display-items-count')||this['getAttribute']('max-items');0x1==ab&&(aa=ab);for(let ad=0x0;ad<aa;ad++){const ae=new x['BlazeWidgetItemSkeleton'](this['theme']['layoutStyle'],Math['floor'](a9),Math['floor'](a8),a5);null===(O=this['skeletonContainer'])||void 0x0===O||O['append'](ae);}this['refElement']['append'](this['skeletonContainer']);}}['disconnectedCallback'](){var M,N,O;super['disconnectedCallback'](),this['cleanupActivityObservers'](),null===window||void 0x0===window||window['removeEventListener']('resize',this['onResizeEvent']),null===window||void 0x0===window||window['removeEventListener'](w['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['onResizeEventDelay']),this['removeEventListener']('keydown',this['onKeyDown']),this['isAnimatedThumbnail']()&&w['deviceDetector']['isDesktop']&&(this['removeEventListener']('mousemove',this['onMouseMoveEvent']),this['removeEventListener']('mouseleave',this['onMouseLeaveEvent'])),null===(M=this['storysModal'])||void 0x0===M||M['remove'](),null===(N=this['momentsModal'])||void 0x0===N||N['remove'](),null===(O=this['videosModal'])||void 0x0===O||O['remove'](),this['heightObserver']['disconnect'](),w['deviceDetector']['removeResizeListener'](),J['contentAccessibilityManager']['cleanup'](),I['accessibilityManager']['cleanup']();}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},z['ONE_SECOND']/0x2);}['onResize'](){var M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,a0;K!==window['innerWidth']&&(K=window['innerWidth'],this['storysModal']&&(null===(M=this['storysModal'])||void 0x0===M||M['render'](),null===(O=null===(N=this['storysModal'])||void 0x0===N?void 0x0:N['player'])||void 0x0===O||O['render'](),null===(Q=null===(P=this['storysModal'])||void 0x0===P?void 0x0:P['player'])||void 0x0===Q||Q['resetPosition'](),null===(T=null===(S=null===(R=this['storysModal'])||void 0x0===R?void 0x0:R['player'])||void 0x0===S?void 0x0:S['contentList'])||void 0x0===T||T['forEach'](a1=>null==a1?void 0x0:a1['render']())),this['momentsModal']&&(null===(U=this['momentsModal'])||void 0x0===U||U['render'](),null===(W=null===(V=this['momentsModal'])||void 0x0===V?void 0x0:V['player'])||void 0x0===W||W['resetPosition'](),null===(Z=null===(Y=null===(X=this['momentsModal'])||void 0x0===X?void 0x0:X['player'])||void 0x0===Y?void 0x0:Y['contentList'])||void 0x0===Z||Z['forEach'](a1=>null==a1?void 0x0:a1['render']())),this['videosModal']&&(null===(a0=this['videosModal'])||void 0x0===a0||a0['render']()));}['handleHeightChangeMutation'](M){var N,O,P,Q,R;for(const S of M)if('style'===S['attributeName']||'class'===S['attributeName']){const T=this['getParentHeightWithoutPadding']();if(null!=T&&T!==this['parentHeight']){this['parentHeight']=T;const U=this['contents']['length']>0x0,V=[null===(O=null===(N=this['storysModal'])||void 0x0===N?void 0x0:N['player'])||void 0x0===O?void 0x0:O['contentList'],null===(Q=null===(P=this['momentsModal'])||void 0x0===P?void 0x0:P['player'])||void 0x0===Q?void 0x0:Q['contentList'],null===(R=this['videosModal'])||void 0x0===R?void 0x0:R['player']['contentList']]['some'](W=>{var X;return(null!==(X=null==W?void 0x0:W['length'])&&void 0x0!==X?X:0x0)>0x0;});V&&U&&this['render']();}}}['handleIntersection'](M){const N=M['find'](O=>O['target']===this);N&&N['isIntersecting']&&(this['isWidgetVisible']=!0x0,this['widgetItems']['length']&&(this['event'](z['WidgetAction']['Visible'],{},this['getAttribute']('labels')),this['intersectionObserver']['disconnect']()));}['onContentChange'](M){var N,O,P,Q;const R='RTL'===C['ConfigService']['layoutDirection']?-0x1:0x1,S=(this['thumbnailWidth']||0x0)*R;switch(M){case'NEXT':this['scrollLeft']+=S;break;case'PREV':this['scrollLeft']-=S;}const T=(null===(N=this['storysModal'])||void 0x0===N?void 0x0:N['isOpen'])||(null===(O=this['momentsModal'])||void 0x0===O?void 0x0:O['isOpen'])||(null===(P=this['videosModal'])||void 0x0===P?void 0x0:P['isOpen']);if(this['isAnimatedThumbnail']()&&!T){this['setFirstVisibleItem']();const U=this['currentlyAnimatedItem'];this['currentlyAnimatedItem']=this['firstVisibleItem'],null==U||U['loadNewThumbnail'](),null===(Q=this['firstVisibleItem'])||void 0x0===Q||Q['loadNewThumbnail']();}}['onPlayerClose'](){this['restoreTabIndexOnWidgetItems'](),this['lastFocusedIndex']>=0x0&&this['lastFocusedIndex']<this['widgetItems']['length']&&this['navigateToItem'](this['lastFocusedIndex']),this['shouldReloadWhenPlayerIsClosed']&&(this['loadContent'](),this['shouldReloadWhenPlayerIsClosed']=!0x1);}['onPlayerOpen'](){this['lastFocusedIndex']=this['focusedItemIndex'];}['setFirstVisibleItem'](){const M=this['widgetItems']['filter'](O=>O['isFullyVisibleInParent']()),N=M['reduce']((O,P)=>{const Q=P['getBoundingClientRect'](),R=O['getBoundingClientRect']();return Q['left']<R['left']?P:O;},M[0x0]);this['firstVisibleItem']=N;}['getParentHeightWithoutPadding'](){var M;if(this['parentElement']){const N=window['getComputedStyle'](this['parentElement']),O=parseFloat(N['paddingTop'])+parseFloat(N['paddingBottom']);return(this['parentElement']['clientHeight']||(null!==(M=this['parentHeight'])&&void 0x0!==M?M:0x0))-O||null;}return null;}['setId'](M){this['containerId']=M,this['id']='widget-layout-'+M;}set['storyIds'](M){this['setAttribute']('story-ids',M);}set['contentIds'](M){this['setAttribute']('content-ids',M);}['updateWidgetUI'](){this['widgetItems']['forEach'](M=>{M['content']['entities']&&this['perItemStyleOverrides']&&Object['entries'](M['content']['entities'])['forEach'](([N,O])=>{var P;O&&this['perItemStyleOverrides'][N]&&(null===(P=this['perItemStyleOverrides'][N])||void 0x0===P||P['forEach'](Q=>{Q['name']===O&&(M['updateWidgetItemStyle'](Q['theme']['layoutStyle']),this['updateActiveLayoutThemesPerItemWithEntity'](N,O,Q['theme']));}));});}),this['setMaxPaddingOnWidgetItems'](),this['render']();}['updateOverrideStyles'](M){var N;for(const O of Object['keys'](M)){const P=O;this['perItemStyleOverrides']['hasOwnProperty'](P)&&(null===(N=M[P])||void 0x0===N||N['forEach'](Q=>{var R,S;const T=null===(R=this['perItemStyleOverrides'][P])||void 0x0===R?void 0x0:R['findIndex'](U=>U['name']===Q['name']);if(-0x1!==T){const U=this['perItemStyleOverrides'][P];U&&void 0x0!==T&&(U[T]=Q);}else null===(S=this['perItemStyleOverrides'][P])||void 0x0===S||S['push'](Q);}));}}['updatePlayerStyle'](){const M=(0x0,F['mergeDeep'])(D['ThemeFactory']['create']('default')['playerStyle'],C['ConfigService']['playerStyleCustomization']);(0x0,F['applyPlayerStyleChanges'])(D['ThemeFactory']['create']('default')['playerStyle'],M,this['theme']['playerStyle'],{'GLOBAL':[],'LOCAL':[]});}['setMaxPaddingOnWidgetItems'](){const M={'top':'0','bottom':'0','left':'0','right':'0'},N={'top':!0x1,'bottom':!0x1,'left':!0x1,'right':!0x1};this['widgetItems']['forEach'](O=>{const P=O['getPaddingOnContainer']();M['top']=(0x0,F['getMaxValue'])(M['top'],P['top']),M['left']=(0x0,F['getMaxValue'])(M['left'],P['left']),M['right']=(0x0,F['getMaxValue'])(M['right'],P['right']),M['bottom']=(0x0,F['getMaxValue'])(M['bottom'],P['bottom']);const Q=O['layoutStyle']['badgePosition'],R=O['layoutStyle']['statusIndicatorPosition'],S=Q['toLocaleLowerCase']()['includes']('top')||R['toLocaleLowerCase']()['includes']('top'),T=Q['toLocaleLowerCase']()['includes']('bottom')||R['toLocaleLowerCase']()['includes']('bottom'),U=Q['toLocaleLowerCase']()['includes']('right')||R['toLocaleLowerCase']()['includes']('right'),V=Q['toLocaleLowerCase']()['includes']('left')||R['toLocaleLowerCase']()['includes']('left'),W=Q['toLocaleLowerCase']()['includes']('outside')||R['toLocaleLowerCase']()['includes']('outside'),X=O['layoutStyle']['badgeIndicatorStyle']['isVisible']||O['layoutStyle'][O['chipType']]['isVisible'];W&&X&&(S&&(N['top']=!0x0),T&&(N['bottom']=!0x0),U&&(N['right']=!0x0),V&&(N['left']=!0x0));}),M['top']=N['top']?M['top']:'0px',M['bottom']=N['bottom']?M['bottom']:'0px',M['left']=N['left']?M['left']:'0px',M['right']=N['right']?M['right']:'0px',this['widgetItems']['forEach'](O=>{O['setPaddingOnContainer'](M);});}['setMaxItemsDisplaySize'](M){this['setAttribute']('max-display-items-count',M['toString']());}['setMaxItemsSize'](M,N){this['setReloadData'](N),this['setAttribute']('max-items',(null==M?void 0x0:M['toString']())||'');}['setupVideoModalCallbacks'](){var M,N,O;this['videosModal']&&(this['videosModal']['onContentChange']=null===(M=this['onContentChange'])||void 0x0===M?void 0x0:M['bind'](this),this['videosModal']['onClose']=null===(N=this['onPlayerClose'])||void 0x0===N?void 0x0:N['bind'](this),this['videosModal']['onOpen']=null===(O=this['onPlayerOpen'])||void 0x0===O?void 0x0:O['bind'](this),this['setupPlayerPollingListener']());}['setupMomentModalCallbacks'](){var M,N,O;this['momentsModal']&&(this['momentsModal']['onContentChange']=null===(M=this['onContentChange'])||void 0x0===M?void 0x0:M['bind'](this),this['momentsModal']['onClose']=null===(N=this['onPlayerClose'])||void 0x0===N?void 0x0:N['bind'](this),this['momentsModal']['onOpen']=null===(O=this['onPlayerOpen'])||void 0x0===O?void 0x0:O['bind'](this));}['setupStoryModalCallbacks'](){var M,N,O;this['storysModal']&&(this['storysModal']['onContentChange']=null===(M=this['onContentChange'])||void 0x0===M?void 0x0:M['bind'](this),this['storysModal']['onClose']=null===(N=this['onPlayerClose'])||void 0x0===N?void 0x0:N['bind'](this),this['storysModal']['onOpen']=null===(O=this['onPlayerOpen'])||void 0x0===O?void 0x0:O['bind'](this));}['beforeStoryModalCreation'](){this['updatePlayerStyle']();}['removeSkeletonContainer'](){return q(this,void 0x0,void 0x0,function*(){var M;null===(M=this['skeletonContainer'])||void 0x0===M||M['remove']();});}['handlePostContentLoad'](M,N,O){return q(this,void 0x0,void 0x0,function*(){var P;null===(P=this['skeletonContainer'])||void 0x0===P||P['remove']();for(const Q of this['widgetItems'])null==Q||Q['remove']();if(this['widgetItems']=[],this['handleWidgetContent'](),this['render'](),this['reorderWidgets'](),M?this['handleStoryContent']():N?this['handleMomentContent']():O&&this['handleVideoContent'](),this['widgetItems']['forEach'](R=>this['refElement']['appendChild'](R)),this['initializeRovingTabindex'](),this['reorderWidgets'](),C['EventService']['dispatch'](this,A['Delegation']['onWidgetDataLoadCompleted'],{'widgetId':this['id'],'storyCount':this['contents']['length'],'contentCount':this['contents']['length']}),this['isWidgetVisible']&&this['widgetItems']['length']&&this['event'](z['WidgetAction']['Visible'],{},this['getAttribute']('labels')),this['event'](z['WidgetAction']['Load'],{},this['getAttribute']('labels')),this['updateWidgetUI'](),this['updateAccessibilityLabel'](),this['widgetItems']['length']>0x0){this['focusedItemIndex']=0x0,this['widgetItems'][0x0]['setAttribute']('tabindex','0'),this['widgetItems']['slice'](0x1)['forEach'](S=>S['setAttribute']('tabindex','-1'));const R=this['getContentType']();this['widgetItems']['forEach']((S,T)=>{S['updateAccessibilityInfo']({'position':T+0x1,'total':this['widgetItems']['length'],'contentType':R});});}this['setupActivityObservers']();});}['handleAssetsExpiry'](M){const N=new Date(Date['parse'](M['assetsExpiryTime']));clearTimeout(this['reloadTimeout']),this['reloadTimeout']=setTimeout(()=>{this['loadContent']();},N['getTime']()-Date['now']()-0x493e0);}['onItemClick'](M,N){var O,P,Q,R;window['visualViewport']&&window['visualViewport']['scale']>0x1&&C['EventService']['dispatch'](this,A['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':A['ErrorCode']['VisualViewportScaled']});const S=this['getAttribute']('content-type'),T='story'===S||!S,U='moment'===S,V='video'===S;if(this['isAnimatedThumbnail']()&&w['deviceDetector']['isDesktop']){const W=this['currentlyAnimatedItem'];this['currentlyAnimatedItem']=this['firstVisibleItem'],null==W||W['loadNewThumbnail'](),null===(O=this['currentlyAnimatedItem'])||void 0x0===O||O['loadNewThumbnail']();}V&&this['videosModal']?this['playVideo'](null===(P=M['content'])||void 0x0===P?void 0x0:P['id']):U&&this['momentsModal']?this['playMoment'](null===(Q=M['content'])||void 0x0===Q?void 0x0:Q['id']):T&&this['storysModal']&&this['playStory'](null===(R=M['content'])||void 0x0===R?void 0x0:R['id']);}['handleWidgetContent'](){var M;let N=this['getTheme']();null===(M=this['contents'])||void 0x0===M||M['forEach']((O,P)=>{O['entities']&&Object['entries'](O['entities'])['forEach'](([R,S])=>{var T;S&&this['perItemStyleOverrides']&&this['perItemStyleOverrides'][R]&&(null===(T=this['perItemStyleOverrides'][R])||void 0x0===T||T['forEach'](U=>{U['name']===S&&(N=U['theme'],this['updateActiveLayoutThemesPerItemWithEntity'](R,S,U['theme']));}));});const Q=new H['BlazeWidgetItem']({'layout':N['layoutStyle'],'content':O});Q['onClick']=()=>this['onItemClick'](Q,P),Q['contentType']=this['getAttribute']('content-type')||'story',this['widgetItems']['push'](Q);});}['calculateChipSizes'](M){const {chipWidth:N,chipHeight:O}=(0x0,F['calculateChipSize'])('badge',M['layoutStyle']['badgePosition'],M['layoutStyle']),{chipWidth:P,chipHeight:Q}=(0x0,F['calculateChipSize'])('chip',M['layoutStyle']['statusIndicatorPosition'],M['layoutStyle']);return{'badge':{'width':N,'height':O},'chip':{'width':P,'height':Q}};}['getStatusIndicatorBadgeAndChipSizes'](){let M=0x0,N=0x0,O=0x0,P=0x0;if((0x0,F['isEmpty'])(this['activeOverridesLayoutThemes'])){const {badge:Q,chip:R}=this['calculateChipSizes'](this['theme']),{badgePosition:S,statusIndicatorPosition:T}=this['theme']['layoutStyle'],{maxBadgeHeight:U,maxBadgeWidth:V,maxChipHeight:W,maxChipWidth:X}=this['getMaxSizes'](Q,R,S,T);M=U,N=V,O=W,P=X;}else Object['keys'](this['activeOverridesLayoutThemes'])['forEach'](Y=>{var Z;const a0=Y;null===(Z=this['activeOverridesLayoutThemes'][a0])||void 0x0===Z||Z['forEach'](a1=>{const {badge:a2,chip:a3}=this['calculateChipSizes'](a1['theme']),{badgePosition:a4,statusIndicatorPosition:a5}=a1['theme']['layoutStyle'],{maxBadgeHeight:a6,maxBadgeWidth:a7,maxChipHeight:a8,maxChipWidth:a9}=this['getMaxSizes'](a2,a3,a4,a5);M=Math['max'](M,a6),N=Math['max'](N,a7),O=Math['max'](O,a8),P=Math['max'](P,a9);});});return{'maxBadgeHeight':M,'maxBadgeWidth':N,'maxChipHeight':O,'maxChipWidth':P};}['isAnimatedThumbnail'](){return'AnimatedThumbnailPoster'===(0x0,E['thumbnailMapping'])(this['getTheme']()['layoutStyle']['thumbnailType']);}['getMaxSizes'](M,N,O,P){let Q,R,S,T;return O===P?(Q=Math['max'](M['height'],N['height']),R=Math['max'](M['width'],N['width']),S=Q,T=R):(Q=M['height'],R=M['width'],S=N['height'],T=N['width']),{'maxBadgeHeight':Q,'maxBadgeWidth':R,'maxChipHeight':S,'maxChipWidth':T};}['render'](){var M;if(this['theme']){const {itemRatio:N,columns:O,rows:P,lines:Q,labelStyle:R,verticalItemsSpacing:T,horizontalItemsSpacing:U}=this['theme']['layoutStyle'];this['style']['overflowX']='',this['style']['columnGap']=U+'px',this['style']['rowGap']=T+'px',this['style']['gridAutoFlow']='row',this['style']['overflow']='hidden',this['style']['color']=R['color'];const V=this['maxSize'](),W=V!==this['contents']['length']?this['contents']['slice'](0x0,V):this['contents'],{maxBadgeHeight:X,maxBadgeWidth:Y,maxChipHeight:Z,maxChipWidth:a0}=this['getStatusIndicatorBadgeAndChipSizes'](),a1=Z/0x2+X/0x2,a2=Y/0x2+a0/0x2;let a3,a4=0x0,a5=0x0;const a6=-0x1!==R['position']['indexOf']('outside');if(R['isVisible']&&a6){const aa=this['calculateLabelSizes'](R,Q);a3=aa['labelWidth'],a4=aa['labelAdditionalWidth'],a5=aa['labelAdditionalHeight'];}let a7,a8;const a9=this['getParentHeightWithoutPadding']()||this['parentHeight']||this['clientHeight']||this['widgetHeight'];0x1==P&&0x0==O?(a7=a9-a5-a1,a8=this['calculateWidthForRow'](a7,N,a2,a4),this['style']['gridTemplateColumns']='repeat('+(null!==(M=W['length'])&&void 0x0!==M?M:0x0)+',\x20'+a8+'px)',this['style']['overflowX']='auto'):(a8=(a9-(O-0x1)*U)/O,a7=(a8-a4-a2)/N+a1+a5,this['style']['gridTemplateColumns']='1fr\x20'['repeat'](O),this['style']['overflow']='auto'),this['thumbnailHeight']=Math['floor'](a7),this['thumbnailWidth']=Math['floor'](a8),this['style']['height']='auto';}}['calculateWidthForRow'](M,N,O,P){return M*N+O+P;}['calculateLabelSizes'](M,N){let O=M['width'],P=0x0,Q=(0x0,F['convertCssUnitToNumber'])(M['height'])*N;const {isOutside:R,isInside:S,isLeft:T,isRight:U}=(0x0,F['calculatePosition'])(M['position']);return R?T||U||(Q+=M['gap']+(M['padding']?0x2*parseInt(M['padding'],0xa):0x0)):S&&(T||U?(P='auto'===O?0x0:+O,Q=0x0):Q+=M['gap']),{'labelWidth':O,'labelAdditionalWidth':P,'labelAdditionalHeight':Q};}['reorderWidgetItems'](){for(const M of this['contents']){const N=this['widgetItems']['findIndex'](P=>{var Q;return(null===(Q=P['content'])||void 0x0===Q?void 0x0:Q['id'])===M['id'];}),O=this['contents']['indexOf'](M);if(N>0x0){const P=this['widgetItems'][N],Q=this['widgetItems'][O];this['widgetItems'][O]=P,this['widgetItems'][N]=Q;}}}['updateWidgetDisplay'](){let M=this['maxSize']();M&&this['widgetItems']['forEach']((N,O)=>{N['style']['display']=O<M?'grid':'none';});}['maxSize'](){var M,N;const O=this['theme']['layoutStyle']['columns'],P=this['theme']['layoutStyle']['rows'],Q=this['getAttribute']('max-display-items-count');let R=O*P,S=0x0;return S=null!==(N=null===(M=this['contents'])||void 0x0===M?void 0x0:M['length'])&&void 0x0!==N?N:0x0,0x0==R&&(R=S),Q&&(R=Q),R=Math['max'](Math['min'](S,R),0x0),R;}['connectWidgets'](){if(this['isConnected'])for(const M in this['widgetItems']){const N=this['widgetItems'][M];N['isConnected']||this['refElement']['appendChild'](N);}}get['thumbnailShape'](){var M;return(null===(M=this['theme'])||void 0x0===M?void 0x0:M['layoutStyle']['thumbnailShape'])||this['getAttribute']('thumbnail-shape');}['widgetType'](){return this['theme']['layoutStyle']['columns']>0x1?'Grid':'Row';}['setupAccessibility'](){this['setAttribute']('role','toolbar'),this['setAttribute']('aria-orientation','horizontal'),this['addEventListener']('keydown',this['onKeyDown']['bind'](this)),this['updateAccessibilityLabel'](),I['accessibilityManager']['setupLiveRegions'](this);}['updateAccessibilityLabel'](){const M=this['getContentType'](),N=this['widgetItems']['length'],{label:O,announcement:P}=(0x0,F['buildCarouselLabel'])(M,N);I['accessibilityManager']['announce']({'message':P,'priority':'polite','category':'navigation'}),this['setAttribute']('aria-label',O),this['setAttribute']('aria-live','polite');}['onKeyDown'](M){var N,O,P;const Q=navigator['platform']['toLowerCase']()['includes']('win')||navigator['userAgent']['toLowerCase']()['includes']('windows'),R='ArrowUp'===M['key']||'ArrowDown'===M['key'],S='ArrowRight'===M['key']||'ArrowLeft'===M['key'],T='Enter'===M['key']||'\x20'===M['key'],U='Home'===M['key'],V='End'===M['key'],W=Q?R:R||S;(null===(N=this['storysModal'])||void 0x0===N?void 0x0:N['isOpen'])&&S||(null===(O=this['momentsModal'])||void 0x0===O?void 0x0:O['isOpen'])&&S||(null===(P=this['videosModal'])||void 0x0===P?void 0x0:P['isOpen'])&&S||0x0!==this['widgetItems']['length']&&((W||T||U||V)&&(M['preventDefault'](),M['stopPropagation']()),'ArrowDown'===M['key']||!Q&&'ArrowRight'===M['key']?this['navigateToNextItem']():'ArrowUp'===M['key']||!Q&&'ArrowLeft'===M['key']?this['navigateToPreviousItem']():'Home'===M['key']?this['navigateToItem'](0x0):'End'===M['key']?this['navigateToItem'](this['widgetItems']['length']-0x1):'Enter'!==M['key']&&'\x20'!==M['key']||this['activateCurrentItem']());}['navigateToNextItem'](){this['focusedItemIndex']<this['widgetItems']['length']-0x1&&this['navigateToItem'](this['focusedItemIndex']+0x1);}['navigateToPreviousItem'](){this['focusedItemIndex']>0x0&&this['navigateToItem'](this['focusedItemIndex']-0x1);}['navigateToItem'](M){if(M<0x0||M>=this['widgetItems']['length'])return;const N=this['focusedItemIndex'],O=this['widgetItems'][M];N>=0x0&&N<this['widgetItems']['length']&&this['widgetItems'][N]['setAttribute']('tabindex','-1'),O['setAttribute']('tabindex','0'),this['focusedItemIndex']=M,O['focus'](),O['scrollIntoView']({'behavior':'smooth','block':'nearest'}),this['announceCurrentItem']();}['activateCurrentItem'](){this['focusedItemIndex']>=0x0&&this['focusedItemIndex']<this['widgetItems']['length']&&this['widgetItems'][this['focusedItemIndex']]['click']();}['announceCurrentItem'](){var M;if(this['focusedItemIndex']>=0x0&&this['focusedItemIndex']<this['widgetItems']['length']){const N=this['widgetItems'][this['focusedItemIndex']],O=this['getContentType'](),P=(0x0,F['buildContentAriaLabel'])({'contentType':O,'title':(null===(M=N['content'])||void 0x0===M?void 0x0:M['title'])||'Untitled','content':N['content'],'position':this['focusedItemIndex']+0x1,'total':this['widgetItems']['length'],'elementType':'item'});I['accessibilityManager']['announce']({'message':P,'priority':'assertive','category':'navigation'}),this['setAttribute']('aria-label',P),setTimeout(()=>{this['updateAccessibilityLabel']();},z['ACCESSIBILITY_TIMING']['LABEL_CLEAR_DELAY']);}}['updateFocusedItemIndex'](M){M>=0x0&&M<this['widgetItems']['length']&&(this['focusedItemIndex']=M);}['setFocusState'](M){this['focusedItemIndex']>=0x0&&(this['widgetItems'][this['focusedItemIndex']]['blur'](),this['widgetItems'][this['focusedItemIndex']]['setAttribute']('tabindex','-1')),this['focusedItemIndex']=M,this['widgetItems'][M]['setAttribute']('tabindex','0');}['removeTabIndexFromWidgetItems'](){this['widgetItems']['forEach']((M,N)=>{N===this['focusedItemIndex']?M['setAttribute']('tabindex','-1'):M['removeAttribute']('tabindex');});}['restoreTabIndexOnWidgetItems'](){this['widgetItems']['forEach']((M,N)=>{0x0===N?M['setAttribute']('tabindex','0'):M['setAttribute']('tabindex','-1');});}['initializeRovingTabindex'](){this['widgetItems']['forEach']((M,N)=>{0x0===N?(M['setAttribute']('tabindex','0'),this['focusedItemIndex']=0x0):M['setAttribute']('tabindex','-1');});}}j['BlazeWidgetLayout']=L;},0x3c:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['PlaybackStrategyFactory']=void 0x0;const h=g(0x774),j=g(0x228f),k=g(0x1305);f['PlaybackStrategyFactory']=class{static['createStrategy'](l,m,p,q){switch(m){case'LONG_FORM_HLS':return new h['LongFormHlsStrategy'](l,q);case'SHORT_FORM_HLS':return new j['ShortFormHLSStrategy'](l,q);case'NATIVE':if(!p)throw new Error('Widget\x20parameter\x20required\x20for\x20NATIVE\x20strategy');return new k['NativeVideoStrategy'](l,p,q);default:throw new Error('Unsupported\x20playback\x20strategy\x20type:\x20'+m);}}};},0x46:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(l,m,p,q){void 0x0===q&&(q=p);var r=Object['getOwnPropertyDescriptor'](m,p);r&&!('get'in r?!m['__esModule']:r['writable']||r['configurable'])||(r={'enumerable':!0x0,'get':function(){return m[p];}}),Object['defineProperty'](l,q,r);}:function(l,m,p,q){void 0x0===q&&(q=p),l[q]=m[p];}),j=this&&this['__exportStar']||function(l,m){for(var p in l)'default'===p||Object['prototype']['hasOwnProperty']['call'](m,p)||h(m,l,p);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoErrorManager']=void 0x0;var k=g(0x2026);Object['defineProperty'](f,'VideoErrorManager',{'enumerable':!0x0,'get':function(){return k['VideoErrorManager'];}}),j(g(0x1700),f);},0x4e:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x93:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['INTERACTION_ANALYTICS']=f['ANSWER_FEEDBACK_VIBRATE_PATTERNS']=void 0x0,f['ANSWER_FEEDBACK_VIBRATE_PATTERNS']={'correctAnswerFeedback':[0x0,0x64,0x32,0x32,0x0,0xff,0x0,0xff],'wrongAnswerFeedback':[0x0,0xc8,0x32,0xc8,0x0,0xc8,0x0,0xc8],'selectionFeedback':[0x0,0x50,0x0,0xc8]},f['INTERACTION_ANALYTICS']='INTERACTION_ANALYTICS';},0xb8:d=>{var f={'':0x1,'lr':0x1,'rl':0x1},g={'start':0x1,'center':0x1,'end':0x1,'left':0x1,'right':0x1,'auto':0x1,'line-left':0x1,'line-right':0x1};function h(k){return'string'==typeof k&&!!g[k['toLowerCase']()]&&k['toLowerCase']();}function j(k,q,w){this['hasBeenReset']=!0x1;var x='',z=!0x1,A=k,B=q,C=w,D=null,E='',F=!0x0,G='auto',H='start',I='auto',J='auto',K=0x64,L='center';Object['defineProperties'](this,{'id':{'enumerable':!0x0,'get':function(){return x;},'set':function(M){x=''+M;}},'pauseOnExit':{'enumerable':!0x0,'get':function(){return z;},'set':function(M){z=!!M;}},'startTime':{'enumerable':!0x0,'get':function(){return A;},'set':function(M){if('number'!=typeof M)throw new TypeError('Start\x20time\x20must\x20be\x20set\x20to\x20a\x20number.');A=M,this['hasBeenReset']=!0x0;}},'endTime':{'enumerable':!0x0,'get':function(){return B;},'set':function(M){if('number'!=typeof M)throw new TypeError('End\x20time\x20must\x20be\x20set\x20to\x20a\x20number.');B=M,this['hasBeenReset']=!0x0;}},'text':{'enumerable':!0x0,'get':function(){return C;},'set':function(M){C=''+M,this['hasBeenReset']=!0x0;}},'region':{'enumerable':!0x0,'get':function(){return D;},'set':function(M){D=M,this['hasBeenReset']=!0x0;}},'vertical':{'enumerable':!0x0,'get':function(){return E;},'set':function(M){var N=function(O){return'string'==typeof O&&!!f[O['toLowerCase']()]&&O['toLowerCase']();}(M);if(!0x1===N)throw new SyntaxError('Vertical:\x20an\x20invalid\x20or\x20illegal\x20direction\x20string\x20was\x20specified.');E=N,this['hasBeenReset']=!0x0;}},'snapToLines':{'enumerable':!0x0,'get':function(){return F;},'set':function(M){F=!!M,this['hasBeenReset']=!0x0;}},'line':{'enumerable':!0x0,'get':function(){return G;},'set':function(M){if('number'!=typeof M&&'auto'!==M)throw new SyntaxError('Line:\x20an\x20invalid\x20number\x20or\x20illegal\x20string\x20was\x20specified.');G=M,this['hasBeenReset']=!0x0;}},'lineAlign':{'enumerable':!0x0,'get':function(){return H;},'set':function(M){var N=h(M);N&&(H=N,this['hasBeenReset']=!0x0);}},'position':{'enumerable':!0x0,'get':function(){return I;},'set':function(M){if(M<0x0||M>0x64)throw new Error('Position\x20must\x20be\x20between\x200\x20and\x20100.');I=M,this['hasBeenReset']=!0x0;}},'positionAlign':{'enumerable':!0x0,'get':function(){return J;},'set':function(M){var N=h(M);N&&(J=N,this['hasBeenReset']=!0x0);}},'size':{'enumerable':!0x0,'get':function(){return K;},'set':function(M){if(M<0x0||M>0x64)throw new Error('Size\x20must\x20be\x20between\x200\x20and\x20100.');K=M,this['hasBeenReset']=!0x0;}},'align':{'enumerable':!0x0,'get':function(){return L;},'set':function(M){var N=h(M);if(!N)throw new SyntaxError('align:\x20an\x20invalid\x20or\x20illegal\x20alignment\x20string\x20was\x20specified.');L=N,this['hasBeenReset']=!0x0;}}}),this['displayState']=void 0x0;}j['prototype']['getCueAsHTML']=function(){return WebVTT['convertCueToDOMTree'](window,this['text']);},d['exports']=j;},0xc8:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(k,l,m,p){return new(m||(m=Promise))(function(q,u){function v(y){try{x(p['next'](y));}catch(z){u(z);}}function w(y){try{x(p['throw'](y));}catch(z){u(z);}}function x(y){var z;y['done']?q(y['value']):(z=y['value'],z instanceof m?z:new m(function(A){A(z);}))['then'](v,w);}x((p=p['apply'](k,l||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LoggerDatabaseAdapter']=void 0x0;const j=g(0x11c1);f['LoggerDatabaseAdapter']=class{['storeLog'](k){return h(this,void 0x0,void 0x0,function*(){return j['DatabaseService']['addLog'](k);});}['getLogBatch'](k){return h(this,void 0x0,void 0x0,function*(){return j['DatabaseService']['getLogs'](k);});}['removeLogs'](k){return h(this,void 0x0,void 0x0,function*(){return j['DatabaseService']['removeLogs'](k);});}['clearLogs'](){return h(this,void 0x0,void 0x0,function*(){return j['DatabaseService']['clearLogs']();});}['getLogCount'](){return h(this,void 0x0,void 0x0,function*(){return j['DatabaseService']['getLogCount']();});}};},0xcf:function(f,g,h){'use strict';var j=this&&this['__awaiter']||function(w,x,y,z){return new(y||(y=Promise))(function(A,B){function C(F){try{E(z['next'](F));}catch(G){B(G);}}function D(F){try{E(z['throw'](F));}catch(G){B(G);}}function E(F){var G;F['done']?A(F['value']):(G=F['value'],G instanceof y?G:new y(function(H){H(G);}))['then'](C,D);}E((z=z['apply'](w,x||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['VideoService']=void 0x0;const k=h(0x11c1),m=h(0x1133),p=h(0x23bc),q=h(0x251b),u=h(0x2223);class v extends(0x0,m['Singleton'])(){constructor(){super(...arguments),this['_loadHlsScriptAttempts']=0x3;}['init'](){return j(this,void 0x0,void 0x0,function*(){yield this['loadHlsScript']();});}['loadHlsScript'](){return j(this,void 0x0,void 0x0,function*(){if(window['Hls'])return;const w=document['getElementsByTagName']('blaze-sdk')[0x0];if(w){for(let x=0x0;x<this['_loadHlsScriptAttempts'];x++)try{if(yield k['CDNDetermineService']['loadScript']('/web-sdk/js/hls.js@1.5.20.js',w),window['Hls'])return;}catch(y){}throw new Error('Failed\x20to\x20load\x20Hls\x20script.');}});}['fetchContent'](w,x){return j(this,void 0x0,void 0x0,function*(){const {sourceType:z,labels:A,ids:B,orderType:C,maxItems:D,labelsPriority:E,text:F,recommendations:G,advancedOrdering:H}=w;x&&q['VideoFilters']['validate'](x);const I=q['VideoFilters']['toApiFormat'](x);let J,K;if('ids'===z&&B)({data:J,error:K}=yield k['ApiService']['getVideosByIds'](Object['assign']({'ids':B,'orderType':C,'showLiveFirst':'LiveFirst'===H},I)));else{if('labels'===z&&A){const L=Array['isArray'](A)?A['join']():A['toString']();({data:J,error:K}=yield k['ApiService']['getVideosByLabels'](Object['assign']({'labels':L,'orderType':C,'maxItems':D,'labelsPriority':E,'text':F,'showLiveFirst':'LiveFirst'===H},I)));}else'text'===z&&F?{data:J,error:K}=yield k['ApiService']['getVideosByText'](Object['assign']({'text':F,'orderType':C,'maxItems':D,'showLiveFirst':'LiveFirst'===H},I)):'recommendations'===z&&G&&({data:J,error:K}=yield k['ApiService']['getContentByRecommendations']({'contentType':'video','recommendations':G}));}return null==J||J['result']['map'](M=>{var N;M['type']='Content',(null===(N=M['stream'])||void 0x0===N?void 0x0:N['state'])&&(M['stream']['state']=u['StreamUtils']['validateState'](M['stream']['state']));}),J||{'assetsExpiryTime':'','totalItems':0x0,'result':[]};});}['enrichContent'](w){return j(this,void 0x0,void 0x0,function*(){for(const x of w){const y=yield k['DatabaseService']['getUserActivity']('video_view_'+x['id']);(null==y?void 0x0:y['data'])&&'video_view'===y['data']['activityType']?x['hasViewed']=y['data']['isFullyRead']:x['hasViewed']=!0x1;}return w;});}['getVideoDataById'](w){return j(this,void 0x0,void 0x0,function*(){return yield k['DatabaseService']['getVideoData'](w);});}['getVideoActivity'](w){return j(this,void 0x0,void 0x0,function*(){const x=yield k['DatabaseService']['getUserActivity']('video_view_'+w);return(null==x?void 0x0:x['data'])&&'video_view'===x['data']['activityType']?x['data']:null;});}['updateVideoDataById'](w,x){return j(this,void 0x0,void 0x0,function*(){return yield k['DatabaseService']['updateVideoData'](w,x);});}['initializeVideoData'](w,x){return j(this,void 0x0,void 0x0,function*(){yield k['DatabaseService']['updateVideoReadStatus'](w,x);});}['markVideoAsViewed'](w,x,y){return j(this,void 0x0,void 0x0,function*(){const z=x>=0.95*y,A=yield this['getVideoActivity'](w),B=(null==A?void 0x0:A['isFullyRead'])||z,C=Math['floor'](x),D={'id':'video_view_'+w,'activityType':'video_view','videoId':w,'lastReadPoint':C,'isFullyRead':B,'timestamp':Date['now'](),'isRemoteSynced':!0x1};yield k['UserActivitySynchronizer']['queueViewActivity'](D),k['EventBusService']['publish'](p['USER_ACTIVITY_EVENTS']['VIDEO_VIEW_CHANGED'],{'videoId':w,'hasViewed':B});});}['fetchVideosByIds'](w){return j(this,void 0x0,void 0x0,function*(){try{if(0x0===w['length'])return[];const {data:x,error:y}=yield k['ApiService']['getVideosByIds']({'ids':w});return!y&&x&&x['result']&&0x0!==x['result']['length']?x['result']['map'](z=>{var A;return z['type']='Content',(null===(A=z['stream'])||void 0x0===A?void 0x0:A['state'])&&(z['stream']['state']=u['StreamUtils']['validateState'](z['stream']['state'])),z;}):[];}catch(z){return[];}});}['isVideoLiked'](w){return j(this,void 0x0,void 0x0,function*(){return k['LikeService']['isVideoLiked'](w);});}['updateVideoLike'](w,x){return j(this,void 0x0,void 0x0,function*(){return k['LikeService']['updateVideoLike'](w,x);});}}g['VideoService']=v['getInstance']();},0xf2:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['POLLING_CONFIG']=void 0x0,f['POLLING_CONFIG']={'INTERVAL_MS':0x2710,'MAX_ERRORS':0x3,'ERROR_RETRY_DELAY_MS':0x1388,'BACKOFF_INTERVALS':{'NORMAL':0x2710,'RETRY_1':0x4e20,'RETRY_2':0x9c40,'RETRY_MAX':0xea60},'DEBOUNCE_DELAY_MS':0x3e8};},0x115:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x636),f);},0x14c:function(f,j,k){'use strict';var m=this&&this['__importDefault']||function(F){return F&&F['__esModule']?F:{'default':F};};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetModal']=void 0x0;const p=m(k(0x1c00)),q=k(0x23a6),w=k(0x1133),x=k(0x1932),y=k(0x22d9),z=k(0x115),A=k(0x11c1),B=k(0x23e7),C=k(0x1b52),D=k(0x89c);class E extends w['BaseWidget']{constructor(F,G=A['VideoPlayerService']){if(super(),this['videoPlayerState']=G,this['isOpen']=!0x1,this['exitButtonElement']={},this['exitButtonWrapperElement']={},this['blazeSdk']=document['getElementsByTagName']('blaze-sdk')[0x0],this['hammer']=null,this['isMultiTouch']=!0x1,this['contentType']=F,this['player']=y['WidgetsFactory']['create']('blaze-widget-'+F+'-player'),this['player']['videoPlayerState']=this['videoPlayerState'],'desktop'===w['deviceDetector']['platform']){const H=document['createElement']('style');H['textContent']='\x0a\x20\x20\x20\x20\x20\x20\x20\x20.desktop-button:hover{background-color:\x20#333333\x20!important;}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.mute-unmute-button:hover{scale:\x201.1;}\x0a\x20\x20\x20\x20\x20\x20\x20\x20blaze-widget-modal\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20outline:\x20none\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20box-shadow:\x20none\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20',this['appendChild'](H),this['exitButtonWrapperElement']=y['WidgetsFactory']['create']('blaze-div'),this['exitButtonWrapperElement']['setAttribute']('data-testid','blaze-widget-story-exit-button'),this['exitButtonElement']=y['WidgetsFactory']['create']('blaze-button'),this['exitButtonElement']['setAriaLabel']('Close'),this['exitButtonElement']['setAttribute']('tabindex','0');}this['boundOnResizeEvent']=(0x0,w['debounce'])(this['onResize']['bind'](this),0x7d0),this['boundOnPopStateEvent']=this['handlePopState']['bind'](this),this['boundOnExitButtonClick']=this['handleOnExitButtonClick']['bind'](this),this['player']['onContentChange']=this['handleOnContentChange']['bind'](this);}['connectedCallback'](){window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener']('popstate',this['boundOnPopStateEvent']),this['id']||(this['id']='blaze-'+this['contentType']+'-modal-'+Date['now']()),C['accessibilityManager']['setupModalAccessibility'](this,this['contentType']),this['setStyle']({'display':'none','position':'fixed','top':'0%','left':'0%','width':'100%','height':'100%','minHeight':'100%','justifyContent':'center','zIndex':'10000','direction':A['ConfigService']['layoutDirection'],'outline':'none'}),w['deviceDetector']['isDesktop']&&(this['exitButtonWrapperElement']['setStyle']({'position':'absolute','borderRadius':'40px','background':'#18181899','padding':'8px','top':'20px','right':'20px','zIndex':'99999','display':'block','cursor':'pointer'}),this['exitButtonWrapperElement']['classList']['add']('desktop-button'),this['exitButtonElement']['setIconUrl'](z['closeIconSvg']),this['exitButtonElement']['setAttribute']('height','30px'),this['exitButtonElement']['setAttribute']('width','30px'),this['exitButtonWrapperElement']['addEventListener']('click',this['boundOnExitButtonClick']),this['exitButtonWrapperElement']['append'](this['exitButtonElement'])),this['setupHammer'](),this['render']();}['disconnectedCallback'](){this['cleanupHammer'](),w['deviceDetector']['isDesktop']&&this['exitButtonWrapperElement']&&this['exitButtonWrapperElement']['removeEventListener']('click',this['boundOnExitButtonClick']),window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener']('popstate',this['boundOnPopStateEvent']);}['onResize'](){var F,G,H,I;null===(F=this['player'])||void 0x0===F||F['render'](),null===(G=this['player'])||void 0x0===G||G['resetPosition'](),null===(I=null===(H=this['player'])||void 0x0===H?void 0x0:H['contentList'])||void 0x0===I||I['forEach'](J=>null==J?void 0x0:J['render']()),this['render']();}['handleOnContentChange'](F){var G;null===(G=this['onContentChange'])||void 0x0===G||G['call'](this,F);}['handleOnExitButtonClick'](){const F=this['player']['playerContentList'][this['player']['index']];F['exitTrigger']='Close\x20Button',F instanceof q['BlazeWidgetStory']&&F['close'](),this['close']();}['handlePopState'](){var F,G;this['isOpen']&&(w['URLManager']['isUpdateLocationByScript']||w['URLManager']['isBackWasCalled']||(this['player']['close'](),this['close'](),this['player']instanceof q['BlazeWidgetStoryPlayer']&&(null===(G=(F=this['player'])['dispatchExitStoryEvents'])||void 0x0===G||G['call'](F)),w['URLManager']['resetLocation'](),w['URLManager']['isBackWasCalled']=!0x0));}['seek'](F){this['player']['seekContentById'](F);}['setupHammer'](){this['hammer']||(this['hammer']=new p['default']['Manager'](this),this['hammer']['add'](new p['default']['Pan']({'direction':p['default']['DIRECTION_ALL']})),this['hammer']['add'](new p['default']['Pinch']({'enable':!0x0})),this['hammer']['on']('panstart',this['handlePanStart']),this['hammer']['on']('pan',this['handlePan']),this['hammer']['on']('doubletap',this['handleDoubleTap']),this['hammer']['on']('pinch',this['handlePinchOut']),this['style']['touchAction']='pinch-zoom');}['handlePanStart'](F){this['isMultiTouch']=F['pointers']['length']>0x1;}['handlePan'](F){this['isMultiTouch']||F['preventDefault']();}['handleDoubleTap'](F){F['preventDefault']();}['handlePinchOut'](F){F['preventDefault']();}['cleanupHammer'](){this['hammer']&&(this['hammer']['off']('panstart',this['handlePanStart']),this['hammer']['off']('pan',this['handlePan']),this['hammer']['off']('doubletap',this['handleDoubleTap']),this['hammer']['destroy'](),this['hammer']=null);}['open'](F){w['URLManager']['isBackWasCalled']=!0x1,w['URLManager']['appendUrlForPrefetch'](A['ConfigService']['autoAdvanceUrl']),this['videoPlayerState']['isPlaying']=!0x0,A['VideoPlayerService']['isModalOpen']=!0x0,this['isOpen']=!0x0,this['setAttribute']('role','dialog'),this['setAttribute']('aria-modal','true'),this['blazeSdk']['dataset']['scrollX']=''+window['scrollX'],this['blazeSdk']['dataset']['scrollY']=''+window['scrollY'],document['body']['style']['overflow']='hidden',this['style']['opacity']='0',this['style']['display']='flex',this['append'](this['player']),this['appendExitButton'](),this['player']['resetAnimation'](),this['player']instanceof B['BlazeWidgetVideoPlayer']||this['player']['play'](F),setTimeout(()=>{this['style']['transition']='opacity\x200.3s\x20ease',this['style']['opacity']='1',this['transferFocusToModal']();},0x0);}['close'](){this['isOpen']=!0x1,this['removeAttribute']('role'),this['removeAttribute']('aria-modal'),A['VideoPlayerService']['isModalOpen']=!0x1,this['style']['opacity']='0',document['body']['style']['overflow']&&document['body']['style']['removeProperty']('overflow'),window['scrollTo'](parseInt(this['blazeSdk']['dataset']['scrollX']||'0',0xa),parseInt(this['blazeSdk']['dataset']['scrollY']||'0',0xa)),delete this['blazeSdk']['dataset']['scrollX'],delete this['blazeSdk']['dataset']['scrollY'],A['VideoCacheService']['isInitialized']()&&A['VideoCacheService']['clearAllCache'](),A['ConfigService']['shouldModifyUrlWithStoryId']||A['ConfigService']['shouldModifyUrlWithContentId']?w['URLManager']['updateLocationContentHash']({}):w['URLManager']['resetLocationAfterContentClose'](),this['player']['remove'](),this['videoPlayerState']['isPlaying']=!0x1,C['accessibilityManager']['closeModal'](this['contentType']),setTimeout(()=>{this['style']['display']='none';},x['ONE_SECOND']/0x3);}['isAllowExitModal'](F){return!!F['shouldDismissPlayer']||!['SingleContent','AutoAdvance']['includes'](F['playReference'])&&(void 0x0===F['customButtonVisibility']||F['customButtonVisibility']);}['render'](){if('desktop'===w['deviceDetector']['platform']){const F=this['player']['playerContentList'][this['player']['index']],G=this['isAllowExitModal']({'shouldDismissPlayer':A['ConfigService']['shouldDismissPlayer'],'playReference':A['VideoPlayerService']['playReference'],'customButtonVisibility':F instanceof q['BlazeWidgetStory']?null==F?void 0x0:F['isButtonVisible']('EXIT_PLAYER'):void 0x0});this['exitButtonWrapperElement']['style']['display']=G?'block':'none';}}['appendExitButton'](){w['deviceDetector']['isDesktop']&&this['exitButtonWrapperElement']&&this['append'](this['exitButtonWrapperElement']);}['transferFocusToModal'](){var F;const G=this['player']['playerContentList'][this['player']['index']];if(G){G['hasAttribute']('tabindex')||(G['setAttribute']('tabindex','0'),G['setAttribute']('role','region'));const H=(0x0,D['generateModalAriaLabel'])({'contentType':this['contentType'],'position':this['player']['index']+0x1,'total':this['player']['contentList']['length'],'title':null===(F=null==G?void 0x0:G['data'])||void 0x0===F?void 0x0:F['title'],'currentContent':G,'includeNavigationContext':!0x1});G['setAttribute']('aria-label',H),G['focus'](),setTimeout(()=>{G['setAttribute']('aria-label','');},0x3e8);}}}j['BlazeWidgetModal']=E;},0x164:(f,g,j)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['getContentScore']=void 0x0,g['formatMediaDuration']=function(D){const E='string'==typeof D?parseFloat(D):D;if(!E||isNaN(E)||E<=0x0)return'';const F=Math['floor'](E),G=Math['floor'](F/0xe10),H=Math['floor'](F%0xe10/0x3c),I=F%0x3c,J=K=>K['toString']()['padStart'](0x2,'0');return G>0x0?G+':'+J(H)+':'+J(I):J(H)+':'+J(I);},g['formatDuration']=function(D){if(!D||isNaN(D['getTime']()))return'';const E=new Date(),F=Math['abs'](E['getTime']()-D['getTime']()),G=0x36ee80,H=0x5265c00,I=Math['floor'](F/H),J=Math['floor'](F%H/G),K=Math['floor'](F%G/0xea60);if(I>0x1e){const L=Math['floor'](I/30.436875);return L>=0xc?'1y+':L+'mo';}return I>0x0?I+'d':J>0x0?J+'h':K>=0x2?K+'m':'Now';},g['isCssPropertySupported']=function(D){return D in document['body']['style'];},g['pixelsToNumber']=function(D){return parseInt(D['replace']('px',''));},g['convertCssUnitToNumber']=function(D){if('number'==typeof D)return D;if(D['endsWith']('px'))return parseFloat(D);if(D['endsWith']('rem')){const E=parseFloat(getComputedStyle(document['documentElement'])['fontSize']);return parseFloat(D)*E;}if(D['endsWith']('em')){const F=parseFloat(getComputedStyle(document['body'])['fontSize']);return parseFloat(D)*F;}throw new Error('Unsupported\x20CSS\x20unit:\x20'+D);},g['isObject']=p,g['mergeDeep']=q,g['mergeArrays']=w,g['cloneDeep']=function D(E){if(Array['isArray'](E))return E['map'](F=>D(F));if(p(E)){const F={};for(const G in E)Object['prototype']['hasOwnProperty']['call'](E,G)&&(F[G]=D(E[G]));return F;}return E;},g['formatDate']=function(E){return[E['getFullYear'](),x(E['getMonth']()+0x1),x(E['getDate']())]['join']('-')+'\x20'+[x(E['getHours']()),x(E['getMinutes']()),x(E['getSeconds']())]['join'](':');},g['formatUTCDate']=function(E){return[E['getUTCFullYear'](),x(E['getUTCMonth']()+0x1),x(E['getUTCDate']())]['join']('-')+'\x20'+[x(E['getUTCHours']()),x(E['getUTCMinutes']()),x(E['getUTCSeconds']())]['join'](':');},g['calculatePercentage']=function(E,F){return Math['floor'](E/0x64*F['clientHeight'])+'px';},g['checkAspectRatios']=function(E){const F=[{'ratio':'16/9','decimalValue':0x10/0x9},{'ratio':'9/16','decimalValue':0x9/0x10},{'ratio':'2/3','decimalValue':0x2/0x3}];for(const G of F)if(Math['abs'](E-G['decimalValue'])<0.01)return G['ratio'];return'Custom\x20Ratio';},g['getRandomId']=function(){const E=new Uint8Array(0x4);return crypto['getRandomValues'](E),E['join']('-');},g['isEmpty']=function(E){for(let F in E)if(E['hasOwnProperty'](F)&&Array['isArray'](E[F])&&E[F]['length']>0x0)return!0x1;return!0x0;},g['setId']=function(E,F='blaze',G=''){E['id']||(E['id']=function(H,I){return y+=0x1,H+'-'+y['toString']()+(I?'-'+I:'');}(F,G));},g['flattenObject']=function E(F){let G={};for(const H in F)if(F['hasOwnProperty'](H)){if('object'!=typeof F[H]||Array['isArray'](F[H]))G[H]=F[H];else{const I=E(F[H]);G=Object['assign'](Object['assign']({},G),I);}}return G;},g['mergeStyles']=function(F,G){return Object['assign'](F['style'],G);},g['getMaxValue']=function(F,G){const H=parseInt(F['replace']('px',''),0xa),I=parseInt(G['replace']('px',''),0xa);return isNaN(H)||I>H?G:F;},g['isReadByLastUnIgnoredPageStatus']=function(F){if(F['pages']['every'](G=>G['ignoreReadStatusForStory']&&G['hasViewed']))return!0x0;for(const G of F['pages']['slice']()['reverse']()){if(G['ignoreReadStatusForStory']&&!G['hasViewed'])return!0x1;if(!G['ignoreReadStatusForStory'])return G['hasViewed'];}return!0x1;},g['applyPlayerStyleChanges']=function(F,G,H,I){z(F,G,'GLOBAL',I),I['GLOBAL']=A(I['GLOBAL'],I['LOCAL']),I['GLOBAL']['forEach'](J=>{const K=J['split']('.');let L=C(G,K);B(H,K,L);});},g['getChangedProperties']=z,g['removeDuplicates']=A,g['updateStyle']=B,g['getNestedValue']=C,g['formatLikes']=function(F){return F>=0x186a0?'100K':F>=0x3e8?(Math['floor'](F/0x64)/0xa)['toFixed'](0x1)['replace'](/\.0$/,'')+'K':F['toString']();},g['isElementInsideTarget']=function(F,G){for(const H of G){const I=document['querySelectorAll'](H);for(const J of I)if(J['contains'](F))return!0x0;}return!0x1;},g['findParentOfType']=function(F,G,H){for(;F&&!(F instanceof G)&&F!==H;)F=F['parentElement'];return F instanceof G?F:null;},g['validateContainer']=function(F,G){const H=document['querySelector']('#'+F);if(!H)return m['EventService']['dispatch'](document['body'],k['Delegation']['onErrorThrown'],{'errorCode':k['ErrorCode']['FailedToFindContainerId']}),document['createElement']('div');if(G&&H['querySelector'](G))throw m['EventService']['dispatch'](document['body'],k['Delegation']['onErrorThrown'],{'errorCode':k['ErrorCode']['FailedContainerIdHasWidgetAlready']}),new Error('Container\x20'+F+'\x20already\x20has\x20a\x20widget\x20with\x20name\x20'+G);return H;};const k=j(0x26ed),m=j(0x11c1);function p(F){return F&&'object'==typeof F&&!Array['isArray'](F);}function q(F,...G){if(!G['length'])return F;const H=G['shift']();if(p(F)&&p(H)){for(const I in H)void 0x0!==H[I]&&(Array['isArray'](H[I])?F[I]=w(F[I]||[],H[I]):p(H[I])?(F[I]||Object['assign'](F,{[I]:{}}),q(F[I],H[I])):Object['assign'](F,{[I]:H[I]}));}return q(F,...G);}function w(F,G){const H=F['every'](J=>'string'==typeof J),I=G['every'](J=>'string'==typeof J);if(H&&I)return[...G];{const J=[...F];return G['forEach'](K=>{const L=J['findIndex'](M=>M['value']===K['value']);-0x1===L?J['push'](K):J[L]=q(J[L],K);}),J;}}function x(F){return F['toString']()['padStart'](0x2,'0');}let y=0x0;function z(F,G,H,I,J=''){for(let K of Object['keys'](F)){let L=J?J+'.'+K:K;Array['isArray'](F[K])&&Array['isArray'](G[K])?F[K]['length']!==G[K]['length']?I[H]['push'](L):F[K]['forEach']((M,N)=>{'object'==typeof M&&null!==M?Object['keys'](M)['forEach'](O=>{M[O]!==G[K][N][O]&&I[H]['push'](L+'['+N+'].'+O);}):M!==G[K][N]&&I[H]['push'](L+'['+N+']');}):'object'==typeof F[K]&&null!==F[K]&&null!==G[K]?z(F[K],G[K],H,I,L):F[K]!==G[K]&&I[H]['push'](L);}}function A(F,G){const H=new Set(G);return F['filter'](I=>!H['has'](I));}function B(F,G,H){let [I,...J]=G;if(/\[\d+\]/['test'](I)){const [K,L]=I['split'](/[\[\]]/)['filter'](Boolean);0x0===J['length']?F[K][parseInt(L)]=H:B(F[K][parseInt(L)],J,H);}else 0x0===J['length']?F[I]=H:B(F[I],J,H);}function C(F,G){return G['reduce']((H,I)=>{if(/\[\d+\]/['test'](I)){const [J,K]=I['split'](/[\[\]]/)['filter'](Boolean);return H[J][parseInt(K)];}return H[I];},F);}g['getContentScore']=F=>F['hasViewed']?0x2:0x1;},0x173:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ThemeFactory']=void 0x0,f['isStoryPlayerStyle']=function(m){return'object'==typeof m&&null!==m&&'titleVisible'in m&&'titleFont'in m&&'titleFontSize'in m&&'titleFontSizeEmbedded'in m&&'titleColor'in m&&'publishedDateVisible'in m&&'publishedDateFont'in m&&'publishedDateFontSize'in m&&'publishedDateFontSizeEmbedded'in m&&'publishedDateColor'in m&&'statusLiveStyle'in m&&'ctaButton'in m&&'iconsPosition'in m&&'iconsButton'in m&&'iconsButtonSize'in m&&'iconsButtonEmbeddedSize'in m&&'iconsButtonNavigation'in m&&'iconsButtonPadding'in m&&'iconsButtonOrder'in m&&'contentOrder'in m&&'icons'in m;},f['isMomentPlayerStyle']=function(m){return'object'==typeof m&&null!==m&&'headingText'in m&&'bodyText'in m&&'likeText'in m&&'buttons'in m&&'icons'in m&&'topIconsButtonOrder'in m&&'bottomIconsButtonOrder'in m;},f['isVideoPlayerStyle']=function(m){return'object'==typeof m&&null!==m&&'headingText'in m&&'buttons'in m&&'backgroundColor'in m&&'cta'in m&&'seekBar'in m&&'icons'in m;};const h=g(0x2432),j=g(0x1c8f);function k(m){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Default'],'playerStyle':l(m)});}function l(m){switch(m){case'moment':return j['Presets']['DefaultMomentStyle'];case'story':default:return j['Presets']['DefaultStoryStyle'];case'video':return j['Presets']['DefaultVideoStyle'];}}f['ThemeFactory']=class{static['create'](m='default',p='story'){const q='moment'===p,u='video'===p;switch(q||'story'===p||u||(p='story'),m){case'grid-2-columns':return function(v){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Grid2Column'],'playerStyle':l(v)});}(p);case'grid-3-columns':return function(v){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Grid3Column'],'playerStyle':l(v)});}(p);case'grid-3-columns-horizontal':return function(v){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Grid3ColumnHorizontal'],'playerStyle':l(v)});}(p);case'grid-2-columns-horizontal':return function(v){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['Grid2ColumnHorizontal'],'playerStyle':l(v)});}(p);case'row-circle':return function(v){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['RowCircle'],'playerStyle':l(v)});}(p);case'row-rectangle':return function(v){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['RowRectangle'],'playerStyle':l(v)});}(p);case'row-rectangle-animated':return q||u?function(v){let w;switch(v){case'moment':w=j['Presets']['RowRectangleAnimated'];break;case'video':w=j['Presets']['RowHorizontalRectangleAnimated'];}return(0x0,h['cloneDeep'])({'layoutStyle':w,'playerStyle':l(v)});}(p):k(p);case'row-rectangle-horizontal':return function(v){return(0x0,h['cloneDeep'])({'layoutStyle':j['Presets']['RowHorizontalRectangle'],'playerStyle':l(v)});}(p);default:return k(p);}}};},0x175:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['CDN_TIMEOUT_MIN']=f['CDN_VENDOR_TO_STORAGE_PROD_ORIGIN']=f['CDN_VENDOR_TO_API_PROD_ORIGIN']=f['BASE_API_PATH']=f['LOCAL_API_ORIGIN']=f['UAT_API_ORIGIN']=void 0x0,f['UAT_API_ORIGIN']='https://blazesdk-uat-cdn.clipro.tv',f['LOCAL_API_ORIGIN']='https://localhost.clipro.tv:5001',f['BASE_API_PATH']='api/blazesdk/v1.3',f['CDN_VENDOR_TO_API_PROD_ORIGIN']={'cf':'https://blazesdk-prod-cdn.clipro.tv','fd':'https://blazesdk-prod-cdn-fd.clipro.tv'},f['CDN_VENDOR_TO_STORAGE_PROD_ORIGIN']={'cf':'https://sdk.mvp.fan','fd':'https://sdk-fd.mvp.fan'},f['CDN_TIMEOUT_MIN']=0x2710;},0x188:(d,f)=>{'use strict';var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['positionMap']=f['ButtonNavigation']=void 0x0,function(h){h[h['PREV_STORY']=0x0]='PREV_STORY',h[h['NEXT_STORY']=0x1]='NEXT_STORY',h[h['PREV_PAGE']=0x2]='PREV_PAGE',h[h['NEXT_PAGE']=0x3]='NEXT_PAGE';}(g||(f['ButtonNavigation']=g={})),f['positionMap']={'LEFT':'flex-start','CENTER':'center','RIGHT':'flex-end'};},0x1b0:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1d9:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['CLOSED_CAPTIONS_LANGUAGE_CHANGE']=f['CAPTIONS_ATTRIBUTES']=f['LOCAL_STORAGE_KEY_LAST_SELECTED']=f['LOCAL_STORAGE_KEY_RECENT_LANGUAGES']=void 0x0;const h=g(0x1766);f['LOCAL_STORAGE_KEY_RECENT_LANGUAGES']=h['WSC_STORAGE_PREFIX']+'cc-recent-languages',f['LOCAL_STORAGE_KEY_LAST_SELECTED']=h['WSC_STORAGE_PREFIX']+'cc-selected-language',f['CAPTIONS_ATTRIBUTES']={'IsVisible':'is-visible','TextColor':'text-color'},f['CLOSED_CAPTIONS_LANGUAGE_CHANGE']='cc-language-change';},0x21d:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['AdService']=void 0x0;const j=g(0x1133),k=g(0x23a6),m=g(0x263),p={'method':'HEAD','mode':'no-cors'};class q extends(0x0,j['Singleton'])(){constructor(){super(...arguments),this['canRunAds']=!0x1;}['init'](){return h(this,void 0x0,void 0x0,function*(){try{yield fetch('https://securepubads.g.doubleclick.net/pagead/ppub_config',p),yield fetch('https://imasdk.googleapis.com/js/sdkloader/ima3.js',p),this['canRunAds']=!0x0;}catch(u){this['canRunAds']=!0x1;}});}['pushAdsBetweenStories'](v,w,x,y,z,A,B='Full\x20Screen'){var C;if(!this['canRunAds'])return;if('EveryXStories'!==(null===(C=null==v?void 0x0:v['configuration'])||void 0x0===C?void 0x0:C['adsLocationType'])||y>=x['length']-0x1)return;const D=y-z,E=v['configuration']['adLocationsIndexes'][0x0];if('Web'===v['type']&&v['path']){if(y<z)return;if((D+0x1)%E!==0x0)return;const F='ad-between-stories-'+(0x0,m['v4'])(),G=new k['BlazeWidgetStory'](A,B),H={'description':'','isLive':!0x1,'pages':[{'id':F+'-page','type':'Ad','duration':0x5,'ignoreReadStatusForStory':!0x1,'hasViewed':!0x1,'createTime':new Date()['toLocaleString'](),'adInfo':v}],'isAd':!0x0,'id':F,'title':'','updateTime':'','createTime':'','thumbnails':[],'hasViewed':!0x1,'extraInfo':{}};G['setData'](H),w['push'](G);}else{if('IMA'===v['type']&&v['tag']){if(y<=z)return;if(D%E!==0x0)return;w[y]['shouldShowImaAdOnStart']=!0x0,w[y]['adInfo']=v;}}}['pushAdsBetweenMoments'](u,v,w,x,y){var z,A,B;if(!this['canRunAds'])return;const C=null!==(A=null===(z=null==u?void 0x0:u['configuration'])||void 0x0===z?void 0x0:z['adLocationsIndexes'][0x0])&&void 0x0!==A?A:0x1;if('Moment'!==(null===(B=null==u?void 0x0:u['configuration'])||void 0x0===B?void 0x0:B['type'])||C>0x1&&x<=y)return;const D=x-y;if('Web'===u['type']&&u['path']){if(x>=w['length']-0x1)return;if((D+0x1)%C!==0x0)return;const E='ad-between-moments-'+(0x0,m['v4'])(),F=new k['BlazeWidgetMoment']();return F['adInfo']=u,F['setData']({'id':E,'type':'Ad','adInfo':u,'duration':'5','thumbnails':[],'likes':0x0,'baseLayer':{'type':'Video','content':{'renditions':[]}},'poster':{'rendition':{'url':'','aspectRatio':'Vertical','bitRate':0x0,'fileSize':0x0},'type':'Image'},'cta':{'type':'Web','url':'','text':'','backgroundColor':'','textColor':'','borderWidth':0x0,'borderColor':'','enhancements':null},'momentIndexInPlaylist':0x0,'title':'','updateTime':'','createTime':'','hasViewed':!0x1,'isAd':!0x0,'extraInfo':{}}),v['push'](F),F;}if('IMA'===u['type']&&u['tag']){if(0x0===D)return;if(D%C!==0x0)return;v[x]['shouldShowImaAdOnStart']=!0x0,v[x]['adInfo']=u;}}}f['AdService']=q['getInstance']();},0x21e:()=>{},0x227:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(k,l,m,p){return new(m||(m=Promise))(function(q,u){function v(y){try{x(p['next'](y));}catch(z){u(z);}}function w(y){try{x(p['throw'](y));}catch(z){u(z);}}function x(y){var z;y['done']?q(y['value']):(z=y['value'],z instanceof m?z:new m(function(A){A(z);}))['then'](v,w);}x((p=p['apply'](k,l||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoPlayerCommands']=void 0x0;const j=g(0x774);f['VideoPlayerCommands']=class{constructor(k,l){this['playbackStrategy']=k,this['videoElement']=l,this['commands']=new Map([['play',new j['PlayCommand'](k,this['videoElement']['videoPlayerState'])],['pause',new j['PauseCommand'](k)],['toggleMute',new j['ToggleMuteCommand'](k)],['mute',new j['MuteCommand'](k,this['videoElement']['videoPlayerState'])],['unmute',new j['UnmuteCommand'](k,this['videoElement']['videoPlayerState'])],['toggleFullscreen',new j['ToggleFullscreenCommand'](k,l)],['seek',new j['SeekCommand'](k)],['likeVideo',new j['LikeVideoCommand'](l)]]);}['executeCommand'](k,...l){return h(this,void 0x0,void 0x0,function*(){const m=this['commands']['get'](k);if(m)try{return yield m['execute'](...l);}catch(p){throw p;}});}};},0x23d:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LiveStreamLoader']=void 0x0;const j=g(0xb6d),k=g(0x1133);class l extends j['BaseStreamLoader']{['load'](m){return h(this,void 0x0,void 0x0,function*(){var p;const {video:q,data:u}=m;try{null===(p=q['streamLayoutController'])||void 0x0===p||p['applyLayout']('Live');const v=yield this['setupLikeAndCaptions'](m),w=u['poster']['rendition']['url'];q['setPoster'](w),q['setLikedState'](v),q['setLastSavedTime'](-0x1),this['loadVideoSource'](m,-0x1),q['initializeLiveMode'](),q['finalizeLoad'](!0x0);const x=q['getLifecycleSession']();!k['deviceDetector']['isIOSMobileTabletSafari']()||x['hasUserInteracted']()||q['video']['muted']||(q['video']['muted']=!0x0,q['updateMuteButtonState'](!0x0)),q['play']();}catch(y){this['handleVideoError'](q,y);}});}}f['LiveStreamLoader']=l;},0x263:(j,k,q)=>{'use strict';var x;q['r'](k),q['d'](k,{'NIL':()=>a9,'parse':()=>V,'stringify':()=>J,'v1':()=>U,'v3':()=>a4,'v4':()=>a5,'v5':()=>a8,'validate':()=>F,'version':()=>aa});var z=new Uint8Array(0x10);function B(){if(!x&&!(x='undefined'!=typeof crypto&&crypto['getRandomValues']&&crypto['getRandomValues']['bind'](crypto)||'undefined'!=typeof msCrypto&&'function'==typeof msCrypto['getRandomValues']&&msCrypto['getRandomValues']['bind'](msCrypto)))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return x(z);}const D=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,F=function(ab){return'string'==typeof ab&&D['test'](ab);};for(var G=[],H=0x0;H<0x100;++H)G['push']((H+0x100)['toString'](0x10)['substr'](0x1));const J=function(ab){var ac=arguments['length']>0x1&&void 0x0!==arguments[0x1]?arguments[0x1]:0x0,ad=(G[ab[ac+0x0]]+G[ab[ac+0x1]]+G[ab[ac+0x2]]+G[ab[ac+0x3]]+'-'+G[ab[ac+0x4]]+G[ab[ac+0x5]]+'-'+G[ab[ac+0x6]]+G[ab[ac+0x7]]+'-'+G[ab[ac+0x8]]+G[ab[ac+0x9]]+'-'+G[ab[ac+0xa]]+G[ab[ac+0xb]]+G[ab[ac+0xc]]+G[ab[ac+0xd]]+G[ab[ac+0xe]]+G[ab[ac+0xf]])['toLowerCase']();if(!F(ad))throw TypeError('Stringified\x20UUID\x20is\x20invalid');return ad;};var K,N,Q=0x0,R=0x0;const U=function(ab,ac,ad){var ae=ac&&ad||0x0,af=ac||new Array(0x10),ag=(ab=ab||{})['node']||K,ah=void 0x0!==ab['clockseq']?ab['clockseq']:N;if(null==ag||null==ah){var ai=ab['random']||(ab['rng']||B)();null==ag&&(ag=K=[0x1|ai[0x0],ai[0x1],ai[0x2],ai[0x3],ai[0x4],ai[0x5]]),null==ah&&(ah=N=0x3fff&(ai[0x6]<<0x8|ai[0x7]));}var aj=void 0x0!==ab['msecs']?ab['msecs']:Date['now'](),ak=void 0x0!==ab['nsecs']?ab['nsecs']:R+0x1,al=aj-Q+(ak-R)/0x2710;if(al<0x0&&void 0x0===ab['clockseq']&&(ah=ah+0x1&0x3fff),(al<0x0||aj>Q)&&void 0x0===ab['nsecs']&&(ak=0x0),ak>=0x2710)throw new Error('uuid.v1():\x20Can\x27t\x20create\x20more\x20than\x2010M\x20uuids/sec');Q=aj,R=ak,N=ah;var am=(0x2710*(0xfffffff&(aj+=0xb1d069b5400))+ak)%0x100000000;af[ae++]=am>>>0x18&0xff,af[ae++]=am>>>0x10&0xff,af[ae++]=am>>>0x8&0xff,af[ae++]=0xff&am;var an=aj/0x100000000*0x2710&0xfffffff;af[ae++]=an>>>0x8&0xff,af[ae++]=0xff&an,af[ae++]=an>>>0x18&0xf|0x10,af[ae++]=an>>>0x10&0xff,af[ae++]=ah>>>0x8|0x80,af[ae++]=0xff&ah;for(var ao=0x0;ao<0x6;++ao)af[ae+ao]=ag[ao];return ac||J(af);},V=function(ab){if(!F(ab))throw TypeError('Invalid\x20UUID');var ac,ad=new Uint8Array(0x10);return ad[0x0]=(ac=parseInt(ab['slice'](0x0,0x8),0x10))>>>0x18,ad[0x1]=ac>>>0x10&0xff,ad[0x2]=ac>>>0x8&0xff,ad[0x3]=0xff&ac,ad[0x4]=(ac=parseInt(ab['slice'](0x9,0xd),0x10))>>>0x8,ad[0x5]=0xff&ac,ad[0x6]=(ac=parseInt(ab['slice'](0xe,0x12),0x10))>>>0x8,ad[0x7]=0xff&ac,ad[0x8]=(ac=parseInt(ab['slice'](0x13,0x17),0x10))>>>0x8,ad[0x9]=0xff&ac,ad[0xa]=(ac=parseInt(ab['slice'](0x18,0x24),0x10))/0x10000000000&0xff,ad[0xb]=ac/0x100000000&0xff,ad[0xc]=ac>>>0x18&0xff,ad[0xd]=ac>>>0x10&0xff,ad[0xe]=ac>>>0x8&0xff,ad[0xf]=0xff&ac,ad;};function W(ab,ac,ad){function ae(af,ag,ah,ai){if('string'==typeof af&&(af=function(al){al=unescape(encodeURIComponent(al));for(var am=[],an=0x0;an<al['length'];++an)am['push'](al['charCodeAt'](an));return am;}(af)),'string'==typeof ag&&(ag=V(ag)),0x10!==ag['length'])throw TypeError('Namespace\x20must\x20be\x20array-like\x20(16\x20iterable\x20integer\x20values,\x200-255)');var aj=new Uint8Array(0x10+af['length']);if(aj['set'](ag),aj['set'](af,ag['length']),(aj=ad(aj))[0x6]=0xf&aj[0x6]|ac,aj[0x8]=0x3f&aj[0x8]|0x80,ah){ai=ai||0x0;for(var ak=0x0;ak<0x10;++ak)ah[ai+ak]=aj[ak];return ah;}return J(aj);}try{ae['name']=ab;}catch(af){}return ae['DNS']='6ba7b810-9dad-11d1-80b4-00c04fd430c8',ae['URL']='6ba7b811-9dad-11d1-80b4-00c04fd430c8',ae;}function X(ab){return 0xe+(ab+0x40>>>0x9<<0x4)+0x1;}function Y(ab,ac){var ad=(0xffff&ab)+(0xffff&ac);return(ab>>0x10)+(ac>>0x10)+(ad>>0x10)<<0x10|0xffff&ad;}function Z(ab,ac,ad,ae,af,ag){return Y((ah=Y(Y(ac,ab),Y(ae,ag)))<<(ai=af)|ah>>>0x20-ai,ad);var ah,ai;}function a0(ab,ac,ad,ae,af,ag,ah){return Z(ac&ad|~ac&ae,ab,ac,af,ag,ah);}function a1(ab,ac,ad,ae,af,ag,ah){return Z(ac&ae|ad&~ae,ab,ac,af,ag,ah);}function a2(ab,ac,ad,ae,af,ag,ah){return Z(ac^ad^ae,ab,ac,af,ag,ah);}function a3(ab,ac,ad,ae,af,ag,ah){return Z(ad^(ac|~ae),ab,ac,af,ag,ah);}const a4=W('v3',0x30,function(ab){if('string'==typeof ab){var ac=unescape(encodeURIComponent(ab));ab=new Uint8Array(ac['length']);for(var ad=0x0;ad<ac['length'];++ad)ab[ad]=ac['charCodeAt'](ad);}return function(ae){for(var af=[],ag=0x20*ae['length'],ah='0123456789abcdef',ai=0x0;ai<ag;ai+=0x8){var aj=ae[ai>>0x5]>>>ai%0x20&0xff,ak=parseInt(ah['charAt'](aj>>>0x4&0xf)+ah['charAt'](0xf&aj),0x10);af['push'](ak);}return af;}(function(ae,af){ae[af>>0x5]|=0x80<<af%0x20,ae[X(af)-0x1]=af;for(var ag=0x67452301,ah=-0x10325477,ai=-0x67452302,aj=0x10325476,ak=0x0;ak<ae['length'];ak+=0x10){var al=ag,am=ah,an=ai,ao=aj;ag=a0(ag,ah,ai,aj,ae[ak],0x7,-0x28955b88),aj=a0(aj,ag,ah,ai,ae[ak+0x1],0xc,-0x173848aa),ai=a0(ai,aj,ag,ah,ae[ak+0x2],0x11,0x242070db),ah=a0(ah,ai,aj,ag,ae[ak+0x3],0x16,-0x3e423112),ag=a0(ag,ah,ai,aj,ae[ak+0x4],0x7,-0xa83f051),aj=a0(aj,ag,ah,ai,ae[ak+0x5],0xc,0x4787c62a),ai=a0(ai,aj,ag,ah,ae[ak+0x6],0x11,-0x57cfb9ed),ah=a0(ah,ai,aj,ag,ae[ak+0x7],0x16,-0x2b96aff),ag=a0(ag,ah,ai,aj,ae[ak+0x8],0x7,0x698098d8),aj=a0(aj,ag,ah,ai,ae[ak+0x9],0xc,-0x74bb0851),ai=a0(ai,aj,ag,ah,ae[ak+0xa],0x11,-0xa44f),ah=a0(ah,ai,aj,ag,ae[ak+0xb],0x16,-0x76a32842),ag=a0(ag,ah,ai,aj,ae[ak+0xc],0x7,0x6b901122),aj=a0(aj,ag,ah,ai,ae[ak+0xd],0xc,-0x2678e6d),ai=a0(ai,aj,ag,ah,ae[ak+0xe],0x11,-0x5986bc72),ag=a1(ag,ah=a0(ah,ai,aj,ag,ae[ak+0xf],0x16,0x49b40821),ai,aj,ae[ak+0x1],0x5,-0x9e1da9e),aj=a1(aj,ag,ah,ai,ae[ak+0x6],0x9,-0x3fbf4cc0),ai=a1(ai,aj,ag,ah,ae[ak+0xb],0xe,0x265e5a51),ah=a1(ah,ai,aj,ag,ae[ak],0x14,-0x16493856),ag=a1(ag,ah,ai,aj,ae[ak+0x5],0x5,-0x29d0efa3),aj=a1(aj,ag,ah,ai,ae[ak+0xa],0x9,0x2441453),ai=a1(ai,aj,ag,ah,ae[ak+0xf],0xe,-0x275e197f),ah=a1(ah,ai,aj,ag,ae[ak+0x4],0x14,-0x182c0438),ag=a1(ag,ah,ai,aj,ae[ak+0x9],0x5,0x21e1cde6),aj=a1(aj,ag,ah,ai,ae[ak+0xe],0x9,-0x3cc8f82a),ai=a1(ai,aj,ag,ah,ae[ak+0x3],0xe,-0xb2af279),ah=a1(ah,ai,aj,ag,ae[ak+0x8],0x14,0x455a14ed),ag=a1(ag,ah,ai,aj,ae[ak+0xd],0x5,-0x561c16fb),aj=a1(aj,ag,ah,ai,ae[ak+0x2],0x9,-0x3105c08),ai=a1(ai,aj,ag,ah,ae[ak+0x7],0xe,0x676f02d9),ag=a2(ag,ah=a1(ah,ai,aj,ag,ae[ak+0xc],0x14,-0x72d5b376),ai,aj,ae[ak+0x5],0x4,-0x5c6be),aj=a2(aj,ag,ah,ai,ae[ak+0x8],0xb,-0x788e097f),ai=a2(ai,aj,ag,ah,ae[ak+0xb],0x10,0x6d9d6122),ah=a2(ah,ai,aj,ag,ae[ak+0xe],0x17,-0x21ac7f4),ag=a2(ag,ah,ai,aj,ae[ak+0x1],0x4,-0x5b4115bc),aj=a2(aj,ag,ah,ai,ae[ak+0x4],0xb,0x4bdecfa9),ai=a2(ai,aj,ag,ah,ae[ak+0x7],0x10,-0x944b4a0),ah=a2(ah,ai,aj,ag,ae[ak+0xa],0x17,-0x41404390),ag=a2(ag,ah,ai,aj,ae[ak+0xd],0x4,0x289b7ec6),aj=a2(aj,ag,ah,ai,ae[ak],0xb,-0x155ed806),ai=a2(ai,aj,ag,ah,ae[ak+0x3],0x10,-0x2b10cf7b),ah=a2(ah,ai,aj,ag,ae[ak+0x6],0x17,0x4881d05),ag=a2(ag,ah,ai,aj,ae[ak+0x9],0x4,-0x262b2fc7),aj=a2(aj,ag,ah,ai,ae[ak+0xc],0xb,-0x1924661b),ai=a2(ai,aj,ag,ah,ae[ak+0xf],0x10,0x1fa27cf8),ag=a3(ag,ah=a2(ah,ai,aj,ag,ae[ak+0x2],0x17,-0x3b53a99b),ai,aj,ae[ak],0x6,-0xbd6ddbc),aj=a3(aj,ag,ah,ai,ae[ak+0x7],0xa,0x432aff97),ai=a3(ai,aj,ag,ah,ae[ak+0xe],0xf,-0x546bdc59),ah=a3(ah,ai,aj,ag,ae[ak+0x5],0x15,-0x36c5fc7),ag=a3(ag,ah,ai,aj,ae[ak+0xc],0x6,0x655b59c3),aj=a3(aj,ag,ah,ai,ae[ak+0x3],0xa,-0x70f3336e),ai=a3(ai,aj,ag,ah,ae[ak+0xa],0xf,-0x100b83),ah=a3(ah,ai,aj,ag,ae[ak+0x1],0x15,-0x7a7ba22f),ag=a3(ag,ah,ai,aj,ae[ak+0x8],0x6,0x6fa87e4f),aj=a3(aj,ag,ah,ai,ae[ak+0xf],0xa,-0x1d31920),ai=a3(ai,aj,ag,ah,ae[ak+0x6],0xf,-0x5cfebcec),ah=a3(ah,ai,aj,ag,ae[ak+0xd],0x15,0x4e0811a1),ag=a3(ag,ah,ai,aj,ae[ak+0x4],0x6,-0x8ac817e),aj=a3(aj,ag,ah,ai,ae[ak+0xb],0xa,-0x42c50dcb),ai=a3(ai,aj,ag,ah,ae[ak+0x2],0xf,0x2ad7d2bb),ah=a3(ah,ai,aj,ag,ae[ak+0x9],0x15,-0x14792c6f),ag=Y(ag,al),ah=Y(ah,am),ai=Y(ai,an),aj=Y(aj,ao);}return[ag,ah,ai,aj];}(function(ae){if(0x0===ae['length'])return[];for(var af=0x8*ae['length'],ag=new Uint32Array(X(af)),ah=0x0;ah<af;ah+=0x8)ag[ah>>0x5]|=(0xff&ae[ah/0x8])<<ah%0x20;return ag;}(ab),0x8*ab['length']));}),a5=function(ab,ac,ad){var ae=(ab=ab||{})['random']||(ab['rng']||B)();if(ae[0x6]=0xf&ae[0x6]|0x40,ae[0x8]=0x3f&ae[0x8]|0x80,ac){ad=ad||0x0;for(var af=0x0;af<0x10;++af)ac[ad+af]=ae[af];return ac;}return J(ae);};function a6(ab,ac,ad,ae){switch(ab){case 0x0:return ac&ad^~ac&ae;case 0x1:case 0x3:return ac^ad^ae;case 0x2:return ac&ad^ac&ae^ad&ae;}}function a7(ab,ac){return ab<<ac|ab>>>0x20-ac;}const a8=W('v5',0x50,function(ab){var ac=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6],ad=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0];if('string'==typeof ab){var ae=unescape(encodeURIComponent(ab));ab=[];for(var af=0x0;af<ae['length'];++af)ab['push'](ae['charCodeAt'](af));}else Array['isArray'](ab)||(ab=Array['prototype']['slice']['call'](ab));ab['push'](0x80);for(var ag=ab['length']/0x4+0x2,ah=Math['ceil'](ag/0x10),ai=new Array(ah),aj=0x0;aj<ah;++aj){for(var ak=new Uint32Array(0x10),al=0x0;al<0x10;++al)ak[al]=ab[0x40*aj+0x4*al]<<0x18|ab[0x40*aj+0x4*al+0x1]<<0x10|ab[0x40*aj+0x4*al+0x2]<<0x8|ab[0x40*aj+0x4*al+0x3];ai[aj]=ak;}ai[ah-0x1][0xe]=0x8*(ab['length']-0x1)/Math['pow'](0x2,0x20),ai[ah-0x1][0xe]=Math['floor'](ai[ah-0x1][0xe]),ai[ah-0x1][0xf]=0x8*(ab['length']-0x1)&0xffffffff;for(var am=0x0;am<ah;++am){for(var an=new Uint32Array(0x50),ao=0x0;ao<0x10;++ao)an[ao]=ai[am][ao];for(var ap=0x10;ap<0x50;++ap)an[ap]=a7(an[ap-0x3]^an[ap-0x8]^an[ap-0xe]^an[ap-0x10],0x1);for(var aq=ad[0x0],ar=ad[0x1],as=ad[0x2],at=ad[0x3],au=ad[0x4],av=0x0;av<0x50;++av){var aw=Math['floor'](av/0x14),ax=a7(aq,0x5)+a6(aw,ar,as,at)+au+ac[aw]+an[av]>>>0x0;au=at,at=as,as=a7(ar,0x1e)>>>0x0,ar=aq,aq=ax;}ad[0x0]=ad[0x0]+aq>>>0x0,ad[0x1]=ad[0x1]+ar>>>0x0,ad[0x2]=ad[0x2]+as>>>0x0,ad[0x3]=ad[0x3]+at>>>0x0,ad[0x4]=ad[0x4]+au>>>0x0;}return[ad[0x0]>>0x18&0xff,ad[0x0]>>0x10&0xff,ad[0x0]>>0x8&0xff,0xff&ad[0x0],ad[0x1]>>0x18&0xff,ad[0x1]>>0x10&0xff,ad[0x1]>>0x8&0xff,0xff&ad[0x1],ad[0x2]>>0x18&0xff,ad[0x2]>>0x10&0xff,ad[0x2]>>0x8&0xff,0xff&ad[0x2],ad[0x3]>>0x18&0xff,ad[0x3]>>0x10&0xff,ad[0x3]>>0x8&0xff,0xff&ad[0x3],ad[0x4]>>0x18&0xff,ad[0x4]>>0x10&0xff,ad[0x4]>>0x8&0xff,0xff&ad[0x4]];}),a9='00000000-0000-0000-0000-000000000000',aa=function(ab){if(!F(ab))throw TypeError('Invalid\x20UUID');return parseInt(ab['substr'](0xe,0x1),0x10);};},0x264:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['UserActivityObserverService']=void 0x0;const h=g(0x1133),j=g(0x23bc),k=g(0x9f3);class l extends(0x0,h['Singleton'])(){['init'](){}['onMomentLikeChanged'](m){return k['EventBusService']['subscribe'](j['USER_ACTIVITY_EVENTS']['MOMENT_LIKE_CHANGED'],m);}['onMomentViewChanged'](m){return k['EventBusService']['subscribe'](j['USER_ACTIVITY_EVENTS']['MOMENT_VIEW_CHANGED'],m);}['onVideoLikeChanged'](m){return k['EventBusService']['subscribe'](j['USER_ACTIVITY_EVENTS']['VIDEO_LIKE_CHANGED'],m);}['onVideoViewChanged'](m){return k['EventBusService']['subscribe'](j['USER_ACTIVITY_EVENTS']['VIDEO_VIEW_CHANGED'],m);}['onStoryPageViewChanged'](m){return k['EventBusService']['subscribe'](j['USER_ACTIVITY_EVENTS']['STORY_PAGE_VIEW_CHANGED'],m);}['onInteractionChanged'](m){return k['EventBusService']['subscribe'](j['USER_ACTIVITY_EVENTS']['INTERACTION_CHANGED'],m);}}f['UserActivityObserverService']=l['getInstance']();},0x27c:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2ab:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2fb:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2ff:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EventListenerRegistry']=void 0x0,f['EventListenerRegistry']=class{constructor(){this['listeners']=[];}['on'](g,h,j,k){const l='function'==typeof j?j['bind'](k):j;this['listeners']['push']({'target':g,'event':h,'handler':j,'boundHandler':l});}['onMultiple'](g,h,j){h['forEach'](([k,l])=>{this['on'](g,k,l,j);});}['attachAll'](){this['listeners']['forEach'](({target:g,event:h,boundHandler:j})=>{g['addEventListener'](h,j);});}['detachAll'](){this['listeners']['forEach'](({target:g,event:h,boundHandler:j})=>{g['removeEventListener'](h,j);}),this['listeners']=[];}['getBoundHandler'](g,h){const j=this['listeners']['find'](k=>k['target']===g&&k['event']===h);return null==j?void 0x0:j['boundHandler'];}['clear'](){this['listeners']=[];}['count'](){return this['listeners']['length'];}};},0x31b:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VIDEO_EVENTS']=f['EVENTS']=f['KEY_CODES']=void 0x0,f['KEY_CODES']={'ARROW_UP':'ArrowUp','UP':'Up','PAGE_UP':'PageUp','ARROW_DOWN':'ArrowDown','DOWN':'Down','PAGE_DOWN':'PageDown','SPACE':'Space','ARROW_LEFT':'ArrowLeft','ARROW_RIGHT':'ArrowRight','ESCAPE':'Escape'},f['EVENTS']={'KEYDOWN':'keydown','CLICK':'click','MOUSEENTER':'mouseenter','MOUSELEAVE':'mouseleave','MOUSEMOVE':'mousemove','BLUR':'blur','FOCUS':'focus','VISIBILITY_CHANGE':'visibilitychange','CAN_PLAY_THROUGH':'canplaythrough','PLAY':'play','PLAYING':'playing','PAUSE':'pause','PAUSED':'paused','SEEKING':'seeking','SEEKED':'seeked','LOADED_METADATA':'loadedmetadata','RESIZE':'resize','TIMEUPDATE':'timeupdate','ERROR':'error','ENDED':'ended','FULLSCREEN_CHANGE':'fullscreenchange','FULLSCREEN_CHANGE_WEBKIT':'webkitfullscreenchange','FULLSCREEN_CHANGE_MOZ':'mozfullscreenchange','CUE_CHANGE':'cuechange','DRAGSTART':'dragstart','DRAG':'drag','DROP':'drop','BEFOREUNLOAD':'beforeunload','UNLOAD':'unload','RESIZE_WINDOW':'resize'},f['VIDEO_EVENTS']={'PLAY':'play-video','REPLAY':'replay-video','PAUSE':'pause-video','MUTE':'mute-video','UNMUTE':'unmute-video','SEEK':'seek-video','FULLSCREEN':'fullscreen-video','SHARE':'share-video','LIKE':'like-video','TIME_UPDATE':'time-update','NAVIGATION_PREV':'navigate-prev','NAVIGATION_NEXT':'navigate-next','LOADER_DISPLAY':'loader-display','LOADER_HIDE':'loader-hide','ERROR':'video-error','UPDATE_NAVIGATION':'update-navigation','CTA_CLICKED':'cta-clicked','CTA_VISIBILE':'cta-visible','CTA_DISMISS':'cta-dismiss','RESET_INACTIVITY_TIMER':'reset-inactivity-timer','CLOSE_PLAYER':'close-player','CLOSED_CAPTIONS_OPEN_MODAL':'closed-captions-open-modal','DISPLAY_HIDE_OVERLAY_FROM_CTA':'display-hide-overlay-from-cta','DISPLAY_SEEKED_TIME':'display-seeked-time','UPDATE_CLOSED_CAPTIONS_LOCATION':'update-closed-captions-location','PLAYLIST_ITEM_UPDATED':'playlist-item-updated'};},0x331:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StartupService']=void 0x0;const j=g(0x11c1),k=g(0x23bc),l=g(0x1133);class m extends(0x0,l['Singleton'])(){['init'](p){return h(this,void 0x0,void 0x0,function*(){yield j['ConfigService']['init'](p),j['CDNDetermineService']['init'](j['ConfigService']['environment'],j['ConfigService']['cdnTimeout']),yield j['VideoPlayerService']['init'](),yield j['ErrorService']['init'](),yield j['VideoCacheService']['init'](),yield j['ApiService']['init'](),yield j['AppConfigurationService']['init'](p),yield j['UserService']['init'](),yield j['AnalyticsService']['init'](),yield j['WidgetsService']['init'](),yield j['EventService']['init'](),yield j['DatabaseService']['init'](),yield j['UserActivityFetchManager']['init'](),yield j['UserActivitySynchronizer']['init'](),yield j['AdService']['init'](),yield j['LoggerService']['init'](),yield j['InteractionService']['init'](),yield j['MomentService']['init'](),yield j['StoryService']['init'](),yield j['VideoService']['init'](),j['BroadcastService']['init']({'channelName':'blaze-user-activity','events':Object['values'](k['USER_ACTIVITY_EVENTS'])});});}}f['StartupService']=m['getInstance']();},0x3ad:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x3c1:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ASPECT_RATIO_4_3_STRING']=f['ASPECT_RATIO_9_16_STRING']=f['ASPECT_RATIO_16_9_STRING']=f['ASPECT_RATIO_4_3']=f['ASPECT_RATIO_9_16']=f['ASPECT_RATIO_16_9']=f['DESKTOP_PADDING_BOTTOM']=f['TABLET_PADDING_BOTTOM']=void 0x0,f['TABLET_PADDING_BOTTOM']='15px',f['DESKTOP_PADDING_BOTTOM']='40px',f['ASPECT_RATIO_16_9']=0x10/0x9,f['ASPECT_RATIO_9_16']=0x9/0x10,f['ASPECT_RATIO_4_3']=0x4/0x3,f['ASPECT_RATIO_16_9_STRING']='16\x20/\x209',f['ASPECT_RATIO_9_16_STRING']='9\x20/\x2016',f['ASPECT_RATIO_4_3_STRING']='4\x20/\x203';},0x3e5:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['DatabaseService']=void 0x0;const j=g(0x1133),k=g(0xe1c),l=g(0x11c1);class m extends(0x0,j['Singleton'])(){constructor(){super(...arguments),this['database']={};}['init'](){return h(this,void 0x0,void 0x0,function*(){try{this['database']=new k['Database']({'databaseName':'blaze-store','version':0x7}),yield this['database']['init']();}catch(p){l['EventBusService']['publish']('BlazeDatabaseServiceFailed',{'error':p});}});}['getUserId'](){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['USER'],'user_id');}catch(p){throw p;}});}['updateUserId'](p){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](k['DB_NAMES']['USER'],{'id':'user_id','value':p});}catch(q){throw q;}});}['getPageViewed'](p){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['STORIES'],p);}catch(q){throw q;}});}['updatePageViewed'](p){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](k['DB_NAMES']['STORIES'],{'id':p});}catch(q){throw q;}});}['isPageViewed'](p){return h(this,void 0x0,void 0x0,function*(){try{const {data:q,error:u}=yield this['getPageViewed'](p);return!u&&q;}catch(v){return!0x1;}});}['enrichStories'](p){return h(this,void 0x0,void 0x0,function*(){try{Object['keys'](this['database'])['length']||(yield this['init']());for(const q of p)for(const u of q['pages']){const v=yield this['isPageViewed'](u['id']);if(u['hasViewed']=v,'Content'===u['type']&&u['interaction']){const w=yield this['getInteraction'](u['interaction']['id']);(null==w?void 0x0:w['data'])&&!w['error']&&(yield this['updateInteraction']({'id':u['interaction']['id'],'initData':u['interaction']['initData'],'userResponse':w['data']['userResponse']}));}}return p;}catch(x){return p;}});}['updateInteraction'](p){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](k['DB_NAMES']['INTERACTIONS'],p);}catch(q){throw q;}});}['getInteraction'](p){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['INTERACTIONS'],p);}catch(q){return null;}});}['updateMomentLike'](p,q){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['update'](k['DB_NAMES']['MOMENTS'],{'id':p,'liked':q,'viewed':!0x0});}catch(u){return null;}});}['getMomentLike'](p){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['MOMENTS'],p);}catch(q){return null;}});}['updateViewedMoment'](p){return h(this,void 0x0,void 0x0,function*(){var q,u;try{const v=yield this['getMomentLike'](p),w={'id':p,'viewed':!0x0,'liked':null!==(u=null===(q=null==v?void 0x0:v['data'])||void 0x0===q?void 0x0:q['liked'])&&void 0x0!==u&&u};return yield this['database']['update'](k['DB_NAMES']['MOMENTS'],w);}catch(x){throw null;}});}['getViewedMoment'](p){return h(this,void 0x0,void 0x0,function*(){try{const {data:q}=yield this['database']['get'](k['DB_NAMES']['MOMENTS'],p);return!!q;}catch(u){return!0x1;}});}['enrichMoments'](p){return h(this,void 0x0,void 0x0,function*(){Object['keys'](this['database'])['length']||(yield this['init']());for(const q of p)q['hasViewed']=yield this['getViewedMoment'](q['id']);return p;});}['updateVideoReadStatus'](p,q){return h(this,void 0x0,void 0x0,function*(){if(!p)throw new Error('videoId\x20is\x20required\x20to\x20update\x20read\x20status.');try{const u=yield this['database']['get'](k['DB_NAMES']['VIDEOS'],p);let v;if(u&&u['data'])return;v={'liked':!0x1,'id':p,'currentTime':0x0,'posterCurrentTime':''},yield this['database']['update'](k['DB_NAMES']['VIDEOS'],v);}catch(w){throw w;}});}['getVideoData'](p){return h(this,void 0x0,void 0x0,function*(){if(!p)return null;try{const q=yield this['database']['get'](k['DB_NAMES']['VIDEOS'],p);return q&&q['data']?q['data']:null;}catch(u){return null;}});}['updateVideoData'](p,q){return h(this,void 0x0,void 0x0,function*(){if(!p)throw new Error('videoId\x20is\x20required\x20to\x20update\x20video\x20data.');try{const u=yield this['database']['get'](k['DB_NAMES']['VIDEOS'],p);let v;v=u&&u['data']?Object['assign'](Object['assign']({},u['data']),q):Object['assign']({'liked':!0x1,'id':p,'currentTime':0x0,'posterCurrentTime':''},q),yield this['database']['update'](k['DB_NAMES']['VIDEOS'],v);}catch(w){throw w;}});}['getVideoLike'](p){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['VIDEOS'],p);}catch(q){return null;}});}['getVideoPosterById'](p){return h(this,void 0x0,void 0x0,function*(){if(p)try{const q=yield this['database']['get'](k['DB_NAMES']['VIDEOS'],p);return q&&q['data']?q['data']['posterCurrentTime']:void 0x0;}catch(u){return;}});}['addLog'](p){return h(this,void 0x0,void 0x0,function*(){try{yield this['database']['update'](k['DB_NAMES']['LOGS'],p);}catch(q){throw q;}});}['getLogs'](p){return h(this,void 0x0,void 0x0,function*(){try{return(yield this['database']['getAll'](k['DB_NAMES']['LOGS']))['sort']((q,u)=>u['priority']-q['priority']||new Date(q['timestamp'])['getTime']()-new Date(u['timestamp'])['getTime']())['slice'](0x0,p);}catch(q){return[];}});}['removeLogs'](p){return h(this,void 0x0,void 0x0,function*(){try{for(const q of p)yield this['database']['delete'](k['DB_NAMES']['LOGS'],q);}catch(u){throw u;}});}['clearLogs'](){return h(this,void 0x0,void 0x0,function*(){try{const p=(yield this['database']['getAll'](k['DB_NAMES']['LOGS']))['map'](q=>q['id']);yield this['removeLogs'](p);}catch(q){throw q;}});}['getLogCount'](){return h(this,void 0x0,void 0x0,function*(){try{return(yield this['database']['getAll'](k['DB_NAMES']['LOGS']))['length'];}catch(p){return 0x0;}});}['saveUserActivity'](p){return h(this,void 0x0,void 0x0,function*(){try{if('video_view'===p['activityType']){const q=yield this['database']['get'](k['DB_NAMES']['USER_ACTIVITIES'],p['id']);if((null==q?void 0x0:q['data'])&&'video_view'===q['data']['activityType']){const u=this['mergeVideoViewFields'](q['data'],p);return yield this['database']['update'](k['DB_NAMES']['USER_ACTIVITIES'],Object['assign'](Object['assign']({},p),u));}}return yield this['database']['update'](k['DB_NAMES']['USER_ACTIVITIES'],p);}catch(v){throw v;}});}['getUserActivity'](p){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['USER_ACTIVITIES'],p);}catch(q){return null;}});}['deleteUserActivity'](p){return h(this,void 0x0,void 0x0,function*(){try{yield this['database']['delete'](k['DB_NAMES']['USER_ACTIVITIES'],p);}catch(q){throw q;}});}['getAllUserActivities'](){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['getAll'](k['DB_NAMES']['USER_ACTIVITIES']);}catch(p){return[];}});}['getActivitiesByType'](p){return h(this,void 0x0,void 0x0,function*(){try{return yield this['database']['getAllByIndex'](k['DB_NAMES']['USER_ACTIVITIES'],'activity_type_index',p);}catch(q){return[];}});}['getUnsyncedActivities'](){return h(this,void 0x0,void 0x0,function*(){try{return(yield this['database']['getAll'](k['DB_NAMES']['USER_ACTIVITIES']))['filter'](p=>!p['isRemoteSynced']);}catch(p){return[];}});}['markActivitiesAsSynced'](p){return h(this,void 0x0,void 0x0,function*(){try{for(const q of p)yield this['database']['update'](k['DB_NAMES']['USER_ACTIVITIES'],Object['assign'](Object['assign']({},q),{'isRemoteSynced':!0x0}));}catch(u){throw u;}});}['upsertActivitiesFromRemote'](p){return h(this,void 0x0,void 0x0,function*(){try{for(const q of p)if('video_view'===q['activityType']){const u=yield this['database']['get'](k['DB_NAMES']['USER_ACTIVITIES'],q['id']);if((null==u?void 0x0:u['data'])&&'video_view'===u['data']['activityType']){const v=this['mergeVideoViewFields'](u['data'],q);yield this['database']['update'](k['DB_NAMES']['USER_ACTIVITIES'],Object['assign'](Object['assign'](Object['assign']({},q),v),{'isRemoteSynced':!0x0}));}else yield this['database']['update'](k['DB_NAMES']['USER_ACTIVITIES'],Object['assign'](Object['assign']({},q),{'lastReadPoint':Math['floor'](q['lastReadPoint']),'isRemoteSynced':!0x0}));}else{const w=yield this['database']['get'](k['DB_NAMES']['USER_ACTIVITIES'],q['id']),x=(null==w?void 0x0:w['data'])&&!w['data']['isRemoteSynced'];yield this['database']['update'](k['DB_NAMES']['USER_ACTIVITIES'],Object['assign'](Object['assign']({},q),{'isRemoteSynced':!x}));}}catch(y){throw y;}});}['clearUserActivities'](){return h(this,void 0x0,void 0x0,function*(){try{yield this['database']['clear'](k['DB_NAMES']['USER_ACTIVITIES']);}catch(p){throw p;}});}['clearUserSpecificData'](){return h(this,void 0x0,void 0x0,function*(){try{yield Promise['all']([this['database']['clear'](k['DB_NAMES']['MOMENTS']),this['database']['clear'](k['DB_NAMES']['STORIES']),this['database']['clear'](k['DB_NAMES']['VIDEOS']),this['database']['clear'](k['DB_NAMES']['INTERACTIONS'])]);}catch(p){throw p;}});}['clearAllUserData'](){return h(this,void 0x0,void 0x0,function*(){yield this['clearUserActivities'](),yield this['clearUserSpecificData']();});}['mergeVideoViewFields'](p,q){var u,v;return{'lastReadPoint':Math['max'](Math['floor'](null!==(u=p['lastReadPoint'])&&void 0x0!==u?u:0x0),Math['floor'](null!==(v=q['lastReadPoint'])&&void 0x0!==v?v:0x0)),'isFullyRead':p['isFullyRead']||q['isFullyRead']};}}f['DatabaseService']=m['getInstance']();},0x416:function(f,j,k){'use strict';var m=this&&this['__awaiter']||function(J,K,L,M){return new(L||(L=Promise))(function(N,O){function P(S){try{R(M['next'](S));}catch(T){O(T);}}function Q(S){try{R(M['throw'](S));}catch(T){O(T);}}function R(S){var T;S['done']?N(S['value']):(T=S['value'],T instanceof L?T:new L(function(U){U(T);}))['then'](P,Q);}R((M=M['apply'](J,K||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetVideo']=void 0x0;const q=k(0x23a6),w=k(0x1932),x=k(0x774),z=k(0x145f),A=k(0x1133),B=k(0x1932),C=k(0x25e6),D=k(0x26ed),E=k(0x22d9),F=k(0x11c1),G=k(0x2432),H=k(0xc8e);class I extends q['BlazeWidgetVideoBase']{static get['observedAttributes'](){return['is-captions-visible'];}constructor(J){var K;super(),this['contentParent']=J,this['interactionElement']=E['WidgetsFactory']['create']('blaze-widget-interaction'),this['captionsElement']=E['WidgetsFactory']['create']('blaze-widget-captions'),this['eventRenderBackgroundPercentageTriggered']=[!0x1,!0x1],this['lastErrorExecutionTime']=0x0,this['videoFormat']='mp4',this['isVideoStartPlaying']=!0x1,this['isError']=!0x0,this['isLoaded']=!0x1,this['isVideoRunning']=!0x1,this['isUnloading']=!0x1,this['maxRetryTimes']=0x5,this['shouldShowImaAd']=!0x1,this['isCurrentlyTryingToRunImaAd']=!0x1,this['hasPoster']=!0x1,this['videoPlayerState']=F['VideoPlayerService'],this['boundHandleAdStarted']=this['handleAdStarted']['bind'](this),this['boundHandleAdEnded']=this['handleAdEnded']['bind'](this),this['beforeContentPlayService']=new F['BeforeContentPlayService'](),J instanceof q['BlazeWidgetStory']&&(this['videoPlayerState']=J['videoPlayerState']||F['VideoPlayerService']),this['widgetVastAd']=new q['BlazeWidgetVastAd'](this['getContentType'](),this['contentParent']['getRefferingObject']['bind'](this),this['videoPlayerState']),this['source']=document['createElement']('source'),this['video']=document['createElement']('video'),this['loader']=E['WidgetsFactory']['create']('blaze-loader'),this['style']['width']='100%',this['style']['height']='100%',this['style']['position']='absolute',this['style']['top']='0',this['style']['right']='0',this['style']['bottom']='0',this['style']['left']='0',this['style']['display']='block',this['loader']['style']['top']='45%',this['loader']['style']['margin']='0\x20auto',this['video']['style']['top']='0',this['video']['style']['objectFit']='contain',this['video']['style']['position']='absolute',this['video']['style']['width']='100%',this['video']['style']['maxHeight']='100%','Horizontal'===(null===(K=this['contentParent'])||void 0x0===K?void 0x0:K['aspectRatio'])&&(this['video']['style']['height']='100%');}['attributeChangedCallback'](J,K,L){'is-captions-visible'===J&&K!==L&&this['captionsElement']['setAttribute'](w['CAPTIONS_ATTRIBUTES']['IsVisible'],L);}['connectedCallback'](){var J;this['boundLanguageChangeEvent']=this['onLanguageChange']['bind'](this),this['addEventListener'](D['InternalEvent']['AD_STARTED'],this['boundHandleAdStarted']),this['addEventListener'](D['InternalEvent']['AD_ENDED'],this['boundHandleAdEnded']),this['setAttribute']('data-testid','blaze-widget-story-video-'+(null===(J=this['data'])||void 0x0===J?void 0x0:J['id'])),this['video']['onended']=this['onended'],this['videoFrameCallback']=this['requestFrameCallback'],this['video']['addEventListener']('playing',()=>{var K;(null===(K=this['loader'])||void 0x0===K?void 0x0:K['isConnected'])&&this['removeLoader']();}),this['video']['addEventListener']('timeupdate',()=>{var K;const L=this['currentTime']/this['duration']*0x64,M=[0x1,0x32];for(let N=0x0;N<M['length'];N++)L>=M[N]&&!this['eventRenderBackgroundPercentageTriggered'][N]&&(null===(K=this['videoFrameCallback'])||void 0x0===K||K['call'](this),this['eventRenderBackgroundPercentageTriggered'][N]=!0x0);}),this['appendChild'](this['video']),G['SharedEventTarget']['addEventListener'](B['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundLanguageChangeEvent']),this['appendChild'](this['widgetVastAd']),this['render']();}['disconnectedCallback'](){this['removeLoader'](),G['SharedEventTarget']['removeEventListener'](B['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundLanguageChangeEvent']),this['removeEventListener'](D['InternalEvent']['AD_STARTED'],this['boundHandleAdStarted']),this['removeEventListener'](D['InternalEvent']['AD_ENDED'],this['boundHandleAdEnded']);}['getContentType'](){return this['contentParent']instanceof q['BlazeWidgetStory']?'story':this['contentParent']instanceof q['BlazeWidgetMoment']?'moment':'story';}['getOriginalVideoUrl'](){var J,K,L,M,N,O;if('Content'!==(null===(J=this['data'])||void 0x0===J?void 0x0:J['type']))return;const P=null!==(N=null===(M=null===(L=null===(K=this['data'])||void 0x0===K?void 0x0:K['baseLayer'])||void 0x0===L?void 0x0:L['content'])||void 0x0===M?void 0x0:M['renditions'])&&void 0x0!==N?N:[],Q=this['contentParent']['aspectRatio'],R=P['filter'](z['isHLSRendition']);if(R['length']>0x0){const U=R['find'](V=>V['aspectRatio']===Q);return U?U['url']:R[0x0]['url'];}const S=P['filter'](z['isMP4Rendition']);if(S['length']>0x0){const V=S['find'](W=>W['aspectRatio']===Q);return V?V['url']:S[0x0]['url'];}const T=null!==(O=P['find'](W=>W['aspectRatio']===Q))&&void 0x0!==O?O:P[0x0];return null==T?void 0x0:T['url'];}['setData'](J){this['data']=J,this['data']&&'Content'===this['data']['type']&&(this['videoUrl']=this['getOriginalVideoUrl'](),this['shouldShowImaAd']=Boolean(J['shouldShowImaAd']));}['getGoogleIMA'](){var J;return null===(J=window['google'])||void 0x0===J?void 0x0:J['ima'];}['isEnableInteractions'](J){return'Content'===(null==J?void 0x0:J['type'])&&'Vertical'===this['contentParent']['aspectRatio'];}['loadClosedCaptions'](){return m(this,void 0x0,void 0x0,function*(){var J,K,L,M,N,O;if(!F['ConfigService']['shouldAllowClosedCaptions'])return;if('Content'!==(null===(J=this['data'])||void 0x0===J?void 0x0:J['type']))return;if(!(null===(L=null===(K=this['data'])||void 0x0===K?void 0x0:K['closedCaptions'])||void 0x0===L?void 0x0:L['length'])||!(null===(N=null===(M=this['data']['closedCaptions'][0x0])||void 0x0===M?void 0x0:M['files'])||void 0x0===N?void 0x0:N['length']))return;if(this['contentParent']instanceof q['BlazeWidgetStory']&&'Embedded'===this['contentParent']['mode'])return;const P=null===(O=this['data']['closedCaptions'])||void 0x0===O?void 0x0:O['find'](Q=>''+Q['language']===localStorage['getItem'](B['LOCAL_STORAGE_KEY_LAST_SELECTED']));P?(this['captionsElement']['isConnected']||this['append'](this['captionsElement']),yield this['captionsElement']['initialize'](this['video'],P['files']),this['setAttribute']('is-captions-visible','true')):(this['setAttribute']('is-captions-visible','false'),this['captionsElement']['isConnected']&&this['captionsElement']['remove']());});}['getVideoDuration'](J){return m(this,void 0x0,void 0x0,function*(){if(this['playbackStrategy']){const L=this['playbackStrategy']['getDuration']();if(L&&!isNaN(L)&&L>0x0)return L;}const K=J||this['video'];return K&&!isNaN(K['duration'])&&K['duration']>0x0?K['duration']:this['videoUrl']?(0x0,H['getVideoDuration'])(K,this['videoUrl']):0x0;});}['determinePosterUrl'](){var J,K,L,M,N,O,P,Q,R,S;if('Content'!==(null===(J=this['data'])||void 0x0===J?void 0x0:J['type']))return;const T=null!==(L=null===(K=this['data']['thumbnail'])||void 0x0===K?void 0x0:K['renditions'])&&void 0x0!==L?L:[],U=null===(M=null==T?void 0x0:T['find'](X=>X['aspectRatio']===this['contentParent']['aspectRatio']))||void 0x0===M?void 0x0:M['url'],V=null===(N=null==T?void 0x0:T[0x0])||void 0x0===N?void 0x0:N['url'],W=(null===(P=null===(O=this['data']['thumbnail'])||void 0x0===O?void 0x0:O['rendition'])||void 0x0===P?void 0x0:P['url'])||(null===(R=null===(Q=this['data']['poster'])||void 0x0===Q?void 0x0:Q['rendition'])||void 0x0===R?void 0x0:R['url']);return null!==(S=null!=U?U:V)&&void 0x0!==S?S:W;}['loadPoster'](){var J;if('Content'===(null===(J=this['data'])||void 0x0===J?void 0x0:J['type'])){const K=this['determinePosterUrl']();K?(this['video']['poster']=K,(0x0,G['fetchPosterWithHighPriority'])(K),this['hasPoster']=!0x0):(this['video']['poster']='',this['hasPoster']=!0x1);}}['display'](){this['style']['visibility']='visible',this['shouldShowImaAd']?this['isCurrentlyTryingToRunImaAd']=!0x0:this['isEnableInteractions'](this['data'])&&this['interactionElement']['showInteraction'](this['data']['interaction']);}['hide'](){this['isCurrentlyTryingToRunImaAd']=!0x1,this['style']['visibility']='hidden',this['interactionElement']['hideInteraction']();}['load'](){return m(this,arguments,void 0x0,function*(J='cache'){var K;if(!this['isLoaded']&&'Content'===(null===(K=this['data'])||void 0x0===K?void 0x0:K['type'])&&!this['isBeingUnloaded']()&&this['data']&&this['videoUrl']){this['isLoaded']=!0x0,this['loadInteraction']();try{'cache'===J?yield Promise['all']([this['loadClosedCaptions'](),F['VideoCacheService']['downloadAndCacheVideo'](this['videoUrl'])['then'](()=>m(this,void 0x0,void 0x0,function*(){this['isBeingUnloaded']()||(yield this['setVideoSource'](this['videoUrl']));}))]):yield Promise['all']([this['loadClosedCaptions'](),this['setVideoSource'](this['videoUrl'])]),this['video']['preload']='auto';}catch(L){}}});}['setVideoSource'](J){return m(this,void 0x0,void 0x0,function*(){if(!J)return;const K=J['includes']('.m3u8'),L=yield this['beforeContentPlayService']['getTokenizedUrl'](J),M=this['source']['getAttribute']('src');if(!M||M!==L&&M!==L+'#t=0.01'){if(this['loadPoster'](),'hls'===this['videoFormat']&&K&&this['playbackStrategy']&&this['playbackStrategy']['reloadWithNewSource'])try{return void(yield this['playbackStrategy']['reloadWithNewSource'](L,0x0,0x0));}catch(N){}this['videoFormat']=K?'hls':'mp4',this['playbackStrategy']='hls'===this['videoFormat']?x['PlaybackStrategyFactory']['createStrategy'](this['video'],'SHORT_FORM_HLS',this,this['videoPlayerState']):x['PlaybackStrategyFactory']['createStrategy'](this['video'],'NATIVE',this,this['videoPlayerState']),this['playerCommands']=new x['VideoPlayerCommands'](this['playbackStrategy'],this),'hls'===this['videoFormat']?yield this['initializeHLSStrategy'](L):(this['playbackStrategy']['initialize']({'loaderDelegate':{'show':()=>this['tryToAddLoader'](),'hide':()=>this['removeLoader'](),'isVisible':()=>{var O;return!!(null===(O=this['loader'])||void 0x0===O?void 0x0:O['isConnected']);}}}),yield this['playbackStrategy']['loadSource'](L,0x0,0x0));}});}['reloadHLSWithNewUrl'](J){return m(this,void 0x0,void 0x0,function*(){if('hls'!==this['videoFormat']||!this['playbackStrategy'])return;const K=yield this['beforeContentPlayService']['getTokenizedUrl'](J);this['playbackStrategy']['reloadWithNewSource']&&(this['loadPoster'](),yield this['playbackStrategy']['reloadWithNewSource'](K,0x0,0x0));});}['initializeHLSStrategy'](J){return m(this,void 0x0,void 0x0,function*(){try{if(!this['playbackStrategy'])throw new Error('No\x20playback\x20strategy\x20available\x20for\x20HLS\x20initialization');this['video']['muted']=this['videoPlayerState']['isMuted'],this['playbackStrategy']['initialize']({'loaderDelegate':{'show':()=>this['tryToAddLoader'](),'hide':()=>this['removeLoader'](),'isVisible':()=>{var K;return!!(null===(K=this['loader'])||void 0x0===K?void 0x0:K['isConnected']);}}}),yield this['playbackStrategy']['loadSource'](J,0x0,0x0);}catch(K){yield this['fallbackToNativeVideo'](J);}});}['fallbackToNativeVideo'](J){return m(this,void 0x0,void 0x0,function*(){this['videoFormat']='mp4',this['playbackStrategy']&&this['cleanupHLSStrategy'](),this['video']['muted']=this['videoPlayerState']['isMuted'],this['playbackStrategy']=x['PlaybackStrategyFactory']['createStrategy'](this['video'],'NATIVE',this,this['videoPlayerState']),this['playerCommands']=new x['VideoPlayerCommands'](this['playbackStrategy'],this),this['playbackStrategy']['initialize']({'loaderDelegate':{'show':()=>this['tryToAddLoader'](),'hide':()=>this['removeLoader'](),'isVisible':()=>{var K;return!!(null===(K=this['loader'])||void 0x0===K?void 0x0:K['isConnected']);}}}),yield this['playbackStrategy']['loadSource'](J,0x0,0x0);});}['cleanupHLSStrategy'](){if(this['playbackStrategy']){try{this['playbackStrategy']['destroy']();}catch(J){}this['playbackStrategy']=void 0x0,this['playerCommands']=void 0x0;}}['unload'](){return m(this,void 0x0,void 0x0,function*(){var J;this['playbackStrategy']&&(this['playbackStrategy']['unload'](),'hls'===this['videoFormat']&&this['cleanupHLSStrategy']()),this['data']&&'Content'===(null===(J=this['data'])||void 0x0===J?void 0x0:J['type'])&&this['data']&&(this['interactionElement']['unloadInteraction'](),this['captionsElement']['remove'](),'hls'!==this['videoFormat']&&this['videoUrl']&&this['contentParent']instanceof q['BlazeWidgetStory']&&(yield F['VideoCacheService']['deleteVideoFromCache'](this['videoUrl'])),this['isVideoStartPlaying']=!0x1,this['isLoaded']=!0x1,this['isVideoRunning']=!0x1,this['videoFormat']='',this['playerCommands']=void 0x0,this['playbackStrategy']=void 0x0,this['removeLoader']());});}['resetVideoState'](){this['unload']();}['removeLoader'](){clearTimeout(this['loaderTimeoutRefAppending']),this['loader']['remove']();}['tryReloadVideo'](J){var K;J<=0x0||(this['maxRetryTimes']=J,null===(K=this['playbackStrategy'])||void 0x0===K||K['reset'](),this['play']());}['tryToAddLoader'](){var J;this['ended']||this['loader']&&!(null===(J=this['loader'])||void 0x0===J?void 0x0:J['isConnected'])&&(this['loaderTimeoutRefAppending']=setTimeout(()=>{this['append'](this['loader']);},0xfa));}['play'](){return m(this,void 0x0,void 0x0,function*(){var J,K;if(this['shouldShowImaAd'])return this['shouldShowImaAd']=!0x1,void(yield this['tryToPlayAd'](this['contentParent']['contentExtraInfo']));this['videoPlayerState']['isPlaying']=!0x0,this['eventRenderBackgroundPercentageTriggered']=[!0x1,!0x1],this['isVideoStartPlaying']=!0x0,yield null===(K=null===(J=this['playerCommands'])||void 0x0===J?void 0x0:J['executeCommand'])||void 0x0===K?void 0x0:K['call'](J,'play');});}['pause'](){var J,K;this['isVideoStartPlaying']=!0x1,null===(K=null===(J=this['playerCommands'])||void 0x0===J?void 0x0:J['executeCommand'])||void 0x0===K||K['call'](J,'pause');}set['currentTime'](J){var K,L;if(this['playbackStrategy']){const M=this['playbackStrategy']['getDuration']();if(M>0x0){const N=J/M;null===(K=this['playerCommands'])||void 0x0===K||K['executeCommand']('seek',Math['max'](0x0,Math['min'](0x1,N)));}}else void 0x0!==(null===(L=this['video'])||void 0x0===L?void 0x0:L['currentTime'])&&(this['video']['currentTime']=J);}get['currentTime'](){var J,K;return(null===(J=this['playbackStrategy'])||void 0x0===J?void 0x0:J['getCurrentTime']())||(null===(K=this['video'])||void 0x0===K?void 0x0:K['currentTime'])||0x0;}get['duration'](){var J,K;return(null===(J=this['playbackStrategy'])||void 0x0===J?void 0x0:J['getDuration']())||(null===(K=this['video'])||void 0x0===K?void 0x0:K['duration'])||0x0;}['videoDurationMetrics'](){return m(this,void 0x0,void 0x0,function*(){try{yield this['getVideoDuration']();}catch(J){}});}['requestFrameCallback'](J){var K,L,M;try{(null===(K=this['video'])||void 0x0===K?void 0x0:K['requestVideoFrameCallback'])?null===(M=null===(L=this['video'])||void 0x0===L?void 0x0:L['requestVideoFrameCallback'])||void 0x0===M||M['call'](L,J):this['videoFrameCallback']=J;}catch(N){}}['mainElement'](){return this['video'];}get['paused'](){var J,K;return null!==(K=null===(J=this['playbackStrategy'])||void 0x0===J?void 0x0:J['isPaused']())&&void 0x0!==K?K:!this['isVideoStartPlaying'];}get['ended'](){var J,K,L,M;return null!==(M=null!==(K=null===(J=this['playbackStrategy'])||void 0x0===J?void 0x0:J['isEnded']())&&void 0x0!==K?K:null===(L=this['video'])||void 0x0===L?void 0x0:L['ended'])&&void 0x0!==M&&M;}get['muted'](){var J;return Boolean(null===(J=this['video'])||void 0x0===J?void 0x0:J['muted']);}set['muted'](J){var K,L,M,N;J?null===(L=null===(K=this['playerCommands'])||void 0x0===K?void 0x0:K['executeCommand'])||void 0x0===L||L['call'](K,'mute'):null===(N=null===(M=this['playerCommands'])||void 0x0===M?void 0x0:M['executeCommand'])||void 0x0===N||N['call'](M,'unmute');}get['isAd'](){var J;return this['isCurrentlyTryingToRunImaAd']||'Ad'===(null===(J=this['data'])||void 0x0===J?void 0x0:J['type']);}['render'](){this['video']&&(this['video']['style']['borderRadius']='mobile'===A['deviceDetector']['platform']?'0px':'20px');}['handleAdStarted'](){this['pause'](),this['isCurrentlyTryingToRunImaAd']=!0x0,this['interactionElement']['hideInteraction']();}['handleAdEnded'](){var J;document['hidden']||this['play'](),this['isCurrentlyTryingToRunImaAd']=!0x1,null===(J=this['contentParent'])||void 0x0===J||J['adjustContentView'](),this['isEnableInteractions'](this['data'])&&this['interactionElement']['showInteraction'](),this['contentParent']instanceof q['BlazeWidgetStory']&&this['contentParent']['event'](B['StoryAction']['PageStart'],{});}['loadInteraction'](){if(!this['isEnableInteractions'](this['data']))return;const J=this['data']['interaction'];J&&(this['interactionElement']['addEventListener'](C['INTERACTION_ANALYTICS'],this['handleInteractionEvent']['bind'](this)),this['appendChild'](this['interactionElement']),this['interactionElement']['loadInteraction'](J));}['onLanguageChange'](J){return m(this,void 0x0,void 0x0,function*(){var K;const L=null===(K=this['data']['closedCaptions'])||void 0x0===K?void 0x0:K['find'](M=>''+M['language']===J['detail']['language']);L?(this['captionsElement']['isConnected']||this['append'](this['captionsElement']),yield this['captionsElement']['initialize'](this['video'],L['files']),this['setAttribute']('is-captions-visible','true')):(this['setAttribute']('is-captions-visible','false'),this['captionsElement']['isConnected']&&this['captionsElement']['remove']());});}['handleInteractionEvent'](J){var K,L;F['AnalyticsService']['pushInteractionEvent'](J['detail']['action'],Object['assign'](Object['assign']({},J['detail']['body']),{'content_id':this['contentParent']['data']['id'],'content_title':this['contentParent']['data']['title'],'content_page_id':null===(K=this['data'])||void 0x0===K?void 0x0:K['id'],'content_type':'story','content_session_id':F['UserService']['sessionId'],'audio_state':this['videoPlayerState']['isMuted']?'Mute':'Unmute','content_extra_info':'true'===(null===(L=F['AppConfigurationService']['appConfigurations'])||void 0x0===L?void 0x0:L['configurations']['analyticsAddEntitiesInfo'])?JSON['stringify'](this['contentParent']['data']['extraInfo']):void 0x0}),void 0x0,this['contentParent']['getRefferingObject']());}['tryToPlayAd'](J){return m(this,void 0x0,void 0x0,function*(){var K,L,M,N;if('Content'===(null===(K=this['data'])||void 0x0===K?void 0x0:K['type'])&&'IMA'===(null===(L=this['data']['adInfo'])||void 0x0===L?void 0x0:L['type'])){const O=this['data']['adInfo'];this['contentParent']['adIndex']++;const P=yield this['getVideoDuration']()['catch'](()=>{});return null!==(N=yield null===(M=this['widgetVastAd'])||void 0x0===M?void 0x0:M['startAd']({'videoElement':this['video'],'adInfo':this['data']['adInfo'],'contentExtraInfo':J,'addCustomParams':Q=>{var R;null===(R=this['widgetVastAd'])||void 0x0===R||R['setSearchParamIfNotNullOrZero'](Q,'content_title',this['contentParent']['data']['title']);const S=this['data']['index'];if(!isNaN(S)){if('Aniview'===O['adProvider'])Q['searchParams']['set']('page_index',(null==S?void 0x0:S['toString']())||'0');else{let U=Q['searchParams']['get']('cust_params')||'';const V=['page_index='+S];V['length']>0x0&&(U=U?U+'&'+V['join']('&'):V['join']('&')),U&&Q['searchParams']['set']('cust_params',U);}}const T=Q['searchParams']['get']('sz');if(T){const W='Horizontal'===this['contentParent']['aspectRatio']?B['IMA_RATIOS']['vertical']:B['IMA_RATIOS']['horizontal'];Q['searchParams']['set']('sz',T['split']('|')['filter'](X=>X!==W)['join']('|'));}},'addExtraAnalyticsParams':()=>{var Q,R;return{'session_id':this['contentParent']['sessionId'],'ad_index':this['contentParent']['adIndex']['toString'](),[this['contentParent']['contentType']+'_id']:null===(Q=this['contentParent']['data'])||void 0x0===Q?void 0x0:Q['id'],[this['contentParent']['contentType']+'_title']:null===(R=this['contentParent']['data'])||void 0x0===R?void 0x0:R['title']};},'videoUrl':this['videoUrl'],'videoDuration':P}))&&void 0x0!==N&&N;}return!0x1;});}['isBeingUnloaded'](){return!!this['isUnloading']||!!(this['contentParent']instanceof q['BlazeWidgetStory']&&this['contentParent']['isUnloading']);}}j['BlazeWidgetVideo']=I;},0x430:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isWidgetTheme']=function(g){return'object'==typeof g&&null!==g&&'layoutStyle'in g&&'playerStyle'in g;};},0x440:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['AccessibilityUtils']=void 0x0,f['AccessibilityUtils']=class{static['setElementsAccessible'](g){g['forEach'](h=>{if(h){h['setAttribute']('tabindex','0'),h['setAttribute']('aria-hidden','false'),h['style']['pointerEvents']='auto',h['focus']&&h['focus']['toString']()['includes']('{}')&&delete h['focus'];const j=h['querySelector']('a,\x20button,\x20[tabindex]');j&&(j['setAttribute']('tabindex','-1'),j['setAttribute']('aria-hidden','false'),j['style']['pointerEvents']='auto',j['focus']&&j['focus']['toString']()['includes']('{}')&&delete j['focus']);}});}static['setElementsInaccessible'](g){g['forEach'](h=>{if(h){document['activeElement']===h&&h['blur'](),h['setAttribute']('tabindex','-1'),h['setAttribute']('aria-hidden','true'),h['style']['pointerEvents']='none',h['focus']&&(h['focus']=()=>{});const j=h['querySelector']('a,\x20button,\x20[tabindex]');j&&(j['setAttribute']('tabindex','-1'),j['setAttribute']('aria-hidden','true'),j['style']['pointerEvents']='none',j['focus']&&(j['focus']=()=>{}));}});}static['setElementAccessibilityHidden'](g){g&&(g['setAttribute']('aria-hidden','true'),g['setAttribute']('role','presentation'),g['setAttribute']('tabindex','-1'));}static['setElementsAccessibilityHidden'](g){g['forEach'](h=>this['setElementAccessibilityHidden'](h));}};},0x443:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeAlert']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super(),this['titleContainer']=document['createElement']('div'),this['textContainer']=document['createElement']('div');}static get['observedAttributes'](){return['alert-title','alert-text'];}['connectedCallback'](){this['className']='blaze-alert';}['disconnectedCallback'](){}['attributeChangedCallback'](k,l,m){switch(k){case'alert-title':this['titleContainer']['innerHTML']=m,this['appendChild'](this['titleContainer']);break;case'alert-text':this['textContainer']['innerHTML']=m,this['appendChild'](this['textContainer']);}}['setAttribute'](k,l){super['setAttribute'](k,l);}}f['BlazeAlert']=j;},0x4cf:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoLifecycleSession']=void 0x0,f['VideoLifecycleSession']=class{constructor(){this['videoStartFired']=!0x1,this['videoEndFired']=!0x1,this['userInteracted']=!0x1;}['canEmitVideoStart'](){return!this['videoStartFired'];}['markVideoStartFired'](){this['videoStartFired']=!0x0;}['canEmitVideoEnd'](){return this['videoStartFired']&&!this['videoEndFired'];}['markVideoEndFired'](){this['videoEndFired']=!0x0;}['hasUserInteracted'](){return this['userInteracted'];}['markUserInteracted'](){this['userInteracted']=!0x0;}['hasVideoStartFired'](){return this['videoStartFired'];}['hasVideoEndFired'](){return this['videoEndFired'];}['reset'](){this['videoStartFired']=!0x1,this['videoEndFired']=!0x1,this['userInteracted']=!0x1;}['getState'](){return{'videoStartFired':this['videoStartFired'],'videoEndFired':this['videoEndFired'],'userInteracted':this['userInteracted']};}};},0x4d0:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LoggerTransport']=f['BatchRejectedError']=void 0x0;const j=g(0x11c1),k=g(0x227b);class l extends Error{constructor(m='Server\x20rejected\x20log\x20batch\x20(422)'){super(m),this['name']='BatchRejectedError';}}f['BatchRejectedError']=l,f['LoggerTransport']=class{constructor(){this['MAX_RETRY_ATTEMPTS']=0x3,this['BASE_RETRY_DELAY']=0x3e8,this['MAX_RETRY_DELAY']=0x7530,this['REQUEST_TIMEOUT']=0x2710;}['send'](m){return h(this,void 0x0,void 0x0,function*(){m['length']&&(yield this['sendWithRetry'](m));});}['sendWithRetry'](m){return h(this,void 0x0,void 0x0,function*(){let p;for(let q=0x0;q<=this['MAX_RETRY_ATTEMPTS'];q++)try{if(q>0x0){const r=this['calculateRetryDelay'](q);yield this['delay'](r);}return void(yield this['attemptSend'](m));}catch(u){if(p=u,u instanceof l)throw u;}throw p;});}['attemptSend'](m){return h(this,void 0x0,void 0x0,function*(){const p=this['preparePayload'](m),q=yield(0x0,k['compressPayload'])(p),r=new Promise((u,v)=>{setTimeout(()=>v(new Error('Request\x20timeout')),this['REQUEST_TIMEOUT']);});try{yield Promise['race']([this['sendToEndpoint'](q),r]);}catch(u){if(u instanceof Error){if(u['message']['includes']('422'))throw new l();if(u['message']['includes']('timeout'))throw new Error('Request\x20timeout');throw new Error('Network\x20request\x20failed:\x20'+u['message']);}throw u;}});}['preparePayload'](m){return m['map'](p=>({'message':p['message'],'level':p['level'],'api_key':j['ConfigService']['apiKey'],'api_scheme_version':'1','metadata':JSON['parse'](p['metadata'])}));}['sendToEndpoint'](m){return h(this,void 0x0,void 0x0,function*(){yield j['ApiService']['sendLoggerLogs'](m);});}['calculateRetryDelay'](m){const p=this['BASE_RETRY_DELAY']*Math['pow'](0x2,m-0x1)*(0.5+0.5*Math['random']());return Math['min'](p,this['MAX_RETRY_DELAY']);}['delay'](m){return new Promise(p=>setTimeout(p,m));}};},0x549:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x54c:(f,g,h)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetEmbeddedBase']=g['EMBEDDED_ATTRIBUTES']=void 0x0;const j=h(0x1133),k=h(0xdc4),m=h(0x1699),p=h(0x26ed),q=h(0x11c1),u=h(0x132a);g['EMBEDDED_ATTRIBUTES']={'Labels':'labels','LabelsPriority':'labels-priority','OrderType':'order-type','MaxItems':'max-items','ContentIds':'content-ids','VideoFilters':'video-filters','AdvancedOrdering':'advanced-ordering'};class v extends j['BaseWidget']{get['theme'](){return this['getTheme']();}constructor(){super(),this['isIntersecting']=!0x1,this['shouldReloadData']=!0x0,this['intersectionObserver']=new IntersectionObserver(this['handleIntersection']['bind'](this),{'threshold':0.5}),this['boundOnPlayerDidAppear']=this['onPlayerDidAppear']['bind'](this),this['boundOnPlayerDismissed']=this['onPlayerDismissed']['bind'](this),this['stateManager']=new k['VideoPlayerStateManager']();}['connectedCallback'](){this['innerHTML']+='\x0a\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20@keyframes\x20fadeInAnimation\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x200%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20100%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20'+this['getAnimationTargetSelector']()+'\x20{\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation:\x20fadeInAnimation\x20ease\x200.5s;\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation-iteration-count:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation-fill-mode:\x20forwards;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20</style>',this['style']['direction']=q['ConfigService']['layoutDirection'],this['intersectionObserver']['observe'](this),document['addEventListener'](p['Delegation']['onPlayerDidAppear'],this['boundOnPlayerDidAppear']),document['addEventListener'](p['Delegation']['onPlayerDismissed'],this['boundOnPlayerDismissed']),this['reloadLogic']();}['disconnectedCallback'](){document['removeEventListener'](p['Delegation']['onPlayerDidAppear'],this['boundOnPlayerDidAppear']),document['removeEventListener'](p['Delegation']['onPlayerDismissed'],this['boundOnPlayerDismissed']);}['attributeChangedCallback'](w,x,y){switch(w){case g['EMBEDDED_ATTRIBUTES']['Labels']:case g['EMBEDDED_ATTRIBUTES']['LabelsPriority']:if(!x)break;this['reloadLogic']();break;default:this['handleSpecificAttributeChange'](w,x,y);}}['updateDataSource'](w){}['getTheme'](){const w=this['getThemeContentType']();return w?this['preset']||u['ThemeFactory']['create']('default',w):this['preset']||u['ThemeFactory']['create']('default');}['setTheme'](w){let x;if('string'==typeof w){const y=this['getThemeContentType']();x=y?u['ThemeFactory']['create'](w,y):u['ThemeFactory']['create'](w);}else x=w;this['preset']=x;}['setLabels'](w,x){this['setReloadData'](x);let y='';if('string'==typeof w)y=w;else{if(Array['isArray'](w))y=w['join']();else{if(!(w instanceof j['BlazeWidgetLabel']))throw new Error('fail\x20to\x20set\x20labels\x20-\x20'+w+',\x20labels\x20must\x20be\x20string,\x20array\x20of\x20strings,\x20or\x20BlazeWidgetLabel...');y=w['toString']();}}this['setAttribute'](g['EMBEDDED_ATTRIBUTES']['Labels'],y);}['setLabelsPriority'](w,x){this['setReloadData'](x);let y='';if('string'==typeof w)y=w['startsWith']('[')&&w['endsWith'](']')?w:'['+w+']';else{if(!Array['isArray'](w))throw new Error('Failed\x20to\x20set\x20labels\x20priority\x20-\x20'+w+'.\x20Labels\x20priority\x20must\x20be\x20a\x20string,\x20array\x20of\x20strings,\x20or\x20array\x20of\x20BlazeWidgetLabel.');y=w['every'](z=>z instanceof j['BlazeWidgetLabel'])?'['+w['map'](z=>z['toString']())['join']()+']':'['+w['join']();}this['setAttribute'](g['EMBEDDED_ATTRIBUTES']['LabelsPriority'],y);}['reload'](){this['shouldReloadData']=!0x0,this['reloadLogic']();}['setPersonalized'](w){}['updateWidgetUI'](){}['setMaxItemsDisplaySize'](w){}['setDelegations'](w){for(const x in w)this['addEventListener'](x,w[x]);}['updateOverrideStyles'](w){}['setVideoFilters'](w){this['videoFilters']=w,this['setAttribute'](g['EMBEDDED_ATTRIBUTES']['VideoFilters'],w?JSON['stringify'](w):'');}['setMaxItemsSize'](w){this['setAttribute'](g['EMBEDDED_ATTRIBUTES']['MaxItems'],w['toString']());}['reloadLogic'](){this['shouldReloadData']&&this['loadContent']();}['setReloadData'](w){this['shouldReloadData']='object'!=typeof w||!w['hasOwnProperty']('shouldReloadData')||'boolean'!=typeof w['shouldReloadData']||w['shouldReloadData'];}['showSkeleton'](){var w,x,y,z;this['skeleton']||(this['skeleton']=new m['BlazeWidgetItemSkeleton'](this['theme']['layoutStyle'],null!==(x=null===(w=this['parentElement'])||void 0x0===w?void 0x0:w['clientWidth'])&&void 0x0!==x?x:0x0,null!==(z=null===(y=this['parentElement'])||void 0x0===y?void 0x0:y['clientHeight'])&&void 0x0!==z?z:0x0,0x0),this['appendChild'](this['skeleton']));}['hideSkeleton'](){this['skeleton']&&(this['removeChild'](this['skeleton']),this['skeleton']=void 0x0);}['onPlayerDidAppear'](w){const x=w;x['detail']&&this['id']!==x['detail']['widgetId']&&this['onOtherModalOpenedClosed'](w,()=>this['pauseContent']());}['onPlayerDismissed'](w){this['onOtherModalOpenedClosed'](w,()=>this['playContent']());}['onOtherModalOpenedClosed'](w,x){x();}['getAnimationTargetSelector'](){return'blaze-video-element,\x20blaze-widget-story';}['getThemeContentType'](){}['handleSpecificAttributeChange'](w,x,y){}}g['BlazeWidgetEmbeddedBase']=v;},0x55b:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['extractEntryIds']=function(g){return g['map'](h=>h['id']);};},0x565:function(f,g,h){'use strict';var j=this&&this['__awaiter']||function(x,y,z,A){return new(z||(z=Promise))(function(B,C){function D(G){try{F(A['next'](G));}catch(H){C(H);}}function E(G){try{F(A['throw'](G));}catch(H){C(H);}}function F(G){var H;G['done']?B(G['value']):(H=G['value'],H instanceof z?H:new z(function(I){I(H);}))['then'](D,E);}F((A=A['apply'](x,y||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetInteraction']=void 0x0;const k=h(0x1133),m=h(0x1932),p=h(0x25e6),q=h(0x26ed),u=h(0x11c1),v=h(0x2432);class w extends k['BaseWidget']{constructor(){super(...arguments),this['iframe']=document['createElement']('iframe'),this['isIframeLoaded']=!0x1,this['isInitialized']=!0x1,this['isActive']=!0x1,this['shouldForceHide']=!0x1,this['responseHandler']=this['onUserResponse']['bind'](this),this['focusMainWindowHandler']=this['focusMainWindow']['bind'](this),this['orientationChangeHandler']=this['orientationChange']['bind'](this);}['connectedCallback'](){(0x0,v['mergeStyles'])(this,{'position':'relative','display':'block','width':'100%','overflow':'hidden','borderRadius':'mobile'===k['deviceDetector']['platform']?'0px':'20px'}),v['AccessibilityUtils']['setElementAccessibilityHidden'](this);}['loadInteraction'](x){var z,B,D,F,G,H,J,K,N,O,P,Q,R,U,V,W,X,Y,Z,a0,a1,a2;this['interaction']=x,this['iframe']['id']='interaction-'+this['interaction']['id'],this['iframe']['src']=this['interaction']['htmlUrl'],this['iframe']['onload']=()=>{this['isIframeLoaded']=!0x0,!this['isInitialized']&&this['isActive']&&this['initInteraction']();},window['addEventListener']('blur',this['focusMainWindowHandler']),this['orientationChangeHandler'](),window['addEventListener']('resize',this['orientationChangeHandler']);const a3=(0x0,v['isCssPropertySupported'])('aspectRatio');(0x0,v['mergeStyles'])(this['iframe'],{'position':'absolute','border':'none','zIndex':m['Z_INDEX']['interaction']}),this['isActive']?this['showIframe']():this['hideIframe']();const {bounds:a4}=x;if(a4){a3&&'Player'===(null===(z=a4['position'])||void 0x0===z?void 0x0:z['yRelativeTo'])?this['style']['aspectRatio']=m['ASPECT_RATIO_9_16_STRING']:this['style']['height']='100%';const a5='translateX('+('RTL'===u['ConfigService']['layoutDirection']?-0x1:0x1)*(null!==(D=null===(B=a4['position'])||void 0x0===B?void 0x0:B['xOffset'])&&void 0x0!==D?D:0x0)+'px)\x20translateY('+(null!==(G=null===(F=a4['position'])||void 0x0===F?void 0x0:F['yOffset'])&&void 0x0!==G?G:'0')+'px)',a6={'BottomToTop':{},'TopToTop':{'top':(null!==(J=null===(H=a4['position'])||void 0x0===H?void 0x0:H['yOffset'])&&void 0x0!==J?J:'0')+'px'},'BottomToBottom':{'bottom':(null!==(N=null===(K=a4['position'])||void 0x0===K?void 0x0:K['yOffset'])&&void 0x0!==N?N:'0')+'px'},'TopToBottom':{},'CenterToTop':{},'CenterToBottom':{},'CenterY':{'top':'0','bottom':'0','marginTop':'auto','marginBottom':'auto','transform':a5}},a7={'StartToStart':{'insetInlineStart':(null!==(P=null===(O=a4['position'])||void 0x0===O?void 0x0:O['xOffset'])&&void 0x0!==P?P:'0')+'px'},'EndToEnd':{'insetInlineEnd':(null!==(R=null===(Q=a4['position'])||void 0x0===Q?void 0x0:Q['xOffset'])&&void 0x0!==R?R:'0')+'px'},'StartToEnd':{},'EndToStart':{},'CenterToStart':{},'CenterToEnd':{},'CenterX':{'insetInlineStart':'0','insetInlineEnd':'0','marginInline':'auto','transform':a5}};(0x0,v['mergeStyles'])(this['iframe'],Object['assign'](Object['assign'](Object['assign']({},a6[null!==(V=null===(U=a4['position'])||void 0x0===U?void 0x0:U['yPosition'])&&void 0x0!==V?V:'TopToTop']),a7[null!==(X=null===(W=a4['position'])||void 0x0===W?void 0x0:W['xPosition'])&&void 0x0!==X?X:'StartToStart']),{'height':(null===(Y=a4['size'])||void 0x0===Y?void 0x0:Y['absoluteHeight'])?a4['size']['absoluteHeight']+'px':0x64*(null!==(a0=null===(Z=a4['size'])||void 0x0===Z?void 0x0:Z['heightRatio'])&&void 0x0!==a0?a0:0x0)+'%','width':(null===(a1=a4['size'])||void 0x0===a1?void 0x0:a1['widthRatio'])?0x64*a4['size']['widthRatio']+'%':(null===(a2=a4['size'])||void 0x0===a2?void 0x0:a2['absoluteWidth'])+'px'}));}else a3?this['style']['aspectRatio']=m['ASPECT_RATIO_9_16_STRING']:this['style']['height']='100%',(0x0,v['mergeStyles'])(this['iframe'],{'top':0x64*this['interaction']['topOffset']+'%','insetInlineStart':0x64*this['interaction']['leftOffset']+'%','height':0x64*this['interaction']['relativeHeight']+'%','width':0x64*this['interaction']['relativeWidth']+'%'});this['appendChild'](this['iframe']);}['showInteraction'](x){this['interaction']||(this['interaction']=x),this['interaction']&&!this['isActive']&&(this['pushAnalyticsEvent'](m['InteractionAction']['VIEW'],{'client_enrichment_url':this['interaction']['clientEnrichmentUrl']}),this['isActive']=!0x0,this['isIframeLoaded']&&!this['isInitialized']&&this['initInteraction'](),this['shouldForceHide']||this['showIframe'](),window['addEventListener']('message',this['responseHandler']));}['shouldResetInitialization'](x){var y;return'Enrichment'!==x['type']||'true'!==(null===(y=u['AppConfigurationService']['appConfigurations'])||void 0x0===y?void 0x0:y['configurations']['avoidEnrichmentReloadOnNavigation']);}['hideInteraction'](){this['interaction']&&this['isActive']&&(this['isActive']=!0x1,this['shouldResetInitialization'](this['interaction'])&&(this['isInitialized']=!0x1),this['hideIframe'](),window['removeEventListener']('message',this['responseHandler']));}['refreshInteraction'](){return j(this,void 0x0,void 0x0,function*(){var x;if(!this['interaction']||!this['isIframeLoaded']||!this['isActive'])return;let y,z;try{const A=yield u['InteractionService']['getInteraction'](this['interaction']['id']);y=null==A?void 0x0:A['initData'],z=null==A?void 0x0:A['userResponse'];}catch(B){return;}y=null!=y?y:this['interaction']['initData'],null===(x=this['iframe']['contentWindow'])||void 0x0===x||x['postMessage']({'type':'invokeInitInteraction','initData':JSON['parse'](y),'designOverrides':JSON['parse'](this['interaction']['designOverridesStr']),'userAnswer':z,'userContext':u['ConfigService']['appContext']},'*');});}['unloadInteraction'](){this['isIframeLoaded']=!0x1,this['iframe']['remove'](),window['removeEventListener']('blur',this['focusMainWindowHandler']),window['removeEventListener']('message',this['responseHandler']),window['removeEventListener']('resize',this['orientationChangeHandler']);}['onUserResponse'](x){return j(this,void 0x0,void 0x0,function*(){if(this['interaction']&&this['isActive']&&x['source']===this['iframe']['contentWindow'])switch(x['data']['type']){case'USER_RESPONSE':u['InteractionService']['updateInteraction']({'id':this['interaction']['id'],'initData':x['data']['data']['newInitData'],'userResponse':x['data']['data']['userResponse']}),u['ApiService']['sendInteractionResponse']({'interactionId':this['interaction']['id'],'interactionType':this['interaction']['type'],'responseId':x['data']['data']['userResponse']}),u['UserActivitySynchronizer']['saveEngagementActivity']({'id':'interaction_'+this['interaction']['id'],'activityType':'interaction','interactionId':this['interaction']['id'],'responseId':x['data']['data']['userResponse'],'timestamp':Date['now'](),'isRemoteSynced':!0x1}),this['pushAnalyticsEvent'](m['InteractionAction']['ANSWER'],{'interaction_selected_answer':x['data']['data']['userResponse']});break;case'hapticFeedback':case'USER_VIBRATE':const y=x['data']['data']['type'];'vibrate'in navigator&&navigator['vibrate'](p['ANSWER_FEEDBACK_VIBRATE_PATTERNS'][y]);break;case'play':this['dispatchEvent'](new CustomEvent(q['InternalEvent']['RESUME'],{'bubbles':!0x0}));break;case'pause':this['dispatchEvent'](new CustomEvent(q['InternalEvent']['PAUSE'],{'bubbles':!0x0}));break;case'goToNextPage':this['dispatchEvent'](new CustomEvent(q['InternalEvent']['NEXT_PAGE'],{'bubbles':!0x0}));break;case'goToPreviousPage':this['dispatchEvent'](new CustomEvent(q['InternalEvent']['PREVIOUS_PAGE'],{'bubbles':!0x0}));break;case'setAppContext':u['ConfigService']['appContext']=x['data']['data'];}});}['pushAnalyticsEvent'](x,y){if(!this['interaction'])return;const z={'action':x,'body':Object['assign']({'interaction_id':this['interaction']['id'],'interaction_type':this['interaction']['type'],'interaction_text':this['interaction']['initData']},y)};this['dispatchEvent'](new CustomEvent(p['INTERACTION_ANALYTICS'],{'detail':z}));}['focusMainWindow'](){document['activeElement']===this['iframe']&&setTimeout(()=>{window['focus']();},0x0);}['initInteraction'](){return j(this,void 0x0,void 0x0,function*(){var x;if(!this['interaction'])return;let y,z;try{const A=yield u['InteractionService']['getInteraction'](this['interaction']['id']);y=null==A?void 0x0:A['initData'],z=null==A?void 0x0:A['userResponse'];}catch(B){}y=null!=y?y:this['interaction']['initData'],null===(x=this['iframe']['contentWindow'])||void 0x0===x||x['postMessage']({'type':'invokeInitInteraction','initData':JSON['parse'](y),'designOverrides':JSON['parse'](this['interaction']['designOverridesStr']),'userAnswer':z,'userContext':u['ConfigService']['appContext']},'*'),this['isInitialized']=!0x0;});}['orientationChange'](){this['shouldForceHide']='mobile'===k['deviceDetector']['platform']&&'landscape'===k['deviceDetector']['screenOrientation'],this['isActive']&&(this['shouldForceHide']?this['hideIframe']():this['showIframe']());}['hideIframe'](){this['iframe']['style']['visibility']='hidden',this['iframe']['style']['pointerEvents']='none';}['showIframe'](){this['iframe']['style']['visibility']='visible',this['iframe']['style']['pointerEvents']='auto';}}g['BlazeWidgetInteraction']=w;},0x596:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeDiv']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super();}}f['BlazeDiv']=j;},0x5ee:(f,g,h)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetStoryModal']=void 0x0;const j=h(0x23a6),k=h(0x1133),m=h(0x1932),p=h(0x26ed),q=h(0x11c1),u=h(0x2432),v=h(0x14c);class w extends v['BlazeWidgetModal']{constructor(x,y,z,A=q['VideoPlayerService']){super('story',A),this['parentWidget']=x,this['playerLayout']=y,this['actionHandlers']=z,this['videoPlayerState']=A,this['currentState']=null,this['player']['onClose']=this['close']['bind'](this),this['player']['dispatchExitStoryEvents']=this['dispatchExitStoryEvents']['bind'](this),this['boundOnResizeEventDelay']=this['onResizeEventDelay']['bind'](this),this['boundOnKeyDown']=this['onKeyDown']['bind'](this),this['boundOnBeforeUnload']=this['onBeforeUnload']['bind'](this);const B=document['createElement']('style');B['textContent']='@keyframes\x20shrink{\x0a\x20\x20\x20\x20\x20\x20\x20\x200%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(1)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x2015%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(.96)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x2030%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(1)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20100%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(1)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@keyframes\x20grow{\x0a\x20\x20\x20\x20\x20\x20\x20\x200%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(1)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x2015%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(1.04)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x2030%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(1)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20100%{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:scale(1)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20@keyframes\x20bottomToTop\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x200%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(100%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x2050%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(-50%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20100%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(0%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['appendChild'](B);}['connectedCallback'](){super['connectedCallback'](),window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener'](k['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']),window['addEventListener']('keydown',this['boundOnKeyDown']),window['addEventListener']('beforeunload',this['boundOnBeforeUnload']),(0x0,u['mergeStyles'])(this,{'display':'none','boxSizing':'border-box'});}['disconnectedCallback'](){super['disconnectedCallback'](),window['removeEventListener'](k['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']),window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener']('keydown',this['boundOnKeyDown']),window['removeEventListener']('beforeunload',this['boundOnBeforeUnload']);}['onBeforeUnload'](){if(k['deviceDetector']['isDesktop'])return this['isOpen']&&this['dispatchExitStoryEvents'](),null;}['setTheme'](x){this['player']['playerContentList']['forEach'](y=>{y instanceof j['BlazeWidgetStory']&&y['setTheme'](x);}),this['playerLayout']=x;}['updateModalContent'](){this['currentState']&&this['player']['updateContentConfig'](this['currentState']['stories']);}['setModalContent'](x,y,z){this['currentState']={'stories':x,'indexOfContentInWidget':y,'defaultAdsInfo':z};const A=[];for(let B=0x0;B<x['length'];B++){const C=new j['BlazeWidgetStory'](this['playerLayout'],'Full\x20Screen',this['actionHandlers'],void 0x0,this['videoPlayerState']);C['setData'](x[B]),A['push'](C),q['AdService']['pushAdsBetweenStories'](z,A,x,B,y,this['playerLayout']);}this['player']['setContent'](A);}['onKeyDown'](x){if(this['isOpen']&&'Escape'==x['key']){const y=this['player']['playerContentList'][this['player']['index']];if(y['currentPage']['isAd'])return;y['exitTrigger']='Escape\x20Button',y['navigationType']='',y['navigationDirection']='',y['close'](),this['close']();}}['close'](){var x,y,z;if(!this['isOpen'])return;if('SingleContent'===q['VideoPlayerService']['playReference']&&!q['ConfigService']['shouldDismissPlayer'])return;this['dispatchPlayerEvents'](),super['close'](),null===(x=this['player'])||void 0x0===x||x['playerContentList']['forEach'](B=>{B['unload'](),B instanceof j['BlazeWidgetStory']&&(B['currentPage']['pause'](),B['pages']['forEach'](C=>{C['paused']||C['pause'](),C['unload']();}));});const A=this['player']['playerContentList'][this['player']['index']];null===(y=null==A?void 0x0:A['currentPage'])||void 0x0===y||y['endExit'](),null===(z=this['onClose'])||void 0x0===z||z['call'](this,{'storyId':A['data']['id'],'pageIndex':A['pageIndex']});}['dispatchExitStoryEvents'](){var x,y,z;const A=this['player']['playerContentList'][this['player']['index']];A['event'](m['StoryAction']['PageExit'],{}),A['event'](m['StoryAction']['Exit'],{}),q['AnalyticsService']['sendAnalyticsData'](),null===(x=A['pause'])||void 0x0===x||x['call'](A),null===(z=null===(y=A['widgetParentItem'])||void 0x0===y?void 0x0:y['updateWidget'])||void 0x0===z||z['call'](y),A['updateWidgetStatusReadUnread']();}['dispatchPlayerEvents'](){q['EventService']['dispatch'](this,p['Delegation']['onStoryPlayerDismissed']),q['EventService']['dispatch'](this,p['Delegation']['onPlayerDismissed']),this['parentWidget']&&(q['EventService']['dispatch'](this['parentWidget'],p['Delegation']['onWidgetPlayerDismissed'],{'widgetId':this['parentWidget']['id']}),q['EventService']['dispatch'](this['parentWidget'],p['Delegation']['onWidgetStoryPlayerDismissed'],{'widgetId':this['parentWidget']['id']}));}['open'](x){var y;super['open'](x);const z=new CustomEvent('onPlayerReady',{'bubbles':!0x0,'composed':!0x0});this['dispatchEvent'](z),null===(y=this['onOpen'])||void 0x0===y||y['call'](this),q['EventService']['dispatch'](this,p['Delegation']['onStoryPlayerDidAppear']),q['EventService']['dispatch'](this,p['Delegation']['onPlayerDidAppear']);}['play'](){}['playToggleCurrentStory'](){this['player']['playToggleCurrentStory']();}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},m['ONE_SECOND']/0x2);}}g['BlazeWidgetStoryModal']=w;},0x614:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Singleton']=function(){return class{constructor(){}static['getInstance'](){return this['_instance']||(this['_instance']=new this()),this['_instance'];}};};},0x636:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['playFilledIconSvg']=f['clockIconSvg']=f['liveStreamDotSvg']=f['plusSvg']=f['checkMarkSvg']=f['linkIconSvg']=f['shareVideosIconSvg']=f['closedCaptionsOffIconSvg']=f['closedCaptionsOnIconSvg']=f['newPageIcon']=f['arrowUpMomentIconSvg']=f['arrowDownMomentIconSvg']=f['fullscreenExitIconSvg']=f['fullscreenEnterIconSvg']=f['externalLinkIconSvg']=f['arrowUpCtaIconSvg']=f['pauseResumeIconSvg']=f['playResumeIconSvg']=f['restartIconSvg']=f['prevPageIconSvg']=f['nextPageIconSvg']=f['prevStoryIconSvg']=f['nextStoryIconSvg']=f['closeIconSvg']=f['shareIconSvg']=f['muteIconSvg']=f['unmuteIconSvg']=f['pauseIconSvg']=f['playIconSvg']=f['IconGlobe']=f['IconLink']=f['ShareIconSvg']=f['likeIconSvg']=f['unlikeIconSvg']=void 0x0,f['unlikeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyOCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjAwMDMgMjVMMTIuMDY3IDIzLjI2NjdDOS44MjI1NSAyMS4yNDQ1IDcuOTY2OTkgMTkuNSA2LjUwMDMzIDE4LjAzMzRDNS4wMzM2NiAxNi41NjY3IDMuODY2OTkgMTUuMjUgMy4wMDAzMyAxNC4wODM0QzIuMTMzNjYgMTIuOTE2NyAxLjUyODEgMTEuODQ0NSAxLjE4MzY2IDEwLjg2NjdDMC44MzkyMTQgOS44ODg5MSAwLjY2Njk5MiA4Ljg4ODkxIDAuNjY2OTkyIDcuODY2NjlDMC42NjY5OTIgNS43Nzc4IDEuMzY2OTkgNC4wMzMzNiAyLjc2Njk5IDIuNjMzMzZDNC4xNjY5OSAxLjIzMzM2IDUuOTExNDQgMC41MzMzNTYgOC4wMDAzMyAwLjUzMzM1NkM5LjE1NTg4IDAuNTMzMzU2IDEwLjI1NTkgMC43Nzc4IDExLjMwMDMgMS4yNjY2OUMxMi4zNDQ4IDEuNzU1NTggMTMuMjQ0OCAyLjQ0NDQ3IDE0LjAwMDMgMy4zMzMzNkMxNC43NTU5IDIuNDQ0NDcgMTUuNjU1OSAxLjc1NTU4IDE2LjcwMDMgMS4yNjY2OUMxNy43NDQ4IDAuNzc3OCAxOC44NDQ4IDAuNTMzMzU2IDIwLjAwMDMgMC41MzMzNTZDMjIuMDg5MiAwLjUzMzM1NiAyMy44MzM3IDEuMjMzMzYgMjUuMjMzNyAyLjYzMzM2QzI2LjYzMzcgNC4wMzMzNiAyNy4zMzM3IDUuNzc3OCAyNy4zMzM3IDcuODY2NjlDMjcuMzMzNyA4Ljg4ODkxIDI3LjE2MTQgOS44ODg5MSAyNi44MTcgMTAuODY2N0MyNi40NzI1IDExLjg0NDUgMjUuODY3IDEyLjkxNjcgMjUuMDAwMyAxNC4wODM0QzI0LjEzMzcgMTUuMjUgMjIuOTY3IDE2LjU2NjcgMjEuNTAwMyAxOC4wMzM0QzIwLjAzMzcgMTkuNSAxOC4xNzgxIDIxLjI0NDUgMTUuOTMzNyAyMy4yNjY3TDE0LjAwMDMgMjVaTTE0LjAwMDMgMjEuNEMxNi4xMzM3IDE5LjQ4ODkgMTcuODg5MiAxNy44NSAxOS4yNjcgMTYuNDgzNEMyMC42NDQ4IDE1LjExNjcgMjEuNzMzNyAxMy45Mjc4IDIyLjUzMzcgMTIuOTE2N0MyMy4zMzM3IDExLjkwNTYgMjMuODg5MiAxMS4wMDU2IDI0LjIwMDMgMTAuMjE2N0MyNC41MTE0IDkuNDI3OCAyNC42NjcgOC42NDQ0NyAyNC42NjcgNy44NjY2OUMyNC42NjcgNi41MzMzNiAyNC4yMjI1IDUuNDIyMjQgMjMuMzMzNyA0LjUzMzM2QzIyLjQ0NDggMy42NDQ0NyAyMS4zMzM3IDMuMjAwMDIgMjAuMDAwMyAzLjIwMDAyQzE4Ljk1NTkgMy4yMDAwMiAxNy45ODkyIDMuNDk0NDcgMTcuMTAwMyA0LjA4MzM2QzE2LjIxMTQgNC42NzIyNSAxNS42MDAzIDUuNDIyMjQgMTUuMjY3IDYuMzMzMzZIMTIuNzMzN0MxMi40MDAzIDUuNDIyMjQgMTEuNzg5MiA0LjY3MjI1IDEwLjkwMDMgNC4wODMzNkMxMC4wMTE0IDMuNDk0NDcgOS4wNDQ3NyAzLjIwMDAyIDguMDAwMzMgMy4yMDAwMkM2LjY2Njk5IDMuMjAwMDIgNS41NTU4OCAzLjY0NDQ3IDQuNjY2OTkgNC41MzMzNkMzLjc3ODEgNS40MjIyNCAzLjMzMzY2IDYuNTMzMzYgMy4zMzM2NiA3Ljg2NjY5QzMuMzMzNjYgOC42NDQ0NyAzLjQ4OTIxIDkuNDI3OCAzLjgwMDMzIDEwLjIxNjdDNC4xMTE0NCAxMS4wMDU2IDQuNjY2OTkgMTEuOTA1NiA1LjQ2Njk5IDEyLjkxNjdDNi4yNjY5OSAxMy45Mjc4IDcuMzU1ODggMTUuMTE2NyA4LjczMzY2IDE2LjQ4MzRDMTAuMTExNCAxNy44NSAxMS44NjcgMTkuNDg4OSAxNC4wMDAzIDIxLjRaIiBmaWxsPSIjRjBGMEYwIi8+Cjwvc3ZnPgo=',f['likeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDE4Ljk5OTlMOC41NSAxNy42OTk5QzYuODY2NjcgMTYuMTgzMiA1LjQ3NSAxNC44NzQ5IDQuMzc1IDEzLjc3NDlDMy4yNzUgMTIuNjc0OSAyLjQgMTEuNjg3NCAxLjc1IDEwLjgxMjRDMS4xIDkuOTM3NCAwLjY0NTgzMyA5LjEzMzI0IDAuMzg3NSA4LjM5OTlDMC4xMjkxNjcgNy42NjY1NyAwIDYuOTE2NTcgMCA2LjE0OTlDMCA0LjU4MzI0IDAuNTI1IDMuMjc0OSAxLjU3NSAyLjIyNDlDMi42MjUgMS4xNzQ5IDMuOTMzMzMgMC42NDk5MDIgNS41IDAuNjQ5OTAyQzYuMzY2NjcgMC42NDk5MDIgNy4xOTE2NyAwLjgzMzIzNiA3Ljk3NSAxLjE5OTlDOC43NTgzMyAxLjU2NjU3IDkuNDMzMzMgMi4wODMyNCAxMCAyLjc0OTlDMTAuNTY2NyAyLjA4MzI0IDExLjI0MTcgMS41NjY1NyAxMi4wMjUgMS4xOTk5QzEyLjgwODMgMC44MzMyMzYgMTMuNjMzMyAwLjY0OTkwMiAxNC41IDAuNjQ5OTAyQzE2LjA2NjcgMC42NDk5MDIgMTcuMzc1IDEuMTc0OSAxOC40MjUgMi4yMjQ5QzE5LjQ3NSAzLjI3NDkgMjAgNC41ODMyNCAyMCA2LjE0OTlDMjAgNi45MTY1NyAxOS44NzA4IDcuNjY2NTcgMTkuNjEyNSA4LjM5OTlDMTkuMzU0MiA5LjEzMzI0IDE4LjkgOS45Mzc0IDE4LjI1IDEwLjgxMjRDMTcuNiAxMS42ODc0IDE2LjcyNSAxMi42NzQ5IDE1LjYyNSAxMy43NzQ5QzE0LjUyNSAxNC44NzQ5IDEzLjEzMzMgMTYuMTgzMiAxMS40NSAxNy42OTk5TDEwIDE4Ljk5OTlaIiBmaWxsPSIjRjBGMEYwIi8+Cjwvc3ZnPgo=',f['ShareIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi45NDczIDIzLjM3NDhDMTMuMSAyMy43NTI2IDEzLjQ2NjggMjQgMTMuODc0NCAyNEgxNC4zNzE5QzE0Ljc4OTYgMjQgMTUuMTYzMyAyMy43NDAzIDE1LjMwOSAyMy4zNDg4TDIzLjIzNzUgMi4wNDg1QzIzLjUzNjIgMS4yNDYwNCAyMi43NTM5IDAuNDYzNzg1IDIxLjk1MTUgMC43NjI0OEwwLjY1MTE2IDguNjkwOTNDMC4yNTk2NjUgOC44MzY2NSAwIDkuMjEwMzcgMCA5LjYyODExVjEwLjEyNTZDMCAxMC41MzMyIDAuMjQ3MzQ5IDEwLjkgMC42MjUyMTEgMTEuMDUyN0w5LjQgMTQuNkwxMi45NDczIDIzLjM3NDhaTTE4LjM1MTggNy41MzM4OUwxNC4wNjY3IDE5LjA2NjZMMTIuMDAzNSAxMy44ODIyTDE4LjM1MTggNy41MzM4OVpNMTYuNDY2MyA1LjY0ODEyTDEwLjExNzkgMTEuOTk2NUw0LjkzMzMzIDkuOTMzMzFMMTYuNDY2MyA1LjY0ODEyWiIgZmlsbD0iI0YwRjBGMCIvPgo8L3N2Zz4K',f['IconLink']='data:image/svg+xml;charset=utf-8,<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20width=\x2220\x22\x20height=\x2210\x22\x20viewBox=\x220\x200\x2020\x2010\x22\x20fill=\x22none\x22><path\x20d=\x22M9\x2010H5C3.61667\x2010\x202.4375\x209.5125\x201.4625\x208.5375C0.4875\x207.5625\x200\x206.38333\x200\x205C0\x203.61667\x200.4875\x202.4375\x201.4625\x201.4625C2.4375\x200.4875\x203.61667\x200\x205\x200H9V2H5C4.16667\x202\x203.45833\x202.29167\x202.875\x202.875C2.29167\x203.45833\x202\x204.16667\x202\x205C2\x205.83333\x202.29167\x206.54167\x202.875\x207.125C3.45833\x207.70833\x204.16667\x208\x205\x208H9V10ZM6\x206V4H14V6H6ZM11\x2010V8H15C15.8333\x208\x2016.5417\x207.70833\x2017.125\x207.125C17.7083\x206.54167\x2018\x205.83333\x2018\x205C18\x204.16667\x2017.7083\x203.45833\x2017.125\x202.875C16.5417\x202.29167\x2015.8333\x202\x2015\x202H11V0H15C16.3833\x200\x2017.5625\x200.4875\x2018.5375\x201.4625C19.5125\x202.4375\x2020\x203.61667\x2020\x205C20\x206.38333\x2019.5125\x207.5625\x2018.5375\x208.5375C17.5625\x209.5125\x2016.3833\x2010\x2015\x2010H11Z\x22\x20fill=\x22white\x22\x20fill-opacity=\x220.92\x22/></svg>',f['IconGlobe']='data:image/svg+xml;charset=utf-8,<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20width=\x2220\x22\x20height=\x2220\x22\x20viewBox=\x220\x200\x2020\x2020\x22\x20fill=\x22none\x22><path\x20d=\x22M10\x2020C8.61667\x2020\x207.31667\x2019.7375\x206.1\x2019.2125C4.88333\x2018.6875\x203.825\x2017.975\x202.925\x2017.075C2.025\x2016.175\x201.3125\x2015.1167\x200.7875\x2013.9C0.2625\x2012.6833\x200\x2011.3833\x200\x2010C0\x208.61667\x200.2625\x207.31667\x200.7875\x206.1C1.3125\x204.88333\x202.025\x203.825\x202.925\x202.925C3.825\x202.025\x204.88333\x201.3125\x206.1\x200.7875C7.31667\x200.2625\x208.61667\x200\x2010\x200C11.3833\x200\x2012.6833\x200.2625\x2013.9\x200.7875C15.1167\x201.3125\x2016.175\x202.025\x2017.075\x202.925C17.975\x203.825\x2018.6875\x204.88333\x2019.2125\x206.1C19.7375\x207.31667\x2020\x208.61667\x2020\x2010C20\x2011.3833\x2019.7375\x2012.6833\x2019.2125\x2013.9C18.6875\x2015.1167\x2017.975\x2016.175\x2017.075\x2017.075C16.175\x2017.975\x2015.1167\x2018.6875\x2013.9\x2019.2125C12.6833\x2019.7375\x2011.3833\x2020\x2010\x2020ZM9\x2017.95V16C8.45\x2016\x207.97917\x2015.8042\x207.5875\x2015.4125C7.19583\x2015.0208\x207\x2014.55\x207\x2014V13L2.2\x208.2C2.15\x208.5\x202.10417\x208.8\x202.0625\x209.1C2.02083\x209.4\x202\x209.7\x202\x2010C2\x2012.0167\x202.6625\x2013.7833\x203.9875\x2015.3C5.3125\x2016.8167\x206.98333\x2017.7\x209\x2017.95ZM15.9\x2015.4C16.2333\x2015.0333\x2016.5333\x2014.6375\x2016.8\x2014.2125C17.0667\x2013.7875\x2017.2875\x2013.3458\x2017.4625\x2012.8875C17.6375\x2012.4292\x2017.7708\x2011.9583\x2017.8625\x2011.475C17.9542\x2010.9917\x2018\x2010.5\x2018\x2010C18\x208.36667\x2017.5458\x206.875\x2016.6375\x205.525C15.7292\x204.175\x2014.5167\x203.2\x2013\x202.6V3C13\x203.55\x2012.8042\x204.02083\x2012.4125\x204.4125C12.0208\x204.80417\x2011.55\x205\x2011\x205H9V7C9\x207.28333\x208.90417\x207.52083\x208.7125\x207.7125C8.52083\x207.90417\x208.28333\x208\x208\x208H6V10H12C12.2833\x2010\x2012.5208\x2010.0958\x2012.7125\x2010.2875C12.9042\x2010.4792\x2013\x2010.7167\x2013\x2011V14H14C14.4333\x2014\x2014.825\x2014.1292\x2015.175\x2014.3875C15.525\x2014.6458\x2015.7667\x2014.9833\x2015.9\x2015.4Z\x22\x20fill=\x22%23131313\x22/></svg>',f['playIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBsYXlfYXJyb3dfIGhvbGxvdyI+CjxtYXNrIGlkPSJtYXNrMF8yMTA2Xzk5NCIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KPHJlY3QgaWQ9IkJvdW5kaW5nIGJveCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSIjRDlEOUQ5Ii8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8yMTA2Xzk5NCkiPgo8cGF0aCBpZD0icGxheV9hcnJvdyIgZD0iTTggMTlWNUwxOSAxMkw4IDE5Wk0xMCAxNS4zNUwxNS4yNSAxMkwxMCA4LjY1VjE1LjM1WiIgZmlsbD0iI0YwRjBGMCIvPgo8L2c+CjwvZz4KPC9zdmc+Cg==',f['pauseIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBhdXNlIj4KPG1hc2sgaWQ9Im1hc2swXzIxMTdfMiIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KPHJlY3QgaWQ9IkJvdW5kaW5nIGJveCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8yMTE3XzIpIj4KPHBhdGggaWQ9InBhdXNlXzIiIGQ9Ik0xNCAxOVY1SDE3VjE5SDE0Wk03IDE5VjVIMTBWMTlIN1oiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=',f['unmuteIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InZvbHVtZV91cF8yIj4KPG1hc2sgaWQ9Im1hc2swXzIxMDZfOTg3IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPgo8cmVjdCBpZD0iQm91bmRpbmcgYm94IiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9IiNEOUQ5RDkiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzIxMDZfOTg3KSI+CjxwYXRoIGlkPSJ2b2x1bWVfdXAiIGQ9Ik0xNCAyMC43MjVWMTguNjc1QzE1LjUgMTguMjQxNiAxNi43MDgzIDE3LjQwODMgMTcuNjI1IDE2LjE3NUMxOC41NDE3IDE0Ljk0MTYgMTkgMTMuNTQxNiAxOSAxMS45NzVDMTkgMTAuNDA4MyAxOC41NDE3IDkuMDA4MzEgMTcuNjI1IDcuNzc0OThDMTYuNzA4MyA2LjU0MTY0IDE1LjUgNS43MDgzMSAxNCA1LjI3NDk4VjMuMjI0OThDMTYuMDY2NyAzLjY5MTY0IDE3Ljc1IDQuNzM3NDggMTkuMDUgNi4zNjI0OEMyMC4zNSA3Ljk4NzQ4IDIxIDkuODU4MzEgMjEgMTEuOTc1QzIxIDE0LjA5MTYgMjAuMzUgMTUuOTYyNSAxOS4wNSAxNy41ODc1QzE3Ljc1IDE5LjIxMjUgMTYuMDY2NyAyMC4yNTgzIDE0IDIwLjcyNVpNMyAxNVY4Ljk5OTk4SDdMMTIgMy45OTk5OFYyMEw3IDE1SDNaTTE0IDE2VjcuOTQ5OThDMTQuNzgzMyA4LjMxNjY0IDE1LjM5NTggOC44NjY2NCAxNS44Mzc1IDkuNTk5OThDMTYuMjc5MiAxMC4zMzMzIDE2LjUgMTEuMTMzMyAxNi41IDEyQzE2LjUgMTIuODUgMTYuMjc5MiAxMy42Mzc1IDE1LjgzNzUgMTQuMzYyNUMxNS4zOTU4IDE1LjA4NzUgMTQuNzgzMyAxNS42MzMzIDE0IDE2Wk0xMCA4Ljg0OTk4TDcuODUgMTFINVYxM0g3Ljg1TDEwIDE1LjE1VjguODQ5OThaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvZz4KPC9nPgo8L3N2Zz4K',f['muteIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InZvbHVtZV9tdXRlIj4KPHBhdGggaWQ9InZvbHVtZV9vZmYiIGQ9Ik0xOS44IDIyLjZMMTYuNzc1IDE5LjU3NTFDMTYuMzU4NCAxOS44NDE3IDE1LjkxNjcgMjAuMDcwOSAxNS40NSAyMC4yNjI2QzE0Ljk4MzQgMjAuNDU0MiAxNC41IDIwLjYwODQgMTQgMjAuNzI1VjE4LjY3NUMxNC4yMzM0IDE4LjU5MTcgMTQuNDYyNSAxOC41MDg0IDE0LjY4NzUgMTguNDI1QzE0LjkxMjUgMTguMzQxNyAxNS4xMjUgMTguMjQxNyAxNS4zMjUgMTguMTI1MUwxMiAxNC44VjIwTDcuMDAwMDIgMTVIMy4wMDAwMlY5LjAwMDA1SDYuMjAwMDJMMS40MDAwMiA0LjIwMDA1TDIuODAwMDIgMi44MDAwNUwyMS4yIDIxLjIwMDFMMTkuOCAyMi42Wk0xOS42IDE2LjhMMTguMTUgMTUuMzVDMTguNDMzNCAxNC44MzM0IDE4LjY0NTkgMTQuMjkxNyAxOC43ODc1IDEzLjcyNUMxOC45MjkyIDEzLjE1ODQgMTkgMTIuNTc1MSAxOSAxMS45NzVDMTkgMTAuNDA4NCAxOC41NDE3IDkuMDA4MzggMTcuNjI1IDcuNzc1MDVDMTYuNzA4NCA2LjU0MTcyIDE1LjUgNS43MDgzOCAxNCA1LjI3NTA1VjMuMjI1MDVDMTYuMDY2NyAzLjY5MTcyIDE3Ljc1IDQuNzM3NTUgMTkuMDUgNi4zNjI1NUMyMC4zNSA3Ljk4NzU1IDIxIDkuODU4MzggMjEgMTEuOTc1QzIxIDEyLjg1ODQgMjAuODc5MiAxMy43MDg0IDIwLjYzNzUgMTQuNTI1MUMyMC4zOTU5IDE1LjM0MTcgMjAuMDUgMTYuMSAxOS42IDE2LjhaTTE2LjI1IDEzLjQ1TDE0IDExLjJWNy45NTAwNUMxNC43ODM0IDguMzE2NzIgMTUuMzk1OSA4Ljg2NjcyIDE1LjgzNzUgOS42MDAwNUMxNi4yNzkyIDEwLjMzMzQgMTYuNSAxMS4xMzM0IDE2LjUgMTJDMTYuNSAxMi4yNSAxNi40NzkyIDEyLjQ5NTkgMTYuNDM3NSAxMi43Mzc1QzE2LjM5NTkgMTIuOTc5MiAxNi4zMzM0IDEzLjIxNjcgMTYuMjUgMTMuNDVaTTEyIDkuMjAwMDVMOS40MDAwMyA2LjYwMDA1TDEyIDQuMDAwMDVWOS4yMDAwNVpNMTAgMTUuMTUwMVYxMi44TDguMjAwMDMgMTFINS4wMDAwMlYxM0g3Ljg1MDAzTDEwIDE1LjE1MDFaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvZz4KPC9zdmc+Cg==',f['shareIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNoYXJlIj4KPHBhdGggaWQ9IlVuaW9uIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyLjY0NzMgMjAuMzc0OEMxMi44IDIwLjc1MjcgMTMuMTY2OCAyMSAxMy41NzQ0IDIxSDEzLjYwNTJDMTQuMDIyOSAyMSAxNC4zOTY3IDIwLjc0MDQgMTQuNTQyNCAyMC4zNDg5TDIwLjIzNzUgNS4wNDg1NkMyMC41MzYyIDQuMjQ2MSAxOS43NTM5IDMuNDYzODUgMTguOTUxNSAzLjc2MjU0TDMuNjUxMTYgOS40NTc2NkMzLjI1OTY2IDkuNjAzMzggMyA5Ljk3NzEgMyAxMC4zOTQ4VjEwLjQyNTdDMyAxMC44MzMyIDMuMjQ3MzUgMTEuMiAzLjYyNTIxIDExLjM1MjhMMTAuMDUgMTMuOTVMMTIuNjQ3MyAyMC4zNzQ4Wk0xNi43NjM4IDguNjUwNDdMMTMuNTUgMTcuM0wxMi4wMDI2IDEzLjQxMTdMMTYuNzYzOCA4LjY1MDQ3Wk0xNS4zNDk3IDcuMjM2MTRMMTAuNTg4NCAxMS45OTc1TDYuNyAxMC40NUwxNS4zNDk3IDcuMjM2MTRaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvZz4KPC9zdmc+Cg==',f['closeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzNiAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImNsb3NlIj4KPG1hc2sgaWQ9Im1hc2swXzIwODlfNjUxOCIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjM2IiBoZWlnaHQ9IjM2Ij4KPHJlY3QgaWQ9IkJvdW5kaW5nIGJveCIgd2lkdGg9IjM2IiBoZWlnaHQ9IjM2IiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8yMDg5XzY1MTgpIj4KPHBhdGggaWQ9ImNsb3NlXzIiIGQ9Ik05LjYgMjguNUw3LjUgMjYuNEwxNS45IDE4TDcuNSA5LjZMOS42IDcuNUwxOCAxNS45TDI2LjQgNy41TDI4LjUgOS42TDIwLjEgMThMMjguNSAyNi40TDI2LjQgMjguNUwxOCAyMC4xTDkuNiAyOC41WiIgZmlsbD0iI0YwRjBGMCIvPgo8L2c+CjwvZz4KPC9zdmc+Cg==',f['nextStoryIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNraXBfbmV4dCI+CjxtYXNrIGlkPSJtYXNrMF8yMDM2XzMyMzYiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+CjxyZWN0IGlkPSJCb3VuZGluZyBib3giIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC45MiIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfMjAzNl8zMjM2KSI+CjxwYXRoIGlkPSJza2lwX25leHRfMiIgZD0iTTIyIDI0VjhIMjQuNjY2NlYyNEgyMlpNNy4zMzMzMSAyNFY4TDE5LjMzMzMgMTZMNy4zMzMzMSAyNFpNOS45OTk5OCAxOUwxNC41MzMzIDE2TDkuOTk5OTggMTNWMTlaIiBmaWxsPSIjRjBGMEYwIi8+CjwvZz4KPC9nPgo8L3N2Zz4K',f['prevStoryIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InNraXBfcHJldmlvdXMiPgo8bWFzayBpZD0ibWFzazBfMjAzNl8zMjM4IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPgo8cmVjdCBpZD0iQm91bmRpbmcgYm94IiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzIwMzZfMzIzOCkiPgo8cGF0aCBpZD0ic2tpcF9wcmV2aW91c18yIiBkPSJNNy4zMzMzMyAyNFY4SDkuOTk5OTlWMjRINy4zMzMzM1pNMjQuNjY2NyAyNEwxMi42NjY3IDE2TDI0LjY2NjcgOFYyNFpNMjIgMTlWMTNMMTcuNDY2NyAxNkwyMiAxOVoiIGZpbGw9IiNGMEYwRjAiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=',f['nextPageIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOCAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImNoZXZyb25fcmlnaHQiPgo8bWFzayBpZD0ibWFzazBfMjAzNl8zMjc3IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjgiIGhlaWdodD0iMjgiPgo8cmVjdCBpZD0iQm91bmRpbmcgYm94IiB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzIwMzZfMzI3NykiPgo8cGF0aCBpZD0iY2hldnJvbl9yaWdodF8yIiBkPSJNMTAuOTY2NiAyMUw5LjMzMzMxIDE5LjM2NjdMMTQuNyAxNEw5LjMzMzMxIDguNjMzMzNMMTAuOTY2NiA3TDE3Ljk2NjYgMTRMMTAuOTY2NiAyMVoiIGZpbGw9IiMxMzEzMTMiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=',f['prevPageIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOCAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImNoZXZyb25fbGVmdCI+CjxtYXNrIGlkPSJtYXNrMF8yMDM2XzMyNDAiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCI+CjxyZWN0IGlkPSJCb3VuZGluZyBib3giIHdpZHRoPSIyOCIgaGVpZ2h0PSIyOCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC45MiIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfMjAzNl8zMjQwKSI+CjxwYXRoIGlkPSJjaGV2cm9uX2xlZnRfMiIgZD0iTTE2LjMzMzMgMjFMOS4zMzMzMyAxNEwxNi4zMzMzIDdMMTcuOTY2NyA4LjYzMzMzTDEyLjYgMTRMMTcuOTY2NyAxOS4zNjY3TDE2LjMzMzMgMjFaIiBmaWxsPSIjMTMxMzEzIi8+CjwvZz4KPC9nPgo8L3N2Zz4K',f['restartIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzVfNDg5ODEiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjQiIHk9IjQiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+CjxyZWN0IHg9IjQiIHk9IjQiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC45MiIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfNV80ODk4MSkiPgo8cGF0aCBkPSJNMTYgMjRDMTMuNzY2NyAyNCAxMS44NzUgMjMuMjI1IDEwLjMyNSAyMS42NzVDOC43NzUgMjAuMTI1IDggMTguMjMzMyA4IDE2QzggMTMuNzY2NyA4Ljc3NSAxMS44NzUgMTAuMzI1IDEwLjMyNUMxMS44NzUgOC43NzUgMTMuNzY2NyA4IDE2IDhDMTcuMTUgOCAxOC4yNSA4LjIzNzUgMTkuMyA4LjcxMjVDMjAuMzUgOS4xODc1IDIxLjI1IDkuODY2NjcgMjIgMTAuNzVWOEgyNFYxNUgxN1YxM0gyMS4yQzIwLjY2NjcgMTIuMDY2NyAxOS45Mzc1IDExLjMzMzMgMTkuMDEyNSAxMC44QzE4LjA4NzUgMTAuMjY2NyAxNy4wODMzIDEwIDE2IDEwQzE0LjMzMzMgMTAgMTIuOTE2NyAxMC41ODMzIDExLjc1IDExLjc1QzEwLjU4MzMgMTIuOTE2NyAxMCAxNC4zMzMzIDEwIDE2QzEwIDE3LjY2NjcgMTAuNTgzMyAxOS4wODMzIDExLjc1IDIwLjI1QzEyLjkxNjcgMjEuNDE2NyAxNC4zMzMzIDIyIDE2IDIyQzE3LjI4MzMgMjIgMTguNDQxNyAyMS42MzMzIDE5LjQ3NSAyMC45QzIwLjUwODMgMjAuMTY2NyAyMS4yMzMzIDE5LjIgMjEuNjUgMThIMjMuNzVDMjMuMjgzMyAxOS43NjY3IDIyLjMzMzMgMjEuMjA4MyAyMC45IDIyLjMyNUMxOS40NjY3IDIzLjQ0MTcgMTcuODMzMyAyNCAxNiAyNFoiIGZpbGw9ImJsYWNrIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L3N2Zz4K',f['playResumeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBsYXlfYXJyb3ciPgo8cmVjdCB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHJ4PSIyNCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC42Ii8+CjxwYXRoIGlkPSJwbGF5X2Fycm93XzIiIGQ9Ik0xOCAzNlYxMkwzNiAyNEwxOCAzNloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L3N2Zz4K',f['pauseResumeIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9InBsYXlfYXJyb3ciPgo8cmVjdCB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHJ4PSIyNCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC42Ii8+CjxwYXRoIGlkPSJwYXVzZSIgZD0iTTI3IDM2VjEySDMzVjM2SDI3Wk0xNSAzNlYxMkgyMVYzNkgxNVoiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L3N2Zz4K',f['arrowUpCtaIconSvg']='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAyMCA4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtMTggNy43LTAuNy0wLjItNy4zLTQtNy4zIDRjLTAuNyAwLjQtMS42IDAuMi0yLTAuNi0wLjQtMC43LTAuMS0xLjYgMC42LTJsOC00LjRhMiAyIDAgMCAxIDEuNSAwbDggNC40YzAuNyAwLjQgMSAxLjMgMC42IDItMC40IDAuNS0wLjkgMC44LTEuNCAwLjh6Ii8+Cjwvc3ZnPgo=',f['externalLinkIconSvg']='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY3Jvc3NvcmlnaW49ImFub255bW91cyI+CjxwYXRoIGQ9Im0xMiAwYzYuNiAwIDEyIDUuNCAxMiAxMnMtNS40IDEyLTEyIDEyLTEyLTUuNC0xMi0xMiA1LjQtMTIgMTItMTJ6IiBmaWxsLW9wYWNpdHk9Ii4xIi8+CjxwYXRoIGQ9Im0xMy44IDE0LjYgMC4yIDAuNS0wLjIgMC41LTEuNSAxLjRjLTAuNyAwLjctMS43IDEuMS0yLjcgMS4xYTQgNCAwIDAgMS0yLjctMS4xIDMuOSAzLjkgMCAwIDEtMS4xLTIuNyA0IDQgMCAwIDEgMS4xLTIuN2wxLjUtMS41IDAuNS0wLjEgMC41IDAuMiAwLjIgMC41LTAuMiAwLjUtMS41IDEuNWMtMC41IDAuNS0wLjcgMS4xLTAuNyAxLjdzMC4zIDEuMyAwLjcgMS43YzAuNSAwLjUgMS4xIDAuNyAxLjcgMC43czEuMy0wLjMgMS43LTAuN2wxLjUtMS41YzAuMy0wLjMgMC43LTAuMyAxIDB6bTMuMi03LjZhMy45IDMuOSAwIDAgMC0yLjctMS4xIDQgNCAwIDAgMC0yLjcgMS4xbC0xLjUgMS41LTAuMSAwLjQgMC4yIDAuNSAwLjUgMC4yIDAuNS0wLjIgMS41LTEuNWMwLjUtMC41IDEuMS0wLjcgMS43LTAuN3MxLjMgMC4zIDEuNyAwLjdjMC41IDAuNSAwLjcgMS4xIDAuNyAxLjdzLTAuMyAxLjMtMC43IDEuN2wtMS41IDEuNS0wLjIgMC41IDAuMiAwLjUgMC41IDAuMiAwLjUtMC4yIDEuNS0xLjVjMC43LTAuNyAxLjEtMS43IDEuMS0yLjctMC4xLTEtMC41LTEuOS0xLjItMi42em0tNy45IDcuMiAwLjIgMC41IDAuNSAwLjIgMC41LTAuMiA0LjUtNC41IDAuMi0wLjUtMC4yLTAuNWMtMC4zLTAuMi0wLjgtMC4yLTEgMC4xbC00LjUgNC41eiIvPgo8L3N2Zz4K',f['fullscreenEnterIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzkxNTFfNTE4OSIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSIjRDlEOUQ5Ii8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF85MTUxXzUxODkpIj4KPHBhdGggZD0iTTUgMjFDNC40NSAyMSAzLjk3OTE3IDIwLjgwNDIgMy41ODc1IDIwLjQxMjVDMy4xOTU4MyAyMC4wMjA4IDMgMTkuNTUgMyAxOVYxNUg1VjE5SDlWMjFINVpNMTUgMjFWMTlIMTlWMTVIMjFWMTlDMjEgMTkuNTUgMjAuODA0MiAyMC4wMjA4IDIwLjQxMjUgMjAuNDEyNUMyMC4wMjA4IDIwLjgwNDIgMTkuNTUgMjEgMTkgMjFIMTVaTTMgOVY1QzMgNC40NSAzLjE5NTgzIDMuOTc5MTcgMy41ODc1IDMuNTg3NUMzLjk3OTE3IDMuMTk1ODMgNC40NSAzIDUgM0g5VjVINVY5SDNaTTE5IDlWNUgxNVYzSDE5QzE5LjU1IDMgMjAuMDIwOCAzLjE5NTgzIDIwLjQxMjUgMy41ODc1QzIwLjgwNDIgMy45NzkxNyAyMSA0LjQ1IDIxIDVWOUgxOVoiIGZpbGw9IiNGMEYwRjAiLz4KPC9nPgo8L3N2Zz4K',f['fullscreenExitIconSvg']='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjNWY2MzY4Ij48cGF0aCBkPSJNMjQwLTEyMHYtMTIwSDEyMHYtODBoMjAwdjIwMGgtODBabTQwMCAwdi0yMDBoMjAwdjgwSDcyMHYxMjBoLTgwWk0xMjAtNjQwdi04MGgxMjB2LTEyMGg4MHYyMDBIMTIwWm01MjAgMHYtMjAwaDgwdjEyMGgxMjB2ODBINjQwWiIvPjwvc3ZnPg==',f['arrowDownMomentIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNjY2NjcgMThWNS43MzMzMkwxLjg2NjY3IDEwLjUzMzNMMCA4LjY2NjY2TDggMC42NjY2NTZMMTYgOC42NjY2NkwxNC4xMzMzIDEwLjUzMzNMOS4zMzMzMyA1LjczMzMyVjE4SDYuNjY2NjdaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+Cjwvc3ZnPgo=',f['arrowUpMomentIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIKICAgICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxnIHRyYW5zZm9ybT0ic2NhbGUoMSAtMSkgdHJhbnNsYXRlKDAgLTE2KSI+CiAgICA8cGF0aCBkPSJNNi42NjY2NyAxOFY1LjczMzMyTDEuODY2NjcgMTAuNTMzM0wwIDguNjY2NjZMOCAwLjY2NjY1NkwxNiA4LjY2NjY2TDE0LjEzMzMgMTAuNTMzM0w5LjMzMzMzIDUuNzMzMzJWMThINi42NjY2N1oiIAogICAgICAgICAgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC45MiIvPgogIDwvZz4KPC9zdmc+',f['newPageIcon']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzk0NDlfOTc2NyIgc3R5bGU9Im1hc2stdHlwZTphbHBoYSIgbWFza1VuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4KPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSIjRDlEOUQ5Ii8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF85NDQ5Xzk3NjcpIj4KPHBhdGggZD0iTTUgMjFDNC40NSAyMSAzLjk3OTE3IDIwLjgwNDIgMy41ODc1IDIwLjQxMjVDMy4xOTU4MyAyMC4wMjA4IDMgMTkuNTUgMyAxOVY1QzMgNC40NSAzLjE5NTgzIDMuOTc5MTcgMy41ODc1IDMuNTg3NUMzLjk3OTE3IDMuMTk1ODMgNC40NSAzIDUgM0gxMlY1SDVWMTlIMTlWMTJIMjFWMTlDMjEgMTkuNTUgMjAuODA0MiAyMC4wMjA4IDIwLjQxMjUgMjAuNDEyNUMyMC4wMjA4IDIwLjgwNDIgMTkuNTUgMjEgMTkgMjFINVpNOS43IDE1LjdMOC4zIDE0LjNMMTcuNiA1SDE0VjNIMjFWMTBIMTlWNi40TDkuNyAxNS43WiIgZmlsbD0iI0YwRjBGMCIvPgo8L2c+Cjwvc3ZnPgo=',f['closedCaptionsOnIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzIxOF80NzAiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iI0Q5RDlEOSIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfMjE4XzQ3MCkiPgo8cGF0aCBkPSJNNSAyMEM0LjQ1IDIwIDMuOTc5MTcgMTkuODA0MiAzLjU4NzUgMTkuNDEyNUMzLjE5NTgzIDE5LjAyMDggMyAxOC41NSAzIDE4VjZDMyA1LjQ1IDMuMTk1ODMgNC45NzkxNyAzLjU4NzUgNC41ODc1QzMuOTc5MTcgNC4xOTU4MyA0LjQ1IDQgNSA0SDE5QzE5LjU1IDQgMjAuMDIwOCA0LjE5NTgzIDIwLjQxMjUgNC41ODc1QzIwLjgwNDIgNC45NzkxNyAyMSA1LjQ1IDIxIDZWMThDMjEgMTguNTUgMjAuODA0MiAxOS4wMjA4IDIwLjQxMjUgMTkuNDEyNUMyMC4wMjA4IDE5LjgwNDIgMTkuNTUgMjAgMTkgMjBINVpNNSAxOEgxOVY2SDVWMThaTTcgMTVIMTBDMTAuMjgzMyAxNSAxMC41MjA4IDE0LjkwNDIgMTAuNzEyNSAxNC43MTI1QzEwLjkwNDIgMTQuNTIwOCAxMSAxNC4yODMzIDExIDE0VjEzSDkuNVYxMy41SDcuNVYxMC41SDkuNVYxMUgxMVYxMEMxMSA5LjcxNjY3IDEwLjkwNDIgOS40NzkxNyAxMC43MTI1IDkuMjg3NUMxMC41MjA4IDkuMDk1ODMgMTAuMjgzMyA5IDEwIDlIN0M2LjcxNjY3IDkgNi40NzkxNyA5LjA5NTgzIDYuMjg3NSA5LjI4NzVDNi4wOTU4MyA5LjQ3OTE3IDYgOS43MTY2NyA2IDEwVjE0QzYgMTQuMjgzMyA2LjA5NTgzIDE0LjUyMDggNi4yODc1IDE0LjcxMjVDNi40NzkxNyAxNC45MDQyIDYuNzE2NjcgMTUgNyAxNVpNMTQgMTVIMTdDMTcuMjgzMyAxNSAxNy41MjA4IDE0LjkwNDIgMTcuNzEyNSAxNC43MTI1QzE3LjkwNDIgMTQuNTIwOCAxOCAxNC4yODMzIDE4IDE0VjEzSDE2LjVWMTMuNUgxNC41VjEwLjVIMTYuNVYxMUgxOFYxMEMxOCA5LjcxNjY3IDE3LjkwNDIgOS40NzkxNyAxNy43MTI1IDkuMjg3NUMxNy41MjA4IDkuMDk1ODMgMTcuMjgzMyA5IDE3IDlIMTRDMTMuNzE2NyA5IDEzLjQ3OTIgOS4wOTU4MyAxMy4yODc1IDkuMjg3NUMxMy4wOTU4IDkuNDc5MTcgMTMgOS43MTY2NyAxMyAxMFYxNEMxMyAxNC4yODMzIDEzLjA5NTggMTQuNTIwOCAxMy4yODc1IDE0LjcxMjVDMTMuNDc5MiAxNC45MDQyIDEzLjcxNjcgMTUgMTQgMTVaIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjkyIi8+CjwvZz4KPC9zdmc+Cg==',f['closedCaptionsOffIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzIxOF80NjQiIHN0eWxlPSJtYXNrLXR5cGU6YWxwaGEiIG1hc2tVbml0cz0idXNlclNwYWNlT25Vc2UiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0iI0Q5RDlEOSIvPgo8L21hc2s+CjxnIG1hc2s9InVybCgjbWFzazBfMjE4XzQ2NCkiPgo8cGF0aCBkPSJNOS4wMjUwNSA5LjAwMDJMMTAuNTI1IDEwLjUwMDJINy41MDAwNVYxMy41MDAySDkuNTAwMDVWMTMuMDAwMkgxMVYxNC4wMDAyQzExIDE0LjI4MzUgMTAuOTA0MiAxNC41MjEgMTAuNzEyNSAxNC43MTI3QzEwLjUyMDkgMTQuOTA0NCAxMC4yODM0IDE1LjAwMDIgMTAgMTUuMDAwMkg3LjAwMDA1QzYuNzE2NzIgMTUuMDAwMiA2LjQ3OTIyIDE0LjkwNDQgNi4yODc1NSAxNC43MTI3QzYuMDk1ODggMTQuNTIxIDYuMDAwMDUgMTQuMjgzNSA2LjAwMDA1IDE0LjAwMDJWMTAuMDAwMkM2LjAwMDA1IDkuNzE2ODYgNi4wOTU4OCA5LjQ3OTM2IDYuMjg3NTUgOS4yODc3QzYuNDc5MjIgOS4wOTYwMyA2LjcxNjcyIDkuMDAwMiA3LjAwMDA1IDkuMDAwMkg5LjAyNTA1Wk02Ljg3NTA1IDQuMDAwMkgxOUMxOS41NSA0LjAwMDIgMjAuMDIwOSA0LjE5NjAzIDIwLjQxMjUgNC41ODc3QzIwLjgwNDIgNC45NzkzNiAyMSA1LjQ1MDIgMjEgNi4wMDAyVjE4LjEyNTJMMTkgMTYuMTI1MlY2LjAwMDJIOC44NzUwNUw2Ljg3NTA1IDQuMDAwMlpNMTggMTMuMDAwMlYxNC4wMDAyQzE4IDE0LjE1MDIgMTcuOTcwOSAxNC4yOTYgMTcuOTEyNSAxNC40Mzc3QzE3Ljg1NDIgMTQuNTc5NCAxNy43NjY3IDE0LjY5MTkgMTcuNjUgMTQuNzc1MkwxNi4zNzUgMTMuNTAwMkgxNi41VjEzLjAwMDJIMThaTTE2LjUgMTEuMDAwMlYxMC41MDAySDE0LjVWMTEuNjI1MkwxMyAxMC4xMjUyVjEwLjAwMDJDMTMgOS43MTY4NiAxMy4wOTU5IDkuNDc5MzYgMTMuMjg3NSA5LjI4NzdDMTMuNDc5MiA5LjA5NjAzIDEzLjcxNjcgOS4wMDAyIDE0IDkuMDAwMkgxN0MxNy4yODM0IDkuMDAwMiAxNy41MjA5IDkuMDk2MDMgMTcuNzEyNSA5LjI4NzdDMTcuOTA0MiA5LjQ3OTM2IDE4IDkuNzE2ODYgMTggMTAuMDAwMlYxMS4wMDAySDE2LjVaTTQuMjAwMDUgNC4xNzUyTDYuMDI1MDUgNi4wMDAySDUuMDAwMDVWMTguMDAwMkgxNS4xNzVMMC42NzUwNDkgMy41MDAyTDIuMTAwMDUgMi4wNzUyTDIxLjkgMjEuODc1MkwyMC40NzUgMjMuMzAwMkwxNy4xNzUgMjAuMDAwMkg1LjAwMDA1QzQuNDUwMDUgMjAuMDAwMiAzLjk3OTIyIDE5LjgwNDQgMy41ODc1NSAxOS40MTI3QzMuMTk1ODggMTkuMDIxIDMuMDAwMDUgMTguNTUwMiAzLjAwMDA1IDE4LjAwMDJWNi4wMDAyQzMuMDAwMDUgNS41ODM1MyAzLjExMjU1IDUuMjEyNyAzLjMzNzU1IDQuODg3N0MzLjU2MjU1IDQuNTYyNyAzLjg1MDA1IDQuMzI1MiA0LjIwMDA1IDQuMTc1MloiIGZpbGw9IndoaXRlIiBmaWxsLW9wYWNpdHk9IjAuOTIiLz4KPC9nPgo8L3N2Zz4K',f['shareVideosIconSvg']='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjNWY2MzY4Ij48cGF0aCBkPSJNNjgwLTgwcS01MCAwLTg1LTM1dC0zNS04NXEwLTYgMy0yOEwyODItMzkycS0xNiAxNS0zNyAyMy41dC00NSA4LjVxLTUwIDAtODUtMzV0LTM1LTg1cTAtNTAgMzUtODV0ODUtMzVxMjQgMCA0NSA4LjV0MzcgMjMuNWwyODEtMTY0cS0yLTctMi41LTEzLjVUNTYwLTc2MHEwLTUwIDM1LTg1dDg1LTM1cTUwIDAgODUgMzV0MzUgODVxMCA1MC0zNSA4NXQtODUgMzVxLTI0IDAtNDUtOC41VDU5OC02NzJMMzE3LTUwOHEyIDcgMi41IDEzLjV0LjUgMTQuNXEwIDgtLjUgMTQuNVQzMTctNDUybDI4MSAxNjRxMTYtMTUgMzctMjMuNXQ0NS04LjVxNTAgMCA4NSAzNXQzNSA4NXEwIDUwLTM1IDg1dC04NSAzNVptMC04MHExNyAwIDI4LjUtMTEuNVQ3MjAtMjAwcTAtMTctMTEuNS0yOC41VDY4MC0yNDBxLTE3IDAtMjguNSAxMS41VDY0MC0yMDBxMCAxNyAxMS41IDI4LjVUNjgwLTE2MFpNMjAwLTQ0MHExNyAwIDI4LjUtMTEuNVQyNDAtNDgwcTAtMTctMTEuNS0yOC41VDIwMC01MjBxLTE3IDAtMjguNSAxMS41VDE2MC00ODBxMCAxNyAxMS41IDI4LjVUMjAwLTQ0MFptNDgwLTI4MHExNyAwIDI4LjUtMTEuNVQ3MjAtNzYwcTAtMTctMTEuNS0yOC41VDY4MC04MDBxLTE3IDAtMjguNSAxMS41VDY0MC03NjBxMCAxNyAxMS41IDI4LjVUNjgwLTcyMFptMCA1MjBaTTIwMC00ODBabTQ4MC0yODBaIi8+PC9zdmc+',f['linkIconSvg']='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjNWY2MzY4Ij48cGF0aCBkPSJNNDQwLTI4MEgyODBxLTgzIDAtMTQxLjUtNTguNVQ4MC00ODBxMC04MyA1OC41LTE0MS41VDI4MC02ODBoMTYwdjgwSDI4MHEtNTAgMC04NSAzNXQtMzUgODVxMCA1MCAzNSA4NXQ4NSAzNWgxNjB2ODBaTTMyMC00NDB2LTgwaDMyMHY4MEgzMjBabTIwMCAxNjB2LTgwaDE2MHE1MCAwIDg1LTM1dDM1LTg1cTAtNTAtMzUtODV0LTg1LTM1SDUyMHYtODBoMTYwcTgzIDAgMTQxLjUgNTguNVQ4ODAtNDgwcTAgODMtNTguNSAxNDEuNVQ2ODAtMjgwSDUyMFoiLz48L3N2Zz4=',f['checkMarkSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPG1hc2sgaWQ9Im1hc2swXzUxMl8xMDY4IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPgo8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9IiNEOUQ5RDkiLz4KPC9tYXNrPgo8ZyBtYXNrPSJ1cmwoI21hc2swXzUxMl8xMDY4KSI+CjxwYXRoIGQ9Ik05LjU1MDEgMThMMy44NTAxIDEyLjNMNS4yNzUxIDEwLjg3NUw5LjU1MDEgMTUuMTVMMTguNzI1MSA1Ljk3NDk4TDIwLjE1MDEgNy4zOTk5OEw5LjU1MDEgMThaIiBmaWxsPSIjRjBGMEYwIi8+CjwvZz4KPC9zdmc+Cg==',f['plusSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgICAgICA8bGluZSB4MT0iNS45NTcxOCIgeTE9IjEyIiB4Mj0iNS45NTcxOCIgeTI9IjMuOTM0MDNlLTA4IiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIxLjgiLz4KICAgICAgICA8bGluZSB5MT0iNS45NTcwNiIgeDI9IjEyIiB5Mj0iNS45NTcwNiIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS44Ii8+CiAgICAgIDwvc3ZnPg==',f['liveStreamDotSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNCIgaGVpZ2h0PSI0IiB2aWV3Qm94PSIwIDAgNCA0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8Y2lyY2xlIGN4PSIyIiBjeT0iMiIgcj0iMiIgZmlsbD0iI0YwRjBGMCIvPgo8L3N2Zz4K',f['clockIconSvg']='data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTciIHZpZXdCb3g9IjAgMCAxNyAxNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTExLjYxNjcgOC43NUg3Ljc0MTciIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjg3IiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik04LjI1IDE1Ljc1QzEyLjM5MjEgMTUuNzUgMTUuNzUgMTIuMzkyMSAxNS43NSA4LjI1QzE1Ljc1IDQuMTA3ODYgMTIuMzkyMSAwLjc1IDguMjUgMC43NUM0LjEwNzg2IDAuNzUgMC43NSA0LjEwNzg2IDAuNzUgOC4yNUMwLjc1IDEyLjM5MjEgNC4xMDc4NiAxNS43NSA4LjI1IDE1Ljc1WiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLW9wYWNpdHk9IjAuODciIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHBhdGggZD0iTTcuNzQxNyA4Ljc0OTk5VjQuMDgzMzMiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjg3IiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=',f['playFilledIconSvg']='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iIzAwMCI+PHBhdGggZD0iTTggNXYxNGwxMS03eiIvPjwvc3ZnPg==';},0x66b:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1023),f);},0x6a3:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ANIVIEW_COOKIE_SYNC_TIMEOUT_MS']=f['ANIVIEW_COOKIE_SYNC_URL']=f['BANNER_REQUEST_DEBOUNCE_MS']=f['BANNER_REFRESH_INTERVAL']=f['IMA_RATIOS']=void 0x0,f['IMA_RATIOS']={'general':'1x1','horizontal':'640x480','vertical':'1080x1920'},f['BANNER_REFRESH_INTERVAL']=0x7530,f['BANNER_REQUEST_DEBOUNCE_MS']=0xc8,f['ANIVIEW_COOKIE_SYNC_URL']='https://player.aniview.com/ssync/ssync.html',f['ANIVIEW_COOKIE_SYNC_TIMEOUT_MS']=0x5dc;},0x6b0:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1b52),f),j(g(0x1f16),f),j(g(0x1f0f),f),j(g(0x2280),f),j(g(0x89c),f);},0x6c2:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x6de:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x6e2:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LongFormHlsStrategy']=void 0x0;const h=g(0x149b);class j extends h['BaseHLSStrategy']{['initialize'](k){this['videoOverlay']=null==k?void 0x0:k['overlay'],this['configureVideoElement'](),this['setupEventListeners']();}['configureVideoElement'](){this['video']['muted']=this['videoPlayerState']['isMuted'],this['video']['playsInline']=!0x0,this['video']['controls']=!0x1,this['video']['setAttribute']('webkit-playsinline','true');}['setupHLSInstance'](k,l){super['setupHLSInstance'](k,l,h['HLS_CONFIGS']['LONG_FORM']);}['onLoadingState'](){var k;null===(k=this['videoOverlay'])||void 0x0===k||k['showPlayerOverlay'](),this['showLoader']();}['onBufferUpdate'](k){if(!this['videoOverlay']||0x0===this['video']['duration'])return;const {buffered:l,currentTime:m,duration:p}=this['video'];for(let q=0x0;q<l['length'];q++)if(l['start'](q)<=m&&l['end'](q)>=m){const r=l['end'](q)/p*0x64;this['videoOverlay']['videoSeekBar']['updateBuffer'](r);break;}}['onError'](k,l){var m,p;if(l['fatal'])null===(m=this['videoOverlay'])||void 0x0===m||m['showPlayerOverlay']();else switch(l['details']){case'bufferNudgeOnStall':case'bufferStalledError':null===(p=this['videoOverlay'])||void 0x0===p||p['showPlayerOverlay']();}}['toggleFullscreen'](){var k;null===(k=this['videoOverlay'])||void 0x0===k||k['setFullscreenState']();}}f['LongFormHlsStrategy']=j;},0x731:function(f,g,h){'use strict';var j=this&&this['__awaiter']||function(x,y,z,A){return new(z||(z=Promise))(function(B,C){function D(G){try{F(A['next'](G));}catch(H){C(H);}}function E(G){try{F(A['throw'](G));}catch(H){C(H);}}function F(G){var H;G['done']?B(G['value']):(H=G['value'],H instanceof z?H:new z(function(I){I(H);}))['then'](D,E);}F((A=A['apply'](x,y||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetCustomLayout']=void 0x0;const k=h(0x1932),m=h(0x26ed),p=h(0x22d9),q=h(0x11c1),u=h(0x2432),v=h(0x19e3);class w extends v['WidgetBaseLayout']{constructor(x){super(),this['customRenderer']=x,this['customContainer']=p['WidgetsFactory']['create']('blaze-div'),this['customContainer']['className']='blaze-custom-widget-container',this['intersectionObserver']=new IntersectionObserver(this['handleIntersection']['bind'](this)),q['ConfigService']['runInShadowDom']&&this['attachShadow']({'mode':'open'});}['getContainer'](){return this['customContainer'];}['getContents'](){return(0x0,u['transformContentsArray'])(this['contents']);}['connectedCallback'](){var x;(0x0,u['setId'])(this,'blaze-custom-layout'),super['connectedCallback'](),this['setStyle']({'display':'block','width':'100%','height':'100%','outline':'none','direction':q['ConfigService']['layoutDirection']}),(null!==(x=this['shadowRoot'])&&void 0x0!==x?x:this)['appendChild'](this['customContainer']),this['intersectionObserver']['observe'](this),this['shouldReloadData']&&this['loadContent']();}['disconnectedCallback'](){var x,y,z,A,B;super['disconnectedCallback'](),this['cleanupActivityObservers'](),this['intersectionObserver']['disconnect'](),null===(y=(x=this['customRenderer'])['destroy'])||void 0x0===y||y['call'](x),null===(z=this['storysModal'])||void 0x0===z||z['remove'](),null===(A=this['momentsModal'])||void 0x0===A||A['remove'](),null===(B=this['videosModal'])||void 0x0===B||B['remove']();}['handleIntersection'](x){const y=x['find'](z=>z['target']===this);y&&y['isIntersecting']&&(this['isWidgetVisible']=!0x0,this['event'](k['WidgetAction']['Visible'],{},this['getAttribute']('labels')),this['intersectionObserver']['disconnect']());}['reload'](){this['shouldReloadData']=!0x0,this['loadContent']();}['updateWidgetUI'](){this['reorderWidgets'](),this['render']();}['setMaxItemsDisplaySize'](x){this['setAttribute']('max-display-items-count',x['toString']());}['updateOverrideStyles'](){}['setId'](x){this['id']='widget-custom-layout-'+x;}['handlePostContentLoad'](x,y,z){return j(this,void 0x0,void 0x0,function*(){this['updateWidgetsData'](),this['reorderWidgets'](),this['setupModalContent'](x?'story':y?'moment':'video'),this['render'](),x?this['handleStoryContent']():y?this['handleMomentContent']():z&&this['handleVideoContent'](),this['shouldReloadData']=!0x1,q['EventService']['dispatch'](this,m['Delegation']['onWidgetDataLoadCompleted'],{'widgetId':this['id'],'storyCount':this['contents']['length'],'contentCount':this['contents']['length']}),this['isWidgetVisible']&&this['contents']['length']&&this['event'](k['WidgetAction']['Visible'],{},this['getAttribute']('labels')),this['event'](k['WidgetAction']['Load'],{},this['getAttribute']('labels')),this['setupActivityObservers']();});}['reorderWidgetItems'](){}['updateWidgetDisplay'](){}['setupModalContent'](x){'story'===x&&this['storysModal']?this['storysModal']['setModalContent'](this['contents'],0x0):'moment'===x&&this['momentsModal']?this['momentsModal']['setModalContent'](this['contents'],0x0,this['defaultAdsInfo']):'video'===x&&this['videosModal']&&this['videosModal']['setModalContent'](this['contents']);}['playContentById'](x){if(!this['contents']['find'](z=>z['id']===x))return;const y=this['getAttribute']('content-type')||'story';q['VideoPlayerService']['playReference']='Widget','story'===y&&this['storysModal']?this['playStory'](x):'moment'===y&&this['momentsModal']?this['playMoment'](x):'video'===y&&this['videosModal']&&this['playVideo'](x);}['render'](){this['contents']['length']&&(this['customContainer']['innerHTML']='',this['customRenderer']['render']((0x0,u['transformContentsArray'])(this['contents']),this['customContainer'],this['playContentById']['bind'](this)));}['setupVideoModalCallbacks'](){this['videosModal']&&(this['videosModal']['addEventListener']('onPlayerClosed',this['updateWidgetsData']['bind'](this)),this['setupPlayerPollingListener']());}['setupMomentModalCallbacks'](){this['momentsModal']&&this['momentsModal']['addEventListener']('onPlayerClosed',()=>{this['updateWidgetsData']();});}['setupStoryModalCallbacks'](){this['storysModal']&&this['storysModal']['addEventListener']('onWidgetPlayerDismissed',()=>{this['updateWidgetsData']();});}}g['BlazeWidgetCustomLayout']=w;},0x74c:(f,g,j)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeCallToActionButton']=g['CTA_BUTTON_ATTRIBUTES']=void 0x0;const k=j(0x1133),m=j(0x11c1),p=j(0x22d9),q=j(0x115),u=j(0x132a),v=j(0xdf6),w=j(0x2432),x=j(0x10da);g['CTA_BUTTON_ATTRIBUTES']={'HiddenBtn':'hidden-btn','Width':'width','Height':'height','Margin':'margin','Text':'text','Href':'href','IconUrl':'icon-url','IconSize':'icon-size','IconColor':'icon-color','ArrowIconDisplay':'arrow-icon-display','ArrowIconColor':'arrow-icon-color','DisplayIcon':'display-icon'};class y extends k['BaseWidget']{constructor(){super(),this['anchorButtonElement']=document['createElement']('a'),this['iconButtonElement']=p['WidgetsFactory']['create']('blaze-button'),this['iconArrowElement']=p['WidgetsFactory']['create']('blaze-button'),this['ctaTextElement']=p['WidgetsFactory']['create']('blaze-div'),this['isButtonCreated']=!0x1,this['animationTimeouts']=[],this['initializeAttributes'](),this['initializeStyles']();}['initializeAttributes'](){this['setAttribute']('data-testid','cta-button'),this['anchorButtonElement']['setAttribute']('target','_blank'),this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['Width'],'24px'),this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['Height'],'24px'),this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['DisplayIcon'],'false'),this['iconArrowElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['Width'],'26px'),this['iconArrowElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['Height'],'26px'),this['iconArrowElement']['setIconUrl'](q['arrowUpCtaIconSvg']);}['initializeStyles'](){const z='RTL'===m['ConfigService']['layoutDirection'];(0x0,w['mergeStyles'])(this,{'display':'none','cursor':'pointer','outline':'inherit','pointerEvents':'all'}),this['anchorButtonElement']['style']['position']='relative',this['anchorButtonElement']['style']['-webkit-touch-callout']='none',this['anchorButtonElement']['style']['-webkit-user-select']='none';const A={'width':'auto','height':'100%','textDecoration':'none','outline':'1px\x20solid','outlineColor':u['Colors']['White'],'fontWeight':'700','fontSize':'16px','borderRadius':x['BlazeCtaButton']['DEFAULT_BORDER_RADIUS'],'display':'flex','justifyContent':'center','alignItems':'center','flexDirection':z?'row-reverse':'row'};this['setAnchorButtonStyles'](A),this['iconArrowElement']['setStyle']({'display':'none','position':'absolute','top':'-26px'});const B={'position':'inline-flex','letterSpacing':'0.3px','display':'inline-flex','flex':'1\x201\x20auto','alignSelf':'center','paddingRight':z?'0':'20px','paddingLeft':z?'20px':'0','whiteSpace':'nowrap'};this['setCtaTextStyle'](B);}static get['observedAttributes'](){return Object['values'](g['CTA_BUTTON_ATTRIBUTES']);}['connectedCallback'](){this['createButton']();}['disconnectedCallback'](){}['attributeChangedCallback'](z,A,B){if(A!==B)switch(z){case g['CTA_BUTTON_ATTRIBUTES']['HiddenBtn']:this['style']['display']='true'===B?'none':'flex';break;case g['CTA_BUTTON_ATTRIBUTES']['Width']:this['anchorButtonElement']['style']['width']=B;break;case g['CTA_BUTTON_ATTRIBUTES']['Margin']:this['anchorButtonElement']['style']['margin']=B;break;case g['CTA_BUTTON_ATTRIBUTES']['Text']:this['ctaTextElement']['innerText']=B;break;case g['CTA_BUTTON_ATTRIBUTES']['Href']:this['anchorButtonElement']['href']=B;break;case g['CTA_BUTTON_ATTRIBUTES']['IconUrl']:this['iconButtonElement']['setIconUrl'](B);break;case g['CTA_BUTTON_ATTRIBUTES']['IconSize']:this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['Height'],B),this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['Width'],B);break;case g['CTA_BUTTON_ATTRIBUTES']['IconColor']:this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['IconColor'],B);break;case g['CTA_BUTTON_ATTRIBUTES']['ArrowIconDisplay']:this['iconButtonElement']['style']['display']='true'===B?'inline-flex':'none';break;case g['CTA_BUTTON_ATTRIBUTES']['ArrowIconColor']:this['iconArrowElement']['style']['display']='true'===B?'flex':'none';break;case g['CTA_BUTTON_ATTRIBUTES']['DisplayIcon']:this['iconArrowElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['IconColor'],B);}}['createButton'](){this['isButtonCreated']||(this['anchorButtonElement']['append'](this['iconButtonElement']),this['anchorButtonElement']['append'](this['ctaTextElement']),this['anchorButtonElement']['append'](this['iconArrowElement']),this['append'](this['anchorButtonElement']),this['isButtonCreated']=!0x0);}['animateElement'](z,A,B,C,D){z['style']['animation']='none',z['offsetWidth'];const E=setTimeout(()=>{const F=v['animationCssMapper'][A];F&&(z['style']['animation']=F+'\x20'+B+'s\x20cubic-bezier(0.4,\x200,\x200,\x200.99)\x20'+D+'\x20forwards'),this['animationTimeouts']=this['animationTimeouts']['filter'](G=>G!==E);},C);this['animationTimeouts']['push'](E);}['animateButton'](z){this['animateElement'](this['anchorButtonElement'],z,0x2,0xdac,0x1);}['animateIcon'](z){this['animateElement'](this['iconArrowElement'],z,0x3,0x3e8,0x3);}['setAnchorButtonStyles'](z){(0x0,w['mergeStyles'])(this['anchorButtonElement'],z);}['setCtaTextStyle'](z){(0x0,w['mergeStyles'])(this['ctaTextElement'],z);}['setCtaIconStyles'](z){(0x0,w['mergeStyles'])(this['iconButtonElement'],z);}['clearAllAnimations'](){this['animationTimeouts']['forEach'](z=>clearTimeout(z)),this['animationTimeouts']=[];}['getIconElement'](){return this['iconButtonElement'];}['applyBorderToContainer'](z,A,B=x['BlazeCtaButton']['DEFAULT_BORDER_RADIUS']){const C=this['parentElement'];if(!C)return;const D=!(!A||!z);C['style']['border']=D?z+'px\x20solid\x20'+A:'',C['style']['borderRadius']=D?'calc('+B+'\x20+\x20'+z+'px)':'',C['style']['overflow']=D?'hidden':'';}}g['BlazeCallToActionButton']=y;},0x774:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x256e),f),j(g(0x227),f),j(g(0x1eee),f),j(g(0x23de),f),j(g(0x1132),f),j(g(0x20c9),f),j(g(0x904),f),j(g(0xdb2),f),j(g(0x1789),f),j(g(0xa29),f),j(g(0x23e7),f),j(g(0x3c),f),j(g(0x1dc9),f),j(g(0x6e2),f),j(g(0x149b),f),j(g(0x228f),f),j(g(0x1305),f),j(g(0x1f29),f),j(g(0x1036),f),j(g(0x31b),f),j(g(0x26aa),f);},0x79c:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['sortContentByViewedStatus']=function(j){return j['some'](k=>void 0x0!==k['stream']&&null!==k['stream'])?j:j['sort']((k,l)=>{let m=k['hasViewed'],p=l['hasViewed'];return(0x0,h['isStory'])(k)&&(0x0,h['isStory'])(l)&&(m=k['pages']['every'](q=>q['hasViewed']),p=l['pages']['every'](q=>q['hasViewed'])),m&&!p?0x1:!m&&p?-0x1:0x0;});};const h=g(0x2432);},0x7b9:(q,G)=>{'use strict';var J,K,Q,X,Y,Z,a0;Object['defineProperty'](G,'__esModule',{'value':!0x0}),G['exposedFieldsByAction']=G['InteractionAction']=G['ImaAdAction']=G['AdAction']=G['WidgetAction']=G['VideoAction']=G['MomentAction']=G['StoryAction']=void 0x0,function(aB){aB['Start']='story_start',aB['Exit']='story_exit',aB['PageStart']='story_page_start',aB['PageExit']='story_page_exit',aB['CtaClick']='cta_click',aB['Audio']='audio',aB['ShareClick']='share_click',aB['ShareSelect']='share_select',aB['ShareSuccess']='share_success',aB['PlaybackPause']='playback_pause',aB['PlaybackPlay']='playback_play',aB['PlaybackInitialStart']='playback_initial_start',aB['Expand']='expand',aB['Minimize']='minimize',aB['ClosedCaptionsOff']='cc_off',aB['ClosedCaptionsOn']='cc_on',aB['CustomActionButtonClick']='custom_action_button_click';}(J||(G['StoryAction']=J={})),function(aB){aB['MomentsPlaylistStart']='moments_playlist_start',aB['MomentsPlaylistExit']='moments_playlist_exit',aB['MomentStart']='moment_start',aB['MomentExit']='moment_exit',aB['CtaClick']='cta_click',aB['Like']='like',aB['Unlike']='unlike',aB['Audio']='audio',aB['ShareClick']='share_click',aB['ShareSuccess']='share_success',aB['PlaybackPause']='playback_pause',aB['PlaybackPlay']='playback_play',aB['PlaybackInitialStart']='playback_initial_start',aB['ClosedCaptionsOff']='cc_off',aB['ClosedCaptionsOn']='cc_on',aB['CustomActionButtonClick']='custom_action_button_click',aB['Follow']='follow',aB['Unfollow']='unfollow';}(K||(G['MomentAction']=K={})),function(aB){aB['VideoStart']='video_start',aB['VideoEnd']='video_end',aB['PlaybackPause']='playback_pause',aB['PlaybackPlay']='playback_play',aB['PlaybackInitialStart']='playback_initial_start',aB['Seek']='seek',aB['BackToLive']='back_to_live',aB['Like']='like',aB['Unlike']='unlike',aB['Share']='share',aB['Audio']='audio',aB['CtaVisible']='cta_visible',aB['CtaClick']='cta_click',aB['CtaDismissed']='cta_dismissed',aB['ClosedCaptionsOff']='cc_off',aB['ClosedCaptionsOn']='cc_on',aB['ScreenChange']='screen_change',aB['VideoHeartbeat']='heartbeat',aB['VideoChangedStatus']='video_changed_status';}(Q||(G['VideoAction']=Q={})),function(aB){aB['Load']='widget_load',aB['Visible']='widget_visible',aB['Click']='widget_click',aB['SDKInit']='sdk_init';}(X||(G['WidgetAction']=X={})),function(aB){aB['Requested']='ad_requested',aB['View']='ad_view',aB['Exit']='ad_exit',aB['Click']='ad_click',aB['BannerRequested']='banner_ad_requested',aB['BannerView']='banner_ad_view',aB['BannerLoad']='banner_ad_load',aB['BannerClick']='banner_ad_click';}(Y||(G['AdAction']=Y={})),function(aB){aB['REQUESTED']='ima_ad_requested',aB['ALL_ADS_COMPLETED']='ima_all_ads_completed',aB['CLICK']='ima_ad_clicked',aB['COMPLETED']='ima_ad_completed',aB['LOADED']='ima_ad_loaded',aB['PAUSED']='ima_ad_paused',aB['RESUMED']='ima_ad_resumed',aB['SKIPPED']='ima_ad_skipped',aB['STARTED']='ima_ad_started',aB['FIRST_QUARTILE']='ima_ad_first_quartile',aB['MIDPOINT']='ima_ad_midpoint',aB['THIRD_QUARTILE']='ima_ad_third_quartile';}(Z||(G['ImaAdAction']=Z={})),function(aB){aB['VIEW']='interaction_view',aB['ANSWER']='interaction_answer',aB['AUDIO']='audio',aB['ShareClick']='share_click',aB['ShareSelect']='share_select',aB['ShareSuccess']='share_success',aB['PlaybackPause']='playback_pause',aB['PlaybackPlay']='playback_play';}(a0||(G['InteractionAction']=a0={}));const a1='labels_expression',a2='story_id',a3='story_title',a4='moment_id',a5='moment_title',a6='moment_duration_viewed_percent',a7='audio_state',a8='player_type',a9='content_type',aa='playback_action_method',ab='cc_state',ac='skip_config',ad='video_id',ae='video_title',af='video_time_start',ag='video_time_end',ah='video_end_trigger',ai='screen_change',aj='follow_state',ak='localization_setting',al='localization',am='user_lifetime_engagements',an='stream_status',ao=['timestamp_utc','timestamp_user_tz','sdk_version','sdk_type','event_category','event_action','event_type','generated_user_id','external_user_id','content_extra_info','story_page_content_extra_info'],ap=['origin_widget_id','origin_widget_name','origin_widget_type','origin_placement_id','origin_placement_name'],aq=['placement_id','placement_name','placement_distance','widget_id','widget_size','widget_type','widget_content_count','widget_content_list','content_index','thumbnail_size','thumbnail_aspect_ratio','thumbnail_type','page_view_id'],ar=['content_id',a9,'content_name'],as=['story_session_id',a2,a3,'story_page_id','story_page_index','story_page_count','story_page_duration',ak,al],at=['moments_session_id',a4,a5,'moment_index','loop_number','moment_duration',a6,a7,ab,aj,ak,al],au=['video_session_id',ad,ae,'video_duration','video_start_trigger','cta_config',ai,'player_orientation','device_orientation',a7,ab,ak,al],av=['session_id','locale','user_type','device_type','device_brand','device_model','network_domain','os','os_version','screen_color','screen_resolution','browser','browser_size','browser_version','app_id','app_version','user_agent','connection_type','page_url','referrer_page_type','referrer_page_url','referrer_page_domain','session_referrer_page_type','session_referrer_url','session_referrer_domain','session_referrer_type','advertiser_id','advertiser_name','campaign_id','campaign_name','ad_server','ad_insertion_logic','ad_index','ad_start_trigger','ad_exit_trigger','ad_duration','ad_duration_viewed_percent',aa,ac],aw=[a1,a7,a8,ab],ax=[...ao,...ap,...as,...aw],ay=[...ao,...ap,...at,...aw],az=[...ao,...ap,...aw,...au],aA=[...ao,...ap,...av,aa,a7,a2,a3,a4,a5,ad,ae,ac,a9,a8];G['exposedFieldsByAction']={[J['Start']]:[...ax,'story_start_trigger',am],[J['Exit']]:[...ax,'story_exit_trigger','content_duration_viewed'],[J['PageStart']]:ax,[J['PageExit']]:[...ax,'story_page_navigation_type','story_page_navigation_direction','story_page_duration_viewed_percent'],[J['CtaClick']]:ax,[J['Audio']]:ax,[J['ShareClick']]:ax,[J['ShareSelect']]:ax,[J['ShareSuccess']]:ax,[J['PlaybackPause']]:[...ax,aa],[J['PlaybackPlay']]:[...ax,aa],[J['PlaybackInitialStart']]:[...ax,aa],[J['ClosedCaptionsOff']]:ax,[J['ClosedCaptionsOn']]:ax,[K['MomentsPlaylistStart']]:[...ay,'moment_start_trigger'],[K['MomentsPlaylistExit']]:[...ay,'moment_exit_trigger'],[K['MomentStart']]:[...ay,am],[K['MomentExit']]:[...ay,'moment_navigation_type','moment_navigation_direction',a6],[K['Like']]:ay,[K['Unlike']]:ay,['$'+K['CtaClick']]:ay,['$'+K['Audio']]:ay,['$'+K['ShareClick']]:ay,['$'+K['ShareSuccess']]:ay,['$'+K['PlaybackPause']]:[...ay,aa],['$'+K['PlaybackPlay']]:[...ay,aa],['$'+K['PlaybackInitialStart']]:[...ay,aa],['$'+K['ClosedCaptionsOn']]:[...ay,ab],['$'+K['ClosedCaptionsOff']]:[...ay,ab],['$'+K['Follow']]:[...ay,aj],['$'+K['Unfollow']]:[...ay,aj],[Q['VideoStart']]:[...az,af,am,an],[Q['VideoEnd']]:[...az,ag,ah,'next_video_id',an],[Q['VideoChangedStatus']]:[...az,an],[Q['BackToLive']]:[...az,af,an,'back_to_live_trigger'],['#'+Q['PlaybackPause']]:[...az,aa,af,ah],['#'+Q['PlaybackPlay']]:[...az,aa,af,ah],['#'+Q['PlaybackInitialStart']]:[...az,aa,af,ah],[Q['Seek']]:[...az,af,ag,'seek_type','seek_total_time','seek_direction'],['#'+Q['Like']]:[...az,af],['#'+Q['Unlike']]:[...az,af],['#'+Q['Share']]:[...az,af],['#'+Q['Audio']]:[...az,af],[Q['CtaVisible']]:[...az,af],['#'+Q['CtaClick']]:[...az,af],[Q['CtaDismissed']]:[...az,af],['#'+Q['ClosedCaptionsOff']]:[...az,af],['#'+Q['ClosedCaptionsOn']]:[...az,af],[Q['ScreenChange']]:[...az,af,ai],[Q['VideoHeartbeat']]:[...az,af,'cumulative_watch_time','heartbeat_sequence',an],[X['Load']]:[...ao,...aq,a1,a8],[X['Visible']]:[...ao,...aq,a1,a8],[X['Click']]:[...ao,...aq,...ar,a8,a1],[Y['View']]:[...ao,...ap,...av,aa,a7,a2,a3,ac,a9,a8],[Y['Exit']]:[...ao,...ap,...av,aa,a7,a2,a3,ac,a9,a8],[Z['REQUESTED']]:aA,[Z['ALL_ADS_COMPLETED']]:aA,[Z['CLICK']]:aA,[Z['COMPLETED']]:aA,[Z['LOADED']]:aA,[Z['PAUSED']]:aA,[Z['RESUMED']]:aA,[Z['SKIPPED']]:aA,[Z['STARTED']]:aA,[Z['FIRST_QUARTILE']]:aA,[Z['MIDPOINT']]:aA,[Z['THIRD_QUARTILE']]:aA};},0x7ed:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ACCESSIBILITY_ATTRIBUTES']=f['ACCESSIBILITY_TIMING']=void 0x0,f['ACCESSIBILITY_TIMING']={'FOCUS_DELAY':0x1f4,'LABEL_CLEAR_DELAY':0x3e8,'CONFIG_SCHEDULE_DELAY':0x3e8},f['ACCESSIBILITY_ATTRIBUTES']={'ACTIVE_TABINDEX':'0','INACTIVE_TABINDEX':'-1','REGION_ROLE':'region','ARIA_HIDDEN_FALSE':'false','ARIA_HIDDEN_TRUE':'true'};},0x83f:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x879:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x87b:(d,f)=>{'use strict';var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ActionHandlerId']=void 0x0,function(h){h['AddCustomActionButton']='addCustomActionButton',h['AddFollowButton']='addFollowButton';}(g||(f['ActionHandlerId']=g={}));},0x89b:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeButton']=f['BUTTON_ATTRIBUTES']=void 0x0;const h=g(0x1133),j=g(0x11c1),k=g(0x2432);f['BUTTON_ATTRIBUTES']={'Disabled':'disabled','BlazeBtnHidden':'blaze-btn-hidden','BlazeBtnVisible':'blaze-btn-visible','Height':'height','Width':'width','IconColor':'icon-color','Order':'order','ButtonDesktopAnimation':'button-desktop-animation'};class l extends h['BaseWidget']{get['refElement'](){var m;return null!==(m=this['shadowRoot'])&&void 0x0!==m?m:this;}constructor(){super(),this['buttonElement']=document['createElement']('button'),this['buttonIcon']='',this['isAnimationOnDesktopInitialized']=!0x1,this['onKeyDown']=m=>{if('Enter'===m['key']||'\x20'===m['key']){if(m['preventDefault'](),this['buttonElement']['disabled']||'true'===this['getAttribute']('disabled')||''===this['getAttribute']('disabled'))return;this['click']();}},this['onMouseEnter']=()=>{this['buttonElement']['style']['transform']='scale(1.1)';},this['onMouseLeave']=()=>{this['buttonElement']['style']['transform']='scale(1)';},this['onClick']=()=>{this['buttonElement']['animate']([{'transform':'scale(1)','offset':0x0},{'transform':'scale(0.95)','offset':0.5},{'transform':'scale(1)','offset':0x1}],{'duration':0x64,'easing':'ease-out'});},j['ConfigService']['runInShadowDom']&&this['attachShadow']({'mode':'open'});}['setupFocusDelegation'](){this['addEventListener']('keydown',this['onKeyDown']);}static get['observedAttributes'](){return Object['values'](f['BUTTON_ATTRIBUTES']);}['connectedCallback'](){(0x0,k['mergeStyles'])(this['buttonElement'],{'cursor':'pointer','color':'inherit','border':'none','padding':'0','display':'block','outline':'inherit','height':this['height']||'24px','width':this['width']||'24px','margin':'auto','touchAction':'manipulation','transition':'transform\x200.3s\x20ease'}),this['buttonElement']['setAttribute']('tabindex','-1'),this['hasAttribute']('tabindex')||this['setAttribute']('tabindex','0'),this['setAttribute']('role','button'),this['style']['cursor']='pointer',this['refElement']['append'](this['buttonElement']),this['setupFocusDelegation']();}['disconnectedCallback'](){this['buttonElement']['removeEventListener']('mouseenter',this['onMouseEnter']),this['buttonElement']['removeEventListener']('mouseleave',this['onMouseLeave']),this['buttonElement']['removeEventListener']('click',this['onClick']),this['removeEventListener']('keydown',this['onKeyDown']);}['attributeChangedCallback'](m,p,q){switch(m){case f['BUTTON_ATTRIBUTES']['Disabled']:const r='true'===q||''===q;this['setIsDisabled'](r);break;case f['BUTTON_ATTRIBUTES']['BlazeBtnHidden']:this['setIsHidden']('true'===q);break;case f['BUTTON_ATTRIBUTES']['BlazeBtnVisible']:this['setIsVisible']('true'===q);break;case f['BUTTON_ATTRIBUTES']['Height']:this['setHeight'](q);break;case f['BUTTON_ATTRIBUTES']['Width']:this['setWidth'](q);break;case f['BUTTON_ATTRIBUTES']['IconColor']:this['buttonElement']['style']['background']=q;break;case f['BUTTON_ATTRIBUTES']['Order']:this['style']['order']=q;break;case f['BUTTON_ATTRIBUTES']['ButtonDesktopAnimation']:'true'!==q||this['isAnimationOnDesktopInitialized']||(this['isAnimationOnDesktopInitialized']=!0x0,this['buttonElement']['addEventListener']('mouseenter',this['onMouseEnter']),this['buttonElement']['addEventListener']('mouseleave',this['onMouseLeave']),this['buttonElement']['addEventListener']('click',this['onClick']));}}get['height'](){return this['getAttribute']('height');}get['width'](){return this['getAttribute']('width');}['setIconUrl'](m){this['buttonIcon']=m,this['applyIconStyles'](m);}['setIconUrlAnimation'](m){this['buttonIcon']!==m&&(this['buttonIcon']=m,this['buttonElement']['animate']([{'opacity':0x1},{'opacity':0x0}],{'duration':0x4b,'easing':'ease-out','fill':'forwards'})['onfinish']=()=>{this['applyIconStyles'](m),this['buttonElement']['animate']([{'opacity':0x0},{'opacity':0x1}],{'duration':0x4b,'easing':'ease-in','fill':'forwards'});});}['setAriaLabel'](m){m?this['buttonElement']['setAttribute']('aria-label',m):this['buttonElement']['removeAttribute']('aria-label');}['applyIconStyles'](m){(0x0,k['mergeStyles'])(this['buttonElement'],{'-webkit-mask-image':'url(\x27'+m+'\x27)','mask-image':'url(\x27'+m+'\x27)','-webkit-mask-repeat':'no-repeat','mask-repeat':'no-repeat','-webkit-mask-size':'contain','mask-size':'contain','-webkit-mask-position':'center','mask-position':'center','background-image':'none','-webkit-transform':'translateZ(0)','transform':'translateZ(0)','-webkit-backface-visibility':'hidden','backface-visibility':'hidden'});}['setIsHidden'](m){this['style']['display']=m?'none':'block';}['setIsVisible'](m){this['style']['visibility']=m?'visible':'hidden';}['setIsDisabled'](m){m?(this['buttonElement']['disabled']=!0x0,this['buttonElement']['setAttribute']('disabled',''),this['buttonElement']['setAttribute']('aria-disabled','true'),(0x0,k['mergeStyles'])(this['buttonElement'],{'cursor':'initial','background':'rgba(239,\x20239,\x20239,\x200.3)'}),this['style']['cursor']='initial'):(this['buttonElement']['disabled']=!0x1,this['buttonElement']['removeAttribute']('disabled'),this['buttonElement']['removeAttribute']('aria-disabled'),this['removeAttribute']('disabled'),(0x0,k['mergeStyles'])(this['buttonElement'],{'opacity':'1','cursor':'pointer','background':this['getAttribute']('icon-color')}),this['style']['cursor']='pointer',this['style']['pointerEvents']='auto');}['setHeight'](m){this['buttonElement']['style']['height']=m;}['setWidth'](m){this['buttonElement']['style']['width']=m;}['setDataTestId'](m){this['setAttribute']('data-testid',m);}}f['BlazeButton']=l;},0x89c:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['generateModalAriaLabel']=function(j){const {contentType:k,position:m,total:p,title:q,currentContent:u,includeNavigationContext:v=!0x1}=j,w=[];if(v&&u){const z=function(A,B){const C=A['navigationType'],D=A['navigationDirection'];if('Manual'===C&&D){const E='story'===B?'story':'moment';return'Forwards'===D?'Next\x20'+E:'Previous\x20'+E;}return'Automatic'===C?'New\x20'+('story'===B?'story':'moment'):'';}(u,k);z&&w['push'](z);}let x=k+'\x20'+m+'\x20of\x20'+p;if(q&&(x+=':\x20'+q),w['push'](x),'story'===k&&u){const A=function(B){var C;const D=(B['pageIndex']||0x0)+0x1,E=null===(C=B['pages'])||void 0x0===C?void 0x0:C['length'];return D&&E?'page\x20'+D+'\x20of\x20'+E:'';}(u);A&&w['push'](A);}const y=(function(){const B=[];return h['VideoPlayerService']['isPlaying']&&B['push']('playing'),h['VideoPlayerService']['isMuted']&&B['push']('muted'),B['length']>0x0?B['join']('\x20and\x20'):'';}());return y&&w['push'](y),w['join'](',\x20');};const h=g(0x11c1);},0x8c0:(f,g,j)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['WidgetAbstractPlayer']=void 0x0;const k=j(0x1133),m=j(0x1932),p=j(0x22d9),q=j(0x11c1),v=j(0x132a),w=j(0x2432),x=j(0x1f70),y=j(0x1a96),z=['blaze-widget-cc-modal'];class A extends k['BaseWidget']{constructor(){super(),this['index']=0x0,this['videoPlayerState']=q['VideoPlayerService'],this['numberOfContentInList']=0x3,this['contentList']=[],this['playerContentList']=[],this['hammer']={},this['gestureActionLimitThreshold']=0x19,this['edgeScreenThreshold']=0x1e,this['isEdgeThreshold']=!0x1,this['isNavigationBlocked']=!0x1,this['isCloseAnimationStarted']=!0x1,this['listeners']=new k['EventsListener'](),this['boundHandlePanStart']=this['handlePanStart']['bind'](this),this['boundHandlePanMove']=this['handlePanMove']['bind'](this),this['boundHandlePanEnd']=this['handlePanEnd']['bind'](this),this['container']=p['WidgetsFactory']['create']('blaze-div'),this['srcBackground']=document['createElement']('canvas'),this['destBackground']=document['createElement']('canvas'),this['srcBackground']['setAttribute']('aria-hidden','true'),this['destBackground']['setAttribute']('aria-hidden','true'),this['playerFullscreenOverlay']=p['WidgetsFactory']['create']('blaze-div'),this['playerFullscreenOverlay']['setStyle']({'position':'fixed','left':'0','top':'0','width':'100%','height':'100%','zIndex':'99999','display':'none'}),this['srcBackground']['width']=0x3,this['srcBackground']['height']=0x3,this['destBackground']['width']=0x3,this['destBackground']['height']=0x3,(0x0,w['mergeStyles'])(this['srcBackground'],{'position':'absolute','width':'100%','height':'100%','top':'0','right':'0','bottom':'0','left':'0'}),(0x0,w['mergeStyles'])(this['destBackground'],{'position':'absolute','width':'100%','height':'100%','top':'0','right':'0','bottom':'0','left':'0','opacity':'0%'});}['seekContentById'](B){this['cleanPlayerContentList']();const C=this['contentList']['findIndex'](D=>D['data']['id']==B);if(this['isBlazeWidgetStory'](this['contentList'])){const D=Math['max'](0x0,C-Math['floor'](this['numberOfContentInList']/0x2)),E=Math['min'](this['contentList']['length']-0x1,C+Math['floor'](this['numberOfContentInList']/0x2));for(let F=D;F<=E;F++){const G=this['contentList'][F];G&&(this['playerContentList']['push'](G),this['container']['append'](G));}}else{if(this['isBlazeWidgetMoment'](this['contentList'])){let H=C-Math['floor']((this['numberOfContentInList']-0x1)/0x2),I=C+Math['ceil']((this['numberOfContentInList']-0x1)/0x2);H<0x0&&(I-=H,H=0x0),I>=this['contentList']['length']&&(H-=I-this['contentList']['length']+0x1,I=this['contentList']['length']-0x1),H=Math['max'](0x0,H);for(let J=H;J<=I;J++){const K=this['contentList'][J],L=this['cloneMoment'](K);L&&(this['playerContentList']['push'](L),this['container']['append'](L));}}else{if(this['isBlazeWidgetVideo'](this['contentList'])){const M=this['contentList'][C],N=M['cloneNode'](!0x0);N['videoPlayerState']=M['videoPlayerState'],M['modal']&&N['setModal'](M['modal']),M['embeddedRef']&&N['setEmbeddedRef'](M['embeddedRef']),N['playerStyle']=M['playerStyle'],N['setData'](M['data']),M['widgetParentItem']&&N['setWidgetItemParent'](M['widgetParentItem']),N['refContentModal']=M['refContentModal'],N['startTrigger']=M['startTrigger'],N&&(this['playerContentList']['push'](N),this['container']['append'](N));}}}this['index']=this['playerContentList']['findIndex'](O=>O['data']['id']==B);}['cloneMoment'](B){const C=B['cloneNode'](!0x0);return C['setModal'](B['modal']),C['playerStyle']=B['playerStyle'],C['setData'](B['data']),C['shouldShowImaAdOnStart']=B['shouldShowImaAdOnStart'],C['adInfo']=B['adInfo'],C['setWidgetItemParent'](B['widgetParentItem']),C['momentIndex']=B['momentIndex'],C['refContentModal']=B['refContentModal'],C['startTrigger']=B['startTrigger'],C['actionHandlers']=B['actionHandlers'],C['contentExtraInfo']=B['contentExtraInfo'],C['video']&&B['video']&&(C['video']['requestFrameCallback']=B['video']['requestFrameCallback']),C;}['cleanPlayerContentList'](){for(const B of this['playerContentList'])null==B||B['remove']();this['playerContentList']=[];}['muteVideoOnIOSOrMacTablet'](){this['isBlazeWidgetMoment'](this['contentList'])||this['isBlazeWidgetVideo'](this['contentList'])||k['deviceDetector']['isIOSMobileTabletSafari']()&&(this['videoPlayerState']['isMuted']=!0x0);}['setupHammer'](B=Hammer['DIRECTION_HORIZONTAL']){this['hammer']=new Hammer['Manager'](this);const C=new Hammer['Pan']({'direction':B,'threshold':0x5}),D=new Hammer['Swipe']({'direction':B,'threshold':0x5});this['hammer']['add'](C),this['hammer']['add'](D)['recognizeWith'](C),this['hammer']['on']('panstart',this['boundHandlePanStart']),this['hammer']['on']('panmove',this['boundHandlePanMove']),this['hammer']['on']('panend',this['boundHandlePanEnd']),this['style']['touchAction']='pinch-zoom';}['cleanupHammer'](){this['hammer']['off']('panstart',this['boundHandlePanStart']),this['hammer']['off']('panmove',this['boundHandlePanMove']),this['hammer']['off']('panend',this['boundHandlePanEnd']),this['hammer']['destroy']();}['handlePanStart'](B){'SingleContent'===q['VideoPlayerService']['playReference']&&!q['ConfigService']['shouldAutoAdvance']||(B['preventDefault'](),'mobile'===k['deviceDetector']['platform']&&(this['isEdgeThreshold']=this['isTouchOnScreenEdges'](B['center']['x'],this['offsetWidth']),this['isEdgeThreshold'])||B['maxPointers']>0x1||this['isNavigationBlocked']||this['setAnimationContent']());}['handlePanMove'](B){B['preventDefault'](),(0x0,w['isElementInsideTarget'])(B['target'],z)||'desktop'!==k['deviceDetector']['platform']&&(this['isNavigationBlocked']||this['isEdgeThreshold']||(B['maxPointers']>0x1?this['reverseAnimation'](B):(B['deltaTime']>0x5*m['ONE_SECOND']&&this['isBlazeWidgetStory'](this['contentList'])&&(this['resetPosition'](),q['VideoPlayerService']['isNavigating']=!0x1),this['index']<0x0&&(this['index']=0x0),this['handleMoveSwipe'](B))));}['handlePanEnd'](B){B['preventDefault'](),(0x0,w['isElementInsideTarget'])(B['target'],z)||'desktop'!==k['deviceDetector']['platform']&&(this['isNavigationBlocked']||this['isEdgeThreshold']||'SingleContent'===q['VideoPlayerService']['playReference']&&!q['ConfigService']['shouldAutoAdvance']||this['handleEndSwipe'](B));}['reverseAnimation'](B){var C,D,E,F;('SingleContent'!==q['VideoPlayerService']['playReference']||q['ConfigService']['shouldAutoAdvance'])&&((this['isBlazeWidgetMoment'](this['playerContentList'])?B['deltaY']:B['deltaX'])>0x0?(this['processAnimation'](B,this['playerContentList'][this['index']],this['currentPrevAnimation']),null===(C=this['animateContent']('PREV'))||void 0x0===C||C['seek'](0x0),null===(D=this['currentPrevAnimation'])||void 0x0===D||D['seek'](0x0)):(this['processAnimation'](B,this['playerContentList'][this['index']],this['currentNextAnimation']),null===(E=this['animateContent']('NEXT'))||void 0x0===E||E['seek'](0x0),null===(F=this['currentNextAnimation'])||void 0x0===F||F['seek'](0x0)),q['VideoPlayerService']['isNavigating']=!0x1);}['setAnimationContent'](){this['currentPrevAnimation']=void 0x0,this['currentNextAnimation']=void 0x0;const B=this['playerContentList'][this['index']-0x1];this['playerContentList'][this['index']+0x1]&&(this['currentNextAnimation']=this['animateContent']('NEXT')),B&&(this['currentPrevAnimation']=this['animateContent']('PREV'));}['isTouchOnScreenEdges'](B,C){const D=C/0xc,E=B<=D,F=B<=this['edgeScreenThreshold'];if(E||F)return!0x0;const G=C-B<=D,H=B>C-this['edgeScreenThreshold'];return!(!G&&!H);}['blockInteractionWithUserInterface'](){((()=>{this['playerFullscreenOverlay']['style']['display']='block',setTimeout(()=>{this['playerFullscreenOverlay']['style']['display']='none',this['isNavigationBlocked']=!0x1;},m['ONE_SECOND']);})());}['renderPlayerBackground'](B){var C,D,E,F;if('mobile'===k['deviceDetector']['platform']||'tablet'===k['deviceDetector']['platform'])return;const G=this['srcBackground']['getContext']('2d'),H=this['destBackground']['getContext']('2d');if(!G||!H)return;if(B)return null===(C=this['backgroundAnimation'])||void 0x0===C||C['cancel'](),G['fillStyle']=v['Colors']['Black'],G['fillRect'](0x0,0x0,this['srcBackground']['width'],this['srcBackground']['height']),H['fillStyle']=v['Colors']['Black'],void H['fillRect'](0x0,0x0,this['srcBackground']['width'],this['srcBackground']['height']);const I=this['playerContentList'][this['index']];let J;if('pages'in I){const L=I,M=I['pageIndex'];J=L['pages'][M];}else J=I['video'];if('Ad'===(null===(D=null==J?void 0x0:J['data'])||void 0x0===D?void 0x0:D['type'])||(null==J?void 0x0:J['isAd']))return;const K=null==J?void 0x0:J['mainElement']();null===(E=this['backgroundAnimation'])||void 0x0===E||E['pause'](),(null===(F=this['backgroundAnimation'])||void 0x0===F?void 0x0:F['currentTime'])&&(G['globalAlpha']=+this['backgroundAnimation']['currentTime']/0xbb8),G['drawImage'](this['destBackground'],0x0,0x0,this['srcBackground']['width'],this['srcBackground']['height']),G['globalAlpha']=0x1,K&&H['drawImage'](K,0x0,0x0,this['srcBackground']['width'],this['srcBackground']['height']),this['backgroundAnimation']=this['destBackground']['animate']([{'opacity':'0'},{'opacity':'100'}],{'duration':0xbb8,'iterations':0x1,'easing':'ease-in','fill':'both'});}['appendToDomBasedOnNavigation'](B){switch(B){case'PREV':this['handlePrevDirection']();break;case'NEXT':this['handleNextDirection']();}}['resetAnimation'](){this['currentPrevAnimation']=void 0x0,this['currentNextAnimation']=void 0x0,this['resetPosition']();}['close'](){var B;if('SingleContent'!==q['VideoPlayerService']['playReference']||q['ConfigService']['shouldDismissPlayer'])try{this['playerContentList']['forEach'](C=>{C instanceof y['BlazeWidgetStory']&&(C['isUnloading']=!0x0);}),this['playerContentList']['forEach'](C=>{'pages'in C&&C['pages']['forEach'](D=>{D['paused']||D['pause']();});}),null===(B=this['onClose'])||void 0x0===B||B['call'](this),setTimeout(()=>{this['playerContentList']['forEach'](C=>{C instanceof y['BlazeWidgetStory']&&(C['isUnloading']=!0x1);});},m['ONE_SECOND']);}catch(C){}}['animateContent'](B){let C='NEXT'===B?this['index']+0x1:this['index']-0x1;if(C<0x0||C>=this['playerContentList']['length'])return;const D=this['playerContentList'][C],E=this['playerContentList'][this['index']];return E&&D?this['createAnimation'](E,B,C):void 0x0;}get['directionBackwards'](){return'RTL'===q['ConfigService']['layoutDirection']?Hammer['DIRECTION_LEFT']:Hammer['DIRECTION_RIGHT'];}get['directionForwards'](){return'RTL'===q['ConfigService']['layoutDirection']?Hammer['DIRECTION_RIGHT']:Hammer['DIRECTION_LEFT'];}['processAnimation'](B,C,D){if(!this['isEdgeThreshold']&&!this['isNavigationBlocked']&&!q['VideoPlayerService']['isSeekBarDragging']&&D){if(D['completed'])return;this['isNavigationBlocked']=!0x0,q['VideoPlayerService']['isNavigating']=!0x0;let E=0x0;'tablet'===k['deviceDetector']['platform']&&(E='portrait'===k['deviceDetector']['screenOrientation']?0x7:0xc);const F=Math['abs'](B['velocityY'])>0.01;if(D['progress']>=this['gestureActionLimitThreshold']-E||F){this['blockInteractionWithUserInterface']();const G=B['direction']===this['directionForwards']||B['direction']===Hammer['DIRECTION_UP'],H=B['direction']===this['directionBackwards']||B['direction']===Hammer['DIRECTION_DOWN'];G?C['navigationDirection']='Forwards':H&&(C['navigationDirection']='Backwards'),D['play'](),D['finished']['then'](()=>{q['VideoPlayerService']['isNavigating']=!0x1;});}else this['handleSmallGestures'](D,this['playerContentList'][this['index']]);}}['unloadFromPlayerList'](){if(this['isBlazeWidgetMoment'](this['contentList']))return;let B;this['playerContentList']['length']>this['numberOfContentInList']&&(this['index']>0x1?(B=this['playerContentList']['shift'](),this['index']-=0x1):B=this['playerContentList']['pop'](),null==B||B['unload'](),null==B||B['remove']());}['handleAnimationEnd'](B){this['appendToDomBasedOnNavigation'](B),this['unloadFromPlayerList']();for(const C of this['playerContentList'])C['resetPosition']();this['resetAnimation'](),this['muteVideoOnIOSOrMacTablet'](),this['loadAndPlayContent']();}['handleSmallGestures'](B,C){B['complete']=()=>{this['isNavigationBlocked']=!0x1;},B['changeComplete']=()=>{this['videoPlayerState']['isPlaying']&&C['resume']();},B['reverse'](),B['play'](),B['finished']['then'](()=>{q['VideoPlayerService']['isNavigating']=!0x1,C instanceof y['BlazeWidgetStory']?C['currentPage']['muted']=this['videoPlayerState']['isMuted']:C instanceof x['BlazeWidgetMoment']&&C['video']&&(C['video']['muted']=this['videoPlayerState']['isMuted']);});}['resetPosition'](){var B,C,D,E;'SingleContent'===q['VideoPlayerService']['playReference']&&!q['ConfigService']['shouldAutoAdvance']||(null===(C=null===(B=this['animateContent']('NEXT'))||void 0x0===B?void 0x0:B['seek'])||void 0x0===C||C['call'](B,0x0),null===(E=null===(D=this['animateContent']('PREV'))||void 0x0===D?void 0x0:D['seek'])||void 0x0===E||E['call'](D,0x0),this['resetStyles']());}['isContentDirectionInPlayerListValid'](B){if(!B)return!0x1;const C='NEXT'===B?0x1:-0x1,D=this['playerContentList'][this['index']],E=this['contentList']['findIndex'](F=>F['data']['id']===D['data']['id']);return!(E+C<0x0)&&Boolean(this['contentList'][E+C]);}['isBlazeWidgetStory'](B){return Array['isArray'](B)&&B['every'](C=>'story'===C['contentType']);}['isBlazeWidgetMoment'](B){return Array['isArray'](B)&&B['every'](C=>'moment'===C['contentType']);}['isBlazeWidgetVideo'](B){return Array['isArray'](B)&&B['every'](C=>'video'===C['contentType']);}['getContentExtraInfo'](B,C){var D,E;const F=C>0x0?B[C-0x1]:void 0x0,G=C<B['length']-0x1?B[C+0x1]:void 0x0;return{'previous':null===(D=null==F?void 0x0:F['data'])||void 0x0===D?void 0x0:D['extraInfo'],'next':null===(E=null==G?void 0x0:G['data'])||void 0x0===E?void 0x0:E['extraInfo']};}}g['WidgetAbstractPlayer']=A;},0x8e5:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoPlayerPollingManager']=f['StreamLayoutController']=f['StreamOrchestrator']=void 0x0;var h=g(0x1bc1);Object['defineProperty'](f,'StreamOrchestrator',{'enumerable':!0x0,'get':function(){return h['StreamOrchestrator'];}});var j=g(0xb71);Object['defineProperty'](f,'StreamLayoutController',{'enumerable':!0x0,'get':function(){return j['StreamLayoutController'];}});var k=g(0x922);Object['defineProperty'](f,'VideoPlayerPollingManager',{'enumerable':!0x0,'get':function(){return k['VideoPlayerPollingManager'];}});},0x904:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LiveControlsComponent']=void 0x0;const h=g(0x1133),j=g(0x22d9),k=g(0x11c1);f['LiveControlsComponent']=class{constructor(l,m,p){this['shadowRoot']=l,this['playerLayout']=m,this['videoRef']=p,this['liveBadge']=null,this['backToLiveButton']=null,this['currentEdgeState']='atLiveEdge',this['isActive']=!0x1;}['enable'](){this['isActive']||(this['isActive']=!0x0,this['createControls'](),this['updateEdgeState']('atLiveEdge'));}['disable'](){this['isActive']&&(this['isActive']=!0x1,this['removeControls']());}['updateEdgeState'](l){this['currentEdgeState']=l,this['liveBadge']&&this['backToLiveButton']&&('atLiveEdge'===l?(this['liveBadge']['style']['display']='flex',this['backToLiveButton']['style']['display']='none'):(this['liveBadge']['style']['display']='none',this['backToLiveButton']['style']['display']='flex'));}['isEnabled'](){return this['isActive'];}['createControls'](){this['liveBadge']=this['createLiveBadge'](),this['backToLiveButton']=this['createBackToLiveButton']();const l=this['shadowRoot']['querySelector']('.bottom-left-icons');l?(l['appendChild'](this['liveBadge']),l['appendChild'](this['backToLiveButton'])):(this['shadowRoot']['appendChild'](this['liveBadge']),this['shadowRoot']['appendChild'](this['backToLiveButton']));}['createLiveBadge'](){const l=j['WidgetsFactory']['create']('blaze-div');l['className']='live-badge';const m=j['WidgetsFactory']['create']('blaze-div');m['className']='live-dot';const p=j['WidgetsFactory']['create']('blaze-div');return p['className']='live-text',p['textContent']=this['playerLayout']['backToLiveButton']['playbackStates']['atLiveEdgeState']['text']||'Live',l['appendChild'](m),l['appendChild'](p),this['applyLiveBadgeStyles'](l,m),l['style']['display']='none',l;}['createBackToLiveButton'](){const l=j['WidgetsFactory']['create']('blaze-div');l['className']='back-to-live-button';const m=j['WidgetsFactory']['create']('blaze-div');m['className']='back-to-live-dot';const p=j['WidgetsFactory']['create']('blaze-div');return p['className']='back-to-live-text',p['textContent']=this['playerLayout']['backToLiveButton']['playbackStates']['behindLiveState']['text']||'Back\x20to\x20Live',l['appendChild'](m),l['appendChild'](p),this['applyBackToLiveStyles'](l,m),l['style']['display']='none',l['addEventListener']('click',()=>{this['videoRef']['seekToLiveEdge']('back_to_live_button');}),l;}['applyLiveBadgeStyles'](l,m){var p;const q=this['playerLayout']['backToLiveButton']['playbackStates']['atLiveEdgeState'],u=this['playerLayout']['backToLiveButton'],v=h['deviceDetector']['isMobile']||h['deviceDetector']['isTablet'],w={'position':'relative','display':'flex','alignItems':'center','gap':'6px','backgroundColor':q['backgroundColor'],'color':q['textColor'],'fontWeight':'600'};v?l['setStyle'](Object['assign'](Object['assign']({},w),{'padding':u['padding'],'borderRadius':q['borderRadius'],'fontSize':'11px'})):l['setStyle'](Object['assign'](Object['assign']({},w),{'padding':u['padding'],'borderRadius':q['borderRadius'],'fontSize':'13px'})),m['setStyle']({'width':'6px','height':'6px','borderRadius':'50%','backgroundColor':(null===(p=q['icon'])||void 0x0===p?void 0x0:p['color'])||'#FF3131'});}['applyBackToLiveStyles'](m,p){var q;const u=this['playerLayout']['backToLiveButton']['playbackStates']['behindLiveState'],v=this['playerLayout']['backToLiveButton'],w=h['deviceDetector']['isMobile']||h['deviceDetector']['isTablet'],x='RTL'===k['ConfigService']['layoutDirection'];w?m['setStyle']({'position':'relative','display':'flex','flexDirection':x?'row-reverse':'row','alignItems':'center','gap':'6px','backgroundColor':u['backgroundColor']||'rgba(0,0,0,0.6)','color':u['textColor']||'#ffffff','padding':v['padding']||'4px\x208px','borderRadius':u['borderRadius']||'4px','fontSize':'11px','fontWeight':'600','cursor':'pointer','zIndex':'1','outline':'none'}):m['setStyle']({'position':'relative','display':'flex','flexDirection':x?'row-reverse':'row','alignItems':'center','gap':'6px','backgroundColor':u['backgroundColor']||'rgba(0,0,0,0.6)','color':u['textColor']||'#ffffff','padding':v['padding']||'6px\x2012px','borderRadius':u['borderRadius']||'999px','fontSize':'13px','fontWeight':'500','cursor':'pointer','zIndex':'1','outline':'none'}),p['setStyle']({'width':'6px','height':'6px','borderRadius':'50%','backgroundColor':(null===(q=u['icon'])||void 0x0===q?void 0x0:q['color'])||'#8E8E8E'}),m['addEventListener']('focus',()=>{m['setStyle']({'outline':'2px\x20solid\x20#ffffff','outlineOffset':'2px'});}),m['addEventListener']('blur',()=>{m['setStyle']({'outline':'none','outlineOffset':'0'});});}['removeControls'](){this['liveBadge']&&(this['liveBadge']['remove'](),this['liveBadge']=null),this['backToLiveButton']&&(this['backToLiveButton']['remove'](),this['backToLiveButton']=null);}['destroy'](){this['removeControls'](),this['isActive']=!0x1;}};},0x922:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoPlayerPollingManager']=void 0x0;const h=g(0x774),j=g(0xf2),k=g(0x11c1);f['VideoPlayerPollingManager']=class{constructor(l,m,p){this['playerElement']=l,this['getContentList']=m,this['getCurrentVideoItem']=p,this['contentPollingService']=null,this['debouncedPollTimeout']=null,this['DEBOUNCE_DELAY_MS']=j['POLLING_CONFIG']['DEBOUNCE_DELAY_MS'];}['start'](){var l;if(this['isPolling']())return;const m=this['getPlaylistPollingIds']();if(0x0===m['length'])return;const p=new Map(),q=this['getContentList']();for(const r of m){const u=q['find'](v=>v['data']['id']===r);(null===(l=null==u?void 0x0:u['data']['stream'])||void 0x0===l?void 0x0:l['state'])&&p['set'](r,u['data']['stream']['state']);}this['contentPollingService']=new k['ContentPollingService']({'contentIds':m,'interval':j['POLLING_CONFIG']['INTERVAL_MS'],'onStateChange':(v,w,x)=>{this['handlePlaylistStateChange'](v,w,x);}}),this['contentPollingService']['start'](p);}['stop'](){this['cancelDebouncedPoll'](),this['contentPollingService']&&(this['contentPollingService']['stop'](),this['contentPollingService']=null);}['update'](){if(!this['contentPollingService'])return;const l=this['getPlaylistPollingIds']();0x0!==l['length']?this['contentPollingService']['updateContentIds'](l):this['contentPollingService']['isActive']()&&this['stop']();}['isPolling'](){return null!==this['contentPollingService'];}['pause'](){var l;null===(l=this['contentPollingService'])||void 0x0===l||l['pause']();}['resume'](){var l;(null===(l=this['contentPollingService'])||void 0x0===l?void 0x0:l['isActive']())||(this['contentPollingService']?this['contentPollingService']['resume']():0x0!==this['getPlaylistPollingIds']()['length']&&this['start']());}['triggerDebouncedPoll'](l){'Upcoming'===l&&(this['cancelDebouncedPoll'](),this['debouncedPollTimeout']=setTimeout(()=>{var m;null===(m=this['contentPollingService'])||void 0x0===m||m['triggerImmediatePoll'](),this['debouncedPollTimeout']=null;},this['DEBOUNCE_DELAY_MS']));}['cancelDebouncedPoll'](){this['debouncedPollTimeout']&&(clearTimeout(this['debouncedPollTimeout']),this['debouncedPollTimeout']=null);}['getPlaylistPollingIds'](){const l=[],m=this['getContentList'](),p=q=>{var r;const u=null===(r=q['data']['stream'])||void 0x0===r?void 0x0:r['state'];return'Upcoming'===u||'Live'===u;};for(const q of m)q['data']['stream']&&p(q)&&l['push'](q['data']['id']);return l;}['handlePlaylistStateChange'](m,p,q){var v,w,x;const y=this['getContentList'](),z=y['findIndex'](E=>E['data']['id']===m);if(-0x1===z)return;const A=y[z],B=null===(v=A['data']['stream'])||void 0x0===v?void 0x0:v['state'],C=this['getCurrentVideoItem'](),D=m===C['data']['id'];if(D?C['handleExternalStateChange'](p,q):this['mergeContentData'](A,q,B,p),this['playerElement']['dispatchEvent'](new CustomEvent(h['VIDEO_EVENTS']['PLAYLIST_ITEM_UPDATED'],{'detail':{'contentId':m,'newState':p,'isCurrentVideo':D}})),'Ended'===p){const E=this['getPlaylistPollingIds']();0x0===E['length']?this['stop']():null===(w=this['contentPollingService'])||void 0x0===w||w['updateContentIds'](E);}else{if('Upcoming'===p&&'Live'===B){const F=this['getPlaylistPollingIds']();null===(x=this['contentPollingService'])||void 0x0===x||x['updateContentIds'](F);}}}['mergeContentData'](l,m,p,q){'Live'===p&&'Ended'===q?l['data']['stream']&&m['stream']&&(l['data']['stream']['state']=q,l['data']['stream']['endTime']=m['stream']['endTime']):'Upcoming'===p&&'Live'===q?(l['data']['stream']&&m['stream']&&(l['data']['stream']=Object['assign'](Object['assign']({},l['data']['stream']),m['stream'])),m['baseLayer']&&(l['data']['baseLayer']=m['baseLayer'])):l['data']['stream']&&m['stream']&&(l['data']['stream']=Object['assign'](Object['assign']({},l['data']['stream']),m['stream']));}};},0x962:function(f,g,h){'use strict';var j=this&&this['__awaiter']||function(x,y,z,A){return new(z||(z=Promise))(function(B,C){function D(G){try{F(A['next'](G));}catch(H){C(H);}}function E(G){try{F(A['throw'](G));}catch(H){C(H);}}function F(G){var H;G['done']?B(G['value']):(H=G['value'],H instanceof z?H:new z(function(I){I(H);}))['then'](D,E);}F((A=A['apply'](x,y||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['LoggerManager']=void 0x0;const k=h(0x263),m=h(0xa6c),p=h(0x1133),q=h(0x26ed),u=h(0x11c1),v=h(0x227b);class w{constructor(x){this['configuration']=null,this['pendingConfigUpdate']=null,this['isInitialized']=!0x1,this['isDestroyed']=!0x1,this['isSending']=!0x1,this['immediateLogs']=[],this['offlineQueue']=[],this['immediateTimer']=null,this['configUpdateTimer']=null,this['isOnline']=navigator['onLine'],this['onlineStatusListener']=null,this['storage']=new p['LoggerStorage'](x),this['transport']=new p['LoggerTransport'](),this['throttle']=new m['LoggerThrottle'](),this['setupNetworkMonitoring']();}['init'](x){return j(this,void 0x0,void 0x0,function*(){if(this['isDestroyed'])throw new Error('Cannot\x20initialize\x20destroyed\x20logger\x20instance');if(this['isInitialized']||!x)return;const y=(0x0,v['sanitizeBatchSizeConfiguration'])(x);!(0x0,v['validateLoggerConfigurationDetailed'])(y)['isValid']&&y['isEnabled']&&this['setDefaultLoggerConfiguration'](y);try{this['configuration']=y,this['throttle']['updateConfiguration']({'batchIntervalMs':0x3e8*y['loggerBatchIntervalInSeconds'],'maxBatchSize':y['loggerMaxAllowedBatchSize'],'minBatchSize':y['loggerMinAllowedBatchSize']}),this['throttle']['onBatchReady'](()=>this['processBatch']()),this['isInitialized']=!0x0;}catch(z){throw z;}});}['destroy'](){return j(this,void 0x0,void 0x0,function*(){try{this['isInitialized']=!0x1,this['immediateLogs']['length']>0x0&&(yield Promise['race']([this['flushImmediateLogs'](),new Promise(x=>setTimeout(x,0x1388))])),this['isOnline']&&this['offlineQueue']['length']>0x0&&(yield Promise['race']([this['syncOfflineQueue'](),new Promise(x=>setTimeout(x,0x1388))])),this['throttle']['destroy'](),this['immediateTimer']&&(clearTimeout(this['immediateTimer']),this['immediateTimer']=null),this['configUpdateTimer']&&(clearTimeout(this['configUpdateTimer']),this['configUpdateTimer']=null),this['onlineStatusListener']&&(window['removeEventListener']('online',this['onlineStatusListener']),window['removeEventListener']('offline',this['onlineStatusListener']),this['onlineStatusListener']=null);}catch(x){}finally{this['isDestroyed']=!0x0;}});}['updateConfiguration'](x){if(this['isDestroyed'])return;const y=(0x0,v['sanitizeBatchSizeConfiguration'])(x);!(0x0,v['validateLoggerConfigurationDetailed'])(y)['isValid']&&y['isEnabled']&&this['setDefaultLoggerConfiguration'](y),this['pendingConfigUpdate']=y,this['scheduleConfigurationUpdate']();}['log'](x,y,z,A){return j(this,void 0x0,void 0x0,function*(){var B;const C=''+w['LOG_IDENTIFIER_PREFIX']+y;if(!this['isInitialized']||!(null===(B=this['configuration'])||void 0x0===B?void 0x0:B['isEnabled'])||!this['shouldLog'](x)||(0x0,v['shouldIgnoreLog'])(C,this['configuration']['ignoredLogs']||[]))return;const D=(0x0,k['v4'])(),E=(0x0,v['buildLogMetadata'])(u['UserService']['sessionId'],D,C,A),F={'id':D,'level':x,'message':z,'logIdentifier':C,'metadata':JSON['stringify'](E),'timestamp':new Date()['toISOString'](),'priority':(0x0,v['calculateLogPriority'])(x)};try{if(yield this['storage']['store'](F),!this['isOnline'])return void this['addToOfflineQueue'](F);this['throttle']['incrementLogCount'](),this['shouldSendImmediately'](x)?this['addToImmediateBatch'](F):this['throttle']['shouldTriggerBatch']()&&(yield this['processBatch']());}catch(G){}});}['shouldLog'](x){if(!this['configuration'])return!0x1;const y=this['configuration']['logLevel'];return(0x0,v['isLogLevelAllowed'])(x,y);}['shouldSendImmediately'](x){var y;if(!(null===(y=this['configuration'])||void 0x0===y?void 0x0:y['immediateLogLevel']))return!0x1;const z=this['configuration']['immediateLogLevel'];return(0x0,v['isLogLevelAllowed'])(x,z);}['addToImmediateBatch'](x){this['immediateLogs']['push'](x),this['immediateLogs']['length']>=0x5?this['flushImmediateLogs']():this['immediateTimer']||(this['immediateTimer']=setTimeout(()=>{this['flushImmediateLogs']();},0x64));}['flushImmediateLogs'](){return j(this,void 0x0,void 0x0,function*(){this['immediateTimer']&&(clearTimeout(this['immediateTimer']),this['immediateTimer']=null);const x=[...this['immediateLogs']];if(this['immediateLogs']=[],x['length']>0x0){if(!this['isOnline'])return void x['forEach'](y=>this['addToOfflineQueue'](y));try{yield this['sendEntriesAndCleanup'](x);}catch(y){x['forEach'](z=>this['addToOfflineQueue'](z));}}});}['removeEntriesFromStorage'](x){return j(this,void 0x0,void 0x0,function*(){const y=(0x0,v['extractEntryIds'])(x);yield this['storage']['remove'](y);});}['sendEntriesAndCleanup'](x){return j(this,void 0x0,void 0x0,function*(){if(!navigator['onLine'])throw new Error('No\x20internet\x20connection\x20-\x20logs\x20not\x20sent');try{yield this['transport']['send'](x),yield this['removeEntriesFromStorage'](x);}catch(y){if(y instanceof p['BatchRejectedError'])return void(yield this['removeEntriesFromStorage'](x));throw y;}});}['processBatch'](){return j(this,void 0x0,void 0x0,function*(){if(!this['isSending']&&this['isOnline']){this['isSending']=!0x0;try{const x=this['throttle']['minBatchSize'],y=this['throttle']['maxBatchSize'],z=yield this['storage']['getBatch'](y);if(z['length']<x)return;yield this['sendEntriesAndCleanup'](z);}finally{this['isSending']=!0x1;}}});}['setupNetworkMonitoring'](){this['onlineStatusListener']=x=>{const y=this['isOnline'];this['isOnline']=navigator['onLine'],!y&&this['isOnline']&&this['handleNetworkReconnection']();},'undefined'!=typeof window&&(window['addEventListener']('online',this['onlineStatusListener']),window['addEventListener']('offline',this['onlineStatusListener']));}['syncOfflineQueue'](){return j(this,void 0x0,void 0x0,function*(){var x;if(this['isOnline']&&0x0!==this['offlineQueue']['length'])try{const y=(null===(x=this['configuration'])||void 0x0===x?void 0x0:x['loggerMaxAllowedBatchSize'])||0x32;for(;this['offlineQueue']['length']>0x0;){const z=this['offlineQueue']['splice'](0x0,y);yield this['sendEntriesAndCleanup'](z);}}catch(A){}});}['addToOfflineQueue'](x){this['offlineQueue']['push'](x);const {prunedQueue:y,removedCount:z}=(0x0,v['pruneOfflineQueue'])(this['offlineQueue'],0x3e8);this['offlineQueue']=y;}['scheduleConfigurationUpdate'](){this['configUpdateTimer']&&clearTimeout(this['configUpdateTimer']),this['isSending']?this['configUpdateTimer']=setTimeout(()=>{!this['isSending']&&this['pendingConfigUpdate']?this['applyPendingConfiguration']():this['scheduleConfigurationUpdate']();},0x64):this['applyPendingConfiguration']();}['applyPendingConfiguration'](){return j(this,void 0x0,void 0x0,function*(){if(!this['pendingConfigUpdate'])return;const x=this['configuration'],y=this['pendingConfigUpdate'];if(this['configuration']=y,this['pendingConfigUpdate']=null,this['configUpdateTimer']&&(clearTimeout(this['configUpdateTimer']),this['configUpdateTimer']=null),this['resetLoggerState'](),(null==x?void 0x0:x['isEnabled'])&&!y['isEnabled'])try{yield this['storage']['clear']();}catch(z){}y['isEnabled']&&(this['throttle']['updateConfiguration']({'batchIntervalMs':0x3e8*y['loggerBatchIntervalInSeconds'],'maxBatchSize':y['loggerMaxAllowedBatchSize'],'minBatchSize':y['loggerMinAllowedBatchSize']}),this['throttle']['onBatchReady'](()=>this['processBatch']()));});}['resetLoggerState'](){this['immediateLogs']=[],this['offlineQueue']=[],this['isSending']=!0x1,this['immediateTimer']&&(clearTimeout(this['immediateTimer']),this['immediateTimer']=null),this['isOnline']=navigator['onLine'];}['handleNetworkReconnection'](){return j(this,void 0x0,void 0x0,function*(){try{yield new Promise(x=>setTimeout(x,0x3e8)),this['offlineQueue']['length']>0x0&&(yield this['syncOfflineQueue']()),yield this['processBatch']();}catch(x){}});}['setDefaultLoggerConfiguration'](x){return x['loggerBatchIntervalInSeconds']=0x1e,x['loggerMaxAllowedBatchSize']=0x50,x['loggerMinAllowedBatchSize']=0x1,x['logLevel']=q['LogLevel']['ERROR'],x['immediateLogLevel']=q['LogLevel']['CRITICAL'],x['ignoredLogs']=[],x;}}g['LoggerManager']=w,w['LOG_IDENTIFIER_PREFIX']='Web_';},0x969:(d,f)=>{'use strict';var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ErrorLoadingCodeMapper']=f['ErrorCode']=void 0x0,function(h){h[h['FailedToFindContainerId']=0x1]='FailedToFindContainerId',h[h['FailedContainerIdHasWidgetAlready']=0x2]='FailedContainerIdHasWidgetAlready',h[h['FailedLoadingAppConfigurations']=0x3]='FailedLoadingAppConfigurations',h[h['FailedLoadingStories']=0x64]='FailedLoadingStories',h[h['FailedEnrichStories']=0x65]='FailedEnrichStories',h[h['FailedToHaveLabels']=0x67]='FailedToHaveLabels',h[h['FailedLoadingMoments']=0x6e]='FailedLoadingMoments',h[h['FailedEnrichMoments']=0x6f]='FailedEnrichMoments',h[h['FailedLoadingVideos']=0x78]='FailedLoadingVideos',h[h['FailedEnrichVideos']=0x79]='FailedEnrichVideos',h[h['VisualViewportScaled']=0x96]='VisualViewportScaled',h[h['VideoError']=0xc8]='VideoError',h[h['PreviewStoryNotFound']=0x12c]='PreviewStoryNotFound',h[h['PreviewStoryLoadFailed']=0x12d]='PreviewStoryLoadFailed',h[h['PreviewMomentNotFound']=0x136]='PreviewMomentNotFound',h[h['PreviewMomentLoadFailed']=0x137]='PreviewMomentLoadFailed';}(g||(f['ErrorCode']=g={})),f['ErrorLoadingCodeMapper']={'story':g['FailedLoadingStories'],'moment':g['FailedLoadingMoments'],'video':g['FailedLoadingVideos']};},0x982:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['DEFAULT_LIVE_EDGE_CONFIG']=void 0x0,f['DEFAULT_LIVE_EDGE_CONFIG']={'liveEdgeThresholdMs':0x2710,'targetSegmentsBack':0x3,'additionalBufferSeconds':0x5};},0x9b6:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StreamDateFormatter']=void 0x0,f['StreamDateFormatter']=class{constructor(g){this['locale']=g||navigator['language']||'en-US';}['format'](g){const h=new Date(g),j=new Intl['DateTimeFormat'](this['locale'],{'month':'short','day':'numeric','weekday':'short','hour':'2-digit','minute':'2-digit','hour12':!0x0})['formatToParts'](h);return this['getPart'](j,'month')+'\x20'+this['getPart'](j,'day')+',\x20'+this['getPart'](j,'weekday')['toUpperCase']()+'\x20|\x20'+this['getPart'](j,'hour')+':'+this['getPart'](j,'minute')+this['getPart'](j,'dayPeriod')['toUpperCase']();}['getPart'](g,h){var j;const k=g['find'](l=>l['type']===h);return null!==(j=null==k?void 0x0:k['value'])&&void 0x0!==j?j:'';}};},0x9c3:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeTitleImage']=void 0x0;const h=g(0x1133),j=g(0x132a),k=g(0x2432);class l extends h['BaseWidget']{static get['observedAttributes'](){return['size','visible'];}constructor(){super(),this['abortController']=null,this['imgElement']=document['createElement']('img'),this['imgElement']['referrerPolicy']='no-referrer',(0x0,k['mergeStyles'])(this['imgElement'],{'width':'100%','height':'100%','objectFit':'cover','objectPosition':'center','display':'none','opacity':'0','transition':'opacity\x200.2s\x20ease'});}['connectedCallback'](){this['imgElement']['parentNode']||this['appendChild'](this['imgElement']),this['setStyle']({'borderRadius':'50%','overflow':'hidden','display':'none','alignItems':'center','justifyContent':'center','backgroundColor':'transparent','flexShrink':'0','alignSelf':'center'});}['attributeChangedCallback'](m,p,q){switch(m){case'size':this['onSizeChanged'](q);break;case'visible':this['onVisibleChanged'](q);}}['load'](m,p){var q;if(this['imgElement']['alt']=p['title']+'\x20image',null===(q=this['abortController'])||void 0x0===q||q['abort'](),this['abortController']=null,p['isAd'])return void this['hide']();const r='static'===m['sourceMode']?m['staticUrl']:p['titleImageUrl']||m['dynamicFallbackUrl'];if('string'!=typeof r)return void this['hide']();this['showPlaceholder']();const u=new AbortController();this['abortController']=u,(0x0,k['attemptLoadImageElementUrl'])(r,this['imgElement'],u['signal'])['then'](()=>this['onLoadSuccess'](u))['catch'](()=>{u['signal']['aborted']||'dynamic'===m['sourceMode']&&m['dynamicFallbackUrl']&&(0x0,k['attemptLoadImageElementUrl'])(m['dynamicFallbackUrl'],this['imgElement'],u['signal'])['then'](()=>this['onLoadSuccess'](u))['catch'](()=>{});});}['disconnectedCallback'](){var m;null===(m=this['abortController'])||void 0x0===m||m['abort'](),this['abortController']=null;}['onSizeChanged'](m){const p=Number(m||0x0),q=isNaN(p)?0x0:p,r=Math['min'](q,l['TITLE_IMAGE_MAX_SIZE'])+'px';this['setStyle']({'width':r,'height':r,'minWidth':r});}['onVisibleChanged'](m){this['setStyle']({'display':'true'===m?l['DISPLAY_VISIBLE']:'none'});}['showPlaceholder'](){this['setStyle']({'backgroundColor':j['Colors']['PlaceholderGray'],'display':l['DISPLAY_VISIBLE']}),this['imgElement']['style']['display']='none',this['imgElement']['style']['opacity']='0',this['imgElement']['onload']=null,this['imgElement']['onerror']=null,this['imgElement']['removeAttribute']('src');}['hide'](){this['setStyle']({'backgroundColor':'transparent','display':'none'}),this['imgElement']['style']['display']='none',this['imgElement']['style']['opacity']='0',this['imgElement']['onload']=null,this['imgElement']['onerror']=null,this['imgElement']['removeAttribute']('src');}['onLoadSuccess'](m){m['signal']['aborted']||(this['setStyle']({'backgroundColor':'transparent'}),this['imgElement']['style']['display']='block',requestAnimationFrame(()=>{this['imgElement']['style']['opacity']='1';}));}}f['BlazeTitleImage']=l,l['TITLE_IMAGE_MAX_SIZE']=0x20,l['DISPLAY_VISIBLE']='flex';},0x9c4:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['findOpenModal']=k,f['findOpenMomentModal']=function(){const l=k();if(l&&l instanceof h['BlazeWidgetMomentModal'])return l;};const h=g(0xab4),j=g(0x14c);function k(){const l=document['getElementsByTagName']('blaze-sdk')[0x0];if(l)for(let m=0x0;m<l['children']['length'];m++){const p=l['children'][m];if(p instanceof j['BlazeWidgetModal']&&p['isOpen'])return p;}}},0x9ca:(d,f)=>{'use strict';var g,h;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['InternalEvent']=f['Delegation']=void 0x0,function(j){j['onEventTriggered']='blaze-event-triggered',j['onErrorThrown']='blaze-error-event',j['onPlayerDidAppear']='blaze-player-did-appear',j['onPlayerDismissed']='blaze-player-dismissed',j['onWidgetDataLoadStarted']='blaze-widget-data-load-started',j['onWidgetDataLoadCompleted']='blaze-widget-data-load-completed',j['onWidgetPlayerDismissed']='blaze-widget-player-dismissed',j['onWidgetTriggerCTA']='blaze-widget-trigger-CTA',j['onMomentStart']='blaze-moment-start',j['onStoryPlayerDidAppear']='blaze-story-player-did-appear',j['onStoryPlayerDismissed']='blaze-story-player-dismissed',j['onWidgetStoryPlayerDismissed']='blaze-widget-story-player-dismissed';}(g||(f['Delegation']=g={})),function(j){j['NEXT_STORY']='next_story',j['PREV_STORY']='prev_story',j['FULL_SCREEN_CLICK']='full_screen_click',j['AD_ENDED']='ad_ended',j['AD_RESUMED']='ad_resumed',j['AD_STARTED']='ad_started',j['BANNER_ANALYTICS']='banner_analytics',j['PAUSE']='pause',j['RESUME']='resume',j['NEXT_PAGE']='next_page',j['PREVIOUS_PAGE']='previous_page';}(h||(f['InternalEvent']=h={}));},0x9f3:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EventBusService']=void 0x0;const h=g(0x1133);class j extends(0x0,h['Singleton'])(){constructor(){super(...arguments),this['subscribers']={};}['init'](){this['subscribers']={};}['publish'](k,l){const m=this['subscribers'][k];void 0x0!==m&&Object['keys'](m)['forEach'](p=>m[p](l));}['subscribe'](k,l){const m=this['getNextId']();return this['subscribers'][k]||(this['subscribers'][k]={}),this['subscribers'][k][m]=l,{'unsubscribed':()=>{this['subscribers'][k]&&(delete this['subscribers'][k][m],0x0===Object['keys'](this['subscribers'][k])['length']&&delete this['subscribers'][k]);}};}['getNextId'](){return j['nextId']++;}}j['nextId']=0x0,f['EventBusService']=j['getInstance']();},0xa1c:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['animationCssMapper']=void 0x0,f['animationCssMapper']={'Growing':'grow','Shrinking':'shrink','BottomToTop':'bottomToTop'};},0xa29:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetVideoModal']=void 0x0;const m=j(0x1133),p=j(0x1932),q=j(0x26ed),u=j(0x22d9),v=j(0x11c1),w=j(0x14c);let x=window['innerWidth'];class y extends w['BlazeWidgetModal']{constructor(z,A,B=v['VideoPlayerService']){super('video',B),this['parentWidget']=z,this['playerLayout']=A,this['videoPlayerState']=B,this['data']=[],this['boundOnResizeEventDelay']=this['onResizeEventDelay']['bind'](this),this['boundOnKeyDown']=this['onKeyDown']['bind'](this),this['boundOnBeforeUnload']=this['onBeforeUnload']['bind'](this);}get['currentPlayedContent'](){return this['player']['playerContentList'][0x0];}['connectedCallback'](){super['connectedCallback'](),window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener'](m['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']),m['deviceDetector']['isDesktop']&&(window['addEventListener']('keydown',this['boundOnKeyDown']),window['addEventListener']('beforeunload',this['boundOnBeforeUnload'])),this['render']();}['disconnectedCallback'](){var z;super['disconnectedCallback'](),window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener'](m['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']),m['deviceDetector']['isDesktop']&&(window['removeEventListener']('keydown',this['boundOnKeyDown']),window['removeEventListener']('beforeunload',this['boundOnBeforeUnload'])),null===(z=this['player'])||void 0x0===z||z['destroy']();}['setTheme'](z){var A;this['playerLayout']=z,this['style']['background']=z['backgroundColor'],null===(A=this['currentPlayedContent'])||void 0x0===A||A['setTheme'](z);}['setModalContent'](z){this['data']=z,this['style']['background']=this['playerLayout']['backgroundColor'];const A=[];for(let B=0x0;B<z['length'];B++){const C=u['WidgetsFactory']['create']('blaze-video-element');C['setTheme'](this['playerLayout']),C['setData'](z[B]),C['setModal'](this),A['push'](C);}this['player']['setContent'](A);}['onBeforeUnload'](){return this['isOpen']&&this['dispatchExitEvent'](),null;}['dispatchExitEvent'](){var z,A;const B=this['currentPlayedContent'];B['emitVideoEnd']('Page\x20Unload'),v['AnalyticsService']['sendAnalyticsData'](),null===(A=null===(z=B['widgetParentItem'])||void 0x0===z?void 0x0:z['updateWidget'])||void 0x0===A||A['call'](z),B['updateWidgetStatusReadUnread']();}['close'](){const z=Object['create'](null,{'close':{'get':()=>super['close']}});return k(this,void 0x0,void 0x0,function*(){var A,B,C;if(!this['isOpen'])return;if(!this['isAllowExitModal']({'shouldDismissPlayer':v['ConfigService']['shouldDismissPlayer'],'playReference':v['VideoPlayerService']['playReference']}))return;const D=this['player']['playerContentList'][0x0];D['exitTrigger']='Escape\x20Button',D['event'](p['VideoAction']['VideoEnd'],{}),v['EventService']['dispatch'](this,q['Delegation']['onPlayerDismissed']),this['parentWidget']&&v['EventService']['dispatch'](this['parentWidget'],q['Delegation']['onWidgetPlayerDismissed'],{'widgetId':this['parentWidget']['id']}),yield this['player']['tryToCloseFullscreen'](),null===(B=null===(A=this['player'])||void 0x0===A?void 0x0:A['pollingManager'])||void 0x0===B||B['stop'](),z['close']['call'](this),null===(C=this['onClose'])||void 0x0===C||C['call'](this);});}['open'](){var z,A;this['isOpen']||v['EventService']['dispatch'](this,q['Delegation']['onPlayerDidAppear']),super['open'](),null===(z=this['currentPlayedContent'])||void 0x0===z||z['resetLifecycle'](),this['player']['load'](),this['player']['play'](),null===(A=this['onOpen'])||void 0x0===A||A['call'](this);}['play'](){}['onKeyDown'](z){this['isOpen']&&!document['fullscreenElement']&&'Escape'==z['key']&&this['close']();}['onResize'](){super['onResize'](),x!==window['innerWidth']&&(x=window['innerWidth']);}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},p['ONE_SECOND']/0x2);}}g['BlazeWidgetVideoModal']=y;},0xa62:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoUICoordinator']=void 0x0,f['VideoUICoordinator']=class{constructor(g){this['overlay']=g,this['isLiveMode']=!0x1;}['setTheme'](g){this['overlay']['setTheme'](g);}['syncTime'](g,h,j){h&&j&&this['overlay']['setCurrentTime'](g),this['overlay']['videoSeekBar']['updateProgressBar'](g,h);}['setInitialPosition'](g,h){g<=0x0||h<=0x0||(this['overlay']['videoSeekBar']['updateProgressBar'](g,h),this['overlay']['setCurrentTime'](g));}['setDuration'](g){this['overlay']['setVideoDuration'](g);}['setCurrentTime'](g){this['overlay']['setCurrentTime'](g);}['setPlayingState'](g){g?(this['overlay']['videoSeekBar']['onContentResumed'](),this['overlay']['videoTimer']['setLayout']('player'),this['overlay']['videoNavigationOverlay']['hideReplayButton']()):this['overlay']['videoSeekBar']['onContentPaused']();}['setSeekingState'](g){this['overlay']['videoTimer']['setLayout']('seeking'),this['overlay']['setCurrentTime'](g);}['showLoader'](){this['overlay']['showLoader']();}['hideLoader'](){this['overlay']['hideLoader']();}['showOverlay'](){this['overlay']['setAttribute']('hidden','false');}['hideOverlay'](){this['overlay']['setAttribute']('hidden','true');}['setLiveMode'](g){this['isLiveMode']=g,this['overlay']['setLiveMode'](g),this['overlay']['videoSeekBar']['setLiveMode'](g),this['overlay']['videoTimer']['setLiveMode'](g);}['updateLiveEdgeState'](g){this['overlay']['updateLiveEdgeState'](g);}['markTransitionFromLive'](){this['isLiveMode']&&this['overlay']['videoSeekBar']['markTransitioningFromLive']();}['setMuteState'](g){this['overlay']['setMuteState'](g);}['setFullscreenState'](g){this['overlay']['setFullscreenState'](g);}['setTitle'](g){this['overlay']['setAttribute']('video-title',g);}['setLikedState'](g){this['overlay']['setLikedState'](g);}['setCta'](g){this['overlay']['setCta'](g);}['removeCta'](){this['overlay']['removeCta']();}['setClosedCaptionState'](g){this['overlay']['setClosedCaptionState'](g);}['updateClosedCaptionIcon'](g){this['overlay']['updateClosedCaptionButtonIcon'](g);}['updateStreamState'](g){this['overlay']['updateStreamState'](g);}['updateStreamStatus'](){this['overlay']['updateStreamStatus']();}['reset'](){this['overlay']['videoSeekBar']['reset'](),this['overlay']['videoTimer']['resetTimer']();}['getOverlay'](){return this['overlay'];}};},0xa6c:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x962),f),j(g(0x1330),f),j(g(0x4d0),f),j(g(0x17f5),f),j(g(0xc8),f);},0xab4:function(f,j,k){'use strict';var m=this&&this['__awaiter']||function(H,I,J,K){return new(J||(J=Promise))(function(L,M){function N(Q){try{P(K['next'](Q));}catch(R){M(R);}}function O(Q){try{P(K['throw'](Q));}catch(R){M(R);}}function P(Q){var R;Q['done']?L(Q['value']):(R=Q['value'],R instanceof J?R:new J(function(S){S(R);}))['then'](N,O);}P((K=K['apply'](H,I||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetMomentModal']=void 0x0;const q=k(0x1133),w=k(0x1932),x=k(0x26ed),y=k(0x22d9),z=k(0x11c1),A=k(0x2432),B=k(0x19e3),C=k(0x14c),D=k(0x1f70),E=k(0x1098);let F=window['innerWidth'];class G extends C['BlazeWidgetModal']{constructor(H,I,J){super('moment'),this['parentWidget']=H,this['playerLayout']=I,this['actionHandlers']=J,this['data']=[],this['playlistSessionId']='',this['navigationButtonsContainerElement']=y['WidgetsFactory']['create']('blaze-div'),this['navigationButtonsContainerElement']['setStyle']({'display':'flex','position':'absolute','right':'36px','flexDirection':'column','justifyContent':'center','alignItems':'normal','height':'100%','gap':'16px'}),'desktop'===q['deviceDetector']['platform']&&(this['prevContentButtonElement']=this['createNavigationButton']('PREV'),this['nextContentButtonElement']=this['createNavigationButton']('NEXT')),this['boundOnKeyDown']=this['onKeyDown']['bind'](this),this['boundOnResizeEventDelay']=this['onResizeEventDelay']['bind'](this),this['boundOnNavigationChange']=this['onNavigationChange']['bind'](this);}['connectedCallback'](){super['connectedCallback'](),'desktop'===q['deviceDetector']['platform']&&(this['addEventListener'](E['UPDATE_NAVIGATION_BUTTONS_EVENT'],this['boundOnNavigationChange']),window['addEventListener']('keydown',this['boundOnKeyDown']),this['exitButtonElement']['setIconUrl'](this['playerLayout']['icons']['exit'])),window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener'](q['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']),this['render']();}['disconnectedCallback'](){super['disconnectedCallback'](),'desktop'===q['deviceDetector']['platform']&&(this['removeEventListener'](E['UPDATE_NAVIGATION_BUTTONS_EVENT'],this['boundOnNavigationChange']),window['removeEventListener']('keydown',this['boundOnKeyDown']));}['setTheme'](H){this['player']['playerContentList']['forEach'](I=>{I instanceof D['BlazeWidgetMoment']&&I['setTheme'](H);}),this['playerLayout']=H;}['onNavigationChange'](H){var I,J;if('mobile'===q['deviceDetector']['platform']||'tablet'===q['deviceDetector']['platform'])return;const {detail:{prevContentButton:K,nextContentButton:L}}=H;null===(I=this['prevContentButtonElement'])||void 0x0===I||I['setAttribute']('blaze-btn-visible',!0x0===K?'true':'false'),null===(J=this['nextContentButtonElement'])||void 0x0===J||J['setAttribute']('blaze-btn-visible',!0x0===L?'true':'false');}['navigateContent'](H){z['VideoPlayerService']['isNavigating']||(this['player']['contentList'][this['player']['index']]['isActive']=!0x1,this['player']['changeContent'](H));}['createNavigationButton'](H){const I=y['WidgetsFactory']['create']('blaze-button');I['setAttribute']('data-testid','moment-navigation-'+H['toLowerCase']()),I['classList']['add']('desktop-button'),I['setStyle']({'display':'inline-flex','zIndex':'9999','padding':'24px','borderRadius':'50%','backgroundColor':'#18181899'});const {nextMoment:J,prevMoment:K}=this['playerLayout']['icons']['navigation'],L='NEXT'===H?J:K;I['setIconUrl'](L),I['setAttribute']('width','24px'),I['setAttribute']('height','24px'),I['setAttribute']('icon-color','#F0F0F0');const M='NEXT'===H?'Next\x20moment':'Previous\x20moment';return I['setAttribute']('aria-label',M),I['setAttribute']('role','button'),I['setAttribute']('tabindex','0'),I['addEventListener']('click',()=>this['handleClickNavigation'](H)),this['navigationButtonsContainerElement']['append'](I),I;}['handleClickNavigation'](H){var I,J,K;if(this['player']['isNavigationBlocked'])return;if(null===(J=null===(I=this['player']['currentMoment'])||void 0x0===I?void 0x0:I['video'])||void 0x0===J?void 0x0:J['isCurrentlyTryingToRunImaAd'])return;if(z['VideoPlayerService']['isNavigating'])return;if(!this['player']['isContentDirectionInPlayerListValid'](H))return;const L=this['player']['playerContentList'][this['player']['index']];null===(K=L['closedCaptionsModal'])||void 0x0===K||K['close'](),L['exitTrigger']='Skip',this['navigateContent'](H);}['generateMomentElement'](H){const I=y['WidgetsFactory']['create']('blaze-widget-moment');return this['actionHandlers']&&I['setActionHandlers'](this['actionHandlers']),I['setPlayerStyle'](this['playerLayout']),I['setData'](H),I['setModal'](this),I;}['generateAdMomentElement'](H){return H['setModal'](this),H['setPlayerStyle'](this['playerLayout']),this['actionHandlers']&&H['setActionHandlers'](this['actionHandlers']),H;}['setModalContent'](H,I,J){this['data']=[...H];const K=[];for(let L=0x0;L<H['length'];L++){const M=this['generateMomentElement'](H[L]);K['push'](M);const N=z['AdService']['pushAdsBetweenMoments'](J,K,H,L,I);N&&this['generateAdMomentElement'](N);}K['forEach']((O,P)=>O['setContentExtraInfo'](this['player']['getContentExtraInfo'](K,P))),this['player']['setContent'](K);}['appendContent'](H,I){if(!H||0x0===H['length'])return;const J=H['filter'](M=>!this['data']['some'](N=>N['id']===M['id']));this['data']['push'](...J);const K=[];for(let M=0x0;M<J['length'];M++){const N=this['generateMomentElement'](J[M]);K['push'](N);const O=z['AdService']['pushAdsBetweenMoments'](I,K,J,M,0x0);O&&this['generateAdMomentElement'](O);}const L=[...this['player']['contentList'],...K];K['forEach']((P,Q)=>{const R=this['player']['contentList']['length']+Q;P['momentIndex']=R,P['setContentExtraInfo'](this['player']['getContentExtraInfo'](L,R));}),this['player']['appendToContentList'](K);}['onKeyDown'](H){this['isOpen']&&'Escape'==H['key']&&(this['player']['playerContentList'][this['player']['index']]['exitTrigger']='Escape\x20Button',this['close']());}['close'](){var H,I;if(!this['isOpen'])return;const J=this['player']['playerContentList'][this['player']['index']];J['event'](w['MomentAction']['MomentExit'],{}),J['event'](w['MomentAction']['MomentsPlaylistExit'],{}),z['EventService']['dispatch'](this,x['Delegation']['onPlayerDismissed']),this['parentWidget']&&(z['EventService']['dispatch'](this['parentWidget'],x['Delegation']['onWidgetPlayerDismissed'],{'widgetId':this['parentWidget']['id']}),J['data']['hasViewed']=!0x0,this['parentWidget']instanceof B['WidgetBaseLayout']&&this['parentWidget']['widgetItems']['forEach'](K=>{K['content']['id']===J['data']['id']&&(K['setChipStyle'](),K['render']());})),this['playlistSessionId']='',null===(H=this['player'])||void 0x0===H||H['playerContentList']['forEach'](K=>{K['unload']();}),super['close'](),null===(I=this['onClose'])||void 0x0===I||I['call'](this);}['open'](){const H=Object['create'](null,{'open':{'get':()=>super['open']}});return m(this,void 0x0,void 0x0,function*(){var I;this['isOpen']||z['EventService']['dispatch'](this,x['Delegation']['onPlayerDidAppear']),this['playlistSessionId']=(0x0,A['getRandomId'])();const J=this['player'];yield J['playerContentList'][J['index']]['load']('direct'),J['preloadAdjacentPosters'](),J['preloadAdjacentVideos'](),H['open']['call'](this),null===(I=this['onOpen'])||void 0x0===I||I['call'](this),'desktop'===q['deviceDetector']['platform']&&(this['appendChild'](this['navigationButtonsContainerElement']),this['appendExitButton']()),this['player']['configurePlayerContentAccessibility']();});}['play'](){this['player']['play']();}['setExitButtonDisplay'](){'desktop'===q['deviceDetector']['platform']&&(this['exitButtonWrapperElement']['style']['display']='block');}['render'](){var H;this['setExitButtonDisplay'](),null===(H=this['player'])||void 0x0===H||H['render']();}['onResize'](){super['onResize'](),F!==window['innerWidth']&&(F=window['innerWidth']);}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},w['ONE_SECOND']/0x2);}}j['BlazeWidgetMomentModal']=G;},0xab7:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xac5:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xad8:(a0,a1,a2)=>{'use strict';a2['r'](a1),a2['d'](a1,{'default':()=>aV});var a3={'update':null,'begin':null,'loopBegin':null,'changeBegin':null,'change':null,'changeComplete':null,'loopComplete':null,'complete':null,'loop':0x1,'direction':'normal','autoplay':!0x0,'timelineOffset':0x0},a4={'duration':0x3e8,'delay':0x0,'endDelay':0x0,'easing':'easeOutElastic(1,\x20.5)','round':0x0},a5=['translateX','translateY','translateZ','rotate','rotateX','rotateY','rotateZ','scale','scaleX','scaleY','scaleZ','skew','skewX','skewY','perspective','matrix','matrix3d'],a6={'CSS':{},'springs':{}};function a7(aW,aX,aY){return Math['min'](Math['max'](aW,aX),aY);}function a8(aW,aX){return aW['indexOf'](aX)>-0x1;}function a9(aW,aX){return aW['apply'](null,aX);}var aa={'arr':function(aW){return Array['isArray'](aW);},'obj':function(aW){return a8(Object['prototype']['toString']['call'](aW),'Object');},'pth':function(aW){return aa['obj'](aW)&&aW['hasOwnProperty']('totalLength');},'svg':function(aW){return aW instanceof SVGElement;},'inp':function(aW){return aW instanceof HTMLInputElement;},'dom':function(aW){return aW['nodeType']||aa['svg'](aW);},'str':function(aW){return'string'==typeof aW;},'fnc':function(aW){return'function'==typeof aW;},'und':function(aW){return void 0x0===aW;},'nil':function(aW){return aa['und'](aW)||null===aW;},'hex':function(aW){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i['test'](aW);},'rgb':function(aW){return/^rgb/['test'](aW);},'hsl':function(aW){return/^hsl/['test'](aW);},'col':function(aW){return aa['hex'](aW)||aa['rgb'](aW)||aa['hsl'](aW);},'key':function(aW){return!a3['hasOwnProperty'](aW)&&!a4['hasOwnProperty'](aW)&&'targets'!==aW&&'keyframes'!==aW;}};function ab(aW){var aX=/\(([^)]+)\)/['exec'](aW);return aX?aX[0x1]['split'](',')['map'](function(aY){return parseFloat(aY);}):[];}function ac(aW,aX){var aY=ab(aW),aZ=a7(aa['und'](aY[0x0])?0x1:aY[0x0],0.1,0x64),b0=a7(aa['und'](aY[0x1])?0x64:aY[0x1],0.1,0x64),b1=a7(aa['und'](aY[0x2])?0xa:aY[0x2],0.1,0x64),b2=a7(aa['und'](aY[0x3])?0x0:aY[0x3],0.1,0x64),b3=Math['sqrt'](b0/aZ),b4=b1/(0x2*Math['sqrt'](b0*aZ)),b5=b4<0x1?b3*Math['sqrt'](0x1-b4*b4):0x0,b6=b4<0x1?(b4*b3-b2)/b5:-b2+b3;function b7(b8){var b9=aX?aX*b8/0x3e8:b8;return b9=b4<0x1?Math['exp'](-b9*b4*b3)*(0x1*Math['cos'](b5*b9)+b6*Math['sin'](b5*b9)):(0x1+b6*b9)*Math['exp'](-b9*b3),0x0===b8||0x1===b8?b8:0x1-b9;}return aX?b7:function(){var b8=a6['springs'][aW];if(b8)return b8;for(var b9=0x1/0x6,ba=0x0,bb=0x0;;)if(0x1===b7(ba+=b9)){if(++bb>=0x10)break;}else bb=0x0;var bc=ba*b9*0x3e8;return a6['springs'][aW]=bc,bc;};}function ad(aW){return void 0x0===aW&&(aW=0xa),function(aX){return Math['ceil'](a7(aX,0.000001,0x1)*aW)*(0x1/aW);};}var ae,af,ag=(function(){var aW=0.1;function aX(b2,b3){return 0x1-0x3*b3+0x3*b2;}function aY(b2,b3){return 0x3*b3-0x6*b2;}function aZ(b2){return 0x3*b2;}function b0(b2,b3,b4){return((aX(b3,b4)*b2+aY(b3,b4))*b2+aZ(b3))*b2;}function b1(b2,b3,b4){return 0x3*aX(b3,b4)*b2*b2+0x2*aY(b3,b4)*b2+aZ(b3);}return function(b2,b3,b4,b5){if(0x0<=b2&&b2<=0x1&&0x0<=b4&&b4<=0x1){var b6=new Float32Array(0xb);if(b2!==b3||b4!==b5){for(var b7=0x0;b7<0xb;++b7)b6[b7]=b0(b7*aW,b2,b4);}return function(b8){return b2===b3&&b4===b5||0x0===b8||0x1===b8?b8:b0(function(b9){for(var ba=0x0,bb=0x1;0xa!==bb&&b6[bb]<=b9;++bb)ba+=aW;--bb;var bc=ba+(b9-b6[bb])/(b6[bb+0x1]-b6[bb])*aW,bd=b1(bc,b2,b4);return bd>=0.001?function(be,bf,bg,bh){for(var bi=0x0;bi<0x4;++bi){var bj=b1(bf,bg,bh);if(0x0===bj)return bf;bf-=(b0(bf,bg,bh)-be)/bj;}return bf;}(b9,bc,b2,b4):0x0===bd?bc:function(be,bf,bg,bh,bi){var bj,bk,bl=0x0;do{(bj=b0(bk=bf+(bg-bf)/0x2,bh,bi)-be)>0x0?bg=bk:bf=bk;}while(Math['abs'](bj)>1e-7&&++bl<0xa);return bk;}(b9,ba,ba+aW,b2,b4);}(b8),b3,b5);};}};}()),ah=(ae={'linear':function(){return function(aW){return aW;};}},af={'Sine':function(){return function(aW){return 0x1-Math['cos'](aW*Math['PI']/0x2);};},'Circ':function(){return function(aW){return 0x1-Math['sqrt'](0x1-aW*aW);};},'Back':function(){return function(aW){return aW*aW*(0x3*aW-0x2);};},'Bounce':function(){return function(aW){for(var aX,aY=0x4;aW<((aX=Math['pow'](0x2,--aY))-0x1)/0xb;);return 0x1/Math['pow'](0x4,0x3-aY)-7.5625*Math['pow']((0x3*aX-0x2)/0x16-aW,0x2);};},'Elastic':function(aW,aX){void 0x0===aW&&(aW=0x1),void 0x0===aX&&(aX=0.5);var aY=a7(aW,0x1,0xa),aZ=a7(aX,0.1,0x2);return function(b0){return 0x0===b0||0x1===b0?b0:-aY*Math['pow'](0x2,0xa*(b0-0x1))*Math['sin']((b0-0x1-aZ/(0x2*Math['PI'])*Math['asin'](0x1/aY))*(0x2*Math['PI'])/aZ);};}},['Quad','Cubic','Quart','Quint','Expo']['forEach'](function(aW,aX){af[aW]=function(){return function(aY){return Math['pow'](aY,aX+0x2);};};}),Object['keys'](af)['forEach'](function(aW){var aX=af[aW];ae['easeIn'+aW]=aX,ae['easeOut'+aW]=function(aY,aZ){return function(b0){return 0x1-aX(aY,aZ)(0x1-b0);};},ae['easeInOut'+aW]=function(aY,aZ){return function(b0){return b0<0.5?aX(aY,aZ)(0x2*b0)/0x2:0x1-aX(aY,aZ)(-0x2*b0+0x2)/0x2;};},ae['easeOutIn'+aW]=function(aY,aZ){return function(b0){return b0<0.5?(0x1-aX(aY,aZ)(0x1-0x2*b0))/0x2:(aX(aY,aZ)(0x2*b0-0x1)+0x1)/0x2;};};}),ae);function ai(aW,aX){if(aa['fnc'](aW))return aW;var aY=aW['split']('(')[0x0],aZ=ah[aY],b0=ab(aW);switch(aY){case'spring':return ac(aW,aX);case'cubicBezier':return a9(ag,b0);case'steps':return a9(ad,b0);default:return a9(aZ,b0);}}function aj(aW){try{return document['querySelectorAll'](aW);}catch(aX){return;}}function ak(aW,aX){for(var aY=aW['length'],aZ=arguments['length']>=0x2?arguments[0x1]:void 0x0,b0=[],b1=0x0;b1<aY;b1++)if(b1 in aW){var b2=aW[b1];aX['call'](aZ,b2,b1,aW)&&b0['push'](b2);}return b0;}function al(aW){return aW['reduce'](function(aX,aY){return aX['concat'](aa['arr'](aY)?al(aY):aY);},[]);}function am(aW){return aa['arr'](aW)?aW:(aa['str'](aW)&&(aW=aj(aW)||aW),aW instanceof NodeList||aW instanceof HTMLCollection?[]['slice']['call'](aW):[aW]);}function an(aW,aX){return aW['some'](function(aY){return aY===aX;});}function ao(aW){var aX={};for(var aY in aW)aX[aY]=aW[aY];return aX;}function ap(aW,aX){var aY=ao(aW);for(var aZ in aW)aY[aZ]=aX['hasOwnProperty'](aZ)?aX[aZ]:aW[aZ];return aY;}function aq(aW,aX){var aY=ao(aW);for(var aZ in aX)aY[aZ]=aa['und'](aW[aZ])?aX[aZ]:aW[aZ];return aY;}function ar(aW){var aX=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/['exec'](aW);if(aX)return aX[0x1];}function as(aW,aX){return aa['fnc'](aW)?aW(aX['target'],aX['id'],aX['total']):aW;}function at(aW,aX){return aW['getAttribute'](aX);}function au(aW,aX,aY){if(an([aY,'deg','rad','turn'],ar(aX)))return aX;var aZ=a6['CSS'][aX+aY];if(!aa['und'](aZ))return aZ;var b0=document['createElement'](aW['tagName']),b1=aW['parentNode']&&aW['parentNode']!==document?aW['parentNode']:document['body'];b1['appendChild'](b0),b0['style']['position']='absolute',b0['style']['width']=0x64+aY;var b2=0x64/b0['offsetWidth'];b1['removeChild'](b0);var b3=b2*parseFloat(aX);return a6['CSS'][aX+aY]=b3,b3;}function av(aW,aX,aY){if(aX in aW['style']){var aZ=aX['replace'](/([a-z])([A-Z])/g,'$1-$2')['toLowerCase'](),b0=aW['style'][aX]||getComputedStyle(aW)['getPropertyValue'](aZ)||'0';return aY?au(aW,b0,aY):b0;}}function aw(aW,aX){return aa['dom'](aW)&&!aa['inp'](aW)&&(!aa['nil'](at(aW,aX))||aa['svg'](aW)&&aW[aX])?'attribute':aa['dom'](aW)&&an(a5,aX)?'transform':aa['dom'](aW)&&'transform'!==aX&&av(aW,aX)?'css':null!=aW[aX]?'object':void 0x0;}function ax(aW){if(aa['dom'](aW)){for(var aX,aY=aW['style']['transform']||'',aZ=/(\w+)\(([^)]*)\)/g,b0=new Map();aX=aZ['exec'](aY);)b0['set'](aX[0x1],aX[0x2]);return b0;}}function ay(aW,aX,aY,aZ){switch(aw(aW,aX)){case'transform':return function(b0,b1,b2,b3){var b4=a8(b1,'scale')?0x1:0x0+function(b6){return a8(b6,'translate')||'perspective'===b6?'px':a8(b6,'rotate')||a8(b6,'skew')?'deg':void 0x0;}(b1),b5=ax(b0)['get'](b1)||b4;return b2&&(b2['transforms']['list']['set'](b1,b5),b2['transforms']['last']=b1),b3?au(b0,b5,b3):b5;}(aW,aX,aZ,aY);case'css':return av(aW,aX,aY);case'attribute':return at(aW,aX);default:return aW[aX]||0x0;}}function az(aW,aX){var aY=/^(\*=|\+=|-=)/['exec'](aW);if(!aY)return aW;var aZ=ar(aW)||0x0,b0=parseFloat(aX),b1=parseFloat(aW['replace'](aY[0x0],''));switch(aY[0x0][0x0]){case'+':return b0+b1+aZ;case'-':return b0-b1+aZ;case'*':return b0*b1+aZ;}}function aA(aW,aX){if(aa['col'](aW))return function(b0){return aa['rgb'](b0)?(b2=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g['exec'](b1=b0))?'rgba('+b2[0x1]+',1)':b1:aa['hex'](b0)?function(b3){var b4=b3['replace'](/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(b6,b7,b8,b9){return b7+b7+b8+b8+b9+b9;}),b5=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i['exec'](b4);return'rgba('+parseInt(b5[0x1],0x10)+','+parseInt(b5[0x2],0x10)+','+parseInt(b5[0x3],0x10)+',1)';}(b0):aa['hsl'](b0)?function(b3){var b4,b5,b6,b7=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g['exec'](b3)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g['exec'](b3),b8=parseInt(b7[0x1],0xa)/0x168,b9=parseInt(b7[0x2],0xa)/0x64,ba=parseInt(b7[0x3],0xa)/0x64,bb=b7[0x4]||0x1;function bc(bf,bg,bh){return bh<0x0&&(bh+=0x1),bh>0x1&&(bh-=0x1),bh<0x1/0x6?bf+0x6*(bg-bf)*bh:bh<0.5?bg:bh<0x2/0x3?bf+(bg-bf)*(0x2/0x3-bh)*0x6:bf;}if(0x0==b9)b4=b5=b6=ba;else{var bd=ba<0.5?ba*(0x1+b9):ba+b9-ba*b9,be=0x2*ba-bd;b4=bc(be,bd,b8+0x1/0x3),b5=bc(be,bd,b8),b6=bc(be,bd,b8-0x1/0x3);}return'rgba('+0xff*b4+','+0xff*b5+','+0xff*b6+','+bb+')';}(b0):void 0x0;var b1,b2;}(aW);if(/\s/g['test'](aW))return aW;var aY=ar(aW),aZ=aY?aW['substr'](0x0,aW['length']-aY['length']):aW;return aX?aZ+aX:aZ;}function aB(aW,aX){return Math['sqrt'](Math['pow'](aX['x']-aW['x'],0x2)+Math['pow'](aX['y']-aW['y'],0x2));}function aC(aW){for(var aX,aY=aW['points'],aZ=0x0,b0=0x0;b0<aY['numberOfItems'];b0++){var b1=aY['getItem'](b0);b0>0x0&&(aZ+=aB(aX,b1)),aX=b1;}return aZ;}function aD(aW){if(aW['getTotalLength'])return aW['getTotalLength']();switch(aW['tagName']['toLowerCase']()){case'circle':return function(aX){return 0x2*Math['PI']*at(aX,'r');}(aW);case'rect':return function(aX){return 0x2*at(aX,'width')+0x2*at(aX,'height');}(aW);case'line':return function(aX){return aB({'x':at(aX,'x1'),'y':at(aX,'y1')},{'x':at(aX,'x2'),'y':at(aX,'y2')});}(aW);case'polyline':return aC(aW);case'polygon':return function(aX){var aY=aX['points'];return aC(aX)+aB(aY['getItem'](aY['numberOfItems']-0x1),aY['getItem'](0x0));}(aW);}}function aE(aW,aX){var aY=aX||{},aZ=aY['el']||function(b5){for(var b6=b5['parentNode'];aa['svg'](b6)&&aa['svg'](b6['parentNode']);)b6=b6['parentNode'];return b6;}(aW),b0=aZ['getBoundingClientRect'](),b1=at(aZ,'viewBox'),b2=b0['width'],b3=b0['height'],b4=aY['viewBox']||(b1?b1['split']('\x20'):[0x0,0x0,b2,b3]);return{'el':aZ,'viewBox':b4,'x':b4[0x0]/0x1,'y':b4[0x1]/0x1,'w':b2,'h':b3,'vW':b4[0x2],'vH':b4[0x3]};}function aF(aW,aX,aY){function aZ(b6){void 0x0===b6&&(b6=0x0);var b7=aX+b6>=0x1?aX+b6:0x0;return aW['el']['getPointAtLength'](b7);}var b0=aE(aW['el'],aW['svg']),b1=aZ(),b2=aZ(-0x1),b3=aZ(0x1),b4=aY?0x1:b0['w']/b0['vW'],b5=aY?0x1:b0['h']/b0['vH'];switch(aW['property']){case'x':return(b1['x']-b0['x'])*b4;case'y':return(b1['y']-b0['y'])*b5;case'angle':return 0xb4*Math['atan2'](b3['y']-b2['y'],b3['x']-b2['x'])/Math['PI'];}}function aG(aW,aX){var aY=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,aZ=aA(aa['pth'](aW)?aW['totalLength']:aW,aX)+'';return{'original':aZ,'numbers':aZ['match'](aY)?aZ['match'](aY)['map'](Number):[0x0],'strings':aa['str'](aW)||aX?aZ['split'](aY):[]};}function aH(aW){return ak(aW?al(aa['arr'](aW)?aW['map'](am):am(aW)):[],function(aX,aY,aZ){return aZ['indexOf'](aX)===aY;});}function aI(aW){var aX=aH(aW);return aX['map'](function(aY,aZ){return{'target':aY,'id':aZ,'total':aX['length'],'transforms':{'list':ax(aY)}};});}function aJ(aW,aX){var aY=ao(aX);if(/^spring/['test'](aY['easing'])&&(aY['duration']=ac(aY['easing'])),aa['arr'](aW)){var aZ=aW['length'];0x2!==aZ||aa['obj'](aW[0x0])?aa['fnc'](aX['duration'])||(aY['duration']=aX['duration']/aZ):aW={'value':aW};}var b0=aa['arr'](aW)?aW:[aW];return b0['map'](function(b1,b2){var b3=aa['obj'](b1)&&!aa['pth'](b1)?b1:{'value':b1};return aa['und'](b3['delay'])&&(b3['delay']=b2?0x0:aX['delay']),aa['und'](b3['endDelay'])&&(b3['endDelay']=b2===b0['length']-0x1?aX['endDelay']:0x0),b3;})['map'](function(b1){return aq(b1,aY);});}var aK={'css':function(aW,aX,aY){return aW['style'][aX]=aY;},'attribute':function(aW,aX,aY){return aW['setAttribute'](aX,aY);},'object':function(aW,aX,aY){return aW[aX]=aY;},'transform':function(aW,aX,aY,aZ,b0){if(aZ['list']['set'](aX,aY),aX===aZ['last']||b0){var b1='';aZ['list']['forEach'](function(b2,b3){b1+=b3+'('+b2+')\x20';}),aW['style']['transform']=b1;}}};function aL(aW,aX){aI(aW)['forEach'](function(aY){for(var aZ in aX){var b0=as(aX[aZ],aY),b1=aY['target'],b2=ar(b0),b3=ay(b1,aZ,b2,aY),b4=az(aA(b0,b2||ar(b3)),b3),b5=aw(b1,aZ);aK[b5](b1,aZ,b4,aY['transforms'],!0x0);}});}function aM(aW,aX){return ak(al(aW['map'](function(aY){return aX['map'](function(aZ){return function(b0,b1){var b2=aw(b0['target'],b1['name']);if(b2){var b3=function(b5,b6){var b7;return b5['tweens']['map'](function(b8){var b9=function(bi,bj){var bk={};for(var bl in bi){var bm=as(bi[bl],bj);aa['arr'](bm)&&0x1===(bm=bm['map'](function(bn){return as(bn,bj);}))['length']&&(bm=bm[0x0]),bk[bl]=bm;}return bk['duration']=parseFloat(bk['duration']),bk['delay']=parseFloat(bk['delay']),bk;}(b8,b6),ba=b9['value'],bb=aa['arr'](ba)?ba[0x1]:ba,bc=ar(bb),bd=ay(b6['target'],b5['name'],bc,b6),be=b7?b7['to']['original']:bd,bf=aa['arr'](ba)?ba[0x0]:be,bg=ar(bf)||ar(bd),bh=bc||bg;return aa['und'](bb)&&(bb=be),b9['from']=aG(bf,bh),b9['to']=aG(az(bb,bf),bh),b9['start']=b7?b7['end']:0x0,b9['end']=b9['start']+b9['delay']+b9['duration']+b9['endDelay'],b9['easing']=ai(b9['easing'],b9['duration']),b9['isPath']=aa['pth'](ba),b9['isPathTargetInsideSVG']=b9['isPath']&&aa['svg'](b6['target']),b9['isColor']=aa['col'](b9['from']['original']),b9['isColor']&&(b9['round']=0x1),b7=b9,b9;});}(b1,b0),b4=b3[b3['length']-0x1];return{'type':b2,'property':b1['name'],'animatable':b0,'tweens':b3,'duration':b4['end'],'delay':b3[0x0]['delay'],'endDelay':b4['endDelay']};}}(aY,aZ);});})),function(aY){return!aa['und'](aY);});}function aN(aW,aX){var aY=aW['length'],aZ=function(b1){return b1['timelineOffset']?b1['timelineOffset']:0x0;},b0={};return b0['duration']=aY?Math['max']['apply'](Math,aW['map'](function(b1){return aZ(b1)+b1['duration'];})):aX['duration'],b0['delay']=aY?Math['min']['apply'](Math,aW['map'](function(b1){return aZ(b1)+b1['delay'];})):aX['delay'],b0['endDelay']=aY?b0['duration']-Math['max']['apply'](Math,aW['map'](function(b1){return aZ(b1)+b1['duration']-b1['endDelay'];})):aX['endDelay'],b0;}var aO=0x0,aP=[],aQ=(function(){var aW;function aX(aY){for(var aZ=aP['length'],b0=0x0;b0<aZ;){var b1=aP[b0];b1['paused']?(aP['splice'](b0,0x1),aZ--):(b1['tick'](aY),b0++);}aW=b0>0x0?requestAnimationFrame(aX):void 0x0;}return'undefined'!=typeof document&&document['addEventListener']('visibilitychange',function(){aS['suspendWhenDocumentHidden']&&(aR()?aW=cancelAnimationFrame(aW):(aP['forEach'](function(aY){return aY['_onDocumentVisibility']();}),aQ()));}),function(){aW||aR()&&aS['suspendWhenDocumentHidden']||!(aP['length']>0x0)||(aW=requestAnimationFrame(aX));};}());function aR(){return!!document&&document['hidden'];}function aS(aW){void 0x0===aW&&(aW={});var aX,aY=0x0,aZ=0x0,b0=0x0,b1=0x0,b2=null;function b3(bc){var bd=window['Promise']&&new Promise(function(be){return b2=be;});return bc['finished']=bd,bd;}var b4=function(bc){var bd=ap(a3,bc),be=ap(a4,bc),bf=function(bk,bl){var bm=[],bn=bl['keyframes'];for(var bo in(bn&&(bl=aq(function(bp){for(var bq=ak(al(bp['map'](function(bu){return Object['keys'](bu);})),function(bu){return aa['key'](bu);})['reduce'](function(bu,bv){return bu['indexOf'](bv)<0x0&&bu['push'](bv),bu;},[]),br={},bs=function(bu){var bv=bq[bu];br[bv]=bp['map'](function(bw){var bx={};for(var by in bw)aa['key'](by)?by==bv&&(bx['value']=bw[by]):bx[by]=bw[by];return bx;});},bt=0x0;bt<bq['length'];bt++)bs(bt);return br;}(bn),bl)),bl))aa['key'](bo)&&bm['push']({'name':bo,'tweens':aJ(bl[bo],bk)});return bm;}(be,bc),bg=aI(bc['targets']),bh=aM(bg,bf),bi=aN(bh,be),bj=aO;return aO++,aq(bd,{'id':bj,'children':[],'animatables':bg,'animations':bh,'duration':bi['duration'],'delay':bi['delay'],'endDelay':bi['endDelay']});}(aW);function b5(){var bc=b4['direction'];'alternate'!==bc&&(b4['direction']='normal'!==bc?'normal':'reverse'),b4['reversed']=!b4['reversed'],aX['forEach'](function(bd){return bd['reversed']=b4['reversed'];});}function b6(bc){return b4['reversed']?b4['duration']-bc:bc;}function b7(){aY=0x0,aZ=b6(b4['currentTime'])*(0x1/aS['speed']);}function b8(bc,bd){bd&&bd['seek'](bc-bd['timelineOffset']);}function b9(bc){for(var bd=0x0,be=b4['animations'],bf=be['length'];bd<bf;){var bg=be[bd],bh=bg['animatable'],bi=bg['tweens'],bj=bi['length']-0x1,bk=bi[bj];bj&&(bk=ak(bi,function(bA){return bc<bA['end'];})[0x0]||bk);for(var bl=a7(bc-bk['start']-bk['delay'],0x0,bk['duration'])/bk['duration'],bm=isNaN(bl)?0x1:bk['easing'](bl),bn=bk['to']['strings'],bo=bk['round'],bp=[],bq=bk['to']['numbers']['length'],br=void 0x0,bs=0x0;bs<bq;bs++){var bt=void 0x0,bu=bk['to']['numbers'][bs],bv=bk['from']['numbers'][bs]||0x0;bt=bk['isPath']?aF(bk['value'],bm*bu,bk['isPathTargetInsideSVG']):bv+bm*(bu-bv),bo&&(bk['isColor']&&bs>0x2||(bt=Math['round'](bt*bo)/bo)),bp['push'](bt);}var bw=bn['length'];if(bw){br=bn[0x0];for(var bx=0x0;bx<bw;bx++){bn[bx];var by=bn[bx+0x1],bz=bp[bx];isNaN(bz)||(br+=by?bz+by:bz+'\x20');}}else br=bp[0x0];aK[bg['type']](bh['target'],bg['property'],br,bh['transforms']),bg['currentValue']=br,bd++;}}function ba(bc){b4[bc]&&!b4['passThrough']&&b4[bc](b4);}function bb(bc){var bd=b4['duration'],be=b4['delay'],bf=bd-b4['endDelay'],bg=b6(bc);b4['progress']=a7(bg/bd*0x64,0x0,0x64),b4['reversePlayback']=bg<b4['currentTime'],aX&&function(bh){if(b4['reversePlayback']){for(var bi=b1;bi--;)b8(bh,aX[bi]);}else{for(var bj=0x0;bj<b1;bj++)b8(bh,aX[bj]);}}(bg),!b4['began']&&b4['currentTime']>0x0&&(b4['began']=!0x0,ba('begin')),!b4['loopBegan']&&b4['currentTime']>0x0&&(b4['loopBegan']=!0x0,ba('loopBegin')),bg<=be&&0x0!==b4['currentTime']&&b9(0x0),(bg>=bf&&b4['currentTime']!==bd||!bd)&&b9(bd),bg>be&&bg<bf?(b4['changeBegan']||(b4['changeBegan']=!0x0,b4['changeCompleted']=!0x1,ba('changeBegin')),ba('change'),b9(bg)):b4['changeBegan']&&(b4['changeCompleted']=!0x0,b4['changeBegan']=!0x1,ba('changeComplete')),b4['currentTime']=a7(bg,0x0,bd),b4['began']&&ba('update'),bc>=bd&&(aZ=0x0,b4['remaining']&&!0x0!==b4['remaining']&&b4['remaining']--,b4['remaining']?(aY=b0,ba('loopComplete'),b4['loopBegan']=!0x1,'alternate'===b4['direction']&&b5()):(b4['paused']=!0x0,b4['completed']||(b4['completed']=!0x0,ba('loopComplete'),ba('complete'),!b4['passThrough']&&'Promise'in window&&(b2(),b3(b4)))));}return b3(b4),b4['reset']=function(){var bc=b4['direction'];b4['passThrough']=!0x1,b4['currentTime']=0x0,b4['progress']=0x0,b4['paused']=!0x0,b4['began']=!0x1,b4['loopBegan']=!0x1,b4['changeBegan']=!0x1,b4['completed']=!0x1,b4['changeCompleted']=!0x1,b4['reversePlayback']=!0x1,b4['reversed']='reverse'===bc,b4['remaining']=b4['loop'],aX=b4['children'];for(var bd=b1=aX['length'];bd--;)b4['children'][bd]['reset']();(b4['reversed']&&!0x0!==b4['loop']||'alternate'===bc&&0x1===b4['loop'])&&b4['remaining']++,b9(b4['reversed']?b4['duration']:0x0);},b4['_onDocumentVisibility']=b7,b4['set']=function(bc,bd){return aL(bc,bd),b4;},b4['tick']=function(bc){b0=bc,aY||(aY=b0),bb((b0+(aZ-aY))*aS['speed']);},b4['seek']=function(bc){bb(b6(bc));},b4['pause']=function(){b4['paused']=!0x0,b7();},b4['play']=function(){b4['paused']&&(b4['completed']&&b4['reset'](),b4['paused']=!0x1,aP['push'](b4),b7(),aQ());},b4['reverse']=function(){b5(),b4['completed']=!b4['reversed'],b7();},b4['restart']=function(){b4['reset'](),b4['play']();},b4['remove']=function(bc){aU(aH(bc),b4);},b4['reset'](),b4['autoplay']&&b4['play'](),b4;}function aT(aW,aX){for(var aY=aX['length'];aY--;)an(aW,aX[aY]['animatable']['target'])&&aX['splice'](aY,0x1);}function aU(aW,aX){var aY=aX['animations'],aZ=aX['children'];aT(aW,aY);for(var b0=aZ['length'];b0--;){var b1=aZ[b0],b2=b1['animations'];aT(aW,b2),b2['length']||b1['children']['length']||aZ['splice'](b0,0x1);}aY['length']||aZ['length']||aX['pause']();}aS['version']='3.2.1',aS['speed']=0x1,aS['suspendWhenDocumentHidden']=!0x0,aS['running']=aP,aS['remove']=function(aW){for(var aX=aH(aW),aY=aP['length'];aY--;)aU(aX,aP[aY]);},aS['get']=ay,aS['set']=aL,aS['convertPx']=au,aS['path']=function(aW,aX){var aY=aa['str'](aW)?aj(aW)[0x0]:aW,aZ=aX||0x64;return function(b0){return{'property':b0,'el':aY,'svg':aE(aY),'totalLength':aD(aY)*(aZ/0x64)};};},aS['setDashoffset']=function(aW){var aX=aD(aW);return aW['setAttribute']('stroke-dasharray',aX),aX;},aS['stagger']=function(aW,aX){void 0x0===aX&&(aX={});var aY=aX['direction']||'normal',aZ=aX['easing']?ai(aX['easing']):null,b0=aX['grid'],b1=aX['axis'],b2=aX['from']||0x0,b3='first'===b2,b4='center'===b2,b5='last'===b2,b6=aa['arr'](aW),b7=b6?parseFloat(aW[0x0]):parseFloat(aW),b8=b6?parseFloat(aW[0x1]):0x0,b9=ar(b6?aW[0x1]:aW)||0x0,ba=aX['start']||0x0+(b6?b7:0x0),bb=[],bc=0x0;return function(bd,be,bf){if(b3&&(b2=0x0),b4&&(b2=(bf-0x1)/0x2),b5&&(b2=bf-0x1),!bb['length']){for(var bg=0x0;bg<bf;bg++){if(b0){var bh=b4?(b0[0x0]-0x1)/0x2:b2%b0[0x0],bi=b4?(b0[0x1]-0x1)/0x2:Math['floor'](b2/b0[0x0]),bj=bh-bg%b0[0x0],bk=bi-Math['floor'](bg/b0[0x0]),bl=Math['sqrt'](bj*bj+bk*bk);'x'===b1&&(bl=-bj),'y'===b1&&(bl=-bk),bb['push'](bl);}else bb['push'](Math['abs'](b2-bg));bc=Math['max']['apply'](Math,bb);}aZ&&(bb=bb['map'](function(bm){return aZ(bm/bc)*bc;})),'reverse'===aY&&(bb=bb['map'](function(bm){return b1?bm<0x0?-0x1*bm:-bm:Math['abs'](bc-bm);}));}return ba+(b6?(b8-b7)/bc:b7)*(Math['round'](0x64*bb[be])/0x64)+b9;};},aS['timeline']=function(aW){void 0x0===aW&&(aW={});var aX=aS(aW);return aX['duration']=0x0,aX['add']=function(aY,aZ){var b0=aP['indexOf'](aX),b1=aX['children'];function b2(b8){b8['passThrough']=!0x0;}b0>-0x1&&aP['splice'](b0,0x1);for(var b3=0x0;b3<b1['length'];b3++)b2(b1[b3]);var b4=aq(aY,ap(a4,aW));b4['targets']=b4['targets']||aW['targets'];var b5=aX['duration'];b4['autoplay']=!0x1,b4['direction']=aX['direction'],b4['timelineOffset']=aa['und'](aZ)?b5:az(aZ,b5),b2(aX),aX['seek'](b4['timelineOffset']);var b6=aS(b4);b2(b6),b1['push'](b6);var b7=aN(b1,aW);return aX['delay']=b7['delay'],aX['endDelay']=b7['endDelay'],aX['duration']=b7['duration'],aX['seek'](0x0),aX['reset'](),aX['autoplay']&&aX['play'](),aX;},aX;},aS['easing']=ai,aS['penner']=ah,aS['random']=function(aW,aX){return Math['floor'](Math['random']()*(aX-aW+0x1))+aW;};const aV=aS;},0xb0b:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});},m=this&&this['__importDefault']||function(z){return z&&z['__esModule']?z:{'default':z};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetCtaModal']=void 0x0;const p=m(j(0xad8)),q=j(0x1133),u=j(0x1932),v=j(0x22d9),w=j(0x115),x=j(0x132a);class y extends q['BaseWidget']{constructor(){var z;super(),this['isOpen']=!0x1,this['ctaContainer']=v['WidgetsFactory']['create']('blaze-div'),this['ctaDrawer']=v['WidgetsFactory']['create']('blaze-modal'),this['ctaUrl']=v['WidgetsFactory']['create']('blaze-typography'),this['iconShare']=v['WidgetsFactory']['create']('blaze-button'),this['iconExternalLink']=v['WidgetsFactory']['create']('blaze-button'),this['textContainer']=v['WidgetsFactory']['create']('blaze-div'),this['labelText']=v['WidgetsFactory']['create']('blaze-typography'),this['progressBar']=v['WidgetsFactory']['create']('blaze-div'),this['fullscreenOverlay']=v['WidgetsFactory']['create']('blaze-div'),this['ctaDrawer']['onClose']=null===(z=this['onDrawerClose'])||void 0x0===z?void 0x0:z['bind'](this);}['connectedCallback'](){return k(this,void 0x0,void 0x0,function*(){this['ctaContainer']['setStyle']({'display':'flex','flexDirection':'column','height':'2.5rem','fontSize':'.8rem','fontFamily':x['Presets']['playerFont'],'color':'#000'}),this['progressBar']['id']='progress-bar',this['progressBar']['setStyle']({'height':'3px','width':'0','backgroundColor':'#fff','position':'absolute','bottom':'0','left':'0'}),this['fullscreenOverlay']['id']='fullscreen-overlay',this['fullscreenOverlay']['setStyle']({'position':'fixed','top':'0','left':'0','width':'100%','height':'100%','display':'none','zIndex':'1000'}),this['render']();});}['disconnectedCallback'](){this['removeChild'](this['ctaDrawer']);}['attributeChangedCallback'](z,A,B){switch(z){case'cta-url':this['ctaUrl']['text']=B;break;case'background-color':this['ctaDrawer']['setAttribute']('background-color',B);break;case'icon-color':this['iconExternalLink']['setAttribute']('icon-color',B),this['iconShare']['setAttribute']('icon-color',B);break;case'text-color':this['ctaUrl']['setStyle']({'color':B}),this['labelText']['setStyle']({'color':B});break;case'border-color':this['ctaDrawer']['setAttribute']('border-color',B);break;case'progress-bar-color':this['progressBar']['setStyle']({'backgroundColor':B});}}['animateProgressBar'](z){let A={'targets':'#progress-bar','width':z?'100%':'0','duration':z?u['ONE_AND_HALF_SECOND']:0x1,'easing':'easeInQuad'};(0x0,p['default'])(A);}['onDrawerClose'](){this['animateProgressBar'](!0x1);}['open'](){this['ctaDrawer']['open'](),this['animateProgressBar'](!0x0),this['fullscreenOverlay']['setStyle']({'display':'block'}),this['isOpen']=!0x0;}['close'](){this['ctaDrawer']['close'](),this['animateProgressBar'](!0x1),this['fullscreenOverlay']['setStyle']({'display':'none'}),this['isOpen']=!0x1;}['render'](){this['ctaDrawer']['init']({'anchor':'bottom','component':this['ctaContainer']}),this['append'](this['ctaDrawer']),this['iconShare']['setIconUrl'](w['externalLinkIconSvg']),this['iconShare']['setAttribute']('icon-color','#000'),this['textContainer']['setStyle']({'display':'flex','alignSelf':'center','maxWidth':'75%'}),this['labelText']=v['WidgetsFactory']['create']('blaze-typography'),this['labelText']['text']='Opening',this['labelText']['setStyle']({'fontWeight':'bold','marginRight':'0.5rem'}),this['ctaUrl']['setStyle']({'overflow':'hidden','textOverflow':'ellipsis','whiteSpace':'nowrap','display':'inline-block'}),this['textContainer']['append'](this['labelText']),this['textContainer']['append'](this['ctaUrl']);const z=v['WidgetsFactory']['create']('blaze-div');z['setStyle']({'display':'flex','gap':'1rem','padding':'0.5rem','alignItems':'center','justifyContent':'space-between'}),this['iconExternalLink']=v['WidgetsFactory']['create']('blaze-button'),this['iconExternalLink']['setIconUrl'](w['newPageIcon']),this['iconExternalLink']['setAttribute']('icon-color','#000'),z['append'](this['iconShare']),z['append'](this['textContainer']),z['append'](this['iconExternalLink']),this['ctaContainer']['append'](z),this['ctaDrawer']['setAttribute']('border-radius','1rem\x201rem\x200\x200'),this['ctaContainer']['append'](this['progressBar']),this['append'](this['fullscreenOverlay']);}}g['BlazeWidgetCtaModal']=y,y['observedAttributes']=['cta-url','background-color','icon-color','text-color','border-color','progress-bar-color'];},0xb58:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetContent']=void 0x0;const h=g(0x23a6),j=g(0x1133),k=g(0x1932),m=g(0x11c1),p=g(0x2432);class q extends HTMLElement{constructor(){super(),this['pageIndex']=0x0,this['startTrigger']='',this['exitTrigger']='',this['navigationType']='',this['navigationDirection']='',this['listeners']=new j['EventsListener'](),this['isActive']=!0x1,this['isResumeOnFocusExecuted']=!0x1,this['isNavigationPending']=!0x1,this['isPausedManually']=!0x1,this['resumeAfterfocus']=!0x1,this['contentExtraInfo']=void 0x0,this['widgetParentItem']={},this['sessionId']='',this['adIndex']=0x0,this['detachTimeout']=null,this['isScheduledForDetach']=!0x1,this['container']=document['createElement']('div'),this['container']['style']['touchAction']='manipulation',this['container']['style']['cssText']+='-webkit-user-select:\x20none;';}['connectedCallback'](){this['detachTimeout']&&(clearTimeout(this['detachTimeout']),this['detachTimeout']=null,this['isScheduledForDetach']=!0x1),this['isScheduledForDetach']||this['attachEventListeners']();}['disconnectedCallback'](){this['isScheduledForDetach']=!0x0,this['detachTimeout']=setTimeout(()=>{this['isConnected']||(this['detachEventListeners'](),this['isScheduledForDetach']=!0x1),this['detachTimeout']=null;},0x0);}['attachEventListeners'](){this['isScheduledForDetach']||(window['addEventListener']('focus',this['boundOnFocusEvent']),window['addEventListener']('blur',this['boundOnBlurEvent']),window['addEventListener']('visibilitychange',this['boundOnVisibilityChangeEvent']),p['SharedEventTarget']['addEventListener'](k['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundOnLanguageChangeEvent']));}['detachEventListeners'](){window['removeEventListener']('blur',this['boundOnFocusEvent']),window['removeEventListener']('focus',this['boundOnBlurEvent']),window['removeEventListener']('visibilitychange',this['boundOnVisibilityChangeEvent']),p['SharedEventTarget']['removeEventListener'](k['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundOnLanguageChangeEvent']);}['setWidgetItemParent'](u){this['widgetParentItem']=u;}['updateWidgetStatusReadUnread'](){var u,v,w,x,y,z,A,B;null===(v=null===(u=this['widgetParentItem'])||void 0x0===u?void 0x0:u['updateWidget'])||void 0x0===v||v['call'](u),null===(x=null===(w=this['widgetParentItem'])||void 0x0===w?void 0x0:w['setChipStyle'])||void 0x0===x||x['call'](w),null===(z=null===(y=this['widgetParentItem'])||void 0x0===y?void 0x0:y['render'])||void 0x0===z||z['call'](y),null===(B=null===(A=this['widgetParentItem'])||void 0x0===A?void 0x0:A['updateWidgetItemPadding'])||void 0x0===B||B['call'](A);}['getRefferingObject'](){var u,v,w;const x=new j['ReferringEventInfo'](),y=(null===(u=this['widgetParentItem'])||void 0x0===u?void 0x0:u['parentRef'])||(null===(v=this['refContentModal'])||void 0x0===v?void 0x0:v['parentWidget']);if(y&&y instanceof h['BlazeWidgetLayout']&&(x['origin_widget_id']=y['id'],x['origin_widget_type']=y['widgetType'](),x['labels_expression']=y['getAttribute']('labels')),(m['ConfigService']['staticContent']||m['ConfigService']['staticContentType'])&&(x['story_source']='OneBox'),document['referrer']){x['referrer_page_url']=document['referrer'];const z=document['referrer']['indexOf']('#blaze'),A=-0x1!==z?document['referrer']['slice'](0x0,z):document['referrer'];x['referrer_page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](A)?'Homepage':'Category/Article',x['referrer_page_domain']=document['referrer']?null===(w=new URL(document['referrer']))||void 0x0===w?void 0x0:w['hostname']:'';}return x;}['setContentExtraInfo'](u){this['contentExtraInfo']=u;}['render'](){}}f['BlazeWidgetContent']=q;},0xb62:function(d,f,g){'use strict';var h=this&&this['__importDefault']||function(l){return l&&l['__esModule']?l:{'default':l};};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['deviceDetector']=f['DEVICE_EVENTS']=f['Platform']=void 0x0;const j=h(g(0x1c40));f['Platform']={'Console':'console','Mobile':'mobile','Tablet':'tablet','SmartTV':'smarttv','Wearable':'wearable','Embedded':'embedded','Desktop':'desktop'},f['DEVICE_EVENTS']={'SCREEN_ORIENTATION_CHANGE':'screenOrientationChange'};class k{constructor(){this['boundResizeListener']=this['handleResize']['bind'](this),this['parser']=new j['default'](navigator['userAgent']),this['OS']=this['detectOS'](),this['platform']=this['detectPlatform'](),this['browser']=this['detectBrowser'](),this['screenOrientation']=this['getScreenOrientation'](),window['addEventListener']('resize',this['boundResizeListener']);}['removeResizeListener'](){window['removeEventListener']('resize',this['boundResizeListener']);}static['getInstance'](){return k['instance']||(k['instance']=new k()),k['instance'];}['detectOS'](){return this['parser']['getOS']()['name'];}['detectBrowser'](){return this['parser']['getBrowser']()['name'];}get['getPlatform'](){return this['parser']['getDevice']()['type'];}get['isDesktop'](){return'desktop'===this['platform'];}get['isMobile'](){return'mobile'===this['platform'];}get['isTablet'](){return'tablet'===this['platform'];}['detectPlatform'](){var l;const m=null===(l=this['parser']['getDevice']())||void 0x0===l?void 0x0:l['type'],p='mobile'===m,q='tablet'===m,r=window['innerWidth']>0x33e||this['isDesktop'];if(p)return'mobile';if(q)return'tablet';if(r)return'desktop';if('ontouchstart'in window||navigator['maxTouchPoints']>0x0){if(window['innerWidth']<=0x1e0)return'mobile';if(window['innerWidth']<=0x33e)return'tablet';}return'desktop';}['getScreenOrientation'](){return window['innerHeight']>window['innerWidth']?'portrait':'landscape';}['handleResize'](){this['OS']=this['detectOS'](),this['platform']=this['detectPlatform']();const l=this['screenOrientation'];if(this['screenOrientation']=this['getScreenOrientation'](),l!==this['screenOrientation']){const m={'orientation':this['screenOrientation'],'changedAt':Date['now']()},p=new CustomEvent(f['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],{'detail':m,'bubbles':!0x0,'cancelable':!0x0});window['dispatchEvent'](p);}}['isIOSMobileTabletSafari'](){const l='iOS'===f['deviceDetector']['OS'],m='tablet'===f['deviceDetector']['platform']&&'Mac\x20OS'===f['deviceDetector']['OS'],p='Mobile\x20Safari'===f['deviceDetector']['browser']||'Safari'===f['deviceDetector']['browser'];return l||p||m;}get['isFullscreenSupported'](){return document['fullscreenEnabled']||document['webkitFullscreenEnabled']||document['msFullscreenEnabled'];}['getDeviceInfo'](){return this['parser']['getDevice']();}['getOSInfo'](){return this['parser']['getOS']();}}f['deviceDetector']=k['getInstance']();},0xb6d:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BaseStreamLoader']=void 0x0;const j=g(0x11c1),k=g(0x46),l=g(0x31b);f['BaseStreamLoader']=class{['setupLikeAndCaptions'](m){return h(this,void 0x0,void 0x0,function*(){const {video:p,data:q}=m,[r]=yield Promise['all']([j['VideoService']['isVideoLiked'](q['id']),p['setupClosedCaptions']()]);return r;});}['setupWithSavedPosition'](m){return h(this,void 0x0,void 0x0,function*(){const {video:p,data:q}=m,[r,u]=yield Promise['all']([j['VideoService']['getVideoDataById'](q['id']),j['VideoService']['isVideoLiked'](q['id']),p['setupClosedCaptions']()]);return{'videoData':r,'isLiked':u};});}['handleVideoError'](m,p){let q;m['video']['pause'](),m['finalizeLoad'](!0x1),q='code'in p&&'fatal'in p?p:(0x0,k['createVideoError'])(k['VideoErrorCode']['UNKNOWN_ERROR'],p instanceof Error?p['message']:'Unknown\x20error\x20during\x20stream\x20loading',{'fatal':!0x0,'originalError':p}),m['video']['dispatchEvent'](new CustomEvent(l['VIDEO_EVENTS']['ERROR'],{'detail':q,'bubbles':!0x0,'composed':!0x0}));}['loadVideoSource'](m,p){const {video:q,data:r}=m;r['cta']&&q['setCta'](r['cta']),q['playbackStrategy']['initialize']({'overlay':q['videoOverlay']});const {url:u,bitRate:v,aspectRatio:w}=r['baseLayer']['content']['renditions'][0x0];q['setAspectRatio'](w),q['playbackStrategy']['loadSource'](u,v,p);}};},0xb71:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StreamLayoutController']=void 0x0,f['StreamLayoutController']=class{constructor(g,h,j){this['overlay']=g,this['navigationOverlay']=h,this['seekBar']=j;}['applyLayout'](g){if(g)switch(g){case'Upcoming':this['applyUpcomingLayout']();break;case'Live':this['applyLiveLayout']();break;case'Ended':this['applyEndedLayout']();break;default:this['applyDefaultLayout']();}else this['applyDefaultLayout']();}['applyUpcomingLayout'](){this['overlay']['setAttribute']('hidden','false'),this['navigationOverlay']['showOverlay'](),this['navigationOverlay']['disablePlayButton'](),this['overlay']['disableInteractiveButtons'](),this['overlay']['videoTimer']['hidden']=!0x0,this['seekBar']['style']['visibility']='hidden',this['seekBar']['style']['display']='none',this['seekBar']['setAttribute']('hidden','true'),this['overlay']['setLiveMode'](!0x1);}['applyLiveLayout'](){this['navigationOverlay']['showOverlay'](),this['navigationOverlay']['enablePlayButton'](),this['overlay']['enableInteractiveButtons'](),this['overlay']['videoTimer']['hidden']=!0x1,this['seekBar']['style']['visibility']='visible',this['seekBar']['style']['display']='',this['seekBar']['removeAttribute']('hidden'),this['overlay']['setLiveMode'](!0x0);}['applyEndedLayout'](){this['navigationOverlay']['showOverlay'](),this['navigationOverlay']['enablePlayButton'](),this['overlay']['enableInteractiveButtons'](),this['overlay']['videoTimer']['hidden']=!0x1,this['seekBar']['style']['visibility']='visible',this['seekBar']['style']['display']='',this['seekBar']['removeAttribute']('hidden'),this['seekBar']['removeAttribute']('disabled'),this['overlay']['setLiveMode'](!0x1);}['applyEndedNoDvrLayout'](){this['navigationOverlay']['showOverlay'](),this['navigationOverlay']['disablePlayButton'](),this['overlay']['disableInteractiveButtons'](),this['overlay']['videoTimer']['hidden']=!0x0,this['seekBar']['style']['visibility']='hidden',this['seekBar']['style']['display']='none',this['seekBar']['setAttribute']('hidden','true'),this['overlay']['setLiveMode'](!0x1);}['applyDefaultLayout'](){this['navigationOverlay']['showOverlay'](),this['navigationOverlay']['enablePlayButton'](),this['overlay']['enableInteractiveButtons'](),this['seekBar']['style']['visibility']='visible',this['seekBar']['style']['display']='',this['seekBar']['removeAttribute']('hidden'),this['overlay']['setLiveMode'](!0x1);}['showAllControls'](){this['navigationOverlay']['showOverlay'](),this['navigationOverlay']['enablePlayButton'](),this['overlay']['enableInteractiveButtons'](),this['seekBar']['style']['visibility']='visible';}['hideAllControls'](){this['navigationOverlay']['hideOverlay'](),this['navigationOverlay']['disablePlayButton'](),this['overlay']['disableInteractiveButtons'](),this['seekBar']['style']['visibility']='hidden';}};},0xb8a:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xc38:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xc40:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['calculatePosition']=function(g){return{'isOutside':g['startsWith']('outside'),'isInside':g['startsWith']('inside'),'isTop':g['includes']('Top'),'isMiddle':g['includes']('Middle'),'isBottom':g['includes']('Bottom'),'isLeft':g['includes']('Left'),'isRight':g['includes']('Right')};};},0xc4c:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoAnalyticsCoordinator']=void 0x0;const h=g(0x1133),j=g(0x1932),k=g(0x11c1),l=g(0x2432),m=g(0x221f);f['VideoAnalyticsCoordinator']=class{constructor(p,q,u,v,w,x,y,z,A){this['getVideoData']=p,this['getVideoElement']=q,this['getPlayerState']=u,this['getPlayerStyle']=v,this['getSessionId']=w,this['getStartTrigger']=x,this['getExitTrigger']=y,this['getAspectRatio']=z,this['getLastSeekAction']=A;}['onVideoStart'](){this['emitEvent'](j['VideoAction']['VideoStart'],{});}['onVideoEnd'](){const p=this['getAnalyticsConfig']();this['emitEvent'](j['VideoAction']['VideoEnd'],{'video_end_trigger':this['getExitTrigger'](),'video_time_end':p['getTimelineEnd'](this['video']),'video_time_start':void 0x0});}['onTabBlur'](){this['emitEvent'](j['VideoAction']['VideoEnd'],{'video_end_trigger':'User\x20Left\x20Tab','video_time_end':this['getAnalyticsConfig']()['getTimelineEnd'](this['video']),'video_time_start':void 0x0});}['onTabFocus'](){this['emitEvent'](j['VideoAction']['VideoStart'],{});}['onPlaybackPlay'](p){this['emitEvent'](j['VideoAction']['PlaybackPlay'],{'playback_action_method':p});}['onPlaybackPause'](p){this['emitEvent'](j['VideoAction']['PlaybackPause'],{'playback_action_method':p});}['onSeek'](p){const q=this['getLastSeekAction']();this['emitEvent'](j['VideoAction']['Seek'],{'seek_total_time':p['distance'],'seek_direction':p['direction'],'video_time_end':null==q?void 0x0:q['seekedTime'],'video_time_start':null==q?void 0x0:q['currentTime']});}['onStreamStateChanged'](){this['emitEvent'](j['VideoAction']['VideoChangedStatus'],{});}['onBackToLive'](p){this['emitEvent'](j['VideoAction']['BackToLive'],{'back_to_live_trigger':p});}['onAudioToggle'](){this['emitEvent'](j['VideoAction']['Audio'],{});}['onScreenChange'](p,q){this['emitEvent'](j['VideoAction']['ScreenChange'],{'screen_state':{'current_state':'normal'===p?'default_view':'full_screen','next_state':'normal'===q?'default_view':'full_screen'}});}['onClosedCaptionsToggle'](p){const q='Off'!==p?j['VideoAction']['ClosedCaptionsOn']:j['VideoAction']['ClosedCaptionsOff'];this['emitEvent'](q,{});}['onLikeUnlike'](p){const q=p?j['VideoAction']['Like']:j['VideoAction']['Unlike'];this['emitEvent'](q,{});}['onCtaVisible'](){this['emitEvent'](j['VideoAction']['CtaVisible'],{});}['onCtaDismissed'](){this['emitEvent'](j['VideoAction']['CtaDismissed'],{});}['onCtaClick'](){this['emitEvent'](j['VideoAction']['CtaClick'],{});}['onShare'](){this['emitEvent'](j['VideoAction']['Share'],{});}['emitEvent'](q,w,x){var y,z,A;try{const B=this['data'];if('Content'!==B['type'])return;const C=this['getReferringObject'](),D=this['getAnalyticsConfig'](),E=this['getPlayerState'](),F=this['getPlayerStyle']();w['video_id']=B['id'],w['video_title']=B['title'],w['cc_state']=(0x0,l['convertCcLanguageToState'])(B['closedCaptions'],localStorage['getItem'](j['LOCAL_STORAGE_KEY_LAST_SELECTED'])||void 0x0),w['video_session_id']=this['getSessionId']();const G=h['deviceDetector']['screenOrientation'];if(w['player_orientation']=G['toString']()['charAt'](0x0)['toUpperCase']()+G['toString']()['slice'](0x1)['toLowerCase'](),w['device_orientation']='Horizontal'===this['getAspectRatio']()?'Landscape':'Portrait',w['screen_state']=w['screen_state']||{'current_state':'normal'===E['playerLayout']?'default_view':'full_screen'},null===(y=B['cta'])||void 0x0===y?void 0x0:y['url']){const {duration:H,behavior:I}=F['cta']['visibility'];w['cta_config']={'visible_duration':H||0x0,'type':I||''};}else w['cta_config']='';w['audio_state']=E['isMuted']?'Mute':'Unmute',w['video_start_trigger']=this['getStartTrigger'](),w['stream_status']=l['StreamUtils']['getState'](B),w['video_duration']=D['getDuration'](this['video']),w['video_time_start']=D['getTimelineStart'](this['video']),'true'===(null===(A=null===(z=k['AppConfigurationService']['appConfigurations'])||void 0x0===z?void 0x0:z['configurations'])||void 0x0===A?void 0x0:A['analyticsAddEntitiesInfo'])&&(w['content_extra_info']=JSON['stringify'](B['extraInfo'])),w['localization']=B['retrievedLanguages']||{},k['AnalyticsService']['pushVideoEvent'](q,w,x,C);}catch(J){}}get['data'](){return this['getVideoData']();}get['video'](){return this['getVideoElement']();}['getAnalyticsConfig'](){return(0x0,m['getStreamAnalyticsConfig'])(this['data']);}['getReferringObject'](){const p=new h['ReferringEventInfo']();if(document['referrer']){p['referrer_page_url']=document['referrer'];const q=document['referrer']['indexOf']('#blaze'),u=-0x1!==q?document['referrer']['slice'](0x0,q):document['referrer'];p['referrer_page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](u)?'Homepage':'Category/Article',p['referrer_page_domain']=new URL(document['referrer'])['hostname'];}return p;}};},0xc5e:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeLoader']=void 0x0;const h=g(0x164);class j extends HTMLElement{constructor(){super();const k=this['attachShadow']({'mode':'open'}),l=document['createElement']('style');l['textContent']='\x0a\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x2040px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x2040px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation:\x20blaze-loader-spin\x201s\x20linear\x20infinite;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20@keyframes\x20blaze-loader-spin\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20from\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20rotate(0deg);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20to\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20rotate(360deg);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',k['appendChild'](l);}static get['observedAttributes'](){return['color','size'];}['attributeChangedCallback'](k,l,m){'color'===k&&l!==m?this['updateLoaderColor'](m):'size'===k&&l!==m&&this['updateLoaderSize'](m);}['connectedCallback'](){const k=this['getAttribute']('color')||'#fff';this['updateLoaderColor'](k);}['updateLoaderSize'](k){(0x0,h['mergeStyles'])(this,{'width':k,'height':k});}['updateLoaderColor'](k){(0x0,h['mergeStyles'])(this,{'display':'block','border':'solid\x203px\x20'+k,'borderRadius':'50%','borderRightColor':'transparent','borderBottomColor':'transparent','transition':'transform\x201s\x20linear'});}}f['BlazeLoader']=j;},0xc8e:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['getVideoDuration']=function(g,h){return new Promise(j=>{let k=g,m=!0x1;if(g&&!isNaN(g['duration'])&&g['duration']>0x0)return void j(g['duration']);if(g)!h||g['src']&&!isNaN(g['duration'])||(m=!0x0);else{if(!h)return void j(0x0);m=!0x0;}if(m&&(k=document['createElement']('video'),k['preload']='metadata',k['src']=h),!isNaN(k['duration'])&&k['duration']>0x0)return void j(k['duration']);const p=setTimeout(()=>{v(),j(0x0);},0x7d0),q=()=>{const w=k['duration'];v(),!isNaN(w)&&w>0x0?j(w):j(0x0);},u=()=>{v(),j(0x0);},v=()=>{clearTimeout(p),k['removeEventListener']('loadedmetadata',q),k['removeEventListener']('error',u),m&&(k['src']='');};k['addEventListener']('loadedmetadata',q),k['addEventListener']('error',u),!m&&k['readyState']>=0x1&&k['duration']>0x0&&!isNaN(k['duration'])&&(v(),j(k['duration']));});};},0xccc:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetEmbeddedStory']=void 0x0;const m=j(0x23a6),p=j(0x26ed),q=j(0x11c1),u=j(0x132a),v=j(0x2432),w=j(0x1a96),x=j(0x54c);class y extends x['BlazeWidgetEmbeddedBase']{constructor(){super(),this['contents']=[],this['currentStoryPlayerIndex']=0x0,this['stories']=[],this['isCurrentPlayerFirstPlay']=!0x0;}static get['observedAttributes'](){return Object['values'](x['EMBEDDED_ATTRIBUTES']);}['connectedCallback'](){super['connectedCallback'](),this['addEventListener'](p['InternalEvent']['NEXT_STORY'],this['nextStory']),this['addEventListener'](p['InternalEvent']['PREV_STORY'],this['prevStory']),this['addEventListener'](p['InternalEvent']['FULL_SCREEN_CLICK'],this['onFullScreenClickHandler'],!0x0),this['addEventListener'](p['InternalEvent']['AD_ENDED'],this['onCustomNativeAdEnded']),this['addEventListener'](p['InternalEvent']['AD_RESUMED'],this['onVastAdResumedEnded']);}['disconnectedCallback'](){super['disconnectedCallback'](),this['removeEventListener'](p['InternalEvent']['NEXT_STORY'],this['nextStory']),this['removeEventListener'](p['InternalEvent']['PREV_STORY'],this['prevStory']),this['removeEventListener'](p['InternalEvent']['FULL_SCREEN_CLICK'],this['onFullScreenClickHandler'],!0x0),this['removeEventListener'](p['InternalEvent']['AD_ENDED'],this['onCustomNativeAdEnded']),this['removeEventListener'](p['InternalEvent']['AD_RESUMED'],this['onVastAdResumedEnded']);}['setContentIds'](z,A){this['setReloadData'](A),this['setAttribute'](x['EMBEDDED_ATTRIBUTES']['ContentIds'],z['join']());}['setSearchText'](z,A){}['setId'](z){this['id']='widget-embedded-story-'+z;}['getThemeContentType'](){return'story';}['setTheme'](z){super['setTheme'](z),this['modal']=this['createModal']();}['handleSpecificAttributeChange'](z,A,B){z===x['EMBEDDED_ATTRIBUTES']['ContentIds']&&A&&this['reloadLogic']();}['handleIntersection'](z){const A=z['find'](B=>B['target']===this);A&&(this['isIntersecting']=A['isIntersecting'],this['currentStoryPlayer']&&(this['isIntersecting']?this['playContent']():this['pauseContent']()));}['pauseContent'](){var z,A,B,C,D;(null===(z=this['currentStoryPlayer'])||void 0x0===z?void 0x0:z['currentPage']['isCurrentlyTryingToRunImaAd'])&&(null===(B=null===(A=this['currentStoryPlayer'])||void 0x0===A?void 0x0:A['currentPage']['widgetVastAd'])||void 0x0===B||B['pause']()),(null===(C=this['currentStoryPlayer'])||void 0x0===C?void 0x0:C['currentPage']['paused'])||(this['stateManager']['isPlaying']=!0x1,null===(D=this['currentStoryPlayer'])||void 0x0===D||D['playToggle']({'customIsPlaying':!0x0}));}['playContent'](){var z,A,B,C,D,E,F,G,H;if(!this['isIntersecting'])return;if(!(null===(z=this['currentStoryPlayer'])||void 0x0===z?void 0x0:z['currentPage']['paused']))return;const I=(null===(A=this['currentStoryPlayer'])||void 0x0===A?void 0x0:A['currentPage']['isCurrentlyTryingToRunImaAd'])||'Ad'===(null===(C=null===(B=this['currentStoryPlayer'])||void 0x0===B?void 0x0:B['currentPage']['data'])||void 0x0===C?void 0x0:C['type']);(null===(D=this['currentStoryPlayer'])||void 0x0===D?void 0x0:D['currentPage']['isCurrentlyTryingToRunImaAd'])&&(null===(F=null===(E=this['currentStoryPlayer'])||void 0x0===E?void 0x0:E['currentPage']['widgetVastAd'])||void 0x0===F||F['resume']()),I||(this['stateManager']['isPlaying']=!0x0,this['isCurrentPlayerFirstPlay']?(this['isCurrentPlayerFirstPlay']=!0x1,null===(G=this['currentStoryPlayer'])||void 0x0===G||G['play']()):null===(H=this['currentStoryPlayer'])||void 0x0===H||H['playToggle']({'customIsPlaying':!0x1}));}get['currentStoryPlayer'](){return this['contents'][this['currentStoryPlayerIndex']];}['loadContent'](){return k(this,void 0x0,void 0x0,function*(){var z,A;q['EventService']['dispatch'](this,p['Delegation']['onWidgetDataLoadStarted'],{'widgetId':this['id']}),this['removeCurrentStoryPlayer'](),this['showSkeleton'](),this['contents']=[];const B=this['getAttribute'](x['EMBEDDED_ATTRIBUTES']['MaxItems']),C=this['getAttribute'](x['EMBEDDED_ATTRIBUTES']['Labels']),D=this['getAttribute'](x['EMBEDDED_ATTRIBUTES']['OrderType']),E=this['getAttribute'](x['EMBEDDED_ATTRIBUTES']['ContentIds']),F=null==E?void 0x0:E['split'](','),G=this['getAttribute'](x['EMBEDDED_ATTRIBUTES']['LabelsPriority']),{data:H}=(null==F?void 0x0:F['length'])&&!C?yield q['ApiService']['getStoriesByIds']({'ids':F,'orderType':D}):yield q['ApiService']['getStoriesByLabels']({'labels':C,'orderType':D,'maxItems':B,'labelsPriority':G});this['defaultAdsInfo']=null==H?void 0x0:H['defaultAdsInfo'];let I=null!==(z=null==H?void 0x0:H['result'])&&void 0x0!==z?z:[];const J=Object['assign'](Object['assign']({},this['theme']['playerStyle']),{'iconsPosition':'VERTICAL','iconsButtonPadding':'7px'});try{I=yield q['DatabaseService']['enrichStories'](I),I['forEach'](L=>{L['hasViewed']=(0x0,v['isReadByLastUnIgnoredPageStatus'])(L);});}catch(L){q['EventService']['dispatch'](this,p['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':p['ErrorCode']['FailedEnrichStories']});}this['getAttribute']('should-order-widget-by-read-status')&&'Manual'!==D&&I['sort']((M,N)=>{const O=M['hasViewed']?0x1:0x2;return(N['hasViewed']?0x1:0x2)-O;}),I['forEach']((M,N)=>{var O,P,Q,R;const S=new w['BlazeWidgetStory'](J,'Embedded',void 0x0,(null===(O=this['parentElement'])||void 0x0===O?void 0x0:O['clientWidth'])&&(null===(P=this['parentElement'])||void 0x0===P?void 0x0:P['clientHeight'])&&(null===(Q=this['parentElement'])||void 0x0===Q?void 0x0:Q['clientWidth'])>=(null===(R=this['parentElement'])||void 0x0===R?void 0x0:R['clientHeight'])?'Horizontal':'Vertical',this['stateManager']);S['startTrigger']='Embedded\x20Player\x20in\x20Viewport',S['setData'](M),S['resetStoryLocationIndexToLastUnseen'](),this['contents']['push'](S),q['AdService']['pushAdsBetweenStories'](this['defaultAdsInfo'],this['contents'],I,N,0x0,J,'Embedded');}),this['contents']['forEach'](M=>{M['refWidget']=this['contents'];});const K=this['contents'][0x0];K&&(K['shouldShowImaAdOnStart']=!0x1),this['setCurrentStoryPlayer'](0x0),null===(A=this['currentStoryPlayer'])||void 0x0===A||A['currentPage']['startEnter'](),q['EventService']['dispatch'](this,p['Delegation']['onWidgetDataLoadCompleted'],{'widgetId':this['id'],'storyCount':I['length']}),this['hideSkeleton'](),this['stories']=I;});}['setCurrentStoryPlayer'](z,A){var B;null===(B=this['currentStoryPlayer'])||void 0x0===B||B['currentPage']['endExit'](),this['removeCurrentStoryPlayer'](),this['isCurrentPlayerFirstPlay']=!0x0;const C=z<0x0,D=z>=this['contents']['length'];C||D?(this['currentStoryPlayerIndex']=0x0,D&&this['contents']['forEach'](E=>E['resetStoryLocationIndexToLastUnseen']())):this['currentStoryPlayerIndex']=z,this['currentStoryPlayer']&&(isNaN(Number(A))||(this['currentStoryPlayer']['pageIndex']=null!=A?A:0x0),this['appendChild'](this['currentStoryPlayer']),this['currentStoryPlayer']['load'](),this['isIntersecting']&&(this['isCurrentPlayerFirstPlay']?(this['isCurrentPlayerFirstPlay']=!0x1,this['currentStoryPlayer']['play']()):this['currentStoryPlayer']['playToggle']({'customIsPlaying':!0x1})),this['currentStoryPlayer']['currentPage']['startEnter'](),this['currentStoryPlayer']['currentPage']['endEnter']());}['nextStory'](){var z,A,B;const C=null!==(A=null===(z=this['currentStoryPlayer'])||void 0x0===z?void 0x0:z['pages']['length'])&&void 0x0!==A?A:0x0;this['currentStoryPlayer']&&C&&(null===(B=this['currentStoryPlayer']['pages'][C-0x1])||void 0x0===B||B['pause']()),this['setCurrentStoryPlayer'](this['currentStoryPlayerIndex']+0x1);}['prevStory'](){var z,A,B;null===(B=null===(A=null===(z=this['currentStoryPlayer'])||void 0x0===z?void 0x0:z['pages'])||void 0x0===A?void 0x0:A[0x0])||void 0x0===B||B['pause'](),this['setCurrentStoryPlayer'](this['currentStoryPlayerIndex']-0x1);}['removeCurrentStoryPlayer'](){var z;null===(z=this['currentStoryPlayer'])||void 0x0===z||z['remove']();}['createModal'](){this['updatePlayerStyle']();const z=this['modal']?this['modal']:new m['BlazeWidgetStoryModal'](this,this['theme']['playerStyle'],void 0x0,this['stateManager']);return this['modal']&&this['modal']['setTheme'](this['theme']['playerStyle']),z['setModalContent'](this['stories'],0x0,this['defaultAdsInfo']),z['onClose']=this['handleModalClose']['bind'](this),z;}['handleModalClose'](z){if(this['stateManager']['isPlaying']=!0x0,null==z?void 0x0:z['storyId']){const A=this['contents']['findIndex'](C=>C['data']['id']===z['storyId']);if(-0x1===A)return;const B=this['contents'][A]['shouldShowImaAdOnStart'];this['contents'][A]['shouldShowImaAdOnStart']=!0x1,this['setCurrentStoryPlayer'](A,null==z?void 0x0:z['pageIndex']),this['contents'][A]['shouldShowImaAdOnStart']=B;}}['updatePlayerStyle'](){const z=(0x0,v['mergeDeep'])(u['ThemeFactory']['create']('default')['playerStyle'],q['ConfigService']['playerStyleCustomization']);(0x0,v['applyPlayerStyleChanges'])(u['ThemeFactory']['create']('default')['playerStyle'],z,this['theme']['playerStyle'],{'GLOBAL':[],'LOCAL':[]});}['openFullscreen'](){this['currentStoryPlayer']&&(this['pauseContent'](),this['modal']=this['createModal'](),this['appendModalToBlazeSDK'](this['modal']),this['modal']['seek'](this['currentStoryPlayer']['data']['id']),this['modal']['open']({'pageIndex':this['currentStoryPlayer']['pageIndex']}));}['appendModalToBlazeSDK'](z){const A=document['getElementsByTagName']('blaze-sdk')[0x0];A&&A['append'](z);}['onFullScreenClickHandler'](z){z['stopPropagation'](),this['openFullscreen']();}['onCustomNativeAdEnded'](){var z;this['isIntersecting']||null===(z=this['currentStoryPlayer'])||void 0x0===z||z['pause']();}['onVastAdResumedEnded'](){var z,A;this['isIntersecting']||null===(A=null===(z=this['currentStoryPlayer'])||void 0x0===z?void 0x0:z['currentPage']['widgetVastAd'])||void 0x0===A||A['pause']();}['getAnimationTargetSelector'](){return'blaze-widget-story';}}g['BlazeWidgetEmbeddedStory']=y;},0xcef:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['PseudoFullscreenManager']=void 0x0,f['PseudoFullscreenManager']=class{constructor(g){this['isActive']=!0x1,this['state']=null,this['PSEUDO_FULLSCREEN_CLASS']='pseudo-fullscreen',this['element']=g,this['boundPreventPullToRefresh']=this['preventPullToRefresh']['bind'](this),this['boundHandleVisualViewportResize']=this['handleVisualViewportResize']['bind'](this);}['toggle'](){this['isActive']?this['exit']():this['enter']();}['enter'](){var g;this['isActive']||(this['captureCurrentState'](),this['applyPseudoFullscreenStyles'](),this['preventPageScrolling'](),this['setupTouchEventListeners'](),this['setupVisualViewportListener'](),this['isActive']=!0x0,this['element']['classList']['add'](this['PSEUDO_FULLSCREEN_CLASS']),null===(g=this['onStateChange'])||void 0x0===g||g['call'](this,!0x0));}['exit'](){var g;this['isActive']&&(this['restoreOriginalState'](),this['restorePageScrolling'](),this['removeTouchEventListeners'](),this['removeVisualViewportListener'](),this['isActive']=!0x1,this['element']['classList']['remove'](this['PSEUDO_FULLSCREEN_CLASS']),this['state']=null,null===(g=this['onStateChange'])||void 0x0===g||g['call'](this,!0x1));}['isInPseudoFullscreen'](){return this['isActive'];}['forceExit'](){this['isActive']&&this['exit']();}['destroy'](){this['forceExit']();}['captureCurrentState'](){const g=this['element'],h={'x':window['scrollX'],'y':window['scrollY']},j={'position':g['style']['position'],'top':g['style']['top'],'left':g['style']['left'],'width':g['style']['width'],'height':g['style']['height'],'transform':g['style']['transform'],'zIndex':g['style']['zIndex'],'backgroundColor':g['style']['backgroundColor'],'borderRadius':g['style']['borderRadius'],'touchAction':g['style']['touchAction']},k={'overflow':document['body']['style']['overflow'],'position':document['body']['style']['position'],'top':document['body']['style']['top'],'left':document['body']['style']['left'],'width':document['body']['style']['width'],'overscrollBehavior':document['body']['style']['overscrollBehavior']};this['state']={'originalStyles':j,'originalBodyStyles':k,'savedScrollPosition':h};}['applyPseudoFullscreenStyles'](){var g,h;if(!this['state'])return;const j=(null===(g=window['visualViewport'])||void 0x0===g?void 0x0:g['height'])||window['innerHeight'],k={'position':'fixed','top':'0','left':'0','width':((null===(h=window['visualViewport'])||void 0x0===h?void 0x0:h['width'])||window['innerWidth'])+'px','height':j+'px','backgroundColor':'black','zIndex':'9999','transform':'none','borderRadius':'0','touchAction':'manipulation'};Object['assign'](this['element']['style'],k);}['preventPageScrolling'](){if(!this['state'])return;const {savedScrollPosition:g}=this['state'];document['body']['style']['overflow']='hidden',document['body']['style']['position']='fixed',document['body']['style']['top']='-'+g['y']+'px',document['body']['style']['left']='-'+g['x']+'px',document['body']['style']['width']='100%',document['body']['style']['overscrollBehavior']='none',document['documentElement']['style']['overscrollBehavior']='none';}['setupTouchEventListeners'](){document['addEventListener']('touchstart',this['boundPreventPullToRefresh'],{'passive':!0x1}),document['addEventListener']('touchmove',this['boundPreventPullToRefresh'],{'passive':!0x1});}['setupVisualViewportListener'](){'visualViewport'in window&&window['visualViewport']&&window['visualViewport']['addEventListener']('resize',this['boundHandleVisualViewportResize']);}['restoreOriginalState'](){if(!this['state'])return;const {originalStyles:g}=this['state'];Object['assign'](this['element']['style'],g);}['restorePageScrolling'](){if(!this['state'])return;const {originalBodyStyles:g,savedScrollPosition:h}=this['state'];Object['assign'](document['body']['style'],g),document['body']['style']['overscrollBehavior']='',document['documentElement']['style']['overscrollBehavior']='',window['scrollTo']({'top':h['y'],'left':h['x'],'behavior':'instant'});}['removeTouchEventListeners'](){document['removeEventListener']('touchstart',this['boundPreventPullToRefresh']),document['removeEventListener']('touchmove',this['boundPreventPullToRefresh']);}['removeVisualViewportListener'](){'visualViewport'in window&&window['visualViewport']&&window['visualViewport']['removeEventListener']('resize',this['boundHandleVisualViewportResize']);}['preventPullToRefresh'](g){this['element']['contains'](g['target'])||(g['preventDefault'](),g['stopPropagation']());}['handleVisualViewportResize'](){if(!this['isActive']||!window['visualViewport'])return;const g=this['element'],h=window['visualViewport']['height'],j=window['visualViewport']['width'];g['style']['width']=j+'px',g['style']['height']=h+'px';}};},0xcf8:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xcfc:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xd06:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['CUSTOM_SCROLLBAR_TEMPLATE']=void 0x0,f['CUSTOM_SCROLLBAR_TEMPLATE']='\x0a\x20\x20\x20\x20::-webkit-scrollbar\x20{\x0a\x20\x20\x20\x20\x20\x20width:\x204px;\x20/*\x20Width\x20of\x20the\x20scrollbar\x20*/\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20::-webkit-scrollbar-thumb\x20{\x0a\x20\x20\x20\x20\x20\x20background-color:\x20#404040;\x20/*\x20Scrollbar\x20thumb\x20color\x20*/\x0a\x20\x20\x20\x20\x20\x20border-radius:\x208px;\x20/*\x20Rounded\x20corners\x20*/\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20::-webkit-scrollbar-track\x20{\x0a\x20\x20\x20\x20\x20\x20background:\x20transparent;\x20/*\x20Optional:\x20scrollbar\x20track\x20background\x20*/\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20scrollbar-width:\x20thin;\x20/*\x20Thin\x20scrollbar\x20for\x20Firefox\x20*/\x0a\x20\x20\x20\x20\x20\x20scrollbar-color:\x20#404040\x20transparent;\x20/*\x20Thumb\x20color\x20and\x20track\x20color\x20for\x20Firefox\x20*/\x0a\x20\x20\x20\x20}\x0a\x20\x20';},0xd34:function(f,g,h){'use strict';var j=this&&this['__awaiter']||function(x,y,z,A){return new(z||(z=Promise))(function(B,C){function D(G){try{F(A['next'](G));}catch(H){C(H);}}function E(G){try{F(A['throw'](G));}catch(H){C(H);}}function F(G){var H;G['done']?B(G['value']):(H=G['value'],H instanceof z?H:new z(function(I){I(H);}))['then'](D,E);}F((A=A['apply'](x,y||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['ApiService']=void 0x0;const k=h(0x11c1),m=h(0x66b),p=h(0x1133),q=h(0x227b),u=h(0x2432),v='UserManagement';class w extends(0x0,p['Singleton'])(){constructor(){super(...arguments),this['api']={};}['init'](){return j(this,void 0x0,void 0x0,function*(){this['api']=new m['API'](),this['analyticsUrlRotator']=new p['UrlRotator']({'fallbackUrl':k['ConfigService']['analyticsApiUrl'],'apiVersion':'v1'});});}['setAdsOnStories'](x,y){var z;return'EveryXStories'===(null===(z=null==y?void 0x0:y['configuration'])||void 0x0===z?void 0x0:z['adsLocationType'])?x:k['AdService']['canRunAds']?x['map'](A=>{var B,C,D;const E=null!==(B=null==y?void 0x0:y['configuration'])&&void 0x0!==B?B:null===(C=A['adInfo'])||void 0x0===C?void 0x0:C['configuration'],F=null!==(D=A['adInfo'])&&void 0x0!==D?D:y,G=null==E?void 0x0:E['adLocationsIndexes']['sort']((H,I)=>H-I);switch(null==F?void 0x0:F['type']){case'Web':const H=A['pages']['length'];let I=0x0;null==G||G['forEach'](J=>{H>J&&(A['pages']['splice'](J+I,0x0,{'id':'ad-'+A['id']+'-'+J,'duration':0x5,'ignoreReadStatusForStory':!0x1,'hasViewed':!0x1,'type':'Ad','createTime':new Date()['toLocaleString'](),'adInfo':F}),I++);});break;case'IMA':null==G||G['forEach'](J=>{const K=A['pages'][J];'Content'===(null==K?void 0x0:K['type'])&&(K['adInfo']=F,K['shouldShowImaAd']=!0x0);});}return A;}):x;}['getStoriesByIds'](x){return j(this,void 0x0,void 0x0,function*(){var y,z,A;const B=Object['assign'](Object['assign']({},this['getContentParamsByIds'](x)),(0x0,u['getPersonalizedParamsForRequest'])(x['personalized'])),C=yield this['api']['get']('stories/ids',{'urlSearchParams':B});return Object['assign'](Object['assign']({},C),{'result':this['setAdsOnStories'](null!==(z=null===(y=C['data'])||void 0x0===y?void 0x0:y['result'])&&void 0x0!==z?z:[],null===(A=C['data'])||void 0x0===A?void 0x0:A['defaultAdsInfo'])});});}['getStoriesByLabels'](x){return j(this,void 0x0,void 0x0,function*(){var y,z,A;const {showLiveFirst:B,personalized:C}=x,D=Object['assign'](Object['assign'](Object['assign']({},this['getContentParamsByLabels'](x)),B&&{'showLiveFirst':B}),(0x0,u['getPersonalizedParamsForRequest'])(C)),E=yield this['api']['get']('stories',{'urlSearchParams':D}),F=this['setAdsOnStories'](null!==(z=null===(y=E['data'])||void 0x0===y?void 0x0:y['result'])&&void 0x0!==z?z:[],null===(A=E['data'])||void 0x0===A?void 0x0:A['defaultAdsInfo']);return Object['assign'](Object['assign']({},E),{'result':F});});}['getStoriesByText'](x){return j(this,void 0x0,void 0x0,function*(){var y,z,A;const {showLiveFirst:B,personalized:C}=x,D=Object['assign'](Object['assign'](Object['assign']({},this['getContentParamsByText'](x)),B&&{'showLiveFirst':B}),(0x0,u['getPersonalizedParamsForRequest'])(C)),E=yield this['api']['get']('stories',{'urlSearchParams':D}),F=this['setAdsOnStories'](null!==(z=null===(y=E['data'])||void 0x0===y?void 0x0:y['result'])&&void 0x0!==z?z:[],null===(A=E['data'])||void 0x0===A?void 0x0:A['defaultAdsInfo']);return Object['assign'](Object['assign']({},E),{'result':F});});}['getMomentByIds'](x){return j(this,void 0x0,void 0x0,function*(){const y=yield this['api']['get']('moments/ids',{'urlSearchParams':this['getContentParamsByIds'](x)});return Object['assign']({},y);});}['getMomentsByLabels'](x){return j(this,void 0x0,void 0x0,function*(){return yield this['api']['get']('moments',{'urlSearchParams':this['getContentParamsByLabels'](x)});});}['getMomentsByText'](x){return j(this,void 0x0,void 0x0,function*(){return yield this['api']['get']('moments',{'urlSearchParams':this['getContentParamsByText'](x)});});}['getContentByRecommendations'](x){return j(this,void 0x0,void 0x0,function*(){const {forYou:y,trending:z}=x['recommendations'];if(!y&&!z)throw new Error('Invalid\x20recommendation\x20options:\x20must\x20specify\x20either\x20forYou\x20or\x20trending');const A=z?'trending':'forYou';return yield this['api']['get']('recommendations/'+A,{'urlSearchParams':this['getContentParamsByRecommendations'](x),'auth':!0x0});});}['updateMomentLikeStatus'](x){return j(this,void 0x0,void 0x0,function*(){yield this['api']['put']('Moments/like',{'urlSearchParams':x,'auth':!0x0});});}['getStaticStories'](){return j(this,void 0x0,void 0x0,function*(){var x;for(let y=0x1;y<=0x3;y++){const z=null===(x=null===document||void 0x0===document?void 0x0:document['getElementById']('wsc-response'))||void 0x0===x?void 0x0:x['textContent'];if(!z)return null;try{const A=JSON['parse'](z),B=this['setAdsOnStories']([A]);return B['length']>0x0?B[0x0]:null;}catch(C){if(!(y<0x3))return null;yield new Promise(D=>setTimeout(D,0x1f4));}}return null;});}['getVideosByIds'](x){return j(this,void 0x0,void 0x0,function*(){const y=yield this['api']['get']('videos/ids',{'urlSearchParams':this['getContentParamsByIds'](x)});return Object['assign']({},y);});}['getVideosByLabels'](x){return j(this,void 0x0,void 0x0,function*(){const y=yield this['api']['get']('videos',{'urlSearchParams':this['getContentParamsByLabels'](x)});return Object['assign']({},y);});}['getVideosByText'](x){return j(this,void 0x0,void 0x0,function*(){const y=yield this['api']['get']('videos',{'urlSearchParams':this['getContentParamsByText'](x)});return Object['assign']({},y);});}['updateVideosLikeStatus'](x){return j(this,void 0x0,void 0x0,function*(){yield this['api']['put']('Videos/like',{'urlSearchParams':x,'auth':!0x0});});}['sendAnaltyicsEvents'](x){return j(this,void 0x0,void 0x0,function*(){let y='events';k['ConfigService']['doNotTrack']&&(y+='_do_not_track');const z=this['getAnalyticsEndpoint']()+'/'+y,A={'api_key':k['ConfigService']['apiKey']?k['ConfigService']['apiKey']:''},B=yield(0x0,q['compressPayload'])(x);return yield this['api']['post']('',{'urlSearchParams':A,'baseUrl':z,'init':{'body':B,'keepalive':!0x0,'headers':{'Content-Type':'application/json','Content-Encoding':'gzip'}}});});}['sendLoggerLogs'](x){return j(this,void 0x0,void 0x0,function*(){return yield this['api']['post']('',{'urlSearchParams':{'api_key':k['ConfigService']['apiKey']},'baseUrl':k['ConfigService']['loggerApiUrl'],'init':{'body':x,'keepalive':!0x0,'headers':{'Content-Type':'application/json','Content-Encoding':'gzip'}}});});}['sendInteractionResponse'](x){return j(this,void 0x0,void 0x0,function*(){yield this['api']['put']('Interactions/Response/'+x['interactionType']+'/'+x['interactionId'],{'init':{'body':JSON['stringify'](x['responseId'])},'auth':!0x0});});}['getUserToken'](x){return this['api']['post'](v,{'init':{'body':JSON['stringify'](x)},'urlSearchParams':{'clientPlatform':'Web'}});}['refreshUserToken'](x){return this['api']['put'](v,{'urlSearchParams':{'clientPlatform':'Web'},'init':{'body':JSON['stringify'](x)}});}['getAppConfigurations'](){return this['api']['get']('AppConfigurations',{'urlSearchParams':{'clientPlatform':'Web'}});}['postUserActivities'](x){return j(this,void 0x0,void 0x0,function*(){const y=this['transformActivitiesToRequestBody'](x);let z;for(let A=0x0;A<w['USER_ACTIVITY_MAX_RETRIES'];A++){try{const B=yield this['api']['post']('',{'baseUrl':k['ConfigService']['userActivityApiUrl']+'/UserActivity','urlSearchParams':{'ApiKey':k['ConfigService']['apiKey']},'init':{'body':JSON['stringify'](y)},'auth':!0x0});if(!B['error'])return{'error':void 0x0};if(z=B['error'],B['httpStatus']&&B['httpStatus']>=0x190&&B['httpStatus']<0x1f4)break;}catch(C){z=C;}if(A<w['USER_ACTIVITY_MAX_RETRIES']-0x1){const D=w['USER_ACTIVITY_BASE_DELAY_MS']*Math['pow'](0x2,A);yield new Promise(E=>setTimeout(E,D));}}return{'error':z};});}['transformActivitiesToRequestBody'](x){const y=[],z=[],A=new Map(),B=[],C=[],D=[];for(const E of x)switch(E['activityType']){case'moment_view':y['push'](E['momentId']);break;case'story_page_view':z['push'](E['pageId']);break;case'video_view':A['set'](E['videoId'],{'videoId':E['videoId'],'lastReadPoint':Math['floor'](E['lastReadPoint']),'isFullyRead':E['isFullyRead']});break;case'moment_like':B['push'](E['momentId']);break;case'video_like':C['push'](E['videoId']);break;case'interaction':D['push']({'interactionId':E['interactionId'],'responseId':E['responseId']});}return{'viewedMoments':y,'viewedStoryPages':z,'viewedVideos':Array['from'](A['values']()),'likedMoments':B,'likedVideos':C,'interactionResponses':D};}['getUserActivities'](){return j(this,void 0x0,void 0x0,function*(){try{return yield this['api']['get']('',{'baseUrl':k['ConfigService']['userActivityApiUrl']+'/UserActivity','urlSearchParams':{'ApiKey':k['ConfigService']['apiKey']},'auth':!0x0});}catch(x){return{'error':x};}});}['getContentDefaultParams'](x){return Object['assign'](Object['assign'](Object['assign']({'clientPlatform':'Web'},k['ConfigService']['geoLocation']&&{'geo':k['ConfigService']['geoLocation']}),x['orderType']&&{'orderType':x['orderType']}),k['ConfigService']['preferredLanguage']&&{'PreferredLanguage':k['ConfigService']['preferredLanguage']});}['getContentParamsByLabels'](x){return Object['assign'](Object['assign'](Object['assign'](Object['assign'](Object['assign'](Object['assign'](Object['assign'](Object['assign']({},this['getContentDefaultParams'](x)),{'labelsFilterExpression':x['labels']}),x['maxItems']&&{'maxItems':x['maxItems']['toString']()}),x['labelsPriority']&&{'labelsPriority':x['labelsPriority']}),x['text']&&{'text':x['text']}),x['contentTypes']&&{'ContentTypes':x['contentTypes']}),x['streamStates']&&{'StreamStates':x['streamStates']}),x['showLiveFirst']&&{'showLiveFirst':'true'});}['getContentParamsByIds'](x){return Object['assign'](Object['assign'](Object['assign'](Object['assign'](Object['assign']({},this['getContentDefaultParams'](x)),{'ids':x['ids']['join'](',')}),x['contentTypes']&&{'ContentTypes':x['contentTypes']}),x['streamStates']&&{'StreamStates':x['streamStates']}),x['showLiveFirst']&&{'showLiveFirst':'true'});}['getContentParamsByRecommendations'](x){var y,z;const A=Object['assign']({},this['getContentDefaultParams'](x)),{forYou:B,trending:C}=x['recommendations'],D=B||C;return A['contentType']=x['contentType'],(null===(y=null==D?void 0x0:D['anyLabelFilter'])||void 0x0===y?void 0x0:y['length'])&&(A['Labels']=D['anyLabelFilter']['join'](',')),(null===(z=null==B?void 0x0:B['promotedLabels'])||void 0x0===z?void 0x0:z['length'])&&(A['promotedLabels']=B['promotedLabels']['join'](',')),A;}['getContentParamsByText'](x){return Object['assign'](Object['assign'](Object['assign'](Object['assign'](Object['assign'](Object['assign']({},this['getContentDefaultParams'](x)),{'text':x['text']}),x['maxItems']&&{'maxItems':x['maxItems']['toString']()}),x['contentTypes']&&{'ContentTypes':x['contentTypes']}),x['streamStates']&&{'StreamStates':x['streamStates']}),x['showLiveFirst']&&{'showLiveFirst':'true'});}['initializeAnalyticsUrlRotator'](x){var y;null===(y=this['analyticsUrlRotator'])||void 0x0===y||y['initialize'](x);}['getAnalyticsEndpoint'](){var x,y;return null!==(y=null===(x=this['analyticsUrlRotator'])||void 0x0===x?void 0x0:x['getNext']())&&void 0x0!==y?y:k['ConfigService']['analyticsApiUrl'];}}w['USER_ACTIVITY_MAX_RETRIES']=0x3,w['USER_ACTIVITY_BASE_DELAY_MS']=0x3e8,g['ApiService']=w['getInstance']();},0xd3e:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ErrorService']=void 0x0;const j=g(0x1133);class k extends(0x0,j['Singleton'])(){['init'](){return h(this,void 0x0,void 0x0,function*(){});}}f['ErrorService']=k['getInstance']();},0xd67:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ContentPollingService']=void 0x0;const j=g(0xcf),k=g(0xf2),l=g(0x1868),m=g(0x26ed);f['ContentPollingService']=class{constructor(p){this['intervalId']=null,this['contentStates']=new Map(),this['isPolling']=!0x1,this['consecutiveErrors']=0x0,this['maxErrors']=k['POLLING_CONFIG']['MAX_ERRORS'],this['cachedContentIds']=[],this['config']=p,this['baseInterval']=p['interval'],this['currentInterval']=p['interval'];}['start'](p){this['isPolling']||(this['contentStates']=p||new Map(),this['isPolling']=!0x0,this['consecutiveErrors']=0x0,this['startInterval'](),this['poll']());}['stop'](){this['isPolling']&&(this['isPolling']=!0x1,this['stopInterval'](),this['cachedContentIds']=[]);}['pause'](){0x0===this['cachedContentIds']['length']&&this['config']['contentIds']['length']>0x0&&(this['cachedContentIds']=[...this['config']['contentIds']]),this['stopInterval']();}['resume'](){this['isPolling']&&(this['cachedContentIds']['length']>0x0&&0x0===this['config']['contentIds']['length']&&(this['config']['contentIds']=[...this['cachedContentIds']]),this['startInterval'](),this['poll']());}['updateCurrentState'](p,q){this['contentStates']['set'](p,q);}['updateContentIds'](p){const q=this['config']['contentIds'];if(this['areIdsEqual'](q,p))return;const u=new Set(p);for(const v of this['contentStates']['keys']())u['has'](v)||this['contentStates']['delete'](v);this['config']['contentIds']=p;}['areIdsEqual'](p,q){return p['length']===q['length']&&p['every']((u,v)=>u===q[v]);}['isActive'](){return this['isPolling']&&null!==this['intervalId'];}['triggerImmediatePoll'](){this['isPolling']&&(this['poll'](),this['stopInterval'](),this['startInterval']());}['calculateInterval'](){return 0x0===this['consecutiveErrors']?k['POLLING_CONFIG']['BACKOFF_INTERVALS']['NORMAL']:0x1===this['consecutiveErrors']?k['POLLING_CONFIG']['BACKOFF_INTERVALS']['RETRY_1']:0x2===this['consecutiveErrors']?k['POLLING_CONFIG']['BACKOFF_INTERVALS']['RETRY_2']:k['POLLING_CONFIG']['BACKOFF_INTERVALS']['RETRY_MAX'];}['restartInterval'](){this['intervalId']&&(this['stopInterval'](),this['startInterval']());}['updateInterval'](){const p=this['calculateInterval']();p!==this['currentInterval']&&(this['currentInterval']=p,this['restartInterval']());}['resetToNormalInterval'](){this['currentInterval']!==k['POLLING_CONFIG']['BACKOFF_INTERVALS']['NORMAL']&&(this['currentInterval']=k['POLLING_CONFIG']['BACKOFF_INTERVALS']['NORMAL'],this['restartInterval']());}['startInterval'](){this['intervalId']||(this['intervalId']=setInterval(()=>{this['poll']();},this['currentInterval']));}['stopInterval'](){this['intervalId']&&(clearInterval(this['intervalId']),this['intervalId']=null);}['poll'](){return h(this,void 0x0,void 0x0,function*(){var p,q;if(this['isPolling']&&0x0!==this['config']['contentIds']['length'])try{const u=yield j['VideoService']['fetchVideosByIds'](this['config']['contentIds']);if(0x0===u['length'])return;const v=new Map(u['map'](w=>[w['id'],w]));for(const w of this['config']['contentIds']){const x=v['get'](w);if(!(null==x?void 0x0:x['stream']))continue;const y=this['contentStates']['get'](w),z=x['stream']['state'];y!==z&&(this['contentStates']['set'](w,z),this['config']['onStateChange'](w,z,x));}this['consecutiveErrors']>0x0&&(l['LoggerService']['log'](m['LogLevel']['INFO'],'POLLING_RECOVERED','Content\x20polling\x20recovered\x20after\x20errors',{'consecutiveErrors':this['consecutiveErrors'],'contentCount':this['config']['contentIds']['length']}),this['consecutiveErrors']=0x0,this['resetToNormalInterval']());}catch(A){this['consecutiveErrors']++;const B=this['consecutiveErrors']>=this['maxErrors']&&this['currentInterval']>=k['POLLING_CONFIG']['BACKOFF_INTERVALS']['RETRY_MAX'];B?l['LoggerService']['log'](m['LogLevel']['CRITICAL'],'POLLING_FAILED_MAX_RETRIES','Content\x20polling\x20stopped\x20after\x20max\x20retries\x20-\x20stream\x20states\x20will\x20be\x20stale',{'consecutiveErrors':this['consecutiveErrors'],'maxErrors':this['maxErrors'],'contentIds':this['config']['contentIds'],'lastError':A instanceof Error?A['message']:String(A),'errorStack':A instanceof Error?A['stack']:void 0x0}):0x1===this['consecutiveErrors']?l['LoggerService']['log'](m['LogLevel']['WARN'],'POLLING_ERROR','Content\x20polling\x20request\x20failed\x20-\x20will\x20retry\x20with\x20backoff',{'consecutiveErrors':this['consecutiveErrors'],'nextInterval':this['calculateInterval'](),'contentCount':this['config']['contentIds']['length'],'error':A instanceof Error?A['message']:String(A)}):l['LoggerService']['log'](m['LogLevel']['ERROR'],'POLLING_ERROR_RETRY','Content\x20polling\x20failed\x20'+this['consecutiveErrors']+'\x20times\x20-\x20continuing\x20with\x20exponential\x20backoff',{'consecutiveErrors':this['consecutiveErrors'],'currentInterval':this['currentInterval'],'nextInterval':this['calculateInterval'](),'contentCount':this['config']['contentIds']['length'],'error':A instanceof Error?A['message']:String(A)}),this['updateInterval'](),B&&this['stop'](),null===(q=(p=this['config'])['onError'])||void 0x0===q||q['call'](p,A);}});}};},0xdb2:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StreamStateUIHandler']=void 0x0,f['StreamStateUIHandler']=class{constructor(g,h,j,k,l){this['shadowRoot']=g,this['videoNavigationOverlay']=h,this['videoSeekBar']=j,this['liveControls']=k,this['updateStreamStatusCallback']=l;}['handleStateChange'](g){switch(g){case'Upcoming':this['handleUpcomingState']();break;case'Live':this['handleLiveState']();break;case'Ended':this['handleEndedState']();break;default:this['handleDefaultState']();}}['handleUpcomingState'](){this['liveControls']['disable'](),this['updateStreamStatusCallback']();}['handleLiveState'](){this['liveControls']['enable'](),this['updateStreamStatusCallback']();}['handleEndedState'](){this['liveControls']['disable'](),this['videoSeekBar']&&this['videoSeekBar']['removeAttribute']('disabled'),this['updateStreamStatusCallback']();}['handleDefaultState'](){this['liveControls']['disable']();}};},0xdc4:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoPlayerStateManager']=void 0x0,f['VideoPlayerStateManager']=class{constructor(){this['_isMuted']=!0x0,this['_isPlaying']=!0x0,this['_playerLayoutDisplay']='normal';}get['isMuted'](){return this['_isMuted'];}set['isMuted'](g){this['_isMuted']=g;}get['isPlaying'](){return this['_isPlaying'];}set['isPlaying'](g){this['_isPlaying']=g;}get['playerLayout'](){return this['_playerLayoutDisplay'];}set['playerLayout'](g){this['_playerLayoutDisplay']=g;}};},0xde2:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xdf1:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(k,l,m,p){return new(m||(m=Promise))(function(q,u){function v(y){try{x(p['next'](y));}catch(z){u(z);}}function w(y){try{x(p['throw'](y));}catch(z){u(z);}}function x(y){var z;y['done']?q(y['value']):(z=y['value'],z instanceof m?z:new m(function(A){A(z);}))['then'](v,w);}x((p=p['apply'](k,l||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LiveEdgeController']=void 0x0;const j=g(0x982);f['LiveEdgeController']=class{constructor(k,l,m){this['currentEdgeState']='atLiveEdge',this['hls']=k,this['config']=Object['assign'](Object['assign']({},j['DEFAULT_LIVE_EDGE_CONFIG']),m),this['onStateChange']=l;}['setLoaderProvider'](k){this['loaderProvider']=k;}['setPlaybackStateManager'](k){this['playbackStateManager']=k;}['setBackToLiveCallback'](k){this['onBackToLive']=k;}['updatePosition'](k){const l=0x3e8*(this['getLiveEdgePosition']()-k)<this['config']['liveEdgeThresholdMs']?'atLiveEdge':'behindLive';if(l!==this['currentEdgeState']){const m='behindLive'===this['currentEdgeState'],p='atLiveEdge'===l;if(this['currentEdgeState']=l,m&&p&&this['onBackToLive']){const q=this['pendingTrigger']||'manual_scrub';this['onBackToLive'](q),this['pendingTrigger']=void 0x0;}this['onStateChange']&&this['onStateChange'](l);}}['getLiveEdgePosition'](){if(!this['hls']||!this['hls']['media'])return 0x0;if('number'==typeof this['hls']['liveSyncPosition'])return this['hls']['liveSyncPosition'];const k=this['hls']['media']['buffered'];return k['length']>0x0?k['end'](k['length']-0x1):this['hls']['media']['duration']||0x0;}['seekToLive'](k){return h(this,void 0x0,void 0x0,function*(){if(!this['hls']||!this['hls']['media'])return;const l=this['hls']['media'];this['loaderProvider']&&this['loaderProvider']['showLoader']({'delay':0x64});try{this['pendingTrigger']=k,'function'==typeof this['hls']['startLoad']&&(this['hls']['startLoad'](),yield new Promise(q=>{var r;const s=null===(r=window['Hls'])||void 0x0===r?void 0x0:r['Events'],u=()=>{s&&'function'==typeof this['hls']['off']&&this['hls']['off'](s['MANIFEST_PARSED'],u),q();};s&&'function'==typeof this['hls']['on']&&this['hls']['on'](s['MANIFEST_PARSED'],u),setTimeout(()=>{s&&'function'==typeof this['hls']['off']&&this['hls']['off'](s['MANIFEST_PARSED'],u),q();},0x3e8);}));const m=this['getLiveEdgePosition']();l['currentTime']=m,yield new Promise(q=>{const r=()=>{l['removeEventListener']('seeked',r),q();};l['addEventListener']('seeked',r),setTimeout(()=>{l['removeEventListener']('seeked',r),q();},0x7d0);});const p=0x3e8*(this['getLiveEdgePosition']()-l['currentTime']);if((p<this['config']['liveEdgeThresholdMs']||p<0x0)&&'atLiveEdge'!==this['currentEdgeState']&&(this['currentEdgeState']='atLiveEdge',this['onStateChange']&&this['onStateChange']('atLiveEdge'),this['onBackToLive']&&(this['onBackToLive'](k),this['pendingTrigger']=void 0x0)),l['paused'])try{yield l['play'](),this['playbackStateManager']&&this['playbackStateManager']['setIsPlaying'](!0x0);}catch(q){}}finally{this['loaderProvider']&&this['loaderProvider']['hideLoader']&&this['loaderProvider']['hideLoader']();}});}['getState'](){return this['currentEdgeState'];}['getConfig'](){return Object['assign']({},this['config']);}['destroy'](){this['onStateChange']=void 0x0,this['onBackToLive']=void 0x0,this['hls']=null;}};},0xdf6:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0xa1c),f),j(g(0x1d19),f),j(g(0x12c4),f),j(g(0x188),f),j(g(0x1be7),f),j(g(0xac5),f),j(g(0x25da),f),j(g(0x140f),f),j(g(0xc38),f),j(g(0x25a9),f),j(g(0x4e),f),j(g(0x549),f),j(g(0x1e6b),f),j(g(0x3ad),f),j(g(0x27c),f),j(g(0x215e),f),j(g(0x22ae),f),j(g(0x1f6e),f),j(g(0xfba),f),j(g(0x1fa9),f),j(g(0xe72),f),j(g(0xcfc),f),j(g(0x1f89),f),j(g(0x879),f),j(g(0x1093),f),j(g(0x1441),f),j(g(0x1ffb),f),j(g(0x2499),f),j(g(0x2544),f),j(g(0xf57),f),j(g(0x1d6e),f),j(g(0xde2),f),j(g(0x2631),f),j(g(0x1d9b),f),j(g(0x210b),f),j(g(0x247c),f),j(g(0x1be7),f),j(g(0x879),f),j(g(0xde2),f),j(g(0x1e6b),f),j(g(0x25da),f),j(g(0x1093),f),j(g(0xa1c),f),j(g(0xcf8),f),j(g(0x1155),f),j(g(0x83f),f),j(g(0x2469),f),j(g(0x107d),f),j(g(0x1063),f),j(g(0x1b66),f),j(g(0x1106),f),j(g(0x15be),f),j(g(0xe98),f),j(g(0x1df4),f),j(g(0x6c2),f);},0xe1c:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1c93),f);},0xe30:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoPlayerNavigationManager']=void 0x0;const j=g(0x774),k=g(0x1133),l=g(0x1932),m=g(0x11c1);f['VideoPlayerNavigationManager']=class{constructor(p,q,u,v,w){this['playerElement']=p,this['getContentList']=q,this['getCurrentVideoItem']=u,this['onContentChange']=v,this['onNavigationComplete']=w,this['boundOnNavigationPrev']=this['handlePrevDirection']['bind'](this),this['boundOnNavigationNext']=this['handleNextDirection']['bind'](this),this['boundOnKeyDown']=this['handleNavigationKeyPress']['bind'](this),this['boundOnReplayClick']=this['handleReplayClick']['bind'](this);}['attach'](){k['deviceDetector']['isDesktop']&&window['addEventListener']('keydown',this['boundOnKeyDown']),this['playerElement']['addEventListener'](j['VIDEO_EVENTS']['NAVIGATION_PREV'],this['boundOnNavigationPrev']),this['playerElement']['addEventListener'](j['VIDEO_EVENTS']['NAVIGATION_NEXT'],this['boundOnNavigationNext']),this['playerElement']['addEventListener'](j['VIDEO_EVENTS']['REPLAY'],this['boundOnReplayClick']);}['detach'](){k['deviceDetector']['isDesktop']&&window['removeEventListener']('keydown',this['boundOnKeyDown']),this['playerElement']['removeEventListener'](j['VIDEO_EVENTS']['NAVIGATION_PREV'],this['boundOnNavigationPrev']),this['playerElement']['removeEventListener'](j['VIDEO_EVENTS']['NAVIGATION_NEXT'],this['boundOnNavigationNext']),this['playerElement']['removeEventListener'](j['VIDEO_EVENTS']['REPLAY'],this['boundOnReplayClick']);}['handleDirection'](p){return h(this,void 0x0,void 0x0,function*(){var q,v,w,x,y,z;if(!navigator['onLine'])return;const A=this['getCurrentVideoItem'](),B=this['getContentList'](),C=B['findIndex'](E=>E['data']['id']===A['data']['id']),D=B['Backwards'===p?C-0x1:C+0x1];if(!D){const E=void 0x0!==A['data']['stream'],F=null===(q=A['data']['stream'])||void 0x0===q?void 0x0:q['state'];return(!E||'Upcoming'!==F&&'Live'!==F)&&A['videoOverlay']['videoNavigationOverlay']['showReplayButton'](),void A['pause']();}if(null===(v=this['onContentChange'])||void 0x0===v||v['call'](this,'Backwards'===p?'PREV':'NEXT'),A['unload'](),m['ConfigService']['shouldAllowClosedCaptions']){const G=null===(w=D['data']['closedCaptions'])||void 0x0===w?void 0x0:w['find'](H=>''+H['language']===localStorage['getItem'](l['LOCAL_STORAGE_KEY_LAST_SELECTED']));A['setClosedCaptions'](null!==(x=null==G?void 0x0:G['files'])&&void 0x0!==x?x:[]),null===(y=A['closedCaptionsModal'])||void 0x0===y||y['reloadData'](D['data']['closedCaptions']),A['videoOverlay']['updateClosedCaptionButtonIcon'](!!G);}yield A['setData'](D['data']),D['widgetParentItem']&&A['setWidgetItemParent'](D['widgetParentItem']),A['resetLifecycle'](),null===(z=this['onNavigationComplete'])||void 0x0===z||z['call'](this);});}['updateNavigationButtons'](){const p=this['getCurrentVideoItem'](),q=this['getContentList'](),u=p['data']['id'],v=q['findIndex'](y=>y['data']['id']===u),w=v<q['length']-0x1,x=v>0x0;p['videoOverlay']['videoNavigationOverlay']['setAttribute']('has-next',w['toString']()),p['videoOverlay']['videoNavigationOverlay']['setAttribute']('has-prev',x['toString']());}['restart'](){const p=this['getCurrentVideoItem']();p['resetLifecycle'](),p['video']['currentTime']=0x0,p['videoOverlay']['videoTimer']['updateCurrentTime'](0x0),p['emitVideoStart'](),p['play']();}['handlePrevDirection'](){this['handleDirection']('Backwards');}['handleNextDirection'](){this['handleDirection']('Forwards');}['handleNavigationKeyPress'](p){if(this['getCurrentVideoItem']()['isPlayingAd']||'video'===m['ConfigService']['staticContentType'])return;let q=null;switch(p['code']){case j['KEY_CODES']['ARROW_LEFT']:q='Backwards';break;case j['KEY_CODES']['ARROW_RIGHT']:q='Forwards';}q&&this['handleDirection'](q);}['handleReplayClick'](p){this['restart']();}};},0xe32:(d,f)=>{'use strict';function g(j){return Array['isArray'](j)&&j['length']>0x0&&j['every'](h);}function h(j){return'string'==typeof j&&j['trim']()['length']>0x0&&!j['includes']('\x20');}Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isValidIds']=g,f['hasValidIds']=function(...j){return j['some'](k=>void 0x0!==k&&g(k));};},0xe72:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['PlayTypeArray']=void 0x0,f['PlayTypeArray']=['Widget','Share','SingleContent','AutoAdvance'];},0xe98:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xea7:(d,f)=>{'use strict';function g(){return navigator['connection']||navigator['mozConnection']||navigator['webkitConnection'];}function h(j){return j<0x5?'slow':j<0xf?'medium':'fast';}Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['DEFAULT_NETWORK_SPEED']=f['NETWORK_CONFIGS']=void 0x0,f['getNavigatorConnection']=g,f['getNetworkSpeed']=h,f['getPosterLimits']=function(){var j,k;const l=g(),m=h(null==l?void 0x0:l['downlink']);return null!==(k=null===(j=f['NETWORK_CONFIGS'][m])||void 0x0===j?void 0x0:j['posterLimits'])&&void 0x0!==k?k:f['NETWORK_CONFIGS'][f['DEFAULT_NETWORK_SPEED']]['posterLimits'];},f['getVideoPreloadLimits']=function(){var j,k;const l=g(),m=h(null==l?void 0x0:l['downlink']);return null!==(k=null===(j=f['NETWORK_CONFIGS'][m])||void 0x0===j?void 0x0:j['videoPreloadLimits'])&&void 0x0!==k?k:f['NETWORK_CONFIGS'][f['DEFAULT_NETWORK_SPEED']]['videoPreloadLimits'];},f['NETWORK_CONFIGS']={'slow':{'posterLimits':{'previous':0x0,'next':0x1},'videoPreloadLimits':{'next':0x0}},'medium':{'posterLimits':{'previous':0x1,'next':0x2},'videoPreloadLimits':{'next':0x1}},'fast':{'posterLimits':{'previous':0x1,'next':0x3},'videoPreloadLimits':{'next':0x2}}},f['DEFAULT_NETWORK_SPEED']='medium';},0xee3:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['fetchWithTimeout']=function(g,h,j){return h?'undefined'!=typeof AbortController?function(k,l,m){const p=new AbortController(),q=null==m?void 0x0:m['signal'];if(null==q?void 0x0:q['aborted'])return Promise['reject'](q['reason']);null==q||q['addEventListener']('abort',()=>p['abort'](q['reason']),{'once':!0x0});const r=setTimeout(()=>p['abort'](new Error('fetch\x20timed\x20out\x20after\x20'+l+'ms')),l);return globalThis['fetch'](k,Object['assign'](Object['assign']({},m),{'signal':p['signal']}))['then'](u=>(clearTimeout(r),u),u=>{throw clearTimeout(r),u;});}(g,h,j):function(k,l,m){let p;const q=new Promise((u,v)=>{p=setTimeout(()=>v(new Error('fetch\x20timed\x20out\x20after\x20'+l+'ms')),l);}),r=()=>clearTimeout(p);return Promise['race']([globalThis['fetch'](k,m),q])['then'](u=>(r(),u),u=>{throw r(),u;});}(g,h,j):globalThis['fetch'](g,j);};},0xefb:(d,f)=>{'use strict';function g(j){return h(j)||function(l){return Array['isArray'](l)&&l['length']>0x0&&l['every'](h);}(j)||'object'==typeof(k=j)&&null!==k&&'BlazeWidgetLabel'===k['_type']&&'string'==typeof k['value']&&k['value']['trim']()['length']>0x0;var k;}function h(j){return'string'==typeof j&&j['trim']()['length']>0x0;}Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isValidLabels']=g,f['hasValidLabels']=function(...j){return j['some'](k=>void 0x0!==k&&g(k));};},0xf49:function(f,j,k){'use strict';var m=this&&this['__awaiter']||function(H,I,J,K){return new(J||(J=Promise))(function(L,M){function N(Q){try{P(K['next'](Q));}catch(R){M(R);}}function O(Q){try{P(K['throw'](Q));}catch(R){M(R);}}function P(Q){var R;Q['done']?L(Q['value']):(R=Q['value'],R instanceof J?R:new J(function(S){S(R);}))['then'](N,O);}P((K=K['apply'](H,I||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetSDK']=void 0x0;const q=k(0x23a6),w=k(0x1133),x=k(0x1932),y=k(0x26ed),z=k(0x11c1),A=k(0x1133),B=k(0x132a),C=k(0x2432),D=k(0x774),E=k(0x175);let F=window['innerWidth'];class G extends w['BaseWidget']{static['isSdkConnected'](){return G['_isSdkConnected'];}static get['observedAttributes'](){return['should-allow-horizontal-stories','preferred-language'];}constructor(){super(),this['boundOnResizeEvent']=(0x0,w['debounce'])(this['onResize']['bind'](this),0x4b),this['boundOnResizeEventDelay']=this['onResizeEventDelay']['bind'](this);}['connectedCallback'](){return m(this,void 0x0,void 0x0,function*(){A['TextScaleService']['initialize'](),window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener'](w['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']);const H=this['getConfigAttributes']();yield this['initialize'](H);const I=new CustomEvent('onBlazeSDKConnect',{'bubbles':!0x0,'composed':!0x0});G['_isSdkConnected']=!0x0,this['dispatchEvent'](I),this['pushInitEvent'](),z['ConfigService']['disableAutoLoadingContent']||this['handleLoadingContent']();});}['disconnectedCallback'](){window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener'](w['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']),A['TextScaleService']['cleanup']();}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},0x1f4);}['onResize'](){var H,I,J,K,L,M;F!==window['innerWidth']&&(F=window['innerWidth'],this['modal']&&(null===(H=this['modal'])||void 0x0===H||H['render'](),this['modal']instanceof q['BlazeWidgetStoryModal']&&(null===(J=null===(I=this['modal'])||void 0x0===I?void 0x0:I['player'])||void 0x0===J||J['render'](),null===(M=null===(L=null===(K=this['modal'])||void 0x0===K?void 0x0:K['player'])||void 0x0===L?void 0x0:L['contentList'])||void 0x0===M||M['forEach'](N=>null==N?void 0x0:N['render']()))));}['handleLoadingContent'](){const {isStoryMatch:H,storyId:I,storyPageId:J,isMomentMatch:K,momentId:L,isVideoMatch:M,videoId:N}=this['extractContentIdsFromUrl']();H&&I?this['handleContentLoad']('story','Share',I,{'pageId':J}):K&&L?this['handleContentLoad']('moment','Share',L):M&&N?this['handleContentLoad']('video','Share',N):z['ConfigService']['staticContent']&&this['handleStaticContentLoad']('SingleContent');}['extractContentIdsFromUrl'](){var H,I,J,K,L,M,N;const O=location['href']['match'](C['RegexStoryHash']),P=location['href']['match'](C['RegexMomentHash']),Q=location['href']['match'](C['RegexVideoHash']),R=O&&null!==(I=null===(H=O[0x1])||void 0x0===H?void 0x0:H['split']('/'))&&void 0x0!==I?I:[],S=null!==(J=null==R?void 0x0:R[0x2])&&void 0x0!==J?J:null,T=R['findIndex'](U=>'page'===U);return{'isStoryMatch':!!O,'storyId':S,'storyPageId':T>-0x1&&(null==R?void 0x0:R[T+0x1])?R[T+0x1]:null,'isMomentMatch':!!P,'momentId':P?null===(L=null===(K=P[0x1])||void 0x0===K?void 0x0:K['split']('/'))||void 0x0===L?void 0x0:L[0x2]:null,'isVideoMatch':!!Q,'videoId':Q?null===(N=null===(M=Q[0x1])||void 0x0===M?void 0x0:M['split']('/'))||void 0x0===N?void 0x0:N[0x2]:null};}['setPlayerStyleCustomization'](H){z['ConfigService']['playerStyleCustomization']=H;}['handleContentLoad'](H,I,J,K){return m(this,void 0x0,void 0x0,function*(){var L,M,N;if((null===document||void 0x0===document?void 0x0:document['querySelector']('#blaze-standalone-player'))||!(null==J?void 0x0:J['length']))return;const O=J['split'](',');if(null===(L=this['modal'])||void 0x0===L||L['remove'](),null==O?void 0x0:O['length']){const P={'sourceType':'ids','ids':O};let Q;switch(H){case'story':Q=yield z['StoryService']['fetchContent'](P);break;case'moment':Q=yield z['MomentService']['fetchContent'](P);break;case'video':Q=yield z['VideoService']['fetchContent'](P);}null==Q||Q['result']['map'](R=>{R['type']='Content';}),0x0===(null===(M=null==Q?void 0x0:Q['result'])||void 0x0===M?void 0x0:M['length'])?z['EventService']['dispatch'](this,y['Delegation']['onErrorThrown'],{'id':O[0x0],'errorCode':y['ErrorLoadingCodeMapper'][H]}):this['setupModalAndLoadContent'](H,I,null===(N=null==Q?void 0x0:Q['result'])||void 0x0===N?void 0x0:N[0x0],K);}});}['handleStaticContentLoad'](H){return m(this,void 0x0,void 0x0,function*(){const I=yield z['ApiService']['getStaticStories']();I&&this['setupModalAndLoadContent']('story',H,I);});}['setupModalAndLoadContent'](H,I,J,K){return m(this,void 0x0,void 0x0,function*(){var L;let M;switch(H){case'moment':M=B['ThemeFactory']['create']('default','moment'),this['modal']=new q['BlazeWidgetMomentModal'](this,M['playerStyle']);break;case'video':M=B['ThemeFactory']['create']('default','video'),M['playerStyle']['buttons']['prev_next']['desktop']['isVisible']=!0x1,M['playerStyle']['buttons']['prev_next']['mobile']['isVisible']=!0x1,M['playerStyle']['buttons']['prev_next']['tablet']['isVisible']=!0x1,this['modal']=new D['BlazeWidgetVideoModal'](this,M['playerStyle']);break;default:M=B['ThemeFactory']['create']('default','story');const R=(0x0,C['mergeDeep'])(M['playerStyle'],z['ConfigService']['playerStyleCustomization'])||M['playerStyle'];this['modal']=new q['BlazeWidgetStoryModal'](this,R);}this['modal']['id']='blaze-standalone-player',z['VideoPlayerService']['playReference']=I,this['append'](this['modal']);const N=new q['BlazeWidgetItem']({'layout':M['layoutStyle'],'content':J});if(this['modal']instanceof q['BlazeWidgetStoryModal']){const S=yield z['StoryService']['enrichContent']([J]);this['modal']['setModalContent'](S,0x0);}else{if(this['modal']instanceof q['BlazeWidgetMomentModal']){const T=yield z['MomentService']['enrichContent']([J]);this['modal']['setModalContent'](T,0x0);}else{if(this['modal']instanceof D['BlazeWidgetVideoModal']){const U=yield z['VideoService']['enrichContent']([J]);this['modal']['setModalContent'](U);}}}const O='story'===H&&!!(null==K?void 0x0:K['pageId']),P='story'===H?J['id']:null;this['modal']['player']['contentList']['forEach']((V,W)=>{V['startTrigger']=I,V['refContentModal']=this['modal'],V['widgetParentItem']=N,V instanceof q['BlazeWidgetStory']&&(O&&P===V['data']['id']?V['setInitialPageById'](null==K?void 0x0:K['pageId']):V['resetStoryLocationIndexToLastUnseen']()),V instanceof q['BlazeWidgetMoment']&&(V['momentIndex']=W),V['setWidgetItemParent'](N);});const Q=this['modal']['player']['contentList'][0x0];Q&&(Q instanceof q['BlazeWidgetStory']||Q instanceof q['BlazeWidgetMoment'])&&(yield Q['load']('direct')),this['modal']['seek'](null!==(L=J['id'])&&void 0x0!==L?L:''),this['modal']['open'](),this['modal']['onClose']=()=>{var V;null===(V=this['modal'])||void 0x0===V||V['remove']();};});}['attributeChangedCallback'](H,I,J){switch(H){case'should-allow-horizontal-stories':I!==J&&(z['ConfigService']['shouldAllowHorizontalStories']='true'===J,this['modal']instanceof q['BlazeWidgetStoryModal']&&this['modal']['updateModalContent']());break;case'preferred-language':if(I!==J){const K=null==J?void 0x0:J['trim']();J&&K&&K['length']>0x0?z['ConfigService']['preferredLanguage']=K:z['ConfigService']['preferredLanguage']=void 0x0;}}}['getConfigAttributes'](){const H=this['getAttribute']('api-key'),J=this['getAttribute']('environment')||'prod',K=this['getAttribute']('send-analytics'),L=this['getAttribute']('disable-analytics'),N=this['getAttribute']('disable-user-activity'),O=this['getAttribute']('run-in-shadow-dom'),P=this['getAttribute']('preview-url'),Q=this['getAttribute']('preview-moment-url'),R=this['getAttribute']('do-not-track'),U=this['getAttribute']('external-user-id'),V=this['getAttribute']('geo-location'),W=this['getAttribute']('static-content'),X=this['getAttribute']('static-content-type'),Y=this['getAttribute']('modifiy-url-with-story-id'),Z=this['getAttribute']('modifiy-url-with-content-id'),a0=this['getAttribute']('should-dismiss-player'),a1=this['getAttribute']('should-create-user'),a2=this['getAttribute']('prefetching-policy')||'default',a3=this['getAttribute']('should-allow-horizontal-stories'),a4=this['getAttribute']('should-auto-advance'),a5=this['getAttribute']('auto-advance-url'),a6=this['getAttribute']('layout-direction'),a7=this['getAttribute']('should-allow-closed-captions'),a8=this['getAttribute']('disable-auto-loading-content'),a9=this['getAttribute']('preferred-language'),aa=this['getAttribute']('cdn-timeout'),ab=aa?parseInt(aa,0xa):void 0x0;if(void 0x0!==ab&&(!Number['isFinite'](ab)||E['CDN_TIMEOUT_MIN']),!H&&!P&&!Q)throw new Error('Please\x20provide\x20API\x20Key');return{'apiKey':H,'environment':J,'sendAnalytics':K,'disableAnalytics':L,'disableUserActivity':N,'previewMomentUrl':Q,'previewUrl':P,'doNotTrack':R,'externalUserId':U,'geoLocation':V,'staticContent':W,'staticContentType':X,'runInShadowDom':O,'shouldModifyUrlWithStoryId':Y,'shouldModifyUrlWithContentId':Z,'shouldDismissPlayer':a0,'shouldCreateUser':a1,'prefetchingPolicy':a2,'shouldAllowHorizontalStories':a3,'shouldAutoAdvance':a4,'autoAdvanceUrl':a5,'layoutDirection':a6,'shouldAllowClosedCaptions':a7,'disableAutoLoadingContent':a8,'preferredLanguage':a9,'cdnTimeout':ab};}['initialize'](H){return m(this,void 0x0,void 0x0,function*(){yield z['StartupService']['init'](H),yield this['injectFontResource'](),yield this['injectGoogleTag'](),yield this['injectIma']();});}['injectToHead'](H,I){return m(this,void 0x0,void 0x0,function*(){document['querySelectorAll'](H)['length']||(yield new Promise((J,K)=>{I['addEventListener']('load',()=>{J();}),I['addEventListener']('error',()=>{K('Failed\x20to\x20load\x20element:\x20'+I['outerHTML']);}),document['head']['append'](I);}));});}['injectFontResource'](){return m(this,void 0x0,void 0x0,function*(){if(!document['querySelector']('[href*=\x22'+z['CDNDetermineService']['buildStorageUrl']('/web-sdk/assets/fonts.css')+'\x22]'))try{yield z['CDNDetermineService']['loadLink']('/web-sdk/assets/fonts.css',document['head']);}catch(I){}const H=document['createElement']('link');H['setAttribute']('rel','stylesheet'),H['setAttribute']('href','https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Sora:wght@100..800&display=swap'),yield this['injectToHead']('[href*=\x22fonts.googleapis.com/css2\x22][href*=\x22family=Inter\x22][href*=\x22family=Sora\x22]',H);});}['injectGoogleTag'](){return m(this,void 0x0,void 0x0,function*(){if(!z['AdService']['canRunAds'])return;const H=document['createElement']('script');H['setAttribute']('src','https://securepubads.g.doubleclick.net/tag/js/gpt.js'),H['setAttribute']('async',''),this['injectToHead']('[src*=\x22securepubads.g.doubleclick.net/tag/js/gpt.js\x22]',H);});}['injectIma'](){return m(this,void 0x0,void 0x0,function*(){if(!z['AdService']['canRunAds'])return;const H=document['createElement']('script');H['setAttribute']('src','//imasdk.googleapis.com/js/sdkloader/ima3.js'),H['setAttribute']('async',''),this['injectToHead']('[src*=\x22imasdk.googleapis.com/js/sdkloader/ima3.js\x22]',H);});}['pushInitEvent'](){const H=new w['ReferringEventInfo']();document['referrer']&&(H['referrer_page_url']=document['referrer']),z['AnalyticsService']['pushWidgetEvent'](x['WidgetAction']['SDKInit'],{},void 0x0,H);}}j['BlazeWidgetSDK']=G,G['_isSdkConnected']=!0x1;},0xf4d:function(d,f){'use strict';var g=this&&this['__awaiter']||function(h,j,k,l){return new(k||(k=Promise))(function(m,p){function q(w){try{v(l['next'](w));}catch(x){p(x);}}function u(w){try{v(l['throw'](w));}catch(x){p(x);}}function v(w){var x;w['done']?m(w['value']):(x=w['value'],x instanceof k?x:new k(function(y){y(x);}))['then'](q,u);}v((l=l['apply'](h,j||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['UpcomingToLiveHandler']=void 0x0,f['UpcomingToLiveHandler']=class{constructor(){this['name']='UpcomingToLive';}['canHandle'](h,j){return'Upcoming'===h&&'Live'===j;}['mergeData'](h,j){var k,l,m,p,q,u;if(!h['stream']||!j['stream'])throw new Error('[UpcomingToLive]\x20Both\x20current\x20and\x20incoming\x20must\x20have\x20stream\x20data');if(!(null===(p=null===(m=null===(l=null===(k=j['baseLayer'])||void 0x0===k?void 0x0:k['content'])||void 0x0===l?void 0x0:l['renditions'])||void 0x0===m?void 0x0:m[0x0])||void 0x0===p?void 0x0:p['url']))throw new Error('[UpcomingToLive]\x20Incoming\x20content\x20missing\x20baseLayer\x20URL');return Object['assign'](Object['assign']({},h),{'stream':Object['assign'](Object['assign']({},h['stream']),j['stream']),'baseLayer':j['baseLayer'],'title':null!==(q=j['title'])&&void 0x0!==q?q:h['title'],'poster':null!==(u=j['poster'])&&void 0x0!==u?u:h['poster']});}['execute'](h){return g(this,void 0x0,void 0x0,function*(){h['setActionBlocked'](!0x1),h['clearSavedTime']&&h['clearSavedTime'](),h['setLoaded'](!0x1),yield h['reload']();});}};},0xf57:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xf84:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['UrlRotator']=void 0x0,f['UrlRotator']=class{constructor(g){this['baseUrls']=[],this['currentIndex']=0x0,this['protocol']='https://',this['fallbackUrl']=g['fallbackUrl'],this['apiVersion']=g['apiVersion']||'';}['initialize'](g){this['baseUrls']=this['parseBaseUrls'](null==g?void 0x0:g['hosts']),this['currentIndex']=this['baseUrls']['length']>0x0?Math['floor'](Math['random']()*this['baseUrls']['length']):0x0;}['getNext'](){if(0x0===this['baseUrls']['length'])return this['fallbackUrl'];const g=this['baseUrls'][this['currentIndex']];return this['currentIndex']=(this['currentIndex']+0x1)%this['baseUrls']['length'],Boolean(this['apiVersion'])?g+'/'+this['apiVersion']:g;}['parseBaseUrls'](g){if(!(null==g?void 0x0:g['length']))return[];const h=[];for(const j of g){const k=j['trim']();if(!k)continue;const l=k['replace'](/\/$/,'');h['push'](this['protocol']+l);}return h;}};},0xfba:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0xfcf:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EventsListener']=void 0x0,f['EventsListener']=class{constructor(){this['listeners']=[];}['add'](g,h,j){this['listeners']['find'](k=>k['node']==document&&k['type']==g)||(this['listeners']['push']({'node':document,'type':g,'callback':h}),document['addEventListener'](g,h,j));}['addAttached'](g,h,j,k){this['listeners']['find'](l=>l['node']==g&&l['type']==h)||(this['listeners']['push']({'node':g,'type':h,'callback':j}),g['addEventListener'](h,j,k));}['removeAll'](){for(const g of this['listeners'])try{g['node']['removeEventListener'](g['type'],g['callback']);}catch(h){}this['listeners']=[];}};},0xfe7:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LikeService']=void 0x0;const j=g(0x11c1),k=g(0x1133),l=g(0x23bc);class m extends(0x0,k['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0x0,void 0x0,function*(){});}['updateMomentLike'](p,q){return h(this,void 0x0,void 0x0,function*(){try{yield j['DatabaseService']['updateMomentLike'](q,p),yield j['ApiService']['updateMomentLikeStatus']({'momentId':q,'setLiked':p}),p?yield j['UserActivitySynchronizer']['saveEngagementActivity']({'id':'moment_like_'+q,'activityType':'moment_like','momentId':q,'isLiked':!0x0,'timestamp':Date['now'](),'isRemoteSynced':!0x1}):yield j['DatabaseService']['deleteUserActivity']('moment_like_'+q),j['EventBusService']['publish'](l['USER_ACTIVITY_EVENTS']['MOMENT_LIKE_CHANGED'],{'momentId':q,'isLiked':p});}catch(u){}});}['isMomentLiked'](p){return h(this,void 0x0,void 0x0,function*(){try{const q=yield j['DatabaseService']['getMomentLike'](p);return!(!q||!q['data'])&&q['data']['liked'];}catch(u){return!0x1;}});}['updateVideoLike'](p,q){return h(this,void 0x0,void 0x0,function*(){try{yield j['DatabaseService']['updateVideoData'](q,{'liked':p}),yield j['ApiService']['updateVideosLikeStatus']({'videoId':q,'setLiked':p}),p?yield j['UserActivitySynchronizer']['saveEngagementActivity']({'id':'video_like_'+q,'activityType':'video_like','videoId':q,'isLiked':!0x0,'timestamp':Date['now'](),'isRemoteSynced':!0x1}):yield j['DatabaseService']['deleteUserActivity']('video_like_'+q),j['EventBusService']['publish'](l['USER_ACTIVITY_EVENTS']['VIDEO_LIKE_CHANGED'],{'videoId':q,'isLiked':p});}catch(u){}});}['isVideoLiked'](p){return h(this,void 0x0,void 0x0,function*(){try{const q=yield j['DatabaseService']['getVideoLike'](p);return!(!q||!q['data'])&&q['data']['liked'];}catch(u){return!0x1;}});}}f['LikeService']=m['getInstance']();},0x1023:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});},j=this&&this['__rest']||function(p,q){var u={};for(var v in p)Object['prototype']['hasOwnProperty']['call'](p,v)&&q['indexOf'](v)<0x0&&(u[v]=p[v]);if(null!=p&&'function'==typeof Object['getOwnPropertySymbols']){var w=0x0;for(v=Object['getOwnPropertySymbols'](p);w<v['length'];w++)q['indexOf'](v[w])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](p,v[w])&&(u[v[w]]=p[v[w]]);}return u;};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['API']=void 0x0;const k=g(0x26ed),l=g(0x11c1),m=g(0x175);f['API']=class{['applySearchParams'](p,q){for(const [u,v]of Object['entries'](q))null!=v&&p['set'](u,v);}['buildRequestInit'](p){var q,u;const v=null!==(q=null==p?void 0x0:p['init'])&&void 0x0!==q?q:{},{headers:w}=v,x=j(v,['headers']);return Object['assign']({'headers':Object['assign'](Object['assign'](Object['assign']({},(null==p?void 0x0:p['auth'])&&{'Authorization':'Bearer\x20'+(null===(u=l['UserService']['getUserTokenDataFromStorage']())||void 0x0===u?void 0x0:u['accessToken'])}),{'Content-Type':'application/json','Accept':'application/json'}),w)},x);}['getRequestFetchMethodByUrl'](p,q){if(null==q?void 0x0:q['baseUrl']){const u=new URL(q['baseUrl']);(null==q?void 0x0:q['urlSearchParams'])&&this['applySearchParams'](u['searchParams'],q['urlSearchParams']);const v=u['toString']();return w=>globalThis['fetch'](v,w);}{const w=new URLSearchParams();w['set']('ApiKey',l['ConfigService']['apiKey']),(null==q?void 0x0:q['urlSearchParams'])&&this['applySearchParams'](w,q['urlSearchParams']);const x='/'+m['BASE_API_PATH']+'/'+p+'?'+w['toString']();return y=>l['CDNDetermineService']['fetch'](x,y);}}['get'](p,q){const u=null!=q?q:{},{init:v}=u,w=j(u,['init']);return this['request'](p,Object['assign']({'init':Object['assign'](Object['assign']({},v),{'method':'GET'})},w));}['post'](p,q){const u=null!=q?q:{},{init:v}=u,w=j(u,['init']);return this['request'](p,Object['assign']({'init':Object['assign'](Object['assign']({},v),{'method':'POST'})},w));}['put'](p,q){const u=null!=q?q:{},{init:v}=u,w=j(u,['init']);return this['request'](p,Object['assign']({'init':Object['assign'](Object['assign']({},v),{'method':'PUT'})},w));}['delete'](p,q){const u=null!=q?q:{},{init:v}=u,w=j(u,['init']);return this['request'](p,Object['assign']({'init':Object['assign'](Object['assign']({},v),{'method':'DELETE'})},w));}['request'](p,q){return h(this,void 0x0,void 0x0,function*(){var u;const v=this['buildRequestInit'](q);try{const w=this['getRequestFetchMethodByUrl'](p,q);let x,y=yield w(v);if(l['ConfigService']['shouldCreateUser']&&y['status']===k['HttpStatus']['Unauthorized']&&(null==q?void 0x0:q['auth'])&&(yield l['UserService']['refreshUserToken'](),v['headers']['Authorization']='Bearer\x20'+(null===(u=l['UserService']['getUserTokenDataFromStorage']())||void 0x0===u?void 0x0:u['accessToken']),y=yield w(v)),y['ok']){const z=y['headers']['get']('content-type');if('0'!==y['headers']['get']('content-length')&&(null==z?void 0x0:z['includes']('application/json'))){const A=yield y['text']();A&&A['trim']()['length']>0x0&&(x=JSON['parse'](A));}}return{'data':x,'httpStatus':y['ok']?k['HttpStatus']['Ok']:y['status']};}catch(B){return{'error':B};}});}};},0x1036:(d,f)=>{'use strict';var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['PlayStatus']=void 0x0,function(h){h['Success']='SUCCESS',h['Failed']='FAILED';}(g||(f['PlayStatus']=g={}));},0x1054:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Z_INDEX']=f['MIN_PADDING_BOTTOM']=f['DEFAULT_CTA_HEIGHT']=void 0x0,f['DEFAULT_CTA_HEIGHT']=0x28,f['MIN_PADDING_BOTTOM']=0xa,f['Z_INDEX']={'base':'0','player':'1','interaction':'2','onTopOfPlayer':'3','menuBackdrop':'99','menu':'100'};},0x1063:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x106d:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['getChipSize']=m,f['createChip']=p,f['getMaxChipSize']=q,f['calculateChipSize']=function(u,v,w){const {isOutside:x}=(0x0,h['calculatePosition'])(v);let y,z=0x0,A=0x0;if(y='chip'===u?w['statusLiveStyle']['isVisible']||w['statusLiveUnreadStyle']['isVisible']||w['statusUnreadStyle']['isVisible']||w['statusReadStyle']['isVisible']:w['badgeIndicatorStyle']['isVisible'],y&&x){const B=q(u,w);'outsideTop'!==v&&'outsideBottom'!==v||(z=Math['floor'](B['height'])),'outsideLeft'!==v&&'outsideRight'!==v||(A=Math['floor'](B['width']));}return{'chipHeight':z,'chipWidth':A};};const h=g(0x2432),j=g(0x22d9),k=g(0x1133);function m(u){const {statusLiveStyle:v,statusLiveUnreadStyle:w,statusReadStyle:x,statusUnreadStyle:y}=u,z=p(v),A=p(w),B=p(x),C=p(y),D=Math['max'](z['width'],A['width'],B['width'],C['width']),E=Math['max'](z['height'],A['height'],B['height'],C['height']);return new DOMRect(0x0,0x0,D,E);}function p(u){var v,w,x;const y=j['WidgetsFactory']['create']('blaze-chip');if(document['body']['append'](y),y['style']['opacity']='0',y['innerText']=u['text'],y['style']['fontSize']=k['TextScaleService']['scaleFontSize'](u['textSize']),y['style']['fontFamily']=u['font'],y['style']['backgroundColor']=u['backgroundColor'],y['style']['backgroundImage']=u['backgroundImage'],y['style']['borderColor']=u['borderColor'],y['style']['borderWidth']=u['borderWidth']+'px',y['style']['borderRadius']=u['borderRadius'],y['style']['color']=u['textColor'],y['style']['letterSpacing']=u['letterSpacing'],y['style']['padding']=u['padding'],u['icon']){const A=document['createElement']('span');A['style']['marginRight']='4px',A['style']['width']=null!==(v=u['icon']['size'])&&void 0x0!==v?v:'4px',A['style']['height']=null!==(w=u['icon']['size'])&&void 0x0!==w?w:'4px',A['style']['color']=null!==(x=u['icon']['color'])&&void 0x0!==x?x:'inherit',A['style']['display']='inline-block',y['prepend'](A);}u['width']&&u['height']&&(y['style']['width']=u['width']+'px',y['style']['height']=u['height']+'px');const z=y['getBoundingClientRect']();return y['remove'](),z;}function q(u,v){if('chip'===u){const {statusLiveStyle:w,statusLiveUnreadStyle:x,statusReadStyle:y,statusUnreadStyle:z}=v;return m({'statusLiveStyle':w,'statusLiveUnreadStyle':x,'statusReadStyle':y,'statusUnreadStyle':z});}return p(v['badgeIndicatorStyle']);}},0x107d:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1093:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1098:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(B,C,D,E){return new(D||(D=Promise))(function(F,G){function H(K){try{J(E['next'](K));}catch(L){G(L);}}function I(K){try{J(E['throw'](K));}catch(L){G(L);}}function J(K){var L;K['done']?F(K['value']):(L=K['value'],L instanceof D?L:new D(function(M){M(L);}))['then'](H,I);}J((E=E['apply'](B,C||[]))['next']());});},m=this&&this['__importDefault']||function(B){return B&&B['__esModule']?B:{'default':B};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetMomentPlayer']=g['UPDATE_NAVIGATION_BUTTONS_EVENT']=g['MUTE_UNMUTE_EVENT']=void 0x0;const p=m(j(0xad8)),q=j(0x23a6),v=j(0x1133),w=j(0x1f0f),x=j(0x1932),y=j(0x11c1),z=j(0x132a);g['MUTE_UNMUTE_EVENT']='muteButtonClicked',g['UPDATE_NAVIGATION_BUTTONS_EVENT']='updateNavigationButtons';class A extends q['WidgetAbstractPlayer']{constructor(){super(),this['isWheelEventHandling']=!0x1,this['boundHandleMuteClicked']=this['handleMuteClicked']['bind'](this),this['fetchedPosterUrls']=new Set(),this['preloadTimer']=null,this['accessibilityConfigTimeout']=null,this['focusTimeout']=null,this['numberOfContentInList']=0x5,this['playerFullscreenOverlay']['setStyle']({'backgroundColor':'#010101'});}get['currentMoment'](){return this['playerContentList'][this['index']];}['connectedCallback'](){this['append'](this['srcBackground']),this['append'](this['destBackground']),this['append'](this['container']),this['applyStyles'](),this['setupContainer'](),this['setupEventListeners']();}['disconnectedCallback'](){this['listeners']['removeAll'](),this['fetchedPosterUrls']['clear'](),this['preloadTimer']&&clearTimeout(this['preloadTimer']),this['cancelAccessibilityConfig'](),this['cancelFocus'](),document['removeEventListener'](g['MUTE_UNMUTE_EVENT'],this['boundHandleMuteClicked']);}['setupEventListeners'](){this['setupHammer'](Hammer['DIRECTION_VERTICAL']),this['listeners']['add']('wheel',(0x0,v['debounce'])(this['handleWheel']['bind'](this),0x0)),this['listeners']['add']('keydown',(0x0,v['debounce'])(this['handleNavigationKeyPress']['bind'](this),0x0)),document['addEventListener'](g['MUTE_UNMUTE_EVENT'],this['boundHandleMuteClicked']);}['setupContainer'](){this['container']['setStyle']({'display':'grid','overflow':'hidden','position':'relative','gridTemplateColumns':'100%'}),this['adjustContainerStyle'](),this['adjustPlayerContentStyle']();}['updateNavigationButtons'](){const B=this['isContentDirectionInPlayerListValid']('PREV'),C=this['isContentDirectionInPlayerListValid']('NEXT');this['dispatchEvent'](new CustomEvent(g['UPDATE_NAVIGATION_BUTTONS_EVENT'],{'bubbles':!0x0,'detail':{'nextContentButton':C,'prevContentButton':B}}));}['adjustContainerStyle'](){const B=this['getBoundingClientRect']()['height'];let C,D,E=0x28,F=0.004;'mobile'===v['deviceDetector']['platform']?(this['style']['background']=z['Colors']['Black'],F=0x1-0x2*F,E=0x0,C=0x0,D=B):(C=B*F+E/0x2,D=B*(0x1-0x2*F)-0x2*E);const G='repeat(10,\x20'+D+'px)';this['container']['setStyle']({'gap':E+'px','marginTop':C+'px','gridTemplateRows':G});}['adjustPlayerContentStyle'](){'mobile'===v['deviceDetector']['platform']&&this['playerContentList']['forEach'](B=>{B['style']['width']=this['clientWidth']+'px';});}['applyStyles'](){this['setStyle']({'display':'block','overflow':'hidden','height':'100%','width':'100%','position':'relative','background':z['Colors']['Black']});}['attributeChangedCallback'](B,C,D){}['handleMoveSwipe'](B){var C,D,E,F;if(y['VideoPlayerService']['isSeekBarDragging'])return;const G=this['playerContentList']['findIndex'](H=>{var I;return H['id']===(null===(I=this['playerContentList'][this['index']])||void 0x0===I?void 0x0:I['id']);});if(G>-0x1){const H=B['distance']/((null===window||void 0x0===window?void 0x0:window['screen']['height'])/0.85)*0x3e8;switch(B['offsetDirection']){case Hammer['DIRECTION_UP']:null===(C=this['currentNextAnimation'])||void 0x0===C||C['seek'](H);break;case Hammer['DIRECTION_DOWN']:null===(D=this['currentPrevAnimation'])||void 0x0===D||D['seek'](H);break;default:null===(E=this['currentNextAnimation'])||void 0x0===E||E['seek'](0x0),null===(F=this['currentPrevAnimation'])||void 0x0===F||F['seek'](0x0);}}}['handleEndSwipe'](B){const C=this['playerContentList'][this['index']+0x1],D=this['playerContentList'][this['index']-0x1];switch(B['offsetDirection']){case Hammer['DIRECTION_UP']:if(!C)return;this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['processAnimation'](B,C,this['currentNextAnimation']),v['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':null==C?void 0x0:C['data']['id'],'isAd':null==C?void 0x0:C['data']['isAd']});break;case Hammer['DIRECTION_DOWN']:if(!D)return;this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['processAnimation'](B,D,this['currentPrevAnimation']),v['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':null==D?void 0x0:D['data']['id'],'isAd':null==D?void 0x0:D['data']['isAd']});break;default:this['reverseAnimation'](B);}}['handlePrevDirection'](){if(Math['floor'](this['numberOfContentInList']/0x2-0x1)===this['index']){const B=this['playerContentList'][0x0]['data']['id'],C=this['contentList']['findIndex'](F=>F['data']['id']===B),D=this['contentList'][C-0x1];if(!D)return;const E=this['playerContentList'][this['playerContentList']['length']-0x1];this['releaseMomentFromMemory'](E),D instanceof q['BlazeWidgetMoment']&&this['updateItemData'](E,D),this['container']['insertBefore'](E,this['container']['firstChild']),this['playerContentList']['pop'](),this['playerContentList']['unshift'](E),this['index']+=0x1;}}['handleNextDirection'](){if(Math['floor'](this['numberOfContentInList']/0x2+0x1)===this['index']){const B=this['playerContentList'][this['playerContentList']['length']-0x1]['data']['id'],C=this['contentList']['findIndex'](F=>F['data']['id']===B),D=this['contentList'][C+0x1];if(!D)return;const E=this['playerContentList'][0x0];this['releaseMomentFromMemory'](E),D instanceof q['BlazeWidgetMoment']&&this['updateItemData'](E,D),this['container']['insertBefore'](E,null),this['playerContentList']['shift'](),this['playerContentList']['push'](E),this['index']-=0x1;}}['releaseMomentFromMemory'](B){const C=B['video'];C instanceof q['BlazeWidgetVideo']&&C['resetVideoState']();}['updateItemData'](B,C){var D,E;const F=B,G=C;G['actionHandlers']&&(F['actionHandlers']=G['actionHandlers']),F['refContentModal']=G['refContentModal'],F['playerStyle']=G['playerStyle'],F['updateData']({'data':G['data'],'shouldShowImaAdOnStart':G['shouldShowImaAdOnStart'],'adInfo':G['adInfo'],'contentExtraInfo':G['contentExtraInfo'],'momentIndex':G['momentIndex']});const H=null===(D=F['refContentModal'])||void 0x0===D?void 0x0:D['parentWidget'];if(H instanceof q['BlazeWidgetLayout']){const I=null===(E=H['widgetItems'])||void 0x0===E?void 0x0:E['find'](J=>J['content']['id']===G['data']['id']);I&&F['setWidgetItemParent'](I);}}['createAnimation'](B,C,D){var E,F;return p['default']['timeline']({'complete':()=>{var G,H,I;null===(G=B['video'])||void 0x0===G||G['endExit'](),null===(I=null===(H=this['playerContentList'][D])||void 0x0===H?void 0x0:H['video'])||void 0x0===I||I['startEnter'](),this['handleAnimationCompletion'](B,C);},'changeBegin':()=>{this['handleAnimationStart'](B,C);},'easing':'easeInOutQuad','autoplay':!0x1})['add']({'targets':[this['container']],'keyframes':[{'translateY':-this['playerContentList'][this['index']]['offsetTop'],'duration':0x0},{'translateY':-(null!==(F=null===(E=this['playerContentList'][D])||void 0x0===E?void 0x0:E['offsetTop'])&&void 0x0!==F?F:this['playerContentList'][this['index']]['offsetTop'])}]});}['handleAnimationStart'](B,C){var D,E,F,G,H;this['cancelFocus'](),(null===(D=B['shareModal'])||void 0x0===D?void 0x0:D['isOpen'])&&(null===(E=B['shareModal'])||void 0x0===E||E['close']()),(null===(F=B['closedCaptionsModal'])||void 0x0===F?void 0x0:F['isOpen'])&&(null===(G=B['closedCaptionsModal'])||void 0x0===G||G['close']()),null===(H=this['onContentChange'])||void 0x0===H||H['call'](this,C);}['calculateTruePosition'](B){const C=this['contentList']['findIndex'](D=>D['data']['id']===B['data']['id']);return C>=0x0?C+0x1:this['index']+0x1;}['handleAnimationCompletion'](B,C){return k(this,void 0x0,void 0x0,function*(){var D,E,F,G,H;B['navigationType']='Manual',B['navigationDirection']='NEXT'===C?'Forwards':'Backwards',B['isActive']=!0x1,B['pause'](),this['index']+='NEXT'===C?0x1:-0x1,this['scheduleAccessibilityConfig'](),B['event'](x['MomentAction']['MomentExit'],{}),(null===(E=null===(D=this['currentMoment'])||void 0x0===D?void 0x0:D['data'])||void 0x0===E?void 0x0:E['id'])&&w['contentAccessibilityManager']['updateButtonLabels'](this['currentMoment']['data']['id'],{'isPlaying':!(null===(F=this['currentMoment']['video'])||void 0x0===F?void 0x0:F['paused']),'isMuted':null===(G=this['currentMoment']['video'])||void 0x0===G?void 0x0:G['muted'],'isLiked':this['currentMoment']['isLiked']});const I=this['playerContentList'][this['index']];I&&w['contentAccessibilityManager']['announceNavigation'](this['calculateTruePosition'](I),this['contentList']['length'],'moment-list',null===(H=I['data'])||void 0x0===H?void 0x0:H['title'],{'trigger':'navigation','navigationType':I['navigationType']||'','previousPosition':this['calculateTruePosition'](this['playerContentList'][0x0===this['index']?0x0:this['index']-0x1])}),yield this['handleAnimationEnd'](C),this['preloadAdjacentPosters'](),this['preloadAdjacentVideos']();});}['loadAndPlayContent'](){return k(this,void 0x0,void 0x0,function*(){this['isNavigationBlocked']=!0x0,y['VideoPlayerService']['isPlaying']=!0x0;const B=this['playerContentList'][this['index']];B&&(yield B['load']('direct'),yield B['play'](),this['playerContentList']['forEach'](C=>{var D;C['data']['id']!==B['data']['id']&&(C['isActive']=!0x1,null===(D=C['seekBar'])||void 0x0===D||D['setAttribute']('is-active','false'),C['removeResumeButtonFromScreen']());}),B['isActive']=!0x0,this['isNavigationBlocked']=!0x1,y['VideoPlayerService']['isNavigating']=!0x1,y['VideoPlayerService']['isPlaying']=!0x0),this['configurePlayerContentAccessibility']();});}['setContent'](B){for(const C of this['playerContentList'])C['remove']();this['playerContentList']=[],this['contentList']=[...B],this['container']['style']['transform']='translateY(0px)';}['appendToContentList'](B){if(this['contentList']['push'](...B),this['playerContentList']['length']>=this['numberOfContentInList']){const C=Math['min'](Math['floor'](this['numberOfContentInList']/0x2),B['length']);for(let D=0x0;D<C;D++)if(Math['floor'](this['numberOfContentInList']/0x2)<this['index']){const E=this['playerContentList'][this['playerContentList']['length']-0x1]['data']['id'],F=this['contentList']['findIndex'](J=>J['data']['id']===E),G=this['contentList'][F+0x1];if(!G)break;const H=this['playerContentList'][0x0];this['releaseMomentFromMemory'](H),G instanceof q['BlazeWidgetMoment']&&this['updateItemData'](H,G),this['container']['insertBefore'](H,null),this['playerContentList']['shift'](),this['playerContentList']['push'](H),this['index']-=0x1;const I=this['playerContentList'][this['index']]['offsetTop'];this['container']['style']['transform']='translateY(-'+I+'px)';}}else{const J=this['numberOfContentInList']-this['playerContentList']['length'],K=Math['min'](J,B['length']);for(let L=0x0;L<K;L++){const M=B[L],N=this['cloneMoment'](M);this['playerContentList']['push'](N),this['container']['append'](N);}this['adjustPlayerContentStyle']();}this['updateNavigationButtons'](),this['preloadAdjacentPosters'](),this['preloadAdjacentVideos']();}['preloadAdjacentVideos'](){this['preloadTimer']&&clearTimeout(this['preloadTimer']),this['preloadTimer']=setTimeout(()=>k(this,void 0x0,void 0x0,function*(){const B=this['playerContentList'][this['index']+0x1];B&&(yield B['load']('direct'));}),0x3e8);}['preloadAdjacentPosters'](){this['playerContentList']['forEach'](E=>{var F;return null===(F=E['video'])||void 0x0===F?void 0x0:F['loadPoster']();});const {previous:B,next:C}=(0x0,x['getPosterLimits'])();if(0x0===B&&0x0===C)return;const D=this['getCurrentContentIndex']();-0x1!==D&&[...this['getIndicesRange'](D-B,D-0x1),...this['getIndicesRange'](D+0x1,D+C)]['forEach'](E=>this['fetchPosterAtIndex'](E));}['getCurrentContentIndex'](){return this['contentList']['findIndex'](B=>B['data']['id']===this['playerContentList'][this['index']]['data']['id']);}['getIndicesRange'](B,C){return Array['from']({'length':Math['max'](0x0,C-B+0x1)},(D,E)=>B+E)['filter'](D=>D>=0x0&&D<this['contentList']['length']);}['fetchPosterAtIndex'](B){return k(this,void 0x0,void 0x0,function*(){var C,D,E,F;const G=null===(F=null===(E=null===(D=null===(C=this['contentList'][B])||void 0x0===C?void 0x0:C['data'])||void 0x0===D?void 0x0:D['poster'])||void 0x0===E?void 0x0:E['rendition'])||void 0x0===F?void 0x0:F['url'];if(G&&!this['fetchedPosterUrls']['has'](G)){this['fetchedPosterUrls']['add'](G);try{yield fetch(G,{'priority':'high','cache':'force-cache'});}catch(H){}}});}['play'](){const B=this['playerContentList'][this['index']];B['event'](x['MomentAction']['MomentsPlaylistStart'],{}),B['play'](),v['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':B['data']['id'],'isAd':B['data']['isAd']}),this['updateNavigationButtons'](),this['preloadAdjacentVideos']();}['pause'](){this['playerContentList'][this['index']]['pause']();}['onAnimationEnd'](){}['handleWheel'](B){var C;if(Math['abs'](B['deltaY'])<=0xf)return;if(this['isNavigationBlocked']||this['isWheelEventHandling'])return;if(null===(C=this['currentMoment']['video'])||void 0x0===C?void 0x0:C['isCurrentlyTryingToRunImaAd'])return;this['isWheelEventHandling']=!0x0;const D=B['deltaY']>0x0?'NEXT':'PREV';this['isContentDirectionInPlayerListValid'](D)?(this['cancelAccessibilityConfig'](),this['isNavigationBlocked']=!0x0,this['changeContent'](D),setTimeout(()=>{this['isWheelEventHandling']=!0x1;},x['ONE_SECOND'])):this['isWheelEventHandling']=!0x1;}['handleNavigationKeyPress'](B){var C;if(this['isNavigationBlocked'])return;if(null===(C=this['currentMoment']['video'])||void 0x0===C?void 0x0:C['isCurrentlyTryingToRunImaAd'])return;let D=null;switch(B['code']){case'ArrowUp':case'Up':case'PageUp':D='PREV';break;case'ArrowDown':case'Down':case'PageDown':D='NEXT';break;case'Space':return void this['currentMoment']['handlePlayPauseButtonClick']();}this['isContentDirectionInPlayerListValid'](D)&&D&&(this['cancelAccessibilityConfig'](),this['changeContent'](D));}['changeContent'](B){this['isNavigationBlocked']=!0x0,y['VideoPlayerService']['isNavigating']=!0x0;const C=this['animateContent'](B);C&&(C['play'](),C['finished']['then'](()=>{var D;this['updateNavigationButtons'](),v['URLManager']['updateLocationContentHash']({'contentType':'moment','contentId':null===(D=this['playerContentList'][this['index']])||void 0x0===D?void 0x0:D['data']['id'],'isAd':this['playerContentList'][this['index']]['data']['isAd']});}));}['handleMuteClicked'](){this['playerContentList']['forEach'](B=>B['updatePlayerButtonIcons']()),this['playerContentList']['forEach'](B=>B['onMuteUnmuteChange']());}['loadContentBatch'](){}['resetStyles'](){}['render'](){this['adjustContainerStyle'](),this['adjustPlayerContentStyle']();}['configurePlayerContentAccessibility'](){this['playerContentList']['forEach']((B,C)=>{B instanceof q['BlazeWidgetMoment']&&(C===this['index']?this['setCurrentMomentAccessibility'](B,C):this['setInactiveMomentAccessibility'](B));});}['setCurrentMomentAccessibility'](B,C){var D;B['setAttribute']('tabindex',x['ACCESSIBILITY_ATTRIBUTES']['ACTIVE_TABINDEX']),B['setAttribute']('aria-hidden',x['ACCESSIBILITY_ATTRIBUTES']['ARIA_HIDDEN_FALSE']),B['setAttribute']('role',x['ACCESSIBILITY_ATTRIBUTES']['REGION_ROLE']),B['setAttribute']('aria-label','Moment\x20content');const E=((null===(D=B['data'])||void 0x0===D?void 0x0:D['title'])||'Moment\x20'+(C+0x1))+',\x20moment\x20'+this['calculateTruePosition'](B)+'\x20of\x20'+this['contentList']['length'];B['setAttribute']('aria-label',E),B['enableAllButtons'](),this['scheduleFocus'](B),setTimeout(()=>{B['setAttribute']('aria-label','');},x['ACCESSIBILITY_TIMING']['LABEL_CLEAR_DELAY']);}['setInactiveMomentAccessibility'](B){document['activeElement']===B&&B['blur'](),B['setAttribute']('tabindex',x['ACCESSIBILITY_ATTRIBUTES']['INACTIVE_TABINDEX']),B['setAttribute']('aria-hidden',x['ACCESSIBILITY_ATTRIBUTES']['ARIA_HIDDEN_TRUE']),B['disableAllButtons']();}['scheduleAccessibilityConfig'](){this['cancelAccessibilityConfig'](),this['accessibilityConfigTimeout']=setTimeout(()=>{var B,C;this['configurePlayerContentAccessibility']();const D=this['playerContentList'][this['index']];null===(C=null===(B=null==D?void 0x0:D['refContentModal'])||void 0x0===B?void 0x0:B['updateContentAriaLabelForNavigation'])||void 0x0===C||C['call'](B),this['accessibilityConfigTimeout']=null;},x['ACCESSIBILITY_TIMING']['CONFIG_SCHEDULE_DELAY']);}['cancelAccessibilityConfig'](){this['accessibilityConfigTimeout']&&(clearTimeout(this['accessibilityConfigTimeout']),this['accessibilityConfigTimeout']=null);}['scheduleFocus'](B){this['cancelFocus'](),this['focusTimeout']=setTimeout(()=>{B['focus'](),this['focusTimeout']=null;},x['ACCESSIBILITY_TIMING']['FOCUS_DELAY']);}['cancelFocus'](){this['focusTimeout']&&(clearTimeout(this['focusTimeout']),this['focusTimeout']=null);}}g['BlazeWidgetMomentPlayer']=A;},0x10da:(f,g,h)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeCtaButton']=void 0x0;const j=h(0x1133),k=h(0x1932),m=h(0x22d9),p=h(0x115),q=h(0x132a),u=h(0xdf6),v=h(0x2432);class w extends j['BaseWidget']{static['hasBorder'](x,y){return!(!y||!x);}static['getBorderOutlineStyles'](x,y){return{'border':w['hasBorder'](x,y)?x+'px\x20solid\x20'+y:'none','outline':'none'};}constructor(){super(),this['isButtonCreated']=!0x1,this['animationTimeouts']=[],this['setAttribute']('data-testid','cta-button'),this['anchorButtonElement']=document['createElement']('a'),this['iconButtonElement']=m['WidgetsFactory']['create']('blaze-button'),this['iconArrowElement']=m['WidgetsFactory']['create']('blaze-button'),this['ctaTextElement']=m['WidgetsFactory']['create']('blaze-div'),(0x0,v['mergeStyles'])(this,{'display':'none','width':'100%','cursor':'pointer','outline':'inherit','pointerEvents':'all'}),this['anchorButtonElement']['style']['position']='relative',this['anchorButtonElement']['style']['-webkit-touch-callout']='none',this['anchorButtonElement']['style']['-webkit-user-select']='none',this['anchorButtonElement']['setAttribute']('target','_blank'),this['setAnchorButtonStyles']({'width':'100%','height':'100%','textDecoration':'none','outline':'1px\x20solid','outlineColor':q['Colors']['White'],'fontWeight':'700','fontSize':'16px','borderRadius':w['DEFAULT_BORDER_RADIUS'],'display':'flex','justifyContent':'center','alignItems':'center','flexDirection':'column'}),this['iconButtonElement']['setAttribute']('width','24px'),this['iconButtonElement']['setAttribute']('height','24px'),this['iconButtonElement']['setStyle']({'display':'none','alignSelf':'flex-start'}),this['iconArrowElement']['setAttribute']('width','26px'),this['iconArrowElement']['setAttribute']('height','26px'),this['iconArrowElement']['setStyle']({'display':'none','position':'absolute','top':'-26px'}),this['iconArrowElement']['setIconUrl'](p['arrowUpCtaIconSvg']),this['setCtaTextStyle']({'position':'absolute','letterSpacing':'0.3px','overflow':'hidden','textOverflow':'ellipsis','whiteSpace':'nowrap','maxWidth':'75%','textAlign':'center'});}['connectedCallback'](){this['createButton']();}['disconnectedCallback'](){}['attributeChangedCallback'](x,y,z){switch(x){case'hidden-btn':this['style']['display']='true'===z?'none':'flex';break;case'width':this['setWidth'](z);break;case'margin':this['setMargin'](z);break;case'text':this['setCtaText'](z);break;case'href':this['anchorButtonElement']['href']=z;break;case'icon-url':this['iconButtonElement']['setIconUrl'](z);break;case'icon-size':this['iconButtonElement']['setAttribute']('height',z),this['iconButtonElement']['setAttribute']('width',z);break;case'icon-color':this['iconButtonElement']['setAttribute']('icon-color',z);break;case'display-icon':this['iconButtonElement']['style']['display']='true'===z?'flex':'none';break;case'arrow-icon-display':this['iconArrowElement']['style']['display']='true'===z?'flex':'none';break;case'arrow-icon-color':this['iconArrowElement']['setAttribute']('icon-color',z);}}['createButton'](){this['isButtonCreated']||(this['anchorButtonElement']['append'](this['iconButtonElement']),this['anchorButtonElement']['append'](this['ctaTextElement']),this['anchorButtonElement']['append'](this['iconArrowElement']),this['append'](this['anchorButtonElement']),this['isButtonCreated']=!0x0);}['animateButton'](x){this['animateElement'](this['anchorButtonElement'],x,0x2,3.5*k['ONE_SECOND'],0x1);}['animateIcon'](x){this['animateElement'](this['iconArrowElement'],x,0x3,k['ONE_SECOND'],0x3);}['animateElement'](x,y,z,A,B){x['style']['animation']='none',x['offsetWidth'];const C=setTimeout(()=>{const D=u['animationCssMapper'][y];D&&(x['style']['animation']=D+'\x20'+z+'s\x20cubic-bezier(0.4,\x200,\x200,\x200.99)\x20'+B+'\x20forwards'),this['animationTimeouts']=this['animationTimeouts']['filter'](E=>E!==C);},A);this['animationTimeouts']['push'](C);}['setCtaText'](x){this['ctaTextElement']['innerText']=x;}['setWidth'](x){this['anchorButtonElement']['style']['width']=x;}['setMargin'](x){this['anchorButtonElement']['style']['margin']=x;}['setAnchorButtonStyles'](x){(0x0,v['mergeStyles'])(this['anchorButtonElement'],x);}['setCtaTextStyle'](x){(0x0,v['mergeStyles'])(this['ctaTextElement'],x);}['setCtaIconStyles'](x){(0x0,v['mergeStyles'])(this['iconButtonElement'],x);}['setAriaLabel'](x){x?this['anchorButtonElement']['setAttribute']('aria-label',x):this['anchorButtonElement']['removeAttribute']('aria-label');}['clearAllAnimations'](){this['animationTimeouts']['forEach'](x=>clearTimeout(x)),this['animationTimeouts']=[];}}g['BlazeCtaButton']=w,w['DEFAULT_BORDER_RADIUS']='8px',w['observedAttributes']=['hidden-btn','height','width','margin','text','href','icon-url','icon-size','icon-color','arrow-icon-display','arrow-icon-color','display-icon'];},0x1106:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1132:function(f,j,k){'use strict';var q=this&&this['__importDefault']||function(L){return L&&L['__esModule']?L:{'default':L};};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeLongFormControlsOverlay']=void 0x0;const w=q(k(0xad8)),x=k(0x31b),z=k(0x20c9),A=k(0x1133),B=k(0x1699),C=k(0x26ed),D=k(0x22d9),E=k(0x11c1),F=k(0x132a),G=k(0x23a6),H=k(0x904),I=k(0x1758),J=k(0xdb2);class K extends HTMLElement{constructor(L){super(),this['videoRef']=L,this['shadow']=this['attachShadow']({'mode':'open'}),this['isInitialize']=!0x1,this['videoInfoText']=D['WidgetsFactory']['create']('blaze-div'),this['statusIndicatorChip']=D['WidgetsFactory']['create']('blaze-div'),this['statusIndicatorText']=D['WidgetsFactory']['create']('blaze-div'),this['upcomingDateChip']=D['WidgetsFactory']['create']('blaze-div'),this['upcomingDateText']=D['WidgetsFactory']['create']('blaze-div'),this['closeButton']=D['WidgetsFactory']['create']('blaze-button'),this['shareButton']=D['WidgetsFactory']['create']('blaze-button'),this['likeButton']=D['WidgetsFactory']['create']('blaze-button'),this['fullscreenButton']=D['WidgetsFactory']['create']('blaze-button'),this['muteButton']=D['WidgetsFactory']['create']('blaze-button'),this['closedCaptionButton']=D['WidgetsFactory']['create']('blaze-button'),this['currentMuteState']=C['ButtonState']['Unmute'],this['videoSeekBar']=D['WidgetsFactory']['create']('blaze-video-seek-bar'),this['videoTimer']=D['WidgetsFactory']['create']('blaze-timer'),this['videoNavigationOverlay']=D['WidgetsFactory']['create']('blaze-video-navigation-overlay'),this['gradientOverlayBottom']=D['WidgetsFactory']['create']('blaze-div'),this['gradientOverlayTop']=D['WidgetsFactory']['create']('blaze-div'),this['loader']=D['WidgetsFactory']['create']('blaze-loader'),this['canShowSeekbarValidator']=()=>!0x1,this['boundOnFullscreenClick']=this['handleFullscreenClick']['bind'](this),this['boundOnShareClick']=this['handleShareClick']['bind'](this),this['boundOnLikeClick']=this['handleLikeClick']['bind'](this),this['boundOnMuteClick']=this['handleMuteClick']['bind'](this),this['boundOnCloseClick']=this['handleCloseClick']['bind'](this),this['boundOnClosedCaptionClick']=this['handleClosedCaptionClick']['bind'](this),this['boundOnScreenOrientationChange']=this['handleScreenOrientationChange']['bind'](this),this['isOverlayChangesBlocked']=!0x1,this['ctaController']=new I['OverlayCtaController'](L);}['connectedCallback'](){this['initialize'](),this['attachEventListeners']();}['disconnectedCallback'](){this['detachEventListeners']();}['initialize'](){this['isInitialize']||(this['isInitialize']=!0x0,this['setAttribute']('dir',E['ConfigService']['layoutDirection']['toLowerCase']()),this['videoTimer']['setAttribute']('dir',E['ConfigService']['layoutDirection']['toLowerCase']()),this['attachStyles'](),this['createDOM'](),this['videoSeekBar']['onStartSeeking']=()=>{this['hidePlayerOverlayWhileSeeking']();},this['videoSeekBar']['onEndSeeking']=()=>{this['showPlayerOverlayAfterSeeking']();},this['updateVideoInfoText'](this['title']),this['setAttribute']('hidden','false'));}['hidePlayerOverlayWhileSeeking'](){this['videoNavigationOverlay']['setAttribute'](z['NAVIGATION_OVERLAY_ATTRIBUTES']['Hidden'],'true'),this['muteButton']['setAttribute'](B['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['closedCaptionButton']['setAttribute'](B['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['fullscreenButton']['setAttribute'](B['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['closeButton']['setAttribute'](B['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['shareButton']['setAttribute'](B['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['likeButton']['setAttribute'](B['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false');}['showPlayerOverlayAfterSeeking'](){setTimeout(()=>{this['videoNavigationOverlay']['setAttribute'](z['NAVIGATION_OVERLAY_ATTRIBUTES']['Hidden'],'false'),this['muteButton']['setAttribute'](B['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['closedCaptionButton']['setAttribute'](B['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['fullscreenButton']['setAttribute'](B['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['closeButton']['setAttribute'](B['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['shareButton']['setAttribute'](B['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['likeButton']['setAttribute'](B['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true');},0x3e8);}['setTheme'](L){var M;this['playerLayout']=L,this['videoSeekBar']['setTheme'](L['seekBar']);const {navigation:N,play:O,pause:P,replay:Q}=L['icons'],{prev_next:R,play_pause:S,replay:T}=L['buttons'];this['videoNavigationOverlay']['setTheme']({'play':O,'pause':P,'navigation':N,'prev_next':R,'play_pause':S,'replay':T,'replayIcon':Q}),null===(M=this['ctaController'])||void 0x0===M||M['setTheme'](L['cta']),this['setHeadingStyle'](this['videoInfoText'],L['headingText']),this['setButtonStyle'](this['closeButton'],this['getButtonStyle']('exit'),L['icons']['exit']),this['setButtonStyle'](this['shareButton'],this['getButtonStyle']('share'),L['icons']['share']),this['setButtonStyle'](this['likeButton'],this['getButtonStyle']('like_unlike'),L['icons']['like']),this['setButtonStyle'](this['fullscreenButton'],this['getButtonStyle']('fullscreen'),L['icons']['fullscreenEnter']),this['setButtonStyle'](this['muteButton'],this['getButtonStyle']('mute_unmute'),L['icons']['mute']),this['setButtonStyle'](this['closedCaptionButton'],this['getButtonStyle']('closed_captions'),L['icons']['closedCaptionsOff']),this['initializeStreamComponents'](),this['updateStreamStatus']();}['initializeStreamComponents'](){this['liveControls']=new H['LiveControlsComponent'](this['shadow'],this['playerLayout'],this['videoRef']),this['streamStateUIHandler']=new J['StreamStateUIHandler'](this['shadow'],this['videoNavigationOverlay'],this['videoSeekBar'],this['liveControls'],()=>this['updateStreamStatus']());}static get['observedAttributes'](){return['video-title','hidden'];}['attributeChangedCallback'](L,M,N){switch(L){case'video-title':N!==M&&this['updateVideoInfoText'](N);break;case'hidden':N!==M&&('true'===N?this['hidePlayerOverlay']():this['showPlayerOverlay']());}}['showLoader'](){A['deviceDetector']['isMobile']||A['deviceDetector']['isTablet']?this['videoNavigationOverlay']['showLoader']():A['deviceDetector']['isDesktop']&&(this['loader']['style']['display']='block');}['hideLoader'](){A['deviceDetector']['isMobile']||A['deviceDetector']['isTablet']?this['videoNavigationOverlay']['hideLoader']():A['deviceDetector']['isDesktop']&&(this['loader']['style']['display']='none');}['hidePlayerOverlay'](){var L;const M=this['shadow']['querySelector']('#bottom-container-controls');M&&this['animateOverlayVisibility'](M,!0x1,'down');const N=this['shadow']['querySelector']('#top-container');N&&this['animateOverlayVisibility'](N,!0x1,'up'),null===(L=this['ctaController'])||void 0x0===L||L['onOverlayHide']();}['showPlayerOverlay'](){var L;const M=this['shadow']['querySelector']('#top-container');M&&this['animateOverlayVisibility'](M,!0x0,'down');const N=this['shadow']['querySelector']('#bottom-container-controls');N&&this['animateOverlayVisibility'](N,!0x0,'up'),this['canShowSeekbarValidator']()&&this['videoSeekBar']['show'](),null===(L=this['ctaController'])||void 0x0===L||L['onOverlayShow']();}['setSeekbarValidator'](L){this['canShowSeekbarValidator']=L;}['animateOverlayVisibility'](L,M,N='down'){if(w['default']['remove'](L),M){if(!L['classList']['contains']('hidden'))return;L['classList']['remove']('hidden'),(0x0,w['default'])({'targets':L,'opacity':[0x0,0x1],'translateY':['up'===N?0x14:-0x14,0x0],'duration':0xfa,'easing':'easeOutQuad','begin':()=>{this['dispatchEvent'](new CustomEvent(x['VIDEO_EVENTS']['UPDATE_CLOSED_CAPTIONS_LOCATION'],{'detail':{'top':'70px','left':'10px'},'bubbles':!0x0,'composed':!0x0})),this['gradientOverlayBottom']['classList']['remove']('hidden'),this['gradientOverlayTop']['classList']['remove']('hidden'),this['videoNavigationOverlay']['classList']['remove']('hidden');}});}else(0x0,w['default'])({'targets':L,'opacity':[0x1,0x0],'translateY':[0x0,'up'===N?-0x14:0x14],'duration':0xfa,'easing':'easeInQuad','complete':()=>{L['classList']['add']('hidden'),L['style']['transform']='',this['gradientOverlayBottom']['classList']['add']('hidden'),this['gradientOverlayTop']['classList']['add']('hidden'),this['videoNavigationOverlay']['classList']['add']('hidden'),this['dispatchEvent'](new CustomEvent(x['VIDEO_EVENTS']['UPDATE_CLOSED_CAPTIONS_LOCATION'],{'detail':{'top':'10px','left':'10px'},'bubbles':!0x0,'composed':!0x0}));}});}['handleScreenOrientationChange'](L){var M;A['deviceDetector']['isDesktop']||this['playerLayout']&&(null===(M=this['ctaController'])||void 0x0===M||M['refreshLayout'](this['playerLayout']['cta']));}['setClosedCaptionState'](L){'enabled'===L?(this['closedCaptionButton']['setAttribute']('disabled','false'),this['updateClosedCaptionButtonIcon']()):(this['closedCaptionButton']['setAttribute']('disabled','true'),this['closedCaptionButton']['setIconUrlAnimation'](this['playerLayout']['icons']['closedCaptionsOn']));}get['title'](){return this['getAttribute']('video-title')||'';}set['title'](L){this['setAttribute']('video-title',L);}['setCta'](L){var M;null===(M=this['ctaController'])||void 0x0===M||M['setCta'](L);}['removeCta'](){var L;null===(L=this['ctaController'])||void 0x0===L||L['removeCta']();}['attachStyles'](){const L=document['createElement']('style');L['textContent']='\x0a\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:\x20column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20box-sizing:\x20border-box;\x0a\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20space-between;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20\x22Roboto\x22,\x20sans-serif;\x0a\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20all;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x203;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.hidden\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20visibility:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20opacity\x200.5s\x20ease;\x20/*\x20Optional:\x20if\x20you\x20want\x20a\x20fade-out\x20*/\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.gradient-overlay-bottom,\x0a\x20\x20\x20\x20\x20\x20.gradient-overlay-top\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.gradient-overlay-bottom\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x2030%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20bottom:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background:\x20linear-gradient(180deg,\x20rgba(0,\x200,\x200,\x200)\x200%,\x20rgba(0,\x200,\x200,\x200.72)\x20105.77%);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.gradient-overlay-top\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x2030%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background:\x20linear-gradient(0deg,\x20rgba(0,\x200,\x200,\x200)\x200%,\x20rgba(0,\x200,\x200,\x200.72)\x20105.77%);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.top-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20space-between;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px\x2010px\x200px\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:\x20-10px\x20-10px\x200\x20-10px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20column-gap:\x2010%;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.bottom-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:\x20column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20gap:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x203;\x0a\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:\x20-10px;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.bottom-container-cta\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.bottom-left-icons,\x0a\x20\x20\x20\x20\x20\x20.bottom-right-icons\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20gap:\x2010px;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.bottom-icons-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20space-between;\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20.video-info\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20padding-left:\x208px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20middle;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.top-left-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.title-row\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin-bottom:\x208px;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.title-row.is-video\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20gap:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.status-indicator-icon\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20middle;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.status-indicator-text\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20white-space:\x20nowrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20vertical-align:\x20middle;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.upcoming-date-chip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20gap:\x206px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20white-space:\x20nowrap;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20:host([dir=\x22rtl\x22])\x20.upcoming-date-chip\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:\x20row;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.upcoming-date-icon\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20flex-shrink:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20object-fit:\x20contain;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.upcoming-date-text\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20white-space:\x20nowrap;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.top-right-icons\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20gap:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:\x20column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20flex-start;\x0a\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20all;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20.controls\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:\x20column;\x0a\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20all;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20blaze-button\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20all;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20blaze-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x2040%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x2050%;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['shadow']['appendChild'](L);}['createDOM'](){this['gradientOverlayBottom']['classList']['add']('gradient-overlay-bottom'),this['gradientOverlayTop']['classList']['add']('gradient-overlay-top'),this['shadow']['appendChild'](this['gradientOverlayTop']),this['shadow']['appendChild'](this['gradientOverlayBottom']),A['deviceDetector']['isDesktop']&&(this['loader']['setAttribute']('color',F['Colors']['White']),this['shadow']['appendChild'](this['loader'])),this['playerLayout']&&(this['videoInfoText']['classList']['add']('video-info'),this['createStatusIndicator'](),this['createTopContainer'](),this['createBottomContainer']());}['getDeviceStyle'](L){switch(!0x0){case A['deviceDetector']['isMobile']:return L['mobile'];case A['deviceDetector']['isTablet']:return L['tablet'];case A['deviceDetector']['isDesktop']:default:return L['desktop'];}}['getButtonStyle'](L){return this['getDeviceStyle'](this['playerLayout']['buttons'][L]);}['getLikeButtonStyle'](L){return this['getDeviceStyle'](L);}['getHeadingTextStyle'](L){return this['getDeviceStyle'](L);}['setHeadingStyle'](L,M){const {font:N,textColor:O,isVisible:P}=M;let {fontWeight:Q,fontSize:R,textTransform:S,lineHeight:T}=this['getHeadingTextStyle'](M['textStyle']);const U=this['videoRef']['embeddedRef']instanceof G['BlazeWidgetEmbeddedVideo']&&!this['videoRef']['modal'];A['deviceDetector']['isMobile']&&U&&(R='14px'),L['setStyle']({'fontFamily':N,'fontWeight':Q,'fontSize':A['TextScaleService']['scaleFontSize'](R),'color':O,'textTransform':S||'none','lineHeight':T||'normal','visibility':P?'visible':'hidden'});}['setButtonStyle'](L,M,N,O){L['setAttribute'](B['BUTTON_ATTRIBUTES']['Width'],M['width']),L['setAttribute'](B['BUTTON_ATTRIBUTES']['Height'],M['height']),L['setIconUrl'](N),L['setAttribute'](B['BUTTON_ATTRIBUTES']['IconColor'],(null==O?void 0x0:O['iconColor'])||M['color']),A['deviceDetector']['isDesktop']&&L['setAttribute'](B['BUTTON_ATTRIBUTES']['ButtonDesktopAnimation'],'true'),L['setStyle']({'display':'inline-flex','padding':M['padding'],'borderRadius':M['borderRadius'],'backgroundColor':M['backgroundColor']});}['createStatusIndicator'](){this['statusIndicatorIcon']=document['createElement']('img'),this['statusIndicatorIcon']['classList']['add']('status-indicator-icon'),this['statusIndicatorIcon']['style']['display']='none',this['statusIndicatorChip']['appendChild'](this['statusIndicatorIcon']),this['statusIndicatorText']['classList']['add']('status-indicator-text'),this['statusIndicatorChip']['appendChild'](this['statusIndicatorText']),this['upcomingDateChip']['classList']['add']('upcoming-date-chip'),this['upcomingDateIcon']=document['createElement']('img'),this['upcomingDateIcon']['classList']['add']('upcoming-date-icon'),this['upcomingDateChip']['appendChild'](this['upcomingDateIcon']),this['upcomingDateText']['classList']['add']('upcoming-date-text'),this['upcomingDateChip']['appendChild'](this['upcomingDateText']),this['statusIndicatorChip']['style']['display']='none',this['upcomingDateChip']['style']['display']='none';}['createTopContainer'](){var L,M;const N=D['WidgetsFactory']['create']('blaze-div');N['classList']['add']('top-container'),N['id']='top-container';const O=D['WidgetsFactory']['create']('blaze-div');O['classList']['add']('top-left-container'),this['titleRow']=D['WidgetsFactory']['create']('blaze-div'),this['titleRow']['classList']['add']('title-row'),(null===(M=null===(L=this['videoRef'])||void 0x0===L?void 0x0:L['data'])||void 0x0===M?void 0x0:M['stream'])||this['titleRow']['classList']['add']('is-video'),this['titleRow']['appendChild'](this['statusIndicatorChip']),this['setHeadingStyle'](this['videoInfoText'],this['playerLayout']['headingText']),this['titleRow']['appendChild'](this['videoInfoText']),O['appendChild'](this['titleRow']),O['appendChild'](this['upcomingDateChip']),N['appendChild'](O);const P=D['WidgetsFactory']['create']('blaze-div');if(P['classList']['add']('top-right-icons'),!E['ConfigService']['staticContentType']&&(!(this['videoRef']['embeddedRef']instanceof G['BlazeWidgetEmbeddedVideo'])||this['videoRef']['modal'])){const S=this['getButtonStyle']('exit');this['setButtonStyle'](this['closeButton'],S,this['playerLayout']['icons']['exit']),S['isVisible']&&P['appendChild'](this['closeButton']),this['closeButton']['setDataTestId']('close-button');}const Q=this['getButtonStyle']('share');this['setButtonStyle'](this['shareButton'],Q,this['playerLayout']['icons']['share']),Q['isVisible']&&P['appendChild'](this['shareButton']),this['shareButton']['setDataTestId']('share-button');const R=this['getButtonStyle']('like_unlike');this['setButtonStyle'](this['likeButton'],R,this['playerLayout']['icons']['unlike']),R['isVisible']&&P['appendChild'](this['likeButton']),this['likeButton']['setDataTestId']('like-button'),P['addEventListener']('click',T=>{T['target']===P&&T['stopPropagation']();}),N['appendChild'](P),this['shadow']['appendChild'](N);}['createBottomContainer'](){const L=D['WidgetsFactory']['create']('blaze-div');L['classList']['add']('bottom-container');const M=D['WidgetsFactory']['create']('blaze-div');M['id']='bottom-container-controls';const N=this['createControls']();M['appendChild'](N);const O=D['WidgetsFactory']['create']('blaze-div');O['classList']['add']('bottom-icons-container');const P=this['createBottomLeftIcons']();O['appendChild'](P);const Q=this['createBottomRightIcons']();O['appendChild'](Q),M['appendChild'](O),L['appendChild'](this['ctaController']['container']),L['appendChild'](M),L['addEventListener']('click',R=>R['stopPropagation']()),this['shadow']['appendChild'](L);}['createControls'](){const L=D['WidgetsFactory']['create']('blaze-div');return L['classList']['add']('controls'),L['appendChild'](this['videoTimer']),L['appendChild'](this['videoSeekBar']),L;}['createBottomRightIcons'](){const L=D['WidgetsFactory']['create']('blaze-div');L['classList']['add']('bottom-right-icons');const M=this['getButtonStyle']('fullscreen');this['setButtonStyle'](this['fullscreenButton'],M,this['playerLayout']['icons']['fullscreenEnter']),this['fullscreenButton']['setDataTestId']('fullscreen-button');const N=this['getButtonStyle']('mute_unmute');this['setButtonStyle'](this['muteButton'],N,this['playerLayout']['icons']['mute']),N['isVisible']&&L['appendChild'](this['muteButton']),this['muteButton']['setDataTestId']('mute-button');const O=this['getButtonStyle']('closed_captions');this['setButtonStyle'](this['closedCaptionButton'],O,this['playerLayout']['icons']['closedCaptionsOn']);const P=this['videoRef']['embeddedRef']instanceof G['BlazeWidgetEmbeddedVideo']&&!this['videoRef']['modal'];return(P?O['isEmbeddedVisible']&&O['isVisible']:O['isVisible'])&&L['appendChild'](this['closedCaptionButton']),this['closedCaptionButton']['setDataTestId']('closed-caption-button'),(A['deviceDetector']['isFullscreenSupported']||P)&&M['isVisible']&&L['appendChild'](this['fullscreenButton']),L;}['createBottomLeftIcons'](){const L=D['WidgetsFactory']['create']('blaze-div');return L['classList']['add']('bottom-left-icons'),this['videoNavigationOverlay']['setAttribute']('dir',E['ConfigService']['layoutDirection']['toLowerCase']()),A['deviceDetector']['isDesktop']?(this['videoNavigationOverlay']['platform']='desktop',L['appendChild'](this['videoNavigationOverlay'])):A['deviceDetector']['isTablet']?(this['videoNavigationOverlay']['platform']='tablet',this['shadow']['appendChild'](this['videoNavigationOverlay'])):A['deviceDetector']['isMobile']&&(this['videoNavigationOverlay']['platform']='mobile',this['shadow']['appendChild'](this['videoNavigationOverlay'])),L;}['attachEventListeners'](){var L;this['fullscreenButton']['addEventListener'](x['EVENTS']['CLICK'],this['boundOnFullscreenClick']),this['shareButton']['addEventListener'](x['EVENTS']['CLICK'],this['boundOnShareClick']),this['likeButton']['addEventListener'](x['EVENTS']['CLICK'],this['boundOnLikeClick']),this['muteButton']['addEventListener'](x['EVENTS']['CLICK'],this['boundOnMuteClick']),this['closedCaptionButton']['addEventListener'](x['EVENTS']['CLICK'],this['boundOnClosedCaptionClick']),(A['deviceDetector']['isMobile']||A['deviceDetector']['isTablet'])&&this['closeButton']['addEventListener'](x['EVENTS']['CLICK'],this['boundOnCloseClick']),null===(L=this['ctaController'])||void 0x0===L||L['attachListeners'](),window['addEventListener'](A['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnScreenOrientationChange']);}['detachEventListeners'](){var L;this['fullscreenButton']['removeEventListener'](x['EVENTS']['CLICK'],this['boundOnFullscreenClick']),this['shareButton']['removeEventListener'](x['EVENTS']['CLICK'],this['boundOnShareClick']),this['likeButton']['removeEventListener'](x['EVENTS']['CLICK'],this['boundOnLikeClick']),this['muteButton']['removeEventListener'](x['EVENTS']['CLICK'],this['boundOnMuteClick']),this['closedCaptionButton']['removeEventListener'](x['EVENTS']['CLICK'],this['boundOnClosedCaptionClick']),(A['deviceDetector']['isMobile']||A['deviceDetector']['isTablet'])&&this['closeButton']['removeEventListener'](x['EVENTS']['CLICK'],this['boundOnCloseClick']),null===(L=this['ctaController'])||void 0x0===L||L['detachListeners'](),window['removeEventListener'](A['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnScreenOrientationChange']);}['handleFullscreenClick'](L){L['stopPropagation'](),this['dispatchEvent'](new CustomEvent(x['VIDEO_EVENTS']['FULLSCREEN'],{'bubbles':!0x0,'composed':!0x0}));}['handleShareClick'](L){L['stopPropagation'](),this['dispatchEvent'](new CustomEvent(x['VIDEO_EVENTS']['SHARE'],{'bubbles':!0x0,'composed':!0x0}));}['handleLikeClick'](L){L['stopPropagation'](),this['dispatchEvent'](new CustomEvent(x['VIDEO_EVENTS']['LIKE'],{'bubbles':!0x0,'composed':!0x0}));}['handleCloseClick'](L){L['stopPropagation'](),this['dispatchEvent'](new CustomEvent(x['VIDEO_EVENTS']['CLOSE_PLAYER'],{'detail':{'exitTrigger':'Close\x20Button'},'bubbles':!0x0,'composed':!0x0}));}['handleClosedCaptionClick'](L){L['stopPropagation'](),this['dispatchEvent'](new CustomEvent(x['VIDEO_EVENTS']['CLOSED_CAPTIONS_OPEN_MODAL'],{'bubbles':!0x0,'composed':!0x0}));}['handleMuteClick'](L){L['stopPropagation'](),this['currentMuteState']===C['ButtonState']['Unmute']?(this['currentMuteState']=C['ButtonState']['Mute'],this['updateMuteButtonIcon'](),this['dispatchEvent'](new CustomEvent(x['VIDEO_EVENTS']['MUTE'],{'bubbles':!0x0,'composed':!0x0}))):(this['currentMuteState']=C['ButtonState']['Unmute'],this['updateMuteButtonIcon'](),this['dispatchEvent'](new CustomEvent(x['VIDEO_EVENTS']['UNMUTE'],{'bubbles':!0x0,'composed':!0x0})));}['updateClosedCaptionButtonIcon'](L){const {closedCaptionsOn:M,closedCaptionsOff:N}=this['playerLayout']['icons'];this['closedCaptionButton']['setIconUrlAnimation'](L?M:N);}['setMuteState'](L){this['currentMuteState']=L?C['ButtonState']['Mute']:C['ButtonState']['Unmute'],this['updateMuteButtonIcon']();}['updateMuteButtonIcon'](){const {mute:L,unmute:M}=this['playerLayout']['icons'];this['muteButton']['setIconUrlAnimation'](this['currentMuteState']===C['ButtonState']['Unmute']?M:L);}['toggleMute'](L){this['currentMuteState']=L?C['ButtonState']['Mute']:C['ButtonState']['Unmute'],this['updateMuteButtonIcon']();}['updateMute'](L){this['toggleMute'](L);}['setFullscreenState'](L){var M;const N=void 0x0!==L?L:'fullscreen'===this['videoRef']['videoPlayerState']['playerLayout'],{fullscreenEnter:O,fullscreenExit:P}=this['playerLayout']['icons'];if(A['deviceDetector']['isFullscreenSupported']||this['videoRef']['embeddedRef']){const Q=N?P:O;this['fullscreenButton']['setIconUrlAnimation'](Q);}this['playerLayout']&&(null===(M=this['ctaController'])||void 0x0===M||M['refreshLayout'](this['playerLayout']['cta']));}['setVideoDuration'](L){this['videoTimer']['updateTotalTime'](L);}['setCurrentTime'](L){this['videoTimer']['updateCurrentTime'](L);}['updateVideoInfoText'](L){this['videoInfoText']['textContent']=L;}['setLikedState'](L){const {like:M,unlike:N}=this['playerLayout']['icons'];this['likeButton']['setIconUrlAnimation'](L?M:N),this['likeButton']['setAttribute'](B['BUTTON_ATTRIBUTES']['IconColor'],L?this['getLikeButtonStyle'](this['playerLayout']['buttons']['like_unlike'])['color']:F['Colors']['White']);}['disableInteractiveButtons'](){this['muteButton']['setAttribute']('disabled','true'),this['closedCaptionButton']['setAttribute']('disabled','true'),this['likeButton']['setAttribute']('disabled','true');}['enableInteractiveButtons'](){this['muteButton']['setAttribute']('disabled','false'),this['closedCaptionButton']['setAttribute']('disabled','false'),this['likeButton']['setAttribute']('disabled','false');}['refreshCtaLayout'](){var L;this['playerLayout']&&(null===(L=this['ctaController'])||void 0x0===L||L['refreshLayout'](this['playerLayout']['cta']));}['applyStatusIndicatorTheme'](L){var M;if(!(null===(M=this['playerLayout'])||void 0x0===M?void 0x0:M['statusIndicator'])||!L)return;const N=this['playerLayout']['statusIndicator']['streamStates'][L['toLowerCase']()];if(!N||!N['isVisible'])return void(this['statusIndicatorChip']['style']['display']='none');this['statusIndicatorChip']['setStyle']({'backgroundColor':N['backgroundColor'],'borderRadius':N['borderRadius'],'padding':N['padding'],'borderWidth':N['borderWidth']+'px','borderColor':N['borderColor'],'borderStyle':N['borderWidth']>0x0?'solid':'none','marginRight':'ltr'===this['getAttribute']('dir')?'4px':'0px','marginLeft':'rtl'===this['getAttribute']('dir')?'4px':'0px'});const O=A['deviceDetector']['isMobile']?'11px':N['textSize'];this['statusIndicatorText']['setStyle']({'color':N['textColor'],'fontFamily':N['font'],'fontSize':A['TextScaleService']['scaleFontSize'](O),'fontWeight':N['fontWeight']||'400','letterSpacing':N['letterSpacing'],'lineHeight':'1'}),this['statusIndicatorText']['textContent']=N['text'],this['applyIconStyle'](this['statusIndicatorIcon'],N['icon']),this['statusIndicatorChip']['style']['display']='inline-block';}['getIconColorFilter'](L){const M=L['toLowerCase']();return M===F['Colors']['White']['toLowerCase']()||'#ffffff'===M||'#f0f0f0'===M||'white'===M?'invert(100%)':'';}['applyIconStyle'](L,M,N){if(L){if(M){if(L['style']['display']='inline-block',L['src']=M['url'],M['size']){const O=N&&A['deviceDetector']['isMobile']?'14px':M['size'];L['style']['width']=O,L['style']['height']=O;}M['color']&&(L['style']['filter']='brightness(0)\x20saturate(100%)\x20'+this['getIconColorFilter'](M['color'])),L['style']['marginRight']='ltr'===this['getAttribute']('dir')?'4px':'0px',L['style']['marginLeft']='rtl'===this['getAttribute']('dir')?'4px':'0px';}else L['style']['display']='none';}}['formatStreamDate'](L){var M,N,O,P,Q;const R=new Date(L),S=new Intl['DateTimeFormat'](navigator['language'],{'month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','hour12':!0x0})['formatToParts'](R);return(null===(M=S['find'](T=>'month'===T['type']))||void 0x0===M?void 0x0:M['value'])+'/'+(null===(N=S['find'](T=>'day'===T['type']))||void 0x0===N?void 0x0:N['value'])+'\x20|\x20'+(null===(O=S['find'](T=>'hour'===T['type']))||void 0x0===O?void 0x0:O['value'])+':'+(null===(P=S['find'](T=>'minute'===T['type']))||void 0x0===P?void 0x0:P['value'])+(null===(Q=S['find'](T=>'dayPeriod'===T['type']))||void 0x0===Q?void 0x0:Q['value']['toUpperCase']());}['setStatusIndicatorState'](L,M){var N,O;if(!L)return this['statusIndicatorChip']['style']['display']='none',void(this['upcomingDateChip']['style']['display']='none');if(this['applyStatusIndicatorTheme'](L),'Upcoming'===L&&M){const P=null===(O=null===(N=this['playerLayout'])||void 0x0===N?void 0x0:N['statusIndicator'])||void 0x0===O?void 0x0:O['upcomingDateStyle'];if(!P)return void(this['upcomingDateChip']['style']['display']='none');const Q=this['formatStreamDate'](M);this['upcomingDateText']['textContent']=Q,this['upcomingDateChip']['setStyle']({'backgroundColor':P['backgroundColor'],'borderRadius':P['borderRadius'],'padding':P['padding'],'borderWidth':P['borderWidth']+'px','borderColor':P['borderColor'],'borderStyle':P['borderWidth']>0x0?'solid':'none'});const R=A['deviceDetector']['isMobile']?'12px':P['textSize'];this['upcomingDateText']['setStyle']({'color':P['textColor'],'fontFamily':P['font'],'fontSize':A['TextScaleService']['scaleFontSize'](R),'fontWeight':P['fontWeight']||'400','letterSpacing':P['letterSpacing']}),this['applyIconStyle'](this['upcomingDateIcon'],P['icon'],!0x0),this['upcomingDateChip']['style']['display']='flex';}else this['upcomingDateChip']['style']['display']='none';}['updateStreamStatus'](){var L,M,N,O;const P=!!(null===(M=null===(L=this['videoRef'])||void 0x0===L?void 0x0:L['data'])||void 0x0===M?void 0x0:M['stream']);if(null===(N=this['titleRow'])||void 0x0===N||N['classList']['toggle']('is-video',!P),!P)return this['statusIndicatorChip']['style']['display']='none',void(this['upcomingDateChip']['style']['display']='none');const Q=null===(O=this['videoRef']['data'])||void 0x0===O?void 0x0:O['stream'];Q&&this['setStatusIndicatorState'](Q['state'],Q['startTime']);}['setLiveMode'](L){this['liveControls']&&(L?(this['liveControls']['enable'](),this['videoSeekBar']['setLiveMode'](!0x0)):(this['liveControls']['disable'](),this['videoSeekBar']['setLiveMode'](!0x1)));}['updateLiveEdgeState'](L){this['liveControls']&&(this['liveControls']['updateEdgeState'](L),this['videoSeekBar']['setLiveEdgeState'](L));}['updateStreamState'](L){this['streamStateUIHandler']&&this['streamStateUIHandler']['handleStateChange'](L);}}j['BlazeLongFormControlsOverlay']=K;},0x1133:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x614),f),j(g(0x17e9),f),j(g(0x13a5),f),j(g(0x227f),f),j(g(0x1e68),f),j(g(0xb62),f),j(g(0xfcf),f),j(g(0x20ce),f),j(g(0xcef),f),j(g(0x1bdd),f),j(g(0xf84),f),j(g(0x962),f),j(g(0x1330),f),j(g(0x4d0),f),j(g(0x17f5),f),j(g(0x255d),f),j(g(0x1723),f),j(g(0x156e),f),j(g(0x257e),f),j(g(0x6b0),f),j(g(0x1577),f),j(g(0x23f5),f);},0x1155:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x116a:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['getDataSourceStringRep']=function(j){var k;if('labels'===j['sourceType']){if('string'==typeof j['labels'])return j['labels'];if(Array['isArray'](j['labels']))return j['labels']['join']();if(j['labels']instanceof h['BlazeWidgetLabel'])return j['labels']['toString']();}else{if('ids'===j['sourceType'])return null===(k=j['ids'])||void 0x0===k?void 0x0:k['join']();}};const h=g(0x1133);},0x11c1:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x21d),f),j(g(0x23ac),f),j(g(0x1ef4),f),j(g(0xd34),f),j(g(0x1e1c),f),j(g(0x13e8),f),j(g(0x1f9e),f),j(g(0x3e5),f),j(g(0xd3e),f),j(g(0x9f3),f),j(g(0x18a4),f),j(g(0x128c),f),j(g(0xfe7),f),j(g(0x1868),f),j(g(0x1cf8),f),j(g(0x331),f),j(g(0x1cad),f),j(g(0x1737),f),j(g(0x1d1c),f),j(g(0x26ff),f),j(g(0xcf),f),j(g(0x26bd),f),j(g(0x1acb),f),j(g(0x1327),f),j(g(0x264),f),j(g(0x17f0),f),j(g(0x15b2),f),j(g(0x138f),f),j(g(0xd67),f);},0x11da:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VodLoader']=void 0x0;const j=g(0xb6d);class k extends j['BaseStreamLoader']{['load'](l){return h(this,void 0x0,void 0x0,function*(){var m;const {video:p,data:q}=l;try{null===(m=p['streamLayoutController'])||void 0x0===m||m['applyLayout'](null);const {videoData:u,isLiked:v}=yield this['setupWithSavedPosition'](l),w=(null==u?void 0x0:u['posterCurrentTime'])||q['poster']['rendition']['url'];p['setPoster'](w),p['setLikedState'](v);const x=(null==u?void 0x0:u['currentTime'])||0x0;p['setLastSavedTime'](x),p['setInitialPosition'](x,q['duration']),this['loadVideoSource'](l,x),p['finalizeLoad'](!0x0);}catch(y){this['handleVideoError'](p,y);}});}}f['VodLoader']=k;},0x11e2:function(d,f){'use strict';var g=this&&this['__awaiter']||function(h,j,k,l){return new(k||(k=Promise))(function(m,p){function q(w){try{v(l['next'](w));}catch(x){p(x);}}function u(w){try{v(l['throw'](w));}catch(x){p(x);}}function v(w){var x;w['done']?m(w['value']):(x=w['value'],x instanceof k?x:new k(function(y){y(x);}))['then'](q,u);}v((l=l['apply'](h,j||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['delay']=function(h){return g(this,void 0x0,void 0x0,function*(){return new Promise(j=>setTimeout(()=>{j();},h));});};},0x11e3:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EndedStreamLoader']=void 0x0;const j=g(0xb6d);class k extends j['BaseStreamLoader']{['load'](l){return h(this,void 0x0,void 0x0,function*(){const {data:m}=l;this['hasDVRAvailable'](m)?yield this['loadPlayableStream'](l):yield this['loadUnavailableStream'](l);});}['hasDVRAvailable'](l){var m,p,q,r;return!!(null===(r=null===(q=null===(p=null===(m=null==l?void 0x0:l['baseLayer'])||void 0x0===m?void 0x0:m['content'])||void 0x0===p?void 0x0:p['renditions'])||void 0x0===q?void 0x0:q[0x0])||void 0x0===r?void 0x0:r['url']);}['loadUnavailableStream'](l){return h(this,void 0x0,void 0x0,function*(){var m;const {video:p,data:q}=l;null===(m=p['streamLayoutController'])||void 0x0===m||m['applyEndedNoDvrLayout']();const r=q['poster']['rendition']['url'];p['setPoster'](r),p['finalizeLoad'](!0x1);});}['loadPlayableStream'](l){return h(this,void 0x0,void 0x0,function*(){var m;const {video:p,data:q}=l;try{null===(m=p['streamLayoutController'])||void 0x0===m||m['applyLayout']('Ended');const {videoData:u,isLiked:v}=yield this['setupWithSavedPosition'](l),w=(null==u?void 0x0:u['posterCurrentTime'])||q['poster']['rendition']['url'];p['setPoster'](w),p['setLikedState'](v);const x=(null==u?void 0x0:u['currentTime'])||0x0;p['setLastSavedTime'](x),p['setInitialPosition'](x,q['duration']),this['loadVideoSource'](l,x),p['finalizeLoad'](!0x0);}catch(y){this['handleVideoError'](p,y);}});}}f['EndedStreamLoader']=k;},0x1266:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x126d:function(d,f){'use strict';var g=this&&this['__awaiter']||function(h,j,k,l){return new(k||(k=Promise))(function(m,p){function q(w){try{v(l['next'](w));}catch(x){p(x);}}function u(w){try{v(l['throw'](w));}catch(x){p(x);}}function v(w){var x;w['done']?m(w['value']):(x=w['value'],x instanceof k?x:new k(function(y){y(x);}))['then'](q,u);}v((l=l['apply'](h,j||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LiveToUpcomingHandler']=void 0x0,f['LiveToUpcomingHandler']=class{constructor(){this['name']='LiveToUpcoming';}['canHandle'](h,j){return'Live'===h&&'Upcoming'===j;}['mergeData'](h,j){var k,l;if(!h['stream']||!j['stream'])throw new Error('[LiveToUpcoming]\x20Both\x20current\x20and\x20incoming\x20must\x20have\x20stream\x20data');return Object['assign'](Object['assign']({},h),{'stream':Object['assign'](Object['assign']({},h['stream']),j['stream']),'title':null!==(k=j['title'])&&void 0x0!==k?k:h['title'],'poster':null!==(l=j['poster'])&&void 0x0!==l?l:h['poster']});}['execute'](h){return g(this,void 0x0,void 0x0,function*(){h['pause']&&h['pause'](),h['destroyLiveEdgeController']&&h['destroyLiveEdgeController'](),h['setOverlayLiveMode']&&h['setOverlayLiveMode'](!0x1),h['clearVideoSource']&&h['clearVideoSource'](),h['setActionBlocked'](!0x0),h['setLoaded'](!0x1);});}};},0x1280:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoPlayerLayoutManager']=void 0x0;const h=g(0x774),j=g(0x1133);f['VideoPlayerLayoutManager']=class{constructor(k,l='Full\x20Screen',m){this['pseudoFullscreenManager']=m,this['currentLayout']='normal',this['containerElement']=k,this['mode']=l,this['boundOnResize']=this['calculateDesktopStyles']['bind'](this);}['attach'](){j['deviceDetector']['isDesktop']&&window['addEventListener'](h['EVENTS']['RESIZE'],this['boundOnResize']);}['detach'](){j['deviceDetector']['isDesktop']&&window['removeEventListener'](h['EVENTS']['RESIZE'],this['boundOnResize']);}['setLayout'](k){this['currentLayout']=k,this['updateContainerStyles']();}['getLayout'](){return this['currentLayout'];}['updateContainerStyles'](){var k;if(null===(k=this['pseudoFullscreenManager'])||void 0x0===k?void 0x0:k['isInPseudoFullscreen']())return;const l=this['calculateDesktopStyles']();this['containerElement']['style']['cssText']='',Object['assign'](this['containerElement']['style'],{'overflow':'hidden','position':'absolute','top':'50%','left':'50%','transform':'translate(-50%,\x20-50%)','display':'flex','justifyContent':'center','alignItems':'center'}),'fullscreen'===this['currentLayout']?Object['assign'](this['containerElement']['style'],{'width':'100%','height':'100%','top':'0','left':'0','transform':'none','borderRadius':'0'}):j['deviceDetector']['isMobile']||j['deviceDetector']['isTablet']?Object['assign'](this['containerElement']['style'],{'width':'100%','height':'100%','borderRadius':'8px'}):Object['assign'](this['containerElement']['style'],l),'Embedded'===this['mode']&&Object['assign'](this['containerElement']['style'],{'width':'100%','height':'100%','borderRadius':'8px','background':'black'});}['calculateDesktopStyles'](){const k=0x10/0x9,l=0.9*window['innerWidth'],m=0.8*window['innerHeight'];let p=l,q=p/k;return q>m&&(q=m,p=q*k),{'width':p+'px','height':q+'px','objectFit':'contain','borderRadius':'24px'};}['applyPlayerBaseStyles'](k){k['style']['display']='block',k['style']['overflow']='hidden',k['style']['height']='100%',k['style']['width']='100%',k['style']['minHeight']='100%',k['style']['position']='relative';}};},0x128c:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['InteractionService']=void 0x0;const j=g(0x11c1),k=g(0x1133),l=g(0x23bc);class m extends(0x0,k['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0x0,void 0x0,function*(){});}['updateInteraction'](p){return h(this,void 0x0,void 0x0,function*(){try{yield j['DatabaseService']['updateInteraction'](p),j['EventBusService']['publish'](l['USER_ACTIVITY_EVENTS']['INTERACTION_CHANGED'],{'interactionId':p['id'],'userResponse':p['userResponse']});}catch(q){}});}['getInteraction'](p){return h(this,void 0x0,void 0x0,function*(){var q;try{return null===(q=yield j['DatabaseService']['getInteraction'](p))||void 0x0===q?void 0x0:q['data'];}catch(u){return null;}});}}f['InteractionService']=m['getInstance']();},0x129d:(d,f)=>{'use strict';var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LogLevel']=void 0x0,function(h){h['DEBUG']='DEBUG',h['INFO']='INFO',h['WARN']='WARN',h['ERROR']='ERROR',h['CRITICAL']='CRITICAL';}(g||(f['LogLevel']=g={}));},0x12b0:(d,f,g)=>{var h=g(0x2670),j=d['exports']={'WebVTT':g(0x18a7),'VTTCue':g(0xb8),'VTTRegion':g(0x1703)};h['vttjs']=j,h['WebVTT']=j['WebVTT'];var k=j['VTTCue'],m=j['VTTRegion'],p=h['VTTCue'],q=h['VTTRegion'];j['shim']=function(){h['VTTCue']=k,h['VTTRegion']=m;},j['restore']=function(){h['VTTCue']=p,h['VTTRegion']=q;},h['VTTCue']||j['shim']();},0x12c4:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['AttributeParser']=function(g){return class extends g{['getIntAttribute'](h,j){const k=this['getAttribute'](h);let l=Number['NaN'];return k&&(l=parseInt(k)),isNaN(l)?j:l;}['getFloatAttribute'](h,j){const k=this['getAttribute'](h);let l=Number['NaN'];return k&&(l=parseFloat(k)),isNaN(l)?j:l;}['getStringAttribute'](h,j){return this['getAttribute'](h)||j;}['getBooleanAttribute'](h,j){const k=this['getAttribute'](h);return k?'true'==k:j;}};};},0x12fa:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1305:function(f,g,h){'use strict';var j=this&&this['__awaiter']||function(w,x,y,z){return new(y||(y=Promise))(function(A,B){function C(F){try{E(z['next'](F));}catch(G){B(G);}}function D(F){try{E(z['throw'](F));}catch(G){B(G);}}function E(F){var G;F['done']?A(F['value']):(G=F['value'],G instanceof y?G:new y(function(H){H(G);}))['then'](C,D);}E((z=z['apply'](w,x||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['NativeVideoStrategy']=void 0x0;const k=h(0x1036),m=h(0x31b),p=h(0xb62),q=h(0x11c1),u=h(0x1dc9);class v extends u['BasePlaybackStrategy']{constructor(w,x,y){super(),this['video']=w,this['videoComponent']=x,this['lastErrorExecutionTime']=0x0,this['PLAYBACK_TIMEOUT_MS']=0x1b58,this['boundOnError']=this['handleNativeVideoError']['bind'](this),this['boundOnPlaying']=this['handlePlaying']['bind'](this),this['boundOnPause']=this['handlePause']['bind'](this),this['boundOnCanPlayThrough']=this['handleCanPlayThrough']['bind'](this),this['lastProgressTime']=0x0,this['lastCurrentTime']=0x0,this['boundOnTimeUpdate']=this['handleTimeUpdate']['bind'](this),this['setupErrorHandling'](),this['videoPlayerState']=y||q['VideoPlayerService'];}['setupErrorHandling'](){this['video']['addEventListener'](m['EVENTS']['ERROR'],this['boundOnError']),this['video']['addEventListener'](m['EVENTS']['PLAYING'],this['boundOnPlaying']),this['video']['addEventListener'](m['EVENTS']['PAUSE'],this['boundOnPause']),this['video']['addEventListener'](m['EVENTS']['CAN_PLAY_THROUGH'],this['boundOnCanPlayThrough']),this['video']['addEventListener'](m['EVENTS']['TIMEUPDATE'],this['boundOnTimeUpdate']);}['handlePlaying'](){this['videoComponent']['isVideoStartPlaying']=!0x0,this['videoComponent']['removeLoader'](),this['clearPlaybackTimeout'](),this['lastProgressTime']=Date['now'](),this['lastCurrentTime']=this['video']['currentTime'];}['handlePause'](){this['videoComponent']['isVideoStartPlaying']=!0x1,this['videoComponent']['removeLoader'](),this['stopProgressBasedLoaderCleanup']();}['handleTimeUpdate'](){const w=this['video']['currentTime'],x=Date['now']();w>this['lastCurrentTime']&&(this['lastProgressTime']=x,this['lastCurrentTime']=w,this['video']['paused']||this['video']['ended']||this['videoComponent']['removeLoader']());}['handleCanPlayThrough'](){return j(this,void 0x0,void 0x0,function*(){this['videoComponent']['isVideoStartPlaying']&&this['video']['paused']&&(yield this['play']());});}['startPlaybackTimeout'](){this['clearPlaybackTimeout'](),this['playbackTimeout']=setTimeout(()=>{this['handlePlaybackTimeout']();},this['PLAYBACK_TIMEOUT_MS']);}['clearPlaybackTimeout'](){this['playbackTimeout']&&(clearTimeout(this['playbackTimeout']),this['playbackTimeout']=void 0x0);}['handlePlaybackTimeout'](){this['videoComponent']['isVideoStartPlaying']&&this['video']['paused']&&(this['reset'](),setTimeout(()=>{this['play']()['catch'](()=>{});},0x1f4));}['handleNativeVideoError'](w){return j(this,void 0x0,void 0x0,function*(){var x;const y=null===(x=null==w?void 0x0:w['target'])||void 0x0===x?void 0x0:x['error'];if((null==y?void 0x0:y['code'])===MediaError['MEDIA_ERR_DECODE']){const z=new Date()['getTime']();z-this['lastErrorExecutionTime']>=0x1388&&(this['lastErrorExecutionTime']=z,this['videoComponent']['source']&&this['videoComponent']['videoUrl']&&this['video']&&0x0===this['video']['currentTime']&&(this['video']['removeChild'](this['videoComponent']['source']),this['video']['preload']='none',this['video']['load'](),this['videoComponent']['source']['setAttribute']('src',this['videoComponent']['videoUrl']),this['videoComponent']['source']['setAttribute']('type','video/mp4'),this['video']['preload']='auto',this['video']['append'](this['videoComponent']['source']),this['videoComponent']['tryReloadVideo'](this['videoComponent']['maxRetryTimes'])));}else{if((null==y?void 0x0:y['code'])===MediaError['MEDIA_ERR_NETWORK']&&this['videoComponent']['source']&&this['videoComponent']['videoUrl']&&this['video']&&0x0===this['video']['currentTime']){this['video']['removeChild'](this['videoComponent']['source']),this['video']['preload']='none',this['video']['load']();const A=new URL(this['videoComponent']['videoUrl']);A['searchParams']['set']('retry',Date['now']()['toString']()),this['videoComponent']['source']['setAttribute']('src',A['toString']()),this['videoComponent']['source']['setAttribute']('type','video/mp4'),this['video']['preload']='auto',this['video']['append'](this['videoComponent']['source']),this['videoComponent']['tryReloadVideo'](this['videoComponent']['maxRetryTimes']);}}});}['play'](){return j(this,void 0x0,void 0x0,function*(){var w;this['playAttemptStartTime']=Date['now']();try{this['startPlaybackTimeout'](),this['startProgressBasedLoaderCleanup'](),yield this['video']['play'](),this['videoComponent']['isError']=!0x1,this['videoComponent']['isVideoRunning']=!0x0;const x={'status':k['PlayStatus']['Success']};return this['dispatchPlaybackEvent']('success',{'result':x,'timeToPlay':Date['now']()-this['playAttemptStartTime']}),x;}catch(y){this['clearPlaybackTimeout'](),this['stopProgressBasedLoaderCleanup']();const z={'status':k['PlayStatus']['Failed'],'error':y};return this['dispatchPlaybackEvent']('failed',{'result':z,'timeToFail':Date['now']()-this['playAttemptStartTime']}),z;}finally{null===(w=this['loaderDelegate'])||void 0x0===w||w['hide']();}});}['playWithRetry'](w){return j(this,void 0x0,void 0x0,function*(){if(!(w<=0x0))try{yield this['video']['play'](),this['videoComponent']['isError']=!0x1,this['videoComponent']['isVideoRunning']=!0x0;}catch(x){throw this['reloadAndRetry'](w-0x1),x;}});}['reloadAndRetry'](w){w>0x0&&(this['reset'](),setTimeout(()=>{this['playWithRetry'](w)['catch'](()=>{});},0x3e8));}['pause'](){this['video']['pause'](),this['clearPlaybackTimeout'](),this['stopProgressBasedLoaderCleanup']();}['getCurrentTime'](){var w;return(null===(w=this['video'])||void 0x0===w?void 0x0:w['currentTime'])||0x0;}['getDuration'](){var w;return(null===(w=this['video'])||void 0x0===w?void 0x0:w['duration'])||0x0;}['isPaused'](){var w;return(null===(w=this['video'])||void 0x0===w?void 0x0:w['paused'])||!0x1;}['isEnded'](){var w;return(null===(w=this['video'])||void 0x0===w?void 0x0:w['ended'])||!0x1;}['isMuted'](){var w;return Boolean(null===(w=this['video'])||void 0x0===w?void 0x0:w['muted']);}['setMuted'](w){if(this['video']){const x=this['video']['muted'];this['video']['muted']=w,x!==w&&this['dispatchPlaybackEvent']('changed',{'previousState':{'muted':x},'newState':{'muted':w}});}}['mute'](){this['setMuted'](!0x0);}['unmute'](){this['setMuted'](!0x1);}['seek'](w){if(this['video']&&Number['isFinite'](this['video']['duration'])&&this['video']['duration']>0x0){const x=w*this['video']['duration'];Number['isFinite'](x)&&x>=0x0&&x<=this['video']['duration']&&(this['video']['currentTime']=x);}}['toggleMute'](){this['setMuted'](!this['isMuted']());}['toggleFullscreen'](){}['loadSource'](w){return j(this,void 0x0,void 0x0,function*(){this['videoComponent']['source']['hasAttribute']('src')||(this['videoComponent']['source']['setAttribute']('type','video/mp4'),'Safari'===p['deviceDetector']['browser']?this['videoComponent']['source']['setAttribute']('src',w+'#t=0.01'):this['videoComponent']['source']['setAttribute']('src',w)),this['video']['querySelector']('source')||this['video']['append'](this['videoComponent']['source']),this['video']['load']();});}['initialize'](w){this['configureVideoElement'](),(null==w?void 0x0:w['loaderDelegate'])&&(this['loaderDelegate']=w['loaderDelegate']);}['configureVideoElement'](){this['video']['preload']='none',this['video']['muted']=this['videoPlayerState']['isMuted'],this['video']['playsInline']=!0x0,this['video']['controls']=!0x1,this['video']['currentTime']=0x0,this['video']['setAttribute']('webkit-playsinline','true');}['unload'](){this['video']['pause'](),this['video']['preload']='none',this['video']['removeAttribute']('poster'),this['video']['removeAttribute']('src'),this['videoComponent']['source']['removeAttribute']('src'),this['videoComponent']['source']['remove'](),this['video']['load']();}['destroy'](){this['clearPlaybackTimeout'](),this['stopProgressBasedLoaderCleanup'](),this['video']['removeEventListener'](m['EVENTS']['ERROR'],this['boundOnError']),this['video']['removeEventListener'](m['EVENTS']['PLAYING'],this['boundOnPlaying']),this['video']['removeEventListener'](m['EVENTS']['PAUSE'],this['boundOnPause']),this['video']['removeEventListener'](m['EVENTS']['CAN_PLAY_THROUGH'],this['boundOnCanPlayThrough']),this['video']['removeEventListener'](m['EVENTS']['TIMEUPDATE'],this['boundOnTimeUpdate']),this['unload']();}['reset'](){this['video']['pause'](),this['video']['currentTime']=0x0,this['video']['preload']='none',this['video']['load'](),this['clearPlaybackTimeout']();}['startProgressBasedLoaderCleanup'](){this['stopProgressBasedLoaderCleanup'](),this['lastProgressTime']=Date['now'](),this['lastCurrentTime']=this['video']['currentTime'],this['progressCheckInterval']=setInterval(()=>{this['checkVideoProgressAndCleanupLoader']();},0x3e8);}['stopProgressBasedLoaderCleanup'](){this['progressCheckInterval']&&(clearInterval(this['progressCheckInterval']),this['progressCheckInterval']=void 0x0);}['checkVideoProgressAndCleanupLoader'](){const w=Date['now']()-this['lastProgressTime'],x=this['video']['currentTime'];!this['video']['paused']&&!this['video']['ended']&&x>0x0&&w<0x3e8&&this['videoComponent']['removeLoader']();}}g['NativeVideoStrategy']=v;},0x1327:function(f,g,h){'use strict';var j=this&&this['__awaiter']||function(w,x,y,z){return new(y||(y=Promise))(function(A,B){function C(F){try{E(z['next'](F));}catch(G){B(G);}}function D(F){try{E(z['throw'](F));}catch(G){B(G);}}function E(F){var G;F['done']?A(F['value']):(G=F['value'],G instanceof y?G:new y(function(H){H(G);}))['then'](C,D);}E((z=z['apply'](w,x||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['CDNDetermineService']=void 0x0;const k=h(0x1133),m=h(0x2432),p=h(0x175),q='cf',u=[q,'fd'];class v extends(0x0,k['Singleton'])(){constructor(){super(...arguments),this['CACHE_KEY']='wsc_cdnVendorType',this['CACHE_EXPIRY_KEY']='wsc_cdnVendorExpiry',this['CACHE_TTL_MS']=0x927c0,this['_resolvedCDN']=q,this['_environment']='prod';}['init'](w,x){var y;this['_environment']=w,this['_timeout']=x,this['_resolvedCDN']=null!==(y=this['readCachedCdn']())&&void 0x0!==y?y:q;}get['activeCDN'](){return this['_resolvedCDN'];}['switchToVendor'](w){w!==this['_resolvedCDN']&&u['includes'](w)&&(this['_resolvedCDN']=w,this['cacheActiveCdn']());}['fetch'](w,x){return j(this,void 0x0,void 0x0,function*(){const y=''+this['getApiOrigin']()+w;try{return yield(0x0,m['fetchWithTimeout'])(y,this['_timeout'],x);}catch(z){return this['handleCDNFetchFallback'](w,this['_resolvedCDN'],'sdk_api',x,z);}});}['getApiOrigin'](){switch(this['_environment']){case'prod':return this['getOriginByVendor'](this['_resolvedCDN'],'sdk_api');case'uat':return p['UAT_API_ORIGIN'];case'local':return p['LOCAL_API_ORIGIN'];}}['handleCDNFetchFallback'](w,x,y,z,A){return j(this,void 0x0,void 0x0,function*(){if('prod'!==this['_environment'])throw A;for(const B of this['getFallbackVendors'](x)){const C=''+this['getOriginByVendor'](B,y)+w;try{const D=yield(0x0,m['fetchWithTimeout'])(C,this['_timeout'],z);return this['switchToVendor'](B),D;}catch(E){A=E;}}throw A;});}['loadScript'](w,x){return this['loadDomElement'](w,y=>{const z=document['createElement']('script');return z['type']='text/javascript',z['src']=y,z;},x);}['loadLink'](w,x){return this['loadDomElement'](w,y=>{const z=document['createElement']('link');return z['rel']='preload',z['href']=y,z['as']='style',z['setAttribute']('onload','this.onload=null;this.rel=\x27stylesheet\x27'),z;},x);}['buildStorageUrl'](w){return''+this['getOriginByVendor'](this['_resolvedCDN'],'storage')+w;}['getOriginByVendor'](w,x){switch(x){case'sdk_api':return p['CDN_VENDOR_TO_API_PROD_ORIGIN'][w];case'storage':return p['CDN_VENDOR_TO_STORAGE_PROD_ORIGIN'][w];}}['loadDomElement'](w,x,y){return new Promise((z,A)=>{const B=this['buildStorageUrl'](w),C=this['getFallbackVendors'](this['_resolvedCDN']);let D=0x0;const E=(F,G)=>{const H=x(F);let I,J=!0x1;const K=L=>{if(J)return;J=!0x0,clearTimeout(I),H['remove']();const M=C[D];M?(D++,E(''+this['getOriginByVendor'](M,'storage')+w,M)):A(new Error(L));};I=this['_timeout']?setTimeout(()=>K('CDN\x20element\x20load\x20timed\x20out:\x20'+w),this['_timeout']):void 0x0,H['addEventListener']('load',()=>{J||(J=!0x0,clearTimeout(I),this['switchToVendor'](G),z(H));}),H['addEventListener']('error',()=>K('Failed\x20to\x20load\x20from\x20all\x20CDN\x20vendors:\x20'+F)),y['appendChild'](H);};E(B,this['_resolvedCDN']);});}['readCachedCdn'](){const w=(0x0,m['tryGetLocalStorageItem'])(this['CACHE_EXPIRY_KEY'],'Failed\x20to\x20read\x20CDN\x20cache\x20expiry');if(!w)return null;const x=(0x0,m['tryGetLocalStorageItem'])(this['CACHE_KEY'],'Failed\x20to\x20read\x20CDN\x20cache');return!Number['isFinite'](Number(w))||Date['now']()>=Number(w)||!u['includes'](x)?((0x0,m['tryRemoveLocalStorageItem'])(this['CACHE_KEY']),(0x0,m['tryRemoveLocalStorageItem'])(this['CACHE_EXPIRY_KEY']),null):x;}['cacheActiveCdn'](){(0x0,m['trySetLocalStorageItem'])(this['CACHE_KEY'],this['_resolvedCDN'],'Failed\x20to\x20cache\x20CDN\x20vendor'),(0x0,m['trySetLocalStorageItem'])(this['CACHE_EXPIRY_KEY'],(Date['now']()+this['CACHE_TTL_MS'])['toString'](),'Failed\x20to\x20cache\x20CDN\x20vendor\x20expiry');}['getFallbackVendors'](w){return u['filter'](x=>x!==w);}}g['CDNDetermineService']=v['getInstance']();},0x132a:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1c8f),f),j(g(0x173),f),j(g(0x1636),f);},0x1330:function(d,f){'use strict';var g=this&&this['__awaiter']||function(h,j,k,l){return new(k||(k=Promise))(function(m,p){function q(w){try{v(l['next'](w));}catch(x){p(x);}}function u(w){try{v(l['throw'](w));}catch(x){p(x);}}function v(w){var x;w['done']?m(w['value']):(x=w['value'],x instanceof k?x:new k(function(y){y(x);}))['then'](q,u);}v((l=l['apply'](h,j||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LoggerStorage']=void 0x0,f['LoggerStorage']=class{constructor(h){this['database']=h;}['store'](h){return g(this,void 0x0,void 0x0,function*(){return this['database']['storeLog'](h);});}['getBatch'](h){return g(this,void 0x0,void 0x0,function*(){return this['database']['getLogBatch'](h);});}['remove'](h){return g(this,void 0x0,void 0x0,function*(){if(h['length'])return this['database']['removeLogs'](h);});}['clear'](){return g(this,void 0x0,void 0x0,function*(){return this['database']['clearLogs']();});}['getLogCount'](){return g(this,void 0x0,void 0x0,function*(){return this['database']['getLogCount']();});}};},0x1345:(f,g,j)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetMomentSeekBar']=void 0x0;const k=j(0x23a6),m=j(0x1133),p=j(0x1932),q=j(0x22d9),u=j(0x11c1),v=j(0x2432),w=j(0x774),x={'isActive':'is-active'};class y extends HTMLElement{constructor(z,A){super(),this['video']=z,this['seekBarStyle']=A,this['playbackParts']=[],this['isProgressBarPaused']=!0x1,this['isActive']=!0x1,this['isInit']=!0x1,this['animationFrameId']=null,this['lastProgress']=0x0,this['progressBarContainer']=q['WidgetsFactory']['create']('blaze-div'),this['progressBarFill']=q['WidgetsFactory']['create']('blaze-div'),this['progressBarKnob']=q['WidgetsFactory']['create']('blaze-div'),this['isMouseIn']=!0x1,this['SEEKING_DEBOUNCE_MS']=0xfa,this['progress']=q['WidgetsFactory']['create']('blaze-div'),this['listeners']=new m['EventsListener'](),this['boundOnTouchMove']=this['onTouchMove']['bind'](this),this['boundOnMouseMove']=this['onMouseMove']['bind'](this),this['boundOnClick']=this['handleOnClick']['bind'](this),this['boundOnStartDrag']=this['handleOnStartDrag']['bind'](this),this['boundOnEndDrag']=this['handleOnEndDrag']['bind'](this),this['boundOnMouseIn']=this['handleOnMouseIn']['bind'](this),this['boundOnMouseOut']=this['handleOnMouseOut']['bind'](this),this['progress']['classList']['add'](p['WSC_PREFIX']+'progress'),this['setupVideoEventListeners']();}static get['observedAttributes'](){return Object['values'](x);}['attributeChangedCallback'](z,A,B){var C,D;z===x['isActive']&&(this['isActive']='true'===B['toLowerCase'](),this['isActive']?this['setupProgressUpdate']():this['stopProgressUpdate'](),null===(D=null===(C=this['playbackParts'])||void 0x0===C?void 0x0:C['forEach'])||void 0x0===D||D['call'](C,E=>E['style']['width']='0%'));}['connectedCallback'](){if(!this['isInit']&&this['seekBarStyle']['isVisible']){if(this['isInit']=!0x0,this['addTransitionStyle'](),this['seekBarStyle']){const z=parseFloat(this['seekBarStyle']['playingState']['height']);isNaN(z)&&(this['seekBarStyle']['playingState']['height']='3px');const A=parseFloat(this['seekBarStyle']['pausedState']['height']);isNaN(A)&&(this['seekBarStyle']['pausedState']['height']='5px');}this['initialize'](),this['styleProgressContainer']();}}['addTransitionStyle'](){const z=document['createElement']('style');z['textContent']='\x0a\x20\x20\x20\x20\x20\x20.'+p['WSC_PREFIX']+'progress\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20height\x200.3s\x20ease;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['appendChild'](z);}['onContentPaused'](){this['applyPauseSeekBarStyle']();}['onContentResumed'](z=!0x1){z?this['applyPlayingSeekBarStyle']():setTimeout(()=>{this['applyPlayingSeekBarStyle']();},0x2*p['ONE_SECOND']);}['disconnectedCallback'](){this['stopProgressUpdate']();}['initialize'](){this['setupEventListeners'](),this['render']();}['setVideo'](z){this['video']=z,this['stopProgressUpdate'](),this['setupProgressUpdate'](),this['reset']();}['setupProgressUpdate'](){var z;const A=()=>{var B;this['playbackParts']['forEach'](E=>E['style']['width']='0%');let C=this['video']['progress'];Number['isNaN'](C)?C=this['lastProgress']:this['lastProgress']=C;const D=this['playbackParts'][0x0];D&&(D['style']['width']=0x64*C+'%'),this['animationFrameId']=null===(B=window['requestAnimationFrame'])||void 0x0===B?void 0x0:B['call'](window,A);};this['animationFrameId']=null===(z=window['requestAnimationFrame'])||void 0x0===z?void 0x0:z['call'](window,A);}['stopProgressUpdate'](){var z;null!==this['animationFrameId']&&(null===(z=window['cancelAnimationFrame'])||void 0x0===z||z['call'](window,this['animationFrameId']),this['animationFrameId']=null);}['setupEventListeners'](){this['listeners']['addAttached'](this,'mousedown',this['boundOnStartDrag']),this['listeners']['addAttached'](this,'touchstart',this['boundOnStartDrag']),this['listeners']['add']('mouseup',this['boundOnEndDrag']),this['listeners']['add']('touchend',this['boundOnEndDrag']),this['listeners']['addAttached'](this,'mousemove',this['boundOnMouseMove']),this['listeners']['addAttached'](this,'touchmove',this['boundOnTouchMove']),this['listeners']['addAttached'](this,'click',this['boundOnClick']),this['listeners']['addAttached'](this,'mouseenter',this['boundOnMouseIn']),this['listeners']['addAttached'](this,'mouseleave',this['boundOnMouseOut']);}['handleOnStartDrag'](){var z;this['isActive']&&(u['VideoPlayerService']['isSeekBarDragging']=!0x0,null===(z=this['onPause'])||void 0x0===z||z['call'](this),this['applyPauseSeekBarStyle']());}['handleOnEndDrag'](){var z;this['isActive']&&u['VideoPlayerService']['isSeekBarDragging']&&this['isConnected']&&(u['VideoPlayerService']['isSeekBarDragging']=!0x1,null===(z=this['onResume'])||void 0x0===z||z['call'](this),setTimeout(()=>{u['VideoPlayerService']['isSeekBarDragging']||this['applyPlayingSeekBarStyle']();},0x2*p['ONE_SECOND']));}['handleOnClick'](z){if(!this['isActive']||u['VideoPlayerService']['isSeekBarDragging'])return;let A;if(z instanceof MouseEvent)A=z['clientX'];else{if(!(z['touches']&&z['touches']['length']>0x0))return;A=z['touches'][0x0]['clientX'];}this['handleSeek'](A,!0x0);}['onMouseMove'](z){this['handleSeek'](z['clientX'],0x1===z['buttons']);}['onTouchMove'](z){z['touches']['length']>0x0&&(this['handleSeek'](z['touches'][0x0]['clientX'],!0x0),z['preventDefault'](),z['stopImmediatePropagation']());}['handleOnMouseOut'](){this['isActive']&&(u['VideoPlayerService']['isSeekBarDragging']||(this['isMouseIn']=!0x1,setTimeout(()=>{this['applyPlayingSeekBarStyle']();},0x2*p['ONE_SECOND'])));}['handleOnMouseIn'](){this['isActive']&&(this['isMouseIn']=!0x0,this['applyPauseSeekBarStyle']());}['applyPlayingSeekBarStyle'](){this['video']['paused']&&!u['VideoPlayerService']['isPlaying']||this['isProgressBarPaused']&&(this['isMouseIn']||(this['progress']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['playingState']['isThumbVisible']?'block':'none',this['isProgressBarPaused']=!0x1,this['updateProgressBarStyles']()));}['applyPauseSeekBarStyle'](){this['isProgressBarPaused']||(this['progress']['style']['height']=this['seekBarStyle']['pausedState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['pausedState']['isThumbVisible']?'block':'none',this['isProgressBarPaused']=!0x0,this['updateProgressBarStyles']());}['reset'](){this['progress']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['playingState']['isThumbVisible']?'block':'none',this['updateProgressBarStyles']();}['handleSeek'](z,A){if(!A)return;const B=this['getBoundingClientRect']();let C=(z-B['left'])/B['width'];'RTL'===u['ConfigService']['layoutDirection']&&(C=0x1-C);const D=Math['min'](Math['max'](C,0x0),0x1);this['video']['currentTime']=this['video']['duration']*D;}['styleProgressContainer'](){const z=parseFloat(this['seekBarStyle']['playingState']['height']),A=parseFloat(this['seekBarStyle']['pausedState']['height']),B=Math['max'](z,A);(0x0,v['mergeStyles'])(this,{'height':B+'px','padding':'20px\x20'+this['seekBarStyle']['horizontalSpacing']+'\x20'+this['seekBarStyle']['verticalSpacing']+'\x20'+this['seekBarStyle']['horizontalSpacing'],'cursor':'pointer','boxSizing':'content-box','zIndex':'2'}),this['progress']['setStyle']({'width':'100%','display':'grid','height':this['seekBarStyle']['playingState']['height']}),this['createPlaybackPart'](),this['updateProgressBarStyles'](),this['append'](this['progress']);}['createPlaybackPart'](){this['progressBarContainer']['setStyle']({'width':'100%','height':'100%','display':'block'}),this['progressBarFill']['setStyle']({'width':'0%','height':'100%','position':'relative','display':'block'}),this['progressBarKnob']['setStyle']({'borderRadius':'100%','position':'absolute','right':'0px','top':'50%','bottom':'0px','transform':'translateX(50%)\x20translateY(-50%)'}),this['progressBarFill']['append'](this['progressBarKnob']),this['playbackParts']['push'](this['progressBarFill']),this['progressBarContainer']['appendChild'](this['progressBarFill']),this['progress']['append'](this['progressBarContainer']);}['updateProgressBarStyles'](){this['progressBarContainer']['setStyle']({'borderRadius':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['borderRadius']:this['seekBarStyle']['playingState']['borderRadius'],'backgroundColor':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['backgroundColor']:this['seekBarStyle']['playingState']['backgroundColor']}),this['progressBarFill']['setStyle']({'borderRadius':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['borderRadius']:this['seekBarStyle']['playingState']['borderRadius'],'backgroundColor':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['progressColor']:this['seekBarStyle']['playingState']['progressColor']}),this['progressBarKnob']['setStyle']({'width':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['thumbSize']:this['seekBarStyle']['playingState']['thumbSize'],'height':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['thumbSize']:this['seekBarStyle']['playingState']['thumbSize'],'backgroundColor':this['isProgressBarPaused']?this['seekBarStyle']['pausedState']['thumbColor']:this['seekBarStyle']['playingState']['thumbColor']});}['render'](){}['setupVideoEventListeners'](){this['video']instanceof k['BlazeWidgetVideo']&&(this['video']['video']['addEventListener'](w['EVENTS']['SEEKING'],()=>{this['startSeekingLoader']();}),this['video']['video']['addEventListener'](w['EVENTS']['SEEKED'],()=>{this['stopSeekingLoader']();}),this['video']['video']['addEventListener'](w['EVENTS']['PLAYING'],()=>{this['stopSeekingLoader']();}));}['startSeekingLoader'](){if(!(this['video']instanceof k['BlazeWidgetVideo']))return;const z=this['video']['video'];!z['paused']&&z['readyState']>=0x3||(this['seekingTimeout']&&clearTimeout(this['seekingTimeout']),this['seekingTimeout']=setTimeout(()=>{z['paused']&&(z['readyState']>=0x3||this['video']['tryToAddLoader']());},this['SEEKING_DEBOUNCE_MS']));}['stopSeekingLoader'](){this['seekingTimeout']&&(clearTimeout(this['seekingTimeout']),this['seekingTimeout']=void 0x0),this['video']instanceof k['BlazeWidgetVideo']&&this['video']['removeLoader']();}}g['BlazeWidgetMomentSeekBar']=y;},0x138f:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BroadcastService']=void 0x0;const h=g(0x1133),j=g(0x9f3);class k extends(0x0,h['Singleton'])(){constructor(){super(...arguments),this['channel']=null,this['tabId']=this['generateTabId'](),this['subscriptions']=new Map(),this['registeredEvents']=new Set(),this['channelName']='blaze-sdk-broadcast',this['isInitialized']=!0x1,this['isProcessingIncomingMessage']=!0x1;}['init'](l){if(!this['isInitialized']&&this['isBroadcastChannelSupported']()&&(l&&(this['channelName']=l['channelName'],l['events']['forEach'](m=>this['registeredEvents']['add'](m))),0x0!==this['registeredEvents']['size']))try{this['channel']=new BroadcastChannel(this['channelName']),this['channel']['onmessage']=this['handleIncomingMessage']['bind'](this),this['channel']['onmessageerror']=this['handleMessageError']['bind'](this),this['registeredEvents']['forEach'](m=>{this['subscribeToEvent'](m);}),this['isInitialized']=!0x0;}catch(m){}}['addEvents'](l){l['forEach'](m=>{this['registeredEvents']['has'](m)||(this['registeredEvents']['add'](m),this['isInitialized']&&this['channel']&&this['subscribeToEvent'](m));});}['removeEvents'](l){l['forEach'](m=>{this['registeredEvents']['delete'](m);const p=this['subscriptions']['get'](m);p&&(p['unsubscribed'](),this['subscriptions']['delete'](m));});}['isBroadcastChannelSupported'](){return'undefined'!=typeof BroadcastChannel;}['generateTabId'](){return Date['now']()+'-'+Math['random']()['toString'](0x24)['substring'](0x2,0x9);}['subscribeToEvent'](l){if(this['subscriptions']['has'](l))return;const m=j['EventBusService']['subscribe'](l,p=>{this['broadcastToOtherTabs'](l,p);});this['subscriptions']['set'](l,m);}['broadcastToOtherTabs'](l,m){if(!this['channel']||this['isProcessingIncomingMessage'])return;const p={'eventName':l,'payload':m,'sourceTabId':this['tabId']};try{this['channel']['postMessage'](p);}catch(q){}}['handleIncomingMessage'](l){const {eventName:m,payload:p,sourceTabId:q}=l['data'];if(q!==this['tabId']&&this['registeredEvents']['has'](m)){this['isProcessingIncomingMessage']=!0x0;try{j['EventBusService']['publish'](m,p);}finally{this['isProcessingIncomingMessage']=!0x1;}}}['handleMessageError'](l){}['destroy'](){this['subscriptions']['forEach'](l=>l['unsubscribed']()),this['subscriptions']['clear'](),this['registeredEvents']['clear'](),this['channel']&&(this['channel']['close'](),this['channel']=null),this['isInitialized']=!0x1;}}f['BroadcastService']=k['getInstance']();},0x13a5:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BaseWidget']=void 0x0;class g extends HTMLElement{constructor(){super(),this['_animationDuration']=0x12c;}['getAttribute'](h){var j;const k=null===(j=super['getAttribute'](h))||void 0x0===j?void 0x0:j['toLocaleLowerCase']();return'true'===k||'false'===k?JSON['parse'](k):super['getAttribute'](h);}['setStyle'](h){for(const j in h){let k=j['replace'](/[A-Z]/g,l=>'-'+l['toLowerCase']());this['style']['setProperty'](k,h[j]);}}['setAttributes'](h){Object['entries'](h)['forEach'](([j,k])=>{this['setAttribute'](j,k);});}['removeElement'](){this['parentNode']&&this['parentNode']['removeChild'](this);}}f['BaseWidget']=g;},0x13bf:function(d,f){'use strict';var g=this&&this['__awaiter']||function(h,j,k,l){return new(k||(k=Promise))(function(m,p){function q(w){try{v(l['next'](w));}catch(x){p(x);}}function u(w){try{v(l['throw'](w));}catch(x){p(x);}}function v(w){var x;w['done']?m(w['value']):(x=w['value'],x instanceof k?x:new k(function(y){y(x);}))['then'](q,u);}v((l=l['apply'](h,j||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LiveToEndedHandler']=void 0x0,f['LiveToEndedHandler']=class{constructor(){this['name']='LiveToEnded',this['_hasTransitioned']=!0x1;}['didTransitionFromLive'](){return this['_hasTransitioned'];}['reset'](){this['_hasTransitioned']=!0x1;}['canHandle'](h,j){return'Live'===h&&'Ended'===j;}['mergeData'](h,j){var k,l;if(!h['stream']||!j['stream'])throw new Error('[LiveToEnded]\x20Both\x20current\x20and\x20incoming\x20must\x20have\x20stream\x20data');return Object['assign'](Object['assign']({},h),{'stream':Object['assign'](Object['assign']({},h['stream']),{'state':j['stream']['state'],'endTime':j['stream']['endTime']}),'title':null!==(k=j['title'])&&void 0x0!==k?k:h['title'],'poster':null!==(l=j['poster'])&&void 0x0!==l?l:h['poster']});}['execute'](h){return g(this,void 0x0,void 0x0,function*(){this['_hasTransitioned']=!0x0,h['destroyLiveEdgeController']&&h['destroyLiveEdgeController'](),h['setOverlayLiveMode']&&h['setOverlayLiveMode'](!0x1);});}};},0x13e6:(f,g,h)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['transformContent']=k,g['transformStory']=m,g['transformVideo']=q,g['transformMoment']=u,g['transformContentItem']=v,g['transformContentsArray']=function(w){return w['map'](v);};const j=h(0x2033);function k(w){return{'id':w['id'],'title':w['title'],'updateTime':w['updateTime'],'createTime':w['createTime'],'thumbnails':w['thumbnails'],'hasViewed':w['hasViewed'],'type':w['type'],'entities':w['entities']};}function m(w){return Object['assign'](Object['assign']({},k(w)),{'pages':w['pages']['map'](p),'isLive':w['isLive']});}function p(w){const x={'id':w['id'],'duration':w['duration'],'hasViewed':w['hasViewed'],'createTime':w['createTime']};return'Content'===w['type']?Object['assign'](Object['assign']({},x),{'index':w['index'],'thumbnail':w['thumbnail'],'poster':w['poster']}):x;}function q(w){return Object['assign'](Object['assign']({},k(w)),{'duration':w['duration']['toString'](),'likes':w['likes'],'isLive':w['isLive']});}function u(w){return Object['assign'](Object['assign']({},k(w)),{'duration':w['duration'],'likes':w['likes']});}function v(w){return(0x0,j['isStory'])(w)?m(w):(0x0,j['isVideo'])(w)?q(w):(0x0,j['isMoment'])(w)?u(w):k(w);}},0x13e8:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BeforeContentPlayService']=void 0x0;const j=g(0x1f9e),k=g(0x1e1c);f['BeforeContentPlayService']=class{['getTokenizedUrl'](l){return h(this,void 0x0,void 0x0,function*(){var m;const p=j['ConfigService']['beforeContentPlayCallback'];if(!p||'true'!==(null===(m=k['AppConfigurationService']['appConfigurations'])||void 0x0===m?void 0x0:m['configurations']['enableClientPlaybackModification']))return l;const q={'originalUrl':l};try{return(yield p(q))['resultUrl']||l;}catch(r){return l;}});}};},0x1407:()=>{!(function(){'use strict';if('object'==typeof window){if('IntersectionObserver'in window&&'IntersectionObserverEntry'in window&&'intersectionRatio'in window['IntersectionObserverEntry']['prototype'])'isIntersecting'in window['IntersectionObserverEntry']['prototype']||Object['defineProperty'](window['IntersectionObserverEntry']['prototype'],'isIntersecting',{'get':function(){return this['intersectionRatio']>0x0;}});else{var f=(function(){for(var H=window['document'],I=q(H);I;)I=q(H=I['ownerDocument']);return H;}()),j=[],k=null,m=null;x['prototype']['THROTTLE_TIMEOUT']=0x64,x['prototype']['POLL_INTERVAL']=null,x['prototype']['USE_MUTATION_OBSERVER']=!0x0,x['_setupCrossOriginUpdater']=function(){return k||(k=function(H,I){m=H&&I?D(H,I):{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0},j['forEach'](function(J){J['_checkForIntersections']();});}),k;},x['_resetCrossOriginUpdater']=function(){k=null,m=null;},x['prototype']['observe']=function(H){if(!this['_observationTargets']['some'](function(I){return I['element']==H;})){if(!H||0x1!=H['nodeType'])throw new Error('target\x20must\x20be\x20an\x20Element');this['_registerInstance'](),this['_observationTargets']['push']({'element':H,'entry':null}),this['_monitorIntersections'](H['ownerDocument']),this['_checkForIntersections']();}},x['prototype']['unobserve']=function(H){this['_observationTargets']=this['_observationTargets']['filter'](function(I){return I['element']!=H;}),this['_unmonitorIntersections'](H['ownerDocument']),0x0==this['_observationTargets']['length']&&this['_unregisterInstance']();},x['prototype']['disconnect']=function(){this['_observationTargets']=[],this['_unmonitorAllIntersections'](),this['_unregisterInstance']();},x['prototype']['takeRecords']=function(){var H=this['_queuedEntries']['slice']();return this['_queuedEntries']=[],H;},x['prototype']['_initThresholds']=function(H){var I=H||[0x0];return Array['isArray'](I)||(I=[I]),I['sort']()['filter'](function(J,K,L){if('number'!=typeof J||isNaN(J)||J<0x0||J>0x1)throw new Error('threshold\x20must\x20be\x20a\x20number\x20between\x200\x20and\x201\x20inclusively');return J!==L[K-0x1];});},x['prototype']['_parseRootMargin']=function(H){var I=(H||'0px')['split'](/\s+/)['map'](function(J){var K=/^(-?\d*\.?\d+)(px|%)$/['exec'](J);if(!K)throw new Error('rootMargin\x20must\x20be\x20specified\x20in\x20pixels\x20or\x20percent');return{'value':parseFloat(K[0x1]),'unit':K[0x2]};});return I[0x1]=I[0x1]||I[0x0],I[0x2]=I[0x2]||I[0x0],I[0x3]=I[0x3]||I[0x1],I;},x['prototype']['_monitorIntersections']=function(H){var I=H['defaultView'];if(I&&-0x1==this['_monitoringDocuments']['indexOf'](H)){var J=this['_checkForIntersections'],K=null,L=null;this['POLL_INTERVAL']?K=I['setInterval'](J,this['POLL_INTERVAL']):(y(I,'resize',J,!0x0),y(H,'scroll',J,!0x0),this['USE_MUTATION_OBSERVER']&&'MutationObserver'in I&&(L=new I['MutationObserver'](J))['observe'](H,{'attributes':!0x0,'childList':!0x0,'characterData':!0x0,'subtree':!0x0})),this['_monitoringDocuments']['push'](H),this['_monitoringUnsubscribes']['push'](function(){var O=H['defaultView'];O&&(K&&O['clearInterval'](K),z(O,'resize',J,!0x0)),z(H,'scroll',J,!0x0),L&&L['disconnect']();});var M=this['root']&&(this['root']['ownerDocument']||this['root'])||f;if(H!=M){var N=q(H);N&&this['_monitorIntersections'](N['ownerDocument']);}}},x['prototype']['_unmonitorIntersections']=function(H){var I=this['_monitoringDocuments']['indexOf'](H);if(-0x1!=I){var J=this['root']&&(this['root']['ownerDocument']||this['root'])||f,K=this['_observationTargets']['some'](function(N){var O=N['element']['ownerDocument'];if(O==H)return!0x0;for(;O&&O!=J;){var P=q(O);if((O=P&&P['ownerDocument'])==H)return!0x0;}return!0x1;});if(!K){var L=this['_monitoringUnsubscribes'][I];if(this['_monitoringDocuments']['splice'](I,0x1),this['_monitoringUnsubscribes']['splice'](I,0x1),L(),H!=J){var M=q(H);M&&this['_unmonitorIntersections'](M['ownerDocument']);}}}},x['prototype']['_unmonitorAllIntersections']=function(){var H=this['_monitoringUnsubscribes']['slice'](0x0);this['_monitoringDocuments']['length']=0x0,this['_monitoringUnsubscribes']['length']=0x0;for(var I=0x0;I<H['length'];I++)H[I]();},x['prototype']['_checkForIntersections']=function(){if(this['root']||!k||m){var H=this['_rootIsInDom'](),I=H?this['_getRootRect']():{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0};this['_observationTargets']['forEach'](function(J){var K=J['element'],L=B(K),M=this['_rootContainsTarget'](K),N=J['entry'],O=H&&M&&this['_computeTargetAndRootIntersection'](K,L,I),P=null;this['_rootContainsTarget'](K)?k&&!this['root']||(P=I):P={'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0};var Q=J['entry']=new w({'time':window['performance']&&performance['now']&&performance['now'](),'target':K,'boundingClientRect':L,'rootBounds':P,'intersectionRect':O});N?H&&M?this['_hasCrossedThreshold'](N,Q)&&this['_queuedEntries']['push'](Q):N&&N['isIntersecting']&&this['_queuedEntries']['push'](Q):this['_queuedEntries']['push'](Q);},this),this['_queuedEntries']['length']&&this['_callback'](this['takeRecords'](),this);}},x['prototype']['_computeTargetAndRootIntersection']=function(H,I,J){if('none'!=window['getComputedStyle'](H)['display']){for(var K=I,L=F(H),M=!0x1;!M&&L;){var N=null,O=0x1==L['nodeType']?window['getComputedStyle'](L):{};if('none'==O['display'])return null;if(L==this['root']||0x9==L['nodeType']){if(M=!0x0,L==this['root']||L==f)k&&!this['root']?!m||0x0==m['width']&&0x0==m['height']?(L=null,N=null,K=null):N=m:N=J;else{var P=F(L),Q=P&&B(P),R=P&&this['_computeTargetAndRootIntersection'](P,Q,J);Q&&R?(L=P,N=D(Q,R)):(L=null,K=null);}}else{var S=L['ownerDocument'];L!=S['body']&&L!=S['documentElement']&&'visible'!=O['overflow']&&(N=B(L));}if(N&&(K=A(N,K)),!K)break;L=L&&F(L);}return K;}},x['prototype']['_getRootRect']=function(){var H;if(this['root']&&!G(this['root']))H=B(this['root']);else{var I=G(this['root'])?this['root']:f,J=I['documentElement'],K=I['body'];H={'top':0x0,'left':0x0,'right':J['clientWidth']||K['clientWidth'],'width':J['clientWidth']||K['clientWidth'],'bottom':J['clientHeight']||K['clientHeight'],'height':J['clientHeight']||K['clientHeight']};}return this['_expandRectByRootMargin'](H);},x['prototype']['_expandRectByRootMargin']=function(H){var I=this['_rootMarginValues']['map'](function(K,L){return'px'==K['unit']?K['value']:K['value']*(L%0x2?H['width']:H['height'])/0x64;}),J={'top':H['top']-I[0x0],'right':H['right']+I[0x1],'bottom':H['bottom']+I[0x2],'left':H['left']-I[0x3]};return J['width']=J['right']-J['left'],J['height']=J['bottom']-J['top'],J;},x['prototype']['_hasCrossedThreshold']=function(H,I){var J=H&&H['isIntersecting']?H['intersectionRatio']||0x0:-0x1,K=I['isIntersecting']?I['intersectionRatio']||0x0:-0x1;if(J!==K)for(var L=0x0;L<this['thresholds']['length'];L++){var M=this['thresholds'][L];if(M==J||M==K||M<J!=M<K)return!0x0;}},x['prototype']['_rootIsInDom']=function(){return!this['root']||E(f,this['root']);},x['prototype']['_rootContainsTarget']=function(H){var I=this['root']&&(this['root']['ownerDocument']||this['root'])||f;return E(I,H)&&(!this['root']||I==H['ownerDocument']);},x['prototype']['_registerInstance']=function(){j['indexOf'](this)<0x0&&j['push'](this);},x['prototype']['_unregisterInstance']=function(){var H=j['indexOf'](this);-0x1!=H&&j['splice'](H,0x1);},window['IntersectionObserver']=x,window['IntersectionObserverEntry']=w;}}function q(H){try{return H['defaultView']&&H['defaultView']['frameElement']||null;}catch(I){return null;}}function w(H){this['time']=H['time'],this['target']=H['target'],this['rootBounds']=C(H['rootBounds']),this['boundingClientRect']=C(H['boundingClientRect']),this['intersectionRect']=C(H['intersectionRect']||{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0}),this['isIntersecting']=!!H['intersectionRect'];var I=this['boundingClientRect'],J=I['width']*I['height'],K=this['intersectionRect'],L=K['width']*K['height'];this['intersectionRatio']=J?Number((L/J)['toFixed'](0x4)):this['isIntersecting']?0x1:0x0;}function x(H,I){var J,K,L,M=I||{};if('function'!=typeof H)throw new Error('callback\x20must\x20be\x20a\x20function');if(M['root']&&0x1!=M['root']['nodeType']&&0x9!=M['root']['nodeType'])throw new Error('root\x20must\x20be\x20a\x20Document\x20or\x20Element');this['_checkForIntersections']=(J=this['_checkForIntersections']['bind'](this),K=this['THROTTLE_TIMEOUT'],L=null,function(){L||(L=setTimeout(function(){J(),L=null;},K));}),this['_callback']=H,this['_observationTargets']=[],this['_queuedEntries']=[],this['_rootMarginValues']=this['_parseRootMargin'](M['rootMargin']),this['thresholds']=this['_initThresholds'](M['threshold']),this['root']=M['root']||null,this['rootMargin']=this['_rootMarginValues']['map'](function(N){return N['value']+N['unit'];})['join']('\x20'),this['_monitoringDocuments']=[],this['_monitoringUnsubscribes']=[];}function y(H,I,J,K){'function'==typeof H['addEventListener']?H['addEventListener'](I,J,K||!0x1):'function'==typeof H['attachEvent']&&H['attachEvent']('on'+I,J);}function z(H,I,J,K){'function'==typeof H['removeEventListener']?H['removeEventListener'](I,J,K||!0x1):'function'==typeof H['detachEvent']&&H['detachEvent']('on'+I,J);}function A(H,I){var J=Math['max'](H['top'],I['top']),K=Math['min'](H['bottom'],I['bottom']),L=Math['max'](H['left'],I['left']),M=Math['min'](H['right'],I['right']),N=M-L,O=K-J;return N>=0x0&&O>=0x0&&{'top':J,'bottom':K,'left':L,'right':M,'width':N,'height':O}||null;}function B(H){var I;try{I=H['getBoundingClientRect']();}catch(J){}return I?(I['width']&&I['height']||(I={'top':I['top'],'right':I['right'],'bottom':I['bottom'],'left':I['left'],'width':I['right']-I['left'],'height':I['bottom']-I['top']}),I):{'top':0x0,'bottom':0x0,'left':0x0,'right':0x0,'width':0x0,'height':0x0};}function C(H){return!H||'x'in H?H:{'top':H['top'],'y':H['top'],'bottom':H['bottom'],'left':H['left'],'x':H['left'],'right':H['right'],'width':H['width'],'height':H['height']};}function D(H,I){var J=I['top']-H['top'],K=I['left']-H['left'];return{'top':J,'left':K,'height':I['height'],'width':I['width'],'bottom':J+I['height'],'right':K+I['width']};}function E(H,I){for(var J=I;J;){if(J==H)return!0x0;J=F(J);}return!0x1;}function F(H){var I=H['parentNode'];return 0x9==H['nodeType']&&H!=f?q(H):(I&&I['assignedSlot']&&(I=I['assignedSlot']['parentNode']),I&&0xb==I['nodeType']&&I['host']?I['host']:I);}function G(H){return H&&0x9===H['nodeType'];}}());},0x140f:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x143e:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isBot']=function(){return'undefined'==typeof navigator||(!navigator['userAgent']||('undefined'==typeof navigator||!0x0===navigator['webdriver']||!!(function(){if('undefined'==typeof navigator||!navigator['userAgent'])return!0x0;const h=navigator['userAgent']['toLowerCase']();return g['some'](j=>h['includes'](j));}())));};const g=['googlebot','adsbot-google','mediapartners-google','google\x20web\x20preview','google-inspectiontool','googleother','bingbot','slurp','duckduckbot','baiduspider','yandexbot','sogou','exabot','ia_archiver','facebookexternalhit','facebot','twitterbot','linkedinbot','pinterest','whatsapp','telegrambot','slackbot','discordbot','bot/','bot;','bot)','crawler','spider','scraper','archiver','headlesschrome','phantomjs','puppeteer','selenium','prerender','rendertron','googleweblight','uptimerobot','pingdom','gtmetrix','semrushbot','ahrefsbot','mj12bot','dotbot'];},0x1441:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1457:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x22c1),f),j(g(0x89b),f),j(g(0x10da),f),j(g(0x74c),f),j(g(0x1fa7),f);},0x145f:(d,f)=>{'use strict';function g(j){if(!j||'string'!=typeof j)return!0x1;const k=j['toLowerCase']()['includes']('.m3u8');try{return new URL(j),k;}catch(l){return!0x1;}}function h(j){if(!j||'string'!=typeof j)return!0x1;const k=j['toLowerCase']()['includes']('.mp4');try{return new URL(j),k;}catch(l){return!0x1;}}Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isValidHLSUrl']=g,f['isValidMP4Url']=h,f['isHLSRendition']=function(j){var k;return'hls'===(null===(k=j['fileType'])||void 0x0===k?void 0x0:k['toLowerCase']())||!!j['url']&&g(j['url']);},f['isMP4Rendition']=function(j){var k;return'mp4'===(null===(k=j['fileType'])||void 0x0===k?void 0x0:k['toLowerCase']())||!!j['url']&&h(j['url']);},f['getVideoFormat']=function(j){return g(j)?'hls':h(j)?'mp4':'unknown';};},0x1492:(f,j,k)=>{'use strict';Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetItem']=void 0x0;const m=k(0x1133),q=k(0x1932),w=k(0x22d9),x=k(0x11c1),y=k(0x1133),z=k(0x1b52),A=k(0x132a),B=k(0xdf6),C=k(0x2432),D=k(0x115),E={'light':{'backgroundColor':'rgba(255,\x20255,\x20255,\x200.4)','iconColor':A['Colors']['White']},'dark':{'backgroundColor':'rgba(6,\x2014,\x2036,\x200.4)','iconColor':A['Colors']['White']}};function F(H,I,J,K){const L=document['createElement']('span'),M='url(\x27'+H+'\x27)\x20center\x20/\x20contain\x20no-repeat';return(0x0,C['mergeStyles'])(L,Object['assign']({'display':'block','width':J,'height':J,'backgroundColor':I,'mask':M,'webkitMask':M},K)),L;}class G extends m['BaseWidget']{get['parentRef'](){let H=this['parentElement'];const I=this['getRootNode']();return I instanceof ShadowRoot&&(H=I['host']),H;}constructor(H){super(),this['options']=H,this['thumbnailString']='',this['analyticsCalls']={},this['chipType']='statusReadStyle',this['position']=0x1,this['total']=0x1,this['startTimeElement']=null,this['statusIndicatorSettings']={'backgroundColor':'#ffffff','backgroundImage':'none','textColor':'#fffff','font':'initial','textSize':'10px','letterSpacing':'initial','borderRadius':'initial','borderColor':'#ffffff','thumbnailBorderColor':'#ffffff','text':'','borderWidth':0x2,'isVisible':!0x1,'padding':'3px\x209px'},this['paddingItem']={'top':'0','left':'0','right':'0','bottom':'0'},this['debouncedIntersectionAction']=(0x0,m['debounce'])(()=>{var K,L,M,N,O,P;(null===(L=null===(K=this['parentRef'])||void 0x0===K?void 0x0:K['momentsModal'])||void 0x0===L?void 0x0:L['isOpen'])||(null===(N=null===(M=this['parentRef'])||void 0x0===M?void 0x0:M['storysModal'])||void 0x0===N?void 0x0:N['isOpen'])||(null===(P=null===(O=this['parentRef'])||void 0x0===O?void 0x0:O['videosModal'])||void 0x0===P?void 0x0:P['isOpen'])||(this['parentRef']['setFirstVisibleItem'](),this['parentRef']['currentlyAnimatedItem']=this['parentRef']['firstVisibleItem'],this['parentRef']['widgetItems']['forEach'](Q=>{null==Q||Q['loadNewThumbnail']();}));},0x3e8);const {layout:I,content:J}=H;this['content']=J,this['layoutStyle']=I,this['statusIndicatorSettings']['borderRadius']='Circle'===this['layoutStyle']['thumbnailShape']?'50%':'0',this['statusIndicatorSettings']['borderWidth']=this['layoutStyle']['borderWidth'],this['thumbnailType']=this['layoutStyle']['thumbnailType'],this['setAttribute']('title',J['title']),this['wrapper']=w['WidgetsFactory']['create']('blaze-div'),this['container']=w['WidgetsFactory']['create']('blaze-div'),this['label']=w['WidgetsFactory']['create']('blaze-div'),this['labelBackground']=w['WidgetsFactory']['create']('blaze-div'),this['labelContainer']=w['WidgetsFactory']['create']('blaze-div'),this['thumbnail']=w['WidgetsFactory']['create']('blaze-image'),this['chip']=w['WidgetsFactory']['create']('blaze-chip'),this['badge']=w['WidgetsFactory']['create']('blaze-chip'),this['thumbnailPlayButton']=w['WidgetsFactory']['create']('blaze-div'),this['durationBadge']=w['WidgetsFactory']['create']('blaze-div'),this['intersectionObserver']=new IntersectionObserver(this['handleIntersection']['bind'](this),{'root':this['parentRef'],'threshold':[0x0,0.01,0.99,0x1]}),this['boundOnWidgetClick']=this['handleWidgetClick']['bind'](this),this['boundOnFocus']=this['onFocus']['bind'](this),this['boundOnBlur']=this['onBlur']['bind'](this);}['initializeWidget'](){this['thumbnailType']=(0x0,B['thumbnailMapping'])(this['layoutStyle']['thumbnailType']),this['setupDOMElements'](),this['setData'](this['content']),this['setupEventListeners'](),this['intersectionObserver']['observe'](this);}['connectedCallback'](){(0x0,C['setId'])(this,'blaze-widget-item'),this['setAttribute']('data-testid','blaze-widget-item-'+this['content']['id']),this['setAttribute']('role','button'),this['setAttribute']('tabindex','0'),this['setAttribute']('aria-keyshortcuts','Enter'),this['setAttribute']('aria-roledescription','Widget\x20item'),this['setAttribute']('aria-haspopup','dialog'),this['setAttribute']('aria-expanded','false'),this['initializeWidget'](),this['updateLabel'](),this['setChipStyle'](),this['renderStartTime'](),this['render']();}['updateAriaLabel'](){var H;const I=(null===(H=this['content'])||void 0x0===H?void 0x0:H['title'])||'Untitled',J=this['contentType']||'story',K=(0x0,C['buildContentAriaLabel'])({'contentType':J,'title':I,'content':this['content'],'position':this['position'],'total':this['total'],'badgeStyle':this['layoutStyle']['badgeIndicatorStyle'],'elementType':'button'});this['setAttribute']('aria-label',K);}['updateWidget'](){var H;null===(H=this['parentRef'])||void 0x0===H||H['updateWidgetsData'](),this['updateAriaLabel']();}['updateWidgetItemPadding'](){var H;null===(H=this['parentRef'])||void 0x0===H||H['setMaxPaddingOnWidgetItems']();}['updateWidgetItemStyle'](H){this['resetWidgetItemStyles'](),this['setTheme'](H);}['setupDOMElements'](){this['setStyle']({'display':'grid','position':'relative','cursor':'pointer'}),this['wrapper']['setStyle']({'position':'relative','display':'grid'}),this['container']['setStyle']({'background':'transparent','position':'relative','display':'grid'}),this['labelBackground']['setStyle']({'position':'absolute','top':'0','right':'0','bottom':'0','left':'0','height':'33.34%','borderRadius':'inherit','display':'none'}),this['thumbnail']['setStyle']({'lineHeight':'0'}),this['label']['setStyle']({'margin':'0px','justifySelf':'center','justifyContent':'center','textAlign':'center','overflow':'hidden','boxSizing':'border-box','fontWeight':this['layoutStyle']['labelStyle']['fontWeight'],'width':'100%','color':'transparent','borderRadius':'4px','maxWidth':'max(50%,\x2048px)','maxHeight':'24px'}),this['labelContainer']['setStyle']({'display':'inline-block'}),(0x0,C['mergeStyles'])(this['chip'],{'display':this['isLive']?'inline':'none','transform':'unset','fontWeight':'bold','inset':'unset'}),(0x0,C['mergeStyles'])(this['badge'],{'justifyContent':'center','alignItems':'center','inset':'unset'}),(0x0,C['mergeStyles'])(this['thumbnailPlayButton'],{'position':'absolute','display':'none','pointerEvents':'none','inset':'unset'}),(0x0,C['mergeStyles'])(this['durationBadge'],{'position':'absolute','display':'none','pointerEvents':'none','inset':'unset'}),this['append'](this['wrapper']),this['container']['append'](this['labelBackground']),this['container']['append'](this['thumbnail']),this['wrapper']['append'](this['container']),this['labelContainer']['append'](this['label']),this['container']['append'](this['chip']),this['container']['append'](this['badge']),this['container']['append'](this['thumbnailPlayButton']),this['container']['append'](this['durationBadge']);}['setupEventListeners'](){this['addEventListener']('click',this['boundOnWidgetClick']),this['addEventListener']('focus',this['boundOnFocus']),this['addEventListener']('blur',this['boundOnBlur']);}['onFocus'](H){const I=this['parentRef'];if(I&&I['widgetItems']){const J=I['widgetItems']['indexOf'](this);-0x1!==J&&I['updateFocusedItemIndex'](J);}this['matches'](':focus-visible')&&(this['style']['transform']='scale(0.98)',this['style']['outline']='2px\x20solid\x20#007AFF',this['style']['outlineOffset']='2px');}['onBlur'](){this['style']['transform']='',this['style']['outline']='';}['handleWidgetClick'](){var H;if(this['event'](q['WidgetAction']['Click'],{}),z['accessibilityManager']['storeModalFocusReturnTarget'](this),x['ConfigService']['onItemClick']){const I=this['parentRef']['containerId']||'',J=this['getItemIndex'](),K=this['contentType']||'story',L={'containerId':I,'item':this['content'],'itemIndexInContainer':J,'contentType':K};if(x['ConfigService']['onItemClick'](L)['shouldPreventOpen'])return;}null===(H=this['onClick'])||void 0x0===H||H['call'](this);}['disconnectedCallback'](){this['removeEventListener']('click',this['boundOnWidgetClick']),this['removeEventListener']('focus',this['boundOnFocus']),this['removeEventListener']('blur',this['boundOnBlur']),this['intersectionObserver']['disconnect']();}['handleIntersection'](){this['parentRef']['isAnimatedThumbnail']()&&this['debouncedIntersectionAction']();}['setData'](H){this['content']=H,this['content']&&this['label']&&(this['label']['textContent']=this['content']['title']),'isLive'in this['content']&&(this['isLive']=this['content']['isLive']),this['parentRef']['isAnimatedThumbnail']()&&this['parentRef']['widgetItems'][0x0]===this&&(this['parentRef']['currentlyAnimatedItem']=this),this['thumbnailString']=this['getThumbnailUrl'](),this['setupChildElementsAccessibility'](),this['updateAriaLabel'](),this['thumbnail']['load'](this['thumbnailString']);}['setupChildElementsAccessibility'](){this['chip']['setAttribute']('aria-hidden','true'),this['chip']['setAttribute']('tabindex','-1'),this['chip']['style']['pointerEvents']='none',this['badge']['setAttribute']('aria-hidden','true'),this['badge']['setAttribute']('tabindex','-1'),this['badge']['style']['pointerEvents']='none',this['label']['setAttribute']('aria-hidden','true'),this['label']['setAttribute']('tabindex','-1'),this['labelContainer']['setAttribute']('aria-hidden','true'),this['labelContainer']['setAttribute']('tabindex','-1'),this['labelBackground']['setAttribute']('aria-hidden','true'),this['labelBackground']['setAttribute']('tabindex','-1'),this['labelBackground']['style']['pointerEvents']='none',this['thumbnail']['setAttribute']('aria-hidden','true'),this['thumbnail']['setAttribute']('tabindex','-1'),this['thumbnail']['style']['pointerEvents']='none',this['durationBadge']['setAttribute']('aria-hidden','true'),this['durationBadge']['setAttribute']('tabindex','-1'),this['durationBadge']['style']['pointerEvents']='none',this['thumbnailPlayButton']['setAttribute']('aria-hidden','true'),this['thumbnailPlayButton']['setAttribute']('tabindex','-1'),this['thumbnailPlayButton']['style']['pointerEvents']='none',this['thumbnail']['thumbnailElement']&&(this['thumbnail']['thumbnailElement']['setAttribute']('alt',''),this['thumbnail']['thumbnailElement']['setAttribute']('tabindex','-1'),this['thumbnail']['thumbnailElement']['style']['pointerEvents']='none');}['isFullyVisibleInParent'](){const H=this['getBoundingClientRect'](),I=this['parentRef']['getBoundingClientRect']();return H['top']>=I['top']&&H['bottom']<=I['bottom']&&H['left']>=I['left']&&H['right']<=I['right'];}['loadNewThumbnail'](){const H=this['getThumbnailUrl']();if(this['thumbnailString']===H)return;const I=new Image();I['src']=H,I['onload']=()=>{this['thumbnail']['load'](H),this['thumbnailString']=H;};}['getThumbnailUrl'](){var H,I,J,K,L,M,N,O;let P,Q=null===(J=null===(I=null===(H=this['content'])||void 0x0===H?void 0x0:H['thumbnails'][0x0])||void 0x0===I?void 0x0:I['rendition'])||void 0x0===J?void 0x0:J['url'];return P='AnimatedThumbnailPoster'===this['thumbnailType']?this['parentRef']['currentlyAnimatedItem']===this?'Gif':'AnimatedThumbnailPoster':this['thumbnailType'],Q=null!==(O=null===(N=null===(M=null===(L=null===(K=this['content'])||void 0x0===K?void 0x0:K['thumbnails'])||void 0x0===L?void 0x0:L['find'](R=>R['type']==P))||void 0x0===M?void 0x0:M['rendition'])||void 0x0===N?void 0x0:N['url'])&&void 0x0!==O?O:Q,Q||'';}['setThumbnailBorder'](H,I=this['statusIndicatorSettings']['borderWidth']){this['container']['setStyle']({'boxShadow':'0\x200\x200\x20'+I+'px\x20'+H,'margin':I+'px'});}['updateLabel'](){this['label']['setStyle']({'color':this['layoutStyle']['labelStyle']['color'],'background':'initial','borderRadius':'initial','maxWidth':'initial','maxHeight':'initial'}),this['labelBackground']['setStyle']({'display':'block'});}['resetWidgetItemStyles'](){this['paddingItem']={'top':'0','left':'0','right':'0','bottom':'0'},this['chip']['setStyle']({'top':'initial','bottom':'initial','left':'initial','right':'initial','transform':'initial','alignSelf':'initial','display':'none'}),this['badge']['setStyle']({'top':'initial','bottom':'initial','left':'initial','right':'initial','transform':'initial','alignSelf':'initial','display':'none','padding':'0'}),this['wrapper']['setStyle']({'padding':'0'}),this['container']['setStyle']({'boxShadow':'none','margin':'0'});}['updateContainerStyles'](){const {borderRadius:H,borderPadding:I}=this['layoutStyle'],{thumbnailBorderColor:J,backgroundColor:K}=this['statusIndicatorSettings'];this['container']['style']['borderRadius']=H,this['container']['style']['padding']=I+'px',this['setThumbnailBorder'](J||K);}['updateLabelStyles'](){const H=this['layoutStyle']['labelStyle'],I=H['position']['startsWith']('inside'),J=H['position']['startsWith']('outside');this['label']['setStyle']({'fontFamily':H['font'],'fontDisplay':'swap','fontSize':y['TextScaleService']['scaleFontSize'](H['fontSize']),'lineHeight':y['TextScaleService']['scaleLineHeight'](H['height']+'px')}),this['labelContainer']['setStyle']({'padding':H['padding']}),0x1===this['layoutStyle']['lines']?this['label']['setStyle']({'display':'block','textOverflow':'ellipsis','whiteSpace':'nowrap','wordBreak':this['layoutStyle']['wordBreak'],'maxWidth':this['clientWidth']+'px'}):(this['label']['setStyle']({'textOverflow':'initial','whiteSpace':'initial'}),this['label']['style']['display']='-webkit-box',this['label']['style']['webkitLineClamp']=this['layoutStyle']['lines']['toString'](),this['label']['style']['webkitBoxOrient']='vertical',this['label']['style']['wordBreak']=this['layoutStyle']['wordBreak']),H['isVisible']||(this['label']['style']['display']='none',this['labelBackground']['style']['display']='none'),J&&this['updateOutsideLabelStyles'](H),I&&this['updateInsideLabelStyles'](H);}['updateInsideLabelStyles'](H){const {isInside:I,isTop:J,isMiddle:K,isBottom:L,isLeft:M,isRight:N}=(0x0,C['calculatePosition'])(H['position']);switch(this['style']['gap']='0px',this['container']['appendChild'](this['labelContainer']),this['labelContainer']['setStyle']({'position':'absolute','gridRow':'unset','width':'-webkit-fill-available'}),this['labelBackground']['setStyle']({'background':'#000'}),!0x0){case I&&J:this['labelContainer']['setStyle']({'alignSelf':'start'}),this['labelBackground']['style']['top']='0',this['labelBackground']['style']['background']='linear-gradient(to\x20bottom,\x20rgba(0,0,0,1),\x20rgba(0,0,0,0))',this['labelBackground']['style']['background']='-webkit-linear-gradient(top,\x20rgba(0,0,0,1),\x20rgba(0,0,0,0))';break;case I&&K:this['labelContainer']['setStyle']({'alignSelf':'center'}),this['labelBackground']['style']['top']='33.34%',this['labelBackground']['style']['background']='linear-gradient(to\x20bottom,\x20rgba(0,0,0,0),\x20rgba(0,0,0,1),\x20rgba(0,0,0,0))',this['labelBackground']['style']['background']='-webkit-linear-gradient(top,\x20rgba(0,0,0,0),\x20rgba(0,0,0,1),\x20rgba(0,0,0,0))';break;case I&&L:this['labelContainer']['setStyle']({'alignSelf':'end'}),this['labelBackground']['style']['top']='66.67%',this['labelBackground']['style']['background']='linear-gradient(to\x20bottom,\x20rgba(0,0,0,0),\x20rgba(0,0,0,1))',this['labelBackground']['style']['background']='-webkit-linear-gradient(top,\x20rgba(0,0,0,0),\x20rgba(0,0,0,1),\x20rgba(0,0,0,0));';}switch(H['backgroundColor']&&(this['labelBackground']['style']['background']=H['backgroundColor']),!0x0){case I&&M:this['label']['setStyle']({'textAlign':H['textAlign']||'start'});break;case I&&N:this['label']['setStyle']({'textAlign':H['textAlign']||'end'});break;default:this['label']['setStyle']({'textAlign':H['textAlign']||'center'});}}['updateOutsideLabelStyles'](H){const I='outsideBottom'===H['position'],J='outsideTop'===H['position'];switch(this['appendChild'](this['labelContainer']),this['labelContainer']['setStyle']({'position':'initial'}),this['labelBackground']['setStyle']({'display':'none'}),this['style']['gap']=(H['isVisible']?H['gap']:0x0)+'px',!0x0){case I:this['labelContainer']['setStyle']({'gridRow':'2'}),this['setStyle']({'gridTemplateRows':'min-content\x20min-content','gridTemplateColumns':'initial'}),this['container']['setStyle']({'alignContent':'flex-start'});break;case J:this['labelContainer']['setStyle']({'gridRow':'1'}),this['setStyle']({'gridTemplateRows':'min-content\x20min-content','gridTemplateColumns':'initial','alignContent':'space-between'}),this['container']['setStyle']({'alignSelf':'flex-end'});}H['textAlign']&&this['label']['setStyle']({'textAlign':H['textAlign']});}['updateThumbnailStyles'](){if(this['layoutStyle']&&this['thumbnail']){const H=(0x0,C['checkAspectRatios'])(this['layoutStyle']['itemRatio']);'16/9'===H?this['thumbnail']['setHeight']('-webkit-fill-available'):'9/16'===H&&this['thumbnail']['setHeight']('100%'),this['thumbnail']['setStyle']({'aspectRatio':this['layoutStyle']['itemRatio']['toString'](),'borderRadius':this['layoutStyle']['borderRadius']});}}['updateStatusIndicatorStyle'](H){const I='chip'===H?this['statusIndicatorSettings']:this['layoutStyle']['badgeIndicatorStyle'],J='chip'===H?this['layoutStyle']['statusIndicatorPosition']:this['layoutStyle']['badgePosition'],K='chip'===H?this['chip']:this['badge'];if(!I['isVisible'])return void(K['style']['display']='none');'badge'===H&&this['layoutStyle']['badgeIndicatorStyle']['padding']&&(K['style']['padding']=this['layoutStyle']['badgeIndicatorStyle']['padding'],K['style']['zIndex']='1');const {isOutside:L,isInside:M,isTop:N,isMiddle:O,isBottom:P,isLeft:Q,isRight:R}=(0x0,C['calculatePosition'])(J);let S=0x0,T=0x0;if('badge'===H)I['width']&&(T=Math['floor'](I['width']/0x2)),I['height']&&(S=Math['floor'](I['height']/0x2));else{const X=(0x0,C['createChip'])(this['statusIndicatorSettings']);T=Math['floor'](X['width']/0x2),S=Math['floor'](X['height']/0x2);}const U='Circle'===this['layoutStyle']['thumbnailShape'],V=this['statusIndicatorSettings']['borderWidth'],W='badge'===H?I['borderWidth']:this['statusIndicatorSettings']['borderWidth'];L?this['handleOutsidePosition']({'isTop':N,'isBottom':P,'isLeft':Q,'isRight':R,'height':S,'width':T,'isCircleThumbnail':U,'borderWidthElement':W,'borderWidthThumbnail':V},K):M&&this['handleInsidePosition']({'isTop':N,'isMiddle':O,'isBottom':P,'isLeft':Q,'isRight':R,'height':S,'isCircleThumbnail':U,'borderWidthElement':W,'borderWidthThumbnail':V},K),this['applyCommonStyles'](H);}['handleOutsidePosition'](H,I){const {isTop:J,isBottom:K,isLeft:L,isRight:M,height:N,width:O,isCircleThumbnail:P,borderWidthThumbnail:Q}=H;if(J?(I['style']['top']='-'+N+'px',M||L||(this['wrapper']['style']['paddingTop']=N-Q+'px',this['paddingItem']['top']=N-Q+'px')):K&&(I['style']['bottom']='-'+N+'px',M||L||(this['wrapper']['style']['paddingBottom']=N-Q+'px',this['paddingItem']['bottom']=N-Q+'px')),L||M){const R=L?'left':'right',S=K||J,T=P&&S?'0':'-'+O+'px',U=L?'paddingLeft':'paddingRight';I['setStyle']({[R]:T,'alignSelf':'center'});const V=P&&S?'0':O+'px';if(this['wrapper']['setStyle']({[U]:V}),this['paddingItem'][R]=V,K||J){const W=K?'bottom':'top';I['setStyle']({[W]:P?'0':'-'+N+'px'});const X=K?'paddingBottom':'paddingTop';this['wrapper']['setStyle']({[X]:P?'0':N+'px'}),this['paddingItem'][W]=V;}}}['handleInsidePosition'](H,I){const {isTop:J,isMiddle:K,isBottom:L,isLeft:M,isRight:N,isCircleThumbnail:O}=H,P={},Q=(0x0,C['calculatePercentage'])(0x5,this['container']),R=(0x0,C['calculatePercentage'])(0xf,this['container']);(J||L)&&(P['top']=J?O?K?Q:R:'4px':'',P['bottom']=L?O?K?Q:R:'4px':''),K&&(P['alignSelf']='center');const S='RTL'===x['ConfigService']['layoutDirection'];if(M||N){const T=O?K?Q:R:'4px',U=O?K?Q:R:'4px';S?(P['left']=N?U:'',P['right']=M?T:''):(P['left']=M?T:'',P['right']=N?U:'');}M||N||J||L||(P['textAlign']='center'),I['setStyle'](P);}['applyCommonStyles'](H){var I,J,K,L;const M='chip'===H?this['statusIndicatorSettings']:this['layoutStyle']['badgeIndicatorStyle'],N='chip'===H?this['chip']:this['badge'],O={'fontSize':y['TextScaleService']['scaleFontSize'](M['textSize']),'backgroundColor':M['backgroundColor'],'borderColor':M['borderColor'],'borderWidth':M['borderWidth']+'px','borderRadius':M['borderRadius'],'color':M['textColor'],'letterSpacing':M['letterSpacing'],'fontFamily':M['font'],'fontDisplay':'swap','padding':M['padding']};if('badge'===H&&(O['height']=M['height']+'px',O['width']=M['width']+'px'),'none'!==M['backgroundImage']&&(new Image()['src']=M['backgroundImage'],O['backgroundImage']='url(\x27'+M['backgroundImage']+'\x27)',O['backgroundSize']='cover',O['backgroundRepeat']='no-repeat',O['backgroundPosition']='center'),M['positionOffset']&&(O['marginLeft']=null!==(I=M['positionOffset']['left'])&&void 0x0!==I?I:null,O['marginTop']=null!==(J=M['positionOffset']['top'])&&void 0x0!==J?J:null,O['marginRight']=null!==(K=M['positionOffset']['right'])&&void 0x0!==K?K:null,O['marginBottom']=null!==(L=M['positionOffset']['bottom'])&&void 0x0!==L?L:null),'chip'===H&&this['setThumbnailBorder'](M['thumbnailBorderColor']||M['borderColor']),N['setStyle'](O),N['innerText']='',M['icon']&&this['renderChipIcon'](N,M['icon']),M['text']){const Q=document['createTextNode'](M['text']);N['appendChild'](Q);}const P=0x0!==N['innerText']['length'];N['style']['display']=M['isVisible']&&(P||'none'!==M['backgroundImage'])?'flex':'none';}['renderChipIcon'](H,I){let J=H['querySelector']('.chip-icon');J||(J=document['createElement']('img'),J['className']='chip-icon',J['style']['width']='4px',J['style']['height']='4px',J['style']['marginRight']='4px',J['style']['verticalAlign']='middle',J['style']['display']='inline-block',J['setAttribute']('aria-hidden','true'),H['prepend'](J)),J['src']=I['url'],I['color']&&(J['style']['color']=I['color']);}['clearChipIcon'](H){const I=H['querySelector']('.chip-icon');I&&I['remove']();}['setTheme'](H){this['layoutStyle']=H,this['initializeAndRenderWidget']();}['initializeAndRenderWidget'](){this['initializeWidget'](),this['updateLabel'](),this['setChipStyle'](),this['render']();}['getPaddingOnContainer'](){return this['paddingItem'];}['setPaddingOnContainer'](H){this['paddingItem']=H,this['wrapper']['setStyle']({'paddingTop':H['top'],'paddingBottom':H['bottom'],'paddingLeft':H['left'],'paddingRight':H['right']});}['setChipStyle'](){var H;const I=null===(H=this['content'])||void 0x0===H?void 0x0:H['hasViewed'],J=this['getStreamState']();return'Upcoming'===J?(this['statusIndicatorSettings']=this['layoutStyle']['statusUpcomingStyle'],void(this['chipType']='statusUpcomingStyle')):'Ended'===J?(this['statusIndicatorSettings']=this['layoutStyle']['statusEndedStyle'],void(this['chipType']='statusEndedStyle')):void('Live'!==J?this['isLive']?I?(this['statusIndicatorSettings']=this['layoutStyle']['statusLiveStyle'],this['chipType']='statusLiveStyle'):(this['statusIndicatorSettings']=this['layoutStyle']['statusLiveUnreadStyle'],this['chipType']='statusLiveUnreadStyle'):I?(this['statusIndicatorSettings']=this['layoutStyle']['statusReadStyle'],this['chipType']='statusReadStyle'):(this['statusIndicatorSettings']=this['layoutStyle']['statusUnreadStyle'],this['chipType']='statusUnreadStyle'):I?(this['statusIndicatorSettings']=this['layoutStyle']['statusLiveStyle'],this['chipType']='statusLiveStyle'):(this['statusIndicatorSettings']=this['layoutStyle']['statusLiveUnreadStyle'],this['chipType']='statusLiveUnreadStyle'));}['isStream'](){return void 0x0!==this['content']['stream']&&null!==this['content']['stream'];}['getStreamState'](){var H,I;return null!==(I=null===(H=this['content']['stream'])||void 0x0===H?void 0x0:H['state'])&&void 0x0!==I?I:null;}['getStreamStartTime'](){var H,I;return null!==(I=null===(H=this['content']['stream'])||void 0x0===H?void 0x0:H['startTime'])&&void 0x0!==I?I:null;}['isUpcomingStream'](){return'Upcoming'===this['getStreamState']();}['isLiveStream'](){return'Live'===this['getStreamState']();}['isEndedStream'](){return'Ended'===this['getStreamState']();}['formatStartTime'](H){var I,J,K,L,M;try{const N=new Date(H);if(isNaN(N['getTime']()))return null;const O=new Intl['DateTimeFormat'](navigator['language']||'en-US',{'month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','hour12':!0x0})['formatToParts'](N),P=null===(I=O['find'](S=>'month'===S['type']))||void 0x0===I?void 0x0:I['value'],Q=null===(J=O['find'](S=>'day'===S['type']))||void 0x0===J?void 0x0:J['value'],R=null===(K=O['find'](S=>'hour'===S['type']))||void 0x0===K?void 0x0:K['value'];return P+'/'+Q+'\x20|\x20'+R+':'+(null===(L=O['find'](S=>'minute'===S['type']))||void 0x0===L?void 0x0:L['value'])+(null===(M=O['find'](S=>'dayPeriod'===S['type']))||void 0x0===M?void 0x0:M['value']['toUpperCase']());}catch(S){return null;}}['renderStartTime'](){const H=this['layoutStyle']['startTimeStyle'];if(!H['isVisible'])return void this['removeStartTimeElement']();if(!this['isUpcomingStream']())return void this['removeStartTimeElement']();const I=this['getStreamStartTime']();if(!I)return;const J=this['formatStartTime'](I);if(!J)return;this['removeStartTimeElement']();const K=w['WidgetsFactory']['create']('blaze-div');K['className']='blaze-widget-item-start-time';const L=this['calculateStartTimePosition'](H['position']);K['setStyle'](Object['assign'](Object['assign']({'position':'absolute'},L),{'backgroundColor':H['backgroundColor'],'color':H['textColor'],'padding':H['padding'],'borderRadius':H['borderRadius'],'fontSize':y['TextScaleService']['scaleFontSize'](H['fontSize']),'fontWeight':H['fontWeight'],'letterSpacing':H['letterSpacing'],'fontFamily':H['font']})),K['textContent']=J,this['container']['appendChild'](K),this['startTimeElement']=K;}['calculateStartTimePosition'](H){const I='4px',J={},K='RTL'===x['ConfigService']['layoutDirection'];return H['includes']('Top')?J['top']=I:H['includes']('Bottom')?J['bottom']=I:H['includes']('Middle')&&(J['top']='50%',J['transform']='translateY(-50%)'),H['includes']('Left')?J[K?'right':'left']=I:H['includes']('Right')?J[K?'left':'right']=I:!H['includes']('Middle')||H['includes']('Top')||H['includes']('Bottom')||(J['left']='50%',J['transform']=J['transform']?J['transform']+'\x20translateX(-50%)':'translateX(-50%)'),J;}['removeStartTimeElement'](){this['startTimeElement']&&(this['startTimeElement']['remove'](),this['startTimeElement']=null);}['getItemIndex'](){var H,I;return Array['from'](null!==(I=null===(H=null==this?void 0x0:this['parentNode'])||void 0x0===H?void 0x0:H['children'])&&void 0x0!==I?I:[])['indexOf'](this);}['event'](H,I,J=void 0x0){var K,L,M,N,O,P,Q,R;if(H==q['WidgetAction']['Load']||H==q['WidgetAction']['Visible']){if(this['analyticsCalls'][H])return;this['analyticsCalls'][H]=!0x0;}try{const S=this['parentRef'],T=S['getBoundingClientRect']();I['widget_id']=S['id'],I['widget_name']=S['id'],I['widget_size']=Math['round'](null==T?void 0x0:T['width'])+'x'+Math['round'](null==T?void 0x0:T['height']),I['widget_type']=null===(K=S['widgetType'])||void 0x0===K?void 0x0:K['call'](S),I['widget_content_count']=null===(L=null==S?void 0x0:S['contents'])||void 0x0===L?void 0x0:L['length'],I['widget_content_list']=null===(M=null==S?void 0x0:S['contents'])||void 0x0===M?void 0x0:M['map'](V=>V['id'])['join'](),I['content_id']=null===(N=this['content'])||void 0x0===N?void 0x0:N['id'],I['content_index']=this['getItemIndex'](),I['content_name']=null===(O=this['content'])||void 0x0===O?void 0x0:O['title'],I['content_type']=this['contentType']?this['contentType']['charAt'](0x0)['toUpperCase']()+this['contentType']['slice'](0x1):'',I['placement_distance']=Math['round']((null==T?void 0x0:T['top'])||0x0)['toString'](),I['thumbnail_aspect_ratio']=null===(P=this['layoutStyle'])||void 0x0===P?void 0x0:P['itemRatio']['toString'](),I['thumbnail_type']=null===(Q=this['layoutStyle'])||void 0x0===Q?void 0x0:Q['thumbnailShape'],I['thumbnail_size']=(null==S?void 0x0:S['thumbnailWidth'])+'x'+(null==S?void 0x0:S['thumbnailHeight']);const U=new m['ReferringEventInfo']();U['origin_widget_id']=S['id'],U['origin_widget_name']=S['id'],U['origin_widget_type']=null===(R=S['widgetType'])||void 0x0===R?void 0x0:R['call'](S),U['labels_expression']=S['getAttribute']('labels'),document['referrer']&&(U['referrer_page_url']=document['referrer']),x['AnalyticsService']['pushWidgetEvent'](H,Object['assign']({},I),J,U);}catch(V){}}['render'](){this['updateContainerStyles'](),this['updateLabelStyles'](),this['updateThumbnailStyles'](),this['updateStatusIndicatorStyle']('chip'),this['updateStatusIndicatorStyle']('badge'),this['updateThumbnailPlayButton'](),this['updateDurationBadge']();}['updateThumbnailPlayButton'](){var H,I;const J=this['layoutStyle']['playButtonStyle'];if('video'!==this['contentType']&&'moment'!==this['contentType']||!(null==J?void 0x0:J['isVisible']))return void(this['thumbnailPlayButton']['style']['display']='none');const {backgroundColor:K,iconColor:L}=this['resolveThumbnailPlayButtonColors'](J),M=null!==(H=J['size'])&&void 0x0!==H?H:'48px',N=null!==(I=J['iconSize'])&&void 0x0!==I?I:'30px';this['thumbnailPlayButton']['setStyle']({'top':'50%','left':'50%','transform':'translate(-50%,\x20-50%)','width':M,'height':M,'borderRadius':'50%','backgroundColor':K,'display':'flex','alignItems':'center','justifyContent':'center'}),this['thumbnailPlayButton']['innerHTML']='',this['thumbnailPlayButton']['appendChild'](F(D['playFilledIconSvg'],L,N));}['resolveThumbnailPlayButtonColors'](H){var I,J;const K=null!==(I=E[H['colorMode']])&&void 0x0!==I?I:E['light'],L=H['backgroundColor'];return{'backgroundColor':L?(0x0,C['hasAlpha'])(L)?L:(0x0,C['withAlpha'])(L):K['backgroundColor'],'iconColor':null!==(J=H['iconColor'])&&void 0x0!==J?J:K['iconColor']};}['updateDurationBadge'](){var H,I,J,K;const L=this['layoutStyle']['durationBadgeStyle'],M='video'===this['contentType']||'moment'===this['contentType'],N=this['content']['duration'],O=(0x0,C['formatMediaDuration'])(N);if(!M||!(null==L?void 0x0:L['isVisible'])||!O)return void(this['durationBadge']['style']['display']='none');this['durationBadge']['innerHTML']='',this['durationBadge']['appendChild'](F(D['clockIconSvg'],L['textColor'],'1.2em',{'flexShrink':'0'}));const P=document['createElement']('span');P['innerText']=O,this['durationBadge']['appendChild'](P);const Q={'display':'inline-flex','alignItems':'center','gap':'4px','backgroundColor':L['backgroundColor'],'color':L['textColor'],'fontFamily':L['font'],'fontSize':y['TextScaleService']['scaleFontSize'](L['fontSize']),'fontWeight':'600','borderRadius':L['borderRadius'],'padding':L['padding'],'lineHeight':'1','whiteSpace':'nowrap'},R=L['positionOffset'],S='4px',{isTop:T,isBottom:U,isLeft:V,isRight:W}=(0x0,C['calculatePosition'])(L['position']);Q['top']=T?null!==(H=null==R?void 0x0:R['top'])&&void 0x0!==H?H:S:'',Q['bottom']=U?null!==(I=null==R?void 0x0:R['bottom'])&&void 0x0!==I?I:S:'',Q['left']=V?null!==(J=null==R?void 0x0:R['left'])&&void 0x0!==J?J:S:'',Q['right']=W?null!==(K=null==R?void 0x0:R['right'])&&void 0x0!==K?K:S:'',this['durationBadge']['setStyle'](Q);}['updateAccessibilityInfo'](H){this['position']=H['position'],this['total']=H['total'],H['contentType']&&(this['contentType']=H['contentType']),this['updateAriaLabel'](),this['setupChildElementsAccessibility']();}}j['BlazeWidgetItem']=G;},0x149b:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(D,E,F,G){return new(F||(F=Promise))(function(H,I){function J(M){try{L(G['next'](M));}catch(N){I(N);}}function K(M){try{L(G['throw'](M));}catch(N){I(N);}}function L(M){var N;M['done']?H(M['value']):(N=M['value'],N instanceof F?N:new F(function(O){O(N);}))['then'](J,K);}L((G=G['apply'](D,E||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BaseHLSStrategy']=g['HLS_CONFIGS']=void 0x0;const m=j(0x1036),p=j(0x11c1),q=j(0x31b),w=j(0x1dc9),x=j(0x1f29),y=j(0x26ed),z=j(0x46),A={'fragLoadingMaxRetry':0x3,'fragLoadingRetryDelay':0x64},B={'abrEwmaFastLive':0x2,'abrEwmaSlowLive':0x3,'abrEwmaFastVoD':0x2,'abrEwmaSlowVoD':0x3,'abrBandWidthFactor':0.95,'abrBandWidthUpFactor':0.9};g['HLS_CONFIGS']={'LONG_FORM':Object['assign'](Object['assign']({'maxBufferLength':0xf,'maxMaxBufferLength':0x14,'maxBufferSize':0x989680,'maxBufferHole':0x4,'autoStartLoad':!0x0},A),B),'SHORT_FORM':Object['assign'](Object['assign']({'maxBufferLength':0x5,'maxMaxBufferLength':0x8,'maxBufferSize':0xf4240,'maxBufferHole':0.5,'autoStartLoad':!0x1},A),B)};class C extends w['BasePlaybackStrategy']{constructor(D,E){super(),this['hls']=window['Hls'],this['retryCount']=0x0,this['maxRetries']=0x3,this['lastTime']=0x0,this['boundOnBufferAppended']=this['handleBufferAppended']['bind'](this),this['boundOnFragParsed']=this['handleFragParsed']['bind'](this),this['boundOnLoadedMetadata']=this['handleLoadedMetadata']['bind'](this),this['boundOnPlaying']=this['handlePlaying']['bind'](this),this['boundOnCanPlay']=this['hideLoader']['bind'](this),this['boundOnError']=this['handleError']['bind'](this),this['boundOnLevelSwitched']=this['handleLevelSwitched']['bind'](this),this['boundOnNativeError']=this['handleNativeError']['bind'](this),this['handleOnlineNetworkRecovery']=()=>{this['retryCount']=0x0,'undefined'!=typeof Hls&&Hls['isSupported']()&&this['hls']&&'function'==typeof this['hls']['startLoad']?this['hls']['startLoad']():this['video']['canPlayType']('application/vnd.apple.mpegurl')&&this['recoverNativeHls']();},this['video']=D,this['videoPlayerState']=E||p['VideoPlayerService'];}['setupEventListeners'](){this['video']['addEventListener'](q['EVENTS']['PLAYING'],this['boundOnPlaying']),this['video']['addEventListener'](q['EVENTS']['CAN_PLAY_THROUGH'],this['boundOnCanPlay']);}['loadSource'](D,E){return k(this,arguments,void 0x0,function*(F,G,H=0x0){this['initialBitrateBps']=0x3e8*G,this['lastTime']=H,this['isSlowConnection']()&&x['HLSQualityManager']['clear']();const I=this['video']['getAttribute']('data-original-src');if(this['hls']&&Hls['isSupported']()&&I&&I!==F){try{'function'==typeof this['hls']['destroy']&&this['hls']['destroy']();}catch(J){const K=(0x0,z['createVideoError'])(z['VideoErrorCode']['UNKNOWN_ERROR'],'Failed\x20to\x20destroy\x20HLS\x20instance\x20during\x20source\x20change',{'fatal':!0x1,'originalError':J,'context':{'stage':'hlsDestroy'}});z['VideoErrorManager']['getInstance']()['handleError'](K);}this['hls']=void 0x0;}if(this['video']['setAttribute']('data-original-src',F),Hls['isSupported']())this['setupHLSInstance'](F,H);else{if(!this['video']['canPlayType']('application/vnd.apple.mpegurl')){const L=(0x0,z['createVideoError'])(z['VideoErrorCode']['HLS_NOT_SUPPORTED'],'HLS\x20playback\x20is\x20not\x20supported\x20in\x20this\x20browser',{'fatal':!0x0});throw z['VideoErrorManager']['getInstance']()['handleError'](L),new Error(L['message']);}this['setupNativeHLS'](F,H);}});}['setupHLSInstance'](D,E,F=g['HLS_CONFIGS']['LONG_FORM']){let G=x['HLSQualityManager']['shouldUseMemory']()?x['HLSQualityManager']['recall']():-0x1;this['hls']=new Hls({'enableWorker':!0x0,'enableSoftwareAES':!0x0,'debug':!0x1,'maxBufferLength':F['maxBufferLength'],'maxMaxBufferLength':F['maxMaxBufferLength'],'maxBufferSize':F['maxBufferSize'],'maxBufferHole':F['maxBufferHole'],'fragLoadingMaxRetry':F['fragLoadingMaxRetry'],'fragLoadingRetryDelay':F['fragLoadingRetryDelay'],'abrMaxWithRealBitrate':!0x0,'abrEwmaFastLive':F['abrEwmaFastLive'],'abrEwmaSlowLive':F['abrEwmaSlowLive'],'abrEwmaFastVoD':F['abrEwmaFastVoD'],'abrEwmaSlowVoD':F['abrEwmaSlowVoD'],'abrBandWidthFactor':F['abrBandWidthFactor'],'abrBandWidthUpFactor':F['abrBandWidthUpFactor'],'capLevelToPlayerSize':!0x1,'startPosition':E,'startLevel':G}),this['hls']['loadSource'](D),this['hls']['attachMedia'](this['video']),this['hls']['on'](Hls['Events']['BUFFER_APPENDED'],this['boundOnBufferAppended']),this['hls']['on'](Hls['Events']['FRAG_PARSED'],this['boundOnFragParsed']),this['hls']['on'](Hls['Events']['ERROR'],this['boundOnError']),this['hls']['on'](Hls['Events']['LEVEL_SWITCHED'],this['boundOnLevelSwitched']);}['setupNativeHLS'](D,E){this['video']['src']=D,this['video']['currentTime']=E,this['video']['setAttribute']('type','application/x-mpegURL'),this['video']['addEventListener'](q['EVENTS']['ERROR'],this['boundOnNativeError']),this['video']['addEventListener'](q['EVENTS']['LOADED_METADATA'],this['boundOnLoadedMetadata']);}['unload'](){var D,E,F,G,H,I,J,K,L,M,N,O;this['hls']&&'undefined'!=typeof Hls&&Hls['isSupported']()&&(null===(E=(D=this['hls'])['stopLoad'])||void 0x0===E||E['call'](D),null===(G=(F=this['hls'])['off'])||void 0x0===G||G['call'](F,Hls['Events']['BUFFER_APPENDED'],this['boundOnBufferAppended']),null===(I=(H=this['hls'])['off'])||void 0x0===I||I['call'](H,Hls['Events']['FRAG_PARSED'],this['boundOnFragParsed']),null===(K=(J=this['hls'])['off'])||void 0x0===K||K['call'](J,Hls['Events']['ERROR'],this['boundOnError']),null===(M=(L=this['hls'])['off'])||void 0x0===M||M['call'](L,Hls['Events']['LEVEL_SWITCHED'],this['boundOnLevelSwitched']),null===(O=(N=this['hls'])['destroy'])||void 0x0===O||O['call'](N),this['hls']=void 0x0),this['video']['removeEventListener'](q['EVENTS']['ERROR'],this['boundOnNativeError']),this['video']['removeEventListener'](q['EVENTS']['PLAYING'],this['boundOnPlaying']),this['video']['removeEventListener'](q['EVENTS']['CAN_PLAY_THROUGH'],this['boundOnCanPlay']),this['video']['removeEventListener'](q['EVENTS']['LOADED_METADATA'],this['boundOnLoadedMetadata']),this['video']['pause'](),this['video']['preload']='none',this['video']['removeAttribute']('src'),this['video']['removeAttribute']('data-original-src'),this['video']['poster']='',this['video']['load'](),clearTimeout(this['playbackWatchdogTimeout']),clearTimeout(this['loaderTimeout']),clearTimeout(this['recoveryTimeout']);}['destroy'](){this['unload']();}['play'](){return k(this,void 0x0,void 0x0,function*(){var D,E;this['playAttemptStartTime']=Date['now']();try{null===(E=null===(D=this['hls'])||void 0x0===D?void 0x0:D['startLoad'])||void 0x0===E||E['call'](D),this['startPlaybackWatchdog'](),yield this['waitForVideoCondition'](()=>this['video']['readyState']>=0x3,'canplay',0xbb8);const F=this['video']['play']();F&&'function'==typeof F['then']?yield F:yield this['waitForVideoCondition'](()=>!this['video']['paused'],'playing',0x7d0);const G={'status':m['PlayStatus']['Success']};return this['dispatchPlaybackEvent']('success',{'result':G,'timeToPlay':Date['now']()-this['playAttemptStartTime']}),G;}catch(H){const I=H instanceof Error&&'AbortError'===H['name'],J={'status':m['PlayStatus']['Failed'],'error':H};if(!I){const K=(0x0,z['createVideoError'])(z['VideoErrorCode']['UNKNOWN_ERROR'],'Play\x20command\x20failed',{'fatal':!0x1,'originalError':H,'context':{'stage':'playCommand','timeToFail':Date['now']()-this['playAttemptStartTime']}});z['VideoErrorManager']['getInstance']()['handleError'](K);}return this['dispatchPlaybackEvent']('failed',{'result':J,'timeToFail':Date['now']()-this['playAttemptStartTime']}),J;}finally{this['hideLoader']();}});}['pause'](){var D,E;this['video']['pause'](),null===(E=null===(D=this['hls'])||void 0x0===D?void 0x0:D['stopLoad'])||void 0x0===E||E['call'](D),clearTimeout(this['playbackWatchdogTimeout']),clearTimeout(this['loaderTimeout']),clearTimeout(this['recoveryTimeout']);}['isPaused'](){return this['video']['paused'];}['isEnded'](){return this['video']['ended'];}['getCurrentTime'](){return this['video']['currentTime'];}['reset'](){this['pause'](),this['unload'](),this['video']['preload']='none',this['video']['removeAttribute']('poster'),this['video']['load']();}['getDuration'](){return this['video']['duration'];}['isMuted'](){return this['video']['muted'];}['seek'](D){var E,F,G,H;const I=(null===(E=this['video'])||void 0x0===E?void 0x0:E['currentTime'])||0x0;if(D<0x0||D>0x1)return void p['LoggerService']['log'](y['LogLevel']['WARN'],'HLS_SEEK_OUT_OF_RANGE','Seek\x20value\x20out\x20of\x20valid\x20range',{'clampedSeek':D,'validRange':'0-1'});if(!Number['isFinite'](this['video']['duration'])||this['video']['duration']<=0x0)return void p['LoggerService']['log'](y['LogLevel']['WARN'],'HLS_SEEK_INVALID_DURATION','Cannot\x20seek\x20-\x20video\x20duration\x20not\x20valid',{'duration':this['video']['duration'],'isFinite':Number['isFinite'](this['video']['duration']),'readyState':this['video']['readyState']});const J=D*this['video']['duration'],K=Math['abs'](J-I),L=J<I,M=L&&K>0x1e||!L&&K>0x3c;M&&p['LoggerService']['log'](y['LogLevel']['WARN'],'HLS_RISKY_SEEK','Risky\x20seek\x20'+(L?'backward':'forward')+'\x20by\x20'+K['toFixed'](0x1)+'s',{'seekTime':J,'currentTime':I,'seekDistance':K,'isBackwardSeek':L,'readyState':this['video']['readyState'],'paused':this['video']['paused'],'hlsCurrentLevel':null===(F=this['hls'])||void 0x0===F?void 0x0:F['currentLevel'],'hlsLevelsCount':null===(H=null===(G=this['hls'])||void 0x0===G?void 0x0:G['levels'])||void 0x0===H?void 0x0:H['length']}),Number['isFinite'](J)&&J>=0x0&&J<=this['video']['duration']?(this['hls']&&M&&'function'==typeof this['hls']['stopLoad']&&this['hls']['stopLoad'](),this['video']['currentTime']=J,this['hls']&&this['hls']['levels']&&this['hls']['levels']['length']>0x0&&M&&this['hls']['currentLevel']>0x0&&void 0x0!==this['hls']['nextLoadLevel']&&(this['hls']['nextLoadLevel']=0x0),this['hls']&&'function'==typeof this['hls']['startLoad']&&this['hls']['startLoad'](J),this['video']['paused']||this['handleSeekRecovery'](J)):p['LoggerService']['log'](y['LogLevel']['ERROR'],'HLS_SEEK_VALIDATION_FAILED','Seek\x20time\x20validation\x20failed',{'seekTime':J,'isFinite':Number['isFinite'](J),'duration':this['video']['duration'],'isInRange':J>=0x0&&J<=this['video']['duration']});}['setMuted'](D){const E=this['video']['muted'];this['video']['muted']=D,E!==D&&this['dispatchPlaybackEvent']('changed',{'previousState':{'muted':E},'newState':{'muted':D}});}['toggleMute'](){this['setMuted'](!this['video']['muted']);}['mute'](){this['setMuted'](!0x0);}['unmute'](){this['setMuted'](!0x1);}['toggleFullscreen'](){}['waitForVideoCondition'](D,E,F=0xbb8){return new Promise((G,H)=>{if(D())return void G();const I=setTimeout(()=>{L(),G();},F),J=M=>{L(),G(M);},K=M=>{L(),H(M);},L=()=>{clearTimeout(I),this['video']['removeEventListener'](E,J),this['video']['removeEventListener']('error',K);};this['video']['addEventListener'](E,J,{'once':!0x0}),this['video']['addEventListener']('error',K,{'once':!0x0});});}['startPlaybackWatchdog'](){this['playbackWatchdogTimeout']&&clearTimeout(this['playbackWatchdogTimeout']),this['lastTime']=this['video']['currentTime'],this['playbackWatchdogTimeout']=setTimeout(()=>{this['isSlowConnection']()||(this['video']['paused']||this['video']['readyState']<0x3||this['video']['currentTime']-this['lastTime']<0.1)&&!this['video']['ended']&&this['handlePlaybackTimeout']();},0x7530);}['handlePlaybackTimeout'](){var D,E,F,G,H,I;p['LoggerService']['log'](y['LogLevel']['WARN'],'HLS_PLAYBACK_TIMEOUT','Playback\x20appears\x20to\x20be\x20stalled',{'currentTime':this['video']['currentTime'],'lastTime':this['lastTime'],'readyState':this['video']['readyState'],'paused':this['video']['paused'],'ended':this['video']['ended'],'networkState':this['video']['networkState'],'hasError':!!this['video']['error'],'hasHls':!!this['hls'],'documentVisible':'visible'===document['visibilityState'],'documentHasFocus':'function'==typeof document['hasFocus']?document['hasFocus']():'unknown'}),'visible'!==document['visibilityState']||document['hidden']||'function'==typeof document['hasFocus']&&!document['hasFocus']()||(this['onLoadingState'](),this['hls']?this['video']['error']?(p['LoggerService']['log'](y['LogLevel']['ERROR'],'HLS_PLAYBACK_TIMEOUT_MEDIA_ERROR','Playback\x20timeout\x20with\x20video\x20error\x20-\x20attempting\x20recoverMediaError',{'errorCode':this['video']['error']['code'],'errorMessage':this['video']['error']['message']}),null===(E=(D=this['hls'])['recoverMediaError'])||void 0x0===E||E['call'](D)):(p['LoggerService']['log'](y['LogLevel']['WARN'],'HLS_PLAYBACK_TIMEOUT_REATTACH','Playback\x20timeout\x20-\x20detaching\x20and\x20reattaching\x20HLS',{'currentTime':this['video']['currentTime'],'readyState':this['video']['readyState']}),this['pause'](),null===(G=(F=this['hls'])['detachMedia'])||void 0x0===G||G['call'](F),null===(I=(H=this['hls'])['attachMedia'])||void 0x0===I||I['call'](H,this['video']),this['video']['play']()['catch'](J=>{p['LoggerService']['log'](y['LogLevel']['ERROR'],'HLS_PLAYBACK_TIMEOUT_RECOVERY_FAILED','Play\x20failed\x20after\x20playback\x20timeout\x20recovery',{'error':(null==J?void 0x0:J['message'])||String(J),'errorName':null==J?void 0x0:J['name'],'currentTime':this['video']['currentTime'],'readyState':this['video']['readyState']});const K=(0x0,z['createVideoError'])(z['VideoErrorCode']['MEDIA_DECODE_ERROR'],'Play\x20failed\x20after\x20playback\x20timeout\x20recovery',{'fatal':!0x1,'originalError':J,'context':{'recoveryAttempt':'playbackTimeout'}});z['VideoErrorManager']['getInstance']()['handleError'](K),this['reloadStream']();})):(p['LoggerService']['log'](y['LogLevel']['WARN'],'HLS_PLAYBACK_TIMEOUT_NATIVE_RELOAD','Playback\x20timeout\x20-\x20reloading\x20native\x20video',{'currentTime':this['video']['currentTime'],'readyState':this['video']['readyState']}),this['pause'](),this['video']['load'](),this['video']['play']()));}['handleSeekRecovery'](D){clearTimeout(this['recoveryTimeout']),clearTimeout(this['loaderTimeout']),this['loaderTimeout']=setTimeout(()=>{navigator['onLine']&&this['onLoadingState']();},0x3e8),this['recoveryTimeout']=setTimeout(()=>{var E,F;this['video']['paused']&&(p['LoggerService']['log'](y['LogLevel']['WARN'],'HLS_SEEK_RECOVERY_TRIGGERED','Seek\x20recovery\x20timeout\x20triggered\x20-\x20video\x20still\x20paused\x20after\x205s',{'seekTime':D,'currentTime':this['video']['currentTime'],'readyState':this['video']['readyState'],'paused':this['video']['paused'],'hasHls':!!this['hls']}),this['hls']&&(null===(F=(E=this['hls'])['recoverMediaError'])||void 0x0===F||F['call'](E)),this['video']['currentTime']=D,this['video']['play']()['catch'](G=>{p['LoggerService']['log'](y['LogLevel']['ERROR'],'HLS_SEEK_RECOVERY_FAILED','Play\x20failed\x20after\x20seek\x20recovery',{'seekTime':D,'error':(null==G?void 0x0:G['message'])||String(G),'errorName':null==G?void 0x0:G['name'],'currentTime':this['video']['currentTime'],'readyState':this['video']['readyState']});const H=(0x0,z['createVideoError'])(z['VideoErrorCode']['MEDIA_DECODE_ERROR'],'Play\x20failed\x20after\x20seek\x20recovery',{'fatal':!0x1,'originalError':G,'context':{'recoveryAttempt':'seekRecovery','seekTime':D}});z['VideoErrorManager']['getInstance']()['handleError'](H),this['reloadStream']();}));},0x1388),this['seekRecoveryListener']&&(this['video']['removeEventListener'](q['EVENTS']['PLAYING'],this['seekRecoveryListener']),this['seekRecoveryListener']=void 0x0),this['seekRecoveryListener']=()=>{clearTimeout(this['recoveryTimeout']),clearTimeout(this['loaderTimeout']),this['seekRecoveryListener']=void 0x0;},this['video']['addEventListener'](q['EVENTS']['PLAYING'],this['seekRecoveryListener'],{'once':!0x0});}['isSlowConnection'](){const D=navigator['connection']||navigator['mozConnection']||navigator['webkitConnection'];if(D){const {effectiveType:E,downlink:F,rtt:G,saveData:H}=D;if(H)return!0x0;if('2g'===E||'slow-2g'===E)return!0x0;if('3g'===E&&(F&&F<1.5||G&&G>0x190))return!0x0;}return!0x1;}['handleBufferAppended'](){this['onBufferUpdate'](this['getBufferProgress']());}['handleFragParsed'](){this['onBufferUpdate'](this['getBufferProgress']());}['handleError'](D,E){var F,G,H,I,J,K,L,M,N;this['onError'](D,E);const O={'hlsErrorType':E['type'],'hlsErrorDetails':E['details'],'httpStatus':null===(F=E['response'])||void 0x0===F?void 0x0:F['code'],'url':E['url']||(null===(G=E['frag'])||void 0x0===G?void 0x0:G['url']),'fatal':E['fatal'],'videoState':{'currentTime':this['video']['currentTime'],'duration':this['video']['duration'],'readyState':this['video']['readyState'],'paused':this['video']['paused'],'networkState':this['video']['networkState']},'hlsState':{'currentLevel':null===(H=this['hls'])||void 0x0===H?void 0x0:H['currentLevel'],'loadLevel':null===(I=this['hls'])||void 0x0===I?void 0x0:I['loadLevel'],'nextLoadLevel':null===(J=this['hls'])||void 0x0===J?void 0x0:J['nextLoadLevel'],'levels':null===(L=null===(K=this['hls'])||void 0x0===K?void 0x0:K['levels'])||void 0x0===L?void 0x0:L['length']}};if(E['fatal']){let P;P=(null===(M=E['response'])||void 0x0===M?void 0x0:M['code'])?(0x0,z['httpStatusToErrorCode'])(E['response']['code']):(0x0,z['hlsErrorToVideoErrorCode'])(E['type'],E['details']);const Q=(0x0,z['createVideoError'])(P,'HLS\x20'+E['type']+':\x20'+E['details'],{'httpStatus':null===(N=E['response'])||void 0x0===N?void 0x0:N['code'],'fatal':!0x0,'context':{'hlsErrorType':E['type'],'hlsErrorDetails':E['details']}});switch(this['video']['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['ERROR'],{'detail':Q,'bubbles':!0x0,'composed':!0x0})),E['type']){case'networkError':p['LoggerService']['log'](y['LogLevel']['ERROR'],'HLS_NETWORK_ERROR_RECOVERY','Attempting\x20network\x20error\x20recovery',Object['assign'](Object['assign']({},O),{'recoveryType':'network'})),this['handleNetworkError']();break;case'mediaError':p['LoggerService']['log'](y['LogLevel']['ERROR'],'HLS_MEDIA_ERROR_RECOVERY','Attempting\x20media\x20error\x20recovery',Object['assign'](Object['assign']({},O),{'recoveryType':'media'})),this['handleMediaError']();break;default:p['LoggerService']['log'](y['LogLevel']['ERROR'],'HLS_UNKNOWN_ERROR_RECOVERY','Attempting\x20default\x20error\x20recovery',Object['assign'](Object['assign']({},O),{'recoveryType':'default'})),this['handleMediaError']();}}else switch(E['details']){case'fragLoadError':p['LoggerService']['log'](y['LogLevel']['WARN'],'HLS_FRAGMENT_LOAD_ERROR','Fragment\x20load\x20error\x20(non-fatal)',O);break;case'fragLoadTimeOut':p['LoggerService']['log'](y['LogLevel']['WARN'],'HLS_FRAGMENT_TIMEOUT','Fragment\x20load\x20timeout\x20(non-fatal)',O);break;case'bufferNudgeOnStall':if(p['LoggerService']['log'](y['LogLevel']['WARN'],'HLS_BUFFER_STALL','Buffer\x20stall\x20detected,\x20nudging\x20playback',O),this['onLoadingState'](),this['isSlowConnection']())return;this['nudgePlayback']();break;case'bufferStalledError':p['LoggerService']['log'](y['LogLevel']['WARN'],'HLS_BUFFER_STALLED_ERROR','Buffer\x20stalled\x20error',O),this['onLoadingState']();break;case'bufferAppendError':p['LoggerService']['log'](y['LogLevel']['WARN'],'HLS_BUFFER_APPEND_ERROR','Buffer\x20append\x20error',O);break;default:p['LoggerService']['log'](y['LogLevel']['WARN'],'HLS_NON_FATAL_ERROR','Non-fatal\x20HLS\x20error:\x20'+E['details'],O);}}['handlePlaying'](){this['hideLoader']();}['handleLevelSwitched'](D,E){this['hls']&&this['hls']['levels']&&E['level']>=0x0&&this['hls']['levels'][E['level']]&&x['HLSQualityManager']['remember'](E['level']);}['handleNativeError'](D){this['handleNetworkError']();const E=(0x0,z['createVideoError'])(z['VideoErrorCode']['NETWORK_ERROR'],'Native\x20HLS\x20playback\x20error',{'fatal':!0x0,'originalError':D,'context':{'offline':!navigator['onLine']}});this['video']['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['ERROR'],{'detail':E,'bubbles':!0x0,'composed':!0x0}));}['handleLoadedMetadata'](){this['hideLoader']();}['getBufferProgress'](){if(0x0===this['video']['duration'])return 0x0;const {buffered:D,currentTime:E,duration:F}=this['video'];for(let G=0x0;G<D['length'];G++)if(D['start'](G)<=E&&D['end'](G)>=E)return D['end'](G)/F*0x64;return 0x0;}['showLoader'](){this['video']['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['LOADER_DISPLAY'],{'bubbles':!0x0,'composed':!0x0}));}['hideLoader'](){this['video']['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['LOADER_HIDE'],{'bubbles':!0x0,'composed':!0x0}));}['nudgePlayback'](){var D;const E=this['video']['currentTime'];null===(D=this['hls'])||void 0x0===D||D['recoverMediaError'](),setTimeout(()=>{const F=E+0.1;this['video']['currentTime']=F,this['video']['play']();},0xfa);}['handleNetworkError'](){if(navigator['onLine']){if(this['retryCount']<this['maxRetries']){this['retryCount']++;const D=0x3e8*Math['pow'](0x2,this['retryCount']);setTimeout(()=>{this['hls']&&'function'==typeof this['hls']['startLoad']?this['hls']['startLoad']():this['recoverNativeHls']();},D);}else this['reloadStream'](),this['retryCount']=0x0;}else window['addEventListener']('online',this['handleOnlineNetworkRecovery'],{'once':!0x0}),this['onLoadingState']();}['handleMediaError'](){var D,E;if(this['lastTime']=this['video']['currentTime'],'undefined'!=typeof Hls&&Hls['isSupported']()&&this['hls'])null===(E=(D=this['hls'])['recoverMediaError'])||void 0x0===E||E['call'](D),setTimeout(()=>{this['video']['currentTime']=this['lastTime'],this['video']['play']()['catch'](F=>{const G=(0x0,z['createVideoError'])(z['VideoErrorCode']['MEDIA_DECODE_ERROR'],'Play\x20failed\x20after\x20media\x20error\x20recovery',{'fatal':!0x1,'originalError':F,'context':{'recoveryAttempt':'mediaErrorRecovery'}});z['VideoErrorManager']['getInstance']()['handleError'](G),this['reloadStream']();});},0x1f4);else{if(this['video']['canPlayType']('application/vnd.apple.mpegurl'))this['reloadStream'](),setTimeout(()=>{this['video']['play']()['catch'](F=>{const G=(0x0,z['createVideoError'])(z['VideoErrorCode']['MEDIA_DECODE_ERROR'],'Play\x20failed\x20after\x20native\x20HLS\x20reload',{'fatal':!0x1,'originalError':F,'context':{'recoveryAttempt':'nativeHLSReload'}});z['VideoErrorManager']['getInstance']()['handleError'](G);});},0x3e8);else{const F=(0x0,z['createVideoError'])(z['VideoErrorCode']['HLS_NOT_SUPPORTED'],'Media\x20error:\x20HLS\x20is\x20not\x20supported\x20in\x20this\x20browser',{'fatal':!0x0,'context':{'stage':'mediaErrorRecovery'}});z['VideoErrorManager']['getInstance']()['handleError'](F);}}}['recoverNativeHls'](){const D=this['video']['getAttribute']('data-original-src')||this['video']['src'],E=this['video']['currentTime'];this['video']['pause'](),this['video']['removeAttribute']('src'),this['video']['load'](),setTimeout(()=>{this['video']['src']=D,this['video']['currentTime']=E,this['video']['load'](),this['video']['play']();},0x64);}['reloadStream'](){if(this['retryCount']=0x0,'undefined'!=typeof Hls&&Hls['isSupported']()&&this['hls']){const D=this['video']['getAttribute']('data-original-src')||this['video']['src'];this['hls']['detachMedia'](),this['hls']['attachMedia'](this['video']),this['hls']['loadSource'](D),this['hls']['startLoad']();}else{if(this['video']['canPlayType']('application/vnd.apple.mpegurl')){const E=this['video']['getAttribute']('data-original-src')||this['video']['src'],F=this['video']['currentTime'];this['video']['pause'](),this['video']['removeAttribute']('src'),this['video']['load'](),setTimeout(()=>{this['video']['src']=E,this['video']['currentTime']=F,this['video']['load']();},0x64);}}}['reloadWithNewSource'](D){return k(this,arguments,void 0x0,function*(E,F=0x0,G=0x0){var H,I,J,K,L,M;if(this['initialBitrateBps']=0x3e8*F,this['lastTime']=G,this['video']['setAttribute']('data-original-src',E),'undefined'!=typeof Hls&&Hls['isSupported']()&&this['hls'])null===(I=(H=this['hls'])['stopLoad'])||void 0x0===I||I['call'](H),null===(K=(J=this['hls'])['detachMedia'])||void 0x0===K||K['call'](J),this['hls']['loadSource'](E),null===(M=(L=this['hls'])['attachMedia'])||void 0x0===M||M['call'](L,this['video']),G>0x0&&(this['video']['currentTime']=G);else{if(!this['video']['canPlayType']('application/vnd.apple.mpegurl'))throw new Error('HLS\x20not\x20supported');this['video']['pause'](),this['video']['src']=E,this['video']['currentTime']=G,this['video']['load']();}});}}g['BaseHLSStrategy']=C;},0x14e2:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(D,E,F,G){return new(F||(F=Promise))(function(H,I){function J(M){try{L(G['next'](M));}catch(N){I(N);}}function K(M){try{L(G['throw'](M));}catch(N){I(N);}}function L(M){var N;M['done']?H(M['value']):(N=M['value'],N instanceof F?N:new F(function(O){O(N);}))['then'](J,K);}L((G=G['apply'](D,E||[]))['next']());});},m=this&&this['__importDefault']||function(D){return D&&D['__esModule']?D:{'default':D};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazePlayerMenu']=g['PLAYER_MENU_ATTRIBUTES']=g['PLAYER_MENU_EVENTS']=void 0x0;const p=m(j(0xad8)),q=j(0x1133),w=j(0x22d9),x=j(0x132a),y=j(0x2432),z=j(0x115),A=j(0x20bd),B=j(0x1932);g['PLAYER_MENU_EVENTS']={'OPEN':'player-menu-open','CLOSE':'player-menu-close','EXPAND':'player-menu-expand','COLLAPSE':'player-menu-collapse'},g['PLAYER_MENU_ATTRIBUTES']={'OPEN':'open','EXPANDED':'expanded'};class C extends q['BaseWidget']{constructor(){super(),this['header']=w['WidgetsFactory']['create']('blaze-div'),this['expander']=w['WidgetsFactory']['create']('blaze-div'),this['backdropContainer']=w['WidgetsFactory']['create']('blaze-div'),this['titleElement']=w['WidgetsFactory']['create']('blaze-typography'),this['closeButton']=w['WidgetsFactory']['create']('blaze-button'),this['menuContainer']=w['WidgetsFactory']['create']('blaze-div'),this['boundPreventScrollBubbling']=this['preventScrollBubbling']['bind'](this),this['boundOnKeyDown']=this['onKeyDown']['bind'](this),this['attachShadow']({'mode':'open'});}['connectedCallback'](){this['append'](this['backdropContainer']),this['append'](this['menuContainer']),this['setupEventListeners']();}['disconnectedCallback'](){var D;null===(D=this['detachTouchEventListeners'])||void 0x0===D||D['call'](this),this['detachEventListeners']();}['setAttribute'](D,E){super['setAttribute'](D,E);}['setupEventListeners'](){this['addEventListener'](g['PLAYER_MENU_EVENTS']['OPEN'],this['onOpenChange']),this['addEventListener'](g['PLAYER_MENU_EVENTS']['CLOSE'],this['onOpenChange']),this['addEventListener'](g['PLAYER_MENU_EVENTS']['EXPAND'],this['onExpandedChange']),this['addEventListener'](g['PLAYER_MENU_EVENTS']['COLLAPSE'],this['onExpandedChange']),this['menuContainer']['addEventListener']('wheel',this['boundPreventScrollBubbling'],{'passive':!0x1}),this['menuContainer']['addEventListener']('touchmove',this['boundPreventScrollBubbling'],{'passive':!0x1}),this['menuContainer']['addEventListener']('keydown',this['boundOnKeyDown']);}['detachEventListeners'](){this['removeEventListener'](g['PLAYER_MENU_EVENTS']['OPEN'],this['onOpenChange']),this['removeEventListener'](g['PLAYER_MENU_EVENTS']['CLOSE'],this['onOpenChange']),this['removeEventListener'](g['PLAYER_MENU_EVENTS']['EXPAND'],this['onExpandedChange']),this['removeEventListener'](g['PLAYER_MENU_EVENTS']['COLLAPSE'],this['onExpandedChange']),this['menuContainer']['removeEventListener']('wheel',this['boundPreventScrollBubbling']),this['menuContainer']['removeEventListener']('touchmove',this['boundPreventScrollBubbling']),this['menuContainer']['removeEventListener']('keydown',this['boundOnKeyDown']);}['onKeyDown'](D){if('true'===this['getAttribute'](g['PLAYER_MENU_ATTRIBUTES']['OPEN']))switch(D['key']){case'ArrowDown':D['preventDefault'](),this['focusNextOption'](0x1);break;case'ArrowUp':D['preventDefault'](),this['focusNextOption'](-0x1);}}['focusNextOption'](D){var E,F,G;const H=null===(E=this['menuComponent'])||void 0x0===E?void 0x0:E['querySelectorAll']('[tabindex=\x220\x22]');if(!H||0x0===H['length'])return;const I=null===(F=this['menuComponent'])||void 0x0===F?void 0x0:F['querySelector'](':focus'),J=Array['from'](H);let K=(I?J['indexOf'](I):-0x1)+D;K<0x0&&(K=J['length']-0x1),K>=J['length']&&(K=0x0),null===(G=J[K])||void 0x0===G||G['focus']();}['focusFirstOption'](){requestAnimationFrame(()=>{var D;const E=null===(D=this['menuComponent'])||void 0x0===D?void 0x0:D['querySelector']('[tabindex=\x220\x22]');null==E||E['focus']();});}['preventScrollBubbling'](D){D['stopPropagation']();}['init'](D){const {component:E,title:F}=D;this['menuOptions']=D,this['menuComponent']=E,this['titleElement']['innerText']=F,this['setAttribute'](g['PLAYER_MENU_ATTRIBUTES']['OPEN'],'false'),this['setAttribute'](g['PLAYER_MENU_ATTRIBUTES']['EXPANDED'],'false'),this['onclick']=G=>{G['stopPropagation']();},this['buildHeader'](),this['buildBackdrop'](),this['buildModal']();}['buildHeader'](){if(this['expander']['setStyle']({'width':'9.5%','height':'4px','backgroundColor':'#404040','borderRadius':'1rem','margin':'0.5rem\x20auto\x200.8125rem\x20auto','display':q['deviceDetector']['isMobile']?'flex':'none'}),this['titleElement']['setStyle']({'fontFamily':x['Presets']['playerFont'],'color':q['deviceDetector']['isMobile']?x['Colors']['White']:'#bababa','fontSize':q['deviceDetector']['isMobile']?'1rem':'0.75rem','fontWeight':q['deviceDetector']['isMobile']?'600':'400'}),this['header']['setStyle']({'width':'100%','position':'relative','display':'flex','flexDirection':'column','justifyContent':q['deviceDetector']['isMobile']?'flex-start':'center','alignItems':q['deviceDetector']['isMobile']?'center':'flex-start','height':(q['deviceDetector']['isMobile']?0x48:0x38)+'px','padding':'0\x201rem','boxSizing':'border-box'}),this['closeButton']['setStyle']({'position':'absolute','right':'1.5rem','top':'1.5rem','cursor':'pointer','display':q['deviceDetector']['isMobile']?'block':'none'}),this['closeButton']['setIconUrl'](z['closeIconSvg']),this['closeButton']['setAriaLabel']('Close\x20closed\x20captions\x20menu'),this['closeButton']['setAttribute']('tabindex','0'),this['closeButton']['onclick']=()=>{this['collapse'](),this['close']();},q['deviceDetector']['isMobile']){let D=0x0,E=0x0;const F=I=>{D=I['touches'][0x0]['clientY'];},G=I=>{E=I['touches'][0x0]['clientY'];},H=()=>{const I=D-E;I>0x32?this['expand']():I<-0x32&&this['collapse']();};q['deviceDetector']['isMobile']&&(this['header']['addEventListener']('touchstart',F),this['header']['addEventListener']('touchmove',G),this['header']['addEventListener']('touchend',H),this['detachTouchEventListeners']=()=>{this['header']['removeEventListener']('touchstart',F),this['header']['removeEventListener']('touchmove',G),this['header']['removeEventListener']('touchend',H);});}this['header']['append'](this['closeButton']),this['header']['append'](this['expander']),this['header']['append'](this['titleElement']);}['buildBackdrop'](){this['backdropContainer']['onclick']=this['onBackdropClick']['bind'](this),this['backdropContainer']['setStyle']({'display':'none','position':'absolute','backgroundColor':'#131313','opacity':'.5','top':'0','bottom':'0','left':'0','right':'0','zIndex':B['Z_INDEX']['menuBackdrop'],'borderRadius':'desktop'===q['deviceDetector']['platform']||'tablet'===q['deviceDetector']['platform']?'20px':'0'});}['buildModal'](){var D,E;this['menuContainer']['id']='blaze-player-menu-container';const F=document['createElement']('style');F['textContent']=A['CUSTOM_SCROLLBAR_TEMPLATE'],null===(D=this['shadowRoot'])||void 0x0===D||D['appendChild'](F);const G=document['createElement']('slot');null===(E=this['shadowRoot'])||void 0x0===E||E['appendChild'](G),(0x0,y['mergeStyles'])(this['menuComponent'],{'borderRadius':'0\x200\x20.5rem\x20.5rem','height':'calc(100%\x20-\x20'+(q['deviceDetector']['isDesktop']?0x38:0x48)+'px)'}),this['menuContainer']['setStyle']({'display':'none','position':'absolute','backgroundColor':'#282828','bottom':q['deviceDetector']['isMobile']?'-100%':'auto','top':q['deviceDetector']['isMobile']?'auto':'50%','transform':q['deviceDetector']['isMobile']?'none':'translateY(-50%)','maxWidth':'360px','left':'1rem','right':'1rem','margin':q['deviceDetector']['isMobile']?'4.2rem\x20auto\x201.5rem\x20auto':'0\x20auto','borderRadius':'.5rem','boxShadow':'0\x20-8px\x2010px\x202px\x20rgba(0,\x200,\x200,\x200.35)','zIndex':B['Z_INDEX']['menu']}),this['menuContainer']['append'](this['header']),this['menuContainer']['append'](this['menuComponent']);}['open'](){this['dispatchEvent'](new CustomEvent(g['PLAYER_MENU_EVENTS']['OPEN'],{'bubbles':!0x0,'composed':!0x0,'detail':{'open':!0x0}}));}['close'](){this['dispatchEvent'](new CustomEvent(g['PLAYER_MENU_EVENTS']['CLOSE'],{'bubbles':!0x0,'composed':!0x0,'detail':{'open':!0x1}}));}['expand'](){this['dispatchEvent'](new CustomEvent(g['PLAYER_MENU_EVENTS']['EXPAND'],{'bubbles':!0x0,'composed':!0x0,'detail':{'expanded':!0x0}}));}['collapse'](){this['dispatchEvent'](new CustomEvent(g['PLAYER_MENU_EVENTS']['COLLAPSE'],{'bubbles':!0x0,'composed':!0x0,'detail':{'expanded':!0x1}}));}['onBackdropClick'](){this['close']();}['onOpenChange'](D){return k(this,void 0x0,void 0x0,function*(){D['detail']['open']?(this['setAttribute'](g['PLAYER_MENU_ATTRIBUTES']['OPEN'],'true'),this['backdropContainer']['setStyle']({'display':'block'}),this['menuContainer']['setStyle']({'display':'block'}),q['deviceDetector']['isMobile']&&(yield this['animateMenu'](this['menuOptions'])),this['focusFirstOption']()):(this['setAttribute'](g['PLAYER_MENU_ATTRIBUTES']['OPEN'],'false'),q['deviceDetector']['isMobile']&&(yield this['animateMenu'](this['menuOptions'])),this['backdropContainer']['setStyle']({'display':'none'}),this['menuContainer']['setStyle']({'display':'none'}));});}['onExpandedChange'](D){return k(this,void 0x0,void 0x0,function*(){this['setAttribute'](g['PLAYER_MENU_ATTRIBUTES']['EXPANDED'],D['detail']['expanded']['toString']()),yield this['animateMenu'](this['menuOptions']);});}['animateMenu'](D){return k(this,void 0x0,void 0x0,function*(){return new Promise(E=>{const F=this['querySelector']('#blaze-player-menu-container');if(!F)return;const G=(null==D?void 0x0:D['component']['offsetHeight'])||0x0;let H={'targets':F,'duration':0xc8,'easing':'easeInQuad','complete':()=>E(),'bottom':!0x0===this['getAttribute'](g['PLAYER_MENU_ATTRIBUTES']['OPEN'])?'0':'-100%','height':!0x0===this['getAttribute'](g['PLAYER_MENU_ATTRIBUTES']['EXPANDED'])?window['innerHeight']-0x38+'px':G+0x48+'px'};(0x0,p['default'])(H);});});}}g['BlazePlayerMenu']=C;},0x1529:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x20b2),f),j(g(0x2382),f),j(g(0x19b0),f),j(g(0x1d65),f);},0x156e:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['URLManager']=f['URL_PARAMS']=void 0x0;const j=g(0x1932),k=g(0x11c1),l=g(0x2432);f['URL_PARAMS']={'SESSION_ID':'wsc_session_id','USER_ID':'wsc_user_id','EXCLUDE_CONTENT_ID':'wsc_exclude_content_id'};class m{static['resetLocationAfterContentClose'](){const p=this['getHashMatch'](),q=this['getHash']();if(p){if(q)location['hash']=q;else{const u=''+location['origin']+location['pathname']+location['search'];history['replaceState'](window['history']['state'],document['title'],''+u);}}}static get['shouldModifyUrlWithId'](){return k['ConfigService']['shouldModifyUrlWithStoryId']||k['ConfigService']['shouldModifyUrlWithContentId'];}static['resetLocation'](){if(!this['shouldModifyUrlWithId'])return;const p=''+location['origin']+location['pathname']+location['search'];history['replaceState'](window['history']['state'],document['title'],''+p);}static['updateLocationContentHash'](p){const {contentType:q='',contentId:u='',isAd:v=!0x1,pageId:w}=p;if('SingleContent'===k['VideoPlayerService']['playReference'])return;if(!k['ConfigService']['shouldModifyUrlWithStoryId']||!k['ConfigService']['shouldModifyUrlWithContentId'])return;if(v)return;this['isUpdateLocationByScript']=!0x0;const x=this['getHashMatch'](),y=this['getHash'](),z=u&&q?this['buildContentHash'](q,u,{'pageId':w}):'';z&&u&&!x&&q?this['updateContentInHash'](z):!u&&x?y?location['hash']=y:this['resetLocation']():z&&u&&x&&q&&(location['hash']=(null==y?void 0x0:y['length'])>0x1?y+'&'+z:z),this['isUpdateLocationByScript']=!0x1;}static['buildContentHash'](p,q,u){if(!p||!q)return'';const {pageId:v}=u||{};return'story'===p?'blaze/'+p+'/'+q+(v?'/page/'+v:''):'blaze/'+p+'/'+q;}static['getHashMatch'](){return l['RegexStoryHash']['test'](document['location']['hash'])||l['RegexMomentHash']['test'](document['location']['hash'])||l['RegexVideoHash']['test'](document['location']['hash']);}static['getHash'](){return document['location']['hash']['replace'](l['RegexStoryHash'],'')['replace'](l['RegexMomentHash'],'')['replace'](l['RegexVideoHash'],'');}static['updateContentInHash'](p){p&&(location['hash']=location['hash']?location['hash']+'&'+p:p);}static['buildShareUrl'](p,q,u){const v=this['buildContentHash'](p,q,{'pageId':u});if(!v)return window['location']['href'];const w=new URL(window['location']['href']),x=w['hash']['replace'](l['RegexStoryHash'],'')['replace'](l['RegexMomentHash'],'')['replace'](l['RegexVideoHash'],'')['replace'](/^#/,'');return w['hash']=x?x+'&'+v:v,w['toString']();}static['appendUrlForPrefetch'](p,q=j['ONE_SECOND']){p&&(document['head']['querySelector']('link[rel=\x22prefetch\x22][href=\x22'+p+'\x22]')||setTimeout(()=>{const u=document['createElement']('link');u['rel']='prefetch',u['href']=p,document['head']['appendChild'](u);},q));}static['navigateToLink'](p){window['location']['href']=p;}static['removeUrlParamFromSearchParams'](p,q){return q['delete'](p),q;}static['removeStringParamsFromCurrentUrl'](p){const q=new URL(window['location']['href']),u=new URLSearchParams(q['search']);'string'==typeof p?u['delete'](p):p['forEach'](v=>u['delete'](v)),q['search']=u['toString'](),window['history']['replaceState'](window['history']['state'],'',q['toString']());}static['updateParamInUrl'](p,q){if(window['location']['search']['includes'](p)){const u=new URLSearchParams(window['location']['search']);u['set'](p,q),this['updateCurrentUrlWithParams'](u);}}static['updateCurrentUrlWithParams'](p){window['history']['replaceState'](window['history']['state'],'',window['location']['href']['split']('?')[0x0]+'?'+p['toString']());}static['navigateTo'](p){return h(this,void 0x0,void 0x0,function*(){if('AUTO_ADVANCE'===p){const q=new URLSearchParams({[f['URL_PARAMS']['SESSION_ID']]:k['UserService']['sessionId'],[f['URL_PARAMS']['USER_ID']]:k['UserService']['userId'],[f['URL_PARAMS']['EXCLUDE_CONTENT_ID']]:k['VideoPlayerService']['currentlyPlayedContentId']});if(!k['ConfigService']['autoAdvanceUrl'])return;const u=new URL(k['ConfigService']['autoAdvanceUrl']);u['search']=q['toString']();const v=u['toString']();k['ConfigService']['staticContentType']&&q['delete'](f['URL_PARAMS']['EXCLUDE_CONTENT_ID']),this['updateCurrentUrlWithParams'](q),this['navigateToLink'](v);}});}}f['URLManager']=m,m['isUpdateLocationByScript']=!0x1,m['isBackWasCalled']=!0x1,m['isAutoAdvancingEnabled']=!0x1;},0x1577:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['FollowingsManager']=void 0x0;class g{static['isFollowing'](h){return this['followedEntities']['has'](h);}static['initialize'](h){this['followedEntities']=new Set(h);}static['follow'](h){this['followedEntities']['add'](h);}static['unfollow'](h){this['followedEntities']['delete'](h);}}f['FollowingsManager']=g,g['followedEntities']=new Set();},0x15a2:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetVideoBase']=void 0x0;class g extends HTMLElement{constructor(){super(),this['_lastProgress']=0x0;}['setData'](h){this['data']=h;}['loadPoster'](){throw new Error('Method\x20not\x20implemented.');}['play'](){throw new Error('unimplemented');}['restartVideo'](){this['currentTime']=0x0,this['paused']&&(this['load']('direct'),this['play']());}['pause'](){throw new Error('unimplemented');}get['paused'](){throw new Error('unimplemented');}get['currentTime'](){throw new Error('unimplemented');}set['currentTime'](h){throw new Error('unimplemented');}get['muted'](){throw new Error('unimplemented');}get['isAd'](){return this['_isAd'];}set['isAd'](h){this['_isAd']=h;}['removeLoader'](){throw new Error('Method\x20not\x20implemented.');}['load'](h){}['unload'](){}['display'](h){}['hide'](){}set['muted'](h){throw new Error('unimplemented');}get['duration'](){throw new Error('unimplemented');}get['progress'](){let h=0x0;const j=this['duration'],k=this['currentTime'];return h=j&&k?k/j:NaN,Number['isFinite'](h)&&!Number['isNaN'](h)?(h>0x1?h=0x1:h<0x0&&(h=0x0),this['_lastProgress']=h,h):this['_lastProgress']||0x0;}['mainElement'](){throw new Error('unimplemented');}['requestFrameCallback'](h){throw new Error('unimplemented');}['connectedCallback'](){throw new Error('unimplemented');}['disconnectedCallback'](){throw new Error('unimplemented');}['render'](){throw new Error('unimplemented');}['startEnter'](){}['endEnter'](){}['endExit'](){}}f['BlazeWidgetVideoBase']=g;},0x15b2:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['UserActivitySynchronizer']=void 0x0;const j=g(0x1133),k=g(0x23bc),m=g(0x11c1),p={'activitySyncTimeIntervalInSeconds':0x78,'activitySyncMinAllowedBatchSize':0x1,'activitySyncMaxAllowedBatchSize':0x64};class q extends(0x0,j['Singleton'])(){constructor(){super(...arguments),this['_isEnabled']=!0x0,this['_isSyncing']=!0x1,this['postTimer']=null,this['config']=Object['assign']({},p),this['fetchUnsubscribe']=null,this['visibilityChangeHandler']=null;}get['isEnabled'](){return this['_isEnabled']&&!m['ConfigService']['disableUserActivity']&&this['isFeatureFlagEnabled']();}['init'](){return h(this,void 0x0,void 0x0,function*(){this['loadConfiguration'](),m['UserService']['getPendingUserClear']()&&(yield m['DatabaseService']['clearAllUserData'](),m['UserService']['clearPendingUserClear']()),m['ConfigService']['externalUserId']&&this['startSync']();});}['startSync'](){m['ConfigService']['externalUserId']&&(this['subscribeToFetchManager'](),this['subscribeToVisibilityChanges'](),this['isEnabled']&&this['startPostTimer']());}['stopSync'](){this['unsubscribeFromFetchManager'](),this['unsubscribeFromVisibilityChanges'](),this['stopPostTimer']();}['forceSync'](){return h(this,void 0x0,void 0x0,function*(){this['isEnabled']&&m['ConfigService']['externalUserId']&&(yield this['sendUnsyncedActivities'](!0x0));});}['flushUnsyncedActivities'](){return h(this,void 0x0,void 0x0,function*(){if(!m['ConfigService']['externalUserId'])return!0x0;let u=0x0;for(;u<0xa;){const v=yield m['DatabaseService']['getUnsyncedActivities']();if(0x0===v['length'])return!0x0;const w=this['sliceBatchPerType'](v,0x3e8);if(0x0===w['length'])return!0x0;const {error:x}=yield m['ApiService']['postUserActivities'](w);if(x)return!0x1;yield m['DatabaseService']['markActivitiesAsSynced'](w),u++;}return!0x1;});}['queueViewActivity'](u){return h(this,void 0x0,void 0x0,function*(){if('video_view'===u['activityType']){const v=yield m['DatabaseService']['getUserActivity'](u['id']);if((null==v?void 0x0:v['data'])&&v['data']['isRemoteSynced']&&'video_view'===v['data']['activityType']&&v['data']['lastReadPoint']>=u['lastReadPoint']&&(v['data']['isFullyRead']||!u['isFullyRead']))return;}yield m['DatabaseService']['saveUserActivity'](Object['assign'](Object['assign']({},u),{'isRemoteSynced':!0x1}));});}['saveEngagementActivity'](u){return h(this,void 0x0,void 0x0,function*(){yield m['DatabaseService']['saveUserActivity'](Object['assign'](Object['assign']({},u),{'isRemoteSynced':!0x1}));});}['prepareUserChange'](u,v){return h(this,void 0x0,void 0x0,function*(){u!==v&&(this['stopSync'](),u)&&(yield this['flushUnsyncedActivities'](),yield m['DatabaseService']['clearAllUserData']());});}['completeUserChange'](u){return h(this,void 0x0,void 0x0,function*(){m['UserActivityFetchManager']['reset'](),u&&m['ConfigService']['externalUserId']&&(yield m['UserActivityFetchManager']['forceFetch'](),this['startSync']());});}['setEnabled'](u){this['_isEnabled']=u,u?m['ConfigService']['externalUserId']&&(this['subscribeToFetchManager'](),this['startPostTimer']()):this['stopPostTimer']();}['clearLocalUserActivity'](){return h(this,void 0x0,void 0x0,function*(){yield m['DatabaseService']['clearAllUserData']();});}['destroy'](){this['stopSync']();}['loadConfiguration'](){var u;const v=null===(u=m['AppConfigurationService']['appConfigurations'])||void 0x0===u?void 0x0:u['configurations'];this['config']={'activitySyncTimeIntervalInSeconds':Number(null==v?void 0x0:v['activitySyncTimeIntervalInSeconds'])||p['activitySyncTimeIntervalInSeconds'],'activitySyncMinAllowedBatchSize':Number(null==v?void 0x0:v['activitySyncMinAllowedBatchSize'])||p['activitySyncMinAllowedBatchSize'],'activitySyncMaxAllowedBatchSize':Number(null==v?void 0x0:v['activitySyncMaxAllowedBatchSize'])||p['activitySyncMaxAllowedBatchSize']};}['isFeatureFlagEnabled'](){var u,v;return'false'!==(null===(v=null===(u=m['AppConfigurationService']['appConfigurations'])||void 0x0===u?void 0x0:u['configurations'])||void 0x0===v?void 0x0:v['allowActivitySync']);}['subscribeToFetchManager'](){this['fetchUnsubscribe']||(this['fetchUnsubscribe']=m['UserActivityFetchManager']['subscribe'](u=>this['handleFetchData'](u)));}['unsubscribeFromFetchManager'](){this['fetchUnsubscribe']&&(this['fetchUnsubscribe'](),this['fetchUnsubscribe']=null);}['subscribeToVisibilityChanges'](){this['visibilityChangeHandler']||(this['visibilityChangeHandler']=()=>{document['hidden']&&this['isEnabled']&&m['ConfigService']['externalUserId']&&this['forceSync']();},document['addEventListener']('visibilitychange',this['visibilityChangeHandler']));}['unsubscribeFromVisibilityChanges'](){this['visibilityChangeHandler']&&(document['removeEventListener']('visibilitychange',this['visibilityChangeHandler']),this['visibilityChangeHandler']=null);}['handleFetchData'](u){return h(this,void 0x0,void 0x0,function*(){var v,w,x,y,z,A;if(m['ConfigService']['externalUserId']&&((null===(v=u['viewedMoments'])||void 0x0===v?void 0x0:v['length'])||(null===(w=u['viewedVideos'])||void 0x0===w?void 0x0:w['length'])||(null===(x=u['viewedStoryPages'])||void 0x0===x?void 0x0:x['length'])||(null===(y=u['likedMoments'])||void 0x0===y?void 0x0:y['length'])||(null===(z=u['likedVideos'])||void 0x0===z?void 0x0:z['length'])||(null===(A=u['interactionResponses'])||void 0x0===A?void 0x0:A['length'])))try{yield this['reconcileLikes'](u);const B=this['transformResponseToActivities'](u);yield m['DatabaseService']['upsertActivitiesFromRemote'](B),yield Promise['all']([this['syncStoryPageViews'](u),this['syncVideoPositions'](u),this['syncMomentLikes'](u),this['syncVideoLikes'](u),this['syncInteractions'](u)]),this['emitActivityEventsFromResponse'](u);}catch(C){}});}['startPostTimer'](){this['stopPostTimer']();const u=0x3e8*this['config']['activitySyncTimeIntervalInSeconds'];this['postTimer']=setInterval(()=>h(this,void 0x0,void 0x0,function*(){yield this['sendUnsyncedActivities']();}),u);}['stopPostTimer'](){this['postTimer']&&(clearInterval(this['postTimer']),this['postTimer']=null);}['sendUnsyncedActivities'](){return h(this,arguments,void 0x0,function*(u=!0x1){if(!this['_isSyncing']&&m['ConfigService']['externalUserId'])try{const v=yield m['DatabaseService']['getUnsyncedActivities']();if(0x0===v['length'])return;if(!u&&v['length']<this['config']['activitySyncMinAllowedBatchSize'])return;this['_isSyncing']=!0x0;const w=this['sliceBatchPerType'](v,this['config']['activitySyncMaxAllowedBatchSize']);if(0x0===w['length'])return;const {error:x}=yield m['ApiService']['postUserActivities'](w);if(x)return;yield m['DatabaseService']['markActivitiesAsSynced'](w);}catch(y){}finally{this['_isSyncing']=!0x1;}});}['sliceBatchPerType'](u,v){const w=new Map();for(const y of u){const z=w['get'](y['activityType']);z?z['push'](y):w['set'](y['activityType'],[y]);}const x=[];for(const A of w['values']())x['push'](...A['slice'](0x0,v));return x;}['transformResponseToActivities'](u){const v=[],w=Date['now']();for(const x of u['viewedMoments']||[])v['push']({'id':'moment_view_'+x,'activityType':'moment_view','momentId':x,'timestamp':w,'isRemoteSynced':!0x0});for(const y of u['viewedVideos']||[])v['push']({'id':'video_view_'+y['videoId'],'activityType':'video_view','videoId':y['videoId'],'lastReadPoint':Math['floor'](y['lastReadPoint']),'isFullyRead':y['isFullyRead'],'timestamp':w,'isRemoteSynced':!0x0});for(const z of u['viewedStoryPages']||[])v['push']({'id':'story_page_view_'+z,'activityType':'story_page_view','pageId':z,'timestamp':w,'isRemoteSynced':!0x0});for(const A of u['likedMoments']||[])v['push']({'id':'moment_like_'+A,'activityType':'moment_like','momentId':A,'isLiked':!0x0,'timestamp':w,'isRemoteSynced':!0x0});for(const B of u['likedVideos']||[])v['push']({'id':'video_like_'+B,'activityType':'video_like','videoId':B,'isLiked':!0x0,'timestamp':w,'isRemoteSynced':!0x0});for(const C of u['interactionResponses']||[])v['push']({'id':'interaction_'+C['interactionId'],'activityType':'interaction','interactionId':C['interactionId'],'responseId':C['responseId'],'timestamp':w,'isRemoteSynced':!0x0});return v;}['reconcileLikes'](u){return h(this,void 0x0,void 0x0,function*(){const v=new Set(u['likedMoments']||[]),w=new Set(u['likedVideos']||[]),[x,y]=yield Promise['all']([m['DatabaseService']['getActivitiesByType']('moment_like'),m['DatabaseService']['getActivitiesByType']('video_like')]),z=x['filter'](B=>'moment_like'===B['activityType']&&B['isRemoteSynced']&&!v['has'](B['momentId'])),A=y['filter'](B=>'video_like'===B['activityType']&&B['isRemoteSynced']&&!w['has'](B['videoId']));for(const B of z)try{if('moment_like'!==B['activityType'])continue;yield m['DatabaseService']['deleteUserActivity'](B['id']),yield m['DatabaseService']['updateMomentLike'](B['momentId'],!0x1),m['EventBusService']['publish'](k['USER_ACTIVITY_EVENTS']['MOMENT_LIKE_CHANGED'],{'momentId':B['momentId'],'isLiked':!0x1});}catch(C){}for(const D of A)try{if('video_like'!==D['activityType'])continue;yield m['DatabaseService']['deleteUserActivity'](D['id']),yield m['DatabaseService']['updateVideoData'](D['videoId'],{'liked':!0x1}),m['EventBusService']['publish'](k['USER_ACTIVITY_EVENTS']['VIDEO_LIKE_CHANGED'],{'videoId':D['videoId'],'isLiked':!0x1});}catch(E){}});}['syncStoryPageViews'](u){return h(this,void 0x0,void 0x0,function*(){for(const v of u['viewedStoryPages']||[])try{yield m['DatabaseService']['updatePageViewed'](v);}catch(w){}});}['syncMomentLikes'](u){return h(this,void 0x0,void 0x0,function*(){for(const v of u['likedMoments']||[])try{yield m['DatabaseService']['updateMomentLike'](v,!0x0);}catch(w){}});}['syncVideoLikes'](u){return h(this,void 0x0,void 0x0,function*(){for(const v of u['likedVideos']||[])try{yield m['DatabaseService']['updateVideoData'](v,{'liked':!0x0});}catch(w){}});}['syncInteractions'](u){return h(this,void 0x0,void 0x0,function*(){var v,w;for(const x of u['interactionResponses']||[])try{const y=yield m['DatabaseService']['getInteraction'](x['interactionId']);yield m['DatabaseService']['updateInteraction']({'id':x['interactionId'],'initData':null!==(w=null===(v=null==y?void 0x0:y['data'])||void 0x0===v?void 0x0:v['initData'])&&void 0x0!==w?w:'','userResponse':x['responseId']});}catch(z){}});}['syncVideoPositions'](u){return h(this,void 0x0,void 0x0,function*(){for(const v of u['viewedVideos']||[])try{yield m['DatabaseService']['updateVideoData'](v['videoId'],{'currentTime':Math['floor'](v['lastReadPoint'])});}catch(w){}});}['emitActivityEventsFromResponse'](u){for(const v of u['viewedMoments']||[])m['EventBusService']['publish'](k['USER_ACTIVITY_EVENTS']['MOMENT_VIEW_CHANGED'],{'momentId':v,'hasViewed':!0x0});for(const w of u['viewedVideos']||[])m['EventBusService']['publish'](k['USER_ACTIVITY_EVENTS']['VIDEO_VIEW_CHANGED'],{'videoId':w['videoId'],'hasViewed':w['isFullyRead']});for(const x of u['viewedStoryPages']||[])m['EventBusService']['publish'](k['USER_ACTIVITY_EVENTS']['STORY_PAGE_VIEW_CHANGED'],{'pageId':x,'hasViewed':!0x0});for(const y of u['likedMoments']||[])m['EventBusService']['publish'](k['USER_ACTIVITY_EVENTS']['MOMENT_LIKE_CHANGED'],{'momentId':y,'isLiked':!0x0});for(const z of u['likedVideos']||[])m['EventBusService']['publish'](k['USER_ACTIVITY_EVENTS']['VIDEO_LIKE_CHANGED'],{'videoId':z,'isLiked':!0x0});for(const A of u['interactionResponses']||[])m['EventBusService']['publish'](k['USER_ACTIVITY_EVENTS']['INTERACTION_CHANGED'],{'interactionId':A['interactionId'],'userResponse':A['responseId']});}}f['UserActivitySynchronizer']=q['getInstance']();},0x15be:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x15c5:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['FOLLOW_BUTTON_STATE_CHANGE']=void 0x0,f['FOLLOW_BUTTON_STATE_CHANGE']='follow-button-state-change';},0x1636:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Colors']=void 0x0,f['Colors']={'DarkPrimary':'#0D0F14','DarkSecondary':'#232935','DarkTertiary':'#929CB3','LightPrimary':'#F8F9FB','LightSeconday':'#DFE1E4','Accent':'#5AA3FF','LiveChip':'#FF364E','ReadGray':'#9C9C9C','PlaceholderGray':'#9E9E9E','TimeColor':'#B6B7B8','White':'#FFFFFF','Black':'#000000','Gray':'#B6B7B8','Yellow':'#FFD325','Charcoal':'#4E5053','LightBlue':'#4da6ff'};},0x164d:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StreamStateManager']=void 0x0,f['StreamStateManager']=class{constructor(g,h){var j,k;this['videoData']=g,this['onStateChange']=h,this['currentState']=null,this['currentState']=null!==(k=null===(j=this['videoData']['stream'])||void 0x0===j?void 0x0:j['state'])&&void 0x0!==k?k:null;}['getState'](){return this['currentState'];}['isStream'](){return void 0x0!==this['videoData']['stream']&&null!==this['videoData']['stream'];}['isUpcoming'](){return'Upcoming'===this['currentState'];}['isLive'](){return'Live'===this['currentState'];}['isEnded'](){return'Ended'===this['currentState'];}['updateState'](g){if(!this['isStream']())return;const h=this['currentState'];h!==g&&(this['currentState']=g,this['videoData']['stream']&&(this['videoData']['stream']['state']=g),this['onStateChange']&&this['onStateChange'](h,g));}['setVideoData'](g){var h,j;this['videoData']=g,this['currentState']=null!==(j=null===(h=this['videoData']['stream'])||void 0x0===h?void 0x0:h['state'])&&void 0x0!==j?j:null;}['getStartTime'](){var g;return null===(g=this['videoData']['stream'])||void 0x0===g?void 0x0:g['startTime'];}['getEndTime'](){var g;return null===(g=this['videoData']['stream'])||void 0x0===g?void 0x0:g['endTime'];}['getExternalId'](){var g;return null===(g=this['videoData']['stream'])||void 0x0===g?void 0x0:g['externalId'];}};},0x1699:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x443),f),j(g(0x1457),f),j(g(0x21bf),f),j(g(0x596),f),j(g(0x25e0),f),j(g(0x21e0),f),j(g(0x9c3),f),j(g(0xc5e),f),j(g(0x239a),f),j(g(0x1a00),f),j(g(0x14e2),f);},0x16df:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['DEFAULT_COLOR_ALPHA']=void 0x0,f['hasAlpha']=function(j){const k=j['trim']();return/^rgba\(/i['test'](k)||/^#([0-9a-f]{4}|[0-9a-f]{8})$/i['test'](k);},f['withAlpha']=function(j,k=f['DEFAULT_COLOR_ALPHA']){const l=j['trim']();return null!==g||(g=null!==(p=null===(m=null===CSS||void 0x0===CSS?void 0x0:CSS['supports'])||void 0x0===m?void 0x0:m['call'](CSS,'color','color-mix(in\x20srgb,\x20black,\x20white)'))&&void 0x0!==p&&p),g?'color-mix(in\x20srgb,\x20'+l+'\x20'+0x64*k+'%,\x20transparent)':function(q,u){const v=q+'|'+u,w=h['get'](v);if(void 0x0!==w)return w;const x=function(y,z){if('undefined'==typeof document)return y;const A=document['createElement']('canvas')['getContext']('2d');if(!A)return y;const B='#abcdef';A['fillStyle']=B,A['fillStyle']=y;const C=A['fillStyle'];if(C===B)return y;const D=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i['exec'](C);if(D)return'rgba('+parseInt(D[0x1],0x10)+',\x20'+parseInt(D[0x2],0x10)+',\x20'+parseInt(D[0x3],0x10)+',\x20'+z+')';const E=/^rgba?\(\s*(\d+),\s*(\d+),\s*(\d+)/i['exec'](C);return E?'rgba('+E[0x1]+',\x20'+E[0x2]+',\x20'+E[0x3]+',\x20'+z+')':y;}(q,u);return h['set'](v,x),x;}(l,k);var m,p;},f['DEFAULT_COLOR_ALPHA']=0.4;let g=null;const h=new Map();},0x1700:(d,f)=>{'use strict';var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoErrorCode']=void 0x0,f['createVideoError']=function(h,j,k){var l;return{'code':h,'message':j,'url':null==k?void 0x0:k['url'],'httpStatus':null==k?void 0x0:k['httpStatus'],'fatal':null===(l=null==k?void 0x0:k['fatal'])||void 0x0===l||l,'originalError':null==k?void 0x0:k['originalError'],'context':null==k?void 0x0:k['context']};},f['httpStatusToErrorCode']=function(h){return 0x194===h?g['SOURCE_NOT_FOUND']:0x193===h?g['SOURCE_FORBIDDEN']:0x191===h?g['SOURCE_UNAUTHORIZED']:h>=0x1f4?g['SERVER_ERROR']:g['NETWORK_ERROR'];},f['hlsErrorToVideoErrorCode']=function(h,j){return'networkError'===h?(null==j?void 0x0:j['includes']('manifestLoadError'))?g['SOURCE_NOT_FOUND']:(null==j?void 0x0:j['includes']('manifestParsingError'))?g['MANIFEST_PARSE_ERROR']:(null==j?void 0x0:j['includes']('fragLoadError'))?g['FRAGMENT_LOAD_ERROR']:g['NETWORK_ERROR']:'mediaError'===h?(null==j?void 0x0:j['includes']('manifestIncompatibleCodecsError'))?g['CODEC_NOT_SUPPORTED']:g['MEDIA_DECODE_ERROR']:g['UNKNOWN_ERROR'];},function(h){h['NETWORK_ERROR']='NETWORK_ERROR',h['SOURCE_NOT_FOUND']='SOURCE_NOT_FOUND',h['SOURCE_FORBIDDEN']='SOURCE_FORBIDDEN',h['SOURCE_UNAUTHORIZED']='SOURCE_UNAUTHORIZED',h['SERVER_ERROR']='SERVER_ERROR',h['HLS_NOT_SUPPORTED']='HLS_NOT_SUPPORTED',h['CODEC_NOT_SUPPORTED']='CODEC_NOT_SUPPORTED',h['MEDIA_DECODE_ERROR']='MEDIA_DECODE_ERROR',h['MANIFEST_PARSE_ERROR']='MANIFEST_PARSE_ERROR',h['FRAGMENT_LOAD_ERROR']='FRAGMENT_LOAD_ERROR',h['UNKNOWN_ERROR']='UNKNOWN_ERROR';}(g||(f['VideoErrorCode']=g={}));},0x1703:d=>{var f={'':!0x0,'up':!0x0};function g(h){return'number'==typeof h&&h>=0x0&&h<=0x64;}d['exports']=function(){var h=0x64,j=0x3,k=0x0,m=0x64,p=0x0,q=0x64,u='';Object['defineProperties'](this,{'width':{'enumerable':!0x0,'get':function(){return h;},'set':function(v){if(!g(v))throw new Error('Width\x20must\x20be\x20between\x200\x20and\x20100.');h=v;}},'lines':{'enumerable':!0x0,'get':function(){return j;},'set':function(v){if('number'!=typeof v)throw new TypeError('Lines\x20must\x20be\x20set\x20to\x20a\x20number.');j=v;}},'regionAnchorY':{'enumerable':!0x0,'get':function(){return m;},'set':function(v){if(!g(v))throw new Error('RegionAnchorX\x20must\x20be\x20between\x200\x20and\x20100.');m=v;}},'regionAnchorX':{'enumerable':!0x0,'get':function(){return k;},'set':function(v){if(!g(v))throw new Error('RegionAnchorY\x20must\x20be\x20between\x200\x20and\x20100.');k=v;}},'viewportAnchorY':{'enumerable':!0x0,'get':function(){return q;},'set':function(v){if(!g(v))throw new Error('ViewportAnchorY\x20must\x20be\x20between\x200\x20and\x20100.');q=v;}},'viewportAnchorX':{'enumerable':!0x0,'get':function(){return p;},'set':function(v){if(!g(v))throw new Error('ViewportAnchorX\x20must\x20be\x20between\x200\x20and\x20100.');p=v;}},'scroll':{'enumerable':!0x0,'get':function(){return u;},'set':function(v){var w=function(x){return'string'==typeof x&&!!f[x['toLowerCase']()]&&x['toLowerCase']();}(v);!0x1===w||(u=w);}}});};},0x1723:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(k,l,m,p){return new(m||(m=Promise))(function(q,u){function v(y){try{x(p['next'](y));}catch(z){u(z);}}function w(y){try{x(p['throw'](y));}catch(z){u(z);}}function x(y){var z;y['done']?q(y['value']):(z=y['value'],z instanceof m?z:new m(function(A){A(z);}))['then'](v,w);}x((p=p['apply'](k,l||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['throttle']=function(k,l){let m=!0x1;return function(...p){return h(this,void 0x0,void 0x0,function*(){m||(k(...p),m=!0x0,yield(0x0,j['delay'])(l),m=!0x1);});};};const j=g(0x2432);},0x1725:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1729:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Stopwatch']=void 0x0,f['Stopwatch']=class{constructor(){this['isRunning']=!0x1,this['extraTime']=0x0,this['startTime']=0x0;}['start'](){this['isRunning']||(this['isRunning']=!0x0,this['startTime']=Date['now']());}['pause'](){this['isRunning']&&(this['isRunning']=!0x1,this['extraTime']+=Date['now']()-this['startTime']);}['durationMS'](){return this['isRunning']?Date['now']()-this['startTime']+this['extraTime']:this['extraTime'];}['reset'](){this['isRunning']=!0x1,this['extraTime']=0x0,this['startTime']=0x0;}};},0x1737:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(D,E,F,G){return new(F||(F=Promise))(function(H,I){function J(M){try{L(G['next'](M));}catch(N){I(N);}}function K(M){try{L(G['throw'](M));}catch(N){I(N);}}function L(M){var N;M['done']?H(M['value']):(N=M['value'],N instanceof F?N:new F(function(O){O(N);}))['then'](J,K);}L((G=G['apply'](D,E||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['UserService']=void 0x0;const m=j(0x11c1),p=j(0x1133),q=j(0x26ed),w=j(0x2432),x=j(0x1932),y='accessToken',z='refreshToken',A='userId',B='externalId';class C extends(0x0,p['Singleton'])(){constructor(){super(),this['_userId']='',this['_sessionId']='',this['_abTest']=null,this['_pendingUserClear']=null,m['EventBusService']['subscribe']('BlazeDatabaseServiceOpen',this['onBlazeDatabaseServiceOpen']['bind'](this)),m['EventBusService']['subscribe']('BlazeDatabaseServiceFailed',this['onBlazeDatabaseServiceFailed']['bind'](this));}get['userId'](){return this['_userId'];}get['sessionId'](){return this['_sessionId'];}get['abTest'](){return this['_abTest'];}set['abTest'](D){this['_abTest']=D;}['init'](){return k(this,void 0x0,void 0x0,function*(){this['_sessionId']=(0x0,w['getRandomId'])(),m['ConfigService']['shouldCreateUser']&&(yield this['makeSureCurrentExternalUserTokenExists']());const D=new URLSearchParams(window['location']['search'])['get'](p['URL_PARAMS']['SESSION_ID']);D&&(this['_sessionId']=D,p['URLManager']['removeStringParamsFromCurrentUrl'](p['URL_PARAMS']['SESSION_ID']));});}['assignUserId'](){return k(this,void 0x0,void 0x0,function*(){this['_userId']=yield this['getUserId']();});}['onBlazeDatabaseServiceOpen'](){return k(this,void 0x0,void 0x0,function*(){try{yield this['assignUserId']();}catch(D){}});}['onBlazeDatabaseServiceFailed'](){this['_userId']||(this['_userId']=(0x0,w['getRandomId'])());}['getUserId'](){return k(this,void 0x0,void 0x0,function*(){if(this['userId'])return this['userId'];let D=yield this['fetchUserIdFromDatabase']();return D||(D=yield this['handleMissingUserId']()),yield m['DatabaseService']['updateUserId'](D),p['URLManager']['removeStringParamsFromCurrentUrl'](p['URL_PARAMS']['USER_ID']),D;});}['fetchUserIdFromDatabase'](){return k(this,void 0x0,void 0x0,function*(){try{const D=(yield m['DatabaseService']['getUserId']())['data'];return D?D['value']:null;}catch(E){return null;}});}['handleMissingUserId'](){return k(this,void 0x0,void 0x0,function*(){return new URLSearchParams(window['location']['search'])['get'](p['URL_PARAMS']['USER_ID'])||(0x0,w['getRandomId'])();});}['makeSureCurrentExternalUserTokenExists'](){return k(this,void 0x0,void 0x0,function*(){const D=this['getUserTokenDataFromStorage'](),E=this['getStorageItem'](B),F=m['ConfigService']['externalUserId'];D&&E===F||(E&&F&&E!==F&&(this['_pendingUserClear']=E),yield this['getAndStoreNewUserToken']());});}['getPendingUserClear'](){return this['_pendingUserClear'];}['clearPendingUserClear'](){this['_pendingUserClear']=null;}['getAndStoreNewUserToken'](){return k(this,void 0x0,void 0x0,function*(){const D={'externalId':m['ConfigService']['externalUserId']},{data:E,error:F,httpStatus:G}=yield m['ApiService']['getUserToken'](D);!F&&G===q['HttpStatus']['Ok']&&E&&this['storeUserTokenData'](E,D['externalId']);});}['refreshUserToken'](){return k(this,void 0x0,void 0x0,function*(){const D=this['getUserTokenDataFromStorage']();let E=!0x1;if(D){const F={'externalId':m['ConfigService']['externalUserId'],'tokenData':D};let G=0x0;for(;!E&&G<0x3;){const {data:H,error:I,httpStatus:J}=yield m['ApiService']['refreshUserToken'](F);!I&&J===q['HttpStatus']['Ok']&&H?(this['storeUserTokenData'](H,F['externalId']),E=!0x0):(yield(0x0,w['delay'])(0xc8),G++);}}E||(yield this['getAndStoreNewUserToken']());});}['storeUserTokenData'](D,E){this['setStorageItem'](y,D['accessToken']),this['setStorageItem'](z,D['refreshToken']),this['setStorageItem'](A,D['userId']),this['setStorageItem'](B,E);}['getUserTokenDataFromStorage'](){const D=this['getStorageItem'](y),E=this['getStorageItem'](z),F=this['getStorageItem'](A);if(D&&E&&F)return{'accessToken':D,'refreshToken':E,'userId':F};}['setStorageItem'](D,E){const F=x['WSC_STORAGE_PREFIX']+D;E?localStorage['setItem'](F,E):localStorage['removeItem'](F);}['getStorageItem'](D){return localStorage['getItem'](x['WSC_STORAGE_PREFIX']+D);}}g['UserService']=C['getInstance']();},0x1758:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['OverlayCtaController']=void 0x0;const h=g(0x31b),j=g(0x1699),k=g(0x1133),m=g(0x22d9),p=g(0x164),q=g(0x23a6);f['OverlayCtaController']=class{constructor(u){this['videoRef']=u,this['container']=m['WidgetsFactory']['create']('blaze-div'),this['ctaButton']=new j['BlazeCallToActionButton'](),this['_isCtaRendered']=!0x1,this['boundOnCtaClick']=this['handleCtaClick']['bind'](this),this['boundOnCtaContainerClick']=this['handleCtaContainerClick']['bind'](this),this['container']['id']='bottom-container-cta',this['container']['classList']['add']('bottom-container-cta'),this['container']['appendChild'](this['ctaButton']);}get['isCtaRendered'](){return this['_isCtaRendered'];}['attachListeners'](){this['ctaButton']['addEventListener'](h['EVENTS']['CLICK'],this['boundOnCtaClick']),this['container']['addEventListener'](h['EVENTS']['CLICK'],this['boundOnCtaContainerClick']);}['detachListeners'](){this['ctaButton']['removeEventListener'](h['EVENTS']['CLICK'],this['boundOnCtaClick']),this['container']['removeEventListener'](h['EVENTS']['CLICK'],this['boundOnCtaContainerClick']);}['setTheme'](u){this['ctaVisibility']=u['visibility'],this['applyButtonStyles'](u);}['setCta'](u){u&&u['url']&&u['text']&&u['backgroundColor']&&u['textColor']?(this['ctaButton']['setAttribute'](j['CTA_BUTTON_ATTRIBUTES']['Href'],u['url']),this['ctaButton']['setAttribute'](j['CTA_BUTTON_ATTRIBUTES']['Text'],u['text']),this['ctaButton']['setAnchorButtonStyles']({'color':u['textColor'],'background':u['backgroundColor']}),this['ctaButton']['setAttribute'](j['CTA_BUTTON_ATTRIBUTES']['IconColor'],u['textColor']),this['_isCtaRendered']=!0x0,this['container']['classList']['contains']('hidden')||setTimeout(()=>{this['container']['dispatchEvent'](new CustomEvent(h['VIDEO_EVENTS']['CTA_VISIBILE'],{'bubbles':!0x0,'composed':!0x0})),this['ctaButton']['setAttribute'](j['CTA_BUTTON_ATTRIBUTES']['HiddenBtn'],'false');},0xfa)):(this['ctaButton']['setAttribute'](j['CTA_BUTTON_ATTRIBUTES']['HiddenBtn'],'true'),this['_isCtaRendered']=!0x1);}['removeCta'](){this['ctaButton']['setAttribute'](j['CTA_BUTTON_ATTRIBUTES']['HiddenBtn'],'true'),this['_isCtaRendered']=!0x1;}['refreshLayout'](u){this['applyButtonStyles'](u);}['onOverlayHide'](){this['ctaVisibility']&&'VisibleAfterOverlayHidden'===this['ctaVisibility']['behavior']&&(this['ctaTimeout']=setTimeout(()=>{this['container']['classList']['add']('hidden'),this['_isCtaRendered']&&this['container']['dispatchEvent'](new CustomEvent(h['VIDEO_EVENTS']['CTA_DISMISS'],{'bubbles':!0x0,'composed':!0x0}));},this['ctaVisibility']['duration']));}['onOverlayShow'](){this['container']['classList']['contains']('hidden')&&this['_isCtaRendered']&&this['container']['dispatchEvent'](new CustomEvent(h['VIDEO_EVENTS']['CTA_VISIBILE'],{'bubbles':!0x0,'composed':!0x0})),this['container']['classList']['remove']('hidden'),clearTimeout(this['ctaTimeout']);}['applyButtonStyles'](w){var x;const y=k['deviceDetector']['isMobile'],z=this['videoRef']['embeddedRef']instanceof q['BlazeWidgetEmbeddedVideo']&&!this['videoRef']['modal'],A=!!(null===(x=this['videoRef']['modal'])||void 0x0===x?void 0x0:x['isOpen']),B='fullscreen'===this['videoRef']['videoPlayerState']['playerLayout'],C=k['deviceDetector']['screenOrientation'];if(y&&z&&'portrait'===C)return void this['container']['setStyle']({'display':'none'});this['container']['setStyle']({'display':'flex'});const D=y&&(A&&'portrait'===C||B),E=D?'100%':'auto';this['ctaButton']['setStyle']({'height':w['height'],'width':E});const F=this['getDeviceStyle'](w['text']),G={'fontFamily':w['fontFamily'],'borderRadius':w['borderRadius'],'outline':w['borderColor']?'1px\x20solid\x20'+w['borderColor']:'','width':E,'justifyContent':D?'center':'unset'};this['ctaButton']['setAnchorButtonStyles'](G);const H={'fontSize':k['TextScaleService']['scaleFontSize'](F['fontSize']),'fontWeight':F['fontWeight'],'lineHeight':k['TextScaleService']['scaleLineHeight'](F['lineHeight']),'letterSpacing':F['letterSpacing'],'paddingRight':D?'unset':'20px','justifyContent':D?'center':'unset','width':E};if(this['ctaButton']['setCtaTextStyle'](H),w['icon']['isVisible']){if(this['ctaButton']['setAttribute'](j['CTA_BUTTON_ATTRIBUTES']['IconUrl'],w['icon']['url']),this['ctaButton']['setAttribute'](j['CTA_BUTTON_ATTRIBUTES']['IconSize'],w['icon']['size']),this['ctaButton']['setCtaIconStyles']({'padding':'10px'}),k['deviceDetector']['isMobile']){const I=(0x0,p['convertCssUnitToNumber'])(w['icon']['size'])+0x14;this['ctaButton']['setCtaTextStyle']({'marginRight':I+'px'});}this['ctaButton']['setAttribute'](j['CTA_BUTTON_ATTRIBUTES']['DisplayIcon'],'true');}else this['ctaButton']['setAttribute'](j['CTA_BUTTON_ATTRIBUTES']['DisplayIcon'],'false');}['handleCtaClick'](u){u['target']===this['ctaButton']&&'landscape'===k['deviceDetector']['screenOrientation']&&k['deviceDetector']['isMobile']?this['container']['dispatchEvent'](new CustomEvent(h['VIDEO_EVENTS']['DISPLAY_HIDE_OVERLAY_FROM_CTA'],{'bubbles':!0x0,'composed':!0x0})):(u['stopPropagation'](),this['container']['dispatchEvent'](new CustomEvent(h['VIDEO_EVENTS']['CTA_CLICKED'],{'detail':{'url':this['ctaButton']['getAttribute']('href')},'bubbles':!0x0,'composed':!0x0})));}['handleCtaContainerClick'](u){u['stopPropagation'](),this['container']['dispatchEvent'](new CustomEvent(h['VIDEO_EVENTS']['DISPLAY_HIDE_OVERLAY_FROM_CTA'],{'bubbles':!0x0,'composed':!0x0}));}['getDeviceStyle'](u){switch(!0x0){case k['deviceDetector']['isMobile']:return u['mobile'];case k['deviceDetector']['isTablet']:return u['tablet'];default:return u['desktop'];}}};},0x1766:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['WSC_STORAGE_PREFIX']=void 0x0,f['WSC_STORAGE_PREFIX']='wsc_ias_';},0x1789:function(j,k,q){'use strict';var x=this&&this['__awaiter']||function(a2,a3,a4,a5){return new(a4||(a4=Promise))(function(a6,a7){function a8(ab){try{aa(a5['next'](ab));}catch(ac){a7(ac);}}function a9(ab){try{aa(a5['throw'](ab));}catch(ac){a7(ac);}}function aa(ab){var ac;ab['done']?a6(ab['value']):(ac=ab['value'],ac instanceof a4?ac:new a4(function(ad){ad(ac);}))['then'](a8,a9);}aa((a5=a5['apply'](a2,a3||[]))['next']());});};Object['defineProperty'](k,'__esModule',{'value':!0x0}),k['BlazeVideoElement']=void 0x0;const z=q(0x774),B=q(0x1133),D=q(0x1932),F=q(0x26ed),G=q(0x22d9),H=q(0x11c1),J=q(0x264),K=q(0x132a),L=q(0x2432),M=q(0x23a6),N=q(0x1932),O=q(0x982),P=q(0x46),Q=q(0x4cf),R=q(0x229a),U=q(0xc4c),V=q(0x182b),W=q(0xdf1),X=q(0xb71),Y=q(0x1bc1),Z=q(0x1e70),a0=q(0xa62);class a1 extends M['BlazeWidgetVideoBase']{constructor(a2=H['VideoPlayerService']){super(),this['videoPlayerState']=a2,this['shadow']=this['attachShadow']({'mode':'open'}),this['video']=document['createElement']('video'),this['captionsElement']=G['WidgetsFactory']['create']('blaze-widget-captions'),this['shareModal']=G['WidgetsFactory']['create']('blaze-widget-share-modal'),this['widgetVastAd']=new M['BlazeWidgetVastAd']('video',this['getRefferingObject']['bind'](this)),this['adController']=new R['VideoAdController'](this['widgetVastAd'],this),this['timePersistence']=new Z['VideoTimePersistenceManager'](this['video'],()=>this['data']['id']),this['inactivityEvents']=['mousemove','keydown','scroll','touchstart'],this['contentType']='video',this['data']={},this['isActionBlocked']=!0x1,this['isInitializing']=!0x1,this['isLoaded']=!0x1,this['isPausedManually']=!0x1,this['videoSessionId']=(0x0,L['getRandomId'])(),this['startTrigger']='',this['exitTrigger']='',this['navigationType']='',this['liveEdgeController']=null,this['lifecycleSession']=new Q['VideoLifecycleSession'](),this['eventListeners']=new z['EventListenerRegistry'](),this['listenersAttached']=!0x1,this['activitySubscriptions']=[],this['startOverlayAutoHideTimer']=()=>{this['clearOverlayTimer'](),this['isPlaybackAvailable']()&&(this['video']['paused']&&this['video']['readyState']<0x3||(this['inactivityTimeout']=setTimeout(()=>{this['hidePlayerOverlay']();},0x1388)));},this['handleSeekDebounced']=(0x0,B['debounce'])(this['handleSeekRequest']['bind'](this),0x3e8);}['connectedCallback'](){this['initialize'](),this['setupEventListeners']();}['disconnectedCallback'](){this['activitySubscriptions']['forEach'](a2=>a2['unsubscribed']()),this['activitySubscriptions']=[],this['destroy']();}['attributeChangedCallback'](a2,a3,a4){a3!==a4&&this['applyAttribute'](a2,a4);}['setTheme'](a2){var a3;this['playerStyle']=a2,null===(a3=this['videoOverlay'])||void 0x0===a3||a3['setTheme'](a2);}['setWidgetItemParent'](a2){this['widgetParentItem']=a2;}['setData'](a2){this['data']=a2,this['adController']['reset'](),this['setupActivityObservers'](),this['streamOrchestrator']=new Y['StreamOrchestrator'](this['data']);const a3=this['streamOrchestrator']['getState']();this['streamLayoutController']&&this['streamLayoutController']['applyLayout'](a3);}['setupActivityObservers'](){this['activitySubscriptions']['forEach'](a2=>a2['unsubscribed']()),this['activitySubscriptions']=[],this['activitySubscriptions']['push'](J['UserActivityObserverService']['onVideoLikeChanged'](a2=>{a2['videoId']===this['data']['id']&&this['videoOverlay']&&(this['isLiked']=a2['isLiked'],this['setLiked'](this['isLiked']));}));}['setModal'](a2){this['modal']=a2;}['setEmbeddedRef'](a2){this['embeddedRef']=a2;}['getSessionId'](){return this['videoSessionId'];}['event'](a2,a3,a4){return x(this,void 0x0,void 0x0,function*(){try{const a5=this['getRefferingObject']();'Content'===this['data']['type']&&(a3['video_id']=this['data']['id'],a3['video_session_id']=this['videoSessionId'],a3['stream_status']=L['StreamUtils']['getState'](this['data']),H['AnalyticsService']['pushVideoEvent'](a2,a3,a4,a5));}catch(a6){}});}['setIsPlayingAd'](a2){this['isPlayingAd']=a2;}['setIsPlaying'](a2){this['videoOverlay']['videoNavigationOverlay']['setPlaying'](a2);}['isStreamContent'](){var a2,a3;return null!==(a3=null===(a2=this['streamOrchestrator'])||void 0x0===a2?void 0x0:a2['isStream']())&&void 0x0!==a3&&a3;}['getStreamState'](){var a2,a3;return null!==(a3=null===(a2=this['streamOrchestrator'])||void 0x0===a2?void 0x0:a2['getState']())&&void 0x0!==a3?a3:null;}['isLiveStream'](){var a2,a3;return null!==(a3=null===(a2=this['streamOrchestrator'])||void 0x0===a2?void 0x0:a2['isLive']())&&void 0x0!==a3&&a3;}['isPlaybackAvailable'](){var a2,a3,a4,a5,a6;const a7=this['getStreamState']();return'Upcoming'!==a7&&!('Ended'===a7&&!(null===(a6=null===(a5=null===(a4=null===(a3=null===(a2=this['data'])||void 0x0===a2?void 0x0:a2['baseLayer'])||void 0x0===a3?void 0x0:a3['content'])||void 0x0===a4?void 0x0:a4['renditions'])||void 0x0===a5?void 0x0:a5[0x0])||void 0x0===a6?void 0x0:a6['url']));}['seekToLiveEdge'](a2){var a3;null===(a3=this['liveEdgeController'])||void 0x0===a3||a3['seekToLive'](a2);}['initializeCommonState'](){const {title:a2,id:a3}=this['data'];this['title']=a2,this['videoId']=a3,this['uiCoordinator']['setMuteState'](this['videoPlayerState']['isMuted']),this['uiCoordinator']['updateStreamStatus'](),this['videoOverlay']['videoSeekBar']['hide'](),H['ConfigService']['shouldModifyUrlWithContentId']&&!(this['embeddedRef']instanceof M['BlazeWidgetEmbeddedVideo'])&&B['URLManager']['updateLocationContentHash']({'contentType':'video','contentId':this['videoId']});}['setPoster'](a2){var a3;this['video']['poster']=a2,B['deviceDetector']['isIOSMobileTabletSafari']()&&(null===(a3=this['posterOverlayElement'])||void 0x0===a3||a3['setStyle']({'backgroundImage':'url('+a2+')'}));}['finalizeLoad'](a2){this['hideLoader'](),this['isActionBlocked']=!a2;}['setLikedState'](a2){this['isLiked']=a2;}['setLastSavedTime'](a2){this['timePersistence']['setLastSavedTime'](a2);}['setAspectRatio'](a2){this['aspectRatio']=a2;}['setInitialPosition'](a2,a3){var a4;null===(a4=this['uiCoordinator'])||void 0x0===a4||a4['setInitialPosition'](a2,a3);}['updateStreamState'](a2){const a3=this['getStreamState']();a3!==a2&&(this['streamOrchestrator']['updateState'](a2),this['handleStreamStateTransition'](a3,a2),this['uiCoordinator']['updateStreamState'](a2),this['streamLayoutController']&&this['streamLayoutController']['applyLayout'](a2));}['handleStreamStateTransition'](a2,a3){return x(this,void 0x0,void 0x0,function*(){const a4={'videoData':this['data'],'reload':()=>this['load'](),'dispatchEvent':a5=>this['dispatchEvent'](a5),'setActionBlocked':a5=>{this['isActionBlocked']=a5;},'setLoaded':a5=>{this['isLoaded']=a5;},'clearSavedTime':()=>{this['timePersistence']['setLastSavedTime'](-0x1);},'destroyLiveEdgeController':()=>{var a5;null===(a5=this['liveEdgeController'])||void 0x0===a5||a5['destroy'](),this['liveEdgeController']=null;},'setOverlayLiveMode':a5=>this['uiCoordinator']['setLiveMode'](a5),'pause':()=>this['pause'](),'clearVideoSource':()=>{this['video']['removeAttribute']('src'),this['video']['load'](),this['playbackStrategy']&&this['playbackStrategy']['hls']&&this['playbackStrategy']['hls']['detachMedia']();}};yield this['streamOrchestrator']['executeTransition'](a2,a3,a4),this['analyticsCoordinator']['onStreamStateChanged']();});}['handleExternalStateChange'](a2,a3){var a4,a5,a6,a7,a8,a9,aa,ab,ac,ad;const ae=this['getStreamState']();try{const af=null===(a8=null===(a7=null===(a6=null===(a5=null===(a4=this['data'])||void 0x0===a4?void 0x0:a4['baseLayer'])||void 0x0===a5?void 0x0:a5['content'])||void 0x0===a6?void 0x0:a6['renditions'])||void 0x0===a7?void 0x0:a7[0x0])||void 0x0===a8?void 0x0:a8['url'];this['data']=this['streamOrchestrator']['mergeData'](this['data'],a3,a2);const ag=null===(ad=null===(ac=null===(ab=null===(aa=null===(a9=this['data'])||void 0x0===a9?void 0x0:a9['baseLayer'])||void 0x0===aa?void 0x0:aa['content'])||void 0x0===ab?void 0x0:ab['renditions'])||void 0x0===ac?void 0x0:ac[0x0])||void 0x0===ad?void 0x0:ad['url'];'Live'===ae&&'Live'===a2&&af!==ag&&ag&&af&&this['recoverFromUrlChange'](ag),this['updateStreamState'](a2);}catch(ah){}}['recoverFromUrlChange'](a2){this['hideLoader'](),this['video']['setAttribute']('data-original-src',a2),this['playbackStrategy']['loadSource'](a2,this['data']['baseLayer']['content']['renditions'][0x0]['bitRate'],-0x1),this['play']();}['load'](){return x(this,void 0x0,void 0x0,function*(){if(!this['isLoaded']){this['isLoaded']=!0x0,this['isActionBlocked']=!0x0,this['initializeCommonState']();try{yield this['streamOrchestrator']['load'](this,this['data']);}catch(a2){this['finalizeLoad'](!0x0);}}});}['enablesDVR'](){var a2,a3;return null!==(a3=null===(a2=this['streamOrchestrator'])||void 0x0===a2?void 0x0:a2['enablesDVR']())&&void 0x0!==a3&&a3;}['registerLoader'](a2,a3){this['streamOrchestrator']['registerLoader'](a2,a3);}['setupClosedCaptions'](){return x(this,void 0x0,void 0x0,function*(){var a2,a3;if(!H['ConfigService']['shouldAllowClosedCaptions'])return void this['captionsElement']['setAttribute'](N['CAPTIONS_ATTRIBUTES']['IsVisible'],'false');const a4=null===(a2=this['data']['closedCaptions'])||void 0x0===a2?void 0x0:a2['find'](a5=>''+a5['language']===localStorage['getItem'](D['LOCAL_STORAGE_KEY_LAST_SELECTED']));this['uiCoordinator']['setClosedCaptionState']((null===(a3=this['data']['closedCaptions'])||void 0x0===a3?void 0x0:a3['length'])?'enabled':'disabled'),this['uiCoordinator']['updateClosedCaptionIcon'](!!a4),a4&&(yield this['setClosedCaptions'](a4['files']));});}['initializeLiveMode'](a2=O['DEFAULT_LIVE_EDGE_CONFIG']){if(!this['isLiveStream']())return;const a3=this['playbackStrategy']['hls'];a3&&(this['liveEdgeController']=new W['LiveEdgeController'](a3,this['handleLiveEdgeStateChange']['bind'](this),a2),this['liveEdgeController']['setLoaderProvider']({'showLoader':this['showLoader']['bind'](this),'hideLoader':this['hideLoader']['bind'](this)}),this['liveEdgeController']['setPlaybackStateManager']({'setIsPlaying':this['setIsPlaying']['bind'](this)}),this['liveEdgeController']['setBackToLiveCallback'](a4=>{this['analyticsCoordinator']['onBackToLive'](a4);}),this['uiCoordinator']['setLiveMode'](!0x0),this['videoOverlay']['videoSeekBar']['setLiveMode'](!0x0),this['videoOverlay']['videoTimer']['setLiveMode'](!0x0),this['setupLiveTimerOrchestration']());}['setupLiveTimerOrchestration'](){const a2=this['videoOverlay']['videoTimer'],a3=this['videoOverlay']['videoSeekBar'];a3['onStartSeeking']=()=>{if(!this['liveEdgeController'])return;const a4=this['liveEdgeController']['getLiveEdgePosition']();a2['setLiveTimerState']('seeking',a4);},a3['onEndSeeking']=()=>{if(!this['liveEdgeController'])return;const a4=this['liveEdgeController']['getState'](),a5=this['liveEdgeController']['getLiveEdgePosition']();'atLiveEdge'===a4?a2['setLiveTimerState']('atLiveEdge'):a2['setLiveTimerState']('playingBehind',a5);};}['handleLiveEdgeStateChange'](a2){this['uiCoordinator']['updateLiveEdgeState'](a2);const a3=this['videoOverlay']['videoSeekBar'],a4=this['videoOverlay']['videoTimer'];if(!this['liveEdgeController'])return;const a5=this['liveEdgeController']['getLiveEdgePosition']();a3['getIsSeeking']()||('atLiveEdge'===a2?a4['setLiveTimerState']('atLiveEdge'):'behindLive'===a2&&a4['setLiveTimerState']('playingBehind',a5));}['setClosedCaptions'](a2){return x(this,void 0x0,void 0x0,function*(){var a3,a4;this['captionsElement']['setAttribute'](N['CAPTIONS_ATTRIBUTES']['IsVisible'],a2&&a2['length']?'true':'false'),'Content'===(null===(a3=this['data'])||void 0x0===a3?void 0x0:a3['type'])&&(this['captionsElement']['isConnected']||null===(a4=this['shadowRoot'])||void 0x0===a4||a4['append'](this['captionsElement']),yield this['captionsElement']['initialize'](this['video'],a2));});}['setCta'](a2){var a3,a4;!0x1!==(null===(a4=null===(a3=this['playerStyle'])||void 0x0===a3?void 0x0:a3['cta'])||void 0x0===a4?void 0x0:a4['isVisible'])?this['uiCoordinator']['setCta'](a2):this['uiCoordinator']['removeCta']();}['setTitle'](a2){this['uiCoordinator']['setTitle'](a2);}['setLiked'](a2){this['uiCoordinator']['setLikedState'](a2);}['setVideoId'](a2){this['video']['setAttribute']('data-video-id',a2);}['unload'](){var a2;this['isLoaded']&&(this['isLoaded']=!0x1,this['timePersistence']['save'](),this['videoOverlay']['removeCta'](),this['uiCoordinator']['reset'](),this['playbackStrategy']['unload'](),B['deviceDetector']['isIOSMobileTabletSafari']()&&(null===(a2=this['posterOverlayElement'])||void 0x0===a2||a2['setStyle']({'backgroundImage':''})),this['lastMarkedVideoIdAsViewed']=void 0x0);}['initialize'](){var a2;this['isInitializing']||(this['isInitializing']=!0x0,this['playbackStrategy']=z['PlaybackStrategyFactory']['createStrategy'](this['video'],'LONG_FORM_HLS',void 0x0,this['videoPlayerState']),this['playerCommands']=new z['VideoPlayerCommands'](this['playbackStrategy'],this),this['videoOverlay']=new z['BlazeLongFormControlsOverlay'](this),this['videoOverlay']['setSeekbarValidator'](()=>this['canShowSeekbar']()),this['uiCoordinator']=new a0['VideoUICoordinator'](this['videoOverlay']),this['uiCoordinator']['setTheme'](this['playerStyle']),this['uiCoordinator']['reset'](),this['analyticsCoordinator']=new U['VideoAnalyticsCoordinator'](()=>this['data'],()=>this['video'],()=>this['videoPlayerState'],()=>this['playerStyle'],()=>this['videoSessionId'],()=>this['startTrigger'],()=>this['exitTrigger'],()=>this['aspectRatio'],()=>this['lastSeekAction']),this['streamLayoutController']=new X['StreamLayoutController'](this['videoOverlay'],this['videoOverlay']['videoNavigationOverlay'],this['videoOverlay']['videoSeekBar']),this['videoOverlay']['videoSeekBar']['onPause']=(0x0,B['debounce'])(()=>{this['pause']();},0x64),this['videoOverlay']['videoSeekBar']['onResume']=()=>x(this,void 0x0,void 0x0,function*(){yield this['play']();}),this['setAttribute']('mute',this['videoPlayerState']['isMuted']?'true':'false'),this['uiCoordinator']['setMuteState'](this['videoPlayerState']['isMuted']),this['captionsElement']['setAttribute']('hidden','true'),this['setupStyles'](),this['setupVideoElement'](),this['setupOverlay'](),this['setupShareModal'](),H['ConfigService']['shouldAllowClosedCaptions']&&this['configureClosedCaptionsModal'](),B['deviceDetector']['isIOSMobileTabletSafari']()&&this['createPosterOverlay'](),null===(a2=this['shadowRoot'])||void 0x0===a2||a2['appendChild'](this['widgetVastAd']));}['setupStyles'](){const a2=document['createElement']('style');a2['textContent']='\x0a\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20min-height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20direction:\x20'+H['ConfigService']['layoutDirection']['toLowerCase']()+';\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20video\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['shadow']['appendChild'](a2);}['setupVideoElement'](){this['video']['setAttribute']('preload','none'),this['video']['setAttribute']('playsinline','true'),this['video']['setAttribute']('webkit-playsinline','true'),this['video']['controls']=!0x1,this['shadow']['appendChild'](this['video']);}['setupOverlay'](){this['shadow']['appendChild'](this['videoOverlay']);}['setupShareModal'](){this['shareModal']['setStyle']({'zIndex':'5','display':'block','position':'relative','pointerEvents':'auto'}),this['shareModal']['onOpen']=()=>{this['pause']();},this['shadow']['appendChild'](this['shareModal']);}['configureClosedCaptionsModal'](){this['closedCaptionsModal']=new M['BlazeWidgetClosedCaptionsModal'](this['data']['closedCaptions'],'video'),this['closedCaptionsModal']['onClose']=()=>{this['isPausedManually']||(this['videoPlayerState']['isPlaying']=!0x0,this['setIsPlaying'](!0x0),this['play']());},this['closedCaptionsModal']['onOpen']=()=>{this['videoPlayerState']['isPlaying']&&(this['videoPlayerState']['isPlaying']=!0x1,this['setIsPlaying'](!0x1),this['pause']());},this['closedCaptionsModal']['onClosedCaptionsEnable']=a2=>{this['toggleClosedCaptions'](a2);},this['closedCaptionsModal']['onClosedCaptionsDisable']=()=>{this['toggleClosedCaptions']();},this['shadow']['appendChild'](this['closedCaptionsModal']);}['toggleClosedCaptions'](a2){var a3,a4;this['setClosedCaptions']((null===(a4=null===(a3=this['data']['closedCaptions'])||void 0x0===a3?void 0x0:a3['find'](a6=>''+a6['language']===a2))||void 0x0===a4?void 0x0:a4['files'])||[]);const a5=(0x0,L['convertCcLanguageToState'])(this['data']['closedCaptions'],a2);this['analyticsCoordinator']['onClosedCaptionsToggle'](a5);}['setupEventListeners'](){if(this['listenersAttached'])return;this['eventListeners']['on'](this['video'],z['EVENTS']['TIMEUPDATE'],this['handleVideoTimeUpdate'],this),this['eventListeners']['on'](this['video'],z['EVENTS']['LOADED_METADATA'],this['handleLoadedMetadata'],this),this['eventListeners']['on'](this['video'],z['EVENTS']['ENDED'],this['handleVideoEnded'],this),this['eventListeners']['on'](this['video'],z['VIDEO_EVENTS']['ERROR'],this['handleVideoError'],this),this['eventListeners']['on'](document,z['VIDEO_EVENTS']['LOADER_DISPLAY'],this['handleLoaderDisplay'],this),this['eventListeners']['on'](document,z['VIDEO_EVENTS']['LOADER_HIDE'],this['handleLoaderHide'],this),Object['values'](z['VIDEO_EVENTS'])['forEach'](a3=>{this['eventListeners']['on'](this['videoOverlay'],a3,this['handleOverlayEvents'],this);}),B['deviceDetector']['isDesktop']&&(this['eventListeners']['on'](this,z['EVENTS']['MOUSEENTER'],this['handleMouseIn'],this),this['eventListeners']['on'](this,z['EVENTS']['MOUSELEAVE'],this['handleMouseOut'],this),this['eventListeners']['on'](this,z['EVENTS']['MOUSEMOVE'],this['handleMouseMove'],this)),this['listenersAttached']=!0x0;const a2=B['deviceDetector']['isMobile']||B['deviceDetector']['isTablet']?(0x0,B['debounce'])(this['handleClick']['bind'](this),0xfa):this['handleClick'];this['eventListeners']['on'](this,z['EVENTS']['CLICK'],a2,this),this['eventListeners']['on'](this,F['InternalEvent']['AD_STARTED'],this['handleAdStarted'],this),this['eventListeners']['on'](this,F['InternalEvent']['AD_ENDED'],this['handleAdEnded'],this),this['eventListeners']['on'](L['SharedEventTarget'],D['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['handleLanguageChange'],this),this['inactivityEvents']['forEach'](a3=>{document['addEventListener'](a3,this['startOverlayAutoHideTimer']);}),this['setupSeekbarVisibility'](),this['eventListeners']['attachAll']();}['setupSeekbarVisibility'](){this['video']['addEventListener']('error',()=>{this['videoOverlay']['videoSeekBar']['hide']();}),this['video']['addEventListener']('playing',()=>{'false'===this['videoOverlay']['getAttribute']('hidden')&&this['canShowSeekbar']()&&(this['videoOverlay']['videoSeekBar']['show'](),this['liveEdgeController'])&&'behindLive'===this['liveEdgeController']['getState']()&&(this['videoOverlay']['videoTimer']['hidden']=!0x1);});}['canShowSeekbar'](){return!(!((this['video']['src']||this['video']['currentSrc']||this['video']['getAttribute']('data-original-src'))&&!isNaN(this['video']['duration'])&&this['video']['duration']>0x0)||this['video']['error']);}['destroy'](){var a2;this['playbackStrategy']['destroy'](),null===(a2=this['heartbeatManager'])||void 0x0===a2||a2['stop'](),this['liveEdgeController']&&(this['liveEdgeController']['destroy'](),this['liveEdgeController']=null),this['eventListeners']['detachAll'](),this['listenersAttached']=!0x1,this['inactivityEvents']['forEach'](a3=>{document['removeEventListener'](a3,this['startOverlayAutoHideTimer']);}),this['clearOverlayTimer']();}['clearOverlayTimer'](){this['inactivityTimeout']&&(clearTimeout(this['inactivityTimeout']),this['inactivityTimeout']=void 0x0);}['handleMouseIn'](){this['clearOverlayTimer'](),this['showPlayerOverlay']();}['handleMouseOut'](){this['startOverlayAutoHideTimer']();}['handleMouseMove'](){this['clearOverlayTimer'](),this['showPlayerOverlay'](),this['startOverlayAutoHideTimer']();}['handleClick'](a2){var a3,a4,a5,a6;if(H['VideoPlayerService']['isSeekBarDragging']||this['isActionBlocked'])return;(null===(a3=this['shareModal'])||void 0x0===a3?void 0x0:a3['isOpen'])&&(null===(a4=this['shareModal'])||void 0x0===a4||a4['close']());const a7='true'===this['videoOverlay']['getAttribute']('hidden');if(!this['isPlaybackAvailable']())return this['clearOverlayTimer'](),void(a7&&this['showPlayerOverlay']());if(this['lifecycleSession']['markUserInteracted'](),this['video']['paused']){if(B['deviceDetector']['isMobile']||B['deviceDetector']['isTablet'])return void(a7?this['showPlayerOverlay']():this['hidePlayerOverlay'](!0x0));this['play'](),this['isPausedManually']=!0x1,this['showPlayerOverlay'](),this['analyticsCoordinator']['onPlaybackPlay']('user_play'),null===(a6=this['heartbeatManager'])||void 0x0===a6||a6['resume']();}else{if(B['deviceDetector']['isMobile']||B['deviceDetector']['isTablet'])return void(a7?this['showPlayerOverlay']():this['hidePlayerOverlay'](!0x0));this['pause'](),this['isPausedManually']=!0x0,this['showPlayerOverlay'](),this['analyticsCoordinator']['onPlaybackPause']('user_pause'),null===(a5=this['heartbeatManager'])||void 0x0===a5||a5['pause']();}this['videoOverlay']['videoNavigationOverlay']['setPlaying'](!this['video']['paused']);}['showPlayerOverlay'](){this['uiCoordinator']['showOverlay']();}['hidePlayerOverlay'](a2){a2?this['uiCoordinator']['hideOverlay']():this['video']['paused']||H['VideoPlayerService']['isSeekBarDragging']||this['video']['readyState']<0x2||!navigator['onLine']?this['startOverlayAutoHideTimer']():this['uiCoordinator']['hideOverlay']();}['createPosterOverlay'](){var a2,a3,a4,a5;!this['posterOverlayElement']&&(null===(a4=null===(a3=null===(a2=this['data'])||void 0x0===a2?void 0x0:a2['poster'])||void 0x0===a3?void 0x0:a3['rendition'])||void 0x0===a4?void 0x0:a4['url'])&&(this['posterOverlayElement']=G['WidgetsFactory']['create']('blaze-image'),this['posterOverlayElement']['setStyle']({'position':'absolute','top':'0','left':'0','width':'100%','height':'100%','zIndex':'2','display':'flex','alignItems':'center','justifyContent':'center','pointerEvents':'none'}),null===(a5=this['shadowRoot'])||void 0x0===a5||a5['appendChild'](this['posterOverlayElement']),this['updatePosterOverlay']());}['updatePosterOverlay'](){var a2,a3,a4;if(!this['posterOverlayElement']||!(null===(a4=null===(a3=null===(a2=this['data'])||void 0x0===a2?void 0x0:a2['poster'])||void 0x0===a3?void 0x0:a3['rendition'])||void 0x0===a4?void 0x0:a4['url']))return;let a5=0x10/0x9;this['video']['videoWidth']&&this['video']['videoHeight']&&(a5=this['video']['videoWidth']/this['video']['videoHeight']);const a6=a5<0x1;this['posterOverlayElement']['setStyle']({'backgroundImage':'url('+this['data']['poster']['rendition']['url']+')','backgroundSize':'contain','backgroundPosition':'center','backgroundRepeat':'no-repeat','backgroundColor':a6?'#000000':'transparent'});}['resetLifecycle'](){var a2;this['lifecycleSession']['reset'](),null===(a2=this['heartbeatManager'])||void 0x0===a2||a2['reset']();}['emitVideoStart'](){var a2;if(this['lifecycleSession']['canEmitVideoStart']()){if(this['lifecycleSession']['markVideoStartFired'](),!this['heartbeatManager']&&H['AppConfigurationService']['isHeartbeatEnabled']&&this['isStreamContent']()){const a3=H['AppConfigurationService']['heartbeatIntervalSeconds'];this['heartbeatManager']=new V['VideoHeartbeatManager'](this,a3);}null===(a2=this['heartbeatManager'])||void 0x0===a2||a2['start'](),this['analyticsCoordinator']['onVideoStart']();}}['emitVideoEnd'](a2){var a3;this['lifecycleSession']['canEmitVideoEnd']()&&(this['lifecycleSession']['markVideoEndFired'](),a2&&(this['exitTrigger']=a2),null===(a3=this['heartbeatManager'])||void 0x0===a3||a3['stop'](),this['analyticsCoordinator']['onVideoEnd']());}['getLifecycleSession'](){return this['lifecycleSession'];}['handleVideoEnded'](){return x(this,void 0x0,void 0x0,function*(){this['navigationType']='Automatic',this['emitVideoEnd']('Video\x20End');try{yield H['VideoService']['updateVideoDataById'](this['videoId'],{'posterCurrentTime':this['data']['poster']['rendition']['url'],'currentTime':0x0}),this['videoId']&&this['video']['duration']&&(yield H['VideoService']['markVideoAsViewed'](this['videoId'],this['video']['duration'],this['video']['duration']),this['data']['hasViewed']||(this['data']['hasViewed']=!0x0,this['updateWidgetStatusReadUnread']()));}catch(a2){}this['dispatchEvent'](new CustomEvent(z['VIDEO_EVENTS']['NAVIGATION_NEXT'],{'bubbles':!0x0,'composed':!0x0})),this['showPlayerOverlay'](),this['startOverlayAutoHideTimer']();});}['handleVideoError'](a2){const a3=a2['detail'];a3&&'object'==typeof a3&&'code'in a3&&'message'in a3&&'fatal'in a3&&(P['VideoErrorManager']['getInstance']()['handleError'](a3),a3['fatal']&&(this['video']['pause'](),this['uiCoordinator']['setPlayingState'](!0x1),this['setIsPlaying'](!0x1),this['videoPlayerState']['isPlaying']=!0x1,this['hideLoader'](),this['isActionBlocked']=!0x1));}['showLoader'](a2={}){const {delay:a3=0x0,force:a4=!0x1}=a2;this['loaderTimeoutId']&&clearTimeout(this['loaderTimeoutId']),a3>0x0?this['loaderTimeoutId']=setTimeout(()=>{this['handleLoaderDisplay'](a4);},a3):this['handleLoaderDisplay'](a4);}['hideLoader'](){this['loaderTimeoutId']&&(clearTimeout(this['loaderTimeoutId']),this['loaderTimeoutId']=void 0x0),this['handleLoaderHide']();}['handleLoaderDisplay'](a2){('boolean'!=typeof a2||!a2)&&!this['video']['paused']&&this['video']['readyState']>=0x3||this['uiCoordinator']['showLoader']();}['handleLoaderHide'](){this['uiCoordinator']['hideLoader']();}['handleOverlayEvents'](a2){var a3,a4,a5,a6;switch(a2['type']){case z['VIDEO_EVENTS']['MUTE']:this['playerCommands']['executeCommand']('mute'),this['startOverlayAutoHideTimer'](),this['analyticsCoordinator']['onAudioToggle']();break;case z['VIDEO_EVENTS']['UNMUTE']:this['lifecycleSession']['markUserInteracted'](),this['playerCommands']['executeCommand']('unmute'),this['startOverlayAutoHideTimer'](),this['analyticsCoordinator']['onAudioToggle']();break;case z['VIDEO_EVENTS']['SEEK']:const {seekTime:a7,type:a8}=a2['detail'];this['handleSeek'](a7,a8);break;case z['VIDEO_EVENTS']['DISPLAY_SEEKED_TIME']:const {seekTime:a9}=a2['detail'];if(!this['videoOverlay']['videoSeekBar']['getIsSeeking']())break;this['uiCoordinator']['setSeekingState'](a9*this['video']['duration']);break;case z['VIDEO_EVENTS']['FULLSCREEN']:const aa=this['videoPlayerState']['playerLayout'],ab='normal'===aa?'fullscreen':'normal';this['analyticsCoordinator']['onScreenChange'](aa,ab),this['playerCommands']['executeCommand']('toggleFullscreen'),this['startOverlayAutoHideTimer']();break;case z['VIDEO_EVENTS']['SHARE']:this['handleShareClick'](),this['startOverlayAutoHideTimer']();break;case z['VIDEO_EVENTS']['LIKE']:this['playerCommands']['executeCommand']('likeVideo'),this['startOverlayAutoHideTimer'](),this['analyticsCoordinator']['onLikeUnlike'](this['isLiked']);break;case z['VIDEO_EVENTS']['CTA_CLICKED']:this['handleCtaClick'](a2),this['showPlayerOverlay']();break;case z['VIDEO_EVENTS']['CTA_DISMISS']:this['analyticsCoordinator']['onCtaDismissed']();break;case z['VIDEO_EVENTS']['CTA_VISIBILE']:this['analyticsCoordinator']['onCtaVisible']();break;case z['VIDEO_EVENTS']['PLAY']:if(!this['isPlaybackAvailable']())break;this['isPausedManually']=!0x1,this['analyticsCoordinator']['onPlaybackPlay']('user_play'),null===(a3=this['heartbeatManager'])||void 0x0===a3||a3['resume'](),this['play']();break;case z['VIDEO_EVENTS']['PAUSE']:if(!this['isPlaybackAvailable']())break;this['isPausedManually']=!0x0,this['analyticsCoordinator']['onPlaybackPause']('user_pause'),null===(a4=this['heartbeatManager'])||void 0x0===a4||a4['pause'](),this['pause']();break;case z['VIDEO_EVENTS']['NAVIGATION_PREV']:case z['VIDEO_EVENTS']['NAVIGATION_NEXT']:this['emitVideoEnd']('Skip');break;case z['VIDEO_EVENTS']['CLOSE_PLAYER']:const {exitTrigger:ac}=a2['detail'];this['emitVideoEnd'](ac),null===(a5=this['modal'])||void 0x0===a5||a5['close']();break;case z['VIDEO_EVENTS']['CLOSED_CAPTIONS_OPEN_MODAL']:null===(a6=this['closedCaptionsModal'])||void 0x0===a6||a6['open']();break;case z['VIDEO_EVENTS']['DISPLAY_HIDE_OVERLAY_FROM_CTA']:this['handleClick'](a2);break;case z['VIDEO_EVENTS']['UPDATE_CLOSED_CAPTIONS_LOCATION']:const {top:ad,left:ae}=a2['detail'];this['captionsElement']['setAbsolutePosition']({'top':ad,'left':ae});}}['handleCtaClick'](a2){var a3,a4,a5,a6,a7,a8,a9,aa;const ab=a2,{url:ac}=ab['detail'];return this['analyticsCoordinator']['onCtaClick'](),(null===(a4=null===(a3=this['refContentModal'])||void 0x0===a3?void 0x0:a3['parentWidget'])||void 0x0===a4?void 0x0:a4['id'])&&H['EventService']['dispatch'](null===(a5=this['refContentModal'])||void 0x0===a5?void 0x0:a5['parentWidget'],F['Delegation']['onWidgetTriggerCTA'],{'widgetId':null===(a7=null===(a6=this['refContentModal'])||void 0x0===a6?void 0x0:a6['parentWidget'])||void 0x0===a7?void 0x0:a7['id'],'actionType':'URL','actionParam':ac}),null===(a8=this['shareModal'])||void 0x0===a8||a8['close'](),this['emitVideoEnd']('CTA\x20Click'),(null===(a9=this['video'])||void 0x0===a9?void 0x0:a9['paused'])||((null===(aa=this['modal'])||void 0x0===aa?void 0x0:aa['player'])['resumeAfterFocus']=!0x0,this['pause']()),!0x0;}['setPlayerLayoutToNormal'](){this['uiCoordinator']['setFullscreenState'](!0x1);}['handleSeekRequest'](a2,a3){return x(this,void 0x0,void 0x0,function*(){const a4=this['video']['currentTime'];let a5=a2;(a2>0.99||a2*this['video']['duration']>this['video']['duration']-0x5)&&(a5=Math['max'](0x0,this['video']['duration']-0x5)/this['video']['duration']);const a6=a5*this['video']['duration'];this['lastSeekAction']={'action':a3,'currentTime':a4,'seekedTime':a6},this['analyticsCoordinator']['onSeek']({'seekTime':a6,'direction':a6>a4?'Forward':'Backward','distance':Math['abs'](a2*this['video']['duration']-this['video']['currentTime'])}),yield this['playerCommands']['executeCommand']('seek',a5);const a7=this['video']['currentTime'];Math['abs'](a7-a4)<=0x5&&(this['timePersistence']['shouldSaveAfterSeek']=!0x0),H['VideoPlayerService']['isSeekBarDragging']?this['hideLoader']():this['play']();});}['handleSeek'](a2,a3){this['canShowSeekbar']()&&(this['video']['paused']||this['pause'](),this['showLoader']({'force':!0x0}),this['videoOverlay']['videoTimer']['setLayout']('seeking'),this['videoOverlay']['setCurrentTime'](a2*this['video']['duration']),'Live'===this['getStreamState']()&&this['uiCoordinator']['markTransitionFromLive'](),this['handleSeekDebounced'](a2,a3));}['handleShareClick'](){var a2;let a3;this['videoPlayerState']['isPlaying']&&this['pause'](),a3=location['href']['includes']('blaze/video')||'SingleContent'===H['VideoPlayerService']['playReference']?null===window||void 0x0===window?void 0x0:window['location']['href']:location['href']['includes']('#')?location['href']+'&blaze/video/'+this['videoId']:location['href']+'#blaze/video/'+this['videoId'],(null===navigator||void 0x0===navigator?void 0x0:navigator['share'])?navigator['share']({'text':this['data']['title'],'url':a3})['then'](()=>{})['catch'](a4=>{var a5;'AbortError'!==a4['name']&&(null===(a5=this['shareModal'])||void 0x0===a5||a5['open'](a3));})['finally'](()=>{this['hideLoader'](),this['videoPlayerState']['isPlaying']&&this['play']();}):null===(a2=this['shareModal'])||void 0x0===a2||a2['open'](a3),this['analyticsCoordinator']['onShare']();}['pause'](){this['playerCommands']['executeCommand']('pause'),this['uiCoordinator']['setPlayingState'](!0x1),this['captionsElement']['setAttribute']('text-color','#7E7E7E'),this['timePersistence']['save']();}['play'](){return x(this,void 0x0,void 0x0,function*(){var a2;if(!this['isPlaybackAvailable']())return;if(this['clearOverlayTimer'](),yield this['adController']['tryToPlay']({'current':this['data']['extraInfo']}))return;const a3=this['data']['poster']['rendition']['url'];this['videoId']&&a3&&this['videoId']!==this['lastMarkedVideoIdAsViewed']&&(yield H['VideoService']['initializeVideoData'](this['videoId'],a3),this['lastMarkedVideoIdAsViewed']=this['videoId']),this['showLoader']({'delay':0x3e8}),(yield this['playerCommands']['executeCommand']('play'))['status']===z['PlayStatus']['Success']?(this['uiCoordinator']['setPlayingState'](!0x0),this['captionsElement']['setAttribute']('text-color',K['Colors']['White']),this['setIsPlaying'](!0x0),this['videoPlayerState']['isPlaying']=!0x0,this['data']['hasViewed']||(this['data']['hasViewed']=!0x0,this['updateWidgetStatusReadUnread']()),this['timePersistence']['shouldSaveAfterSeek']&&(this['timePersistence']['save'](!0x0),this['timePersistence']['shouldSaveAfterSeek']=!0x1)):(this['setIsPlaying'](!0x1),this['videoPlayerState']['isPlaying']=!0x1),this['hideLoader'](),this['isActionBlocked']=!0x1,this['startOverlayAutoHideTimer'](),null===(a2=this['posterOverlayElement'])||void 0x0===a2||a2['setStyle']({'backgroundImage':''});});}['updateMuteButtonState'](a2){this['uiCoordinator']['setMuteState'](a2);}['handleLoadedMetadata'](){return x(this,void 0x0,void 0x0,function*(){'Live'!==this['getStreamState']()&&this['uiCoordinator']['setDuration'](this['video']['duration']);});}['updateWidgetStatusReadUnread'](){this['widgetParentItem']&&(this['widgetParentItem']['updateWidget'](),this['widgetParentItem']['setChipStyle'](),this['widgetParentItem']['render'](),this['widgetParentItem']['updateWidgetItemPadding']());}['handleVideoTimeUpdate'](){return x(this,void 0x0,void 0x0,function*(){const a2=this['getStreamState'](),a3=!this['video']['paused'];this['uiCoordinator']['syncTime'](this['video']['currentTime'],this['video']['duration'],a3),'Live'===a2&&this['video']['duration']&&this['uiCoordinator']['setDuration'](this['video']['duration']),this['liveEdgeController']&&this['liveEdgeController']['updatePosition'](this['video']['currentTime']),'Live'!==a2&&(yield this['timePersistence']['save']());});}['handleLanguageChange'](a2){var a3;const a4=null===(a3=this['data']['closedCaptions'])||void 0x0===a3?void 0x0:a3['find'](a5=>''+a5['language']===a2['detail']['language']);this['uiCoordinator']['updateClosedCaptionIcon'](!!a4);}['handleAdStarted'](){this['adController']['onAdStarted']();}['handleAdEnded'](){this['adController']['onAdEnded']();}static get['observedAttributes'](){return['mute','video-id','video-title','poster','is-liked','loading'];}get['mute'](){return this['video']['muted'];}set['muted'](a2){this['setAttribute']('mute',!0x0===a2?'true':'false');}get['videoId'](){return this['getAttribute']('video-id')||'';}set['videoId'](a2){this['setAttribute']('video-id',a2);}get['title'](){return this['getAttribute']('video-title')||'';}set['title'](a2){this['setAttribute']('video-title',a2);}get['isLiked'](){return'true'===this['getAttribute']('is-liked');}set['isLiked'](a2){this['setAttribute']('is-liked',!0x0===a2?'true':'false');}get['isPlayingAd'](){return'true'===this['getAttribute']('is-playing-ad');}set['isPlayingAd'](a2){this['setAttribute']('is-playing-ad',!0x0===a2?'true':'false');}get['liveEdge'](){return this['liveEdgeController'];}['applyAttribute'](a2,a3){switch(a2){case'mute':this['playbackStrategy']['setMuted']('true'===a3),this['updateMuteButtonState']('true'===a3);break;case'video-id':this['setVideoId'](a3);break;case'video-title':this['setTitle'](a3);break;case'is-liked':this['setLiked']('true'===a3);}}['updatePlayerButtonIcons'](){}['resetPosition'](){}['render'](){}['getRefferingObject'](){var a2,a3,a4;const a5=new B['ReferringEventInfo'](),a6=(null===(a2=this['widgetParentItem'])||void 0x0===a2?void 0x0:a2['parentRef'])||(null===(a3=this['refContentModal'])||void 0x0===a3?void 0x0:a3['parentWidget']);if(a6&&a6 instanceof M['BlazeWidgetLayout']&&(a5['origin_widget_id']=a6['id'],a5['origin_widget_type']=a6['widgetType'](),a5['labels_expression']=a6['getAttribute']('labels')),H['ConfigService']['staticContentType']&&(a5['story_source']='OneBox'),document['referrer']){a5['referrer_page_url']=document['referrer'];const a7=document['referrer']['indexOf']('#blaze'),a8=-0x1!==a7?document['referrer']['slice'](0x0,a7):document['referrer'];a5['referrer_page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](a8)?'Homepage':'Category/Article',a5['referrer_page_domain']=document['referrer']?null===(a4=new URL(document['referrer']))||void 0x0===a4?void 0x0:a4['hostname']:'';}return a5;}['markPrerollAsPlayed'](){this['adController']['markPrerollAsPlayed']();}['skipNextPrerollOnce'](){this['adController']['skipNextPrerollOnce']();}}k['BlazeVideoElement']=a1;},0x17e9:(d,f)=>{'use strict';var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ConsentEvent']=f['InteractionEvent']=f['ImaAdEvent']=f['AdEvent']=f['VideoEvent']=f['WidgetEvent']=f['MomentEvent']=f['StoryEvent']=f['AnalyticsEvent']=f['ReferringEventInfo']=f['Category']=void 0x0,function(m){m['Story']='story',m['Moment']='moment',m['Widget']='widget',m['Video']='video',m['Ad']='ad',m['Interaction']='interaction',m['Consent']='consent';}(g||(f['Category']=g={}));class h{}class j{}class k{}class l{}f['ReferringEventInfo']=l,f['AnalyticsEvent']=class{constructor(){this['event_label']='',this['session_id']='',this['user']=new h(),this['tech']=new j(),this['geo']=new k(),this['wsc_internal']={'customer_name':'','customer_id':''},this['page']={'page_url':''},this['referring']=new l();}},f['StoryEvent']=class{},f['MomentEvent']=class{},f['WidgetEvent']=class{},f['VideoEvent']=class{},f['AdEvent']=class{},f['ImaAdEvent']=class{},f['InteractionEvent']=class{},f['ConsentEvent']=class{};},0x17f0:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['UserActivityFetchManager']=void 0x0;const j=g(0x1133),k=g(0x11c1);class l extends(0x0,j['Singleton'])(){constructor(){super(...arguments),this['_totalActivities']=null,this['isFetching']=!0x1,this['fetchGeneration']=0x0,this['lastFetchTimestamp']=0x0,this['cachedActivity']=null,this['subscribers']=new Set(),this['fetchIntervalSeconds']=0xa8c0,this['visibilityChangeHandler']=null;}get['totalActivities'](){return this['_totalActivities'];}['init'](){return h(this,void 0x0,void 0x0,function*(){this['loadConfiguration'](),this['subscribeToVisibilityChanges'](),this['forceFetch']();});}['subscribe'](m){return this['subscribers']['add'](m),this['cachedActivity']&&m(this['cachedActivity']),()=>{this['subscribers']['delete'](m);};}['forceFetch'](){return h(this,void 0x0,void 0x0,function*(){var m;if(this['isFetching'])return;if(!k['ConfigService']['externalUserId'])return;const p=this['fetchGeneration'];try{this['isFetching']=!0x0;const {data:q,error:r}=yield k['ApiService']['getUserActivities']();if(this['fetchGeneration']!==p)return;if(r||!q)return;this['lastFetchTimestamp']=Date['now'](),this['cachedActivity']=q,this['_totalActivities']=null!==(m=q['totalActivities'])&&void 0x0!==m?m:null,this['publish'](q);}catch(u){}finally{this['isFetching']=!0x1;}});}['fetchIfNeeded'](){return h(this,void 0x0,void 0x0,function*(){if(!k['ConfigService']['externalUserId'])return;const m=Date['now'](),p=0x3e8*this['fetchIntervalSeconds'];m-this['lastFetchTimestamp']>=p&&(yield this['forceFetch']());});}['reset'](){this['fetchGeneration']++,this['cachedActivity']=null,this['_totalActivities']=null,this['lastFetchTimestamp']=0x0;}['destroy'](){this['visibilityChangeHandler']&&(document['removeEventListener']('visibilitychange',this['visibilityChangeHandler']),this['visibilityChangeHandler']=null),this['subscribers']['clear'](),this['cachedActivity']=null,this['_totalActivities']=null,this['isFetching']=!0x1;}['loadConfiguration'](){var m;const p=null===(m=k['AppConfigurationService']['appConfigurations'])||void 0x0===m?void 0x0:m['configurations'];this['fetchIntervalSeconds']=Number(null==p?void 0x0:p['activityFetchTimeIntervalInSeconds'])||0xa8c0;}['subscribeToVisibilityChanges'](){this['visibilityChangeHandler']=()=>{!document['hidden']&&k['ConfigService']['externalUserId']&&this['fetchIfNeeded']();},document['addEventListener']('visibilitychange',this['visibilityChangeHandler']);}['publish'](m){for(const p of this['subscribers'])try{p(m);}catch(q){}}}f['UserActivityFetchManager']=l['getInstance']();},0x17f5:function(d,f){'use strict';var g=this&&this['__awaiter']||function(h,j,k,l){return new(k||(k=Promise))(function(m,p){function q(w){try{v(l['next'](w));}catch(x){p(x);}}function u(w){try{v(l['throw'](w));}catch(x){p(x);}}function v(w){var x;w['done']?m(w['value']):(x=w['value'],x instanceof k?x:new k(function(y){y(x);}))['then'](q,u);}v((l=l['apply'](h,j||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LoggerThrottle']=void 0x0,f['LoggerThrottle']=class{constructor(){this['batchIntervalMs']=0x0,this['logCount']=0x0,this['batchInterval']=null,this['batchCallback']=null,this['_maxBatchSize']=0x0,this['_minBatchSize']=0x0;}get['minBatchSize'](){return this['_minBatchSize'];}get['maxBatchSize'](){return this['_maxBatchSize'];}['updateConfiguration'](h){this['batchIntervalMs']=h['batchIntervalMs'],this['_maxBatchSize']=h['maxBatchSize'],this['_minBatchSize']=h['minBatchSize'],this['setupBatchInterval']();}['onBatchReady'](h){this['batchCallback']=h,this['batchIntervalMs']>0x0&&this['setupBatchInterval']();}['destroy'](){this['batchInterval']&&(clearInterval(this['batchInterval']),this['batchInterval']=null),this['logCount']=0x0,this['batchCallback']=null;}['setupBatchInterval'](){this['batchInterval']&&clearInterval(this['batchInterval']),this['batchInterval']=setInterval(()=>g(this,void 0x0,void 0x0,function*(){var h;try{yield null===(h=this['batchCallback'])||void 0x0===h?void 0x0:h['call'](this);}catch(j){}}),this['batchIntervalMs']);}['incrementLogCount'](){this['logCount']++;}['shouldTriggerBatch'](){return this['logCount']>=this['_maxBatchSize']&&(this['logCount']=0x0,!0x0);}};},0x182b:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoHeartbeatManager']=void 0x0;const h=g(0x7b9);f['VideoHeartbeatManager']=class{constructor(j,k=0x1e){this['intervalId']=null,this['lastHeartbeatTime']=0x0,this['cumulativeWatchTime']=0x0,this['heartbeatSequence']=0x0,this['isActive']=!0x1,this['isPaused']=!0x1,this['videoComponent']=j,this['intervalSeconds']=k;}['reset'](){this['stop']();}['start'](){if(this['isActive'])return;this['isActive']=!0x0,this['isPaused']=!0x1,this['lastHeartbeatTime']=Date['now'](),this['cumulativeWatchTime']=0x0,this['heartbeatSequence']=0x0;const j=0x3e8*this['intervalSeconds'];this['intervalId']=setInterval(()=>{this['sendHeartbeat']();},j);}['pause'](){this['isActive']&&!this['isPaused']&&(this['updateWatchTime'](),this['isPaused']=!0x0);}['resume'](){this['isActive']&&this['isPaused']&&(this['isPaused']=!0x1,this['lastHeartbeatTime']=Date['now']());}['stop'](){this['isActive']&&(this['intervalId']&&(clearInterval(this['intervalId']),this['intervalId']=null),this['isActive']=!0x1,this['isPaused']=!0x1,this['lastHeartbeatTime']=0x0,this['cumulativeWatchTime']=0x0,this['heartbeatSequence']=0x0);}['sendHeartbeat'](){if(!this['isActive']||this['isPaused'])return;this['updateWatchTime'](),this['heartbeatSequence']++;const j={'cumulative_watch_time':Math['floor'](this['cumulativeWatchTime']),'heartbeat_sequence':this['heartbeatSequence']};this['videoComponent']['event'](h['VideoAction']['VideoHeartbeat'],j);}['updateWatchTime'](){if(this['isPaused']||!this['isActive'])return;const j=Date['now'](),k=(j-this['lastHeartbeatTime'])/0x3e8;this['cumulativeWatchTime']+=k,this['lastHeartbeatTime']=j;}['getCumulativeWatchTime'](){return this['cumulativeWatchTime'];}['isHeartbeatActive'](){return this['isActive'];}['isHeartbeatPaused'](){return this['isPaused'];}};},0x183e:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetShareModal']=void 0x0;const j=g(0x1133),k=g(0x22d9),m=g(0x115),p=g(0x132a);class q extends j['BaseWidget']{constructor(){var u,v;super(),this['shareUrl']='',this['shareContainer']=k['WidgetsFactory']['create']('blaze-div'),this['shareDrawer']=k['WidgetsFactory']['create']('blaze-modal'),this['shareDrawer']['onOpen']=null===(u=this['onDarwerOpen'])||void 0x0===u?void 0x0:u['bind'](this),this['shareDrawer']['onClose']=null===(v=this['onDrawerClose'])||void 0x0===v?void 0x0:v['bind'](this);}['connectedCallback'](){return h(this,void 0x0,void 0x0,function*(){this['shareContainer']['setStyle']({'display':'flex','flexDirection':'column','height':'12rem','fontSize':'.8rem','fontFamily':p['Presets']['playerFont'],'color':'#000'}),this['render']();});}['disconnectedCallback'](){this['removeChild'](this['shareDrawer']);}['attributeChangedCallback'](u,v,w){}['onDarwerOpen'](){var u;null===(u=this['onOpen'])||void 0x0===u||u['call'](this);}['onDrawerClose'](){var u;null===(u=this['onClose'])||void 0x0===u||u['call'](this);}['open'](u){this['shareUrl']=u,this['shareDrawer']['open']();}['close'](){this['shareDrawer']['close']();}get['isOpen'](){return!0x0===this['shareDrawer']['getAttribute']('open');}['renderButtons'](){const u=k['WidgetsFactory']['create']('blaze-div');u['setStyle']({'display':'flex','gap':'1rem','padding':'1rem\x201.5rem','alignItems':'center'}),[{'type':'copy-link','onClick':()=>{(null===navigator||void 0x0===navigator?void 0x0:navigator['clipboard'])&&navigator['clipboard']['writeText'](this['shareUrl']),this['close']();}}]['forEach'](v=>{const w=k['WidgetsFactory']['create']('blaze-share-button');w['type']=v['type'],w['onClick']=x=>{var y;v['onClick'](x),null===(y=this['onClick'])||void 0x0===y||y['call'](this,w);},u['append'](w);}),this['shareContainer']['append'](u),this['shareDrawer']['init']({'anchor':'bottom','component':this['shareContainer']}),this['append'](this['shareDrawer']);}['renderTitle'](){const u=k['WidgetsFactory']['create']('blaze-div');u['setStyle']({'display':'flex','gap':'1rem','borderBottom':'solid\x201px\x20#d1d1d1','padding':'1rem\x201.5rem','alignItems':'center'});const v=k['WidgetsFactory']['create']('blaze-div');v['setStyle']({'display':'flex','alignItems':'center','justifyContent':'center','width':'3rem','height':'3rem','borderRadius':'.3rem','border':'solid\x201px\x20#d1d1d1'});const w=k['WidgetsFactory']['create']('blaze-div');w['setStyle']({'display':'block','width':'1.5rem','height':'1.5rem','cursor':'pointer','flexShrink':'0','background':'center\x20center\x20url(\x27'+m['IconGlobe']+'\x27)\x20no-repeat','backgroundSize':'contain'});const x=k['WidgetsFactory']['create']('blaze-typography');x['text']=location['origin'],v['append'](w),u['append'](v),u['append'](x),this['shareContainer']['append'](u);}['render'](){this['renderTitle'](),this['renderButtons']();}}f['BlazeWidgetShareModal']=q;},0x1868:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LoggerService']=void 0x0;const j=g(0x11c1),k=g(0x1133),m=g(0xa6c),p=g(0x26ed);class q extends(0x0,k['Singleton'])(){constructor(){super(),this['loggerManager']=new k['LoggerManager'](new m['LoggerDatabaseAdapter']());}['init'](){return h(this,void 0x0,void 0x0,function*(){var u;return yield this['loggerManager']['init'](null===(u=j['AppConfigurationService']['appConfigurations'])||void 0x0===u?void 0x0:u['sdkLoggerConfigurations']);});}['destroy'](){return h(this,void 0x0,void 0x0,function*(){return this['loggerManager']['destroy']();});}['updateConfiguration'](u){this['loggerManager']['updateConfiguration'](u);}['log'](u,v,w){return h(this,arguments,void 0x0,function*(x,y,z,A={}){switch(x){case p['LogLevel']['DEBUG']:return this['loggerManager']['log'](p['LogLevel']['DEBUG'],y,z,A);case p['LogLevel']['INFO']:return this['loggerManager']['log'](p['LogLevel']['INFO'],y,z,A);case p['LogLevel']['WARN']:return this['loggerManager']['log'](p['LogLevel']['WARN'],y,z,A);case p['LogLevel']['ERROR']:return this['loggerManager']['log'](p['LogLevel']['ERROR'],y,z,A);case p['LogLevel']['CRITICAL']:return this['loggerManager']['log'](p['LogLevel']['CRITICAL'],y,z,A);}});}}f['LoggerService']=q['getInstance']();},0x18a4:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EventService']=void 0x0;const j=g(0x1133),k=g(0x26ed);class l extends(0x0,j['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0x0,void 0x0,function*(){this['rootElement']=document['querySelector']('blaze-sdk');});}['dispatch'](m,p,q={}){var r;const u=new CustomEvent(p['toString'](),{'bubbles':!0x0,'detail':q,'cancelable':!0x0});return null===(r=m['dispatchEvent'])||void 0x0===r||r['call'](m,u),{'mainEvent':u};}['dispatchAnaltyicsEvents'](m,p){var q,r;const u=new CustomEvent(k['Delegation']['onEventTriggered'],{'bubbles':!0x0,'detail':{'eventType':m,'eventData':p},'cancelable':!0x0});return null===(r=null===(q=this['rootElement'])||void 0x0===q?void 0x0:q['dispatchEvent'])||void 0x0===r||r['call'](q,u),{'mainEvent':u};}}f['EventService']=l['getInstance']();},0x18a7:(j,k,q)=>{var w=q(0x25e1),x=Object['create']||(function(){function W(){}return function(X){if(0x1!==arguments['length'])throw new Error('Object.create\x20shim\x20only\x20accepts\x20one\x20parameter.');return W['prototype']=X,new W();};}());function z(W,X){this['name']='ParsingError',this['code']=W['code'],this['message']=X||W['message'];}function A(W){function X(Z,a0,a1,a2){return 0xe10*(0x0|Z)+0x3c*(0x0|a0)+(0x0|a1)+(0x0|a2)/0x3e8;}var Y=W['match'](/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return Y?Y[0x3]?X(Y[0x1],Y[0x2],Y[0x3]['replace'](':',''),Y[0x4]):Y[0x1]>0x3b?X(Y[0x1],Y[0x2],0x0,Y[0x4]):X(0x0,Y[0x1],Y[0x2],Y[0x4]):null;}function B(){this['values']=x(null);}function D(W,X,Y,Z){var a0=Z?W['split'](Z):[W];for(var a1 in a0)if('string'==typeof a0[a1]){var a2=a0[a1]['split'](Y);0x2===a2['length']&&X(a2[0x0]['trim'](),a2[0x1]['trim']());}}function F(W,X,Y){var Z=W;function a0(){var a2=A(W);if(null===a2)throw new z(z['Errors']['BadTimeStamp'],'Malformed\x20timestamp:\x20'+Z);return W=W['replace'](/^[^\sa-zA-Z-]+/,''),a2;}function a1(){W=W['replace'](/^\s+/,'');}if(a1(),X['startTime']=a0(),a1(),'-->'!==W['substr'](0x0,0x3))throw new z(z['Errors']['BadTimeStamp'],'Malformed\x20time\x20stamp\x20(time\x20stamps\x20must\x20be\x20separated\x20by\x20\x27-->\x27):\x20'+Z);W=W['substr'](0x3),a1(),X['endTime']=a0(),a1(),function(a2,a3){var a4=new B();D(a2,function(a5,a6){switch(a5){case'region':for(var a7=Y['length']-0x1;a7>=0x0;a7--)if(Y[a7]['id']===a6){a4['set'](a5,Y[a7]['region']);break;}break;case'vertical':a4['alt'](a5,a6,['rl','lr']);break;case'line':var a8=a6['split'](','),a9=a8[0x0];a4['integer'](a5,a9),a4['percent'](a5,a9)&&a4['set']('snapToLines',!0x1),a4['alt'](a5,a9,['auto']),0x2===a8['length']&&a4['alt']('lineAlign',a8[0x1],['start','center','end']);break;case'position':a8=a6['split'](','),a4['percent'](a5,a8[0x0]),0x2===a8['length']&&a4['alt']('positionAlign',a8[0x1],['start','center','end']);break;case'size':a4['percent'](a5,a6);break;case'align':a4['alt'](a5,a6,['start','center','end','left','right']);}},/:/,/\s/),a3['region']=a4['get']('region',null),a3['vertical']=a4['get']('vertical','');try{a3['line']=a4['get']('line','auto');}catch(a5){}a3['lineAlign']=a4['get']('lineAlign','start'),a3['snapToLines']=a4['get']('snapToLines',!0x0),a3['size']=a4['get']('size',0x64);try{a3['align']=a4['get']('align','center');}catch(a6){a3['align']=a4['get']('align','middle');}try{a3['position']=a4['get']('position','auto');}catch(a7){a3['position']=a4['get']('position',{'start':0x0,'left':0x0,'center':0x32,'middle':0x32,'end':0x64,'right':0x64},a3['align']);}a3['positionAlign']=a4['get']('positionAlign',{'start':'start','left':'start','center':'center','middle':'center','end':'end','right':'end'},a3['align']);}(W,X);}z['prototype']=x(Error['prototype']),z['prototype']['constructor']=z,z['Errors']={'BadSignature':{'code':0x0,'message':'Malformed\x20WebVTT\x20signature.'},'BadTimeStamp':{'code':0x1,'message':'Malformed\x20time\x20stamp.'}},B['prototype']={'set':function(W,X){this['get'](W)||''===X||(this['values'][W]=X);},'get':function(W,X,Y){return Y?this['has'](W)?this['values'][W]:X[Y]:this['has'](W)?this['values'][W]:X;},'has':function(W){return W in this['values'];},'alt':function(W,X,Y){for(var Z=0x0;Z<Y['length'];++Z)if(X===Y[Z]){this['set'](W,X);break;}},'integer':function(W,X){/^-?\d+$/['test'](X)&&this['set'](W,parseInt(X,0xa));},'percent':function(W,X){return!!(X['match'](/^([\d]{1,3})(\.[\d]*)?%$/)&&(X=parseFloat(X))>=0x0&&X<=0x64)&&(this['set'](W,X),!0x0);}};var G=w['createElement']&&w['createElement']('textarea'),H={'c':'span','i':'i','b':'b','u':'u','ruby':'ruby','rt':'rt','v':'span','lang':'span'},I={'white':'rgba(255,255,255,1)','lime':'rgba(0,255,0,1)','cyan':'rgba(0,255,255,1)','red':'rgba(255,0,0,1)','yellow':'rgba(255,255,0,1)','magenta':'rgba(255,0,255,1)','blue':'rgba(0,0,255,1)','black':'rgba(0,0,0,1)'},J={'v':'title','lang':'lang'},K={'rt':'ruby'};function L(W,X){function Y(){if(!X)return null;var aa,ab=X['match'](/^([^<]*)(<[^>]*>?)?/);return aa=ab[0x1]?ab[0x1]:ab[0x2],X=X['substr'](aa['length']),aa;}function Z(aa){return G['innerHTML']=aa,aa=G['textContent'],G['textContent']='',aa;}function a0(aa,ab){return!K[ab['localName']]||K[ab['localName']]===aa['localName'];}function a1(aa,ab){var ac=H[aa];if(!ac)return null;var ad=W['document']['createElement'](ac),ae=J[aa];return ae&&ab&&(ad[ae]=ab['trim']()),ad;}for(var a2,a3=W['document']['createElement']('div'),a4=a3,a5=[];null!==(a2=Y());)if('<'!==a2[0x0])a4['appendChild'](W['document']['createTextNode'](Z(a2)));else{if('/'===a2[0x1]){a5['length']&&a5[a5['length']-0x1]===a2['substr'](0x2)['replace']('>','')&&(a5['pop'](),a4=a4['parentNode']);continue;}var a6,a7=A(a2['substr'](0x1,a2['length']-0x2));if(a7){a6=W['document']['createProcessingInstruction']('timestamp',a7),a4['appendChild'](a6);continue;}var a8=a2['match'](/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!a8)continue;if(!(a6=a1(a8[0x1],a8[0x3])))continue;if(!a0(a4,a6))continue;if(a8[0x2]){var a9=a8[0x2]['split']('.');a9['forEach'](function(aa){var ab=/^bg_/['test'](aa),ac=ab?aa['slice'](0x3):aa;if(I['hasOwnProperty'](ac)){var ad=ab?'background-color':'color',ae=I[ac];a6['style'][ad]=ae;}}),a6['className']=a9['join']('\x20');}a5['push'](a8[0x1]),a4['appendChild'](a6),a4=a6;}return a3;}var M=[[0x5be,0x5be],[0x5c0,0x5c0],[0x5c3,0x5c3],[0x5c6,0x5c6],[0x5d0,0x5ea],[0x5f0,0x5f4],[0x608,0x608],[0x60b,0x60b],[0x60d,0x60d],[0x61b,0x61b],[0x61e,0x64a],[0x66d,0x66f],[0x671,0x6d5],[0x6e5,0x6e6],[0x6ee,0x6ef],[0x6fa,0x70d],[0x70f,0x710],[0x712,0x72f],[0x74d,0x7a5],[0x7b1,0x7b1],[0x7c0,0x7ea],[0x7f4,0x7f5],[0x7fa,0x7fa],[0x800,0x815],[0x81a,0x81a],[0x824,0x824],[0x828,0x828],[0x830,0x83e],[0x840,0x858],[0x85e,0x85e],[0x8a0,0x8a0],[0x8a2,0x8ac],[0x200f,0x200f],[0xfb1d,0xfb1d],[0xfb1f,0xfb28],[0xfb2a,0xfb36],[0xfb38,0xfb3c],[0xfb3e,0xfb3e],[0xfb40,0xfb41],[0xfb43,0xfb44],[0xfb46,0xfbc1],[0xfbd3,0xfd3d],[0xfd50,0xfd8f],[0xfd92,0xfdc7],[0xfdf0,0xfdfc],[0xfe70,0xfe74],[0xfe76,0xfefc],[0x10800,0x10805],[0x10808,0x10808],[0x1080a,0x10835],[0x10837,0x10838],[0x1083c,0x1083c],[0x1083f,0x10855],[0x10857,0x1085f],[0x10900,0x1091b],[0x10920,0x10939],[0x1093f,0x1093f],[0x10980,0x109b7],[0x109be,0x109bf],[0x10a00,0x10a00],[0x10a10,0x10a13],[0x10a15,0x10a17],[0x10a19,0x10a33],[0x10a40,0x10a47],[0x10a50,0x10a58],[0x10a60,0x10a7f],[0x10b00,0x10b35],[0x10b40,0x10b55],[0x10b58,0x10b72],[0x10b78,0x10b7f],[0x10c00,0x10c48],[0x1ee00,0x1ee03],[0x1ee05,0x1ee1f],[0x1ee21,0x1ee22],[0x1ee24,0x1ee24],[0x1ee27,0x1ee27],[0x1ee29,0x1ee32],[0x1ee34,0x1ee37],[0x1ee39,0x1ee39],[0x1ee3b,0x1ee3b],[0x1ee42,0x1ee42],[0x1ee47,0x1ee47],[0x1ee49,0x1ee49],[0x1ee4b,0x1ee4b],[0x1ee4d,0x1ee4f],[0x1ee51,0x1ee52],[0x1ee54,0x1ee54],[0x1ee57,0x1ee57],[0x1ee59,0x1ee59],[0x1ee5b,0x1ee5b],[0x1ee5d,0x1ee5d],[0x1ee5f,0x1ee5f],[0x1ee61,0x1ee62],[0x1ee64,0x1ee64],[0x1ee67,0x1ee6a],[0x1ee6c,0x1ee72],[0x1ee74,0x1ee77],[0x1ee79,0x1ee7c],[0x1ee7e,0x1ee7e],[0x1ee80,0x1ee89],[0x1ee8b,0x1ee9b],[0x1eea1,0x1eea3],[0x1eea5,0x1eea9],[0x1eeab,0x1eebb],[0x10fffd,0x10fffd]];function N(W){for(var X=0x0;X<M['length'];X++){var Y=M[X];if(W>=Y[0x0]&&W<=Y[0x1])return!0x0;}return!0x1;}function O(W){var X=[],Y='';if(!W||!W['childNodes'])return'ltr';function Z(a2,a3){for(var a4=a3['childNodes']['length']-0x1;a4>=0x0;a4--)a2['push'](a3['childNodes'][a4]);}function a0(a2){if(!a2||!a2['length'])return null;var a3=a2['pop'](),a4=a3['textContent']||a3['innerText'];if(a4){var a5=a4['match'](/^.*(\n|\r)/);return a5?(a2['length']=0x0,a5[0x0]):a4;}return'ruby'===a3['tagName']?a0(a2):a3['childNodes']?(Z(a2,a3),a0(a2)):void 0x0;}for(Z(X,W);Y=a0(X);)for(var a1=0x0;a1<Y['length'];a1++)if(N(Y['charCodeAt'](a1)))return'rtl';return'ltr';}function P(){}function Q(W,X,Y){P['call'](this),this['cue']=X,this['cueDiv']=L(W,X['text']);var Z={'color':'rgba(255,\x20255,\x20255,\x201)','backgroundColor':'rgba(0,\x200,\x200,\x200.8)','position':'relative','left':0x0,'right':0x0,'top':0x0,'bottom':0x0,'display':'inline','writingMode':''===X['vertical']?'horizontal-tb':'lr'===X['vertical']?'vertical-lr':'vertical-rl','unicodeBidi':'plaintext'};this['applyStyles'](Z,this['cueDiv']),this['div']=W['document']['createElement']('div'),Z={'direction':O(this['cueDiv']),'writingMode':''===X['vertical']?'horizontal-tb':'lr'===X['vertical']?'vertical-lr':'vertical-rl','unicodeBidi':'plaintext','textAlign':'middle'===X['align']?'center':X['align'],'font':Y['font'],'whiteSpace':'pre-line','position':'absolute'},this['applyStyles'](Z),this['div']['appendChild'](this['cueDiv']);var a0=0x0;switch(X['positionAlign']){case'start':case'line-left':a0=X['position'];break;case'center':a0=X['position']-X['size']/0x2;break;case'end':case'line-right':a0=X['position']-X['size'];}''===X['vertical']?this['applyStyles']({'left':this['formatStyle'](a0,'%'),'width':this['formatStyle'](X['size'],'%')}):this['applyStyles']({'top':this['formatStyle'](a0,'%'),'height':this['formatStyle'](X['size'],'%')}),this['move']=function(a1){this['applyStyles']({'top':this['formatStyle'](a1['top'],'px'),'bottom':this['formatStyle'](a1['bottom'],'px'),'left':this['formatStyle'](a1['left'],'px'),'right':this['formatStyle'](a1['right'],'px'),'height':this['formatStyle'](a1['height'],'px'),'width':this['formatStyle'](a1['width'],'px')});};}function R(W){var X,Y,Z,a0;if(W['div']){Y=W['div']['offsetHeight'],Z=W['div']['offsetWidth'],a0=W['div']['offsetTop'];var a1=(a1=W['div']['childNodes'])&&(a1=a1[0x0])&&a1['getClientRects']&&a1['getClientRects']();W=W['div']['getBoundingClientRect'](),X=a1?Math['max'](a1[0x0]&&a1[0x0]['height']||0x0,W['height']/a1['length']):0x0;}this['left']=W['left'],this['right']=W['right'],this['top']=W['top']||a0,this['height']=W['height']||Y,this['bottom']=W['bottom']||a0+(W['height']||Y),this['width']=W['width']||Z,this['lineHeight']=void 0x0!==X?X:W['lineHeight'];}function U(W,X,Y,Z){var a0=new R(X),a1=X['cue'],a2=function(ab){if('number'==typeof ab['line']&&(ab['snapToLines']||ab['line']>=0x0&&ab['line']<=0x64))return ab['line'];if(!ab['track']||!ab['track']['textTrackList']||!ab['track']['textTrackList']['mediaElement'])return-0x1;for(var ac=ab['track'],ad=ac['textTrackList'],ae=0x0,af=0x0;af<ad['length']&&ad[af]!==ac;af++)'showing'===ad[af]['mode']&&ae++;return-0x1*++ae;}(a1),a3=[];if(a1['snapToLines']){var a4;switch(a1['vertical']){case'':a3=['+y','-y'],a4='height';break;case'rl':a3=['+x','-x'],a4='width';break;case'lr':a3=['-x','+x'],a4='width';}var a5=a0['lineHeight'],a6=a5*Math['round'](a2),a7=Y[a4]+a5,a8=a3[0x0];Math['abs'](a6)>a7&&(a6=a6<0x0?-0x1:0x1,a6*=Math['ceil'](a7/a5)*a5),a2<0x0&&(a6+=''===a1['vertical']?Y['height']:Y['width'],a3=a3['reverse']()),a0['move'](a8,a6);}else{var a9=a0['lineHeight']/Y['height']*0x64;switch(a1['lineAlign']){case'center':a2-=a9/0x2;break;case'end':a2-=a9;}switch(a1['vertical']){case'':X['applyStyles']({'top':X['formatStyle'](a2,'%')});break;case'rl':X['applyStyles']({'left':X['formatStyle'](a2,'%')});break;case'lr':X['applyStyles']({'right':X['formatStyle'](a2,'%')});}a3=['+y','-x','+x','-y'],a0=new R(X);}var aa=function(ab,ac){for(var ad,ae=new R(ab),af=0x1,ag=0x0;ag<ac['length'];ag++){for(;ab['overlapsOppositeAxis'](Y,ac[ag])||ab['within'](Y)&&ab['overlapsAny'](Z);)ab['move'](ac[ag]);if(ab['within'](Y))return ab;var ah=ab['intersectPercentage'](Y);af>ah&&(ad=new R(ab),af=ah),ab=new R(ae);}return ad||ae;}(a0,a3);X['move'](aa['toCSSCompatValues'](Y));}function V(){}P['prototype']['applyStyles']=function(W,X){for(var Y in(X=X||this['div'],W))W['hasOwnProperty'](Y)&&(X['style'][Y]=W[Y]);},P['prototype']['formatStyle']=function(W,X){return 0x0===W?0x0:W+X;},Q['prototype']=x(P['prototype']),Q['prototype']['constructor']=Q,R['prototype']['move']=function(W,X){switch(X=void 0x0!==X?X:this['lineHeight'],W){case'+x':this['left']+=X,this['right']+=X;break;case'-x':this['left']-=X,this['right']-=X;break;case'+y':this['top']+=X,this['bottom']+=X;break;case'-y':this['top']-=X,this['bottom']-=X;}},R['prototype']['overlaps']=function(W){return this['left']<W['right']&&this['right']>W['left']&&this['top']<W['bottom']&&this['bottom']>W['top'];},R['prototype']['overlapsAny']=function(W){for(var X=0x0;X<W['length'];X++)if(this['overlaps'](W[X]))return!0x0;return!0x1;},R['prototype']['within']=function(W){return this['top']>=W['top']&&this['bottom']<=W['bottom']&&this['left']>=W['left']&&this['right']<=W['right'];},R['prototype']['overlapsOppositeAxis']=function(W,X){switch(X){case'+x':return this['left']<W['left'];case'-x':return this['right']>W['right'];case'+y':return this['top']<W['top'];case'-y':return this['bottom']>W['bottom'];}},R['prototype']['intersectPercentage']=function(W){return Math['max'](0x0,Math['min'](this['right'],W['right'])-Math['max'](this['left'],W['left']))*Math['max'](0x0,Math['min'](this['bottom'],W['bottom'])-Math['max'](this['top'],W['top']))/(this['height']*this['width']);},R['prototype']['toCSSCompatValues']=function(W){return{'top':this['top']-W['top'],'bottom':W['bottom']-this['bottom'],'left':this['left']-W['left'],'right':W['right']-this['right'],'height':this['height'],'width':this['width']};},R['getSimpleBoxPosition']=function(W){var X=W['div']?W['div']['offsetHeight']:W['tagName']?W['offsetHeight']:0x0,Y=W['div']?W['div']['offsetWidth']:W['tagName']?W['offsetWidth']:0x0,Z=W['div']?W['div']['offsetTop']:W['tagName']?W['offsetTop']:0x0;return{'left':(W=W['div']?W['div']['getBoundingClientRect']():W['tagName']?W['getBoundingClientRect']():W)['left'],'right':W['right'],'top':W['top']||Z,'height':W['height']||X,'bottom':W['bottom']||Z+(W['height']||X),'width':W['width']||Y};},V['StringDecoder']=function(){return{'decode':function(W){if(!W)return'';if('string'!=typeof W)throw new Error('Error\x20-\x20expected\x20string\x20data.');return decodeURIComponent(encodeURIComponent(W));}};},V['convertCueToDOMTree']=function(W,X){return W&&X?L(W,X):null;},V['processCues']=function(W,X,Y){if(!W||!X||!Y)return null;for(;Y['firstChild'];)Y['removeChild'](Y['firstChild']);var Z=W['document']['createElement']('div');if(Z['style']['position']='absolute',Z['style']['left']='0',Z['style']['right']='0',Z['style']['top']='0',Z['style']['bottom']='0',Z['style']['margin']='1.5%',Y['appendChild'](Z),function(a4){for(var a5=0x0;a5<a4['length'];a5++)if(a4[a5]['hasBeenReset']||!a4[a5]['displayState'])return!0x0;return!0x1;}(X)){var a0=[],a1=R['getSimpleBoxPosition'](Z),a2={'font':Math['round'](0.05*a1['height']*0x64)/0x64+'px\x20sans-serif'};!(function(){for(var a4,a5,a6=0x0;a6<X['length'];a6++)a5=X[a6],a4=new Q(W,a5,a2),Z['appendChild'](a4['div']),U(0x0,a4,a1,a0),a5['displayState']=a4['div'],a0['push'](R['getSimpleBoxPosition'](a4));}());}else{for(var a3=0x0;a3<X['length'];a3++)Z['appendChild'](X[a3]['displayState']);}},V['Parser']=function(W,X,Y){Y||(Y=X,X={}),X||(X={}),this['window']=W,this['vttjs']=X,this['state']='INITIAL',this['buffer']='',this['decoder']=Y||new TextDecoder('utf8'),this['regionList']=[];},V['Parser']['prototype']={'reportOrThrowError':function(W){if(!(W instanceof z))throw W;this['onparsingerror']&&this['onparsingerror'](W);},'parse':function(W){var X=this;function Y(){for(var a4=X['buffer'],a5=0x0;a5<a4['length']&&'\x0d'!==a4[a5]&&'\x0a'!==a4[a5];)++a5;var a6=a4['substr'](0x0,a5);return'\x0d'===a4[a5]&&++a5,'\x0a'===a4[a5]&&++a5,X['buffer']=a4['substr'](a5),a6;}function Z(a4){a4['match'](/X-TIMESTAMP-MAP/)?D(a4,function(a5,a6){'X-TIMESTAMP-MAP'===a5&&function(a7){var a8=new B();D(a7,function(a9,aa){switch(a9){case'MPEGT':a8['integer'](a9+'S',aa);break;case'LOCA':a8['set'](a9+'L',A(aa));}},/[^\d]:/,/,/),X['ontimestampmap']&&X['ontimestampmap']({'MPEGTS':a8['get']('MPEGTS'),'LOCAL':a8['get']('LOCAL')});}(a6);},/=/):D(a4,function(a5,a6){'Region'===a5&&function(a7){var a8=new B();if(D(a7,function(aa,ab){switch(aa){case'id':a8['set'](aa,ab);break;case'width':a8['percent'](aa,ab);break;case'lines':a8['integer'](aa,ab);break;case'regionanchor':case'viewportanchor':var ac=ab['split'](',');if(0x2!==ac['length'])break;var ad=new B();if(ad['percent']('x',ac[0x0]),ad['percent']('y',ac[0x1]),!ad['has']('x')||!ad['has']('y'))break;a8['set'](aa+'X',ad['get']('x')),a8['set'](aa+'Y',ad['get']('y'));break;case'scroll':a8['alt'](aa,ab,['up']);}},/=/,/\s/),a8['has']('id')){var a9=new(X['vttjs']['VTTRegion']||X['window']['VTTRegion'])();a9['width']=a8['get']('width',0x64),a9['lines']=a8['get']('lines',0x3),a9['regionAnchorX']=a8['get']('regionanchorX',0x0),a9['regionAnchorY']=a8['get']('regionanchorY',0x64),a9['viewportAnchorX']=a8['get']('viewportanchorX',0x0),a9['viewportAnchorY']=a8['get']('viewportanchorY',0x64),a9['scroll']=a8['get']('scroll',''),X['onregion']&&X['onregion'](a9),X['regionList']['push']({'id':a8['get']('id'),'region':a9});}}(a6);},/:/);}W&&(X['buffer']+=X['decoder']['decode'](W,{'stream':!0x0}));try{var a0;if('INITIAL'===X['state']){if(!/\r\n|\n/['test'](X['buffer']))return this;var a1=(a0=Y())['match'](/^WEBVTT([ \t].*)?$/);if(!a1||!a1[0x0])throw new z(z['Errors']['BadSignature']);X['state']='HEADER';}for(var a2=!0x1;X['buffer'];){if(!/\r\n|\n/['test'](X['buffer']))return this;switch(a2?a2=!0x1:a0=Y(),X['state']){case'HEADER':/:/['test'](a0)?Z(a0):a0||(X['state']='ID');continue;case'NOTE':a0||(X['state']='ID');continue;case'ID':if(/^NOTE($|[ \t])/['test'](a0)){X['state']='NOTE';break;}if(!a0)continue;X['cue']=new(X['vttjs']['VTTCue']||X['window']['VTTCue'])(0x0,0x0,'');try{X['cue']['align']='center';}catch(a4){X['cue']['align']='middle';}if(X['state']='CUE',-0x1===a0['indexOf']('-->')){X['cue']['id']=a0;continue;}case'CUE':try{F(a0,X['cue'],X['regionList']);}catch(a5){X['reportOrThrowError'](a5),X['cue']=null,X['state']='BADCUE';continue;}X['state']='CUETEXT';continue;case'CUETEXT':var a3=-0x1!==a0['indexOf']('-->');if(!a0||a3&&(a2=!0x0)){X['oncue']&&X['oncue'](X['cue']),X['cue']=null,X['state']='ID';continue;}X['cue']['text']&&(X['cue']['text']+='\x0a'),X['cue']['text']+=a0['replace'](/\u2028/g,'\x0a')['replace'](/u2029/g,'\x0a');continue;case'BADCUE':a0||(X['state']='ID');continue;}}}catch(a6){X['reportOrThrowError'](a6),'CUETEXT'===X['state']&&X['cue']&&X['oncue']&&X['oncue'](X['cue']),X['cue']=null,X['state']='INITIAL'===X['state']?'BADWEBVTT':'BADCUE';}return this;},'flush':function(){var W=this;try{if(W['buffer']+=W['decoder']['decode'](),(W['cue']||'HEADER'===W['state'])&&(W['buffer']+='\x0a\x0a',W['parse']()),'INITIAL'===W['state'])throw new z(z['Errors']['BadSignature']);}catch(X){W['reportOrThrowError'](X);}return W['onflush']&&W['onflush'](),this;}},j['exports']=V;},0x191a:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1921:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['tryGetLocalStorageItem']=function(g,h,j='warn'){try{return localStorage['getItem'](g);}catch(k){return null;}},f['trySetLocalStorageItem']=function(g,h,j,k='warn'){try{localStorage['setItem'](g,h);}catch(l){}},f['tryRemoveLocalStorageItem']=function(g,h,j='warn'){try{localStorage['removeItem'](g);}catch(k){}};},0x1932:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x7ed),f),j(g(0x6a3),f),j(g(0x7b9),f),j(g(0x3c1),f),j(g(0x24f0),f),j(g(0x1054),f),j(g(0x23b6),f),j(g(0x2152),f),j(g(0x238c),f),j(g(0x1d9),f),j(g(0x1766),f),j(g(0xea7),f),j(g(0x23bc),f);},0x19a9:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetVastAd']=void 0x0;const m=j(0x1699),p=j(0x1932),q=j(0x26ed),u=j(0x11c1),v=j(0x2432),w=j(0xc8e);let x=window['innerWidth'];class y extends HTMLElement{get['googleIMA'](){var z;return null===(z=window['google'])||void 0x0===z?void 0x0:z['ima'];}constructor(z,A,B=u['VideoPlayerService']){super(),this['contentType']=z,this['getReferringObject']=A,this['videoPlayerState']=B,this['isInitialized']=!0x1,this['adContainer']=document['createElement']('div'),this['adLoaderContainer']=new m['BlazeLoader'](),this['currentAdTag']='',this['boundedOnBlur']=this['onBlur']['bind'](this),this['boundedOnFocus']=this['onFocus']['bind'](this),this['boundedOnVisibilityChange']=this['onVisibilityChange']['bind'](this),this['boundedOnWindowResize']=this['onWindowResize']['bind'](this),this['initializeGoogleIma']();}['initializeGoogleIma'](){this['googleIMA']&&!this['isInitialized']&&(this['isInitialized']=!0x0,this['googleIMA']['settings']['setDisableCustomPlaybackForIOS10Plus'](!0x0),(0x0,v['mergeStyles'])(this['adContainer'],{'position':'absolute','width':'100%','background':'black','height':'100%','top':'0','left':'0','display':'none','justifyContent':'center','zIndex':'100000'}),(0x0,v['mergeStyles'])(this['adLoaderContainer'],{'margin':'auto','position':'absolute','top':'50%','left':'calc(50%\x20-\x2020px)','transform':'translate(-50%,\x20-50%)','zIndex':'100001'}));}['buildImaUrl'](z,A,B,C){return k(this,void 0x0,void 0x0,function*(){var D,E;if('IMA'!==z['type'])return'';const F=(null===(E=null===(D=u['ConfigService']['imaAdHandler'])||void 0x0===D?void 0x0:D['provideAdExtraParams'])||void 0x0===E?void 0x0:E['call'](D,A))||{},G=new URL(z['tag']);G['searchParams']['set']('url',document['location']['href']),G['searchParams']['set']('vpmute',this['videoPlayerState']['isMuted']?'1':'0'),G['searchParams']['set']('plcmt','1'),G['searchParams']['set']('vpos','midroll'),G['searchParams']['set']('vpa','click');const H=null!=C?C:yield(0x0,w['getVideoDuration'])(this['videoElement'],this['videoUrl'])['catch'](()=>0x0);this['setSearchParamIfNotNullOrZero'](G,'content_len',H),G['searchParams']['set']('language',navigator['language']);for(const I in F)G['searchParams']['set'](I,F[I]);switch(this['buildAndSetCustParams'](z,G),null==B||B(G),z['adProvider']){case'Aniview':this['addAniviewMacrosToUrl'](G);break;case'GoogleAds':this['addGoogleAdsMacrosToUrl'](G);}return G['toString']();});}['cleanupAdSession'](){var z;this['adsManager']&&(this['adsManager']['destroy'](),this['adsManager']=void 0x0),this['adsLoader']&&(this['adsLoader']['contentComplete'](),this['adsLoader']=void 0x0),this['adDisplayContainer']=void 0x0,this['adContainer']&&(this['adContainer']['innerHTML']='',this['adContainer']['style']['display']='none'),null===(z=this['adContainer'])||void 0x0===z||z['removeEventListener']('click',this['onAdClick']),window['removeEventListener']('blur',this['boundedOnBlur']),window['removeEventListener']('focus',this['boundedOnFocus']),document['removeEventListener']('visibilitychange',this['boundedOnVisibilityChange']),window['removeEventListener']('resize',this['boundedOnWindowResize']);}['startAd'](z){return k(this,void 0x0,void 0x0,function*(){var A,B,C,D,E;const {videoElement:F,adInfo:G,contentExtraInfo:H,addCustomParams:I,addExtraAnalyticsParams:J,videoUrl:K,videoDuration:L}=z;if(this['initializeGoogleIma'](),this['currentAddExtraAnalyticsParams']=J,this['currentAdInfo']=G,!this['googleIMA'])return!0x1;this['appendChild'](this['adLoaderContainer']),this['appendChild'](this['adContainer']),x=window['innerWidth'],this['adContainer']['style']['display']='flex',this['videoElement']=F,this['videoUrl']=K,this['adDisplayContainer']=new this['googleIMA']['AdDisplayContainer'](this['adContainer'],this['videoElement']),this['adsLoader']=new this['googleIMA']['AdsLoader'](this['adDisplayContainer']),null===(A=this['adsLoader'])||void 0x0===A||A['addEventListener'](this['googleIMA']['AdsManagerLoadedEvent']['Type']['ADS_MANAGER_LOADED'],O=>this['onAdsManagerLoaded'](O),!0x1),null===(B=this['adsLoader'])||void 0x0===B||B['addEventListener'](this['googleIMA']['AdErrorEvent']['Type']['AD_ERROR'],this['onAdError']['bind'](this),!0x1),null===(C=this['adsLoader'])||void 0x0===C||C['getSettings']()['setVpaidMode'](google['ima']['ImaSdkSettings']['VpaidMode']['INSECURE']);const M=yield this['buildImaUrl'](G,H,I,L);'Aniview'===G['adProvider']&&(yield u['AniviewCookieSyncService']['waitUntilReady']());const N=new this['googleIMA']['AdsRequest']();return N['adTagUrl']=M,this['currentAdTag']=M,N['linearAdSlotWidth']=this['videoElement']['clientWidth'],N['linearAdSlotHeight']=this['videoElement']['clientHeight'],N['nonLinearAdSlotWidth']=this['videoElement']['clientWidth'],N['nonLinearAdSlotHeight']=(null!==(D=this['videoElement']['clientHeight'])&&void 0x0!==D?D:0x0)/0x3,null===(E=this['adsLoader'])||void 0x0===E||E['requestAds'](N),this['onAdEvent']({'type':p['ImaAdAction']['REQUESTED']}),!0x0;});}['onAdsManagerLoaded'](z){const A=new this['googleIMA']['AdsRenderingSettings']();if(A['restoreCustomPlaybackStateOnAdBreakComplete']=!0x0,this['adsManager']=z['getAdsManager'](this['videoElement'],A),!this['adsManager'])return;this['adsManager']['addEventListener'](this['googleIMA']['AdErrorEvent']['Type']['AD_ERROR'],this['onAdError']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['CONTENT_PAUSE_REQUESTED'],this['onContentPauseRequested']['bind'](this)),this['adsManager']['addEventListener'](this['googleIMA']['AdEvent']['Type']['CONTENT_RESUME_REQUESTED'],this['onContentResumeRequested']['bind'](this));const B=this['onAdEvent']['bind'](this);for(const C of[this['googleIMA']['AdEvent']['Type']['ALL_ADS_COMPLETED'],this['googleIMA']['AdEvent']['Type']['CLICK'],this['googleIMA']['AdEvent']['Type']['COMPLETE'],this['googleIMA']['AdEvent']['Type']['LOADED'],this['googleIMA']['AdEvent']['Type']['PAUSED'],this['googleIMA']['AdEvent']['Type']['RESUMED'],this['googleIMA']['AdEvent']['Type']['SKIPPED'],this['googleIMA']['AdEvent']['Type']['STARTED'],this['googleIMA']['AdEvent']['Type']['FIRST_QUARTILE'],this['googleIMA']['AdEvent']['Type']['MIDPOINT'],this['googleIMA']['AdEvent']['Type']['THIRD_QUARTILE']])this['adsManager']['addEventListener'](C,B);this['loadAds']();}['loadAds'](){if(!this['adsManager']||!this['adDisplayContainer']||!this['videoElement'])return;this['adDisplayContainer']['initialize']();const z=this['videoElement']['getBoundingClientRect'](),A=z['width'],B=z['height'];try{this['adsManager']['init'](A,B,this['googleIMA']['ViewMode']['NORMAL']),this['adsManager']['start']();}catch(C){this['onContentResumeRequested']();}}['onAdEvent'](z){var A,B,C,D;const E={[this['googleIMA']['AdEvent']['Type']['ALL_ADS_COMPLETED']]:p['ImaAdAction']['ALL_ADS_COMPLETED'],[this['googleIMA']['AdEvent']['Type']['CLICK']]:p['ImaAdAction']['CLICK'],[this['googleIMA']['AdEvent']['Type']['COMPLETE']]:p['ImaAdAction']['COMPLETED'],[this['googleIMA']['AdEvent']['Type']['LOADED']]:p['ImaAdAction']['LOADED'],[this['googleIMA']['AdEvent']['Type']['PAUSED']]:p['ImaAdAction']['PAUSED'],[this['googleIMA']['AdEvent']['Type']['RESUMED']]:p['ImaAdAction']['RESUMED'],[this['googleIMA']['AdEvent']['Type']['SKIPPED']]:p['ImaAdAction']['SKIPPED'],[this['googleIMA']['AdEvent']['Type']['STARTED']]:p['ImaAdAction']['STARTED'],[this['googleIMA']['AdEvent']['Type']['FIRST_QUARTILE']]:p['ImaAdAction']['FIRST_QUARTILE'],[this['googleIMA']['AdEvent']['Type']['MIDPOINT']]:p['ImaAdAction']['MIDPOINT'],[this['googleIMA']['AdEvent']['Type']['THIRD_QUARTILE']]:p['ImaAdAction']['THIRD_QUARTILE'],[p['ImaAdAction']['REQUESTED']]:p['ImaAdAction']['REQUESTED']};let F={};if('object'==typeof z&&z&&'getAd'in z&&'function'==typeof z['getAd']&&(F=z['getAd']()['data']),'object'==typeof z&&z&&'type'in z){const G=E[z['type']];u['AnalyticsService']['pushImaAdEvent'](G,Object['assign']({'ad_id':F['adId'],'ad_title':F['title'],'ad_description':F['description'],'ad_system':F['adSystem'],'ad_duration':F['duration'],'skippable':F['skippable'],'skip_time_offset':F['skipTimeOffset'],'advertiser_name':F['advertiserName'],'ima_url':this['currentAdTag'],'audio_state':this['videoPlayerState']['isMuted']?'muted':'unmuted','content_type':this['contentType'],'ima_ad_provider':null===(A=this['currentAdInfo'])||void 0x0===A?void 0x0:A['adProvider'],'backoffice_campaign_data':(null===(B=this['currentAdInfo'])||void 0x0===B?void 0x0:B['backofficeCampaignData'])||''},null===(C=this['currentAddExtraAnalyticsParams'])||void 0x0===C?void 0x0:C['call'](this)),void 0x0,null===(D=this['getReferringObject'])||void 0x0===D?void 0x0:D['call'](this));}}['onAdError'](){this['onContentResumeRequested']();}['onAdClick'](){setTimeout(()=>{window['focus']();},0x3e8);}['onContentPauseRequested'](){this['adLoaderContainer']['remove'](),this['dispatchEvent'](new CustomEvent(q['InternalEvent']['AD_STARTED'],{'bubbles':!0x0,'composed':!0x0})),this['adContainer']['addEventListener']('click',this['onAdClick']),window['addEventListener']('blur',this['boundedOnBlur']),window['addEventListener']('focus',this['boundedOnFocus']),document['addEventListener']('visibilitychange',this['boundedOnVisibilityChange']),window['addEventListener']('resize',this['boundedOnWindowResize']);}['onContentResumeRequested'](){this['adLoaderContainer']['remove'](),this['dispatchEvent'](new CustomEvent(q['InternalEvent']['AD_ENDED'],{'bubbles':!0x0,'composed':!0x0})),this['cleanupAdSession']();}['onBlur'](){var z;null===(z=this['adsManager'])||void 0x0===z||z['pause']();}['onFocus'](){var z;null===(z=this['adsManager'])||void 0x0===z||z['resume']();}['onVisibilityChange'](){var z,A;'visible'===document['visibilityState']?null===(z=this['adsManager'])||void 0x0===z||z['resume']():null===(A=this['adsManager'])||void 0x0===A||A['pause']();}['onWindowResize'](){x!==window['innerWidth']&&(x=window['innerWidth'],this['resizeToVideoElement']());}['setSearchParamIfNotNullOrZero'](z,A,B){'number'==typeof B&&(B=B['toString']()),B&&z['searchParams']['set'](A,B);}['addAniviewMacrosToUrl'](z){var A,B;this['setSearchParamIfNotNullOrZero'](z,'AV_WIDTH',null===(A=this['videoElement'])||void 0x0===A?void 0x0:A['clientWidth']),this['setSearchParamIfNotNullOrZero'](z,'AV_HEIGHT',null===(B=this['videoElement'])||void 0x0===B?void 0x0:B['clientHeight']);}['addGoogleAdsMacrosToUrl'](z){var A,B;this['setSearchParamIfNotNullOrZero'](z,'width',null===(A=this['videoElement'])||void 0x0===A?void 0x0:A['clientWidth']),this['setSearchParamIfNotNullOrZero'](z,'height',null===(B=this['videoElement'])||void 0x0===B?void 0x0:B['clientHeight']);}['buildAndSetCustParams'](z,A){const B=Object['entries'](z['context']||{})['reduce']((E,[F,G])=>(null!=G&&(E[F]=String(G)),E),{});let C=A['searchParams']['get']('cust_params')||'';const D=Object['entries'](B)['map'](([E,F])=>E+'='+F);if(D['length']>0x0&&(C=C?C+'&'+D['join']('&'):D['join']('&')),C&&A['searchParams']['set']('cust_params',C),'Aniview'===z['adProvider']){for(const E in B)A['searchParams']['set'](E,B[E]);}}['pause'](){var z;null===(z=this['adsManager'])||void 0x0===z||z['pause']();}['resume'](){var z;null===(z=this['adsManager'])||void 0x0===z||z['resume']();}['handleFullscreenChange'](){this['resizeToVideoElement']();}['resizeToVideoElement'](){this['adsManager']&&this['videoElement']&&setTimeout(()=>{var z,A;const B=null===(z=this['videoElement'])||void 0x0===z?void 0x0:z['getBoundingClientRect'](),C=null==B?void 0x0:B['width'],D=null==B?void 0x0:B['height'];C&&D&&(null===(A=this['adsManager'])||void 0x0===A||A['resize'](C,D,this['googleIMA']['ViewMode']['NORMAL']));},0xfa);}}g['BlazeWidgetVastAd']=y;},0x19b0:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoModalTemplate']=void 0x0;const h=g(0x1529),j=g(0x26ed),k=g(0x11c1),l=g(0xa29);class m extends h['BaseModalTemplate']{['createModal'](p,q){const u=new l['BlazeWidgetVideoModal'](p,q);return u['id']='blaze-video-modal-'+Math['random']()['toString'](0x24),u['playerLayout']=q,u;}['configureModal'](p,q){var u;p['setModalContent'](q),p['seek'](null!==(u=q[0x0]['id'])&&void 0x0!==u?u:'');}['getService'](){return k['VideoService'];}['getErrorCode'](){return j['ErrorCode']['FailedLoadingVideos'];}}f['VideoModalTemplate']=m;},0x19d6:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x19e3:function(f,j,k){'use strict';var q=this&&this['__awaiter']||function(M,N,O,P){return new(O||(O=Promise))(function(Q,R){function S(V){try{U(P['next'](V));}catch(W){R(W);}}function T(V){try{U(P['throw'](V));}catch(W){R(W);}}function U(V){var W;V['done']?Q(V['value']):(W=V['value'],W instanceof O?W:new O(function(X){X(W);}))['then'](S,T);}U((P=P['apply'](M,N||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['WidgetBaseLayout']=void 0x0;const w=k(0x1133),x=k(0x1932),z=k(0x26ed),A=k(0x22d9),B=k(0x2033),C=k(0x11c1),D=k(0x264),E=k(0x132a),F=k(0x2432),G=k(0x774),H=k(0xa29),I=k(0xab4),J=k(0x5ee),K=k(0x2027);class L extends K['BlazeWidgetScrollable']{constructor(){super(),this['isWidgetVisible']=!0x1,this['widgetItems']=[],this['analyticsStack']={},this['shouldReloadData']=!0x0,this['shouldReloadWhenPlayerIsClosed']=!0x1,this['contents']=[],this['actionHandlers']=[],this['perItemStyleOverrides']={'playerId':[],'teamId':[],'gameId':[],'roundId':[]},this['activeOverridesLayoutThemes']={'playerId':[],'teamId':[],'gameId':[],'roundId':[]},this['activitySubscriptions']=[],this['intersectionObserver']=new IntersectionObserver(this['handleIntersection']['bind'](this));}['setupActivityObservers'](){this['cleanupActivityObservers']();const M=this['getAttribute']('content-type');'moment'===M&&this['activitySubscriptions']['push'](D['UserActivityObserverService']['onMomentViewChanged'](this['handleMomentViewChanged']['bind'](this))),'video'===M&&this['activitySubscriptions']['push'](D['UserActivityObserverService']['onVideoViewChanged'](this['handleVideoViewChanged']['bind'](this))),'story'!==M&&M||this['activitySubscriptions']['push'](D['UserActivityObserverService']['onStoryPageViewChanged'](this['handleStoryPageViewChanged']['bind'](this)));}['cleanupActivityObservers'](){this['activitySubscriptions']['forEach'](M=>M['unsubscribed']()),this['activitySubscriptions']=[];}['handleMomentViewChanged'](M){const N=this['contents']['find'](O=>O['id']===M['momentId']);N&&(N['hasViewed']=M['hasViewed'],this['updateWidgetItemUI'](M['momentId']));}['handleVideoViewChanged'](M){const N=this['contents']['find'](O=>O['id']===M['videoId']);N&&(N['hasViewed']=M['hasViewed'],this['updateWidgetItemUI'](M['videoId']));}['handleStoryPageViewChanged'](M){var N;const O=this['contents']['find'](P=>{var Q;return null===(Q=P['pages'])||void 0x0===Q?void 0x0:Q['some'](R=>R['id']===M['pageId']);});if(O){const P=null===(N=O['pages'])||void 0x0===N?void 0x0:N['find'](Q=>Q['id']===M['pageId']);P&&(P['hasViewed']=M['hasViewed']),O['hasViewed']=(0x0,F['isReadByLastUnIgnoredPageStatus'])(O),this['updateWidgetItemUI'](O['id']);}}['updateWidgetItemUI'](M){const N=this['widgetItems']['find'](O=>O['content']['id']===M);N&&(N['setChipStyle'](),N['render']());}['widgetType'](){return this['getTheme']()['layoutStyle']['columns']>0x1?'Grid':'Row';}get['thumbnailShape'](){var M;return(null===(M=this['getTheme']())||void 0x0===M?void 0x0:M['layoutStyle']['thumbnailShape'])||this['getAttribute']('thumbnail-shape');}get['theme'](){return this['getTheme']();}['updateActiveLayoutThemesPerItemWithEntity'](M,N,O){const P=this['activeOverridesLayoutThemes'][M];if(P){const Q=P['findIndex'](R=>R['name']===N);-0x1!==Q&&P['splice'](Q,0x1),P['push']({'name':N,'theme':O});}else this['activeOverridesLayoutThemes'][M]=[{'name':N,'theme':O}];}['setReloadData'](M){this['shouldReloadData']='object'!=typeof M||!M['hasOwnProperty']('shouldReloadData')||'boolean'!=typeof M['shouldReloadData']||M['shouldReloadData'];}set['contentIds'](M){this['setAttribute']('content-ids',M);}set['storyIds'](M){this['setAttribute']('story-ids',M);}['addDelegateListener'](M,N,O){A['WidgetsFactory']['whenDefined']('blaze-widget-story-modal')['then'](()=>{var P;null===(P=this['storysModal'])||void 0x0===P||P['addEventListener'](M,N,O);});}['event'](M,N,O=void 0x0){var P,Q,R,S;if(M==x['WidgetAction']['Load']||M==x['WidgetAction']['Visible']){if(this['analyticsStack'][M])return;this['analyticsStack'][M]=!0x0;}try{const T=this['getBoundingClientRect']();N['widget_id']=this['id'],N['widget_content_count']=null===(P=this['widgetItems'])||void 0x0===P?void 0x0:P['length'],N['widget_content_list']=(null===(Q=this['contents'])||void 0x0===Q?void 0x0:Q['length'])?JSON['stringify'](this['contents']['map'](V=>V['id'])):'',N['widget_size']=T['width']&&T['height']?Math['round'](T['width'])+'x'+Math['round'](T['height']):'',N['widget_type']=null===(R=this['widgetType'])||void 0x0===R?void 0x0:R['call'](this),N['placement_distance']=Math['round'](T['top'])['toString'](),N['content_type']=null===(S=this['getAttribute']('content-type'))||void 0x0===S?void 0x0:S['replace'](/^\w/,V=>V['toUpperCase']()),N['thumbnail_aspect_ratio']=this['getTheme']()['layoutStyle']['itemRatio']['toString'](),N['thumbnail_type']=this['thumbnailShape'],N['thumbnail_size']=this['thumbnailWidth']&&this['thumbnailHeight']?this['thumbnailWidth']+'x'+this['thumbnailHeight']:'';const U=new w['ReferringEventInfo']();U['labels_expression']=this['getAttribute']('labels'),document['referrer']&&(U['referrer_page_url']=document['referrer']),C['AnalyticsService']['pushWidgetEvent'](M,Object['assign']({},N),O,U);}catch(V){}}['getTheme'](){switch(this['getAttribute']('content-type')){case'moment':return this['preset']||E['ThemeFactory']['create']('default','moment');case'story':return this['preset']||E['ThemeFactory']['create']('default','story');case'video':return this['preset']||E['ThemeFactory']['create']('default','video');default:return this['preset']||E['ThemeFactory']['create']('default');}}['setTheme'](M){var N,O,P,Q;const R=this['getAttribute']('content-type');let S;if('string'==typeof M){if('moment'!==R&&'story'!==R&&'video'!==R&&R)throw new Error('Invalid\x20content\x20type');S='moment'===R?E['ThemeFactory']['create'](M,'moment'):'story'===R?E['ThemeFactory']['create'](M,'story'):E['ThemeFactory']['create'](M,'video');}else{if(!(0x0,B['isWidgetTheme'])(M))throw new Error('Invalid\x20theme\x20type');if((0x0,E['isStoryPlayerStyle'])(M['playerStyle'])&&'story'!==R)throw new Error('Invalid\x20theme\x20type\x20-\x20story\x20player\x20style\x20for\x20'+R+'\x20content\x20type');if((0x0,E['isMomentPlayerStyle'])(M['playerStyle'])&&'moment'!==R)throw new Error('Invalid\x20theme\x20type\x20-\x20moment\x20player\x20style\x20for\x20'+R+'\x20content\x20type');if((0x0,E['isVideoPlayerStyle'])(M['playerStyle'])&&'video'!==R)throw new Error('Invalid\x20theme\x20type\x20-\x20video\x20player\x20style\x20for\x20'+R+'\x20content\x20type');S=M;}this['preset']=S,null===(N=this['widgetItems'])||void 0x0===N||N['forEach'](T=>T['setTheme'](S['layoutStyle'])),null===(O=this['storysModal'])||void 0x0===O||O['setTheme'](S['playerStyle']),null===(P=this['momentsModal'])||void 0x0===P||P['setTheme'](S['playerStyle']),null===(Q=this['videosModal'])||void 0x0===Q||Q['setTheme'](S['playerStyle']),this['contents']['length']&&this['render']();}['reload'](){this['storysModal']&&this['storysModal']['isOpen']||this['momentsModal']&&this['momentsModal']['isOpen']||this['videosModal']&&this['videosModal']['isOpen']?this['shouldReloadWhenPlayerIsClosed']=!0x0:(this['shouldReloadData']=!0x0,this['loadContent']());}['setMaxItemsDisplaySize'](M){this['setAttribute']('max-display-items-count',M['toString']());}['setDelegations'](M){for(const N in M)this['addEventListener'](N,M[N]);}['setOrderType'](M){this['setAttribute']('order-type',M||'');}['updateDataSource'](M){if(!M)return;const {sourceType:N,ids:O,labels:P,text:Q,recommendations:R,orderType:S,maxItems:T,labelsPriority:U,personalized:V,advancedOrdering:W}=M,X={'shouldReloadData':!0x1};(P||O||Q||R)&&(this['setOrderType'](S),this['setMaxItemsSize'](T,X),this['setPersonalized'](V),this['setAdvancedOrdering'](W),'ids'===N&&O?(this['setContentIds'](O,X),this['setLabelsPriority']('',X),this['setLabels']('',X),this['setRecommendations'](void 0x0,X),this['setSearchText']('',X)):'labels'===N&&P?(this['setLabels'](P,X),this['setLabelsPriority']((null==U?void 0x0:U['toString']())||'',X),this['setContentIds']([],X),this['setRecommendations'](void 0x0,X),this['setSearchText']('',X)):'text'===N&&Q?(this['setSearchText'](Q,X),this['setLabels']('',X),this['setLabelsPriority']('',X),this['setContentIds']([],X),this['setRecommendations'](void 0x0,X)):'recommendations'===N&&R&&(this['setRecommendations'](R,X),this['setLabels']('',X),this['setLabelsPriority']('',X),this['setContentIds']([],X),this['setSearchText']('',X)));}['setPersonalized'](M){this['personalized']=M;}['setAdvancedOrdering'](M){this['setAttribute']('advanced-ordering',M||'');}['setLabels'](M,N){this['setReloadData'](N);let O='';if('string'==typeof M)O=M;else{if(Array['isArray'](M))O=M['join']();else{if(!(M instanceof w['BlazeWidgetLabel']))throw new Error('fail\x20to\x20set\x20labels\x20-\x20'+M+',\x20labels\x20must\x20be\x20string,\x20array\x20of\x20strings,\x20or\x20BlazeWidgetLabel...');O=M['toString']();}}this['setAttribute']('labels',O);}['setLabelsPriority'](M,N){if(!M)return void this['setAttribute']('labels-priority','');this['setReloadData'](N);let O='';if('string'==typeof M)O=M['startsWith']('[')&&M['endsWith'](']')?M:'['+M+']';else{if(!Array['isArray'](M))throw new Error('Failed\x20to\x20set\x20labels\x20priority\x20-\x20'+M+'.\x20Labels\x20priority\x20must\x20be\x20a\x20string,\x20array\x20of\x20strings,\x20or\x20array\x20of\x20BlazeWidgetLabel.');O=M['every'](P=>P instanceof w['BlazeWidgetLabel'])?'['+M['map'](P=>P['toString']())['join']()+']':'['+M['join']()+']';}this['setAttribute']('labels-priority',O);}['setSearchText'](M,N){this['setReloadData'](N),this['setAttribute']('text',M);}['setContentIds'](M,N){var O;this['setReloadData'](N),((null===(O=this['getAttribute']('story-ids'))||void 0x0===O?void 0x0:O['split'](','))||[])['length']>0x0?this['storyIds']=M['join']():this['contentIds']=M['join']();}['setMaxItemsSize'](M,N){this['setReloadData'](N),this['setAttribute']('max-items',(null==M?void 0x0:M['toString']())||'');}['setActionHandlers'](M){this['actionHandlers']=M;}['setVideoFilters'](M){this['videoFilters']=M,this['setAttribute']('video-filters',M?JSON['stringify'](M):'');}['setRecommendations'](M,N){this['setReloadData'](N),this['setAttribute']('recommendations',M?JSON['stringify'](M):'');}['appendModalToBlazeSDK'](M){const N=document['getElementsByTagName']('blaze-sdk')[0x0];N&&N['append'](M);}['updateWidgetsData'](){const M=this['getAttribute']('content-type');if('story'===M||!M){for(const N of this['contents'])N['hasViewed']=(0x0,F['isReadByLastUnIgnoredPageStatus'])(N);}}['updateWidgetItemUIForStream'](M){const N=this['widgetItems']['find'](O=>O['content']['id']===M);N&&(N['updateLabel'](),N['setChipStyle'](),N['renderStartTime'](),N['updateAriaLabel'](),N['render']());}['setupPlayerPollingListener'](){this['videosModal']&&this['videosModal']['player']['addEventListener'](G['VIDEO_EVENTS']['PLAYLIST_ITEM_UPDATED'],M=>{const {contentId:N}=M['detail'];this['updateWidgetItemUIForStream'](N);});}['sortContent'](){const M=this['getAttribute']('advanced-ordering');switch(this['getContentType']()){case'story':const N='LiveFirst'===M,O=Q=>{let R=0x0;return N&&(R+=Q['isLive']?0x0:0x1),R+=(0x0,F['getContentScore'])(Q),R;};this['contents']['sort']((Q,R)=>O(Q)-O(R));break;case'video':const P=this['contents'];if(P['some'](Q=>void 0x0!==Q['stream']&&null!==Q['stream']))break;P['sort']((Q,R)=>(0x0,F['getContentScore'])(Q)-(0x0,F['getContentScore'])(R));break;default:this['contents']['sort']((Q,R)=>(0x0,F['getContentScore'])(Q)-(0x0,F['getContentScore'])(R));}}['reorderWidgets'](){this['updateWidgetsData'](),this['getAttribute']('should-order-widget-by-read-status')&&('Manual'!=this['getAttribute']('order-type')&&this['sortContent'](),this['reorderWidgetItems']()),this['updateWidgetDisplay']();}['getContentType'](){return this['getAttribute']('content-type')||'story';}static get['observedAttributes'](){return['story-ids','content-ids','content-type','max-display-items-count','max-items','labels-priority','labels','order-type','preset','recommendations','text'];}['createModal'](M){'video'===M?customElements['whenDefined']('blaze-video-modal')['then'](()=>{this['videosModal']||(this['videosModal']=new H['BlazeWidgetVideoModal'](this,this['getTheme']()['playerStyle']),this['appendModalToBlazeSDK'](this['videosModal']),this['setupVideoModalCallbacks']());}):'moment'===M?customElements['whenDefined']('blaze-widget-moment-modal')['then'](()=>{this['momentsModal']||(this['momentsModal']=new I['BlazeWidgetMomentModal'](this,this['getTheme']()['playerStyle'],this['actionHandlers']),this['appendModalToBlazeSDK'](this['momentsModal']),this['setupMomentModalCallbacks']());}):'story'!==M&&''!==M||customElements['whenDefined']('blaze-widget-story-modal')['then'](()=>{this['storysModal']||(this['beforeStoryModalCreation'](),this['storysModal']=new J['BlazeWidgetStoryModal'](this,this['getTheme']()['playerStyle'],this['actionHandlers']),this['appendModalToBlazeSDK'](this['storysModal']),this['setupStoryModalCallbacks']());});}['beforeStoryModalCreation'](){}['loadContent'](){return q(this,void 0x0,void 0x0,function*(){const M=this['getAttribute']('content-type'),N='story'===M||!M,O='moment'===M,P='video'===M;if(this['createModal'](M),!this['shouldReloadData'])return;const Q=this['getAttribute']('max-items'),R=this['getAttribute']('labels'),S=this['getAttribute']('labels-priority'),T=this['getAttribute']('order-type'),U=this['getAttribute']('advanced-ordering'),V=this['personalized'],W=this['getAttribute']('text'),X=this['getAttribute']('recommendations')?JSON['parse'](this['getAttribute']('recommendations')):void 0x0,Y=this['getAttribute']('story-ids'),Z=null==Y?void 0x0:Y['split'](','),a0=this['getAttribute']('content-ids'),a1=null==a0?void 0x0:a0['split'](',');let a2=[];try{let a3;C['EventService']['dispatch'](this,z['Delegation']['onWidgetDataLoadStarted'],{'widgetId':this['id']});let a4='labels';if((null==R?void 0x0:R['length'])?a4='labels':(null==a0?void 0x0:a0['length'])?a4='ids':((null==X?void 0x0:X['forYou'])||(null==X?void 0x0:X['trending']))&&(a4='recommendations'),N){const a5=(null==Z?void 0x0:Z['length'])||(null==a1?void 0x0:a1['length'])?'ids':(null==R?void 0x0:R['length'])?'labels':(null==W?void 0x0:W['length'])?'text':'labels';a3=yield C['StoryService']['fetchContent']({'sourceType':a5,'ids':Z||a1,'labels':R,'text':W,'orderType':T,'maxItems':Q,'labelsPriority':S,'advancedOrdering':U,'personalized':V,'recommendations':X});}else{if(O){let a6='labels';(null==a0?void 0x0:a0['length'])?a6='ids':(null==R?void 0x0:R['length'])?a6='labels':(null==X?void 0x0:X['forYou'])||(null==X?void 0x0:X['trending'])?a6='recommendations':(null==W?void 0x0:W['length'])&&(a6='text'),a3=yield C['MomentService']['fetchContent']({'sourceType':a6,'ids':a1,'labels':R,'text':W,'orderType':T,'maxItems':Q,'labelsPriority':S,'advancedOrdering':U,'recommendations':X});}else{if(P){const a7=(null==a0?void 0x0:a0['length'])?'ids':(null==R?void 0x0:R['length'])?'labels':(null==W?void 0x0:W['length'])?'text':'labels';a3=yield C['VideoService']['fetchContent']({'sourceType':a7,'ids':a1,'labels':R,'text':W,'orderType':T,'maxItems':Q,'labelsPriority':S,'advancedOrdering':U,'recommendations':X},this['videoFilters']);}}}if(a3&&(a2=a3['result'],this['defaultAdsInfo']=null==a3?void 0x0:a3['defaultAdsInfo']),!a2['length'])throw new Error(z['ErrorCode']['FailedLoadingStories']['toString']());a3&&a3['assetsExpiryTime']&&this['handleAssetsExpiry'](a3);}catch(a8){return void(yield this['handleContentLoadError'](a8));}try{N?this['contents']=yield C['StoryService']['enrichContent'](a2):O?this['contents']=yield C['MomentService']['enrichContent'](a2):P&&(this['contents']=yield C['VideoService']['enrichContent'](a2));}catch(a9){this['contents']=a2,C['EventService']['dispatch'](this,z['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':z['ErrorCode']['FailedEnrichStories']});}yield this['handlePostContentLoad'](N,O,P);});}['handleContentLoadError'](M){return q(this,void 0x0,void 0x0,function*(){var N;yield null===(N=this['removeSkeletonContainer'])||void 0x0===N?void 0x0:N['call'](this),C['EventService']['dispatch'](this,z['Delegation']['onWidgetDataLoadCompleted'],{'widgetId':this['id'],'storyCount':0x0,'contentCount':0x0}),C['EventService']['dispatch'](this,z['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':z['ErrorCode']['FailedLoadingStories']});});}['handleStoryContent'](){var M,N,O;if(null===(M=this['storysModal'])||void 0x0===M||M['setModalContent'](this['contents'],0x0),!(0x0,E['isStoryPlayerStyle'])(this['theme']['playerStyle']))throw new Error('Invalid\x20player\x20style\x20for\x20story\x20content');null===(N=this['storysModal'])||void 0x0===N||N['setTheme'](this['theme']['playerStyle']),'default'===C['ConfigService']['prefetchingPolicy']&&(null===(O=this['storysModal'])||void 0x0===O||O['player']['contentList'][0x0]['load']());}['handleVideoContent'](){var M,N;if(null===(M=this['videosModal'])||void 0x0===M||M['setModalContent'](this['contents']),!(0x0,E['isVideoPlayerStyle'])(this['theme']['playerStyle']))throw new Error('Invalid\x20player\x20style\x20for\x20video\x20content');null===(N=this['videosModal'])||void 0x0===N||N['setTheme'](this['theme']['playerStyle']);}['handleMomentContent'](){var M,N,O;if(!(0x0,E['isMomentPlayerStyle'])(this['theme']['playerStyle']))throw new Error('Invalid\x20player\x20style\x20for\x20moment\x20content');null===(M=this['momentsModal'])||void 0x0===M||M['setModalContent'](this['contents'],0x0,this['defaultAdsInfo']),null===(N=this['momentsModal'])||void 0x0===N||N['setTheme'](this['theme']['playerStyle']),'default'===C['ConfigService']['prefetchingPolicy']&&(null===(O=this['momentsModal'])||void 0x0===O||O['player']['contentList'][0x0]['load']('direct'));}['attributeChangedCallback'](M,N,O){if(O)switch(M){case'labels':case'labels-priority':this['hasAttribute']('labels')&&this['loadContent']();break;case'story-ids':case'content-ids':this['hasAttribute']('labels')||this['loadContent']();break;case'text':case'recommendations':this['loadContent']();break;case'preset':this['setTheme'](O);break;case'max-display-items-count':if(isNaN(Number(O)))break;const P=Number(O);this['widgetItems']['length']&&this['widgetItems']['forEach']((Q,R)=>{Q['style']['display']=R<P?'grid':'none';}),this['updateWidgetDisplay']();break;case'max-items':(this['hasAttribute']('labels')||this['hasAttribute']('content-ids')||this['hasAttribute']('story-ids')||this['hasAttribute']('text')||this['hasAttribute']('recommendations'))&&this['loadContent']();}else'labels'===M&&C['EventService']['dispatch'](this,z['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':z['ErrorCode']['FailedToHaveLabels']});}['playVideo'](M){if(!this['videosModal'])return;this['videosModal']['setModalContent'](this['contents']),C['VideoPlayerService']['playReference']='Widget',this['videosModal']['player']['contentList']['forEach']((P,Q)=>{P['startTrigger']='Widget',P['refContentModal']=this['videosModal'],P['widgetParentItem']=this['widgetItems']['length']?this['widgetItems'][Q]:{},P['playerStyle']=this['theme']['playerStyle'];});const N=this['videosModal']['player']['contentList']['findIndex'](P=>P['data']['id']===M),O=this['widgetItems'][N];O&&this['videosModal']['id']&&O['setAttribute']('aria-controls',this['videosModal']['id']),this['videosModal']['seek'](null!=M?M:''),this['videosModal']['open']();}['playMoment'](M){if(!this['momentsModal'])return;const N=this['momentsModal']['player']['contentList']['findIndex'](P=>P['data']['id']===M);this['momentsModal']['setModalContent'](this['contents'],N,this['defaultAdsInfo']),this['momentsModal']['player']['contentList']['forEach']((P,Q)=>{P['momentIndex']=Q;}),C['VideoPlayerService']['playReference']='Widget',this['momentsModal']['player']['contentList']['forEach']((P,Q)=>{P['startTrigger']='Widget',P['refContentModal']=this['momentsModal'],P['widgetParentItem']=this['widgetItems']['length']?this['widgetItems'][Q]:{},P['playerStyle']=this['theme']['playerStyle'],P['data']['id']===M&&P['load']('direct');});const O=this['widgetItems'][N];O&&this['momentsModal']['id']&&O['setAttribute']('aria-controls',this['momentsModal']['id']),this['momentsModal']['seek'](null!=M?M:''),this['momentsModal']['open']();}['playStory'](M){if(!this['storysModal'])return;const N=this['storysModal']['player']['contentList']['findIndex'](P=>P['data']['id']===M);this['storysModal']['setModalContent'](this['contents'],N,this['defaultAdsInfo']),C['VideoPlayerService']['playReference']='Widget',this['storysModal']['parentWidget']=this,this['storysModal']['player']['contentList']['forEach']((P,Q)=>{P['startTrigger']='Widget',P['refContentModal']=this['storysModal'],P['widgetParentItem']=this['widgetItems']['length']?this['widgetItems'][Q]:{},P['resetStoryLocationIndexToLastUnseen'](),P['data']['id']===M&&P['load']();});const O=this['widgetItems'][N];O&&this['storysModal']['id']&&O['setAttribute']('aria-controls',this['storysModal']['id']),this['storysModal']['seek'](M),this['storysModal']['open']();}['handleAssetsExpiry'](M){}}j['WidgetBaseLayout']=L;},0x1a00:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeTypography']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super();}static get['observedAttributes'](){return['size','text'];}get['size'](){return this['getAttribute']('size');}set['size'](k){this['setAttribute']('size',k);}get['text'](){return this['getAttribute']('size');}set['text'](k){this['setAttribute']('text',k);}['connectedCallback'](){}['disconnectedCallback'](){}['attributeChangedCallback'](k,l,m){switch(k){case'size':this['onSizeChange'](m);break;case'text':this['onTextChange'](m);}}['onSizeChange'](k){this['setStyle']({'fontSize':this['fontSize']});}['onTextChange'](k){this['innerHTML']=k;}get['fontSize'](){switch(this['size']){case'small':return'.5rem';default:case'medium':return'.8rem';case'large':return'1rem';}}}f['BlazeTypography']=j;},0x1a96:function(f,j,k){'use strict';var q=this&&this['__awaiter']||function(L,M,N,O){return new(N||(N=Promise))(function(P,Q){function R(U){try{T(O['next'](U));}catch(V){Q(V);}}function S(U){try{T(O['throw'](U));}catch(V){Q(V);}}function T(U){var V;U['done']?P(U['value']):(V=U['value'],V instanceof N?V:new N(function(W){W(V);}))['then'](R,S);}T((O=O['apply'](L,M||[]))['next']());});};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetStory']=void 0x0;const w=k(0x23a6),x=k(0xb58),z=k(0x1699),A=k(0x1133),B=k(0x1932),C=k(0x26ed),D=k(0x22d9),E=k(0x115),F=k(0x11c1),G=k(0x264),H=k(0x132a),I=k(0xdf6),J=k(0x2432);class K extends x['BlazeWidgetContent']{get['currentPageIndexWithoutCustomAds'](){return this['pageIndex']-this['pages']['slice'](0x0,this['pageIndex'])['filter'](L=>{var M;return'Ad'===(null===(M=L['data'])||void 0x0===M?void 0x0:M['type']);})['length'];}['getShareablePageId'](){var L,M;if(this['currentPage']&&!this['currentPage']['isAd'])return(null===(L=this['currentPage']['data'])||void 0x0===L?void 0x0:L['id'])||null;for(let N=this['pageIndex']-0x1;N>=0x0;N--){const O=this['pages'][N];if(!(null==O?void 0x0:O['isAd']))return(null===(M=O['data'])||void 0x0===M?void 0x0:M['id'])||null;}return null;}constructor(L,M,N=[],O,P=F['VideoPlayerService']){var Q;super(),this['playerStyle']=L,this['mode']=M,this['actionHandlers']=N,this['aspectRatio']=O,this['videoPlayerState']=P,this['pages']=[],this['data']={},this['isStoryLoadCompletedTriggered']=!0x1,this['isStoryActive']=!0x1,this['isResumeOnFocusExecuted']=!0x1,this['isUnloading']=!0x1,this['isCtaWasClickedOrSwiped']=!0x1,this['pageIndex']=0x0,this['contentType']='story',this['resumeAfterfocus']=!0x1,this['totalPlayStopwatch']=new J['Stopwatch'](),this['navigationTimeout']=null,this['prefetchTimeout']=null,this['lastPageIndexToResume']=0x0,this['elementsToHideOnWebAds']=[],this['elementsToHideOnImaAds']=[],this['requestAnimationId']=null,this['shouldShowImaAdOnStart']=!0x1,this['activitySubscriptions']=[],this['lastBannerRefreshInWatchTimeMS']=0x0,this['boundOnResumeEvent']=this['onResumeEvent']['bind'](this),this['boundOnPauseEvent']=this['onPauseEvent']['bind'](this),this['boundOnNextPageEvent']=this['onNextPageEvent']['bind'](this),this['boundOnPrevPageEvent']=this['onPrevPageEvent']['bind'](this),this['playbackParts']=[],(0x0,J['mergeStyles'])(this['container'],{'position':'relative','width':'100%','height':'100%','minHeight':'100%','background':'#000000'}),this['shadowTopElement']=document['createElement']('div'),this['shadowTopElement']['style']['background']='linear-gradient(rgba(0,\x200,\x200,\x200.7),\x20transparent)',this['shadowTopElement']['style']['background']='-webkit-linear-gradient(rgba(0,\x200,\x200,\x200.7),\x20transparent)',this['shadowTopElement']['style']['position']='absolute',this['shadowTopElement']['style']['width']='100%',this['shadowTopElement']['style']['height']='30%',this['shadowTopElement']['style']['top']='0px',this['shadowTopElement']['style']['borderRadius']=this['getContainerBorderRadius'](),this['shadowTopElement']['style']['zIndex']=B['Z_INDEX']['onTopOfPlayer'],this['shadowTopElement']['style']['pointerEvents']='none',this['container']['appendChild'](this['shadowTopElement']);const R=D['WidgetsFactory']['create']('blaze-div');if((0x0,J['mergeStyles'])(R,{'position':'absolute','top':'0%','left':'0%','right':'0%','height':'3px','opacity':'80%','margin':'16px','zIndex':B['Z_INDEX']['onTopOfPlayer']}),this['progressElement']=document['createElement']('div'),(0x0,J['mergeStyles'])(this['progressElement'],{'width':'100%','height':'100%','display':'grid'}),R['append'](this['progressElement']),this['container']['append'](R),'mobile'===A['deviceDetector']['platform']||'tablet'===A['deviceDetector']['platform']){const a5=()=>{this['videoPlayerState']['isPlaying']&&!F['VideoPlayerService']['isNavigating']&&(this['event'](B['StoryAction']['PlaybackPause'],{'playback_action_method':'Press'}),this['pause']());},a6=()=>{this['videoPlayerState']['isPlaying']&&!F['VideoPlayerService']['isNavigating']&&(this['event'](B['StoryAction']['PlaybackPlay'],{'playback_action_method':'Release'}),this['resume']());};if('Embedded'!==M){const a7=new A['LongPressHandler']({'onStart':a5,'onEnd':a6});a7['attach'](this['container']),this['longPressHandler']=a7;}}const U=()=>{var a8,a9,aa;null===(a8=this['shareModal'])||void 0x0===a8||a8['close'](),null===(a9=this['closedCaptionsModal'])||void 0x0===a9||a9['close'](),this['exitTrigger']='Skip',this['navigationType']='Manual',this['navigationDirection']='Backwards','SingleContent'!==F['VideoPlayerService']['playReference']||0x0!==this['pageIndex']?('SingleContent'===F['VideoPlayerService']['playReference']&&this['revertNextPageButtonToPreviousAction'](),null===(aa=this['resumeAfterBlurButton'])||void 0x0===aa||aa['setAttribute']('blaze-btn-hidden','true'),this['videoPlayerState']['isPlaying']=!0x0,this['goPrevPage']()):this['currentPage']['currentTime']=0x0;},V=()=>{var a8,a9,aa,ab,ac,ad,ae;null===(a8=this['shareModal'])||void 0x0===a8||a8['close'](),null===(a9=this['closedCaptionsModal'])||void 0x0===a9||a9['close'](),this['exitTrigger']='Skip',this['navigationType']='Manual',this['navigationDirection']='Forwards','SingleContent'===F['VideoPlayerService']['playReference']&&this['hasNoMorePagesToPlay']()?F['ConfigService']['shouldAutoAdvance']&&(null===(ab=null===(aa=this['refContentModal'])||void 0x0===aa?void 0x0:aa['player'])||void 0x0===ab||ab['renderPlayerBackground'](!0x0),null===(ad=null===(ac=this['refContentModal'])||void 0x0===ac?void 0x0:ac['player'])||void 0x0===ad||ad['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>A['URLManager']['navigateTo']('AUTO_ADVANCE')})):(null===(ae=this['resumeAfterBlurButton'])||void 0x0===ae||ae['setAttribute']('blaze-btn-hidden','true'),this['videoPlayerState']['isPlaying']=!0x0,this['goNextPage'](this['navigationType']));},W=D['WidgetsFactory']['create']('blaze-button');W['setAttribute']('aria-hidden','true'),W['setAttribute']('role','presentation'),W['setAttribute']('tabindex','-1'),W['setAttribute']('data-testid','blaze-widget-story-prev-page-button'),W['setStyle']({'position':'absolute','top':'0','right':'0','bottom':'15%','left':'0','width':'30%','height':'85%','opacity':'0','-webkit-tap-highlight-color':'transparent','zIndex':B['Z_INDEX']['player']});const X=D['WidgetsFactory']['create']('blaze-button');X['setAttribute']('aria-hidden','true'),X['setAttribute']('role','presentation'),X['setAttribute']('tabindex','-1'),X['setAttribute']('data-testid','blaze-widget-story-next-page-button'),X['setStyle']({'position':'absolute','top':'0','right':'RTL'===F['ConfigService']['layoutDirection']?'30%':'0','bottom':'15%','left':'RTL'===F['ConfigService']['layoutDirection']?'0':'30%','width':'70%','height':'85%','opacity':'0','-webkit-tap-highlight-color':'transparent','zIndex':B['Z_INDEX']['player']}),W['addEventListener']('click',(0x0,A['throttle'])(U,0x64)),X['addEventListener']('click',(0x0,A['throttle'])(V,0x64)),this['container']['append'](W),this['container']['append'](X),this['topContainer']=D['WidgetsFactory']['create']('blaze-div'),this['topContainer']['setStyle']({'position':'absolute','top':'40px','width':'100%','paddingLeft':'16px','paddingRight':'16px','display':'flex','justifyContent':'space-between','boxSizing':'border-box','columnGap':'10px','zIndex':B['Z_INDEX']['onTopOfPlayer']}),this['contentWrapper']=D['WidgetsFactory']['create']('blaze-div'),this['contentWrapper']['setStyle']({'minWidth':'0','display':'flex','flex':'3','gap':'4px','alignItems':'center'}),this['contentChip']=D['WidgetsFactory']['create']('blaze-div'),J['AccessibilityUtils']['setElementAccessibilityHidden'](this['contentChip']),this['contentChip']['setStyle']({'display':'flex','alignItems':'center','height':'17px','boxSizing':'border-box','fontWeight':'600','alignSelf':'center','borderRadius':this['playerStyle']['statusLiveStyle']['borderRadius'],'padding':this['playerStyle']['statusLiveStyle']['padding'],'fontFamily':this['playerStyle']['statusLiveStyle']['font'],'color':this['playerStyle']['statusLiveStyle']['textColor'],'borderWidth':this['playerStyle']['statusLiveStyle']['borderWidth']+'px'}),this['titleGroup']=D['WidgetsFactory']['create']('blaze-div'),this['titleText']=D['WidgetsFactory']['create']('blaze-div'),this['buildTitleImageElements'](),this['buildContentTitleElements'](),this['contentPublishedDate']=D['WidgetsFactory']['create']('blaze-div'),J['AccessibilityUtils']['setElementAccessibilityHidden'](this['contentPublishedDate']),this['contentPublishedDate']['innerText']='',this['contentPublishedDate']['setStyle']({'fontWeight':'600','color':this['playerStyle']['publishedDateColor'],'display':this['playerStyle']['publishedDateVisible']?'inline':'none','fontFamily':this['playerStyle']['publishedDateFont']}),this['contentWrapper']['append'](this['contentChip'],this['titleGroup'],this['contentPublishedDate']),this['topContainer']['append'](this['contentWrapper']),this['container']['append'](this['topContainer']),this['buttonsContainer']=D['WidgetsFactory']['create']('blaze-div'),this['buttonsContainer']['setStyle']({'display':'flex','height':'0px','gap':'1rem','zIndex':B['Z_INDEX']['onTopOfPlayer']});const Y='iOS'===A['deviceDetector']['OS'],Z='Mobile\x20Safari'===A['deviceDetector']['browser'],a0='tablet'===A['deviceDetector']['platform']&&'Mac\x20OS'===A['deviceDetector']['OS'],a1=Y&&('Safari'===A['deviceDetector']['browser']||'Chrome'===A['deviceDetector']['browser']),a2=null===(Q=this['actionHandlers'])||void 0x0===Q?void 0x0:Q['filter'](a8=>a8['actionId']===C['ActionHandlerId']['AddCustomActionButton'])['slice'](0x0,0x2),a3=!(!a2[0x0]||!this['playerStyle']['icons']['customActionButtonOne']),a4=!(!a2[0x1]||!this['playerStyle']['icons']['customActionButtonTwo']);(Y||Z||a1||a0)&&'Embedded'!==this['mode']&&this['createResumeAfterBlurButton'](),'desktop'===A['deviceDetector']['platform']&&this['isButtonVisible']('PLAY_PAUSE')&&(this['playButtonElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['play'],'eventType':'click','clickHandler':()=>this['playToggle'](),'dataTestId':'blaze-widget-story-play-button'})),a3&&this['isButtonVisible']('CUSTOM_ACTION_BUTTON_ONE')&&(this['customActionButtonOneElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['customActionButtonOne'],'eventType':'click','clickHandler':a8=>this['onCustomActionButtonClick'](a8,a2[0x0]['options']),'dataTestId':'blaze-widget-story-custom-action-button-one'})),a4&&this['isButtonVisible']('CUSTOM_ACTION_BUTTON_TWO')&&(this['customActionButtonTwoElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['customActionButtonTwo'],'eventType':'click','clickHandler':a8=>this['onCustomActionButtonClick'](a8,a2[0x1]['options']),'dataTestId':'blaze-widget-story-custom-action-button-two'})),this['isButtonVisible']('MUTE_UNMUTE')&&(this['muteButtonElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['mute'],'eventType':'click','clickHandler':this['muteToggle']['bind'](this),'dataTestId':'blaze-widget-story-mute-button'})),this['isButtonVisible']('SHARE')&&(this['shareButtonElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['share'],'eventType':'click','clickHandler':this['onShareClick']['bind'](this),'dataTestId':'blaze-widget-story-share-button'})),this['isButtonVisible']('EXIT_PLAYER')&&(this['exitMobileTabletButtonElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['exitMobileTablet'],'eventType':'click','clickHandler':a8=>{null==a8||a8['stopPropagation'](),this['exitTrigger']='Close\x20Button',this['navigationDirection']='',this['navigationType']='',this['close'](!0x0);},'dataTestId':'blaze-widget-story-exit-button'})),this['isButtonVisible']('FULLSCREEN')&&(this['fullScreenElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['fullscreen'],'eventType':'click','clickHandler':this['onExpandClick']['bind'](this)})),this['isButtonVisible']('CLOSED_CAPTIONS')&&F['ConfigService']['shouldAllowClosedCaptions']&&(this['closedCaptionsButtonElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['closedCaptionsOff'],'eventType':'click','clickHandler':this['onClosedCaptionClick']['bind'](this),'dataTestId':'blaze-widget-story-closed-captions-button'})),this['topContainer']['append'](this['buttonsContainer']),this['bottomContainer']=D['WidgetsFactory']['create']('blaze-div'),this['bottomContainer']['setStyle']({'position':'absolute','bottom':'desktop'===A['deviceDetector']['platform']&&'Full\x20Screen'===M?'-100px':'0','width':'100%','height':'auto','padding':'0px\x2025px\x20'+('Embedded'===M?this['getEmbeddedBottomContainerPaddingBottom']():'40px'),'display':'flex','flexFlow':'column','boxSizing':'border-box','zIndex':B['Z_INDEX']['onTopOfPlayer']}),this['bottomButtonsWrapper']=D['WidgetsFactory']['create']('blaze-div'),this['bottomButtonsWrapper']['setStyle']({'display':'flex','flexDirection':'column','width':'100%','alignItems':'center','gap':'8px'}),this['bottomContainer']['append'](this['bottomButtonsWrapper']),this['ctaButtonElement']=new z['BlazeCtaButton'](),this['ctaButtonElement']['setStyle']({'justifyContent':I['positionMap']['CENTER']}),this['ctaButtonElement']['setAnchorButtonStyles']({'width':'tablet'===A['deviceDetector']['platform']?'60%':'100%','fontFamily':this['playerStyle']['ctaButton']['font']}),this['ctaButtonElement']['setAttribute']('hidden-btn','true'),this['ctaButtonElement']['addEventListener']('click',a8=>this['handleCtaAction'](a8,'CTA\x20Click')),this['updateCtaButtonLayout'](),this['bottomButtonsWrapper']['append'](this['ctaButtonElement']),this['bannerAdElement']=new w['BlazeWidgetBannerAd'](this),'mobile'===A['deviceDetector']['platform']&&'Embedded'!==M?this['bottomButtonsWrapper']['append'](this['bannerAdElement']):'Embedded'!==M&&(this['bannerAdElement']['style']['position']='absolute',this['bannerAdElement']['style']['bottom']='10px',this['container']['append'](this['bannerAdElement'])),this['container']['append'](this['bottomContainer']),('desktop'===A['deviceDetector']['platform']&&'Full\x20Screen'===this['mode']||'desktop'===A['deviceDetector']['platform']&&'Embedded'===this['mode']&&'Horizontal'===this['aspectRatio'])&&(this['nextPageButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['nextPage'],'position':'Embedded'===this['mode']?'right':'left','margin':'Embedded'===this['mode']?'73px':'32px','clickHandler':V,'buttonType':'NEXT_PAGE'}),'SingleContent'===F['VideoPlayerService']['playReference']&&(this['originalNextPageDesktopClickListener']=V,this['restartStoryOnClickEvent']=()=>{this['playPage'](0x0),this['revertNextPageButtonToPreviousAction']();}),this['prevPageButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['prevPage'],'position':'Embedded'===this['mode']?'left':'right','margin':'Embedded'===this['mode']?'73px':'32px','clickHandler':U,'buttonType':'PREV_PAGE'}),this['nextStoryButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['nextStory'],'position':'Embedded'===this['mode']?'right':'left','margin':'Embedded'===this['mode']?'24px':'100px','clickHandler':(0x0,A['throttle'])(()=>{var a8,a9,aa,ab,ac,ad,ae,af;if(this['exitTrigger']='Skip','SingleContent'===F['VideoPlayerService']['playReference']&&F['ConfigService']['shouldAutoAdvance'])return null===(a9=null===(a8=this['refContentModal'])||void 0x0===a8?void 0x0:a8['player'])||void 0x0===a9||a9['renderPlayerBackground'](!0x0),void(null===(ab=null===(aa=this['refContentModal'])||void 0x0===aa?void 0x0:aa['player'])||void 0x0===ab||ab['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>A['URLManager']['navigateTo']('AUTO_ADVANCE')}));null===(ac=this['nextStoryButton'])||void 0x0===ac||ac['blur'](),null===(ad=this['onNextStory'])||void 0x0===ad||ad['call'](this,'Manual'),this['dispatchEvent'](new CustomEvent(C['InternalEvent']['NEXT_STORY'],{'bubbles':!0x0,'cancelable':!0x1})),null===(ae=this['shareModal'])||void 0x0===ae||ae['close'](),null===(af=this['closedCaptionsModal'])||void 0x0===af||af['close'](),this['currentPage']['muted']=this['videoPlayerState']['isMuted'];},B['ONE_SECOND']/0x4),'buttonType':'NEXT_STORY'}),this['prevStoryButton']=this['createNavigationButtonsAndAppendToWidgetStoryContainer']({'iconUrl':this['playerStyle']['icons']['navigation']['prevStory'],'position':'Embedded'===this['mode']?'left':'right','margin':'Embedded'===this['mode']?'24px':'100px','clickHandler':(0x0,A['throttle'])(()=>{var a8,a9,aa,ab;this['exitTrigger']='Skip',null===(a8=this['prevStoryButton'])||void 0x0===a8||a8['blur'](),null===(a9=this['onPrevStory'])||void 0x0===a9||a9['call'](this,'Manual'),this['dispatchEvent'](new CustomEvent(C['InternalEvent']['PREV_STORY'],{'bubbles':!0x0,'cancelable':!0x1})),null===(aa=this['shareModal'])||void 0x0===aa||aa['close'](),null===(ab=this['closedCaptionsModal'])||void 0x0===ab||ab['close'](),this['currentPage']['muted']=this['videoPlayerState']['isMuted'];},B['ONE_SECOND']/0x4),'buttonType':'PREV_STORY'})),this['elementsToHideOnWebAds']['push'](this['bottomContainer'],this['contentWrapper'],this['fullScreenElement'],this['closedCaptionsButtonElement'],R,this['shadowTopElement'],this['buttonsContainer'],this['bannerAdElement']),this['elementsToHideOnImaAds']['push'](this['bottomContainer'],this['contentWrapper'],R,this['shadowTopElement'],this['buttonsContainer'],this['muteButtonElement'],this['fullScreenElement'],this['closedCaptionsButtonElement'],this['shareModal'],W,X,this['topContainer'],this['bannerAdElement']),'Embedded'===this['mode']&&(this['elementsToHideOnWebAds']['push'](this['nextPageButton'],this['prevPageButton'],this['nextStoryButton'],this['prevStoryButton']),this['elementsToHideOnImaAds']['push'](this['nextPageButton'],this['prevPageButton'],this['nextStoryButton'],this['prevStoryButton'])),this['addEventListener'](C['InternalEvent']['BANNER_ANALYTICS'],a8=>{const a9=a8['detail'];this['bannerAdEvent'](a9);});}['isButtonVisible'](L){let M;return M=['MUTE_UNMUTE','EXIT_PLAYER','PLAY_PAUSE','SHARE','FULLSCREEN','CLOSED_CAPTIONS','CUSTOM_ACTION_BUTTON_ONE','CUSTOM_ACTION_BUTTON_TWO']['includes'](L)?this['playerStyle']['iconsButton']['find'](N=>N['value']===L):this['playerStyle']['iconsButtonNavigation']['find'](N=>N['value']===L),'Embedded'===this['mode']&&(null==M?void 0x0:M['isEmbeddedVisible'])||'Full\x20Screen'===this['mode']&&(null==M?void 0x0:M['isVisible']);}['createPlayerButtonsAndAppendToButtonsContainer'](L){const {iconUrl:M,eventType:N,clickHandler:O}=L,P=D['WidgetsFactory']['create']('blaze-button');return P['addEventListener'](N,O),P['setIconUrl'](M),L['dataTestId']&&P['setAttribute']('data-testid',L['dataTestId']),this['buttonsContainer']['append'](P),P;}['createNavigationButtonsAndAppendToWidgetStoryContainer'](L){const {buttonType:M,iconUrl:N,position:O,margin:P,clickHandler:Q}=L,R=this['playerStyle']['iconsButtonNavigation']['find'](U=>U['value']===M),S='RTL'===F['ConfigService']['layoutDirection']?'left'===O?'right':'left':O,T=D['WidgetsFactory']['create']('blaze-button');return T['setStyle']({'position':'absolute',[S]:'Embedded'===this['mode']?'0':'100%','top':'50%','transform':'RTL'===F['ConfigService']['layoutDirection']?'rotate(180deg)\x20translateY(50%)':'translateY(-50%)',['left'===S?'marginLeft':'marginRight']:P,'zIndex':'Embedded'===this['mode']?B['Z_INDEX']['onTopOfPlayer']:'auto'}),R&&this['applyIconStyle'](T,R,N),T['addEventListener']('click',Q),T['setAttribute']('data-testid','blaze-widget-story-'+M+'-button'),this['container']['append'](T),T;}['createResumeAfterBlurButton'](){this['resumeAfterBlurButton']=D['WidgetsFactory']['create']('blaze-button'),this['resumeAfterBlurButton']['setIconUrl'](E['playResumeIconSvg']),this['resumeAfterBlurButton']['setAttribute']('height','96px'),this['resumeAfterBlurButton']['setAttribute']('width','96px'),this['resumeAfterBlurButton']['setStyle']({'display':'none','position':'fixed','borderRadius':'50%','zIndex':'99999','top':'20%','padding':'40%','margin':'auto'}),this['resumeAfterBlurButton']['addEventListener']('click',()=>{var L,M;if(this['resume'](),0x0===this['querySelectorAll']('style')['length']){const N=document['createElement']('style');N['innerHTML']='\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20@keyframes\x20fadeOut\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20from\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20to\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20',this['append'](N);}null===(L=this['resumeAfterBlurButton'])||void 0x0===L||L['setIconUrl'](E['pauseResumeIconSvg']),null===(M=this['resumeAfterBlurButton'])||void 0x0===M||M['setStyle']({'opacity':'0','pointerEvents':'none','animation':'fadeOut\x200.5s\x20forwards'}),setTimeout(()=>{var O,P;null===(O=this['resumeAfterBlurButton'])||void 0x0===O||O['setIconUrl'](E['playResumeIconSvg']),null===(P=this['resumeAfterBlurButton'])||void 0x0===P||P['setStyle']({'opacity':'1','pointerEvents':'auto','animation':'unset','display':'none'});},B['ONE_SECOND']);}),this['container']['append'](this['resumeAfterBlurButton']);}['applyIconStyle'](L,M,N){L['setIconUrl'](N),L['style']['display']=M['isVisible']?'block':'none',(null==M?void 0x0:M['padding'])&&'Embedded'!==this['mode']?L['style']['padding']=M['padding']:'Embedded'===this['mode']&&(L['style']['padding']='5px'),(null==M?void 0x0:M['borderRadius'])&&(L['style']['borderRadius']=M['borderRadius']),(null==M?void 0x0:M['backgroundColor'])&&(L['style']['backgroundColor']=M['backgroundColor']),(null==M?void 0x0:M['size'])&&'Embedded'!==this['mode']?(L['setAttribute']('width',M['size']),L['setAttribute']('height',M['size'])):(null==M?void 0x0:M['embeddedSize'])&&'Embedded'===this['mode']&&(L['setAttribute']('width',M['embeddedSize']),L['setAttribute']('height',M['embeddedSize'])),(null==M?void 0x0:M['color'])&&L['setAttribute']('icon-color',M['color']);}['onCustomActionButtonClick'](L,M){M['onClick'](L,this['data']['entities']),this['event'](B['StoryAction']['CustomActionButtonClick'],{'custom_action_button_name':M['buttonName']});}['onLanguageChange'](L){var M,N,O,P;const Q=(null===(M=this['currentContentPage']['closedCaptions'])||void 0x0===M?void 0x0:M['find'](R=>''+R['language']===L['detail']['language']))?null===(N=this['playerStyle'])||void 0x0===N?void 0x0:N['icons']['closedCaptionsOn']:null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['icons']['closedCaptionsOff'];null===(P=this['closedCaptionsButtonElement'])||void 0x0===P||P['setIconUrl'](Q||'');}['onShareClick'](){return q(this,void 0x0,void 0x0,function*(){var L;this['event'](B['StoryAction']['ShareClick'],{}),this['videoPlayerState']['isPlaying']&&this['pause']();const M=this['getShareablePageId'](),N=A['URLManager']['buildShareUrl']('story',this['data']['id'],M||void 0x0);(null===navigator||void 0x0===navigator?void 0x0:navigator['share'])?navigator['share']({'text':this['data']['title'],'url':N})['then'](()=>{this['event'](B['StoryAction']['ShareSuccess'],{});})['catch'](O=>{var P;'AbortError'!==O['name']&&(null===(P=this['shareModal'])||void 0x0===P||P['open'](N));})['finally'](()=>{this['videoPlayerState']['isPlaying']&&this['resume']();}):null===(L=this['shareModal'])||void 0x0===L||L['open'](N);});}['onClosedCaptionClick'](){var L;null===(L=this['closedCaptionsModal'])||void 0x0===L||L['open']();}['updateCtaButtonLayout'](){var L;this['ctaButtonElement']['setStyle']({'height':'Embedded'===this['mode']?this['getEmbeddedCtaButtonHeight']():null!==(L=this['playerStyle']['ctaButton']['height'])&&void 0x0!==L?L:B['DEFAULT_CTA_HEIGHT']+'px'}),'Horizontal'===this['aspectRatio']&&this['ctaButtonElement']['setStyle']({'width':this['playerStyle']['ctaButton']['width']===H['Presets']['CtaButtonStyle']['width']?'50%':this['playerStyle']['ctaButton']['width']}),'Embedded'===this['mode']&&('mobile'===A['deviceDetector']['platform']?this['ctaButtonElement']['setStyle']({'maxWidth':'Horizontal'===this['aspectRatio']?'150px':'100%'}):'tablet'===A['deviceDetector']['platform']?this['ctaButtonElement']['setStyle']({'maxWidth':'200px'}):this['ctaButtonElement']['setStyle']({'maxWidth':'320px'})),this['bottomContainer']['setStyle']({'paddingLeft':'CENTER'!==this['playerStyle']['ctaButton']['position']?'10px':'25px','paddingRight':'CENTER'!==this['playerStyle']['ctaButton']['position']?'10px':'25px'}),this['bottomButtonsWrapper']['setStyle']({'alignItems':I['positionMap'][this['playerStyle']['ctaButton']['position']]}),this['ctaButtonElement']['setStyle']({'justifyContent':I['positionMap'][this['playerStyle']['ctaButton']['position']]}),this['ctaButtonElement']['setAnchorButtonStyles']({'fontSize':A['TextScaleService']['scaleFontSize']('Embedded'===this['mode']?'14px':this['playerStyle']['ctaButton']['fontSize']),'fontFamily':this['playerStyle']['ctaButton']['font'],'fontWeight':this['playerStyle']['ctaButton']['fontWeight'],'textTransform':this['playerStyle']['ctaButton']['textTransform'],'borderRadius':this['playerStyle']['ctaButton']['borderRadius'],'border':this['playerStyle']['ctaButton']['border']}),this['ctaButtonElement']['setCtaIconStyles']({'display':this['playerStyle']['ctaButton']['icon']['isVisible']?'inline-flex':'none','padding':this['playerStyle']['ctaButton']['padding']}),this['ctaButtonElement']['setAttribute']('icon-url',this['playerStyle']['ctaButton']['icon']['url']),this['ctaButtonElement']['setAttribute']('icon-size',this['playerStyle']['ctaButton']['icon']['size']);}['updateChip'](){this['playerStyle']['statusLiveStyle']['isVisible']&&this['data']['isLive']?(this['contentChip']['style']['display']='flex',this['contentChip']['style']['backgroundColor']=this['playerStyle']['statusLiveStyle']['backgroundColor'],this['contentChip']['textContent']=this['playerStyle']['statusLiveStyle']['text']):this['contentChip']['style']['display']='none';}['setTheme'](L){this['playerStyle']=L,this['render']();}['disableStoriesNavigationButtons'](){this['nextStoryButton']&&this['prevStoryButton']&&(this['updateNavButton']('DISABLED',this['nextStoryButton']),this['updateNavButton']('DISABLED',this['prevStoryButton']));}['disablePageNavigationButtons'](){this['prevPageButton']&&this['nextPageButton']&&(this['updateNavButton']('DISABLED',this['nextPageButton']),this['updateNavButton']('DISABLED',this['prevPageButton']));}['setButtonNavigationAsDisabled'](L){'ALL'===L?(this['disableStoriesNavigationButtons'](),this['disablePageNavigationButtons']()):'STORIES_NAVIGATION_ONLY'===L&&this['disableStoriesNavigationButtons']();}['shouldShowBannerAd'](){var L;return Boolean(this['bannerAdElement'])&&!0x1!==this['currentContentPage']['shouldShowBannerAd']&&!('Ad'===(null===(L=this['currentPage']['data'])||void 0x0===L?void 0x0:L['type'])||this['data']['isAd']);}['adjustContentView'](){var L,M,N,O,P,Q,R,S,T,U,V,W,X,Y;if([...this['elementsToHideOnWebAds'],...this['elementsToHideOnImaAds']]['forEach'](a0=>{a0&&a0!==this['bannerAdElement']&&(a0['style']['visibility']='visible');}),F['ConfigService']['shouldAllowClosedCaptions']){const a0=null===(L=this['currentPage']['data']['closedCaptions'])||void 0x0===L?void 0x0:L['find'](a1=>''+a1['language']===localStorage['getItem'](B['LOCAL_STORAGE_KEY_LAST_SELECTED']));this['currentPage']['setAttribute']('is-captions-visible',Boolean(a0)['toString']());}const Z='desktop'===A['deviceDetector']['platform'];return'Ad'===(null===(M=this['currentPage']['data'])||void 0x0===M?void 0x0:M['type'])||this['data']['isAd']?(this['elementsToHideOnWebAds']['forEach'](a1=>{a1&&(a1['style']['visibility']='hidden');}),Z&&(null===(P=null===(O=null===(N=this['refContentModal'])||void 0x0===N?void 0x0:N['player'])||void 0x0===O?void 0x0:O['renderPlayerBackground'])||void 0x0===P||P['call'](O,!0x0),F['ConfigService']['shouldDismissPlayer']&&(null===(Q=this['refContentModal'])||void 0x0===Q||Q['exitButtonWrapperElement']['setStyle']({'display':'none'}))),F['VideoPlayerService']['muteStateBeforeAd']=this['videoPlayerState']['isMuted']?'mute':'unmute',this['setPlayerButtonPosition']('AD'),this['setButtonNavigationAsDisabled']('STORIES_NAVIGATION_ONLY'),'unmute'===F['VideoPlayerService']['muteStateBeforeAd']&&this['muteToggle'](),void this['currentPage']['setAttribute']('is-captions-visible','false')):this['currentPage']['shouldShowImaAd']?(this['elementsToHideOnImaAds']['forEach'](a1=>{a1&&(a1['style']['visibility']='hidden');}),null===(R=this['longPressHandler'])||void 0x0===R||R['detach'](this['container']),Z&&(null===(U=null===(T=null===(S=this['refContentModal'])||void 0x0===S?void 0x0:S['player'])||void 0x0===T?void 0x0:T['renderPlayerBackground'])||void 0x0===U||U['call'](T,!0x0),F['ConfigService']['shouldDismissPlayer']&&(null===(V=this['refContentModal'])||void 0x0===V||V['exitButtonWrapperElement']['setStyle']({'display':'none'}))),this['setButtonNavigationAsDisabled']('ALL'),void this['currentPage']['setAttribute']('is-captions-visible','false')):('no-ad'!==F['VideoPlayerService']['muteStateBeforeAd']&&(Boolean(this['bannerAdElement'])&&!0x1!==this['currentContentPage']['shouldShowBannerAd']&&(null===(W=this['bannerAdElement'])||void 0x0===W||W['show'](this['data']['bannerAdInfo'],!0x1)),'iOS'===A['deviceDetector']['OS']||'tablet'===A['deviceDetector']['platform']&&'Mac\x20OS'===A['deviceDetector']['OS']?this['videoPlayerState']['isMuted']||this['muteToggle']():'mute'!==F['VideoPlayerService']['muteStateBeforeAd']||this['videoPlayerState']['isMuted']?'unmute'===F['VideoPlayerService']['muteStateBeforeAd']&&this['videoPlayerState']['isMuted']&&this['muteToggle']():this['muteToggle'](),F['VideoPlayerService']['muteStateBeforeAd']='no-ad'),null===(X=this['longPressHandler'])||void 0x0===X||X['attach'](this['container']),this['setPlayerButtonPosition']('NO_AD'),F['ConfigService']['shouldDismissPlayer']&&(null===(Y=this['refContentModal'])||void 0x0===Y||Y['render']()),void this['updatePlayerButtonsState'](!0x0));}['setPlayerButtonPosition'](L){var M,N,O,P,Q;if('AD'===L)'HORIZONTAL'===this['playerStyle']['iconsPosition']?'LTR'===F['ConfigService']['layoutDirection']?(this['buttonsContainer']['style']['flexDirection']='row-reverse',null===(M=this['muteButtonElement'])||void 0x0===M||M['setAttribute']('order','-1')):(this['topContainer']['style']['flexDirection']='row',this['buttonsContainer']['style']['flexDirection']='row-reverse',null===(N=this['muteButtonElement'])||void 0x0===N||N['setAttribute']('order','-1')):'LTR'===F['ConfigService']['layoutDirection']?null===(O=this['muteButtonElement'])||void 0x0===O||O['setAttribute']('order','-1'):(null===(P=this['muteButtonElement'])||void 0x0===P||P['setAttribute']('order','-1'),this['topContainer']['style']['flexDirection']='row');else{const R=this['playerStyle']['iconsButtonOrder']['indexOf']('MUTE_UNMUTE');null===(Q=this['muteButtonElement'])||void 0x0===Q||Q['setAttribute']('order',String(R)),'HORIZONTAL'===this['playerStyle']['iconsPosition']?'LTR'===F['ConfigService']['layoutDirection']?(this['buttonsContainer']['style']['flexDirection']='row',this['topContainer']['style']['flexDirection']='row'):(this['topContainer']['style']['flexDirection']='row',this['buttonsContainer']['style']['flexDirection']='row'):'LTR'===F['ConfigService']['layoutDirection']||(this['topContainer']['style']['flexDirection']='row');}}['updatePlayerButtonIcons'](){var L,M,N,O,P;const Q=this['videoPlayerState']['isPlaying']?this['playerStyle']['icons']['pause']:this['playerStyle']['icons']['play'],R=this['videoPlayerState']['isMuted']?this['playerStyle']['icons']['mute']:this['playerStyle']['icons']['unmute'];if(this['playButtonElement']&&this['playButtonElement']['setIconUrl'](Q),this['muteButtonElement']&&this['muteButtonElement']['setIconUrl'](R),this['closedCaptionsButtonElement']){if((null===(L=this['currentContentPage']['closedCaptions'])||void 0x0===L?void 0x0:L['length'])>0x0){const S=localStorage['getItem'](B['LOCAL_STORAGE_KEY_LAST_SELECTED']),T=(null===(M=this['currentContentPage']['closedCaptions'])||void 0x0===M?void 0x0:M['find'](U=>''+U['language']===S))?null===(N=this['playerStyle'])||void 0x0===N?void 0x0:N['icons']['closedCaptionsOn']:null===(O=this['playerStyle'])||void 0x0===O?void 0x0:O['icons']['closedCaptionsOff'];null===(P=this['closedCaptionsButtonElement'])||void 0x0===P||P['setAttribute']('disabled','false'),this['closedCaptionsButtonElement']['setIconUrl'](T);}else this['closedCaptionsButtonElement']['setAttribute']('disabled','true'),this['closedCaptionsButtonElement']['setIconUrl'](this['playerStyle']['icons']['closedCaptionsOff']);}}['handleCtaAction'](L,M){var N,O,P,Q,R,S,T,U;return this['event'](B['StoryAction']['CtaClick'],{'gesture_type':M}),(null===(N=this['shareModal'])||void 0x0===N?void 0x0:N['isOpen'])&&(null===(O=this['shareModal'])||void 0x0===O||O['close']()),this['playerStyle']['ctaButton']['isDisplayCtaModal']&&(A['deviceDetector']['isMobile']||A['deviceDetector']['isTablet'])&&(null===(P=this['ctaModal'])||void 0x0===P||P['open']()),L['preventDefault'](),L['stopImmediatePropagation'](),(0x0,J['delay'])(B['ONE_AND_HALF_SECOND'])['then'](()=>{var V,W;const X=this['ctaButtonElement']['querySelector']('a');'iOS'===A['deviceDetector']['OS']||'Safari'===A['deviceDetector']['browser']?X&&(window['location']['href']=X['href']):(null==X||X['dispatchEvent'](new MouseEvent('click',{'bubbles':!0x1,'cancelable':!0x0,'view':window})),(null===(V=this['ctaModal'])||void 0x0===V?void 0x0:V['isOpen'])&&(null===(W=this['ctaModal'])||void 0x0===W||W['close']())),this['isCtaWasClickedOrSwiped']=!0x1;}),(null===(R=null===(Q=this['refContentModal'])||void 0x0===Q?void 0x0:Q['parentWidget'])||void 0x0===R?void 0x0:R['id'])&&F['EventService']['dispatch'](null===(S=this['refContentModal'])||void 0x0===S?void 0x0:S['parentWidget'],C['Delegation']['onWidgetTriggerCTA'],{'widgetId':null===(U=null===(T=this['refContentModal'])||void 0x0===T?void 0x0:T['parentWidget'])||void 0x0===U?void 0x0:U['id'],'actionType':'URL','actionParam':this['ctaButtonElement']['getAttribute']('href')}),this['exitTrigger']=M,this['event'](B['StoryAction']['PageExit'],{}),this['event'](B['StoryAction']['Exit'],{}),this['pause'](),this['resumeAfterfocus']=!0x0,!0x0;}['playToggle'](L){var M;const N=null!==(M=null==L?void 0x0:L['customIsPlaying'])&&void 0x0!==M?M:this['videoPlayerState']['isPlaying'];this['event'](N?B['StoryAction']['PlaybackPause']:B['StoryAction']['PlaybackPlay'],{'playback_action_method':'Click'}),N?(this['pause'](),this['isPausedManually']=!0x0):(this['resume'](),this['isPausedManually']=!0x1),'boolean'!=typeof(null==L?void 0x0:L['customIsPlaying'])&&(this['videoPlayerState']['isPlaying']=!N),this['updatePlayerButtonIcons'](),this['updateStoryAccessibilityLabels']();}['muteToggle'](){this['event'](B['StoryAction']['Audio'],{}),this['videoPlayerState']['isMuted']=!this['videoPlayerState']['isMuted'];const L=this['pages'][this['pageIndex']];return L['muted']=this['videoPlayerState']['isMuted'],this['updatePlayerButtonIcons'](),this['updateStoryAccessibilityLabels'](),L['muted'];}['resetStoryLocationIndexToLastUnseen'](){let L=0x0;for(let M=this['data']['pages']['length']-0x1;M>=0x0;M--){const N=this['data']['pages'][M],O=this['data']['pages'][M-0x1];if(N&&O&&!N['hasViewed']&&O['hasViewed']){L=M;break;}}this['setInitialPageIndex'](L);}['setInitialPageIndex'](L){if(!this['pages']['length'])return void(this['pageIndex']=0x0);const M=Math['min'](Math['max'](L,0x0),this['pages']['length']-0x1);this['pageIndex']=M,this['pages'][this['pageIndex']]['shouldShowImaAd']=!0x1;}['setInitialPageById'](L){if(!L)return void this['resetStoryLocationIndexToLastUnseen']();const M=this['data']['pages']['findIndex'](N=>(null==N?void 0x0:N['id'])===L);M>-0x1?this['setInitialPageIndex'](M):this['resetStoryLocationIndexToLastUnseen']();}['determineAspectRatio'](L){var M,N;const O=null===(N=null===(M=L['pages'][0x0])||void 0x0===M?void 0x0:M['baseLayer'])||void 0x0===N?void 0x0:N['content']['renditions']['find'](P=>'Horizontal'===P['aspectRatio']);return F['ConfigService']['shouldAllowHorizontalStories']&&('Full\x20Screen'===this['mode']&&'desktop'===A['deviceDetector']['platform']||'Embedded'===this['mode']&&'Horizontal'===this['aspectRatio'])&&O?'Horizontal':'Vertical';}['clearExistingContent'](){var L,M;null===(L=this['pages'])||void 0x0===L||L['forEach'](N=>{var O;return null===(O=null==N?void 0x0:N['remove'])||void 0x0===O?void 0x0:O['call'](N);}),this['pages']=[],null===(M=this['playbackParts'])||void 0x0===M||M['forEach'](N=>{(null==N?void 0x0:N['parentNode'])instanceof Element&&N['parentNode']['remove']();}),this['playbackParts']=[];}['createPageElement'](L){const M='Ad'===L['type']?new w['BlazeWidgetAd'](this):new w['BlazeWidgetVideo'](this);return M instanceof w['BlazeWidgetVideo']&&(M['muted']=this['videoPlayerState']['isMuted']),M['setData'](L),this['setupPageEndedHandler'](M),M;}['setupPageEndedHandler'](L){L['onended']=()=>{this['pageIndex']===this['pages']['length']-0x1&&(this['exitTrigger']='Story\x20Completed'),this['navigationType']='Automatic',this['navigationDirection']='Forwards',this['videoPlayerState']['isPlaying']=!0x0,this['goNextPage'](this['navigationType']);};}['createProgressElements'](L){const M=L['filter'](N=>'Ad'!==N['type'])['length'];this['progressElement']['style']['gridTemplateColumns']='repeat('+M+',\x201fr)',this['progressElement']['style']['gap']='4px',L['forEach'](N=>{const {part:O,filler:P}=this['createProgressPart']();'Ad'===N['type']&&(O['style']['display']='none'),this['playbackParts']['push'](P),this['progressElement']['append'](O);});}['createProgressPart'](){const L=document['createElement']('div');(0x0,J['mergeStyles'])(L,{'width':'100%','height':'100%','backgroundColor':'gray','borderRadius':'5px'});const M=document['createElement']('div');return(0x0,J['mergeStyles'])(M,{'width':'100%','height':'100%','backgroundColor':H['Colors']['White'],'borderRadius':'5px'}),L['appendChild'](M),{'part':L,'filler':M};}['setData'](L){this['data']=L,this['aspectRatio']=this['determineAspectRatio'](L),this['setAttribute']('name',L['title']),this['clearExistingContent'](),this['titleText']['innerText']=L['title'],this['contentPublishedDate']['innerText']=(0x0,J['formatDuration'])(new Date(L['createTime'])),this['loadTitleImage'](L),this['pages']=L['pages']['map'](M=>this['createPageElement'](M)),this['createProgressElements'](L['pages']),this['pages']['forEach'](M=>this['container']['prepend'](M)),this['updateChip'](),this['adjustContentView'](),this['setupActivityObservers']();}['setupActivityObservers'](){this['cleanupActivityObservers'](),this['activitySubscriptions']['push'](G['UserActivityObserverService']['onInteractionChanged'](L=>{var M;for(const N of this['data']['pages']||[])if('interaction'in N&&(null===(M=N['interaction'])||void 0x0===M?void 0x0:M['id'])===L['interactionId']){const O=this['data']['pages']['indexOf'](N);if(O===this['pageIndex']){const P=this['pages'][O];P instanceof w['BlazeWidgetVideo']&&P['interactionElement']['refreshInteraction']();}return;}}));}['buildContentTitleElements'](){this['titleGroup']['setStyle']({'display':'flex','flexDirection':'row','gap':'4px','alignItems':'center','overflow':'hidden','minWidth':'0'}),J['AccessibilityUtils']['setElementAccessibilityHidden'](this['titleText']),this['titleText']['innerText']='',this['titleText']['setStyle']({'flex':'1','minWidth':'0','textOverflow':'ellipsis','overflow':'hidden','whiteSpace':'nowrap','fontWeight':'600','color':this['playerStyle']['titleColor'],'fontFamily':this['playerStyle']['titleFont'],'margin':'0px'}),this['titleGroup']['appendChild'](this['titleText']);}['buildTitleImageElements'](){const L=D['WidgetsFactory']['create']('blaze-title-image'),M=this['playerStyle']['titleImage'];L['setAttribute']('size',String(M['size'])),L['setAttribute']('visible',String(M['isVisible'])),this['titleGroup']['appendChild'](L),this['titleImageComponent']=L,J['AccessibilityUtils']['setElementAccessibilityHidden'](L);}['applyTitleImageConfig'](){var L,M;const N=this['playerStyle']['titleImage'];null===(L=this['titleImageComponent'])||void 0x0===L||L['setAttribute']('visible',String(N['isVisible'])),null===(M=this['titleImageComponent'])||void 0x0===M||M['setAttribute']('size',String(N['size'])),this['loadTitleImage'](this['data']);}['loadTitleImage'](L){var M,N;L&&(null===(M=this['playerStyle']['titleImage'])||void 0x0===M?void 0x0:M['isVisible'])&&(null===(N=this['titleImageComponent'])||void 0x0===N||N['load'](this['playerStyle']['titleImage'],L));}['applyPublishedDateStyle'](){const L=this['contentPublishedDate']['style'];L['fontFamily']=this['playerStyle']['publishedDateFont'],L['color']=this['playerStyle']['publishedDateColor'],L['display']=this['playerStyle']['publishedDateVisible']?'inline':'none';const M=this['playerStyle']['contentOrder']['indexOf']('PUBLISHED_DATE');L['marginInlineStart']=0x0===M?'0':'4px',L['marginInlineEnd']=M===this['playerStyle']['contentOrder']['length']-0x1?'0':'4px';}get['currentContentPage'](){return this['data']['pages'][this['pageIndex']];}get['nextContentPage'](){return this['data']['pages'][this['pageIndex']+0x1]||null;}get['prevContentPage'](){return this['data']['pages'][this['pageIndex']-0x1]||null;}get['currentPage'](){return this['pages'][this['pageIndex']];}get['nextPage'](){return this['pages'][this['pageIndex']+0x1];}get['prevPage'](){return this['pages'][this['pageIndex']-0x1];}['prefetchAdjacentPages'](){var L,M,N;if(this['isUnloading'])return;this['preloadAniviewCookieSyncIfNeeded']();const O=P=>Math['abs'](P-this['pageIndex'])<=0x2;switch(F['ConfigService']['prefetchingPolicy']){case'low':null===(L=this['nextPage'])||void 0x0===L||L['load']();break;case'default':null===(M=this['nextPage'])||void 0x0===M||M['load'](),null===(N=this['pages'][this['pageIndex']+0x2])||void 0x0===N||N['load']();}this['pages']['forEach']((P,Q)=>{O(Q)||null==P||P['unload']();}),this['prefetchTimeout']&&clearTimeout(this['prefetchTimeout']),this['prefetchTimeout']=setTimeout(()=>{var P,Q,R;if(!this['isUnloading']){switch(F['ConfigService']['prefetchingPolicy']){case'low':null===(P=this['pages'][this['pageIndex']+0x1])||void 0x0===P||P['load']();break;case'default':null===(Q=this['pages'][this['pageIndex']+0x1])||void 0x0===Q||Q['load'](),null===(R=this['pages'][this['pageIndex']+0x2])||void 0x0===R||R['load']();}this['prefetchTimeout']=null;}},0x7d0);}['loadStoryPostersByDistance'](L){var M;if(this['isUnloading'])return;const N=Math['max'](0x0,this['pageIndex']-L),O=Math['min'](this['pages']['length']-0x1,this['pageIndex']+L);for(let P=N;P<=O;P++)null===(M=this['pages'][P])||void 0x0===M||M['loadPoster']();}['revertNextPageButtonToPreviousAction'](){this['originalNextPageDesktopClickListener']&&this['nextPageButton']&&this['restartStoryOnClickEvent']&&(this['nextPageButton']['removeEventListener']('click',this['restartStoryOnClickEvent']),this['nextPageButton']['addEventListener']('click',this['originalNextPageDesktopClickListener']),this['nextPageButton']['setIconUrl'](this['playerStyle']['icons']['navigation']['nextPage']));}['displayRestartStoryButton'](){this['nextPageButton']&&this['originalNextPageDesktopClickListener']&&this['restartStoryOnClickEvent']&&(this['nextPageButton']['setIconUrl'](E['restartIconSvg']),this['nextPageButton']['removeEventListener']('click',this['originalNextPageDesktopClickListener']),this['nextPageButton']['addEventListener']('click',this['restartStoryOnClickEvent']));}['playPage'](L){var M,N,O,P,Q;if(this['loadStoryPostersByDistance'](0x4),this['navigationTimeout']&&clearTimeout(this['navigationTimeout']),this['prefetchTimeout']&&(clearTimeout(this['prefetchTimeout']),this['prefetchTimeout']=null),L<0x0){if('SingleContent'===F['VideoPlayerService']['playReference']||'Share'===F['VideoPlayerService']['playReference'])return this['currentPage']['restartVideo'](),void this['updateCta'](0x0);null===(M=this['onPrevStory'])||void 0x0===M||M['call'](this,this['navigationType']),null===(N=this['prevPageButton'])||void 0x0===N||N['blur'](),this['dispatchEvent'](new CustomEvent(C['InternalEvent']['PREV_STORY'],{'bubbles':!0x0,'cancelable':!0x1}));}else{if(L>this['pages']['length']-0x1){if('SingleContent'===F['VideoPlayerService']['playReference'])return void this['updateCta'](this['pages']['length']-0x1);null===(O=this['onNextStory'])||void 0x0===O||O['call'](this,this['navigationType']),null===(P=this['nextPageButton'])||void 0x0===P||P['blur'](),this['dispatchEvent'](new CustomEvent(C['InternalEvent']['NEXT_STORY'],{'bubbles':!0x0,'cancelable':!0x1}));}else this['isActive']=!0x0,null===(Q=this['closedCaptionsModal'])||void 0x0===Q||Q['reloadData'](this['pages'][L]['data']['closedCaptions']),this['switchToPage'](L),'Automatic'===this['navigationType']?this['startPage'](L):this['navigationTimeout']=setTimeout(()=>{this['videoPlayerState']['isPlaying']&&this['startPage'](L);},0xfa);}}['updatePublishedDate'](L){const M=void 0x0===L?this['pageIndex']:L,N=new Date(Date['parse'](this['data']['pages'][M]['createTime']));this['contentPublishedDate']['innerText']=(0x0,J['formatDuration'])(N);}['switchToPage'](L){var M,N,O,P,Q,R,S;if(this['updatePublishedDate'](L),this['updateCTAButtonPosition'](),L===this['pageIndex'])this['updateCTAButtonPosition']();else{(null===(O=null===(N=null===(M=this['refContentModal'])||void 0x0===M?void 0x0:M['player'])||void 0x0===N?void 0x0:N['playerContentList'])||void 0x0===O?void 0x0:O[this['refContentModal']['player']['index']])===this&&A['contentAccessibilityManager']['announceNavigation'](L+0x1,this['pages']['length'],'story-page',null===(P=this['data'])||void 0x0===P?void 0x0:P['title'],{'trigger':'navigation','navigationType':this['navigationType'],'previousPosition':this['pageIndex']+0x1}),this['ctaButtonElement']['clearAllAnimations'](),this['updateCta'](L),this['pages'][this['pageIndex']]['hide'](),this['pages'][this['pageIndex']]['pause'](),this['pages'][this['pageIndex']]['removeLoader']();const V=this['pageIndex'];setTimeout(()=>{this['pages'][V]['currentTime']=0x0;},0xfa,this);}L!==this['pageIndex']&&this['currentPage']['endExit']();const T=L-this['pageIndex'];this['pageIndex']=L,this['markAsRead'](),this['currentPage']['muted']=this['videoPlayerState']['isMuted'],'scale(1)'!==this['style']['transform']&&(this['style']['transform']='scale(1)'),this['updatePlayerButtonIcons'](),'Ad'!==(null===(Q=this['currentPage']['data'])||void 0x0===Q?void 0x0:Q['type'])&&this['adjustContentView']();const U=this['currentPage']instanceof w['BlazeWidgetAd'];(this['currentPage']['shouldShowImaAd']&&!this['shouldShowImaAdOnStart']||U&&!this['data']['isAd'])&&this['setContentExtraInfo'](this['getPagesContentExtraInfo'](U)),null===(R=this['currentPage'])||void 0x0===R||R['display'](()=>{T>=0x0?this['goNextPage']():this['goPrevPage']();}),this['currentPage']['endEnter'](),'Ad'!==(null===(S=this['currentPage']['data'])||void 0x0===S?void 0x0:S['type'])&&this['event'](B['StoryAction']['PageStart'],{}),this['event'](B['StoryAction']['PlaybackInitialStart'],{});}['startPage'](L){return q(this,void 0x0,void 0x0,function*(){var M,N,O,P,Q,R,S,T,U;if(this['isUnloading'])return;if(this['pageIndex']=L,this['currentPage']instanceof w['BlazeWidgetAd']&&this['adIndex']++,this['currentPage']instanceof w['BlazeWidgetVideo']&&L>=0x0&&(null===(N=(M=this['currentPage'])['tryToAddLoader'])||void 0x0===N||N['call'](M)),this['isUnloading'])return;if(yield null===(O=this['currentPage'])||void 0x0===O?void 0x0:O['load'](),this['isUnloading'])return;null===(P=this['currentPage'])||void 0x0===P||P['play'](),'Embedded'===this['mode']&&this['currentPage']['setAttribute']('is-captions-visible','false'),this['updatePlayerButtonIcons'](),this['updateStoryAccessibilityLabels']();const V=this['totalPlayStopwatch']['durationMS']();if(this['shouldShowBannerAd']()){const W=!(null===(Q=this['bannerAdElement'])||void 0x0===Q?void 0x0:Q['hasAttemptedLoad']);this['shouldGetNewBannerAd'](V)||W?(null===(R=this['bannerAdElement'])||void 0x0===R||R['show'](this['data']['bannerAdInfo']),this['lastBannerRefreshInWatchTimeMS']=V):((null===(S=this['bannerAdElement'])||void 0x0===S?void 0x0:S['isHidden']())&&(null===(T=this['bannerAdElement'])||void 0x0===T||T['unhide']()),null===(U=this['bannerAdElement'])||void 0x0===U||U['raiseAnalyticsViewBannerAd']());}this['totalPlayStopwatch']['start'](),this['prefetchAdjacentPages']();});}['shouldGetNewBannerAd'](L){return 0x0===L||L-this['lastBannerRefreshInWatchTimeMS']>B['BANNER_REFRESH_INTERVAL'];}['unload'](){this['pages']['forEach'](L=>L['unload']()),this['prefetchTimeout']&&(clearTimeout(this['prefetchTimeout']),this['prefetchTimeout']=null);}['displayCurrentStoryPageAndHideTheRest'](){var L;this['currentPage']['display'](()=>{this['goNextPage']();});const M=null===(L=this['currentPage']['data'])||void 0x0===L?void 0x0:L['id'];this['pages']['forEach'](N=>{var O;(null===(O=N['data'])||void 0x0===O?void 0x0:O['id'])!==M&&N['hide'](),('iOS'===A['deviceDetector']['OS']||'tablet'===A['deviceDetector']['platform']&&'Mac\x20OS'===A['deviceDetector']['OS'])&&(N['muted']=!0x0);});}['load'](L='direct'){this['loadStoryPostersByDistance'](0x2),this['currentPage']['load'](L),this['displayCurrentStoryPageAndHideTheRest']();}['play'](){var L,M,N;if(this['sessionId']=(0x0,J['getRandomId'])(),this['totalPlayStopwatch']['reset'](),this['lastBannerRefreshInWatchTimeMS']=0x0,this['event'](B['StoryAction']['Start'],{}),this['startTrigger']='',this['exitTrigger']='',this['shouldShowImaAdOnStart']){const O=this['pages'][this['pageIndex']];if('Content'===(null===(L=O['data'])||void 0x0===L?void 0x0:L['type'])){const P=O['data'];O['shouldShowImaAd']=!0x0,P['adInfo']=this['adInfo'],'IMA'===(null===(M=this['adInfo'])||void 0x0===M?void 0x0:M['type'])&&'Aniview'===this['adInfo']['adProvider']&&F['AniviewCookieSyncService']['preload'](this);}}else'Ad'===(null===(N=this['currentPage']['data'])||void 0x0===N?void 0x0:N['type'])&&this['currentPage']['startEnter']();F['VideoPlayerService']['currentlyPlayedContentId']=this['data']['id'],this['playPage'](this['pageIndex']);}['bannerAdEvent'](L){var M,N;const O=this['getRefferingObject'](),P=new A['AdEvent']();P['session_id']=this['sessionId'],P['story_id']=this['data']['id'],P['story_title']=this['data']['title'],P['content_type']='story','Content'===(null===(M=this['currentPage']['data'])||void 0x0===M?void 0x0:M['type'])&&(P['story_page_id']=this['currentPage']['data']['id'],P['story_page_index']=this['currentPageIndexWithoutCustomAds']),P['ad_unit_id']=L['adUnitId'],P['backoffice_campaign_data']=(null===(N=this['data']['bannerAdInfo'])||void 0x0===N?void 0x0:N['backofficeCampaignData'])||'',F['AnalyticsService']['pushAdEvent'](L['type'],P,void 0x0,O);}['event'](L,M){return q(this,arguments,void 0x0,function*(N,O,P=void 0x0){var Q,R,S,T;try{const U=this['data']['pages'][this['pageIndex']],V=this['pages'][this['pageIndex']],W=this['getRefferingObject']();if('Content'===U['type']){O['player_type']=this['mode'],O['story_page_count']=this['pages']['length'],O['story_page_duration']=yield V['getVideoDuration'](),O['story_page_duration_viewed_percent']=Number((0x64*(V['progress']||0x0))['toFixed'](0x3)),O['story_page_id']=U['id'],O['player_orientation']=this['aspectRatio'];const X=null===window||void 0x0===window?void 0x0:window['location']['href']['indexOf']('#blaze'),Y=-0x1!==X?null===window||void 0x0===window?void 0x0:window['location']['href']['slice'](0x0,X):null===window||void 0x0===window?void 0x0:window['location']['href'];switch(O['story_page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](Y)?'Homepage':'Category/Article',O['story_page_index']=this['currentPageIndexWithoutCustomAds'],O['is_last_page']=this['pageIndex']==this['pages']['length']-0x1,O['audio_state']=this['videoPlayerState']['isMuted']?'Mute':'Unmute',O['story_session_id']=this['sessionId'],O['content_duration_viewed']=this['totalPlayStopwatch']['durationMS'](),O['cc_state']=(0x0,J['convertCcLanguageToState'])(U['closedCaptions'],localStorage['getItem'](B['LOCAL_STORAGE_KEY_LAST_SELECTED'])),O['story_page_parent_id']=U['parentStoryId'],O['story_composition_type']=this['data']['compositionType'],'Enrichment'===(null===(Q=U['interaction'])||void 0x0===Q?void 0x0:Q['type'])&&(O['enrichment_layer_id']=U['interaction']['id'],O['enrichment_layer_url']=U['interaction']['htmlUrl']),'true'===(null===(R=F['AppConfigurationService']['appConfigurations'])||void 0x0===R?void 0x0:R['configurations']['analyticsAddEntitiesInfo'])&&(O['content_extra_info']=JSON['stringify'](this['data']['extraInfo']),O['story_page_content_extra_info']=JSON['stringify'](U['extraInfo'])),O['localization']=void 0x0,N){case B['StoryAction']['Start']:O['story_start_id']=this['data']['id'],O['story_start_trigger']=this['startTrigger'],O['localization']=this['data']['retrievedLanguages'],O['user_lifetime_engagements']=null!==(T=null===(S=F['UserActivityFetchManager']['totalActivities'])||void 0x0===S?void 0x0:S['stories'])&&void 0x0!==T?T:null;break;case B['StoryAction']['PageStart']:O['localization']=Object['assign'](Object['assign']({},this['data']['retrievedLanguages']),U['retrievedLanguages']);break;case B['StoryAction']['Exit']:O['story_exit_trigger']=this['exitTrigger'];break;case B['StoryAction']['PageExit']:O['story_page_navigation_direction']=this['navigationDirection'],O['story_page_navigation_type']=this['navigationType'];}}if('Content'===U['type']){if(N===B['StoryAction']['PageStart']&&this['currentPage']['shouldShowImaAd'])return;if(F['AnalyticsService']['pushStoryEvent'](N,Object['assign']({'story_id':this['data']['id'],'story_title':this['data']['title']},O),P,W),U['interaction']){const Z=N;Object['values'](B['InteractionAction'])['includes'](Z)&&F['AnalyticsService']['pushInteractionEvent'](Z,{'interaction_id':U['interaction']['id'],'interaction_type':U['interaction']['type'],'content_id':this['data']['id'],'content_title':this['data']['title'],'content_page_id':U['id'],'content_type':'story','content_session_id':F['UserService']['sessionId'],'audio_state':this['videoPlayerState']['isMuted']?'Mute':'Unmute'});}}}catch(a0){}});}['updateContainerLayout'](){var L,M,N,O,P,Q,R,S;if(this['style']['aspectRatio']='Horizontal'===this['aspectRatio']?String(B['ASPECT_RATIO_16_9']):String(B['ASPECT_RATIO_9_16']),this['style']['boxSizing']='content-box',this['container']['style']['borderRadius']=this['getContainerBorderRadius'](),'mobile'===A['deviceDetector']['platform'])this['container']['style']['background']='#000',this['style']['width']='100%',this['style']['height']='100%',this['style']['minHeight']='100%';else{const T=(0x0,J['isCssPropertySupported'])('aspectRatio');if('Horizontal'===this['aspectRatio']){const U=(null===(L=this['nextStoryButton'])||void 0x0===L?void 0x0:L['style']['marginLeft'])||'0px',V=(null===(M=this['nextStoryButton'])||void 0x0===M?void 0x0:M['style']['marginRight'])||'0px',W=(null===(N=this['prevStoryButton'])||void 0x0===N?void 0x0:N['style']['marginRight'])||'0px',X=(null===(O=this['prevStoryButton'])||void 0x0===O?void 0x0:O['style']['marginLeft'])||'0px',Y=null!==(Q=null===(P=this['nextStoryButton'])||void 0x0===P?void 0x0:P['clientWidth'])&&void 0x0!==Q?Q:0x0,Z=null!==(S=null===(R=this['prevStoryButton'])||void 0x0===R?void 0x0:R['clientWidth'])&&void 0x0!==S?S:0x0;this['style']['width']='calc(75%\x20-\x20'+U+'\x20-\x20'+V+'\x20-\x20'+Y+'px\x20-\x20'+W+'\x20-\x20'+X+'\x20-\x20'+Z+'px)',this['style']['maxHeight']='80vh',T?this['style']['aspectRatio']='16\x20/\x209':this['style']['height']='auto';}else this['style']['width']='auto',this['style']['height']='87%';this['style']['minHeight']='tablet'===A['deviceDetector']['platform']?'90%':'unset',this['style']['paddingBottom']='tablet'===A['deviceDetector']['platform']?'0':'40px',T||(this['style']['width']='100%',this['style']['height']='100%',this['style']['borderRadius']='0px'),!T||'tablet'!==A['deviceDetector']['platform']&&'desktop'!==A['deviceDetector']['platform']||setTimeout(()=>{if('Firefox'===A['deviceDetector']['browser']&&'Vertical'===this['aspectRatio'])this['style']['height']='87vh';else{const {width:a0}=this['getBoundingClientRect'](),a1=('Horizontal'===this['aspectRatio']?B['ASPECT_RATIO_9_16']:B['ASPECT_RATIO_16_9'])*a0;this['style']['height']=Math['round'](a1)+'px',this['style']['width']=Math['round'](a0)+'px';}},0x0);}}['addOrRemoveEventListeners'](L){[{'event':C['InternalEvent']['RESUME'],'handler':this['boundOnResumeEvent']},{'event':C['InternalEvent']['PAUSE'],'handler':this['boundOnPauseEvent']},{'event':C['InternalEvent']['NEXT_PAGE'],'handler':this['boundOnNextPageEvent']},{'event':C['InternalEvent']['PREVIOUS_PAGE'],'handler':this['boundOnPrevPageEvent']}]['forEach'](({event:M,handler:N})=>{'add'===L?this['addEventListener'](M,N):this['removeEventListener'](M,N);});}['connectedCallback'](){(0x0,J['setId'])(this,'blaze-story'),this['addOrRemoveEventListeners']('add'),this['style']['borderRadius']=this['getContainerBorderRadius'](),this['style']['margin']='auto',this['style']['outline']='none',this['style']['width']='auto',this['style']['minHeight']='100%',this['updateContainerLayout'](),this['shareModal']=D['WidgetsFactory']['create']('blaze-widget-share-modal'),this['shareModal']['onClose']=this['onShareModalClose']['bind'](this),this['shareModal']['onClick']=this['onShareModalButtonClick']['bind'](this),F['ConfigService']['shouldAllowClosedCaptions']&&this['isButtonVisible']('CLOSED_CAPTIONS')&&this['configureClosedCaptionsModal'](),this['ctaModal']=D['WidgetsFactory']['create']('blaze-widget-cta-modal'),this['container']['append'](this['shareModal']),this['container']['append'](this['ctaModal']),this['append'](this['container']);const L=()=>{if(this['pages']['length']<=0x0)return void(null===window||void 0x0===window||window['requestAnimationFrame'](L));for(let N=0x0;N<this['playbackParts']['length'];N++)this['playbackParts'][N]['style']['width']='0%';for(let O=0x0;O<this['pageIndex'];O++)this['playbackParts'][O]['style']['width']='100%';const M=this['pages'][this['pageIndex']]['progress'];this['playbackParts'][this['pageIndex']]['style']['width']=0x64*M+'%',null===window||void 0x0===window||window['requestAnimationFrame'](L);};null===window||void 0x0===window||window['requestAnimationFrame'](L),this['render'](),this['boundOnBlurEvent']=this['onBlur']['bind'](this),this['boundOnFocusEvent']=this['onFocus']['bind'](this),this['boundOnVisibilityChangeEvent']=this['onVisibilityChange']['bind'](this),this['boundOnLanguageChangeEvent']=this['onLanguageChange']['bind'](this),this['registerStoryAccessibility'](),super['connectedCallback']();}['onShareModalClose'](){this['videoPlayerState']['isPlaying']&&this['resume']();}['configureClosedCaptionsModal'](){this['closedCaptionsModal']=new w['BlazeWidgetClosedCaptionsModal'](this['currentPage']['data']['closedCaptions'],'story'),this['closedCaptionsModal']['onClose']=()=>{this['isPausedManually']||(this['videoPlayerState']['isPlaying']=!0x0,this['updatePlayerButtonIcons'](),this['resume']());},this['closedCaptionsModal']['onOpen']=()=>{this['videoPlayerState']['isPlaying']&&(this['videoPlayerState']['isPlaying']=!0x1,this['updatePlayerButtonIcons'](),this['pause']());},this['closedCaptionsModal']['onClosedCaptionsEnable']=L=>{this['toggleClosedCaptions'](L);},this['closedCaptionsModal']['onClosedCaptionsDisable']=()=>{this['toggleClosedCaptions']();},this['container']['append'](this['closedCaptionsModal']);}['toggleClosedCaptions'](L){const M=(0x0,J['convertCcLanguageToState'])(this['data']['pages'][this['pageIndex']]['closedCaptions'],L);this['event']('Off'!==M?B['StoryAction']['ClosedCaptionsOn']:B['StoryAction']['ClosedCaptionsOff'],{}),this['updateStoryAccessibilityLabels']();}['updateStoryProgress'](){if(this['pages']['length']<=0x0)return void(this['requestAnimationId']=null===window||void 0x0===window?void 0x0:window['requestAnimationFrame'](this['updateStoryProgress']['bind'](this)));for(let M=0x0;M<this['playbackParts']['length'];M++)this['playbackParts'][M]['style']['width']='0%';for(let N=0x0;N<this['pageIndex'];N++)this['playbackParts'][N]['style']['width']='100%';const L=this['pages'][this['pageIndex']]['progress'];this['playbackParts'][this['pageIndex']]['style']['width']=0x64*L+'%',this['isActive']&&(this['requestAnimationId']=null===window||void 0x0===window?void 0x0:window['requestAnimationFrame'](this['updateStoryProgress']['bind'](this)));}['onShareModalButtonClick'](L){return q(this,void 0x0,void 0x0,function*(){this['event'](B['StoryAction']['ShareSelect'],{});try{yield navigator['clipboard']['readText']()['then'](M=>{M===document['location']['href']&&this['event'](B['StoryAction']['ShareSuccess'],{});});}catch(M){}});}['onVisibilityChange'](){this['isActive']&&this['isConnected']&&(this['lastPageIndexToResume']=this['pageIndex'],document['hidden']||this['onFocus'](),document['hidden']&&this['onBlur']());}['onBlur'](){var L;this['isActive']&&this['isConnected']&&(document['hidden']||'desktop'!==A['deviceDetector']['platform']||'visible'!==document['visibilityState'])&&((null===(L=document['activeElement'])||void 0x0===L?void 0x0:L['id']['includes']('interaction'))||(this['lastPageIndexToResume']=this['pageIndex'],this['currentPage']['paused']||(this['resumeAfterfocus']=!0x0,this['pause'](),this['videoPlayerState']['isPlaying']=!0x1,this['updatePlayerButtonIcons'](),this['event'](B['StoryAction']['PageExit'],{}),this['event'](B['StoryAction']['Exit'],{}))));}['onFocus'](){var L,M,N,O,P;if(this['isActive']&&this['isConnected']&&(this['lastPageIndexToResume']=this['pageIndex'],(this['currentPage']['paused']||'Ad'===(null===(L=this['currentPage']['data'])||void 0x0===L?void 0x0:L['type']))&&this['resumeAfterfocus'])){this['resumeAfterfocus']=!0x1,(null===(M=this['ctaModal'])||void 0x0===M?void 0x0:M['isOpen'])&&(null===(N=this['ctaModal'])||void 0x0===N||N['close']());const Q='iOS'===A['deviceDetector']['OS'],R='Mobile\x20Safari'===A['deviceDetector']['browser'],S='tablet'===A['deviceDetector']['platform']&&'Mac\x20OS'===A['deviceDetector']['OS'],T=Q&&('Safari'===A['deviceDetector']['browser']||'Chrome'===A['deviceDetector']['browser']);if(Q||R||T||S)return void('Ad'===(null===(O=this['currentPage']['data'])||void 0x0===O?void 0x0:O['type'])?this['resume']():null===(P=this['resumeAfterBlurButton'])||void 0x0===P||P['setAttribute']('blaze-btn-hidden','false'));this['resume'](),this['videoPlayerState']['isPlaying']=!0x0,this['updatePlayerButtonIcons']();}}['close'](L){return q(this,void 0x0,void 0x0,function*(){var M,N,O,P;this['resumeAfterfocus']=!0x1,'SingleContent'===F['VideoPlayerService']['playReference']||(this['event'](B['StoryAction']['PageExit'],{}),this['event'](B['StoryAction']['Exit'],{}),null===(M=this['pause'])||void 0x0===M||M['call'](this),null===(O=null===(N=this['widgetParentItem'])||void 0x0===N?void 0x0:N['updateWidget'])||void 0x0===O||O['call'](N),yield this['updateWidgetStatusReadUnread']()),(F['ConfigService']['shouldDismissPlayer']||F['ConfigService']['shouldAutoAdvance'])&&(this['event'](B['StoryAction']['PageExit'],{}),this['event'](B['StoryAction']['Exit'],{}),F['AnalyticsService']['sendAnalyticsData']()),L&&(null===(P=this['onClose'])||void 0x0===P||P['call'](this));});}['pause'](){this['currentPage']['pause'](),this['totalPlayStopwatch']['pause']();}['resume'](){this['currentPage']['play'](),this['totalPlayStopwatch']['start']();}['resetPosition'](){this['pages'][this['pageIndex']]['currentTime']=0x0;}['updateWidgetStatusReadUnread'](){var L,M,N,O,P,Q,R,S;null===(M=null===(L=this['widgetParentItem'])||void 0x0===L?void 0x0:L['updateWidget'])||void 0x0===M||M['call'](L),null===(O=null===(N=this['widgetParentItem'])||void 0x0===N?void 0x0:N['setChipStyle'])||void 0x0===O||O['call'](N),null===(Q=null===(P=this['widgetParentItem'])||void 0x0===P?void 0x0:P['render'])||void 0x0===Q||Q['call'](P),null===(S=null===(R=this['widgetParentItem'])||void 0x0===R?void 0x0:R['updateWidgetItemPadding'])||void 0x0===S||S['call'](R);}['markAsRead'](){return q(this,void 0x0,void 0x0,function*(){const L=this['pages'][this['pageIndex']];if(L['data']){L['data']['hasViewed']=!0x0;const {data:M,error:N}=yield F['StoryService']['markPageAsViewed'](L['data']['id']);return!N&&M;}});}['hasNoMorePagesToPlay'](){return this['pageIndex']+0x1>this['pages']['length']-0x1;}['isLastPage'](){return this['pageIndex']===this['pages']['length']-0x1;}['isAutomaticNavigation'](L){return'Automatic'===L;}['handleLastPageAutomaticNavigation'](){var L,M,N,O;F['ConfigService']['shouldAutoAdvance']?(null===(M=null===(L=this['refContentModal'])||void 0x0===L?void 0x0:L['player'])||void 0x0===M||M['renderPlayerBackground'](!0x0),null===(O=null===(N=this['refContentModal'])||void 0x0===N?void 0x0:N['player'])||void 0x0===O||O['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>A['URLManager']['navigateTo']('AUTO_ADVANCE')})):this['displayRestartStoryButton']();}['goNextPage'](L){var M,N;F['VideoPlayerService']['isNavigating']||this['currentPage']['isCurrentlyTryingToRunImaAd']||('SingleContent'===F['VideoPlayerService']['playReference']&&this['isLastPage']()&&this['isAutomaticNavigation'](L)?this['handleLastPageAutomaticNavigation']():(this['pageIndex']+0x1<this['pages']['length']&&(F['AniviewCookieSyncService']['isConsumed']&&F['AniviewCookieSyncService']['destroy'](this),!F['AniviewCookieSyncService']['isActive']&&this['isPageAniviewIma'](this['pageIndex']+0x1)&&F['AniviewCookieSyncService']['preload'](this),!0x1===(null===(M=this['nextContentPage'])||void 0x0===M?void 0x0:M['shouldShowBannerAd'])&&(null===(N=this['bannerAdElement'])||void 0x0===N||N['hide']()),this['event'](B['StoryAction']['PageExit'],{}),this['nextPage']['startEnter']()),this['playPage'](this['pageIndex']+0x1)));}['goPrevPage'](){var L,M;F['VideoPlayerService']['isNavigating']||this['currentPage']['isCurrentlyTryingToRunImaAd']||('SingleContent'!==F['VideoPlayerService']['playReference']||0x0!==this['pageIndex']?(this['pageIndex']>0x0&&(F['AniviewCookieSyncService']['isConsumed']&&F['AniviewCookieSyncService']['destroy'](this),!F['AniviewCookieSyncService']['isActive']&&this['isPageAniviewIma'](this['pageIndex']-0x1)&&F['AniviewCookieSyncService']['preload'](this),!0x1===(null===(L=this['prevContentPage'])||void 0x0===L?void 0x0:L['shouldShowBannerAd'])&&(null===(M=this['bannerAdElement'])||void 0x0===M||M['hide']()),this['event'](B['StoryAction']['PageExit'],{}),this['prevPage']['startEnter']()),this['playPage'](this['pageIndex']-0x1)):this['currentPage']['currentTime']=0x0);}['disconnectedCallback'](){var L,M;this['addOrRemoveEventListeners']('remove'),F['AniviewCookieSyncService']['destroy'](this),this['removeChild'](this['container']),null===(L=this['shareModal'])||void 0x0===L||L['remove'](),null===(M=this['ctaModal'])||void 0x0===M||M['remove'](),this['ctaButtonElement']['setAttribute']('hidden-btn','true'),this['cleanupActivityObservers'](),this['data']['id']&&A['contentAccessibilityManager']['unregisterContentWidget'](this['data']['id']),super['disconnectedCallback']();}['cleanupActivityObservers'](){this['activitySubscriptions']['forEach'](L=>L['unsubscribed']()),this['activitySubscriptions']=[];}['updateCTAButtonPosition'](){const L=this['pages'][this['pageIndex']];if(!L)return;const M=L['getBoundingClientRect']();if(M['width']){const N=M['width']*B['ASPECT_RATIO_16_9'],O=(Math['round'](M['height']-N)-(this['playerStyle']['ctaButton']['height']?parseInt(this['playerStyle']['ctaButton']['height']):B['DEFAULT_CTA_HEIGHT']))/0x2;let P;switch(A['deviceDetector']['platform']){case'tablet':P='Embedded'===this['mode']?this['getEmbeddedBottomContainerPaddingBottom']():'15px';break;case'desktop':P='Embedded'===this['mode']?this['getEmbeddedBottomContainerPaddingBottom']():'40px';break;default:P='Embedded'===this['mode']?this['getEmbeddedBottomContainerPaddingBottom']():Math['max'](O,B['MIN_PADDING_BOTTOM'])+'px';}this['bottomContainer']['style']['paddingBottom']=P;}}['updateCta'](L){var M,N,O,P,Q;if(null==L)return;const R=this['pages'][L];if('Content'===(null===(M=null==R?void 0x0:R['data'])||void 0x0===M?void 0x0:M['type'])&&(null===(O=null===(N=null==R?void 0x0:R['data'])||void 0x0===N?void 0x0:N['cta'])||void 0x0===O?void 0x0:O['type'])){if(!0x1===(null===(P=this['playerStyle']['ctaButton'])||void 0x0===P?void 0x0:P['isVisible']))return void this['ctaButtonElement']['setAttribute']('hidden-btn','true');this['updateCTAButtonPosition']();const {color:S,backgroundColor:T,isDisplayCtaModal:U,isAnimated:V,icon:W}=this['playerStyle']['ctaButton'],{textColor:X,backgroundColor:Y,borderWidth:Z,borderColor:a0,enhancements:a1,text:a2,url:a3}=R['data']['cta'];this['ctaButtonElement']['setAttributes']({'text':a2,'href':a3});const a4=S||X,a5=T||Y;this['ctaButtonElement']['setAnchorButtonStyles'](Object['assign']({'color':a4,'background':a5},z['BlazeCtaButton']['getBorderOutlineStyles'](Z,a0))),U&&(A['deviceDetector']['isMobile']||A['deviceDetector']['isTablet'])&&(null===(Q=this['ctaModal'])||void 0x0===Q||Q['setAttributes']({'border-color':'#fff','background-color':a5,'text-color':a4,'icon-color':a4,'progress-bar-color':a4,'cta-url':R['data']['cta']['url']})),this['updateCtaButtonWidth'](),this['setCtaButtonAttributes'](W['isVisible'],a5,a4),this['handleCtaButtonAnimation'](a1,V),this['ctaButtonElement']['setAttribute']('hidden-btn','false');}else this['ctaButtonElement']['setAttribute']('hidden-btn','true');}['updateCtaButtonWidth'](){this['ctaButtonElement']['anchorButtonElement']['clientWidth']>0x0&&this['ctaButtonElement']['setCtaTextStyle']({'width':0.75*this['ctaButtonElement']['anchorButtonElement']['clientWidth']+'px'});}['animateCtaButton'](L,M){this['ctaButtonElement']['animateIcon'](L),this['ctaButtonElement']['animateButton'](M);}['handleCtaButtonAnimation'](L,M){if(A['deviceDetector']['isMobile']||A['deviceDetector']['isTablet'])switch(!0x0){case null==L?void 0x0:L['hasSwipeUp']:this['animateCtaButton']('BottomToTop',L['animationType']),this['setCtaIconVisibility'](!0x0);break;case M:this['animateCtaButton']('BottomToTop','Shrinking');}}['setCtaButtonAttributes'](L,M,N){this['ctaButtonElement']['setAttribute']('arrow-icon-color',M),this['ctaButtonElement']['setAttribute']('icon-color',N),this['setCtaIconVisibility'](L);}['setCtaIconVisibility'](L){(A['deviceDetector']['isMobile']||A['deviceDetector']['isTablet'])&&this['ctaButtonElement']['setAttribute']('arrow-icon-display',!0x0===L?'true':'false');}['updatePlayerButtonsState'](L){'desktop'!==A['deviceDetector']['platform']||this['currentPage']['isAd']||(this['updateButtonState'](I['ButtonNavigation']['PREV_STORY'],this['prevStoryButton']),this['updateButtonState'](I['ButtonNavigation']['NEXT_STORY'],this['nextStoryButton']),L&&(this['updateButtonState'](I['ButtonNavigation']['PREV_PAGE'],this['prevPageButton']),this['updateButtonState'](I['ButtonNavigation']['NEXT_PAGE'],this['nextPageButton'])));}['updateButtonState'](L,M){if(!M)return;const N=this['isNavigationButtonActive'](L)?'ACTIVE':'DISABLED';this['updateNavButton'](N,M);}['isSingleContentWithAutoAdvance'](L){return'SingleContent'===F['VideoPlayerService']['playReference']&&F['ConfigService']['shouldAutoAdvance']&&L===I['ButtonNavigation']['NEXT_STORY'];}['isStoryPagesNavigation'](L){return L===I['ButtonNavigation']['NEXT_PAGE']||L===I['ButtonNavigation']['PREV_PAGE'];}['isNavigationButtonActive'](L){var M,N;if(this['isSingleContentWithAutoAdvance'](L))return!0x0;if(this['isStoryPagesNavigation'](L))return!0x0;if(this['refWidget']){const O=null===(M=this['refWidget'])||void 0x0===M?void 0x0:M['indexOf'](this);if(-0x1!==O){if(L===I['ButtonNavigation']['NEXT_STORY'])return O<(null===(N=this['refWidget'])||void 0x0===N?void 0x0:N['length'])-0x1;if(L===I['ButtonNavigation']['PREV_STORY'])return O>0x0;}}return!0x1;}['updateNavButton'](L,M){'ACTIVE'===L?M['setAttribute']('disabled','false'):M['setAttribute']('disabled','true');}['updatePlayerButtonsStyleAttributes'](){var L,M;let N=0x0;const O=Math['round'](0x64*window['devicePixelRatio'])/0x64,P=window['innerWidth'],Q=window['innerHeight'],R=P<0x1f4||Q<0x2ee,S={'smallScreen':{'range1':{'sizeReduce':0x2,'gap':'0.3rem'},'range2':{'sizeReduce':0x3,'gap':'0.15rem'}},'largeScreen':{1.1:{'sizeReduce':0x0,'gap':'0.8rem'},1.25:{'sizeReduce':0x1,'gap':'0.6rem'},1.5:{'sizeReduce':0x2,'gap':'0.4rem'},1.75:{'sizeReduce':0x3,'gap':'0.1rem'}}};if('desktop'===A['deviceDetector']['platform']&&'HORIZONTAL'===this['playerStyle']['iconsPosition']){let T;T=R?O>=1.5?S['smallScreen']['range2']:S['smallScreen']['range1']:S['largeScreen'][String(O)]||{'sizeReduce':0x0,'gap':'1rem'},N=T['sizeReduce'],this['buttonsContainer']['style']['gap']=T['gap'];}if('HORIZONTAL'===this['playerStyle']['iconsPosition']?this['buttonsContainer']['setStyle']({'justifyContent':'end','alignSelf':'end','alignItems':'baseline','flexDirection':'Ad'===(null===(M=null===(L=this['currentPage'])||void 0x0===L?void 0x0:L['data'])||void 0x0===M?void 0x0:M['type'])?'row-reverse':'row'}):this['buttonsContainer']['setStyle']({'alignItems':'flex-end','flexDirection':'column'}),'mobile'!==A['deviceDetector']['platform']&&'tablet'!==A['deviceDetector']['platform']||(N=0x0),'Embedded'===this['mode'])this['titleText']['style']['fontSize']=A['TextScaleService']['scaleFontSize'](this['playerStyle']['titleFontSizeEmbedded']),this['contentPublishedDate']['style']['fontSize']=A['TextScaleService']['scaleFontSize'](this['playerStyle']['publishedDateFontSizeEmbedded']);else{const U=(0x0,J['convertCssUnitToNumber'])(this['playerStyle']['titleFontSize']),V=(0x0,J['convertCssUnitToNumber'])(this['playerStyle']['publishedDateFontSize']),W='mobile'===A['deviceDetector']['platform']?U-N+'px':U+0x2-N+'px',X='mobile'===A['deviceDetector']['platform']?V-N+'px':V+0x2-N+'px';this['titleText']['style']['fontSize']=A['TextScaleService']['scaleFontSize'](W),this['contentPublishedDate']['style']['fontSize']=A['TextScaleService']['scaleFontSize'](X);}if(this['contentChip']['style']['borderRadius']=this['playerStyle']['statusLiveStyle']['borderRadius'],this['contentChip']['style']['padding']=this['playerStyle']['statusLiveStyle']['padding'],this['contentChip']['style']['color']=this['playerStyle']['statusLiveStyle']['textColor'],this['contentChip']['style']['borderWidth']=this['playerStyle']['statusLiveStyle']['borderWidth']+'px',this['contentChip']['style']['fontFamily']=this['playerStyle']['statusLiveStyle']['font'],this['contentChip']['style']['fontSize']=A['TextScaleService']['scaleFontSize'](this['playerStyle']['statusLiveStyle']['textSize']),this['titleText']['style']['fontFamily']=this['playerStyle']['titleFont'],this['titleText']['style']['color']=this['playerStyle']['titleColor'],this['titleText']['style']['display']=this['playerStyle']['titleVisible']?'inline':'none',this['applyPublishedDateStyle'](),this['applyTitleImageConfig'](),this['isButtonVisible']('MUTE_UNMUTE')&&this['muteButtonElement']&&(this['setPlayerButtonSize'](this['muteButtonElement'],'MUTE_UNMUTE'),this['setPlayerButtonColors'](this['muteButtonElement'],'MUTE_UNMUTE'),this['setPlayerButtonPaddings'](this['muteButtonElement'])),this['isButtonVisible']('SHARE')&&this['shareButtonElement']&&(this['setPlayerButtonSize'](this['shareButtonElement'],'SHARE'),this['setPlayerButtonColors'](this['shareButtonElement'],'SHARE'),this['setPlayerButtonPaddings'](this['shareButtonElement'])),this['isButtonVisible']('PLAY_PAUSE')&&this['playButtonElement']&&(this['setPlayerButtonSize'](this['playButtonElement'],'PLAY_PAUSE'),this['setPlayerButtonColors'](this['playButtonElement'],'PLAY_PAUSE'),this['setPlayerButtonPaddings'](this['playButtonElement'])),this['isButtonVisible']('FULLSCREEN')&&this['fullScreenElement']&&(this['setPlayerButtonSize'](this['fullScreenElement'],'FULLSCREEN'),this['setPlayerButtonColors'](this['fullScreenElement'],'FULLSCREEN'),this['setPlayerButtonPaddings'](this['fullScreenElement'])),this['isButtonVisible']('EXIT_PLAYER')&&this['exitMobileTabletButtonElement']&&(this['setPlayerButtonSize'](this['exitMobileTabletButtonElement'],'EXIT_PLAYER'),this['setPlayerButtonColors'](this['exitMobileTabletButtonElement'],'EXIT_PLAYER'),this['setPlayerButtonPaddings'](this['exitMobileTabletButtonElement'])),this['isButtonVisible']('CLOSED_CAPTIONS')&&this['closedCaptionsButtonElement']&&(this['setPlayerButtonSize'](this['closedCaptionsButtonElement'],'CLOSED_CAPTIONS'),this['setPlayerButtonColors'](this['closedCaptionsButtonElement'],'CLOSED_CAPTIONS'),this['setPlayerButtonPaddings'](this['closedCaptionsButtonElement'])),this['isButtonVisible']('CUSTOM_ACTION_BUTTON_ONE')&&this['customActionButtonOneElement']&&(this['setPlayerButtonSize'](this['customActionButtonOneElement'],'CUSTOM_ACTION_BUTTON_ONE'),this['setPlayerButtonColors'](this['customActionButtonOneElement'],'CUSTOM_ACTION_BUTTON_ONE'),this['setPlayerButtonPaddings'](this['customActionButtonOneElement'])),this['isButtonVisible']('CUSTOM_ACTION_BUTTON_TWO')&&this['customActionButtonTwoElement']&&(this['setPlayerButtonSize'](this['customActionButtonTwoElement'],'CUSTOM_ACTION_BUTTON_TWO'),this['setPlayerButtonColors'](this['customActionButtonTwoElement'],'CUSTOM_ACTION_BUTTON_TWO'),this['setPlayerButtonPaddings'](this['customActionButtonTwoElement'])),this['isButtonVisible']('NEXT_PAGE')&&this['nextPageButton']){const Y=this['playerStyle']['iconsButtonNavigation']['find'](Z=>'NEXT_PAGE'===Z['value']);Y&&this['applyIconStyle'](this['nextPageButton'],Y,this['playerStyle']['icons']['navigation']['nextPage']);}if(this['isButtonVisible']('PREV_PAGE')&&this['prevPageButton']){const Z=this['playerStyle']['iconsButtonNavigation']['find'](a0=>'PREV_PAGE'===a0['value']);Z&&this['applyIconStyle'](this['prevPageButton'],Z,this['playerStyle']['icons']['navigation']['prevPage']);}if(this['isButtonVisible']('NEXT_STORY')&&this['nextStoryButton']){const a0=this['playerStyle']['iconsButtonNavigation']['find'](a1=>'NEXT_STORY'===a1['value']);a0&&this['applyIconStyle'](this['nextStoryButton'],a0,this['playerStyle']['icons']['navigation']['nextStory']);}if(this['isButtonVisible']('PREV_STORY')&&this['prevStoryButton']){const a1=this['playerStyle']['iconsButtonNavigation']['find'](a2=>'PREV_STORY'===a2['value']);a1&&this['applyIconStyle'](this['prevStoryButton'],a1,this['playerStyle']['icons']['navigation']['prevStory']);}}['setPlayerButtonPaddings'](L){this['playerStyle']['iconsButtonPadding']&&(L['style']['padding']=this['playerStyle']['iconsButtonPadding'],L['style']['margin']=this['playerStyle']['iconsButtonPadding']['split']('\x20')['map'](M=>'-'+M)['join']('\x20'));}['setPlayerButtonColors'](L,M){const N=this['playerStyle']['iconsButton']['find'](O=>O['value']===M);(null==N?void 0x0:N['color'])&&L['setAttribute']('icon-color',null==N?void 0x0:N['color']),(null==N?void 0x0:N['backgroundColor'])&&'transparent'!==N['backgroundColor']&&(null==N?void 0x0:N['borderRadius'])&&(L['style']['backgroundColor']=N['backgroundColor'],L['style']['borderRadius']=N['borderRadius']);}['setPlayerButtonSize'](L,M){const N=this['playerStyle']['iconsButton']['find'](O=>O['value']===M);if(L&&N&&this['playerStyle']['iconsButtonSize']&&this['playerStyle']['iconsButtonEmbeddedSize']){let O='Embedded'===this['mode']?this['playerStyle']['iconsButtonEmbeddedSize']:this['playerStyle']['iconsButtonSize'];'Full\x20Screen'===this['mode']&&'mobile'===A['deviceDetector']['platform']&&(O=(0x0,J['convertCssUnitToNumber'])(O)-0x4+'px'),L['setAttribute']('width',O),L['setAttribute']('height',O);}}['getEmbeddedCtaButtonHeight'](){let L;return L='desktop'===A['deviceDetector']['platform']?'38px':'tablet'===A['deviceDetector']['platform']||'Horizontal'===this['aspectRatio']?'34px':'43px',L;}['getEmbeddedBottomContainerPaddingBottom'](){let L;return L='desktop'===A['deviceDetector']['platform']?'40px':'Horizontal'===this['aspectRatio']?'8px':'32px',L;}['getContainerBorderRadius'](){let L;return L='desktop'===A['deviceDetector']['platform']?'Embedded'===this['mode']&&'Horizontal'===this['aspectRatio']?'8px':'20px':'tablet'===A['deviceDetector']['platform']?'Embedded'===this['mode']&&'Horizontal'===this['aspectRatio']?'4px':'20px':'Embedded'===this['mode']?'8px':'0px',L;}['updatePlayerButtonsOrder'](){const L={'MUTE_UNMUTE':this['muteButtonElement'],'EXIT_PLAYER':this['exitMobileTabletButtonElement'],'PLAY_PAUSE':this['playButtonElement'],'SHARE':this['shareButtonElement'],'FULLSCREEN':this['fullScreenElement'],'CLOSED_CAPTIONS':this['closedCaptionsButtonElement'],'CUSTOM_ACTION_BUTTON_ONE':this['customActionButtonOneElement'],'CUSTOM_ACTION_BUTTON_TWO':this['customActionButtonTwoElement']};this['playerStyle']['iconsButtonOrder']['forEach']((M,N)=>{const O=L[M];O&&O['setAttribute']('order',N['toString']());});}['updatePlayerContentOrder'](){const L={'LIVE_CHIP':this['contentChip'],'STORY_TITLE':this['titleGroup'],'PUBLISHED_DATE':this['contentPublishedDate']};this['playerStyle']['contentOrder']['forEach']((M,N)=>{const O=L[M];O&&(O['style']['order']=N['toString']());});}['displayExitButtonOnMobileTablet'](){if(!this['exitMobileTabletButtonElement'])return;if(!['mobile','tablet']['includes'](A['deviceDetector']['platform']))return void(this['exitMobileTabletButtonElement']['style']['display']='none');const L=['SingleContent','AutoAdvance']['includes'](F['VideoPlayerService']['playReference'])&&!F['ConfigService']['shouldDismissPlayer']||!this['isButtonVisible']('EXIT_PLAYER');this['exitMobileTabletButtonElement']['style']['display']=L?'none':'block';}['resetLayout'](){}['render'](){var L;this['updateContainerLayout'](),this['updatePlayerContentOrder'](),this['updatePlayerButtonsOrder'](),this['updatePlayerButtonIcons'](),this['updatePlayerButtonsState'](!0x0),this['updatePlayerButtonsStyleAttributes'](),this['updateCtaButtonLayout'](),this['updateCta'](this['pageIndex']),this['displayExitButtonOnMobileTablet'](),this['shadowTopElement']['style']['borderRadius']=this['getContainerBorderRadius'](),this['style']['borderRadius']=this['getContainerBorderRadius'](),null===(L=this['pages'])||void 0x0===L||L['forEach'](M=>null==M?void 0x0:M['render']());}['onExpandClick'](){this['dispatchEvent'](new CustomEvent(C['InternalEvent']['FULL_SCREEN_CLICK'],{'bubbles':!0x0,'cancelable':!0x1})),this['event'](B['StoryAction']['Expand'],{});}['onResumeEvent'](){this['resume'](),this['videoPlayerState']['isPlaying']=!0x0,this['updatePlayerButtonIcons']();}['onPauseEvent'](){this['pause'](),this['videoPlayerState']['isPlaying']=!0x1,this['updatePlayerButtonIcons']();}['onNextPageEvent'](){this['goNextPage']();}['onPrevPageEvent'](){this['goPrevPage']();}['isPageAniviewIma'](L){var M;const N=this['pages'][L];if(!(N&&N instanceof w['BlazeWidgetVideo']))return!0x1;if(!N['shouldShowImaAd'])return!0x1;const O=N['data'];return'Content'===(null==O?void 0x0:O['type'])&&'IMA'===(null===(M=O['adInfo'])||void 0x0===M?void 0x0:M['type'])&&'Aniview'===O['adInfo']['adProvider'];}['preloadAniviewCookieSyncIfNeeded'](){F['AniviewCookieSyncService']['isActive']||this['isPageAniviewIma'](this['pageIndex']+0x1)&&F['AniviewCookieSyncService']['preload'](this);}['getPagesContentExtraInfo'](L){var M,N;const O=L?this['pageIndex']+0x1:this['pageIndex'],P=this['pageIndex']>0x0?this['prevPage']:void 0x0,Q=O<this['pages']['length']?this['pages'][O]:void 0x0;return{'previous':null===(M=null==P?void 0x0:P['data'])||void 0x0===M?void 0x0:M['extraInfo'],'current':this['data']['extraInfo'],'next':null===(N=null==Q?void 0x0:Q['data'])||void 0x0===N?void 0x0:N['extraInfo']};}['getAllFocusableButtons'](){return[this['playButtonElement'],this['muteButtonElement'],this['shareButtonElement'],this['exitMobileTabletButtonElement'],this['fullScreenElement'],this['closedCaptionsButtonElement'],this['customActionButtonOneElement'],this['customActionButtonTwoElement'],this['resumeAfterBlurButton'],this['nextPageButton'],this['prevPageButton'],this['nextStoryButton'],this['prevStoryButton'],this['ctaButtonElement']]['filter'](Boolean);}['enableAllButtons'](){const L=this['getAllFocusableButtons']();this['setButtonsAccessibilityState'](L,!0x0);}['disableAllButtons'](){const L=this['getAllFocusableButtons']();this['setButtonsAccessibilityState'](L,!0x1);}['setButtonsAccessibilityState'](L,M){M?J['AccessibilityUtils']['setElementsAccessible'](L):J['AccessibilityUtils']['setElementsInaccessible'](L);}['registerStoryAccessibility'](){if(!this['data']['id'])return;const L=this['buildStoryRegistrationData']();A['contentAccessibilityManager']['registerContentWidget'](this['data']['id'],L,'story');}['buildStoryRegistrationData'](){return{'widget':this,'buttons':this['getStoryButtonsForAccessibility'](),'data':this['getStoryDataForAccessibility']()};}['getStoryButtonsForAccessibility'](){return{'play':this['playButtonElement'],'mute':this['muteButtonElement'],'share':this['shareButtonElement'],'close':this['exitMobileTabletButtonElement'],'captions':this['closedCaptionsButtonElement'],'custom1':this['customActionButtonOneElement'],'custom2':this['customActionButtonTwoElement'],'nextStoryPage':this['nextPageButton'],'prevStoryPage':this['prevPageButton'],'nextStory':this['nextStoryButton'],'prevStory':this['prevStoryButton']};}['getStoryDataForAccessibility'](){return{'id':this['data']['id'],'title':this['data']['title'],'description':this['data']['description'],'isPlaying':this['videoPlayerState']['isPlaying'],'isMuted':this['videoPlayerState']['isMuted']};}['updateStoryAccessibilityLabels'](){if(!this['data']['id'])return;const L=this['getCurrentAccessibilityState']();A['contentAccessibilityManager']['updateButtonLabels'](this['data']['id'],L);}['getCurrentAccessibilityState'](){return{'isPlaying':this['videoPlayerState']['isPlaying'],'isMuted':this['videoPlayerState']['isMuted']};}['updateAccessibilityLabels'](){if(!this['data']['id'])return;const L=this['buildStoryAccessibilityState']();A['contentAccessibilityManager']['updateButtonLabels'](this['data']['id'],L);}['buildStoryAccessibilityState'](){return{'id':this['data']['id'],'title':this['data']['title'],'description':this['data']['description'],'isPlaying':!!this['currentPage']&&!this['currentPage']['paused'],'isMuted':!!this['currentPage']&&this['currentPage']['muted']};}}j['BlazeWidgetStory']=K;},0x1acb:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(k,l,m,p){return new(m||(m=Promise))(function(q,u){function v(y){try{x(p['next'](y));}catch(z){u(z);}}function w(y){try{x(p['throw'](y));}catch(z){u(z);}}function x(y){var z;y['done']?q(y['value']):(z=y['value'],z instanceof m?z:new m(function(A){A(z);}))['then'](v,w);}x((p=p['apply'](k,l||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['AnnouncementService']=void 0x0;const j=g(0x1d19);f['AnnouncementService']=class{constructor(k){this['config']=k,this['containerRegions']=new Map(),this['announcementQueue']=[],this['isProcessingAnnouncement']=!0x1,this['lastAnnouncementTime']=0x0,this['liveRegionsSetup']=!0x1;}['setupLiveRegions'](k){try{if(!k)return;const l=new Map(),m=k['getAttribute']('id')||k['tagName']['toLowerCase']()+'-'+Date['now']()['toString']();[{'id':j['ANNOUNCEMENT_CONSTANTS']['LIVE_REGIONS']['POLITE_ID']+'-'+m,'priority':'polite'},{'id':j['ANNOUNCEMENT_CONSTANTS']['LIVE_REGIONS']['ASSERTIVE_ID']+'-'+m,'priority':'assertive'}]['forEach'](({id:p,priority:q})=>{let r=k['querySelector']('#'+p);r||(r=document['createElement']('div'),r['id']=p,r['setAttribute'](j['ANNOUNCEMENT_CONSTANTS']['ATTRIBUTES']['ARIA_LIVE'],q),r['setAttribute'](j['ANNOUNCEMENT_CONSTANTS']['ATTRIBUTES']['ARIA_ATOMIC'],j['ANNOUNCEMENT_CONSTANTS']['ATTRIBUTES']['ATOMIC_VALUE']),r['style']['position']=j['ANNOUNCEMENT_CONSTANTS']['LIVE_REGIONS']['STYLES']['POSITION'],r['style']['left']=j['ANNOUNCEMENT_CONSTANTS']['LIVE_REGIONS']['STYLES']['LEFT'],r['style']['width']=j['ANNOUNCEMENT_CONSTANTS']['LIVE_REGIONS']['STYLES']['WIDTH'],r['style']['height']=j['ANNOUNCEMENT_CONSTANTS']['LIVE_REGIONS']['STYLES']['HEIGHT'],r['style']['overflow']=j['ANNOUNCEMENT_CONSTANTS']['LIVE_REGIONS']['STYLES']['OVERFLOW'],k['appendChild'](r)),l['set'](q,r);}),this['containerRegions']['set'](k,l),this['liveRegionsSetup']=!0x0;}catch(p){}}['announce'](k,l='polite',m){if(!k['trim']())return;const p={'message':k,'priority':l,'category':m,'delay':this['config']['delay']};this['queueAnnouncement'](p);}['queueAnnouncement'](k){if(this['liveRegionsSetup'])return Date['now']()-this['lastAnnouncementTime']<this['config']['delay']?(this['announcementQueue']['length']<this['config']['queueSize']&&this['announcementQueue']['push'](k),void(this['isProcessingAnnouncement']||this['processAnnouncementQueue']())):void this['performAnnouncement'](k);}['clearQueue'](){this['announcementQueue']=[];}['isProcessing'](){return this['isProcessingAnnouncement'];}['processAnnouncementQueue'](){return h(this,void 0x0,void 0x0,function*(){if(!this['isProcessingAnnouncement']&&0x0!==this['announcementQueue']['length']){for(this['isProcessingAnnouncement']=!0x0;this['announcementQueue']['length']>0x0;){const k=this['announcementQueue']['shift']();yield this['performAnnouncement'](k),yield new Promise(l=>setTimeout(l,k['delay']||this['config']['delay']));}this['isProcessingAnnouncement']=!0x1;}});}['performAnnouncement'](k){return h(this,void 0x0,void 0x0,function*(){const l=document['querySelector']('[role=\x22dialog\x22][aria-modal=\x22true\x22]');if(!l)return;const m=this['containerRegions']['get'](l),p=null==m?void 0x0:m['get'](k['priority']);p&&(p['textContent']=k['message'],this['lastAnnouncementTime']=Date['now']());});}['cleanup'](){this['containerRegions']['forEach'](k=>{k['forEach'](l=>{l['parentNode']&&l['parentNode']['removeChild'](l);});}),this['containerRegions']['clear'](),this['announcementQueue']=[],this['liveRegionsSetup']=!0x1,this['isProcessingAnnouncement']=!0x1;}};},0x1aef:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['captureVideoState']=function(g){var h,j;return{'currentTime':(null==g?void 0x0:g['currentTime'])||0x0,'isPaused':null===(h=null==g?void 0x0:g['paused'])||void 0x0===h||h,'isMuted':null!==(j=null==g?void 0x0:g['muted'])&&void 0x0!==j&&j};},f['applyVideoState']=function(g,j,k){var m,p,q,u,v;if(!g)return;const w=g['video'];if(!w)return;const {currentTime:x,isPaused:y,isMuted:z}=j;if('number'==typeof x)try{w['currentTime']=x,null===(q=null===(p=null===(m=g['videoOverlay'])||void 0x0===m?void 0x0:m['videoTimer'])||void 0x0===p?void 0x0:p['updateCurrentTime'])||void 0x0===q||q['call'](p,x);}catch(A){}'boolean'==typeof z&&(w['muted']=z,null===(u=g['updateMuteButtonState'])||void 0x0===u||u['call'](g,z),k['videoPlayerState']['isMuted']=z),'boolean'==typeof y&&(k['videoPlayerState']['isPlaying']=!y,w['readyState']<0x1&&Promise['resolve'](k['load']()),y?(k['pause'](),w['pause']()):k['resume'](),null===(v=g['setIsPlaying'])||void 0x0===v||v['call'](g,!y)),k['updateOverlayNavigationButtons']();};},0x1b0d:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x22de),f);},0x1b21:(d,f)=>{'use strict';function g(h,j){if(h['length']<=j)return{'prunedQueue':h,'removedCount':0x0};const k=h['length']-j;return{'prunedQueue':h['slice'](k),'removedCount':k};}Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['pruneOfflineQueue']=g,f['addToOfflineQueueWithPruning']=function(h,j,k){const l=[...h,j],{prunedQueue:m,removedCount:p}=g(l,k);return{'updatedQueue':m,'removedCount':p};};},0x1b52:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['accessibilityManager']=f['AccessibilityManager']=void 0x0;const h=g(0x1acb),j=g(0x1f16);class k{constructor(l){this['contentButtons']=new Map(),this['modalFocusReturnTarget']=null;const m=j['DEFAULT_ACCESSIBILITY_CONFIG'],p=Object['assign'](Object['assign']({},m),l);this['announcementService']=new h['AnnouncementService'](p['announcements']);}['setupLiveRegions'](l){this['announcementService']['setupLiveRegions'](l);}['announce'](l){this['announcementService']['queueAnnouncement'](l);}['getContentTypeLabel'](l){switch(l){case'story':default:return'Story';case'moment':return'Moment';}}['manageFocus'](l){try{l['focus']();}catch(m){}}['storeModalFocusReturnTarget'](l){this['modalFocusReturnTarget']=l,l['hasAttribute']('aria-expanded')&&l['setAttribute']('aria-expanded','true');}['returnFocusFromModal'](){if(!this['modalFocusReturnTarget'])return!0x1;try{return this['modalFocusReturnTarget']['hasAttribute']('aria-expanded')&&this['modalFocusReturnTarget']['setAttribute']('aria-expanded','false'),document['contains'](this['modalFocusReturnTarget'])?(this['modalFocusReturnTarget']['focus'](),this['modalFocusReturnTarget']=null,!0x0):(this['modalFocusReturnTarget']=null,!0x1);}catch(l){return this['modalFocusReturnTarget']=null,!0x1;}}['setupModalAccessibility'](l,m){const p=this['getContentTypeLabel'](m);l['setAttribute']('role','dialog'),l['setAttribute']('aria-modal','true'),l['setAttribute']('tabindex','-1'),l['setAttribute']('aria-label',p+'\x20modal'),this['storeModalFocusReturnTarget'](document['activeElement']),this['setupLiveRegions'](l);}['announceModalStatus'](l,m,p){const q=this['getContentTypeLabel'](m);let r;switch(l){case'opened':case'closed':r=q+'\x20player\x20'+l;break;default:r=q+'\x20'+l;}this['announce']({'message':r,'priority':'polite','category':'status'});}['closeModal'](l){this['returnFocusFromModal'](),this['announceModalStatus']('closed',l);}['clearModalFocusReturnTarget'](){this['modalFocusReturnTarget']=null;}['cleanup'](){this['announcementService']['cleanup'](),this['contentButtons']['clear'](),this['clearModalFocusReturnTarget']();}['clearAnnouncementQueue'](){this['announcementService']['clearQueue']();}}f['AccessibilityManager']=k,f['accessibilityManager']=new k();},0x1b66:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1bc1:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StreamOrchestrator']=void 0x0;const j=g(0x20e2),k=g(0x20e2),l=g(0x218b);f['StreamOrchestrator']=class{constructor(m,p){this['onStateChange']=p,this['stateManager']=new j['StreamStateManager'](m,(q,r)=>{this['onStateChange']&&this['onStateChange'](q,r);}),this['handlerRegistry']=new k['StreamHandlerRegistry'](),this['loaders']=new Map([[null,new l['VodLoader']()],['Upcoming',new l['UpcomingStreamLoader']()],['Live',new l['LiveStreamLoader']()],['Ended',new l['EndedStreamLoader']()]]);}['getState'](){return this['stateManager']['getState']();}['isStream'](){return this['stateManager']['isStream']();}['isUpcoming'](){return this['stateManager']['isUpcoming']();}['isLive'](){return this['stateManager']['isLive']();}['isEnded'](){return this['stateManager']['isEnded']();}['getStartTime'](){return this['stateManager']['getStartTime']();}['getEndTime'](){return this['stateManager']['getEndTime']();}['getExternalId'](){return this['stateManager']['getExternalId']();}['updateState'](m){const p=this['getState']();return p===m?null:(this['stateManager']['updateState'](m),p);}['setVideoData'](m){this['stateManager']['setVideoData'](m);}['mergeData'](m,p,q){const r=this['getState']();return this['handlerRegistry']['mergeData'](m,p,r,q);}['executeTransition'](m,p,q){return h(this,void 0x0,void 0x0,function*(){const r=this['handlerRegistry']['findHandler'](m,p);r&&(yield r['execute'](q));});}['enablesDVR'](){return this['handlerRegistry']['enablesDVR']();}['resetHandlers'](){this['handlerRegistry']['reset']();}['load'](m,p){return h(this,void 0x0,void 0x0,function*(){const q=this['getState'](),r=this['loaders']['get'](q);if(!r)throw new Error('[StreamOrchestrator]\x20No\x20loader\x20found\x20for\x20stream\x20state:\x20'+q);const u={'video':m,'data':p,'streamState':q};yield r['load'](u);});}['registerLoader'](m,p){this['loaders']['set'](m,p);}['getLoaders'](){return new Map(this['loaders']);}};},0x1bdd:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetLabel']=void 0x0;class g{constructor(h){this['_type']='BlazeWidgetLabel',this['value']=h;}static['singleLabel'](h){return new g(h);}static['mustInclude'](...h){const j=g['createLabel']('and',h);return g['validateAndProceed'](j,'mustInclude'),new g(j);}static['atLeastOneOf'](...h){const j=g['createLabel']('or',h);return g['validateAndProceed'](j,'atLeastOneOf'),new g(j);}['mustInclude'](...h){return g['mustInclude'](this,...h);}['atLeastOneOf'](...h){return g['atLeastOneOf'](this,...h);}['toString'](){return this['value'];}static['createLabel'](h,j){return'['+h+',\x20'+j['map'](k=>k instanceof g?k['toString']():k)['join'](',\x20')+']';}static['validateAndProceed'](h,j){if(!g['isValidLabelFormat'](h,j))throw new Error('Invalid\x20label\x20format\x20for\x20'+j);}static['isValidLabelFormat'](h,j){return('mustInclude'===j?/^\[and, .+, .+\]$/:/^\[or, .+, .+\]$/)['test'](h);}}f['BlazeWidgetLabel']=g;},0x1be7:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1c00:(d,f,g)=>{var h;!function(a0,a1,a2,a3){'use strict';var a4,a5=['','webkit','Moz','MS','ms','o'],a6=a1['createElement']('div'),a7=Math['round'],a8=Math['abs'],a9=Date['now'];function aa(br,bs,bu){return setTimeout(ah(br,bu),bs);}function ab(br,bs,bu){return!!Array['isArray'](br)&&(ac(br,bu[bs],bu),!0x0);}function ac(br,bs,bu){var bv;if(br){if(br['forEach'])br['forEach'](bs,bu);else{if(br['length']!==a3){for(bv=0x0;bv<br['length'];)bs['call'](bu,br[bv],bv,br),bv++;}else{for(bv in br)br['hasOwnProperty'](bv)&&bs['call'](bu,br[bv],bv,br);}}}}function ad(br,bs,bu){var bv='DEPRECATED\x20METHOD:\x20'+bs+'\x0a'+bu+'\x20AT\x20\x0a';return function(){var bw=new Error('get-stack-trace'),bx=bw&&bw['stack']?bw['stack']['replace'](/^[^\(]+?[\n$]/gm,'')['replace'](/^\s+at\s+/gm,'')['replace'](/^Object.<anonymous>\s*\(/gm,'{anonymous}()@'):'Unknown\x20Stack\x20Trace',by=a0['console']&&(a0['console']['warn']||a0['console']['log']);return by&&by['call'](a0['console'],bv,bx),br['apply'](this,arguments);};}a4='function'!=typeof Object['assign']?function(br){if(br===a3||null===br)throw new TypeError('Cannot\x20convert\x20undefined\x20or\x20null\x20to\x20object');for(var bs=Object(br),bu=0x1;bu<arguments['length'];bu++){var bv=arguments[bu];if(bv!==a3&&null!==bv){for(var bw in bv)bv['hasOwnProperty'](bw)&&(bs[bw]=bv[bw]);}}return bs;}:Object['assign'];var ae=ad(function(br,bs,bu){for(var bv=Object['keys'](bs),bw=0x0;bw<bv['length'];)(!bu||bu&&br[bv[bw]]===a3)&&(br[bv[bw]]=bs[bv[bw]]),bw++;return br;},'extend','Use\x20`assign`.'),af=ad(function(br,bs){return ae(br,bs,!0x0);},'merge','Use\x20`assign`.');function ag(br,bs,bu){var bv,bw=bs['prototype'];(bv=br['prototype']=Object['create'](bw))['constructor']=br,bv['_super']=bw,bu&&a4(bv,bu);}function ah(br,bs){return function(){return br['apply'](bs,arguments);};}function ai(br,bs){return'function'==typeof br?br['apply'](bs&&bs[0x0]||a3,bs):br;}function aj(br,bs){return br===a3?bs:br;}function ak(br,bs,bu){ac(ao(bs),function(bv){br['addEventListener'](bv,bu,!0x1);});}function al(br,bs,bu){ac(ao(bs),function(bv){br['removeEventListener'](bv,bu,!0x1);});}function am(br,bs){for(;br;){if(br==bs)return!0x0;br=br['parentNode'];}return!0x1;}function an(br,bs){return br['indexOf'](bs)>-0x1;}function ao(br){return br['trim']()['split'](/\s+/g);}function ap(br,bs,bu){if(br['indexOf']&&!bu)return br['indexOf'](bs);for(var bv=0x0;bv<br['length'];){if(bu&&br[bv][bu]==bs||!bu&&br[bv]===bs)return bv;bv++;}return-0x1;}function aq(br){return Array['prototype']['slice']['call'](br,0x0);}function ar(br,bs,bu){for(var bv=[],bw=[],bx=0x0;bx<br['length'];){var by=bs?br[bx][bs]:br[bx];ap(bw,by)<0x0&&bv['push'](br[bx]),bw[bx]=by,bx++;}return bu&&(bv=bs?bv['sort'](function(bz,bA){return bz[bs]>bA[bs];}):bv['sort']()),bv;}function as(br,bs){for(var bu,bv,bw=bs[0x0]['toUpperCase']()+bs['slice'](0x1),bx=0x0;bx<a5['length'];){if((bv=(bu=a5[bx])?bu+bw:bs)in br)return bv;bx++;}return a3;}var au=0x1;function av(br){var bs=br['ownerDocument']||br;return bs['defaultView']||bs['parentWindow']||a0;}var aw='ontouchstart'in a0,ax=as(a0,'PointerEvent')!==a3,ay=aw&&/mobile|tablet|ip(ad|hone|od)|android/i['test'](navigator['userAgent']),az='touch',aA='mouse',aB=['x','y'],aC=['clientX','clientY'];function aD(br,bs){var bu=this;this['manager']=br,this['callback']=bs,this['element']=br['element'],this['target']=br['options']['inputTarget'],this['domHandler']=function(bv){ai(br['options']['enable'],[br])&&bu['handler'](bv);},this['init']();}function aE(br,bs,bu){var bv=bu['pointers']['length'],bw=bu['changedPointers']['length'],bx=0x1&bs&&bv-bw===0x0,by=0xc&bs&&bv-bw===0x0;bu['isFirst']=!!bx,bu['isFinal']=!!by,bx&&(br['session']={}),bu['eventType']=bs,function(bz,bA){var bB=bz['session'],bC=bA['pointers'],bD=bC['length'];bB['firstInput']||(bB['firstInput']=aF(bA)),bD>0x1&&!bB['firstMultiple']?bB['firstMultiple']=aF(bA):0x1===bD&&(bB['firstMultiple']=!0x1);var bE=bB['firstInput'],bF=bB['firstMultiple'],bG=bF?bF['center']:bE['center'],bH=bA['center']=aG(bC);bA['timeStamp']=a9(),bA['deltaTime']=bA['timeStamp']-bE['timeStamp'],bA['angle']=aK(bG,bH),bA['distance']=aJ(bG,bH),function(bM,bN){var bO=bN['center'],bP=bM['offsetDelta']||{},bQ=bM['prevDelta']||{},bR=bM['prevInput']||{};0x1!==bN['eventType']&&0x4!==bR['eventType']||(bQ=bM['prevDelta']={'x':bR['deltaX']||0x0,'y':bR['deltaY']||0x0},bP=bM['offsetDelta']={'x':bO['x'],'y':bO['y']}),bN['deltaX']=bQ['x']+(bO['x']-bP['x']),bN['deltaY']=bQ['y']+(bO['y']-bP['y']);}(bB,bA),bA['offsetDirection']=aI(bA['deltaX'],bA['deltaY']);var bI,bJ,bK=aH(bA['deltaTime'],bA['deltaX'],bA['deltaY']);bA['overallVelocityX']=bK['x'],bA['overallVelocityY']=bK['y'],bA['overallVelocity']=a8(bK['x'])>a8(bK['y'])?bK['x']:bK['y'],bA['scale']=bF?(bI=bF['pointers'],aJ((bJ=bC)[0x0],bJ[0x1],aC)/aJ(bI[0x0],bI[0x1],aC)):0x1,bA['rotation']=bF?function(bM,bN){return aK(bN[0x1],bN[0x0],aC)+aK(bM[0x1],bM[0x0],aC);}(bF['pointers'],bC):0x0,bA['maxPointers']=bB['prevInput']?bA['pointers']['length']>bB['prevInput']['maxPointers']?bA['pointers']['length']:bB['prevInput']['maxPointers']:bA['pointers']['length'],function(bM,bN){var bO,bP,bQ,bR,bS=bM['lastInterval']||bN,bT=bN['timeStamp']-bS['timeStamp'];if(0x8!=bN['eventType']&&(bT>0x19||bS['velocity']===a3)){var bU=bN['deltaX']-bS['deltaX'],bV=bN['deltaY']-bS['deltaY'],bW=aH(bT,bU,bV);bP=bW['x'],bQ=bW['y'],bO=a8(bW['x'])>a8(bW['y'])?bW['x']:bW['y'],bR=aI(bU,bV),bM['lastInterval']=bN;}else bO=bS['velocity'],bP=bS['velocityX'],bQ=bS['velocityY'],bR=bS['direction'];bN['velocity']=bO,bN['velocityX']=bP,bN['velocityY']=bQ,bN['direction']=bR;}(bB,bA);var bL=bz['element'];am(bA['srcEvent']['target'],bL)&&(bL=bA['srcEvent']['target']),bA['target']=bL;}(br,bu),br['emit']('hammer.input',bu),br['recognize'](bu),br['session']['prevInput']=bu;}function aF(br){for(var bs=[],bu=0x0;bu<br['pointers']['length'];)bs[bu]={'clientX':a7(br['pointers'][bu]['clientX']),'clientY':a7(br['pointers'][bu]['clientY'])},bu++;return{'timeStamp':a9(),'pointers':bs,'center':aG(bs),'deltaX':br['deltaX'],'deltaY':br['deltaY']};}function aG(br){var bs=br['length'];if(0x1===bs)return{'x':a7(br[0x0]['clientX']),'y':a7(br[0x0]['clientY'])};for(var bu=0x0,bv=0x0,bw=0x0;bw<bs;)bu+=br[bw]['clientX'],bv+=br[bw]['clientY'],bw++;return{'x':a7(bu/bs),'y':a7(bv/bs)};}function aH(br,bs,bu){return{'x':bs/br||0x0,'y':bu/br||0x0};}function aI(br,bs){return br===bs?0x1:a8(br)>=a8(bs)?br<0x0?0x2:0x4:bs<0x0?0x8:0x10;}function aJ(br,bs,bu){bu||(bu=aB);var bv=bs[bu[0x0]]-br[bu[0x0]],bw=bs[bu[0x1]]-br[bu[0x1]];return Math['sqrt'](bv*bv+bw*bw);}function aK(br,bs,bu){bu||(bu=aB);var bv=bs[bu[0x0]]-br[bu[0x0]],bw=bs[bu[0x1]]-br[bu[0x1]];return 0xb4*Math['atan2'](bw,bv)/Math['PI'];}aD['prototype']={'handler':function(){},'init':function(){this['evEl']&&ak(this['element'],this['evEl'],this['domHandler']),this['evTarget']&&ak(this['target'],this['evTarget'],this['domHandler']),this['evWin']&&ak(av(this['element']),this['evWin'],this['domHandler']);},'destroy':function(){this['evEl']&&al(this['element'],this['evEl'],this['domHandler']),this['evTarget']&&al(this['target'],this['evTarget'],this['domHandler']),this['evWin']&&al(av(this['element']),this['evWin'],this['domHandler']);}};var aL={'mousedown':0x1,'mousemove':0x2,'mouseup':0x4};function aM(){this['evEl']='mousedown',this['evWin']='mousemove\x20mouseup',this['pressed']=!0x1,aD['apply'](this,arguments);}ag(aM,aD,{'handler':function(br){var bs=aL[br['type']];0x1&bs&&0x0===br['button']&&(this['pressed']=!0x0),0x2&bs&&0x1!==br['which']&&(bs=0x4),this['pressed']&&(0x4&bs&&(this['pressed']=!0x1),this['callback'](this['manager'],bs,{'pointers':[br],'changedPointers':[br],'pointerType':aA,'srcEvent':br}));}});var aN={'pointerdown':0x1,'pointermove':0x2,'pointerup':0x4,'pointercancel':0x8,'pointerout':0x8},aO={0x2:az,0x3:'pen',0x4:aA,0x5:'kinect'},aP='pointerdown',aQ='pointermove\x20pointerup\x20pointercancel';function aR(){this['evEl']=aP,this['evWin']=aQ,aD['apply'](this,arguments),this['store']=this['manager']['session']['pointerEvents']=[];}a0['MSPointerEvent']&&!a0['PointerEvent']&&(aP='MSPointerDown',aQ='MSPointerMove\x20MSPointerUp\x20MSPointerCancel'),ag(aR,aD,{'handler':function(br){var bs=this['store'],bu=!0x1,bv=br['type']['toLowerCase']()['replace']('ms',''),bw=aN[bv],bx=aO[br['pointerType']]||br['pointerType'],by=bx==az,bz=ap(bs,br['pointerId'],'pointerId');0x1&bw&&(0x0===br['button']||by)?bz<0x0&&(bs['push'](br),bz=bs['length']-0x1):0xc&bw&&(bu=!0x0),bz<0x0||(bs[bz]=br,this['callback'](this['manager'],bw,{'pointers':bs,'changedPointers':[br],'pointerType':bx,'srcEvent':br}),bu&&bs['splice'](bz,0x1));}});var aS={'touchstart':0x1,'touchmove':0x2,'touchend':0x4,'touchcancel':0x8};function aT(){this['evTarget']='touchstart',this['evWin']='touchstart\x20touchmove\x20touchend\x20touchcancel',this['started']=!0x1,aD['apply'](this,arguments);}function aU(br,bs){var bu=aq(br['touches']),bv=aq(br['changedTouches']);return 0xc&bs&&(bu=ar(bu['concat'](bv),'identifier',!0x0)),[bu,bv];}ag(aT,aD,{'handler':function(br){var bs=aS[br['type']];if(0x1===bs&&(this['started']=!0x0),this['started']){var bu=aU['call'](this,br,bs);0xc&bs&&bu[0x0]['length']-bu[0x1]['length']===0x0&&(this['started']=!0x1),this['callback'](this['manager'],bs,{'pointers':bu[0x0],'changedPointers':bu[0x1],'pointerType':az,'srcEvent':br});}}});var aV={'touchstart':0x1,'touchmove':0x2,'touchend':0x4,'touchcancel':0x8};function aW(){this['evTarget']='touchstart\x20touchmove\x20touchend\x20touchcancel',this['targetIds']={},aD['apply'](this,arguments);}function aX(br,bs){var bu=aq(br['touches']),bv=this['targetIds'];if(0x3&bs&&0x1===bu['length'])return bv[bu[0x0]['identifier']]=!0x0,[bu,bu];var bw,bx,by=aq(br['changedTouches']),bz=[],bA=this['target'];if(bx=bu['filter'](function(bB){return am(bB['target'],bA);}),0x1===bs){for(bw=0x0;bw<bx['length'];)bv[bx[bw]['identifier']]=!0x0,bw++;}for(bw=0x0;bw<by['length'];)bv[by[bw]['identifier']]&&bz['push'](by[bw]),0xc&bs&&delete bv[by[bw]['identifier']],bw++;return bz['length']?[ar(bx['concat'](bz),'identifier',!0x0),bz]:void 0x0;}function aY(){aD['apply'](this,arguments);var br=ah(this['handler'],this);this['touch']=new aW(this['manager'],br),this['mouse']=new aM(this['manager'],br),this['primaryTouch']=null,this['lastTouches']=[];}function aZ(br,bs){0x1&br?(this['primaryTouch']=bs['changedPointers'][0x0]['identifier'],b0['call'](this,bs)):0xc&br&&b0['call'](this,bs);}function b0(br){var bs=br['changedPointers'][0x0];if(bs['identifier']===this['primaryTouch']){var bu={'x':bs['clientX'],'y':bs['clientY']};this['lastTouches']['push'](bu);var bv=this['lastTouches'];setTimeout(function(){var bw=bv['indexOf'](bu);bw>-0x1&&bv['splice'](bw,0x1);},0x9c4);}}function b1(br){for(var bs=br['srcEvent']['clientX'],bu=br['srcEvent']['clientY'],bv=0x0;bv<this['lastTouches']['length'];bv++){var bw=this['lastTouches'][bv],bx=Math['abs'](bs-bw['x']),by=Math['abs'](bu-bw['y']);if(bx<=0x19&&by<=0x19)return!0x0;}return!0x1;}ag(aW,aD,{'handler':function(br){var bs=aV[br['type']],bu=aX['call'](this,br,bs);bu&&this['callback'](this['manager'],bs,{'pointers':bu[0x0],'changedPointers':bu[0x1],'pointerType':az,'srcEvent':br});}}),ag(aY,aD,{'handler':function(br,bs,bu){var bv=bu['pointerType']==az,bw=bu['pointerType']==aA;if(!(bw&&bu['sourceCapabilities']&&bu['sourceCapabilities']['firesTouchEvents'])){if(bv)aZ['call'](this,bs,bu);else{if(bw&&b1['call'](this,bu))return;}this['callback'](br,bs,bu);}},'destroy':function(){this['touch']['destroy'](),this['mouse']['destroy']();}});var b2=as(a6['style'],'touchAction'),b3=b2!==a3,b4='compute',b5='auto',b6='manipulation',b7='none',b8='pan-x',b9='pan-y',ba=(function(){if(!b3)return!0x1;var br={},bs=a0['CSS']&&a0['CSS']['supports'];return['auto','manipulation','pan-y','pan-x','pan-x\x20pan-y','none']['forEach'](function(bu){br[bu]=!bs||a0['CSS']['supports']('touch-action',bu);}),br;}());function bb(br,bs){this['manager']=br,this['set'](bs);}bb['prototype']={'set':function(br){br==b4&&(br=this['compute']()),b3&&this['manager']['element']['style']&&ba[br]&&(this['manager']['element']['style'][b2]=br),this['actions']=br['toLowerCase']()['trim']();},'update':function(){this['set'](this['manager']['options']['touchAction']);},'compute':function(){var br=[];return ac(this['manager']['recognizers'],function(bs){ai(bs['options']['enable'],[bs])&&(br=br['concat'](bs['getTouchAction']()));}),function(bs){if(an(bs,b7))return b7;var bu=an(bs,b8),bv=an(bs,b9);return bu&&bv?b7:bu||bv?bu?b8:b9:an(bs,b6)?b6:b5;}(br['join']('\x20'));},'preventDefaults':function(br){var bs=br['srcEvent'],bu=br['offsetDirection'];if(this['manager']['session']['prevented'])bs['preventDefault']();else{var bv=this['actions'],bw=an(bv,b7)&&!ba[b7],bx=an(bv,b9)&&!ba[b9],by=an(bv,b8)&&!ba[b8];if(bw){var bz=0x1===br['pointers']['length'],bA=br['distance']<0x2,bB=br['deltaTime']<0xfa;if(bz&&bA&&bB)return;}if(!by||!bx)return bw||bx&&0x6&bu||by&&0x18&bu?this['preventSrc'](bs):void 0x0;}},'preventSrc':function(br){this['manager']['session']['prevented']=!0x0,br['preventDefault']();}};var bc=0x20;function bd(br){this['options']=a4({},this['defaults'],br||{}),this['id']=au++,this['manager']=null,this['options']['enable']=aj(this['options']['enable'],!0x0),this['state']=0x1,this['simultaneous']={},this['requireFail']=[];}function be(br){return 0x10&br?'cancel':0x8&br?'end':0x4&br?'move':0x2&br?'start':'';}function bf(br){return 0x10==br?'down':0x8==br?'up':0x2==br?'left':0x4==br?'right':'';}function bg(br,bs){var bu=bs['manager'];return bu?bu['get'](br):br;}function bh(){bd['apply'](this,arguments);}function bi(){bh['apply'](this,arguments),this['pX']=null,this['pY']=null;}function bj(){bh['apply'](this,arguments);}function bk(){bd['apply'](this,arguments),this['_timer']=null,this['_input']=null;}function bl(){bh['apply'](this,arguments);}function bm(){bh['apply'](this,arguments);}function bn(){bd['apply'](this,arguments),this['pTime']=!0x1,this['pCenter']=!0x1,this['_timer']=null,this['_input']=null,this['count']=0x0;}function bo(br,bs){return(bs=bs||{})['recognizers']=aj(bs['recognizers'],bo['defaults']['preset']),new bp(br,bs);}function bp(br,bs){this['options']=a4({},bo['defaults'],bs||{}),this['options']['inputTarget']=this['options']['inputTarget']||br,this['handlers']={},this['session']={},this['recognizers']=[],this['oldCssProps']={},this['element']=br,this['input']=new(this['options']['inputClass']||(ax?aR:ay?aW:aw?aY:aM))(this,aE),this['touchAction']=new bb(this,this['options']['touchAction']),bq(this,!0x0),ac(this['options']['recognizers'],function(bu){var bv=this['add'](new bu[0x0](bu[0x1]));bu[0x2]&&bv['recognizeWith'](bu[0x2]),bu[0x3]&&bv['requireFailure'](bu[0x3]);},this);}function bq(br,bs){var bu,bv=br['element'];bv['style']&&(ac(br['options']['cssProps'],function(bw,bx){bu=as(bv['style'],bx),bs?(br['oldCssProps'][bu]=bv['style'][bu],bv['style'][bu]=bw):bv['style'][bu]=br['oldCssProps'][bu]||'';}),bs||(br['oldCssProps']={}));}bd['prototype']={'defaults':{},'set':function(br){return a4(this['options'],br),this['manager']&&this['manager']['touchAction']['update'](),this;},'recognizeWith':function(br){if(ab(br,'recognizeWith',this))return this;var bs=this['simultaneous'];return bs[(br=bg(br,this))['id']]||(bs[br['id']]=br,br['recognizeWith'](this)),this;},'dropRecognizeWith':function(br){return ab(br,'dropRecognizeWith',this)||(br=bg(br,this),delete this['simultaneous'][br['id']]),this;},'requireFailure':function(br){if(ab(br,'requireFailure',this))return this;var bs=this['requireFail'];return-0x1===ap(bs,br=bg(br,this))&&(bs['push'](br),br['requireFailure'](this)),this;},'dropRequireFailure':function(br){if(ab(br,'dropRequireFailure',this))return this;br=bg(br,this);var bs=ap(this['requireFail'],br);return bs>-0x1&&this['requireFail']['splice'](bs,0x1),this;},'hasRequireFailures':function(){return this['requireFail']['length']>0x0;},'canRecognizeWith':function(br){return!!this['simultaneous'][br['id']];},'emit':function(br){var bs=this,bu=this['state'];function bv(bw){bs['manager']['emit'](bw,br);}bu<0x8&&bv(bs['options']['event']+be(bu)),bv(bs['options']['event']),br['additionalEvent']&&bv(br['additionalEvent']),bu>=0x8&&bv(bs['options']['event']+be(bu));},'tryEmit':function(br){if(this['canEmit']())return this['emit'](br);this['state']=bc;},'canEmit':function(){for(var br=0x0;br<this['requireFail']['length'];){if(!(0x21&this['requireFail'][br]['state']))return!0x1;br++;}return!0x0;},'recognize':function(br){var bs=a4({},br);if(!ai(this['options']['enable'],[this,bs]))return this['reset'](),void(this['state']=bc);0x38&this['state']&&(this['state']=0x1),this['state']=this['process'](bs),0x1e&this['state']&&this['tryEmit'](bs);},'process':function(br){},'getTouchAction':function(){},'reset':function(){}},ag(bh,bd,{'defaults':{'pointers':0x1},'attrTest':function(br){var bs=this['options']['pointers'];return 0x0===bs||br['pointers']['length']===bs;},'process':function(br){var bs=this['state'],bu=br['eventType'],bv=0x6&bs,bw=this['attrTest'](br);return bv&&(0x8&bu||!bw)?0x10|bs:bv||bw?0x4&bu?0x8|bs:0x2&bs?0x4|bs:0x2:bc;}}),ag(bi,bh,{'defaults':{'event':'pan','threshold':0xa,'pointers':0x1,'direction':0x1e},'getTouchAction':function(){var br=this['options']['direction'],bs=[];return 0x6&br&&bs['push'](b9),0x18&br&&bs['push'](b8),bs;},'directionTest':function(br){var bs=this['options'],bu=!0x0,bv=br['distance'],bw=br['direction'],bx=br['deltaX'],by=br['deltaY'];return bw&bs['direction']||(0x6&bs['direction']?(bw=0x0===bx?0x1:bx<0x0?0x2:0x4,bu=bx!=this['pX'],bv=Math['abs'](br['deltaX'])):(bw=0x0===by?0x1:by<0x0?0x8:0x10,bu=by!=this['pY'],bv=Math['abs'](br['deltaY']))),br['direction']=bw,bu&&bv>bs['threshold']&&bw&bs['direction'];},'attrTest':function(br){return bh['prototype']['attrTest']['call'](this,br)&&(0x2&this['state']||!(0x2&this['state'])&&this['directionTest'](br));},'emit':function(br){this['pX']=br['deltaX'],this['pY']=br['deltaY'];var bs=bf(br['direction']);bs&&(br['additionalEvent']=this['options']['event']+bs),this['_super']['emit']['call'](this,br);}}),ag(bj,bh,{'defaults':{'event':'pinch','threshold':0x0,'pointers':0x2},'getTouchAction':function(){return[b7];},'attrTest':function(br){return this['_super']['attrTest']['call'](this,br)&&(Math['abs'](br['scale']-0x1)>this['options']['threshold']||0x2&this['state']);},'emit':function(br){if(0x1!==br['scale']){var bs=br['scale']<0x1?'in':'out';br['additionalEvent']=this['options']['event']+bs;}this['_super']['emit']['call'](this,br);}}),ag(bk,bd,{'defaults':{'event':'press','pointers':0x1,'time':0xfb,'threshold':0x9},'getTouchAction':function(){return[b5];},'process':function(br){var bs=this['options'],bu=br['pointers']['length']===bs['pointers'],bv=br['distance']<bs['threshold'],bw=br['deltaTime']>bs['time'];if(this['_input']=br,!bv||!bu||0xc&br['eventType']&&!bw)this['reset']();else{if(0x1&br['eventType'])this['reset'](),this['_timer']=aa(function(){this['state']=0x8,this['tryEmit']();},bs['time'],this);else{if(0x4&br['eventType'])return 0x8;}}return bc;},'reset':function(){clearTimeout(this['_timer']);},'emit':function(br){0x8===this['state']&&(br&&0x4&br['eventType']?this['manager']['emit'](this['options']['event']+'up',br):(this['_input']['timeStamp']=a9(),this['manager']['emit'](this['options']['event'],this['_input'])));}}),ag(bl,bh,{'defaults':{'event':'rotate','threshold':0x0,'pointers':0x2},'getTouchAction':function(){return[b7];},'attrTest':function(br){return this['_super']['attrTest']['call'](this,br)&&(Math['abs'](br['rotation'])>this['options']['threshold']||0x2&this['state']);}}),ag(bm,bh,{'defaults':{'event':'swipe','threshold':0xa,'velocity':0.3,'direction':0x1e,'pointers':0x1},'getTouchAction':function(){return bi['prototype']['getTouchAction']['call'](this);},'attrTest':function(br){var bs,bu=this['options']['direction'];return 0x1e&bu?bs=br['overallVelocity']:0x6&bu?bs=br['overallVelocityX']:0x18&bu&&(bs=br['overallVelocityY']),this['_super']['attrTest']['call'](this,br)&&bu&br['offsetDirection']&&br['distance']>this['options']['threshold']&&br['maxPointers']==this['options']['pointers']&&a8(bs)>this['options']['velocity']&&0x4&br['eventType'];},'emit':function(br){var bs=bf(br['offsetDirection']);bs&&this['manager']['emit'](this['options']['event']+bs,br),this['manager']['emit'](this['options']['event'],br);}}),ag(bn,bd,{'defaults':{'event':'tap','pointers':0x1,'taps':0x1,'interval':0x12c,'time':0xfa,'threshold':0x9,'posThreshold':0xa},'getTouchAction':function(){return[b6];},'process':function(br){var bs=this['options'],bu=br['pointers']['length']===bs['pointers'],bv=br['distance']<bs['threshold'],bw=br['deltaTime']<bs['time'];if(this['reset'](),0x1&br['eventType']&&0x0===this['count'])return this['failTimeout']();if(bv&&bw&&bu){if(0x4!=br['eventType'])return this['failTimeout']();var bx=!this['pTime']||br['timeStamp']-this['pTime']<bs['interval'],by=!this['pCenter']||aJ(this['pCenter'],br['center'])<bs['posThreshold'];if(this['pTime']=br['timeStamp'],this['pCenter']=br['center'],by&&bx?this['count']+=0x1:this['count']=0x1,this['_input']=br,0x0===this['count']%bs['taps'])return this['hasRequireFailures']()?(this['_timer']=aa(function(){this['state']=0x8,this['tryEmit']();},bs['interval'],this),0x2):0x8;}return bc;},'failTimeout':function(){return this['_timer']=aa(function(){this['state']=bc;},this['options']['interval'],this),bc;},'reset':function(){clearTimeout(this['_timer']);},'emit':function(){0x8==this['state']&&(this['_input']['tapCount']=this['count'],this['manager']['emit'](this['options']['event'],this['_input']));}}),bo['VERSION']='2.0.7',bo['defaults']={'domEvents':!0x1,'touchAction':b4,'enable':!0x0,'inputTarget':null,'inputClass':null,'preset':[[bl,{'enable':!0x1}],[bj,{'enable':!0x1},['rotate']],[bm,{'direction':0x6}],[bi,{'direction':0x6},['swipe']],[bn],[bn,{'event':'doubletap','taps':0x2},['tap']],[bk]],'cssProps':{'userSelect':'none','touchSelect':'none','touchCallout':'none','contentZooming':'none','userDrag':'none','tapHighlightColor':'rgba(0,0,0,0)'}},bp['prototype']={'set':function(br){return a4(this['options'],br),br['touchAction']&&this['touchAction']['update'](),br['inputTarget']&&(this['input']['destroy'](),this['input']['target']=br['inputTarget'],this['input']['init']()),this;},'stop':function(br){this['session']['stopped']=br?0x2:0x1;},'recognize':function(br){var bs=this['session'];if(!bs['stopped']){var bu;this['touchAction']['preventDefaults'](br);var bv=this['recognizers'],bw=bs['curRecognizer'];(!bw||bw&&0x8&bw['state'])&&(bw=bs['curRecognizer']=null);for(var bx=0x0;bx<bv['length'];)bu=bv[bx],0x2===bs['stopped']||bw&&bu!=bw&&!bu['canRecognizeWith'](bw)?bu['reset']():bu['recognize'](br),!bw&&0xe&bu['state']&&(bw=bs['curRecognizer']=bu),bx++;}},'get':function(br){if(br instanceof bd)return br;for(var bs=this['recognizers'],bu=0x0;bu<bs['length'];bu++)if(bs[bu]['options']['event']==br)return bs[bu];return null;},'add':function(br){if(ab(br,'add',this))return this;var bs=this['get'](br['options']['event']);return bs&&this['remove'](bs),this['recognizers']['push'](br),br['manager']=this,this['touchAction']['update'](),br;},'remove':function(br){if(ab(br,'remove',this))return this;if(br=this['get'](br)){var bs=this['recognizers'],bu=ap(bs,br);-0x1!==bu&&(bs['splice'](bu,0x1),this['touchAction']['update']());}return this;},'on':function(br,bs){if(br!==a3&&bs!==a3){var bu=this['handlers'];return ac(ao(br),function(bv){bu[bv]=bu[bv]||[],bu[bv]['push'](bs);}),this;}},'off':function(br,bs){if(br!==a3){var bu=this['handlers'];return ac(ao(br),function(bv){bs?bu[bv]&&bu[bv]['splice'](ap(bu[bv],bs),0x1):delete bu[bv];}),this;}},'emit':function(br,bs){this['options']['domEvents']&&function(bw,bx){var by=a1['createEvent']('Event');by['initEvent'](bw,!0x0,!0x0),by['gesture']=bx,bx['target']['dispatchEvent'](by);}(br,bs);var bu=this['handlers'][br]&&this['handlers'][br]['slice']();if(bu&&bu['length']){bs['type']=br,bs['preventDefault']=function(){bs['srcEvent']['preventDefault']();};for(var bv=0x0;bv<bu['length'];)bu[bv](bs),bv++;}},'destroy':function(){this['element']&&bq(this,!0x1),this['handlers']={},this['session']={},this['input']['destroy'](),this['element']=null;}},a4(bo,{'INPUT_START':0x1,'INPUT_MOVE':0x2,'INPUT_END':0x4,'INPUT_CANCEL':0x8,'STATE_POSSIBLE':0x1,'STATE_BEGAN':0x2,'STATE_CHANGED':0x4,'STATE_ENDED':0x8,'STATE_RECOGNIZED':0x8,'STATE_CANCELLED':0x10,'STATE_FAILED':bc,'DIRECTION_NONE':0x1,'DIRECTION_LEFT':0x2,'DIRECTION_RIGHT':0x4,'DIRECTION_UP':0x8,'DIRECTION_DOWN':0x10,'DIRECTION_HORIZONTAL':0x6,'DIRECTION_VERTICAL':0x18,'DIRECTION_ALL':0x1e,'Manager':bp,'Input':aD,'TouchAction':bb,'TouchInput':aW,'MouseInput':aM,'PointerEventInput':aR,'TouchMouseInput':aY,'SingleTouchInput':aT,'Recognizer':bd,'AttrRecognizer':bh,'Tap':bn,'Pan':bi,'Swipe':bm,'Pinch':bj,'Rotate':bl,'Press':bk,'on':ak,'off':al,'each':ac,'merge':af,'extend':ae,'assign':a4,'inherit':ag,'bindFn':ah,'prefixed':as}),(void 0x0!==a0?a0:'undefined'!=typeof self?self:{})['Hammer']=bo,(h=function(){return bo;}['call'](f,g,f,d))===a3||(d['exports']=h);}(window,document);},0x1c14:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['GuardNullOrEmpty']=function(g,h){if(!h)throw new Error(g+'\x20cannot\x20be\x20empty');},f['isStory']=function(g){return'pages'in g;};},0x1c40:function(d,f,g){var h;!function(a0,a1){'use strict';var a2='function',a3='undefined',a4='object',a5='string',a6='major',a7='model',a8='name',a9='type',aa='vendor',ab='version',ac='architecture',ad='console',ae='mobile',af='tablet',ag='smarttv',ah='wearable',ai='embedded',aj='Amazon',ak='Apple',al='ASUS',am='BlackBerry',an='Browser',ao='Chrome',ap='Firefox',aq='Google',ar='Honor',as='Huawei',at='LG',au='Microsoft',av='Motorola',aw='Nvidia',ax='OnePlus',ay='Opera',az='OPPO',aA='Samsung',aB='Sharp',aC='Sony',aD='Xiaomi',aE='Zebra',aF='Facebook',aG='Chromium\x20OS',aH='Mac\x20OS',aI='\x20Browser',aJ=function(aU){for(var aV={},aW=0x0;aW<aU['length'];aW++)aV[aU[aW]['toUpperCase']()]=aU[aW];return aV;},aK=function(aU,aV){return typeof aU===a5&&-0x1!==aL(aV)['indexOf'](aL(aU));},aL=function(aU){return aU['toLowerCase']();},aM=function(aU,aV){if(typeof aU===a5)return aU=aU['replace'](/^\s\s*/,''),typeof aV===a3?aU:aU['substring'](0x0,0x1f4);},aN=function(aU,aV){for(var aW,aX,aY,aZ,b0,b1,b2=0x0;b2<aV['length']&&!b0;){var b3=aV[b2],b4=aV[b2+0x1];for(aW=aX=0x0;aW<b3['length']&&!b0&&b3[aW];)if(b0=b3[aW++]['exec'](aU)){for(aY=0x0;aY<b4['length'];aY++)b1=b0[++aX],typeof(aZ=b4[aY])===a4&&aZ['length']>0x0?0x2===aZ['length']?typeof aZ[0x1]==a2?this[aZ[0x0]]=aZ[0x1]['call'](this,b1):this[aZ[0x0]]=aZ[0x1]:0x3===aZ['length']?typeof aZ[0x1]!==a2||aZ[0x1]['exec']&&aZ[0x1]['test']?this[aZ[0x0]]=b1?b1['replace'](aZ[0x1],aZ[0x2]):a1:this[aZ[0x0]]=b1?aZ[0x1]['call'](this,b1,aZ[0x2]):a1:0x4===aZ['length']&&(this[aZ[0x0]]=b1?aZ[0x3]['call'](this,b1['replace'](aZ[0x1],aZ[0x2])):a1):this[aZ]=b1||a1;}b2+=0x2;}},aO=function(aU,aV){for(var aW in aV)if(typeof aV[aW]===a4&&aV[aW]['length']>0x0){for(var aX=0x0;aX<aV[aW]['length'];aX++)if(aK(aV[aW][aX],aU))return'?'===aW?a1:aW;}else{if(aK(aV[aW],aU))return'?'===aW?a1:aW;}return aV['hasOwnProperty']('*')?aV['*']:aU;},aP={'ME':'4.90','NT\x203.11':'NT3.51','NT\x204.0':'NT4.0',0x7d0:'NT\x205.0','XP':['NT\x205.1','NT\x205.2'],'Vista':'NT\x206.0',0x7:'NT\x206.1',0x8:'NT\x206.2',8.1:'NT\x206.3',0xa:['NT\x206.4','NT\x2010.0'],'RT':'ARM'},aQ={'browser':[[/\b(?:crmo|crios)\/([\w\.]+)/i],[ab,[a8,'Chrome']],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[ab,[a8,'Edge']],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[a8,ab],[/opios[\/ ]+([\w\.]+)/i],[ab,[a8,ay+'\x20Mini']],[/\bop(?:rg)?x\/([\w\.]+)/i],[ab,[a8,ay+'\x20GX']],[/\bopr\/([\w\.]+)/i],[ab,[a8,ay]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[ab,[a8,'Baidu']],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[ab,[a8,'Maxthon']],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[a8,ab],[/quark(?:pc)?\/([-\w\.]+)/i],[ab,[a8,'Quark']],[/\bddg\/([\w\.]+)/i],[ab,[a8,'DuckDuckGo']],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[ab,[a8,'UC'+an]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[ab,[a8,'WeChat']],[/konqueror\/([\w\.]+)/i],[ab,[a8,'Konqueror']],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[ab,[a8,'IE']],[/ya(?:search)?browser\/([\w\.]+)/i],[ab,[a8,'Yandex']],[/slbrowser\/([\w\.]+)/i],[ab,[a8,'Smart\x20Lenovo\x20'+an]],[/(avast|avg)\/([\w\.]+)/i],[[a8,/(.+)/,'$1\x20Secure\x20'+an],ab],[/\bfocus\/([\w\.]+)/i],[ab,[a8,ap+'\x20Focus']],[/\bopt\/([\w\.]+)/i],[ab,[a8,ay+'\x20Touch']],[/coc_coc\w+\/([\w\.]+)/i],[ab,[a8,'Coc\x20Coc']],[/dolfin\/([\w\.]+)/i],[ab,[a8,'Dolphin']],[/coast\/([\w\.]+)/i],[ab,[a8,ay+'\x20Coast']],[/miuibrowser\/([\w\.]+)/i],[ab,[a8,'MIUI'+aI]],[/fxios\/([\w\.-]+)/i],[ab,[a8,ap]],[/\bqihoobrowser\/?([\w\.]*)/i],[ab,[a8,'360']],[/\b(qq)\/([\w\.]+)/i],[[a8,/(.+)/,'$1Browser'],ab],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[a8,/(.+)/,'$1'+aI],ab],[/samsungbrowser\/([\w\.]+)/i],[ab,[a8,aA+'\x20Internet']],[/metasr[\/ ]?([\d\.]+)/i],[ab,[a8,'Sogou\x20Explorer']],[/(sogou)mo\w+\/([\d\.]+)/i],[[a8,'Sogou\x20Mobile'],ab],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[a8,ab],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[a8],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[ab,a8],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[a8,aF],ab],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[a8,ab],[/\bgsa\/([\w\.]+) .*safari\//i],[ab,[a8,'GSA']],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[ab,[a8,'TikTok']],[/headlesschrome(?:\/([\w\.]+)| )/i],[ab,[a8,ao+'\x20Headless']],[/ wv\).+(chrome)\/([\w\.]+)/i],[[a8,ao+'\x20WebView'],ab],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[ab,[a8,'Android\x20'+an]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[a8,ab],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[ab,[a8,'Mobile\x20Safari']],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[ab,a8],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[a8,[ab,aO,{'1.0':'/8',1.2:'/1',1.3:'/3','2.0':'/412','2.0.2':'/416','2.0.3':'/417','2.0.4':'/419','?':'/'}]],[/(webkit|khtml)\/([\w\.]+)/i],[a8,ab],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[a8,'Netscape'],ab],[/(wolvic|librewolf)\/([\w\.]+)/i],[a8,ab],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[ab,[a8,ap+'\x20Reality']],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[a8,[ab,/_/g,'.']],[/(cobalt)\/([\w\.]+)/i],[a8,[ab,/master.|lts./,'']]],'cpu':[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[ac,'amd64']],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[ac,'ia32']],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[ac,'arm64']],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[ac,'armhf']],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[ac,'arm']],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[ac,/ower/,'',aL]],[/ sun4\w[;\)]/i],[[ac,'sparc']],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[ac,aL]]],'device':[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[a7,[aa,aA],[a9,af]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[a7,[aa,aA],[a9,ae]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[a7,[aa,ak],[a9,ae]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[a7,[aa,ak],[a9,af]],[/(macintosh);/i],[a7,[aa,ak]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[a7,[aa,aB],[a9,ae]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[a7,[aa,ar],[a9,af]],[/honor([-\w ]+)[;\)]/i],[a7,[aa,ar],[a9,ae]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[a7,[aa,as],[a9,af]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[a7,[aa,as],[a9,ae]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[a7,/_/g,'\x20'],[aa,aD],[a9,af]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[a7,/_/g,'\x20'],[aa,aD],[a9,ae]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[a7,[aa,az],[a9,ae]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[a7,[aa,aO,{'OnePlus':['304','403','203'],'*':az}],[a9,af]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[a7,[aa,'Vivo'],[a9,ae]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[a7,[aa,'Realme'],[a9,ae]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[a7,[aa,av],[a9,ae]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[a7,[aa,av],[a9,af]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[a7,[aa,at],[a9,af]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[a7,[aa,at],[a9,ae]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[a7,[aa,'Lenovo'],[a9,af]],[/(nokia) (t[12][01])/i],[aa,a7,[a9,af]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[a7,/_/g,'\x20'],[a9,ae],[aa,'Nokia']],[/(pixel (c|tablet))\b/i],[a7,[aa,aq],[a9,af]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[a7,[aa,aq],[a9,ae]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[a7,[aa,aC],[a9,ae]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[a7,'Xperia\x20Tablet'],[aa,aC],[a9,af]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[a7,[aa,ax],[a9,ae]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[a7,[aa,aj],[a9,af]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[a7,/(.+)/g,'Fire\x20Phone\x20$1'],[aa,aj],[a9,ae]],[/(playbook);[-\w\),; ]+(rim)/i],[a7,aa,[a9,af]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[a7,[aa,am],[a9,ae]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[a7,[aa,al],[a9,af]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[a7,[aa,al],[a9,ae]],[/(nexus 9)/i],[a7,[aa,'HTC'],[a9,af]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[aa,[a7,/_/g,'\x20'],[a9,ae]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[a7,[aa,'TCL'],[a9,af]],[/(itel) ((\w+))/i],[[aa,aL],a7,[a9,aO,{'tablet':['p10001l','w7001'],'*':'mobile'}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[a7,[aa,'Acer'],[a9,af]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[a7,[aa,'Meizu'],[a9,ae]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[a7,[aa,'Ulefone'],[a9,ae]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[a7,[aa,'Energizer'],[a9,ae]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[a7,[aa,'Cat'],[a9,ae]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[a7,[aa,'Smartfren'],[a9,ae]],[/droid.+; (a(?:015|06[35]|142p?))/i],[a7,[aa,'Nothing'],[a9,ae]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[a7,[aa,'Archos'],[a9,af]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[a7,[aa,'Archos'],[a9,ae]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[aa,a7,[a9,af]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[aa,a7,[a9,ae]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[aa,a7,[a9,af]],[/(surface duo)/i],[a7,[aa,au],[a9,af]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[a7,[aa,'Fairphone'],[a9,ae]],[/(u304aa)/i],[a7,[aa,'AT&T'],[a9,ae]],[/\bsie-(\w*)/i],[a7,[aa,'Siemens'],[a9,ae]],[/\b(rct\w+) b/i],[a7,[aa,'RCA'],[a9,af]],[/\b(venue[\d ]{2,7}) b/i],[a7,[aa,'Dell'],[a9,af]],[/\b(q(?:mv|ta)\w+) b/i],[a7,[aa,'Verizon'],[a9,af]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[a7,[aa,'Barnes\x20&\x20Noble'],[a9,af]],[/\b(tm\d{3}\w+) b/i],[a7,[aa,'NuVision'],[a9,af]],[/\b(k88) b/i],[a7,[aa,'ZTE'],[a9,af]],[/\b(nx\d{3}j) b/i],[a7,[aa,'ZTE'],[a9,ae]],[/\b(gen\d{3}) b.+49h/i],[a7,[aa,'Swiss'],[a9,ae]],[/\b(zur\d{3}) b/i],[a7,[aa,'Swiss'],[a9,af]],[/\b((zeki)?tb.*\b) b/i],[a7,[aa,'Zeki'],[a9,af]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[aa,'Dragon\x20Touch'],a7,[a9,af]],[/\b(ns-?\w{0,9}) b/i],[a7,[aa,'Insignia'],[a9,af]],[/\b((nxa|next)-?\w{0,9}) b/i],[a7,[aa,'NextBook'],[a9,af]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[aa,'Voice'],a7,[a9,ae]],[/\b(lvtel\-)?(v1[12]) b/i],[[aa,'LvTel'],a7,[a9,ae]],[/\b(ph-1) /i],[a7,[aa,'Essential'],[a9,ae]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[a7,[aa,'Envizen'],[a9,af]],[/\b(trio[-\w\. ]+) b/i],[a7,[aa,'MachSpeed'],[a9,af]],[/\btu_(1491) b/i],[a7,[aa,'Rotor'],[a9,af]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[a7,[aa,aw],[a9,af]],[/(sprint) (\w+)/i],[aa,a7,[a9,ae]],[/(kin\.[onetw]{3})/i],[[a7,/\./g,'\x20'],[aa,au],[a9,ae]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[a7,[aa,aE],[a9,af]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[a7,[aa,aE],[a9,ae]],[/smart-tv.+(samsung)/i],[aa,[a9,ag]],[/hbbtv.+maple;(\d+)/i],[[a7,/^/,'SmartTV'],[aa,aA],[a9,ag]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[aa,at],[a9,ag]],[/(apple) ?tv/i],[aa,[a7,ak+'\x20TV'],[a9,ag]],[/crkey/i],[[a7,ao+'cast'],[aa,aq],[a9,ag]],[/droid.+aft(\w+)( bui|\))/i],[a7,[aa,aj],[a9,ag]],[/(shield \w+ tv)/i],[a7,[aa,aw],[a9,ag]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[a7,[aa,aB],[a9,ag]],[/(bravia[\w ]+)( bui|\))/i],[a7,[aa,aC],[a9,ag]],[/(mi(tv|box)-?\w+) bui/i],[a7,[aa,aD],[a9,ag]],[/Hbbtv.*(technisat) (.*);/i],[aa,a7,[a9,ag]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[aa,aM],[a7,aM],[a9,ag]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[a7,[a9,ag]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[a9,ag]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[aa,a7,[a9,ad]],[/droid.+; (shield)( bui|\))/i],[a7,[aa,aw],[a9,ad]],[/(playstation \w+)/i],[a7,[aa,aC],[a9,ad]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[a7,[aa,au],[a9,ad]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[a7,[aa,aA],[a9,ah]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[aa,a7,[a9,ah]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[a7,[aa,az],[a9,ah]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[a7,[aa,ak],[a9,ah]],[/(opwwe\d{3})/i],[a7,[aa,ax],[a9,ah]],[/(moto 360)/i],[a7,[aa,av],[a9,ah]],[/(smartwatch 3)/i],[a7,[aa,aC],[a9,ah]],[/(g watch r)/i],[a7,[aa,at],[a9,ah]],[/droid.+; (wt63?0{2,3})\)/i],[a7,[aa,aE],[a9,ah]],[/droid.+; (glass) \d/i],[a7,[aa,aq],[a9,ah]],[/(pico) (4|neo3(?: link|pro)?)/i],[aa,a7,[a9,ah]],[/; (quest( \d| pro)?)/i],[a7,[aa,aF],[a9,ah]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[aa,[a9,ai]],[/(aeobc)\b/i],[a7,[aa,aj],[a9,ai]],[/(homepod).+mac os/i],[a7,[aa,ak],[a9,ai]],[/windows iot/i],[[a9,ai]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[a7,[a9,ae]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[a7,[a9,af]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[a9,af]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[a9,ae]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[a7,[aa,'Generic']]],'engine':[[/windows.+ edge\/([\w\.]+)/i],[ab,[a8,'EdgeHTML']],[/(arkweb)\/([\w\.]+)/i],[a8,ab],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[ab,[a8,'Blink']],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[a8,ab],[/ladybird\//i],[[a8,'LibWeb']],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[ab,a8]],'os':[[/microsoft (windows) (vista|xp)/i],[a8,ab],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[a8,[ab,aO,aP]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[ab,aO,aP],[a8,'Windows']],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[ab,/_/g,'.'],[a8,'iOS']],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[a8,aH],[ab,/_/g,'.']],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[ab,a8],[/(ubuntu) ([\w\.]+) like android/i],[[a8,/(.+)/,'$1\x20Touch'],ab],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[a8,ab],[/\(bb(10);/i],[ab,[a8,am]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[ab,[a8,'Symbian']],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[ab,[a8,ap+'\x20OS']],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[ab,[a8,'webOS']],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[ab,[a8,'watchOS']],[/crkey\/([\d\.]+)/i],[ab,[a8,ao+'cast']],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[a8,aG],ab],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[a8,ab],[/(sunos) ?([\w\.\d]*)/i],[[a8,'Solaris'],ab],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[a8,ab]]},aR=function(aU,aV){if(typeof aU===a4&&(aV=aU,aU=a1),!(this instanceof aR))return new aR(aU,aV)['getResult']();var aW=typeof a0!==a3&&a0['navigator']?a0['navigator']:a1,aX=aU||(aW&&aW['userAgent']?aW['userAgent']:''),aY=aW&&aW['userAgentData']?aW['userAgentData']:a1,aZ=aV?function(b1,b2){var b3={};for(var b4 in b1)b2[b4]&&b2[b4]['length']%0x2==0x0?b3[b4]=b2[b4]['concat'](b1[b4]):b3[b4]=b1[b4];return b3;}(aQ,aV):aQ,b0=aW&&aW['userAgent']==aX;return this['getBrowser']=function(){var b1,b2={};return b2[a8]=a1,b2[ab]=a1,aN['call'](b2,aX,aZ['browser']),b2[a6]=typeof(b1=b2[ab])===a5?b1['replace'](/[^\d\.]/g,'')['split']('.')[0x0]:a1,b0&&aW&&aW['brave']&&typeof aW['brave']['isBrave']==a2&&(b2[a8]='Brave'),b2;},this['getCPU']=function(){var b1={};return b1[ac]=a1,aN['call'](b1,aX,aZ['cpu']),b1;},this['getDevice']=function(){var b1={};return b1[aa]=a1,b1[a7]=a1,b1[a9]=a1,aN['call'](b1,aX,aZ['device']),b0&&!b1[a9]&&aY&&aY['mobile']&&(b1[a9]=ae),b0&&'Macintosh'==b1[a7]&&aW&&typeof aW['standalone']!==a3&&aW['maxTouchPoints']&&aW['maxTouchPoints']>0x2&&(b1[a7]='iPad',b1[a9]=af),b1;},this['getEngine']=function(){var b1={};return b1[a8]=a1,b1[ab]=a1,aN['call'](b1,aX,aZ['engine']),b1;},this['getOS']=function(){var b1={};return b1[a8]=a1,b1[ab]=a1,aN['call'](b1,aX,aZ['os']),b0&&!b1[a8]&&aY&&aY['platform']&&'Unknown'!=aY['platform']&&(b1[a8]=aY['platform']['replace'](/chrome os/i,aG)['replace'](/macos/i,aH)),b1;},this['getResult']=function(){return{'ua':this['getUA'](),'browser':this['getBrowser'](),'engine':this['getEngine'](),'os':this['getOS'](),'device':this['getDevice'](),'cpu':this['getCPU']()};},this['getUA']=function(){return aX;},this['setUA']=function(b1){return aX=typeof b1===a5&&b1['length']>0x1f4?aM(b1,0x1f4):b1,this;},this['setUA'](aX),this;};aR['VERSION']='1.0.41',aR['BROWSER']=aJ([a8,ab,a6]),aR['CPU']=aJ([ac]),aR['DEVICE']=aJ([a7,aa,a9,ad,ae,ag,af,ah,ai]),aR['ENGINE']=aR['OS']=aJ([a8,ab]),typeof f!==a3?(d['exports']&&(f=d['exports']=aR),f['UAParser']=aR):g['amdO']?(h=function(){return aR;}['call'](f,g,f,d))===a1||(d['exports']=h):typeof a0!==a3&&(a0['UAParser']=aR);var aS=typeof a0!==a3&&(a0['jQuery']||a0['Zepto']);if(aS&&!aS['ua']){var aT=new aR();aS['ua']=aT['getResult'](),aS['ua']['get']=function(){return aT['getUA']();},aS['ua']['set']=function(aU){aT['setUA'](aU);var aV=aT['getResult']();for(var aW in aV)aS['ua'][aW]=aV[aW];};}}('object'==typeof window?window:this);},0x1c8f:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Presets']=void 0x0;const h=g(0x1932),j=g(0x115),k=g(0x1636);class l{}f['Presets']=l,l['widgetFont']='\x27WSC\x20Open\x20Sans\x27',l['playerFont']='\x27WSC\x20Open\x20Sans\x27',l['iconDefaultStyle']={'isVisible':!0x1,'url':j['externalLinkIconSvg'],'size':'24px','color':'inherit'},l['CtaButtonStyle']={'color':'','backgroundColor':'','borderRadius':'8px','padding':'0','border':'','fontSize':'16px','font':l['playerFont'],'fontWeight':'700','textTransform':'uppercase','isAnimated':!0x1,'isDisplayCtaModal':!0x0,'width':'100%','height':'40px','position':'CENTER','isVisible':!0x0,'icon':l['iconDefaultStyle']},l['StatusLiveStyle']={'backgroundColor':k['Colors']['ReadGray'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['ReadGray'],'text':'LIVE','isVisible':!0x0,'padding':'3px\x209px'},l['StatusLiveUnreadStyle']={'backgroundColor':k['Colors']['LiveChip'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['LiveChip'],'text':'LIVE','isVisible':!0x0,'padding':'3px\x209px'},l['StatusLiveStreamStyle']={'backgroundColor':'#FF3131','backgroundImage':'none','textColor':'#F0F0F0','font':'Sora,\x20sans-serif','textSize':'12px','fontWeight':'600','letterSpacing':'0px','borderRadius':'10px','borderWidth':0x0,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':'#FF364E','text':'LIVE','isVisible':!0x0,'padding':'2px\x208px','icon':{'url':j['liveStreamDotSvg'],'color':'#F0F0F0','size':'4px'}},l['StatusReadStyle']={'backgroundColor':k['Colors']['ReadGray'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['ReadGray'],'text':'','isVisible':!0x0,'padding':'3px\x209px'},l['StatusUnreadStyle']={'backgroundColor':k['Colors']['Accent'],'backgroundImage':'none','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'14px','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['Accent'],'text':'NEW','isVisible':!0x0,'padding':'3px\x209px'},l['ThumbnailPlayButtonStyle']={'isVisible':!0x1,'colorMode':'light'},l['DurationBadgeStyle']={'isVisible':!0x0,'textColor':k['Colors']['White'],'backgroundColor':'rgba(0,\x200,\x200,\x200.5)','font':l['widgetFont'],'fontSize':'10px','borderRadius':'14px','padding':'2px\x208px','position':'insideTopRight'},l['StatusUpcomingStyle']={'backgroundColor':k['Colors']['White'],'backgroundImage':'none','textColor':k['Colors']['Charcoal'],'font':'Sora,\x20sans-serif','textSize':'12px','fontWeight':'600','letterSpacing':'0px','borderRadius':'20px','borderWidth':0x0,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['LightBlue'],'text':'UPCOMING','isVisible':!0x0,'padding':'2px\x208px'},l['StatusEndedStyle']={'backgroundColor':k['Colors']['Charcoal'],'backgroundImage':'none','textColor':k['Colors']['White'],'font':'Sora,\x20sans-serif','textSize':'12px','fontWeight':'600','letterSpacing':'0px','borderRadius':'20px','borderWidth':0x0,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':k['Colors']['Charcoal'],'text':'ENDED','isVisible':!0x0,'padding':'2px\x208px'},l['BadgeStyle']={'backgroundColor':'','backgroundImage':'','textColor':k['Colors']['LightPrimary'],'font':l['widgetFont'],'textSize':'10px','letterSpacing':'initial','borderRadius':'50%','borderWidth':0x2,'borderColor':k['Colors']['LightPrimary'],'thumbnailBorderColor':'','padding':'0','text':'','isVisible':!0x1,'width':0x18,'height':0x18},l['LabelStyle']={'isVisible':!0x0,'gap':0x8,'width':'auto','color':k['Colors']['LightPrimary'],'padding':'0px','position':'outsideBottom','height':'20px','font':l['widgetFont'],'fontSize':'14px','fontWeight':'bold'},l['StartTimeStyle']={'isVisible':!0x0,'backgroundColor':'#222222CC','textColor':k['Colors']['White'],'padding':'3px\x206px','borderRadius':'20px','font':'Roboto,\x20sans-serif','fontSize':'11px','fontWeight':'400','letterSpacing':'0px','position':'insideTopRight'},l['UpcomingDateChipStyle']={'backgroundColor':'transparent','backgroundImage':'none','textColor':k['Colors']['White'],'font':'Roboto,\x20sans-serif','textSize':'14px','fontWeight':'400','letterSpacing':'0px','borderRadius':'0px','borderWidth':0x0,'borderColor':'transparent','thumbnailBorderColor':'transparent','text':'','isVisible':!0x0,'padding':'0px','icon':{'url':j['clockIconSvg'],'color':'#F0F0F0','size':'18px'}},l['Grid2Column']={'thumbnailType':'VERTICAL_TWO_BY_THREE','thumbnailShape':'Rectangle','columns':0x2,'rows':0x0,'itemRatio':0x2/0x3,'lines':0x2,'wordBreak':'break-word','labelStyle':Object['assign'](Object['assign']({},l['LabelStyle']),{'padding':'8px','position':'insideBottomLeft'}),'startTimeStyle':Object['assign']({},l['StartTimeStyle']),'horizontalItemsSpacing':0x8,'verticalItemsSpacing':0x8,'borderWidth':0x0,'borderRadius':'10px','borderPadding':0x0,'statusLiveStyle':Object['assign'](Object['assign']({},l['StatusLiveStyle']),{'borderWidth':0x0}),'statusLiveUnreadStyle':Object['assign'](Object['assign']({},l['StatusLiveUnreadStyle']),{'borderWidth':0x0}),'statusReadStyle':Object['assign'](Object['assign']({},l['StatusReadStyle']),{'borderWidth':0x0}),'statusUnreadStyle':Object['assign'](Object['assign']({},l['StatusUnreadStyle']),{'borderWidth':0x0}),'statusUpcomingStyle':Object['assign'](Object['assign']({},l['StatusUpcomingStyle']),{'borderWidth':0x0}),'statusEndedStyle':Object['assign'](Object['assign']({},l['StatusEndedStyle']),{'borderWidth':0x0}),'statusIndicatorPosition':'insideTopLeft','badgeIndicatorStyle':Object['assign']({},l['BadgeStyle']),'badgePosition':'outsideTopRight','playButtonStyle':Object['assign']({},l['ThumbnailPlayButtonStyle']),'durationBadgeStyle':Object['assign']({},l['DurationBadgeStyle']),'isSkeleton':!0x1},l['Grid3Column']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x3}),l['GridHorizontalBase']=Object['assign'](Object['assign']({},l['Grid2Column']),{'thumbnailType':'CUSTOM','itemRatio':h['ASPECT_RATIO_16_9'],'statusLiveStyle':Object['assign'](Object['assign']({},l['StatusLiveStreamStyle']),{'borderWidth':0x0}),'statusLiveUnreadStyle':Object['assign'](Object['assign']({},l['StatusLiveStreamStyle']),{'borderWidth':0x0}),'statusUpcomingStyle':Object['assign'](Object['assign']({},l['StatusUpcomingStyle']),{'borderWidth':0x0}),'statusEndedStyle':Object['assign'](Object['assign']({},l['StatusEndedStyle']),{'borderWidth':0x0})}),l['Grid2ColumnHorizontal']=Object['assign'](Object['assign']({},l['GridHorizontalBase']),{'columns':0x2}),l['Grid3ColumnHorizontal']=Object['assign'](Object['assign']({},l['GridHorizontalBase']),{'columns':0x3}),l['RowCircle']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x0,'rows':0x1,'thumbnailShape':'Circle','thumbnailType':'SQUARE_ICON','borderWidth':0x2,'borderPadding':0x4,'borderRadius':'50%','itemRatio':0x1,'labelStyle':Object['assign'](Object['assign']({},l['LabelStyle']),{'position':'outsideBottom','color':k['Colors']['Black']}),'statusLiveStyle':Object['assign']({},l['StatusLiveStyle']),'statusLiveUnreadStyle':Object['assign']({},l['StatusLiveUnreadStyle']),'statusReadStyle':Object['assign']({},l['StatusReadStyle']),'statusUnreadStyle':Object['assign'](Object['assign']({},l['StatusUnreadStyle']),{'isVisible':!0x1}),'statusUpcomingStyle':Object['assign'](Object['assign']({},l['StatusUpcomingStyle']),{'isVisible':!0x1}),'statusEndedStyle':Object['assign'](Object['assign']({},l['StatusEndedStyle']),{'isVisible':!0x1}),'statusIndicatorPosition':'outsideBottom','badgeIndicatorStyle':Object['assign']({},l['BadgeStyle']),'badgePosition':'outsideTopRight','horizontalItemsSpacing':0xc,'verticalItemsSpacing':0xc}),l['RowRectangle']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x0,'rows':0x1}),l['RowRectangleAnimated']=Object['assign'](Object['assign']({},l['RowRectangle']),{'thumbnailType':'ANIMATED_THUMBNAIL_POSTER','itemRatio':h['ASPECT_RATIO_9_16']}),l['RowHorizontalRectangle']=Object['assign'](Object['assign']({},l['GridHorizontalBase']),{'columns':0x0,'rows':0x1}),l['RowHorizontalRectangleAnimated']=Object['assign'](Object['assign']({},l['RowHorizontalRectangle']),{'thumbnailType':'ANIMATED_THUMBNAIL_POSTER'}),l['Default']=Object['assign']({},l['RowCircle']),l['DefaultTitleImageStyle']={'isVisible':!0x0,'size':0x14,'sourceMode':'dynamic'},l['DefaultStoryStyle']={'titleVisible':!0x0,'titleFont':l['playerFont'],'titleFontSize':'12px','titleFontSizeEmbedded':'11px','titleColor':k['Colors']['LightPrimary'],'publishedDateVisible':!0x0,'publishedDateFont':l['playerFont'],'publishedDateFontSize':'12px','publishedDateFontSizeEmbedded':'11px','publishedDateColor':k['Colors']['TimeColor'],'statusLiveStyle':l['StatusLiveUnreadStyle'],'titleImage':l['DefaultTitleImageStyle'],'ctaButton':l['CtaButtonStyle'],'iconsPosition':'VERTICAL','iconsButtonPadding':'5px','iconsButtonSize':'28px','iconsButtonEmbeddedSize':'20px','iconsButton':[{'value':'MUTE_UNMUTE','isEmbeddedVisible':!0x0,'isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'PLAY_PAUSE','isEmbeddedVisible':!0x0,'embeddedSize':'20px','isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'SHARE','isEmbeddedVisible':!0x1,'isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'EXIT_PLAYER','isEmbeddedVisible':!0x1,'isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'FULLSCREEN','isEmbeddedVisible':!0x0,'isVisible':!0x1,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'CLOSED_CAPTIONS','isEmbeddedVisible':!0x1,'isVisible':!0x1,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'CUSTOM_ACTION_BUTTON_ONE','isEmbeddedVisible':!0x1,'isVisible':!0x1,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'CUSTOM_ACTION_BUTTON_TWO','isEmbeddedVisible':!0x1,'isVisible':!0x1,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'}],'iconsButtonNavigation':[{'value':'NEXT_PAGE','size':'28px','isVisible':!0x0,'color':k['Colors']['Black'],'backgroundColor':k['Colors']['White'],'borderRadius':'50%','padding':'10px'},{'value':'PREV_PAGE','size':'28px','isVisible':!0x0,'color':k['Colors']['Black'],'backgroundColor':k['Colors']['White'],'borderRadius':'50%','padding':'10px'},{'value':'NEXT_STORY','size':'28px','isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%','padding':'0'},{'value':'PREV_STORY','size':'28px','isVisible':!0x0,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%','padding':'0'}],'iconsButtonOrder':['EXIT_PLAYER','MUTE_UNMUTE','PLAY_PAUSE','SHARE','CLOSED_CAPTIONS','CUSTOM_ACTION_BUTTON_ONE','CUSTOM_ACTION_BUTTON_TWO'],'contentOrder':['LIVE_CHIP','STORY_TITLE','PUBLISHED_DATE'],'icons':{'play':j['playIconSvg'],'pause':j['pauseIconSvg'],'mute':j['muteIconSvg'],'unmute':j['unmuteIconSvg'],'share':j['shareIconSvg'],'fullscreen':j['fullscreenEnterIconSvg'],'closedCaptionsOn':j['closedCaptionsOnIconSvg'],'closedCaptionsOff':j['closedCaptionsOffIconSvg'],'exitMobileTablet':j['closeIconSvg'],'exitDesktop':j['closeIconSvg'],'navigation':{'nextPage':j['nextPageIconSvg'],'prevPage':j['prevPageIconSvg'],'nextStory':j['nextStoryIconSvg'],'prevStory':j['prevStoryIconSvg']}}},l['DefaultMomentStyle']={'headingText':{'font':l['playerFont'],'textSizeMobile':'16px','textSizeTablet':'17px','textSizeDesktop':'18px','textColor':'#F0F0F0','isVisible':!0x1,'contentSource':'TITLE','lineHeight':'1.5','textTransform':'none','fontWeight':'600'},'bodyText':{'font':l['playerFont'],'textSizeMobile':'14px','textSizeTablet':'15px','textSizeDesktop':'16px','textColor':'#F0F0F0','isVisible':!0x0,'contentSource':'TITLE','lineHeight':'1.5','textTransform':'none','fontWeight':'400'},'likeText':{'font':l['playerFont'],'textSizeMobile':'14px','textSizeTablet':'15px','textSizeDesktop':'16px','textColor':k['Colors']['White'],'fontWeight':'700','textTransform':'none','isVisible':!0x0,'lineHeight':'1','likeCountThreshold':0x0},'icons':{'play':j['playIconSvg'],'pause':j['pauseIconSvg'],'mute':j['muteIconSvg'],'unmute':j['unmuteIconSvg'],'share':j['shareIconSvg'],'exit':j['closeIconSvg'],'unlike':j['unlikeIconSvg'],'like':j['likeIconSvg'],'closedCaptionsOn':j['closedCaptionsOnIconSvg'],'closedCaptionsOff':j['closedCaptionsOffIconSvg'],'navigation':{'nextMoment':j['arrowUpMomentIconSvg'],'prevMoment':j['arrowDownMomentIconSvg']}},'buttons':{'mute_unmute':{'mobile':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'tablet':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'desktop':{'isVisible':!0x0,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'','backgroundColor':''}},'exit':{'mobile':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'tablet':{'isVisible':!0x0,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'desktop':{'isVisible':!0x1,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'','backgroundColor':''}},'share':{'mobile':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x0,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'like_unlike':{'mobile':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x0,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x0,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'closed_captions':{'mobile':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x1,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'custom_action_button_one':{'mobile':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x1,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'custom_action_button_two':{'mobile':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':!0x1,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':!0x1,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}}},'topIconsButtonOrder':['EXIT_PLAYER','MUTE_UNMUTE'],'bottomIconsButtonOrder':['CUSTOM_ACTION_BUTTON_ONE','CUSTOM_ACTION_BUTTON_TWO','LIKE_UNLIKE','SHARE','CLOSED_CAPTIONS'],'contentBoxHorizontalSpacing':'15px','seekBar':{'isVisible':!0x0,'verticalSpacing':'20px','horizontalSpacing':'15px','playingState':{'isVisible':!0x0,'isThumbVisible':!0x1,'backgroundColor':k['Colors']['Gray'],'progressColor':k['Colors']['White'],'height':'3px','borderRadius':'5px','thumbColor':'','thumbSize':'0px'},'pausedState':{'isVisible':!0x0,'isThumbVisible':!0x0,'backgroundColor':k['Colors']['Gray'],'progressColor':k['Colors']['White'],'height':'5px','borderRadius':'5px','thumbColor':k['Colors']['White'],'thumbSize':'15px'}},'followButton':{'isVisible':!0x0,'variant':'text','avatar':{'borderWidth':'3px','followedBorderColor':k['Colors']['White'],'unfollowedBorderColor':k['Colors']['White']},'chip':{'followedBackgroundColor':k['Colors']['White'],'unfollowedBackgroundColor':k['Colors']['White'],'color':k['Colors']['Black']}},'ctaButton':{'borderRadius':'8px','textSize':'16px','font':l['playerFont'],'height':'40px','layoutPositioning':'CTA_BELLOW_BOTTOM_BUTTONS_BOX','horizontalAlignment':'FULL_AVAILABLE_WIDTH','fontWeight':'700','fontFamily':l['playerFont'],'backgroundColor':k['Colors']['Accent'],'borderColor':k['Colors']['Accent'],'isVisible':!0x0,'icon':{'position':'START','color':k['Colors']['Black'],'url':j['externalLinkIconSvg'],'size':'24px','isVisible':!0x1}}},l['DefaultVideoStyle']={'headingText':{'font':l['playerFont'],'textColor':'#F0F0F0','isVisible':!0x0,'contentSource':'TITLE','textStyle':{'mobile':{'fontSize':'16px','fontWeight':'600','lineHeight':'1.5','letterSpacing':void 0x0,'textTransform':'none'},'tablet':{'fontSize':'17px','fontWeight':'600','lineHeight':'1.5','letterSpacing':void 0x0,'textTransform':'none'},'desktop':{'fontSize':'18px','fontWeight':'600','lineHeight':'1.5','letterSpacing':void 0x0,'textTransform':'none'}}},'buttons':{'mute_unmute':{'mobile':{'width':'24px','height':'24px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''}},'exit':{'mobile':{'width':'24px','height':'24px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x1,'borderRadius':'','backgroundColor':''}},'share':{'mobile':{'width':'24px','height':'24px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''}},'like_unlike':{'mobile':{'width':'24px','height':'24px','color':'#ffd325','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':'#ffd325','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':'#ffd325','padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''}},'play_pause':{'mobile':{'width':'32px','height':'32px','color':k['Colors']['White'],'padding':'8px','isVisible':!0x0,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.85)'},'tablet':{'width':'42px','height':'42px','color':k['Colors']['White'],'padding':'12px','isVisible':!0x0,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.9)'},'desktop':{'width':'28px','height':'28px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''}},'replay':{'mobile':{'width':'32px','height':'32px','color':k['Colors']['White'],'padding':'8px','isVisible':!0x0,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.85)'},'tablet':{'width':'42px','height':'42px','color':k['Colors']['White'],'padding':'12px','isVisible':!0x0,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.9)'},'desktop':{'width':'28px','height':'28px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''}},'prev_next':{'mobile':{'width':'28px','height':'28px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.85)'},'tablet':{'width':'40px','height':'40px','color':k['Colors']['White'],'padding':'10px','isVisible':!0x0,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.9)'},'desktop':{'width':'28px','height':'28px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'0','backgroundColor':''}},'closed_captions':{'mobile':{'width':'24px','height':'24px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'isEmbeddedVisible':!0x0,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'isEmbeddedVisible':!0x0,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'isEmbeddedVisible':!0x0,'borderRadius':'','backgroundColor':''}},'fullscreen':{'mobile':{'width':'24px','height':'24px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':k['Colors']['White'],'padding':'7px','isVisible':!0x0,'borderRadius':'','backgroundColor':''}}},'backgroundColor':k['Colors']['Black'],'cta':{'text':{'mobile':{'fontSize':'16px','fontWeight':'700','lineHeight':'17px','letterSpacing':''},'tablet':{'fontSize':'16px','fontWeight':'700','lineHeight':'17px','letterSpacing':''},'desktop':{'fontSize':'16px','fontWeight':'700','lineHeight':'17px','letterSpacing':''}},'height':'40px','visibility':{'duration':0x1388,'behavior':'VisibleAfterOverlayHidden'},'fontFamily':l['playerFont'],'isVisible':!0x0,'icon':{'position':'START','color':'','size':'24px','isVisible':!0x0,'url':j['linkIconSvg']},'borderColor':'','borderRadius':'20px','horizontalAlignment':'LEFT'},'seekBar':{'isVisible':!0x0,'horizontalMargin':'15px','verticalMargin':'0px','playingState':{'isVisible':!0x0,'isThumbVisible':!0x1,'backgroundColor':'#FFFFFF66','progressColor':'rgba(255,\x20255,\x200,\x201)','height':'5px','borderRadius':'5px','thumbColor':'','thumbSize':'','bufferProgressColor':'#D9D9D955'},'pausedState':{'isVisible':!0x0,'isThumbVisible':!0x0,'backgroundColor':'#FFFFFF66','progressColor':'rgba(255,\x20255,\x200,\x201)','height':'7px','borderRadius':'5px','thumbColor':'rgba(255,\x20255,\x200,\x201)','thumbSize':'15px','bufferProgressColor':'#D9D9D955'}},'icons':{'play':j['playIconSvg'],'replay':j['restartIconSvg'],'pause':j['pauseIconSvg'],'mute':j['muteIconSvg'],'unmute':j['unmuteIconSvg'],'share':j['shareIconSvg'],'fullscreenEnter':j['fullscreenEnterIconSvg'],'fullscreenExit':j['fullscreenExitIconSvg'],'like':j['likeIconSvg'],'unlike':j['unlikeIconSvg'],'exit':j['closeIconSvg'],'closedCaptionsOn':j['closedCaptionsOnIconSvg'],'closedCaptionsOff':j['closedCaptionsOffIconSvg'],'navigation':{'prevVideo':j['prevStoryIconSvg'],'nextVideo':j['nextStoryIconSvg']}},'statusIndicator':{'isVisible':!0x0,'padding':'2px\x208px','position':{'top':'20px','left':'20px','right':'20px'},'containerStyle':{'alignItems':'center','display':'flex'},'streamStates':{'upcoming':Object['assign']({},l['StatusUpcomingStyle']),'live':Object['assign']({},l['StatusLiveStreamStyle']),'ended':Object['assign']({},l['StatusEndedStyle'])},'upcomingDateStyle':Object['assign']({},l['UpcomingDateChipStyle'])},'backToLiveButton':{'margins':'8px\x200\x200\x2016px','padding':'3px\x2012px','playbackStates':{'atLiveEdgeState':{'text':'Live','textColor':'#F0F0F0','textSize':'14px','font':l['playerFont'],'backgroundColor':'rgba(0,\x200,\x200,\x200.6)','borderRadius':'999px','icon':{'url':j['liveStreamDotSvg'],'color':'#FF3131'}},'behindLiveState':{'text':'Back\x20to\x20Live','textColor':'#F0F0F0','textSize':'14px','font':l['playerFont'],'backgroundColor':'rgba(0,\x200,\x200,\x200.6)','borderRadius':'999px','icon':{'url':j['liveStreamDotSvg'],'color':'#8E8E8E'}}}}};},0x1c93:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['Database']=f['DB_NAMES']=void 0x0;const j=g(0x11c1),k={'user':{'keyPath':'id'},'moments':{'keyPath':'id'},'stories':{'keyPath':'id','indexes':[{'name':'story_index','keyPath':'storyId'}]},'videos':{'keyPath':'id'},'interactions':{'keyPath':'id'},'logs':{'keyPath':'id','indexes':[{'name':'level_index','keyPath':'level'},{'name':'timestamp_index','keyPath':'timestamp'},{'name':'priority_index','keyPath':'priority'}]},'user_activities':{'keyPath':'id','indexes':[{'name':'activity_type_index','keyPath':'activityType'},{'name':'timestamp_index','keyPath':'timestamp'}]}};f['DB_NAMES']={'MOMENTS':'moments','INTERACTIONS':'interactions','USER':'user','STORIES':'stories','VIDEOS':'videos','LOGS':'logs','USER_ACTIVITIES':'user_activities'};let l=null,m=null;f['Database']=class{constructor(p){this['options']=p;}['init'](){return h(this,void 0x0,void 0x0,function*(){if(!l){l=setTimeout(()=>{l=null;},0xbb8);try{this['dbInstance']=yield this['openDatabase']();}catch(p){throw p;}finally{l&&(clearTimeout(l),l=null);}}});}['openDatabase'](){return h(this,void 0x0,void 0x0,function*(){return new Promise((p,q)=>{const u=indexedDB['open'](this['options']['databaseName'],this['options']['version']);u['addEventListener']('success',()=>h(this,void 0x0,void 0x0,function*(){const v=u['result'];p(v),yield new Promise(w=>{setTimeout(()=>h(this,void 0x0,void 0x0,function*(){try{yield this['onOpen'](),w();}catch(x){q(x);}}),0x96);});})),u['addEventListener']('upgradeneeded',v=>h(this,void 0x0,void 0x0,function*(){const w=u['result'];try{yield this['onUpgradeNeeded'](w),p(w);}catch(x){q(x);}})),u['addEventListener']('error',v=>h(this,void 0x0,void 0x0,function*(){q(v),yield this['onError'](v);}));});});}['onUpgradeNeeded'](p){return h(this,void 0x0,void 0x0,function*(){var q;try{Array['from'](p['objectStoreNames'])['forEach'](u=>{p['deleteObjectStore'](u);});for(const u in k){const v=p['createObjectStore'](u,{'keyPath':k[u]['keyPath']});null===(q=k[u]['indexes'])||void 0x0===q||q['forEach'](w=>{v['createIndex'](w['name'],w['keyPath'],w['options']);});}}catch(w){throw w;}});}['onOpen'](){return h(this,void 0x0,void 0x0,function*(){try{j['EventBusService']['publish']('BlazeDatabaseServiceOpen');}catch(p){throw p;}});}['onError'](p){return h(this,void 0x0,void 0x0,function*(){yield this['deleteDatabase']();});}['deleteDatabase'](){return h(this,void 0x0,void 0x0,function*(){return new Promise((p,q)=>{const u=indexedDB['deleteDatabase'](this['options']['databaseName']);u['onsuccess']=()=>p(),u['onerror']=v=>q(v),u['onblocked']=()=>{this['dbInstance']&&this['dbInstance']['close'](),p();};});});}['createTransaction'](p,q){try{if(!this['dbInstance'])throw new Error('Database\x20is\x20not\x20initialized.');return this['dbInstance']['transaction']([p],q)['objectStore'](p);}catch(u){return this['throttledReinit'](),null;}}['get'](p,q){return h(this,void 0x0,void 0x0,function*(){try{const u=this['createTransaction'](p,'readonly');if(!u)return{'data':{},'error':new Error('Transaction\x20not\x20created.')};const v=u['get'](q);return yield new Promise((w,x)=>{v['onerror']=()=>{x(new Error('Failed\x20get'));},v['onsuccess']=()=>{w({'data':v['result']});};});}catch(w){throw w;}});}['getAll'](p){return h(this,void 0x0,void 0x0,function*(){try{const q=this['createTransaction'](p,'readonly');if(!q)return[];const u=q['getAll']();return yield new Promise((v,w)=>{u['onerror']=()=>{w(new Error('Failed\x20getAll'));},u['onsuccess']=()=>{v(u['result']);};});}catch(v){throw v;}});}['getAllByIndex'](p,q,u){return h(this,void 0x0,void 0x0,function*(){try{const v=this['createTransaction'](p,'readonly');if(!v)return[];const w=v['index'](q)['getAll'](u);return yield new Promise((x,y)=>{w['onerror']=()=>{y(new Error('Failed\x20getAllByIndex'));},w['onsuccess']=()=>{x(w['result']);};});}catch(x){throw x;}});}['clear'](p){return h(this,void 0x0,void 0x0,function*(){try{const q=this['createTransaction'](p,'readwrite');if(!q)return;const u=q['clear']();return yield new Promise((v,w)=>{u['onerror']=()=>{w(new Error('Failed\x20clear'));},u['onsuccess']=()=>{v();};});}catch(v){throw v;}});}['update'](p,q){return h(this,void 0x0,void 0x0,function*(){try{const u={},v=this['createTransaction'](p,'readwrite');if(!v)return{'data':{},'error':new Error('Transaction\x20not\x20created.')};const w=v['put'](q);return yield new Promise((x,y)=>{w['onerror']=()=>{y(new Error('Failed\x20update'));},w['onsuccess']=()=>{const z=w['result'];x(Object['assign'](Object['assign']({},u),{'data':z}));};});}catch(x){throw x;}});}['delete'](p,q){return h(this,void 0x0,void 0x0,function*(){try{const u=this['createTransaction'](p,'readwrite');if(!u)return{'data':void 0x0,'error':new Error('Transaction\x20not\x20created.')};const v=u['delete'](q);return yield new Promise((w,x)=>{v['onerror']=()=>{x(new Error('Failed\x20delete'));},v['onsuccess']=()=>{w({'data':void 0x0});};});}catch(w){throw w;}});}['throttledReinit'](){m||(m=setTimeout(()=>h(this,void 0x0,void 0x0,function*(){m=null,yield this['init']();}),0x1388));}};},0x1cad:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StoryService']=void 0x0;const j=g(0x11c1),k=g(0x1133),l=g(0x23bc);class m extends(0x0,k['Singleton'])(){['init'](){}['fetchContent'](p){return h(this,void 0x0,void 0x0,function*(){const {sourceType:q,labels:w,labelsPriority:x,ids:y,orderType:z,maxItems:A,advancedOrdering:B,personalized:C,text:D,recommendations:E}=p;let F,G;if('ids'===q&&y)({data:F,error:G}=yield j['ApiService']['getStoriesByIds']({'ids':y,'orderType':z,'showLiveFirst':'LiveFirst'===B,'personalized':C}));else{if('labels'===q&&w){const H=Array['isArray'](w)?w['join']():w['toString']();({data:F,error:G}=yield j['ApiService']['getStoriesByLabels']({'labels':H,'orderType':z,'maxItems':A,'labelsPriority':x,'showLiveFirst':'LiveFirst'===B,'personalized':C,'text':D}));}else'text'===q&&D?{data:F,error:G}=yield j['ApiService']['getStoriesByText']({'text':D,'orderType':z,'maxItems':A,'showLiveFirst':'LiveFirst'===B,'personalized':C}):'recommendations'===q&&E&&({data:F,error:G}=yield j['ApiService']['getContentByRecommendations']({'contentType':'story','recommendations':E}));}return F||{'assetsExpiryTime':'','totalItems':0x0,'result':[]};});}['enrichContent'](p){return h(this,void 0x0,void 0x0,function*(){try{return yield j['DatabaseService']['enrichStories'](p);}catch(q){throw q;}});}['markPageAsViewed'](p){return h(this,void 0x0,void 0x0,function*(){const q=yield j['DatabaseService']['updatePageViewed'](p),u={'id':'story_page_view_'+p,'activityType':'story_page_view','pageId':p,'timestamp':Date['now'](),'isRemoteSynced':!0x1};return yield j['UserActivitySynchronizer']['queueViewActivity'](u),j['EventBusService']['publish'](l['USER_ACTIVITY_EVENTS']['STORY_PAGE_VIEW_CHANGED'],{'pageId':p,'hasViewed':!0x0}),q;});}}f['StoryService']=m['getInstance']();},0x1cc6:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['convertCcLanguageToState']=void 0x0;const h=g(0x1932);f['convertCcLanguageToState']=(j,k)=>{const l=null==j?void 0x0:j['find'](p=>''+p['language']===k),m=h['CcSupportedLanguages']['filter'](p=>'null'!==p['code'])['find'](p=>p['code']===k);return k&&(null==j?void 0x0:j['length'])?l?m?k:'Unknown':'Unavailable':'Off';};},0x1cc9:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1cf8:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['MomentService']=void 0x0;const j=g(0x11c1),k=g(0x1133),l=g(0x23bc);class m extends(0x0,k['Singleton'])(){['init'](){}['fetchContent'](p){return h(this,void 0x0,void 0x0,function*(){const {sourceType:q,labels:u,ids:v,orderType:w,maxItems:x,labelsPriority:y,recommendations:z,text:A}=p;let B,C;if('ids'===q&&v)({data:B,error:C}=yield j['ApiService']['getMomentByIds']({'ids':v,'orderType':w}));else{if('labels'===q&&u){const D=Array['isArray'](u)?u['join']():u['toString']();({data:B,error:C}=yield j['ApiService']['getMomentsByLabels']({'labels':D,'orderType':w,'maxItems':x,'labelsPriority':y,'text':A}));}else'text'===q&&A?{data:B,error:C}=yield j['ApiService']['getMomentsByText']({'text':A,'orderType':w,'maxItems':x}):'recommendations'===q&&z&&({data:B,error:C}=yield j['ApiService']['getContentByRecommendations']({'contentType':'moment','recommendations':z}));}return null==B||B['result']['map'](E=>{E['type']='Content';}),B||{'assetsExpiryTime':'','totalItems':0x0,'result':[]};});}['updateMomentReadStatusById'](p){return h(this,void 0x0,void 0x0,function*(){const q=yield j['DatabaseService']['updateViewedMoment'](p),u={'id':'moment_view_'+p,'activityType':'moment_view','momentId':p,'timestamp':Date['now'](),'isRemoteSynced':!0x1};return yield j['UserActivitySynchronizer']['queueViewActivity'](u),j['EventBusService']['publish'](l['USER_ACTIVITY_EVENTS']['MOMENT_VIEW_CHANGED'],{'momentId':p,'hasViewed':!0x0}),q;});}['enrichContent'](p){return h(this,void 0x0,void 0x0,function*(){return yield j['DatabaseService']['enrichMoments'](p);});}}f['MomentService']=m['getInstance']();},0x1d16:function(f,j,k){'use strict';var m=this&&this['__awaiter']||function(F,G,H,I){return new(H||(H=Promise))(function(J,K){function L(O){try{N(I['next'](O));}catch(P){K(P);}}function M(O){try{N(I['throw'](O));}catch(P){K(P);}}function N(O){var P;O['done']?J(O['value']):(P=O['value'],P instanceof H?P:new H(function(Q){Q(P);}))['then'](L,M);}N((I=I['apply'](F,G||[]))['next']());});},p=this&&this['__importDefault']||function(F){return F&&F['__esModule']?F:{'default':F};};Object['defineProperty'](j,'__esModule',{'value':!0x0}),j['BlazeWidgetStoryPlayer']=void 0x0;const q=p(k(0xad8)),w=k(0x23a6),x=k(0x1133),y=k(0x1f0f),z=k(0x1932),A=k(0x11c1),B=k(0x132a),C=k(0x2432),D=k(0x8c0);class E extends D['WidgetAbstractPlayer']{constructor(){super(),this['boundOnKeyDown']=(0x0,x['throttle'])(this['handleNavigationKeyPress']['bind'](this),z['ONE_SECOND']/0x4),this['accessibilityConfigTimeout']=null,this['focusTimeout']=null;}['connectedCallback'](){this['isBlazeWidgetStory'](this['playerContentList'])&&(this['append'](this['srcBackground']),this['append'](this['destBackground'])),this['append'](this['playerFullscreenOverlay']),this['append'](this['container']),this['applyStyles'](),this['muteVideoOnIOSOrMacTablet'](),this['setupEventListeners'](),this['render']();}['disconnectedCallback'](){this['listeners']['removeAll'](),null===window||void 0x0===window||window['removeEventListener']('focus',this['onFocus']),this['cleanupHammer'](),this['cancelAccessibilityConfig'](),this['cancelFocus']();}['setupEventListeners'](){this['listeners']['add']('keydown',this['boundOnKeyDown']),null===window||void 0x0===window||window['addEventListener']('focus',this['onFocus']['bind'](this)),this['setupHammer'](Hammer['DIRECTION_HORIZONTAL']);}['applyStyles'](){(0x0,C['mergeStyles'])(this,{'display':'block','overflow':'hidden','height':'100%','width':'100%','position':'relative','background':B['Colors']['Black'],'boxSizing':'border-box'}),this['container']['setStyle']({'display':'grid','position':'relative','height':'100%'});}['updateContentConfig'](F){(null==F?void 0x0:F['length'])&&F['length']===this['playerContentList']['length']&&F['forEach']((G,H)=>{const I=this['playerContentList'][H];if(I['data']['id']===G['id'])try{I['setData'](G),I['render'](),I['load'](),I['play']();}catch(J){}});}['attributeChangedCallback'](F,G,H){}['setContent'](F){this['playerContentList']=[];for(const G of this['contentList'])G['remove']();F['forEach'](H=>{H['pages']['forEach'](I=>I['requestFrameCallback']=this['renderPlayerBackground']['bind'](this));}),this['contentList']=[...F],this['contentList']['forEach']((H,I)=>{H['onNextStory']=J=>{H['navigationType']=J,H['navigationDirection']='Forwards',this['navigateContent']('NEXT');},H['onPrevStory']=J=>{H['navigationType']=J,H['navigationDirection']='Backwards',this['navigateContent']('PREV');},H['onClose']=()=>{H['exitTrigger']='Close\x20Button',H['navigationType']='',H['navigationDirection']='',this['close']();},H['setContentExtraInfo'](this['getContentExtraInfo'](this['contentList'],I));}),F['forEach'](H=>H['refWidget']=this['contentList']);}['navigateContent'](F){var G,H;if(this['isNavigationBlocked'])return;let I;switch(F){case'PREV':I=this['index']-0x1;break;case'NEXT':I=this['index']+0x1;break;default:return;}const J=this['playerContentList'][this['index']];if(I<0x0||I===this['playerContentList']['length'])return void('PREV'===F?(J['resetPosition'](),J['play']()):'NEXT'===F&&(J['exitTrigger']='Stories\x20Completed',null===(G=J['refContentModal'])||void 0x0===G||G['dispatchExitStoryEvents'](),this['close']()));this['isNavigationBlocked']=!0x0,A['VideoPlayerService']['isNavigating']=!0x1;const K=this['playerContentList'][I];x['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==K?void 0x0:K['data']['id'],'isAd':null==K?void 0x0:K['data']['isAd']}),null==K||K['updatePlayerButtonIcons'](),this['blockInteractionWithUserInterface'](),null===(H=this['animateContent'](F))||void 0x0===H||H['play'](),A['VideoPlayerService']['isNavigating']=!0x1,this['cancelFocus'](),this['scheduleAccessibilityConfig'](K);}['onFocus'](){this['resetPosition']();}['handleMoveSwipe'](F){var G,H,I,J,K,L,M,N,O;const P=this['contentList']['findIndex'](Q=>{var R;return Q['id']===(null===(R=this['playerContentList'][this['index']])||void 0x0===R?void 0x0:R['id']);});if(!(null===(G=this['playerContentList'][this['index']])||void 0x0===G?void 0x0:G['currentPage']['isCurrentlyTryingToRunImaAd'])&&P>-0x1){const Q=F['distance']/((null===window||void 0x0===window?void 0x0:window['screen']['width'])/0.75)*this['_animationDuration'];switch(F['offsetDirection']){case this['directionForwards']:if('SingleContent'===A['VideoPlayerService']['playReference'])return void(A['ConfigService']['autoAdvanceUrl']&&!x['URLManager']['isAutoAdvancingEnabled']&&(x['URLManager']['isAutoAdvancingEnabled']=!0x0,this['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>x['URLManager']['navigateTo']('AUTO_ADVANCE')})));if(P===this['contentList']['length']-0x1)return void(Math['abs'](F['deltaX'])>=0x32&&this['animateCloseWithDirection']({'direction':'VerticalForwards'}));null===(H=this['playerContentList'][this['playerContentList']['length']-0x1])||void 0x0===H||H['load'](),null===(I=this['currentNextAnimation'])||void 0x0===I||I['seek'](Q);break;case this['directionBackwards']:if('SingleContent'===A['VideoPlayerService']['playReference'])return;if(0x0===P)return void(Math['abs'](F['deltaX'])>=0x32&&this['animateCloseWithDirection']({'direction':'HorizontalBackwards'}));null===(J=this['playerContentList'][0x0])||void 0x0===J||J['load'](),null===(K=this['currentPrevAnimation'])||void 0x0===K||K['seek'](Q);break;case Hammer['DIRECTION_UP']:if(Math['abs'](F['deltaY'])>=0xf){const R=this['playerContentList'][this['index']];if(R['isCtaWasClickedOrSwiped'])return;if(R['currentPage']['isAd'])return;const S='none'!==R['ctaButtonElement']['style']['display'],T=null===(M=null===(L=R['currentPage']['data']['cta'])||void 0x0===L?void 0x0:L['enhancements'])||void 0x0===M?void 0x0:M['hasSwipeUp'],U=R['currentPage']instanceof w['BlazeWidgetVideo'],V=R['currentPage']instanceof w['BlazeWidgetAd'];if(U&&S&&T){R['isCtaWasClickedOrSwiped']=!0x0;const W=new Event('swipeup');R['handleCtaAction'](W,'Swipe\x20Up');}else V&&(R['isCtaWasClickedOrSwiped']=!0x0,R['currentPage']['handleCtaSwipeUp'](),(0x0,C['delay'])(z['ONE_SECOND'])['then'](()=>R['isCtaWasClickedOrSwiped']=!0x1));}return;default:null===(N=this['currentNextAnimation'])||void 0x0===N||N['seek'](0x0),null===(O=this['currentPrevAnimation'])||void 0x0===O||O['seek'](0x0);}}}['handleEndSwipe'](F){var G;const H=this['playerContentList'][this['index']+0x1],I=this['playerContentList'][this['index']-0x1],J=this['contentList']['findIndex'](K=>{var L;return K['id']===(null===(L=this['playerContentList'][this['index']])||void 0x0===L?void 0x0:L['id']);});if(!(null===(G=this['playerContentList'][this['index']])||void 0x0===G?void 0x0:G['currentPage']['isCurrentlyTryingToRunImaAd']))switch(F['offsetDirection']){case this['directionForwards']:if(J===this['contentList']['length']-0x1)return;this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['playerContentList'][this['index']]['navigationType']='Manual',this['processAnimation'](F,H,this['currentNextAnimation']),x['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==H?void 0x0:H['data']['id'],'isAd':null==H?void 0x0:H['data']['isAd']});break;case this['directionBackwards']:this['playerContentList'][this['index']]['exitTrigger']='Swipe',this['playerContentList'][this['index']]['navigationType']='Manual',this['processAnimation'](F,I,this['currentPrevAnimation']),x['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==I?void 0x0:I['data']['id'],'isAd':null==I?void 0x0:I['data']['isAd']});break;case Hammer['DIRECTION_DOWN']:if('mobile'===x['deviceDetector']['platform']&&F['deltaY']>0x1e&&Math['abs'](F['deltaX'])<=0x46){if('SingleContent'===A['VideoPlayerService']['playReference'])return;this['playerContentList'][this['index']]['exitTrigger']='Swipe\x20Down',this['animateCloseWithDirection']({'direction':'VerticalForwards'});}return;case Hammer['DIRECTION_UP']:return;default:this['reverseAnimation'](F);}}['handlePrevDirection'](){const F=this['playerContentList'][0x0],G=this['contentList'][this['contentList']['indexOf'](F)-0x1];G&&!this['container']['contains'](G)&&(G['updatePlayerButtonIcons'](),G['updateCTAButtonPosition'](),G['currentPage']['loadPoster'](),this['container']['prepend'](G),this['playerContentList']['splice'](0x0,0x0,G),this['index']+=0x1);}['handleNextDirection'](){const F=this['contentList'][this['contentList']['indexOf'](this['playerContentList'][this['playerContentList']['length']-0x1])+0x1];F&&!this['container']['contains'](F)&&(F['updatePlayerButtonIcons'](),F['updateCTAButtonPosition'](),F['currentPage']['loadPoster'](),this['container']['append'](F),this['playerContentList']['push'](F));}['resetStyles'](){this['style']['background']='#000',this['style']['transform']='translate(0,\x200)',this['style']['opacity']='',this['container']['style']['opacity']='';}['play'](F){var G,H,I;const J=this['playerContentList'][this['index']];if(F&&!isNaN(null!==(G=null==F?void 0x0:F['pageIndex'])&&void 0x0!==G?G:0x0)&&(J['pageIndex']=null!==(H=null==F?void 0x0:F['pageIndex'])&&void 0x0!==H?H:0x0),x['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==J?void 0x0:J['data']['id'],'isAd':null==J?void 0x0:J['data']['isAd']}),J){J['load']();const K=J['shouldShowImaAdOnStart'];J['shouldShowImaAdOnStart']=!0x1,J['play'](),J['shouldShowImaAdOnStart']=K,this['playerContentList']['forEach'](L=>{J['data']['id']!==L['data']['id']&&(L['displayCurrentStoryPageAndHideTheRest'](),L['updateCTAButtonPosition']());}),setTimeout(()=>{var L;switch(A['ConfigService']['prefetchingPolicy']){case'low':null===(L=this['playerContentList'][this['playerContentList']['length']-0x1])||void 0x0===L||L['load']();break;case'default':this['playerContentList']['forEach'](M=>{J['data']['id']!==M['data']['id']&&M['load']();});}},0x3*z['ONE_SECOND']),this['manageElementsAccessible'](null===(I=null==J?void 0x0:J['data'])||void 0x0===I?void 0x0:I['id']);}}['loadAndPlayContent'](){return m(this,void 0x0,void 0x0,function*(){var F;this['isNavigationBlocked']=!0x0,this['videoPlayerState']['isPlaying']=!0x0;const G=this['playerContentList'][this['index']];G&&(yield G['load']('direct'),G['play'](),this['playerContentList']['forEach'](H=>{H['data']['id']!==G['data']['id']&&(H['isActive']=!0x1);}),G['isActive']=!0x0,this['isNavigationBlocked']=!0x1,A['VideoPlayerService']['isNavigating']=!0x1,this['videoPlayerState']['isPlaying']=!0x0,this['manageElementsAccessible'](null===(F=G['data'])||void 0x0===F?void 0x0:F['id']));});}['handleAnimationCompletion'](F,G){var H,I;F&&(F['navigationDirection']='NEXT'===G?'Forwards':'Backwards',F['event'](z['StoryAction']['PageExit'],{}),F['event'](z['StoryAction']['Exit'],{}),F['isActive']=!0x1,F['updateWidgetStatusReadUnread'](),F['currentPage']['muted']=this['videoPlayerState']['isMuted'],F['pause']()),null===(H=this['onContentChange'])||void 0x0===H||H['call'](this,G),this['index']+='NEXT'===G?0x1:-0x1,this['handleAnimationEnd'](G),F['currentPage']['endExit']();const J=this['playerContentList'][this['index']];J&&y['contentAccessibilityManager']['announceNavigation'](this['calculateTruePosition'](J),this['contentList']['length'],'story-list',null===(I=J['data'])||void 0x0===I?void 0x0:I['title'],{'trigger':'navigation','navigationType':J['navigationType'],'previousPosition':this['calculateTruePosition'](this['playerContentList'][0x0===this['index']?0x0:this['index']-0x1])});}['createAnimation'](F,G,H){const I=this['playerContentList'][H],J=this['offsetWidth']*('RTL'===A['ConfigService']['layoutDirection']?-0x1:0x1);return q['default']['timeline']({'complete':()=>{A['VideoPlayerService']['isModalOpen']&&this['handleAnimationCompletion'](F,G);},'changeBegin':()=>{this['handleAnimationStart'](F,I);},'easing':'easeOutQuad','autoplay':!0x1})['add']({'targets':[this['container']],'keyframes':[{'translateX':-this['index']*J,'duration':0x0},{'translateX':-H*J,'duration':this['_animationDuration']}]},0x0)['add']({'targets':[F],'keyframes':[{'scale':0.8,'duration':0.15*this['_animationDuration']},{'scale':0x1,'duration':0.85*this['_animationDuration'],'delay':0.15*this['_animationDuration']},{'transform':'translate(calc('+J+'px\x20-\x20100%),\x200)'}]},0x0)['add']({'targets':[I],'keyframes':[{'scale':0.8,'duration':0.15*this['_animationDuration']},{'scale':0x1,'duration':0.85*this['_animationDuration'],'delay':0.15*this['_animationDuration']},{'transform':'translate(calc('+J+'px\x20-\x20100%),\x200)'}]},0x0);}['handleAnimationStart'](F,G){var H,I;G['currentPage']['loadPoster'](),G['updatePublishedDate'](),G['updatePlayerButtonIcons'](),null==F||F['pause'](),F['currentPage']['muted']=this['videoPlayerState']['isMuted'],G['currentPage']['muted']=this['videoPlayerState']['isMuted'],(null===(H=F['shareModal'])||void 0x0===H?void 0x0:H['isOpen'])&&(null===(I=F['shareModal'])||void 0x0===I||I['close']()),G['currentPage']['startEnter']();}['animateCloseWithDirection'](F){const {direction:G,callback:H,exitTrigger:I='Swipe',navigationType:J='Manual'}=F;let K;switch(G){case'HorizontalForwards':case'VerticalForwards':K='Forwards';break;case'HorizontalBackwards':case'VerticalBackwards':K='Backwards';}if(this['isCloseAnimationStarted'])return;this['isCloseAnimationStarted']=!0x0;const L=q['default']['timeline']({'complete':()=>{this['isCloseAnimationStarted']=!0x1,this['close']();},'changeBegin':()=>{const M=this['playerContentList'][this['index']];M&&(M['pause'](),M['currentPage']['muted']=this['videoPlayerState']['isMuted']),M['exitTrigger']=I,M['navigationType']=J,M['navigationDirection']=K,M['event'](z['StoryAction']['Exit'],{}),M['event'](z['StoryAction']['PageExit'],{}),A['AnalyticsService']['sendAnalyticsData']();},'easing':'easeOutQuad'});L['add'](Object['assign'](Object['assign'](Object['assign'](Object['assign']({'targets':[this['container']]},'HorizontalBackwards'===G&&{'translateX':'RTL'===A['ConfigService']['layoutDirection']?'-100%':'100%'}),A['ConfigService']['shouldAutoAdvance']&&'SingleContent'===A['VideoPlayerService']['playReference']&&'HorizontalForwards'===G&&{'translateX':'-100%'}),'VerticalForwards'===G&&{'translateY':'100%'}),{'opacity':0x0,'duration':0x1f4})),this['resetPosition'](),this['style']['background']='',L['play'](),L['finished']['then'](()=>{null==H||H();});}['handleNavigationKeyPress'](F){const G=this['playerContentList'][this['index']],H='SingleContent'===A['VideoPlayerService']['playReference'],I=G['isLastPage']();if(!H||!I)return A['VideoPlayerService']['isNavigating']=!0x1,!!this['focus']&&('ArrowLeft'==F['key']||'Left'==F['key']?(this['videoPlayerState']['isPlaying']=!0x0,'RTL'===A['ConfigService']['layoutDirection']?G['goNextPage']():G['goPrevPage']()):'ArrowRight'!=F['key']&&'Right'!=F['key']||(this['videoPlayerState']['isPlaying']=!0x0,'RTL'===A['ConfigService']['layoutDirection']?G['goPrevPage']():G['goNextPage']()),!0x1);A['ConfigService']['shouldAutoAdvance']&&(this['renderPlayerBackground'](!0x0),this['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>x['URLManager']['navigateTo']('AUTO_ADVANCE')}));}['render'](){const F=this['getBoundingClientRect']()['width'];this['container']['style']['gridTemplateColumns']='repeat(10,\x20'+F+'px)',this['container']['style']['transform']='';}['loadContentBatch'](){}['playToggleCurrentStory'](){this['playerContentList'][this['index']]['playToggle']();}['manageElementsAccessible'](F){this['playerContentList']&&0x0!==this['playerContentList']['length']&&F&&this['playerContentList']['forEach'](G=>{var H;const I=G;(null===(H=I['data'])||void 0x0===H?void 0x0:H['id'])===F?I['enableAllButtons']():I['disableAllButtons']();});}['calculateTruePosition'](F){const G=this['contentList']['findIndex'](H=>H['data']['id']===F['data']['id']);return G>=0x0?G+0x1:this['index']+0x1;}['configurePlayerContentAccessibility'](){this['playerContentList']['forEach']((F,G)=>{F instanceof w['BlazeWidgetStory']&&(G===this['index']?this['setCurrentStoryAccessibility'](F,G):this['setInactiveStoryAccessibility'](F));});}['setCurrentStoryAccessibility'](F,G){var H;F['setAttribute']('tabindex',z['ACCESSIBILITY_ATTRIBUTES']['ACTIVE_TABINDEX']),F['setAttribute']('aria-hidden',z['ACCESSIBILITY_ATTRIBUTES']['ARIA_HIDDEN_FALSE']),F['setAttribute']('role',z['ACCESSIBILITY_ATTRIBUTES']['REGION_ROLE']);const I=((null===(H=F['data'])||void 0x0===H?void 0x0:H['title'])||'Story\x20'+(G+0x1))+',\x20story\x20'+this['calculateTruePosition'](F)+'\x20of\x20'+this['contentList']['length'];F['setAttribute']('aria-label',I),this['scheduleFocus'](F),setTimeout(()=>{F['setAttribute']('aria-label','');},z['ACCESSIBILITY_TIMING']['LABEL_CLEAR_DELAY']);}['setInactiveStoryAccessibility'](F){F['setAttribute']('tabindex',z['ACCESSIBILITY_ATTRIBUTES']['INACTIVE_TABINDEX']),F['setAttribute']('aria-hidden',z['ACCESSIBILITY_ATTRIBUTES']['ARIA_HIDDEN_TRUE']),F['setAttribute']('aria-label',''),F['hasAttribute']('role')||F['setAttribute']('role',z['ACCESSIBILITY_ATTRIBUTES']['REGION_ROLE']);}['scheduleAccessibilityConfig'](F){this['cancelAccessibilityConfig'](),this['accessibilityConfigTimeout']=setTimeout(()=>{var G,H,I;this['manageElementsAccessible'](null===(G=null==F?void 0x0:F['data'])||void 0x0===G?void 0x0:G['id']),this['configurePlayerContentAccessibility'](),null===(I=null===(H=null==F?void 0x0:F['refContentModal'])||void 0x0===H?void 0x0:H['updateContentAriaLabelForNavigation'])||void 0x0===I||I['call'](H),this['accessibilityConfigTimeout']=null;},z['ACCESSIBILITY_TIMING']['CONFIG_SCHEDULE_DELAY']);}['cancelAccessibilityConfig'](){this['accessibilityConfigTimeout']&&(clearTimeout(this['accessibilityConfigTimeout']),this['accessibilityConfigTimeout']=null);}['scheduleFocus'](F){this['cancelFocus'](),this['focusTimeout']=setTimeout(()=>{F['focus'](),this['focusTimeout']=null;},z['ACCESSIBILITY_TIMING']['FOCUS_DELAY']);}['cancelFocus'](){this['focusTimeout']&&(clearTimeout(this['focusTimeout']),this['focusTimeout']=null);}}j['BlazeWidgetStoryPlayer']=E;},0x1d19:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ANNOUNCEMENT_CONSTANTS']=void 0x0,f['ANNOUNCEMENT_CONSTANTS']={'LIVE_REGIONS':{'POLITE_ID':'blaze-aria-live-polite','ASSERTIVE_ID':'blaze-aria-live-assertive','STYLES':{'POSITION':'absolute','LEFT':'-10000px','WIDTH':'1px','HEIGHT':'1px','OVERFLOW':'hidden'}},'ATTRIBUTES':{'ARIA_LIVE':'aria-live','ARIA_ATOMIC':'aria-atomic','ATOMIC_VALUE':'true'},'TIMING':{'REGION_SETUP_DELAY':0xa}};},0x1d1c:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoCacheService']=void 0x0;const j=g(0x1133),k=g(0x23b6);class l extends(0x0,j['Singleton'])(){constructor(){super(),this['cache']=null,this['cacheName']='blaze-video-cache',this['downloadControllers']=new Map(),this['cacheList']=new Map(),this['cacheInitialized']=!0x1,this['cacheSupported']=!0x1,this['sizeLimit']=0x15e00000,this['cacheSupported']=this['isCacheSupported']();}['isCacheSupported'](){return'undefined'!=typeof caches&&'open'in caches;}['init'](){return h(this,void 0x0,void 0x0,function*(){this['cacheSupported']&&this['retryCacheInitialization'](0x3);});}['retryCacheInitialization'](m){return h(this,void 0x0,void 0x0,function*(){for(;m>0x0;)try{return this['cache']=yield caches['open'](this['cacheName']),yield this['clearAllCache'](),this['cacheInitialized']=!0x0,void this['checkCacheSize']();}catch(p){--m>0x0&&(yield new Promise(q=>setTimeout(q,k['ONE_SECOND'])));}});}['checkCacheSize'](){return h(this,void 0x0,void 0x0,function*(){if('storage'in navigator&&'estimate'in navigator['storage']){const {usage:m,quota:p}=yield navigator['storage']['estimate']();if(m&&p&&m/0x100000>this['sizeLimit']){let q='',r=new Date();this['cacheList']['forEach']((u,v)=>{u<r&&(r=u,q=v);}),this['deleteCacheVideoByUrl'](q);}}});}['isVideoDownloading'](m){return this['downloadControllers']['has'](m);}['isInitialized'](){return this['cacheInitialized'];}['fetchAndCache'](m){return h(this,void 0x0,void 0x0,function*(){if(this['cacheInitialized']&&this['cache'])try{const {abort:p,ready:q,signal:r}=yield function(w,x){return h(this,void 0x0,void 0x0,function*(){const y=new AbortController(),z=y['signal'],A=()=>y['abort']();try{return{'abort':A,'ready':yield fetch(w,Object['assign'](Object['assign']({},x),{'signal':z})),'signal':z};}catch(B){throw B;}});}(m,{'mode':'no-cors','priority':'high'});this['downloadControllers']['set'](m,{'abort':p,'ready':q,'signal':r});const u=yield q;if(r['aborted'])return u;const v=u['clone']();return yield this['cacheResponse'](m,v),v;}catch(w){}finally{this['downloadControllers']['delete'](m);}});}['cacheResponse'](m,p){return h(this,void 0x0,void 0x0,function*(){if(this['cache'])try{this['cacheList']['set'](m,new Date()),yield this['cache']['put'](m,p);}catch(q){}finally{this['checkCacheSize']();}});}['addCacheVideoByUrl'](m){return h(this,void 0x0,void 0x0,function*(){if(this['cacheInitialized']&&this['cache'])try{return(yield this['cache']['match'](m))||(yield this['fetchAndCache'](m));}catch(p){return;}});}['isVideoCached'](m){return h(this,void 0x0,void 0x0,function*(){if(!this['cacheInitialized']||!this['cache'])return!0x1;try{return!!(yield this['cache']['match'](m));}catch(p){return!0x1;}});}['abortDownload'](m){return h(this,void 0x0,void 0x0,function*(){const p=this['downloadControllers']['get'](m);p&&(p['abort'](),this['downloadControllers']['delete'](m));});}['deleteCacheVideoByUrl'](m){return h(this,void 0x0,void 0x0,function*(){return!!this['cache']&&(yield this['cache']['delete'](m)['then'](()=>!0x0)['catch'](p=>!0x1));});}['clearAllCache'](){return h(this,void 0x0,void 0x0,function*(){if(this['cache'])try{const m=(yield this['cache']['keys']())['map'](p=>this['deleteCacheVideoByUrl'](p['url']));yield Promise['all'](m);}catch(p){}});}['downloadAndCacheVideo'](m){return h(this,void 0x0,void 0x0,function*(){this['cacheInitialized']&&this['cache']&&(this['downloadControllers']['has'](m)||(yield this['addCacheVideoByUrl'](m)));});}['deleteVideoFromCache'](m){return h(this,void 0x0,void 0x0,function*(){this['cacheInitialized']&&this['cache']&&(this['abortDownload'](m),(yield this['isVideoCached'](m))&&(yield this['deleteCacheVideoByUrl'](m)));});}}f['VideoCacheService']=l['getInstance']();},0x1d2f:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(z,A,B,C){return new(B||(B=Promise))(function(D,E){function F(I){try{H(C['next'](I));}catch(J){E(J);}}function G(I){try{H(C['throw'](I));}catch(J){E(J);}}function H(I){var J;I['done']?D(I['value']):(J=I['value'],J instanceof B?J:new B(function(K){K(J);}))['then'](F,G);}H((C=C['apply'](z,A||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetClosedCaptionsModal']=void 0x0;const m=j(0x1133),p=j(0x1699),q=j(0x1932),u=j(0x22d9),v=j(0x115),w=j(0x132a),x=j(0x2432);class y extends m['BaseWidget']{constructor(z,A){super(),this['data']=z,this['contentType']=A,this['closedCaptionsContainer']=u['WidgetsFactory']['create']('blaze-div'),this['closedCaptionsMenu']=u['WidgetsFactory']['create']('blaze-player-menu'),this['shadow']=this['attachShadow']({'mode':'open'});}['connectedCallback'](){return k(this,void 0x0,void 0x0,function*(){this['boundLanguageChangeEvent']=this['onLanguageChange']['bind'](this),this['boundOnMenuOpen']=this['onMenuOpen']['bind'](this),this['boundOnMenuClose']=this['onMenuClose']['bind'](this),this['boundOnMenuExpand']=this['onMenuExpand']['bind'](this),this['boundOnMenuCollapse']=this['onMenuCollapse']['bind'](this),this['setupEventListeners'](),this['render']();});}['disconnectedCallback'](){this['detachEventListeners']();}['setupEventListeners'](){this['addEventListener'](p['PLAYER_MENU_EVENTS']['OPEN'],this['boundOnMenuOpen']),this['addEventListener'](p['PLAYER_MENU_EVENTS']['CLOSE'],this['boundOnMenuClose']),this['addEventListener'](p['PLAYER_MENU_EVENTS']['EXPAND'],this['boundOnMenuExpand'],!0x0),this['addEventListener'](p['PLAYER_MENU_EVENTS']['COLLAPSE'],this['boundOnMenuCollapse'],!0x0),x['SharedEventTarget']['addEventListener'](q['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundLanguageChangeEvent']);}['detachEventListeners'](){this['removeEventListener'](p['PLAYER_MENU_EVENTS']['OPEN'],this['boundOnMenuOpen']),this['removeEventListener'](p['PLAYER_MENU_EVENTS']['CLOSE'],this['boundOnMenuClose']),this['removeEventListener'](p['PLAYER_MENU_EVENTS']['EXPAND'],this['boundOnMenuExpand']),this['removeEventListener'](p['PLAYER_MENU_EVENTS']['COLLAPSE'],this['boundOnMenuCollapse']),x['SharedEventTarget']['removeEventListener'](q['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundLanguageChangeEvent']);}['onLanguageChange'](){this['closedCaptionsContainer']['innerHTML']='',this['fillContainerWithOptions']();}['onMenuOpen'](){var z;null===(z=this['onOpen'])||void 0x0===z||z['call'](this);}['onMenuClose'](){var z;null===(z=this['onClose'])||void 0x0===z||z['call'](this),(0x0,x['mergeStyles'])(this['closedCaptionsContainer'],{'height':'fit-content','maxHeight':0x3*(m['deviceDetector']['isMobile']?0x4a:0x38)+'px'});}['onMenuExpand'](){(0x0,x['mergeStyles'])(this['closedCaptionsContainer'],{'maxHeight':'initial'});}['onMenuCollapse'](){(0x0,x['mergeStyles'])(this['closedCaptionsContainer'],{'height':'fit-content','maxHeight':0x3*(m['deviceDetector']['isMobile']?0x4a:0x38)+'px'});}['open'](){this['isOpen']()||this['closedCaptionsMenu']['open']();}['close'](){this['isOpen']()&&this['closedCaptionsMenu']['close']();}['isOpen'](){return!0x0===this['closedCaptionsMenu']['getAttribute'](p['PLAYER_MENU_ATTRIBUTES']['OPEN']);}['reloadData'](z){this['data']=z,this['closedCaptionsContainer']['innerHTML']='',this['fillContainerWithOptions']();}['handleCcOptionClick'](z,A,B){var C,D;if(this['closedCaptionsContainer']['querySelectorAll']('.selected')['forEach'](E=>{E['classList']['remove']('selected');}),A['classList']['add']('selected'),B){const E=JSON['parse'](localStorage['getItem'](q['LOCAL_STORAGE_KEY_RECENT_LANGUAGES'])||'[]'),F=E['findIndex'](G=>G===B['code']);-0x1!==F&&E['splice'](F,0x1),E['unshift'](B['code']),localStorage['setItem'](q['LOCAL_STORAGE_KEY_RECENT_LANGUAGES'],JSON['stringify'](E['slice'](0x0,0x1))),localStorage['setItem'](q['LOCAL_STORAGE_KEY_LAST_SELECTED'],B['code']||'null');}else localStorage['removeItem'](q['LOCAL_STORAGE_KEY_LAST_SELECTED']);x['SharedEventTarget']['dispatchEvent'](new CustomEvent(q['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],{'detail':{'language':null==B?void 0x0:B['code']},'bubbles':!0x0,'composed':!0x0})),B?null===(C=this['onClosedCaptionsEnable'])||void 0x0===C||C['call'](this,B['code']):null===(D=this['onClosedCaptionsDisable'])||void 0x0===D||D['call'](this),this['close']();}['buildCcOption'](z,A){const B=u['WidgetsFactory']['create']('blaze-div'),C=u['WidgetsFactory']['create']('blaze-div'),D=u['WidgetsFactory']['create']('blaze-div'),E=u['WidgetsFactory']['create']('blaze-image'),F=u['WidgetsFactory']['create']('blaze-div'),G=(null==z?void 0x0:z['name'])||'Off';if(B['setAttribute']('role','menuitemradio'),B['setAttribute']('aria-checked',(null==A?void 0x0:A['isSelected'])?'true':'false'),B['setAttribute']('aria-label',(null==A?void 0x0:A['isNotAvailable'])?G+',\x20not\x20available':G),(null==A?void 0x0:A['isNotAvailable'])?B['setAttribute']('aria-disabled','true'):B['setAttribute']('tabindex','0'),C['setStyle']({'display':'flex','flexDirection':'row','alignItems':'center','gap':'8px','flex':'1','overflow':'hidden'}),z&&'null'!==z['code']){const H=u['WidgetsFactory']['create']('blaze-div');H['classList']['add']('country-code'),H['setStyle']({'backgroundColor':'#bababa','borderRadius':'2px','fontFamily':w['Presets']['playerFont'],'fontSize':m['TextScaleService']['scaleFontSize']('10px'),'fontWeight':'900','color':'#333333','lettersSpacing':'1px','display':'flex','alignItems':'center','justifyContent':'center','height':'16px','width':'23px'}),H['innerText']=z['code']['toUpperCase'](),C['append'](H);}if(C['append'](F),D['setStyle']({'display':'flex','flexDirection':'row','alignItems':'center','gap':'16px','flexShrink':'0'}),null==A?void 0x0:A['isNotAvailable']){const I=u['WidgetsFactory']['create']('blaze-typography');I['innerText']='Not\x20available',B['classList']['add']('not-available'),D['append'](I);}return D['append'](E),E['classList']['add']('check-mark'),E['load'](v['checkMarkSvg']),F['setStyle']({'whiteSpace':'nowrap','overflow':'hidden','textOverflow':'ellipsis','flex':'1'}),F['innerText']=G,B['classList']['add']('cc-option'),(null==A?void 0x0:A['isSelected'])&&B['classList']['add']('selected'),B['setStyle']({'display':'flex','flexDirection':'row','justifyContent':'space-between','height':(m['deviceDetector']['isMobile']?0x4a:0x38)+'px','padding':'0\x2016px','gap':'18px','alignItems':'center','color':w['Colors']['White'],'flexShrink':'0','flexGrow':'0','borderTop':(null==A?void 0x0:A['isFirstRecentlySelected'])?'1px\x20solid\x20#404040':'none','borderBottom':(null==A?void 0x0:A['isLastRecentlySelected'])?'1px\x20solid\x20#404040':'none','cursor':(null==A?void 0x0:A['isNotAvailable'])?'not-allowed':'pointer','outline':'none'}),B['append'](C),B['append'](D),(null==A?void 0x0:A['isNotAvailable'])||(B['onclick']=J=>this['handleCcOptionClick'](J,B,z),B['onkeydown']=J=>{'Enter'!==J['key']&&'\x20'!==J['key']||(J['preventDefault'](),this['handleCcOptionClick'](J,B,z));}),B;}['fillContainerWithOptions'](){const z=localStorage['getItem'](q['LOCAL_STORAGE_KEY_LAST_SELECTED']),A=JSON['parse'](localStorage['getItem'](q['LOCAL_STORAGE_KEY_RECENT_LANGUAGES'])||'[]'),B=q['CcSupportedLanguages']['filter'](D=>{var E;return(null===(E=this['data'])||void 0x0===E?void 0x0:E['find'](F=>''+F['language']===D['code']))&&!A['find'](F=>F===D['code']);}),C=A['map'](D=>q['CcSupportedLanguages']['find'](E=>E['code']===D));this['closedCaptionsContainer']['innerHTML']='',this['closedCaptionsContainer']['append'](this['buildCcOption'](null,{'isSelected':!z})),C['forEach']((D,E)=>{var F;const G={'isFirstRecentlySelected':0x0===E,'isLastRecentlySelected':E===C['length']-0x1&&!!B['length'],'isNotAvailable':!(null===(F=this['data'])||void 0x0===F?void 0x0:F['find'](I=>''+I['language']===D['code'])),'isSelected':z===D['code']},H=this['buildCcOption'](D,G);this['closedCaptionsContainer']['append'](H);}),B['forEach'](D=>{const E=this['buildCcOption'](D);this['closedCaptionsContainer']['append'](E);}),this['closedCaptionsContainer']['setStyle']({'height':'fit-content'});}['render'](){const z=document['createElement']('style');z['textContent']='\x0a\x20\x20\x20\x20\x20\x20.cc-option\x20.check-mark\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.cc-option.selected\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20700;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.cc-option.not-available\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#5d5d5d\x20!important;\x0a\x20\x20\x20\x20\x20\x20}\x20\x0a\x0a\x20\x20\x20\x20\x20\x20.cc-option.not-available\x20.country-code\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#5d5d5d\x20!important;\x0a\x20\x20\x20\x20\x20\x20}\x20\x0a\x0a\x20\x20\x20\x20\x20\x20.cc-option.selected\x20.check-mark\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.cc-option:focus-visible\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20outline:\x202px\x20solid\x20#007AFF;\x0a\x20\x20\x20\x20\x20\x20\x20\x20outline-offset:\x20-2px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20rgba(255,\x20255,\x20255,\x200.1);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.cc-option:hover:not(.not-available)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20rgba(255,\x20255,\x20255,\x200.05);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['shadow']['append'](z),this['shadow']['append'](this['closedCaptionsMenu']),this['closedCaptionsContainer']['setAttribute']('role','menu'),this['closedCaptionsContainer']['setAttribute']('aria-label','Closed\x20captions\x20language\x20options'),this['closedCaptionsContainer']['setStyle']({'display':'flex','overflowY':'scroll','flexDirection':'column','fontSize':'.875rem','fontFamily':w['Presets']['playerFont'],'color':'#000','maxHeight':0x3*(m['deviceDetector']['isMobile']?0x4a:0x38)+'px'}),this['fillContainerWithOptions'](),this['closedCaptionsMenu']['init']({'title':'Closed\x20captions','component':this['closedCaptionsContainer']}),'video'===this['contentType']&&m['deviceDetector']['isDesktop']&&(0x0,x['mergeStyles'])(this['closedCaptionsMenu']['menuContainer'],{'width':'320px','top':'auto','bottom':'80px','margin':'initial','right':'1rem','left':'initial','transform':'none'});}}g['BlazeWidgetClosedCaptionsModal']=y;},0x1d49:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1d59:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['UpcomingStreamLoader']=void 0x0;const j=g(0xb6d);class k extends j['BaseStreamLoader']{['load'](l){return h(this,void 0x0,void 0x0,function*(){const {video:m,data:p}=l;m['streamLayoutController']&&m['streamLayoutController']['applyLayout']('Upcoming');const q=p['poster']['rendition']['url'];m['setPoster'](q),m['finalizeLoad'](!0x0);});}}f['UpcomingStreamLoader']=k;},0x1d65:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['MomentModalTemplate']=void 0x0;const h=g(0x1529),j=g(0x26ed),k=g(0x11c1),l=g(0x23a6);class m extends h['BaseModalTemplate']{['createModal'](p,q,u){const v=new l['BlazeWidgetMomentModal'](p,q,u);return v['id']='blaze-moment-modal-'+Math['random']()['toString'](0x24),v['playerLayout']=q,v;}['configureModal'](p,q){var u;p['setModalContent'](q,0x0,void 0x0),p['seek'](null!==(u=q[0x0]['id'])&&void 0x0!==u?u:'');}['getService'](){return k['MomentService'];}['getErrorCode'](){return j['ErrorCode']['FailedLoadingMoments'];}}f['MomentModalTemplate']=m;},0x1d6e:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['thumbnailMapping']=function(h){return g[h];};const g={'SQUARE_ICON':'SquareIcon','VERTICAL_TWO_BY_THREE':'VerticalTwoByThree','GIF':'Gif','ANIMATED_THUMBNAIL_POSTER':'AnimatedThumbnailPoster','CUSTOM':'MainThumbnail'};},0x1d9b:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1dc9:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BasePlaybackStrategy']=void 0x0;const h=g(0x11c1);f['BasePlaybackStrategy']=class{constructor(){this['videoPlayerState']=h['VideoPlayerService'],this['playAttemptStartTime']=0x0;}['setContentMetadata'](j){this['contentId']=j['contentId'],this['contentTitle']=j['contentTitle'],this['contentType']=j['contentType'],this['sessionId']=j['sessionId'];}['dispatchPlaybackEvent'](j,k){var l,m;if('true'!==new URLSearchParams(window['location']['search'])['get']('wsc_e2e_testing_events'))return;const p={'eventType':'playback_'+j,'timestamp':Date['now'](),'contentId':this['contentId'],'contentTitle':this['contentTitle'],'contentType':this['contentType']||'video','videoState':{'readyState':this['video']['readyState'],'readyStateText':['HAVE_NOTHING','HAVE_METADATA','HAVE_CURRENT_DATA','HAVE_FUTURE_DATA','HAVE_ENOUGH_DATA'][this['video']['readyState']],'networkState':this['video']['networkState'],'networkStateText':['NETWORK_EMPTY','NETWORK_IDLE','NETWORK_LOADING','NETWORK_NO_SOURCE'][this['video']['networkState']],'paused':this['video']['paused'],'ended':this['video']['ended'],'currentTime':this['video']['currentTime'],'duration':this['video']['duration'],'src':this['video']['currentSrc']||this['video']['src'],'muted':this['video']['muted'],'volume':this['video']['volume']},'timing':{'timeToPlay':k['timeToPlay'],'timeToFail':k['timeToFail']},'status':null===(l=k['result'])||void 0x0===l?void 0x0:l['status'],'error':(null===(m=k['result'])||void 0x0===m?void 0x0:m['error'])||k['error'],'previousState':k['previousState'],'newState':k['newState'],'playerContext':{'sessionId':this['sessionId'],'globalState':{'isPlaying':this['videoPlayerState']['isPlaying'],'isMuted':this['videoPlayerState']['isMuted'],'playerLayout':this['videoPlayerState']['playerLayout']},'actualVideoState':{'muted':this['video']['muted'],'paused':this['video']['paused'],'playing':!this['video']['paused']&&!this['video']['ended']&&this['video']['readyState']>0x2},'stateMismatch':{'mutedMismatch':this['videoPlayerState']['isMuted']!==this['video']['muted'],'playingMismatch':this['videoPlayerState']['isPlaying']!==(!this['video']['paused']&&!this['video']['ended']&&this['video']['readyState']>0x2)}}};window['dispatchEvent'](new CustomEvent('blaze:playback_'+j,{'detail':p,'bubbles':!0x0,'composed':!0x0})),window['dispatchEvent'](new CustomEvent('blaze:video_lifecycle',{'detail':Object['assign'](Object['assign']({},p),{'lifecycleType':'playback_'+j}),'bubbles':!0x0,'composed':!0x0}));}};},0x1df4:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1e19:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['HttpStatus']=void 0x0,f['HttpStatus']={'Ok':0xc8,'Created':0xc9,'NoContent':0xcc,'BadRequest':0x190,'Unauthorized':0x191,'Forbidden':0x193,'NotFound':0x194,'InternalServerError':0x1f4};},0x1e1c:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['AppConfigurationService']=void 0x0;const j=g(0x11c1),k=g(0x1133),m=g(0x26ed),p=g(0x2432);class q extends(0x0,k['Singleton'])(){constructor(){super(),this['_refetchInterval']=null;}get['appConfigurations'](){return this['_appConfigurations'];}['init'](u){return h(this,void 0x0,void 0x0,function*(){var v,w,x,y,z;if(u['staticContent']||u['staticContentType'])return;let A=0x3,B=!0x1;for(;A>0x0&&!B;)try{const C=yield j['ApiService']['getAppConfigurations']();if(C['error']){if((null===(v=C['error']['message'])||void 0x0===v?void 0x0:v['includes']('JSON'))||(null===(w=C['error']['message'])||void 0x0===w?void 0x0:w['includes']('parse')))break;A--;const D=0x1f4*(0x3-A);yield(0x0,p['delay'])(D);continue;}B=!0x0,this['_appConfigurations']=C['data'],j['ApiService']['initializeAnalyticsUrlRotator'](null===(x=this['_appConfigurations'])||void 0x0===x?void 0x0:x['analyticsLoadBalancerConfiguration']),(null===(y=this['_appConfigurations'])||void 0x0===y?void 0x0:y['sdkLoggerConfigurations'])&&j['LoggerService']['updateConfiguration'](this['_appConfigurations']['sdkLoggerConfigurations']),(null===(z=this['_appConfigurations'])||void 0x0===z?void 0x0:z['configurations']['configRefetchIntervalInMinutes'])&&this['setupRefetchInterval'](u);}catch(E){if(A--,A>0x0){const F=0x1f4*(0x3-A);yield(0x0,p['delay'])(F);}}B||j['EventService']['dispatch'](document['body'],m['Delegation']['onErrorThrown'],{'errorCode':m['ErrorCode']['FailedLoadingAppConfigurations']});});}['setupRefetchInterval'](u){this['clearRefetchInterval']();const v=this['_appConfigurations']['configurations'];if(!v['configRefetchIntervalInMinutes'])return;const w=0x3c*v['configRefetchIntervalInMinutes']*0x3e8;this['_refetchInterval']=setInterval(()=>h(this,void 0x0,void 0x0,function*(){navigator['onLine']&&(yield this['init'](u));}),w);}['clearRefetchInterval'](){this['_refetchInterval']&&(clearInterval(this['_refetchInterval']),this['_refetchInterval']=null);}get['isHeartbeatEnabled'](){return!0x1;}get['heartbeatIntervalSeconds'](){var u,v;const w=null===(v=null===(u=this['_appConfigurations'])||void 0x0===u?void 0x0:u['configurations'])||void 0x0===v?void 0x0:v['videoHeartbeatIntervalSeconds'];return'number'==typeof w&&w>0x0?Math['max'](w,0xa):0x1e;}['destroy'](){this['clearRefetchInterval']();}}f['AppConfigurationService']=q['getInstance']();},0x1e68:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['debounce']=function(g,h){let j=null;function k(...l){j&&clearTimeout(j),j=setTimeout(()=>{g(...l);},h);}return k['cancel']=()=>{j&&(clearTimeout(j),j=null);},k;};},0x1e6a:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LongFormHlsStrategy']=f['ShortFormHLSStrategy']=f['HLS_CONFIGS']=f['BaseHLSStrategy']=void 0x0;var h=g(0x149b);Object['defineProperty'](f,'BaseHLSStrategy',{'enumerable':!0x0,'get':function(){return h['BaseHLSStrategy'];}}),Object['defineProperty'](f,'HLS_CONFIGS',{'enumerable':!0x0,'get':function(){return h['HLS_CONFIGS'];}});var j=g(0x228f);Object['defineProperty'](f,'ShortFormHLSStrategy',{'enumerable':!0x0,'get':function(){return j['ShortFormHLSStrategy'];}});var k=g(0x6e2);Object['defineProperty'](f,'LongFormHlsStrategy',{'enumerable':!0x0,'get':function(){return k['LongFormHlsStrategy'];}});},0x1e6b:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1e70:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(k,l,m,p){return new(m||(m=Promise))(function(q,u){function v(y){try{x(p['next'](y));}catch(z){u(z);}}function w(y){try{x(p['throw'](y));}catch(z){u(z);}}function x(y){var z;y['done']?q(y['value']):(z=y['value'],z instanceof m?z:new m(function(A){A(z);}))['then'](v,w);}x((p=p['apply'](k,l||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoTimePersistenceManager']=void 0x0;const j=g(0x11c1);f['VideoTimePersistenceManager']=class{constructor(k,l){this['video']=k,this['getDataId']=l,this['lastSavedTime']=0x0,this['shouldSaveAfterSeek']=!0x1;}['setLastSavedTime'](k){this['lastSavedTime']=k;}['save'](){return h(this,arguments,void 0x0,function*(k=!0x1){if(this['video']['currentTime']-this['lastSavedTime']>=0x5||k){this['lastSavedTime']=this['video']['currentTime'];try{const {currentTime:l,snapshotDataUrl:m}=yield this['snapshot']();if(!m)return;yield j['VideoService']['updateVideoDataById'](this['getDataId'](),{'posterCurrentTime':m,'currentTime':l});}catch(p){}}});}['snapshot'](){return h(this,void 0x0,void 0x0,function*(){if(!this['video']['videoWidth']||!this['video']['videoHeight'])return{'currentTime':0x0,'snapshotDataUrl':''};yield new Promise(q=>setTimeout(q,0x64));const k=document['createElement']('canvas');k['width']=this['video']['videoWidth'],k['height']=this['video']['videoHeight'];const l=k['getContext']('2d');let m='',p=0x0;return l&&(p=this['video']['currentTime'],l['drawImage'](this['video'],0x0,0x0,k['width'],k['height']),m=k['toDataURL']('image/webp')['startsWith']('data:image/webp')?k['toDataURL']('image/webp',0.5):k['toDataURL']('image/jpeg',0.5)),{'currentTime':p,'snapshotDataUrl':m};});}};},0x1eee:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeTimer']=void 0x0;const h=g(0x22d9),j=g(0x1133),k='00:00';class l extends HTMLElement{constructor(){super(),this['shadow']=this['attachShadow']({'mode':'open'}),this['currentTimeText']=h['WidgetsFactory']['create']('blaze-div'),this['totalTimeText']=h['WidgetsFactory']['create']('blaze-div'),this['totalTimeDivider']=h['WidgetsFactory']['create']('blaze-div'),this['isLiveMode']=!0x1,this['liveTimerState']='atLiveEdge',this['liveEdgePosition']=0x0,this['currentTime']=0x0;}['connectedCallback'](){this['attachStyles'](),this['createDOM']();}['disconnectedCallback'](){}set['hidden'](m){m?(this['classList']['add']('hidden'),this['style']['display']='none'):(this['style']['display']='flex',this['removeAttribute']('hidden'),this['classList']['remove']('hidden'));}['attachStyles'](){const m=j['TextScaleService']['getScale'](),p=0xc*m,q=0x16*m,r=document['createElement']('style');r['textContent']='\x0a\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20opacity\x200.5s\x20ease,\x20transform\x200.5s\x20ease;\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x20'+p+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20400;\x0a\x20\x20\x20\x20\x20\x20\x20\x20color:\x20#fff;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background:\x20rgba(0,\x200,\x200,\x200.34);\x0a\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x202;\x0a\x20\x20\x20\x20\x20\x20\x20\x20padding:\x205px\x2010px;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20:host([dir=\x22rtl\x22])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:\x20row-reverse;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20:host(.seeking-layout)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-self:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(0);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20:host(.player-layout)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-self:\x20flex-start;\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(0);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20:host([dir=\x22rtl\x22].player-layout)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:\x20row-reverse;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20:host(.hidden)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20translateY(-20px);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.time-text\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20auto;\x0a\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20white-space:\x20nowrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x20'+p+'px;\x20\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.current-time-text-seeking\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x20'+q+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20auto;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.current-time-text-player\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x20'+p+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20auto;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.divider\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x2010px;\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20white-space:\x20nowrap;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.hidden\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.visible\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20blaze-div\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['shadow']['appendChild'](r);}['createDOM'](){this['currentTimeText']['classList']['add']('time-text','current-time-text-player'),this['currentTimeText']['textContent']=k,this['totalTimeDivider']['classList']['add']('divider','visible'),this['totalTimeDivider']['textContent']='/',this['totalTimeText']['classList']['add']('time-text','current-time-text-player'),this['totalTimeText']['textContent']=k,this['shadow']['appendChild'](this['currentTimeText']),this['shadow']['appendChild'](this['totalTimeDivider']),this['shadow']['appendChild'](this['totalTimeText']),this['setLayout']('player');}['updateCurrentTime'](m){if(this['currentTime']=m,!this['isLiveMode']||'atLiveEdge'!==this['liveTimerState']){if(this['isLiveMode']&&'seeking'===this['liveTimerState']){const p=this['liveEdgePosition']-m;this['currentTimeText']['textContent']='-'+this['formatTime'](Math['abs'](p));}else this['currentTimeText']['textContent']=this['formatTime'](m);}}['updateTotalTime'](m){this['totalTimeText']['textContent']=this['formatTime'](m),this['isLiveMode']&&'atLiveEdge'===this['liveTimerState']?this['hidden']=!0x0:this['hidden']=!0x1;}['setLiveMode'](m){this['isLiveMode']=m,m?this['setLiveTimerState']('atLiveEdge'):this['hidden']=!0x1;}['setLiveTimerState'](m,p){if(this['isLiveMode'])switch(this['liveTimerState']=m,void 0x0!==p&&(this['liveEdgePosition']=p),m){case'atLiveEdge':this['hidden']=!0x0,this['applyPlayerLayout']();break;case'seeking':this['hidden']=!0x1,this['applySeekingLayout'](),this['updateCurrentTime'](this['currentTime']);break;case'playingBehind':this['hidden']=!0x0,this['applyPlayerLayout'](),this['updateCurrentTime'](this['currentTime']);}else this['hidden']=!0x1;}['resetTimer'](){this['hidden']=!0x0,this['isLiveMode']=!0x1,this['liveTimerState']='atLiveEdge',this['liveEdgePosition']=0x0,this['currentTime']=0x0,this['currentTimeText']['textContent']=k,this['totalTimeText']['textContent']=k;}['setLayout'](m){'seeking'===m?this['applySeekingLayout']():'player'===m&&this['applyPlayerLayout']();}['applySeekingLayout'](){this['totalTimeDivider']['classList']['add']('hidden'),this['totalTimeText']['classList']['add']('hidden'),this['totalTimeDivider']['classList']['remove']('visible'),this['totalTimeText']['classList']['remove']('visible'),this['classList']['add']('seeking-layout'),this['classList']['remove']('player-layout'),this['currentTimeText']['classList']['add']('current-time-text-seeking'),this['currentTimeText']['classList']['remove']('current-time-text-player');}['applyPlayerLayout'](){this['totalTimeDivider']['classList']['add']('visible'),this['totalTimeText']['classList']['add']('visible'),this['totalTimeDivider']['classList']['remove']('hidden'),this['totalTimeText']['classList']['remove']('hidden'),this['classList']['add']('player-layout'),this['classList']['remove']('seeking-layout'),this['currentTimeText']['classList']['add']('current-time-text-player'),this['currentTimeText']['classList']['remove']('current-time-text-seeking');}['formatTime'](m){const p=Math['floor'](m/0xe10),q=Math['floor'](m%0xe10/0x3c),r=Math['floor'](m%0x3c);return p>0x0?this['padZero'](p)+':'+this['padZero'](q)+':'+this['padZero'](r):this['padZero'](q)+':'+this['padZero'](r);}['padZero'](m){return m<0xa?'0'+m:''+m;}}f['BlazeTimer']=l;},0x1ef4:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(D,E,F,G){return new(F||(F=Promise))(function(H,I){function J(M){try{L(G['next'](M));}catch(N){I(N);}}function K(M){try{L(G['throw'](M));}catch(N){I(N);}}function L(M){var N;M['done']?H(M['value']):(N=M['value'],N instanceof F?N:new F(function(O){O(N);}))['then'](J,K);}L((G=G['apply'](D,E||[]))['next']());});},m=this&&this['__importDefault']||function(D){return D&&D['__esModule']?D:{'default':D};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['AnalyticsService']=void 0x0;const p=j(0x1c40),q=j(0x11c1),w=m(j(0x208a)),x=j(0x1133),y=j(0x1932),z=j(0x164),A=j(0x263),B=j(0x2432);class C extends(0x0,x['Singleton'])(){constructor(){super(...arguments),this['events']=[],this['eventSessionCounter']=0x1,this['mightBeABot']=!0x1,this['_isSending']=!0x1,this['sessionFiredWidgetIds']={[y['WidgetAction']['Load']]:new Set()};}get['batchIntervalMs'](){var D,E;const F=Number(null===(E=null===(D=q['AppConfigurationService']['appConfigurations'])||void 0x0===D?void 0x0:D['configurations'])||void 0x0===E?void 0x0:E['analyticsBatchIntervalInSeconds']);return 0x3e8*(F>0x0?F:C['DEFAULT_BATCH_INTERVAL_SECONDS']);}get['maxAllowedBatchSize'](){var D,E;const F=Number(null===(E=null===(D=q['AppConfigurationService']['appConfigurations'])||void 0x0===D?void 0x0:D['configurations'])||void 0x0===E?void 0x0:E['analyticsMaxAllowedBatchSize']);return F>0x0?F:C['DEFAULT_MAX_BATCH_SIZE'];}get['minAllowedBatchSize'](){var D,E;const F=Number(null===(E=null===(D=q['AppConfigurationService']['appConfigurations'])||void 0x0===D?void 0x0:D['configurations'])||void 0x0===E?void 0x0:E['analyticsMinAllowedBatchSize']);return F>0x0?F:C['DEFAULT_MIN_BATCH_SIZE'];}['init'](){return k(this,void 0x0,void 0x0,function*(){const D=new p['UAParser'](navigator['userAgent']);this['uaParsed']=D['getResult'](),this['mightBeABot']=(0x0,B['isBot'])(),q['ConfigService']['sendAnalytics']&&(setInterval(()=>{this['sendBatch']();},this['batchIntervalMs']),document['addEventListener']('visibilitychange',()=>{document['hidden']&&this['sendAnalyticsData']();}));});}['dispatchDomAnalyticsEvents'](D){D['forEach'](E=>{var F;let G=null!==(F=E['event_action'])&&void 0x0!==F?F:'Unknown\x20Action',H=!0x1;['cta_click','audio','cc_off','cc_on','share','share_click','share_success','like','unlike','playback_pause','playback_play','playback_initial_start','follow','unfollow']['includes'](G)&&('moment'===E['event_category']&&E['moment']?(G='$'+G,H=!0x0):'video'===E['event_category']&&E['video']&&(G='#'+G,H=!0x0));const I=y['exposedFieldsByAction'][G];H&&(G=G['substring'](0x1));const J={},K=(0x0,z['flattenObject'])(E);if(I){for(const L of I)K['hasOwnProperty'](L)&&(J[L]=K[L]);}q['EventService']['dispatchAnaltyicsEvents'](G,J);});}['sendBatch'](){return k(this,void 0x0,void 0x0,function*(){if(this['_isSending'])return;if(!q['UserService']['userId'])return void q['UserService']['assignUserId']();if(!q['UserService']['sessionId']||!this['events']['length'])return;if(this['events']['length']<this['minAllowedBatchSize'])return;const D=this['events']['slice'](0x0,this['maxAllowedBatchSize']);this['_isSending']=!0x0;try{if(q['ConfigService']['disableAnalytics'])return void this['events']['splice'](0x0,D['length']);let E=!0x1,F=!0x1;for(let G=0x0;G<C['ANALYTICS_MAX_RETRIES'];G++){try{const H=yield q['ApiService']['sendAnaltyicsEvents'](D);if(!H['error']&&H['httpStatus']&&H['httpStatus']<0x190){E=!0x0;break;}if(H['httpStatus']&&H['httpStatus']>=0x190&&H['httpStatus']<0x1f4){F=!0x0;break;}}catch(I){}if(G<C['ANALYTICS_MAX_RETRIES']-0x1){const J=C['ANALYTICS_BASE_DELAY_MS']*Math['pow'](0x2,G);yield new Promise(K=>setTimeout(K,J));}}(E||F)&&this['events']['splice'](0x0,D['length']);}finally{this['_isSending']=!0x1;}});}['sendAnalyticsData'](){return k(this,void 0x0,void 0x0,function*(){if(!q['UserService']['userId'])return void q['UserService']['assignUserId']();if(!q['UserService']['sessionId']||!this['events']['length'])return;const D=this['events']['splice'](0x0);try{const E=yield this['bulkEvent'](D);(null==E?void 0x0:E['error'])&&this['events']['unshift'](...D);}catch(F){this['events']['unshift'](...D);}});}['bulkEvent'](D){return k(this,void 0x0,void 0x0,function*(){return q['ConfigService']['disableAnalytics']?Promise['resolve']({}):q['ApiService']['sendAnaltyicsEvents'](D);});}['pushToQueue'](D){this['dispatchDomAnalyticsEvents']([D]),this['events']['push'](D);}['pushStoryEvent'](D,E,F=void 0x0,G=void 0x0){this['pushToQueue'](this['setupEvent'](x['Category']['Story'],D['toString'](),E,F,G));}['pushMomentEvent'](D,E,F=void 0x0,G=void 0x0){this['pushToQueue'](this['setupEvent'](x['Category']['Moment'],D['toString'](),E,F,G));}['pushVideoEvent'](D,E,F=void 0x0,G=void 0x0){this['pushToQueue'](this['setupEvent'](x['Category']['Video'],D['toString'](),E,F,G));}['pushAdEvent'](D,E,F=void 0x0,G=void 0x0){this['pushToQueue'](this['setupEvent'](x['Category']['Ad'],D['toString'](),E,F,G));}['pushConsentEvent'](D,E){this['pushToQueue'](this['setupEvent'](x['Category']['Consent'],D['toString'](),E,void 0x0,void 0x0));}['pushImaAdEvent'](D,E,F=void 0x0,G=void 0x0){this['pushToQueue'](this['setupEvent'](x['Category']['Ad'],D['toString'](),E,F,G));}['pushInteractionEvent'](D,E,F=void 0x0,G=void 0x0){this['pushToQueue'](this['setupEvent'](x['Category']['Interaction'],D['toString'](),E,F,G));}['pushWidgetEvent'](D,E,F=void 0x0,G=void 0x0){const H=this['sessionFiredWidgetIds'][D];if(void 0x0!==H){const I=E['widget_id'];if(!I||H['has'](I))return;H['add'](I);}this['pushToQueue'](this['setupEvent'](x['Category']['Widget'],D['toString'](),E,F,G));}['setupEvent'](D,F,G,H=void 0x0,J=void 0x0){var K,N,Q,R,U,V,W,X,Y,Z,a0,a1,a2,a3,a4,a5,a6,a7,a8;const a9=new x['AnalyticsEvent']();if(a9[D]=G,a9['api_scheme_version']='2',a9['sdk_event_session_counter']=this['eventSessionCounter']++,a9['sdk_event_id']=(0x0,A['v4'])(),a9['timestamp_utc']=(0x0,z['formatUTCDate'])(new Date()),a9['timestamp_user_tz']=(0x0,z['formatDate'])(new Date()),a9['sdk_type']='web',a9['sdk_version']=w['default']['version'],a9['sdk_id']='web',a9['event_action']=F,a9['user']['locale']=null===navigator||void 0x0===navigator?void 0x0:navigator['language'],a9['user']['generated_user_id']=q['ConfigService']['doNotTrack']?'do_not_track':q['UserService']['userId'],a9['user']['external_user_id']=null!==(K=q['ConfigService']['externalUserId'])&&void 0x0!==K?K:'',a9['user']['ab_test_id']=null!==(Q=null===(N=q['UserService']['abTest'])||void 0x0===N?void 0x0:N['id'])&&void 0x0!==Q?Q:'',a9['user']['ab_test_variant']=null!==(U=null===(R=q['UserService']['abTest'])||void 0x0===R?void 0x0:R['variant'])&&void 0x0!==U?U:'',a9['tech']['user_agent']=null===navigator||void 0x0===navigator?void 0x0:navigator['userAgent'],a9['tech']['localization_setting']=q['ConfigService']['preferredLanguage']||'',a9['session_id']=q['UserService']['sessionId'],a9['page']['page_url']=null===location||void 0x0===location?void 0x0:location['href'],this['uaParsed']){a9['tech']['browser']=null===(V=this['uaParsed']['browser'])||void 0x0===V?void 0x0:V['name'],a9['tech']['browser_version']=null===(W=this['uaParsed']['browser'])||void 0x0===W?void 0x0:W['version'],a9['tech']['os']=null===(X=this['uaParsed']['os'])||void 0x0===X?void 0x0:X['name'],a9['tech']['os_version']=null===(Y=this['uaParsed']['os'])||void 0x0===Y?void 0x0:Y['version'],a9['tech']['device_model']=null===(Z=this['uaParsed']['device'])||void 0x0===Z?void 0x0:Z['model'],a9['tech']['device_brand']=null===(a0=this['uaParsed']['device'])||void 0x0===a0?void 0x0:a0['vendor'];const ac={'mobile':'Phone','tablet':'Tablet','undefined':'Desktop'}[null===(a1=this['uaParsed']['device'])||void 0x0===a1?void 0x0:a1['type']]||(null===(a2=this['uaParsed']['device'])||void 0x0===a2?void 0x0:a2['type']);a9['tech']['device_type']=ac;}a9['tech']['screen_resolution']=(null===(a3=null===window||void 0x0===window?void 0x0:window['screen'])||void 0x0===a3?void 0x0:a3['availWidth'])+'x'+(null===(a4=null===window||void 0x0===window?void 0x0:window['screen'])||void 0x0===a4?void 0x0:a4['availHeight']),a9['tech']['screen_color']=null===(a6=null===(a5=null===window||void 0x0===window?void 0x0:window['screen'])||void 0x0===a5?void 0x0:a5['colorDepth'])||void 0x0===a6?void 0x0:a6['toString']();const aa=(null===window||void 0x0===window?void 0x0:window['innerWidth'])||document['documentElement']['clientWidth']||document['body']['clientWidth'],ab=(null===window||void 0x0===window?void 0x0:window['innerHeight'])||document['documentElement']['clientHeight']||document['body']['clientHeight'];if(a9['tech']['browser_size']=aa+'x'+ab,(null===(a7=navigator['connection'])||void 0x0===a7?void 0x0:a7['effectiveType'])&&(a9['tech']['connection_type']=null===(a8=navigator['connection'])||void 0x0===a8?void 0x0:a8['effectiveType']),a9['tech']['might_be_a_bot']=this['mightBeABot'],J&&(a9['referring']=J),H&&(a9['event_label']=H,a9['referring']['labels_expression']=H),a9['event_category']=D['toString'](),D==x['Category']['Widget']&&a9['widget']){a9['widget']['page_view_id']=q['UserService']['sessionId'],a9['widget']['page_size']=a9['tech']['browser_size'];const ad=null===window||void 0x0===window?void 0x0:window['location']['href']['indexOf']('#blaze'),ae=-0x1!==ad?null===window||void 0x0===window?void 0x0:window['location']['href']['slice'](0x0,ad):null===window||void 0x0===window?void 0x0:window['location']['href'];a9['widget']['page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](ae)?'Homepage':'Category/Article';}return a9;}}C['ANALYTICS_MAX_RETRIES']=0x3,C['ANALYTICS_BASE_DELAY_MS']=0x3e8,C['DEFAULT_BATCH_INTERVAL_SECONDS']=0x3,C['DEFAULT_MAX_BATCH_SIZE']=0x50,C['DEFAULT_MIN_BATCH_SIZE']=0x1,g['AnalyticsService']=C['getInstance']();},0x1f0f:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['contentAccessibilityManager']=f['ContentAccessibilityManager']=void 0x0;const h=g(0x1f16),j=g(0x1b52),k=g(0x2280);class l{constructor(m=h['DEFAULT_CONTENT_ACCESSIBILITY_CONFIG']){this['config']=m,this['contentStrategies']=new Map(),this['registeredWidgets']=new Map(),this['lastUserActionTime']=new Map(),this['userActionThrottleMs']=0x12c,this['initializeStrategies']();}['initializeStrategies'](){this['contentStrategies']['set']('story',new k['StoryAccessibilityStrategy'](this['config']['buttonLabels']['story'])),this['contentStrategies']['set']('moment',new k['MomentAccessibilityStrategy'](this['config']['buttonLabels']['moment']));}['registerContentWidget'](m,p,q){const r=this['contentStrategies']['get'](q);if(!r)return;const u=Object['assign'](Object['assign']({},p),{'contentType':q});this['registeredWidgets']['set'](m,u),r['setupAccessibility'](m,p);}['updateButtonLabels'](m,p){const q=this['registeredWidgets']['get'](m);if(!q||!q['contentType'])return;const r=Object['assign'](Object['assign']({},q['data']),p),u=this['contentStrategies']['get'](q['contentType']);u&&u['updateLabels'](m,r);}['getContentTypeLabel'](m){switch(m){case'story':return'Story';case'story-pages':return'Story\x20page';case'moment':return'Moment';default:return'Content';}}['unregisterContentWidget'](m){const p=this['registeredWidgets']['get'](m);if(!p||!p['contentType'])return;const q=this['contentStrategies']['get'](p['contentType']);q&&q['cleanup'](m),this['registeredWidgets']['delete'](m);}['announceUserAction'](m,p,q){if('user'!==q['trigger'])return;const r=m+'-'+p,u=Date['now']();if(u-(this['lastUserActionTime']['get'](r)||0x0)<this['userActionThrottleMs'])return;this['lastUserActionTime']['set'](r,u);const v=this['getContentTypeLabel'](m);j['accessibilityManager']['announce']({'message':v+'\x20'+p,'priority':'assertive','category':'status'});}['announceModalOpening'](m,p){let q=this['getContentTypeLabel'](m)+'\x20player\x20opened';p['title']&&(q+=':\x20'+p['title']),p['pagePosition']&&p['totalPages']&&(q+=',\x20page\x20'+p['pagePosition']+'\x20of\x20'+p['totalPages']);const r=[];p['isPlaying']&&r['push']('playing'),p['isMuted']&&r['push']('muted'),p['hasClosedCaptions']&&r['push']('captions\x20available'),r['length']>0x0&&(q+=',\x20'+r['join']('\x20and\x20')),j['accessibilityManager']['announce']({'message':q,'priority':'assertive','category':'navigation'});}['announceNavigation'](m,p,q,r,u){if(!('number'==typeof m&&'number'==typeof p&&m>0x0&&p>0x0&&m<=p))return;const v=this['generateMeaningfulAnnouncement'](m,p,q,r,u);j['accessibilityManager']['clearAnnouncementQueue'](),j['accessibilityManager']['announce']({'message':v,'priority':'assertive','category':'navigation'});}['generateMeaningfulAnnouncement'](m,p,q,r,u){return'story-page'===q||q['includes']('page')?this['buildPageNavigationAnnouncement'](m,p,r,u):'story-list'===q||q['includes']('story')?this['buildStoryNavigationAnnouncement'](m,p,r,u):'moment-list'===q||q['includes']('moment')?this['buildMomentNavigationAnnouncement'](m,p,r,u):this['buildGenericNavigationAnnouncement'](m,p,q,r);}['buildPageNavigationAnnouncement'](m,p,q,r){const u=(null==r?void 0x0:r['navigationType'])||'',v='Automatic'===u;if('Manual'===u){const w=m>((null==r?void 0x0:r['previousPosition'])||0x0)?'Next\x20page':'Previous\x20page';return this['formatAnnouncementMessage'](w,q,m,p,'page');}return v?this['formatAnnouncementMessage']('Continuing\x20story',q,m,p,'page'):this['formatAnnouncementMessage']('Page',q,m,p,'page',!0x0);}['buildStoryNavigationAnnouncement'](m,p,q,r){const u=(null==r?void 0x0:r['navigationType'])||'',v='Automatic'===u;if('Manual'===u){const w=m>((null==r?void 0x0:r['previousPosition'])||0x0)?'Next\x20story':'Previous\x20story';return this['formatAnnouncementMessage'](w,q,m,p,'story');}return v?this['formatAnnouncementMessage']('New\x20story',q,m,p,'story'):this['formatAnnouncementMessage']('Story',q,m,p,'story',!0x0);}['buildMomentNavigationAnnouncement'](m,p,q,r){const u=(null==r?void 0x0:r['navigationType'])||'',v='Automatic'===u;if('Manual'===u){const w=m>((null==r?void 0x0:r['previousPosition'])||0x0)?'Next\x20moment':'Previous\x20moment';return this['formatAnnouncementMessage'](w,q,m,p,'moment');}return v?this['formatAnnouncementMessage']('New\x20moment',q,m,p,'moment'):this['formatAnnouncementMessage']('Moment',q,m,p,'moment',!0x0);}['buildGenericNavigationAnnouncement'](m,p,q,r){const u=this['getContentTypeLabel'](q);return this['formatAnnouncementMessage'](u,r,m,p,u['toLowerCase'](),!0x0);}['formatAnnouncementMessage'](m,p,q,r,u,v=!0x1){const w=u+'\x20'+q+'\x20of\x20'+r;return v?p?m+'\x20'+q+'\x20of\x20'+r+':\x20'+p:m+'\x20'+q+'\x20of\x20'+r:p?m+':\x20'+p+',\x20'+w:m+':\x20'+w;}['cleanup'](){this['registeredWidgets']['forEach']((m,p)=>{if(m['contentType']){const q=this['contentStrategies']['get'](m['contentType']);q&&q['cleanup'](p);}}),this['registeredWidgets']['clear'](),this['lastUserActionTime']['clear']();}}f['ContentAccessibilityManager']=l,f['contentAccessibilityManager']=new l();},0x1f16:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['DEFAULT_CONTENT_ACCESSIBILITY_CONFIG']=f['DEFAULT_ACCESSIBILITY_CONFIG']=void 0x0,f['DEFAULT_ACCESSIBILITY_CONFIG']={'announcements':{'delay':0x320,'queueSize':0xa,'enableAutoRetry':!0x0,'retryDelay':0x1f4}},f['DEFAULT_CONTENT_ACCESSIBILITY_CONFIG']={'buttonLabels':{'story':{'play':'Play\x20story','pause':'Pause\x20story','mute':'Mute\x20story','unmute':'Unmute\x20story','share':'Share\x20story','close':'Close\x20story\x20player','captions':'Toggle\x20closed\x20captions','cta':'Call\x20to\x20action','nextStoryPage':'Next\x20page\x20of\x20stories','prevStoryPage':'Previous\x20page\x20of\x20stories','nextStory':'Next\x20story','prevStory':'Previous\x20story'},'moment':{'play':'Play\x20moment','pause':'Pause\x20moment','mute':'Mute\x20moment','unmute':'Unmute\x20moment','like':'Like\x20moment','unlike':'Unlike\x20moment','share':'Share\x20moment','close':'Close\x20moment\x20player','captions':'Toggle\x20closed\x20captions','cta':'Call\x20to\x20action','nextMoment':'Next\x20moment','prevMoment':'Previous\x20moment','follow':'Follow','unfollow':'Unfollow'}}};},0x1f29:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['HLSQualityManager']=void 0x0;class g{static['remember'](h){this['memory']={'level':h,'lastUpdate':Date['now']()};}static['recall'](){return this['memory']['level']>=0x0&&Date['now']()-this['memory']['lastUpdate']<this['DURATION']?this['memory']['level']:-0x1;}static['shouldUseMemory'](){return this['recall']()>=0x0;}static['clear'](){this['memory']={'level':-0x1,'lastUpdate':0x0};}}f['HLSQualityManager']=g,g['DURATION']=0x493e0,g['memory']={'level':-0x1,'lastUpdate':0x0};},0x1f50:function(d,f){'use strict';var g=this&&this['__awaiter']||function(j,k,l,m){return new(l||(l=Promise))(function(p,q){function u(x){try{w(m['next'](x));}catch(y){q(y);}}function v(x){try{w(m['throw'](x));}catch(y){q(y);}}function w(x){var y;x['done']?p(x['value']):(y=x['value'],y instanceof l?y:new l(function(z){z(y);}))['then'](u,v);}w((m=m['apply'](j,k||[]))['next']());});};function h(j){try{return new URL(j)['pathname']['toLowerCase']()['endsWith']('.gif');}catch(k){return j['toLowerCase']()['includes']('.gif');}}Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['fetchPosterWithHighPriority']=function(j){return g(this,arguments,void 0x0,function*(k,l=0x7d0){if(k)return new Promise(m=>{const p=new Image();let q=!0x1;const r=()=>{q||(q=!0x0,m());};p['onload']=()=>{r();},p['onerror']=()=>{r();},'fetchPriority'in p&&(p['fetchPriority']='high'),p['src']=k,setTimeout(()=>{r();},l);});});},f['isGifUrl']=h,f['attemptLoadImageElementUrl']=function(j,k,l,m=!0x1){return new Promise((p,q)=>{if(l['aborted'])return void q(new Error('aborted'));const u=!m&&h(j);let v=k;u&&(v=new Image(),v['crossOrigin']='anonymous');const w=()=>{l['removeEventListener']('abort',x);},x=z=>{v['onload']=null,v['onerror']=null,k['onload']=null,k['onerror']=null,w(),q(new Error('abort'===z['type']?'aborted':'load\x20failed'));},y=()=>{v['onload']=null,v['onerror']=null,k['onload']=null,k['onerror']=null,w(),p();};v['onload']=()=>{l['aborted']?x(new Event('abort')):u?(k['onload']=()=>{y();},k['onerror']=()=>{x(new Event('error'));},k['src']=function(z){try{const A=document['createElement']('canvas');A['width']=z['naturalWidth']||z['width'],A['height']=z['naturalHeight']||z['height'];const B=A['getContext']('2d');if(B&&A['width']>0x0&&A['height']>0x0){B['drawImage'](z,0x0,0x0);const C=A['toDataURL']('image/png');return A['width']=0x0,A['height']=0x0,C;}}catch(D){}}(v)||j,k['complete']&&k['naturalWidth']>0x0&&y()):y();},v['onerror']=()=>{x(new Event('error'));},l['addEventListener']('abort',x,{'once':!0x0}),v===k&&k['removeAttribute']('src'),v['src']=j;});};},0x1f6e:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1f70:function(j,k,q){'use strict';var w=this&&this['__awaiter']||function(U,V,W,X){return new(W||(W=Promise))(function(Y,Z){function a0(a3){try{a2(X['next'](a3));}catch(a4){Z(a4);}}function a1(a3){try{a2(X['throw'](a3));}catch(a4){Z(a4);}}function a2(a3){var a4;a3['done']?Y(a3['value']):(a4=a3['value'],a4 instanceof W?a4:new W(function(a5){a5(a4);}))['then'](a0,a1);}a2((X=X['apply'](U,V||[]))['next']());});};Object['defineProperty'](k,'__esModule',{'value':!0x0}),k['BlazeWidgetMoment']=void 0x0;const x=q(0x23a6),z=q(0x1133),A=q(0x1699),B=q(0x1932),D=q(0x26ed),F=q(0x22d9),G=q(0x636),H=q(0x11c1),I=q(0x264),J=q(0x132a),K=q(0x2432),L=q(0x24a5),M=q(0x164),N=q(0xb58),O=q(0x416),P='(rgba(0,\x200,\x200,\x200.8),\x20transparent)',Q='(top,\x20transparent,\x20transparent,\x20transparent,\x20rgba(0,\x200,\x200,\x201))',R='linear-gradient(180deg,\x20transparent,\x20#000\x200%,\x20#000\x2095%,\x20transparent\x20100%)';class T extends N['BlazeWidgetContent']{constructor(U){super(),this['playerStyle']=U,this['modal']={},this['seekBar']=F['WidgetsFactory']['create']('blaze-widget-moment-seek-bar'),this['data']={},this['contentType']='moment',this['momentIndex']=0x0,this['loopNumber']=0x0,this['isLiked']=!0x1,this['actionHandlers']=[],this['activitySubscriptions']=[],this['topContainer']=F['WidgetsFactory']['create']('blaze-div'),this['bottomContainer']=F['WidgetsFactory']['create']('blaze-div'),this['bottomContentContainer']=F['WidgetsFactory']['create']('blaze-div'),this['buttonsContainer']=F['WidgetsFactory']['create']('blaze-div'),this['bottomContainerCtaAndContent']=F['WidgetsFactory']['create']('blaze-div'),this['bottomContainerCtaContentButtons']=F['WidgetsFactory']['create']('blaze-div'),this['shadowBottomElement']=F['WidgetsFactory']['create']('blaze-div'),this['shadowTopElement']=F['WidgetsFactory']['create']('blaze-div'),this['topButtonsContainer']=F['WidgetsFactory']['create']('blaze-div'),this['bottomButtonsContainer']=F['WidgetsFactory']['create']('blaze-div'),this['likeWrapperElement']=F['WidgetsFactory']['create']('blaze-div'),this['likeCountElement']=F['WidgetsFactory']['create']('blaze-div'),this['closeButtonElement']=F['WidgetsFactory']['create']('blaze-button'),this['muteButtonElement']=F['WidgetsFactory']['create']('blaze-button'),this['likeButtonElement']=F['WidgetsFactory']['create']('blaze-button'),this['shareButtonElement']=F['WidgetsFactory']['create']('blaze-button'),this['playPauseButtonElement']=F['WidgetsFactory']['create']('blaze-button'),this['closedCaptionButtonElement']=F['WidgetsFactory']['create']('blaze-button'),this['customActionButtonOneElement']=F['WidgetsFactory']['create']('blaze-button'),this['customActionButtonTwoElement']=F['WidgetsFactory']['create']('blaze-button'),this['headBodyContainer']=F['WidgetsFactory']['create']('blaze-div'),this['headElement']=F['WidgetsFactory']['create']('blaze-div'),this['bodyElement']=F['WidgetsFactory']['create']('blaze-div'),this['ctaButtonElement']=new A['BlazeCtaButton'](),this['isInit']=!0x1,this['isActive']=!0x1,this['isMomentPausedByPlayPauseButton']=!0x1,this['shouldShowImaAdOnStart']=!0x1,this['elementsToHideOnImaAds']=[],this['elementsToHideOnCustomAds']=[];}['setPlayerStyle'](U){this['playerStyle']=U;}['setActionHandlers'](U){this['actionHandlers']=U;}['connectedCallback'](){this['isInit']||(this['isInit']=!0x0,this['style']['outline']='none',this['initializeElements'](),this['initializeStyles'](),this['setAttribute']('tabindex','0'),this['setAttribute']('aria-hidden','false'),this['append'](this['container']),this['boundOnBlurEvent']=this['onBlur']['bind'](this),this['boundOnFocusEvent']=this['onFocus']['bind'](this),this['boundOnVisibilityChangeEvent']=this['onVisibilityChange']['bind'](this),this['boundOnCtaClicked']=this['onCtaClick']['bind'](this),this['boundOnLanguageChangeEvent']=this['onLanguageChange']['bind'](this),this['ctaButtonElement']['addEventListener']('click',U=>this['boundOnCtaClicked'](U)),super['connectedCallback'](),this['render']());}['disconnectedCallback'](){this['listeners']['removeAll'](),this['ctaButtonElement']['removeEventListener']('click',this['boundOnCtaClicked']),this['activitySubscriptions']['forEach'](U=>U['unsubscribed']()),this['activitySubscriptions']=[],this['data']['id']&&z['contentAccessibilityManager']['unregisterContentWidget'](this['data']['id']),super['disconnectedCallback']();}['setTheme'](U){this['playerStyle']=U,this['render']();}['initializeStyles'](){this['playerStyle']&&(this['styleMainContainer'](),this['styleShadowElements'](),this['styleButtonsContainer'](),this['styleTopContainer'](),this['styleBottomContainer'](),this['styleBottomContentContainer'](),this['styleHeadBodyContainer']());}['styleMainContainer'](){(0x0,M['mergeStyles'])(this,{'display':'grid','width':'auto','height':'100%','aspectRatio':B['ASPECT_RATIO_9_16']['toString'](),'margin':'auto','maxHeight':'100%','background':J['Colors']['Black']}),(0x0,M['mergeStyles'])(this['container'],{'position':'relative','width':'100%','height':'100%'});}['styleBottomContentContainer'](){this['bottomContentContainer']['setStyle']({'display':'flex','justifyContent':'space-between','height':'100%','alignItems':'flex-end','gap':'16px'});}['styleShadowElements'](){this['styleShadowTopElement'](),this['styleShadowBottomElement']();}['styleShadowTopElement'](){this['shadowTopElement']['setStyle']({'background':'linear-gradient'+P,'position':'absolute','width':'100%','height':'100px','top':'0px','borderRadius':'mobile'===z['deviceDetector']['platform']?'0px':'20px','right':'0','left':'0'}),this['shadowTopElement']['style']['background']='linear-gradient'+P,this['shadowTopElement']['style']['background']='-webkit-linear-gradient'+P;}['styleShadowBottomElement'](){this['shadowBottomElement']['setStyle']({'background':'linear-gradient'+Q,'position':'absolute','width':'100%','height':'75%','bottom':'0px','borderRadius':'mobile'===z['deviceDetector']['platform']?'0px':'20px','right':'0','left':'0'}),this['shadowBottomElement']['style']['background']='linear-gradient'+Q,this['shadowBottomElement']['style']['background']='-webkit-linear-gradient'+Q;}['styleButtonsContainer'](){this['topButtonsContainer']['setStyle']({'display':'inline-flex','gap':'10px','position':'relative','flexDirection':'column','zIndex':'4','visibility':'visible','margin':'5px\x205px\x200px\x200px','float':'right'});const U='desktop'===z['deviceDetector']['platform'];this['bottomButtonsContainer']['setStyle']({'display':'flex','gap':U?'32px':'16px','position':U?'absolute':'unset','bottom':U?'0px':'unset','right':U?'-80px':'unset','flexDirection':'column','alignItems':'center','width':'fit-content'});}['styleTopContainer'](){this['topContainer']['setStyle']({'position':'absolute','top':'40px','width':'100%','paddingLeft':'16px','paddingRight':'16px','display':'flex','justifyContent':'space-between','boxSizing':'border-box','columnGap':'10px'});}['styleBottomContainer'](){this['bottomContainer']['setStyle']({'position':'absolute','bottom':'0px','left':'0px','width':'100%','display':'flex','flexDirection':'column-reverse','gap':'8px','boxSizing':'border-box','zIndex':'4'});}['styleHeadBodyContainer'](){this['headBodyContainer']['setStyle']({'display':'flex','flexDirection':'column','gap':'0.5rem','width':'100%'});}['styleContent'](U,V,W){if(!this['playerStyle'])return;let X,Y;if('HEADING_CONTENT'===W?X=J['Presets']['DefaultMomentStyle']['headingText']:'BODY_CONTENT'===W&&(X=J['Presets']['DefaultMomentStyle']['bodyText']),!X||!V)throw new Error('Default\x20Text\x20style\x20and\x20custom\x20style\x20not\x20found');switch(z['deviceDetector']['platform']){case'desktop':Y=V['textSizeDesktop']||X['textSizeDesktop'];break;case'tablet':Y=V['textSizeTablet']||X['textSizeTablet'];break;default:Y=V['textSizeMobile']||X['textSizeMobile'];}U['setStyle']({'display':V['isVisible']?'-webkit-box':'none','fontSize':z['TextScaleService']['scaleFontSize'](Y),'fontFamily':V['font'],'fontWeight':V['fontWeight'],'color':V['textColor']||X['textColor'],'textTransform':V['textTransform'],'lineHeight':z['TextScaleService']['scaleLineHeight'](V['lineHeight']),'overflow':'hidden','textOverflow':'ellipsis','WebkitBoxOrient':'vertical','WebkitLineClamp':'2','lineClamp':'2','boxOrient':'vertical','width':'desktop'===z['deviceDetector']['platform']?'75%':'100%'});}['applyLikeStyle'](){var U,V,W,X,Y,Z,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,aa,ab,ac,ad,ae,af;if(!this['playerStyle'])return;let ag,ah,ai,aj,ak;switch(this['likeWrapperElement']['setStyle']({'fontFamily':this['playerStyle']['likeText']['font'],'display':'flex','flexDirection':'column','alignItems':'center','gap':'6px'}),'desktop'===z['deviceDetector']['platform']&&this['likeButtonElement']['classList']['add']('desktop-button'),z['deviceDetector']['platform']){case'desktop':ag=null===(U=this['playerStyle'])||void 0x0===U?void 0x0:U['buttons']['like_unlike']['desktop']['padding'],ah=null===(V=this['playerStyle'])||void 0x0===V?void 0x0:V['buttons']['like_unlike']['desktop']['borderRadius'],ai=null===(W=this['playerStyle'])||void 0x0===W?void 0x0:W['buttons']['like_unlike']['desktop']['backgroundColor'],aj=null===(X=this['playerStyle'])||void 0x0===X?void 0x0:X['likeText']['font'],ak=null===(Y=this['playerStyle'])||void 0x0===Y?void 0x0:Y['likeText']['textSizeDesktop'];break;case'tablet':ag=null===(Z=this['playerStyle'])||void 0x0===Z?void 0x0:Z['buttons']['like_unlike']['tablet']['padding'],ah=null===(a0=this['playerStyle'])||void 0x0===a0?void 0x0:a0['buttons']['like_unlike']['tablet']['borderRadius'],ai=null===(a1=this['playerStyle'])||void 0x0===a1?void 0x0:a1['buttons']['like_unlike']['tablet']['backgroundColor'],aj=null===(a2=this['playerStyle'])||void 0x0===a2?void 0x0:a2['likeText']['font'],ak=null===(a3=this['playerStyle'])||void 0x0===a3?void 0x0:a3['likeText']['textSizeTablet'];break;case'mobile':ag=null===(a4=this['playerStyle'])||void 0x0===a4?void 0x0:a4['buttons']['like_unlike']['mobile']['padding'],ah=null===(a5=this['playerStyle'])||void 0x0===a5?void 0x0:a5['buttons']['like_unlike']['mobile']['borderRadius'],ai=null===(a6=this['playerStyle'])||void 0x0===a6?void 0x0:a6['buttons']['like_unlike']['mobile']['backgroundColor'],aj=null===(a7=this['playerStyle'])||void 0x0===a7?void 0x0:a7['likeText']['font'],ak=null===(a8=this['playerStyle'])||void 0x0===a8?void 0x0:a8['likeText']['textSizeMobile'];break;default:ag=null===(a9=this['playerStyle'])||void 0x0===a9?void 0x0:a9['buttons']['like_unlike']['mobile']['padding'],ah=null===(aa=this['playerStyle'])||void 0x0===aa?void 0x0:aa['buttons']['like_unlike']['mobile']['borderRadius'],ai=null===(ab=this['playerStyle'])||void 0x0===ab?void 0x0:ab['buttons']['like_unlike']['mobile']['backgroundColor'],aj=null===(ac=this['playerStyle'])||void 0x0===ac?void 0x0:ac['likeText']['font'],ak=null===(ad=this['playerStyle'])||void 0x0===ad?void 0x0:ad['likeText']['textSizeMobile'];}this['likeButtonElement']['setStyle']({'padding':null!=ag?ag:'10px','borderRadius':null!=ah?ah:'50%','backgroundColor':null!=ai?ai:'#18181899'});const al=null===(ae=this['playerStyle'])||void 0x0===ae?void 0x0:ae['likeText']['textColor'],am=null===(af=this['playerStyle'])||void 0x0===af?void 0x0:af['likeText']['fontWeight'];this['likeCountElement']['setStyle']({'fontSize':z['TextScaleService']['scaleFontSize'](null!=ak?ak:'14px'),'color':null!=al?al:J['Colors']['White'],'fontWeight':null!=am?am:'normal','fontFamily':null!=aj?aj:J['Presets']['playerFont']}),this['likeButtonElement']['setIconUrl'](this['isLiked']?this['playerStyle']['icons']['like']:this['playerStyle']['icons']['unlike']);}['applyShareStyle'](){var U,V,W,X,Y,Z,a0,a1,a2,a3,a4,a5;if(!this['playerStyle'])return;let a6,a7,a8,a9;switch(z['deviceDetector']['platform']){case'desktop':a6=null===(U=this['playerStyle'])||void 0x0===U?void 0x0:U['buttons']['share']['desktop']['padding'],a7=null===(V=this['playerStyle'])||void 0x0===V?void 0x0:V['buttons']['share']['desktop']['borderRadius'],a8=null===(W=this['playerStyle'])||void 0x0===W?void 0x0:W['buttons']['share']['desktop']['backgroundColor'],a9=null===(X=this['playerStyle'])||void 0x0===X?void 0x0:X['buttons']['share']['desktop']['color'];break;case'tablet':a6=null===(Y=this['playerStyle'])||void 0x0===Y?void 0x0:Y['buttons']['share']['tablet']['padding'],a7=null===(Z=this['playerStyle'])||void 0x0===Z?void 0x0:Z['buttons']['share']['tablet']['borderRadius'],a8=null===(a0=this['playerStyle'])||void 0x0===a0?void 0x0:a0['buttons']['share']['tablet']['backgroundColor'],a9=null===(a1=this['playerStyle'])||void 0x0===a1?void 0x0:a1['buttons']['share']['tablet']['color'];break;case'mobile':a6=null===(a2=this['playerStyle'])||void 0x0===a2?void 0x0:a2['buttons']['share']['mobile']['padding'],a7=null===(a3=this['playerStyle'])||void 0x0===a3?void 0x0:a3['buttons']['share']['mobile']['borderRadius'],a8=null===(a4=this['playerStyle'])||void 0x0===a4?void 0x0:a4['buttons']['share']['mobile']['backgroundColor'],a9=null===(a5=this['playerStyle'])||void 0x0===a5?void 0x0:a5['buttons']['share']['mobile']['color'];}this['shareButtonElement']['setStyle']({'padding':null!=a6?a6:'10px','borderRadius':null!=a7?a7:'50%','backgroundColor':null!=a8?a8:'#18181899'}),a9&&this['shareButtonElement']['setAttribute']('icon-color',a9),'desktop'===z['deviceDetector']['platform']&&this['shareButtonElement']['classList']['add']('desktop-button'),this['shareButtonElement']['setIconUrl'](this['playerStyle']['icons']['share']);}['applyCtaButtonStyles'](){var U;if(!(null===(U=this['playerStyle'])||void 0x0===U?void 0x0:U['ctaButton']))throw new Error('CTA\x20button\x20style\x20not\x20found');const {ctaButton:V,contentBoxHorizontalSpacing:W}=this['playerStyle'];if(!0x1===V['isVisible'])return this['ctaButtonElement']['setAttribute']('hidden-btn','true'),void this['bottomContainer']['setStyle']({'justifyContent':'center'});this['setAnchorButtonStyles'](V),this['setIconAttributes'](V),this['setLayoutPositioning'](V),this['setCtaButtonAlignment'](V),this['setLayoutSpacing'](V,W);}['setAnchorButtonStyles'](U){this['ctaButtonElement']['setAnchorButtonStyles']({'fontFamily':U['font'],'fontWeight':U['fontWeight'],'borderRadius':U['borderRadius'],'fontSize':z['TextScaleService']['scaleFontSize'](U['textSize'])});}['setIconAttributes'](U){U['icon']['isVisible']?(this['ctaButtonElement']['setCtaIconStyles']({'padding':'5px'}),this['ctaButtonElement']['setAttribute']('icon-color',U['icon']['color']),this['ctaButtonElement']['setAttribute']('icon-url',U['icon']['url']),this['ctaButtonElement']['setAttribute']('icon-size',U['icon']['size']),this['ctaButtonElement']['setCtaIconStyles']({'padding':'5px'}),this['ctaButtonElement']['setAttribute']('display-icon','true')):this['ctaButtonElement']['setAttribute']('display-icon','false');}['setLayoutPositioning'](U){var V,W,X;'CTA_NEXT_TO_BOTTOM_BUTTONS_BOX'===U['layoutPositioning']?(this['bottomContainerCtaAndContent']['setStyle']({'display':'flex','flexDirection':'column','height':'100%','gap':'16px','alignSelf':'end','flex':'1'}),this['bottomContainerCtaContentButtons']['setStyle']({'display':'flex','gap':'16px','justifyContent':'space-between','margin':'0px\x20'+(null===(V=this['playerStyle'])||void 0x0===V?void 0x0:V['contentBoxHorizontalSpacing'])}),this['ctaButtonElement']['style']['padding']='0px\x20'+(null===(W=this['playerStyle'])||void 0x0===W?void 0x0:W['contentBoxHorizontalSpacing'])):'CTA_BELLOW_BOTTOM_BUTTONS_BOX'===U['layoutPositioning']&&(this['bottomContentContainer']['style']['margin']='0px\x20'+(null===(X=this['playerStyle'])||void 0x0===X?void 0x0:X['contentBoxHorizontalSpacing']));}['setCtaButtonAlignment'](U){this['ctaButtonElement']['setStyle']({'height':U['height'],'alignSelf':{'START':'flex-start','CENTER':'center','FULL_AVAILABLE_WIDTH':'center','END':'flex-end'}[U['horizontalAlignment']]}),this['ctaButtonElement']['setCtaTextStyle']({'width':'100%'});}['setLayoutSpacing'](U,V){const W='FULL_AVAILABLE_WIDTH'===U['horizontalAlignment'],X='mobile'===z['deviceDetector']['platform']?'50%':'33.4%';if('CTA_NEXT_TO_BOTTOM_BUTTONS_BOX'===U['layoutPositioning'])this['ctaButtonElement']['style']['width']=W?'100%':X,this['ctaButtonElement']['style']['padding']='0';else{if('CTA_BELLOW_BOTTOM_BUTTONS_BOX'===U['layoutPositioning']){const Y=W?'calc(100%\x20-\x20'+0x2*(0x0,M['convertCssUnitToNumber'])(V)+'px)':X;this['ctaButtonElement']['style']['width']=Y,this['ctaButtonElement']['style']['margin']='0px\x20'+V;}}}['initializeElements'](){this['configureButtons'](),this['configureContentBody'](),this['configureShareModal'](),this['appendButtonsContainer'](),this['appendBottomContainer'](),this['appendShadowElements'](),this['handleMobileSpecificFeatures']();}['appendShadowElements'](){this['container']['append'](this['shadowTopElement']),this['container']['append'](this['shadowBottomElement']),this['elementsToHideOnImaAds']['push'](this['shadowTopElement'],this['shadowBottomElement']),this['elementsToHideOnCustomAds']['push'](this['shadowTopElement'],this['shadowBottomElement']);}['createButtonElement'](U,V){const {testId:W,iconUrl:X,width:Y,height:Z,color:a0,padding:a1,borderRadius:a2,backgroundColor:a3,onClick:a4}=U;V['setIconUrl'](X),V['setAttribute']('height',Y),V['setAttribute']('width',Z),V['setAttribute']('data-testid',W),a0&&V['setAttribute']('icon-color',a0);const a5={'padding':a1,'borderRadius':a2,'backgroundColor':a3,'flexShrink':'0','flexGrow':'0'};Object['entries'](a5)['forEach'](([a6,a7])=>{a7&&V['setStyle']({[a6]:a7});}),a4&&V['addEventListener']('click',a4);}['configureShareModal'](){this['shareModal']=F['WidgetsFactory']['create']('blaze-widget-share-modal'),this['shareModal']['onClose']=()=>{this['playPauseButtonElement']['setStyle']({'display':'flex'}),this['resume']();},this['shareModal']['onOpen']=()=>this['playPauseButtonElement']['setStyle']({'display':'none'}),this['container']['append'](this['shareModal']);}['configureClosedCaptionsModal'](){this['closedCaptionsModal']=new x['BlazeWidgetClosedCaptionsModal'](this['data']['closedCaptions'],'moment'),this['closedCaptionsModal']['onClose']=()=>{this['isPausedManually']||(H['VideoPlayerService']['isPlaying']=!0x0,this['playPauseButtonElement']['setIconUrl'](''),this['resume']());},this['closedCaptionsModal']['onOpen']=()=>{H['VideoPlayerService']['isPlaying']&&(H['VideoPlayerService']['isPlaying']=!0x1,this['playPauseButtonElement']['setIconUrl'](G['playResumeIconSvg']),this['pause']());},this['closedCaptionsModal']['onClosedCaptionsEnable']=U=>{this['toggleClosedCaptions'](U);},this['closedCaptionsModal']['onClosedCaptionsDisable']=()=>{this['toggleClosedCaptions']();},this['container']['append'](this['closedCaptionsModal']);}['configureButtons'](){return w(this,void 0x0,void 0x0,function*(){var U,V,W,X,Y;if(!(null===(U=this['playerStyle'])||void 0x0===U?void 0x0:U['buttons']))return;const Z=this['playerStyle']['buttons'],a0=this['playerStyle']['icons'],a1=null===(V=this['actionHandlers'])||void 0x0===V?void 0x0:V['filter'](ab=>ab['actionId']===D['ActionHandlerId']['AddCustomActionButton'])['slice'](0x0,0x2);let a2,a3,a4,a5,a6,a7,a8;switch(z['deviceDetector']['platform']){case'mobile':default:a2=Z['mute_unmute']['mobile'],a3=Z['exit']['mobile'],a4=Z['share']['mobile'],a5=Z['like_unlike']['mobile'],a6=Z['closed_captions']['mobile'],a7=Z['custom_action_button_one']['mobile'],a8=Z['custom_action_button_two']['mobile'];break;case'tablet':a2=Z['mute_unmute']['tablet'],a3=Z['exit']['tablet'],a4=Z['share']['tablet'],a5=Z['like_unlike']['tablet'],a6=Z['closed_captions']['tablet'],a7=Z['custom_action_button_one']['tablet'],a8=Z['custom_action_button_two']['tablet'];break;case'desktop':a2=Z['mute_unmute']['desktop'],a3=Z['exit']['desktop'],a4=Z['share']['desktop'],a5=Z['like_unlike']['desktop'],a6=Z['closed_captions']['desktop'],a7=Z['custom_action_button_one']['desktop'],a8=Z['custom_action_button_two']['desktop'];}const a9=!!(a1[0x0]&&a0['customActionButtonOne']&&a7['isVisible']),aa=!!(a1[0x1]&&a0['customActionButtonTwo']&&a8['isVisible']);if(a9&&this['createButtonElement']({'testId':'custom-action-button-one','iconUrl':a0['customActionButtonOne'],'onClick':ab=>this['handleOnCustomActionButtonClick'](ab,a1[0x0]['options']),'width':a7['width'],'height':a7['height'],'color':a7['color'],'padding':a7['padding'],'borderRadius':a7['borderRadius'],'backgroundColor':a7['backgroundColor']},this['customActionButtonOneElement']),aa&&this['createButtonElement']({'testId':'custom-action-button-two','iconUrl':a0['customActionButtonTwo'],'onClick':ab=>this['handleOnCustomActionButtonClick'](ab,a1[0x1]['options']),'width':a8['width'],'height':a8['height'],'color':a8['color'],'padding':a8['padding'],'borderRadius':a8['borderRadius'],'backgroundColor':a8['backgroundColor']},this['customActionButtonTwoElement']),a3&&a3['isVisible']&&(this['createButtonElement']({'testId':'exit-button','iconUrl':a0['exit'],'onClick':this['handleOnClose']['bind'](this),'width':a3['width'],'height':a3['height'],'color':a3['color'],'padding':a3['padding'],'borderRadius':a3['borderRadius'],'backgroundColor':a3['backgroundColor']},this['closeButtonElement']),this['elementsToHideOnCustomAds']['push'](this['closeButtonElement'])),a2&&a2['isVisible']){const ab=H['VideoPlayerService']['isMuted']?this['playerStyle']['icons']['mute']:this['playerStyle']['icons']['unmute'];this['createButtonElement']({'testId':'mute-unmute-button','iconUrl':ab,'onClick':this['handleOnMuteUnmuteToggle']['bind'](this),'width':a2['width'],'height':a2['height'],'color':a2['color'],'padding':a2['padding'],'borderRadius':a2['borderRadius'],'backgroundColor':a2['backgroundColor']},this['muteButtonElement']),'desktop'===z['deviceDetector']['platform']&&this['muteButtonElement']['classList']['add']('mute-unmute-button'),this['elementsToHideOnImaAds']['push'](this['topButtonsContainer']);}if(this['playerStyle']['topIconsButtonOrder']['forEach']((ac,ad)=>{switch(ac){case'MUTE_UNMUTE':a2['isVisible']&&(this['muteButtonElement']['style']['order']=ad['toString'](),this['topButtonsContainer']['append'](this['muteButtonElement']));break;case'EXIT_PLAYER':(null==a3?void 0x0:a3['isVisible'])&&(this['closeButtonElement']['style']['order']=ad['toString'](),this['topButtonsContainer']['append'](this['closeButtonElement']));break;case'CUSTOM_ACTION_BUTTON_ONE':a9&&(this['customActionButtonOneElement']['style']['order']=ad['toString'](),this['topButtonsContainer']['append'](this['customActionButtonOneElement']));break;case'CUSTOM_ACTION_BUTTON_TWO':aa&&(this['customActionButtonTwoElement']['style']['order']=ad['toString'](),this['topButtonsContainer']['append'](this['customActionButtonTwoElement']));}}),a5&&a5['isVisible']){this['isLiked']=yield H['LikeService']['isMomentLiked'](this['data']['id']);const ac=this['isLiked']?this['playerStyle']['icons']['like']:this['playerStyle']['icons']['unlike'];this['createButtonElement']({'testId':'like-unlike-button','iconUrl':ac,'onClick':this['handleOnLikeClick']['bind'](this),'width':a5['width'],'height':a5['height'],'color':a5['color'],'padding':a5['padding'],'borderRadius':a5['borderRadius'],'backgroundColor':a5['backgroundColor']},this['likeButtonElement']),K['AccessibilityUtils']['setElementAccessibilityHidden'](this['likeCountElement']),this['likeWrapperElement']['append'](this['likeButtonElement'],this['likeCountElement']);}if(a4&&a4['isVisible']&&this['createButtonElement']({'testId':'share-button','iconUrl':this['playerStyle']['icons']['share'],'onClick':this['handleOnShareClick']['bind'](this),'width':a4['width'],'height':a4['height'],'color':a4['color'],'padding':a4['padding'],'borderRadius':a4['borderRadius'],'backgroundColor':a4['backgroundColor']},this['shareButtonElement']),a6&&a6['isVisible']&&H['ConfigService']['shouldAllowClosedCaptions']){const ad=null===(W=this['data']['closedCaptions'])||void 0x0===W?void 0x0:W['find'](ae=>''+ae['language']===localStorage['getItem'](B['LOCAL_STORAGE_KEY_LAST_SELECTED']));this['createButtonElement']({'testId':'closed-captions-button','iconUrl':ad?this['playerStyle']['icons']['closedCaptionsOn']:this['playerStyle']['icons']['closedCaptionsOff'],'onClick':this['handleOnClosedCaptionClick']['bind'](this),'width':a6['width'],'height':a6['height'],'color':a6['color'],'padding':a6['padding'],'borderRadius':a6['borderRadius'],'backgroundColor':a6['backgroundColor']},this['closedCaptionButtonElement']),(null===(X=this['data']['closedCaptions'])||void 0x0===X?void 0x0:X['length'])?this['closedCaptionButtonElement']['setAttribute']('disabled','false'):this['closedCaptionButtonElement']['setAttribute']('disabled','true'),this['configureClosedCaptionsModal'](),'desktop'===z['deviceDetector']['platform']&&this['closedCaptionButtonElement']['classList']['add']('desktop-button');}else null===(Y=this['video'])||void 0x0===Y||Y['setAttribute']('is-captions-visible','false');this['playerStyle']['bottomIconsButtonOrder']['forEach']((ae,af)=>{switch(ae){case'LIKE_UNLIKE':a5['isVisible']&&(this['likeWrapperElement']['style']['order']=af['toString'](),this['bottomButtonsContainer']['append'](this['likeWrapperElement']));break;case'SHARE':a4['isVisible']&&(this['shareButtonElement']['style']['order']=af['toString'](),this['bottomButtonsContainer']['append'](this['shareButtonElement']));break;case'CLOSED_CAPTIONS':a6['isVisible']&&(this['closedCaptionButtonElement']['style']['order']=af['toString'](),this['bottomButtonsContainer']['append'](this['closedCaptionButtonElement']));break;case'CUSTOM_ACTION_BUTTON_ONE':a9&&(this['customActionButtonOneElement']['style']['order']=af['toString'](),this['bottomButtonsContainer']['append'](this['customActionButtonOneElement']));break;case'CUSTOM_ACTION_BUTTON_TWO':aa&&(this['customActionButtonTwoElement']['style']['order']=af['toString'](),this['bottomButtonsContainer']['append'](this['customActionButtonTwoElement']));}}),this['playerStyle']['followButton']['isVisible']&&this['configureFollowButton']();});}['appendButtonsContainer'](){this['container']['append'](this['topButtonsContainer']);}['handleMobileSpecificFeatures'](){this['createPlayPauseButton']();}['configureFollowButton'](){var U,V;const W=null===(U=this['actionHandlers'])||void 0x0===U?void 0x0:U['find'](Z=>Z['actionId']===D['ActionHandlerId']['AddFollowButton']);if(!W)return;const X=W['options'],Y=(0x0,L['getFollowEntityByPriority'])(null===(V=this['playerStyle'])||void 0x0===V?void 0x0:V['followButton']['followEntityTypePriority'],this['data']['followEntities']);Y&&(this['followButtonElement']=new A['BlazeFollowButton'](this['playerStyle']),this['followButtonElement']['setSource'](this['data']['id'],'moment'),this['followButtonElement']['setEntity'](Y['entityId'],Y['entityType']),this['followButtonElement']['setAvatar'](Y['storageFile']['url']),this['followButtonElement']['onToggle']=(Z,a0)=>{X['onClick']&&X['onClick'](Z,a0),this['handleFollowAnalytics'](a0),this['updateAccessibilityLabels']();},this['bottomButtonsContainer']['prepend'](this['followButtonElement']));}['configureContentBody'](){this['bodyElement']['onclick']=this['onContentClick']['bind'](this),this['bodyElement']['onscroll']=()=>{const U=this['bodyElement']['scrollTop'],V=this['bodyElement']['scrollHeight'],W=this['bodyElement']['clientHeight'];0x0===U?this['bodyElement']['setStyle']({'maskImage':R}):U+W>=V?this['bodyElement']['setStyle']({'maskImage':'linear-gradient(0deg,\x20transparent,\x20#000\x200%,\x20#000\x2090%,\x20transparent\x20100%)'}):this['bodyElement']['setStyle']({'maskImage':'linear-gradient(transparent,\x20rgb(0,\x200,\x200)\x205%,\x20rgb(0,\x200,\x200)\x2095%,\x20transparent\x20100%),\x20linear-gradient(0deg,\x20transparent,\x20rgb(0,\x200,\x200)\x205%,\x20rgb(0,\x200,\x200)\x2095%,\x20transparent\x20100%)'});};}['appendBottomContainer'](){this['headBodyContainer']['append'](this['headElement']),this['headBodyContainer']['append'](this['bodyElement']),this['bottomContentContainer']['append'](this['headBodyContainer']),this['updateLayoutPositioning'](),this['elementsToHideOnImaAds']['push'](this['bottomContainer']),this['elementsToHideOnCustomAds']['push'](this['bottomContainer']);}['updateLayoutPositioning'](){var U;switch(this['bottomContainer']['innerHTML']='',null===(U=this['playerStyle'])||void 0x0===U?void 0x0:U['ctaButton']['layoutPositioning']){case'CTA_BELLOW_BOTTOM_BUTTONS_BOX':default:this['bottomContentContainer']['append'](this['bottomButtonsContainer']),this['bottomContainer']['append'](this['seekBar']),this['bottomContainer']['append'](this['ctaButtonElement']),this['bottomContainer']['append'](this['bottomContentContainer']);break;case'CTA_NEXT_TO_BOTTOM_BUTTONS_BOX':this['bottomContainerCtaAndContent']['append'](this['bottomContentContainer']),this['bottomContainerCtaAndContent']['append'](this['ctaButtonElement']),this['bottomContainerCtaContentButtons']['append'](this['bottomContainerCtaAndContent']),this['bottomContainerCtaContentButtons']['append'](this['bottomButtonsContainer']),this['bottomContainer']['append'](this['seekBar']),this['bottomContainer']['append'](this['bottomContainerCtaContentButtons']);}this['container']['append'](this['bottomContainer']);}['createPlayPauseButton'](){this['playPauseButtonElement']['setAttribute']('height','55px'),this['playPauseButtonElement']['setAttribute']('width','55px'),this['playPauseButtonElement']['setIconUrl'](''),this['playPauseButtonElement']['setStyle']({'display':'flex','position':'absolute','zIndex':'3','margin':'auto','width':'100%','height':'85%','top':'0'}),this['boundPlayPauseButtonClick']=this['handlePlayPauseButtonClick']['bind'](this),this['playPauseButtonElement']['addEventListener']('click',this['boundPlayPauseButtonClick']),this['elementsToHideOnImaAds']['push'](this['playPauseButtonElement']),this['container']['append'](this['playPauseButtonElement']);}['handlePlayPauseButtonClick'](){var U;if('Ad'===this['data']['type'])return;const V=null===(U=this['video'])||void 0x0===U?void 0x0:U['paused'];this['playPauseButtonElement']['setIconUrl'](V?'':G['playResumeIconSvg']),this['isMomentPausedByPlayPauseButton']=!V,this['playToggle']();}['setModal'](U){this['modal']=U;}['onLanguageChange'](U){var V,W,X,Y;const Z=(null===(V=this['data']['closedCaptions'])||void 0x0===V?void 0x0:V['find'](a0=>''+a0['language']===U['detail']['language']))?null===(W=this['playerStyle'])||void 0x0===W?void 0x0:W['icons']['closedCaptionsOn']:null===(X=this['playerStyle'])||void 0x0===X?void 0x0:X['icons']['closedCaptionsOff'];null===(Y=this['closedCaptionButtonElement'])||void 0x0===Y||Y['setIconUrl'](Z||'');}['onVisibilityChange'](){this['isActive']&&this['isConnected']&&(document['hidden']||this['onFocus'](),document['hidden']&&this['onBlur']());}['onBlur'](){var U;this['isActive']&&this['isConnected']&&this['video']&&(document['hidden']||'desktop'!==z['deviceDetector']['platform']||'visible'!==document['visibilityState'])&&((null===(U=document['activeElement'])||void 0x0===U?void 0x0:U['closest']('iframe'))||(this['playPauseButtonElement']['setIconUrl'](G['playResumeIconSvg']),this['video']['paused']||(this['resumeAfterfocus']=!0x0,this['pause'](),H['VideoPlayerService']['isPlaying']=!0x1,this['updatePlayerButtonIcons'](),this['event'](B['MomentAction']['MomentsPlaylistExit'],{}),this['event'](B['MomentAction']['MomentExit'],{}))));}['onFocus'](){var U;if(!this['isActive']||!this['isConnected']||!this['video'])return;const V='Ad'===(null===(U=this['video']['data'])||void 0x0===U?void 0x0:U['type']);if((this['video']['paused']||V)&&this['resumeAfterfocus']){this['resumeAfterfocus']=!0x1;const W='iOS'===z['deviceDetector']['OS'],X='Mobile\x20Safari'===z['deviceDetector']['browser'],Y='tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS'],Z=W&&('Safari'===z['deviceDetector']['browser']||'Chrome'===z['deviceDetector']['browser']);if(!V&&(W||X||Z||Y))return void this['playPauseButtonElement']['setIconUrl'](G['playResumeIconSvg']);this['resume'](),H['VideoPlayerService']['isPlaying']=!0x0,this['updatePlayerButtonIcons']();}}['onContentClick'](){'2'===this['bodyElement']['style']['webkitLineClamp']?this['expandBodyText']('10'):this['collapseBodyText']('2');}['expandBodyText'](U){const V=this['bodyElement']['clientHeight'];this['bodyElement']['style']['webkitLineClamp']=U;const W=this['bodyElement']['clientHeight'];this['bodyElement']['scrollHeight']>this['bodyElement']['clientHeight']&&(this['bodyElement']['style']['overflow']='auto',this['bodyElement']['setStyle']({'maskImage':R})),V<W&&this['bottomContainer']['setStyle']({'backgroundImage':'linear-gradient(0deg,\x20rgb(0\x200\x200)\x200%,\x20rgb(0\x200\x200\x20/\x200%)\x20100%)'});}['collapseBodyText'](U){this['bodyElement']['style']['webkitLineClamp']=U,this['bodyElement']['style']['overflow']='hidden',this['bodyElement']['setStyle']({'backgroundImage':''}),this['bottomContainer']['setStyle']({'backgroundImage':''});}['onMuteUnmuteChange'](){this['video']&&(this['video']['muted']=H['VideoPlayerService']['isMuted']);}['updatePlayerButtonIcons'](){var U,V;this['video']&&this['playerStyle']&&(this['muteButtonElement']['setIconUrl'](H['VideoPlayerService']['isMuted']?null===(U=this['playerStyle'])||void 0x0===U?void 0x0:U['icons']['mute']:null===(V=this['playerStyle'])||void 0x0===V?void 0x0:V['icons']['unmute']),this['closeButtonElement']['setIconUrl'](this['playerStyle']['icons']['exit']));}['handleOnClosedCaptionClick'](){var U;null===(U=this['closedCaptionsModal'])||void 0x0===U||U['open']();}['toggleClosedCaptions'](U){const V=(0x0,K['convertCcLanguageToState'])(this['data']['closedCaptions'],U);this['event']('Off'!==V?B['MomentAction']['ClosedCaptionsOn']:B['MomentAction']['ClosedCaptionsOff'],{});}['handleOnShareClick'](){return w(this,void 0x0,void 0x0,function*(){var U;if(!this['isActive'])return;let V;this['event'](B['MomentAction']['ShareClick'],{}),this['pause'](),V=location['href']['includes']('blaze/moment')?null===window||void 0x0===window?void 0x0:window['location']['href']:location['href']['includes']('#')?location['href']+'&blaze/moment/'+this['data']['id']:location['href']+'#blaze/moment/'+this['data']['id'],(null===navigator||void 0x0===navigator?void 0x0:navigator['share'])?navigator['share']({'text':this['data']['title'],'url':V})['then'](()=>{this['event'](B['MomentAction']['ShareSuccess'],{});})['catch'](W=>{var X;'AbortError'!==W['name']&&(null===(X=this['shareModal'])||void 0x0===X||X['open'](V));})['finally'](()=>{this['resume']();}):null===(U=this['shareModal'])||void 0x0===U||U['open'](V);});}['load'](){return w(this,arguments,void 0x0,function*(U='direct'){var V;yield null===(V=this['video'])||void 0x0===V?void 0x0:V['load'](U);});}['unload'](){return w(this,void 0x0,void 0x0,function*(){var U;yield null===(U=this['video'])||void 0x0===U?void 0x0:U['unload']();});}['playToggle'](){if(!this['isActive']||!this['video'])return;const U=!this['video']['paused'];this['event'](this['video']['paused']?B['MomentAction']['PlaybackPlay']:B['MomentAction']['PlaybackPause'],{'playback_action_method':'Click'}),this['video']['paused']?(this['resume'](),this['isPausedManually']=!0x1):(this['pause'](),this['isPausedManually']=!0x0,z['contentAccessibilityManager']['announceUserAction']('moment',U?'playing':'paused',{'trigger':'user','action':U?'playing':'paused'}));}['handleOnMuteUnmuteToggle'](){if(!this['isActive'])return;const U=!H['VideoPlayerService']['isMuted'];H['VideoPlayerService']['isMuted']=U,this['event'](B['MomentAction']['Audio'],{}),this['video']&&(this['video']['muted']=H['VideoPlayerService']['isMuted']),document['dispatchEvent'](new Event(x['MUTE_UNMUTE_EVENT'])),z['contentAccessibilityManager']['announceUserAction']('moment',H['VideoPlayerService']['isMuted']?'muted':'unmuted',{'trigger':'user','action':H['VideoPlayerService']['isMuted']?'muted':'unmuted'}),this['updateButtonAccessibilityLabels']();}['setData'](U){var V,W,X,Y;U&&(this['data']=U,this['updateContent']({'title':U['title'],'description':(null==U?void 0x0:U['description'])||'','subtitle':(null==U?void 0x0:U['subtitle'])||''}),this['updateCta'](this['data']['cta']),this['updateLikeCount'](this['data']['likes']),this['momentIndex']=U['momentIndexInPlaylist'],this['originalVideoRef']||(this['originalVideoRef']=new O['BlazeWidgetVideo'](this),this['originalVideoRef']['setData'](this['data']),this['originalVideoRef']['onended']=this['restartVideo']['bind'](this)),'Ad'===this['data']['type']?(this['video']=new x['BlazeWidgetAd'](this),this['video']['setData'](Object['assign']({'id':this['data']['id'],'type':'Ad','duration':0x0,'hasViewed':!0x1,'ignoreReadStatusForStory':!0x1,'createTime':new Date()['toLocaleString']()},'Web'===(null===(V=this['data']['adInfo'])||void 0x0===V?void 0x0:V['type'])&&{'adInfo':this['data']['adInfo']})),this['video']['onended']=this['restartVideo']['bind'](this)):'Video'===this['data']['baseLayer']['type']&&(this['video']=this['originalVideoRef']),this['video']&&this['container']['prepend'](this['video']),this['video']&&(this['seekBar']['remove'](),this['seekBar']=new x['BlazeWidgetMomentSeekBar'](this['video'],(null===(W=this['playerStyle'])||void 0x0===W?void 0x0:W['seekBar'])||J['Presets']['DefaultMomentStyle']['seekBar']),this['bottomContainer']['prepend'](this['seekBar'])),this['seekBar']['onResume']=(0x0,z['debounce'])(()=>w(this,void 0x0,void 0x0,function*(){this['isMomentPausedByPlayPauseButton']&&this['event'](B['MomentAction']['PlaybackPlay'],{}),this['resume']();}),0x64),this['seekBar']['onPause']=(0x0,z['debounce'])(()=>w(this,void 0x0,void 0x0,function*(){this['pause']();}),0x64),this['adjustContentView'](),(null===(Y=null===(X=this['playerStyle'])||void 0x0===X?void 0x0:X['followButton'])||void 0x0===Y?void 0x0:Y['isVisible'])&&(this['followButtonElement']&&(this['followButtonElement']['remove'](),this['followButtonElement']=void 0x0),this['configureFollowButton']()),this['render'](),this['updateContentAccessibilityAfterDataChange'](),this['registerMomentAccessibility'](),this['updateButtonAccessibilityLabels'](),this['setupActivityObservers']());}['setupActivityObservers'](){this['activitySubscriptions']['forEach'](U=>U['unsubscribed']()),this['activitySubscriptions']=[],this['activitySubscriptions']['push'](I['UserActivityObserverService']['onMomentLikeChanged'](U=>{U['momentId']===this['data']['id']&&this['playerStyle']&&(this['isLiked']=U['isLiked'],this['updateLikeButtonUI']());}));}['updateLikeButtonUI'](){var U,V;const W=this['isLiked']?null===(U=this['playerStyle'])||void 0x0===U?void 0x0:U['icons']['like']:null===(V=this['playerStyle'])||void 0x0===V?void 0x0:V['icons']['unlike'];W&&this['likeButtonElement']['setIconUrl'](W),this['updateLikeCount']();}['updateData'](U){return w(this,void 0x0,void 0x0,function*(){var V,W,X,Y,Z,a0,a1,a2,a3,a4,a5;const {data:a6,shouldShowImaAdOnStart:a7,adInfo:a8,contentExtraInfo:a9,momentIndex:aa}=U,ab=null===(V=a6['closedCaptions'])||void 0x0===V?void 0x0:V['find'](ac=>''+ac['language']===localStorage['getItem'](B['LOCAL_STORAGE_KEY_LAST_SELECTED']));this['isLiked']=!0x1,this['playerStyle']&&this['likeButtonElement']['setIconUrl'](null===(W=this['playerStyle'])||void 0x0===W?void 0x0:W['icons']['unlike']),null===(X=this['video'])||void 0x0===X||X['remove'](),this['setData'](a6),this['momentIndex']=aa,null===(Y=this['video'])||void 0x0===Y||Y['setAttribute']('is-captions-visible',ab?'true':'false'),null===(Z=this['closedCaptionsModal'])||void 0x0===Z||Z['reloadData'](a6['closedCaptions']),this['closedCaptionButtonElement']['setIconUrl']((ab?null===(a0=this['playerStyle'])||void 0x0===a0?void 0x0:a0['icons']['closedCaptionsOn']:null===(a1=this['playerStyle'])||void 0x0===a1?void 0x0:a1['icons']['closedCaptionsOff'])||''),this['closedCaptionButtonElement']['setAttribute']('disabled',(null===(a2=this['data']['closedCaptions'])||void 0x0===a2?void 0x0:a2['length'])?'false':'true'),this['data']=a6,this['shouldShowImaAdOnStart']=a7,this['adInfo']=a8,this['contentExtraInfo']=a9,null===(a3=this['video'])||void 0x0===a3||a3['setData'](a6),this['video']&&this['seekBar']['setVideo'](this['video']),this['pause'](),(null===(a5=null===(a4=this['playerStyle'])||void 0x0===a4?void 0x0:a4['followButton'])||void 0x0===a5?void 0x0:a5['isVisible'])&&(this['followButtonElement']&&(this['followButtonElement']['remove'](),this['followButtonElement']=void 0x0),this['configureFollowButton']()),this['registerMomentAccessibility'](),this['updateButtonAccessibilityLabels']();});}['updateContent'](U){if(this['playerStyle']){switch(this['playerStyle']['headingText']['contentSource']){case'TITLE':this['headElement']['innerHTML']=U['title'];break;case'SUBTITLE':this['headElement']['innerHTML']=U['subtitle'];}switch(this['playerStyle']['bodyText']['contentSource']){case'TITLE':this['bodyElement']['innerHTML']=U['title'];break;case'SUBTITLE':this['bodyElement']['innerHTML']=U['subtitle'];break;case'DESCRIPTION':this['bodyElement']['innerHTML']=U['description'];}}}['updateLikeCount'](U){return w(this,void 0x0,void 0x0,function*(){var V,W,X,Y;const {id:Z,likes:a0}=this['data'];this['isLiked']=yield H['LikeService']['isMomentLiked'](Z);let a1=null!=U?U:a0;if(a1=this['isLiked']?a1+0x1:a1,this['likeCountElement']){const a2=this['isLiked']?null===(V=this['playerStyle'])||void 0x0===V?void 0x0:V['icons']['like']:null===(W=this['playerStyle'])||void 0x0===W?void 0x0:W['icons']['unlike'],a3=null===(Y=null===(X=this['playerStyle'])||void 0x0===X?void 0x0:X['likeText'])||void 0x0===Y?void 0x0:Y['likeCountThreshold'],a4=0x0===a1||a3&&a1<a3?'hidden':'visible';a2&&this['likeButtonElement']['setIconUrl'](a2),this['likeCountElement']['innerText']=(0x0,M['formatLikes'])(a1),this['likeCountElement']['style']['opacity']='hidden'===a4?'0':'1';}});}['updateCta'](U){U&&U['url']&&U['text']&&U['backgroundColor']&&U['textColor']?(this['ctaButtonElement']['setAttribute']('href',U['url']),this['ctaButtonElement']['setAttribute']('text',U['text']),this['ctaButtonElement']['setAnchorButtonStyles'](Object['assign']({'color':U['textColor'],'background':U['backgroundColor']},A['BlazeCtaButton']['getBorderOutlineStyles'](U['borderWidth'],U['borderColor']))),this['ctaButtonElement']['setAttribute']('hidden-btn','false'),this['bottomContainer']['setStyle']({'justifyContent':'flex-start'})):(this['ctaButtonElement']['setAttribute']('hidden-btn','true'),this['bottomContainer']['setStyle']({'justifyContent':'center'}));}['onCtaClick'](U){var V,W,X,Y,Z,a0,a1;return this['event'](B['MomentAction']['CtaClick'],{}),(null===(W=null===(V=this['refContentModal'])||void 0x0===V?void 0x0:V['parentWidget'])||void 0x0===W?void 0x0:W['id'])&&H['EventService']['dispatch'](null===(X=this['refContentModal'])||void 0x0===X?void 0x0:X['parentWidget'],D['Delegation']['onWidgetTriggerCTA'],{'widgetId':null===(Z=null===(Y=this['refContentModal'])||void 0x0===Y?void 0x0:Y['parentWidget'])||void 0x0===Z?void 0x0:Z['id'],'actionType':'URL','actionParam':this['ctaButtonElement']['getAttribute']('href')}),null===(a0=this['shareModal'])||void 0x0===a0||a0['close'](),this['exitTrigger']='CTA\x20Click',this['event'](B['MomentAction']['MomentExit'],{}),this['event'](B['MomentAction']['MomentsPlaylistExit'],{}),(null===(a1=this['video'])||void 0x0===a1?void 0x0:a1['paused'])||(this['resumeAfterfocus']=!0x0,this['pause']()),!0x0;}['play'](){var U,V,W;this['isConnected']&&(this['sessionId']=(0x0,M['getRandomId'])(),this['video']&&(this['video']['shouldShowImaAd']=this['shouldShowImaAdOnStart'],'Content'===(null===(U=this['video']['data'])||void 0x0===U?void 0x0:U['type'])&&(this['event'](B['MomentAction']['MomentStart'],{}),H['EventService']['dispatch'](this,D['Delegation']['onMomentStart'],{'momentIndex':this['momentIndex'],'totalMomentsCount':this['modal']['data']['length']}),this['video']['data']['adInfo']=this['adInfo']),this['event'](B['MomentAction']['PlaybackInitialStart'],{}),this['adjustContentView'](),this['updatePlayerButtonIcons'](),this['video']['muted']=H['VideoPlayerService']['isMuted'],this['video']['display'](()=>{this['modal']['handleClickNavigation']('NEXT');}),this['video']instanceof O['BlazeWidgetVideo']&&(null===(W=(V=this['video'])['tryToAddLoader'])||void 0x0===W||W['call'](V)),this['video']['play'](),H['VideoPlayerService']['isPlaying']=!0x0,this['isActive']=!0x0,this['seekBar']['setAttribute']('is-active','true'),this['seekBar']['onContentResumed'](!0x0),H['MomentService']['updateMomentReadStatusById'](this['data']['id']),this['data']['hasViewed']=!0x0,this['updateWidgetStatusReadUnread'](),this['updateButtonAccessibilityLabels']()));}['handleOnCustomActionButtonClick'](U,V){V['onClick'](U,this['data']['entities']),this['event'](B['MomentAction']['CustomActionButtonClick'],{'custom_action_button_name':V['buttonName']});}['handleOnClose'](){this['pause'](),this['modal']['close']();}['handleOnLikeClick'](){var U,V;this['isLiked']=!this['isLiked'],this['event'](this['isLiked']?B['MomentAction']['Like']:B['MomentAction']['Unlike'],{}),H['LikeService']['updateMomentLike'](this['isLiked'],this['data']['id']);const W=this['isLiked']?null===(U=this['playerStyle'])||void 0x0===U?void 0x0:U['icons']['like']:null===(V=this['playerStyle'])||void 0x0===V?void 0x0:V['icons']['unlike'];W&&this['likeButtonElement']['setIconUrl'](W),this['updateLikeCount'](),z['contentAccessibilityManager']['announceUserAction']('moment',this['isLiked']?'liked':'unliked',{'trigger':'user','action':this['isLiked']?'liked':'unliked'}),this['updateButtonAccessibilityLabels']();}['handleFollowAnalytics'](U){var V,W;const X=(0x0,L['generateFollowStateForAnalytics'])(null===(V=this['followButtonElement'])||void 0x0===V?void 0x0:V['entityId'],null===(W=this['followButtonElement'])||void 0x0===W?void 0x0:W['entityType'],z['FollowingsManager']),Y=U['newFollowingState']?B['MomentAction']['Follow']:B['MomentAction']['Unfollow'];this['event'](Y,{'follow_state':X});}['pause'](){var U;null===(U=this['video'])||void 0x0===U||U['pause'](),H['VideoPlayerService']['isPlaying']=!0x1,this['updatePlayerButtonIcons'](),this['isActive']&&this['seekBar']['onContentPaused'](),this['updateButtonAccessibilityLabels']();}['resume'](){var U;this['video']&&('Content'!==this['data']['type']||(null===(U=this['video'])||void 0x0===U?void 0x0:U['paused']))&&(this['video']['play'](),H['VideoPlayerService']['isPlaying']=!0x0,this['updatePlayerButtonIcons'](),this['removeResumeButtonFromScreen'](),this['seekBar']['onContentResumed'](!0x1),this['updateButtonAccessibilityLabels']());}['removeResumeButtonFromScreen'](){this['playPauseButtonElement']['setIconUrl'](''),this['isMomentPausedByPlayPauseButton']=!0x1;}['resetPosition'](){this['video']&&this['video']['currentTime']>=0.2&&(this['video']['currentTime']=0x0);}['restartVideo'](){this['video']&&(this['resetPosition'](),this['video']['muted']=H['VideoPlayerService']['isMuted'],H['VideoPlayerService']['isPlaying']&&this['video']['play'](),this['loopNumber']++);}['adjustContentView'](){var U,V,W,X,Y,Z,a0;return(null===(U=this['video'])||void 0x0===U?void 0x0:U['shouldShowImaAd'])?(this['elementsToHideOnImaAds']['forEach'](a1=>{a1&&(a1['style']['visibility']='hidden');}),null===(V=this['modal']['nextContentButtonElement'])||void 0x0===V||V['setAttribute']('disabled','true'),null===(W=this['modal']['prevContentButtonElement'])||void 0x0===W||W['setAttribute']('disabled','true'),this['topButtonsContainer']['style']['marginTop']='30px',this['topButtonsContainer']['querySelectorAll']('blaze-button')['forEach'](a1=>{a1['style']['display']=a1===this['muteButtonElement']?'flex':'none';}),void this['video']['setAttribute']('is-captions-visible','false')):'Ad'===(null===(Y=null===(X=this['video'])||void 0x0===X?void 0x0:X['data'])||void 0x0===Y?void 0x0:Y['type'])?(this['elementsToHideOnCustomAds']['forEach'](a1=>{a1&&(a1['style']['visibility']='hidden');}),'no-ad'===H['VideoPlayerService']['muteStateBeforeAd']&&(H['VideoPlayerService']['muteStateBeforeAd']=H['VideoPlayerService']['isMuted']?'mute':'unmute'),'unmute'===H['VideoPlayerService']['muteStateBeforeAd']&&(H['VideoPlayerService']['isMuted']=!0x0,this['updatePlayerButtonIcons']()),this['topButtonsContainer']['style']['marginTop']='30px',this['topButtonsContainer']['querySelectorAll']('blaze-button')['forEach'](a1=>{a1['style']['display']=a1===this['muteButtonElement']?'flex':'none';}),void this['video']['setAttribute']('is-captions-visible','false')):([...this['elementsToHideOnCustomAds'],...this['elementsToHideOnImaAds']]['forEach'](a1=>{a1&&(a1['style']['visibility']='visible');}),null===(Z=this['modal']['nextContentButtonElement'])||void 0x0===Z||Z['setAttribute']('disabled','false'),null===(a0=this['modal']['prevContentButtonElement'])||void 0x0===a0||a0['setAttribute']('disabled','false'),'no-ad'!==H['VideoPlayerService']['muteStateBeforeAd']&&(H['VideoPlayerService']['isMuted']='mute'===H['VideoPlayerService']['muteStateBeforeAd'],H['VideoPlayerService']['muteStateBeforeAd']='no-ad',document['dispatchEvent'](new Event(x['MUTE_UNMUTE_EVENT']))),this['topButtonsContainer']['style']['marginTop']='5px',void this['topButtonsContainer']['querySelectorAll']('blaze-button')['forEach'](a1=>{a1['style']['display']='flex';}));}['event'](U,V){return w(this,arguments,void 0x0,function*(W,X,Y=void 0x0){var Z,a0,a1,a2,a3,a4;try{const a5=this['getRefferingObject']();if('Content'===this['data']['type']){switch(X['moment_id']=this['data']['id'],X['moment_title']=this['data']['title'],X['moment_index']=this['momentIndex'],X['audio_state']=H['VideoPlayerService']['isMuted']?'Mute':'Unmute',X['cc_state']=(0x0,K['convertCcLanguageToState'])(this['data']['closedCaptions'],localStorage['getItem'](B['LOCAL_STORAGE_KEY_LAST_SELECTED'])),X['loop_number']=this['loopNumber']['toString'](),X['moments_session_id']=this['modal']['playlistSessionId'],X['follow_state']=(0x0,L['generateFollowStateForAnalytics'])(null===(Z=this['followButtonElement'])||void 0x0===Z?void 0x0:Z['entityId'],null===(a0=this['followButtonElement'])||void 0x0===a0?void 0x0:a0['entityType'],z['FollowingsManager']),X['moment_duration']=yield this['video']['getVideoDuration'](),'true'===(null===(a1=H['AppConfigurationService']['appConfigurations'])||void 0x0===a1?void 0x0:a1['configurations']['analyticsAddEntitiesInfo'])&&(X['content_extra_info']=JSON['stringify'](this['data']['extraInfo'])),W){case B['MomentAction']['MomentsPlaylistStart']:X['moment_start_trigger']=this['startTrigger'];break;case B['MomentAction']['MomentStart']:X['user_lifetime_engagements']=null!==(a3=null===(a2=H['UserActivityFetchManager']['totalActivities'])||void 0x0===a2?void 0x0:a2['moments'])&&void 0x0!==a3?a3:null;break;case B['MomentAction']['MomentsPlaylistExit']:X['moment_exit_trigger']=this['exitTrigger'];break;case B['MomentAction']['MomentExit']:X['moment_navigation_type']=this['navigationType'],X['moment_navigation_direction']=this['navigationDirection'],X['moment_duration_viewed_percent']=Math['round'](0x2710*((null===(a4=this['video'])||void 0x0===a4?void 0x0:a4['progress'])||0x0))/0x64;}X['localization']=this['data']['retrievedLanguages']||{},H['AnalyticsService']['pushMomentEvent'](W,X,Y,a5);}}catch(a6){}});}['registerMomentAccessibility'](){var U,V,W,X;this['data']['id']&&z['contentAccessibilityManager']['registerContentWidget'](this['data']['id'],{'widget':this,'buttons':{'play':this['playPauseButtonElement'],'mute':this['muteButtonElement'],'like':this['likeButtonElement'],'share':this['shareButtonElement'],'close':this['closeButtonElement'],'captions':this['closedCaptionButtonElement'],'cta':this['ctaButtonElement'],'custom1':this['customActionButtonOneElement'],'custom2':this['customActionButtonTwoElement'],'nextMoment':this['modal']['nextContentButtonElement'],'prevMoment':this['modal']['prevContentButtonElement'],'follow':this['followButtonElement']},'data':{'id':this['data']['id'],'title':this['data']['title'],'isPlaying':!!this['video']&&!this['video']['paused'],'isMuted':null===(U=this['video'])||void 0x0===U?void 0x0:U['muted'],'isLiked':this['isLiked'],'ctaText':null===(V=this['data']['cta'])||void 0x0===V?void 0x0:V['text'],'isFollowed':null!==(X=null===(W=this['followButtonElement'])||void 0x0===W?void 0x0:W['isFollowed'])&&void 0x0!==X&&X}},'moment');}['updateAccessibilityLabels'](){if(!this['data']['id'])return;const U=this['buildMomentAccessibilityState']();z['contentAccessibilityManager']['updateButtonLabels'](this['data']['id'],U);}['buildMomentAccessibilityState'](){var U,V,W,X,Y,Z;return{'id':this['data']['id'],'title':this['data']['title'],'description':this['data']['description'],'ctaText':null===(U=this['data']['cta'])||void 0x0===U?void 0x0:U['text'],'isPlaying':!!this['video']&&!this['video']['paused'],'isMuted':null!==(W=null===(V=this['video'])||void 0x0===V?void 0x0:V['muted'])&&void 0x0!==W&&W,'isLiked':this['isLiked'],'duration':null===(X=this['video'])||void 0x0===X?void 0x0:X['duration'],'isFollowed':null!==(Z=null===(Y=this['followButtonElement'])||void 0x0===Y?void 0x0:Y['isFollowed'])&&void 0x0!==Z&&Z};}['updateContentAccessibilityAfterDataChange'](){var U;this['data']['id']&&z['contentAccessibilityManager']['updateButtonLabels'](this['data']['id'],{'title':this['data']['title'],'ctaText':null===(U=this['data']['cta'])||void 0x0===U?void 0x0:U['text']});}['updateButtonAccessibilityLabels'](){var U;this['data']['id']&&z['contentAccessibilityManager']['updateButtonLabels'](this['data']['id'],{'isPlaying':!!this['video']&&!this['video']['paused'],'isMuted':null===(U=this['video'])||void 0x0===U?void 0x0:U['muted'],'isLiked':this['isLiked']});}['enableAllButtons'](){const U=this['getAllFocusableButtons']();this['setButtonsAccessibilityState'](U,!0x0);}['disableAllButtons'](){const U=this['getAllFocusableButtons']();this['setButtonsAccessibilityState'](U,!0x1);}['setButtonsAccessibilityState'](U,V){V?(K['AccessibilityUtils']['setElementsAccessible'](U),this['enableAnchorElements']()):(K['AccessibilityUtils']['setElementsInaccessible'](U),this['disableAnchorElements']());}['enableAnchorElements'](){const U=this['querySelector']('a');U&&U['setAttribute']('tabindex','0');}['disableAnchorElements'](){const U=this['querySelector']('a');U&&U['setAttribute']('tabindex','-1');}['getAllFocusableButtons'](){return this['getMomentButtonsForAccessibility']();}['getMomentButtonsForAccessibility'](){return[this['playPauseButtonElement'],this['muteButtonElement'],this['shareButtonElement'],this['closeButtonElement'],this['closedCaptionButtonElement'],this['customActionButtonOneElement'],this['customActionButtonTwoElement'],this['likeButtonElement'],this['ctaButtonElement'],this['followButtonElement'],this['bodyElement'],this['headElement'],this['bottomContainer']]['filter'](Boolean);}['render'](){this['data']&&this['video']&&this['playerStyle']&&(this['updatePlayerButtonIcons'](),this['updateLayoutPositioning'](),this['styleContent'](this['headElement'],this['playerStyle']['headingText'],'HEADING_CONTENT'),this['styleContent'](this['bodyElement'],this['playerStyle']['bodyText'],'BODY_CONTENT'),this['applyLikeStyle'](),this['applyShareStyle'](),this['applyCtaButtonStyles']());}}k['BlazeWidgetMoment']=T;},0x1f89:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1f9e:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ConfigService']=void 0x0;const j=g(0x614),k=g(0x175);class l extends(0x0,j['Singleton'])(){constructor(){super(),this['_sendAnalytics']=!0x0,this['_disableAnalytics']=!0x1,this['_disableUserActivity']=!0x1,this['_doNotTrack']=!0x1,this['_staticContent']=!0x1,this['_runInShadowDom']=!0x0,this['_shouldModifyUrlWithStoryId']=!0x0,this['_shouldModifyUrlWithContentId']=!0x0,this['_shouldDismissPlayer']=!0x1,this['_shouldAutoAdvance']=!0x1,this['_shouldCreateUser']=!0x0,this['_shouldAllowHorizontalStories']=!0x1,this['_preferredLanguage']=void 0x0,this['_appContext']={},this['_analyticsUrls']={'prod':'https://blaze-audit.clipro.tv/api/eventaudit/v1','uat':'https://blaze-audit-uat.clipro.tv/api/eventaudit/v1','local':'https://blaze-audit-uat.clipro.tv/api/eventaudit/v1'},this['_loggerUrls']={'prod':'https://blazelogger.clipro.tv/api/blazelogger/v1/logs','uat':'https://blazelogger-uat.clipro.tv/api/blazelogger/v1/logs','local':'https://blazelogger-uat.clipro.tv/api/blazelogger/v1/logs'},this['_userActivityUrls']={'prod':'https://blaze.clipro.tv/api/useractivity/v1.0','uat':'https://blaze-uat.clipro.tv/api/useractivity/v1.0','local':'https://blaze-uat.clipro.tv/api/useractivity/v1.0'};}['init'](m){return h(this,void 0x0,void 0x0,function*(){const {apiKey:q,environment:x,sendAnalytics:z,disableAnalytics:B,disableUserActivity:D,previewMomentUrl:F,previewUrl:G,doNotTrack:H,externalUserId:J,geoLocation:K,staticContent:L,staticContentType:N,runInShadowDom:O,shouldModifyUrlWithStoryId:P,shouldModifyUrlWithContentId:Q,shouldDismissPlayer:R,shouldCreateUser:U,prefetchingPolicy:V,shouldAllowHorizontalStories:W,shouldAutoAdvance:X,autoAdvanceUrl:Y,layoutDirection:Z,shouldAllowClosedCaptions:a0,disableAutoLoadingContent:a1,preferredLanguage:a2,cdnTimeout:a3}=m;this['environment']=x||'prod',this['prefetchingPolicy']=V||'default',this['_apiKey']=q,this['_previewUrl']=G,this['_previewMomentUrl']=F,this['_externalUserId']=J||'',this['_geoLocation']=K||'',this['_prefetchingPolicy']=V,this['_autoAdvanceUrl']=Y||'',this['_layoutDirection']=Z,this['_shouldAllowClosedCaptions']=a0,this['_disableAutoLoadingContent']=a1,a2&&(this['_preferredLanguage']=a2),void 0x0!==a3&&k['CDN_TIMEOUT_MIN'],this['_cdnTimeout']=void 0x0!==a3&&a3>=k['CDN_TIMEOUT_MIN']?a3:void 0x0,!0x0===L&&(this['_staticContent']=!0x0),N&&(this['_staticContentType']=N),!0x0===H&&(this['_doNotTrack']=!0x0),!0x0===W&&(this['_shouldAllowHorizontalStories']=!0x0),!0x1===z&&(this['_sendAnalytics']=!0x1),!0x0===B&&(this['_disableAnalytics']=!0x0),!0x0===D&&(this['_disableUserActivity']=!0x0),!0x1===O&&(this['_runInShadowDom']=!0x1),!0x1===P&&(this['_shouldModifyUrlWithStoryId']=!0x1),!0x1===Q&&(this['_shouldModifyUrlWithContentId']=!0x1),!0x0===R&&(this['_shouldDismissPlayer']=!0x0),!0x0===X&&(this['_shouldAutoAdvance']=!0x0),!0x1===U&&(this['_shouldCreateUser']=!0x1);});}get['environment'](){if(!this['_environment'])throw new Error('Environment\x20not\x20set');return this['_environment'];}set['environment'](m){this['_environment']=m,this['_analyticsApiUrl']=this['_analyticsUrls'][m],this['_loggerApiUrl']=this['_loggerUrls'][m],this['_userActivityApiUrl']=this['_userActivityUrls'][m];}get['sendAnalytics'](){return this['_sendAnalytics'];}get['disableAnalytics'](){return this['_disableAnalytics'];}set['disableAnalytics'](m){this['_disableAnalytics']=m;}get['disableUserActivity'](){return this['_disableUserActivity'];}set['disableUserActivity'](m){this['_disableUserActivity']=m;}get['shouldCreateUser'](){return this['_shouldCreateUser'];}get['analyticsApiUrl'](){if(!this['_analyticsApiUrl'])throw new Error('Analytics\x20API\x20url\x20not\x20set');return this['_analyticsApiUrl'];}get['loggerApiUrl'](){if(!this['_loggerApiUrl'])throw new Error('Logger\x20API\x20url\x20not\x20set');return this['_loggerApiUrl'];}get['externalUserId'](){return this['_externalUserId']?this['_externalUserId']:null;}set['externalUserId'](m){this['_externalUserId']=m;}get['doNotTrack'](){return this['_doNotTrack'];}set['doNotTrack'](m){this['_doNotTrack']=m;}get['shouldAllowHorizontalStories'](){return this['_shouldAllowHorizontalStories'];}set['shouldAllowHorizontalStories'](m){this['_shouldAllowHorizontalStories']=m;}get['geoLocation'](){return this['_geoLocation'];}set['geoLocation'](m){this['_geoLocation']=m;}get['staticContent'](){return this['_staticContent'];}set['staticContent'](m){this['_staticContent']=m;}get['staticContentType'](){return this['_staticContentType'];}set['staticContentType'](m){this['_staticContentType']=m;}get['userActivityApiUrl'](){if(!this['_userActivityApiUrl'])throw new Error('User\x20Activity\x20API\x20url\x20not\x20set');return this['_userActivityApiUrl'];}get['apiKey'](){if(!this['_apiKey'])throw new Error('API\x20key\x20not\x20set');return this['_apiKey'];}get['previewUrl'](){if(!this['_previewUrl'])throw new Error('Preview\x20url\x20not\x20set');return this['_previewUrl'];}get['previewMomentsUrl'](){if(!this['_previewMomentUrl'])throw new Error('Preview\x20moments\x20url\x20not\x20set');return this['_previewMomentUrl'];}get['runInShadowDom'](){return this['_runInShadowDom'];}get['playerStyleCustomization'](){return this['_playerStyleCustomization'];}set['playerStyleCustomization'](m){this['_playerStyleCustomization']=m;}get['shouldModifyUrlWithStoryId'](){return this['_shouldModifyUrlWithStoryId'];}get['shouldModifyUrlWithContentId'](){return this['_shouldModifyUrlWithContentId'];}get['shouldDismissPlayer'](){return this['_shouldDismissPlayer'];}get['shouldAutoAdvance'](){return this['_shouldAutoAdvance'];}get['autoAdvanceUrl'](){return this['_autoAdvanceUrl'];}get['googleCustomNativeAdHandler'](){return this['_googleCustomNativeAdHandler'];}set['googleCustomNativeAdHandler'](m){this['_googleCustomNativeAdHandler']=m;}get['imaAdHandler'](){return this['_imaAdHandler'];}set['imaAdHandler'](m){this['_imaAdHandler']=m;}get['prefetchingPolicy'](){if(!this['_prefetchingPolicy'])throw new Error('Prefetching\x20policy\x20not\x20set');return this['_prefetchingPolicy'];}set['prefetchingPolicy'](m){this['_prefetchingPolicy']=m;}get['excludeContentId'](){return this['_excludeContentId'];}set['excludeContentId'](m){this['_excludeContentId']=m;}get['layoutDirection'](){return this['_layoutDirection'];}set['layoutDirection'](m){this['_layoutDirection']=m;}get['shouldAllowClosedCaptions'](){return this['_shouldAllowClosedCaptions'];}get['appContext'](){return this['_appContext'];}set['appContext'](m){this['_appContext']=m;}get['disableAutoLoadingContent'](){return this['_disableAutoLoadingContent'];}set['disableAutoLoadingContent'](m){this['_disableAutoLoadingContent']=m;}get['onItemClick'](){return this['_onItemClick'];}set['onItemClick'](m){this['_onItemClick']=m;}get['beforeContentPlayCallback'](){return this['_beforeContentPlayCallback'];}set['beforeContentPlayCallback'](m){this['_beforeContentPlayCallback']=m;}get['preferredLanguage'](){return this['_preferredLanguage'];}set['preferredLanguage'](m){this['_preferredLanguage']=m;}get['cdnTimeout'](){return this['_cdnTimeout'];}}f['ConfigService']=l['getInstance']();},0x1fa7:(f,g,h)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeFollowButton']=void 0x0;const j=h(0x1133),k=h(0x22d9),m=h(0x2432),p=h(0x132a),q=h(0x15c5),u=h(0x115),v={'text':{'chip':{'followed':{'width':'24px','height':'24px'},'unfollowed':{'width':'54px','height':'24px'}}},'icon':{'chip':{'followed':{'width':'28px','height':'28px'},'unfollowed':{'width':'28px','height':'28px'}}}};class w extends j['BaseWidget']{constructor(x){super(),this['playerStyle']=x,this['_isFollowing']=!0x1,this['handleClick']=y=>{const z=!this['_isFollowing'];m['SharedEventTarget']['dispatchEvent'](new CustomEvent(q['FOLLOW_BUTTON_STATE_CHANGE'],{'detail':{'isFollowing':z,'entityId':this['_entityId'],'entityType':this['_entityType']}})),z?j['FollowingsManager']['follow'](this['_entityId']):j['FollowingsManager']['unfollow'](this['_entityId']),this['onToggle']&&this['onToggle'](y,{'sourceId':this['_sourceId'],'sourceContentType':this['_sourceContentType'],'newFollowingState':z,'followEntity':{'entityId':this['_entityId'],'entityType':this['_entityType']}});},this['handleStateChange']=y=>{const z=y['detail'];z['entityId']===this['_entityId']&&z['entityType']===this['_entityType']&&(this['_isFollowing']=z['isFollowing'],this['applyStateToUi'](),this['updateAriaLabel']());},this['onMouseEnter']=()=>{this['containerEl']['style']['transform']='scale(1.1)';},this['onMouseLeave']=()=>{this['containerEl']['style']['transform']='scale(1)';},this['handlePressKeyboard']=y=>{'Enter'!==y['key']&&'\x20'!==y['key']||(y['preventDefault'](),this['handleClick'](y));},this['setAttribute']('data-testid','follow-button'),this['containerEl']=k['WidgetsFactory']['create']('blaze-div'),this['avatarEl']=k['WidgetsFactory']['create']('blaze-div'),this['chipEl']=k['WidgetsFactory']['create']('blaze-div'),this['chipContentWrapperEl']=k['WidgetsFactory']['create']('blaze-div'),this['checkMarkIconEl']=k['WidgetsFactory']['create']('blaze-div'),this['plusIconEl']=k['WidgetsFactory']['create']('blaze-div'),this['textEl']=k['WidgetsFactory']['create']('blaze-div'),(0x0,m['mergeStyles'])(this,{'display':'inline-flex','cursor':'pointer','userSelect':'none','outline':'none','WebkitTapHighlightColor':'transparent','flexShrink':'0','flexGrow':'0','paddingBottom':'12px'}),this['setupContainer'](),this['setupAvatar'](),this['setupChip']();}['connectedCallback'](){this['_entityId']&&this['_entityType']&&this['_avatarUrl']&&(this['_isFollowing']=j['FollowingsManager']['isFollowing'](this['_entityId']),this['contains'](this['containerEl'])||(this['containerEl']['append'](this['avatarEl'],this['chipEl']),this['append'](this['containerEl'])),this['addEventListener']('click',this['handleClick']),this['addEventListener']('mouseenter',this['onMouseEnter']),this['addEventListener']('mouseleave',this['onMouseLeave']),this['addEventListener']('keydown',this['handlePressKeyboard']),m['SharedEventTarget']['addEventListener'](q['FOLLOW_BUTTON_STATE_CHANGE'],this['handleStateChange']),this['setAttribute']('role','button'),this['setAttribute']('tabindex','0'),this['applyStateToUi'](),this['updateAvatarBackground'](),this['updateAriaLabel']());}['disconnectedCallback'](){this['removeEventListener']('click',this['handleClick']),this['removeEventListener']('mouseenter',this['onMouseEnter']),this['removeEventListener']('mouseleave',this['onMouseLeave']),this['removeEventListener']('keydown',this['handlePressKeyboard']),m['SharedEventTarget']['removeEventListener'](q['FOLLOW_BUTTON_STATE_CHANGE'],this['handleStateChange']);}['setEntity'](x,y){this['_entityId']=x,this['_entityType']=y;}['setAvatar'](x){this['_avatarUrl']=x,this['updateAvatarBackground']();}['setSource'](x,y){this['_sourceId']=x,this['_sourceContentType']=y;}get['entityId'](){return this['_entityId'];}get['entityType'](){return this['_entityType'];}get['isFollowed'](){return this['_isFollowing'];}['updateAriaLabel'](){const x=this['_isFollowing']?'Unfollow':'Follow';this['setAriaLabel'](x);}['setupContainer'](){(0x0,m['mergeStyles'])(this['containerEl'],{'display':'inline-flex','flexDirection':'column','alignItems':'center','position':'relative','transition':'transform\x200.2s\x20ease-in-out'});}['setupAvatar'](){var x,y;const z=null===(y=null===(x=this['playerStyle'])||void 0x0===x?void 0x0:x['followButton'])||void 0x0===y?void 0x0:y['avatar'];(0x0,m['mergeStyles'])(this['avatarEl'],{'width':'50px','height':'50px','borderRadius':'50%','backgroundSize':'cover','backgroundPosition':'center','flexShrink':'0','boxSizing':'border-box','border':((null==z?void 0x0:z['borderWidth'])||'3px')+'\x20solid\x20'+((this['_isFollowing']?null==z?void 0x0:z['followedBorderColor']:null==z?void 0x0:z['unfollowedBorderColor'])||p['Colors']['White']),'transition':'border-color\x200.3s\x20ease-in-out'});}['setupChip'](){var x,y,z,A;const B=null===(y=null===(x=this['playerStyle'])||void 0x0===x?void 0x0:x['followButton'])||void 0x0===y?void 0x0:y['chip'],C=(this['_isFollowing']?null==B?void 0x0:B['followedBackgroundColor']:null==B?void 0x0:B['unfollowedBackgroundColor'])||p['Colors']['White'];(0x0,m['mergeStyles'])(this['chipEl'],Object['assign']({'display':'flex','justifyContent':'center','alignItems':'center','fontWeight':'bold','position':'absolute','bottom':'-12px','whiteSpace':'nowrap','borderRadius':'14px','fontFamily':p['Presets']['playerFont'],'fontSize':j['TextScaleService']['scaleFontSize']('12px'),'background':C,'color':(null==B?void 0x0:B['color'])||p['Colors']['Black'],'transition':'width\x200.3s\x20ease-in-out,\x20background-color\x200.2s\x20ease-in-out','overflow':'hidden'},v[(null===(A=null===(z=this['playerStyle'])||void 0x0===z?void 0x0:z['followButton'])||void 0x0===A?void 0x0:A['variant'])||'text']['chip'][this['_isFollowing']?'followed':'unfollowed'])),(0x0,m['mergeStyles'])(this['chipContentWrapperEl'],{'display':'flex','alignItems':'center','justifyContent':'center','width':'100%','height':'100%'}),this['setupIcons'](),this['chipEl']['appendChild'](this['chipContentWrapperEl']);}['setupIcons'](){var x,y;const z=null===(y=null===(x=this['playerStyle'])||void 0x0===x?void 0x0:x['followButton'])||void 0x0===y?void 0x0:y['chip'],A=(null==z?void 0x0:z['color'])||p['Colors']['Black'],B={'maskRepeat':'no-repeat','webkitMaskRepeat':'no-repeat','maskPosition':'center','webkitMaskPosition':'center','maskSize':'contain','webkitMaskSize':'contain'};(0x0,m['mergeStyles'])(this['checkMarkIconEl'],Object['assign'](Object['assign']({'width':'20px','height':'20px','backgroundColor':A,'maskImage':'url(\x22'+u['checkMarkSvg']+'\x22)','webkitMaskImage':'url(\x22'+u['checkMarkSvg']+'\x22)'},B),{'display':'none'})),(0x0,m['mergeStyles'])(this['plusIconEl'],Object['assign'](Object['assign']({'width':'12px','height':'12px','backgroundColor':A,'maskImage':'url(\x22'+u['plusSvg']+'\x22)','webkitMaskImage':'url(\x22'+u['plusSvg']+'\x22)'},B),{'display':'none'})),(0x0,m['mergeStyles'])(this['textEl'],{'fontFamily':p['Presets']['playerFont'],'fontSize':j['TextScaleService']['scaleFontSize']('12px'),'fontWeight':'bold','color':A,'display':'none'}),this['textEl']['textContent']='Follow',this['chipContentWrapperEl']['appendChild'](this['checkMarkIconEl']),this['chipContentWrapperEl']['appendChild'](this['plusIconEl']),this['chipContentWrapperEl']['appendChild'](this['textEl']);}['updateIconVisibility'](){var x,y;this['checkMarkIconEl']['style']['display']='none',this['plusIconEl']['style']['display']='none',this['textEl']['style']['display']='none',this['_isFollowing']?this['checkMarkIconEl']['style']['display']='block':'text'===(null===(y=null===(x=this['playerStyle'])||void 0x0===x?void 0x0:x['followButton'])||void 0x0===y?void 0x0:y['variant'])?this['textEl']['style']['display']='block':this['plusIconEl']['style']['display']='block';}['updateIconColors'](){var x,y;const z=null===(y=null===(x=this['playerStyle'])||void 0x0===x?void 0x0:x['followButton'])||void 0x0===y?void 0x0:y['chip'],A=(null==z?void 0x0:z['color'])||p['Colors']['Black'];this['checkMarkIconEl']['style']['backgroundColor']=A,this['plusIconEl']['style']['backgroundColor']=A,this['textEl']['style']['color']=A;}['applyStateToUi'](){var x,y,z,A,B,C;const D=null===(y=null===(x=this['playerStyle'])||void 0x0===x?void 0x0:x['followButton'])||void 0x0===y?void 0x0:y['chip'],E=null===(A=null===(z=this['playerStyle'])||void 0x0===z?void 0x0:z['followButton'])||void 0x0===A?void 0x0:A['avatar'],F=v[(null===(C=null===(B=this['playerStyle'])||void 0x0===B?void 0x0:B['followButton'])||void 0x0===C?void 0x0:C['variant'])||'text']['chip'];(0x0,m['mergeStyles'])(this['chipEl'],Object['assign']({'background':(this['_isFollowing']?null==D?void 0x0:D['followedBackgroundColor']:null==D?void 0x0:D['unfollowedBackgroundColor'])||p['Colors']['White']},F[this['_isFollowing']?'followed':'unfollowed'])),(0x0,m['mergeStyles'])(this['avatarEl'],{'border':((null==E?void 0x0:E['borderWidth'])||'3px')+'\x20solid\x20'+((this['_isFollowing']?null==E?void 0x0:E['followedBorderColor']:null==E?void 0x0:E['unfollowedBorderColor'])||p['Colors']['White'])}),this['updateIconColors'](),this['chipContentWrapperEl']['animate']([{'opacity':0x1,'transform':'scale(1)'},{'opacity':0x0,'transform':'scale(0.8)'}],{'duration':0x96,'easing':'ease-in-out','fill':'forwards'})['addEventListener']('finish',()=>{this['updateIconVisibility'](),this['chipContentWrapperEl']['animate']([{'opacity':0x0,'transform':'scale(0.8)'},{'opacity':0x1,'transform':'scale(1)'}],{'duration':0x96,'easing':'ease-in-out','fill':'forwards'}),this['updateAriaLabel']();});}['setAriaLabel'](x){x?this['setAttribute']('aria-label',x):this['removeAttribute']('aria-label');}['updateAvatarBackground'](){this['_avatarUrl']?this['avatarEl']['style']['backgroundImage']='url(\x27'+this['_avatarUrl']+'\x27)':this['avatarEl']['style']['backgroundImage']='none';}}g['BlazeFollowButton']=w;},0x1fa9:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x1fda:(d,f)=>{'use strict';function g(k,l,m='button'){const p=l||'Untitled';switch(k){case'story':return'Story\x20'+m+':\x20'+p;case'moment':return'Moment\x20'+m+':\x20'+p;case'video':return'Video\x20'+m+':\x20'+p;default:return k+'\x20'+m+':\x20'+p;}}function h(k){switch(k){case'story':return'.\x20Click\x20to\x20view\x20story';case'moment':return'.\x20Click\x20to\x20play\x20moment';case'video':return'.\x20Click\x20to\x20watch\x20video';default:return'.\x20Click\x20to\x20open\x20'+k;}}function j(k,l){const m=[];return'isLive'in k&&k['isLive']&&m['push']('live'),(null==k?void 0x0:k['hasViewed'])?m['push']('viewed'):m['push']('new'),(null==l?void 0x0:l['isVisible'])&&l['text']&&m['push'](l['text']['toLowerCase']()),m['join'](',\x20');}Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['buildContentTypeLabel']=g,f['getContentTypeAction']=h,f['buildStatusInfo']=j,f['buildContentAriaLabel']=function(k){const {contentType:m,title:p,content:q,position:v,total:w,badgeStyle:x,elementType:y='button'}=k;let z=g(m,p,y);const A=j(q,x);return A&&(z+=',\x20'+A),z+=h(m),w&&w>0x1&&v&&(z+='.\x20'+v+'\x20of\x20'+w),z;},f['buildCarouselLabel']=function(k,l,m=!0x0){const p=k+'\x20carousel\x20with\x20'+l+'\x20'+(0x1!==l?k+'s':k);let q=p;return m&&l>0x1&&(q+='.\x20Use\x20arrow\x20keys\x20to\x20navigate\x20between\x20'+k+'s,\x20Enter\x20or\x20Space\x20to\x20select'),{'label':q,'announcement':p+'.'};},f['generateThumbnailAltText']=function(k,l,m){let p='Thumbnail\x20for\x20'+k+':\x20'+(l||'Untitled');return'isLive'in m&&m['isLive']&&(p+='\x20(live)'),p;};},0x1fdc:function(a0,a1,a2){'use strict';var a3=this&&this['__awaiter']||function(aS,aT,aU,aV){return new(aU||(aU=Promise))(function(aW,aX){function aY(b1){try{b0(aV['next'](b1));}catch(b2){aX(b2);}}function aZ(b1){try{b0(aV['throw'](b1));}catch(b2){aX(b2);}}function b0(b1){var b2;b1['done']?aW(b1['value']):(b2=b1['value'],b2 instanceof aU?b2:new aU(function(b3){b3(b2);}))['then'](aY,aZ);}b0((aV=aV['apply'](aS,aT||[]))['next']());});};Object['defineProperty'](a1,'__esModule',{'value':!0x0}),a1['isInitialized']=a1['pushConsentEvent']=a1['Delegations']=a1['VideoFilters']=void 0x0,a1['setDoNotTrack']=ah,a1['setGeoLocation']=ai,a1['setPreferredLanguage']=aj,a1['setExternalUserId']=ak,a1['setOnItemClick']=al,a1['Initialize']=an,a1['WidgetRowView']=aq,a1['WidgetGridView']=ar,a1['WidgetEmbeddedStory']=as,a1['WidgetEmbeddedVideo']=at,a1['WidgetCustomView']=au,a1['Theme']=av,a1['addDelegateListener']=aw,a1['LabelBuilder']=ax,a1['DataSourceBuilder']=ay,a1['VideoFilterBuilder']=az,a1['pauseCurrentPlayer']=aB,a1['resumeCurrentPlayer']=aC,a1['setGoogleCustomNativeAdsHandler']=aD,a1['setImaHandler']=aE,a1['playStory']=aF,a1['playStories']=aG,a1['playContent']=aH,a1['setAbTestParams']=aJ,a1['getAppContextManager']=aK,a1['setBeforeContentPlayCallback']=aN,a1['appendContentToPlayer']=aO,a1['setDisableAnalytics']=aP,a1['clearLocalUserActivity']=aQ,a1['setDisableUserActivity']=aR;const a4=a2(0x26ed),a5=a2(0x2033),a6=a2(0x11c1),a7=a2(0x132a),a8=a2(0x2432),a9=a2(0x9c4),aa=a2(0x23a6),ab=a2(0x1133),ac=a2(0x22d9),ad=a2(0x1b0d),ae=a2(0x1577);var af=a2(0x2432);Object['defineProperty'](a1,'VideoFilters',{'enumerable':!0x0,'get':function(){return af['VideoFilters'];}}),ac['WidgetsFactory']['define']('blaze-sdk',aa['BlazeWidgetSDK']);const ag={'environment':'prod','sendAnalytics':!0x0,'disableAnalytics':!0x1,'disableUserActivity':!0x1,'doNotTrack':!0x1,'externalUserId':'','geoLocation':'','runInShadowDom':!0x0,'shouldModifyUrlWithStoryId':!0x0,'shouldModifyUrlWithContentId':!0x0,'shouldDismissPlayer':!0x1,'shouldCreateUser':!0x0,'prefetchingPolicy':'default','shouldAllowHorizontalStories':!0x1,'layoutDirection':'LTR','shouldAllowClosedCaptions':!0x1};function ah(aS){a6['ConfigService']['doNotTrack']=aS;}function ai(aS){a6['ConfigService']['geoLocation']=(0x0,a8['isValidCountryCode'])(aS)?aS:'';}function aj(aS){const aT=document['getElementsByTagName']('blaze-sdk')[0x0];aT&&aT['setAttribute']('preferred-language',aS||'');}function ak(aS){return a3(this,void 0x0,void 0x0,function*(){const aT=a6['ConfigService']['externalUserId'];aT!==aS&&(yield a6['UserActivitySynchronizer']['prepareUserChange'](aT,aS),a6['ConfigService']['externalUserId']=aS,yield a6['UserService']['refreshUserToken'](),yield a6['UserActivitySynchronizer']['completeUserChange'](aS));});}function al(aS){a6['ConfigService']['onItemClick']=aS;}let am=!0x1;function an(aS,aT={}){if(am)return Promise['resolve']();am=!0x0;const aU=(0x0,a8['mergeDeep'])({},ag,aT,{'apiKey':aS});return new Promise(aV=>{document['getElementsByTagName']('blaze-sdk')[0x0]?aV():ac['WidgetsFactory']['whenDefined']('blaze-sdk')['then'](()=>{const {environment:aW,sendAnalytics:aX,disableAnalytics:aY,disableUserActivity:aZ,previewMomentUrl:b0,previewUrl:b1,doNotTrack:b2,externalUserId:b3,geoLocation:b4,preferredLanguage:b5,runInShadowDom:b6,shouldModifyUrlWithStoryId:b7,shouldModifyUrlWithContentId:b8,shouldDismissPlayer:b9,playerStyleCustomization:ba,shouldCreateUser:bb,prefetchingPolicy:bc,shouldAllowHorizontalStories:bd,shouldAutoAdvance:be,layoutDirection:bf,shouldAllowClosedCaptions:bg,disableAutoLoadingContent:bh,staticContentType:bi,followedEntities:bj,autoAdvanceUrl:bk,cdnTimeout:bl}=aU,bm=document['createElement']('blaze-sdk');bm['setAttribute']('api-key',aS),bj&&ae['FollowingsManager']['initialize'](bj),bk&&bm['setAttribute']('auto-advance-url',bk),bi&&bm['setAttribute']('static-content-type',bi),'boolean'==typeof bb&&bm['setAttribute']('should-create-user',bb['toString']()),'boolean'==typeof bg&&bm['setAttribute']('should-allow-closed-captions',bg['toString']()),'boolean'==typeof bh&&bm['setAttribute']('disable-auto-loading-content',bh['toString']()),bf&&bm['setAttribute']('layout-direction',bf),aW&&bm['setAttribute']('environment',aW),'boolean'==typeof aX&&bm['setAttribute']('send-analytics',aX['toString']()),'boolean'==typeof aY&&bm['setAttribute']('disable-analytics',aY['toString']()),'boolean'==typeof aZ&&bm['setAttribute']('disable-user-activity',aZ['toString']()),'boolean'==typeof b6&&bm['setAttribute']('run-in-shadow-dom',b6['toString']()),'boolean'==typeof b7&&bm['setAttribute']('modifiy-url-with-story-id',b7['toString']()),'boolean'==typeof b8&&bm['setAttribute']('modifiy-url-with-content-id',b8['toString']()),b1&&bm['setAttribute']('preview-url',b1),b0&&bm['setAttribute']('preview-moment-url',b0),b2&&bm['setAttribute']('do-not-track',b2['toString']()),bd&&bm['setAttribute']('should-allow-horizontal-stories',bd['toString']()),b3&&bm['setAttribute']('external-user-id',b3),b4&&bm['setAttribute']('geo-location',(0x0,a8['isValidCountryCode'])(b4)?b4:''),b5&&bm['setAttribute']('preferred-language',b5),ba&&bm['setPlayerStyleCustomization'](ba),b9&&bm['setAttribute']('should-dismiss-player',b9['toString']()),be&&bm['setAttribute']('should-auto-advance',be['toString']()),bc&&bm['setAttribute']('prefetching-policy',bc),void 0x0!==bl&&bm['setAttribute']('cdn-timeout',bl['toString']());const bn=document['querySelector']('body');bn?(bn['appendChild'](bm),aV()):document['addEventListener']('DOMContentLoaded',()=>{const bo=document['querySelector']('body');null==bo||bo['appendChild'](bm),aV();});});});}function ao(aS,aT,aU,aV){const {orderType:aW,storyIds:aX,contentIds:aY,maxItemsCount:aZ,maxDisplayItemsCount:b0,labels:b1,theme:b2,delegates:b3,labelsPriority:b4,perItemStyleOverrides:b5,shouldOrderWidgetByReadStatus:b6,contentType:b7='story',dataSource:b8,actionHandlers:b9}=aU;try{const ba=b1&&('string'==typeof b1?b1['trim']():b1),bb=aX&&aX['length']>0x0||aY&&aY['length']>0x0;if(!b8&&!ba&&!bb)throw new Error('valid\x20labels,\x20IDs,\x20or\x20dataSource\x20were\x20not\x20found\x20in\x20widget\x20options');b8&&ab['BlazeDataSourceValidations']['validate'](b8,b7);const bc=document['createElement'](aS);'function'==typeof bc['setId']?bc['setId'](aT):bc['id']='widget-layout-'+aT;const bd=(0x0,a8['validateContainer'])(aT,aS);return aL(bc,{'delegates':b3,'contentType':b7,'theme':b2,'actionHandlers':b9,'videoFilters':aU['videoFilters']},aV),b5&&bc['updateOverrideStyles'](b5),aM(bc,{'dataSource':b8,'labels':b1,'storyIds':aX,'contentIds':aY,'maxItemsCount':aZ,'maxDisplayItemsCount':b0,'orderType':aW,'labelsPriority':b4,'shouldOrderWidgetByReadStatus':b6}),bd['appendChild'](bc),bc;}catch(be){return document['createElement']('div');}}function ap(aS,aT){switch(aS){case'video':return'row'===aT?a7['ThemeFactory']['create']('row-rectangle-horizontal','video'):a7['ThemeFactory']['create']('grid-2-columns-horizontal','video');case'moment':return'row'===aT?a7['ThemeFactory']['create']('row-circle','moment'):a7['ThemeFactory']['create']('grid-2-columns','moment');default:return'row'===aT?a7['ThemeFactory']['create']('row-circle','story'):a7['ThemeFactory']['create']('grid-2-columns','story');}}function aq(aS,aT){return ao('blaze-widget-layout',aS,aT,ap(aT['contentType']||'story','row'));}function ar(aS,aT){return ao('blaze-widget-layout',aS,aT,ap(aT['contentType']||'story','grid'));}function as(aS,aT){return ao('blaze-widget-embedded-story',aS,aT,a7['ThemeFactory']['create']('grid-2-columns'));}function at(aS,aT){return ao('blaze-widget-embedded-video',aS,aT,a7['ThemeFactory']['create']('grid-2-columns','video'));}function au(aS,aT){const {customRenderer:aU,dataSource:aV,maxItemsCount:aW,maxDisplayItemsCount:aX,orderType:aY,labelsPriority:aZ,shouldOrderWidgetByReadStatus:b0,contentIds:b1,contentType:b2='story',theme:b3,delegates:b4,actionHandlers:b5}=aT;try{ab['BlazeDataSourceValidations']['validate'](aV,b2);const b6=(0x0,a8['validateContainer'])(aS,'blaze-widget-custom-layout'),b7=new aa['BlazeWidgetCustomLayout'](aU);return'function'==typeof b7['setId']?b7['setId'](aS):b7['id']='widget-custom-layout-'+aS,aL(b7,{'delegates':b4,'contentType':b2,'theme':b3,'actionHandlers':b5,'videoFilters':aT['videoFilters']}),aM(b7,{'dataSource':aV,'maxItemsCount':aW,'maxDisplayItemsCount':aX,'orderType':aY,'labelsPriority':aZ,'shouldOrderWidgetByReadStatus':b0,'contentIds':b1}),b6['appendChild'](b7),b7['addEventListener'](a4['Delegation']['onWidgetPlayerDismissed'],()=>{b7['updateWidgetsData']();}),b7;}catch(b8){return document['createElement']('div');}}function av(aS,aT='story'){if('video'===aT)return a7['ThemeFactory']['create'](aS,'video');if('moment'===aT)return a7['ThemeFactory']['create'](aS,'moment');if('story'!==aT&&aT)throw new Error('Invalid\x20content\x20type');return a7['ThemeFactory']['create'](aS,'story');}function aw(aS,aT,aU){document['addEventListener'](aS,aT,aU);}function ax(){return{'singleLabel':aS=>ab['BlazeWidgetLabel']['singleLabel'](aS),'mustInclude':(...aS)=>ab['BlazeWidgetLabel']['mustInclude'](...aS),'atLeastOneOf':(...aS)=>ab['BlazeWidgetLabel']['atLeastOneOf'](...aS)};}function ay(){return{'labels':aS=>ab['BlazeDataSourceFactory']['createLabelsDataSource'](aS),'ids':aS=>ab['BlazeDataSourceFactory']['createIdsDataSource'](aS),'recommendations':aS=>ab['BlazeDataSourceFactory']['createRecommendationsDataSource'](aS),'text':aS=>ab['BlazeDataSourceFactory']['createTextDataSource'](aS)};}function az(){return{'liveOnly':()=>a8['VideoFilters']['liveOnly'](),'upcomingOnly':()=>a8['VideoFilters']['upcomingOnly'](),'endedOnly':()=>a8['VideoFilters']['endedOnly'](),'allStreams':()=>a8['VideoFilters']['allStreams'](),'vodOnly':()=>a8['VideoFilters']['vodOnly'](),'watchable':()=>a8['VideoFilters']['watchable'](),'custom':aS=>{try{return a8['VideoFilters']['validate'](aS),aS;}catch(aT){throw new Error('VideoFilterBuilder.custom()\x20validation\x20failed:\x20'+(aT instanceof Error?aT['message']:String(aT)));}}};}function aA(aS){const aT=document['getElementsByTagName']('blaze-sdk')[0x0];aT&&a6['VideoPlayerService']['isPlaying']===aS&&aT instanceof aa['BlazeWidgetSDK']&&aT['modal']['playToggleCurrentStory']();}function aB(){aA(!0x0);}function aC(){aA(!0x1);}function aD(aS){a6['ConfigService']['googleCustomNativeAdHandler']=aS;}function aE(aS){a6['ConfigService']['imaAdHandler']=aS;}function aF(aS,aT,aU){return a3(this,void 0x0,void 0x0,function*(){yield aH('story',{'dataSource':ay()['ids']({'ids':[aS]}),'style':aT,'actionHandlers':aU});});}function aG(aS,aT,aU){return a3(this,void 0x0,void 0x0,function*(){yield aH('story',{'dataSource':aS,'style':aT,'actionHandlers':aU});});}function aH(aS,aT){return a3(this,void 0x0,void 0x0,function*(){var aU,aV;try{ab['BlazeDataSourceValidations']['validate'](aT['dataSource'],aS),a6['ConfigService']['staticContentType']&&(a6['VideoPlayerService']['playReference']='SingleContent'),yield ad['PlayerViewTemplate']['display'](aS,aT['dataSource'],{'actionHandlers':aT['actionHandlers'],'style':null!==(aU=null==aT?void 0x0:aT['style'])&&void 0x0!==aU?aU:aI(aS),'orderByReadStatus':null===(aV=null==aT?void 0x0:aT['shouldOrderContentByReadStatus'])||void 0x0===aV||aV});}catch(aW){}});}function aI(aS){switch(aS){case'video':return a7['Presets']['DefaultVideoStyle'];case'moment':return a7['Presets']['DefaultMomentStyle'];case'story':return a7['Presets']['DefaultStoryStyle'];}}function aJ(aS){a6['UserService']['_abTest']=aS;}function aK(){return a6['ConfigService']['appContext'];}function aL(aS,aT,aU){const {delegates:aV,contentType:aW,theme:aX,actionHandlers:aY,videoFilters:aZ}=aT;aV&&aS['setDelegations']&&aS['setDelegations'](aV),aW&&aS['setAttribute']('content-type',aW),aX?'string'==typeof aX&&aW?'video'===aW?aS['setTheme'](a7['ThemeFactory']['create'](aX,'video')):'moment'===aW?aS['setTheme'](a7['ThemeFactory']['create'](aX,'moment')):'story'===aW&&aS['setTheme'](a7['ThemeFactory']['create'](aX,'story')):(0x0,a5['isWidgetTheme'])(aX)&&aS['setTheme'](aX):aU&&aS['setTheme'](aU),aY&&aS['setActionHandlers']&&aS['setActionHandlers'](aY),aZ&&aS['setVideoFilters']&&aS['setVideoFilters'](aZ);}function aM(aS,aT){var aU;const {dataSource:aV,labels:aW,storyIds:aX,contentIds:aY,maxItemsCount:aZ,maxDisplayItemsCount:b0,orderType:b1,labelsPriority:b2,shouldOrderWidgetByReadStatus:b3}=aT;aZ&&aS['setMaxItemsSize']?aS['setMaxItemsSize'](aZ):(null==aV?void 0x0:aV['maxItems'])&&aS['setMaxItemsSize']&&aS['setMaxItemsSize'](aV['maxItems']),b0&&aS['setMaxItemsDisplaySize']&&aS['setMaxItemsDisplaySize'](b0),b1&&aS['setAttribute']?aS['setAttribute']('order-type',b1):(null==aV?void 0x0:aV['orderType'])&&aS['setAttribute']&&aS['setAttribute']('order-type',aV['orderType']),(null==aV?void 0x0:aV['advancedOrdering'])&&aS['setAttribute']&&aS['setAttribute']('advanced-ordering',aV['advancedOrdering']),(null==aV?void 0x0:aV['personalized'])&&aS['setPersonalized']&&aS['setPersonalized'](aV['personalized']),b2&&aS['setLabelsPriority']?aS['setLabelsPriority'](b2):(null==aV?void 0x0:aV['labelsPriority'])&&aS['setLabelsPriority']&&aS['setLabelsPriority'](aV['labelsPriority']),aW&&aS['setLabels']?aS['setLabels'](aW):'labels'===(null==aV?void 0x0:aV['sourceType'])&&(null==aV?void 0x0:aV['labels'])&&aS['setLabels']&&aS['setLabels'](aV['labels']),'text'!==(null==aV?void 0x0:aV['sourceType'])&&'labels'!==(null==aV?void 0x0:aV['sourceType'])||!(null==aV?void 0x0:aV['text'])||aS['setAttribute']('text',aV['text']),'recommendations'===(null==aV?void 0x0:aV['sourceType'])&&(null==aV?void 0x0:aV['recommendations'])&&aS['setAttribute']&&aS['setAttribute']('recommendations',JSON['stringify'](aV['recommendations'])),(null==aX?void 0x0:aX['length'])&&aS['setAttribute']?aS['setAttribute']('story-ids',aX['join']()):(null==aY?void 0x0:aY['length'])&&aS['setAttribute']?aS['setAttribute']('content-ids',aY['join']()):'ids'===(null==aV?void 0x0:aV['sourceType'])&&(null===(aU=null==aV?void 0x0:aV['ids'])||void 0x0===aU?void 0x0:aU['length'])&&aS['setAttribute']&&aS['setAttribute']('content-ids',aV['ids']['join']());const b4=Boolean(null==b3||b3)['toString']();aS['setAttribute']('should-order-widget-by-read-status',b4);}function aN(aS){a6['ConfigService']['beforeContentPlayCallback']=aS;}function aO(aS,aT,aU){return a3(this,void 0x0,void 0x0,function*(){const {shouldOrderContentByReadStatus:aV=!0x0}=null!=aU?aU:{};try{if('moment'!==aS)throw new Error('Currently\x20only\x20\x27moment\x27\x20content\x20type\x20is\x20supported\x20for\x20appendContentToPlayer');ab['BlazeDataSourceValidations']['validate'](aT,aS);const aW=(0x0,a9['findOpenMomentModal'])();if(!aW)throw new Error('No\x20moment\x20player\x20is\x20currently\x20open');const aX=yield a6['MomentService']['fetchContent'](aT);if(!aX['result']||0x0===aX['result']['length'])throw new Error('No\x20content\x20found\x20from\x20data\x20source');let aY=aX['result'];aV||(aY=yield a6['MomentService']['enrichContent'](aX['result'])),aW['appendContent'](aY,aX['defaultAdsInfo']);}catch(aZ){}});}function aP(aS){a6['ConfigService']['disableAnalytics']=aS;}function aQ(){return a3(this,void 0x0,void 0x0,function*(){yield a6['UserActivitySynchronizer']['clearLocalUserActivity']();});}function aR(aS){const aT=!a6['ConfigService']['disableUserActivity'];a6['ConfigService']['disableUserActivity']=aS,aS&&aT?a6['UserActivitySynchronizer']['setEnabled'](!0x1):aS||aT||a6['UserActivitySynchronizer']['setEnabled'](!0x0);}a1['Delegations']=a4['Delegation'],a1['pushConsentEvent']=a6['AnalyticsService']['pushConsentEvent'],a1['isInitialized']=()=>aa['BlazeWidgetSDK']['isSdkConnected'](),a1['default']={'Initialize':an,'WidgetGridView':ar,'WidgetRowView':aq,'WidgetEmbeddedStory':as,'WidgetEmbeddedVideo':at,'WidgetCustomView':au,'Theme':av,'addDelegateListener':aw,'setDoNotTrack':ah,'setDisableAnalytics':aP,'setGeoLocation':ai,'setPreferredLanguage':aj,'setOnItemClick':al,'LabelBuilder':ax,'DataSourceBuilder':ay,'VideoFilterBuilder':az,'Delegations':a4['Delegation'],'setGoogleCustomNativeAdsHandler':aD,'setImaHandler':aE,'pauseCurrentPlayer':aB,'resumeCurrentPlayer':aC,'setExternalUserId':ak,'playStory':aF,'playStories':aG,'playContent':aH,'setAbTestParams':aJ,'getAppContextManager':aK,'pushConsentEvent':a1['pushConsentEvent'],'isInitialized':a1['isInitialized'],'setBeforeContentPlayCallback':aN,'appendContentToPlayer':aO,'clearLocalUserActivity':aQ,'setDisableUserActivity':aR};},0x1ffb:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2006:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2016:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isStory']=function(g){return'story'===g['type']||void 0x0===g['type'];},f['isVideo']=function(g){return'video'===g['type'];},f['isMoment']=function(g){return'moment'===g['type'];};},0x2026:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoErrorManager']=void 0x0;const h=g(0x11c1),j=g(0x26ed);class k{constructor(){}static['getInstance'](){return k['instance']||(k['instance']=new k()),k['instance'];}['setErrorCallback'](l){this['errorCallback']=l;}['handleError'](l){if(this['logError'](l),this['errorCallback'])try{this['errorCallback'](l);}catch(m){}}['logError'](m){var p,q,u;const v=m['fatal']?j['LogLevel']['ERROR']:j['LogLevel']['WARN'],w=navigator['connection']||navigator['mozConnection']||navigator['webkitConnection'],x=(null==w?void 0x0:w['effectiveType'])||'unknown',y=null==w?void 0x0:w['downlink'];h['LoggerService']['log'](v,'video_error','['+m['code']+']\x20'+m['message'],{'error_code':m['code'],'error_message':m['message'],'error_url':m['url'],'is_fatal':m['fatal'],'http_status':m['httpStatus'],'user_agent':navigator['userAgent'],'online':navigator['onLine'],'connection_type':x,'connection_downlink':y,'hls_error_type':null===(p=m['context'])||void 0x0===p?void 0x0:p['hlsErrorType'],'hls_error_details':null===(q=m['context'])||void 0x0===q?void 0x0:q['hlsErrorDetails'],'media_error_code':null===(u=m['context'])||void 0x0===u?void 0x0:u['mediaErrorCode'],'timestamp':Date['now']()});}}f['VideoErrorManager']=k;},0x2027:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetScrollable']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super(),this['buttonsState']=[],this['totalMovement']=0x0,this['boundOnClickEvent']=this['onClick']['bind'](this),this['boundOnMouseWheelEvent']=this['onMouseWheel']['bind'](this),this['boundOnMouseMoveEvent']=this['onMouseMove']['bind'](this);}['connectedCallback'](){this['style']['userSelect']='none',this['addEventListener']('click',this['boundOnClickEvent'],!0x0),this['addEventListener']('mousemove',this['boundOnMouseMoveEvent']),this['addEventListener']('wheel',this['boundOnMouseWheelEvent']);}['disconnectedCallback'](){this['removeEventListener']('click',this['boundOnClickEvent']),this['removeEventListener']('mousemove',this['boundOnMouseMoveEvent']),this['removeEventListener']('wheel',this['boundOnMouseWheelEvent']);}['onClick'](k){this['totalMovement']>0xa&&(k['preventDefault'](),k['stopPropagation'](),k['stopImmediatePropagation']());}['onMouseMove'](k){0x1&~k['buttons']?this['totalMovement']=0x0:(this['scrollBy']({'top':-k['movementY'],'left':-k['movementX']}),(k['movementX']>0x0||k['movementX']<0x0)&&(this['totalMovement']+=Math['abs'](k['movementX'])),(k['movementY']>0x0||k['movementY']<0x0)&&(this['totalMovement']+=Math['abs'](k['movementY'])));}['onMouseWheel'](k){this['scrollBy']({'top':0x0,'left':k['deltaX']});}['render'](){}}f['BlazeWidgetScrollable']=j;},0x2033:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x430),f),j(g(0xefb),f),j(g(0xe32),f),j(g(0x2016),f);},0x2071:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isValidCountryCode']=function(j){return h['CountryCodes']['includes'](j);};const h=g(0x1932);},0x208a:d=>{'use strict';d['exports']=JSON['parse']('{\x22name\x22:\x22@wscsports/blaze-web-sdk\x22,\x22version\x22:\x220.35.2\x22,\x22homepage\x22:\x22https://dev.wsc-sports.com/docs/sdk-integration\x22,\x22main\x22:\x22publish/index\x22,\x22types\x22:\x22publish/index\x22,\x22files\x22:[\x22publish/*\x22],\x22scripts\x22:{\x22start:dev\x22:\x22webpack-dev-server\x20--config\x20webpack/webpack.config.dev\x22,\x22start:dev-docker\x22:\x22docker\x20compose\x20up\x20--build\x22,\x22build:types\x22:\x22dts-bundle-generator\x20--config\x20./dts-bundle.config.js\x22,\x22build:mcp\x22:\x22cd\x20mcp\x20&&\x20npm\x20install\x20&&\x20npm\x20run\x20generate-knowledge\x20&&\x20npm\x20run\x20bundle\x22,\x22build:qa-prod\x22:\x22webpack\x20--config\x20webpack/webpack.config.qa-prod.js\x20&&\x20npm\x20run\x20build:types\x22,\x22build:qa-dev\x22:\x22webpack\x20--config\x20webpack/webpack.config.qa-dev.js\x22,\x22build:prod\x22:\x22webpack\x20--config\x20webpack/webpack.config.prod.js\x20&&\x20npm\x20run\x20build:types\x22,\x22build:prod-debug\x22:\x22webpack\x20--config\x20webpack/webpack.config.prod-debug.js\x20&&\x20npm\x20run\x20build:types\x22,\x22pack:prod\x22:\x22npm\x20run\x20build:prod\x20&&\x20npm\x20pack\x22,\x22pack:prod-debug\x22:\x22npm\x20run\x20build:prod-debug\x20&&\x20npm\x20pack\x22,\x22publish:latest\x22:\x22npm\x20run\x20build:prod\x20&&\x20npm\x20publish\x20--access\x20public\x20--tag\x20latest\x22,\x22publish:beta\x22:\x22npm\x20run\x20build:prod\x20&&\x20npm\x20publish\x20--access\x20public\x20--tag\x20beta\x22,\x22test:unit\x22:\x22jest\x22,\x22test:unit:watch\x22:\x22jest\x20--watch\x22,\x22test:unit:coverage\x22:\x22jest\x20--coverage\x22,\x22test\x22:\x22node\x20./node_modules/@playwright/test/cli.js\x20test\x20--project=\x27Desktop\x20Chrome\x27\x22,\x22test:desktop\x22:\x22node\x20./node_modules/@playwright/test/cli.js\x20test\x20--project=\x27Desktop\x20Chrome\x27\x20--project=\x27Desktop\x20Firefox\x27\x20--project=\x27Desktop\x20Safari\x27\x22,\x22test:desktop:stories\x22:\x22node\x20./node_modules/@playwright/test/cli.js\x20test\x20--project=\x27Desktop\x20Chrome\x27\x20--project=\x27Desktop\x20Safari\x27\x20e2e-tests/tests/stories\x22,\x22test:desktop:stories:vast-ad\x22:\x22node\x20./node_modules/@playwright/test/cli.js\x20test\x20--project=\x27Desktop\x20Chrome\x27\x20--project=\x27Desktop\x20Firefox\x27\x20--project=\x27Desktop\x20Safari\x27\x20tests/stories/playback/story-playback-ad-vast.spec.ts\x20--workers=1\x22,\x22test:desktop:stories:cta-nav\x22:\x22node\x20./node_modules/@playwright/test/cli.js\x20test\x20--config=e2e-tests/playwright.config.ts\x20--project=\x27Desktop\x20Chrome\x27\x20--project=\x27Desktop\x20Safari\x27\x20e2e-tests/tests/stories/navigation/story-cta-navigation.spec.ts\x22,\x22test:desktop:moments\x22:\x22node\x20./node_modules/@playwright/test/cli.js\x20test\x20--project=\x27Desktop\x20Chrome\x27\x20--project=\x27Desktop\x20Safari\x27\x20e2e-tests/tests/moments\x22,\x22test:desktop:long-form\x22:\x22node\x20./node_modules/@playwright/test/cli.js\x20test\x20--project=\x27Desktop\x20Chrome\x27\x20--project=\x27Desktop\x20Safari\x27\x20e2e-tests/tests/video-longform\x22,\x22test:mobile\x22:\x22node\x20./node_modules/@playwright/test/cli.js\x20test\x20--project=\x27iOS\x20Safari\x2013\x27\x20--project=\x27Android\x20Chrome\x27\x22,\x22test:mobile:stories\x22:\x22node\x20./node_modules/@playwright/test/cli.js\x20test\x20--project=\x27iOS\x20Safari\x2013\x27\x20--project=\x27Android\x20Chrome\x27\x20e2e-tests/tests/stories\x22,\x22test:mobile:moments\x22:\x22node\x20./node_modules/@playwright/test/cli.js\x20test\x20--project=\x27iOS\x20Safari\x2013\x27\x20e2e-tests/tests/moments\x22,\x22test:mobile:long-form\x22:\x22node\x20./node_modules/@playwright/test/cli.js\x20test\x20--project=\x27iOS\x20Safari\x2013\x27\x20e2e-tests/tests/video-longform\x22,\x22test:android:stories\x22:\x22export\x20USE_PHYSICAL_DEVICE=true\x20&&\x20export\x20$(cat\x20.env.physical-device\x202>/dev/null\x20|\x20xargs)\x20&&\x20node\x20./node_modules/@playwright/test/cli.js\x20test\x20--config=playwright.config.physical-device.ts\x20--project=\x27Android\x20Mobile\x20Chrome\x27\x20e2e-tests/tests/stories\x22,\x22test:android:moments\x22:\x22export\x20USE_PHYSICAL_DEVICE=true\x20&&\x20export\x20$(cat\x20.env.physical-device\x202>/dev/null\x20|\x20xargs)\x20&&\x20node\x20./node_modules/@playwright/test/cli.js\x20test\x20--config=playwright.config.physical-device.ts\x20--project=\x27Android\x20Mobile\x20Chrome\x27\x20e2e-tests/tests/moments\x22,\x22test:e2e:ui\x22:\x22node\x20./node_modules/@playwright/test/cli.js\x20test\x20--config=e2e-tests/playwright.index-page.config.ts\x20--ui\x22,\x22test:e2e:ui:all\x22:\x22node\x20./node_modules/@playwright/test/cli.js\x20test\x20--config=e2e-tests/playwright.config.ts\x20--ui\x22},\x22devDependencies\x22:{\x22@axe-core/playwright\x22:\x22^4.11.0\x22,\x22@playwright/test\x22:\x22^1.58.0\x22,\x22@types/animejs\x22:\x22^3.1.7\x22,\x22@types/google_interactive_media_ads_types\x22:\x22^1.20241219.0\x22,\x22@types/hammerjs\x22:\x22^2.0.45\x22,\x22@types/jest\x22:\x22^30.0.0\x22,\x22@types/node\x22:\x22^24.7.0\x22,\x22@types/ua-parser-js\x22:\x22^0.7.36\x22,\x22@types/uuid\x22:\x22^10.0.0\x22,\x22@types/videojs-vtt.js\x22:\x22^0.15.3\x22,\x22css-loader\x22:\x22^6.8.1\x22,\x22dts-bundle-generator\x22:\x22^9.5.1\x22,\x22fs-extra\x22:\x22^11.1.1\x22,\x22glob-promise\x22:\x22^6.0.5\x22,\x22html-webpack-plugin\x22:\x22^5.5.3\x22,\x22intersection-observer\x22:\x22^0.12.2\x22,\x22javascript-obfuscator\x22:\x22^4.0.2\x22,\x22jest\x22:\x22^30.2.0\x22,\x22jest-environment-jsdom\x22:\x22^30.2.0\x22,\x22jest-junit\x22:\x22^16.0.0\x22,\x22media-captions\x22:\x22^0.0.18\x22,\x22npm-registry-fetch\x22:\x22^16.0.0\x22,\x22style-loader\x22:\x22^3.3.3\x22,\x22ts-jest\x22:\x22^29.4.6\x22,\x22ts-loader\x22:\x22^9.4.4\x22,\x22typescript\x22:\x22^5.4.2\x22,\x22videojs-vtt.js\x22:\x22^0.15.5\x22,\x22webpack\x22:\x22^5.88.1\x22,\x22webpack-cli\x22:\x22^5.1.4\x22,\x22webpack-dev-server\x22:\x22^4.15.1\x22,\x22webpack-obfuscator\x22:\x22^3.5.1\x22},\x22dependencies\x22:{\x22animejs\x22:\x22^3.2.1\x22,\x22hammerjs\x22:\x22^2.0.8\x22,\x22ua-parser-js\x22:\x22^1.0.36\x22,\x22uuid\x22:\x22^8.3.2\x22}}');},0x20b2:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BaseModalTemplate']=void 0x0;const j=g(0x26ed),k=g(0x11c1),l=g(0x2473);f['BaseModalTemplate']=class{['render'](m,p,q){return h(this,void 0x0,void 0x0,function*(){let u;try{if(u=this['validateRequirements'](m),!u['isValid']||!u['blazeSdk']||!u['dataSourceStringRep'])return;const {blazeSdk:v,dataSourceStringRep:w}=u,x=yield this['fetchContent'](m);if(!this['validateContentResponse'](x,v,w))return;const y=this['createModal'](document['body'],p['style'],p['actionHandlers']),z=this['getService']();let A=this['filterContent'](x['result']);z['enrichContent']&&(A=yield z['enrichContent'](A)),q&&(A=(0x0,l['sortContentByViewedStatus'])(A)),this['configureModal'](y,A),this['openModal'](y,v);}catch(B){(null==u?void 0x0:u['blazeSdk'])&&u['dataSourceStringRep']&&this['handleError'](B,u['blazeSdk'],u['dataSourceStringRep']);}});}['validateRequirements'](m){if(!m)return{'isValid':!0x1,'blazeSdk':null,'dataSourceStringRep':void 0x0};const p=document['getElementsByTagName']('blaze-sdk')[0x0];if(!p)return{'isValid':!0x1,'blazeSdk':null,'dataSourceStringRep':void 0x0};const q=(0x0,l['getDataSourceStringRep'])(m);return q?{'isValid':!0x0,'blazeSdk':p,'dataSourceStringRep':q}:{'isValid':!0x1,'blazeSdk':p,'dataSourceStringRep':void 0x0};}['filterContent'](m){var p;return(null===(p=k['ConfigService']['excludeContentId'])||void 0x0===p?void 0x0:p['length'])?m['filter'](q=>!k['ConfigService']['excludeContentId']['includes'](q['id'])):m;}['validateContentResponse'](m,p,q){var r;return!!(null===(r=null==m?void 0x0:m['result'])||void 0x0===r?void 0x0:r['length'])||(k['EventService']['dispatch'](p,j['Delegation']['onErrorThrown'],{'id':q,'errorCode':this['getErrorCode']()}),!0x1);}['openModal'](m,p){try{p['appendChild'](m),m['open'](),m['onClose']=()=>m['remove']();}catch(q){throw q;}}['handleError'](m,p,q){q&&k['EventService']['dispatch'](p,j['Delegation']['onErrorThrown'],{'id':q,'errorCode':this['getErrorCode'](),'error':m instanceof Error?m['message']:String(m)});}['fetchContent'](m){return h(this,void 0x0,void 0x0,function*(){return this['getService']()['fetchContent'](m);});}};},0x20bd:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0xd06),f);},0x20c9:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeVideoNavigationOverlay']=f['NAVIGATION_OVERLAY_ATTRIBUTES']=void 0x0;const h=g(0x31b),j=g(0x1133),k=g(0x1699),m=g(0x22d9),p=g(0x164);f['NAVIGATION_OVERLAY_ATTRIBUTES']={'Hidden':'hidden','Layout':'layout','HasPrev':'has-prev','HasNext':'has-next'};class q extends HTMLElement{constructor(){super(),this['shadow']=this['attachShadow']({'mode':'open'}),this['nextButton']=m['WidgetsFactory']['create']('blaze-button'),this['prevButton']=m['WidgetsFactory']['create']('blaze-button'),this['playPauseButton']=m['WidgetsFactory']['create']('blaze-button'),this['replayButton']=m['WidgetsFactory']['create']('blaze-button'),this['isPlaying']=!0x1,this['boundOnPrevClick']=this['onPrevClick']['bind'](this),this['boundOnNextClick']=this['onNextClick']['bind'](this),this['boundOnPlayStopClick']=this['onPlayStopClick']['bind'](this),this['boundOnReplayClick']=this['onReplayClick']['bind'](this),this['boundOnPlay']=this['setPlaying']['bind'](this,!0x0),this['loader']=m['WidgetsFactory']['create']('blaze-loader');}static get['observedAttributes'](){return Object['values'](f['NAVIGATION_OVERLAY_ATTRIBUTES']);}['attributeChangedCallback'](u,v,w){v!==w&&this['applyAttribute'](u,w);}['applyAttribute'](u,v){const w='rtl'===this['getAttribute']('dir');switch(u){case f['NAVIGATION_OVERLAY_ATTRIBUTES']['Hidden']:'true'===v?this['hideOverlay']():this['showOverlay']();break;case f['NAVIGATION_OVERLAY_ATTRIBUTES']['HasPrev']:w?this['setButtonDisabled'](this['nextButton'],'true'!==v?'true':'false'):this['setButtonDisabled'](this['prevButton'],'true'!==v?'true':'false');break;case f['NAVIGATION_OVERLAY_ATTRIBUTES']['HasNext']:w?this['setButtonDisabled'](this['prevButton'],'true'!==v?'true':'false'):this['setButtonDisabled'](this['nextButton'],'true'!==v?'true':'false');}}['connectedCallback'](){this['initializeStyles'](),this['setStyle'](),this['createDom'](),this['attachEventListeners']();}['disconnectedCallback'](){this['removeEventListeners']();}['initializeStyles'](){const u=document['createElement']('style');u['textContent']='\x0a\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x205;\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20pointer-events:\x20auto;\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x201;\x0a\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20opacity\x200.3s\x20ease,\x20visibility\x200.3s\x20ease;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20:host([dir=\x22rtl\x22])\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20flex-direction:\x20row-reverse;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20:host(.hidden)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.middle-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20center;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20blaze-button\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20center;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20blaze-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['shadow']['appendChild'](u);}['setStyle'](){switch(this['platform']){case'mobile':case'tablet':(0x0,p['mergeStyles'])(this,{'position':'absolute','top':'50%','left':'50%','transform':'translate(-50%,\x20-50%)','gap':'20px'});break;case'desktop':(0x0,p['mergeStyles'])(this,{'position':'relative','gap':'5px'});}}['setTheme'](u){this['navigationStyle']=u;}get['platform'](){return this['_platform']||(this['_platform']=this['getAttribute']('layout')),this['_platform'];}set['platform'](u){this['_platform']=u,this['setAttribute']('layout',u);}['setButtonStyle'](u,v,w){var x,y,z,A;u['setAttribute'](k['BUTTON_ATTRIBUTES']['Width'],v['width']),u['setAttribute'](k['BUTTON_ATTRIBUTES']['Height'],v['height']),u['setIconUrl'](w),v['color']&&u['setAttribute'](k['BUTTON_ATTRIBUTES']['IconColor'],v['color']),j['deviceDetector']['isDesktop']&&u['setAttribute'](k['BUTTON_ATTRIBUTES']['ButtonDesktopAnimation'],'true'),u['setStyle']({'padding':null!==(x=v['padding'])&&void 0x0!==x?x:null,'color':null!==(y=v['color'])&&void 0x0!==y?y:null,'borderRadius':null!==(z=v['borderRadius'])&&void 0x0!==z?z:null,'backgroundColor':null!==(A=v['backgroundColor'])&&void 0x0!==A?A:null});}['createDom'](){if(!this['navigationStyle'])return;this['setButtonStyle'](this['prevButton'],this['navigationStyle']['prev_next'][this['platform']],this['navigationStyle']['navigation']['prevVideo']),this['setButtonStyle'](this['nextButton'],this['navigationStyle']['prev_next'][this['platform']],this['navigationStyle']['navigation']['nextVideo']),this['setButtonStyle'](this['playPauseButton'],this['navigationStyle']['play_pause'][this['platform']],this['navigationStyle']['play']),this['setButtonStyle'](this['replayButton'],this['navigationStyle']['replay'][this['platform']],this['navigationStyle']['replayIcon']),this['playPauseButton']['setDataTestId']('play-pause-button'),this['prevButton']['setDataTestId']('prev-button'),this['nextButton']['setDataTestId']('next-button');const u=m['WidgetsFactory']['create']('blaze-div');if(u['id']='middle-container-play-pause',u['classList']['add']('middle-container'),u['appendChild'](this['playPauseButton']),this['navigationStyle']['prev_next'][this['platform']]['isVisible']?(this['shadow']['appendChild'](this['prevButton']),this['shadow']['appendChild'](u),this['shadow']['appendChild'](this['nextButton'])):this['shadow']['appendChild'](u),this['loader']['setAttribute']('color','#FFFFFF'),['mobile','tablet']['includes'](this['platform'])){const v=u['getBoundingClientRect']()['width'];u['style']['width']=v+'px';}}['attachEventListeners'](){this['prevButton']['addEventListener'](h['EVENTS']['CLICK'],this['boundOnPrevClick']),this['nextButton']['addEventListener'](h['EVENTS']['CLICK'],this['boundOnNextClick']),this['playPauseButton']['addEventListener'](h['EVENTS']['CLICK'],this['boundOnPlayStopClick']),this['replayButton']['addEventListener'](h['EVENTS']['CLICK'],this['boundOnReplayClick']),document['addEventListener'](h['VIDEO_EVENTS']['PLAY'],this['boundOnPlay']);}['removeEventListeners'](){this['prevButton']['removeEventListener'](h['EVENTS']['CLICK'],this['boundOnPrevClick']),this['nextButton']['removeEventListener'](h['EVENTS']['CLICK'],this['boundOnNextClick']),this['playPauseButton']['removeEventListener'](h['EVENTS']['CLICK'],this['boundOnPlayStopClick']),document['removeEventListener'](h['VIDEO_EVENTS']['PLAY'],this['boundOnPlay']);}['setButtonDisabled'](u,v){u['setAttribute'](k['BUTTON_ATTRIBUTES']['Disabled'],v);}['onPrevClick'](u){u['stopPropagation']();const v='rtl'===this['getAttribute']('dir')?h['VIDEO_EVENTS']['NAVIGATION_NEXT']:h['VIDEO_EVENTS']['NAVIGATION_PREV'];this['dispatchEvent'](new CustomEvent(v,{'bubbles':!0x0,'composed':!0x0}));}['onNextClick'](u){u['stopPropagation']();const v='rtl'===this['getAttribute']('dir')?h['VIDEO_EVENTS']['NAVIGATION_PREV']:h['VIDEO_EVENTS']['NAVIGATION_NEXT'];this['dispatchEvent'](new CustomEvent(v,{'bubbles':!0x0,'composed':!0x0}));}['onPlayStopClick'](u){u['stopPropagation'](),this['setPlaying'](!this['isPlaying']);const v=this['isPlaying']?h['VIDEO_EVENTS']['PLAY']:h['VIDEO_EVENTS']['PAUSE'];this['dispatchEvent'](new CustomEvent(v,{'bubbles':!0x0,'composed':!0x0}));}['onReplayClick'](u){u['stopPropagation'](),this['setPlaying'](!0x0),this['dispatchEvent'](new CustomEvent(h['VIDEO_EVENTS']['REPLAY'],{'bubbles':!0x0,'composed':!0x0}));}['setPlaying'](u){if(this['isPlaying']=u,!this['navigationStyle'])return;const {play:v,pause:w}=this['navigationStyle'];this['playPauseButton']['setIconUrlAnimation'](u?w:v);}['showReplayButton'](){this['replayButton']['isConnected']||(this['playPauseButton']['animate']([{'opacity':0x1},{'opacity':0x0}],{'duration':0x4b,'easing':'ease-out','fill':'forwards'}),this['playPauseButton']['replaceWith'](this['replayButton']),this['replayButton']['animate']([{'opacity':0x0},{'opacity':0x1}],{'duration':0x4b,'easing':'ease-in','fill':'forwards'}));}['hideReplayButton'](){this['replayButton']['isConnected']&&(this['replayButton']['animate']([{'opacity':0x1},{'opacity':0x0}],{'duration':0x4b,'easing':'ease-out','fill':'forwards'}),this['replayButton']['replaceWith'](this['playPauseButton']),this['playPauseButton']['animate']([{'opacity':0x0},{'opacity':0x1}],{'duration':0x4b,'easing':'ease-in','fill':'forwards'}));}['showLoader'](){this['playPauseButton']['replaceWith'](this['loader']),this['loader']['style']['display']='block';}['hideLoader'](){this['loader']['replaceWith'](this['playPauseButton']),this['loader']['style']['display']='none';}['hideOverlay'](){this['classList']['add']('hidden');}['showOverlay'](){this['classList']['remove']('hidden');}['disablePlayButton'](){this['playPauseButton']['setAttribute']('disabled','true');}['enablePlayButton'](){this['playPauseButton']['removeAttribute']('disabled');}}f['BlazeVideoNavigationOverlay']=q;},0x20ce:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['FullscreenManager']=void 0x0;const j=g(0x1133),k=g(0x774);f['FullscreenManager']=class{constructor(l){this['isFullscreen']=!0x1,this['isProgrammaticChange']=!0x1,this['boundOnFullscreenChange']=this['handleFullscreenChange']['bind'](this),this['container']=l,j['deviceDetector']['isFullscreenSupported']&&this['attachEventListeners']();}['toggleFullscreen'](){return h(this,void 0x0,void 0x0,function*(){try{this['isProgrammaticChange']=!0x0;const l=this['isFullscreen']?this['exitFullscreen']():this['enterFullscreen']();this['isFullscreen']=!this['isFullscreen'],yield l;}catch(m){this['isFullscreen']=!this['isFullscreen'],this['isProgrammaticChange']=!0x1;}});}['waitForFullscreenExit'](){return new Promise(l=>{const m=()=>{this['isFullscreenMode']()||(this['container']['removeEventListener'](k['EVENTS']['FULLSCREEN_CHANGE'],m),this['container']['removeEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_WEBKIT'],m),this['container']['removeEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_MOZ'],m),l());};this['container']['addEventListener'](k['EVENTS']['FULLSCREEN_CHANGE'],m),this['container']['addEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_WEBKIT'],m),this['container']['addEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_MOZ'],m);});}['enterFullscreen'](){return h(this,void 0x0,void 0x0,function*(){try{this['container']['requestFullscreen']?yield this['container']['requestFullscreen']():this['container']['webkitRequestFullscreen']?yield this['container']['webkitRequestFullscreen']():this['container']['msRequestFullscreen']?yield this['container']['msRequestFullscreen']():this['container']instanceof HTMLVideoElement&&this['container']['webkitEnterFullscreen']?this['container']['webkitEnterFullscreen']():this['isProgrammaticChange']=!0x1;}catch(l){this['isProgrammaticChange']=!0x1;}});}['exitFullscreen'](){return h(this,void 0x0,void 0x0,function*(){try{document['exitFullscreen']?yield document['exitFullscreen']():document['webkitExitFullscreen']?yield document['webkitExitFullscreen']():document['msExitFullscreen']?yield document['msExitFullscreen']():this['isProgrammaticChange']=!0x1;}catch(l){this['isProgrammaticChange']=!0x1;}});}['handleFullscreenChange'](){var l;const m=this['isFullscreen'];if(this['isFullscreen']=this['isFullscreenMode'](),this['isProgrammaticChange'])return void(this['isProgrammaticChange']=!0x1);const p=document['fullscreenElement']||document['webkitFullscreenElement']||document['msFullscreenElement'];(p===this['container']||m&&!p)&&(null===(l=this['onFullscreenChangeByBrowser'])||void 0x0===l||l['call'](this));}['isFullscreenMode'](){return Boolean(document['fullscreenElement']===this['container']||document['webkitFullscreenElement']===this['container']||document['msFullscreenElement']===this['container']);}['attachEventListeners'](){document['addEventListener'](k['EVENTS']['FULLSCREEN_CHANGE'],this['boundOnFullscreenChange']),document['addEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_MOZ'],this['boundOnFullscreenChange']),document['addEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_WEBKIT'],this['boundOnFullscreenChange']);}['destroy'](){document['removeEventListener'](k['EVENTS']['FULLSCREEN_CHANGE'],this['boundOnFullscreenChange']),document['removeEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_MOZ'],this['boundOnFullscreenChange']),document['removeEventListener'](k['EVENTS']['FULLSCREEN_CHANGE_WEBKIT'],this['boundOnFullscreenChange']);}};},0x20e2:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StreamHandlerRegistry']=f['LiveToEndedHandler']=f['LiveToUpcomingHandler']=f['UpcomingToLiveHandler']=f['StreamStateManager']=void 0x0;var h=g(0x164d);Object['defineProperty'](f,'StreamStateManager',{'enumerable':!0x0,'get':function(){return h['StreamStateManager'];}});var j=g(0xf4d);Object['defineProperty'](f,'UpcomingToLiveHandler',{'enumerable':!0x0,'get':function(){return j['UpcomingToLiveHandler'];}});var k=g(0x126d);Object['defineProperty'](f,'LiveToUpcomingHandler',{'enumerable':!0x0,'get':function(){return k['LiveToUpcomingHandler'];}});var l=g(0x13bf);Object['defineProperty'](f,'LiveToEndedHandler',{'enumerable':!0x0,'get':function(){return l['LiveToEndedHandler'];}});var m=g(0x2607);Object['defineProperty'](f,'StreamHandlerRegistry',{'enumerable':!0x0,'get':function(){return m['StreamHandlerRegistry'];}});},0x210b:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2120:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(B,C,D,E){return new(D||(D=Promise))(function(F,G){function H(K){try{J(E['next'](K));}catch(L){G(L);}}function I(K){try{J(E['throw'](K));}catch(L){G(L);}}function J(K){var L;K['done']?F(K['value']):(L=K['value'],L instanceof D?L:new D(function(M){M(L);}))['then'](H,I);}J((E=E['apply'](B,C||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetAd']=void 0x0;const m=j(0x23a6),p=j(0x1133),q=j(0x1932),v=j(0x26ed),w=j(0x22d9),x=j(0x11c1),y=j(0x132a),z=j(0x2432);class A extends m['BlazeWidgetVideoBase']{constructor(B){super(),this['contentParent']=B,this['isCurrentlyDisplay']=!0x1,this['isAdFailed']=!0x1,this['isPlaying']=!0x1,this['adContainer']=w['WidgetsFactory']['create']('blaze-div'),this['placeholderContainer']=w['WidgetsFactory']['create']('blaze-div'),this['boundMessageEvent']=this['handleMessageEvent']['bind'](this),this['ctaModal']=w['WidgetsFactory']['create']('blaze-widget-cta-modal'),this['initStyles']();}['connectedCallback'](){this['append'](this['ctaModal']),this['render']();}['disconnectedCallback'](){}['render'](){}['handleMessageEvent'](B){switch(B['data']){case'BLAZE_CTA_CLICK':this['event'](q['AdAction']['Click'],{'gesture_type':'CTA\x20Click'});break;case'BLAZE_END_AD':this['contentParent']instanceof m['BlazeWidgetStory']?(this['contentParent']['navigationType']='Automatic',this['contentParent']['goNextPage']()):this['contentParent']instanceof m['BlazeWidgetMoment']&&this['contentParent']['modal']['handleClickNavigation']('NEXT'),this['dispatchEvent'](new CustomEvent(v['InternalEvent']['AD_ENDED'],{'bubbles':!0x0,'cancelable':!0x1}));}}get['currentTime'](){return 0x0;}set['currentTime'](B){}get['duration'](){return 0x0;}get['progress'](){return 0x0;}set['muted'](B){this['changeAdMutedState'](B);}['getGoogletag'](){return window['googletag']||{'cmd':{'push':()=>{}}};}['getAdIframeRef'](){var B;return document['querySelector']('iframe[id*=\x22'+(null===(B=this['data']['adInfo'])||void 0x0===B?void 0x0:B['path'])+'\x22]');}['changeAdMutedState'](B){if(!this['isCurrentlyDisplay'])return;if(!this['data'])return;const C=this['getAdIframeRef']();(null==C?void 0x0:C['contentWindow'])&&(B?C['contentWindow']['postMessage']('BLAZE_AD_MUTED','*'):C['contentWindow']['postMessage']('BLAZE_AD_UNMUTED','*'));}['setData'](B){this['data']=B;let C='moment';this['contentParent']instanceof m['BlazeWidgetStory']&&(C=this['contentParent']['mode']['split']('\x20')['join']('-')),this['adContainer']['id']=B['id']+'-'+C,this['appendChild'](this['adContainer']);}['startEnter'](){return k(this,void 0x0,void 0x0,function*(){const B=this['data']['adInfo'];B&&(yield this['isAdContainerConnectedToDOM']())&&(this['isCurrentlyDisplay']||(window['addEventListener']('message',this['boundMessageEvent']),this['placeholderContainer']['style']['display']='flex',this['style']['display']='block',this['style']['height']='100%',this['isCurrentlyDisplay']=!0x0,this['contentParent']['adjustContentView'](),this['failToLoadTimeout']=setTimeout(()=>{var C;this['isCurrentlyDisplay']&&(this['isAdFailed']=!0x0,this['isPlaying']&&(null===(C=this['onFail'])||void 0x0===C||C['call'](this)));},q['FAIL_TO_LOAD_TIMEOUT_MS']),this['event'](q['AdAction']['Requested']),this['getGoogletag']()['cmd']['push'](()=>{var C,D;const E=this['findOwnSlot']();E&&this['getGoogletag']()['destroySlots']([E]);const F=B['path'],G=I=>{var J;if(I['slot']['getSlotElementId']()===this['adContainer']['id']){if(clearTimeout(this['failToLoadTimeout']),this['failToLoadTimeout']=void 0x0,I['isEmpty'])this['isCurrentlyDisplay']&&(this['isAdFailed']=!0x0,this['isPlaying']&&(null===(J=this['onFail'])||void 0x0===J||J['call'](this)));else{this['placeholderContainer']['style']['display']='none',this['isAdFailed']=!0x1,this['event'](q['AdAction']['View']);const K=this['getAdIframeRef'](),L=null==K?void 0x0:K['contentWindow'],M=null==L?void 0x0:L['document']['body'];M&&(M['style']['direction']=x['ConfigService']['layoutDirection']);}this['getGoogletag']()['pubads']()['removeEventListener']('slotRenderEnded',G);}};this['getGoogletag']()['pubads']()['addEventListener']('slotRenderEnded',G),this['getGoogletag']()['pubads']()['display'](F,['fluid',[0x1,0x1]],this['adContainer']['id']);const H=this['findOwnSlot']();if(H){const I=(null===(D=null===(C=x['ConfigService']['googleCustomNativeAdHandler'])||void 0x0===C?void 0x0:C['provideAdExtraParams'])||void 0x0===D?void 0x0:D['call'](C,{'path':F},this['contentParent']['contentExtraInfo']))||{};if(this['contentParent']instanceof m['BlazeWidgetStory']){const J=this['contentParent']['currentPageIndexWithoutCustomAds'];J&&(I['page_index']=J['toString']());}(0x0,z['addContextToCustomTargeting'])(B,I),Object['entries'](I)['forEach'](([K,L])=>{H['setTargeting'](K,L);});}this['getGoogletag']()['enableServices'](),H&&this['getGoogletag']()['pubads']()['refresh']([H]);})));});}['endExit'](){this['destroyAd']();}['getIframeVideoElement'](){const B=this['getAdIframeRef'](),C=null==B?void 0x0:B['contentWindow'],D=null==C?void 0x0:C['document']['body'],E=null==D?void 0x0:D['getElementsByTagName']('video');return null==E?void 0x0:E[0x0];}['play'](){var B;this['isPlaying']=!0x0,this['isAdFailed']&&(null===(B=this['onFail'])||void 0x0===B||B['call'](this));try{const C=this['getIframeVideoElement']();C&&'function'==typeof C['play']&&C['getAttribute']('src')&&C['play']();}catch(D){}}get['paused'](){return!0x1;}['pause'](){this['isCurrentlyDisplay']=!0x1,this['isPlaying']=!0x1;try{const B=this['getAdIframeRef'](),C=null==B?void 0x0:B['contentWindow'],D=null==C?void 0x0:C['document']['body'],E=null==D?void 0x0:D['getElementsByTagName']('video'),F=null==E?void 0x0:E[0x0];F&&'function'==typeof F['pause']&&F['getAttribute']('src')&&F['pause']();}catch(G){}}['removeLoader'](){}['loadPoster'](){}['hide'](){this['placeholderContainer']['style']['display']='none',this['changeAdMutedState'](!0x0),this['style']['display']='none',this['isCurrentlyDisplay']=!0x1;}['display'](B){return k(this,void 0x0,void 0x0,function*(){this['onFail']=B;});}['mainElement'](){return this['adContainer'];}['initStyles'](){this['innerHTML']+='\x0a\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20blaze-widget-ad\x20iframe\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x20'+('mobile'===p['deviceDetector']['platform']?'0px':'20px')+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20blaze-widget-ad\x20blaze-div\x20div\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20',this['style']['borderRadius']='mobile'===p['deviceDetector']['platform']?'0px':'20px',this['style']['position']='absolute',this['style']['top']='0',this['style']['left']='0',this['style']['right']='0',this['style']['bottom']='0',this['placeholderContainer']['style']['display']='none',this['placeholderContainer']['style']['top']='0',this['placeholderContainer']['style']['position']='absolute',this['placeholderContainer']['style']['background']='black',this['placeholderContainer']['style']['height']='100%',this['placeholderContainer']['style']['width']='100%',this['placeholderContainer']['style']['justifyContent']='center',this['placeholderContainer']['style']['alignItems']='center',this['placeholderContainer']['style']['borderRadius']='mobile'===p['deviceDetector']['platform']?'0px':'20px';const B=document['createElement']('blaze-loader');this['placeholderContainer']['appendChild'](B),this['appendChild'](this['placeholderContainer']);}['isAdContainerConnectedToDOM'](){return new Promise(B=>{var C;(null===(C=this['contentParent']['querySelector']('#'+this['adContainer']['id']))||void 0x0===C?void 0x0:C['isConnected'])?B(!0x0):new MutationObserver((D,E)=>{for(let F of D)if('childList'===F['type']){const G=this['contentParent']['querySelector']('#'+this['adContainer']['id']);G&&G['isConnected']&&(E['disconnect'](),B(!0x0));}})['observe'](document['body'],{'childList':!0x0,'subtree':!0x0});});}['findOwnSlot'](){return this['getGoogletag']()['pubads']()['getSlots']()['find'](B=>B['getSlotElementId']()===this['adContainer']['id']);}['destroyAd'](){this['getGoogletag']()['cmd']['push'](()=>{const B=this['findOwnSlot']();B&&this['getGoogletag']()['destroySlots']([B]);}),window['removeEventListener']('message',this['boundMessageEvent']);}['handleCtaSwipeUp'](){const B=this['getAdIframeRef'](),C=null==B?void 0x0:B['contentWindow'],D=null==C?void 0x0:C['document']['body'],E=null==D?void 0x0:D['querySelectorAll']('a.cta'),F=null==E?void 0x0:E[0x0];if(!F)return;this['contentParent']instanceof m['BlazeWidgetStory']&&this['event'](q['AdAction']['Click'],{'gesture_type':'Swipe\x20Up'});const G=F['href'],H=F['style']['color']||y['Colors']['Black'],I=F['style']['backgroundColor']||y['Colors']['White'];this['ctaModal']['setAttributes']({'border-color':'#fff','background-color':I,'text-color':H,'icon-color':H,'progress-bar-color':H,'cta-url':G}),this['ctaModal']['open'](),null==C||C['postMessage']('BLAZE_CTA_SWIPE_UP','*'),setTimeout(()=>{p['deviceDetector']['isIOSMobileTabletSafari']()?window['location']['href']=F['href']:window['open'](F['href'],'_blank'),this['ctaModal']['close']();},0x2*q['ONE_SECOND']);}['event'](B,C){var D,E;const F=this['data']['adInfo'];if(!F)return;const G=this['contentParent']['getRefferingObject'](),H=new p['AdEvent']();switch(B){case q['AdAction']['View']:H['ad_start_trigger']=this['contentParent']['startTrigger'];break;case q['AdAction']['Exit']:H['ad_exit_trigger']=this['contentParent']['exitTrigger'];break;case q['AdAction']['Click']:C&&(H['gesture_type']=C['gesture_type']);}this['contentParent']instanceof m['BlazeWidgetStory']?(H['story_id']=this['contentParent']['data']['id'],H['story_title']=this['contentParent']['data']['title'],H['ad_insertion_logic']='AFTER\x20PAGE\x20INDEX\x202,7'):this['contentParent']instanceof m['BlazeWidgetMoment']&&(H['ad_insertion_logic']='MOMENT'),H['ad_server']='google_ad_manager',H['ad_path']=F['path'],'true'===(null===(D=x['AppConfigurationService']['appConfigurations'])||void 0x0===D?void 0x0:D['configurations']['analyticsAddEntitiesInfo'])&&(H['content_extra_info']=JSON['stringify'](this['contentParent']['data']['extraInfo'])),H['backoffice_campaign_data']=(null===(E=this['data']['adInfo'])||void 0x0===E?void 0x0:E['backofficeCampaignData'])||'',H['session_id']=this['contentParent']['sessionId'],H['ad_index']=this['contentParent']['adIndex']['toString']();const I=this['getIframeVideoElement']();I&&(H['ad_duration']=I['duration']['toString'](),H['ad_duration_viewed_percent']=(I['currentTime']/I['duration']*0x64)['toFixed'](0x0)),x['AnalyticsService']['pushAdEvent'](B,H,void 0x0,G);}}g['BlazeWidgetAd']=A;},0x2151:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetBannerAd']=void 0x0;const h=g(0x1932),j=g(0x26ed),k=g(0x11c1),l=g(0x2432);class m extends HTMLElement{['isHidden'](){return'block'!==this['style']['display']||'hidden'===this['style']['visibility'];}constructor(p){super(),this['adContainer']=document['createElement']('div'),this['isActive']=!0x1,this['gptSlot']=null,this['currentAdUnitId']=null,this['showDebounceTimer']=null,this['pendingSlotRenderEndedHandler']=null,this['hasAttemptedLoad']=!0x1,this['parentContnet']=p;}get['googletag'](){return window['googletag']||{'cmd':[]};}['connectedCallback'](){this['setInitialStyles'](),this['setAdContainer']();}['disconnectedCallback'](){if(this['cancelPendingShow'](),this['removePendingSlotRenderEndedListener'](),this['gptSlot']){const p=this['gptSlot'];this['gptSlot']=null,this['currentAdUnitId']=null,this['googletag']['cmd']['push'](()=>{this['googletag']['destroySlots']([p]);});}this['isActive']=!0x1,this['hasAttemptedLoad']=!0x1;}['cancelPendingShow'](){null!==this['showDebounceTimer']&&(clearTimeout(this['showDebounceTimer']),this['showDebounceTimer']=null);}['removePendingSlotRenderEndedListener'](){if(this['pendingSlotRenderEndedHandler']){const p=this['pendingSlotRenderEndedHandler'];this['pendingSlotRenderEndedHandler']=null,this['googletag']['cmd']['push'](()=>{this['googletag']['pubads']()['removeEventListener']('slotRenderEnded',p);});}}['show'](p,q=!0x0){k['AdService']['canRunAds']&&p&&(this['bannerAdInfo']=p,this['cancelPendingShow'](),this['showDebounceTimer']=setTimeout(()=>{this['showDebounceTimer']=null,this['executeShow'](p,q);},h['BANNER_REQUEST_DEBOUNCE_MS']));}['executeShow'](p,q){this['googletag']['cmd']['push'](()=>{var v,w,x,y;this['isActive']=!0x1;const z=p['adUnitId'];this['raiseAnalyticsEventToParent']({'type':h['AdAction']['BannerRequested'],'adUnitId':z});const A=D=>{D['slot']['getSlotElementId']()===this['adContainer']['id']&&(D['isEmpty']||(this['hasAttemptedLoad']=!0x0,this['style']['display']='block',this['style']['visibility']='visible',this['isActive']=!0x0,q&&(this['raiseAnalyticsEventToParent']({'type':h['AdAction']['BannerLoad'],'adUnitId':z}),this['raiseAnalyticsViewBannerAd']())),this['pendingSlotRenderEndedHandler']=null,this['googletag']['pubads']()['removeEventListener']('slotRenderEnded',A));};this['pendingSlotRenderEndedHandler']=A,this['googletag']['pubads']()['addEventListener']('slotRenderEnded',A);const B=(null===(w=null===(v=k['ConfigService']['googleCustomNativeAdHandler'])||void 0x0===v?void 0x0:v['provideAdExtraParams'])||void 0x0===w?void 0x0:w['call'](v,{'path':z},this['parentContnet']['contentExtraInfo']))||{};(0x0,l['addContextToCustomTargeting'])(p,B);const C=this['googletag']['pubads']()['getSlots']()['filter'](D=>D['getSlotElementId']()['startsWith']('ad-banner-')&&D['getSlotElementId']()!==this['adContainer']['id']);if(C['length']>0x0&&this['googletag']['destroySlots'](C),this['gptSlot']&&!this['googletag']['pubads']()['getSlots']()['some'](D=>D['getSlotElementId']()===this['adContainer']['id'])&&(this['gptSlot']=null,this['currentAdUnitId']=null),this['gptSlot']&&this['currentAdUnitId']!==z&&(this['googletag']['destroySlots']([this['gptSlot']]),this['gptSlot']=null,this['currentAdUnitId']=null),this['gptSlot']){const D=this['gptSlot'];Object['entries'](B)['forEach'](([E,F])=>{D['setTargeting'](E,F);}),this['googletag']['pubads']()['refresh']([D]);}else{this['googletag']['pubads']()['setCentering'](!0x0),this['googletag']['enableServices'](),this['gptSlot']=null!==(y=null===(x=this['googletag']['defineSlot'](z,[[0x140,0x32]],this['adContainer']['id']))||void 0x0===x?void 0x0:x['addService'](this['googletag']['pubads']()))&&void 0x0!==y?y:null;const E=this['gptSlot'];E&&(this['currentAdUnitId']=z,Object['entries'](B)['forEach'](([F,G])=>{E['setTargeting'](F,G);}),this['googletag']['display'](this['adContainer']['id']),this['googletag']['pubads']()['refresh']([E]));}});}['hide'](){this['cancelPendingShow'](),this['style']['visibility']='hidden';}['unhide'](){this['style']['visibility']='visible';}['setInitialStyles'](){(0x0,l['mergeStyles'])(this,{'width':'100%','height':'50px','display':'none','overflow':'hidden'});}['setAdContainer'](){this['adContainer']['id']='ad-banner-'+Date['now'](),this['appendChild'](this['adContainer']);}['raiseAnalyticsEventToParent'](p){this['dispatchEvent'](new CustomEvent(j['InternalEvent']['BANNER_ANALYTICS'],{'bubbles':!0x0,'detail':p}));}['raiseAnalyticsViewBannerAd'](){var p;k['AdService']['canRunAds']&&this['bannerAdInfo']&&this['isActive']&&!this['isHidden']()&&this['raiseAnalyticsEventToParent']({'type':h['AdAction']['BannerView'],'adUnitId':null===(p=this['bannerAdInfo'])||void 0x0===p?void 0x0:p['adUnitId']});}}f['BlazeWidgetBannerAd']=m;},0x2152:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['WSC_PREFIX']=f['TRANSPARENT']=void 0x0,f['TRANSPARENT']='transparent',f['WSC_PREFIX']='wsc_';},0x215e:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x218b:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EndedStreamLoader']=f['LiveStreamLoader']=f['UpcomingStreamLoader']=f['VodLoader']=f['BaseStreamLoader']=void 0x0;var h=g(0xb6d);Object['defineProperty'](f,'BaseStreamLoader',{'enumerable':!0x0,'get':function(){return h['BaseStreamLoader'];}});var j=g(0x11da);Object['defineProperty'](f,'VodLoader',{'enumerable':!0x0,'get':function(){return j['VodLoader'];}});var k=g(0x1d59);Object['defineProperty'](f,'UpcomingStreamLoader',{'enumerable':!0x0,'get':function(){return k['UpcomingStreamLoader'];}});var l=g(0x23d);Object['defineProperty'](f,'LiveStreamLoader',{'enumerable':!0x0,'get':function(){return l['LiveStreamLoader'];}});var m=g(0x11e3);Object['defineProperty'](f,'EndedStreamLoader',{'enumerable':!0x0,'get':function(){return m['EndedStreamLoader'];}});},0x21b0:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['WidgetsFactory']=void 0x0,f['WidgetsFactory']=class{static['create'](g,h){return document['createElement'](g,h);}static['define'](g,h,j){customElements['get'](g)||customElements['define'](g,h,j);}static['whenDefined'](g){return customElements['whenDefined'](g);}};},0x21bf:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeChip']=void 0x0;const h=g(0x1133),j=g(0x132a);class k extends h['BaseWidget']{constructor(){super();}['connectedCallback'](){this['style']['position']='absolute',this['style']['backgroundColor']='',this['style']['display']='flex',this['style']['alignItems']='center',this['style']['justifyContent']='center',this['style']['justifySelf']='center',this['style']['borderColor']=j['Colors']['White'],this['style']['borderStyle']='solid',this['style']['lineHeight']='1',this['style']['direction']='ltr',this['innerText']='';}}f['BlazeChip']=k;},0x21c3:(d,f)=>{'use strict';function g(h){return 0x2*h['message']['length']+0x2*h['metadata']['length']+0x2*h['logIdentifier']['length']+0x64;}Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['estimateEntrySize']=g,f['calculateTotalMemoryUsage']=function(h){return h['reduce']((j,k)=>j+g(k),0x0);};},0x21e0:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeImage']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super(),this['onError']=()=>{this['thumbnailElement']['style']['display']='none';},this['thumbnailElement']=document['createElement']('img'),this['thumbnailElement']['style']['width']='100%',this['thumbnailElement']['style']['objectFit']='cover',this['thumbnailElement']['style']['backgroundPosition']='center',this['thumbnailElement']['style']['backgroundRepeat']='no-repeat',this['thumbnailElement']['style']['background']='transparent',this['thumbnailElement']['style']['borderRadius']='inherit',this['thumbnailElement']['style']['pointerEvents']='none',this['thumbnailElement']['setAttribute']('loading','lazy'),this['thumbnailElement']['onerror']=this['onError'];}['load'](k){this['thumbnailElement']['src']=k,this['append'](this['thumbnailElement']);}['setHeight'](k){this['thumbnailElement']['style']['height']=k;}['setAccessibility'](k){this['thumbnailElement']['alt']=k,this['thumbnailElement']['ariaLabel']=k;}}f['BlazeImage']=j;},0x221f:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['getStreamAnalyticsConfig']=function(h){if(!h['stream'])return g['default'];const j=h['stream']['state'];return j&&j in g?g[j]:g['default'];};const g={'Upcoming':{'getDuration':()=>0x0,'getTimelineStart':()=>0x0,'getTimelineEnd':()=>0x0},'Live':{'getDuration':()=>0x0,'getTimelineStart':h=>h['currentTime']||0x0,'getTimelineEnd':h=>h['currentTime']||0x0},'Ended':{'getDuration':h=>h['duration']||0x0,'getTimelineStart':h=>h['currentTime']||0x0,'getTimelineEnd':h=>h['currentTime']||0x0},'default':{'getDuration':h=>h['duration']||0x0,'getTimelineStart':h=>h['currentTime']||0x0,'getTimelineEnd':h=>h['currentTime']||0x0}};},0x2223:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StreamUtils']=void 0x0;class g{static['validateState'](h){return!h||'Upcoming'!==h&&'Live'!==h&&'Ended'!==h?null:h;}static['isStream'](h){return void 0x0!==h['stream']&&null!==h['stream'];}static['getState'](h){var j,k;return null!==(k=null===(j=h['stream'])||void 0x0===j?void 0x0:j['state'])&&void 0x0!==k?k:null;}static['isUpcoming'](h){return'Upcoming'===g['getState'](h);}static['isLive'](h){return'Live'===g['getState'](h);}static['isEnded'](h){return'Ended'===g['getState'](h);}static['getStartTime'](h){var j;return null===(j=h['stream'])||void 0x0===j?void 0x0:j['startTime'];}static['getEndTime'](h){var j;return null===(j=h['stream'])||void 0x0===j?void 0x0:j['endTime'];}}f['StreamUtils']=g;},0x2251:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['getPersonalizedParamsForRequest']=function(g){if(!g||'object'!=typeof g)return{};switch(g['type']){case'ids':return{'PersonalPlayers':g['players'],'PersonalTeams':g['teams']};case'labels':return{'PersonalLabelFilterExpression':g['labelsFilterExpression'],'PersonalLabelPriority':g['labelsPriority']};default:return{};}};},0x227b:(f,g,h)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['addToOfflineQueueWithPruning']=g['pruneOfflineQueue']=g['extractEntryIds']=g['sanitizeBatchSizeConfiguration']=g['shouldIgnoreLog']=g['validateLoggerConfigurationDetailed']=g['calculateTotalMemoryUsage']=g['estimateEntrySize']=g['compressPayload']=g['MetadataKeys']=g['buildLogMetadata']=g['calculateLogPriority']=g['isLogLevelAllowed']=g['LOG_LEVEL_VALUES']=void 0x0;var j=h(0x23cc);Object['defineProperty'](g,'LOG_LEVEL_VALUES',{'enumerable':!0x0,'get':function(){return j['LOG_LEVEL_VALUES'];}}),Object['defineProperty'](g,'isLogLevelAllowed',{'enumerable':!0x0,'get':function(){return j['isLogLevelAllowed'];}}),Object['defineProperty'](g,'calculateLogPriority',{'enumerable':!0x0,'get':function(){return j['calculateLogPriority'];}});var k=h(0x29);Object['defineProperty'](g,'buildLogMetadata',{'enumerable':!0x0,'get':function(){return k['buildLogMetadata'];}}),Object['defineProperty'](g,'MetadataKeys',{'enumerable':!0x0,'get':function(){return k['MetadataKeys'];}});var m=h(0x2537);Object['defineProperty'](g,'compressPayload',{'enumerable':!0x0,'get':function(){return m['compressPayload'];}});var p=h(0x21c3);Object['defineProperty'](g,'estimateEntrySize',{'enumerable':!0x0,'get':function(){return p['estimateEntrySize'];}}),Object['defineProperty'](g,'calculateTotalMemoryUsage',{'enumerable':!0x0,'get':function(){return p['calculateTotalMemoryUsage'];}});var q=h(0x253f);Object['defineProperty'](g,'validateLoggerConfigurationDetailed',{'enumerable':!0x0,'get':function(){return q['validateLoggerConfigurationDetailed'];}}),Object['defineProperty'](g,'shouldIgnoreLog',{'enumerable':!0x0,'get':function(){return q['shouldIgnoreLog'];}}),Object['defineProperty'](g,'sanitizeBatchSizeConfiguration',{'enumerable':!0x0,'get':function(){return q['sanitizeBatchSizeConfiguration'];}});var u=h(0x55b);Object['defineProperty'](g,'extractEntryIds',{'enumerable':!0x0,'get':function(){return u['extractEntryIds'];}});var v=h(0x1b21);Object['defineProperty'](g,'pruneOfflineQueue',{'enumerable':!0x0,'get':function(){return v['pruneOfflineQueue'];}}),Object['defineProperty'](g,'addToOfflineQueueWithPruning',{'enumerable':!0x0,'get':function(){return v['addToOfflineQueueWithPruning'];}});},0x227f:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeDataSourceValidations']=f['BlazeDataSourceFactory']=f['BlazeInternalError']=void 0x0;const h=g(0x1bdd),j=g(0x11c1);f['BlazeInternalError']={'LabelExpressionMustNotBeEmpty':'labelExpressionMustNotBeEmpty','InvalidNumberOfMaxItems':'invalidNumberOfMaxItems','IdsMustNotBeEmpty':'idsMustNotBeEmpty','MissingLabelsProperty':'missingLabelsProperty','IdsMustNotHaveSpaces':'idsMustNotHaveSpaces','SearchTextMustNotBeEmpty':'searchTextMustNotBeEmpty','ForYouNotSupported':'the\x20\x22Recommendations\x20-\x20For\x20You\x22\x20feature\x20is\x20currently\x20not\x20supported\x20on\x20widgets.\x20Please\x20contact\x20support\x20to\x20discuss\x20upgrade\x20options.','TrendingNotSupported':'the\x20\x22Recommendations\x20-\x20Trending\x22\x20feature\x20is\x20currently\x20not\x20supported\x20on\x20widgets.\x20Please\x20contact\x20support\x20to\x20discuss\x20upgrade\x20options.','RecommendationTypeMustBeProvided':'At\x20least\x20one\x20recommendation\x20type\x20(forYou\x20or\x20trending)\x20must\x20be\x20provided','ForYouAnyLabelFilterMustBeArray':'For\x20You\x20anyLabelFilter\x20must\x20be\x20an\x20array','ForYouPromotedLabelsMustBeArray':'For\x20You\x20promotedLabels\x20must\x20be\x20an\x20array','TrendingAnyLabelFilterMustBeArray':'Trending\x20anyLabelFilter\x20must\x20be\x20an\x20array','TrendingPromotedLabelsMustBeArray':'Trending\x20promotedLabels\x20must\x20be\x20an\x20array','RecommendationsNotSupportedForVideo':'Recommendations\x20are\x20not\x20supported\x20for\x20video\x20content\x20type','ForYouContentPreparationNotEnabled':'For\x20You\x20content\x20preparation\x20is\x20not\x20enabled\x20for\x20player','TrendingContentPreparationNotEnabled':'Trending\x20content\x20preparation\x20is\x20not\x20enabled\x20for\x20player'};class k{static['createLabelsDataSource'](m){const {labels:p,text:q,labelsPriority:u,orderType:v,maxItems:w,advancedOrdering:x,personalized:y}=m;try{l['validate']({'sourceType':'labels','labels':p,'text':q,'labelsPriority':u,'orderType':v,'maxItems':w,'advancedOrdering':x,'personalized':y});}catch(z){}finally{return{'sourceType':'labels','labels':p,'text':q,'labelsPriority':k['setLabelsPriority'](u),'orderType':v,'maxItems':w,'advancedOrdering':x,'personalized':y};}}static['createIdsDataSource'](m){const {ids:p,orderType:q,advancedOrdering:r}=m;try{l['validate']({'sourceType':'ids','ids':p,'orderType':q,'advancedOrdering':r});}catch(u){}finally{return{'sourceType':'ids','ids':p,'orderType':q,'advancedOrdering':r};}}static['createRecommendationsDataSource'](m){const {recommendations:p}=m;try{return l['validate']({'sourceType':'recommendations','recommendations':p}),{'sourceType':'recommendations','recommendations':p};}catch(q){return{'sourceType':'recommendations'};}}static['createTextDataSource'](m){const {text:p,orderType:q,maxItems:r,advancedOrdering:u,personalized:v}=m;try{l['validate']({'sourceType':'text','text':p,'orderType':q,'maxItems':r,'advancedOrdering':u,'personalized':v});}catch(w){}finally{return{'sourceType':'text','text':p,'orderType':q,'maxItems':r,'advancedOrdering':u,'personalized':v};}}static['setLabelsPriority'](m){return'string'==typeof m?m['startsWith']('[')&&m['endsWith'](']')?m:'['+m+']':Array['isArray'](m)?m['every'](p=>p instanceof h['BlazeWidgetLabel'])?'['+m['map'](p=>p['toString']())['join']()+']':'['+m['join']()+']':'';}}f['BlazeDataSourceFactory']=k;class l{static['validate'](m,p){this['validateFormat'](m),p&&'recommendations'===m['sourceType']&&this['validateRecommendationsForContentType'](m,p);}static['validateFormat'](m){var p,q,r;switch(m['sourceType']){case'labels':if(void 0x0===m['labels']||null===m['labels'])throw new Error(f['BlazeInternalError']['MissingLabelsProperty']);if(!(null===(p=m['labels'])||void 0x0===p?void 0x0:p['toString']()['trim']()['length']))throw new Error(f['BlazeInternalError']['LabelExpressionMustNotBeEmpty']);if(void 0x0!==m['maxItems']&&m['maxItems']<=0x0)throw new Error(f['BlazeInternalError']['InvalidNumberOfMaxItems']);break;case'ids':if(!m['ids']||!m['ids']['length'])throw new Error(f['BlazeInternalError']['IdsMustNotBeEmpty']);if(m['ids']['some'](w=>/\s/['test'](w)))throw new Error(f['BlazeInternalError']['IdsMustNotHaveSpaces']);break;case'text':if(!m['text']||!m['text']['trim']()['length'])throw new Error(f['BlazeInternalError']['SearchTextMustNotBeEmpty']);if(void 0x0!==m['maxItems']&&m['maxItems']<=0x0)throw new Error(f['BlazeInternalError']['InvalidNumberOfMaxItems']);break;case'recommendations':const u=null===(q=m['recommendations'])||void 0x0===q?void 0x0:q['forYou'],v=null===(r=m['recommendations'])||void 0x0===r?void 0x0:r['trending'];if(!u&&!v)throw new Error(f['BlazeInternalError']['RecommendationTypeMustBeProvided']);if(u){if(u['anyLabelFilter']){if(!Array['isArray'](u['anyLabelFilter']))throw new Error(f['BlazeInternalError']['ForYouAnyLabelFilterMustBeArray']);if(!u['anyLabelFilter']['every'](w=>'string'==typeof w&&!/\s/['test'](w)))throw new Error(f['BlazeInternalError']['ForYouAnyLabelFilterMustBeArray']);}if(u['promotedLabels']){if(!Array['isArray'](u['promotedLabels']))throw new Error(f['BlazeInternalError']['ForYouPromotedLabelsMustBeArray']);if(!u['promotedLabels']['every'](w=>'string'==typeof w&&!/\s/['test'](w)))throw new Error(f['BlazeInternalError']['ForYouPromotedLabelsMustBeArray']);}}if(v&&v['anyLabelFilter']){if(!Array['isArray'](v['anyLabelFilter']))throw new Error(f['BlazeInternalError']['TrendingAnyLabelFilterMustBeArray']);if(!v['anyLabelFilter']['every'](w=>'string'==typeof w&&!/\s/['test'](w)))throw new Error(f['BlazeInternalError']['TrendingAnyLabelFilterMustBeArray']);}}}static['validateRecommendationsForContentType'](m,p){var q,w,x;if('recommendations'===m['sourceType']){const y=null===(q=j['AppConfigurationService']['appConfigurations'])||void 0x0===q?void 0x0:q['recommendationsConfigurations'];if(y){const z=null===(w=m['recommendations'])||void 0x0===w?void 0x0:w['forYou'],A=null===(x=m['recommendations'])||void 0x0===x?void 0x0:x['trending'],{supportForYou:B,supportTrending:C,supportStoriesForYou:D,supportStoriesTrending:E,enableForYouContentPreparation:F,enableTrendingContentPreparation:G}=y;if('video'===p)throw new Error(f['BlazeInternalError']['RecommendationsNotSupportedForVideo']);if(z){if(!('story'===p?D:B))throw new Error(f['BlazeInternalError']['ForYouNotSupported']);if(!F)throw new Error(f['BlazeInternalError']['ForYouContentPreparationNotEnabled']);}if(A){if(!('story'===p?E:C))throw new Error(f['BlazeInternalError']['TrendingNotSupported']);if(!G)throw new Error(f['BlazeInternalError']['TrendingContentPreparationNotEnabled']);}}}}}f['BlazeDataSourceValidations']=l;},0x2280:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['MomentAccessibilityStrategy']=f['StoryAccessibilityStrategy']=void 0x0;class g{constructor(h,j){this['contentType']=h,this['buttonLabels']=j,this['registeredWidgets']=new Map();}['setupAccessibility'](h,j){this['registeredWidgets']['set'](h,j),this['updateLabels'](h,j['data']);}['updateLabels'](h,j){const k=this['registeredWidgets']['get'](h);if(!k)return;const {buttons:l}=k;if(l['play']){const m=j['isPlaying']?this['buttonLabels']['pause']:this['buttonLabels']['play'];l['play']['setAriaLabel'](''+m);}if(l['mute']){const o=j['isMuted']?this['buttonLabels']['unmute']:this['buttonLabels']['mute'];l['mute']['setAriaLabel'](''+o);}l['share']&&l['share']['setAriaLabel'](''+this['buttonLabels']['share']),l['close']&&l['close']['setAriaLabel'](this['buttonLabels']['close']),l['captions']&&l['captions']['setAriaLabel'](''+this['buttonLabels']['captions']),l['cta']&&j['ctaText']?l['cta']['setAriaLabel'](j['ctaText']+'\x20-\x20opens\x20in\x20a\x20new\x20tab'):l['cta']&&l['cta']['setAriaLabel']('Call\x20to\x20action\x20-\x20opens\x20in\x20a\x20new\x20tab');}['cleanup'](h){this['registeredWidgets']['delete'](h);}}f['StoryAccessibilityStrategy']=class extends g{constructor(h){super('story',h),this['storyButtonLabels']=h;}['updateLabels'](h,j){super['updateLabels'](h,j);const k=this['registeredWidgets']['get'](h);if(!k)return;const {buttons:l}=k;l['nextStoryPage']&&l['nextStoryPage']['setAriaLabel'](this['storyButtonLabels']['nextStoryPage']),l['prevStoryPage']&&l['prevStoryPage']['setAriaLabel'](this['storyButtonLabels']['prevStoryPage']),l['nextStory']&&l['nextStory']['setAriaLabel'](this['storyButtonLabels']['nextStory']),l['prevStory']&&l['prevStory']['setAriaLabel'](this['storyButtonLabels']['prevStory']);}},f['MomentAccessibilityStrategy']=class extends g{constructor(h){super('moment',h),this['momentButtonLabels']=h;}['updateLabels'](h,j){super['updateLabels'](h,j);const k=this['registeredWidgets']['get'](h);if(!k)return;const {buttons:l}=k;if(l['like']){const m=j['isLiked']?this['momentButtonLabels']['unlike']:this['momentButtonLabels']['like'];l['like']['setAriaLabel'](''+m);}if(l['follow']){const o=j['isFollowed']?this['momentButtonLabels']['unfollow']:this['momentButtonLabels']['follow'];l['follow']['setAriaLabel'](''+o);}l['nextMoment']&&l['nextMoment']['setAriaLabel'](this['momentButtonLabels']['nextMoment']),l['prevMoment']&&l['prevMoment']['setAriaLabel'](this['momentButtonLabels']['prevMoment']);}};},0x228f:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ShortFormHLSStrategy']=void 0x0;const j=g(0x31b),k=g(0x149b);class l extends k['BaseHLSStrategy']{constructor(){super(...arguments),this['isPrefetchMode']=!0x1,this['fragmentsLoaded']=0x0,this['maxPrefetchFragments']=0x2,this['isBufferLoaderActive']=!0x1,this['lastProgressTime']=0x0,this['lastCurrentTime']=0x0,this['boundOnTimeUpdate']=this['handleTimeUpdate']['bind'](this),this['MIN_BUFFER_BEFORE_RECOVERY']=0.5,this['lastRecoveryAttempt']=0x0,this['RECOVERY_COOLDOWN']=0xbb8;}['initialize'](m){this['loaderDelegate']=null==m?void 0x0:m['loaderDelegate'],this['setupEventListeners']();}['setupEventListeners'](){super['setupEventListeners'](),this['video']['addEventListener'](j['EVENTS']['TIMEUPDATE'],this['boundOnTimeUpdate']);}['setupHLSInstance'](m,p){super['setupHLSInstance'](m,p,k['HLS_CONFIGS']['SHORT_FORM']),this['video']['setAttribute']('webkit-playsinline','true'),this['video']['playsInline']=!0x0,this['video']['controls']=!0x1,this['video']['muted']=this['videoPlayerState']['isMuted'],this['hls']&&this['hls']['on'](Hls['Events']['MANIFEST_PARSED'],this['handleManifestParsedForPrefetch']['bind'](this));}['handleManifestParsedForPrefetch'](){this['isPrefetchMode']?this['startPrefetchLoading']():this['hls']&&'function'==typeof this['hls']['startLoad']&&this['hls']['startLoad']();}['startPrefetchLoading'](){if(!this['hls']||'function'!=typeof this['hls']['startLoad'])return;this['fragmentsLoaded']=0x0;const m=()=>{var p,q;this['fragmentsLoaded']++,this['fragmentsLoaded']>=this['maxPrefetchFragments']&&(null===(p=this['hls'])||void 0x0===p||p['stopLoad'](),null===(q=this['hls'])||void 0x0===q||q['off'](Hls['Events']['FRAG_LOADED'],m));};this['hls']['on'](Hls['Events']['FRAG_LOADED'],m),this['hls']['startLoad']();}['enablePrefetchMode'](){this['isPrefetchMode']=!0x0;}['disablePrefetchMode'](){this['isPrefetchMode']=!0x1;}['onLoadingState'](){var m,p;null===(p=null===(m=this['loaderDelegate'])||void 0x0===m?void 0x0:m['show'])||void 0x0===p||p['call'](m);}['onBufferUpdate'](m){}['handlePlaying'](){var m,p;this['isBufferLoaderActive']&&(this['isBufferLoaderActive']=!0x1),null===(p=null===(m=this['loaderDelegate'])||void 0x0===m?void 0x0:m['hide'])||void 0x0===p||p['call'](m),this['lastProgressTime']=Date['now'](),this['lastCurrentTime']=this['video']['currentTime'];}['handlePause'](){var m,p;this['isBufferLoaderActive']&&(this['isBufferLoaderActive']=!0x1),null===(p=null===(m=this['loaderDelegate'])||void 0x0===m?void 0x0:m['hide'])||void 0x0===p||p['call'](m);}['handlePlaybackTimeout'](){var m,p,q,r,u,v;'visible'!==document['visibilityState']||document['hidden']||(this['onLoadingState'](),this['isSlowConnection']()||this['getBufferAhead']()>0x0?this['hls']&&(this['hls']['levels']&&this['hls']['levels']['length']>0x1&&(this['hls']['currentLevel']=0x0),this['hls']['startLoad']()):this['hls']&&(this['video']['error']?null===(p=(m=this['hls'])['recoverMediaError'])||void 0x0===p||p['call'](m):(this['pause'](),null===(r=(q=this['hls'])['detachMedia'])||void 0x0===r||r['call'](q),null===(v=(u=this['hls'])['attachMedia'])||void 0x0===v||v['call'](u,this['video']),this['video']['play']()['catch'](w=>{this['reloadStream']();}))));}['onError'](m,p){p['fatal']||p['details'];}['handleError'](m,p){var q,r;if(this['isBufferLoaderActive']=!0x0,null===(r=null===(q=this['loaderDelegate'])||void 0x0===q?void 0x0:q['show'])||void 0x0===r||r['call'](q),p['fatal']||this['canAttemptRecovery']()){if(p['fatal'])super['handleError'](m,p);else switch(p['details']){case'bufferStalledError':case'bufferNudgeOnStall':if(!this['shouldTriggerRecovery']())return;if(this['tryForceLowestQuality']())return;break;case'fragLoadTimeOut':if(!this['shouldTriggerRecovery']())return;this['tryForceLowestQuality']();break;case'manifestLoadError':case'manifestLoadTimeOut':case'fragLoadError':break;default:super['handleError'](m,p);}}}['handleSeekRecovery'](m){this['video']['paused']||super['handleSeekRecovery'](m);}['seek'](m){var p;0x0!==m||this['video']['paused']||(this['video']['pause'](),null===(p=this['hls'])||void 0x0===p||p['stopLoad']()),super['seek'](m);}['play'](){const m=Object['create'](null,{'play':{'get':()=>super['play']}});return h(this,void 0x0,void 0x0,function*(){const p=yield m['play']['call'](this);return this['startProgressBasedLoaderCleanup'](),p;});}['pause'](){super['pause'](),this['stopProgressBasedLoaderCleanup']();}['unload'](){var m,p;this['hls']&&'undefined'!=typeof Hls&&Hls['isSupported']()&&(null===(p=(m=this['hls'])['stopLoad'])||void 0x0===p||p['call'](m)),this['video']['removeEventListener'](j['EVENTS']['TIMEUPDATE'],this['boundOnTimeUpdate']),this['stopProgressBasedLoaderCleanup'](),super['unload']();}['handleTimeUpdate'](){var m,p;const q=this['video']['currentTime'],r=Date['now']();q>this['lastCurrentTime']&&(this['lastProgressTime']=r,this['lastCurrentTime']=q,this['video']['paused']||this['video']['ended']||null===(p=null===(m=this['loaderDelegate'])||void 0x0===m?void 0x0:m['hide'])||void 0x0===p||p['call'](m));}['startProgressBasedLoaderCleanup'](){this['stopProgressBasedLoaderCleanup'](),this['lastProgressTime']=Date['now'](),this['lastCurrentTime']=this['video']['currentTime'],this['progressCheckInterval']=setInterval(()=>{this['checkVideoProgressAndCleanupLoader']();},0x3e8);}['stopProgressBasedLoaderCleanup'](){this['progressCheckInterval']&&(clearInterval(this['progressCheckInterval']),this['progressCheckInterval']=void 0x0);}['checkVideoProgressAndCleanupLoader'](){var m,p;const q=Date['now']()-this['lastProgressTime'],r=this['video']['currentTime'];!this['video']['paused']&&!this['video']['ended']&&r>0x0&&q<0x3e8&&(null===(p=null===(m=this['loaderDelegate'])||void 0x0===m?void 0x0:m['hide'])||void 0x0===p||p['call'](m));}['getBufferAhead'](){const m=this['video']['buffered'],p=this['video']['currentTime'];for(let q=0x0;q<m['length'];q++)if(m['start'](q)<=p&&p<=m['end'](q))return m['end'](q)-p;return 0x0;}['shouldTriggerRecovery'](){return!(this['getBufferAhead']()>this['MIN_BUFFER_BEFORE_RECOVERY']);}['tryForceLowestQuality'](){return!(!this['hls']||!this['hls']['levels']||this['hls']['levels']['length']<=0x1)&&(0x0!==this['hls']['currentLevel']&&(this['hls']['currentLevel']=0x0,this['hls']['startLoad'](),!0x0));}['canAttemptRecovery'](){const m=Date['now']();return!(m-this['lastRecoveryAttempt']<this['RECOVERY_COOLDOWN']||(this['lastRecoveryAttempt']=m,0x0));}}f['ShortFormHLSStrategy']=l;},0x229a:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(k,l,m,p){return new(m||(m=Promise))(function(q,u){function v(y){try{x(p['next'](y));}catch(z){u(z);}}function w(y){try{x(p['throw'](y));}catch(z){u(z);}}function x(y){var z;y['done']?q(y['value']):(z=y['value'],z instanceof m?z:new m(function(A){A(z);}))['then'](v,w);}x((p=p['apply'](k,l||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoAdController']=void 0x0;const j=g(0x2432);f['VideoAdController']=class{constructor(k,l){this['vastAd']=k,this['host']=l,this['adPercentageShownPlaces']=new Map(),this['adIndex']=0x0,this['forceSkipPreroll']=!0x1;}['reset'](){this['adPercentageShownPlaces']['clear'](),this['adIndex']=0x0;}['tryToPlay'](k){return h(this,void 0x0,void 0x0,function*(){const {data:l,video:m,playbackStrategy:p}=this['host'];if(this['forceSkipPreroll'])return this['forceSkipPreroll']=!0x1,this['adPercentageShownPlaces']['set'](0x0,!0x0),!0x1;if(l['adInfo']&&(0x0,j['isImaAdInfo'])(l['adInfo'])&&!this['adPercentageShownPlaces']['get'](0x0)){let q;this['adPercentageShownPlaces']['set'](0x0,!0x0);try{q=null==p?void 0x0:p['getDuration'](),(!q||isNaN(q)||q<=0x0)&&(q=void 0x0);}catch(r){q=void 0x0;}return!!(yield this['vastAd']['startAd']({'videoElement':m,'adInfo':l['adInfo'],'contentExtraInfo':k,'addCustomParams':void 0x0,'addExtraAnalyticsParams':()=>({'ad_index':this['adIndex']['toString'](),'session_id':this['host']['getSessionId'](),'video_id':l['id'],'video_title':l['title']}),'videoUrl':l['baseLayer']['content']['renditions'][0x0]['url'],'videoDuration':q}));}return!0x1;});}['onAdStarted'](){this['adIndex']++,this['host']['setIsPlayingAd'](!0x0),this['host']['pause']();}['onAdEnded'](){this['host']['setIsPlayingAd'](!0x1),this['host']['play']();}['markPrerollAsPlayed'](){this['adPercentageShownPlaces']['set'](0x0,!0x0);}['skipNextPrerollOnce'](){this['forceSkipPreroll']=!0x0;}};},0x22ae:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x22c1:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeShareButton']=void 0x0;const h=g(0x1133),j=g(0x22d9),k=g(0x115);class l extends h['BaseWidget']{constructor(){super();}static get['observedAttributes'](){return['size','button-type'];}get['size'](){return this['getAttribute']('size');}set['size'](m){this['setAttribute']('size',m);}set['type'](m){this['setAttribute']('button-type',m);}get['fontSize'](){switch(this['size']){case'small':return'.5rem';default:case'medium':return'.8rem';case'large':return'1rem';}}['connectedCallback'](){this['onClick']&&this['addEventListener']('click',this['onClick']['bind'](this)),this['setStyle']({'display':'flex','gap':'.3rem','flexDirection':'column','alignItems':'center','maxWidth':'3.5rem'});}['disconnectedCallback'](){this['onClick']&&this['removeEventListener']('click',this['onClick']['bind'](this));}['attributeChangedCallback'](m,p,q){switch(m){case'size':this['onSizeChange'](this['getAttribute'](m));break;case'button-type':this['onTypeChange'](this['getAttribute'](m));}}['onSizeChange'](m='medium'){this['style']['fontSize']=this['fontSize'];}['onTypeChange'](m){'copy-link'===m&&this['createButton']('Copy\x20Link',k['IconLink']);}['createButton'](m,p){const q=j['WidgetsFactory']['create']('blaze-div');q['setStyle']({'display':'flex','alignItems':'center','justifyContent':'center','width':'3rem','height':'3rem','borderRadius':'.3rem','backgroundColor':'#b1b1b1'});const r=j['WidgetsFactory']['create']('blaze-div');r['setStyle']({'display':'block','width':'1.5rem','height':'1.5rem','cursor':'pointer','flexShrink':'0','background':'center\x20center\x20url(\x27'+p+'\x27)\x20no-repeat','backgroundSize':'contain'});const u=j['WidgetsFactory']['create']('blaze-typography');u['text']=m,u['setStyle']({'textAlign':'center'}),q['append'](r),this['append'](q),this['append'](u);}}f['BlazeShareButton']=l;},0x22d9:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x21b0),f);},0x22de:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['PlayerViewTemplate']=void 0x0;const j=g(0x132a),k=g(0x2382),m=g(0x19b0),p=g(0x1d65);class q{static['display'](u,v,w){return h(this,void 0x0,void 0x0,function*(){const x=this['templates'][u];if(x&&this['validateStyleType'](u,w['style']))switch(u){case'story':case'video':case'moment':return x['render'](v,{'style':w['style'],'actionHandlers':w['actionHandlers']},w['orderByReadStatus']);}});}static['validateStyleType'](u,v){switch(u){case'story':if(!(0x0,j['isStoryPlayerStyle'])(v))return!0x1;break;case'video':if(!(0x0,j['isVideoPlayerStyle'])(v))return!0x1;break;case'moment':if(!(0x0,j['isMomentPlayerStyle'])(v))return!0x1;}return!0x0;}}f['PlayerViewTemplate']=q,q['templates']={'story':new k['StoryModalTemplate'](),'video':new m['VideoModalTemplate'](),'moment':new p['MomentModalTemplate']()};},0x2382:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StoryModalTemplate']=void 0x0;const h=g(0x1529),j=g(0x11c1),k=g(0x23a6),l=g(0x26ed);class m extends h['BaseModalTemplate']{['createModal'](p,q,u){const v=new k['BlazeWidgetStoryModal'](p,q,u);return v['id']='blaze-story-modal-'+Math['random']()['toString'](0x24),v['playerLayout']=q,v;}['configureModal'](p,q){var u;p['setModalContent'](q,0x0,void 0x0),p['player']['contentList']['forEach'](v=>{v['startTrigger']='UI\x20Button',v['refContentModal']=p,v['resetStoryLocationIndexToLastUnseen']();}),p['seek'](null!==(u=q[0x0]['id'])&&void 0x0!==u?u:'');}['getService'](){return j['StoryService'];}['getErrorCode'](){return l['ErrorCode']['FailedLoadingStories'];}}f['StoryModalTemplate']=m;},0x238c:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['CcSupportedLanguages']=void 0x0,f['CcSupportedLanguages']=[{'code':'en','name':'English'},{'code':'es','name':'Spanish'},{'code':'fr','name':'French'},{'code':'de','name':'German'},{'code':'nl','name':'Dutch'},{'code':'ja','name':'Japanese'},{'code':'null','name':'Default'}];},0x239a:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetItemSkeleton']=void 0x0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(k,l,m,p){super(),this['width']=l,this['thumbnailHeight']=m,this['labelHeight']=p,this['style']['width']=l+'px',this['layoutStyle']=k;}['connectedCallback'](){var k;if(this['shadowRoot'])return;const l=this['attachShadow']({'mode':'open'}),m=document['createElement']('style');m['textContent']='\x0a\x20\x20\x20\x20\x20\x20:host\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x20/*\x20Ensure\x20the\x20skeleton\x20stays\x20within\x20the\x20element\x20*/\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.thumbnail-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(90deg,\x20#f0f0f0\x2025%,\x20#e0e0e0\x2050%,\x20#f0f0f0\x2075%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-size:\x20400%\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x20'+(null===(k=this['layoutStyle'])||void 0x0===k?void 0x0:k['borderRadius'])+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation:\x20loading\x201.5s\x20ease\x20infinite;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.label-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-image:\x20linear-gradient(90deg,\x20#f0f0f0\x2025%,\x20#e0e0e0\x2050%,\x20#f0f0f0\x2075%);\x0a\x20\x20\x20\x20\x20\x20\x20\x20background-size:\x20400%\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20animation:\x20loading\x201.5s\x20ease\x20infinite;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.thumbnail-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+this['thumbnailHeight']+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20.label-loader\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+(this['labelHeight']-(0x0===this['layoutStyle']['labelStyle']['gap']?0x4:this['layoutStyle']['labelStyle']['gap']))+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20bottom:\x200;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20@keyframes\x20loading\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x200%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-position:\x20100%\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20100%\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-position:\x20-100%\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',l['appendChild'](m);const p=document['createElement']('div');p['classList']['add']('thumbnail-loader');const q=document['createElement']('div');this['layoutStyle']['labelStyle']['isVisible']&&q['classList']['add']('label-loader'),l['appendChild'](p),this['layoutStyle']['labelStyle']['isVisible']&&l['appendChild'](q);}}f['BlazeWidgetItemSkeleton']=j,customElements['get']('blaze-widget-item-skeleton')||customElements['define']('blaze-widget-item-skeleton',j);},0x23a6:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x15a2),f),j(g(0x8c0),f),j(g(0x731),f),j(g(0x2120),f),j(g(0x2151),f),j(g(0x19a9),f),j(g(0x54c),f),j(g(0xccc),f),j(g(0x244a),f),j(g(0x565),f),j(g(0x1492),f),j(g(0x33),f),j(g(0x14c),f),j(g(0x1f70),f),j(g(0xab4),f),j(g(0x1098),f),j(g(0x2027),f),j(g(0xf49),f),j(g(0x183e),f),j(g(0x1a96),f),j(g(0x5ee),f),j(g(0x1d16),f),j(g(0x416),f),j(g(0x1345),f),j(g(0xb0b),f),j(g(0x23f9),f),j(g(0x1789),f),j(g(0x1d2f),f);},0x23ac:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['AniviewCookieSyncService']=void 0x0;const j=g(0x1133),k=g(0x6a3);class l extends(0x0,j['Singleton'])(){constructor(){super(...arguments),this['iframe']=null,this['loadPromise']=null,this['_consumed']=!0x1,this['_owner']=null;}['preload'](m){this['iframe']||(this['_owner']=m,this['iframe']=document['createElement']('iframe'),this['iframe']['src']=k['ANIVIEW_COOKIE_SYNC_URL'],this['iframe']['setAttribute']('aria-hidden','true'),this['iframe']['setAttribute']('tabindex','-1'),this['iframe']['title']='',Object['assign'](this['iframe']['style'],{'width':'0','height':'0','border':'none','position':'absolute','overflow':'hidden','pointerEvents':'none','opacity':'0'}),this['loadPromise']=new Promise(p=>{const q=setTimeout(()=>{p();},k['ANIVIEW_COOKIE_SYNC_TIMEOUT_MS']),r=()=>clearTimeout(q);this['iframe']['addEventListener']('load',()=>{r(),p();},{'once':!0x0}),this['iframe']['addEventListener']('error',()=>{r(),p();},{'once':!0x0});}),m['appendChild'](this['iframe']));}['waitUntilReady'](){return h(this,void 0x0,void 0x0,function*(){if(!this['loadPromise'])return;const m=this['loadPromise'];yield m,this['loadPromise']===m&&(this['_consumed']=!0x0);});}['destroy'](m){var p;void 0x0!==m&&this['_owner']!==m||(null===(p=this['iframe'])||void 0x0===p||p['remove'](),this['iframe']=null,this['loadPromise']=null,this['_consumed']=!0x1,this['_owner']=null);}get['isActive'](){return null!==this['iframe'];}get['isConsumed'](){return this['_consumed'];}}f['AniviewCookieSyncService']=l['getInstance']();},0x23b6:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['FAIL_TO_LOAD_TIMEOUT_MS']=f['ONE_AND_HALF_SECOND']=f['ONE_SECOND']=void 0x0,f['ONE_SECOND']=0x3e8,f['ONE_AND_HALF_SECOND']=0x5dc,f['FAIL_TO_LOAD_TIMEOUT_MS']=0xbb8;},0x23bc:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['USER_ACTIVITY_EVENTS']=void 0x0,f['USER_ACTIVITY_EVENTS']={'MOMENT_LIKE_CHANGED':'WscUserActivity:MomentLikeChanged','MOMENT_VIEW_CHANGED':'WscUserActivity:MomentViewChanged','VIDEO_LIKE_CHANGED':'WscUserActivity:VideoLikeChanged','VIDEO_VIEW_CHANGED':'WscUserActivity:VideoViewChanged','STORY_PAGE_VIEW_CHANGED':'WscUserActivity:StoryPageViewChanged','INTERACTION_CHANGED':'WscUserActivity:InteractionChanged'};},0x23cc:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LOG_LEVEL_VALUES']=void 0x0,f['isLogLevelAllowed']=function(j,k){return(f['LOG_LEVEL_VALUES'][j]||0x1)>=(f['LOG_LEVEL_VALUES'][k]||0x1);},f['calculateLogPriority']=function(j){return f['LOG_LEVEL_VALUES'][j]||0x1;};const h=g(0x26ed);f['LOG_LEVEL_VALUES']={[h['LogLevel']['DEBUG']]:0x1,[h['LogLevel']['INFO']]:0x2,[h['LogLevel']['WARN']]:0x3,[h['LogLevel']['ERROR']]:0x4,[h['LogLevel']['CRITICAL']]:0x5};},0x23de:(f,g,h)=>{'use strict';Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeVideoSeekBar']=void 0x0;const j=h(0x774),k=h(0x1133),m=h(0x1932),p=h(0x26ed),q=h(0x22d9),u=h(0x11c1),v=h(0x2432);class w extends HTMLElement{constructor(){super(),this['isInit']=!0x1,this['isMouseIn']=!0x1,this['isClicked']=!0x1,this['isSeeking']=!0x1,this['isLiveMode']=!0x1,this['liveEdgeState']='atLiveEdge',this['isTransitioningAwayFromLive']=!0x1,this['playbackPart']=q['WidgetsFactory']['create']('blaze-div'),this['progressBarState']='playing',this['videoState']=p['ButtonState']['Play'],this['seekType']='Seek\x20Bar',this['lastProgress']=0x0,this['listeners']=new k['EventsListener'](),this['boundOnTouchMove']=this['handleTouchMove']['bind'](this),this['boundOnMouseMove']=this['handleMouseDrag']['bind'](this),this['boundOnClick']=this['handleOnClick']['bind'](this),this['boundOnMouseOut']=this['handleOnMouseOut']['bind'](this),this['boundOnMouseIn']=this['handleOnMouseIn']['bind'](this),this['boundOnStartDrag']=this['handleOnStartDrag']['bind'](this),this['boundOnEndDrag']=this['handleOnEndDrag']['bind'](this),this['progressBarContainer']=q['WidgetsFactory']['create']('blaze-div'),this['progressBarFill']=q['WidgetsFactory']['create']('blaze-div'),this['progressBarKnob']=q['WidgetsFactory']['create']('blaze-div'),this['progressBarBuffer']=q['WidgetsFactory']['create']('blaze-div'),this['progress']=q['WidgetsFactory']['create']('blaze-div'),this['debouncedSeekBarUpdate']=(0x0,k['debounce'])(x=>this['updateVideoSeekBar'](x),0x1f4),this['progress']['classList']['add'](m['WSC_PREFIX']+'progress');}['connectedCallback'](){if(!this['isInit']&&this['seekBarStyle']['isVisible']){if(this['isInit']=!0x0,this['addTransitionStyle'](),this['seekBarStyle']){const x=parseFloat(this['seekBarStyle']['playingState']['height']);isNaN(x)&&(this['seekBarStyle']['playingState']['height']='3px');const y=parseFloat(this['seekBarStyle']['pausedState']['height']);isNaN(y)&&(this['seekBarStyle']['pausedState']['height']='5px');}this['setupEventListeners'](),this['styleProgressContainer']();}}['disconnectedCallback'](){this['timeoutPlayingStyle']&&clearTimeout(this['timeoutPlayingStyle']),this['timeoutPauseStyle']&&clearTimeout(this['timeoutPauseStyle']),this['listeners']['removeAll']();}['addTransitionStyle'](){const x=document['createElement']('style');x['textContent']='\x0a\x20\x20\x20\x20\x20\x20.'+m['WSC_PREFIX']+'progress\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20height\x200.3s\x20ease;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',this['appendChild'](x);}['setTheme'](x){this['seekBarStyle']=x,this['styleProgressContainer']();}['createPlaybackPart'](){const x='RTL'===u['ConfigService']['layoutDirection'];this['progressBarContainer']['setStyle']({'width':'100%','height':'100%','display':'block'}),this['progressBarFill']['setStyle']({'width':'0%','height':'100%','position':'relative','display':'block'}),x?this['progressBarKnob']['setStyle']({'borderRadius':'100%','position':'absolute','left':'0px','top':'50%','bottom':'0px','transform':'translateX(-50%)\x20translateY(-50%)'}):this['progressBarKnob']['setStyle']({'borderRadius':'100%','position':'absolute','right':'0px','top':'50%','bottom':'0px','transform':'translateX(50%)\x20translateY(-50%)'}),this['progressBarBuffer']['setStyle']({'width':'0%','position':'absolute','display':'block','backgroundColor':'rgba(217,\x20217,\x20217,\x200.5)','borderRadius':x?'0px\x205px\x205px\x200px':'5px\x200px\x200px\x205px'}),this['progressBarFill']['append'](this['progressBarKnob']),this['playbackPart']=this['progressBarFill'],this['progressBarContainer']['append'](this['progressBarBuffer']),this['progressBarContainer']['append'](this['progressBarFill']),this['progress']['append'](this['progressBarContainer']);}['setupEventListeners'](){this['listeners']['addAttached'](this,'mousedown',this['boundOnStartDrag']),this['listeners']['addAttached'](this,'touchstart',this['boundOnStartDrag']),this['listeners']['add']('mouseup',this['boundOnEndDrag']),this['listeners']['add']('touchend',this['boundOnEndDrag']),this['listeners']['addAttached'](this,'mousemove',this['boundOnMouseMove']),this['listeners']['addAttached'](this,'touchmove',this['boundOnTouchMove']),this['listeners']['addAttached'](this,'click',this['boundOnClick']),this['listeners']['addAttached'](this,'mouseenter',this['boundOnMouseIn']),this['listeners']['addAttached'](this,'mouseleave',this['boundOnMouseOut']);}['handleOnStartDrag'](){var x,y;this['isClicked']||(u['VideoPlayerService']['isSeekBarDragging']=!0x0,this['isSeeking']=!0x0,clearTimeout(this['timeoutPlay']),null===(x=this['onPause'])||void 0x0===x||x['call'](this),null===(y=this['onStartSeeking'])||void 0x0===y||y['call'](this),this['applyPauseSeekBarStyle'](),k['deviceDetector']['isDesktop']&&document['addEventListener']('mousemove',this['boundOnMouseMove']));}['handleOnEndDrag'](){var x;this['isSeeking']&&(this['isSeeking']=!0x1,null===(x=this['onEndSeeking'])||void 0x0===x||x['call'](this),k['deviceDetector']['isDesktop']&&document['removeEventListener']('mousemove',this['boundOnMouseMove']),this['timeoutPlayingStyle']=setTimeout(()=>{this['isSeeking']||this['applyPlayingSeekBarStyle']();},0x7d0),this['timeoutPlay']=setTimeout(()=>{var y;u['VideoPlayerService']['isSeekBarDragging']=!0x1,this['isClicked']||null===(y=this['onResume'])||void 0x0===y||y['call'](this);},0x5dc));}['handleOnClick'](x){var y;if(null===(y=this['onPause'])||void 0x0===y||y['call'](this),x['stopPropagation'](),this['isClicked']=!0x0,this['isSeeking'])return;let z;if(x instanceof MouseEvent)z=x['clientX'];else{if(!(x['touches']&&x['touches']['length']>0x0))return;z=x['touches'][0x0]['clientX'];}this['handleSeek'](z,!0x0);}['handleMouseDrag'](x){this['handleSeek'](x['clientX'],0x1===x['buttons']);}['handleTouchMove'](x){x['touches']['length']>0x0&&(this['handleSeek'](x['touches'][0x0]['clientX'],!0x0),x['preventDefault'](),x['stopImmediatePropagation']());}['handleSeek'](x,y){if(!y)return;const z=this['getBoundingClientRect']();let A;A='RTL'===u['ConfigService']['layoutDirection']?(z['right']-x)/z['width']:(x-z['left'])/z['width'];const B=Math['min'](Math['max'](A,0x0),0x1);this['updateSeekBar'](0x64*B);}['handleOnMouseOut'](){this['isSeeking']||(this['isMouseIn']=!0x1,this['timeoutPlayingStyle']=setTimeout(()=>{this['videoState']!==p['ButtonState']['Pause']&&this['applyPlayingSeekBarStyle']();},0x7d0));}['handleOnMouseIn'](){this['isMouseIn']=!0x0,this['applyPauseSeekBarStyle']();}['updateVideoSeekBar'](x){this['dispatchEvent'](new CustomEvent(j['VIDEO_EVENTS']['SEEK'],{'detail':{'seekTime':x/0x64,'type':this['seekType']},'bubbles':!0x0,'composed':!0x0})),setTimeout(()=>{this['isClicked']=!0x1;},0x3e8);}['styleProgressContainer'](){const x=parseFloat(this['seekBarStyle']['playingState']['height']),y=parseFloat(this['seekBarStyle']['pausedState']['height']),z=Math['max'](x,y);(0x0,v['mergeStyles'])(this,{'width':'100%','height':z+'px','padding':this['seekBarStyle']['horizontalMargin']+'\x20'+this['seekBarStyle']['verticalMargin']+'\x20\x20','cursor':'pointer','boxSizing':'border-box','zIndex':'2'}),this['progress']['setStyle']({'width':'100%','display':'grid','height':this['seekBarStyle']['playingState']['height'],'position':'relative'}),this['progressBarBuffer']['setStyle']({'height':this['seekBarStyle']['playingState']['height']}),this['createPlaybackPart'](),this['updateProgressBarStyles'](this['progressBarState']),this['append'](this['progress']);}['updateProgressBarStyles'](x){const y=this['seekBarStyle'][x+'State'];this['progressBarContainer']['setStyle']({'borderRadius':y['borderRadius'],'backgroundColor':y['backgroundColor']}),this['progressBarFill']['setStyle']({'borderRadius':y['borderRadius'],'backgroundColor':y['progressColor']});const z=this['isLiveMode']&&'atLiveEdge'===this['liveEdgeState']||y['isThumbVisible'],A=this['isLiveMode']&&'playing'===x?this['seekBarStyle']['pausedState']['thumbSize']:y['thumbSize'],B=this['isLiveMode']&&'playing'===x?this['seekBarStyle']['pausedState']['thumbColor']:y['thumbColor'];this['progressBarKnob']['setStyle']({'width':A,'height':A,'backgroundColor':B,'display':z?'block':'none'});}['onContentPaused'](){this['videoState']=p['ButtonState']['Pause'],this['applyPauseSeekBarStyle']();}['onContentResumed'](){this['videoState']=p['ButtonState']['Play'],this['timeoutPlayingStyle']=setTimeout(()=>{this['applyPlayingSeekBarStyle']();},0x7d0);}['updateProgressBar'](x,y){if(this['isSeeking']||this['isClicked']||isNaN(y))return;if(this['isLiveMode']&&'atLiveEdge'===this['liveEdgeState']&&!this['isTransitioningAwayFromLive'])return void this['pinThumbAtLiveEdge']();this['playbackPart']['style']['width']='0%';let z=y?x/y:this['lastProgress'];Number['isNaN'](z)?z=this['lastProgress']:this['lastProgress']=z,this['playbackPart']['style']['width']=0x64*z+'%';}['updateBuffer'](x){this['progressBarBuffer']['style']['width']=x+'%';}['updateSeekBar'](x){const y=Math['min'](Math['max'](x,0x0),0x64);this['playbackPart']['style']['width']=y+'%',this['lastProgress']=y/0x64,this['dispatchEvent'](new CustomEvent(j['VIDEO_EVENTS']['DISPLAY_SEEKED_TIME'],{'detail':{'seekTime':y/0x64},'bubbles':!0x0,'composed':!0x0})),this['debouncedSeekBarUpdate'](y);}['reset'](){this['resetProgressBar'](),this['progress']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarBuffer']['style']['height']=this['seekBarStyle']['playingState']['height'],this['updateProgressBarStyles']('playing');}['resetProgressBar'](){this['playbackPart']['style']['width']='0%',this['updateBuffer'](0x0);}['setLiveMode'](x){this['isLiveMode']=x,x?(this['liveEdgeState']='atLiveEdge',this['pinThumbAtLiveEdge'](),this['updateProgressBarStyles'](this['progressBarState'])):(this['liveEdgeState']='atLiveEdge',this['updateProgressBarStyles'](this['progressBarState']));}['setLiveEdgeState'](x){this['liveEdgeState']=x,'behindLive'===x&&(this['isTransitioningAwayFromLive']=!0x1),this['updateProgressBarStyles'](this['progressBarState']),this['isLiveMode']&&'atLiveEdge'===x&&this['pinThumbAtLiveEdge']();}['getIsSeeking'](){return this['isSeeking'];}['markTransitioningFromLive'](){this['isLiveMode']&&'atLiveEdge'===this['liveEdgeState']&&(this['isTransitioningAwayFromLive']=!0x0);}['pinThumbAtLiveEdge'](){const x='RTL'===u['ConfigService']['layoutDirection'];this['playbackPart']['style']['width']=x?'0%':'100%',this['lastProgress']=x?0x0:0x1;}['applyPlayingSeekBarStyle'](){'playing'!==this['progressBarState']&&(this['isMouseIn']||this['videoState']!==p['ButtonState']['Pause']&&(this['timeoutPauseStyle']&&clearTimeout(this['timeoutPauseStyle']),this['progress']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarBuffer']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarState']='playing',this['updateProgressBarStyles']('playing')));}['applyPauseSeekBarStyle'](){'paused'!==this['progressBarState']&&this['videoState']!==p['ButtonState']['Play']&&(this['timeoutPlayingStyle']&&clearTimeout(this['timeoutPlayingStyle']),this['progress']['style']['height']=this['seekBarStyle']['pausedState']['height'],this['progressBarBuffer']['style']['height']=this['seekBarStyle']['pausedState']['height'],this['progressBarState']='paused',this['updateProgressBarStyles']('paused'));}['show'](){this['style']['display']='block',this['style']['opacity']='1';}['hide'](){this['style']['display']='none',this['style']['opacity']='0';}}g['BlazeVideoSeekBar']=w;},0x23e7:function(f,g,j){'use strict';var k=this&&this['__awaiter']||function(B,C,D,E){return new(D||(D=Promise))(function(F,G){function H(K){try{J(E['next'](K));}catch(L){G(L);}}function I(K){try{J(E['throw'](K));}catch(L){G(L);}}function J(K){var L;K['done']?F(K['value']):(L=K['value'],L instanceof D?L:new D(function(M){M(L);}))['then'](H,I);}J((E=E['apply'](B,C||[]))['next']());});},m=this&&this['__importDefault']||function(B){return B&&B['__esModule']?B:{'default':B};};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['BlazeWidgetVideoPlayer']=void 0x0;const p=m(j(0xad8)),q=j(0x1133),v=j(0x1932),w=j(0x11c1),x=j(0x23a6),y=j(0x2634),z=j(0x8e5);class A extends x['WidgetAbstractPlayer']{constructor(B='Full\x20Screen',C=w['VideoPlayerService']){super(),this['mode']=B,this['videoPlayerState']=C,this['visibilityManager']=new q['VisibilityManager'](this),this['fullscreenManager']=new q['FullscreenManager'](this),this['pseudoFullscreenManager']=new q['PseudoFullscreenManager'](this),this['boundOnScreenChangeByBrowser']=this['handleScreenChangeByBrowser']['bind'](this),this['resumeAfterFocus']=!0x1,this['numberOfContentInList']=0x1,this['navigationManager']=new y['VideoPlayerNavigationManager'](this,()=>this['contentList'],()=>this['currentVideoItem'],D=>{var E;return null===(E=this['onContentChange'])||void 0x0===E?void 0x0:E['call'](this,D);},()=>this['handleNavigationComplete']()),this['pollingManager']=new z['VideoPlayerPollingManager'](this,()=>this['contentList'],()=>this['currentVideoItem']),this['layoutManager']=new y['VideoPlayerLayoutManager'](this['container'],this['mode'],this['pseudoFullscreenManager']);}['connectedCallback'](){this['append'](this['srcBackground']),this['append'](this['destBackground']),this['append'](this['container']),this['applyStyles'](),this['setupContainer'](),this['setupEventListeners']();}['disconnectedCallback'](){this['detachEventListeners']();}['destroy'](){this['pollingManager']['stop'](),this['visibilityManager']['detach'](),this['fullscreenManager']['destroy'](),this['pseudoFullscreenManager']['destroy'](),this['navigationManager']['detach'](),this['layoutManager']['detach']();}get['currentVideoItem'](){return this['playerContentList'][0x0];}['setupEventListeners'](){this['navigationManager']['attach'](),this['layoutManager']['attach'](),this['fullscreenManager']['onFullscreenChangeByBrowser']=this['boundOnScreenChangeByBrowser'];}['detachEventListeners'](){this['navigationManager']['detach'](),this['layoutManager']['detach']();}['tryToCloseFullscreen'](){return k(this,void 0x0,void 0x0,function*(){this['fullscreenManager']&&this['fullscreenManager']['isFullscreenMode']()?(yield this['fullscreenManager']['exitFullscreen'](),yield this['fullscreenManager']['waitForFullscreenExit']()):this['pseudoFullscreenManager']['isInPseudoFullscreen']()&&this['pseudoFullscreenManager']['exit']();});}['isInPseudoFullscreen'](){return this['pseudoFullscreenManager']['isInPseudoFullscreen']();}['isCurrentlyInFullscreen'](){return this['fullscreenManager']['isFullscreenMode']()||this['pseudoFullscreenManager']['isInPseudoFullscreen']();}['updateFullscreenState'](){var B,C;const D=this['isCurrentlyInFullscreen']();this['videoPlayerState']['playerLayout']=D?'fullscreen':'normal',this['layoutManager']['setLayout'](this['videoPlayerState']['playerLayout']),null===(C=null===(B=this['currentVideoItem'])||void 0x0===B?void 0x0:B['videoOverlay'])||void 0x0===C||C['setFullscreenState'](D);}['toggleFullscreen'](){return k(this,void 0x0,void 0x0,function*(){var B,C;const D=this['isCurrentlyInFullscreen']();this['videoPlayerState']['playerLayout']=D?'normal':'fullscreen',this['layoutManager']['setLayout'](this['videoPlayerState']['playerLayout']),'Embedded'!==this['mode']||q['deviceDetector']['isFullscreenSupported']?yield this['fullscreenManager']['toggleFullscreen']():this['pseudoFullscreenManager']['toggle'](),null===(C=null===(B=this['currentVideoItem'])||void 0x0===B?void 0x0:B['widgetVastAd'])||void 0x0===C||C['handleFullscreenChange'](),this['updateFullscreenState']();});}['handleScreenChangeByBrowser'](){var B,C,D;this['isCurrentlyInFullscreen']()||null===(B=this['currentVideoItem'])||void 0x0===B||B['setPlayerLayoutToNormal'](),null===(D=null===(C=this['currentVideoItem'])||void 0x0===C?void 0x0:C['widgetVastAd'])||void 0x0===D||D['handleFullscreenChange'](),this['updateFullscreenState']();}['applyStyles'](){this['layoutManager']['applyPlayerBaseStyles'](this);}['setupContainer'](){return k(this,void 0x0,void 0x0,function*(){this['layoutManager']['updateContainerStyles']();});}['handleNavigationComplete'](){return k(this,void 0x0,void 0x0,function*(){var B,C;yield this['play']();const D=null===(C=null===(B=this['currentVideoItem']['data'])||void 0x0===B?void 0x0:B['stream'])||void 0x0===C?void 0x0:C['state'];D&&this['pollingManager']['triggerDebouncedPoll'](D),this['pollingManager']['update']();});}['handleDirection'](B){return k(this,void 0x0,void 0x0,function*(){yield this['navigationManager']['handleDirection'](B);});}['handlePrevDirection'](){this['navigationManager']['handleDirection']('Backwards');}['handleNextDirection'](){this['navigationManager']['handleDirection']('Forwards');}['handleNavigationKeyPress'](B){}['setContent'](B){for(const C of this['playerContentList'])C['remove']();this['playerContentList']=[],this['contentList']=B;}['load'](){return k(this,void 0x0,void 0x0,function*(){yield this['currentVideoItem']['load'](),this['pollingManager']['isPolling']()||this['pollingManager']['start']();});}['play'](){return k(this,void 0x0,void 0x0,function*(){this['navigationManager']['updateNavigationButtons'](),yield this['load'](),yield this['currentVideoItem']['play'](),this['currentVideoItem']['emitVideoStart'](),this['currentVideoItem']['event'](v['VideoAction']['PlaybackInitialStart'],{}),this['videoPlayerState']['isPlaying']=!0x0,this['updateOverlayNavigationPlayingState'](!0x0);});}['resume'](){return k(this,void 0x0,void 0x0,function*(){var B,C;const D=null===(C=null===(B=this['currentVideoItem']['data'])||void 0x0===B?void 0x0:B['stream'])||void 0x0===C?void 0x0:C['state'];if('Upcoming'===D)return this['currentVideoItem']['emitVideoStart'](),void this['pollingManager']['resume']();const E=this['currentVideoItem']['liveEdge'];'Live'===D&&E?yield E['seekToLive']('tab_visibility'):yield this['currentVideoItem']['play'](),this['currentVideoItem']['emitVideoStart'](),this['videoPlayerState']['isPlaying']=!0x0,this['updateOverlayNavigationPlayingState'](!0x0),this['pollingManager']['resume']();});}['pause'](){this['currentVideoItem']['pause'](),this['videoPlayerState']['isPlaying']=!0x1,this['updateOverlayNavigationPlayingState'](!0x1),this['pollingManager']['pause']();}['restart'](){this['navigationManager']['restart']();}['updateOverlayNavigationPlayingState'](B){this['currentVideoItem']['setIsPlaying'](B);}['updateOverlayNavigationButtons'](){this['navigationManager']['updateNavigationButtons']();}['createAnimation'](B,C,D){return p['default']['timeline']();}['handleAnimationStart'](B,C){}['handleAnimationCompletion'](B,C){return k(this,void 0x0,void 0x0,function*(){});}['loadAndPlayContent'](){return k(this,void 0x0,void 0x0,function*(){});}['preloadAdjacentContent'](B){return k(this,void 0x0,void 0x0,function*(){});}['prefetchPosters'](){return k(this,void 0x0,void 0x0,function*(){});}['onAnimationEnd'](){}['handleMoveSwipe'](B){}['handleEndSwipe'](B){}['resetStyles'](){}['render'](){this['setupContainer']();}}g['BlazeWidgetVideoPlayer']=A;},0x23f5:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['TextScaleService']=void 0x0;class g{static['initialize'](){this['initialized']||(this['initialized']=!0x0,this['updateScale'](),this['focusHandler']=()=>this['updateScale'](),window['addEventListener']('focus',this['focusHandler']),this['intervalId']=setInterval(()=>this['updateScale'](),0x1388));}static['updateScale'](){try{const h=parseFloat(getComputedStyle(document['documentElement'])['fontSize']);this['scale']=Math['max'](0x1,h/this['DEFAULT_FONT_SIZE']);}catch(j){this['scale']=0x1;}}static['getScale'](){return this['scale'];}static['isScalingNeeded'](){return this['scale']>0x1;}static['scaleFontSize'](h){if(null==h)return'';if(0x1===this['scale'])return String(h);const j=String(h),k=j['match'](/^([\d.]+)(.*)$/);if(!k)return j;const l=parseFloat(k[0x1]),m=k[0x2]||'px',p=l*this['scale'];return''+Math['round'](0x64*p)/0x64+m;}static['scaleLineHeight'](h){if(null==h)return'';const j=String(h);return/^[\d.]+$/['test'](j)?j:this['scaleFontSize'](h);}static['cleanup'](){this['focusHandler']&&(window['removeEventListener']('focus',this['focusHandler']),this['focusHandler']=null),this['intervalId']&&(clearInterval(this['intervalId']),this['intervalId']=null),this['initialized']=!0x1,this['scale']=0x1;}}f['TextScaleService']=g,g['DEFAULT_FONT_SIZE']=0x10,g['scale']=0x1,g['initialized']=!0x1,g['focusHandler']=null,g['intervalId']=null;},0x23f9:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetCaptions']=void 0x0;const j=g(0x12b0),k=g(0x1133),m=g(0x132a),p=g(0x1932);class q extends HTMLElement{constructor(){super(),this['parser']=new j['WebVTT']['Parser'](window,j['WebVTT']['StringDecoder']()),this['container']=document['createElement']('div'),this['observer']=new MutationObserver(this['checkContainerContent']['bind'](this)),this['captions']=null,this['video']=null,this['startTime']=0x0,this['cues']=[];const u=this['attachShadow']({'mode':'open'});this['container']['className']='captions-container',u['appendChild'](this['container']),this['boundTimeUpdate']=this['handleTimeUpdate']['bind'](this),this['boundSeekUpdate']=this['handleSeekUpdate']['bind'](this);}static get['observedAttributes'](){return[p['CAPTIONS_ATTRIBUTES']['IsVisible'],p['CAPTIONS_ATTRIBUTES']['TextColor']];}['connectedCallback'](){this['setupStyles']();}['disconnectedCallback'](){this['cleanup']();}['attributeChangedCallback'](u,v,w){if(u===p['CAPTIONS_ATTRIBUTES']['IsVisible']&&v!==w){const x='false'!==w;this['updateVisibility'](x);}else u===p['CAPTIONS_ATTRIBUTES']['TextColor']&&v!==w&&(this['container']['style']['color']=w);}['checkContainerContent'](){var u;const v=(null!==(u=this['container']['textContent'])&&void 0x0!==u?u:'')['trim']()['length']>0x0;this['container']['style']['display']=v?'block':'none';}['handleTimeUpdate'](u){this['video']&&this['updateCaptions'](this['video']['currentTime']-this['startTime']);}['handleSeekUpdate'](u){this['video']&&this['updateCaptions'](this['video']['currentTime']-this['startTime']);}['setupTimeUpdateHandling'](){var u,v;null===(u=this['video'])||void 0x0===u||u['addEventListener']('timeupdate',this['boundTimeUpdate']),null===(v=this['video'])||void 0x0===v||v['addEventListener']('seeked',this['boundSeekUpdate']);}['cleanup'](){var u,v;null===(u=this['video'])||void 0x0===u||u['removeEventListener']('timeupdate',this['boundTimeUpdate']),null===(v=this['video'])||void 0x0===v||v['removeEventListener']('seeked',this['boundSeekUpdate']),this['observer']['disconnect']();}['updateVisibility'](u){const v=null!=u?u:'false'!==this['getAttribute'](p['CAPTIONS_ATTRIBUTES']['IsVisible']);this['style']['display']=v?'block':'none';}['setupStyles'](){var u,v;const w=k['TextScaleService']['getScale'](),x=0xe*w,y=22.4*w,z=document['createElement']('style');z['textContent']='\x0a\x20\x20\x20\x20\x20\x20.captions-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20\x20\x20\x20\x20top:\x2070px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20left:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20background:\x20rgba(51,\x2051,\x2051,\x200.5);\x0a\x20\x20\x20\x20\x20\x20\x20\x20color:\x20'+(null!==(u=this['getAttribute']('text-color'))&&void 0x0!==u?u:m['Colors']['White'])+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2010px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x203;\x0a\x20\x20\x20\x20\x20\x20\x20\x20display:\x20block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20max-width:\x2075%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20unicode-bidi:\x20plaintext;\x0a\x20\x20\x20\x20\x20\x20\x20\x20white-space:\x20pre-wrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20word-break:\x20break-word;\x0a\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x205px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20\x22Inter\x22,\x20sans-serif;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-optical-sizing:\x20auto;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-style:\x20normal;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x20'+x+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20700;\x0a\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x20'+y+'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',null===(v=this['shadowRoot'])||void 0x0===v||v['appendChild'](z);}['initialize'](u,v){return h(this,void 0x0,void 0x0,function*(){this['video']=u,this['captions']=v,this['observer']['observe'](this['container'],{'childList':!0x0,'subtree':!0x0,'characterData':!0x0}),yield this['setupCaptions']();});}['setupCaptions'](){return h(this,void 0x0,void 0x0,function*(){var u;if(this['video']&&(null===(u=this['captions'])||void 0x0===u?void 0x0:u['length']))try{const v=this['captions']['find'](y=>y['url']['endsWith']('.vtt'));if(!v)return;const w=yield fetch(v['url']);if(!w['ok'])throw new Error('HTTP\x20error!\x20status:\x20'+w['status']);const x=yield w['text']();this['cues']=[],this['parser']['oncue']=y=>{this['cues']['push'](new VTTCue(y['startTime']+this['startTime'],y['endTime']+this['startTime'],y['text']));},this['parser']['onflush']=()=>{this['updateCaptions'](0x0),this['setupTimeUpdateHandling']();},this['parser']['parse'](x),this['parser']['flush']();}catch(y){this['updateVisibility'](!0x1);}});}['updateCaptions'](u){this['video']&&(this['container']['innerHTML']='',this['cues']['forEach'](v=>{v['startTime']<=u&&v['endTime']>=u&&(this['container']['innerHTML']=v['text']);}),this['checkContainerContent']());}['setAbsolutePosition'](u){const {top:v,left:w,right:x,bottom:y}=u;this['container']['style']['top']=null!=v?v:'unset',this['container']['style']['left']=null!=w?w:'unset',this['container']['style']['right']=null!=x?x:'unset',this['container']['style']['bottom']=null!=y?y:'unset';}}f['BlazeWidgetCaptions']=q;},0x2432:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x1fda),f),j(g(0x2559),f),j(g(0x1cc6),f),j(g(0x106d),f),j(g(0x16df),f),j(g(0x11e2),f),j(g(0x13e6),f),j(g(0x2071),f),j(g(0x1c14),f),j(g(0x164),f),j(g(0x1f50),f),j(g(0x2251),f),j(g(0xc40),f),j(g(0x24f6),f),j(g(0x2673),f),j(g(0x440),f),j(g(0x1729),f),j(g(0x1921),f),j(g(0xee3),f),j(g(0x143e),f),j(g(0x2223),f),j(g(0x9b6),f),j(g(0x251b),f);},0x244a:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(p,q,u,v){return new(u||(u=Promise))(function(w,x){function y(B){try{A(v['next'](B));}catch(C){x(C);}}function z(B){try{A(v['throw'](B));}catch(C){x(C);}}function A(B){var C;B['done']?w(B['value']):(C=B['value'],C instanceof u?C:new u(function(D){D(C);}))['then'](y,z);}A((v=v['apply'](p,q||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeWidgetEmbeddedVideo']=void 0x0;const j=g(0x11c1),k=g(0x774),l=g(0x54c);class m extends l['BlazeWidgetEmbeddedBase']{constructor(){super(),this['contents']=[],this['player']=new k['BlazeWidgetVideoPlayer']('Embedded',this['stateManager']);}static get['observedAttributes'](){return Object['values'](l['EMBEDDED_ATTRIBUTES']);}['disconnectedCallback'](){var p,q;null===(q=null===(p=this['player'])||void 0x0===p?void 0x0:p['pollingManager'])||void 0x0===q||q['stop'](),super['disconnectedCallback']();}['setContentIds'](p,q){this['setReloadData'](q),this['setAttribute'](l['EMBEDDED_ATTRIBUTES']['ContentIds'],p['join']());}['setId'](p){this['id']='widget-embedded-video-'+p;}['getThemeContentType'](){return'video';}['handleSpecificAttributeChange'](p,q,u){p===l['EMBEDDED_ATTRIBUTES']['ContentIds']&&q&&this['reloadLogic']();}['handleIntersection'](p){if(!this['player']['currentVideoItem'])return;const q=p['find'](u=>u['target']===this);q&&(this['isIntersecting']=q['isIntersecting'],'fullscreen'!==this['player']['videoPlayerState']['playerLayout']&&(this['isIntersecting']?this['playContent']():this['pauseContent']()));}['pauseContent'](){var p,q,u,v;if(!this['player']['currentVideoItem'])return;const w=this['player']['currentVideoItem']['isPlayingAd']||'Ad'===(null===(p=this['player']['currentVideoItem']['data'])||void 0x0===p?void 0x0:p['type']);this['player']['currentVideoItem']['isPlayingAd']&&(null===(q=this['player']['currentVideoItem']['widgetVastAd'])||void 0x0===q||q['pause']()),w||(null===(v=null===(u=this['player'])||void 0x0===u?void 0x0:u['pollingManager'])||void 0x0===v||v['resume'](),this['stateManager']['isPlaying']=!0x1,this['player']['pause']());}['playContent'](){var p,q;if(!this['player']['currentVideoItem']||!this['isIntersecting'])return;const u=this['player']['currentVideoItem']['isPlayingAd']||'Ad'===(null===(p=this['player']['currentVideoItem']['data'])||void 0x0===p?void 0x0:p['type']);this['player']['currentVideoItem']['isPlayingAd']&&(null===(q=this['player']['currentVideoItem']['widgetVastAd'])||void 0x0===q||q['resume']()),u||(this['stateManager']['isPlaying']=!0x0,this['player']['resume'](),this['player']['pollingManager']['isPolling']()||this['player']['pollingManager']['start']());}['loadContent'](){return h(this,void 0x0,void 0x0,function*(){var p;this['contents']=[],this['showSkeleton']();const q=this['getAttribute'](l['EMBEDDED_ATTRIBUTES']['MaxItems']),u=this['getAttribute'](l['EMBEDDED_ATTRIBUTES']['Labels']),v=this['getAttribute'](l['EMBEDDED_ATTRIBUTES']['OrderType']),w=this['getAttribute'](l['EMBEDDED_ATTRIBUTES']['ContentIds']),x=this['getAttribute'](l['EMBEDDED_ATTRIBUTES']['LabelsPriority']),y=this['getAttribute'](l['EMBEDDED_ATTRIBUTES']['AdvancedOrdering']),z=yield j['VideoService']['fetchContent']({'sourceType':(null==u?void 0x0:u['length'])?'labels':(null==w?void 0x0:w['length'])?'ids':'labels','ids':null==w?void 0x0:w['split'](','),'labels':u,'orderType':v,'maxItems':q,'labelsPriority':x,'advancedOrdering':y},this['videoFilters']);this['defaultAdsInfo']=null==z?void 0x0:z['defaultAdsInfo'];let A=null!==(p=null==z?void 0x0:z['result'])&&void 0x0!==p?p:[];this['getAttribute']('should-order-widget-by-read-status')&&'Manual'!==v&&A['length']&&A['sort']((B,C)=>{const D=B['hasViewed']?0x1:0x2;return(C['hasViewed']?0x1:0x2)-D;}),A['length']&&(this['append'](this['player']),A['forEach']((B,C)=>{const D=new k['BlazeVideoElement'](this['stateManager']);D['setTheme'](this['theme']['playerStyle']),D['setData'](B),D['setEmbeddedRef'](this),D['startTrigger']='Embedded\x20Player\x20in\x20Viewport',this['contents']['push'](D);}),this['player']['setContent'](this['contents']),this['player']['seekContentById'](A[0x0]['id']),this['player']['play'](),this['stateManager']['isPlaying']=!0x0),this['hideSkeleton']();});}['getAnimationTargetSelector'](){return'blaze-video-element';}}f['BlazeWidgetEmbeddedVideo']=m;},0x2469:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2473:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x116a),f),j(g(0x79c),f);},0x247c:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2499:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x24a5:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['generateFollowStateForAnalytics']=f['getFollowEntityByPriority']=void 0x0,f['getFollowEntityByPriority']=(g,h)=>{if(!h||0x0===(null==h?void 0x0:h['length']))return null;if(!g||0x0===(null==g?void 0x0:g['length']))return h[0x0];for(const j of g){if('FirstAvailable'===j)return h[0x0];const k=null==h?void 0x0:h['find'](l=>l['entityType']===j);if(k)return k;}return null;},f['generateFollowStateForAnalytics']=(g,h,j)=>{if(!g||!h||!j)return null;if(!j['isFollowing'](g))return null;let k;switch(h){case'Player':k='player_id';break;case'Team':k='team_id';break;case'Property':k='property_id';break;default:return null;}return JSON['stringify']({[k]:g});};},0x24f0:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['CountryCodes']=void 0x0,f['CountryCodes']=['AD','AE','AF','AG','AI','AL','AM','AO','AQ','AR','AS','AT','AU','AW','AX','AZ','BA','BB','BD','BE','BF','BG','BH','BI','BJ','BL','BM','BN','BO','BQ','BR','BS','BT','BV','BW','BY','BZ','CA','CC','CD','CF','CG','CH','CI','CK','CL','CM','CN','CO','CR','CU','CV','CW','CX','CY','CZ','DE','DJ','DK','DM','DO','DZ','EC','EE','EG','EH','ER','ES','ET','FI','FJ','FK','FM','FO','FR','GA','GB','GD','GE','GF','GG','GH','GI','GL','GM','GN','GP','GQ','GR','GS','GT','GU','GW','GY','HK','HM','HN','HR','HT','HU','ID','IE','IL','IM','IN','IO','IQ','IR','IS','IT','JE','JM','JO','JP','KE','KG','KH','KI','KM','KN','KP','KR','KW','KY','KZ','LA','LB','LC','LI','LK','LR','LS','LT','LU','LV','LY','MA','MC','MD','ME','MF','MG','MH','MK','ML','MM','MN','MO','MP','MQ','MR','MS','MT','MU','MV','MW','MX','MY','MZ','NA','NC','NE','NF','NG','NI','NL','NO','NP','NR','NU','NZ','OM','PA','PE','PF','PG','PH','PK','PL','PM','PN','PR','PS','PT','PW','PY','QA','RE','RO','RS','RU','RW','SA','SB','SC','SD','SE','SG','SH','SI','SJ','SK','SL','SM','SN','SO','SR','SS','ST','SV','SX','SY','SZ','TC','TD','TF','TG','TH','TJ','TK','TL','TM','TN','TO','TR','TT','TV','TW','TZ','UA','UG','UM','US','UY','UZ','VA','VC','VE','VG','VI','VN','VU','WF','WS','YE','YT','ZA','ZM','ZW'];},0x24f6:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['RegexVideoHash']=f['RegexMomentHash']=f['RegexStoryHash']=void 0x0,f['RegexStoryHash']=/\/?[&|?|#](blaze\/story\/[^?|&|#]*)/,f['RegexMomentHash']=/\/?[&|?|#](blaze\/moment\/[^?|&|#]*)/,f['RegexVideoHash']=/\/?[&|?|#](blaze\/video\/[^?|&|#]*)/;},0x2514:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x251b:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoFilters']=void 0x0,f['VideoFilters']=class{static['liveOnly'](){return{'contentTypes':['Stream'],'streamStates':['Live']};}static['upcomingOnly'](){return{'contentTypes':['Stream'],'streamStates':['Upcoming']};}static['endedOnly'](){return{'contentTypes':['Stream'],'streamStates':['Ended']};}static['allStreams'](){return{'contentTypes':['Stream'],'streamStates':['Live','Upcoming','Ended']};}static['vodOnly'](){return{'contentTypes':['Video']};}static['watchable'](){return{'contentTypes':['Video','Stream'],'streamStates':['Live']};}static['toApiFormat'](g){var h,j;return g?{'contentTypes':null===(h=g['contentTypes'])||void 0x0===h?void 0x0:h['join'](','),'streamStates':null===(j=g['streamStates'])||void 0x0===j?void 0x0:j['join'](',')}:{};}static['validate'](g){const {contentTypes:h,streamStates:j}=g;if(h){const k=['Video','Stream'],l=h['filter'](m=>!k['includes'](m));if(l['length']>0x0)throw new Error('Invalid\x20contentTypes:\x20'+l['join'](',\x20')+'.\x20Valid\x20values:\x20'+k['join'](',\x20'));}if(j){const m=['Live','Upcoming','Ended'],n=j['filter'](o=>!m['includes'](o));if(n['length']>0x0)throw new Error('Invalid\x20streamStates:\x20'+n['join'](',\x20')+'.\x20Valid\x20values:\x20'+m['join'](',\x20'));}if(j&&j['length']>0x0&&(!h||h['includes']('Stream')),h&&0x0===h['length'])throw new Error('contentTypes\x20array\x20must\x20not\x20be\x20empty.\x20Use\x20undefined\x20to\x20omit\x20filter.');if(j&&0x0===j['length'])throw new Error('streamStates\x20array\x20must\x20not\x20be\x20empty.\x20Use\x20undefined\x20to\x20omit\x20filter.');}};},0x2537:function(d,f){'use strict';var g=this&&this['__awaiter']||function(h,j,k,l){return new(k||(k=Promise))(function(m,p){function q(w){try{v(l['next'](w));}catch(x){p(x);}}function u(w){try{v(l['throw'](w));}catch(x){p(x);}}function v(w){var x;w['done']?m(w['value']):(x=w['value'],x instanceof k?x:new k(function(y){y(x);}))['then'](q,u);}v((l=l['apply'](h,j||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['compressPayload']=function(h){return g(this,void 0x0,void 0x0,function*(){try{const j='string'==typeof h?h:JSON['stringify'](h),k=new TextEncoder()['encode'](j),m=new CompressionStream('gzip'),p=m['writable']['getWriter'](),q=m['readable']['getReader']();p['write'](k),p['close']();const u=[];let v=!0x1;for(;!v;){const {value:z,done:A}=yield q['read']();v=A,z&&u['push'](z);}const w=u['reduce']((B,C)=>B+C['length'],0x0),x=new Uint8Array(w);let y=0x0;for(const B of u)x['set'](B,y),y+=B['length'];return x['buffer'];}catch(C){throw new Error('Payload\x20compression\x20failed');}});};},0x253f:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['validateLoggerConfigurationDetailed']=function(g){const h=[];return function(j){return!!(j['isEnabled']&&j['loggerBatchIntervalInSeconds']&&j['loggerMaxAllowedBatchSize']&&j['loggerMinAllowedBatchSize']&&j['logLevel']);}(g)||h['push']('Basic\x20configuration\x20validation\x20failed'),{'isValid':0x0===h['length'],'errors':h};},f['sanitizeBatchSizeConfiguration']=function(g){const h=Object['assign']({},g);return h['loggerMaxAllowedBatchSize']<0x0?(h['loggerMaxAllowedBatchSize']=0xa,h['loggerMinAllowedBatchSize']=0x1,h):(h['loggerMinAllowedBatchSize']<0x0&&(h['loggerMinAllowedBatchSize']=0x1),h['loggerMinAllowedBatchSize']>h['loggerMaxAllowedBatchSize']&&(h['loggerMinAllowedBatchSize']=h['loggerMaxAllowedBatchSize']),h);},f['shouldIgnoreLog']=function(g,h){return h['some'](j=>{const k=j['logIdentifier'];if(!k['includes']('*'))return k===g;const l=k['replace'](/[.+?^${}()|[\]\\]/g,'\x5c$&')['replace'](/\*/g,'.*');return new RegExp('^'+l+'$')['test'](g);});};},0x2544:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2559:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['isImaAdInfo']=function(g){return'IMA'===g['type'];},f['addContextToCustomTargeting']=function(g,h){for(const j in g['context']){const k=g['context'][j];h[j]=k;}};},0x255d:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LongPressHandler']=void 0x0,f['LongPressHandler']=class{constructor(g){this['options']=g,this['startPress']=()=>{this['pressTimer']=setTimeout(()=>{this['isDuringPress']=!0x0,this['options']['onStart']();},0xc8);},this['endPress']=h=>{clearTimeout(this['pressTimer']),this['isDuringPress']&&(this['options']['onEnd'](),this['isDuringPress']=!0x1,h['preventDefault']());},this['isDuringPress']=!0x1,this['isAttached']=!0x1;}['attach'](g){this['isAttached']||(g['addEventListener']('touchstart',this['startPress']),g['addEventListener']('touchend',this['endPress']),g['addEventListener']('touchcancel',this['endPress']),this['isAttached']=!0x0);}['detach'](g){this['isAttached']&&(g['removeEventListener']('touchstart',this['startPress']),g['removeEventListener']('touchend',this['endPress']),g['removeEventListener']('touchcancel',this['endPress']),this['isAttached']=!0x1);}};},0x256e:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(l,m,p,q){return new(p||(p=Promise))(function(u,v){function w(z){try{y(q['next'](z));}catch(A){v(A);}}function x(z){try{y(q['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof p?A:new p(function(B){B(A);}))['then'](w,x);}y((q=q['apply'](l,m||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['LikeVideoCommand']=f['SeekCommand']=f['ToggleFullscreenCommand']=f['UnmuteCommand']=f['MuteCommand']=f['ToggleMuteCommand']=f['PauseCommand']=f['PlayCommand']=void 0x0;const j=g(0x774),k=g(0x11c1);f['PlayCommand']=class{constructor(l,m=k['VideoPlayerService']){this['playbackStrategy']=l,this['videoPlayerState']=m;}['execute'](...l){return this['playbackStrategy']['play']()['then'](m=>(this['videoPlayerState']['isPlaying']=!0x0,m))['catch'](m=>({'status':j['PlayStatus']['Failed'],'error':m}));}},f['PauseCommand']=class{constructor(l){this['playbackStrategy']=l;}['execute'](...l){this['playbackStrategy']['pause']();}},f['ToggleMuteCommand']=class{constructor(l){this['playbackStrategy']=l;}['execute'](...l){const m=this['playbackStrategy']['isMuted']();this['playbackStrategy']['setMuted'](!m);}},f['MuteCommand']=class{constructor(l,m=k['VideoPlayerService']){this['playbackStrategy']=l,this['videoPlayerState']=m;}['execute'](){this['playbackStrategy']['setMuted'](!0x0),this['videoPlayerState']['isMuted']=!0x0;}},f['UnmuteCommand']=class{constructor(l,m=k['VideoPlayerService']){this['playbackStrategy']=l,this['videoPlayerState']=m;}['execute'](){this['playbackStrategy']['setMuted'](!0x1),this['videoPlayerState']['isMuted']=!0x1;}},f['ToggleFullscreenCommand']=class{constructor(l,m){this['playbackStrategy']=l,this['videoElement']=m;}['execute'](...l){return h(this,void 0x0,void 0x0,function*(){var m,p;this['playbackStrategy']['toggleFullscreen'](),(null===(m=this['videoElement']['embeddedRef'])||void 0x0===m?void 0x0:m['player'])instanceof j['BlazeWidgetVideoPlayer']?yield this['videoElement']['embeddedRef']['player']['toggleFullscreen']():yield(null===(p=this['videoElement']['modal'])||void 0x0===p?void 0x0:p['player'])['toggleFullscreen']();});}},f['SeekCommand']=class{constructor(l){this['playbackStrategy']=l;}['execute'](l){'number'==typeof l&&this['playbackStrategy']['seek'](l);}},f['LikeVideoCommand']=class{constructor(l){this['videoElement']=l;}['execute'](...l){return h(this,void 0x0,void 0x0,function*(){const m=this['videoElement']['getAttribute']('video-id');if(m){const p=!('true'===this['videoElement']['getAttribute']('is-liked'));this['videoElement']['setAttribute']('is-liked',p['toString']()),yield k['LikeService']['updateVideoLike'](p,m);}});}};},0x257e:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VisibilityManager']=void 0x0;const j=g(0x1133),k=g(0x7b9),l=g(0x774);f['VisibilityManager']=class{constructor(m){this['controller']=m,this['boundHandleVisibilityChange']=this['handleVisibilityChange']['bind'](this),this['boundHandleFocus']=this['handleFocus']['bind'](this),this['BoundHandleBlur']=this['handleBlur']['bind'](this),this['attachEventListeners']();}['attachEventListeners'](){document['addEventListener'](l['EVENTS']['VISIBILITY_CHANGE'],this['boundHandleVisibilityChange']),window['addEventListener'](l['EVENTS']['BLUR'],this['BoundHandleBlur']),window['addEventListener'](l['EVENTS']['FOCUS'],this['boundHandleFocus']);}['handleVisibilityChange'](){this['controller']['isConnected']&&(document['hidden']?this['handleBlur']():this['handleFocus']());}['handleBlur'](){if(!this['controller']['isConnected'])return;if(j['deviceDetector']['isDesktop']&&!document['hidden']&&'visible'===document['visibilityState'])return;if((j['deviceDetector']['isTablet']||j['deviceDetector']['isMobile'])&&'visible'===document['visibilityState']&&!document['hidden'])return;const m=this['controller']['currentVideoItem'];m['video']['paused']||(m['emitVideoEnd']('User\x20Left\x20Tab'),this['controller']['resumeAfterFocus']=!0x0,this['controller']['pause']());}['handleFocus'](){return h(this,void 0x0,void 0x0,function*(){var m;if(this['controller']['isConnected']&&this['controller']['resumeAfterFocus']){this['controller']['resumeAfterFocus']=!0x1;const p=null===(m=this['controller']['currentVideoItem']['data'])||void 0x0===m?void 0x0:m['stream'],q=this['controller']['currentVideoItem']['liveEdge'],u=this['controller']['currentVideoItem'];u['resetLifecycle']();const v='iOS'===j['deviceDetector']['OS'],w='Mobile\x20Safari'===j['deviceDetector']['browser'],x='tablet'===j['deviceDetector']['platform']&&'Mac\x20OS'===j['deviceDetector']['OS'],y=v&&('Safari'===j['deviceDetector']['browser']||'Chrome'===j['deviceDetector']['browser']);if(v||w||y||x)return void this['controller']['pause']();u['startTrigger']='User\x20Returned',u['emitVideoStart'](),u['event'](k['VideoAction']['PlaybackInitialStart'],{}),'Live'===(null==p?void 0x0:p['state'])&&q&&'function'==typeof q['seekToLive']&&(yield q['seekToLive']('tab_visibility')),this['controller']['resume']();}});}['detach'](){document['removeEventListener'](l['EVENTS']['VISIBILITY_CHANGE'],this['boundHandleVisibilityChange']),window['removeEventListener'](l['EVENTS']['BLUR'],this['BoundHandleBlur']),window['removeEventListener'](l['EVENTS']['FOCUS'],this['boundHandleFocus']);}};},0x2585:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x25a9:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x25da:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x25e0:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(u,v,w,x){return new(w||(w=Promise))(function(y,z){function A(D){try{C(x['next'](D));}catch(E){z(E);}}function B(D){try{C(x['throw'](D));}catch(E){z(E);}}function C(D){var E;D['done']?y(D['value']):(E=D['value'],E instanceof w?E:new w(function(F){F(E);}))['then'](A,B);}C((x=x['apply'](u,v||[]))['next']());});},j=this&&this['__importDefault']||function(u){return u&&u['__esModule']?u:{'default':u};};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['BlazeDrawer']=void 0x0;const k=j(g(0xad8)),m=g(0x1133),p=g(0x22d9);class q extends m['BaseWidget']{constructor(){super(),this['backdropContainer']=p['WidgetsFactory']['create']('blaze-div'),this['drawerContainer']=p['WidgetsFactory']['create']('blaze-div');}get['drawerContainerHeight'](){var u,v;return(null===(u=this['drawerOptions'])||void 0x0===u?void 0x0:u['height'])||(null===(v=this['drawerComponent'])||void 0x0===v?void 0x0:v['style']['height'])||'1rem';}static get['observedAttributes'](){return['open','background-color','border-color','border-radius'];}['connectedCallback'](){this['append'](this['backdropContainer']),this['append'](this['drawerContainer']);}['disconnectedCallback'](){}['attributeChangedCallback'](u,v,w){switch(u){case'open':this['onOpenChange'](this['getAttribute'](u));break;case'background-color':this['drawerContainer']['setStyle']({'backgroundColor':w});break;case'border-color':this['drawerContainer']['setStyle']({'border':'1px\x20solid\x20'+w});break;case'border-radius':this['drawerContainer']['setStyle']({'borderRadius':w});}}['onOpenChange'](u){return h(this,void 0x0,void 0x0,function*(){u?(this['backdropContainer']['setStyle']({'display':'block'}),this['drawerContainer']['setStyle']({'display':'block'}),yield this['animateDrawer'](!0x0,this['drawerOptions'])):(yield this['animateDrawer'](!0x1,this['drawerOptions']),this['backdropContainer']['setStyle']({'display':'none'}),this['drawerContainer']['setStyle']({'display':'none'}));});}['setAttribute'](u,v){super['setAttribute'](u,v);}['onBackdropClick'](){this['close']();}['init'](u){const {component:v}=u;this['drawerOptions']=u,this['drawerComponent']=v,this['drawerContainer']['append'](v),this['buildBackdrop'](),this['buildModal']();}['buildBackdrop'](){this['backdropContainer']['onclick']=this['onBackdropClick']['bind'](this),this['backdropContainer']['setStyle']({'display':'none','position':'absolute','backgroundColor':'#000','opacity':'.5','top':'0','bottom':'0','left':'0','right':'0','zIndex':'1','borderRadius':'desktop'===m['deviceDetector']['platform']||'tablet'===m['deviceDetector']['platform']?'20px':'0'});}['buildModal'](){this['drawerContainer']['id']='blaze-modal',this['drawerContainer']['setStyle']({'display':'none','position':'absolute','backgroundColor':'#FFF','bottom':'-'+this['drawerContainerHeight'],'left':'0','right':'0','borderTopRightRadius':'.5rem','borderTopLeftRadius':'.5rem','height':this['drawerContainerHeight'],'zIndex':'5'});}['open'](){var u;this['setAttribute']('open','true'),null===(u=this['onOpen'])||void 0x0===u||u['call'](this);}['close'](){var u;this['setAttribute']('open','false'),null===(u=this['onClose'])||void 0x0===u||u['call'](this);}['animateDrawer'](u,v){return h(this,void 0x0,void 0x0,function*(){if(v)return new Promise(w=>{const x=this['querySelector']('#blaze-modal');if(!x)return;let y={'targets':x,'duration':0xc8,'easing':'easeInQuad','complete':()=>w()};if(v){switch(v['anchor']){case'top':case'right':case'left':break;case'bottom':y=Object['assign'](Object['assign']({},y),{'bottom':u?'0':'-'+this['drawerContainerHeight']});}(0x0,k['default'])(y);}});});}}f['BlazeDrawer']=q;},0x25e1:(d,f,g)=>{var h,j=void 0x0!==g['g']?g['g']:'undefined'!=typeof window?window:{},k=g(0x21e);'undefined'!=typeof document?h=document:(h=j['__GLOBAL_DOCUMENT_CACHE@4'])||(h=j['__GLOBAL_DOCUMENT_CACHE@4']=k),d['exports']=h;},0x25e6:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x2ab),f),j(g(0xb8a),f),j(g(0x1725),f),j(g(0x93),f),j(g(0x2006),f),j(g(0x6de),f),j(g(0x2514),f),j(g(0x1d49),f),j(g(0x19d6),f),j(g(0x2fb),f),j(g(0x12fa),f),j(g(0x1cc9),f),j(g(0xab7),f),j(g(0x1b0),f),j(g(0x191a),f),j(g(0x1266),f),j(g(0x2585),f);},0x2607:(d,f,g)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['StreamHandlerRegistry']=void 0x0;const h=g(0xf4d),j=g(0x126d),k=g(0x13bf);f['StreamHandlerRegistry']=class{constructor(){this['handlers']=[],this['liveToEndedHandler']=new k['LiveToEndedHandler'](),this['register'](new h['UpcomingToLiveHandler']()),this['register'](new j['LiveToUpcomingHandler']()),this['register'](this['liveToEndedHandler']);}['mergeData'](l,m,p,q){const r=this['findHandler'](p,q);if(!r)return this['defaultMerge'](l,m);try{return r['mergeData'](l,m);}catch(u){try{return this['defaultMerge'](l,m);}catch(v){}return l;}}['findHandler'](l,m){var p;return null!==(p=this['handlers']['find'](q=>q['canHandle'](l,m)))&&void 0x0!==p?p:null;}['enablesDVR'](){return this['liveToEndedHandler']['didTransitionFromLive']();}['reset'](){this['liveToEndedHandler']['reset']();}['register'](l){this['handlers']['push'](l);}['getAll'](){return[...this['handlers']];}['defaultMerge'](l,m){var p,q;const r=Object['assign'](Object['assign']({},l),{'title':null!==(p=m['title'])&&void 0x0!==p?p:l['title'],'poster':null!==(q=m['poster'])&&void 0x0!==q?q:l['poster']});return l['stream']&&m['stream']?r['stream']=Object['assign'](Object['assign']({},l['stream']),m['stream']):m['stream']&&(r['stream']=m['stream']),m['baseLayer']&&(r['baseLayer']=m['baseLayer']),r;}};},0x2631:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0});},0x2634:function(f,g,h){'use strict';var j=this&&this['__createBinding']||(Object['create']?function(x,y,z,A){void 0x0===A&&(A=z);var B=Object['getOwnPropertyDescriptor'](y,z);B&&!('get'in B?!y['__esModule']:B['writable']||B['configurable'])||(B={'enumerable':!0x0,'get':function(){return y[z];}}),Object['defineProperty'](x,A,B);}:function(x,y,z,A){void 0x0===A&&(A=z),x[A]=y[z];}),k=this&&this['__exportStar']||function(x,y){for(var z in x)'default'===z||Object['prototype']['hasOwnProperty']['call'](y,z)||j(y,x,z);};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['VideoPlayerLayoutManager']=g['LiveEdgeController']=g['VideoPlayerNavigationManager']=g['VideoAdController']=g['NativeVideoStrategy']=g['BasePlaybackStrategy']=void 0x0;var m=h(0x1dc9);Object['defineProperty'](g,'BasePlaybackStrategy',{'enumerable':!0x0,'get':function(){return m['BasePlaybackStrategy'];}});var p=h(0x1305);Object['defineProperty'](g,'NativeVideoStrategy',{'enumerable':!0x0,'get':function(){return p['NativeVideoStrategy'];}}),k(h(0x1036),g),k(h(0x1e6a),g);var q=h(0x229a);Object['defineProperty'](g,'VideoAdController',{'enumerable':!0x0,'get':function(){return q['VideoAdController'];}});var u=h(0xe30);Object['defineProperty'](g,'VideoPlayerNavigationManager',{'enumerable':!0x0,'get':function(){return u['VideoPlayerNavigationManager'];}});var v=h(0xdf1);Object['defineProperty'](g,'LiveEdgeController',{'enumerable':!0x0,'get':function(){return v['LiveEdgeController'];}});var w=h(0x1280);Object['defineProperty'](g,'VideoPlayerLayoutManager',{'enumerable':!0x0,'get':function(){return w['VideoPlayerLayoutManager'];}});},0x2670:(d,f,g)=>{var h;h='undefined'!=typeof window?window:void 0x0!==g['g']?g['g']:'undefined'!=typeof self?self:{},d['exports']=h;},0x2673:(d,f)=>{'use strict';Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['SharedEventTarget']=void 0x0,'undefined'!=typeof window&&((()=>{if(void 0x0===window['EventTarget'])return!0x0;try{return new window['EventTarget'](),!0x1;}catch(g){return!0x0;}})())&&(window['EventTarget']=class{constructor(){this['_listeners']={};}['addEventListener'](g,h){h&&(this['_listeners'][g]||(this['_listeners'][g]=[]),this['_listeners'][g]['includes'](h)||this['_listeners'][g]['push'](h));}['removeEventListener'](g,h){if(!h)return;const j=this['_listeners'][g];j&&(this['_listeners'][g]=j['filter'](k=>k!==h),0x0===this['_listeners'][g]['length']&&delete this['_listeners'][g]);}['dispatchEvent'](g){if(!g||'string'!=typeof g['type'])return!0x1;const h=this['_listeners'][g['type']];if(!h||0x0===h['length'])return!0x0;const j=[...h];for(const k of j)try{'function'==typeof k?k['call'](this,g):k&&'function'==typeof k['handleEvent']&&k['handleEvent']['call'](this,g);}catch(l){}return!0x0;}}),f['SharedEventTarget']=new EventTarget();},0x2686:(d,f)=>{'use strict';var g;Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['ButtonState']=void 0x0,function(h){h[h['Play']=0x0]='Play',h[h['Pause']=0x1]='Pause',h[h['Mute']=0x2]='Mute',h[h['Unmute']=0x3]='Unmute';}(g||(f['ButtonState']=g={}));},0x26aa:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(l,m,p,q){void 0x0===q&&(q=p);var r=Object['getOwnPropertyDescriptor'](m,p);r&&!('get'in r?!m['__esModule']:r['writable']||r['configurable'])||(r={'enumerable':!0x0,'get':function(){return m[p];}}),Object['defineProperty'](l,q,r);}:function(l,m,p,q){void 0x0===q&&(q=p),l[q]=m[p];}),j=this&&this['__exportStar']||function(l,m){for(var p in l)'default'===p||Object['prototype']['hasOwnProperty']['call'](m,p)||h(m,l,p);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['EventListenerRegistry']=void 0x0,j(g(0x145f),f),j(g(0x1aef),f);var k=g(0x2ff);Object['defineProperty'](f,'EventListenerRegistry',{'enumerable':!0x0,'get':function(){return k['EventListenerRegistry'];}});},0x26bd:function(f,g,h){'use strict';var j=this&&this['__awaiter']||function(w,x,y,z){return new(y||(y=Promise))(function(A,B){function C(F){try{E(z['next'](F));}catch(G){B(G);}}function D(F){try{E(z['throw'](F));}catch(G){B(G);}}function E(F){var G;F['done']?A(F['value']):(G=F['value'],G instanceof y?G:new y(function(H){H(G);}))['then'](C,D);}E((z=z['apply'](w,x||[]))['next']());});};Object['defineProperty'](g,'__esModule',{'value':!0x0}),g['WidgetsService']=void 0x0;const k=h(0x1133),m=h(0x1699),p=h(0x22d9),q=h(0x774),u=h(0x23a6);class v extends(0x0,k['Singleton'])(){['init'](){return j(this,void 0x0,void 0x0,function*(){p['WidgetsFactory']['define']('blaze-widget-vast-ad',u['BlazeWidgetVastAd']),p['WidgetsFactory']['define']('blaze-widget-ad',u['BlazeWidgetAd']),p['WidgetsFactory']['define']('blaze-widget-embedded-story',u['BlazeWidgetEmbeddedStory']),p['WidgetsFactory']['define']('blaze-widget-embedded-video',u['BlazeWidgetEmbeddedVideo']),p['WidgetsFactory']['define']('blaze-widget-modal',u['BlazeWidgetModal']),p['WidgetsFactory']['define']('blaze-widget-item',u['BlazeWidgetItem']),p['WidgetsFactory']['define']('blaze-widget-layout',u['BlazeWidgetLayout']),p['WidgetsFactory']['define']('blaze-widget-custom-layout',u['BlazeWidgetCustomLayout']),p['WidgetsFactory']['define']('blaze-widget-story',u['BlazeWidgetStory']),p['WidgetsFactory']['define']('blaze-widget-story-player',u['BlazeWidgetStoryPlayer']),p['WidgetsFactory']['define']('blaze-widget-story-modal',u['BlazeWidgetStoryModal']),p['WidgetsFactory']['define']('blaze-widget-moment',u['BlazeWidgetMoment']),p['WidgetsFactory']['define']('blaze-widget-moment-player',u['BlazeWidgetMomentPlayer']),p['WidgetsFactory']['define']('blaze-widget-moment-modal',u['BlazeWidgetMomentModal']),p['WidgetsFactory']['define']('blaze-widget-moment-seek-bar',u['BlazeWidgetMomentSeekBar']),p['WidgetsFactory']['define']('blaze-widget-video',u['BlazeWidgetVideo']),p['WidgetsFactory']['define']('blaze-widget-share-modal',u['BlazeWidgetShareModal']),p['WidgetsFactory']['define']('blaze-widget-cc-modal',u['BlazeWidgetClosedCaptionsModal']),p['WidgetsFactory']['define']('blaze-widget-cta-modal',u['BlazeWidgetCtaModal']),p['WidgetsFactory']['define']('blaze-widget-interaction',u['BlazeWidgetInteraction']),p['WidgetsFactory']['define']('blaze-widget-banner-ad',u['BlazeWidgetBannerAd']),p['WidgetsFactory']['define']('blaze-widget-captions',u['BlazeWidgetCaptions']),p['WidgetsFactory']['define']('blaze-video-element',u['BlazeVideoElement']),p['WidgetsFactory']['define']('blaze-video-long-form-overlay',q['BlazeLongFormControlsOverlay']),p['WidgetsFactory']['define']('blaze-widget-video-player',q['BlazeWidgetVideoPlayer']),p['WidgetsFactory']['define']('blaze-video-modal',q['BlazeWidgetVideoModal']),p['WidgetsFactory']['define']('blaze-video-navigation-overlay',q['BlazeVideoNavigationOverlay']),p['WidgetsFactory']['define']('blaze-video-seek-bar',q['BlazeVideoSeekBar']),p['WidgetsFactory']['define']('blaze-loader',m['BlazeLoader']),p['WidgetsFactory']['define']('blaze-chip',m['BlazeChip']),p['WidgetsFactory']['define']('blaze-image',m['BlazeImage']),p['WidgetsFactory']['define']('blaze-title-image',m['BlazeTitleImage']),p['WidgetsFactory']['define']('blaze-alert',m['BlazeAlert']),p['WidgetsFactory']['define']('blaze-modal',m['BlazeDrawer']),p['WidgetsFactory']['define']('blaze-player-menu',m['BlazePlayerMenu']),p['WidgetsFactory']['define']('blaze-div',m['BlazeDiv']),p['WidgetsFactory']['define']('blaze-share-button',m['BlazeShareButton']),p['WidgetsFactory']['define']('blaze-button',m['BlazeButton']),p['WidgetsFactory']['define']('blaze-button-cta',m['BlazeCtaButton']),p['WidgetsFactory']['define']('blaze-call-to-action-button',m['BlazeCallToActionButton']),p['WidgetsFactory']['define']('blaze-follow-button',m['BlazeFollowButton']),p['WidgetsFactory']['define']('blaze-typography',m['BlazeTypography']),p['WidgetsFactory']['define']('blaze-timer',q['BlazeTimer']);});}}g['WidgetsService']=v['getInstance']();},0x26ed:function(d,f,g){'use strict';var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){void 0x0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':!0x0,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){void 0x0===p&&(p=m),k[p]=l[m];}),j=this&&this['__exportStar']||function(k,l){for(var m in k)'default'===m||Object['prototype']['hasOwnProperty']['call'](l,m)||h(l,k,m);};Object['defineProperty'](f,'__esModule',{'value':!0x0}),j(g(0x969),f),j(g(0x9ca),f),j(g(0x1e19),f),j(g(0x2686),f),j(g(0x87b),f),j(g(0x129d),f);},0x26ff:function(d,f,g){'use strict';var h=this&&this['__awaiter']||function(m,p,q,r){return new(q||(q=Promise))(function(u,v){function w(z){try{y(r['next'](z));}catch(A){v(A);}}function x(z){try{y(r['throw'](z));}catch(A){v(A);}}function y(z){var A;z['done']?u(z['value']):(A=z['value'],A instanceof q?A:new q(function(B){B(A);}))['then'](w,x);}y((r=r['apply'](m,p||[]))['next']());});};Object['defineProperty'](f,'__esModule',{'value':!0x0}),f['VideoPlayerService']=void 0x0;const j=g(0x11c1),k=g(0x1133);class l extends(0x0,k['Singleton'])(){constructor(){super(),this['_isMuted']=!0x0,this['_isPlaying']=!0x0,this['_isNavigating']=!0x1,this['_isModalOpen']=!0x1,this['_isSeekBarDragging']=!0x1,this['_currentPlayedContentId']='',this['_playerLayoutDisplay']='normal',this['muteStateBeforeAd']='no-ad',this['_playReference']='Widget',this['updateExcludeContentIdFromURL']();}['init'](){return h(this,void 0x0,void 0x0,function*(){});}get['isMuted'](){return this['_isMuted'];}set['isMuted'](m){this['_isMuted']=m;}['updateExcludeContentIdFromURL'](){const m=new URLSearchParams(window['location']['search'])['get'](k['URL_PARAMS']['EXCLUDE_CONTENT_ID']);m&&(j['ConfigService']['excludeContentId']=m,k['URLManager']['removeStringParamsFromCurrentUrl'](k['URL_PARAMS']['EXCLUDE_CONTENT_ID']));}get['currentlyPlayedContentId'](){return this['_currentPlayedContentId'];}set['currentlyPlayedContentId'](m){this['_currentPlayedContentId']=m;}get['isPlaying'](){return this['_isPlaying'];}set['isPlaying'](m){this['_isPlaying']=m;}get['isNavigating'](){return this['_isNavigating'];}set['isNavigating'](m){this['_isNavigating']=m;}get['playReference'](){return this['_playReference'];}set['playReference'](m){this['_playReference']=m;}get['isModalOpen'](){return this['_isModalOpen'];}set['isModalOpen'](m){this['_isModalOpen']=m;}get['isSeekBarDragging'](){return this['_isSeekBarDragging'];}set['isSeekBarDragging'](m){this['_isSeekBarDragging']=m;}get['playerLayout'](){return this['_playerLayoutDisplay'];}set['playerLayout'](m){this['_playerLayoutDisplay']=m;}}f['VideoPlayerService']=l['getInstance']();}},b={};function c(d){var f=b[d];if(void 0x0!==f)return f['exports'];var g=b[d]={'exports':{}};return a[d]['call'](g['exports'],g,g['exports'],c),g['exports'];}return c['amdO']={},c['d']=(d,f)=>{for(var g in f)c['o'](f,g)&&!c['o'](d,g)&&Object['defineProperty'](d,g,{'enumerable':!0x0,'get':f[g]});},c['g']=(function(){if('object'==typeof globalThis)return globalThis;try{return this||new Function('return\x20this')();}catch(d){if('object'==typeof window)return window;}}()),c['o']=(d,f)=>Object['prototype']['hasOwnProperty']['call'](d,f),c['r']=d=>{'undefined'!=typeof Symbol&&Symbol['toStringTag']&&Object['defineProperty'](d,Symbol['toStringTag'],{'value':'Module'}),Object['defineProperty'](d,'__esModule',{'value':!0x0});},c(0x1fdc);})()));
|