stream-engine-widgets 0.3.32 → 0.3.33

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.
Files changed (34) hide show
  1. package/dist/{ArrowForwardIosRounded-CV9m6PqB.js → ArrowForwardIosRounded-xNKrsEhm.js} +2 -2
  2. package/dist/{ArrowForwardIosRounded-CV9m6PqB.js.map → ArrowForwardIosRounded-xNKrsEhm.js.map} +1 -1
  3. package/dist/{PlayArrowRounded-Z4bJBiOU.js → PlayArrowRounded-LNxn9I-2.js} +2 -2
  4. package/dist/{PlayArrowRounded-Z4bJBiOU.js.map → PlayArrowRounded-LNxn9I-2.js.map} +1 -1
  5. package/dist/blaze-DmKexmmO.js +577 -0
  6. package/dist/blaze-DmKexmmO.js.map +1 -0
  7. package/dist/{gallery-5SIToFzL.js → gallery-D6dayS__.js} +3 -3
  8. package/dist/{gallery-5SIToFzL.js.map → gallery-D6dayS__.js.map} +1 -1
  9. package/dist/{index-C71587Bw.js → index-BZYcjDkf.js} +3 -3
  10. package/dist/{index-C71587Bw.js.map → index-BZYcjDkf.js.map} +1 -1
  11. package/dist/{matchItem-aVTILA5y.js → matchItem-BTDJtzH0.js} +2 -2
  12. package/dist/{matchItem-aVTILA5y.js.map → matchItem-BTDJtzH0.js.map} +1 -1
  13. package/dist/{matches-DuZk3Cp-.js → matches-DbC7jwEC.js} +4 -4
  14. package/dist/{matches-DuZk3Cp-.js.map → matches-DbC7jwEC.js.map} +1 -1
  15. package/dist/{matchesStandalone-CHWvYhVw.js → matchesStandalone-BwWxYhoA.js} +4 -4
  16. package/dist/{matchesStandalone-CHWvYhVw.js.map → matchesStandalone-BwWxYhoA.js.map} +1 -1
  17. package/dist/{player-D-gUIB7T.js → player-B8OuREgJ.js} +2 -2
  18. package/dist/{player-D-gUIB7T.js.map → player-B8OuREgJ.js.map} +1 -1
  19. package/dist/{poster-BOVPVuvb.js → poster-Cl39MgVf.js} +3 -3
  20. package/dist/{poster-BOVPVuvb.js.map → poster-Cl39MgVf.js.map} +1 -1
  21. package/dist/{posterItem-Ct2DsRS3.js → posterItem-6pxKS7Oa.js} +4 -4
  22. package/dist/{posterItem-Ct2DsRS3.js.map → posterItem-6pxKS7Oa.js.map} +1 -1
  23. package/dist/{scroll-sT9ZAVU9.js → scroll-BzUJV-3k.js} +4 -4
  24. package/dist/{scroll-sT9ZAVU9.js.map → scroll-BzUJV-3k.js.map} +1 -1
  25. package/dist/{stateTimeIndicator-C5V2VU3P.js → stateTimeIndicator-CH-c01kU.js} +2 -2
  26. package/dist/{stateTimeIndicator-C5V2VU3P.js.map → stateTimeIndicator-CH-c01kU.js.map} +1 -1
  27. package/dist/{story-B_cCY0tf.js → story-BSzjqvBz.js} +4 -4
  28. package/dist/{story-B_cCY0tf.js.map → story-BSzjqvBz.js.map} +1 -1
  29. package/dist/stream-engine-widgets.js +1 -1
  30. package/dist/{useMediaQuery-DzwgxUGF.js → useMediaQuery-DSkV9wEO.js} +4 -4
  31. package/dist/{useMediaQuery-DzwgxUGF.js.map → useMediaQuery-DSkV9wEO.js.map} +1 -1
  32. package/package.json +2 -2
  33. package/dist/blaze-BRzy94bq.js +0 -573
  34. package/dist/blaze-BRzy94bq.js.map +0 -1
@@ -1,573 +0,0 @@
1
- import { i as importShared, j as jsxRuntimeExports, L as Loader } from './index-C71587Bw.js';
2
- import { g as getDefaultExportFromCjs } from './index-BXY6XHL0.js';
3
-
4
- function _mergeNamespaces(n, m) {
5
- for (var i = 0; i < m.length; i++) {
6
- const e = m[i];
7
- if (typeof e !== 'string' && !Array.isArray(e)) { for (const k in e) {
8
- if (k !== 'default' && !(k in n)) {
9
- const d = Object.getOwnPropertyDescriptor(e, k);
10
- if (d) {
11
- Object.defineProperty(n, k, d.get ? d : {
12
- enumerable: true,
13
- get: () => e[k]
14
- });
15
- }
16
- }
17
- } }
18
- }
19
- return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' }));
20
- }
21
-
22
- var publish = {exports: {}};
23
-
24
- (function (module, exports) {
25
- !function(a,b){module['exports']=b();}(window,()=>((()=>{var a={0x29:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['MetadataKeys']=void 0,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.30.0',[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'};},0x2f:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['ButtonLabelManager']=void 0,f['ButtonLabelManager']=class{static['setButtonLabel'](g,h){g&&h&&'setAriaLabel'in g&&g['setAriaLabel'](h);}static['buildPlayPauseLabel'](g,h){return (g?'Pause':'Play')+'\x20'+('story'===h?'story':'moment');}static['buildMuteLabel'](g,h){return (g?'Unmute':'Mute')+'\x20'+('story'===h?'story':'moment');}static['buildLikeLabel'](g){return g?'Unlike\x20moment':'Like\x20moment';}static['buildCtaLabel'](g){return (g||'Call\x20to\x20action')+'\x20-\x20opens\x20in\x20a\x20new\x20tab';}static['buildNavigationLabel'](g,h,j){const k='next'===g?'Next':'Previous';return 'story'===h?'page'===j?k+'\x20page\x20of\x20stories':k+'\x20story':k+'\x20moment';}static['setBatchLabels'](g){g['forEach'](([h,j])=>{h&&j&&this['setButtonLabel'](h,j);});}};},0x33:function(f,j,k){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':true}),j['BlazeWidgetLayout']=void 0,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 0!==M?M:this;}constructor(){super(),this['widgetHeight']=0x0,this['parentHeight']=void 0,this['focusedItemIndex']=-1,this['lastFocusedIndex']=-1,C['ConfigService']['runInShadowDom']&&this['attachShadow']({'mode':'open'}),this['widgetItems']=[],this['contents']=[],this['heightObserver']=new MutationObserver(this['handleHeightChangeMutation']['bind'](this)),this['onResizeEvent']=(0, w['debounce'])(this['onResize']['bind'](this),0x4b),this['onMouseMoveEvent']=(0, w['debounce'])(M=>{let N=(this['shadowRoot']||document)['elementFromPoint'](M['clientX'],M['clientY']);const O=(0, 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 0!==M?M:this['widgetItems'][0x0],null==O||O['loadNewThumbnail'](),null===(N=this['currentlyAnimatedItem'])||void 0===N||N['loadNewThumbnail']();};}['connectedCallback'](){var M,N,O;if((0, 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 0===window||window['addEventListener']('resize',this['onResizeEvent']),null===window||void 0===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%','outline':'none','direction':C['ConfigService']['layoutDirection']}),this['parentElement']&&(this['parentHeight']=this['parentElement']['clientHeight'],this['heightObserver']['observe'](this['parentElement'],{'attributes':true,'attributeFilter':['style','class']})),this['widgetHeight']=this['clientHeight'],this['innerHTML']+='<style>blaze-widget-layout::-webkit-scrollbar,blaze-div::-webkit-scrollbar\x20{display:\x20none;}\x20blaze-widget-layout,blaze-div\x20{-ms-overflow-style:\x20none;\x20scrollbar-width:\x20none;}</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=-1!==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 0===M?void 0:M['clientWidth'])&&(a9=((null===(N=this['parentElement'])||void 0===N?void 0: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 0===O||O['append'](ae);}this['refElement']['append'](this['skeletonContainer']);}}['disconnectedCallback'](){var M,N,O;super['disconnectedCallback'](),null===window||void 0===window||window['removeEventListener']('resize',this['onResizeEvent']),null===window||void 0===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 0===M||M['remove'](),null===(N=this['momentsModal'])||void 0===N||N['remove'](),null===(O=this['videosModal'])||void 0===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 0===M||M['render'](),null===(O=null===(N=this['storysModal'])||void 0===N?void 0:N['player'])||void 0===O||O['render'](),null===(Q=null===(P=this['storysModal'])||void 0===P?void 0:P['player'])||void 0===Q||Q['resetPosition'](),null===(T=null===(S=null===(R=this['storysModal'])||void 0===R?void 0:R['player'])||void 0===S?void 0:S['contentList'])||void 0===T||T['forEach'](a1=>null==a1?void 0:a1['render']())),this['momentsModal']&&(null===(U=this['momentsModal'])||void 0===U||U['render'](),null===(W=null===(V=this['momentsModal'])||void 0===V?void 0:V['player'])||void 0===W||W['resetPosition'](),null===(Z=null===(Y=null===(X=this['momentsModal'])||void 0===X?void 0:X['player'])||void 0===Y?void 0:Y['contentList'])||void 0===Z||Z['forEach'](a1=>null==a1?void 0:a1['render']())),this['videosModal']&&(null===(a0=this['videosModal'])||void 0===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 0===N?void 0:N['player'])||void 0===O?void 0:O['contentList'],null===(Q=null===(P=this['momentsModal'])||void 0===P?void 0:P['player'])||void 0===Q?void 0:Q['contentList'],null===(R=this['videosModal'])||void 0===R?void 0:R['player']['contentList']]['some'](W=>{var X;return (null!==(X=null==W?void 0:W['length'])&&void 0!==X?X:0x0)>0x0;});V&&U&&this['render']();}}}['handleIntersection'](M){const N=M['find'](O=>O['target']===this);N&&N['isIntersecting']&&(this['isWidgetVisible']=true,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']?-1: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 0===N?void 0:N['isOpen'])||(null===(O=this['momentsModal'])||void 0===O?void 0:O['isOpen'])||(null===(P=this['videosModal'])||void 0===P?void 0: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 0===Q||Q['loadNewThumbnail']();}}['onPlayerClose'](){this['restoreTabIndexOnWidgetItems'](),this['lastFocusedIndex']>=0x0&&this['lastFocusedIndex']<this['widgetItems']['length']&&this['navigateToItem'](this['lastFocusedIndex']),this['shouldReloadWhenPlayerIsClosed']&&(this['loadContent'](),this['shouldReloadWhenPlayerIsClosed']=false);}['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 0!==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 0===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 0===N||N['forEach'](Q=>{var R,S;const T=null===(R=this['perItemStyleOverrides'][P])||void 0===R?void 0:R['findIndex'](U=>U['name']===Q['name']);if(-1!==T){const U=this['perItemStyleOverrides'][P];U&&void 0!==T&&(U[T]=Q);}else null===(S=this['perItemStyleOverrides'][P])||void 0===S||S['push'](Q);}));}}['updatePlayerStyle'](){const M=(0, F['mergeDeep'])(D['ThemeFactory']['create']('default')['playerStyle'],C['ConfigService']['playerStyleCustomization']);(0, 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':false,'bottom':false,'left':false,'right':false};this['widgetItems']['forEach'](O=>{const P=O['getPaddingOnContainer']();M['top']=(0, F['getMaxValue'])(M['top'],P['top']),M['left']=(0, F['getMaxValue'])(M['left'],P['left']),M['right']=(0, F['getMaxValue'])(M['right'],P['right']),M['bottom']=(0, 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']=true),T&&(N['bottom']=true),U&&(N['right']=true),V&&(N['left']=true));}),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 0:M['toString']())||'');}['setupVideoModalCallbacks'](){var M,N,O;this['videosModal']&&(this['videosModal']['onContentChange']=null===(M=this['onContentChange'])||void 0===M?void 0:M['bind'](this),this['videosModal']['onClose']=null===(N=this['onPlayerClose'])||void 0===N?void 0:N['bind'](this),this['videosModal']['onOpen']=null===(O=this['onPlayerOpen'])||void 0===O?void 0:O['bind'](this));}['setupMomentModalCallbacks'](){var M,N,O;this['momentsModal']&&(this['momentsModal']['onContentChange']=null===(M=this['onContentChange'])||void 0===M?void 0:M['bind'](this),this['momentsModal']['onClose']=null===(N=this['onPlayerClose'])||void 0===N?void 0:N['bind'](this),this['momentsModal']['onOpen']=null===(O=this['onPlayerOpen'])||void 0===O?void 0:O['bind'](this));}['setupStoryModalCallbacks'](){var M,N,O;this['storysModal']&&(this['storysModal']['onContentChange']=null===(M=this['onContentChange'])||void 0===M?void 0:M['bind'](this),this['storysModal']['onClose']=null===(N=this['onPlayerClose'])||void 0===N?void 0:N['bind'](this),this['storysModal']['onOpen']=null===(O=this['onPlayerOpen'])||void 0===O?void 0:O['bind'](this));}['beforeStoryModalCreation'](){this['updatePlayerStyle']();}['removeSkeletonContainer'](){return q(this,void 0,void 0,function*(){var M;null===(M=this['skeletonContainer'])||void 0===M||M['remove']();});}['handlePostContentLoad'](M,N,O){return q(this,void 0,void 0,function*(){var P;null===(P=this['skeletonContainer'])||void 0===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['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});});}});}['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 0===O||O['loadNewThumbnail']();}V&&this['videosModal']?this['playVideo'](null===(P=M['content'])||void 0===P?void 0:P['id']):U&&this['momentsModal']?this['playMoment'](null===(Q=M['content'])||void 0===Q?void 0:Q['id']):T&&this['storysModal']&&this['playStory'](null===(R=M['content'])||void 0===R?void 0:R['id']);}['handleWidgetContent'](){var M;let N=this['getTheme']();null===(M=this['contents'])||void 0===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 0===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}=(0, F['calculateChipSize'])('badge',M['layoutStyle']['badgePosition'],M['layoutStyle']),{chipWidth:P,chipHeight:Q}=(0, 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((0, 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 0===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'===(0, 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 a4=0x0,a5=0x0;const a6=-1!==R['position']['indexOf']('outside');if(R['isVisible']&&a6){const aa=this['calculateLabelSizes'](R,Q);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 0!==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=(0, F['convertCssUnitToNumber'])(M['height'])*N;const {isOutside:R,isInside:S,isLeft:T,isRight:U}=(0, 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 0===Q?void 0: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 0===M?void 0:M['length'])&&void 0!==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 0===M?void 0:M['layoutStyle']['thumbnailShape'])||this['getAttribute']('thumbnail-shape');}['widgetType'](){return this['theme']['layoutStyle']['columns']>0x1?'Grid':'Row';}['setupAccessibility'](){this['setAttribute']('role','region'),this['setAttribute']('aria-roledescription','widget\x20carousel\x20layout\x20'),this['setAttribute']('tabindex','0'),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}=(0, 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='ArrowRight'===M['key']||'ArrowLeft'===M['key'],R='ArrowUp'===M['key']||'ArrowDown'===M['key'],S='Enter'===M['key']||'\x20'===M['key'],T='Home'===M['key'],U='End'===M['key'];if((Q||R||S||T||U)&&M['preventDefault'](),!((null===(N=this['storysModal'])||void 0===N?void 0:N['isOpen'])&&Q||(null===(O=this['momentsModal'])||void 0===O?void 0:O['isOpen'])&&Q||(null===(P=this['videosModal'])||void 0===P?void 0:P['isOpen'])&&Q||0x0===this['widgetItems']['length']))switch(M['key']){case 'ArrowRight':case 'ArrowDown':this['navigateToNextItem']();break;case 'ArrowLeft':case 'ArrowUp':this['navigateToPreviousItem']();break;case 'Home':this['navigateToItem'](0x0);break;case 'End':this['navigateToItem'](this['widgetItems']['length']-0x1);break;case 'Enter':case '\x20':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;this['setFocusState'](M);const N=this['widgetItems'][this['focusedItemIndex']];I['accessibilityManager']['manageFocus'](N),N['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=(0, F['buildContentAriaLabel'])({'contentType':O,'title':(null===(M=N['content'])||void 0===M?void 0: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');});}}j['BlazeWidgetLayout']=L;},0x4e:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x93:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['INTERACTION_ANALYTICS']=f['ANSWER_FEEDBACK_VIBRATE_PATTERNS']=void 0,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']=false;var x='',z=false,A=k,B=q,C=w,D=null,E='',F=true,G='auto',H='start',I='auto',J='auto',K=0x64,L='center';Object['defineProperties'](this,{'id':{'enumerable':true,'get':function(){return x;},'set':function(M){x=''+M;}},'pauseOnExit':{'enumerable':true,'get':function(){return z;},'set':function(M){z=!!M;}},'startTime':{'enumerable':true,'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']=true;}},'endTime':{'enumerable':true,'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']=true;}},'text':{'enumerable':true,'get':function(){return C;},'set':function(M){C=''+M,this['hasBeenReset']=true;}},'region':{'enumerable':true,'get':function(){return D;},'set':function(M){D=M,this['hasBeenReset']=true;}},'vertical':{'enumerable':true,'get':function(){return E;},'set':function(M){var N=function(O){return 'string'==typeof O&&!!f[O['toLowerCase']()]&&O['toLowerCase']();}(M);if(false===N)throw new SyntaxError('Vertical:\x20an\x20invalid\x20or\x20illegal\x20direction\x20string\x20was\x20specified.');E=N,this['hasBeenReset']=true;}},'snapToLines':{'enumerable':true,'get':function(){return F;},'set':function(M){F=!!M,this['hasBeenReset']=true;}},'line':{'enumerable':true,'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']=true;}},'lineAlign':{'enumerable':true,'get':function(){return H;},'set':function(M){var N=h(M);N&&(H=N,this['hasBeenReset']=true);}},'position':{'enumerable':true,'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']=true;}},'positionAlign':{'enumerable':true,'get':function(){return J;},'set':function(M){var N=h(M);N&&(J=N,this['hasBeenReset']=true);}},'size':{'enumerable':true,'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']=true;}},'align':{'enumerable':true,'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']=true;}}}),this['displayState']=void 0;}j['prototype']['getCueAsHTML']=function(){return WebVTT['convertCueToDOMTree'](window,this['text']);},d['exports']=j;},0xc8:function(d,f,g){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':true}),f['LoggerDatabaseAdapter']=void 0;const j=g(0x11c1);f['LoggerDatabaseAdapter']=class{['storeLog'](k){return h(this,void 0,void 0,function*(){return j['DatabaseService']['addLog'](k);});}['getLogBatch'](k){return h(this,void 0,void 0,function*(){return j['DatabaseService']['getLogs'](k);});}['removeLogs'](k){return h(this,void 0,void 0,function*(){return j['DatabaseService']['removeLogs'](k);});}['clearLogs'](){return h(this,void 0,void 0,function*(){return j['DatabaseService']['clearLogs']();});}['getLogCount'](){return h(this,void 0,void 0,function*(){return j['DatabaseService']['getLogCount']();});}};},0xcf:function(d,f,g){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':true}),f['VideoService']=void 0;const j=g(0x11c1),k=g(0x1133);class l extends(0, k['Singleton'])(){['init'](){return h(this,void 0,void 0,function*(){yield this['loadHlsScript'](0x3);});}['loadHlsScript'](m){return new Promise((p,q)=>{if(window['Hls'])return p();const r=document['createElement']('script');r['type']='text/javascript',r['src']=j['ConfigService']['sdkStorageCDN']+'/web-sdk/js/hls.js@1.5.20.js',r['onload']=()=>{window['Hls']?p():m>0x1?this['loadHlsScript'](m-0x1)['then'](p)['catch'](q):q(new Error('Hls\x20failed\x20to\x20load.'));},r['onerror']=()=>{m>0x1?this['loadHlsScript'](m-0x1)['then'](p)['catch'](q):q(new Error('Failed\x20to\x20load\x20Hls\x20script.'));},document['getElementsByTagName']('blaze-sdk')[0x0]['appendChild'](r);});}['fetchContent'](m){return h(this,void 0,void 0,function*(){const {sourceType:p,labels:q,ids:u,orderType:v,maxItems:w,labelsPriority:x,text:y}=m;let z,A;if('ids'===p&&u)({data:z,error:A}=yield j['ApiService']['getVideosByIds']({'ids':u,'orderType':v}));else {if('labels'===p&&q){const B=Array['isArray'](q)?q['join']():q['toString']();({data:z,error:A}=yield j['ApiService']['getVideosByLabels']({'labels':B,'orderType':v,'maxItems':w,'labelsPriority':x,'text':y}));}else 'text'===p&&y&&({data:z,error:A}=yield j['ApiService']['getVideosByText']({'text':y,'orderType':v,'maxItems':w}));}return null==z||z['result']['map'](C=>{C['type']='Content';}),z||{'assetsExpiryTime':'','totalItems':0x0,'result':[]};});}['enrichContent'](m){return h(this,void 0,void 0,function*(){for(const p of m)p['hasViewed']=Boolean(yield j['DatabaseService']['getVideoData'](p['id']));return m;});}['getVideoDataById'](m){return h(this,void 0,void 0,function*(){return yield j['DatabaseService']['getVideoData'](m);});}['updateVideoDataById'](m,p){return h(this,void 0,void 0,function*(){return yield j['DatabaseService']['updateVideoData'](m,p);});}['markVideoAsViewed'](m,p){return h(this,void 0,void 0,function*(){return yield j['DatabaseService']['updateVideoReadStatus'](m,p);});}}f['VideoService']=l['getInstance']();},0x115:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0x636),f);},0x14c:function(f,j,k){var m=this&&this['__importDefault']||function(F){return F&&F['__esModule']?F:{'default':F};};Object['defineProperty'](j,'__esModule',{'value':true}),j['BlazeWidgetModal']=void 0;const q=m(k(0x1c00)),v=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']=false,this['exitButtonElement']={},this['exitButtonWrapperElement']={},this['blazeSdk']=document['getElementsByTagName']('blaze-sdk')[0x0],this['hammer']=null,this['isMultiTouch']=false,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['boundOnResizeEvent']=(0, 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']),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['append'](this['exitButtonWrapperElement'])),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 0===F||F['render'](),null===(G=this['player'])||void 0===G||G['resetPosition'](),null===(I=null===(H=this['player'])||void 0===H?void 0:H['contentList'])||void 0===I||I['forEach'](J=>null==J?void 0:J['render']()),this['render']();}['handleOnContentChange'](F){var G;null===(G=this['onContentChange'])||void 0===G||G['call'](this,F);}['handleOnExitButtonClick'](){const F=this['player']['playerContentList'][this['player']['index']];F['exitTrigger']='Close\x20Button',F instanceof v['BlazeWidgetStory']&&F['close'](),F instanceof v['BlazeVideoElement']&&F['event'](x['VideoAction']['VideoEnd'],{}),this['close']();}['handlePopState'](){var F,G;this['isOpen']&&(w['URLManager']['isUpdateLocationByScript']||w['URLManager']['isBackWasCalled']||(this['player']['close'](),this['close'](),this['player']instanceof v['BlazeWidgetStoryPlayer']&&(null===(G=(F=this['player'])['dispatchExitStoryEvents'])||void 0===G||G['call'](F)),w['URLManager']['resetLocation'](),w['URLManager']['isBackWasCalled']=true));}['seek'](F){this['player']['seekContentById'](F);}['setupHammer'](){this['hammer']||(this['hammer']=new q['default']['Manager'](this),this['hammer']['add'](new q['default']['Pan']({'direction':q['default']['DIRECTION_ALL']})),this['hammer']['add'](new q['default']['Pinch']({'enable':true})),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']=false,w['URLManager']['appendUrlForPrefetch'](A['ConfigService']['autoAdvanceUrl']),this['videoPlayerState']['isPlaying']=true,A['VideoPlayerService']['isModalOpen']=true,this['isOpen']=true,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['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']=false,this['removeAttribute']('role'),this['removeAttribute']('aria-modal'),A['VideoPlayerService']['isModalOpen']=false,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']=false,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 0===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 v['BlazeWidgetStory']?null==F?void 0:F['isButtonVisible']('EXIT_PLAYER'):void 0});this['exitButtonWrapperElement']['style']['display']=G?'block':'none';}}['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=(0, D['generateModalAriaLabel'])({'contentType':this['contentType'],'position':this['player']['index']+0x1,'total':this['player']['contentList']['length'],'title':null===(F=null==G?void 0:G['data'])||void 0===F?void 0:F['title'],'currentContent':G,'includeNavigationContext':false});G['setAttribute']('aria-label',H),G['focus'](),setTimeout(()=>{G['setAttribute']('aria-label','');},0x3e8);}}}j['BlazeWidgetModal']=E;},0x164:(f,g,j)=>{Object['defineProperty'](g,'__esModule',{'value':true}),g['getContentScore']=void 0,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']=q,g['mergeDeep']=v,g['mergeArrays']=w,g['cloneDeep']=function D(E){if(Array['isArray'](E))return E['map'](F=>D(F));if(q(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 false;return true;},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 true;for(const G of F['pages']['slice']()['reverse']()){if(G['ignoreReadStatusForStory']&&!G['hasViewed'])return false;if(!G['ignoreReadStatusForStory'])return G['hasViewed'];}return false;},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 true;}return false;},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 q(F){return F&&'object'==typeof F&&!Array['isArray'](F);}function v(F,...G){if(!G['length'])return F;const H=G['shift']();if(q(F)&&q(H)){for(const I in H) void 0!==H[I]&&(Array['isArray'](H[I])?F[I]=w(F[I]||[],H[I]):q(H[I])?(F[I]||Object['assign'](F,{[I]:{}}),v(F[I],H[I])):Object['assign'](F,{[I]:H[I]}));}return v(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']);-1===L?J['push'](K):J[L]=v(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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['ThemeFactory']=void 0,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 (0, 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 (0, h['cloneDeep'])({'layoutStyle':j['Presets']['Grid2Column'],'playerStyle':l(v)});}(p);case 'grid-3-columns':return function(v){return (0, h['cloneDeep'])({'layoutStyle':j['Presets']['Grid3Column'],'playerStyle':l(v)});}(p);case 'grid-3-columns-horizontal':return function(v){return (0, h['cloneDeep'])({'layoutStyle':j['Presets']['Grid3ColumnHorizontal'],'playerStyle':l(v)});}(p);case 'grid-2-columns-horizontal':return function(v){return (0, h['cloneDeep'])({'layoutStyle':j['Presets']['Grid2ColumnHorizontal'],'playerStyle':l(v)});}(p);case 'row-circle':return function(v){return (0, h['cloneDeep'])({'layoutStyle':j['Presets']['RowCircle'],'playerStyle':l(v)});}(p);case 'row-rectangle':return function(v){return (0, 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 (0, h['cloneDeep'])({'layoutStyle':w,'playerStyle':l(v)});}(p):k(p);case 'row-rectangle-horizontal':return function(v){return (0, h['cloneDeep'])({'layoutStyle':j['Presets']['RowHorizontalRectangle'],'playerStyle':l(v)});}(p);default:return k(p);}}};},0x188:(d,f)=>{var g;Object['defineProperty'](f,'__esModule',{'value':true}),f['positionMap']=f['ButtonNavigation']=void 0,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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1d9:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['CLOSED_CAPTIONS_LANGUAGE_CHANGE']=f['LOCAL_STORAGE_KEY_LAST_SELECTED']=f['LOCAL_STORAGE_KEY_RECENT_LANGUAGES']=void 0;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['CLOSED_CAPTIONS_LANGUAGE_CHANGE']='cc-language-change';},0x21d:function(d,f,g){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':true}),f['AdService']=void 0;const j=g(0x1133),k=g(0x23a6),m=g(0x263),p={'method':'HEAD','mode':'no-cors'};class q extends(0, j['Singleton'])(){constructor(){super(...arguments),this['canRunAds']=false;}['init'](){return h(this,void 0,void 0,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']=false;}});}['pushAdsBetweenStories'](v,w,x,y,z,A,B='Full\x20Screen'){var C;if(!this['canRunAds'])return;if('EveryXStories'!==(null===(C=null==v?void 0:v['configuration'])||void 0===C?void 0: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-'+(0, m['v4'])(),G=new k['BlazeWidgetStory'](A,B),H={'description':'','isLive':false,'pages':[{'id':F+'-page','type':'Ad','duration':0x5,'ignoreReadStatusForStory':false,'hasViewed':false,'createTime':new Date()['toLocaleString'](),'adInfo':v}],'isAd':true,'id':F,'title':'','updateTime':'','createTime':'','thumbnails':[],'hasViewed':false,'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']=true,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 0:u['configuration'])||void 0===z?void 0:z['adLocationsIndexes'][0x0])&&void 0!==A?A:0x1;if('Moment'!==(null===(B=null==u?void 0:u['configuration'])||void 0===B?void 0: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-'+(0, 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':'','enhancements':null},'momentIndexInPlaylist':0x0,'title':'','updateTime':'','createTime':'','hasViewed':false,'isAd':true,'extraInfo':{}}),v['push'](F),F;}if('IMA'===u['type']&&u['tag']){if(0x0===D)return;if(D%C!==0x0)return;v[x]['shouldShowImaAdOnStart']=true,v[x]['adInfo']=u;}}}f['AdService']=q['getInstance']();},0x21e:()=>{},0x227:function(d,f,g){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':true}),f['VideoPlayerCommands']=void 0;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 0,void 0,function*(){const m=this['commands']['get'](k);if(m)try{return yield m['execute'](...l);}catch(p){throw p;}});}};},0x263:(j,k,q)=>{var z;q['r'](k),q['d'](k,{'NIL':()=>a9,'parse':()=>V,'stringify':()=>K,'v1':()=>U,'v3':()=>a4,'v4':()=>a5,'v5':()=>a8,'validate':()=>G,'version':()=>aa});var B=new Uint8Array(0x10);function D(){if(!z&&!(z='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 z(B);}const F=/^(?:[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,G=function(ab){return 'string'==typeof ab&&F['test'](ab);};for(var H=[],J=0x0;J<0x100;++J)H['push']((J+0x100)['toString'](0x10)['substr'](0x1));const K=function(ab){var ac=arguments['length']>0x1&&void 0!==arguments[0x1]?arguments[0x1]:0x0,ad=(H[ab[ac+0x0]]+H[ab[ac+0x1]]+H[ab[ac+0x2]]+H[ab[ac+0x3]]+'-'+H[ab[ac+0x4]]+H[ab[ac+0x5]]+'-'+H[ab[ac+0x6]]+H[ab[ac+0x7]]+'-'+H[ab[ac+0x8]]+H[ab[ac+0x9]]+'-'+H[ab[ac+0xa]]+H[ab[ac+0xb]]+H[ab[ac+0xc]]+H[ab[ac+0xd]]+H[ab[ac+0xe]]+H[ab[ac+0xf]])['toLowerCase']();if(!G(ad))throw TypeError('Stringified\x20UUID\x20is\x20invalid');return ad;};var N,O,Q=0x0,R=0x0;const U=function(ab,ac,ad){var ae=ac&&ad||0x0,af=ac||new Array(0x10),ag=(ab=ab||{})['node']||N,ah=void 0!==ab['clockseq']?ab['clockseq']:O;if(null==ag||null==ah){var ai=ab['random']||(ab['rng']||D)();null==ag&&(ag=N=[0x1|ai[0x0],ai[0x1],ai[0x2],ai[0x3],ai[0x4],ai[0x5]]),null==ah&&(ah=O=0x3fff&(ai[0x6]<<0x8|ai[0x7]));}var aj=void 0!==ab['msecs']?ab['msecs']:Date['now'](),ak=void 0!==ab['nsecs']?ab['nsecs']:R+0x1,al=aj-Q+(ak-R)/0x2710;if(al<0x0&&void 0===ab['clockseq']&&(ah=ah+0x1&0x3fff),(al<0x0||aj>Q)&&void 0===ab['nsecs']&&(ak=0x0),ak>=0x2710)throw new Error('uuid.v1():\x20Can\x27t\x20create\x20more\x20than\x2010M\x20uuids/sec');Q=aj,R=ak,O=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||K(af);},V=function(ab){if(!G(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 K(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=-271733879,ai=-1732584194,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,-680876936),aj=a0(aj,ag,ah,ai,ae[ak+0x1],0xc,-389564586),ai=a0(ai,aj,ag,ah,ae[ak+0x2],0x11,0x242070db),ah=a0(ah,ai,aj,ag,ae[ak+0x3],0x16,-1044525330),ag=a0(ag,ah,ai,aj,ae[ak+0x4],0x7,-176418897),aj=a0(aj,ag,ah,ai,ae[ak+0x5],0xc,0x4787c62a),ai=a0(ai,aj,ag,ah,ae[ak+0x6],0x11,-1473231341),ah=a0(ah,ai,aj,ag,ae[ak+0x7],0x16,-45705983),ag=a0(ag,ah,ai,aj,ae[ak+0x8],0x7,0x698098d8),aj=a0(aj,ag,ah,ai,ae[ak+0x9],0xc,-1958414417),ai=a0(ai,aj,ag,ah,ae[ak+0xa],0x11,-42063),ah=a0(ah,ai,aj,ag,ae[ak+0xb],0x16,-1990404162),ag=a0(ag,ah,ai,aj,ae[ak+0xc],0x7,0x6b901122),aj=a0(aj,ag,ah,ai,ae[ak+0xd],0xc,-40341101),ai=a0(ai,aj,ag,ah,ae[ak+0xe],0x11,-1502002290),ag=a1(ag,ah=a0(ah,ai,aj,ag,ae[ak+0xf],0x16,0x49b40821),ai,aj,ae[ak+0x1],0x5,-165796510),aj=a1(aj,ag,ah,ai,ae[ak+0x6],0x9,-1069501632),ai=a1(ai,aj,ag,ah,ae[ak+0xb],0xe,0x265e5a51),ah=a1(ah,ai,aj,ag,ae[ak],0x14,-373897302),ag=a1(ag,ah,ai,aj,ae[ak+0x5],0x5,-701558691),aj=a1(aj,ag,ah,ai,ae[ak+0xa],0x9,0x2441453),ai=a1(ai,aj,ag,ah,ae[ak+0xf],0xe,-660478335),ah=a1(ah,ai,aj,ag,ae[ak+0x4],0x14,-405537848),ag=a1(ag,ah,ai,aj,ae[ak+0x9],0x5,0x21e1cde6),aj=a1(aj,ag,ah,ai,ae[ak+0xe],0x9,-1019803690),ai=a1(ai,aj,ag,ah,ae[ak+0x3],0xe,-187363961),ah=a1(ah,ai,aj,ag,ae[ak+0x8],0x14,0x455a14ed),ag=a1(ag,ah,ai,aj,ae[ak+0xd],0x5,-1444681467),aj=a1(aj,ag,ah,ai,ae[ak+0x2],0x9,-51403784),ai=a1(ai,aj,ag,ah,ae[ak+0x7],0xe,0x676f02d9),ag=a2(ag,ah=a1(ah,ai,aj,ag,ae[ak+0xc],0x14,-1926607734),ai,aj,ae[ak+0x5],0x4,-378558),aj=a2(aj,ag,ah,ai,ae[ak+0x8],0xb,-2022574463),ai=a2(ai,aj,ag,ah,ae[ak+0xb],0x10,0x6d9d6122),ah=a2(ah,ai,aj,ag,ae[ak+0xe],0x17,-35309556),ag=a2(ag,ah,ai,aj,ae[ak+0x1],0x4,-1530992060),aj=a2(aj,ag,ah,ai,ae[ak+0x4],0xb,0x4bdecfa9),ai=a2(ai,aj,ag,ah,ae[ak+0x7],0x10,-155497632),ah=a2(ah,ai,aj,ag,ae[ak+0xa],0x17,-1094730640),ag=a2(ag,ah,ai,aj,ae[ak+0xd],0x4,0x289b7ec6),aj=a2(aj,ag,ah,ai,ae[ak],0xb,-358537222),ai=a2(ai,aj,ag,ah,ae[ak+0x3],0x10,-722521979),ah=a2(ah,ai,aj,ag,ae[ak+0x6],0x17,0x4881d05),ag=a2(ag,ah,ai,aj,ae[ak+0x9],0x4,-640364487),aj=a2(aj,ag,ah,ai,ae[ak+0xc],0xb,-421815835),ai=a2(ai,aj,ag,ah,ae[ak+0xf],0x10,0x1fa27cf8),ag=a3(ag,ah=a2(ah,ai,aj,ag,ae[ak+0x2],0x17,-995338651),ai,aj,ae[ak],0x6,-198630844),aj=a3(aj,ag,ah,ai,ae[ak+0x7],0xa,0x432aff97),ai=a3(ai,aj,ag,ah,ae[ak+0xe],0xf,-1416354905),ah=a3(ah,ai,aj,ag,ae[ak+0x5],0x15,-57434055),ag=a3(ag,ah,ai,aj,ae[ak+0xc],0x6,0x655b59c3),aj=a3(aj,ag,ah,ai,ae[ak+0x3],0xa,-1894986606),ai=a3(ai,aj,ag,ah,ae[ak+0xa],0xf,-1051523),ah=a3(ah,ai,aj,ag,ae[ak+0x1],0x15,-2054922799),ag=a3(ag,ah,ai,aj,ae[ak+0x8],0x6,0x6fa87e4f),aj=a3(aj,ag,ah,ai,ae[ak+0xf],0xa,-30611744),ai=a3(ai,aj,ag,ah,ae[ak+0x6],0xf,-1560198380),ah=a3(ah,ai,aj,ag,ae[ak+0xd],0x15,0x4e0811a1),ag=a3(ag,ah,ai,aj,ae[ak+0x4],0x6,-145523070),aj=a3(aj,ag,ah,ai,ae[ak+0xb],0xa,-1120210379),ai=a3(ai,aj,ag,ah,ae[ak+0x2],0xf,0x2ad7d2bb),ah=a3(ah,ai,aj,ag,ae[ak+0x9],0x15,-343485551),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']||D)();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 K(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(!G(ab))throw TypeError('Invalid\x20UUID');return parseInt(ab['substr'](0xe,0x1),0x10);};},0x264:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeWidgetScrollable']=void 0;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'],true),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;},0x27c:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x290:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['PlaybackStrategyFactory']=void 0;const h=g(0x774),j=g(0x19d2),k=g(0x5fc);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);}}};},0x2ab:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x2fb:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x331:function(d,f,g){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':true}),f['StartupService']=void 0;const j=g(0x11c1),k=g(0x1133);class l extends(0, k['Singleton'])(){['init'](m){return h(this,void 0,void 0,function*(){m['staticContent']||(yield j['UserCountryService']['init']()),yield j['ConfigService']['init'](m),yield j['VideoPlayerService']['init'](),yield j['ErrorService']['init'](),yield j['VideoCacheService']['init'](),yield j['ApiService']['init'](),yield j['AppConfigurationService']['init'](m),yield j['UserService']['init'](),yield j['AnalyticsService']['init'](),yield j['WidgetsService']['init'](),yield j['EventService']['init'](),yield j['DatabaseService']['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']();});}}f['StartupService']=l['getInstance']();},0x3ad:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x3c1:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),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 0,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){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':true}),f['DatabaseService']=void 0;const j=g(0x1133),k=g(0xe1c);class l extends(0, j['Singleton'])(){constructor(){super(...arguments),this['database']={};}['init'](){return h(this,void 0,void 0,function*(){try{this['database']=new k['Database']({'databaseName':'blaze-store','version':0x6}),yield this['database']['init']();}catch(m){}});}['getUserId'](){return h(this,void 0,void 0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['USER'],'user_id');}catch(m){throw m;}});}['updateUserId'](m){return h(this,void 0,void 0,function*(){try{return yield this['database']['update'](k['DB_NAMES']['USER'],{'id':'user_id','value':m});}catch(p){throw p;}});}['getPageViewed'](m){return h(this,void 0,void 0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['STORIES'],m);}catch(p){throw p;}});}['updatePageViewed'](m,p){return h(this,void 0,void 0,function*(){try{return yield this['database']['update'](k['DB_NAMES']['STORIES'],{'id':m,'storyId':p});}catch(q){throw q;}});}['isPageViewed'](m){return h(this,void 0,void 0,function*(){try{const {data:p,error:q}=yield this['getPageViewed'](m);return !q&&p;}catch(r){return false;}});}['enrichStories'](m){return h(this,void 0,void 0,function*(){try{Object['keys'](this['database'])['length']||(yield this['init']());for(const p of m)for(const q of p['pages']){const r=yield this['isPageViewed'](q['id']);if(q['hasViewed']=r,'Content'===q['type']&&q['interaction']){const u=yield this['getInteraction'](q['interaction']['id']);(null==u?void 0x0:u['data'])&&!u['error']&&(yield this['updateInteraction']({'id':q['interaction']['id'],'initData':q['interaction']['initData'],'userResponse':u['data']['userResponse']}));}}return m;}catch(v){return m;}});}['updateInteraction'](m){return h(this,void 0,void 0,function*(){try{return yield this['database']['update'](k['DB_NAMES']['INTERACTIONS'],m);}catch(p){throw p;}});}['getInteraction'](m){return h(this,void 0,void 0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['INTERACTIONS'],m);}catch(p){return null;}});}['updateMomentLike'](m,p){return h(this,void 0,void 0,function*(){try{return yield this['database']['update'](k['DB_NAMES']['MOMENTS'],{'id':m,'liked':p,'viewed':!0x0});}catch(q){return null;}});}['getMomentLike'](m){return h(this,void 0,void 0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['MOMENTS'],m);}catch(p){return null;}});}['updateViewedMoment'](m){return h(this,void 0,void 0,function*(){var p,q;try{const r=yield this['getMomentLike'](m),u={'id':m,'viewed':!0x0,'liked':null!==(q=null===(p=null==r?void 0x0:r['data'])||void 0x0===p?void 0x0:p['liked'])&&void 0x0!==q&&q};return yield this['database']['update'](k['DB_NAMES']['MOMENTS'],u);}catch(v){throw null;}});}['getViewedMoment'](m){return h(this,void 0,void 0,function*(){try{const {data:p}=yield this['database']['get'](k['DB_NAMES']['MOMENTS'],m);return !!p;}catch(q){return false;}});}['enrichMoments'](m){return h(this,void 0,void 0,function*(){Object['keys'](this['database'])['length']||(yield this['init']());for(const p of m)p['hasViewed']=yield this['getViewedMoment'](p['id']);return m;});}['updateVideoReadStatus'](m,p){return h(this,void 0,void 0,function*(){if(!m)throw new Error('videoId\x20is\x20required\x20to\x20update\x20read\x20status.');try{const q=yield this['database']['get'](k['DB_NAMES']['VIDEOS'],m);let r;if(q&&q['data'])return;r={'liked':!0x1,'id':m,'currentTime':0x0,'posterCurrentTime':''},yield this['database']['update'](k['DB_NAMES']['VIDEOS'],r);}catch(u){throw u;}});}['getVideoData'](m){return h(this,void 0,void 0,function*(){if(!m)return null;try{const p=yield this['database']['get'](k['DB_NAMES']['VIDEOS'],m);return p&&p['data']?p['data']:null;}catch(q){return null;}});}['updateVideoData'](m,p){return h(this,void 0,void 0,function*(){if(!m)throw new Error('videoId\x20is\x20required\x20to\x20update\x20video\x20data.');try{const q=yield this['database']['get'](k['DB_NAMES']['VIDEOS'],m);let r;r=q&&q['data']?Object['assign'](Object['assign']({},q['data']),p):Object['assign']({'liked':!0x1,'id':m,'currentTime':0x0,'posterCurrentTime':''},p),yield this['database']['update'](k['DB_NAMES']['VIDEOS'],r);}catch(u){throw u;}});}['getVideoLike'](m){return h(this,void 0,void 0,function*(){try{return yield this['database']['get'](k['DB_NAMES']['VIDEOS'],m);}catch(p){return null;}});}['getVideoPosterById'](m){return h(this,void 0,void 0,function*(){if(m)try{const p=yield this['database']['get'](k['DB_NAMES']['VIDEOS'],m);return p&&p['data']?p['data']['posterCurrentTime']:void 0x0;}catch(q){return;}});}['addLog'](m){return h(this,void 0,void 0,function*(){try{yield this['database']['update'](k['DB_NAMES']['LOGS'],m);}catch(p){throw p;}});}['getLogs'](m){return h(this,void 0,void 0,function*(){try{return (yield this['database']['getAll'](k['DB_NAMES']['LOGS']))['sort']((p,q)=>q['priority']-p['priority']||new Date(p['timestamp'])['getTime']()-new Date(q['timestamp'])['getTime']())['slice'](0x0,m);}catch(p){return [];}});}['removeLogs'](m){return h(this,void 0,void 0,function*(){try{for(const p of m)yield this['database']['delete'](k['DB_NAMES']['LOGS'],p);}catch(q){throw q;}});}['clearLogs'](){return h(this,void 0,void 0,function*(){try{const m=(yield this['database']['getAll'](k['DB_NAMES']['LOGS']))['map'](p=>p['id']);yield this['removeLogs'](m);}catch(p){throw p;}});}['getLogCount'](){return h(this,void 0,void 0,function*(){try{return (yield this['database']['getAll'](k['DB_NAMES']['LOGS']))['length'];}catch(m){return 0x0;}});}}f['DatabaseService']=l['getInstance']();},0x3ee:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BasePlaybackStrategy']=void 0;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 0===l?void 0:l['status'],'error':(null===(m=k['result'])||void 0===m?void 0: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':true,'composed':true})),window['dispatchEvent'](new CustomEvent('blaze:video_lifecycle',{'detail':Object['assign'](Object['assign']({},p),{'lifecycleType':'playback_'+j}),'bubbles':true,'composed':true}));}};},0x416:function(f,j,k){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']());});};Object['defineProperty'](j,'__esModule',{'value':true}),j['BlazeWidgetVideo']=void 0;const q=k(0x23a6),v=k(0x774),w=k(0x1133),x=k(0x1932),y=k(0x25e6),z=k(0x26ed),A=k(0x22d9),B=k(0x11c1),C=k(0x2432),D=k(0xc8e);class E extends q['BlazeWidgetVideoBase']{static get['observedAttributes'](){return ['is-captions-visible'];}constructor(F){var G;super(),this['contentParent']=F,this['interactionElement']=A['WidgetsFactory']['create']('blaze-widget-interaction'),this['captionsElement']=A['WidgetsFactory']['create']('blaze-widget-captions'),this['eventRenderBackgroundPercentageTriggered']=[false,false],this['lastErrorExecutionTime']=0x0,this['videoFormat']='mp4',this['isVideoStartPlaying']=false,this['isError']=true,this['isLoaded']=false,this['isVideoRunning']=false,this['isUnloading']=false,this['maxRetryTimes']=0x5,this['shouldShowImaAd']=false,this['isCurrentlyTryingToRunImaAd']=false,this['hasPoster']=false,this['videoPlayerState']=B['VideoPlayerService'],this['boundHandleAdStarted']=this['handleAdStarted']['bind'](this),this['boundHandleAdEnded']=this['handleAdEnded']['bind'](this),this['beforeContentPlayService']=new B['BeforeContentPlayService'](),F instanceof q['BlazeWidgetStory']&&(this['videoPlayerState']=F['videoPlayerState']||B['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']=A['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===(G=this['contentParent'])||void 0===G?void 0:G['aspectRatio'])&&(this['video']['style']['height']='100%');}['attributeChangedCallback'](F,G,H){'is-captions-visible'===F&&G!==H&&this['captionsElement']['setAttribute']('is-visible',H);}['connectedCallback'](){var F;this['boundLanguageChangeEvent']=this['onLanguageChange']['bind'](this),this['addEventListener'](z['InternalEvent']['AD_STARTED'],this['boundHandleAdStarted']),this['addEventListener'](z['InternalEvent']['AD_ENDED'],this['boundHandleAdEnded']),this['setAttribute']('data-testid','blaze-widget-story-video-'+(null===(F=this['data'])||void 0===F?void 0:F['id'])),this['video']['onended']=this['onended'],this['videoFrameCallback']=this['requestFrameCallback'],this['video']['addEventListener']('playing',()=>{var G;(null===(G=this['loader'])||void 0===G?void 0:G['isConnected'])&&this['removeLoader']();}),this['video']['addEventListener']('timeupdate',()=>{var G;const H=this['currentTime']/this['duration']*0x64,I=[0x1,0x32];for(let J=0x0;J<I['length'];J++)H>=I[J]&&!this['eventRenderBackgroundPercentageTriggered'][J]&&(null===(G=this['videoFrameCallback'])||void 0===G||G['call'](this),this['eventRenderBackgroundPercentageTriggered'][J]=true);}),this['appendChild'](this['video']),C['SharedEventTarget']['addEventListener'](x['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundLanguageChangeEvent']),this['appendChild'](this['widgetVastAd']),this['render']();}['disconnectedCallback'](){this['removeLoader'](),C['SharedEventTarget']['removeEventListener'](x['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundLanguageChangeEvent']),this['removeEventListener'](z['InternalEvent']['AD_STARTED'],this['boundHandleAdStarted']),this['removeEventListener'](z['InternalEvent']['AD_ENDED'],this['boundHandleAdEnded']);}['getContentType'](){return this['contentParent']instanceof q['BlazeWidgetStory']?'story':this['contentParent']instanceof q['BlazeWidgetMoment']?'moment':'story';}['getOriginalVideoUrl'](){var F,G,H,I,J,K;if('Content'!==(null===(F=this['data'])||void 0===F?void 0:F['type']))return;const L=null!==(J=null===(I=null===(H=null===(G=this['data'])||void 0===G?void 0:G['baseLayer'])||void 0===H?void 0:H['content'])||void 0===I?void 0:I['renditions'])&&void 0!==J?J:[],M=this['contentParent']['aspectRatio'],N=L['filter'](Q=>{var R,S;return 'hls'===(null===(R=Q['fileType'])||void 0===R?void 0:R['toLowerCase']())||(null===(S=Q['url'])||void 0===S?void 0:S['includes']('.m3u8'));});if(N['length']>0x0){const Q=N['find'](R=>R['aspectRatio']===M);return Q?Q['url']:N[0x0]['url'];}const O=L['filter'](R=>{var S,T;return 'mp4'===(null===(S=R['fileType'])||void 0===S?void 0:S['toLowerCase']())||(null===(T=R['url'])||void 0===T?void 0:T['includes']('.mp4'));});if(O['length']>0x0){const R=O['find'](S=>S['aspectRatio']===M);return R?R['url']:O[0x0]['url'];}const P=null!==(K=L['find'](S=>S['aspectRatio']===M))&&void 0!==K?K:L[0x0];return null==P?void 0:P['url'];}['setData'](F){this['data']=F,this['data']&&'Content'===this['data']['type']&&(this['videoUrl']=this['getOriginalVideoUrl'](),this['shouldShowImaAd']=Boolean(F['shouldShowImaAd']));}['getGoogleIMA'](){var F;return null===(F=window['google'])||void 0===F?void 0:F['ima'];}['isEnableInteractions'](F){return 'Content'===(null==F?void 0:F['type'])&&'Vertical'===this['contentParent']['aspectRatio'];}['loadClosedCaptions'](){return m(this,void 0,void 0,function*(){var F,G,H,I,J,K;if(!B['ConfigService']['shouldAllowClosedCaptions'])return;if('Content'!==(null===(F=this['data'])||void 0===F?void 0:F['type']))return;if(!(null===(H=null===(G=this['data'])||void 0===G?void 0:G['closedCaptions'])||void 0===H?void 0:H['length'])||!(null===(J=null===(I=this['data']['closedCaptions'][0x0])||void 0===I?void 0:I['files'])||void 0===J?void 0:J['length']))return;if(this['contentParent']instanceof q['BlazeWidgetStory']&&'Embedded'===this['contentParent']['mode'])return;const L=null===(K=this['data']['closedCaptions'])||void 0===K?void 0:K['find'](M=>''+M['language']===localStorage['getItem'](x['LOCAL_STORAGE_KEY_LAST_SELECTED']));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']());});}['getVideoDuration'](F){return m(this,void 0,void 0,function*(){if(this['playbackStrategy']){const H=this['playbackStrategy']['getDuration']();if(H&&!isNaN(H)&&H>0x0)return H;}const G=F||this['video'];return G&&!isNaN(G['duration'])&&G['duration']>0x0?G['duration']:this['videoUrl']?(0, D['getVideoDuration'])(G,this['videoUrl']):0x0;});}['determinePosterUrl'](){var F,G,H,I,J,K,L,M,N,O;if('Content'!==(null===(F=this['data'])||void 0===F?void 0:F['type']))return;const P=null!==(H=null===(G=this['data']['thumbnail'])||void 0===G?void 0:G['renditions'])&&void 0!==H?H:[],Q=null===(I=null==P?void 0:P['find'](T=>T['aspectRatio']===this['contentParent']['aspectRatio']))||void 0===I?void 0:I['url'],R=null===(J=null==P?void 0:P[0x0])||void 0===J?void 0:J['url'],S=(null===(L=null===(K=this['data']['thumbnail'])||void 0===K?void 0:K['rendition'])||void 0===L?void 0:L['url'])||(null===(N=null===(M=this['data']['poster'])||void 0===M?void 0:M['rendition'])||void 0===N?void 0:N['url']);return null!==(O=null!=Q?Q:R)&&void 0!==O?O:S;}['loadPoster'](){var F;if('Content'===(null===(F=this['data'])||void 0===F?void 0:F['type'])){const G=this['determinePosterUrl']();G?(this['video']['poster']=G,(0, C['fetchPosterWithHighPriority'])(G),this['hasPoster']=true):(this['video']['poster']='',this['hasPoster']=false);}}['display'](){this['style']['visibility']='visible',this['shouldShowImaAd']?this['isCurrentlyTryingToRunImaAd']=true:this['isEnableInteractions'](this['data'])&&this['interactionElement']['showInteraction'](this['data']['interaction']);}['hide'](){this['isCurrentlyTryingToRunImaAd']=false,this['style']['visibility']='hidden',this['interactionElement']['hideInteraction']();}['load'](){return m(this,arguments,void 0,function*(F='cache'){var G;if(!this['isLoaded']&&'Content'===(null===(G=this['data'])||void 0===G?void 0:G['type'])&&!this['isBeingUnloaded']()&&this['data']&&this['videoUrl']){this['isLoaded']=true,this['loadInteraction']();try{'cache'===F?yield Promise['all']([this['loadClosedCaptions'](),B['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(H){}}});}['setVideoSource'](F){return m(this,void 0,void 0,function*(){if(!F)return;const G=F['includes']('.m3u8'),H=yield this['beforeContentPlayService']['getTokenizedUrl'](F),I=this['source']['getAttribute']('src');if(!I||I!==H&&I!==H+'#t=0.01'){if(this['loadPoster'](),'hls'===this['videoFormat']&&G&&this['playbackStrategy']&&this['playbackStrategy']['reloadWithNewSource'])try{return void(yield this['playbackStrategy']['reloadWithNewSource'](H,0x0,0x0));}catch(J){}this['videoFormat']=G?'hls':'mp4',this['playbackStrategy']='hls'===this['videoFormat']?v['PlaybackStrategyFactory']['createStrategy'](this['video'],'SHORT_FORM_HLS',this,this['videoPlayerState']):v['PlaybackStrategyFactory']['createStrategy'](this['video'],'NATIVE',this,this['videoPlayerState']),this['playerCommands']=new v['VideoPlayerCommands'](this['playbackStrategy'],this),'hls'===this['videoFormat']?yield this['initializeHLSStrategy'](H):(this['playbackStrategy']['initialize']({'loaderDelegate':{'show':()=>this['tryToAddLoader'](),'hide':()=>this['removeLoader'](),'isVisible':()=>{var K;return !!(null===(K=this['loader'])||void 0===K?void 0:K['isConnected']);}}}),yield this['playbackStrategy']['loadSource'](H,0x0,0x0));}});}['reloadHLSWithNewUrl'](F){return m(this,void 0,void 0,function*(){if('hls'!==this['videoFormat']||!this['playbackStrategy'])return;const G=yield this['beforeContentPlayService']['getTokenizedUrl'](F);this['playbackStrategy']['reloadWithNewSource']&&(this['loadPoster'](),yield this['playbackStrategy']['reloadWithNewSource'](G,0x0,0x0));});}['initializeHLSStrategy'](F){return m(this,void 0,void 0,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 G;return !!(null===(G=this['loader'])||void 0x0===G?void 0x0:G['isConnected']);}}}),yield this['playbackStrategy']['loadSource'](F,0x0,0x0);}catch(G){yield this['fallbackToNativeVideo'](F);}});}['fallbackToNativeVideo'](F){return m(this,void 0,void 0,function*(){this['videoFormat']='mp4',this['playbackStrategy']&&this['cleanupHLSStrategy'](),this['video']['muted']=this['videoPlayerState']['isMuted'],this['playbackStrategy']=v['PlaybackStrategyFactory']['createStrategy'](this['video'],'NATIVE',this,this['videoPlayerState']),this['playerCommands']=new v['VideoPlayerCommands'](this['playbackStrategy'],this),this['playbackStrategy']['initialize']({'loaderDelegate':{'show':()=>this['tryToAddLoader'](),'hide':()=>this['removeLoader'](),'isVisible':()=>{var G;return !!(null===(G=this['loader'])||void 0===G?void 0:G['isConnected']);}}}),yield this['playbackStrategy']['loadSource'](F,0x0,0x0);});}['cleanupHLSStrategy'](){if(this['playbackStrategy']){try{this['playbackStrategy']['destroy']();}catch(F){}this['playbackStrategy']=void 0,this['playerCommands']=void 0;}}['unload'](){return m(this,void 0,void 0,function*(){var F;this['playbackStrategy']&&(this['playbackStrategy']['unload'](),'hls'===this['videoFormat']&&this['cleanupHLSStrategy']()),this['data']&&'Content'===(null===(F=this['data'])||void 0===F?void 0:F['type'])&&this['data']&&(this['interactionElement']['unloadInteraction'](),this['captionsElement']['remove'](),'hls'!==this['videoFormat']&&this['videoUrl']&&this['contentParent']instanceof q['BlazeWidgetStory']&&(yield B['VideoCacheService']['deleteVideoFromCache'](this['videoUrl'])),this['isVideoStartPlaying']=false,this['isLoaded']=false,this['isVideoRunning']=false,this['videoFormat']='',this['playerCommands']=void 0,this['playbackStrategy']=void 0,this['removeLoader']());});}['resetVideoState'](){this['unload']();}['removeLoader'](){clearTimeout(this['loaderTimeoutRefAppending']),this['loader']['remove']();}['tryReloadVideo'](F){var G;F<=0x0||(this['maxRetryTimes']=F,null===(G=this['playbackStrategy'])||void 0===G||G['reset'](),this['play']());}['tryToAddLoader'](){var F;this['ended']||this['loader']&&!(null===(F=this['loader'])||void 0===F?void 0:F['isConnected'])&&(this['loaderTimeoutRefAppending']=setTimeout(()=>{this['append'](this['loader']);},0xfa));}['play'](){return m(this,void 0,void 0,function*(){var F,G;if(this['shouldShowImaAd'])return this['shouldShowImaAd']=false,void(yield this['tryToPlayAd'](this['contentParent']['contentExtraInfo']));this['videoPlayerState']['isPlaying']=true,this['eventRenderBackgroundPercentageTriggered']=[false,false],this['isVideoStartPlaying']=true,yield null===(G=null===(F=this['playerCommands'])||void 0===F?void 0:F['executeCommand'])||void 0===G?void 0:G['call'](F,'play');});}['pause'](){var F,G;this['isVideoStartPlaying']=false,null===(G=null===(F=this['playerCommands'])||void 0===F?void 0:F['executeCommand'])||void 0===G||G['call'](F,'pause');}set['currentTime'](F){var G,H;if(this['playbackStrategy']){const I=this['playbackStrategy']['getDuration']();if(I>0x0){const J=F/I;null===(G=this['playerCommands'])||void 0===G||G['executeCommand']('seek',Math['max'](0x0,Math['min'](0x1,J)));}}else void 0!==(null===(H=this['video'])||void 0===H?void 0:H['currentTime'])&&(this['video']['currentTime']=F);}get['currentTime'](){var F,G;return (null===(F=this['playbackStrategy'])||void 0===F?void 0:F['getCurrentTime']())||(null===(G=this['video'])||void 0===G?void 0:G['currentTime'])||0x0;}get['duration'](){var F,G;return (null===(F=this['playbackStrategy'])||void 0===F?void 0:F['getDuration']())||(null===(G=this['video'])||void 0===G?void 0:G['duration'])||0x0;}['videoDurationMetrics'](){return m(this,void 0,void 0,function*(){try{yield this['getVideoDuration']();}catch(F){}});}['requestFrameCallback'](F){var G,H,I;try{(null===(G=this['video'])||void 0x0===G?void 0x0:G['requestVideoFrameCallback'])?null===(I=null===(H=this['video'])||void 0x0===H?void 0x0:H['requestVideoFrameCallback'])||void 0x0===I||I['call'](H,F):this['videoFrameCallback']=F;}catch(J){}}['mainElement'](){return this['video'];}get['paused'](){var F,G;return null!==(G=null===(F=this['playbackStrategy'])||void 0===F?void 0:F['isPaused']())&&void 0!==G?G:!this['isVideoStartPlaying'];}get['ended'](){var F,G,H,I;return null!==(I=null!==(G=null===(F=this['playbackStrategy'])||void 0===F?void 0:F['isEnded']())&&void 0!==G?G:null===(H=this['video'])||void 0===H?void 0:H['ended'])&&void 0!==I&&I;}get['muted'](){var F;return Boolean(null===(F=this['video'])||void 0===F?void 0:F['muted']);}set['muted'](F){var G,H,I,J;F?null===(H=null===(G=this['playerCommands'])||void 0===G?void 0:G['executeCommand'])||void 0===H||H['call'](G,'mute'):null===(J=null===(I=this['playerCommands'])||void 0===I?void 0:I['executeCommand'])||void 0===J||J['call'](I,'unmute');}get['isAd'](){var F;return this['isCurrentlyTryingToRunImaAd']||'Ad'===(null===(F=this['data'])||void 0===F?void 0:F['type']);}['render'](){this['video']&&(this['video']['style']['borderRadius']='mobile'===w['deviceDetector']['platform']?'0px':'20px');}['handleAdStarted'](){this['pause'](),this['isCurrentlyTryingToRunImaAd']=true,this['interactionElement']['hideInteraction']();}['handleAdEnded'](){var F;document['hidden']||this['play'](),this['isCurrentlyTryingToRunImaAd']=false,null===(F=this['contentParent'])||void 0===F||F['adjustContentView'](),this['isEnableInteractions'](this['data'])&&this['interactionElement']['showInteraction'](),this['contentParent']instanceof q['BlazeWidgetStory']&&this['contentParent']['event'](x['StoryAction']['PageStart'],{});}['loadInteraction'](){if(!this['isEnableInteractions'](this['data']))return;const F=this['data']['interaction'];F&&(this['interactionElement']['addEventListener'](y['INTERACTION_ANALYTICS'],this['handleInteractionEvent']['bind'](this)),this['appendChild'](this['interactionElement']),this['interactionElement']['loadInteraction'](F));}['onLanguageChange'](F){return m(this,void 0,void 0,function*(){var G;const H=null===(G=this['data']['closedCaptions'])||void 0===G?void 0:G['find'](I=>''+I['language']===F['detail']['language']);H?(this['captionsElement']['isConnected']||this['append'](this['captionsElement']),yield this['captionsElement']['initialize'](this['video'],H['files']),this['setAttribute']('is-captions-visible','true')):(this['setAttribute']('is-captions-visible','false'),this['captionsElement']['isConnected']&&this['captionsElement']['remove']());});}['handleInteractionEvent'](F){var G,H;B['AnalyticsService']['pushInteractionEvent'](F['detail']['action'],Object['assign'](Object['assign']({},F['detail']['body']),{'content_id':this['contentParent']['data']['id'],'content_title':this['contentParent']['data']['title'],'content_page_id':null===(G=this['data'])||void 0===G?void 0:G['id'],'content_type':'story','content_session_id':B['UserService']['sessionId'],'audio_state':this['videoPlayerState']['isMuted']?'Mute':'Unmute','content_extra_info':'true'===(null===(H=B['AppConfigurationService']['appConfigurations'])||void 0===H?void 0:H['configurations']['analyticsAddEntitiesInfo'])?JSON['stringify'](this['contentParent']['data']['extraInfo']):void 0}),void 0,this['contentParent']['getRefferingObject']());}['tryToPlayAd'](F){return m(this,void 0,void 0,function*(){var G,H,I,J;if('Content'===(null===(G=this['data'])||void 0===G?void 0:G['type'])&&'IMA'===(null===(H=this['data']['adInfo'])||void 0===H?void 0:H['type'])){const K=this['data']['adInfo'];this['contentParent']['adIndex']++;const L=yield this['getVideoDuration']()['catch'](()=>{});return null!==(J=yield null===(I=this['widgetVastAd'])||void 0===I?void 0:I['startAd']({'videoElement':this['video'],'adInfo':this['data']['adInfo'],'contentExtraInfo':F,'addCustomParams':M=>{var N;null===(N=this['widgetVastAd'])||void 0===N||N['setSearchParamIfNotNullOrZero'](M,'content_title',this['contentParent']['data']['title']);const O=this['data']['index'];if(!isNaN(O)){if('Aniview'===K['adProvider'])M['searchParams']['set']('page_index',(null==O?void 0:O['toString']())||'0');else {let Q=M['searchParams']['get']('cust_params')||'';const R=['page_index='+O];R['length']>0x0&&(Q=Q?Q+'&'+R['join']('&'):R['join']('&')),Q&&M['searchParams']['set']('cust_params',Q);}}const P=M['searchParams']['get']('sz');if(P){const S='Horizontal'===this['contentParent']['aspectRatio']?x['IMA_RATIOS']['vertical']:x['IMA_RATIOS']['horizontal'];M['searchParams']['set']('sz',P['split']('|')['filter'](T=>T!==S)['join']('|'));}},'addExtraAnalyticsParams':()=>({'session_id':this['contentParent']['sessionId'],'ad_index':this['contentParent']['adIndex']['toString']()}),'videoUrl':this['videoUrl'],'videoDuration':L}))&&void 0!==J&&J;}return false;});}['isBeingUnloaded'](){return !!this['isUnloading']||!!(this['contentParent']instanceof q['BlazeWidgetStory']&&this['contentParent']['isUnloading']);}}j['BlazeWidgetVideo']=E;},0x430:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['isWidgetTheme']=function(g){return 'object'==typeof g&&null!==g&&'layoutStyle'in g&&'playerStyle'in g;};},0x440:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['AccessibilityUtils']=void 0,f['AccessibilityUtils']=class{static['setElementsAccessible'](g){g['forEach'](h=>{if(h){h['removeAttribute']('tabindex'),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['removeAttribute']('tabindex'),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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeAlert']=void 0;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;},0x4d0:function(d,f,g){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':true}),f['LoggerTransport']=f['BatchRejectedError']=void 0;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 0,void 0,function*(){m['length']&&(yield this['sendWithRetry'](m));});}['sendWithRetry'](m){return h(this,void 0,void 0,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 0,void 0,function*(){const p=this['preparePayload'](m),q=yield (0, 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 0,void 0,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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x54c:(f,g,h)=>{Object['defineProperty'](g,'__esModule',{'value':true}),g['BlazeWidgetEmbeddedBase']=g['EMBEDDED_ATTRIBUTES']=void 0;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'};class v extends j['BaseWidget']{get['theme'](){return this['getTheme']();}constructor(){super(),this['isIntersecting']=false,this['shouldReloadData']=true,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']=true,this['reloadLogic']();}['setPersonalized'](w){}['updateWidgetUI'](){}['setMaxItemsDisplaySize'](w){}['setDelegations'](w){for(const x in w)this['addEventListener'](x,w[x]);}['updateOverrideStyles'](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 0===w?void 0:w['clientWidth'])&&void 0!==x?x:0x0,null!==(z=null===(y=this['parentElement'])||void 0===y?void 0:y['clientHeight'])&&void 0!==z?z:0x0,0x0),this['appendChild'](this['skeleton']));}['hideSkeleton'](){this['skeleton']&&(this['removeChild'](this['skeleton']),this['skeleton']=void 0);}['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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['extractEntryIds']=function(g){return g['map'](h=>h['id']);};},0x565:function(f,g,h){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':true}),g['BlazeWidgetInteraction']=void 0;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']=false,this['isInitialized']=false,this['isActive']=false,this['shouldForceHide']=false,this['responseHandler']=this['onUserResponse']['bind'](this),this['focusMainWindowHandler']=this['focusMainWindow']['bind'](this),this['orientationChangeHandler']=this['orientationChange']['bind'](this);}['connectedCallback'](){(0, 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,Q,R,U,V,W,X,Y,Z,a0,a1,a2,a3;this['interaction']=x,this['iframe']['id']='interaction-'+this['interaction']['id'],this['iframe']['src']=this['interaction']['htmlUrl'],this['iframe']['onload']=()=>{this['isIframeLoaded']=true,!this['isInitialized']&&this['isActive']&&this['initInteraction']();},window['addEventListener']('blur',this['focusMainWindowHandler']),this['orientationChangeHandler'](),window['addEventListener']('resize',this['orientationChangeHandler']);const a4=(0, v['isCssPropertySupported'])('aspectRatio');(0, v['mergeStyles'])(this['iframe'],{'position':'absolute','border':'none','zIndex':m['Z_INDEX']['interaction']}),this['isActive']?this['showIframe']():this['hideIframe']();const {bounds:a5}=x;if(a5){a4&&'Player'===(null===(z=a5['position'])||void 0===z?void 0:z['yRelativeTo'])?this['style']['aspectRatio']=m['ASPECT_RATIO_9_16_STRING']:this['style']['height']='100%';const a6='translateX('+('RTL'===u['ConfigService']['layoutDirection']?-1:0x1)*(null!==(D=null===(B=a5['position'])||void 0===B?void 0:B['xOffset'])&&void 0!==D?D:0x0)+'px)\x20translateY('+(null!==(G=null===(F=a5['position'])||void 0===F?void 0:F['yOffset'])&&void 0!==G?G:'0')+'px)',a7={'BottomToTop':{},'TopToTop':{'top':(null!==(J=null===(H=a5['position'])||void 0===H?void 0:H['yOffset'])&&void 0!==J?J:'0')+'px'},'BottomToBottom':{'bottom':(null!==(N=null===(K=a5['position'])||void 0===K?void 0:K['yOffset'])&&void 0!==N?N:'0')+'px'},'TopToBottom':{},'CenterToTop':{},'CenterToBottom':{},'CenterY':{'top':'0','bottom':'0','marginTop':'auto','marginBottom':'auto','transform':a6}},a8={'StartToStart':{'insetInlineStart':(null!==(Q=null===(O=a5['position'])||void 0===O?void 0:O['xOffset'])&&void 0!==Q?Q:'0')+'px'},'EndToEnd':{'insetInlineEnd':(null!==(U=null===(R=a5['position'])||void 0===R?void 0:R['xOffset'])&&void 0!==U?U:'0')+'px'},'StartToEnd':{},'EndToStart':{},'CenterToStart':{},'CenterToEnd':{},'CenterX':{'insetInlineStart':'0','insetInlineEnd':'0','marginInline':'auto','transform':a6}};(0, v['mergeStyles'])(this['iframe'],Object['assign'](Object['assign'](Object['assign']({},a7[null!==(W=null===(V=a5['position'])||void 0===V?void 0:V['yPosition'])&&void 0!==W?W:'TopToTop']),a8[null!==(Y=null===(X=a5['position'])||void 0===X?void 0:X['xPosition'])&&void 0!==Y?Y:'StartToStart']),{'height':(null===(Z=a5['size'])||void 0===Z?void 0:Z['absoluteHeight'])?a5['size']['absoluteHeight']+'px':0x64*(null!==(a1=null===(a0=a5['size'])||void 0===a0?void 0:a0['heightRatio'])&&void 0!==a1?a1:0x0)+'%','width':(null===(a2=a5['size'])||void 0===a2?void 0:a2['widthRatio'])?0x64*a5['size']['widthRatio']+'%':(null===(a3=a5['size'])||void 0===a3?void 0:a3['absoluteWidth'])+'px'}));}else a4?this['style']['aspectRatio']=m['ASPECT_RATIO_9_16_STRING']:this['style']['height']='100%',(0, 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']=true,this['isIframeLoaded']&&!this['isInitialized']&&this['initInteraction'](),this['shouldForceHide']||this['showIframe'](),window['addEventListener']('message',this['responseHandler']));}['hideInteraction'](){this['interaction']&&this['isActive']&&(this['isActive']=false,this['isInitialized']=false,this['hideIframe'](),window['removeEventListener']('message',this['responseHandler']));}['unloadInteraction'](){this['isIframeLoaded']=false,this['iframe']['remove'](),window['removeEventListener']('blur',this['focusMainWindowHandler']),window['removeEventListener']('message',this['responseHandler']),window['removeEventListener']('resize',this['orientationChangeHandler']);}['onUserResponse'](x){return j(this,void 0,void 0,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']}),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':true}));break;case 'pause':this['dispatchEvent'](new CustomEvent(q['InternalEvent']['PAUSE'],{'bubbles':true}));break;case 'goToNextPage':this['dispatchEvent'](new CustomEvent(q['InternalEvent']['NEXT_PAGE'],{'bubbles':true}));break;case 'goToPreviousPage':this['dispatchEvent'](new CustomEvent(q['InternalEvent']['PREVIOUS_PAGE'],{'bubbles':true}));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 0,void 0,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 0===x||x['postMessage']({'type':'invokeInitInteraction','initData':JSON['parse'](y),'designOverrides':JSON['parse'](this['interaction']['designOverridesStr']),'userAnswer':z,'userContext':u['ConfigService']['appContext']},'*'),this['isInitialized']=true;});}['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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeDiv']=void 0;const h=g(0x1133);class j extends h['BaseWidget']{constructor(){super();}}f['BlazeDiv']=j;},0x5ee:(f,g,h)=>{Object['defineProperty'](g,'__esModule',{'value':true}),g['BlazeWidgetStoryModal']=void 0;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']),(0, 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 0,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 0===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 0:A['currentPage'])||void 0===y||y['endExit'](),null===(z=this['onClose'])||void 0===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 0===x||x['call'](A),null===(z=null===(y=A['widgetParentItem'])||void 0===y?void 0:y['updateWidget'])||void 0===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':true,'composed':true});this['dispatchEvent'](z),null===(y=this['onOpen'])||void 0===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;},0x5fc:function(d,f,g){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':true}),f['NativeVideoStrategy']=void 0;const j=g(0x774),k=g(0xb62),m=g(0x11c1),p=g(0x3ee);class q extends p['BasePlaybackStrategy']{constructor(u,v,w){super(),this['video']=u,this['videoComponent']=v,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']=w||m['VideoPlayerService'];}['setupErrorHandling'](){this['video']['addEventListener'](j['EVENTS']['ERROR'],this['boundOnError']),this['video']['addEventListener'](j['EVENTS']['PLAYING'],this['boundOnPlaying']),this['video']['addEventListener'](j['EVENTS']['PAUSE'],this['boundOnPause']),this['video']['addEventListener'](j['EVENTS']['CAN_PLAY_THROUGH'],this['boundOnCanPlayThrough']),this['video']['addEventListener'](j['EVENTS']['TIMEUPDATE'],this['boundOnTimeUpdate']);}['handlePlaying'](){this['videoComponent']['isVideoStartPlaying']=true,this['videoComponent']['removeLoader'](),this['clearPlaybackTimeout'](),this['lastProgressTime']=Date['now'](),this['lastCurrentTime']=this['video']['currentTime'];}['handlePause'](){this['videoComponent']['isVideoStartPlaying']=false,this['videoComponent']['removeLoader'](),this['stopProgressBasedLoaderCleanup']();}['handleTimeUpdate'](){const u=this['video']['currentTime'],v=Date['now']();u>this['lastCurrentTime']&&(this['lastProgressTime']=v,this['lastCurrentTime']=u,this['video']['paused']||this['video']['ended']||this['videoComponent']['removeLoader']());}['handleCanPlayThrough'](){return h(this,void 0,void 0,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 0);}['handlePlaybackTimeout'](){this['videoComponent']['isVideoStartPlaying']&&this['video']['paused']&&(this['reset'](),setTimeout(()=>{this['play']()['catch'](()=>{});},0x1f4));}['handleNativeVideoError'](u){return h(this,void 0,void 0,function*(){var v;const w=null===(v=null==u?void 0:u['target'])||void 0===v?void 0:v['error'];if((null==w?void 0:w['code'])===MediaError['MEDIA_ERR_DECODE']){const x=new Date()['getTime']();x-this['lastErrorExecutionTime']>=0x1388&&(this['lastErrorExecutionTime']=x,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==w?void 0:w['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 y=new URL(this['videoComponent']['videoUrl']);y['searchParams']['set']('retry',Date['now']()['toString']()),this['videoComponent']['source']['setAttribute']('src',y['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 h(this,void 0,void 0,function*(){var u;this['playAttemptStartTime']=Date['now']();try{this['startPlaybackTimeout'](),this['startProgressBasedLoaderCleanup'](),yield this['video']['play'](),this['videoComponent']['isError']=!0x1,this['videoComponent']['isVideoRunning']=!0x0;const v={'status':j['PlayStatus']['Success']};return this['dispatchPlaybackEvent']('success',{'result':v,'timeToPlay':Date['now']()-this['playAttemptStartTime']}),v;}catch(w){this['clearPlaybackTimeout'](),this['stopProgressBasedLoaderCleanup']();const x={'status':j['PlayStatus']['Failed'],'error':w};return this['dispatchPlaybackEvent']('failed',{'result':x,'timeToFail':Date['now']()-this['playAttemptStartTime']}),x;}finally{null===(u=this['loaderDelegate'])||void 0===u||u['hide']();}});}['playWithRetry'](u){return h(this,void 0,void 0,function*(){if(!(u<=0x0))try{yield this['video']['play'](),this['videoComponent']['isError']=!0x1,this['videoComponent']['isVideoRunning']=!0x0;}catch(v){throw this['reloadAndRetry'](u-0x1),v;}});}['reloadAndRetry'](u){u>0x0&&(this['reset'](),setTimeout(()=>{this['playWithRetry'](u)['catch'](()=>{});},0x3e8));}['pause'](){this['video']['pause'](),this['clearPlaybackTimeout'](),this['stopProgressBasedLoaderCleanup']();}['getCurrentTime'](){var u;return (null===(u=this['video'])||void 0===u?void 0:u['currentTime'])||0x0;}['getDuration'](){var u;return (null===(u=this['video'])||void 0===u?void 0:u['duration'])||0x0;}['isPaused'](){var u;return (null===(u=this['video'])||void 0===u?void 0:u['paused'])||false;}['isEnded'](){var u;return (null===(u=this['video'])||void 0===u?void 0:u['ended'])||false;}['isMuted'](){var u;return Boolean(null===(u=this['video'])||void 0===u?void 0:u['muted']);}['setMuted'](u){if(this['video']){const v=this['video']['muted'];this['video']['muted']=u,v!==u&&this['dispatchPlaybackEvent']('changed',{'previousState':{'muted':v},'newState':{'muted':u}});}}['mute'](){this['setMuted'](true);}['unmute'](){this['setMuted'](false);}['seek'](u){if(this['video']&&Number['isFinite'](this['video']['duration'])&&this['video']['duration']>0x0){const v=u*this['video']['duration'];Number['isFinite'](v)&&v>=0x0&&v<=this['video']['duration']&&(this['video']['currentTime']=v);}}['toggleMute'](){this['setMuted'](!this['isMuted']());}['toggleFullscreen'](){}['loadSource'](u){return h(this,void 0,void 0,function*(){this['videoComponent']['source']['hasAttribute']('src')||(this['videoComponent']['source']['setAttribute']('type','video/mp4'),'Safari'===k['deviceDetector']['browser']?this['videoComponent']['source']['setAttribute']('src',u+'#t=0.01'):this['videoComponent']['source']['setAttribute']('src',u)),this['video']['querySelector']('source')||this['video']['append'](this['videoComponent']['source']),this['video']['load']();});}['initialize'](u){this['configureVideoElement'](),(null==u?void 0:u['loaderDelegate'])&&(this['loaderDelegate']=u['loaderDelegate']);}['configureVideoElement'](){this['video']['preload']='none',this['video']['muted']=this['videoPlayerState']['isMuted'],this['video']['playsInline']=true,this['video']['controls']=false,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'](j['EVENTS']['ERROR'],this['boundOnError']),this['video']['removeEventListener'](j['EVENTS']['PLAYING'],this['boundOnPlaying']),this['video']['removeEventListener'](j['EVENTS']['PAUSE'],this['boundOnPause']),this['video']['removeEventListener'](j['EVENTS']['CAN_PLAY_THROUGH'],this['boundOnCanPlayThrough']),this['video']['removeEventListener'](j['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 0);}['checkVideoProgressAndCleanupLoader'](){const u=Date['now']()-this['lastProgressTime'],v=this['video']['currentTime'];!this['video']['paused']&&!this['video']['ended']&&v>0x0&&u<0x3e8&&this['videoComponent']['removeLoader']();}}f['NativeVideoStrategy']=q;},0x614:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['Singleton']=function(){return class{constructor(){}static['getInstance'](){return this['_instance']||(this['_instance']=new this()),this['_instance'];}};};},0x636:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),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 0,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==';},0x66b:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0x1023),f);},0x6a3:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BANNER_REFRESH_INTERVAL']=f['IMA_RATIOS']=void 0,f['IMA_RATIOS']={'general':'1x1','horizontal':'640x480','vertical':'1080x1920'},f['BANNER_REFRESH_INTERVAL']=0x7530;},0x6b0:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0x1b52),f),j(g(0x1f16),f),j(g(0x1f0f),f),j(g(0x2280),f),j(g(0x89c),f),j(g(0x2f),f);},0x6cc:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeTimer']=void 0;const h=g(0x22d9),j='00:00';class k 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');}['connectedCallback'](){this['attachStyles'](),this['createDOM']();}['disconnectedCallback'](){}set['hidden'](l){l?(this['classList']['add']('hidden'),this['style']['display']='none'):(this['style']['display']='flex',setTimeout(()=>{this['removeAttribute']('hidden'),this['classList']['remove']('hidden');},0xfa));}['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\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:\x2012px;\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(.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(.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:\x2012px;\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:\x2022px;\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:\x2012px;\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'](l);}['createDOM'](){this['currentTimeText']['classList']['add']('time-text','current-time-text-player'),this['currentTimeText']['textContent']=j,this['totalTimeDivider']['classList']['add']('divider','visible'),this['totalTimeDivider']['textContent']='/',this['totalTimeText']['classList']['add']('time-text','current-time-text-player'),this['totalTimeText']['textContent']=j,this['shadow']['appendChild'](this['currentTimeText']),this['shadow']['appendChild'](this['totalTimeDivider']),this['shadow']['appendChild'](this['totalTimeText']),this['setLayout']('player');}['updateCurrentTime'](l){this['currentTimeText']['textContent']=this['formatTime'](l);}['updateTotalTime'](l){this['totalTimeText']['textContent']=this['formatTime'](l),this['hidden']=false;}['resetTimer'](){this['hidden']=true,this['currentTimeText']['textContent']=j,this['totalTimeText']['textContent']=j;}['setLayout'](l){'seeking'===l?this['applySeekingLayout']():'player'===l&&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'](l){const m=Math['floor'](l/0xe10),p=Math['floor'](l%0xe10/0x3c),q=Math['floor'](l%0x3c);return m>0x0?this['padZero'](m)+':'+this['padZero'](p)+':'+this['padZero'](q):this['padZero'](p)+':'+this['padZero'](q);}['padZero'](l){return l<0xa?'0'+l:''+l;}}f['BlazeTimer']=k;},0x6de:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x731:function(f,g,h){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':true}),g['BlazeWidgetCustomLayout']=void 0;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 (0, u['transformContentsArray'])(this['contents']);}['connectedCallback'](){var x;(0, 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 0!==x?x:this)['appendChild'](this['customContainer']),this['intersectionObserver']['observe'](this),this['shouldReloadData']&&this['loadContent']();}['disconnectedCallback'](){var x,y,z,A,B;super['disconnectedCallback'](),this['intersectionObserver']['disconnect'](),null===(y=(x=this['customRenderer'])['destroy'])||void 0===y||y['call'](x),null===(z=this['storysModal'])||void 0===z||z['remove'](),null===(A=this['momentsModal'])||void 0===A||A['remove'](),null===(B=this['videosModal'])||void 0===B||B['remove']();}['handleIntersection'](x){const y=x['find'](z=>z['target']===this);y&&y['isIntersecting']&&(this['isWidgetVisible']=true,this['event'](k['WidgetAction']['Visible'],{},this['getAttribute']('labels')),this['intersectionObserver']['disconnect']());}['reload'](){this['shouldReloadData']=true,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 0,void 0,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']=false,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'));});}['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']((0, u['transformContentsArray'])(this['contents']),this['customContainer'],this['playContentById']['bind'](this)));}['setupVideoModalCallbacks'](){this['videosModal']&&this['videosModal']['addEventListener']('onPlayerClosed',()=>{this['updateWidgetsData']();});}['setupMomentModalCallbacks'](){this['momentsModal']&&this['momentsModal']['addEventListener']('onPlayerClosed',()=>{this['updateWidgetsData']();});}['setupStoryModalCallbacks'](){this['storysModal']&&this['storysModal']['addEventListener']('onWidgetPlayerDismissed',()=>{this['updateWidgetsData']();});}}g['BlazeWidgetCustomLayout']=w;},0x74c:(f,g,h)=>{Object['defineProperty'](g,'__esModule',{'value':true}),g['BlazeCallToActionButton']=g['CTA_BUTTON_ATTRIBUTES']=void 0;const j=h(0x1133),k=h(0x22d9),m=h(0x115),p=h(0x132a),q=h(0xdf6),u=h(0x2432);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 v extends j['BaseWidget']{constructor(){super(),this['anchorButtonElement']=document['createElement']('a'),this['iconButtonElement']=k['WidgetsFactory']['create']('blaze-button'),this['iconArrowElement']=k['WidgetsFactory']['create']('blaze-button'),this['ctaTextElement']=k['WidgetsFactory']['create']('blaze-div'),this['isButtonCreated']=false,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'](m['arrowUpCtaIconSvg']);}['initializeStyles'](){(0, u['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',this['setAnchorButtonStyles']({'width':'auto','height':'100%','textDecoration':'none','outline':'1px\x20solid','outlineColor':p['Colors']['White'],'fontWeight':'700','fontSize':'16px','borderRadius':'8px','display':'flex','justifyContent':'center','alignItems':'center','flexDirection':'row'}),this['iconArrowElement']['setStyle']({'display':'none','position':'absolute','top':'-26px'}),this['setCtaTextStyle']({'position':'inline-flex','letterSpacing':'0.3px','display':'inline-flex','flex':'1\x201\x20auto','alignSelf':'center','paddingRight':'20px','whiteSpace':'nowrap'});}static get['observedAttributes'](){return Object['values'](g['CTA_BUTTON_ATTRIBUTES']);}['connectedCallback'](){this['createButton']();}['disconnectedCallback'](){}['attributeChangedCallback'](w,x,y){if(x!==y)switch(w){case g['CTA_BUTTON_ATTRIBUTES']['HiddenBtn']:this['style']['display']='true'===y?'none':'flex';break;case g['CTA_BUTTON_ATTRIBUTES']['Width']:this['anchorButtonElement']['style']['width']=y;break;case g['CTA_BUTTON_ATTRIBUTES']['Margin']:this['anchorButtonElement']['style']['margin']=y;break;case g['CTA_BUTTON_ATTRIBUTES']['Text']:this['ctaTextElement']['innerText']=y;break;case g['CTA_BUTTON_ATTRIBUTES']['Href']:this['anchorButtonElement']['href']=y;break;case g['CTA_BUTTON_ATTRIBUTES']['IconUrl']:this['iconButtonElement']['setIconUrl'](y);break;case g['CTA_BUTTON_ATTRIBUTES']['IconSize']:this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['Height'],y),this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['Width'],y);break;case g['CTA_BUTTON_ATTRIBUTES']['IconColor']:this['iconButtonElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['IconColor'],y);break;case g['CTA_BUTTON_ATTRIBUTES']['ArrowIconDisplay']:this['iconButtonElement']['style']['display']='true'===y?'inline-flex':'none';break;case g['CTA_BUTTON_ATTRIBUTES']['ArrowIconColor']:this['iconArrowElement']['style']['display']='true'===y?'flex':'none';break;case g['CTA_BUTTON_ATTRIBUTES']['DisplayIcon']:this['iconArrowElement']['setAttribute'](g['CTA_BUTTON_ATTRIBUTES']['IconColor'],y);}}['createButton'](){this['isButtonCreated']||(this['anchorButtonElement']['append'](this['iconButtonElement']),this['anchorButtonElement']['append'](this['ctaTextElement']),this['anchorButtonElement']['append'](this['iconArrowElement']),this['append'](this['anchorButtonElement']),this['isButtonCreated']=true);}['animateElement'](w,x,y,z,A){w['style']['animation']='none',w['offsetWidth'];const B=setTimeout(()=>{const C=q['animationCssMapper'][x];C&&(w['style']['animation']=C+'\x20'+y+'s\x20cubic-bezier(0.4,\x200,\x200,\x200.99)\x20'+A+'\x20forwards'),this['animationTimeouts']=this['animationTimeouts']['filter'](D=>D!==B);},z);this['animationTimeouts']['push'](B);}['animateButton'](w){this['animateElement'](this['anchorButtonElement'],w,0x2,0xdac,0x1);}['animateIcon'](w){this['animateElement'](this['iconArrowElement'],w,0x3,0x3e8,0x3);}['setAnchorButtonStyles'](w){(0, u['mergeStyles'])(this['anchorButtonElement'],w);}['setCtaTextStyle'](w){(0, u['mergeStyles'])(this['ctaTextElement'],w);}['setCtaIconStyles'](w){(0, u['mergeStyles'])(this['iconButtonElement'],w);}['clearAllAnimations'](){this['animationTimeouts']['forEach'](w=>clearTimeout(w)),this['animationTimeouts']=[];}['getIconElement'](){return this['iconButtonElement'];}}g['BlazeCallToActionButton']=v;},0x774:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0x1c09),f),j(g(0x227),f),j(g(0x6cc),f),j(g(0xa5e),f),j(g(0x1cbd),f),j(g(0xfae),f),j(g(0x1789),f),j(g(0xa29),f),j(g(0x23e7),f),j(g(0x290),f),j(g(0x3ee),f),j(g(0x2244),f),j(g(0x203c),f),j(g(0x19d2),f),j(g(0x5fc),f),j(g(0x1c1b),f),j(g(0x1e70),f),j(g(0x2045),f);},0x79c:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['sortContentByViewedStatus']=function(j,k){let l=j['hasViewed'],m=k['hasViewed'];return (0, h['isStory'])(j)&&(0, h['isStory'])(k)&&(l=j['pages']['every'](p=>p['hasViewed']),m=k['pages']['every'](p=>p['hasViewed'])),l&&!m?0x1:!l&&m?-1:0x0;};const h=g(0x2432);},0x7b9:(j,k)=>{var q,z,B,D,F,G,H;Object['defineProperty'](k,'__esModule',{'value':true}),k['exposedFieldsByAction']=k['InteractionAction']=k['ImaAdAction']=k['AdAction']=k['WidgetAction']=k['VideoAction']=k['MomentAction']=k['StoryAction']=void 0,function(ad){ad['Start']='story_start',ad['Exit']='story_exit',ad['PageStart']='story_page_start',ad['PageExit']='story_page_exit',ad['CtaClick']='cta_click',ad['Audio']='audio',ad['ShareClick']='share_click',ad['ShareSelect']='share_select',ad['ShareSuccess']='share_success',ad['PlaybackPause']='playback_pause',ad['PlaybackPlay']='playback_play',ad['PlaybackInitialStart']='playback_initial_start',ad['Expand']='expand',ad['Minimize']='minimize',ad['ClosedCaptionsOff']='cc_off',ad['ClosedCaptionsOn']='cc_on',ad['CustomActionButtonClick']='custom_action_button_click';}(q||(k['StoryAction']=q={})),function(ad){ad['MomentsPlaylistStart']='moments_playlist_start',ad['MomentsPlaylistExit']='moments_playlist_exit',ad['MomentStart']='moment_start',ad['MomentExit']='moment_exit',ad['CtaClick']='cta_click',ad['Like']='like',ad['Unlike']='unlike',ad['Audio']='audio',ad['ShareClick']='share_click',ad['ShareSuccess']='share_success',ad['PlaybackPause']='playback_pause',ad['PlaybackPlay']='playback_play',ad['PlaybackInitialStart']='playback_initial_start',ad['ClosedCaptionsOff']='cc_off',ad['ClosedCaptionsOn']='cc_on',ad['CustomActionButtonClick']='custom_action_button_click',ad['Follow']='follow',ad['Unfollow']='unfollow';}(z||(k['MomentAction']=z={})),function(ad){ad['VideoStart']='video_start',ad['VideoEnd']='video_end',ad['PlaybackPause']='playback_pause',ad['PlaybackPlay']='playback_play',ad['PlaybackInitialStart']='playback_initial_start',ad['Seek']='seek',ad['Like']='like',ad['Unlike']='unlike',ad['Share']='share',ad['Audio']='audio',ad['CtaVisible']='cta_visible',ad['CtaClick']='cta_click',ad['CtaDismissed']='cta_dismissed',ad['ClosedCaptionsOff']='cc_off',ad['ClosedCaptionsOn']='cc_on',ad['ScreenChange']='screen_change';}(B||(k['VideoAction']=B={})),function(ad){ad['Load']='widget_load',ad['Visible']='widget_visible',ad['Click']='widget_click',ad['SDKInit']='sdk_init';}(D||(k['WidgetAction']=D={})),function(ad){ad['Requested']='ad_requested',ad['View']='ad_view',ad['Exit']='ad_exit',ad['Click']='ad_click',ad['BannerRequested']='banner_ad_requested',ad['BannerView']='banner_ad_view',ad['BannerLoad']='banner_ad_load',ad['BannerClick']='banner_ad_click';}(F||(k['AdAction']=F={})),function(ad){ad['REQUESTED']='ima_ad_requested',ad['ALL_ADS_COMPLETED']='ima_all_ads_completed',ad['CLICK']='ima_ad_clicked',ad['COMPLETED']='ima_ad_completed',ad['LOADED']='ima_ad_loaded',ad['PAUSED']='ima_ad_paused',ad['RESUMED']='ima_ad_resumed',ad['SKIPPED']='ima_ad_skipped',ad['STARTED']='ima_ad_started',ad['FIRST_QUARTILE']='ima_ad_first_quartile',ad['MIDPOINT']='ima_ad_midpoint',ad['THIRD_QUARTILE']='ima_ad_third_quartile';}(G||(k['ImaAdAction']=G={})),function(ad){ad['VIEW']='interaction_view',ad['ANSWER']='interaction_answer',ad['AUDIO']='audio',ad['ShareClick']='share_click',ad['ShareSelect']='share_select',ad['ShareSuccess']='share_success',ad['PlaybackPause']='playback_pause',ad['PlaybackPlay']='playback_play';}(H||(k['InteractionAction']=H={}));const J='labels_expression',K='story_id',N='story_title',Q='moment_duration_viewed_percent',R='audio_state',U='player_type',V='content_type',W='playback_action_method',X='cc_state',Y='skip_config',Z='video_time_start',a0='video_time_end',a1='video_end_trigger',a2='screen_change',a3='follow_state',a4=['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'],a5=['origin_widget_id','origin_widget_name','origin_widget_type','origin_placement_id','origin_placement_name'],a6=['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'],a7=['content_id',V,'content_name'],a8=['story_session_id',K,N,'story_page_id','story_page_index','story_page_count','story_page_duration'],a9=['moments_session_id','moment_id','moment_title','moment_index','loop_number','moment_duration',Q,R,X,a3],aa=['video_session_id','video_id','video_title','video_duration','video_start_trigger','cta_config',a2,'player_orientation','device_orientation',R,X],ab=['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',W,Y],ac=[J,R,U,X];k['exposedFieldsByAction']={[q['Start']]:[...a4,...a5,...a8,...ac,'story_start_trigger'],[q['Exit']]:[...a4,...a5,...a8,...ac,'story_exit_trigger','content_duration_viewed'],[q['PageStart']]:[...a4,...a5,...a8,...ac],[q['PageExit']]:[...a4,...a5,...a8,...ac,'story_page_navigation_type','story_page_navigation_direction','story_page_duration_viewed_percent'],[q['CtaClick']]:[...a4,...a5,...a8,...ac],[q['Audio']]:[...a4,...a5,...a8,...ac],[q['ShareClick']]:[...a4,...a5,...a8,...ac],[q['ShareSelect']]:[...a4,...a5,...a8,...ac],[q['ShareSuccess']]:[...a4,...a5,...a8,...ac],[q['PlaybackPause']]:[...a4,...a5,...a8,...ac,W],[q['PlaybackPlay']]:[...a4,...a5,...a8,...ac,W],[q['PlaybackInitialStart']]:[...a4,...a5,...a8,...ac,W],[q['ClosedCaptionsOff']]:[...a4,...a5,...a8,...ac],[q['ClosedCaptionsOn']]:[...a4,...a5,...a8,...ac],[z['MomentsPlaylistStart']]:[...a4,...a5,...a9,...ac,'moment_start_trigger'],[z['MomentsPlaylistExit']]:[...a4,...a5,...a9,...ac,'moment_exit_trigger'],[z['MomentStart']]:[...a4,...a5,...a9,...ac],[z['MomentExit']]:[...a4,...a5,...a9,...ac,'moment_navigation_type','moment_navigation_direction',Q],[z['Like']]:[...a4,...a5,...a9,...ac],[z['Unlike']]:[...a4,...a5,...a9,...ac],['$'+z['CtaClick']]:[...a4,...a5,...a9,...ac],['$'+z['Audio']]:[...a4,...a5,...a9,...ac],['$'+z['ShareClick']]:[...a4,...a5,...a9,...ac],['$'+z['ShareSuccess']]:[...a4,...a5,...a9,...ac],['$'+z['PlaybackPause']]:[...a4,...a5,...a9,...ac,W],['$'+z['PlaybackPlay']]:[...a4,...a5,...a9,...ac,W],['$'+z['PlaybackInitialStart']]:[...a4,...a5,...a9,...ac,W],['$'+z['ClosedCaptionsOn']]:[...a4,...a5,...a9,...ac,X],['$'+z['ClosedCaptionsOff']]:[...a4,...a5,...a9,...ac,X],['$'+z['Follow']]:[...a4,...a5,...a9,...ac,a3],['$'+z['Unfollow']]:[...a4,...a5,...a9,...ac,a3],[B['VideoStart']]:[...a4,...a5,...ac,...aa,Z],[B['VideoEnd']]:[...a4,...a5,...ac,...aa,a0,a1,'next_video_id'],['#'+B['PlaybackPause']]:[...a4,...a5,...ac,...aa,W,Z,a1],['#'+B['PlaybackPlay']]:[...a4,...a5,...ac,...aa,W,Z,a1],['#'+B['PlaybackInitialStart']]:[...a4,...a5,...ac,...aa,W,Z,a1],[B['Seek']]:[...a4,...a5,...ac,...aa,Z,a0,'seek_type','seek_total_time','seek_direction'],['#'+B['Like']]:[...a4,...a5,...ac,...aa,Z],['#'+B['Unlike']]:[...a4,...a5,...ac,...aa,Z],['#'+B['Share']]:[...a4,...a5,...ac,...aa,Z],['#'+B['Audio']]:[...a4,...a5,...ac,...aa,Z],[B['CtaVisible']]:[...a4,...a5,...ac,...aa,Z],['#'+B['CtaClick']]:[...a4,...a5,...ac,...aa,Z],[B['CtaDismissed']]:[...a4,...a5,...ac,...aa,Z],['#'+B['ClosedCaptionsOff']]:[...a4,...a5,...ac,...aa,Z],['#'+B['ClosedCaptionsOn']]:[...a4,...a5,...ac,...aa,Z],[B['ScreenChange']]:[...a4,...a5,...ac,...aa,Z,a2],[D['Load']]:[...a4,...a6,J,U],[D['Visible']]:[...a4,...a6,J,U],[D['Click']]:[...a4,...a6,...a7,U,J],[F['View']]:[...a4,...a5,...ab,W,R,K,N,Y,V,U],[F['Exit']]:[...a4,...a5,...ab,W,R,K,N,Y,V,U]};},0x7ed:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['ACCESSIBILITY_ATTRIBUTES']=f['ACCESSIBILITY_TIMING']=void 0,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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x879:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x87b:(d,f)=>{var g;Object['defineProperty'](f,'__esModule',{'value':true}),f['ActionHandlerId']=void 0,function(h){h['AddCustomActionButton']='addCustomActionButton',h['AddFollowButton']='addFollowButton';}(g||(f['ActionHandlerId']=g={}));},0x89b:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeButton']=f['BUTTON_ATTRIBUTES']=void 0;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 0!==m?m:this;}constructor(){super(),this['buttonElement']=document['createElement']('button'),this['buttonIcon']='',this['isAnimationOnDesktopInitialized']=false,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']('focus',()=>{this['buttonElement']['focus']();});}static get['observedAttributes'](){return Object['values'](f['BUTTON_ATTRIBUTES']);}['connectedCallback'](){(0, 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['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']);}['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']=true,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){(0, 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']=true,this['buttonElement']['setAttribute']('disabled',''),this['buttonElement']['setAttribute']('aria-disabled','true'),(0, k['mergeStyles'])(this['buttonElement'],{'cursor':'initial','background':'rgba(239,\x20239,\x20239,\x200.3)'}),this['style']['cursor']='initial'):(this['buttonElement']['disabled']=false,this['buttonElement']['removeAttribute']('disabled'),this['buttonElement']['removeAttribute']('aria-disabled'),this['removeAttribute']('disabled'),(0, 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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['generateModalAriaLabel']=function(j){const {contentType:k,position:m,total:p,title:q,currentContent:u,includeNavigationContext:v=false}=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 0===C?void 0: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)=>{Object['defineProperty'](g,'__esModule',{'value':true}),g['WidgetAbstractPlayer']=void 0;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']=false,this['isNavigationBlocked']=false,this['isCloseAnimationStarted']=false,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,(0, w['mergeStyles'])(this['srcBackground'],{'position':'absolute','width':'100%','height':'100%','top':'0','right':'0','bottom':'0','left':'0'}),(0, 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'](true);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'](true);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']=true);}['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'](),(0, 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']=false),this['index']<0x0&&(this['index']=0x0),this['handleMoveSwipe'](B))));}['handlePanEnd'](B){B['preventDefault'](),(0, 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 0===C||C['seek'](0x0),null===(D=this['currentPrevAnimation'])||void 0===D||D['seek'](0x0)):(this['processAnimation'](B,this['playerContentList'][this['index']],this['currentNextAnimation']),null===(E=this['animateContent']('NEXT'))||void 0===E||E['seek'](0x0),null===(F=this['currentNextAnimation'])||void 0===F||F['seek'](0x0)),q['VideoPlayerService']['isNavigating']=false);}['setAnimationContent'](){this['currentPrevAnimation']=void 0,this['currentNextAnimation']=void 0;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 true;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']=false;},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 0===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 0:J['data'])||void 0===D?void 0:D['type'])||(null==J?void 0:J['isAd']))return;const K=null==J?void 0:J['mainElement']();null===(E=this['backgroundAnimation'])||void 0===E||E['pause'](),(null===(F=this['backgroundAnimation'])||void 0===F?void 0: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 0,this['currentNextAnimation']=void 0,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 0;}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']=true,q['VideoPlayerService']['isNavigating']=true;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']=false;});}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']=false;},B['changeComplete']=()=>{this['videoPlayerState']['isPlaying']&&C['resume']();},B['reverse'](),B['play'](),B['finished']['then'](()=>{q['VideoPlayerService']['isNavigating']=false,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 0===B?void 0:B['seek'])||void 0===C||C['call'](B,0x0),null===(E=null===(D=this['animateContent']('PREV'))||void 0===D?void 0:D['seek'])||void 0===E||E['call'](D,0x0),this['resetStyles']());}['isContentDirectionInPlayerListValid'](B){if(!B)return false;const C='NEXT'===B?0x1:-1,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 0,G=C<B['length']-0x1?B[C+0x1]:void 0;return {'previous':null===(D=null==F?void 0:F['data'])||void 0===D?void 0:D['extraInfo'],'next':null===(E=null==G?void 0:G['data'])||void 0===E?void 0:E['extraInfo']};}}g['WidgetAbstractPlayer']=A;},0x962:function(f,g,h){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':true}),g['LoggerManager']=void 0;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']=false,this['isDestroyed']=false,this['isSending']=false,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 0,void 0,function*(){if(this['isDestroyed'])throw new Error('Cannot\x20initialize\x20destroyed\x20logger\x20instance');if(this['isInitialized']||!x)return;const y=(0, v['sanitizeBatchSizeConfiguration'])(x);!(0, 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 0,void 0,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']=true;}});}['updateConfiguration'](x){if(this['isDestroyed'])return;const y=(0, v['sanitizeBatchSizeConfiguration'])(x);!(0, v['validateLoggerConfigurationDetailed'])(y)['isValid']&&y['isEnabled']&&this['setDefaultLoggerConfiguration'](y),this['pendingConfigUpdate']=y,this['scheduleConfigurationUpdate']();}['log'](x,y,z,A){return j(this,void 0,void 0,function*(){var B;const C=''+w['LOG_IDENTIFIER_PREFIX']+y;if(!this['isInitialized']||!(null===(B=this['configuration'])||void 0===B?void 0:B['isEnabled'])||!this['shouldLog'](x)||(0, v['shouldIgnoreLog'])(C,this['configuration']['ignoredLogs']||[]))return;const D=(0, k['v4'])(),E=(0, 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':(0, 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 false;const y=this['configuration']['logLevel'];return (0, v['isLogLevelAllowed'])(x,y);}['shouldSendImmediately'](x){var y;if(!(null===(y=this['configuration'])||void 0===y?void 0:y['immediateLogLevel']))return false;const z=this['configuration']['immediateLogLevel'];return (0, 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 0,void 0,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 0,void 0,function*(){const y=(0, v['extractEntryIds'])(x);yield this['storage']['remove'](y);});}['sendEntriesAndCleanup'](x){return j(this,void 0,void 0,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 0,void 0,function*(){if(!this['isSending']&&this['isOnline']){this['isSending']=true;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']=false;}}});}['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 0,void 0,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}=(0, 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 0,void 0,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 0: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']=false,this['immediateTimer']&&(clearTimeout(this['immediateTimer']),this['immediateTimer']=null),this['isOnline']=navigator['onLine'];}['handleNetworkReconnection'](){return j(this,void 0,void 0,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)=>{var g;Object['defineProperty'](f,'__esModule',{'value':true}),f['ErrorLoadingCodeMapper']=f['ErrorCode']=void 0,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']};},0x9c4:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['findOpenModal']=k,f['findOpenMomentModal']=function(){const l=k();if(l&&l instanceof j['BlazeWidgetMomentModal'])return l;};const h=g(0x14c),j=g(0xab4);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 h['BlazeWidgetModal']&&p['isOpen'])return p;}}},0x9ca:(d,f)=>{var g,h;Object['defineProperty'](f,'__esModule',{'value':true}),f['InternalEvent']=f['Delegation']=void 0,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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['EventBusService']=void 0;const h=g(0x1133);class j extends(0, h['Singleton'])(){constructor(){super(...arguments),this['subscribers']={};}['init'](){this['subscribers']={};}['publish'](k,l){const m=this['subscribers'][k];void 0!==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':()=>{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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['animationCssMapper']=void 0,f['animationCssMapper']={'Growing':'grow','Shrinking':'shrink','BottomToTop':'bottomToTop'};},0xa29:function(f,g,j){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':true}),g['BlazeWidgetVideoModal']=void 0;const m=j(0x1133),p=j(0x1932),q=j(0x26ed),u=j(0x22d9),v=j(0x11c1),w=j(0x14c);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 0===z||z['destroy']();}['setTheme'](z){var A;this['playerLayout']=z,this['style']['background']=z['backgroundColor'],null===(A=this['currentPlayedContent'])||void 0===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['event'](p['VideoAction']['VideoEnd'],{'video_end_trigger':'Page\x20Unload'}),v['AnalyticsService']['sendAnalyticsData'](),null===(A=null===(z=B['widgetParentItem'])||void 0===z?void 0:z['updateWidget'])||void 0===A||A['call'](z),B['updateWidgetStatusReadUnread']();}['close'](){const z=Object['create'](null,{'close':{'get':()=>super['close']}});return k(this,void 0,void 0,function*(){var A;if(!this['isOpen'])return;if(!this['isAllowExitModal']({'shouldDismissPlayer':v['ConfigService']['shouldDismissPlayer'],'playReference':v['VideoPlayerService']['playReference']}))return;const B=this['player']['playerContentList'][0x0];B['exitTrigger']='Escape\x20Button',B['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'](),z['close']['call'](this),null===(A=this['onClose'])||void 0===A||A['call'](this);});}['open'](){var z;this['isOpen']||v['EventService']['dispatch'](this,q['Delegation']['onPlayerDidAppear']),super['open'](),this['player']['load'](),this['player']['resume'](),null===(z=this['onOpen'])||void 0===z||z['call'](this);}['play'](){}['onKeyDown'](z){this['isOpen']&&!document['fullscreenElement']&&'Escape'==z['key']&&this['close']();}['onResize'](){super['onResize']();}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},p['ONE_SECOND']/0x2);}}g['BlazeWidgetVideoModal']=y;},0xa5e:(f,g,h)=>{Object['defineProperty'](g,'__esModule',{'value':true}),g['BlazeVideoSeekBar']=void 0;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']=false,this['isMouseIn']=false,this['isClicked']=false,this['isSeeking']=false,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']=(0, 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']=true,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'](){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['progressBarBuffer']['setStyle']({'width':'0%','position':'absolute','display':'block','backgroundColor':'rgba(217,\x20217,\x20217,\x200.5)','borderRadius':'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']=true,this['isSeeking']=true,clearTimeout(this['timeoutPlay']),null===(x=this['onPause'])||void 0===x||x['call'](this),this['applyPauseSeekBarStyle'](),k['deviceDetector']['isDesktop']&&document['addEventListener']('mousemove',this['boundOnMouseMove']),(k['deviceDetector']['isMobile']||k['deviceDetector']['isTablet'])&&(null===(y=this['onStartSeeking'])||void 0===y||y['call'](this)));}['handleOnEndDrag'](){var x;this['isSeeking']&&(this['isSeeking']=false,k['deviceDetector']['isDesktop']&&document['removeEventListener']('mousemove',this['boundOnMouseMove']),(k['deviceDetector']['isMobile']||k['deviceDetector']['isTablet'])&&(null===(x=this['onEndSeeking'])||void 0===x||x['call'](this)),this['timeoutPlayingStyle']=setTimeout(()=>{this['isSeeking']||this['applyPlayingSeekBarStyle']();},0x7d0),this['timeoutPlay']=setTimeout(()=>{var y;u['VideoPlayerService']['isSeekBarDragging']=false,this['isClicked']||null===(y=this['onResume'])||void 0===y||y['call'](this);},0x5dc));}['handleOnClick'](x){var y;if(null===(y=this['onPause'])||void 0===y||y['call'](this),x['stopPropagation'](),this['isClicked']=true,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,true);}['handleMouseDrag'](x){this['handleSeek'](x['clientX'],0x1===x['buttons']);}['handleTouchMove'](x){x['touches']['length']>0x0&&(this['handleSeek'](x['touches'][0x0]['clientX'],true),x['preventDefault'](),x['stopImmediatePropagation']());}['handleSeek'](x,y){if(!y)return;const z=this['getBoundingClientRect']();let A=(x-z['left'])/z['width'];const B=Math['min'](Math['max'](A,0x0),0x1);this['updateSeekBar'](0x64*B);}['handleOnMouseOut'](){this['isSeeking']||(this['isMouseIn']=false,this['timeoutPlayingStyle']=setTimeout(()=>{this['videoState']!==p['ButtonState']['Pause']&&this['applyPlayingSeekBarStyle']();},0x7d0));}['handleOnMouseIn'](){this['isMouseIn']=true,this['applyPauseSeekBarStyle']();}['updateVideoSeekBar'](x){this['dispatchEvent'](new CustomEvent(j['VIDEO_EVENTS']['SEEK'],{'detail':{'seekTime':x/0x64,'type':this['seekType']},'bubbles':true,'composed':true})),setTimeout(()=>{this['isClicked']=false;},0x3e8);}['styleProgressContainer'](){const x=parseFloat(this['seekBarStyle']['playingState']['height']),y=parseFloat(this['seekBarStyle']['pausedState']['height']),z=Math['max'](x,y);(0, 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']}),this['progressBarKnob']['setStyle']({'width':y['thumbSize'],'height':y['thumbSize'],'backgroundColor':y['thumbColor']});}['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;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':true,'composed':true})),this['debouncedSeekBarUpdate'](y);}['reset'](){this['resetProgressBar'](),this['progress']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarBuffer']['style']['height']=this['seekBarStyle']['playingState']['height'],this['progressBarKnob']['style']['display']=this['seekBarStyle']['playingState']['isThumbVisible']?'block':'none',this['updateProgressBarStyles']('playing');}['resetProgressBar'](){this['playbackPart']['style']['width']='0%',this['updateBuffer'](0x0);}['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['progressBarKnob']['style']['display']=this['seekBarStyle']['playingState']['isThumbVisible']?'block':'none',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['progressBarKnob']['style']['display']=this['seekBarStyle']['pausedState']['isThumbVisible']?'block':'none',this['progressBarState']='paused',this['updateProgressBarStyles']('paused'));}}g['BlazeVideoSeekBar']=w;},0xa6c:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),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){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':true}),j['BlazeWidgetMomentModal']=void 0;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);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['appendChild'](this['navigationButtonsContainerElement'])),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 0===I||I['setAttribute']('blaze-btn-visible',true===K?'true':'false'),null===(J=this['nextContentButtonElement'])||void 0===J||J['setAttribute']('blaze-btn-visible',true===L?'true':'false');}['navigateContent'](H){z['VideoPlayerService']['isNavigating']||(this['player']['contentList'][this['player']['index']]['isActive']=false,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 0===I?void 0:I['video'])||void 0===J?void 0: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 0===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']=true,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 0===H||H['playerContentList']['forEach'](K=>{K['unload']();}),super['close'](),null===(I=this['onClose'])||void 0===I||I['call'](this);}['open'](){const H=Object['create'](null,{'open':{'get':()=>super['open']}});return m(this,void 0,void 0,function*(){var I;this['isOpen']||z['EventService']['dispatch'](this,x['Delegation']['onPlayerDidAppear']),this['playlistSessionId']=(0, 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 0===I||I['call'](this),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 0===H||H['render']();}['onResize'](){super['onResize']();}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},w['ONE_SECOND']/0x2);}}j['BlazeWidgetMomentModal']=G;},0xab7:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0xac5:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0xad8:(a0,a1,a2)=>{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':true,'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)>-1;}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 0===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 0===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);};},'Expo':function(){return function(aW){return aW?Math['pow'](0x2,0xa*aW-0xa):0x0;};},'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 0===aW&&(aW=0x1),void 0===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']['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)(-2*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 0,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 0;}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 0;}(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 0;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 0===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(-1),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'],true);}});}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 0;}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 0===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 0,bs=0x0;bs<bq;bs++){var bt=void 0,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']=true,ba('begin')),!b4['loopBegan']&&b4['currentTime']>0x0&&(b4['loopBegan']=true,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']=true,b4['changeCompleted']=false,ba('changeBegin')),ba('change'),b9(bg)):b4['changeBegan']&&(b4['changeCompleted']=true,b4['changeBegan']=false,ba('changeComplete')),b4['currentTime']=a7(bg,0x0,bd),b4['began']&&ba('update'),bc>=bd&&(aZ=0x0,b4['remaining']&&true!==b4['remaining']&&b4['remaining']--,b4['remaining']?(aY=b0,ba('loopComplete'),b4['loopBegan']=false,'alternate'===b4['direction']&&b5()):(b4['paused']=true,b4['completed']||(b4['completed']=true,ba('loopComplete'),ba('complete'),!b4['passThrough']&&'Promise'in window&&(b2(),b3(b4)))));}return b3(b4),b4['reset']=function(){var bc=b4['direction'];b4['passThrough']=false,b4['currentTime']=0x0,b4['progress']=0x0,b4['paused']=true,b4['began']=false,b4['loopBegan']=false,b4['changeBegan']=false,b4['completed']=false,b4['changeCompleted']=false,b4['reversePlayback']=false,b4['reversed']='reverse'===bc,b4['remaining']=b4['loop'],aX=b4['children'];for(var bd=b1=aX['length'];bd--;)b4['children'][bd]['reset']();(b4['reversed']&&true!==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']=true,b7();},b4['play']=function(){b4['paused']&&(b4['completed']&&b4['reset'](),b4['paused']=false,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']=true,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 0===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?-1*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 0===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']=true;}b0>-1&&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']=false,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){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':true}),g['BlazeWidgetCtaModal']=void 0;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']=false,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 0===z?void 0:z['bind'](this);}['connectedCallback'](){return k(this,void 0,void 0,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'};(0, p['default'])(A);}['onDrawerClose'](){this['animateProgressBar'](false);}['open'](){this['ctaDrawer']['open'](),this['animateProgressBar'](true),this['fullscreenOverlay']['setStyle']({'display':'block'}),this['isOpen']=true;}['close'](){this['ctaDrawer']['close'](),this['animateProgressBar'](false),this['fullscreenOverlay']['setStyle']({'display':'none'}),this['isOpen']=false;}['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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeWidgetContent']=void 0;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']=false,this['isResumeOnFocusExecuted']=false,this['isNavigationPending']=false,this['isPausedManually']=false,this['resumeAfterfocus']=false,this['contentExtraInfo']=void 0,this['widgetParentItem']={},this['sessionId']='',this['adIndex']=0x0,this['detachTimeout']=null,this['isScheduledForDetach']=false,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']=false),this['isScheduledForDetach']||this['attachEventListeners']();}['disconnectedCallback'](){this['isScheduledForDetach']=true,this['detachTimeout']=setTimeout(()=>{this['isConnected']||(this['detachEventListeners'](),this['isScheduledForDetach']=false),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 0===u?void 0:u['updateWidget'])||void 0===v||v['call'](u),null===(x=null===(w=this['widgetParentItem'])||void 0===w?void 0:w['setChipStyle'])||void 0===x||x['call'](w),null===(z=null===(y=this['widgetParentItem'])||void 0===y?void 0:y['render'])||void 0===z||z['call'](y),null===(B=null===(A=this['widgetParentItem'])||void 0===A?void 0:A['updateWidgetItemPadding'])||void 0===B||B['call'](A);}['getRefferingObject'](){var u,v,w;const x=new j['ReferringEventInfo'](),y=(null===(u=this['widgetParentItem'])||void 0===u?void 0:u['parentRef'])||(null===(v=this['refContentModal'])||void 0===v?void 0: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=-1!==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 0===w?void 0:w['hostname']:'';}return x;}['setContentExtraInfo'](u){this['contentExtraInfo']=u;}['render'](){}}f['BlazeWidgetContent']=q;},0xb62:function(d,f,g){var h=this&&this['__importDefault']||function(l){return l&&l['__esModule']?l:{'default':l};};Object['defineProperty'](f,'__esModule',{'value':true}),f['deviceDetector']=f['DEVICE_EVENTS']=f['Platform']=void 0;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'](){const l='mobile'===this['parser']['getDevice']()['type'],m='tablet'===this['parser']['getDevice']()['type'];return window['innerWidth']>0x33e||this['isDesktop'],l?'mobile':m?'tablet':'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':true,'cancelable':true});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']();},0xb8a:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0xc38:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0xc40:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),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')};};},0xc5e:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeLoader']=void 0;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\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'](){var k;const l=this['getAttribute']('color')||'#fff';this['updateLoaderColor'](l),null===(k=this['animate'])||void 0===k||k['call'](this,[{'transform':'rotate(0)'},{'transform':'rotate(360deg)'}],{'duration':0x3e8,'iterations':Number['POSITIVE_INFINITY'],'easing':'linear'});}['updateLoaderSize'](k){(0, h['mergeStyles'])(this,{'width':k,'height':k});}['updateLoaderColor'](k){(0, 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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['getVideoDuration']=function(g,h){return new Promise(j=>{let k=g,m=false;if(g&&!isNaN(g['duration'])&&g['duration']>0x0)return void j(g['duration']);if(g)!h||g['src']&&!isNaN(g['duration'])||(m=true);else {if(!h)return void j(0x0);m=true;}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){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':true}),g['BlazeWidgetEmbeddedStory']=void 0;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']=true;}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'],true),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'],true),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 0===z?void 0:z['currentPage']['isCurrentlyTryingToRunImaAd'])&&(null===(B=null===(A=this['currentStoryPlayer'])||void 0===A?void 0:A['currentPage']['widgetVastAd'])||void 0===B||B['pause']()),(null===(C=this['currentStoryPlayer'])||void 0===C?void 0:C['currentPage']['paused'])||(this['stateManager']['isPlaying']=false,null===(D=this['currentStoryPlayer'])||void 0===D||D['playToggle']({'customIsPlaying':true}));}['playContent'](){var z,A,B,C,D,E,F,G,H;if(!this['isIntersecting'])return;if(!(null===(z=this['currentStoryPlayer'])||void 0===z?void 0:z['currentPage']['paused']))return;const I=(null===(A=this['currentStoryPlayer'])||void 0===A?void 0:A['currentPage']['isCurrentlyTryingToRunImaAd'])||'Ad'===(null===(C=null===(B=this['currentStoryPlayer'])||void 0===B?void 0:B['currentPage']['data'])||void 0===C?void 0:C['type']);(null===(D=this['currentStoryPlayer'])||void 0===D?void 0:D['currentPage']['isCurrentlyTryingToRunImaAd'])&&(null===(F=null===(E=this['currentStoryPlayer'])||void 0===E?void 0:E['currentPage']['widgetVastAd'])||void 0===F||F['resume']()),I||(this['stateManager']['isPlaying']=true,this['isCurrentPlayerFirstPlay']?(this['isCurrentPlayerFirstPlay']=false,null===(G=this['currentStoryPlayer'])||void 0===G||G['play']()):null===(H=this['currentStoryPlayer'])||void 0===H||H['playToggle']({'customIsPlaying':false}));}get['currentStoryPlayer'](){return this['contents'][this['currentStoryPlayerIndex']];}['loadContent'](){return k(this,void 0,void 0,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 0:E['split'](','),G=this['getAttribute'](x['EMBEDDED_ATTRIBUTES']['LabelsPriority']),{data:H}=(null==F?void 0: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 0:H['defaultAdsInfo'];let I=null!==(z=null==H?void 0:H['result'])&&void 0!==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 0,(null===(O=this['parentElement'])||void 0===O?void 0:O['clientWidth'])&&(null===(P=this['parentElement'])||void 0===P?void 0:P['clientHeight'])&&(null===(Q=this['parentElement'])||void 0===Q?void 0:Q['clientWidth'])>=(null===(R=this['parentElement'])||void 0===R?void 0: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']=false),this['setCurrentStoryPlayer'](0x0),null===(A=this['currentStoryPlayer'])||void 0===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 0===B||B['currentPage']['endExit'](),this['removeCurrentStoryPlayer'](),this['isCurrentPlayerFirstPlay']=true;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']=false,this['currentStoryPlayer']['play']()):this['currentStoryPlayer']['playToggle']({'customIsPlaying':false})),this['currentStoryPlayer']['currentPage']['startEnter'](),this['currentStoryPlayer']['currentPage']['endEnter']());}['nextStory'](){var z,A,B;const C=null!==(A=null===(z=this['currentStoryPlayer'])||void 0===z?void 0:z['pages']['length'])&&void 0!==A?A:0x0;this['currentStoryPlayer']&&C&&(null===(B=this['currentStoryPlayer']['pages'][C-0x1])||void 0===B||B['pause']()),this['setCurrentStoryPlayer'](this['currentStoryPlayerIndex']+0x1);}['prevStory'](){var z,A,B;null===(B=null===(A=null===(z=this['currentStoryPlayer'])||void 0===z?void 0:z['pages'])||void 0===A?void 0:A[0x0])||void 0===B||B['pause'](),this['setCurrentStoryPlayer'](this['currentStoryPlayerIndex']-0x1);}['removeCurrentStoryPlayer'](){var z;null===(z=this['currentStoryPlayer'])||void 0===z||z['remove']();}['createModal'](){this['updatePlayerStyle']();const z=this['modal']?this['modal']:new m['BlazeWidgetStoryModal'](this,this['theme']['playerStyle'],void 0,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']=true,null==z?void 0:z['storyId']){const A=this['contents']['findIndex'](C=>C['data']['id']===z['storyId']);if(-1===A)return;const B=this['contents'][A]['shouldShowImaAdOnStart'];this['contents'][A]['shouldShowImaAdOnStart']=false,this['setCurrentStoryPlayer'](A,null==z?void 0:z['pageIndex']),this['contents'][A]['shouldShowImaAdOnStart']=B;}}['updatePlayerStyle'](){const z=(0, v['mergeDeep'])(u['ThemeFactory']['create']('default')['playerStyle'],q['ConfigService']['playerStyleCustomization']);(0, 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 0===z||z['pause']();}['onVastAdResumedEnded'](){var z,A;this['isIntersecting']||null===(A=null===(z=this['currentStoryPlayer'])||void 0===z?void 0:z['currentPage']['widgetVastAd'])||void 0===A||A['pause']();}['getAnimationTargetSelector'](){return 'blaze-widget-story';}}g['BlazeWidgetEmbeddedStory']=y;},0xcef:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['PseudoFullscreenManager']=void 0,f['PseudoFullscreenManager']=class{constructor(g){this['isActive']=false,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']=true,this['element']['classList']['add'](this['PSEUDO_FULLSCREEN_CLASS']),null===(g=this['onStateChange'])||void 0===g||g['call'](this,true));}['exit'](){var g;this['isActive']&&(this['restoreOriginalState'](),this['restorePageScrolling'](),this['removeTouchEventListeners'](),this['removeVisualViewportListener'](),this['isActive']=false,this['element']['classList']['remove'](this['PSEUDO_FULLSCREEN_CLASS']),this['state']=null,null===(g=this['onStateChange'])||void 0===g||g['call'](this,false));}['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 0===g?void 0:g['height'])||window['innerHeight'],k={'position':'fixed','top':'0','left':'0','width':((null===(h=window['visualViewport'])||void 0===h?void 0: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':false}),document['addEventListener']('touchmove',this['boundPreventPullToRefresh'],{'passive':false});}['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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0xcfc:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0xd06:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['CUSTOM_SCROLLBAR_TEMPLATE']=void 0,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){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':true}),g['ApiService']=void 0;const k=h(0x11c1),m=h(0x66b),p=h(0x1133),q=h(0x2432),u='UserManagement';class v extends(0, p['Singleton'])(){constructor(){super(...arguments),this['api']={};}['init'](){return j(this,void 0,void 0,function*(){this['api']=new m['API']({'baseUrl':k['ConfigService']['apiUrl'],'analyticsBaseUrl':k['ConfigService']['analyticsApiUrl']}),this['analyticsUrlRotator']=new p['UrlRotator']({'fallbackUrl':k['ConfigService']['analyticsApiUrl'],'apiVersion':'v1'});});}['setAdsOnStories'](w,x){var y;return 'EveryXStories'===(null===(y=null==x?void 0:x['configuration'])||void 0===y?void 0:y['adsLocationType'])?w:k['AdService']['canRunAds']?w['map'](z=>{var A,B,C;const D=null!==(A=null==x?void 0:x['configuration'])&&void 0!==A?A:null===(B=z['adInfo'])||void 0===B?void 0:B['configuration'],E=null!==(C=z['adInfo'])&&void 0!==C?C:x,F=null==D?void 0:D['adLocationsIndexes']['sort']((G,H)=>G-H);switch(null==E?void 0:E['type']){case 'Web':const G=z['pages']['length'];let H=0x0;null==F||F['forEach'](I=>{G>I&&(z['pages']['splice'](I+H,0x0,{'id':'ad-'+z['id']+'-'+I,'duration':0x5,'ignoreReadStatusForStory':false,'hasViewed':false,'type':'Ad','createTime':new Date()['toLocaleString'](),'adInfo':E}),H++);});break;case 'IMA':null==F||F['forEach'](I=>{const J=z['pages'][I];'Content'===(null==J?void 0:J['type'])&&(J['adInfo']=E,J['shouldShowImaAd']=true);});}return z;}):w;}['getStoriesByIds'](w){return j(this,void 0,void 0,function*(){var x,y,z;const {showLiveFirst:A}=w,B=Object['assign'](Object['assign'](Object['assign']({},this['getContentParamsByIds'](w)),A&&{'showLiveFirst':A}),(0, q['getPersonalizedParamsForRequest'])(w['personalized'])),C=yield this['api']['get']('stories/ids',{'urlSearchParams':B});return Object['assign'](Object['assign']({},C),{'result':this['setAdsOnStories'](null!==(y=null===(x=C['data'])||void 0===x?void 0:x['result'])&&void 0!==y?y:[],null===(z=C['data'])||void 0===z?void 0:z['defaultAdsInfo'])});});}['getStoriesByLabels'](w){return j(this,void 0,void 0,function*(){var x,y,z;const {showLiveFirst:A,personalized:B}=w,C=Object['assign'](Object['assign'](Object['assign']({},this['getContentParamsByLabels'](w)),A&&{'showLiveFirst':A}),(0, q['getPersonalizedParamsForRequest'])(B)),D=yield this['api']['get']('stories',{'urlSearchParams':C}),E=this['setAdsOnStories'](null!==(y=null===(x=D['data'])||void 0===x?void 0:x['result'])&&void 0!==y?y:[],null===(z=D['data'])||void 0===z?void 0:z['defaultAdsInfo']);return Object['assign'](Object['assign']({},D),{'result':E});});}['getStoriesByText'](w){return j(this,void 0,void 0,function*(){var x,y,z;const {showLiveFirst:A,personalized:B}=w,C=Object['assign'](Object['assign'](Object['assign']({},this['getContentParamsByText'](w)),A&&{'showLiveFirst':A}),(0, q['getPersonalizedParamsForRequest'])(B)),D=yield this['api']['get']('stories',{'urlSearchParams':C}),E=this['setAdsOnStories'](null!==(y=null===(x=D['data'])||void 0===x?void 0:x['result'])&&void 0!==y?y:[],null===(z=D['data'])||void 0===z?void 0:z['defaultAdsInfo']);return Object['assign'](Object['assign']({},D),{'result':E});});}['getMomentByIds'](w){return j(this,void 0,void 0,function*(){const x=yield this['api']['get']('moments/ids',{'urlSearchParams':this['getContentParamsByIds'](w)});return Object['assign']({},x);});}['getMomentsByLabels'](w){return j(this,void 0,void 0,function*(){return yield this['api']['get']('moments',{'urlSearchParams':this['getContentParamsByLabels'](w)});});}['getMomentsByText'](w){return j(this,void 0,void 0,function*(){return yield this['api']['get']('moments',{'urlSearchParams':this['getContentParamsByText'](w)});});}['getMomentsByRecommendations'](w){return j(this,void 0,void 0,function*(){const {forYou:x,trending:y}=w['recommendations'];if(!x&&!y)throw new Error('Invalid\x20recommendation\x20options:\x20must\x20specify\x20either\x20forYou\x20or\x20trending');const z=y?'trending':'forYou';return yield this['api']['get']('recommendations/'+z,{'urlSearchParams':this['getContentParamsByRecommendations'](w),'auth':true});});}['updateMomentLikeStatus'](w){return j(this,void 0,void 0,function*(){yield this['api']['put']('Moments/like',{'urlSearchParams':w,'auth':true});});}['getStaticStories'](){return j(this,void 0,void 0,function*(){var w;for(let x=0x1;x<=0x3;x++){const y=null===(w=null===document||void 0===document?void 0:document['getElementById']('wsc-response'))||void 0===w?void 0:w['textContent'];if(!y)return null;try{const z=JSON['parse'](y),A=this['setAdsOnStories']([z]);return A['length']>0x0?A[0x0]:null;}catch(B){if(!(x<0x3))return null;yield new Promise(C=>setTimeout(C,0x1f4));}}return null;});}['getVideosByIds'](w){return j(this,void 0,void 0,function*(){const x=yield this['api']['get']('videos/ids',{'urlSearchParams':this['getContentParamsByIds'](w)});return Object['assign']({},x);});}['getVideosByLabels'](w){return j(this,void 0,void 0,function*(){const x=yield this['api']['get']('videos',{'urlSearchParams':this['getContentParamsByLabels'](w)});return Object['assign']({},x);});}['getVideosByText'](w){return j(this,void 0,void 0,function*(){const x=yield this['api']['get']('videos',{'urlSearchParams':this['getContentParamsByText'](w)});return Object['assign']({},x);});}['updateVideosLikeStatus'](w){return j(this,void 0,void 0,function*(){yield this['api']['put']('Videos/like',{'urlSearchParams':w,'auth':true});});}['sendAnaltyicsEvents'](w){return j(this,void 0,void 0,function*(){let x='events';k['ConfigService']['doNotTrack']&&(x+='_do_not_track');const y=this['getAnalyticsEndpoint']()+'/'+x,z={'api_key':k['ConfigService']['apiKey']?k['ConfigService']['apiKey']:''};return yield this['api']['post']('',{'urlSearchParams':z,'baseUrl':y,'init':{'body':JSON['stringify'](w),'keepalive':true}});});}['sendLoggerLogs'](w){return j(this,void 0,void 0,function*(){return yield this['api']['post']('',{'urlSearchParams':{'api_key':k['ConfigService']['apiKey']},'baseUrl':k['ConfigService']['loggerApiUrl'],'init':{'body':w,'keepalive':true,'headers':{'Content-Type':'application/json','Content-Encoding':'gzip'}}});});}['sendInteractionResponse'](w){return j(this,void 0,void 0,function*(){yield this['api']['put']('Interactions/Response/'+w['interactionType']+'/'+w['interactionId'],{'init':{'body':JSON['stringify'](w['responseId'])},'auth':true});});}['getUserToken'](w){return this['api']['post'](u,{'init':{'body':JSON['stringify'](w)},'urlSearchParams':{'clientPlatform':'Web'}});}['refreshUserToken'](w){return this['api']['put'](u,{'urlSearchParams':{'clientPlatform':'Web'},'init':{'body':JSON['stringify'](w)}});}['getAppConfigurations'](){return this['api']['get']('AppConfigurations',{'urlSearchParams':{'clientPlatform':'Web'}});}['getContentDefaultParams'](w){return Object['assign']({'clientPlatform':'Web'},w['orderType']&&{'orderType':w['orderType']});}['getContentParamsByLabels'](w){return Object['assign'](Object['assign'](Object['assign'](Object['assign'](Object['assign'](Object['assign']({},this['getContentDefaultParams'](w)),k['ConfigService']['geoLocation']&&{'geo':k['ConfigService']['geoLocation']}),{'labelsFilterExpression':w['labels']}),w['maxItems']&&{'maxItems':w['maxItems']['toString']()}),w['labelsPriority']&&{'labelsPriority':w['labelsPriority']}),w['text']&&{'text':w['text']});}['getContentParamsByIds'](w){return Object['assign'](Object['assign']({},this['getContentDefaultParams'](w)),{'ids':w['ids']['join'](',')});}['getContentParamsByRecommendations'](w){var x,y;const z=Object['assign']({},this['getContentDefaultParams'](w)),{forYou:A,trending:B}=w['recommendations'],C=A||B;return (null===(x=null==C?void 0:C['anyLabelFilter'])||void 0===x?void 0:x['length'])&&(z['Labels']=C['anyLabelFilter']['join'](',')),(null===(y=null==A?void 0:A['promotedLabels'])||void 0===y?void 0:y['length'])&&(z['promotedLabels']=A['promotedLabels']['join'](',')),z;}['getContentParamsByText'](w){return Object['assign'](Object['assign'](Object['assign'](Object['assign']({},this['getContentDefaultParams'](w)),k['ConfigService']['geoLocation']&&{'geo':k['ConfigService']['geoLocation']}),{'text':w['text']}),w['maxItems']&&{'maxItems':w['maxItems']['toString']()});}['initializeAnalyticsUrlRotator'](w){var x;null===(x=this['analyticsUrlRotator'])||void 0===x||x['initialize'](w);}['getAnalyticsEndpoint'](){var w,x;return null!==(x=null===(w=this['analyticsUrlRotator'])||void 0===w?void 0:w['getNext']())&&void 0!==x?x:k['ConfigService']['analyticsApiUrl'];}}g['ApiService']=v['getInstance']();},0xd3e:function(d,f,g){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':true}),f['ErrorService']=void 0;const j=g(0x1133);class k extends(0, j['Singleton'])(){['init'](){return h(this,void 0,void 0,function*(){});}}f['ErrorService']=k['getInstance']();},0xdc4:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['VideoPlayerStateManager']=void 0,f['VideoPlayerStateManager']=class{constructor(){this['_isMuted']=true,this['_isPlaying']=true,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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0xdf6:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),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(0x1d6e),f),j(g(0xde2),f),j(g(0x2631),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);},0xe1c:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0x1c93),f);},0xe32:(d,f)=>{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':true}),f['isValidIds']=g,f['hasValidIds']=function(...j){return j['some'](k=>void 0!==k&&g(k));};},0xe72:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['PlayTypeArray']=void 0,f['PlayTypeArray']=['Widget','Share','SingleContent','AutoAdvance'];},0xea7:(d,f)=>{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':true}),f['DEFAULT_NETWORK_SPEED']=f['NETWORK_CONFIGS']=void 0,f['getNavigatorConnection']=g,f['getNetworkSpeed']=h,f['getPosterLimits']=function(){var j,k;const l=g(),m=h(null==l?void 0:l['downlink']);return null!==(k=null===(j=f['NETWORK_CONFIGS'][m])||void 0===j?void 0:j['posterLimits'])&&void 0!==k?k:f['NETWORK_CONFIGS'][f['DEFAULT_NETWORK_SPEED']]['posterLimits'];},f['getVideoPreloadLimits']=function(){var j,k;const l=g(),m=h(null==l?void 0:l['downlink']);return null!==(k=null===(j=f['NETWORK_CONFIGS'][m])||void 0===j?void 0:j['videoPreloadLimits'])&&void 0!==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';},0xefb:(d,f)=>{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':true}),f['isValidLabels']=g,f['hasValidLabels']=function(...j){return j['some'](k=>void 0!==k&&g(k));};},0xf49:function(f,g,j){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':true}),g['BlazeWidgetSDK']=void 0;const m=j(0x23a6),q=j(0x1133),v=j(0x1932),w=j(0x26ed),x=j(0x11c1),y=j(0x132a),z=j(0x2432),A=j(0x774);let B=window['innerWidth'];class C extends q['BaseWidget']{static['isSdkConnected'](){return C['_isSdkConnected'];}static get['observedAttributes'](){return ['should-allow-horizontal-stories'];}constructor(){super(),this['boundOnResizeEvent']=(0, q['debounce'])(this['onResize']['bind'](this),0x4b),this['boundOnResizeEventDelay']=this['onResizeEventDelay']['bind'](this);}['connectedCallback'](){return k(this,void 0,void 0,function*(){window['addEventListener']('resize',this['boundOnResizeEvent']),window['addEventListener'](q['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']);const D=this['getConfigAttributes']();yield this['initialize'](D);const E=new CustomEvent('onBlazeSDKConnect',{'bubbles':true,'composed':true});C['_isSdkConnected']=true,this['dispatchEvent'](E),this['pushInitEvent'](),x['ConfigService']['disableAutoLoadingContent']||this['handleLoadingContent']();});}['disconnectedCallback'](){window['removeEventListener']('resize',this['boundOnResizeEvent']),window['removeEventListener'](q['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnResizeEventDelay']);}['onResizeEventDelay'](){setTimeout(()=>{this['onResize']();},v['ONE_SECOND']/0x2);}['onResize'](){var D,E,F,G,H,I;B!==window['innerWidth']&&(B=window['innerWidth'],this['modal']&&(null===(D=this['modal'])||void 0===D||D['render'](),this['modal']instanceof m['BlazeWidgetStoryModal']&&(null===(F=null===(E=this['modal'])||void 0===E?void 0:E['player'])||void 0===F||F['render'](),null===(I=null===(H=null===(G=this['modal'])||void 0===G?void 0:G['player'])||void 0===H?void 0:H['contentList'])||void 0===I||I['forEach'](J=>null==J?void 0:J['render']()))));}['handleLoadingContent'](){const {isStoryMatch:D,storyId:E,isMomentMatch:F,momentId:G,isVideoMatch:H,videoId:I}=this['extractContentIdsFromUrl']();D&&E?this['handleContentLoad']('story','Share',E):F&&G?this['handleContentLoad']('moment','Share',G):H&&I?this['handleContentLoad']('video','Share',I):x['ConfigService']['staticContent']&&this['handleStaticContentLoad']('SingleContent');}['extractContentIdsFromUrl'](){var D,E,F,G,H,I;const J=location['href']['match'](z['RegexStoryHash']),K=location['href']['match'](z['RegexMomentHash']),L=location['href']['match'](z['RegexVideoHash']);return {'isStoryMatch':!!J,'storyId':J?null===(E=null===(D=J[0x1])||void 0===D?void 0:D['split']('/'))||void 0===E?void 0:E[0x2]:null,'isMomentMatch':!!K,'momentId':K?null===(G=null===(F=K[0x1])||void 0===F?void 0:F['split']('/'))||void 0===G?void 0:G[0x2]:null,'isVideoMatch':!!L,'videoId':L?null===(I=null===(H=L[0x1])||void 0===H?void 0:H['split']('/'))||void 0===I?void 0:I[0x2]:null};}['setPlayerStyleCustomization'](D){x['ConfigService']['playerStyleCustomization']=D;}['handleContentLoad'](D,E,F){return k(this,void 0,void 0,function*(){var G,H,I;if((null===document||void 0===document?void 0:document['querySelector']('#blaze-standalone-player'))||!(null==F?void 0:F['length']))return;const J=F['split'](',');if(null===(G=this['modal'])||void 0===G||G['remove'](),null==J?void 0:J['length']){const K={'sourceType':'ids','ids':J};let L;switch(D){case 'story':L=yield x['StoryService']['fetchContent'](K);break;case 'moment':L=yield x['MomentService']['fetchContent'](K);break;case 'video':L=yield x['VideoService']['fetchContent'](K);}null==L||L['result']['map'](M=>{M['type']='Content';}),0x0===(null===(H=null==L?void 0:L['result'])||void 0===H?void 0:H['length'])?x['EventService']['dispatch'](this,w['Delegation']['onErrorThrown'],{'id':J[0x0],'errorCode':w['ErrorLoadingCodeMapper'][D]}):this['setupModalAndLoadContent'](D,E,null===(I=null==L?void 0:L['result'])||void 0===I?void 0:I[0x0]);}});}['handleStaticContentLoad'](D){return k(this,void 0,void 0,function*(){const E=yield x['ApiService']['getStaticStories']();E&&this['setupModalAndLoadContent']('story',D,E);});}['setupModalAndLoadContent'](D,E,F){return k(this,void 0,void 0,function*(){var G;let H;switch(D){case 'moment':H=y['ThemeFactory']['create']('default','moment'),this['modal']=new m['BlazeWidgetMomentModal'](this,H['playerStyle']);break;case 'video':H=y['ThemeFactory']['create']('default','video'),H['playerStyle']['buttons']['prev_next']['desktop']['isVisible']=false,H['playerStyle']['buttons']['prev_next']['mobile']['isVisible']=false,H['playerStyle']['buttons']['prev_next']['tablet']['isVisible']=false,this['modal']=new A['BlazeWidgetVideoModal'](this,H['playerStyle']);break;default:H=y['ThemeFactory']['create']('default','story');const K=(0, z['mergeDeep'])(H['playerStyle'],x['ConfigService']['playerStyleCustomization'])||H['playerStyle'];this['modal']=new m['BlazeWidgetStoryModal'](this,K);}this['modal']['id']='blaze-standalone-player',x['VideoPlayerService']['playReference']=E,this['append'](this['modal']);const I=new m['BlazeWidgetItem']({'layout':H['layoutStyle'],'content':F});if(this['modal']instanceof m['BlazeWidgetStoryModal']){const L=yield x['StoryService']['enrichContent']([F]);this['modal']['setModalContent'](L,0x0);}else {if(this['modal']instanceof m['BlazeWidgetMomentModal']){const M=yield x['MomentService']['enrichContent']([F]);this['modal']['setModalContent'](M,0x0);}else {if(this['modal']instanceof A['BlazeWidgetVideoModal']){const N=yield x['VideoService']['enrichContent']([F]);this['modal']['setModalContent'](N);}}}this['modal']['player']['contentList']['forEach']((O,P)=>{O['startTrigger']=E,O['refContentModal']=this['modal'],O['widgetParentItem']=I,O instanceof m['BlazeWidgetStory']&&O['resetStoryLocationIndexToLastUnseen'](),O instanceof m['BlazeWidgetMoment']&&(O['momentIndex']=P),O['setWidgetItemParent'](I);});const J=this['modal']['player']['contentList'][0x0];J&&(J instanceof m['BlazeWidgetStory']||J instanceof m['BlazeWidgetMoment'])&&(yield J['load']('direct')),this['modal']['seek'](null!==(G=F['id'])&&void 0!==G?G:''),this['modal']['open'](),this['modal']['onClose']=()=>{var O;null===(O=this['modal'])||void 0===O||O['remove']();};});}['attributeChangedCallback'](D,E,F){'should-allow-horizontal-stories'===D&&E!==F&&(x['ConfigService']['shouldAllowHorizontalStories']='true'===F,this['modal']instanceof m['BlazeWidgetStoryModal']&&this['modal']['updateModalContent']());}['getConfigAttributes'](){const D=this['getAttribute']('api-key'),F=this['getAttribute']('environment')||'prod',G=this['getAttribute']('send-analytics'),H=this['getAttribute']('disable-analytics'),I=this['getAttribute']('run-in-shadow-dom'),J=this['getAttribute']('preview-url'),K=this['getAttribute']('preview-moment-url'),L=this['getAttribute']('do-not-track'),M=this['getAttribute']('external-user-id'),N=this['getAttribute']('geo-location'),O=this['getAttribute']('static-content'),P=this['getAttribute']('static-content-type'),Q=this['getAttribute']('modifiy-url-with-story-id'),R=this['getAttribute']('modifiy-url-with-content-id'),T=this['getAttribute']('should-dismiss-player'),U=this['getAttribute']('should-create-user'),V=this['getAttribute']('prefetching-policy')||'default',W=this['getAttribute']('should-allow-horizontal-stories'),X=this['getAttribute']('should-auto-advance'),Y=this['getAttribute']('auto-advance-url'),Z=this['getAttribute']('layout-direction'),a0=this['getAttribute']('should-allow-closed-captions'),a1=this['getAttribute']('disable-auto-loading-content');if(!D&&!J&&!K)throw new Error('Please\x20provide\x20API\x20Key');return {'apiKey':D,'environment':F,'sendAnalytics':G,'disableAnalytics':H,'previewMomentUrl':K,'previewUrl':J,'doNotTrack':L,'externalUserId':M,'geoLocation':N,'staticContent':O,'staticContentType':P,'runInShadowDom':I,'shouldModifyUrlWithStoryId':Q,'shouldModifyUrlWithContentId':R,'shouldDismissPlayer':T,'shouldCreateUser':U,'prefetchingPolicy':V,'shouldAllowHorizontalStories':W,'shouldAutoAdvance':X,'autoAdvanceUrl':Y,'layoutDirection':Z,'shouldAllowClosedCaptions':a0,'disableAutoLoadingContent':a1};}['initialize'](D){return k(this,void 0,void 0,function*(){yield x['StartupService']['init'](D),yield this['injectFontResource'](),yield this['injectGoogleTag'](),yield this['injectIma']();});}['injectToHead'](D,E){return k(this,void 0,void 0,function*(){document['querySelectorAll'](D)['length']||(yield new Promise((F,G)=>{E['addEventListener']('load',()=>{F();}),E['addEventListener']('error',()=>{G('Failed\x20to\x20load\x20element:\x20'+E['outerHTML']);}),document['head']['append'](E);}));});}['injectFontResource'](){return k(this,void 0,void 0,function*(){const D=x['ConfigService']['sdkStorageCDN']+'/web-sdk/assets/fonts.css',E=document['createElement']('link');E['setAttribute']('rel','preload'),E['setAttribute']('href',D),E['setAttribute']('as','style'),E['setAttribute']('onload','this.onload=null;this.rel=\x27stylesheet\x27'),yield this['injectToHead']('[href*=\x22'+D+'\x22]',E);const F=document['createElement']('link');F['setAttribute']('rel','stylesheet'),F['setAttribute']('href','https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'),yield this['injectToHead']('[href=\x22https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap\x22]',F);});}['injectGoogleTag'](){return k(this,void 0,void 0,function*(){if(!x['AdService']['canRunAds'])return;const D=document['createElement']('script');D['setAttribute']('src','https://securepubads.g.doubleclick.net/tag/js/gpt.js'),D['setAttribute']('async',''),this['injectToHead']('[src*=\x22securepubads.g.doubleclick.net/tag/js/gpt.js\x22]',D);});}['injectIma'](){return k(this,void 0,void 0,function*(){if(!x['AdService']['canRunAds'])return;const D=document['createElement']('script');D['setAttribute']('src','//imasdk.googleapis.com/js/sdkloader/ima3.js'),D['setAttribute']('async',''),this['injectToHead']('[src*=\x22imasdk.googleapis.com/js/sdkloader/ima3.js\x22]',D);});}['pushInitEvent'](){const D=new q['ReferringEventInfo']();document['referrer']&&(D['referrer_page_url']=document['referrer']),x['AnalyticsService']['pushWidgetEvent'](v['WidgetAction']['SDKInit'],{},void 0,D);}}g['BlazeWidgetSDK']=C,C['_isSdkConnected']=false;},0xf84:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['UrlRotator']=void 0,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 0: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 0: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;}};},0xfae:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeVideoNavigationOverlay']=f['NAVIGATION_OVERLAY_ATTRIBUTES']=void 0;const h=g(0x774),j=g(0x1133),k=g(0x1699),m=g(0x22d9),p=g(0x2432);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']=false,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,true),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){switch(u){case f['NAVIGATION_OVERLAY_ATTRIBUTES']['Hidden']:'true'===v?this['hideOverlay']():this['showOverlay']();break;case f['NAVIGATION_OVERLAY_ATTRIBUTES']['HasPrev']:this['setButtonDisabled'](this['prevButton'],'true'!==v?'true':'false');break;case f['NAVIGATION_OVERLAY_ATTRIBUTES']['HasNext']: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(.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':(0, p['mergeStyles'])(this,{'position':'absolute','top':'50%','left':'50%','transform':'translate(-50%,\x20-50%)','gap':'20px'});break;case 'desktop':(0, 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),j['deviceDetector']['isDesktop']&&u['setAttribute'](k['BUTTON_ATTRIBUTES']['ButtonDesktopAnimation'],'true'),u['setStyle']({'padding':null!==(x=v['padding'])&&void 0!==x?x:null,'color':null!==(y=v['color'])&&void 0!==y?y:null,'borderRadius':null!==(z=v['borderRadius'])&&void 0!==z?z:null,'backgroundColor':null!==(A=v['backgroundColor'])&&void 0!==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');u['id']='middle-container-play-pause',u['classList']['add']('middle-container'),u['appendChild'](this['playPauseButton']);const v=this['navigationStyle']['prev_next'][this['platform']]['isVisible'];if(v&&this['shadow']['appendChild'](this['prevButton']),this['shadow']['appendChild'](u),v&&this['shadow']['appendChild'](this['nextButton']),this['loader']['setAttribute']('color','#FFD325'),['mobile','tablet']['includes'](this['platform'])){const w=u['getBoundingClientRect']()['width'];u['style']['width']=w+'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'](),this['dispatchEvent'](new CustomEvent(h['VIDEO_EVENTS']['NAVIGATION_PREV'],{'bubbles':true,'composed':true}));}['onNextClick'](u){u['stopPropagation'](),this['dispatchEvent'](new CustomEvent(h['VIDEO_EVENTS']['NAVIGATION_NEXT'],{'bubbles':true,'composed':true}));}['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':true,'composed':true}));}['onReplayClick'](u){u['stopPropagation'](),this['setPlaying'](true),this['dispatchEvent'](new CustomEvent(h['VIDEO_EVENTS']['REPLAY'],{'bubbles':true,'composed':true}));}['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');}}f['BlazeVideoNavigationOverlay']=q;},0xfba:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0xfcf:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['EventsListener']=void 0,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){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':true}),f['LikeService']=void 0;const j=g(0x11c1),k=g(0x1133);class l extends(0, k['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0,void 0,function*(){});}['updateMomentLike'](m,p){return h(this,void 0,void 0,function*(){try{yield j['DatabaseService']['updateMomentLike'](p,m),yield j['ApiService']['updateMomentLikeStatus']({'momentId':p,'setLiked':m});}catch(q){}});}['isMomentLiked'](m){return h(this,void 0,void 0,function*(){try{const p=yield j['DatabaseService']['getMomentLike'](m);return !(!p||!p['data'])&&p['data']['liked'];}catch(q){return false;}});}['updateVideoLike'](m,p){return h(this,void 0,void 0,function*(){try{yield j['DatabaseService']['updateVideoData'](p,{'liked':m}),yield j['ApiService']['updateVideosLikeStatus']({'videoId':p,'setLiked':m});}catch(q){}});}['isVideoLiked'](m){return h(this,void 0,void 0,function*(){try{const p=yield j['DatabaseService']['getVideoLike'](m);return !(!p||!p['data'])&&p['data']['liked'];}catch(q){return false;}});}}f['LikeService']=l['getInstance']();},0x1023:function(d,f,g){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']());});},j=this&&this['__rest']||function(m,p){var q={};for(var r in m)Object['prototype']['hasOwnProperty']['call'](m,r)&&p['indexOf'](r)<0x0&&(q[r]=m[r]);if(null!=m&&'function'==typeof Object['getOwnPropertySymbols']){var u=0x0;for(r=Object['getOwnPropertySymbols'](m);u<r['length'];u++)p['indexOf'](r[u])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](m,r[u])&&(q[r[u]]=m[r[u]]);}return q;};Object['defineProperty'](f,'__esModule',{'value':true}),f['API']=void 0;const k=g(0x26ed),l=g(0x11c1);f['API']=class{constructor(m){this['options']=m;}get['baseUrl'](){return this['options']['baseUrl'];}['get'](m,p){const q=null!=p?p:{},{init:r}=q,u=j(q,['init']);return this['request'](m,Object['assign']({'init':Object['assign'](Object['assign']({},r),{'method':'GET'})},u));}['post'](m,p){const q=null!=p?p:{},{init:r}=q,u=j(q,['init']);return this['request'](m,Object['assign']({'init':Object['assign'](Object['assign']({},r),{'method':'POST'})},u));}['put'](m,p){const q=null!=p?p:{},{init:r}=q,u=j(q,['init']);return this['request'](m,Object['assign']({'init':Object['assign'](Object['assign']({},r),{'method':'PUT'})},u));}['request'](m,p){return h(this,void 0,void 0,function*(){var q,u,v;const w=null!==(q=null==p?void 0:p['init'])&&void 0!==q?q:{},{headers:x}=w,y=j(w,['headers']),z=Object['assign']({'headers':Object['assign'](Object['assign'](Object['assign']({},(null==p?void 0:p['auth'])&&{'Authorization':'Bearer\x20'+(null===(u=l['UserService']['getUserTokenDataFromStorage']())||void 0===u?void 0:u['accessToken'])}),{'Content-Type':'application/json','Accept':'application/json'}),x)},y);try{let A;if((null==p?void 0x0:p['baseUrl'])?A=new URL(p['baseUrl']):(A=new URL(this['baseUrl']+'/'+m),A['searchParams']['set']('ApiKey',l['ConfigService']['apiKey'])),null==p?void 0x0:p['urlSearchParams']){const D=Object['entries'](p['urlSearchParams'])['reduce']((E,[F,G])=>(null!=G&&(E[F]=G),E),{});for(const [E,F]of Object['entries'](D))A['searchParams']['set'](E,F);}let B,C=yield fetch(A,z);return l['ConfigService']['shouldCreateUser']&&C['status']===k['HttpStatus']['Unauthorized']&&(null==p?void 0x0:p['auth'])&&(yield l['UserService']['refreshUserToken'](),z['headers']['Authorization']='Bearer\x20'+(null===(v=l['UserService']['getUserTokenDataFromStorage']())||void 0x0===v?void 0x0:v['accessToken']),C=yield fetch(A,z)),C['ok']&&(B=yield C['json']()),{'data':B,'httpStatus':C['ok']?k['HttpStatus']['Ok']:C['status']};}catch(G){return {'error':G};}});}};},0x1054:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['Z_INDEX']=f['MIN_PADDING_BOTTOM']=f['DEFAULT_CTA_HEIGHT']=void 0,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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x106d:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['getChipSize']=k,f['createChip']=l,f['getMaxChipSize']=m,f['calculateChipSize']=function(p,q,u){const {isOutside:v}=(0, h['calculatePosition'])(q);let w,x=0x0,y=0x0;if(w='chip'===p?u['statusLiveStyle']['isVisible']||u['statusLiveUnreadStyle']['isVisible']||u['statusUnreadStyle']['isVisible']||u['statusReadStyle']['isVisible']:u['badgeIndicatorStyle']['isVisible'],w&&v){const z=m(p,u);'outsideTop'!==q&&'outsideBottom'!==q||(x=Math['floor'](z['height'])),'outsideLeft'!==q&&'outsideRight'!==q||(y=Math['floor'](z['width']));}return {'chipHeight':x,'chipWidth':y};};const h=g(0x2432),j=g(0x22d9);function k(p){const {statusLiveStyle:q,statusLiveUnreadStyle:u,statusReadStyle:v,statusUnreadStyle:w}=p,x=l(q),y=l(u),z=l(v),A=l(w),B=Math['max'](x['width'],y['width'],z['width'],A['width']),C=Math['max'](x['height'],y['height'],z['height'],A['height']);return new DOMRect(0x0,0x0,B,C);}function l(p){const q=j['WidgetsFactory']['create']('blaze-chip');document['body']['append'](q),q['style']['opacity']='0',q['innerText']=p['text'],q['style']['fontSize']=p['textSize'],q['style']['fontFamily']=p['font'],q['style']['backgroundColor']=p['backgroundColor'],q['style']['backgroundImage']=p['backgroundImage'],q['style']['borderColor']=p['borderColor'],q['style']['borderWidth']=p['borderWidth']+'px',q['style']['borderRadius']=p['borderRadius'],q['style']['color']=p['textColor'],q['style']['letterSpacing']=p['letterSpacing'],q['style']['padding']=p['padding'],p['width']&&p['height']&&(q['style']['width']=p['width']+'px',q['style']['height']=p['height']+'px');const u=q['getBoundingClientRect']();return q['remove'](),u;}function m(p,q){if('chip'===p){const {statusLiveStyle:u,statusLiveUnreadStyle:v,statusReadStyle:w,statusUnreadStyle:x}=q;return k({'statusLiveStyle':u,'statusLiveUnreadStyle':v,'statusReadStyle':w,'statusUnreadStyle':x});}return l(q['badgeIndicatorStyle']);}},0x107d:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1093:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1098:function(f,g,j){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':true}),g['BlazeWidgetMomentPlayer']=g['UPDATE_NAVIGATION_BUTTONS_EVENT']=g['MUTE_UNMUTE_EVENT']=void 0;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']=false,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',(0, v['debounce'])(this['handleWheel']['bind'](this),0x0)),this['listeners']['add']('keydown',(0, 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':true,'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 0===I?void 0:I['id']);});if(G>-1){const H=B['distance']/((null===window||void 0===window?void 0:window['screen']['height'])/0.85)*0x3e8;switch(B['offsetDirection']){case Hammer['DIRECTION_UP']:null===(C=this['currentNextAnimation'])||void 0===C||C['seek'](H);break;case Hammer['DIRECTION_DOWN']:null===(D=this['currentPrevAnimation'])||void 0===D||D['seek'](H);break;default:null===(E=this['currentNextAnimation'])||void 0===E||E['seek'](0x0),null===(F=this['currentPrevAnimation'])||void 0===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 0:C['data']['id'],'isAd':null==C?void 0: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 0:D['data']['id'],'isAd':null==D?void 0: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 0===D?void 0:D['parentWidget'];if(H instanceof q['BlazeWidgetLayout']){const I=null===(E=H['widgetItems'])||void 0===E?void 0: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 0===G||G['endExit'](),null===(I=null===(H=this['playerContentList'][D])||void 0===H?void 0:H['video'])||void 0===I||I['startEnter'](),this['handleAnimationCompletion'](B,C);},'changeBegin':()=>{this['handleAnimationStart'](B,C);},'easing':'easeInOutQuad','autoplay':false})['add']({'targets':[this['container']],'keyframes':[{'translateY':-this['playerContentList'][this['index']]['offsetTop'],'duration':0x0},{'translateY':-(null!==(F=null===(E=this['playerContentList'][D])||void 0===E?void 0:E['offsetTop'])&&void 0!==F?F:this['playerContentList'][this['index']]['offsetTop'])}]});}['handleAnimationStart'](B,C){var D,E,F,G,H;this['cancelFocus'](),(null===(D=B['shareModal'])||void 0===D?void 0:D['isOpen'])&&(null===(E=B['shareModal'])||void 0===E||E['close']()),(null===(F=B['closedCaptionsModal'])||void 0===F?void 0:F['isOpen'])&&(null===(G=B['closedCaptionsModal'])||void 0===G||G['close']()),null===(H=this['onContentChange'])||void 0===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 0,void 0,function*(){var D,E,F,G,H;B['navigationType']='Manual',B['navigationDirection']='NEXT'===C?'Forwards':'Backwards',B['isActive']=false,B['pause'](),this['index']+='NEXT'===C?0x1:-1,this['scheduleAccessibilityConfig'](),B['event'](x['MomentAction']['MomentExit'],{}),(null===(E=null===(D=this['currentMoment'])||void 0===D?void 0:D['data'])||void 0===E?void 0:E['id'])&&w['contentAccessibilityManager']['updateButtonLabels'](this['currentMoment']['data']['id'],{'isPlaying':!(null===(F=this['currentMoment']['video'])||void 0===F?void 0:F['paused']),'isMuted':null===(G=this['currentMoment']['video'])||void 0===G?void 0: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 0===H?void 0: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 0,void 0,function*(){this['isNavigationBlocked']=true,y['VideoPlayerService']['isPlaying']=true;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']=false,null===(D=C['seekBar'])||void 0===D||D['setAttribute']('is-active','false'),C['removeResumeButtonFromScreen']());}),B['isActive']=true,this['isNavigationBlocked']=false,y['VideoPlayerService']['isNavigating']=false,y['VideoPlayerService']['isPlaying']=true),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 0,void 0,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 0===F?void 0:F['loadPoster']();});const {previous:B,next:C}=(0, x['getPosterLimits'])();if(0x0===B&&0x0===C)return;const D=this['getCurrentContentIndex']();-1!==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 0,void 0,function*(){var C,D,E,F;const G=null===(F=null===(E=null===(D=null===(C=this['contentList'][B])||void 0===C?void 0:C['data'])||void 0===D?void 0:D['poster'])||void 0===E?void 0:E['rendition'])||void 0===F?void 0: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 0===C?void 0:C['isCurrentlyTryingToRunImaAd'])return;this['isWheelEventHandling']=true;const D=B['deltaY']>0x0?'NEXT':'PREV';this['isContentDirectionInPlayerListValid'](D)?(this['cancelAccessibilityConfig'](),this['isNavigationBlocked']=true,this['changeContent'](D),setTimeout(()=>{this['isWheelEventHandling']=false;},x['ONE_SECOND'])):this['isWheelEventHandling']=false;}['handleNavigationKeyPress'](B){var C;if(this['isNavigationBlocked'])return;if(null===(C=this['currentMoment']['video'])||void 0===C?void 0: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']=true,y['VideoPlayerService']['isNavigating']=true;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 0===D?void 0: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 0===D?void 0: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 0:D['refContentModal'])||void 0===B?void 0:B['updateContentAriaLabelForNavigation'])||void 0===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)=>{Object['defineProperty'](g,'__esModule',{'value':true}),g['BlazeCtaButton']=void 0;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']{constructor(){super(),this['isButtonCreated']=false,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'),(0, 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':'8px','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']=true);}['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){(0, v['mergeStyles'])(this['anchorButtonElement'],x);}['setCtaTextStyle'](x){(0, v['mergeStyles'])(this['ctaTextElement'],x);}['setCtaIconStyles'](x){(0, 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['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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1133:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),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(0x614),f),j(g(0x1723),f),j(g(0x156e),f),j(g(0x257e),f),j(g(0x6b0),f),j(g(0x1577),f);},0x1155:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x116a:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),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 0===k?void 0:k['join']();}};const h=g(0x1133);},0x11c1:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0x21d),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(0x1cf8),f),j(g(0x1cad),f),j(g(0x2564),f),j(g(0x1acb),f);},0x11e2:function(d,f){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':true}),f['delay']=function(h){return g(this,void 0,void 0,function*(){return new Promise(j=>setTimeout(()=>{j();},h));});};},0x1266:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x128c:function(d,f,g){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':true}),f['InteractionService']=void 0;const j=g(0x11c1),k=g(0x1133);class l extends(0, k['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0,void 0,function*(){});}['updateInteraction'](m){return h(this,void 0,void 0,function*(){try{yield j['DatabaseService']['updateInteraction'](m);}catch(p){}});}['getInteraction'](m){return h(this,void 0,void 0,function*(){var p;try{return null===(p=yield j['DatabaseService']['getInteraction'](m))||void 0x0===p?void 0x0:p['data'];}catch(q){return null;}});}}f['InteractionService']=l['getInstance']();},0x129d:(d,f)=>{var g;Object['defineProperty'](f,'__esModule',{'value':true}),f['LogLevel']=void 0,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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x132a:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0x1c8f),f),j(g(0x173),f),j(g(0x1636),f);},0x1330:function(d,f){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':true}),f['LoggerStorage']=void 0,f['LoggerStorage']=class{constructor(h){this['database']=h;}['store'](h){return g(this,void 0,void 0,function*(){return this['database']['storeLog'](h);});}['getBatch'](h){return g(this,void 0,void 0,function*(){return this['database']['getLogBatch'](h);});}['remove'](h){return g(this,void 0,void 0,function*(){if(h['length'])return this['database']['removeLogs'](h);});}['clear'](){return g(this,void 0,void 0,function*(){return this['database']['clearLogs']();});}['getLogCount'](){return g(this,void 0,void 0,function*(){return this['database']['getLogCount']();});}};},0x1345:(f,g,j)=>{Object['defineProperty'](g,'__esModule',{'value':true}),g['BlazeWidgetMomentSeekBar']=void 0;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']=false,this['isActive']=false,this['isInit']=false,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']=false,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 0===C?void 0:C['forEach'])||void 0===D||D['call'](C,E=>E['style']['width']='0%'));}['connectedCallback'](){if(!this['isInit']&&this['seekBarStyle']['isVisible']){if(this['isInit']=true,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=false){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 0===B?void 0:B['call'](window,A);};this['animationFrameId']=null===(z=window['requestAnimationFrame'])||void 0===z?void 0:z['call'](window,A);}['stopProgressUpdate'](){var z;null!==this['animationFrameId']&&(null===(z=window['cancelAnimationFrame'])||void 0===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']=true,null===(z=this['onPause'])||void 0===z||z['call'](this),this['applyPauseSeekBarStyle']());}['handleOnEndDrag'](){var z;this['isActive']&&u['VideoPlayerService']['isSeekBarDragging']&&this['isConnected']&&(u['VideoPlayerService']['isSeekBarDragging']=false,null===(z=this['onResume'])||void 0===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,true);}['onMouseMove'](z){this['handleSeek'](z['clientX'],0x1===z['buttons']);}['onTouchMove'](z){z['touches']['length']>0x0&&(this['handleSeek'](z['touches'][0x0]['clientX'],true),z['preventDefault'](),z['stopImmediatePropagation']());}['handleOnMouseOut'](){this['isActive']&&(u['VideoPlayerService']['isSeekBarDragging']||(this['isMouseIn']=false,setTimeout(()=>{this['applyPlayingSeekBarStyle']();},0x2*p['ONE_SECOND'])));}['handleOnMouseIn'](){this['isActive']&&(this['isMouseIn']=true,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']=false,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']=true,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);(0, 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 0),this['video']instanceof k['BlazeWidgetVideo']&&this['video']['removeLoader']();}}g['BlazeWidgetMomentSeekBar']=y;},0x13a5:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BaseWidget']=void 0;class g extends HTMLElement{constructor(){super(),this['_animationDuration']=0x12c;}['getAttribute'](h){var j;const k=null===(j=super['getAttribute'](h))||void 0===j?void 0: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;},0x13e6:(f,g,h)=>{Object['defineProperty'](g,'__esModule',{'value':true}),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 (0, j['isStory'])(w)?m(w):(0, j['isVideo'])(w)?q(w):(0, j['isMoment'])(w)?u(w):k(w);}},0x13e8:function(d,f,g){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':true}),f['BeforeContentPlayService']=void 0;const j=g(0x1f9e),k=g(0x1e1c);f['BeforeContentPlayService']=class{['getTokenizedUrl'](l){return h(this,void 0,void 0,function*(){var m;const p=j['ConfigService']['beforeContentPlayCallback'];if(!p||'true'!==(null===(m=k['AppConfigurationService']['appConfigurations'])||void 0===m?void 0:m['configurations']['enableClientPlaybackModification']))return l;const q={'originalUrl':l};try{return (yield p(q))['resultUrl']||l;}catch(r){return l;}});}};},0x1407:()=>{!(function(){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']=true,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&&-1==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,true),y(H,'scroll',J,true),this['USE_MUTATION_OBSERVER']&&'MutationObserver'in I&&(L=new I['MutationObserver'](J))['observe'](H,{'attributes':true,'childList':true,'characterData':true,'subtree':true})),this['_monitoringDocuments']['push'](H),this['_monitoringUnsubscribes']['push'](function(){var O=H['defaultView'];O&&(K&&O['clearInterval'](K),z(O,'resize',J,true)),z(H,'scroll',J,true),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(-1!=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 true;for(;O&&O!=J;){var P=q(O);if((O=P&&P['ownerDocument'])==H)return true;}return false;});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=false;!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=true,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:-1,K=I['isIntersecting']?I['intersectionRatio']||0x0:-1;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 true;}},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);-1!=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):'function'==typeof H['attachEvent']&&H['attachEvent']('on'+I,J);}function z(H,I,J,K){'function'==typeof H['removeEventListener']?H['removeEventListener'](I,J,K):'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 true;J=F(J);}return false;}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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1441:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1457:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0x22c1),f),j(g(0x89b),f),j(g(0x10da),f),j(g(0x74c),f),j(g(0x1fa7),f);},0x1492:(f,g,h)=>{Object['defineProperty'](g,'__esModule',{'value':true}),g['BlazeWidgetItem']=void 0;const j=h(0x1133),k=h(0x1932),m=h(0x22d9),p=h(0x11c1),q=h(0x1b52),u=h(0xdf6),v=h(0x2432);class w extends j['BaseWidget']{get['parentRef'](){let x=this['parentElement'];const y=this['getRootNode']();return y instanceof ShadowRoot&&(x=y['host']),x;}constructor(x){super(),this['options']=x,this['thumbnailString']='',this['analyticsCalls']={},this['chipType']='statusReadStyle',this['position']=0x1,this['total']=0x1,this['statusIndicatorSettings']={'backgroundColor':'#ffffff','backgroundImage':'none','textColor':'#fffff','font':'initial','textSize':'10px','letterSpacing':'initial','borderRadius':'initial','borderColor':'#ffffff','thumbnailBorderColor':'#ffffff','text':'','borderWidth':0x2,'isVisible':false,'padding':'3px\x209px'},this['paddingItem']={'top':'0','left':'0','right':'0','bottom':'0'},this['debouncedIntersectionAction']=(0, j['debounce'])(()=>{var A,B,C,D,E,F;(null===(B=null===(A=this['parentRef'])||void 0===A?void 0:A['momentsModal'])||void 0===B?void 0:B['isOpen'])||(null===(D=null===(C=this['parentRef'])||void 0===C?void 0:C['storysModal'])||void 0===D?void 0:D['isOpen'])||(null===(F=null===(E=this['parentRef'])||void 0===E?void 0:E['videosModal'])||void 0===F?void 0:F['isOpen'])||(this['parentRef']['setFirstVisibleItem'](),this['parentRef']['currentlyAnimatedItem']=this['parentRef']['firstVisibleItem'],this['parentRef']['widgetItems']['forEach'](G=>{null==G||G['loadNewThumbnail']();}));},0x3e8);const {layout:y,content:z}=x;this['content']=z,this['layoutStyle']=y,this['statusIndicatorSettings']['borderRadius']='Circle'===this['layoutStyle']['thumbnailShape']?'50%':'0',this['statusIndicatorSettings']['borderWidth']=this['layoutStyle']['borderWidth'],this['thumbnailType']=this['layoutStyle']['thumbnailType'],this['setAttribute']('title',z['title']),this['wrapper']=m['WidgetsFactory']['create']('blaze-div'),this['container']=m['WidgetsFactory']['create']('blaze-div'),this['label']=m['WidgetsFactory']['create']('blaze-div'),this['labelBackground']=m['WidgetsFactory']['create']('blaze-div'),this['labelContainer']=m['WidgetsFactory']['create']('blaze-div'),this['thumbnail']=m['WidgetsFactory']['create']('blaze-image'),this['chip']=m['WidgetsFactory']['create']('blaze-chip'),this['badge']=m['WidgetsFactory']['create']('blaze-chip'),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);}['initializeWidget'](){this['thumbnailType']=(0, u['thumbnailMapping'])(this['layoutStyle']['thumbnailType']),this['setupDOMElements'](),this['setData'](this['content']),this['setupEventListeners'](),this['intersectionObserver']['observe'](this);}['connectedCallback'](){(0, v['setId'])(this,'blaze-widget-item'),this['setAttribute']('data-testid','blaze-widget-item-'+this['content']['id']),this['setAttribute']('role','button'),this['setAttribute']('tabindex','0'),this['style']['outline']='none',this['setAttribute']('aria-keyshortcuts','Enter'),this['setAttribute']('aria-roledescription','Widget\x20item'),this['initializeWidget'](),this['updateLabel'](),this['setChipStyle'](),this['render']();}['updateAriaLabel'](){var x;const y=(null===(x=this['content'])||void 0===x?void 0:x['title'])||'Untitled',z=this['contentType']||'story',A=(0, v['buildContentAriaLabel'])({'contentType':z,'title':y,'content':this['content'],'position':this['position'],'total':this['total'],'badgeStyle':this['layoutStyle']['badgeIndicatorStyle'],'elementType':'button'});this['setAttribute']('aria-label',A);}['updateWidget'](){var x;null===(x=this['parentRef'])||void 0===x||x['updateWidgetsData'](),this['updateAriaLabel']();}['updateWidgetItemPadding'](){var x;null===(x=this['parentRef'])||void 0===x||x['setMaxPaddingOnWidgetItems']();}['updateWidgetItemStyle'](x){this['resetWidgetItemStyles'](),this['setTheme'](x);}['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'}),(0, v['mergeStyles'])(this['chip'],{'display':this['isLive']?'inline':'none','transform':'unset','fontWeight':'bold','inset':'unset'}),(0, v['mergeStyles'])(this['badge'],{'justifyContent':'center','alignItems':'center','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']);}['setupEventListeners'](){this['addEventListener']('click',this['boundOnWidgetClick']),this['addEventListener']('focus',this['boundOnFocus']);}['onFocus'](x){const y=this['parentRef'];if(y&&y['widgetItems']){const z=y['widgetItems']['indexOf'](this);-1!==z&&y['updateFocusedItemIndex'](z);}}['handleWidgetClick'](){var x;if(this['event'](k['WidgetAction']['Click'],{}),q['accessibilityManager']['storeModalFocusReturnTarget'](this),p['ConfigService']['onItemClick']){const y=this['parentRef']['containerId']||'',z=this['getItemIndex'](),A=this['contentType']||'story',B={'containerId':y,'item':this['content'],'itemIndexInContainer':z,'contentType':A};if(p['ConfigService']['onItemClick'](B)['shouldPreventOpen'])return;}null===(x=this['onClick'])||void 0===x||x['call'](this);}['disconnectedCallback'](){this['removeEventListener']('click',this['boundOnWidgetClick']),this['removeEventListener']('focus',this['boundOnFocus']),this['intersectionObserver']['disconnect']();}['handleIntersection'](){this['parentRef']['isAnimatedThumbnail']()&&this['debouncedIntersectionAction']();}['setData'](x){this['content']=x,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'](){var x;const y=(0, v['generateThumbnailAltText'])(this['contentType']||'story',(null===(x=this['content'])||void 0===x?void 0:x['title'])||'Untitled',this['content']);this['thumbnail']['thumbnailElement']['setAttribute']('alt',y),this['chip']['setAttribute']('tabindex','-1'),this['chip']['style']['pointerEvents']='none',this['chip']['focus']&&(this['chip']['focus']=()=>{}),this['badge']['setAttribute']('tabindex','-1'),this['badge']['style']['pointerEvents']='none',this['badge']['focus']&&(this['badge']['focus']=()=>{}),this['labelBackground']['setAttribute']('tabindex','-1'),this['labelBackground']['style']['pointerEvents']='none',this['thumbnail']['setAttribute']('tabindex','-1'),this['thumbnail']['style']['pointerEvents']='none',this['thumbnail']['thumbnailElement']&&(this['thumbnail']['thumbnailElement']['setAttribute']('tabindex','-1'),this['thumbnail']['thumbnailElement']['style']['pointerEvents']='none',this['thumbnail']['thumbnailElement']['focus']=()=>{}),this['label']['setAttribute']('tabindex','-1'),this['label']['setAttribute']('aria-hidden','true'),this['labelContainer']['setAttribute']('tabindex','-1'),this['labelContainer']['setAttribute']('aria-hidden','true');}['isFullyVisibleInParent'](){const x=this['getBoundingClientRect'](),y=this['parentRef']['getBoundingClientRect']();return x['top']>=y['top']&&x['bottom']<=y['bottom']&&x['left']>=y['left']&&x['right']<=y['right'];}['loadNewThumbnail'](){const x=this['getThumbnailUrl']();if(this['thumbnailString']===x)return;const y=new Image();y['src']=x,y['onload']=()=>{this['thumbnail']['load'](x),this['thumbnailString']=x;};}['getThumbnailUrl'](){var x,y,z,A,B,C,D,E;let F,G=null===(z=null===(y=null===(x=this['content'])||void 0===x?void 0:x['thumbnails'][0x0])||void 0===y?void 0:y['rendition'])||void 0===z?void 0:z['url'];return F='AnimatedThumbnailPoster'===this['thumbnailType']?this['parentRef']['currentlyAnimatedItem']===this?'Gif':'AnimatedThumbnailPoster':this['thumbnailType'],G=null!==(E=null===(D=null===(C=null===(B=null===(A=this['content'])||void 0===A?void 0:A['thumbnails'])||void 0===B?void 0:B['find'](H=>H['type']==F))||void 0===C?void 0:C['rendition'])||void 0===D?void 0:D['url'])&&void 0!==E?E:G,G||'';}['setThumbnailBorderColor'](x){this['container']['setStyle']({'borderColor':x});}['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'});}['updateContainerStyles'](){const {borderWidth:x,borderRadius:y,borderPadding:z}=this['layoutStyle'],{thumbnailBorderColor:A,backgroundColor:B}=this['statusIndicatorSettings'],C=x!==this['statusIndicatorSettings']['borderWidth']?this['statusIndicatorSettings']['borderWidth']:x;this['container']['style']['borderWidth']=C+'px',this['container']['style']['borderStyle']='solid',this['container']['style']['borderRadius']=y,this['container']['style']['padding']=z+'px';const D=A||B;this['setThumbnailBorderColor'](D);}['updateLabelStyles'](){const x=this['layoutStyle']['labelStyle'],y=x['position']['startsWith']('inside'),z=x['position']['startsWith']('outside');this['label']['setStyle']({'fontFamily':x['font'],'fontDisplay':'swap','fontSize':x['fontSize'],'lineHeight':x['height']+'px'}),this['labelContainer']['setStyle']({'padding':x['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']),x['isVisible']||(this['label']['style']['display']='none',this['labelBackground']['style']['display']='none'),z&&this['updateOutsideLabelStyles'](x),y&&this['updateInsideLabelStyles'](x);}['updateInsideLabelStyles'](x){const {isInside:y,isTop:z,isMiddle:A,isBottom:B,isLeft:C,isRight:D}=(0, v['calculatePosition'])(x['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'}),true){case y&&z: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 y&&A: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 y&&B: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(x['backgroundColor']&&(this['labelBackground']['style']['background']=x['backgroundColor']),true){case y&&C:this['label']['setStyle']({'textAlign':x['textAlign']||'start'});break;case y&&D:this['label']['setStyle']({'textAlign':x['textAlign']||'end'});break;default:this['label']['setStyle']({'textAlign':x['textAlign']||'center'});}}['updateOutsideLabelStyles'](x){const y='outsideBottom'===x['position'],z='outsideTop'===x['position'];switch(this['appendChild'](this['labelContainer']),this['labelContainer']['setStyle']({'position':'initial'}),this['labelBackground']['setStyle']({'display':'none'}),this['style']['gap']=(x['isVisible']?x['gap']:0x0)+'px',true){case y:this['labelContainer']['setStyle']({'gridRow':'2'}),this['setStyle']({'gridTemplateRows':'min-content\x20min-content','gridTemplateColumns':'initial'}),this['container']['setStyle']({'alignContent':'flex-start'});break;case z:this['labelContainer']['setStyle']({'gridRow':'1'}),this['setStyle']({'gridTemplateRows':'min-content\x20min-content','gridTemplateColumns':'initial','alignContent':'space-between'}),this['container']['setStyle']({'alignSelf':'flex-end'});}x['textAlign']&&this['label']['setStyle']({'textAlign':x['textAlign']});}['updateThumbnailStyles'](){if(this['layoutStyle']&&this['thumbnail']){const x=(0, v['checkAspectRatios'])(this['layoutStyle']['itemRatio']);'16/9'===x?this['thumbnail']['setHeight']('-webkit-fill-available'):'9/16'===x&&this['thumbnail']['setHeight']('100%'),this['thumbnail']['setStyle']({'aspectRatio':this['layoutStyle']['itemRatio']['toString'](),'borderRadius':this['layoutStyle']['borderRadius']});}}['updateStatusIndicatorStyle'](x){const z='chip'===x?this['statusIndicatorSettings']:this['layoutStyle']['badgeIndicatorStyle'],A='chip'===x?this['layoutStyle']['statusIndicatorPosition']:this['layoutStyle']['badgePosition'],B='chip'===x?this['chip']:this['badge'];if(!z['isVisible'])return void(B['style']['display']='none');'badge'===x&&this['layoutStyle']['badgeIndicatorStyle']['padding']&&(B['style']['padding']=this['layoutStyle']['badgeIndicatorStyle']['padding'],B['style']['zIndex']='1');const {isOutside:C,isInside:D,isTop:E,isMiddle:F,isBottom:G,isLeft:H,isRight:I}=(0, v['calculatePosition'])(A);let J=0x0,K=0x0;if('badge'===x)z['width']&&(K=Math['floor'](z['width']/0x2)),z['height']&&(J=Math['floor'](z['height']/0x2));else {const O=(0, v['createChip'])(this['statusIndicatorSettings']);K=Math['floor'](O['width']/0x2),J=Math['floor'](O['height']/0x2);}const L='Circle'===this['layoutStyle']['thumbnailShape'],M=this['statusIndicatorSettings']['borderWidth'],N='badge'===x?z['borderWidth']:this['statusIndicatorSettings']['borderWidth'];C?this['handleOutsidePosition']({'isTop':E,'isBottom':G,'isLeft':H,'isRight':I,'height':J,'width':K,'isCircleThumbnail':L,'borderWidthElement':N,'borderWidthThumbnail':M},B):D&&this['handleInsidePosition']({'isTop':E,'isMiddle':F,'isBottom':G,'isLeft':H,'isRight':I,'height':J,'isCircleThumbnail':L,'borderWidthElement':N,'borderWidthThumbnail':M},B),this['applyCommonStyles'](x);}['handleOutsidePosition'](x,y){const {isTop:z,isBottom:A,isLeft:B,isRight:C,height:D,width:E,isCircleThumbnail:F,borderWidthElement:G,borderWidthThumbnail:H}=x;if(z?(y['style']['top']='-'+D+'px',C||B||(this['wrapper']['style']['paddingTop']=D-H+'px',this['paddingItem']['top']=D-H+'px')):A&&(y['style']['bottom']='-'+D+'px',C||B||(this['wrapper']['style']['paddingBottom']=D-H+'px',this['paddingItem']['bottom']=D-H+'px')),B||C){const I=B?'left':'right',J=A||z,K=F&&J?'0':'-'+E+'px',L=B?'paddingLeft':'paddingRight';y['setStyle']({[I]:K,'alignSelf':'center'});const M=F&&J?'0':E+'px';if(this['wrapper']['setStyle']({[L]:M}),this['paddingItem'][I]=M,A||z){const N=A?'bottom':'top';y['setStyle']({[N]:F?'0':'-'+D+'px'});const O=A?'paddingBottom':'paddingTop';this['wrapper']['setStyle']({[O]:F?'0':D+'px'}),this['paddingItem'][N]=M;}}}['handleInsidePosition'](x,y){const {isTop:z,isMiddle:A,isBottom:B,isLeft:C,isRight:D,isCircleThumbnail:E}=x,F={},G=(0, v['calculatePercentage'])(0x5,this['container']),H=(0, v['calculatePercentage'])(0xf,this['container']);(z||B)&&(F['top']=z?E?A?G:H:'4px':'',F['bottom']=B?E?A?G:H:'4px':''),A&&(F['alignSelf']='center'),(C||D)&&(F['left']=C?E?A?G:H:'4px':'',F['right']=D?E?A?G:H:'4px':''),C||D||z||B||(F['textAlign']='center'),y['setStyle'](F);}['applyCommonStyles'](x){var y,z,A,B;const C='chip'===x?this['statusIndicatorSettings']:this['layoutStyle']['badgeIndicatorStyle'],D='chip'===x?this['chip']:this['badge'],E={'fontSize':C['textSize'],'backgroundColor':C['backgroundColor'],'borderColor':C['borderColor'],'borderWidth':C['borderWidth']+'px','borderRadius':C['borderRadius'],'color':C['textColor'],'letterSpacing':C['letterSpacing'],'fontFamily':C['font'],'fontDisplay':'swap','padding':C['padding']};if('badge'===x&&(E['height']=C['height']+'px',E['width']=C['width']+'px'),'none'!==C['backgroundImage']&&(new Image()['src']=C['backgroundImage'],E['backgroundImage']='url(\x27'+C['backgroundImage']+'\x27)',E['backgroundSize']='cover',E['backgroundRepeat']='no-repeat',E['backgroundPosition']='center'),C['positionOffset']&&(E['marginLeft']=null!==(y=C['positionOffset']['left'])&&void 0!==y?y:null,E['marginTop']=null!==(z=C['positionOffset']['top'])&&void 0!==z?z:null,E['marginRight']=null!==(A=C['positionOffset']['right'])&&void 0!==A?A:null,E['marginBottom']=null!==(B=C['positionOffset']['bottom'])&&void 0!==B?B:null),'chip'===x){const G=C['thumbnailBorderColor']||C['borderColor'];this['setThumbnailBorderColor'](G);}D['setStyle'](E),D['innerText']=C['text'];const F=0x0!==D['innerText']['length'];D['style']['display']=C['isVisible']&&(F||'none'!==C['backgroundImage'])?'flex':'none';}['setTheme'](x){this['layoutStyle']=x,this['initializeAndRenderWidget']();}['initializeAndRenderWidget'](){this['initializeWidget'](),this['updateLabel'](),this['setChipStyle'](),this['render']();}['getPaddingOnContainer'](){return this['paddingItem'];}['setPaddingOnContainer'](x){this['paddingItem']=x,this['wrapper']['setStyle']({'paddingTop':x['top'],'paddingBottom':x['bottom'],'paddingLeft':x['left'],'paddingRight':x['right']});}['setChipStyle'](){var x;const y=null===(x=this['content'])||void 0===x?void 0:x['hasViewed'];this['isLive']?y?(this['statusIndicatorSettings']=this['layoutStyle']['statusLiveStyle'],this['chipType']='statusLiveStyle'):(this['statusIndicatorSettings']=this['layoutStyle']['statusLiveUnreadStyle'],this['chipType']='statusLiveUnreadStyle'):y?(this['statusIndicatorSettings']=this['layoutStyle']['statusReadStyle'],this['chipType']='statusReadStyle'):(this['statusIndicatorSettings']=this['layoutStyle']['statusUnreadStyle'],this['chipType']='statusUnreadStyle');}['getItemIndex'](){var x,y;return Array['from'](null!==(y=null===(x=null==this?void 0:this['parentNode'])||void 0===x?void 0:x['children'])&&void 0!==y?y:[])['indexOf'](this);}['event'](x,y,z=void 0){var A,B,C,D,E,F,G,H;if(x==k['WidgetAction']['Load']||x==k['WidgetAction']['Visible']){if(this['analyticsCalls'][x])return;this['analyticsCalls'][x]=true;}try{const I=this['parentRef'],J=I['getBoundingClientRect']();y['widget_id']=I['id'],y['widget_name']=I['id'],y['widget_size']=Math['round'](null==J?void 0x0:J['width'])+'x'+Math['round'](null==J?void 0x0:J['height']),y['widget_type']=null===(A=I['widgetType'])||void 0x0===A?void 0x0:A['call'](I),y['widget_content_count']=null===(B=null==I?void 0x0:I['contents'])||void 0x0===B?void 0x0:B['length'],y['widget_content_list']=null===(C=null==I?void 0x0:I['contents'])||void 0x0===C?void 0x0:C['map'](L=>L['id'])['join'](),y['content_id']=null===(D=this['content'])||void 0x0===D?void 0x0:D['id'],y['content_index']=this['getItemIndex'](),y['content_name']=null===(E=this['content'])||void 0x0===E?void 0x0:E['title'],y['content_type']=this['contentType']?this['contentType']['charAt'](0x0)['toUpperCase']()+this['contentType']['slice'](0x1):'',y['placement_distance']=Math['round']((null==J?void 0x0:J['top'])||0x0)['toString'](),y['thumbnail_aspect_ratio']=null===(F=this['layoutStyle'])||void 0x0===F?void 0x0:F['itemRatio']['toString'](),y['thumbnail_type']=null===(G=this['layoutStyle'])||void 0x0===G?void 0x0:G['thumbnailShape'],y['thumbnail_size']=(null==I?void 0x0:I['thumbnailWidth'])+'x'+(null==I?void 0x0:I['thumbnailHeight']);const K=new j['ReferringEventInfo']();K['origin_widget_id']=I['id'],K['origin_widget_name']=I['id'],K['origin_widget_type']=null===(H=I['widgetType'])||void 0x0===H?void 0x0:H['call'](I),K['labels_expression']=I['getAttribute']('labels'),document['referrer']&&(K['referrer_page_url']=document['referrer']),p['AnalyticsService']['pushWidgetEvent'](x,Object['assign']({},y),z,K);}catch(L){}}['render'](){this['updateContainerStyles'](),this['updateLabelStyles'](),this['updateThumbnailStyles'](),this['updateStatusIndicatorStyle']('chip'),this['updateStatusIndicatorStyle']('badge');}['updateAccessibilityInfo'](x){this['position']=x['position'],this['total']=x['total'],x['contentType']&&(this['contentType']=x['contentType']),this['updateAriaLabel'](),this['setupChildElementsAccessibility']();}}g['BlazeWidgetItem']=w;},0x14e2:function(f,g,j){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':true}),g['BlazePlayerMenu']=g['PLAYER_MENU_ATTRIBUTES']=g['PLAYER_MENU_EVENTS']=void 0;const q=m(j(0xad8)),v=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 v['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['attachShadow']({'mode':'open'});}['connectedCallback'](){this['append'](this['backdropContainer']),this['append'](this['menuContainer']),this['setupEventListeners']();}['disconnectedCallback'](){var D;null===(D=this['detachTouchEventListeners'])||void 0===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':false}),this['menuContainer']['addEventListener']('touchmove',this['boundPreventScrollBubbling'],{'passive':false});}['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']);}['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':v['deviceDetector']['isMobile']?'flex':'none'}),this['titleElement']['setStyle']({'fontFamily':x['Presets']['playerFont'],'color':v['deviceDetector']['isMobile']?x['Colors']['White']:'#bababa','fontSize':v['deviceDetector']['isMobile']?'1rem':'0.75rem','fontWeight':v['deviceDetector']['isMobile']?'600':'400'}),this['header']['setStyle']({'width':'100%','position':'relative','display':'flex','flexDirection':'column','justifyContent':v['deviceDetector']['isMobile']?'flex-start':'center','alignItems':v['deviceDetector']['isMobile']?'center':'flex-start','height':(v['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':v['deviceDetector']['isMobile']?'block':'none'}),this['closeButton']['setIconUrl'](z['closeIconSvg']),this['closeButton']['onclick']=()=>{this['collapse'](),this['close']();},v['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<-50&&this['collapse']();};v['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'===v['deviceDetector']['platform']||'tablet'===v['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 0===D||D['appendChild'](F);const G=document['createElement']('slot');null===(E=this['shadowRoot'])||void 0===E||E['appendChild'](G),(0, y['mergeStyles'])(this['menuComponent'],{'borderRadius':'0\x200\x20.5rem\x20.5rem','height':'calc(100%\x20-\x20'+(v['deviceDetector']['isDesktop']?0x38:0x48)+'px)'}),this['menuContainer']['setStyle']({'display':'none','position':'absolute','backgroundColor':'#282828','bottom':v['deviceDetector']['isMobile']?'-100%':'auto','top':v['deviceDetector']['isMobile']?'auto':'50%','transform':v['deviceDetector']['isMobile']?'none':'translateY(-50%)','maxWidth':'360px','left':'1rem','right':'1rem','margin':v['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':true,'composed':true,'detail':{'open':true}}));}['close'](){this['dispatchEvent'](new CustomEvent(g['PLAYER_MENU_EVENTS']['CLOSE'],{'bubbles':true,'composed':true,'detail':{'open':false}}));}['expand'](){this['dispatchEvent'](new CustomEvent(g['PLAYER_MENU_EVENTS']['EXPAND'],{'bubbles':true,'composed':true,'detail':{'expanded':true}}));}['collapse'](){this['dispatchEvent'](new CustomEvent(g['PLAYER_MENU_EVENTS']['COLLAPSE'],{'bubbles':true,'composed':true,'detail':{'expanded':false}}));}['onBackdropClick'](){this['close']();}['onOpenChange'](D){return k(this,void 0,void 0,function*(){D['detail']['open']?(this['setAttribute'](g['PLAYER_MENU_ATTRIBUTES']['OPEN'],'true'),this['backdropContainer']['setStyle']({'display':'block'}),this['menuContainer']['setStyle']({'display':'block'}),v['deviceDetector']['isMobile']&&(yield this['animateMenu'](this['menuOptions']))):(this['setAttribute'](g['PLAYER_MENU_ATTRIBUTES']['OPEN'],'false'),v['deviceDetector']['isMobile']&&(yield this['animateMenu'](this['menuOptions'])),this['backdropContainer']['setStyle']({'display':'none'}),this['menuContainer']['setStyle']({'display':'none'}));});}['onExpandedChange'](D){return k(this,void 0,void 0,function*(){this['setAttribute'](g['PLAYER_MENU_ATTRIBUTES']['EXPANDED'],D['detail']['expanded']['toString']()),yield this['animateMenu'](this['menuOptions']);});}['animateMenu'](D){return k(this,void 0,void 0,function*(){return new Promise(E=>{const F=this['querySelector']('#blaze-player-menu-container');if(!F)return;const G=(null==D?void 0:D['component']['offsetHeight'])||0x0;let H={'targets':F,'duration':0xc8,'easing':'easeInQuad','complete':()=>E(),'bottom':true===this['getAttribute'](g['PLAYER_MENU_ATTRIBUTES']['OPEN'])?'0':'-100%','height':true===this['getAttribute'](g['PLAYER_MENU_ATTRIBUTES']['EXPANDED'])?window['innerHeight']-0x38+'px':G+0x48+'px'};(0, q['default'])(H);});});}}g['BlazePlayerMenu']=C;},0x1529:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0x20b2),f),j(g(0x2382),f),j(g(0x19b0),f),j(g(0x1d65),f);},0x156e:function(d,f,g){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':true}),f['URLManager']=f['URL_PARAMS']=void 0;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=false}=p;if('SingleContent'===k['VideoPlayerService']['playReference'])return;if(!k['ConfigService']['shouldModifyUrlWithStoryId']||!k['ConfigService']['shouldModifyUrlWithContentId'])return;if(v)return;this['isUpdateLocationByScript']=true;const w=this['getHashMatch'](),x=this['getHash']();u&&!w&&q?this['updateContentInHash'](u,q):!u&&w?x?location['hash']=x:this['resetLocation']():u&&w&&q&&(location['hash']=(null==x?void 0:x['length'])>0x1?x+'&blaze/'+q+'/'+u:'blaze/'+q+'/'+u),this['isUpdateLocationByScript']=false;}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,q){location['hash']=location['hash']?location['hash']+'&blaze/'+q+'/'+p:'blaze/'+q+'/'+p;}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 0,void 0,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']();this['updateCurrentUrlWithParams'](q),this['navigateToLink'](v);}});}}f['URLManager']=m,m['isUpdateLocationByScript']=false,m['isBackWasCalled']=false,m['isAutoAdvancingEnabled']=false;},0x1577:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['FollowingsManager']=void 0;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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeWidgetVideoBase']=void 0;class g extends HTMLElement{constructor(){super();}['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'](){const h=this['currentTime']/this['duration'];return h>0x1?0x1:h<0x0?0x0:h;}['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;},0x15c5:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['FOLLOW_BUTTON_STATE_CHANGE']=void 0,f['FOLLOW_BUTTON_STATE_CHANGE']='follow-button-state-change';},0x1636:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['Colors']=void 0,f['Colors']={'DarkPrimary':'#0D0F14','DarkSecondary':'#232935','DarkTertiary':'#929CB3','LightPrimary':'#F8F9FB','LightSeconday':'#DFE1E4','Accent':'#5AA3FF','LiveChip':'#FF364E','ReadGray':'#9C9C9C','TimeColor':'#B6B7B8','White':'#FFFFFF','Black':'#000000','Gray':'#B6B7B8','Yellow':'#FFD325'};},0x1699:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),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(0xc5e),f),j(g(0x239a),f),j(g(0x1a00),f),j(g(0x14e2),f);},0x1703:d=>{var f={'':true,'up':true};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':true,'get':function(){return h;},'set':function(v){if(!g(v))throw new Error('Width\x20must\x20be\x20between\x200\x20and\x20100.');h=v;}},'lines':{'enumerable':true,'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':true,'get':function(){return m;},'set':function(v){if(!g(v))throw new Error('RegionAnchorX\x20must\x20be\x20between\x200\x20and\x20100.');m=v;}},'regionAnchorX':{'enumerable':true,'get':function(){return k;},'set':function(v){if(!g(v))throw new Error('RegionAnchorY\x20must\x20be\x20between\x200\x20and\x20100.');k=v;}},'viewportAnchorY':{'enumerable':true,'get':function(){return q;},'set':function(v){if(!g(v))throw new Error('ViewportAnchorY\x20must\x20be\x20between\x200\x20and\x20100.');q=v;}},'viewportAnchorX':{'enumerable':true,'get':function(){return p;},'set':function(v){if(!g(v))throw new Error('ViewportAnchorX\x20must\x20be\x20between\x200\x20and\x20100.');p=v;}},'scroll':{'enumerable':true,'get':function(){return u;},'set':function(v){var w=function(x){return 'string'==typeof x&&!!f[x['toLowerCase']()]&&x['toLowerCase']();}(v);false===w||(u=w);}}});};},0x1723:function(d,f,g){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':true}),f['throttle']=function(k,l){let m=false;return function(...p){return h(this,void 0,void 0,function*(){m||(k(...p),m=true,yield (0, j['delay'])(l),m=false);});};};const j=g(0x2432);},0x1725:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1729:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['Stopwatch']=void 0,f['Stopwatch']=class{constructor(){this['isRunning']=false,this['extraTime']=0x0,this['startTime']=0x0;}['start'](){this['isRunning']||(this['isRunning']=true,this['startTime']=Date['now']());}['pause'](){this['isRunning']&&(this['isRunning']=false,this['extraTime']+=Date['now']()-this['startTime']);}['durationMS'](){return this['isRunning']?Date['now']()-this['startTime']+this['extraTime']:this['extraTime'];}['reset'](){this['isRunning']=false,this['extraTime']=0x0,this['startTime']=0x0;}};},0x1737:function(f,g,j){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':true}),g['UserService']=void 0;const m=j(0x11c1),p=j(0x1133),q=j(0x26ed),v=j(0x2432),w=j(0x1932),x='accessToken',y='refreshToken',z='userId';class A extends(0, p['Singleton'])(){constructor(){super(),this['_userId']='',this['_sessionId']='',this['_abTest']=null,m['EventBusService']['subscribe']('BlazeDatabaseServiceOpen',this['onBlazeDatabaseServiceOpen']['bind'](this));}get['userId'](){return this['_userId'];}get['sessionId'](){return this['_sessionId'];}get['abTest'](){return this['_abTest'];}set['abTest'](B){this['_abTest']=B;}['init'](){return k(this,void 0,void 0,function*(){m['ConfigService']['shouldCreateUser']&&(yield this['makeSureCurrentExternalUserTokenExists']());const B=new URLSearchParams(window['location']['search'])['get'](p['URL_PARAMS']['SESSION_ID']);B&&(this['_sessionId']=B,p['URLManager']['removeStringParamsFromCurrentUrl'](p['URL_PARAMS']['SESSION_ID']));});}['ensureSessionId'](){this['_sessionId']||(this['_sessionId']=(0, v['getRandomId'])());}['assignUserId'](){return k(this,void 0,void 0,function*(){this['_userId']=yield this['getUserId']();});}['onBlazeDatabaseServiceOpen'](){return k(this,void 0,void 0,function*(){try{yield this['assignUserId'](),this['ensureSessionId']();}catch(B){}});}['getUserId'](){return k(this,void 0,void 0,function*(){if(this['userId'])return this['userId'];let B=yield this['fetchUserIdFromDatabase']();return B||(B=yield this['handleMissingUserId']()),yield m['DatabaseService']['updateUserId'](B),p['URLManager']['removeStringParamsFromCurrentUrl'](p['URL_PARAMS']['USER_ID']),B;});}['fetchUserIdFromDatabase'](){return k(this,void 0,void 0,function*(){try{const B=(yield m['DatabaseService']['getUserId']())['data'];return B?B['value']:null;}catch(C){return null;}});}['handleMissingUserId'](){return k(this,void 0,void 0,function*(){return new URLSearchParams(window['location']['search'])['get'](p['URL_PARAMS']['USER_ID'])||(0, v['getRandomId'])();});}['makeSureCurrentExternalUserTokenExists'](){return k(this,void 0,void 0,function*(){const B=this['getUserTokenDataFromStorage'](),C=this['getStorageItem']('externalId'),D=m['ConfigService']['externalUserId'];B&&C===D||(yield this['getAndStoreNewUserToken']());});}['getAndStoreNewUserToken'](){return k(this,void 0,void 0,function*(){const B={'externalId':m['ConfigService']['externalUserId']},{data:C,error:D,httpStatus:E}=yield m['ApiService']['getUserToken'](B);!D&&E===q['HttpStatus']['Ok']&&C&&this['storeUserTokenData'](C,B['externalId']);});}['refreshUserToken'](){return k(this,void 0,void 0,function*(){const B=this['getUserTokenDataFromStorage']();let C=false;if(B){const D={'externalId':m['ConfigService']['externalUserId'],'tokenData':B};let E=0x0;for(;!C&&E<0x3;){const {data:F,error:G,httpStatus:H}=yield m['ApiService']['refreshUserToken'](D);!G&&H===q['HttpStatus']['Ok']&&F?(this['storeUserTokenData'](F,D['externalId']),C=true):(yield (0, v['delay'])(0xc8),E++);}}C||(yield this['getAndStoreNewUserToken']());});}['storeUserTokenData'](B,C){this['setStorageItem'](x,B['accessToken']),this['setStorageItem'](y,B['refreshToken']),this['setStorageItem'](z,B['userId']),this['setStorageItem']('externalId',C);}['getUserTokenDataFromStorage'](){const B=this['getStorageItem'](x),C=this['getStorageItem'](y),D=this['getStorageItem'](z);if(B&&C&&D)return {'accessToken':B,'refreshToken':C,'userId':D};}['setStorageItem'](B,C){const D=w['WSC_STORAGE_PREFIX']+B;C?localStorage['setItem'](D,C):localStorage['removeItem'](D);}['getStorageItem'](B){return localStorage['getItem'](w['WSC_STORAGE_PREFIX']+B);}}g['UserService']=A['getInstance']();},0x1766:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['WSC_STORAGE_PREFIX']=void 0,f['WSC_STORAGE_PREFIX']='wsc_ias_';},0x1789:function(f,g,j){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':true}),g['BlazeVideoElement']=void 0;const m=j(0x774),q=j(0x1133),v=j(0x1932),w=j(0x26ed),x=j(0x22d9),y=j(0x11c1),z=j(0x132a),A=j(0x2432),B=j(0x23a6);class C extends B['BlazeWidgetVideoBase']{constructor(D=y['VideoPlayerService']){super(),this['videoPlayerState']=D,this['shadow']=this['attachShadow']({'mode':'open'}),this['video']=document['createElement']('video'),this['captionsElement']=x['WidgetsFactory']['create']('blaze-widget-captions'),this['shareModal']=x['WidgetsFactory']['create']('blaze-widget-share-modal'),this['widgetVastAd']=new B['BlazeWidgetVastAd']('video',this['getRefferingObject']['bind'](this)),this['adPercentageShownPlaces']=new Map(),this['adIndex']=0x0,this['forceSkipPreroll']=false,this['lastSavedTime']=0x0,this['shouldSaveAfterSeek']=false,this['inactivityEvents']=['mousemove','keydown','scroll','touchstart'],this['contentType']='video',this['data']={},this['isActionBlocked']=false,this['isInitializing']=false,this['isLoaded']=false,this['isPausedManually']=false,this['videoSessionId']=(0, A['getRandomId'])(),this['startTrigger']='',this['exitTrigger']='',this['navigationType']='',this['boundHandleLoaderDisplay']=this['handleLoaderDisplay']['bind'](this),this['boundHandleLoaderHide']=this['handleLoaderHide']['bind'](this),this['boundHandleTimeUpdate']=this['handleVideoTimeUpdate']['bind'](this),this['boundHandleLoadedMetadata']=this['handleLoadedMetadata']['bind'](this),this['boundHandleVideoEnded']=this['handleVideoEnded']['bind'](this),this['boundHandleSeekDebounce']=(0, q['debounce'])(this['handleSeekRequest']['bind'](this),0x3e8),this['boundHandleMouseIn']=this['handleMouseIn']['bind'](this),this['boundHandleMouseOut']=this['handleMouseOut']['bind'](this),this['boundHandleMouseMove']=this['handleMouseMove']['bind'](this),this['boundHandleOverlayEvents']=this['handleOverlayEvents']['bind'](this),this['boundHandleAdStarted']=this['handleAdStarted']['bind'](this),this['boundHandleAdEnded']=this['handleAdEnded']['bind'](this),this['boundHandleLanguageChange']=this['handleLanguageChange']['bind'](this),this['startOverlayAutoHideTimer']=()=>{this['clearOverlayTimer'](),this['inactivityTimeout']=setTimeout(()=>{this['hidePlayerOverlay']();},0x1388);},q['deviceDetector']['isMobile']||q['deviceDetector']['isTablet']?this['boundHandleClick']=(0, q['debounce'])(this['handleClick']['bind'](this),0xfa):this['boundHandleClick']=this['handleClick']['bind'](this);}['connectedCallback'](){this['initialize'](),this['setupEventListeners']();}['disconnectedCallback'](){this['destroy']();}['attributeChangedCallback'](D,E,F){E!==F&&this['applyAttribute'](D,F);}['setTheme'](D){var E;this['playerStyle']=D,null===(E=this['videoOverlay'])||void 0===E||E['setTheme'](D);}['setWidgetItemParent'](D){this['widgetParentItem']=D;}['setData'](D){this['data']=D,this['adPercentageShownPlaces']['clear']();}['setModal'](D){this['modal']=D;}['setEmbeddedRef'](D){this['embeddedRef']=D;}['setIsPlaying'](D){this['videoOverlay']['videoNavigationOverlay']['setPlaying'](D);}['load'](){return k(this,void 0,void 0,function*(){var D;if(this['isLoaded'])return;this['isLoaded']=true,this['isActionBlocked']=true,this['videoOverlay']['setMuteState'](this['videoPlayerState']['isMuted']);const {title:E,id:F}=this['data'];this['title']=E,this['videoId']=F;const [G,H]=yield Promise['all']([y['VideoService']['getVideoDataById'](F),y['LikeService']['isVideoLiked'](F),this['setupClosedCaptions']()]),I=(null==G?void 0:G['posterCurrentTime'])||this['data']['poster']['rendition']['url'];this['video']['poster']=I,q['deviceDetector']['isIOSMobileTabletSafari']()&&(null===(D=this['posterOverlayElement'])||void 0===D||D['setStyle']({'backgroundImage':'url('+I+')'})),this['isLiked']=H,this['lastSavedTime']=(null==G?void 0:G['currentTime'])||0x0,this['data']['cta']&&this['setCta'](this['data']['cta']),this['playbackStrategy']['initialize']({'overlay':this['videoOverlay']});const {url:J,bitRate:K,aspectRatio:L}=this['data']['baseLayer']['content']['renditions'][0x0];this['aspectRatio']=L,this['playbackStrategy']['loadSource'](J,K,this['lastSavedTime']);});}['setupClosedCaptions'](){return k(this,void 0,void 0,function*(){var D,E;const F=null===(D=this['data']['closedCaptions'])||void 0===D?void 0:D['find'](G=>''+G['language']===localStorage['getItem'](v['LOCAL_STORAGE_KEY_LAST_SELECTED']));this['videoOverlay']['setClosedCaptionState']((null===(E=this['data']['closedCaptions'])||void 0===E?void 0:E['length'])?'enabled':'disabled'),this['videoOverlay']['updateClosedCaptionButtonIcon'](!!F),F&&(yield this['setClosedCaptions'](F['files']));});}['setClosedCaptions'](D){return k(this,void 0,void 0,function*(){var E,F;this['captionsElement']['setAttribute']('is-visible',D&&D['length']?'true':'false'),'Content'===(null===(E=this['data'])||void 0===E?void 0:E['type'])&&(this['captionsElement']['isConnected']||null===(F=this['shadowRoot'])||void 0===F||F['append'](this['captionsElement']),yield this['captionsElement']['initialize'](this['video'],D));});}['setCta'](D){var E,F;false!==(null===(F=null===(E=this['playerStyle'])||void 0===E?void 0:E['cta'])||void 0===F?void 0:F['isVisible'])?this['videoOverlay']['setCta'](D):this['videoOverlay']['removeCta']();}['setTitle'](D){this['videoOverlay']['setAttribute']('video-title',D);}['setLiked'](D){this['videoOverlay']['setLikedState'](D);}['setVideoId'](D){this['video']['setAttribute']('data-video-id',D);}['createSnapshot'](){return k(this,void 0,void 0,function*(){yield new Promise(J=>setTimeout(J,0x64));const D=document['createElement']('canvas'),E=this['video']['videoWidth'],F=this['video']['videoHeight'];D['width']=E,D['height']=F;const G=D['getContext']('2d');let H='',I=0x0;return G&&(I=this['video']['currentTime'],G['drawImage'](this['video'],0x0,0x0,E,F),H=0x0===D['toDataURL']('image/webp')['indexOf']('data:image/webp')?D['toDataURL']('image/webp',0.5):D['toDataURL']('image/jpeg',0.5)),{'currentTime':I,'snapshotDataUrl':H};});}['unload'](){var D;this['isLoaded']&&(this['isLoaded']=false,this['videoOverlay']['removeCta'](),this['videoOverlay']['videoSeekBar']['reset'](),this['videoOverlay']['videoTimer']['resetTimer'](),this['playbackStrategy']['unload'](),q['deviceDetector']['isIOSMobileTabletSafari']()&&(null===(D=this['posterOverlayElement'])||void 0===D||D['setStyle']({'backgroundImage':''})),this['lastMarkedVideoIdAsViewed']=void 0);}['initialize'](){var D;this['isInitializing']||(this['isInitializing']=true,this['playbackStrategy']=m['PlaybackStrategyFactory']['createStrategy'](this['video'],'LONG_FORM_HLS',void 0,this['videoPlayerState']),this['playerCommands']=new m['VideoPlayerCommands'](this['playbackStrategy'],this),this['videoOverlay']=new m['BlazeLongFormControlsOverlay'](this),this['videoOverlay']['setTheme'](this['playerStyle']),this['videoOverlay']['videoTimer']['resetTimer'](),this['videoOverlay']['videoSeekBar']['onPause']=(0, q['debounce'])(()=>{this['pause']();},0x64),this['videoOverlay']['videoSeekBar']['onResume']=()=>k(this,void 0,void 0,function*(){yield this['play']();}),this['setAttribute']('mute',this['videoPlayerState']['isMuted']?'true':'false'),this['videoOverlay']['setMuteState'](this['videoPlayerState']['isMuted']),this['captionsElement']['setAttribute']('hidden','true'),this['setupStyles'](),this['setupVideoElement'](),this['setupOverlay'](),this['setupShareModal'](),y['ConfigService']['shouldAllowClosedCaptions']&&this['configureClosedCaptionsModal'](),q['deviceDetector']['isIOSMobileTabletSafari']()&&this['createPosterOverlay'](),null===(D=this['shadowRoot'])||void 0===D||D['appendChild'](this['widgetVastAd']));}['setupStyles'](){const D=document['createElement']('style');D['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}\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'](D);}['setupVideoElement'](){this['video']['setAttribute']('preload','none'),this['video']['setAttribute']('playsinline','true'),this['video']['setAttribute']('webkit-playsinline','true'),this['video']['controls']=false,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 B['BlazeWidgetClosedCaptionsModal'](this['data']['closedCaptions'],'video'),this['closedCaptionsModal']['onClose']=()=>{this['isPausedManually']||(this['videoPlayerState']['isPlaying']=true,this['setIsPlaying'](true),this['play']());},this['closedCaptionsModal']['onOpen']=()=>{this['videoPlayerState']['isPlaying']&&(this['videoPlayerState']['isPlaying']=false,this['setIsPlaying'](false),this['pause']());},this['closedCaptionsModal']['onClosedCaptionsEnable']=D=>{this['toggleClosedCaptions'](D);},this['closedCaptionsModal']['onClosedCaptionsDisable']=()=>{this['toggleClosedCaptions']();},this['shadow']['appendChild'](this['closedCaptionsModal']);}['toggleClosedCaptions'](D){var E,F;this['setClosedCaptions']((null===(F=null===(E=this['data']['closedCaptions'])||void 0===E?void 0:E['find'](H=>''+H['language']===D))||void 0===F?void 0:F['files'])||[]);const G=(0, A['convertCcLanguageToState'])(this['data']['closedCaptions'],D);this['event']('Off'!==G?v['VideoAction']['ClosedCaptionsOn']:v['VideoAction']['ClosedCaptionsOff'],{});}['setupEventListeners'](){this['video']['addEventListener'](m['EVENTS']['TIMEUPDATE'],this['boundHandleTimeUpdate']),this['video']['addEventListener'](m['EVENTS']['LOADED_METADATA'],this['boundHandleLoadedMetadata']),this['video']['addEventListener'](m['EVENTS']['ENDED'],this['boundHandleVideoEnded']),document['addEventListener'](m['VIDEO_EVENTS']['LOADER_DISPLAY'],this['boundHandleLoaderDisplay']),document['addEventListener'](m['VIDEO_EVENTS']['LOADER_HIDE'],this['boundHandleLoaderHide']),Object['values'](m['VIDEO_EVENTS'])['forEach'](D=>{this['videoOverlay']['addEventListener'](D,this['boundHandleOverlayEvents']);}),q['deviceDetector']['isDesktop']&&(this['addEventListener'](m['EVENTS']['MOUSEENTER'],this['boundHandleMouseIn']),this['addEventListener'](m['EVENTS']['MOUSELEAVE'],this['boundHandleMouseOut']),this['addEventListener'](m['EVENTS']['MOUSEMOVE'],this['boundHandleMouseMove'])),this['addEventListener'](m['EVENTS']['CLICK'],this['boundHandleClick']),this['addEventListener'](w['InternalEvent']['AD_STARTED'],this['boundHandleAdStarted']),this['addEventListener'](w['InternalEvent']['AD_ENDED'],this['boundHandleAdEnded']),A['SharedEventTarget']['addEventListener'](v['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundHandleLanguageChange']),this['inactivityEvents']['forEach'](D=>{document['addEventListener'](D,this['startOverlayAutoHideTimer']);});}['destroy'](){this['playbackStrategy']['destroy'](),this['video']['removeEventListener'](m['EVENTS']['TIMEUPDATE'],this['boundHandleTimeUpdate']),this['video']['removeEventListener'](m['EVENTS']['LOADED_METADATA'],this['boundHandleLoadedMetadata']),this['video']['removeEventListener'](m['EVENTS']['ENDED'],this['boundHandleVideoEnded']),document['removeEventListener'](m['VIDEO_EVENTS']['LOADER_DISPLAY'],this['boundHandleLoaderDisplay']),document['removeEventListener'](m['VIDEO_EVENTS']['LOADER_HIDE'],this['boundHandleLoaderHide']),Object['values'](m['VIDEO_EVENTS'])['forEach'](D=>{this['videoOverlay']['removeEventListener'](D,this['boundHandleOverlayEvents']);}),q['deviceDetector']['isDesktop']&&(this['removeEventListener'](m['EVENTS']['MOUSEENTER'],this['boundHandleMouseIn']),this['removeEventListener'](m['EVENTS']['MOUSELEAVE'],this['boundHandleMouseOut']),this['removeEventListener'](m['EVENTS']['MOUSEMOVE'],this['boundHandleMouseMove'])),this['removeEventListener'](m['EVENTS']['CLICK'],this['boundHandleClick']),this['removeEventListener'](w['InternalEvent']['AD_STARTED'],this['boundHandleAdStarted']),this['removeEventListener'](w['InternalEvent']['AD_ENDED'],this['boundHandleAdEnded']),A['SharedEventTarget']['removeEventListener'](v['CLOSED_CAPTIONS_LANGUAGE_CHANGE'],this['boundHandleLanguageChange']),this['inactivityEvents']['forEach'](D=>{document['removeEventListener'](D,this['startOverlayAutoHideTimer']);}),this['clearOverlayTimer']();}['clearOverlayTimer'](){this['inactivityTimeout']&&(clearTimeout(this['inactivityTimeout']),this['inactivityTimeout']=void 0);}['handleMouseIn'](){this['clearOverlayTimer'](),this['showPlayerOverlay']();}['handleMouseOut'](){this['startOverlayAutoHideTimer']();}['handleMouseMove'](){this['clearOverlayTimer'](),this['showPlayerOverlay'](),this['startOverlayAutoHideTimer']();}['handleClick'](D){var E,F;if(y['VideoPlayerService']['isSeekBarDragging']||this['isActionBlocked'])return;(null===(E=this['shareModal'])||void 0===E?void 0:E['isOpen'])&&(null===(F=this['shareModal'])||void 0===F||F['close']());const G='true'===this['videoOverlay']['getAttribute']('hidden');if(this['video']['paused']){if(q['deviceDetector']['isMobile']||q['deviceDetector']['isTablet'])return void(G?this['showPlayerOverlay']():this['hidePlayerOverlay'](true));this['play'](),this['isPausedManually']=false,this['showPlayerOverlay'](),this['event'](v['VideoAction']['PlaybackPlay'],{'video_end_trigger':'user_play'});}else {if(q['deviceDetector']['isMobile']||q['deviceDetector']['isTablet'])return void(G?this['showPlayerOverlay']():this['hidePlayerOverlay'](true));this['pause'](),this['isPausedManually']=true,this['showPlayerOverlay'](),this['event'](v['VideoAction']['PlaybackPause'],{'video_end_trigger':'user_pause'});}this['videoOverlay']['videoNavigationOverlay']['setPlaying'](!this['video']['paused']);}['showPlayerOverlay'](){this['videoOverlay']['setAttribute']('hidden','false');}['hidePlayerOverlay'](D){D?this['videoOverlay']['setAttribute']('hidden','true'):this['video']['paused']||y['VideoPlayerService']['isSeekBarDragging']||this['video']['readyState']<0x2||!navigator['onLine']?this['startOverlayAutoHideTimer']():this['videoOverlay']['setAttribute']('hidden','true');}['createPosterOverlay'](){var D,E,F,G;!this['posterOverlayElement']&&(null===(F=null===(E=null===(D=this['data'])||void 0===D?void 0:D['poster'])||void 0===E?void 0:E['rendition'])||void 0===F?void 0:F['url'])&&(this['posterOverlayElement']=x['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===(G=this['shadowRoot'])||void 0===G||G['appendChild'](this['posterOverlayElement']),this['updatePosterOverlay']());}['updatePosterOverlay'](){var D,E,F;if(!this['posterOverlayElement']||!(null===(F=null===(E=null===(D=this['data'])||void 0===D?void 0:D['poster'])||void 0===E?void 0:E['rendition'])||void 0===F?void 0:F['url']))return;let G=0x10/0x9;this['video']['videoWidth']&&this['video']['videoHeight']&&(G=this['video']['videoWidth']/this['video']['videoHeight']);const H=G<0x1;this['posterOverlayElement']['setStyle']({'backgroundImage':'url('+this['data']['poster']['rendition']['url']+')','backgroundSize':'contain','backgroundPosition':'center','backgroundRepeat':'no-repeat','backgroundColor':H?'#000000':'transparent'});}['handleVideoEnded'](){return k(this,void 0,void 0,function*(){this['event'](v['VideoAction']['VideoEnd'],{}),this['navigationType']='Automatic',this['exitTrigger']='Video\x20End';try{yield y['VideoService']['updateVideoDataById'](this['videoId'],{'posterCurrentTime':this['data']['poster']['rendition']['url'],'currentTime':0x0});}catch(D){}this['dispatchEvent'](new CustomEvent(m['VIDEO_EVENTS']['NAVIGATION_NEXT'],{'bubbles':true,'composed':true})),this['showPlayerOverlay'](),this['startOverlayAutoHideTimer']();});}['showLoaderWithDelay'](){this['loaderTimeoutId']&&clearTimeout(this['loaderTimeoutId']),this['loaderTimeoutId']=setTimeout(()=>{this['handleLoaderDisplay']();},0x3e8);}['hideLoader'](){this['loaderTimeoutId']&&(clearTimeout(this['loaderTimeoutId']),this['loaderTimeoutId']=void 0),this['handleLoaderHide']();}['handleLoaderDisplay'](){!this['video']['paused']&&this['video']['readyState']>=0x3||this['videoOverlay']['showLoader']();}['handleLoaderHide'](){this['videoOverlay']['hideLoader']();}['handleOverlayEvents'](D){var E,F;switch(D['type']){case m['VIDEO_EVENTS']['MUTE']:this['playerCommands']['executeCommand']('mute'),this['startOverlayAutoHideTimer'](),this['event'](v['VideoAction']['Audio'],{});break;case m['VIDEO_EVENTS']['UNMUTE']:this['playerCommands']['executeCommand']('unmute'),this['startOverlayAutoHideTimer'](),this['event'](v['VideoAction']['Audio'],{});break;case m['VIDEO_EVENTS']['SEEK']:const {seekTime:G,type:H}=D['detail'];this['handleSeek'](G,H);break;case m['VIDEO_EVENTS']['DISPLAY_SEEKED_TIME']:const {seekTime:I}=D['detail'];this['videoOverlay']['videoTimer']['setLayout']('seeking'),this['videoOverlay']['setCurrentTime'](I*this['video']['duration']);break;case m['VIDEO_EVENTS']['FULLSCREEN']:this['event'](v['VideoAction']['ScreenChange'],{'screen_state':{'current_state':'normal'===this['videoPlayerState']['playerLayout']?'default_view':'full_screen','next_state':'normal'===this['videoPlayerState']['playerLayout']?'full_screen':'default_view'}}),this['playerCommands']['executeCommand']('toggleFullscreen'),this['startOverlayAutoHideTimer']();break;case m['VIDEO_EVENTS']['SHARE']:this['handleShareClick'](),this['startOverlayAutoHideTimer']();break;case m['VIDEO_EVENTS']['LIKE']:this['playerCommands']['executeCommand']('likeVideo'),this['startOverlayAutoHideTimer'](),this['event'](this['isLiked']?v['VideoAction']['Like']:v['VideoAction']['Unlike'],{});break;case m['VIDEO_EVENTS']['CTA_CLICKED']:this['handleCtaClick'](D),this['showPlayerOverlay']();break;case m['VIDEO_EVENTS']['CTA_DISMISS']:this['event'](v['VideoAction']['CtaDismissed'],{});break;case m['VIDEO_EVENTS']['CTA_VISIBILE']:this['event'](v['VideoAction']['CtaVisible'],{});break;case m['VIDEO_EVENTS']['PLAY']:this['isPausedManually']=false,this['event'](v['VideoAction']['PlaybackPlay'],{'video_end_trigger':'user_play'}),this['play']();break;case m['VIDEO_EVENTS']['PAUSE']:this['isPausedManually']=true,this['event'](v['VideoAction']['PlaybackPause'],{'video_end_trigger':'user_pause'}),this['pause']();break;case m['VIDEO_EVENTS']['NAVIGATION_PREV']:case m['VIDEO_EVENTS']['NAVIGATION_NEXT']:this['event'](v['VideoAction']['VideoEnd'],{}),this['exitTrigger']='Skip';break;case m['VIDEO_EVENTS']['CLOSE_PLAYER']:const {exitTrigger:J}=D['detail'];this['exitTrigger']=J,this['event'](v['VideoAction']['VideoEnd'],{}),null===(E=this['modal'])||void 0===E||E['close']();break;case m['VIDEO_EVENTS']['CLOSED_CAPTIONS_OPEN_MODAL']:null===(F=this['closedCaptionsModal'])||void 0===F||F['open']();break;case m['VIDEO_EVENTS']['DISPLAY_HIDE_OVERLAY_FROM_CTA']:this['handleClick'](D);break;case m['VIDEO_EVENTS']['UPDATE_CLOSED_CAPTIONS_LOCATION']:const {top:K,left:L}=D['detail'];this['captionsElement']['setAbsolutePosition']({'top':K,'left':L});}}['handleCtaClick'](D){var E,F,G,H,I,J,K,L;const M=D,{url:N}=M['detail'];return this['event'](v['VideoAction']['CtaClick'],{}),(null===(F=null===(E=this['refContentModal'])||void 0===E?void 0:E['parentWidget'])||void 0===F?void 0:F['id'])&&y['EventService']['dispatch'](null===(G=this['refContentModal'])||void 0===G?void 0:G['parentWidget'],w['Delegation']['onWidgetTriggerCTA'],{'widgetId':null===(I=null===(H=this['refContentModal'])||void 0===H?void 0:H['parentWidget'])||void 0===I?void 0:I['id'],'actionType':'URL','actionParam':N}),null===(J=this['shareModal'])||void 0===J||J['close'](),this['exitTrigger']='CTA\x20Click',this['event'](v['VideoAction']['VideoEnd'],{}),(null===(K=this['video'])||void 0===K?void 0:K['paused'])||((null===(L=this['modal'])||void 0===L?void 0:L['player'])['resumeAfterFocus']=true,this['pause']()),true;}['setPlayerLayoutToNormal'](){this['videoOverlay']['setFullscreenState'](false);}['handleSeekRequest'](D,E){return k(this,void 0,void 0,function*(){const F=this['video']['currentTime'];let G=D;(D>0.99||D*this['video']['duration']>this['video']['duration']-0x5)&&(G=Math['max'](0x0,this['video']['duration']-0x5)/this['video']['duration']);const H=G*this['video']['duration'],I={'seek_total_time':Math['abs'](D*this['video']['duration']-this['video']['currentTime']),'seek_direction':H>F?'Forward':'Backward','seek_type':E};this['lastSeekAction']={'action':E,'currentTime':F,'seekedTime':H},this['event'](v['VideoAction']['Seek'],I),yield this['playerCommands']['executeCommand']('seek',G);const J=this['video']['currentTime'];Math['abs'](J-F)<=0x5&&(this['shouldSaveAfterSeek']=true),y['VideoPlayerService']['isSeekBarDragging']?this['hideLoader']():this['play']();});}['handleSeek'](D,E){this['video']['paused']||this['pause'](),this['showLoaderWithDelay'](),this['videoOverlay']['videoTimer']['setLayout']('seeking'),this['videoOverlay']['setCurrentTime'](D*this['video']['duration']),this['boundHandleSeekDebounce'](D,E);}['handleShareClick'](){var D;let E;this['videoPlayerState']['isPlaying']&&this['pause'](),E=location['href']['includes']('blaze/video')||'SingleContent'===y['VideoPlayerService']['playReference']?null===window||void 0===window?void 0:window['location']['href']:location['href']['includes']('#')?location['href']+'&blaze/video/'+this['videoId']:location['href']+'#blaze/video/'+this['videoId'],(null===navigator||void 0===navigator?void 0:navigator['share'])?navigator['share']({'text':this['data']['title'],'url':E})['then'](()=>{})['catch'](F=>{var G;'AbortError'!==F['name']&&(null===(G=this['shareModal'])||void 0===G||G['open'](E));})['finally'](()=>{this['hideLoader'](),this['videoPlayerState']['isPlaying']&&this['play']();}):null===(D=this['shareModal'])||void 0===D||D['open'](E),this['event'](v['VideoAction']['Share'],{});}['pause'](){this['playerCommands']['executeCommand']('pause'),this['videoOverlay']['videoSeekBar']['onContentPaused'](),this['captionsElement']['setAttribute']('text-color','#7E7E7E');}['play'](){return k(this,void 0,void 0,function*(){var D;if(this['clearOverlayTimer'](),yield this['tryToPlayAd']({'current':this['data']['extraInfo']}))return;const E=this['data']['poster']['rendition']['url'];this['videoId']&&E&&this['videoId']!==this['lastMarkedVideoIdAsViewed']&&(yield y['VideoService']['markVideoAsViewed'](this['videoId'],E),this['lastMarkedVideoIdAsViewed']=this['videoId'],!y['ConfigService']['shouldModifyUrlWithContentId']||this['embeddedRef']instanceof B['BlazeWidgetEmbeddedVideo']||q['URLManager']['updateLocationContentHash']({'contentType':'video','contentId':this['videoId']})),this['showLoaderWithDelay'](),(yield this['playerCommands']['executeCommand']('play'))['status']===m['PlayStatus']['Success']?(this['videoOverlay']['videoSeekBar']['onContentResumed'](),this['videoOverlay']['videoTimer']['setLayout']('player'),this['videoOverlay']['videoNavigationOverlay']['hideReplayButton'](),this['captionsElement']['setAttribute']('text-color',z['Colors']['White']),this['setIsPlaying'](true),this['videoPlayerState']['isPlaying']=true,this['data']['hasViewed']||(this['data']['hasViewed']=true,this['updateWidgetStatusReadUnread']()),this['shouldSaveAfterSeek']&&(this['saveCurrentTime'](true),this['shouldSaveAfterSeek']=false)):(this['setIsPlaying'](false),this['videoPlayerState']['isPlaying']=false),this['hideLoader'](),this['isActionBlocked']=false,this['startOverlayAutoHideTimer'](),null===(D=this['posterOverlayElement'])||void 0===D||D['setStyle']({'backgroundImage':''});});}['updateMuteButtonState'](D){this['videoOverlay']['setMuteState'](D);}['handleLoadedMetadata'](){return k(this,void 0,void 0,function*(){this['videoOverlay']['setVideoDuration'](this['video']['duration']);});}['updateWidgetStatusReadUnread'](){this['widgetParentItem']&&(this['widgetParentItem']['updateWidget'](),this['widgetParentItem']['setChipStyle'](),this['widgetParentItem']['render'](),this['widgetParentItem']['updateWidgetItemPadding']());}['handleVideoTimeUpdate'](){return k(this,void 0,void 0,function*(){this['video']['duration']&&!this['video']['paused']&&this['videoOverlay']['setCurrentTime'](this['video']['currentTime']),this['videoOverlay']['videoSeekBar']['updateProgressBar'](this['video']['currentTime'],this['video']['duration']),yield this['saveCurrentTime']();});}['saveCurrentTime'](){return k(this,arguments,void 0,function*(D=false){if(!(this['video']['currentTime']-this['lastSavedTime']>=0x5||D))return;const E=this['video']['currentTime'];this['lastSavedTime']=D?E:this['video']['currentTime'];try{const {currentTime:F,snapshotDataUrl:G}=yield this['createSnapshot']();yield y['VideoService']['updateVideoDataById'](this['data']['id'],{'posterCurrentTime':G,'currentTime':F});}catch(H){}});}['handleLanguageChange'](D){var E;const F=null===(E=this['data']['closedCaptions'])||void 0===E?void 0:E['find'](G=>''+G['language']===D['detail']['language']);this['videoOverlay']['updateClosedCaptionButtonIcon'](!!F);}['handleAdStarted'](){this['adIndex']++,this['isPlayingAd']=true,this['pause']();}['handleAdEnded'](){this['isPlayingAd']=false,this['play']();}static get['observedAttributes'](){return ['mute','video-id','video-title','poster','is-liked','loading'];}get['mute'](){return this['video']['muted'];}set['muted'](D){this['setAttribute']('mute',true===D?'true':'false');}get['videoId'](){return this['getAttribute']('video-id')||'';}set['videoId'](D){this['setAttribute']('video-id',D);}get['title'](){return this['getAttribute']('video-title')||'';}set['title'](D){this['setAttribute']('video-title',D);}get['isLiked'](){return 'true'===this['getAttribute']('is-liked');}set['isLiked'](D){this['setAttribute']('is-liked',true===D?'true':'false');}get['isPlayingAd'](){return 'true'===this['getAttribute']('is-playing-ad');}set['isPlayingAd'](D){this['setAttribute']('is-playing-ad',true===D?'true':'false');}['applyAttribute'](D,E){switch(D){case 'mute':this['playbackStrategy']['setMuted']('true'===E),this['updateMuteButtonState']('true'===E);break;case 'video-id':this['setVideoId'](E);break;case 'video-title':this['setTitle'](E);break;case 'is-liked':this['setLiked']('true'===E);}}['updatePlayerButtonIcons'](){}['resetPosition'](){}['render'](){}['getRefferingObject'](){var D,E,F;const G=new q['ReferringEventInfo'](),H=(null===(D=this['widgetParentItem'])||void 0===D?void 0:D['parentRef'])||(null===(E=this['refContentModal'])||void 0===E?void 0:E['parentWidget']);if(H&&H instanceof B['BlazeWidgetLayout']&&(G['origin_widget_id']=H['id'],G['origin_widget_type']=H['widgetType'](),G['labels_expression']=H['getAttribute']('labels')),y['ConfigService']['staticContentType']&&(G['story_source']='OneBox'),document['referrer']){G['referrer_page_url']=document['referrer'];const I=document['referrer']['indexOf']('#blaze'),J=-1!==I?document['referrer']['slice'](0x0,I):document['referrer'];G['referrer_page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](J)?'Homepage':'Category/Article',G['referrer_page_domain']=document['referrer']?null===(F=new URL(document['referrer']))||void 0===F?void 0:F['hostname']:'';}return G;}['event'](D,E){return k(this,arguments,void 0,function*(F,G,H=void 0){var I,J,K;try{const L=this['getRefferingObject']();if('Content'===this['data']['type']){G['video_id']=this['data']['id'],G['video_title']=this['data']['title'],G['cc_state']=(0x0,A['convertCcLanguageToState'])(this['data']['closedCaptions'],localStorage['getItem'](v['LOCAL_STORAGE_KEY_LAST_SELECTED'])),G['video_session_id']=this['videoSessionId'];const M=q['deviceDetector']['screenOrientation'];if(G['player_orientation']=M['toString']()['charAt'](0x0)['toUpperCase']()+M['toString']()['slice'](0x1)['toLowerCase'](),G['device_orientation']='Horizontal'===this['aspectRatio']?'Landscape':'Portrait',G['screen_state']=G['screen_state']||{'current_state':'normal'===this['videoPlayerState']['playerLayout']?'default_view':'full_screen'},this['data']['cta']['url']){const {duration:N,behavior:O}=this['playerStyle']['cta']['visibility'];G['cta_config']={'visibile_duration':N||0x0,'type':O||''};}else G['cta_config']='';switch(G['audio_state']=this['videoPlayerState']['isMuted']?'Mute':'Unmute',G['video_start_trigger']=this['startTrigger'],G['video_time_start']=this['video']['currentTime'],G['video_duration']=this['video']['duration'],'true'===(null===(J=null===(I=y['AppConfigurationService']['appConfigurations'])||void 0x0===I?void 0x0:I['configurations'])||void 0x0===J?void 0x0:J['analyticsAddEntitiesInfo'])&&(G['content_extra_info']=JSON['stringify'](this['data']['extraInfo'])),F){case v['VideoAction']['VideoEnd']:G['video_end_trigger']=this['exitTrigger'],G['video_time_end']=this['video']['currentTime'],G['video_time_start']=void 0x0;break;case v['VideoAction']['Seek']:G['video_time_end']=this['lastSeekAction']['seekedTime'],G['video_time_start']=null===(K=this['lastSeekAction'])||void 0x0===K?void 0x0:K['currentTime'];}y['AnalyticsService']['pushVideoEvent'](F,G,H,L);}}catch(P){}});}['tryToPlayAd'](D){return k(this,void 0,void 0,function*(){var E;if(this['forceSkipPreroll'])return this['forceSkipPreroll']=false,this['adPercentageShownPlaces']['set'](0x0,true),false;if(this['data']['adInfo']&&(0, A['isImaAdInfo'])(this['data']['adInfo'])&&!this['adPercentageShownPlaces']['get'](0x0)){let F;this['adPercentageShownPlaces']['set'](0x0,true);try{F=null===(E=this['playbackStrategy'])||void 0x0===E?void 0x0:E['getDuration'](),(!F||isNaN(F)||F<=0x0)&&(F=void 0x0);}catch(G){F=void 0;}return yield this['widgetVastAd']['startAd']({'videoElement':this['video'],'adInfo':this['data']['adInfo'],'contentExtraInfo':D,'addCustomParams':void 0,'addExtraAnalyticsParams':()=>({'ad_index':this['adIndex']['toString'](),'session_id':this['videoSessionId']}),'videoUrl':this['data']['baseLayer']['content']['renditions'][0x0]['url'],'videoDuration':F});}return false;});}['markPrerollAsPlayed'](){this['adPercentageShownPlaces']['set'](0x0,true);}['skipNextPrerollOnce'](){this['forceSkipPreroll']=true;}}g['BlazeVideoElement']=C;},0x17e9:(d,f)=>{var g;Object['defineProperty'](f,'__esModule',{'value':true}),f['ConsentEvent']=f['InteractionEvent']=f['ImaAdEvent']=f['AdEvent']=f['VideoEvent']=f['WidgetEvent']=f['MomentEvent']=f['StoryEvent']=f['AnalyticsEvent']=f['ReferringEventInfo']=f['Category']=void 0,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{};},0x17f5:function(d,f){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':true}),f['LoggerThrottle']=void 0,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 0,void 0,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,true);}};},0x183e:function(d,f,g){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':true}),f['BlazeWidgetShareModal']=void 0;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 0===u?void 0:u['bind'](this),this['shareDrawer']['onClose']=null===(v=this['onDrawerClose'])||void 0===v?void 0:v['bind'](this);}['connectedCallback'](){return h(this,void 0,void 0,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 0===u||u['call'](this);}['onDrawerClose'](){var u;null===(u=this['onClose'])||void 0===u||u['call'](this);}['open'](u){this['shareUrl']=u,this['shareDrawer']['open']();}['close'](){this['shareDrawer']['close']();}get['isOpen'](){return true===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 0===navigator?void 0: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 0===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){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':true}),f['LoggerService']=void 0;const j=g(0x11c1),k=g(0x1133),m=g(0xa6c),p=g(0x26ed);class q extends(0, k['Singleton'])(){constructor(){super(),this['loggerManager']=new k['LoggerManager'](new m['LoggerDatabaseAdapter']());}['init'](){return h(this,void 0,void 0,function*(){var u;return yield this['loggerManager']['init'](null===(u=j['AppConfigurationService']['appConfigurations'])||void 0===u?void 0:u['sdkLoggerConfigurations']);});}['destroy'](){return h(this,void 0,void 0,function*(){return this['loggerManager']['destroy']();});}['updateConfiguration'](u){this['loggerManager']['updateConfiguration'](u);}['log'](u,v,w){return h(this,arguments,void 0,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){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':true}),f['EventService']=void 0;const j=g(0x1133),k=g(0x26ed);class l extends(0, j['Singleton'])(){constructor(){super();}['init'](){return h(this,void 0,void 0,function*(){this['rootElement']=document['querySelector']('blaze-sdk');});}['dispatch'](m,p,q={}){var r;const u=new CustomEvent(p['toString'](),{'bubbles':true,'detail':q,'cancelable':true});return null===(r=m['dispatchEvent'])||void 0===r||r['call'](m,u),{'mainEvent':u};}['dispatchAnaltyicsEvents'](m,p){var q,r;const u=new CustomEvent(k['Delegation']['onEventTriggered'],{'bubbles':true,'detail':{'eventType':m,'eventData':p},'cancelable':true});return null===(r=null===(q=this['rootElement'])||void 0===q?void 0:q['dispatchEvent'])||void 0===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',false),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',true),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),true);}};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 true;}return false;}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 0;}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 0!==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 -1;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 -1*++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?-1: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 0!==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 true;return false;},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 true;return false;}(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':true}));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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1932:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),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);},0x19a9:function(f,g,j){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':true}),g['BlazeWidgetVastAd']=void 0;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 0===z?void 0:z['ima'];}constructor(z,A,B=u['VideoPlayerService']){super(),this['contentType']=z,this['getReferringObject']=A,this['videoPlayerState']=B,this['isInitialized']=false,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']=true,this['googleIMA']['settings']['setDisableCustomPlaybackForIOS10Plus'](true),(0, v['mergeStyles'])(this['adContainer'],{'position':'absolute','width':'100%','background':'black','height':'100%','top':'0','left':'0','display':'none','justifyContent':'center','zIndex':'100000'}),(0, 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 0,void 0,function*(){var D,E;if('IMA'!==z['type'])return '';const F=(null===(E=null===(D=u['ConfigService']['imaAdHandler'])||void 0===D?void 0:D['provideAdExtraParams'])||void 0===E?void 0: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 (0, 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 0),this['adsLoader']&&(this['adsLoader']['contentComplete'](),this['adsLoader']=void 0),this['adDisplayContainer']=void 0,this['adContainer']&&(this['adContainer']['innerHTML']='',this['adContainer']['style']['display']='none'),null===(z=this['adContainer'])||void 0===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 0,void 0,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 false;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 0===A||A['addEventListener'](this['googleIMA']['AdsManagerLoadedEvent']['Type']['ADS_MANAGER_LOADED'],O=>this['onAdsManagerLoaded'](O),false),null===(B=this['adsLoader'])||void 0===B||B['addEventListener'](this['googleIMA']['AdErrorEvent']['Type']['AD_ERROR'],this['onAdError']['bind'](this),false),null===(C=this['adsLoader'])||void 0===C||C['getSettings']()['setVpaidMode'](google['ima']['ImaSdkSettings']['VpaidMode']['INSECURE']);const M=yield this['buildImaUrl'](G,H,I,L),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 0!==D?D:0x0)/0x3,null===(E=this['adsLoader'])||void 0===E||E['requestAds'](N),this['onAdEvent']({'type':p['ImaAdAction']['REQUESTED']}),true;});}['onAdsManagerLoaded'](z){const A=new this['googleIMA']['AdsRenderingSettings']();if(A['restoreCustomPlaybackStateOnAdBreakComplete']=true,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 0===A?void 0:A['adProvider'],'backoffice_campaign_data':(null===(B=this['currentAdInfo'])||void 0===B?void 0:B['backofficeCampaignData'])||''},null===(C=this['currentAddExtraAnalyticsParams'])||void 0===C?void 0:C['call'](this)),void 0,null===(D=this['getReferringObject'])||void 0===D?void 0:D['call'](this));}}['onAdError'](){this['onContentResumeRequested']();}['onAdClick'](){setTimeout(()=>{window['focus']();},0x3e8);}['onContentPauseRequested'](){this['adLoaderContainer']['remove'](),this['dispatchEvent'](new CustomEvent(q['InternalEvent']['AD_STARTED'],{'bubbles':true,'composed':true})),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':true,'composed':true})),this['cleanupAdSession']();}['onBlur'](){var z;null===(z=this['adsManager'])||void 0===z||z['pause']();}['onFocus'](){var z;null===(z=this['adsManager'])||void 0===z||z['resume']();}['onVisibilityChange'](){var z,A;'visible'===document['visibilityState']?null===(z=this['adsManager'])||void 0===z||z['resume']():null===(A=this['adsManager'])||void 0===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 0===A?void 0:A['clientWidth']),this['setSearchParamIfNotNullOrZero'](z,'AV_HEIGHT',null===(B=this['videoElement'])||void 0===B?void 0:B['clientHeight']);}['addGoogleAdsMacrosToUrl'](z){var A,B;this['setSearchParamIfNotNullOrZero'](z,'width',null===(A=this['videoElement'])||void 0===A?void 0:A['clientWidth']),this['setSearchParamIfNotNullOrZero'](z,'height',null===(B=this['videoElement'])||void 0===B?void 0: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 0===z||z['pause']();}['resume'](){var z;null===(z=this['adsManager'])||void 0===z||z['resume']();}['handleFullscreenChange'](){this['resizeToVideoElement']();}['resizeToVideoElement'](){this['adsManager']&&this['videoElement']&&setTimeout(()=>{var z,A;const B=null===(z=this['videoElement'])||void 0===z?void 0:z['getBoundingClientRect'](),C=null==B?void 0:B['width'],D=null==B?void 0:B['height'];C&&D&&(null===(A=this['adsManager'])||void 0===A||A['resize'](C,D,this['googleIMA']['ViewMode']['NORMAL']));},0xfa);}}g['BlazeWidgetVastAd']=y;},0x19b0:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['VideoModalTemplate']=void 0;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 0!==u?u:'');}['getService'](){return k['VideoService'];}['getErrorCode'](){return j['ErrorCode']['FailedLoadingVideos'];}}f['VideoModalTemplate']=m;},0x19d2:function(d,f,g){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':true}),f['ShortFormHLSStrategy']=void 0;const j=g(0x774),k=g(0x203c);class l extends k['BaseHLSStrategy']{constructor(){super(...arguments),this['isPrefetchMode']=false,this['fragmentsLoaded']=0x0,this['maxPrefetchFragments']=0x2,this['isBufferLoaderActive']=false,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 0: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']=true,this['video']['controls']=false,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 0===p||p['stopLoad'](),null===(q=this['hls'])||void 0===q||q['off'](Hls['Events']['FRAG_LOADED'],m));};this['hls']['on'](Hls['Events']['FRAG_LOADED'],m),this['hls']['startLoad']();}['enablePrefetchMode'](){this['isPrefetchMode']=true;}['disablePrefetchMode'](){this['isPrefetchMode']=false;}['onLoadingState'](){var m,p;null===(p=null===(m=this['loaderDelegate'])||void 0===m?void 0:m['show'])||void 0===p||p['call'](m);}['onBufferUpdate'](m){}['handlePlaying'](){var m,p;this['isBufferLoaderActive']&&(this['isBufferLoaderActive']=false),null===(p=null===(m=this['loaderDelegate'])||void 0===m?void 0:m['hide'])||void 0===p||p['call'](m),this['lastProgressTime']=Date['now'](),this['lastCurrentTime']=this['video']['currentTime'];}['handlePause'](){var m,p;this['isBufferLoaderActive']&&(this['isBufferLoaderActive']=false),null===(p=null===(m=this['loaderDelegate'])||void 0===m?void 0:m['hide'])||void 0===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 0===p||p['call'](m):(this['pause'](),null===(r=(q=this['hls'])['detachMedia'])||void 0===r||r['call'](q),null===(v=(u=this['hls'])['attachMedia'])||void 0===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']=true,null===(r=null===(q=this['loaderDelegate'])||void 0===q?void 0:q['show'])||void 0===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 0===p||p['stopLoad']()),super['seek'](m);}['play'](){const m=Object['create'](null,{'play':{'get':()=>super['play']}});return h(this,void 0,void 0,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 0===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 0===m?void 0:m['hide'])||void 0===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 0);}['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 0===m?void 0:m['hide'])||void 0===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'](),true));}['canAttemptRecovery'](){const m=Date['now']();return !(m-this['lastRecoveryAttempt']<this['RECOVERY_COOLDOWN']||(this['lastRecoveryAttempt']=m,0x0));}}f['ShortFormHLSStrategy']=l;},0x19d6:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x19e3:function(f,j,k){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':true}),j['WidgetBaseLayout']=void 0;const q=k(0x1133),w=k(0x1932),x=k(0x26ed),z=k(0x22d9),A=k(0x2033),B=k(0x11c1),C=k(0x132a),D=k(0x2432),E=k(0xa29),F=k(0xab4),G=k(0x5ee),H=k(0x264);class I extends H['BlazeWidgetScrollable']{constructor(){super(),this['isWidgetVisible']=false,this['widgetItems']=[],this['analyticsStack']={},this['shouldReloadData']=true,this['shouldReloadWhenPlayerIsClosed']=false,this['contents']=[],this['actionHandlers']=[],this['perItemStyleOverrides']={'playerId':[],'teamId':[],'gameId':[],'roundId':[]},this['activeOverridesLayoutThemes']={'playerId':[],'teamId':[],'gameId':[],'roundId':[]},this['intersectionObserver']=new IntersectionObserver(this['handleIntersection']['bind'](this));}['widgetType'](){return this['getTheme']()['layoutStyle']['columns']>0x1?'Grid':'Row';}get['thumbnailShape'](){var J;return (null===(J=this['getTheme']())||void 0===J?void 0:J['layoutStyle']['thumbnailShape'])||this['getAttribute']('thumbnail-shape');}get['theme'](){return this['getTheme']();}['updateActiveLayoutThemesPerItemWithEntity'](J,K,L){const M=this['activeOverridesLayoutThemes'][J];if(M){const N=M['findIndex'](O=>O['name']===K);-1!==N&&M['splice'](N,0x1),M['push']({'name':K,'theme':L});}else this['activeOverridesLayoutThemes'][J]=[{'name':K,'theme':L}];}['setReloadData'](J){this['shouldReloadData']='object'!=typeof J||!J['hasOwnProperty']('shouldReloadData')||'boolean'!=typeof J['shouldReloadData']||J['shouldReloadData'];}set['contentIds'](J){this['setAttribute']('content-ids',J);}set['storyIds'](J){this['setAttribute']('story-ids',J);}['addDelegateListener'](J,K,L){z['WidgetsFactory']['whenDefined']('blaze-widget-story-modal')['then'](()=>{var M;null===(M=this['storysModal'])||void 0===M||M['addEventListener'](J,K,L);});}['event'](J,K,L=void 0){var M,N,O,P;if(J==w['WidgetAction']['Load']||J==w['WidgetAction']['Visible']){if(this['analyticsStack'][J])return;this['analyticsStack'][J]=true;}try{const Q=this['getBoundingClientRect']();K['widget_id']=this['id'],K['widget_content_count']=null===(M=this['widgetItems'])||void 0x0===M?void 0x0:M['length'],K['widget_content_list']=(null===(N=this['contents'])||void 0x0===N?void 0x0:N['length'])?JSON['stringify'](this['contents']['map'](S=>S['id'])):'',K['widget_size']=Q['width']&&Q['height']?Math['round'](Q['width'])+'x'+Math['round'](Q['height']):'',K['widget_type']=null===(O=this['widgetType'])||void 0x0===O?void 0x0:O['call'](this),K['placement_distance']=Math['round'](Q['top'])['toString'](),K['content_type']=null===(P=this['getAttribute']('content-type'))||void 0x0===P?void 0x0:P['replace'](/^\w/,S=>S['toUpperCase']()),K['thumbnail_aspect_ratio']=this['getTheme']()['layoutStyle']['itemRatio']['toString'](),K['thumbnail_type']=this['thumbnailShape'],K['thumbnail_size']=this['thumbnailWidth']&&this['thumbnailHeight']?this['thumbnailWidth']+'x'+this['thumbnailHeight']:'';const R=new q['ReferringEventInfo']();R['labels_expression']=this['getAttribute']('labels'),document['referrer']&&(R['referrer_page_url']=document['referrer']),B['AnalyticsService']['pushWidgetEvent'](J,Object['assign']({},K),L,R);}catch(S){}}['getTheme'](){switch(this['getAttribute']('content-type')){case 'moment':return this['preset']||C['ThemeFactory']['create']('default','moment');case 'story':return this['preset']||C['ThemeFactory']['create']('default','story');case 'video':return this['preset']||C['ThemeFactory']['create']('default','video');default:return this['preset']||C['ThemeFactory']['create']('default');}}['setTheme'](J){var K,L,M,N;const O=this['getAttribute']('content-type');let P;if('string'==typeof J){if('moment'!==O&&'story'!==O&&'video'!==O&&O)throw new Error('Invalid\x20content\x20type');P='moment'===O?C['ThemeFactory']['create'](J,'moment'):'story'===O?C['ThemeFactory']['create'](J,'story'):C['ThemeFactory']['create'](J,'video');}else {if(!(0, A['isWidgetTheme'])(J))throw new Error('Invalid\x20theme\x20type');if((0, C['isStoryPlayerStyle'])(J['playerStyle'])&&'story'!==O)throw new Error('Invalid\x20theme\x20type\x20-\x20story\x20player\x20style\x20for\x20'+O+'\x20content\x20type');if((0, C['isMomentPlayerStyle'])(J['playerStyle'])&&'moment'!==O)throw new Error('Invalid\x20theme\x20type\x20-\x20moment\x20player\x20style\x20for\x20'+O+'\x20content\x20type');if((0, C['isVideoPlayerStyle'])(J['playerStyle'])&&'video'!==O)throw new Error('Invalid\x20theme\x20type\x20-\x20video\x20player\x20style\x20for\x20'+O+'\x20content\x20type');P=J;}this['preset']=P,null===(K=this['widgetItems'])||void 0===K||K['forEach'](Q=>Q['setTheme'](P['layoutStyle'])),null===(L=this['storysModal'])||void 0===L||L['setTheme'](P['playerStyle']),null===(M=this['momentsModal'])||void 0===M||M['setTheme'](P['playerStyle']),null===(N=this['videosModal'])||void 0===N||N['setTheme'](P['playerStyle']),this['contents']['length']&&this['render']();}['reload'](){this['storysModal']&&this['storysModal']['isOpen']||this['momentsModal']&&this['momentsModal']['isOpen']||this['videosModal']&&this['videosModal']['isOpen']?this['shouldReloadWhenPlayerIsClosed']=true:(this['shouldReloadData']=true,this['loadContent']());}['setMaxItemsDisplaySize'](J){this['setAttribute']('max-display-items-count',J['toString']());}['setDelegations'](J){for(const K in J)this['addEventListener'](K,J[K]);}['setOrderType'](J){this['setAttribute']('order-type',J||'');}['updateDataSource'](J){if(!J)return;const {sourceType:K,ids:L,labels:M,text:N,recommendations:O,orderType:P,maxItems:Q,labelsPriority:R,personalized:S,advancedOrdering:T}=J,U={'shouldReloadData':false};(M||L||N||O)&&(this['setOrderType'](P),this['setMaxItemsSize'](Q,U),this['setPersonalized'](S),this['setAdvancedOrdering'](T),'ids'===K&&L?(this['setContentIds'](L,U),this['setLabelsPriority']('',U),this['setLabels']('',U),this['setRecommendations'](void 0,U),this['setSearchText']('',U)):'labels'===K&&M?(this['setLabels'](M,U),this['setLabelsPriority']((null==R?void 0:R['toString']())||'',U),this['setContentIds']([],U),this['setRecommendations'](void 0,U),this['setSearchText']('',U)):'text'===K&&N?(this['setSearchText'](N,U),this['setLabels']('',U),this['setLabelsPriority']('',U),this['setContentIds']([],U),this['setRecommendations'](void 0,U)):'recommendations'===K&&O&&(this['setRecommendations'](O,U),this['setLabels']('',U),this['setLabelsPriority']('',U),this['setContentIds']([],U),this['setSearchText']('',U)));}['setPersonalized'](J){this['personalized']=J;}['setAdvancedOrdering'](J){this['setAttribute']('advanced-ordering',J||'');}['setLabels'](J,K){this['setReloadData'](K);let L='';if('string'==typeof J)L=J;else {if(Array['isArray'](J))L=J['join']();else {if(!(J instanceof q['BlazeWidgetLabel']))throw new Error('fail\x20to\x20set\x20labels\x20-\x20'+J+',\x20labels\x20must\x20be\x20string,\x20array\x20of\x20strings,\x20or\x20BlazeWidgetLabel...');L=J['toString']();}}this['setAttribute']('labels',L);}['setLabelsPriority'](J,K){if(!J)return void this['setAttribute']('labels-priority','');this['setReloadData'](K);let L='';if('string'==typeof J)L=J['startsWith']('[')&&J['endsWith'](']')?J:'['+J+']';else {if(!Array['isArray'](J))throw new Error('Failed\x20to\x20set\x20labels\x20priority\x20-\x20'+J+'.\x20Labels\x20priority\x20must\x20be\x20a\x20string,\x20array\x20of\x20strings,\x20or\x20array\x20of\x20BlazeWidgetLabel.');L=J['every'](M=>M instanceof q['BlazeWidgetLabel'])?'['+J['map'](M=>M['toString']())['join']()+']':'['+J['join']();}this['setAttribute']('labels-priority',L);}['setSearchText'](J,K){this['setReloadData'](K),this['setAttribute']('text',J);}['setContentIds'](J,K){var L;this['setReloadData'](K),((null===(L=this['getAttribute']('story-ids'))||void 0===L?void 0:L['split'](','))||[])['length']>0x0?this['storyIds']=J['join']():this['contentIds']=J['join']();}['setMaxItemsSize'](J,K){this['setReloadData'](K),this['setAttribute']('max-items',(null==J?void 0:J['toString']())||'');}['setActionHandlers'](J){this['actionHandlers']=J;}['setRecommendations'](J,K){this['setReloadData'](K),this['setAttribute']('recommendations',J?JSON['stringify'](J):'');}['appendModalToBlazeSDK'](J){const K=document['getElementsByTagName']('blaze-sdk')[0x0];K&&K['append'](J);}['updateWidgetsData'](){const J=this['getAttribute']('content-type');if('story'===J||!J){for(const K of this['contents'])K['hasViewed']=(0, D['isReadByLastUnIgnoredPageStatus'])(K);}}['sortContent'](){const J=this['getAttribute']('advanced-ordering');if('story'===this['getContentType']()){const K='LiveFirst'===J,L=M=>{let N=0x0;return K&&(N+=M['isLive']?0x0:0x1),N+=(0, D['getContentScore'])(M),N;};this['contents']['sort']((M,N)=>L(M)-L(N));}else this['contents']['sort']((M,N)=>(0, D['getContentScore'])(M)-(0, D['getContentScore'])(N));}['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'](J){'video'===J?customElements['whenDefined']('blaze-video-modal')['then'](()=>{this['videosModal']||(this['videosModal']=new E['BlazeWidgetVideoModal'](this,this['getTheme']()['playerStyle']),this['appendModalToBlazeSDK'](this['videosModal']),this['setupVideoModalCallbacks']());}):'moment'===J?customElements['whenDefined']('blaze-widget-moment-modal')['then'](()=>{this['momentsModal']||(this['momentsModal']=new F['BlazeWidgetMomentModal'](this,this['getTheme']()['playerStyle'],this['actionHandlers']),this['appendModalToBlazeSDK'](this['momentsModal']),this['setupMomentModalCallbacks']());}):'story'!==J&&''!==J||customElements['whenDefined']('blaze-widget-story-modal')['then'](()=>{this['storysModal']||(this['beforeStoryModalCreation'](),this['storysModal']=new G['BlazeWidgetStoryModal'](this,this['getTheme']()['playerStyle'],this['actionHandlers']),this['appendModalToBlazeSDK'](this['storysModal']),this['setupStoryModalCallbacks']());});}['beforeStoryModalCreation'](){}['loadContent'](){return m(this,void 0,void 0,function*(){const J=this['getAttribute']('content-type'),K='story'===J||!J,L='moment'===J,M='video'===J;if(this['createModal'](J),!this['shouldReloadData'])return;const N=this['getAttribute']('max-items'),O=this['getAttribute']('labels'),P=this['getAttribute']('labels-priority'),Q=this['getAttribute']('order-type'),R=this['getAttribute']('advanced-ordering'),S=this['personalized'],T=this['getAttribute']('text'),U=this['getAttribute']('recommendations')?JSON['parse'](this['getAttribute']('recommendations')):void 0,V=this['getAttribute']('story-ids'),W=null==V?void 0:V['split'](','),X=this['getAttribute']('content-ids'),Y=null==X?void 0:X['split'](',');let Z=[];try{let a0;if(B['EventService']['dispatch'](this,x['Delegation']['onWidgetDataLoadStarted'],{'widgetId':this['id']}),K){const a1=(null==W?void 0x0:W['length'])||(null==Y?void 0x0:Y['length'])?'ids':(null==O?void 0x0:O['length'])?'labels':(null==T?void 0x0:T['length'])?'text':'labels';a0=yield B['StoryService']['fetchContent']({'sourceType':a1,'ids':W||Y,'labels':O,'text':T,'orderType':Q,'maxItems':N,'labelsPriority':P,'advancedOrdering':R,'personalized':S});}else {if(L){let a2='labels';(null==X?void 0x0:X['length'])?a2='ids':(null==O?void 0x0:O['length'])?a2='labels':(null==U?void 0x0:U['forYou'])||(null==U?void 0x0:U['trending'])?a2='recommendations':(null==T?void 0x0:T['length'])&&(a2='text'),a0=yield B['MomentService']['fetchContent']({'sourceType':a2,'ids':Y,'labels':O,'text':T,'orderType':Q,'maxItems':N,'labelsPriority':P,'recommendations':U});}else {if(M){const a3=(null==X?void 0x0:X['length'])?'ids':(null==O?void 0x0:O['length'])?'labels':(null==T?void 0x0:T['length'])?'text':'labels';a0=yield B['VideoService']['fetchContent']({'sourceType':a3,'ids':Y,'labels':O,'text':T,'orderType':Q,'maxItems':N,'labelsPriority':P});}}}if(a0&&(Z=a0['result'],this['defaultAdsInfo']=null==a0?void 0x0:a0['defaultAdsInfo']),!Z['length'])throw new Error(x['ErrorCode']['FailedLoadingStories']['toString']());a0&&a0['assetsExpiryTime']&&this['handleAssetsExpiry'](a0);}catch(a4){return void(yield this['handleContentLoadError'](a4));}try{K?this['contents']=yield B['StoryService']['enrichContent'](Z):L?this['contents']=yield B['MomentService']['enrichContent'](Z):M&&(this['contents']=yield B['VideoService']['enrichContent'](Z));}catch(a5){this['contents']=Z,B['EventService']['dispatch'](this,x['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':x['ErrorCode']['FailedEnrichStories']});}yield this['handlePostContentLoad'](K,L,M);});}['handleContentLoadError'](J){return m(this,void 0,void 0,function*(){var K;yield null===(K=this['removeSkeletonContainer'])||void 0===K?void 0:K['call'](this),B['EventService']['dispatch'](this,x['Delegation']['onWidgetDataLoadCompleted'],{'widgetId':this['id'],'storyCount':0x0,'contentCount':0x0}),B['EventService']['dispatch'](this,x['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':x['ErrorCode']['FailedLoadingStories']});});}['handleStoryContent'](){var J,K,L;if(null===(J=this['storysModal'])||void 0===J||J['setModalContent'](this['contents'],0x0),!(0, C['isStoryPlayerStyle'])(this['theme']['playerStyle']))throw new Error('Invalid\x20player\x20style\x20for\x20story\x20content');null===(K=this['storysModal'])||void 0===K||K['setTheme'](this['theme']['playerStyle']),'default'===B['ConfigService']['prefetchingPolicy']&&(null===(L=this['storysModal'])||void 0===L||L['player']['contentList'][0x0]['load']());}['handleVideoContent'](){var J,K;if(null===(J=this['videosModal'])||void 0===J||J['setModalContent'](this['contents']),!(0, C['isVideoPlayerStyle'])(this['theme']['playerStyle']))throw new Error('Invalid\x20player\x20style\x20for\x20video\x20content');null===(K=this['videosModal'])||void 0===K||K['setTheme'](this['theme']['playerStyle']);}['handleMomentContent'](){var J,K,L;if(!(0, C['isMomentPlayerStyle'])(this['theme']['playerStyle']))throw new Error('Invalid\x20player\x20style\x20for\x20moment\x20content');null===(J=this['momentsModal'])||void 0===J||J['setModalContent'](this['contents'],0x0,this['defaultAdsInfo']),null===(K=this['momentsModal'])||void 0===K||K['setTheme'](this['theme']['playerStyle']),'default'===B['ConfigService']['prefetchingPolicy']&&(null===(L=this['momentsModal'])||void 0===L||L['player']['contentList'][0x0]['load']('direct'));}['attributeChangedCallback'](J,K,L){if(L)switch(J){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'](L);break;case 'max-display-items-count':if(isNaN(Number(L)))break;const M=Number(L);this['widgetItems']['length']&&this['widgetItems']['forEach']((N,O)=>{N['style']['display']=O<M?'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'===J&&B['EventService']['dispatch'](this,x['Delegation']['onErrorThrown'],{'widgetId':this['id'],'errorCode':x['ErrorCode']['FailedToHaveLabels']});}['playVideo'](J){this['videosModal']&&(this['videosModal']['setModalContent'](this['contents']),B['VideoPlayerService']['playReference']='Widget',this['videosModal']['player']['contentList']['forEach']((K,L)=>{K['startTrigger']='Widget',K['refContentModal']=this['videosModal'],K['widgetParentItem']=this['widgetItems']['length']?this['widgetItems'][L]:{},K['playerStyle']=this['theme']['playerStyle'];}),this['videosModal']['seek'](null!=J?J:''),this['videosModal']['open']());}['playMoment'](J){if(!this['momentsModal'])return;const K=this['momentsModal']['player']['contentList']['findIndex'](L=>L['data']['id']===J);this['momentsModal']['setModalContent'](this['contents'],K,this['defaultAdsInfo']),this['momentsModal']['player']['contentList']['forEach']((L,M)=>{L['momentIndex']=M;}),B['VideoPlayerService']['playReference']='Widget',this['momentsModal']['player']['contentList']['forEach']((L,M)=>{L['startTrigger']='Widget',L['refContentModal']=this['momentsModal'],L['widgetParentItem']=this['widgetItems']['length']?this['widgetItems'][M]:{},L['playerStyle']=this['theme']['playerStyle'],L['data']['id']===J&&L['load']('direct');}),this['momentsModal']['seek'](null!=J?J:''),this['momentsModal']['open']();}['playStory'](J){if(!this['storysModal'])return;const K=this['storysModal']['player']['contentList']['findIndex'](L=>L['data']['id']===J);this['storysModal']['setModalContent'](this['contents'],K,this['defaultAdsInfo']),B['VideoPlayerService']['playReference']='Widget',this['storysModal']['parentWidget']=this,this['storysModal']['player']['contentList']['forEach']((L,M)=>{L['startTrigger']='Widget',L['refContentModal']=this['storysModal'],L['widgetParentItem']=this['widgetItems']['length']?this['widgetItems'][M]:{},L['resetStoryLocationIndexToLastUnseen'](),L['data']['id']===J&&L['load']();}),this['storysModal']['seek'](J),this['storysModal']['open']();}['handleAssetsExpiry'](J){}}j['WidgetBaseLayout']=I;},0x1a00:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeTypography']=void 0;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){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':true}),j['BlazeWidgetStory']=void 0;const q=k(0x23a6),w=k(0xb58),x=k(0x1699),z=k(0x1133),A=k(0x1932),B=k(0x26ed),C=k(0x22d9),D=k(0x115),E=k(0x11c1),F=k(0x132a),G=k(0xdf6),H=k(0x2432);class I extends w['BlazeWidgetContent']{get['currentPageIndexWithoutCustomAds'](){return this['pageIndex']-this['pages']['slice'](0x0,this['pageIndex'])['filter'](J=>{var K;return 'Ad'===(null===(K=J['data'])||void 0===K?void 0:K['type']);})['length'];}constructor(J,K,L=[],M,N=E['VideoPlayerService']){var O;super(),this['playerStyle']=J,this['mode']=K,this['actionHandlers']=L,this['aspectRatio']=M,this['videoPlayerState']=N,this['pages']=[],this['data']={},this['isStoryLoadCompletedTriggered']=false,this['isStoryActive']=false,this['isResumeOnFocusExecuted']=false,this['isUnloading']=false,this['isCtaWasClickedOrSwiped']=false,this['pageIndex']=0x0,this['contentType']='story',this['resumeAfterfocus']=false,this['totalPlayStopwatch']=new H['Stopwatch'](),this['navigationTimeout']=null,this['prefetchTimeout']=null,this['lastPageIndexToResume']=0x0,this['elementsToHideOnWebAds']=[],this['elementsToHideOnImaAds']=[],this['requestAnimationId']=null,this['shouldShowImaAdOnStart']=false,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']=[],(0, H['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']=A['Z_INDEX']['onTopOfPlayer'],this['shadowTopElement']['style']['pointerEvents']='none',this['container']['appendChild'](this['shadowTopElement']);const P=C['WidgetsFactory']['create']('blaze-div');if((0, H['mergeStyles'])(P,{'position':'absolute','top':'0%','left':'0%','right':'0%','height':'3px','opacity':'80%','margin':'16px','zIndex':A['Z_INDEX']['onTopOfPlayer']}),this['progressElement']=document['createElement']('div'),(0, H['mergeStyles'])(this['progressElement'],{'width':'100%','height':'100%','display':'grid'}),P['append'](this['progressElement']),this['container']['append'](P),'mobile'===z['deviceDetector']['platform']||'tablet'===z['deviceDetector']['platform']){const a3=()=>{this['videoPlayerState']['isPlaying']&&!E['VideoPlayerService']['isNavigating']&&(this['event'](A['StoryAction']['PlaybackPause'],{'playback_action_method':'Press'}),this['pause']());},a4=()=>{this['videoPlayerState']['isPlaying']&&!E['VideoPlayerService']['isNavigating']&&(this['event'](A['StoryAction']['PlaybackPlay'],{'playback_action_method':'Release'}),this['resume']());};if('Embedded'!==K){const a5=new z['LongPressHandler']({'onStart':a3,'onEnd':a4});a5['attach'](this['container']),this['longPressHandler']=a5;}}const Q=()=>{var a6,a7,a8;null===(a6=this['shareModal'])||void 0===a6||a6['close'](),null===(a7=this['closedCaptionsModal'])||void 0===a7||a7['close'](),this['exitTrigger']='Skip',this['navigationType']='Manual',this['navigationDirection']='Backwards','SingleContent'!==E['VideoPlayerService']['playReference']||0x0!==this['pageIndex']?('SingleContent'===E['VideoPlayerService']['playReference']&&this['revertNextPageButtonToPreviousAction'](),null===(a8=this['resumeAfterBlurButton'])||void 0===a8||a8['setAttribute']('blaze-btn-hidden','true'),this['videoPlayerState']['isPlaying']=true,this['goPrevPage']()):this['currentPage']['currentTime']=0x0;},R=()=>{var a6,a7,a8,a9,aa;null===(a6=this['shareModal'])||void 0===a6||a6['close'](),null===(a7=this['closedCaptionsModal'])||void 0===a7||a7['close'](),this['exitTrigger']='Skip',this['navigationType']='Manual',this['navigationDirection']='Forwards','SingleContent'===E['VideoPlayerService']['playReference']&&this['hasNoMorePagesToPlay']()?E['ConfigService']['shouldAutoAdvance']&&((null===(a8=this['refContentModal'])||void 0===a8?void 0:a8['player'])['renderPlayerBackground'](true),(null===(a9=this['refContentModal'])||void 0===a9?void 0:a9['player'])['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>z['URLManager']['navigateTo']('AUTO_ADVANCE')})):(null===(aa=this['resumeAfterBlurButton'])||void 0===aa||aa['setAttribute']('blaze-btn-hidden','true'),this['videoPlayerState']['isPlaying']=true,this['goNextPage'](this['navigationType']));},U=C['WidgetsFactory']['create']('blaze-button');U['setAttribute']('aria-hidden','true'),U['setAttribute']('role','presentation'),U['setAttribute']('tabindex','-1'),U['setAttribute']('data-testid','blaze-widget-story-prev-page-button'),U['setStyle']({'position':'absolute','top':'0','right':'0','bottom':'15%','left':'0','width':'30%','height':'85%','opacity':'0','-webkit-tap-highlight-color':'transparent','zIndex':A['Z_INDEX']['player']});const V=C['WidgetsFactory']['create']('blaze-button');V['setAttribute']('aria-hidden','true'),V['setAttribute']('role','presentation'),V['setAttribute']('tabindex','-1'),V['setAttribute']('data-testid','blaze-widget-story-next-page-button'),V['setStyle']({'position':'absolute','top':'0','right':'RTL'===E['ConfigService']['layoutDirection']?'30%':'0','bottom':'15%','left':'RTL'===E['ConfigService']['layoutDirection']?'0':'30%','width':'70%','height':'85%','opacity':'0','-webkit-tap-highlight-color':'transparent','zIndex':A['Z_INDEX']['player']}),U['addEventListener']('click',(0, z['throttle'])(Q,0x64)),V['addEventListener']('click',(0, z['throttle'])(R,0x64)),this['container']['append'](U),this['container']['append'](V),this['topContainer']=C['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':A['Z_INDEX']['onTopOfPlayer']}),this['contentWrapper']=C['WidgetsFactory']['create']('blaze-div'),this['contentWrapper']['setStyle']({'minWidth':'0','display':'flex','flex':'3','gap':'8px','alignItems':'baseline'}),this['contentChip']=C['WidgetsFactory']['create']('blaze-div'),H['AccessibilityUtils']['setElementAccessibilityHidden'](this['contentChip']),this['contentChip']['setStyle']({'display':'flex','alignItems':'center','height':'17px','boxSizing':'border-box','fontWeight':'600','alignSelf':'flex-start','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['contentTitle']=C['WidgetsFactory']['create']('blaze-div'),H['AccessibilityUtils']['setElementAccessibilityHidden'](this['contentTitle']),this['contentTitle']['innerText']='',this['contentTitle']['setStyle']({'margin':'0px','textOverflow':'ellipsis','overflow':'hidden','whiteSpace':'nowrap','fontWeight':'600','color':this['playerStyle']['titleColor'],'display':this['playerStyle']['titleVisible']?'inline':'none','fontFamily':this['playerStyle']['titleFont']}),this['contentPublishedDate']=C['WidgetsFactory']['create']('blaze-div'),H['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['contentTitle']),this['contentWrapper']['append'](this['contentChip']),this['contentWrapper']['append'](this['contentPublishedDate']),this['topContainer']['append'](this['contentWrapper']),this['container']['append'](this['topContainer']),this['buttonsContainer']=C['WidgetsFactory']['create']('blaze-div'),this['buttonsContainer']['setStyle']({'display':'flex','height':'30px','gap':'1rem','zIndex':A['Z_INDEX']['onTopOfPlayer']});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']),a0=null===(O=this['actionHandlers'])||void 0===O?void 0:O['filter'](a6=>a6['actionId']===B['ActionHandlerId']['AddCustomActionButton'])['slice'](0x0,0x2),a1=!(!a0[0x0]||!this['playerStyle']['icons']['customActionButtonOne']),a2=!(!a0[0x1]||!this['playerStyle']['icons']['customActionButtonTwo']);(W||X||Z||Y)&&'Embedded'!==this['mode']&&this['createResumeAfterBlurButton'](),'desktop'===z['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'})),a1&&this['isButtonVisible']('CUSTOM_ACTION_BUTTON_ONE')&&(this['customActionButtonOneElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['customActionButtonOne'],'eventType':'click','clickHandler':a6=>this['onCustomActionButtonClick'](a6,a0[0x0]['options']),'dataTestId':'blaze-widget-story-custom-action-button-one'})),a2&&this['isButtonVisible']('CUSTOM_ACTION_BUTTON_TWO')&&(this['customActionButtonTwoElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['customActionButtonTwo'],'eventType':'click','clickHandler':a6=>this['onCustomActionButtonClick'](a6,a0[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':a6=>{null==a6||a6['stopPropagation'](),this['exitTrigger']='Close\x20Button',this['navigationDirection']='',this['navigationType']='',this['close'](true);},'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')&&E['ConfigService']['shouldAllowClosedCaptions']&&(this['closedCaptionsButtonElement']=this['createPlayerButtonsAndAppendToButtonsContainer']({'iconUrl':this['playerStyle']['icons']['closedCaptionsOff'],'eventType':'click','clickHandler':this['onClosedCaptionClick']['bind'](this)}),H['AccessibilityUtils']['setElementAccessibilityHidden'](this['closedCaptionsButtonElement'])),this['topContainer']['append'](this['buttonsContainer']),this['bottomContainer']=C['WidgetsFactory']['create']('blaze-div'),this['bottomContainer']['setStyle']({'position':'absolute','bottom':'desktop'===z['deviceDetector']['platform']&&'Full\x20Screen'===K?'-100px':'0','width':'100%','height':'auto','padding':'0px\x2025px\x20'+('Embedded'===K?this['getEmbeddedBottomContainerPaddingBottom']():'40px'),'display':'flex','flexFlow':'column','boxSizing':'border-box','zIndex':A['Z_INDEX']['onTopOfPlayer']}),this['bottomButtonsWrapper']=C['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 x['BlazeCtaButton'](),this['ctaButtonElement']['setStyle']({'justifyContent':G['positionMap']['CENTER']}),this['ctaButtonElement']['setAnchorButtonStyles']({'width':'tablet'===z['deviceDetector']['platform']?'60%':'100%','fontFamily':this['playerStyle']['ctaButton']['font']}),this['ctaButtonElement']['setAttribute']('hidden-btn','true'),this['ctaButtonElement']['addEventListener']('click',a6=>this['handleCtaAction'](a6,'CTA\x20Click')),this['updateCtaButtonLayout'](),this['bottomButtonsWrapper']['append'](this['ctaButtonElement']),this['bannerAdElement']=new q['BlazeWidgetBannerAd'](this),'mobile'===z['deviceDetector']['platform']&&'Embedded'!==K?this['bottomButtonsWrapper']['append'](this['bannerAdElement']):'Embedded'!==K&&(this['bannerAdElement']['style']['position']='absolute',this['bannerAdElement']['style']['bottom']='10px',this['container']['append'](this['bannerAdElement'])),this['container']['append'](this['bottomContainer']),('desktop'===z['deviceDetector']['platform']&&'Full\x20Screen'===this['mode']||'desktop'===z['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':R,'buttonType':'NEXT_PAGE'}),'SingleContent'===E['VideoPlayerService']['playReference']&&(this['originalNextPageDesktopClickListener']=R,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':Q,'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':(0, z['throttle'])(()=>{var a6,a7,a8,a9,aa,ab;if(this['exitTrigger']='Skip','SingleContent'===E['VideoPlayerService']['playReference']&&E['ConfigService']['shouldAutoAdvance'])return (null===(a6=this['refContentModal'])||void 0===a6?void 0:a6['player'])['renderPlayerBackground'](true),void(null===(a7=this['refContentModal'])||void 0===a7?void 0:a7['player'])['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>z['URLManager']['navigateTo']('AUTO_ADVANCE')});null===(a8=this['nextStoryButton'])||void 0===a8||a8['blur'](),null===(a9=this['onNextStory'])||void 0===a9||a9['call'](this,'Manual'),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['NEXT_STORY'],{'bubbles':true,'cancelable':false})),null===(aa=this['shareModal'])||void 0===aa||aa['close'](),null===(ab=this['closedCaptionsModal'])||void 0===ab||ab['close'](),this['currentPage']['muted']=this['videoPlayerState']['isMuted'];},A['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':(0, z['throttle'])(()=>{var a6,a7,a8,a9;this['exitTrigger']='Skip',null===(a6=this['prevStoryButton'])||void 0===a6||a6['blur'](),null===(a7=this['onPrevStory'])||void 0===a7||a7['call'](this,'Manual'),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['PREV_STORY'],{'bubbles':true,'cancelable':false})),null===(a8=this['shareModal'])||void 0===a8||a8['close'](),null===(a9=this['closedCaptionsModal'])||void 0===a9||a9['close'](),this['currentPage']['muted']=this['videoPlayerState']['isMuted'];},A['ONE_SECOND']/0x4),'buttonType':'PREV_STORY'})),this['elementsToHideOnWebAds']['push'](this['bottomContainer'],this['contentTitle'],this['contentPublishedDate'],this['contentChip'],this['fullScreenElement'],this['closedCaptionsButtonElement'],P,this['shadowTopElement'],this['buttonsContainer'],this['bannerAdElement']),this['elementsToHideOnImaAds']['push'](this['bottomContainer'],this['contentTitle'],this['contentPublishedDate'],this['contentChip'],P,this['shadowTopElement'],this['buttonsContainer'],this['muteButtonElement'],this['fullScreenElement'],this['closedCaptionsButtonElement'],this['shareModal'],U,V,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'](B['InternalEvent']['BANNER_ANALYTICS'],a6=>{const a7=a6['detail'];this['bannerAdEvent'](a7);});}['isButtonVisible'](J){let K;return K=['MUTE_UNMUTE','EXIT_PLAYER','PLAY_PAUSE','SHARE','FULLSCREEN','CLOSED_CAPTIONS','CUSTOM_ACTION_BUTTON_ONE','CUSTOM_ACTION_BUTTON_TWO']['includes'](J)?this['playerStyle']['iconsButton']['find'](L=>L['value']===J):this['playerStyle']['iconsButtonNavigation']['find'](L=>L['value']===J),'Embedded'===this['mode']&&(null==K?void 0:K['isEmbeddedVisible'])||'Full\x20Screen'===this['mode']&&(null==K?void 0:K['isVisible']);}['createPlayerButtonsAndAppendToButtonsContainer'](J){const {iconUrl:K,eventType:L,clickHandler:M}=J,N=C['WidgetsFactory']['create']('blaze-button');return N['addEventListener'](L,M),N['setIconUrl'](K),J['dataTestId']&&N['setAttribute']('data-testid',J['dataTestId']),this['buttonsContainer']['append'](N),N;}['createNavigationButtonsAndAppendToWidgetStoryContainer'](J){const {buttonType:K,iconUrl:L,position:M,margin:N,clickHandler:O}=J,P=this['playerStyle']['iconsButtonNavigation']['find'](S=>S['value']===K),Q='RTL'===E['ConfigService']['layoutDirection']?'left'===M?'right':'left':M,R=C['WidgetsFactory']['create']('blaze-button');return R['setStyle']({'position':'absolute',[Q]:'Embedded'===this['mode']?'0':'100%','top':'50%','transform':'RTL'===E['ConfigService']['layoutDirection']?'rotate(180deg)\x20translateY(50%)':'translateY(-50%)',['left'===Q?'marginLeft':'marginRight']:N,'zIndex':'Embedded'===this['mode']?A['Z_INDEX']['onTopOfPlayer']:'auto'}),P&&this['applyIconStyle'](R,P,L),R['addEventListener']('click',O),R['setAttribute']('data-testid','blaze-widget-story-'+K+'-button'),this['container']['append'](R),R;}['createResumeAfterBlurButton'](){this['resumeAfterBlurButton']=C['WidgetsFactory']['create']('blaze-button'),this['resumeAfterBlurButton']['setIconUrl'](D['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 J,K;if(this['resume'](),0x0===this['querySelectorAll']('style')['length']){const L=document['createElement']('style');L['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'](L);}null===(J=this['resumeAfterBlurButton'])||void 0===J||J['setIconUrl'](D['pauseResumeIconSvg']),null===(K=this['resumeAfterBlurButton'])||void 0===K||K['setStyle']({'opacity':'0','pointerEvents':'none','animation':'fadeOut\x200.5s\x20forwards'}),setTimeout(()=>{var M,N;null===(M=this['resumeAfterBlurButton'])||void 0===M||M['setIconUrl'](D['playResumeIconSvg']),null===(N=this['resumeAfterBlurButton'])||void 0===N||N['setStyle']({'opacity':'1','pointerEvents':'auto','animation':'unset','display':'none'});},A['ONE_SECOND']);}),this['container']['append'](this['resumeAfterBlurButton']);}['applyIconStyle'](J,K,L){J['setIconUrl'](L),J['style']['display']=K['isVisible']?'block':'none',(null==K?void 0:K['padding'])&&'Embedded'!==this['mode']?J['style']['padding']=K['padding']:'Embedded'===this['mode']&&(J['style']['padding']='5px'),(null==K?void 0:K['borderRadius'])&&(J['style']['borderRadius']=K['borderRadius']),(null==K?void 0:K['backgroundColor'])&&(J['style']['backgroundColor']=K['backgroundColor']),(null==K?void 0:K['size'])&&'Embedded'!==this['mode']?(J['setAttribute']('width',K['size']),J['setAttribute']('height',K['size'])):(null==K?void 0:K['embeddedSize'])&&'Embedded'===this['mode']&&(J['setAttribute']('width',K['embeddedSize']),J['setAttribute']('height',K['embeddedSize'])),(null==K?void 0:K['color'])&&J['setAttribute']('icon-color',K['color']);}['onCustomActionButtonClick'](J,K){K['onClick'](J,this['data']['entities']),this['event'](A['StoryAction']['CustomActionButtonClick'],{'custom_action_button_name':K['buttonName']});}['onLanguageChange'](J){var K,L,M,N;const O=(null===(K=this['currentContentPage']['closedCaptions'])||void 0===K?void 0:K['find'](P=>''+P['language']===J['detail']['language']))?null===(L=this['playerStyle'])||void 0===L?void 0:L['icons']['closedCaptionsOn']:null===(M=this['playerStyle'])||void 0===M?void 0:M['icons']['closedCaptionsOff'];null===(N=this['closedCaptionsButtonElement'])||void 0===N||N['setIconUrl'](O||'');}['onShareClick'](){return m(this,void 0,void 0,function*(){var J;let K;this['event'](A['StoryAction']['ShareClick'],{}),this['videoPlayerState']['isPlaying']&&this['pause'](),K='SingleContent'===E['VideoPlayerService']['playReference']||location['href']['includes']('blaze/story')?null===window||void 0===window?void 0:window['location']['href']:location['href']['includes']('#')?location['href']+'&blaze/story/'+this['data']['id']:location['href']+'#blaze/story/'+this['data']['id'],(null===navigator||void 0===navigator?void 0:navigator['share'])?navigator['share']({'text':this['data']['title'],'url':K})['then'](()=>{this['event'](A['StoryAction']['ShareSuccess'],{});})['catch'](L=>{var M;'AbortError'!==L['name']&&(null===(M=this['shareModal'])||void 0===M||M['open'](K));})['finally'](()=>{this['videoPlayerState']['isPlaying']&&this['resume']();}):null===(J=this['shareModal'])||void 0===J||J['open'](K);});}['onClosedCaptionClick'](){var J;null===(J=this['closedCaptionsModal'])||void 0===J||J['open']();}['updateCtaButtonLayout'](){var J;this['ctaButtonElement']['setStyle']({'height':'Embedded'===this['mode']?this['getEmbeddedCtaButtonHeight']():null!==(J=this['playerStyle']['ctaButton']['height'])&&void 0!==J?J:A['DEFAULT_CTA_HEIGHT']+'px'}),'Horizontal'===this['aspectRatio']&&this['ctaButtonElement']['setStyle']({'width':this['playerStyle']['ctaButton']['width']===F['Presets']['CtaButtonStyle']['width']?'50%':this['playerStyle']['ctaButton']['width']}),'Embedded'===this['mode']&&('mobile'===z['deviceDetector']['platform']?this['ctaButtonElement']['setStyle']({'maxWidth':'Horizontal'===this['aspectRatio']?'150px':'100%'}):'tablet'===z['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':G['positionMap'][this['playerStyle']['ctaButton']['position']]}),this['ctaButtonElement']['setStyle']({'justifyContent':G['positionMap'][this['playerStyle']['ctaButton']['position']]}),this['ctaButtonElement']['setAnchorButtonStyles']({'fontSize':'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'](J){this['playerStyle']=J,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'](J){'ALL'===J?(this['disableStoriesNavigationButtons'](),this['disablePageNavigationButtons']()):'STORIES_NAVIGATION_ONLY'===J&&this['disableStoriesNavigationButtons']();}['shouldShowBannerAd'](){var J;return Boolean(this['bannerAdElement'])&&false!==this['currentContentPage']['shouldShowBannerAd']&&!('Ad'===(null===(J=this['currentPage']['data'])||void 0===J?void 0:J['type'])||this['data']['isAd']);}['adjustContentView'](){var J,K,L,M,N,O,P,Q,R,S,T,U,V,W;if([...this['elementsToHideOnWebAds'],...this['elementsToHideOnImaAds']]['forEach'](Y=>{Y&&Y!==this['bannerAdElement']&&(Y['style']['visibility']='visible');}),E['ConfigService']['shouldAllowClosedCaptions']){const Y=null===(J=this['currentPage']['data']['closedCaptions'])||void 0===J?void 0:J['find'](Z=>''+Z['language']===localStorage['getItem'](A['LOCAL_STORAGE_KEY_LAST_SELECTED']));this['currentPage']['setAttribute']('is-captions-visible',Boolean(Y)['toString']());}const X='desktop'===z['deviceDetector']['platform'];return 'Ad'===(null===(K=this['currentPage']['data'])||void 0===K?void 0:K['type'])||this['data']['isAd']?(this['elementsToHideOnWebAds']['forEach'](Z=>{Z&&(Z['style']['visibility']='hidden');}),X&&(null===(N=null===(M=null===(L=this['refContentModal'])||void 0===L?void 0:L['player'])||void 0===M?void 0:M['renderPlayerBackground'])||void 0===N||N['call'](M,true),E['ConfigService']['shouldDismissPlayer']&&(null===(O=this['refContentModal'])||void 0===O||O['exitButtonWrapperElement']['setStyle']({'display':'none'}))),E['VideoPlayerService']['muteStateBeforeAd']=this['videoPlayerState']['isMuted']?'mute':'unmute',this['setPlayerButtonPosition']('AD'),this['setButtonNavigationAsDisabled']('STORIES_NAVIGATION_ONLY'),'unmute'===E['VideoPlayerService']['muteStateBeforeAd']&&this['muteToggle'](),void this['currentPage']['setAttribute']('is-captions-visible','false')):this['currentPage']['shouldShowImaAd']?(this['elementsToHideOnImaAds']['forEach'](Z=>{Z&&(Z['style']['visibility']='hidden');}),null===(P=this['longPressHandler'])||void 0===P||P['detach'](this['container']),X&&(null===(S=null===(R=null===(Q=this['refContentModal'])||void 0===Q?void 0:Q['player'])||void 0===R?void 0:R['renderPlayerBackground'])||void 0===S||S['call'](R,true),E['ConfigService']['shouldDismissPlayer']&&(null===(T=this['refContentModal'])||void 0===T||T['exitButtonWrapperElement']['setStyle']({'display':'none'}))),this['setButtonNavigationAsDisabled']('ALL'),void this['currentPage']['setAttribute']('is-captions-visible','false')):('no-ad'!==E['VideoPlayerService']['muteStateBeforeAd']&&(Boolean(this['bannerAdElement'])&&false!==this['currentContentPage']['shouldShowBannerAd']&&(null===(U=this['bannerAdElement'])||void 0===U||U['show'](this['data']['bannerAdInfo'],false)),'iOS'===z['deviceDetector']['OS']||'tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS']?this['videoPlayerState']['isMuted']||this['muteToggle']():'mute'!==E['VideoPlayerService']['muteStateBeforeAd']||this['videoPlayerState']['isMuted']?'unmute'===E['VideoPlayerService']['muteStateBeforeAd']&&this['videoPlayerState']['isMuted']&&this['muteToggle']():this['muteToggle'](),E['VideoPlayerService']['muteStateBeforeAd']='no-ad'),null===(V=this['longPressHandler'])||void 0===V||V['attach'](this['container']),this['setPlayerButtonPosition']('NO_AD'),E['ConfigService']['shouldDismissPlayer']&&(null===(W=this['refContentModal'])||void 0===W||W['render']()),void this['updatePlayerButtonsState'](true));}['setPlayerButtonPosition'](J){var K,L,M,N,O;if('AD'===J)'HORIZONTAL'===this['playerStyle']['iconsPosition']?'LTR'===E['ConfigService']['layoutDirection']?(this['buttonsContainer']['style']['flexDirection']='row-reverse',null===(K=this['muteButtonElement'])||void 0===K||K['setAttribute']('order','-1')):(this['topContainer']['style']['flexDirection']='row',this['buttonsContainer']['style']['flexDirection']='row-reverse',null===(L=this['muteButtonElement'])||void 0===L||L['setAttribute']('order','-1')):'LTR'===E['ConfigService']['layoutDirection']?null===(M=this['muteButtonElement'])||void 0===M||M['setAttribute']('order','-1'):(null===(N=this['muteButtonElement'])||void 0===N||N['setAttribute']('order','-1'),this['topContainer']['style']['flexDirection']='row');else {const P=this['playerStyle']['iconsButtonOrder']['indexOf']('MUTE_UNMUTE');null===(O=this['muteButtonElement'])||void 0===O||O['setAttribute']('order',String(P)),'HORIZONTAL'===this['playerStyle']['iconsPosition']?'LTR'===E['ConfigService']['layoutDirection']?(this['buttonsContainer']['style']['flexDirection']='row',this['topContainer']['style']['flexDirection']='row'):(this['topContainer']['style']['flexDirection']='row',this['buttonsContainer']['style']['flexDirection']='row'):'LTR'===E['ConfigService']['layoutDirection']||(this['topContainer']['style']['flexDirection']='row');}}['updatePlayerButtonIcons'](){var J,K,L,M,N;const O=this['videoPlayerState']['isPlaying']?this['playerStyle']['icons']['pause']:this['playerStyle']['icons']['play'],P=this['videoPlayerState']['isMuted']?this['playerStyle']['icons']['mute']:this['playerStyle']['icons']['unmute'];if(this['playButtonElement']&&this['playButtonElement']['setIconUrl'](O),this['muteButtonElement']&&this['muteButtonElement']['setIconUrl'](P),this['closedCaptionsButtonElement']){if((null===(J=this['currentContentPage']['closedCaptions'])||void 0===J?void 0:J['length'])>0x0){const Q=localStorage['getItem'](A['LOCAL_STORAGE_KEY_LAST_SELECTED']),R=(null===(K=this['currentContentPage']['closedCaptions'])||void 0===K?void 0:K['find'](S=>''+S['language']===Q))?null===(L=this['playerStyle'])||void 0===L?void 0:L['icons']['closedCaptionsOn']:null===(M=this['playerStyle'])||void 0===M?void 0:M['icons']['closedCaptionsOff'];null===(N=this['closedCaptionsButtonElement'])||void 0===N||N['setAttribute']('disabled','false'),this['closedCaptionsButtonElement']['setIconUrl'](R);}else this['closedCaptionsButtonElement']['setAttribute']('disabled','true'),this['closedCaptionsButtonElement']['setIconUrl'](this['playerStyle']['icons']['closedCaptionsOff']);}}['handleCtaAction'](J,K){var L,M,N,O,P,Q,R,S;return this['event'](A['StoryAction']['CtaClick'],{'gesture_type':K}),(null===(L=this['shareModal'])||void 0===L?void 0:L['isOpen'])&&(null===(M=this['shareModal'])||void 0===M||M['close']()),this['playerStyle']['ctaButton']['isDisplayCtaModal']&&(z['deviceDetector']['isMobile']||z['deviceDetector']['isTablet'])&&(null===(N=this['ctaModal'])||void 0===N||N['open']()),J['preventDefault'](),J['stopImmediatePropagation'](),(0, H['delay'])(A['ONE_AND_HALF_SECOND'])['then'](()=>{var T,U;const V=this['ctaButtonElement']['querySelector']('a');'iOS'===z['deviceDetector']['OS']||'Safari'===z['deviceDetector']['browser']?V&&(window['location']['href']=V['href']):(null==V||V['dispatchEvent'](new MouseEvent('click',{'bubbles':false,'cancelable':true,'view':window})),(null===(T=this['ctaModal'])||void 0===T?void 0:T['isOpen'])&&(null===(U=this['ctaModal'])||void 0===U||U['close']())),this['isCtaWasClickedOrSwiped']=false;}),(null===(P=null===(O=this['refContentModal'])||void 0===O?void 0:O['parentWidget'])||void 0===P?void 0:P['id'])&&E['EventService']['dispatch'](null===(Q=this['refContentModal'])||void 0===Q?void 0:Q['parentWidget'],B['Delegation']['onWidgetTriggerCTA'],{'widgetId':null===(S=null===(R=this['refContentModal'])||void 0===R?void 0:R['parentWidget'])||void 0===S?void 0:S['id'],'actionType':'URL','actionParam':this['ctaButtonElement']['getAttribute']('href')}),this['exitTrigger']=K,this['event'](A['StoryAction']['PageExit'],{}),this['event'](A['StoryAction']['Exit'],{}),this['pause'](),this['resumeAfterfocus']=true,true;}['playToggle'](J){var K;const L=null!==(K=null==J?void 0:J['customIsPlaying'])&&void 0!==K?K:this['videoPlayerState']['isPlaying'];this['event'](L?A['StoryAction']['PlaybackPause']:A['StoryAction']['PlaybackPlay'],{'playback_action_method':'Click'}),L?(this['pause'](),this['isPausedManually']=true):(this['resume'](),this['isPausedManually']=false),'boolean'!=typeof(null==J?void 0:J['customIsPlaying'])&&(this['videoPlayerState']['isPlaying']=!L),this['updatePlayerButtonIcons'](),this['updateStoryAccessibilityLabels']();}['muteToggle'](){this['event'](A['StoryAction']['Audio'],{}),this['videoPlayerState']['isMuted']=!this['videoPlayerState']['isMuted'];const J=this['pages'][this['pageIndex']];return J['muted']=this['videoPlayerState']['isMuted'],this['updatePlayerButtonIcons'](),this['updateStoryAccessibilityLabels'](),J['muted'];}['resetStoryLocationIndexToLastUnseen'](){let J=0x0;for(let K=this['data']['pages']['length']-0x1;K>=0x0;K--){const L=this['data']['pages'][K],M=this['data']['pages'][K-0x1];if(L&&M&&!L['hasViewed']&&M['hasViewed']){J=K;break;}}this['pageIndex']=J,this['pages'][this['pageIndex']]['shouldShowImaAd']=false;}['determineAspectRatio'](J){var K,L;const M=null===(L=null===(K=J['pages'][0x0])||void 0===K?void 0:K['baseLayer'])||void 0===L?void 0:L['content']['renditions']['find'](N=>'Horizontal'===N['aspectRatio']);return E['ConfigService']['shouldAllowHorizontalStories']&&('Full\x20Screen'===this['mode']&&'desktop'===z['deviceDetector']['platform']||'Embedded'===this['mode']&&'Horizontal'===this['aspectRatio'])&&M?'Horizontal':'Vertical';}['clearExistingContent'](){var J,K;null===(J=this['pages'])||void 0===J||J['forEach'](L=>{var M;return null===(M=null==L?void 0:L['remove'])||void 0===M?void 0:M['call'](L);}),this['pages']=[],null===(K=this['playbackParts'])||void 0===K||K['forEach'](L=>{(null==L?void 0:L['parentNode'])instanceof Element&&L['parentNode']['remove']();}),this['playbackParts']=[];}['createPageElement'](J){const K='Ad'===J['type']?new q['BlazeWidgetAd'](this):new q['BlazeWidgetVideo'](this);return K instanceof q['BlazeWidgetVideo']&&(K['muted']=this['videoPlayerState']['isMuted']),K['setData'](J),this['setupPageEndedHandler'](K),K;}['setupPageEndedHandler'](J){J['onended']=()=>{this['pageIndex']===this['pages']['length']-0x1&&(this['exitTrigger']='Story\x20Completed'),this['navigationType']='Automatic',this['navigationDirection']='Forwards',this['videoPlayerState']['isPlaying']=true,this['goNextPage'](this['navigationType']);};}['createProgressElements'](J){const K=J['filter'](L=>'Ad'!==L['type'])['length'];this['progressElement']['style']['gridTemplateColumns']='repeat('+K+',\x201fr)',this['progressElement']['style']['gap']='4px',J['forEach'](L=>{const {part:M,filler:N}=this['createProgressPart']();'Ad'===L['type']&&(M['style']['display']='none'),this['playbackParts']['push'](N),this['progressElement']['append'](M);});}['createProgressPart'](){const J=document['createElement']('div');(0, H['mergeStyles'])(J,{'width':'100%','height':'100%','backgroundColor':'gray','borderRadius':'5px'});const K=document['createElement']('div');return (0, H['mergeStyles'])(K,{'width':'100%','height':'100%','backgroundColor':F['Colors']['White'],'borderRadius':'5px'}),J['appendChild'](K),{'part':J,'filler':K};}['setData'](J){this['data']=J,this['aspectRatio']=this['determineAspectRatio'](J),this['setAttribute']('name',J['title']),this['clearExistingContent'](),this['contentTitle']['innerText']=J['title'],this['contentPublishedDate']['innerText']=(0, H['formatDuration'])(new Date(J['createTime'])),this['pages']=J['pages']['map'](K=>this['createPageElement'](K)),this['createProgressElements'](J['pages']),this['pages']['forEach'](K=>this['container']['prepend'](K)),this['updateChip'](),this['adjustContentView']();}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 J,K,L;if(this['isUnloading'])return;const M=N=>Math['abs'](N-this['pageIndex'])<=0x2;switch(E['ConfigService']['prefetchingPolicy']){case 'low':null===(J=this['nextPage'])||void 0===J||J['load']();break;case 'default':null===(K=this['nextPage'])||void 0===K||K['load'](),null===(L=this['pages'][this['pageIndex']+0x2])||void 0===L||L['load']();}this['pages']['forEach']((N,O)=>{M(O)||null==N||N['unload']();}),this['prefetchTimeout']&&clearTimeout(this['prefetchTimeout']),this['prefetchTimeout']=setTimeout(()=>{var N,O,P;if(!this['isUnloading']){switch(E['ConfigService']['prefetchingPolicy']){case 'low':null===(N=this['pages'][this['pageIndex']+0x1])||void 0===N||N['load']();break;case 'default':null===(O=this['pages'][this['pageIndex']+0x1])||void 0===O||O['load'](),null===(P=this['pages'][this['pageIndex']+0x2])||void 0===P||P['load']();}this['prefetchTimeout']=null;}},0x7d0);}['loadStoryPostersByDistance'](J){var K;if(this['isUnloading'])return;const L=Math['max'](0x0,this['pageIndex']-J),M=Math['min'](this['pages']['length']-0x1,this['pageIndex']+J);for(let N=L;N<=M;N++)null===(K=this['pages'][N])||void 0===K||K['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'](D['restartIconSvg']),this['nextPageButton']['removeEventListener']('click',this['originalNextPageDesktopClickListener']),this['nextPageButton']['addEventListener']('click',this['restartStoryOnClickEvent']));}['playPage'](J){var K,L,M,N,O;if(this['loadStoryPostersByDistance'](0x4),this['navigationTimeout']&&clearTimeout(this['navigationTimeout']),this['prefetchTimeout']&&(clearTimeout(this['prefetchTimeout']),this['prefetchTimeout']=null),J<0x0){if('SingleContent'===E['VideoPlayerService']['playReference']||'Share'===E['VideoPlayerService']['playReference'])return this['currentPage']['restartVideo'](),void this['updateCta'](0x0);null===(K=this['onPrevStory'])||void 0===K||K['call'](this,this['navigationType']),null===(L=this['prevPageButton'])||void 0===L||L['blur'](),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['PREV_STORY'],{'bubbles':true,'cancelable':false}));}else {if(J>this['pages']['length']-0x1){if('SingleContent'===E['VideoPlayerService']['playReference'])return void this['updateCta'](this['pages']['length']-0x1);null===(M=this['onNextStory'])||void 0===M||M['call'](this,this['navigationType']),null===(N=this['nextPageButton'])||void 0===N||N['blur'](),this['dispatchEvent'](new CustomEvent(B['InternalEvent']['NEXT_STORY'],{'bubbles':true,'cancelable':false}));}else this['isActive']=true,null===(O=this['closedCaptionsModal'])||void 0===O||O['reloadData'](this['pages'][J]['data']['closedCaptions']),this['switchToPage'](J),'Automatic'===this['navigationType']?this['startPage'](J):this['navigationTimeout']=setTimeout(()=>{this['videoPlayerState']['isPlaying']&&this['startPage'](J);},0xfa);}}['updatePublishedDate'](J){const K=void 0===J?this['pageIndex']:J,L=new Date(Date['parse'](this['data']['pages'][K]['createTime']));this['contentPublishedDate']['innerText']=(0, H['formatDuration'])(L);}['switchToPage'](J){var K,L,M,N,O,P,Q;if(this['updatePublishedDate'](J),this['updateCTAButtonPosition'](),J===this['pageIndex'])this['updateCTAButtonPosition']();else {(null===(M=null===(L=null===(K=this['refContentModal'])||void 0===K?void 0:K['player'])||void 0===L?void 0:L['playerContentList'])||void 0===M?void 0:M[this['refContentModal']['player']['index']])===this&&z['contentAccessibilityManager']['announceNavigation'](J+0x1,this['pages']['length'],'story-page',null===(N=this['data'])||void 0===N?void 0:N['title'],{'trigger':'navigation','navigationType':this['navigationType'],'previousPosition':this['pageIndex']+0x1}),this['ctaButtonElement']['clearAllAnimations'](),this['updateCta'](J),this['pages'][this['pageIndex']]['hide'](),this['pages'][this['pageIndex']]['pause'](),this['pages'][this['pageIndex']]['removeLoader']();const T=this['pageIndex'];setTimeout(()=>{this['pages'][T]['currentTime']=0x0;},0xfa,this);}J!==this['pageIndex']&&this['currentPage']['endExit']();const R=J-this['pageIndex'];this['pageIndex']=J,this['markAsRead'](),this['currentPage']['muted']=this['videoPlayerState']['isMuted'],'scale(1)'!==this['style']['transform']&&(this['style']['transform']='scale(1)'),this['updatePlayerButtonIcons'](),'Ad'!==(null===(O=this['currentPage']['data'])||void 0===O?void 0:O['type'])&&this['adjustContentView']();const S=this['currentPage']instanceof q['BlazeWidgetAd'];(this['currentPage']['shouldShowImaAd']&&!this['shouldShowImaAdOnStart']||S&&!this['data']['isAd'])&&this['setContentExtraInfo'](this['getPagesContentExtraInfo'](S)),null===(P=this['currentPage'])||void 0===P||P['display'](()=>{R>=0x0?this['goNextPage']():this['goPrevPage']();}),this['currentPage']['endEnter'](),'Ad'!==(null===(Q=this['currentPage']['data'])||void 0===Q?void 0:Q['type'])&&this['event'](A['StoryAction']['PageStart'],{}),this['event'](A['StoryAction']['PlaybackInitialStart'],{});}['startPage'](J){return m(this,void 0,void 0,function*(){var K,L,M,N,O,P,Q,R;if(this['isUnloading'])return;if(this['pageIndex']=J,this['currentPage']instanceof q['BlazeWidgetAd']&&this['adIndex']++,this['currentPage']instanceof q['BlazeWidgetVideo']&&J>=0x0&&(null===(L=(K=this['currentPage'])['tryToAddLoader'])||void 0===L||L['call'](K)),this['isUnloading'])return;if(yield null===(M=this['currentPage'])||void 0===M?void 0:M['load'](),this['isUnloading'])return;null===(N=this['currentPage'])||void 0===N||N['play'](),'Embedded'===this['mode']&&this['currentPage']['setAttribute']('is-captions-visible','false'),this['updatePlayerButtonIcons']();const S=this['totalPlayStopwatch']['durationMS']();this['shouldShowBannerAd']()&&(this['shouldGetNewBannerAd'](S)?(null===(O=this['bannerAdElement'])||void 0===O||O['show'](this['data']['bannerAdInfo']),this['lastBannerRefreshInWatchTimeMS']=S):((null===(P=this['bannerAdElement'])||void 0===P?void 0:P['isHidden']())&&(null===(Q=this['bannerAdElement'])||void 0===Q||Q['unhide']()),null===(R=this['bannerAdElement'])||void 0===R||R['raiseAnalyticsViewBannerAd']())),this['totalPlayStopwatch']['start'](),this['prefetchAdjacentPages']();});}['shouldGetNewBannerAd'](J){return 0x0===J||J-this['lastBannerRefreshInWatchTimeMS']>A['BANNER_REFRESH_INTERVAL'];}['unload'](){this['pages']['forEach'](J=>J['unload']()),this['prefetchTimeout']&&(clearTimeout(this['prefetchTimeout']),this['prefetchTimeout']=null);}['displayCurrentStoryPageAndHideTheRest'](){var J;this['currentPage']['display'](()=>{this['goNextPage']();});const K=null===(J=this['currentPage']['data'])||void 0===J?void 0:J['id'];this['pages']['forEach'](L=>{var M;(null===(M=L['data'])||void 0===M?void 0:M['id'])!==K&&L['hide'](),('iOS'===z['deviceDetector']['OS']||'tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS'])&&(L['muted']=true);});}['load'](J='direct'){this['loadStoryPostersByDistance'](0x2),this['currentPage']['load'](J),this['displayCurrentStoryPageAndHideTheRest']();}['play'](){var J,K;if(this['sessionId']=(0, H['getRandomId'])(),this['totalPlayStopwatch']['reset'](),this['lastBannerRefreshInWatchTimeMS']=0x0,this['event'](A['StoryAction']['Start'],{}),this['startTrigger']='',this['exitTrigger']='',this['shouldShowImaAdOnStart']){const L=this['pages'][this['pageIndex']];if('Content'===(null===(J=L['data'])||void 0===J?void 0:J['type'])){const M=L['data'];L['shouldShowImaAd']=true,M['adInfo']=this['adInfo'];}}else 'Ad'===(null===(K=this['currentPage']['data'])||void 0===K?void 0:K['type'])&&this['currentPage']['startEnter']();E['VideoPlayerService']['currentlyPlayedContentId']=this['data']['id'],this['playPage'](this['pageIndex']);}['bannerAdEvent'](J){var K,L;const M=this['getRefferingObject'](),N=new z['AdEvent']();N['session_id']=this['sessionId'],N['story_id']=this['data']['id'],N['story_title']=this['data']['title'],N['content_type']='story','Content'===(null===(K=this['currentPage']['data'])||void 0===K?void 0:K['type'])&&(N['story_page_id']=this['currentPage']['data']['id'],N['story_page_index']=this['currentPageIndexWithoutCustomAds']),N['ad_unit_id']=J['adUnitId'],N['backoffice_campaign_data']=(null===(L=this['data']['bannerAdInfo'])||void 0===L?void 0:L['backofficeCampaignData'])||'',E['AnalyticsService']['pushAdEvent'](J['type'],N,void 0,M);}['event'](J,K){return m(this,arguments,void 0,function*(L,M,N=void 0){var O,P;try{const Q=this['data']['pages'][this['pageIndex']],R=this['pages'][this['pageIndex']],S=this['getRefferingObject']();if('Content'===Q['type']){M['player_type']=this['mode'],M['story_page_count']=this['pages']['length'],M['story_page_duration']=yield R['getVideoDuration'](),M['story_page_duration_viewed_percent']=Number((0x64*(R['progress']||0x0))['toFixed'](0x3)),M['story_page_id']=Q['id'],M['player_orientation']=this['aspectRatio'];const T=null===window||void 0x0===window?void 0x0:window['location']['href']['indexOf']('#blaze'),U=-0x1!==T?null===window||void 0x0===window?void 0x0:window['location']['href']['slice'](0x0,T):null===window||void 0x0===window?void 0x0:window['location']['href'];switch(M['story_page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](U)?'Homepage':'Category/Article',M['story_page_index']=this['currentPageIndexWithoutCustomAds'],M['is_last_page']=this['pageIndex']==this['pages']['length']-0x1,M['audio_state']=this['videoPlayerState']['isMuted']?'Mute':'Unmute',M['story_session_id']=this['sessionId'],M['content_duration_viewed']=this['totalPlayStopwatch']['durationMS'](),M['cc_state']=(0x0,H['convertCcLanguageToState'])(Q['closedCaptions'],localStorage['getItem'](A['LOCAL_STORAGE_KEY_LAST_SELECTED'])),M['story_page_parent_id']=Q['parentStoryId'],M['story_composition_type']=this['data']['compositionType'],'Enrichment'===(null===(O=Q['interaction'])||void 0x0===O?void 0x0:O['type'])&&(M['enrichment_layer_id']=Q['interaction']['id'],M['enrichment_layer_url']=Q['interaction']['htmlUrl']),'true'===(null===(P=E['AppConfigurationService']['appConfigurations'])||void 0x0===P?void 0x0:P['configurations']['analyticsAddEntitiesInfo'])&&(M['content_extra_info']=JSON['stringify'](this['data']['extraInfo']),M['story_page_content_extra_info']=JSON['stringify'](Q['extraInfo'])),L){case A['StoryAction']['Start']:M['story_start_id']=this['data']['id'],M['story_start_trigger']=this['startTrigger'];break;case A['StoryAction']['Exit']:M['story_exit_trigger']=this['exitTrigger'];break;case A['StoryAction']['PageExit']:M['story_page_navigation_direction']=this['navigationDirection'],M['story_page_navigation_type']=this['navigationType'];}}if('Content'===Q['type']){if(L===A['StoryAction']['PageStart']&&this['currentPage']['shouldShowImaAd'])return;if(E['AnalyticsService']['pushStoryEvent'](L,Object['assign']({'story_id':this['data']['id'],'story_title':this['data']['title']},M),N,S),Q['interaction']){const V=L;Object['values'](A['InteractionAction'])['includes'](V)&&E['AnalyticsService']['pushInteractionEvent'](V,{'interaction_id':Q['interaction']['id'],'interaction_type':Q['interaction']['type'],'content_id':this['data']['id'],'content_title':this['data']['title'],'content_page_id':Q['id'],'content_type':'story','content_session_id':E['UserService']['sessionId'],'audio_state':this['videoPlayerState']['isMuted']?'Mute':'Unmute'});}}}catch(W){}});}['updateContainerLayout'](){var J,K,L,M,N,O,P,Q;if(this['style']['aspectRatio']='Horizontal'===this['aspectRatio']?String(A['ASPECT_RATIO_16_9']):String(A['ASPECT_RATIO_9_16']),this['style']['boxSizing']='content-box',this['container']['style']['borderRadius']=this['getContainerBorderRadius'](),'mobile'===z['deviceDetector']['platform'])this['container']['style']['background']='#000',this['style']['width']='100%',this['style']['height']='100%',this['style']['minHeight']='100%';else {const R=(0, H['isCssPropertySupported'])('aspectRatio');if('Horizontal'===this['aspectRatio']){const S=(null===(J=this['nextStoryButton'])||void 0===J?void 0:J['style']['marginLeft'])||'0px',T=(null===(K=this['nextStoryButton'])||void 0===K?void 0:K['style']['marginRight'])||'0px',U=(null===(L=this['prevStoryButton'])||void 0===L?void 0:L['style']['marginRight'])||'0px',V=(null===(M=this['prevStoryButton'])||void 0===M?void 0:M['style']['marginLeft'])||'0px',W=null!==(O=null===(N=this['nextStoryButton'])||void 0===N?void 0:N['clientWidth'])&&void 0!==O?O:0x0,X=null!==(Q=null===(P=this['prevStoryButton'])||void 0===P?void 0:P['clientWidth'])&&void 0!==Q?Q:0x0;this['style']['width']='calc(75%\x20-\x20'+S+'\x20-\x20'+T+'\x20-\x20'+W+'px\x20-\x20'+U+'\x20-\x20'+V+'\x20-\x20'+X+'px)',this['style']['maxHeight']='80vh',R?this['style']['aspectRatio']='16\x20/\x209':this['style']['height']='auto';}else this['style']['width']='auto',this['style']['height']='87%';this['style']['minHeight']='tablet'===z['deviceDetector']['platform']?'90%':'unset',this['style']['paddingBottom']='tablet'===z['deviceDetector']['platform']?'0':'40px',R||(this['style']['width']='100%',this['style']['height']='100%',this['style']['borderRadius']='0px'),!R||'tablet'!==z['deviceDetector']['platform']&&'desktop'!==z['deviceDetector']['platform']||setTimeout(()=>{if('Firefox'===z['deviceDetector']['browser']&&'Vertical'===this['aspectRatio'])this['style']['height']='87vh';else {const {width:Y}=this['getBoundingClientRect'](),Z=('Horizontal'===this['aspectRatio']?A['ASPECT_RATIO_9_16']:A['ASPECT_RATIO_16_9'])*Y;this['style']['height']=Math['round'](Z)+'px',this['style']['width']=Math['round'](Y)+'px';}},0x0);}}['addOrRemoveEventListeners'](J){[{'event':B['InternalEvent']['RESUME'],'handler':this['boundOnResumeEvent']},{'event':B['InternalEvent']['PAUSE'],'handler':this['boundOnPauseEvent']},{'event':B['InternalEvent']['NEXT_PAGE'],'handler':this['boundOnNextPageEvent']},{'event':B['InternalEvent']['PREVIOUS_PAGE'],'handler':this['boundOnPrevPageEvent']}]['forEach'](({event:K,handler:L})=>{'add'===J?this['addEventListener'](K,L):this['removeEventListener'](K,L);});}['connectedCallback'](){(0, H['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']=C['WidgetsFactory']['create']('blaze-widget-share-modal'),this['shareModal']['onClose']=this['onShareModalClose']['bind'](this),this['shareModal']['onClick']=this['onShareModalButtonClick']['bind'](this),E['ConfigService']['shouldAllowClosedCaptions']&&this['isButtonVisible']('CLOSED_CAPTIONS')&&this['configureClosedCaptionsModal'](),this['ctaModal']=C['WidgetsFactory']['create']('blaze-widget-cta-modal'),this['container']['append'](this['shareModal']),this['container']['append'](this['ctaModal']),this['append'](this['container']);const J=()=>{if(this['pages']['length']<=0x0)return void(null===window||void 0===window||window['requestAnimationFrame'](J));for(let L=0x0;L<this['playbackParts']['length'];L++)this['playbackParts'][L]['style']['width']='0%';for(let M=0x0;M<this['pageIndex'];M++)this['playbackParts'][M]['style']['width']='100%';const K=this['pages'][this['pageIndex']]['progress'];this['playbackParts'][this['pageIndex']]['style']['width']=0x64*K+'%',null===window||void 0===window||window['requestAnimationFrame'](J);};null===window||void 0===window||window['requestAnimationFrame'](J),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 q['BlazeWidgetClosedCaptionsModal'](this['currentPage']['data']['closedCaptions'],'story'),this['closedCaptionsModal']['onClose']=()=>{this['isPausedManually']||(this['videoPlayerState']['isPlaying']=true,this['updatePlayerButtonIcons'](),this['resume']());},this['closedCaptionsModal']['onOpen']=()=>{this['videoPlayerState']['isPlaying']&&(this['videoPlayerState']['isPlaying']=false,this['updatePlayerButtonIcons'](),this['pause']());},this['closedCaptionsModal']['onClosedCaptionsEnable']=J=>{this['toggleClosedCaptions'](J);},this['closedCaptionsModal']['onClosedCaptionsDisable']=()=>{this['toggleClosedCaptions']();},this['container']['append'](this['closedCaptionsModal']);}['toggleClosedCaptions'](J){const K=(0, H['convertCcLanguageToState'])(this['data']['pages'][this['pageIndex']]['closedCaptions'],J);this['event']('Off'!==K?A['StoryAction']['ClosedCaptionsOn']:A['StoryAction']['ClosedCaptionsOff'],{}),this['updateStoryAccessibilityLabels']();}['updateStoryProgress'](){if(this['pages']['length']<=0x0)return void(this['requestAnimationId']=null===window||void 0===window?void 0:window['requestAnimationFrame'](this['updateStoryProgress']['bind'](this)));for(let K=0x0;K<this['playbackParts']['length'];K++)this['playbackParts'][K]['style']['width']='0%';for(let L=0x0;L<this['pageIndex'];L++)this['playbackParts'][L]['style']['width']='100%';const J=this['pages'][this['pageIndex']]['progress'];this['playbackParts'][this['pageIndex']]['style']['width']=0x64*J+'%',this['isActive']&&(this['requestAnimationId']=null===window||void 0===window?void 0:window['requestAnimationFrame'](this['updateStoryProgress']['bind'](this)));}['onShareModalButtonClick'](J){return m(this,void 0,void 0,function*(){this['event'](A['StoryAction']['ShareSelect'],{});try{yield navigator['clipboard']['readText']()['then'](K=>{K===document['location']['href']&&this['event'](A['StoryAction']['ShareSuccess'],{});});}catch(K){}});}['onVisibilityChange'](){this['isActive']&&this['isConnected']&&(this['lastPageIndexToResume']=this['pageIndex'],document['hidden']||this['onFocus'](),document['hidden']&&this['onBlur']());}['onBlur'](){var J;this['isActive']&&this['isConnected']&&(document['hidden']||'desktop'!==z['deviceDetector']['platform']||'visible'!==document['visibilityState'])&&((null===(J=document['activeElement'])||void 0===J?void 0:J['id']['includes']('interaction'))||(this['lastPageIndexToResume']=this['pageIndex'],this['currentPage']['paused']||(this['resumeAfterfocus']=true,this['pause'](),this['videoPlayerState']['isPlaying']=false,this['updatePlayerButtonIcons'](),this['event'](A['StoryAction']['PageExit'],{}),this['event'](A['StoryAction']['Exit'],{}))));}['onFocus'](){var J,K,L,M,N;if(this['isActive']&&this['isConnected']&&(this['lastPageIndexToResume']=this['pageIndex'],(this['currentPage']['paused']||'Ad'===(null===(J=this['currentPage']['data'])||void 0===J?void 0:J['type']))&&this['resumeAfterfocus'])){this['resumeAfterfocus']=false,(null===(K=this['ctaModal'])||void 0===K?void 0:K['isOpen'])&&(null===(L=this['ctaModal'])||void 0===L||L['close']());const O='iOS'===z['deviceDetector']['OS'],P='Mobile\x20Safari'===z['deviceDetector']['browser'],Q='tablet'===z['deviceDetector']['platform']&&'Mac\x20OS'===z['deviceDetector']['OS'],R=O&&('Safari'===z['deviceDetector']['browser']||'Chrome'===z['deviceDetector']['browser']);if(O||P||R||Q)return void('Ad'===(null===(M=this['currentPage']['data'])||void 0===M?void 0:M['type'])?this['resume']():null===(N=this['resumeAfterBlurButton'])||void 0===N||N['setAttribute']('blaze-btn-hidden','false'));this['resume'](),this['videoPlayerState']['isPlaying']=true,this['updatePlayerButtonIcons']();}}['close'](J){return m(this,void 0,void 0,function*(){var K,L,M,N;this['resumeAfterfocus']=false,'SingleContent'===E['VideoPlayerService']['playReference']||(this['event'](A['StoryAction']['PageExit'],{}),this['event'](A['StoryAction']['Exit'],{}),null===(K=this['pause'])||void 0===K||K['call'](this),null===(M=null===(L=this['widgetParentItem'])||void 0===L?void 0:L['updateWidget'])||void 0===M||M['call'](L),yield this['updateWidgetStatusReadUnread']()),(E['ConfigService']['shouldDismissPlayer']||E['ConfigService']['shouldAutoAdvance'])&&(this['event'](A['StoryAction']['PageExit'],{}),this['event'](A['StoryAction']['Exit'],{}),E['AnalyticsService']['sendAnalyticsData']()),J&&(null===(N=this['onClose'])||void 0===N||N['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 J,K,L,M,N,O,P,Q;null===(K=null===(J=this['widgetParentItem'])||void 0===J?void 0:J['updateWidget'])||void 0===K||K['call'](J),null===(M=null===(L=this['widgetParentItem'])||void 0===L?void 0:L['setChipStyle'])||void 0===M||M['call'](L),null===(O=null===(N=this['widgetParentItem'])||void 0===N?void 0:N['render'])||void 0===O||O['call'](N),null===(Q=null===(P=this['widgetParentItem'])||void 0===P?void 0:P['updateWidgetItemPadding'])||void 0===Q||Q['call'](P);}['markAsRead'](){return m(this,void 0,void 0,function*(){const J=this['pages'][this['pageIndex']];if(J['data']){J['data']['hasViewed']=true;const {data:K,error:L}=yield E['DatabaseService']['updatePageViewed'](J['data']['id'],this['data']['id']);return !L&&K;}});}['hasNoMorePagesToPlay'](){return this['pageIndex']+0x1>this['pages']['length']-0x1;}['isLastPage'](){return this['pageIndex']===this['pages']['length']-0x1;}['isAutomaticNavigation'](J){return 'Automatic'===J;}['handleLastPageAutomaticNavigation'](){var J,K;E['ConfigService']['shouldAutoAdvance']?((null===(J=this['refContentModal'])||void 0===J?void 0:J['player'])['renderPlayerBackground'](true),(null===(K=this['refContentModal'])||void 0===K?void 0:K['player'])['animateCloseWithDirection']({'direction':'HorizontalForwards','callback':()=>z['URLManager']['navigateTo']('AUTO_ADVANCE')})):this['displayRestartStoryButton']();}['goNextPage'](J){var K,L;E['VideoPlayerService']['isNavigating']||this['currentPage']['isCurrentlyTryingToRunImaAd']||('SingleContent'===E['VideoPlayerService']['playReference']&&this['isLastPage']()&&this['isAutomaticNavigation'](J)?this['handleLastPageAutomaticNavigation']():(this['pageIndex']+0x1<this['pages']['length']&&(false===(null===(K=this['nextContentPage'])||void 0===K?void 0:K['shouldShowBannerAd'])&&(null===(L=this['bannerAdElement'])||void 0===L||L['hide']()),this['event'](A['StoryAction']['PageExit'],{}),this['nextPage']['startEnter']()),this['playPage'](this['pageIndex']+0x1)));}['goPrevPage'](){var J,K;E['VideoPlayerService']['isNavigating']||this['currentPage']['isCurrentlyTryingToRunImaAd']||('SingleContent'!==E['VideoPlayerService']['playReference']||0x0!==this['pageIndex']?(this['pageIndex']>0x0&&(false===(null===(J=this['prevContentPage'])||void 0===J?void 0:J['shouldShowBannerAd'])&&(null===(K=this['bannerAdElement'])||void 0===K||K['hide']()),this['event'](A['StoryAction']['PageExit'],{}),this['prevPage']['startEnter']()),this['playPage'](this['pageIndex']-0x1)):this['currentPage']['currentTime']=0x0);}['disconnectedCallback'](){var J,K;this['addOrRemoveEventListeners']('remove'),this['removeChild'](this['container']),null===(J=this['shareModal'])||void 0===J||J['remove'](),null===(K=this['ctaModal'])||void 0===K||K['remove'](),this['ctaButtonElement']['setAttribute']('hidden-btn','true'),this['data']['id']&&z['contentAccessibilityManager']['unregisterContentWidget'](this['data']['id']),super['disconnectedCallback']();}['updateCTAButtonPosition'](){const J=this['pages'][this['pageIndex']];if(!J)return;const K=J['getBoundingClientRect']();if(K['width']){const L=K['width']*A['ASPECT_RATIO_16_9'],M=(Math['round'](K['height']-L)-(this['playerStyle']['ctaButton']['height']?parseInt(this['playerStyle']['ctaButton']['height']):A['DEFAULT_CTA_HEIGHT']))/0x2;let N;switch(z['deviceDetector']['platform']){case 'tablet':N='Embedded'===this['mode']?this['getEmbeddedBottomContainerPaddingBottom']():'15px';break;case 'desktop':N='Embedded'===this['mode']?this['getEmbeddedBottomContainerPaddingBottom']():'40px';break;default:N='Embedded'===this['mode']?this['getEmbeddedBottomContainerPaddingBottom']():Math['max'](M,A['MIN_PADDING_BOTTOM'])+'px';}this['bottomContainer']['style']['paddingBottom']=N;}}['updateCta'](J){var K,L,M,N;if(null==J)return;const O=this['currentPage'];if('Content'===(null===(K=null==O?void 0:O['data'])||void 0===K?void 0:K['type'])&&(null===(L=null==O?void 0:O['data'])||void 0===L?void 0:L['cta']['type'])){if(false===(null===(M=this['playerStyle']['ctaButton'])||void 0===M?void 0:M['isVisible']))return void this['ctaButtonElement']['setAttribute']('hidden-btn','true');this['updateCTAButtonPosition']();const {color:P,backgroundColor:Q,isDisplayCtaModal:R,isAnimated:S,icon:T}=this['playerStyle']['ctaButton'],{textColor:U,backgroundColor:V,enhancements:W,text:X,url:Y}=O['data']['cta'];this['ctaButtonElement']['setAttributes']({'text':X,'href':Y});const Z=P||U,a0=Q||V;this['ctaButtonElement']['setAnchorButtonStyles']({'color':Z,'background':a0}),R&&(z['deviceDetector']['isMobile']||z['deviceDetector']['isTablet'])&&(null===(N=this['ctaModal'])||void 0===N||N['setAttributes']({'border-color':'#fff','background-color':a0,'text-color':Z,'icon-color':Z,'progress-bar-color':Z,'cta-url':O['data']['cta']['url']})),this['updateCtaButtonWidth'](),this['setCtaButtonAttributes'](T['isVisible'],a0,Z),this['handleCtaButtonAnimation'](W,S),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'](J,K){this['ctaButtonElement']['animateIcon'](J),this['ctaButtonElement']['animateButton'](K);}['handleCtaButtonAnimation'](J,K){if(z['deviceDetector']['isMobile']||z['deviceDetector']['isTablet'])switch(true){case null==J?void 0:J['hasSwipeUp']:this['animateCtaButton']('BottomToTop',J['animationType']),this['setCtaIconVisibility'](true);break;case K:this['animateCtaButton']('BottomToTop','Shrinking');}}['setCtaButtonAttributes'](J,K,L){this['ctaButtonElement']['setAttribute']('arrow-icon-color',K),this['ctaButtonElement']['setAttribute']('icon-color',L),this['setCtaIconVisibility'](J);}['setCtaIconVisibility'](J){(z['deviceDetector']['isMobile']||z['deviceDetector']['isTablet'])&&this['ctaButtonElement']['setAttribute']('arrow-icon-display',true===J?'true':'false');}['updatePlayerButtonsState'](J){'desktop'!==z['deviceDetector']['platform']||this['currentPage']['isAd']||(this['updateButtonState'](G['ButtonNavigation']['PREV_STORY'],this['prevStoryButton']),this['updateButtonState'](G['ButtonNavigation']['NEXT_STORY'],this['nextStoryButton']),J&&(this['updateButtonState'](G['ButtonNavigation']['PREV_PAGE'],this['prevPageButton']),this['updateButtonState'](G['ButtonNavigation']['NEXT_PAGE'],this['nextPageButton'])));}['updateButtonState'](J,K){if(!K)return;const L=this['isNavigationButtonActive'](J)?'ACTIVE':'DISABLED';this['updateNavButton'](L,K);}['isSingleContentWithAutoAdvance'](J){return 'SingleContent'===E['VideoPlayerService']['playReference']&&E['ConfigService']['shouldAutoAdvance']&&J===G['ButtonNavigation']['NEXT_STORY'];}['isStoryPagesNavigation'](J){return J===G['ButtonNavigation']['NEXT_PAGE']||J===G['ButtonNavigation']['PREV_PAGE'];}['isNavigationButtonActive'](J){var K,L;if(this['isSingleContentWithAutoAdvance'](J))return true;if(this['isStoryPagesNavigation'](J))return true;if(this['refWidget']){const M=null===(K=this['refWidget'])||void 0===K?void 0:K['indexOf'](this);if(-1!==M){if(J===G['ButtonNavigation']['NEXT_STORY'])return M<(null===(L=this['refWidget'])||void 0===L?void 0:L['length'])-0x1;if(J===G['ButtonNavigation']['PREV_STORY'])return M>0x0;}}return false;}['updateNavButton'](J,K){'ACTIVE'===J?K['setAttribute']('disabled','false'):K['setAttribute']('disabled','true');}['updatePlayerButtonsStyleAttributes'](){var J,K;let L=0x0;const M=Math['round'](0x64*window['devicePixelRatio'])/0x64,N=window['innerWidth'],O=window['innerHeight'],P=N<0x1f4||O<0x2ee,Q={'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'===z['deviceDetector']['platform']&&'HORIZONTAL'===this['playerStyle']['iconsPosition']){let R;R=P?M>=1.5?Q['smallScreen']['range2']:Q['smallScreen']['range1']:Q['largeScreen'][String(M)]||{'sizeReduce':0x0,'gap':'1rem'},L=R['sizeReduce'],this['buttonsContainer']['style']['gap']=R['gap'];}if('HORIZONTAL'===this['playerStyle']['iconsPosition']?this['buttonsContainer']['setStyle']({'justifyContent':'end','alignSelf':'end','alignItems':'baseline','flexDirection':'Ad'===(null===(K=null===(J=this['currentPage'])||void 0===J?void 0:J['data'])||void 0===K?void 0:K['type'])?'row-reverse':'row'}):this['buttonsContainer']['setStyle']({'alignItems':'flex-end','flexDirection':'column'}),'mobile'!==z['deviceDetector']['platform']&&'tablet'!==z['deviceDetector']['platform']||(L=0x0),'Embedded'===this['mode'])this['contentTitle']['style']['fontSize']=this['playerStyle']['titleFontSizeEmbedded'],this['contentPublishedDate']['style']['fontSize']=this['playerStyle']['publishedDateFontSizeEmbedded'];else {const S=(0, H['convertCssUnitToNumber'])(this['playerStyle']['titleFontSize']),T=(0, H['convertCssUnitToNumber'])(this['playerStyle']['publishedDateFontSize']),U='mobile'===z['deviceDetector']['platform']?S-L+'px':S+0x2-L+'px',V='mobile'===z['deviceDetector']['platform']?T-L+'px':T+0x2-L+'px';this['contentTitle']['style']['fontSize']=U,this['contentPublishedDate']['style']['fontSize']=V;}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']=this['playerStyle']['statusLiveStyle']['textSize'],this['contentTitle']['style']['fontFamily']=this['playerStyle']['titleFont'],this['contentTitle']['style']['color']=this['playerStyle']['titleColor'],this['contentTitle']['style']['display']=this['playerStyle']['titleVisible']?'inline':'none',this['contentPublishedDate']['style']['fontFamily']=this['playerStyle']['publishedDateFont'],this['contentPublishedDate']['style']['color']=this['playerStyle']['publishedDateColor'],this['contentPublishedDate']['style']['display']=this['playerStyle']['publishedDateVisible']?'inline':'none',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 W=this['playerStyle']['iconsButtonNavigation']['find'](X=>'NEXT_PAGE'===X['value']);W&&this['applyIconStyle'](this['nextPageButton'],W,this['playerStyle']['icons']['navigation']['nextPage']);}if(this['isButtonVisible']('PREV_PAGE')&&this['prevPageButton']){const X=this['playerStyle']['iconsButtonNavigation']['find'](Y=>'PREV_PAGE'===Y['value']);X&&this['applyIconStyle'](this['prevPageButton'],X,this['playerStyle']['icons']['navigation']['prevPage']);}if(this['isButtonVisible']('NEXT_STORY')&&this['nextStoryButton']){const Y=this['playerStyle']['iconsButtonNavigation']['find'](Z=>'NEXT_STORY'===Z['value']);Y&&this['applyIconStyle'](this['nextStoryButton'],Y,this['playerStyle']['icons']['navigation']['nextStory']);}if(this['isButtonVisible']('PREV_STORY')&&this['prevStoryButton']){const Z=this['playerStyle']['iconsButtonNavigation']['find'](a0=>'PREV_STORY'===a0['value']);Z&&this['applyIconStyle'](this['prevStoryButton'],Z,this['playerStyle']['icons']['navigation']['prevStory']);}}['setPlayerButtonPaddings'](J){this['playerStyle']['iconsButtonPadding']&&(J['style']['padding']=this['playerStyle']['iconsButtonPadding'],J['style']['margin']=this['playerStyle']['iconsButtonPadding']['split']('\x20')['map'](K=>'-'+K)['join']('\x20'));}['setPlayerButtonColors'](J,K){const L=this['playerStyle']['iconsButton']['find'](M=>M['value']===K);(null==L?void 0:L['color'])&&J['setAttribute']('icon-color',null==L?void 0:L['color']),(null==L?void 0:L['backgroundColor'])&&'transparent'!==L['backgroundColor']&&(null==L?void 0:L['borderRadius'])&&(J['style']['backgroundColor']=L['backgroundColor'],J['style']['borderRadius']=L['borderRadius']);}['setPlayerButtonSize'](J,K){const L=this['playerStyle']['iconsButton']['find'](M=>M['value']===K);if(J&&L&&this['playerStyle']['iconsButtonSize']&&this['playerStyle']['iconsButtonEmbeddedSize']){let M='Embedded'===this['mode']?this['playerStyle']['iconsButtonEmbeddedSize']:this['playerStyle']['iconsButtonSize'];'Full\x20Screen'===this['mode']&&'mobile'===z['deviceDetector']['platform']&&(M=(0, H['convertCssUnitToNumber'])(M)-0x4+'px'),J['setAttribute']('width',M),J['setAttribute']('height',M);}}['getEmbeddedCtaButtonHeight'](){let J;return J='desktop'===z['deviceDetector']['platform']?'38px':'tablet'===z['deviceDetector']['platform']||'Horizontal'===this['aspectRatio']?'34px':'43px',J;}['getEmbeddedBottomContainerPaddingBottom'](){let J;return J='desktop'===z['deviceDetector']['platform']?'40px':'Horizontal'===this['aspectRatio']?'8px':'32px',J;}['getContainerBorderRadius'](){let J;return J='desktop'===z['deviceDetector']['platform']?'Embedded'===this['mode']&&'Horizontal'===this['aspectRatio']?'8px':'20px':'tablet'===z['deviceDetector']['platform']?'Embedded'===this['mode']&&'Horizontal'===this['aspectRatio']?'4px':'20px':'Embedded'===this['mode']?'8px':'0px',J;}['updatePlayerButtonsOrder'](){const J={'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']((K,L)=>{const M=J[K];M&&M['setAttribute']('order',L['toString']());});}['updatePlayerContentOrder'](){const J={'LIVE_CHIP':this['contentChip'],'STORY_TITLE':this['contentTitle'],'PUBLISHED_DATE':this['contentPublishedDate']};this['playerStyle']['contentOrder']['forEach']((K,L)=>{const M=J[K];M&&(M['style']['order']=L['toString']());});}['displayExitButtonOnMobileTablet'](){if(!this['exitMobileTabletButtonElement'])return;if(!['mobile','tablet']['includes'](z['deviceDetector']['platform']))return void(this['exitMobileTabletButtonElement']['style']['display']='none');const J=['SingleContent','AutoAdvance']['includes'](E['VideoPlayerService']['playReference'])&&!E['ConfigService']['shouldDismissPlayer']||!this['isButtonVisible']('EXIT_PLAYER');this['exitMobileTabletButtonElement']['style']['display']=J?'none':'block';}['resetLayout'](){}['render'](){var J;this['updateContainerLayout'](),this['updatePlayerContentOrder'](),this['updatePlayerButtonsOrder'](),this['updatePlayerButtonIcons'](),this['updatePlayerButtonsState'](true),this['updatePlayerButtonsStyleAttributes'](),this['updateCtaButtonLayout'](),this['updateCta'](this['pageIndex']),this['displayExitButtonOnMobileTablet'](),this['shadowTopElement']['style']['borderRadius']=this['getContainerBorderRadius'](),this['style']['borderRadius']=this['getContainerBorderRadius'](),null===(J=this['pages'])||void 0===J||J['forEach'](K=>null==K?void 0:K['render']());}['onExpandClick'](){this['dispatchEvent'](new CustomEvent(B['InternalEvent']['FULL_SCREEN_CLICK'],{'bubbles':true,'cancelable':false})),this['event'](A['StoryAction']['Expand'],{});}['onResumeEvent'](){this['resume'](),this['videoPlayerState']['isPlaying']=true,this['updatePlayerButtonIcons']();}['onPauseEvent'](){this['pause'](),this['videoPlayerState']['isPlaying']=false,this['updatePlayerButtonIcons']();}['onNextPageEvent'](){this['goNextPage']();}['onPrevPageEvent'](){this['goPrevPage']();}['getPagesContentExtraInfo'](J){var K,L;const M=J?this['pageIndex']+0x1:this['pageIndex'],N=this['pageIndex']>0x0?this['prevPage']:void 0,O=M<this['pages']['length']?this['pages'][M]:void 0;return {'previous':null===(K=null==N?void 0:N['data'])||void 0===K?void 0:K['extraInfo'],'current':this['data']['extraInfo'],'next':null===(L=null==O?void 0:O['data'])||void 0===L?void 0:L['extraInfo']};}['getAllFocusableButtons'](){return [this['playButtonElement'],this['muteButtonElement'],this['shareButtonElement'],this['exitMobileTabletButtonElement'],this['fullScreenElement'],this['customActionButtonOneElement'],this['customActionButtonTwoElement'],this['resumeAfterBlurButton'],this['nextPageButton'],this['prevPageButton'],this['nextStoryButton'],this['prevStoryButton'],this['ctaButtonElement']]['filter'](Boolean);}['enableAllButtons'](){const J=this['getAllFocusableButtons']();this['setButtonsAccessibilityState'](J,true);}['disableAllButtons'](){const J=this['getAllFocusableButtons']();this['setButtonsAccessibilityState'](J,false);}['setButtonsAccessibilityState'](J,K){K?H['AccessibilityUtils']['setElementsAccessible'](J):H['AccessibilityUtils']['setElementsInaccessible'](J);}['registerStoryAccessibility'](){if(!this['data']['id'])return;const J=this['buildStoryRegistrationData']();z['contentAccessibilityManager']['registerContentWidget'](this['data']['id'],J,'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'],'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['currentPage']&&!this['currentPage']['paused'],'isMuted':!!this['currentPage']&&this['currentPage']['muted']};}['updateStoryAccessibilityLabels'](){if(!this['data']['id'])return;const J=this['getCurrentAccessibilityState']();z['contentAccessibilityManager']['updateButtonLabels'](this['data']['id'],J);}['getCurrentAccessibilityState'](){return {'isPlaying':!!this['currentPage']&&!this['currentPage']['paused'],'isMuted':!!this['currentPage']&&this['currentPage']['muted']};}['updateAccessibilityLabels'](){if(!this['data']['id'])return;const J=this['buildStoryAccessibilityState']();z['contentAccessibilityManager']['updateButtonLabels'](this['data']['id'],J);}['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']=I;},0x1acb:function(d,f,g){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':true}),f['AnnouncementService']=void 0;const j=g(0x1d19);f['AnnouncementService']=class{constructor(k){this['config']=k,this['containerRegions']=new Map(),this['announcementQueue']=[],this['isProcessingAnnouncement']=false,this['lastAnnouncementTime']=0x0,this['liveRegionsSetup']=false;}['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 0,void 0,function*(){if(!this['isProcessingAnnouncement']&&0x0!==this['announcementQueue']['length']){for(this['isProcessingAnnouncement']=true;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']=false;}});}['performAnnouncement'](k){return h(this,void 0,void 0,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 0: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']=false,this['isProcessingAnnouncement']=false;}};},0x1b0d:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0x22de),f);},0x1b21:(d,f)=>{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':true}),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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['accessibilityManager']=f['AccessibilityManager']=void 0;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;}['returnFocusFromModal'](){if(!this['modalFocusReturnTarget'])return false;try{return document['contains'](this['modalFocusReturnTarget'])?(this['modalFocusReturnTarget']['focus'](),this['modalFocusReturnTarget']=null,!0x0):(this['modalFocusReturnTarget']=null,!0x1);}catch(l){return this['modalFocusReturnTarget']=null,false;}}['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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1bdd:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeWidgetLabel']=void 0;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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1c00:(d,f,g)=>{var h;!function(a0,a1,a2,a3){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),true);}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,true);},'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,false);});}function al(br,bs,bu){ac(ao(bs),function(bv){br['removeEventListener'](bv,bu,false);});}function am(br,bs){for(;br;){if(br==bs)return true;br=br['parentNode'];}return false;}function an(br,bs){return br['indexOf'](bs)>-1;}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 -1;}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=br[bx][bs];ap(bw,by)<0x0&&bv['push'](br[bx]),bw[bx]=by,bx++;}return (bv=bv['sort'](function(bz,bA){return bz[bs]>bA[bs];})),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']=false);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']=false,aD['apply'](this,arguments);}ag(aM,aD,{'handler':function(br){var bs=aL[br['type']];0x1&bs&&0x0===br['button']&&(this['pressed']=true),0x2&bs&&0x1!==br['which']&&(bs=0x4),this['pressed']&&(0x4&bs&&(this['pressed']=false),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=false,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=true),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']=false,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')),[bu,bv];}ag(aT,aD,{'handler':function(br){var bs=aS[br['type']];if(0x1===bs&&(this['started']=true),this['started']){var bu=aU['call'](this,br,bs);0xc&bs&&bu[0x0]['length']-bu[0x1]['length']===0x0&&(this['started']=false),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']]=true,[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']]=true,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'),bz]:void 0;}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>-1&&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 true;}return false;}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 false;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 0;}},'preventSrc':function(br){this['manager']['session']['prevented']=true,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'],true),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']=false,this['pCenter']=false,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,true),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 -1===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>-1&&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 false;br++;}return true;},'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=true,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':false,'touchAction':b4,'enable':true,'inputTarget':null,'inputClass':null,'preset':[[bl,{'enable':false}],[bj,{'enable':false},['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);-1!==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,true,true),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,false),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 0!==a0?a0:'undefined'!=typeof self?self:{})['Hammer']=bo,(h=function(){return bo;}['call'](f,g,f,d))===a3||(d['exports']=h);}(window,document);},0x1c09:function(d,f,g){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':true}),f['LikeVideoCommand']=f['SeekCommand']=f['ToggleFullscreenCommand']=f['UnmuteCommand']=f['MuteCommand']=f['ToggleMuteCommand']=f['PauseCommand']=f['PlayCommand']=void 0;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']=true,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'](true),this['videoPlayerState']['isMuted']=true;}},f['UnmuteCommand']=class{constructor(l,m=k['VideoPlayerService']){this['playbackStrategy']=l,this['videoPlayerState']=m;}['execute'](){this['playbackStrategy']['setMuted'](false),this['videoPlayerState']['isMuted']=false;}},f['ToggleFullscreenCommand']=class{constructor(l,m){this['playbackStrategy']=l,this['videoElement']=m;}['execute'](...l){return h(this,void 0,void 0,function*(){var m,p;this['playbackStrategy']['toggleFullscreen'](),(null===(m=this['videoElement']['embeddedRef'])||void 0===m?void 0:m['player'])instanceof j['BlazeWidgetVideoPlayer']?yield this['videoElement']['embeddedRef']['player']['toggleFullscreen']():yield (null===(p=this['videoElement']['modal'])||void 0===p?void 0: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 0,void 0,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);}});}};},0x1c14:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['GuardNullOrEmpty']=function(g,h){if(!h)throw new Error(g+'\x20cannot\x20be\x20empty');},f['isStory']=function(g){return 'pages'in g;};},0x1c1b:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['HLSQualityManager']=void 0;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']:-1;}static['shouldUseMemory'](){return this['recall']()>=0x0;}static['clear'](){this['memory']={'level':-1,'lastUpdate':0x0};}}f['HLSQualityManager']=g,g['DURATION']=0x493e0,g['memory']={'level':-1,'lastUpdate':0x0};},0x1c40:function(d,f,g){var h;!function(a0,a1){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&&-1!==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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['Presets']=void 0;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':false,'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':false,'isDisplayCtaModal':true,'width':'100%','height':'40px','position':'CENTER','isVisible':true,'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':true,'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':true,'padding':'3px\x209px'},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':true,'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':true,'padding':'3px\x209px'},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':false,'width':0x18,'height':0x18},l['LabelStyle']={'isVisible':true,'gap':0x8,'width':'auto','color':k['Colors']['LightPrimary'],'padding':'0px','position':'outsideBottom','height':'20px','font':l['widgetFont'],'fontSize':'14px','fontWeight':'bold'},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'}),'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}),'statusIndicatorPosition':'insideTopLeft','badgeIndicatorStyle':Object['assign']({},l['BadgeStyle']),'badgePosition':'outsideTopRight','isSkeleton':false},l['Grid3Column']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x3}),l['Grid2ColumnHorizontal']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x2,'thumbnailType':'CUSTOM','itemRatio':h['ASPECT_RATIO_16_9']}),l['Grid3ColumnHorizontal']=Object['assign'](Object['assign']({},l['Grid2Column']),{'columns':0x3,'thumbnailType':'CUSTOM','itemRatio':h['ASPECT_RATIO_16_9']}),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':false}),'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['Grid2Column']),{'columns':0x0,'rows':0x1,'thumbnailType':'CUSTOM','itemRatio':h['ASPECT_RATIO_16_9']}),l['RowHorizontalRectangleAnimated']=Object['assign'](Object['assign']({},l['RowHorizontalRectangle']),{'thumbnailType':'ANIMATED_THUMBNAIL_POSTER'}),l['Default']=Object['assign']({},l['RowCircle']),l['DefaultStoryStyle']={'titleVisible':true,'titleFont':l['playerFont'],'titleFontSize':'12px','titleFontSizeEmbedded':'11px','titleColor':k['Colors']['LightPrimary'],'publishedDateVisible':true,'publishedDateFont':l['playerFont'],'publishedDateFontSize':'12px','publishedDateFontSizeEmbedded':'11px','publishedDateColor':k['Colors']['TimeColor'],'statusLiveStyle':l['StatusLiveUnreadStyle'],'ctaButton':l['CtaButtonStyle'],'iconsPosition':'VERTICAL','iconsButtonPadding':'5px','iconsButtonSize':'28px','iconsButtonEmbeddedSize':'20px','iconsButton':[{'value':'MUTE_UNMUTE','isEmbeddedVisible':true,'isVisible':true,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'PLAY_PAUSE','isEmbeddedVisible':true,'embeddedSize':'20px','isVisible':true,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'SHARE','isEmbeddedVisible':false,'isVisible':true,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'EXIT_PLAYER','isEmbeddedVisible':false,'isVisible':true,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'FULLSCREEN','isEmbeddedVisible':true,'isVisible':false,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'CLOSED_CAPTIONS','isEmbeddedVisible':false,'isVisible':false,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'CUSTOM_ACTION_BUTTON_ONE','isEmbeddedVisible':false,'isVisible':false,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'},{'value':'CUSTOM_ACTION_BUTTON_TWO','isEmbeddedVisible':false,'isVisible':false,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%'}],'iconsButtonNavigation':[{'value':'NEXT_PAGE','size':'28px','isVisible':true,'color':k['Colors']['Black'],'backgroundColor':k['Colors']['White'],'borderRadius':'50%','padding':'10px'},{'value':'PREV_PAGE','size':'28px','isVisible':true,'color':k['Colors']['Black'],'backgroundColor':k['Colors']['White'],'borderRadius':'50%','padding':'10px'},{'value':'NEXT_STORY','size':'28px','isVisible':true,'color':k['Colors']['White'],'backgroundColor':h['TRANSPARENT'],'borderRadius':'50%','padding':'0'},{'value':'PREV_STORY','size':'28px','isVisible':true,'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':false,'contentSource':'TITLE','lineHeight':'1.5','textTransform':'none','fontWeight':'600'},'bodyText':{'font':l['playerFont'],'textSizeMobile':'14px','textSizeTablet':'15px','textSizeDesktop':'16px','textColor':'#F0F0F0','isVisible':true,'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':true,'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':true,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'tablet':{'isVisible':true,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'desktop':{'isVisible':true,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'','backgroundColor':''}},'exit':{'mobile':{'isVisible':true,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'tablet':{'isVisible':true,'width':'22px','height':'22px','color':'','padding':'10px','borderRadius':'','backgroundColor':''},'desktop':{'isVisible':false,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'','backgroundColor':''}},'share':{'mobile':{'isVisible':true,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':true,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':true,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'like_unlike':{'mobile':{'isVisible':true,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':true,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':true,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'closed_captions':{'mobile':{'isVisible':false,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':false,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':false,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'custom_action_button_one':{'mobile':{'isVisible':false,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':false,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':false,'width':'25px','height':'25px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'}},'custom_action_button_two':{'mobile':{'isVisible':false,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'tablet':{'isVisible':false,'width':'20px','height':'20px','color':'','padding':'10px','borderRadius':'50%','backgroundColor':'#18181899'},'desktop':{'isVisible':false,'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':true,'verticalSpacing':'20px','horizontalSpacing':'15px','playingState':{'isVisible':true,'isThumbVisible':false,'backgroundColor':k['Colors']['Gray'],'progressColor':k['Colors']['White'],'height':'3px','borderRadius':'5px','thumbColor':'','thumbSize':'0px'},'pausedState':{'isVisible':true,'isThumbVisible':true,'backgroundColor':k['Colors']['Gray'],'progressColor':k['Colors']['White'],'height':'5px','borderRadius':'5px','thumbColor':k['Colors']['White'],'thumbSize':'15px'}},'followButton':{'isVisible':true,'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':true,'icon':{'position':'START','color':k['Colors']['Black'],'url':j['externalLinkIconSvg'],'size':'24px','isVisible':false}}},l['DefaultVideoStyle']={'headingText':{'font':l['playerFont'],'textColor':'#F0F0F0','isVisible':true,'contentSource':'TITLE','textStyle':{'mobile':{'fontSize':'16px','fontWeight':'600','lineHeight':'1.5','letterSpacing':void 0,'textTransform':'none'},'tablet':{'fontSize':'17px','fontWeight':'600','lineHeight':'1.5','letterSpacing':void 0,'textTransform':'none'},'desktop':{'fontSize':'18px','fontWeight':'600','lineHeight':'1.5','letterSpacing':void 0,'textTransform':'none'}}},'buttons':{'mute_unmute':{'mobile':{'width':'24px','height':'24px','color':'','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':'','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''}},'exit':{'mobile':{'width':'24px','height':'24px','color':'','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':'','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':false,'borderRadius':'','backgroundColor':''}},'share':{'mobile':{'width':'24px','height':'24px','color':'','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':'','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''}},'like_unlike':{'mobile':{'width':'24px','height':'24px','color':'#ffd325','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':'#ffd325','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':'#ffd325','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''}},'play_pause':{'mobile':{'width':'38px','height':'38px','color':'','padding':'12px','isVisible':true,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.9)'},'tablet':{'width':'42px','height':'42px','color':'','padding':'12px','isVisible':true,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.9)'},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''}},'replay':{'mobile':{'width':'38px','height':'38px','color':'','padding':'12px','isVisible':true,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.9)'},'tablet':{'width':'42px','height':'42px','color':'','padding':'12px','isVisible':true,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.9)'},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''}},'prev_next':{'mobile':{'width':'36px','height':'36px','color':'','padding':'10px','isVisible':true,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.9)'},'tablet':{'width':'40px','height':'40px','color':'','padding':'10px','isVisible':true,'borderRadius':'50%','backgroundColor':'rgba(51,\x2051,\x2051,\x200.9)'},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':true,'borderRadius':'0','backgroundColor':''}},'closed_captions':{'mobile':{'width':'24px','height':'24px','color':'','padding':'7px','isVisible':true,'isEmbeddedVisible':true,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':'','padding':'7px','isVisible':true,'isEmbeddedVisible':true,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':true,'isEmbeddedVisible':true,'borderRadius':'','backgroundColor':''}},'fullscreen':{'mobile':{'width':'24px','height':'24px','color':'','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''},'tablet':{'width':'26px','height':'26px','color':'','padding':'7px','isVisible':true,'borderRadius':'','backgroundColor':''},'desktop':{'width':'28px','height':'28px','color':'','padding':'7px','isVisible':true,'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':true,'icon':{'position':'START','color':'','size':'24px','isVisible':true,'url':j['linkIconSvg']},'borderColor':'','borderRadius':'20px','horizontalAlignment':'LEFT'},'seekBar':{'isVisible':true,'horizontalMargin':'15px','verticalMargin':'0px','playingState':{'isVisible':true,'isThumbVisible':false,'backgroundColor':'#FFFFFF66','progressColor':'rgba(255,\x20255,\x200,\x201)','height':'5px','borderRadius':'5px','thumbColor':'','thumbSize':'','bufferProgressColor':'#D9D9D955'},'pausedState':{'isVisible':true,'isThumbVisible':true,'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']}}};},0x1c93:function(d,f,g){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':true}),f['Database']=f['DB_NAMES']=void 0;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'}]}};f['DB_NAMES']={'MOMENTS':'moments','INTERACTIONS':'interactions','USER':'user','STORIES':'stories','VIDEOS':'videos','LOGS':'logs'};let l=null,m=null;f['Database']=class{constructor(p){this['options']=p;}['init'](){return h(this,void 0,void 0,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 0,void 0,function*(){return new Promise((p,q)=>{const u=indexedDB['open'](this['options']['databaseName'],this['options']['version']);u['addEventListener']('success',()=>h(this,void 0,void 0,function*(){const v=u['result'];p(v),yield new Promise(w=>{setTimeout(()=>h(this,void 0,void 0,function*(){try{yield this['onOpen'](),w();}catch(x){q(x);}}),0x96);});})),u['addEventListener']('upgradeneeded',v=>h(this,void 0,void 0,function*(){const w=u['result'];try{yield this['onUpgradeNeeded'](w),p(w);}catch(x){q(x);}})),u['addEventListener']('error',v=>h(this,void 0,void 0,function*(){q(v),yield this['onError'](v);}));});});}['onUpgradeNeeded'](p){return h(this,void 0,void 0,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 0,void 0,function*(){try{j['EventBusService']['publish']('BlazeDatabaseServiceOpen');}catch(p){throw p;}});}['onError'](p){return h(this,void 0,void 0,function*(){yield this['deleteDatabase']();});}['deleteDatabase'](){return h(this,void 0,void 0,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 0,void 0,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 0,void 0,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;}});}['update'](p,q){return h(this,void 0,void 0,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 0,void 0,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 0,void 0,function*(){m=null,yield this['init']();}),0x1388));}};},0x1cad:function(d,f,g){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':true}),f['StoryService']=void 0;const j=g(0x11c1),k=g(0x1133);class l extends(0, k['Singleton'])(){['init'](){}['fetchContent'](m){return h(this,void 0,void 0,function*(){const {sourceType:p,labels:q,labelsPriority:v,ids:w,orderType:x,maxItems:y,advancedOrdering:z,personalized:A,text:B}=m;let C,D;if('ids'===p&&w)({data:C,error:D}=yield j['ApiService']['getStoriesByIds']({'ids':w,'orderType':x,'showLiveFirst':'LiveFirst'===z,'personalized':A}));else {if('labels'===p&&q){const E=Array['isArray'](q)?q['join']():q['toString']();({data:C,error:D}=yield j['ApiService']['getStoriesByLabels']({'labels':E,'orderType':x,'maxItems':y,'labelsPriority':v,'showLiveFirst':'LiveFirst'===z,'personalized':A,'text':B}));}else 'text'===p&&B&&({data:C,error:D}=yield j['ApiService']['getStoriesByText']({'text':B,'orderType':x,'maxItems':y,'showLiveFirst':'LiveFirst'===z,'personalized':A}));}return C||{'assetsExpiryTime':'','totalItems':0x0,'result':[]};});}['enrichContent'](m){return h(this,void 0,void 0,function*(){try{return yield j['DatabaseService']['enrichStories'](m);}catch(p){throw p;}});}}f['StoryService']=l['getInstance']();},0x1cbd:function(f,j,k){var m=this&&this['__importDefault']||function(F){return F&&F['__esModule']?F:{'default':F};};Object['defineProperty'](j,'__esModule',{'value':true}),j['BlazeLongFormControlsOverlay']=void 0;const q=m(k(0xad8)),v=k(0x774),w=k(0x1133),x=k(0x1699),y=k(0x26ed),z=k(0x22d9),A=k(0x11c1),B=k(0x132a),C=k(0x2432),D=k(0x23a6);class E extends HTMLElement{constructor(F){super(),this['videoRef']=F,this['shadow']=this['attachShadow']({'mode':'open'}),this['isInitialize']=false,this['videoInfoText']=z['WidgetsFactory']['create']('blaze-div'),this['bottomContainerCta']=z['WidgetsFactory']['create']('blaze-div'),this['closeButton']=z['WidgetsFactory']['create']('blaze-button'),this['shareButton']=z['WidgetsFactory']['create']('blaze-button'),this['likeButton']=z['WidgetsFactory']['create']('blaze-button'),this['fullscreenButton']=z['WidgetsFactory']['create']('blaze-button'),this['muteButton']=z['WidgetsFactory']['create']('blaze-button'),this['closedCaptionButton']=z['WidgetsFactory']['create']('blaze-button'),this['ctaButton']=new x['BlazeCallToActionButton'](),this['currentMuteState']=y['ButtonState']['Unmute'],this['videoSeekBar']=z['WidgetsFactory']['create']('blaze-video-seek-bar'),this['videoTimer']=z['WidgetsFactory']['create']('blaze-timer'),this['videoNavigationOverlay']=z['WidgetsFactory']['create']('blaze-video-navigation-overlay'),this['gradientOverlayBottom']=z['WidgetsFactory']['create']('blaze-div'),this['gradientOverlayTop']=z['WidgetsFactory']['create']('blaze-div'),this['loader']=z['WidgetsFactory']['create']('blaze-loader'),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['boundOnCtaClick']=this['handleCtaClick']['bind'](this),this['boundOnCloseClick']=this['handleCloseClick']['bind'](this),this['boundOnClosedCaptionClick']=this['handleClosedCaptionClick']['bind'](this),this['boundOnScreenOrientationChange']=this['handleScreenOrientationChange']['bind'](this),this['boundOnCtaContainerClick']=this['handleCtaContainerClick']['bind'](this),this['isOverlayChangesBlocked']=false;}['connectedCallback'](){this['initialize'](),this['attachEventListeners']();}['disconnectedCallback'](){this['detachEventListeners']();}['initialize'](){this['isInitialize']||(this['isInitialize']=true,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'](v['NAVIGATION_OVERLAY_ATTRIBUTES']['Hidden'],'true'),this['muteButton']['setAttribute'](x['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['closedCaptionButton']['setAttribute'](x['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['fullscreenButton']['setAttribute'](x['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['closeButton']['setAttribute'](x['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['shareButton']['setAttribute'](x['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false'),this['likeButton']['setAttribute'](x['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'false');}['showPlayerOverlayAfterSeeking'](){setTimeout(()=>{this['videoNavigationOverlay']['setAttribute'](v['NAVIGATION_OVERLAY_ATTRIBUTES']['Hidden'],'false'),this['muteButton']['setAttribute'](x['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['closedCaptionButton']['setAttribute'](x['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['fullscreenButton']['setAttribute'](x['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['closeButton']['setAttribute'](x['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['shareButton']['setAttribute'](x['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true'),this['likeButton']['setAttribute'](x['BUTTON_ATTRIBUTES']['BlazeBtnVisible'],'true');},0x3e8);}['setTheme'](F){this['playerLayout']=F,this['videoSeekBar']['setTheme'](F['seekBar']);const {navigation:G,play:H,pause:I,replay:J}=F['icons'],{prev_next:K,play_pause:L,replay:M}=F['buttons'];this['videoNavigationOverlay']['setTheme']({'play':H,'pause':I,'navigation':G,'prev_next':K,'play_pause':L,'replay':M,'replayIcon':J}),this['ctaVisiblity']=F['cta']['visibility'],this['setCtaButtonStyles'](F['cta']),this['setHeadingStyle'](this['videoInfoText'],F['headingText']),this['setButtonStyle'](this['closeButton'],this['getButtonStyle']('exit'),F['icons']['exit']),this['setButtonStyle'](this['shareButton'],this['getButtonStyle']('share'),F['icons']['share']),this['setButtonStyle'](this['likeButton'],this['getButtonStyle']('like_unlike'),F['icons']['like']),this['setButtonStyle'](this['fullscreenButton'],this['getButtonStyle']('fullscreen'),F['icons']['fullscreenEnter']),this['setButtonStyle'](this['muteButton'],this['getButtonStyle']('mute_unmute'),F['icons']['mute']),this['setButtonStyle'](this['closedCaptionButton'],this['getButtonStyle']('closed_captions'),F['icons']['closedCaptionsOff']);}static get['observedAttributes'](){return ['video-title','hidden'];}['attributeChangedCallback'](F,G,H){switch(F){case 'video-title':H!==G&&this['updateVideoInfoText'](H);break;case 'hidden':H!==G&&('true'===H?this['hidePlayerOverlay']():this['showPlayerOverlay']());}}['showLoader'](){w['deviceDetector']['isMobile']||w['deviceDetector']['isTablet']?this['videoNavigationOverlay']['showLoader']():w['deviceDetector']['isDesktop']&&(this['loader']['style']['display']='block');}['hideLoader'](){w['deviceDetector']['isMobile']||w['deviceDetector']['isTablet']?this['videoNavigationOverlay']['hideLoader']():w['deviceDetector']['isDesktop']&&(this['loader']['style']['display']='none');}['hidePlayerOverlay'](){const F=this['shadow']['querySelector']('#bottom-container-controls');F&&this['animateOverlayVisibility'](F,false,'down');const G=this['shadow']['querySelector']('#top-container');if(G&&this['animateOverlayVisibility'](G,false,'up'),this['ctaVisiblity']){const H=this['shadow']['querySelector']('#bottom-container-cta');'VisibleAfterOverlayHidden'===this['ctaVisiblity']['behavior']&&(this['ctaTimeout']=setTimeout(()=>{null==H||H['classList']['add']('hidden'),this['isCtaRendered']&&this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['CTA_DISMISS'],{'bubbles':true,'composed':true}));},this['ctaVisiblity']['duration']));}}['showPlayerOverlay'](){const F=this['shadow']['querySelector']('#top-container');F&&this['animateOverlayVisibility'](F,true,'down');const G=this['shadow']['querySelector']('#bottom-container-controls');G&&this['animateOverlayVisibility'](G,true,'up');const H=this['shadow']['querySelector']('#bottom-container-cta');H&&(H['classList']['contains']('hidden')&&this['isCtaRendered']&&this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['CTA_VISIBILE'],{'bubbles':true,'composed':true})),H['classList']['remove']('hidden')),clearTimeout(this['ctaTimeout']);}['animateOverlayVisibility'](F,G,H='down'){q['default']['remove'](F),G?(F['classList']['remove']('hidden'),(0, q['default'])({'targets':F,'opacity':[0x0,0x1],'translateY':['up'===H?0x14:-20,0x0],'duration':0xfa,'easing':'easeOutQuad','begin':()=>{this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['UPDATE_CLOSED_CAPTIONS_LOCATION'],{'detail':{'top':'70px','left':'10px'},'bubbles':true,'composed':true})),this['gradientOverlayBottom']['classList']['remove']('hidden'),this['gradientOverlayTop']['classList']['remove']('hidden'),this['videoNavigationOverlay']['classList']['remove']('hidden');}})):(0, q['default'])({'targets':F,'opacity':[0x1,0x0],'translateY':[0x0,'up'===H?-20:0x14],'duration':0xfa,'easing':'easeInQuad','complete':()=>{F['classList']['add']('hidden'),F['style']['transform']='',this['gradientOverlayBottom']['classList']['add']('hidden'),this['gradientOverlayTop']['classList']['add']('hidden'),this['videoNavigationOverlay']['classList']['add']('hidden'),this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['UPDATE_CLOSED_CAPTIONS_LOCATION'],{'detail':{'top':'10px','left':'10px'},'bubbles':true,'composed':true}));}});}['handleScreenOrientationChange'](F){w['deviceDetector']['isDesktop']||this['playerLayout']&&this['setCtaButtonStyles'](this['playerLayout']['cta']);}['setClosedCaptionState'](F){'enabled'===F?(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'](F){this['setAttribute']('video-title',F);}get['isCtaRendered'](){return 'true'===this['getAttribute']('is-cta-rendered');}set['isCtaRendered'](F){this['setAttribute']('is-cta-rendered',F['toString']());}['setCta'](F){if(F&&F['url']&&F['text']&&F['backgroundColor']&&F['textColor']){this['ctaButton']['setAttribute'](x['CTA_BUTTON_ATTRIBUTES']['Href'],F['url']),this['ctaButton']['setAttribute'](x['CTA_BUTTON_ATTRIBUTES']['Text'],F['text']),this['ctaButton']['setAnchorButtonStyles']({'color':F['textColor'],'background':F['backgroundColor']}),this['ctaButton']['setAttribute'](x['CTA_BUTTON_ATTRIBUTES']['IconColor'],F['textColor']),this['isCtaRendered']=true;const G=this['shadow']['querySelector']('#bottom-container-cta');G&&!G['classList']['contains']('hidden')&&setTimeout(()=>{this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['CTA_VISIBILE'],{'bubbles':true,'composed':true})),this['ctaButton']['setAttribute'](x['CTA_BUTTON_ATTRIBUTES']['HiddenBtn'],'false');},0xfa);}else this['ctaButton']['setAttribute'](x['CTA_BUTTON_ATTRIBUTES']['HiddenBtn'],'true'),this['isCtaRendered']=false;}['removeCta'](){this['ctaButton']['setAttribute'](x['CTA_BUTTON_ATTRIBUTES']['HiddenBtn'],'true'),this['isCtaRendered']=false;}['setCtaButtonStyles'](F){var G;const H=w['deviceDetector']['isMobile'],I=w['deviceDetector']['screenOrientation'],J=!!(null===(G=this['videoRef']['modal'])||void 0===G?void 0:G['isOpen']),K='fullscreen'===this['videoRef']['videoPlayerState']['playerLayout'],L=H&&(J&&'portrait'===I||K),M=L?'100%':'auto';this['ctaButton']['setStyle']({'height':F['height'],'width':M});const N=this['getDeviceStyle'](F['text']);if(this['ctaButton']['setAnchorButtonStyles']({'fontFamily':F['fontFamily'],'borderRadius':F['borderRadius'],'outline':F['borderColor']?'1px\x20solid\x20'+F['borderColor']:'','width':M,'justifyContent':L?'center':'unset'}),this['ctaButton']['setCtaTextStyle']({'fontSize':N['fontSize'],'fontWeight':N['fontWeight'],'lineHeight':N['lineHeight'],'letterSpacing':N['letterSpacing'],'paddingRight':L?'unset':'20px','justifyContent':L?'center':'unset','width':M}),F['icon']['isVisible']){if(this['ctaButton']['setAttribute'](x['CTA_BUTTON_ATTRIBUTES']['IconUrl'],F['icon']['url']),this['ctaButton']['setAttribute'](x['CTA_BUTTON_ATTRIBUTES']['IconSize'],F['icon']['size']),this['ctaButton']['setCtaIconStyles']({'padding':'10px'}),w['deviceDetector']['isMobile']){const O=(0, C['convertCssUnitToNumber'])(F['icon']['size'])+0x14;this['ctaButton']['setCtaTextStyle']({'marginRight':O+'px'});}this['ctaButton']['setAttribute'](x['CTA_BUTTON_ATTRIBUTES']['DisplayIcon'],'true');}else this['ctaButton']['setAttribute'](x['CTA_BUTTON_ATTRIBUTES']['DisplayIcon'],'false');}['handleCtaClick'](F){F['target']===this['ctaButton']&&'landscape'===w['deviceDetector']['screenOrientation']&&w['deviceDetector']['isMobile']?this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['DISPLAY_HIDE_OVERLAY_FROM_CTA'],{'bubbles':true,'composed':true})):(F['stopPropagation'](),this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['CTA_CLICKED'],{'detail':{'url':this['ctaButton']['getAttribute']('href')},'bubbles':true,'composed':true})));}['attachStyles'](){const F=document['createElement']('style');F['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\x22Inter\x22,\x20serif;\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\x20column-gap:\x2025%;\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}\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\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\x20\x20.video-info\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.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'](F);}['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']),w['deviceDetector']['isDesktop']&&(this['loader']['setAttribute']('color',B['Colors']['White']),this['shadow']['appendChild'](this['loader'])),this['playerLayout']&&(this['videoInfoText']['classList']['add']('video-info'),this['createTopContainer'](),this['createBottomContainer']());}['getDeviceStyle'](F){switch(true){case w['deviceDetector']['isMobile']:return F['mobile'];case w['deviceDetector']['isTablet']:return F['tablet'];case w['deviceDetector']['isDesktop']:default:return F['desktop'];}}['getButtonStyle'](F){return this['getDeviceStyle'](this['playerLayout']['buttons'][F]);}['getLikeButtonStyle'](F){return this['getDeviceStyle'](F);}['getHeadingTextStyle'](F){return this['getDeviceStyle'](F);}['setHeadingStyle'](F,G){const {font:H,textColor:I,isVisible:J}=G,{fontWeight:K,fontSize:L,textTransform:M,lineHeight:N}=this['getHeadingTextStyle'](G['textStyle']);F['setStyle']({'fontFamily':H,'fontWeight':K,'fontSize':L,'color':I,'textTransform':M||'none','lineHeight':N||'normal','visibility':J?'visible':'hidden'});}['setButtonStyle'](F,G,H,I){F['setAttribute'](x['BUTTON_ATTRIBUTES']['Width'],G['width']),F['setAttribute'](x['BUTTON_ATTRIBUTES']['Height'],G['height']),F['setIconUrl'](H),F['setAttribute'](x['BUTTON_ATTRIBUTES']['IconColor'],(null==I?void 0:I['iconColor'])||G['color']),w['deviceDetector']['isDesktop']&&F['setAttribute'](x['BUTTON_ATTRIBUTES']['ButtonDesktopAnimation'],'true'),F['setStyle']({'display':'inline-flex','padding':G['padding'],'borderRadius':G['borderRadius'],'backgroundColor':G['backgroundColor']});}['createTopContainer'](){const F=z['WidgetsFactory']['create']('blaze-div');F['classList']['add']('top-container'),F['id']='top-container',this['setHeadingStyle'](this['videoInfoText'],this['playerLayout']['headingText']),F['appendChild'](this['videoInfoText']);const G=z['WidgetsFactory']['create']('blaze-div');if(G['classList']['add']('top-right-icons'),!A['ConfigService']['staticContentType']&&(!(this['videoRef']['embeddedRef']instanceof D['BlazeWidgetEmbeddedVideo'])||this['videoRef']['modal'])){const J=this['getButtonStyle']('exit');this['setButtonStyle'](this['closeButton'],J,this['playerLayout']['icons']['exit']),J['isVisible']&&G['appendChild'](this['closeButton']),this['closeButton']['setDataTestId']('close-button');}const H=this['getButtonStyle']('share');this['setButtonStyle'](this['shareButton'],H,this['playerLayout']['icons']['share']),H['isVisible']&&G['appendChild'](this['shareButton']),this['shareButton']['setDataTestId']('share-button');const I=this['getButtonStyle']('like_unlike');this['setButtonStyle'](this['likeButton'],I,this['playerLayout']['icons']['unlike'],{'iconColor':B['Colors']['White']}),I['isVisible']&&G['appendChild'](this['likeButton']),this['likeButton']['setDataTestId']('like-button'),G['addEventListener']('click',K=>{K['target']===G&&K['stopPropagation']();}),F['appendChild'](G),this['shadow']['appendChild'](F);}['createBottomContainer'](){const F=z['WidgetsFactory']['create']('blaze-div');F['classList']['add']('bottom-container'),this['bottomContainerCta']['id']='bottom-container-cta',this['bottomContainerCta']['classList']['add']('bottom-container-cta');const G=z['WidgetsFactory']['create']('blaze-div');G['id']='bottom-container-controls',this['bottomContainerCta']['appendChild'](this['ctaButton']);const H=this['createControls']();G['appendChild'](H);const I=z['WidgetsFactory']['create']('blaze-div');I['classList']['add']('bottom-icons-container');const J=this['createBottomLeftIcons']();I['appendChild'](J);const K=this['createBottomRightIcons']();I['appendChild'](K),G['appendChild'](I),F['appendChild'](this['bottomContainerCta']),F['appendChild'](G),F['addEventListener']('click',L=>L['stopPropagation']()),this['shadow']['appendChild'](F);}['createControls'](){const F=z['WidgetsFactory']['create']('blaze-div');return F['classList']['add']('controls'),F['appendChild'](this['videoTimer']),F['appendChild'](this['videoSeekBar']),F;}['createBottomRightIcons'](){const F=z['WidgetsFactory']['create']('blaze-div');F['classList']['add']('bottom-left-icons');const G=this['getButtonStyle']('fullscreen');this['setButtonStyle'](this['fullscreenButton'],G,this['playerLayout']['icons']['fullscreenEnter']),this['fullscreenButton']['setDataTestId']('fullscreen-button');const H=this['getButtonStyle']('mute_unmute');this['setButtonStyle'](this['muteButton'],H,this['playerLayout']['icons']['mute']),H['isVisible']&&F['appendChild'](this['muteButton']),this['muteButton']['setDataTestId']('mute-button');const I=this['getButtonStyle']('closed_captions');this['setButtonStyle'](this['closedCaptionButton'],I,this['playerLayout']['icons']['closedCaptionsOn']);const J=this['videoRef']['embeddedRef']instanceof D['BlazeWidgetEmbeddedVideo']&&!this['videoRef']['modal'];return (J?I['isEmbeddedVisible']&&I['isVisible']:I['isVisible'])&&F['appendChild'](this['closedCaptionButton']),this['closedCaptionButton']['setDataTestId']('closed-caption-button'),(w['deviceDetector']['isFullscreenSupported']||J)&&G['isVisible']&&F['appendChild'](this['fullscreenButton']),F;}['createBottomLeftIcons'](){const F=z['WidgetsFactory']['create']('blaze-div');return F['classList']['add']('bottom-right-icons'),w['deviceDetector']['isDesktop']?(this['videoNavigationOverlay']['platform']='desktop',F['appendChild'](this['videoNavigationOverlay'])):w['deviceDetector']['isTablet']?(this['videoNavigationOverlay']['platform']='tablet',this['shadow']['appendChild'](this['videoNavigationOverlay'])):w['deviceDetector']['isMobile']&&(this['videoNavigationOverlay']['platform']='mobile',this['shadow']['appendChild'](this['videoNavigationOverlay'])),F;}['attachEventListeners'](){this['fullscreenButton']['addEventListener'](v['EVENTS']['CLICK'],this['boundOnFullscreenClick']),this['shareButton']['addEventListener'](v['EVENTS']['CLICK'],this['boundOnShareClick']),this['likeButton']['addEventListener'](v['EVENTS']['CLICK'],this['boundOnLikeClick']),this['muteButton']['addEventListener'](v['EVENTS']['CLICK'],this['boundOnMuteClick']),this['ctaButton']['addEventListener'](v['EVENTS']['CLICK'],this['boundOnCtaClick']),this['closedCaptionButton']['addEventListener'](v['EVENTS']['CLICK'],this['boundOnClosedCaptionClick']),(w['deviceDetector']['isMobile']||w['deviceDetector']['isTablet'])&&this['closeButton']['addEventListener'](v['EVENTS']['CLICK'],this['boundOnCloseClick']),this['bottomContainerCta']['addEventListener'](v['EVENTS']['CLICK'],this['boundOnCtaContainerClick']),window['addEventListener'](w['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnScreenOrientationChange']);}['detachEventListeners'](){this['fullscreenButton']['removeEventListener'](v['EVENTS']['CLICK'],this['boundOnFullscreenClick']),this['shareButton']['removeEventListener'](v['EVENTS']['CLICK'],this['boundOnShareClick']),this['likeButton']['removeEventListener'](v['EVENTS']['CLICK'],this['boundOnLikeClick']),this['muteButton']['removeEventListener'](v['EVENTS']['CLICK'],this['boundOnMuteClick']),this['ctaButton']['removeEventListener'](v['EVENTS']['CLICK'],this['boundOnCtaClick']),this['closedCaptionButton']['removeEventListener'](v['EVENTS']['CLICK'],this['boundOnClosedCaptionClick']),(w['deviceDetector']['isMobile']||w['deviceDetector']['isTablet'])&&this['closeButton']['removeEventListener'](v['EVENTS']['CLICK'],this['boundOnCloseClick']),this['bottomContainerCta']['removeEventListener'](v['EVENTS']['CLICK'],this['boundOnCtaContainerClick']),window['removeEventListener'](w['DEVICE_EVENTS']['SCREEN_ORIENTATION_CHANGE'],this['boundOnScreenOrientationChange']);}['handleCtaContainerClick'](F){F['stopPropagation'](),this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['DISPLAY_HIDE_OVERLAY_FROM_CTA'],{'bubbles':true,'composed':true}));}['handleFullscreenClick'](F){F['stopPropagation'](),this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['FULLSCREEN'],{'bubbles':true,'composed':true}));}['handleShareClick'](F){F['stopPropagation'](),this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['SHARE'],{'bubbles':true,'composed':true}));}['handleLikeClick'](F){F['stopPropagation'](),this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['LIKE'],{'bubbles':true,'composed':true}));}['handleCloseClick'](F){F['stopPropagation'](),this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['CLOSE_PLAYER'],{'detail':{'exitTrigger':'Close\x20Button'},'bubbles':true,'composed':true}));}['handleClosedCaptionClick'](F){F['stopPropagation'](),this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['CLOSED_CAPTIONS_OPEN_MODAL'],{'bubbles':true,'composed':true}));}['handleMuteClick'](F){F['stopPropagation'](),this['currentMuteState']===y['ButtonState']['Unmute']?(this['currentMuteState']=y['ButtonState']['Mute'],this['updateMuteButtonIcon'](),this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['MUTE'],{'bubbles':true,'composed':true}))):(this['currentMuteState']=y['ButtonState']['Unmute'],this['updateMuteButtonIcon'](),this['dispatchEvent'](new CustomEvent(v['VIDEO_EVENTS']['UNMUTE'],{'bubbles':true,'composed':true})));}['updateClosedCaptionButtonIcon'](F){const {closedCaptionsOn:G,closedCaptionsOff:H}=this['playerLayout']['icons'];this['closedCaptionButton']['setIconUrlAnimation'](F?G:H);}['setMuteState'](F){this['currentMuteState']=F?y['ButtonState']['Mute']:y['ButtonState']['Unmute'],this['updateMuteButtonIcon']();}['updateMuteButtonIcon'](){const {mute:F,unmute:G}=this['playerLayout']['icons'];this['muteButton']['setIconUrlAnimation'](this['currentMuteState']===y['ButtonState']['Unmute']?G:F);}['toggleMute'](F){this['currentMuteState']=F?y['ButtonState']['Mute']:y['ButtonState']['Unmute'],this['updateMuteButtonIcon']();}['updateMute'](F){this['toggleMute'](F);}['setFullscreenState'](F){const G=void 0!==F?F:'fullscreen'===this['videoRef']['videoPlayerState']['playerLayout'],{fullscreenEnter:H,fullscreenExit:I}=this['playerLayout']['icons'];(w['deviceDetector']['isFullscreenSupported']||this['videoRef']['embeddedRef'])&&this['fullscreenButton']['setIconUrlAnimation'](G?I:H),this['playerLayout']&&this['setCtaButtonStyles'](this['playerLayout']['cta']);}['setVideoDuration'](F){this['videoTimer']['updateTotalTime'](F);}['setCurrentTime'](F){this['videoTimer']['updateCurrentTime'](F);}['updateVideoInfoText'](F){this['videoInfoText']['textContent']=F;}['setLikedState'](F){const {like:G,unlike:H}=this['playerLayout']['icons'];this['likeButton']['setIconUrlAnimation'](F?G:H),this['likeButton']['setAttribute'](x['BUTTON_ATTRIBUTES']['IconColor'],F?this['getLikeButtonStyle'](this['playerLayout']['buttons']['like_unlike'])['color']:B['Colors']['White']);}['refreshCtaLayout'](){this['playerLayout']&&this['setCtaButtonStyles'](this['playerLayout']['cta']);}}j['BlazeLongFormControlsOverlay']=E;},0x1cc6:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['convertCcLanguageToState']=void 0;const h=g(0x1932);f['convertCcLanguageToState']=(j,k)=>{const l=null==j?void 0:j['find'](p=>''+p['language']===k),m=h['CcSupportedLanguages']['filter'](p=>'null'!==p['code'])['find'](p=>p['code']===k);return k&&(null==j?void 0:j['length'])?l?m?k:'Unknown':'Unavailable':'Off';};},0x1cf8:function(d,f,g){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':true}),f['MomentService']=void 0;const j=g(0x11c1),k=g(0x1133);class l extends(0, k['Singleton'])(){['init'](){}['fetchContent'](m){return h(this,void 0,void 0,function*(){const {sourceType:p,labels:q,ids:u,orderType:v,maxItems:w,labelsPriority:x,recommendations:y,text:z}=m;let A,B;if('ids'===p&&u)({data:A,error:B}=yield j['ApiService']['getMomentByIds']({'ids':u,'orderType':v}));else {if('labels'===p&&q){const C=Array['isArray'](q)?q['join']():q['toString']();({data:A,error:B}=yield j['ApiService']['getMomentsByLabels']({'labels':C,'orderType':v,'maxItems':w,'labelsPriority':x,'text':z}));}else 'text'===p&&z?{data:A,error:B}=yield j['ApiService']['getMomentsByText']({'text':z,'orderType':v,'maxItems':w}):'recommendations'===p&&y&&({data:A,error:B}=yield j['ApiService']['getMomentsByRecommendations']({'recommendations':y}));}return null==A||A['result']['map'](D=>{D['type']='Content';}),A||{'assetsExpiryTime':'','totalItems':0x0,'result':[]};});}['updateMomentReadStatusById'](m){return h(this,void 0,void 0,function*(){return yield j['DatabaseService']['updateViewedMoment'](m);});}['enrichContent'](m){return h(this,void 0,void 0,function*(){return yield j['DatabaseService']['enrichMoments'](m);});}}f['MomentService']=l['getInstance']();},0x1d16:function(f,j,k){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']());});},q=this&&this['__importDefault']||function(F){return F&&F['__esModule']?F:{'default':F};};Object['defineProperty'](j,'__esModule',{'value':true}),j['BlazeWidgetStoryPlayer']=void 0;const v=q(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']=(0, 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 0===window||window['removeEventListener']('focus',this['onFocus']),this['cleanupHammer'](),this['cancelAccessibilityConfig'](),this['cancelFocus']();}['setupEventListeners'](){this['listeners']['add']('keydown',this['boundOnKeyDown']),null===window||void 0===window||window['addEventListener']('focus',this['onFocus']['bind'](this)),this['setupHammer'](Hammer['DIRECTION_HORIZONTAL']);}['applyStyles'](){(0, 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 0: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 0===G||G['dispatchExitStoryEvents'](),this['close']()));this['isNavigationBlocked']=true,A['VideoPlayerService']['isNavigating']=false;const K=this['playerContentList'][I];x['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==K?void 0:K['data']['id'],'isAd':null==K?void 0:K['data']['isAd']}),null==K||K['updatePlayerButtonIcons'](),this['blockInteractionWithUserInterface'](),null===(H=this['animateContent'](F))||void 0===H||H['play'](),A['VideoPlayerService']['isNavigating']=false,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 0===R?void 0:R['id']);});if(!(null===(G=this['playerContentList'][this['index']])||void 0===G?void 0:G['currentPage']['isCurrentlyTryingToRunImaAd'])&&P>-1){const Q=F['distance']/((null===window||void 0===window?void 0: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']=true,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 0===H||H['load'](),null===(I=this['currentNextAnimation'])||void 0===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 0===J||J['load'](),null===(K=this['currentPrevAnimation'])||void 0===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 0===L?void 0:L['enhancements'])||void 0===M?void 0:M['hasSwipeUp'],U=R['currentPage']instanceof w['BlazeWidgetVideo'],V=R['currentPage']instanceof w['BlazeWidgetAd'];if(U&&S&&T){R['isCtaWasClickedOrSwiped']=true;const W=new Event('swipeup');R['handleCtaAction'](W,'Swipe\x20Up');}else V&&(R['isCtaWasClickedOrSwiped']=true,R['currentPage']['handleCtaSwipeUp'](),(0, C['delay'])(z['ONE_SECOND'])['then'](()=>R['isCtaWasClickedOrSwiped']=false));}return;default:null===(N=this['currentNextAnimation'])||void 0===N||N['seek'](0x0),null===(O=this['currentPrevAnimation'])||void 0===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 0===L?void 0:L['id']);});if(!(null===(G=this['playerContentList'][this['index']])||void 0===G?void 0: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 0:H['data']['id'],'isAd':null==H?void 0: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 0:I['data']['id'],'isAd':null==I?void 0: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 0:F['pageIndex'])&&void 0!==G?G:0x0)&&(J['pageIndex']=null!==(H=null==F?void 0:F['pageIndex'])&&void 0!==H?H:0x0),x['URLManager']['updateLocationContentHash']({'contentType':'story','contentId':null==J?void 0:J['data']['id'],'isAd':null==J?void 0:J['data']['isAd']}),J){J['load']();const K=J['shouldShowImaAdOnStart'];J['shouldShowImaAdOnStart']=false,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 0===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 0:J['data'])||void 0===I?void 0:I['id']);}}['loadAndPlayContent'](){return m(this,void 0,void 0,function*(){var F;this['isNavigationBlocked']=true,this['videoPlayerState']['isPlaying']=true;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']=false);}),G['isActive']=true,this['isNavigationBlocked']=false,A['VideoPlayerService']['isNavigating']=false,this['videoPlayerState']['isPlaying']=true,this['manageElementsAccessible'](null===(F=G['data'])||void 0===F?void 0: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']=false,F['updateWidgetStatusReadUnread'](),F['currentPage']['muted']=this['videoPlayerState']['isMuted'],F['pause']()),null===(H=this['onContentChange'])||void 0===H||H['call'](this,G),this['index']+='NEXT'===G?0x1:-1,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 0===I?void 0: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']?-1:0x1);return v['default']['timeline']({'complete':()=>{A['VideoPlayerService']['isModalOpen']&&this['handleAnimationCompletion'](F,G);},'changeBegin':()=>{this['handleAnimationStart'](F,I);},'easing':'easeOutQuad','autoplay':false})['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 0===H?void 0:H['isOpen'])&&(null===(I=F['shareModal'])||void 0===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']=true;const L=v['default']['timeline']({'complete':()=>{this['isCloseAnimationStarted']=false,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']=false,!!this['focus']&&('ArrowLeft'==F['key']||'Left'==F['key']?(this['videoPlayerState']['isPlaying']=true,'RTL'===A['ConfigService']['layoutDirection']?G['goNextPage']():G['goPrevPage']()):'ArrowRight'!=F['key']&&'Right'!=F['key']||(this['videoPlayerState']['isPlaying']=true,'RTL'===A['ConfigService']['layoutDirection']?G['goPrevPage']():G['goNextPage']()),false);A['ConfigService']['shouldAutoAdvance']&&(this['renderPlayerBackground'](true),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 0===H?void 0: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 0===H?void 0: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 0:F['data'])||void 0===G?void 0:G['id']),this['configurePlayerContentAccessibility'](),null===(I=null===(H=null==F?void 0:F['refContentModal'])||void 0===H?void 0:H['updateContentAriaLabelForNavigation'])||void 0===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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['ANNOUNCEMENT_CONSTANTS']=void 0,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){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':true}),f['VideoCacheService']=void 0;const j=g(0x1133),k=g(0x23b6);class l extends(0, j['Singleton'])(){constructor(){super(),this['cache']=null,this['cacheName']='blaze-video-cache',this['downloadControllers']=new Map(),this['cacheList']=new Map(),this['cacheInitialized']=false,this['cacheSupported']=false,this['sizeLimit']=0x15e00000,this['cacheSupported']=this['isCacheSupported']();}['isCacheSupported'](){return 'undefined'!=typeof caches&&'open'in caches;}['init'](){return h(this,void 0,void 0,function*(){this['cacheSupported']&&this['retryCacheInitialization'](0x3);});}['retryCacheInitialization'](m){return h(this,void 0,void 0,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 0,void 0,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 0,void 0,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 0,void 0,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 0,void 0,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 0,void 0,function*(){if(!this['cacheInitialized']||!this['cache'])return false;try{return !!(yield this['cache']['match'](m));}catch(p){return false;}});}['abortDownload'](m){return h(this,void 0,void 0,function*(){const p=this['downloadControllers']['get'](m);p&&(p['abort'](),this['downloadControllers']['delete'](m));});}['deleteCacheVideoByUrl'](m){return h(this,void 0,void 0,function*(){return !!this['cache']&&(yield this['cache']['delete'](m)['then'](()=>true)['catch'](p=>false));});}['clearAllCache'](){return h(this,void 0,void 0,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 0,void 0,function*(){this['cacheInitialized']&&this['cache']&&(this['downloadControllers']['has'](m)||(yield this['addCacheVideoByUrl'](m)));});}['deleteVideoFromCache'](m){return h(this,void 0,void 0,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){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':true}),g['BlazeWidgetClosedCaptionsModal']=void 0;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 0,void 0,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'],true),this['addEventListener'](p['PLAYER_MENU_EVENTS']['COLLAPSE'],this['boundOnMenuCollapse'],true),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 0===z||z['call'](this);}['onMenuClose'](){var z;null===(z=this['onClose'])||void 0===z||z['call'](this),(0, x['mergeStyles'])(this['closedCaptionsContainer'],{'height':'fit-content','maxHeight':0x3*(m['deviceDetector']['isMobile']?0x4a:0x38)+'px'});}['onMenuExpand'](){(0, x['mergeStyles'])(this['closedCaptionsContainer'],{'maxHeight':'initial'});}['onMenuCollapse'](){(0, 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 true===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']);-1!==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 0:B['code']},'bubbles':true,'composed':true})),B?null===(C=this['onClosedCaptionsEnable'])||void 0===C||C['call'](this,B['code']):null===(D=this['onClosedCaptionsDisable'])||void 0===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');if(C['setStyle']({'display':'flex','flexDirection':'row','alignItems':'center','gap':'8px','flex':'1','overflow':'hidden'}),z&&'null'!==z['code']){const G=u['WidgetsFactory']['create']('blaze-div');G['classList']['add']('country-code'),G['setStyle']({'backgroundColor':'#bababa','borderRadius':'2px','fontFamily':w['Presets']['playerFont'],'fontSize':'10px','fontWeight':'900','color':'#333333','lettersSpacing':'1px','display':'flex','alignItems':'center','justifyContent':'center','height':'16px','width':'23px'}),G['innerText']=z['code']['toUpperCase'](),C['append'](G);}if(C['append'](F),D['setStyle']({'display':'flex','flexDirection':'row','alignItems':'center','gap':'16px','flexShrink':'0'}),null==A?void 0:A['isNotAvailable']){const H=u['WidgetsFactory']['create']('blaze-typography');H['innerText']='Not\x20available',B['classList']['add']('not-available'),D['append'](H);}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']=(null==z?void 0:z['name'])||'Off',B['classList']['add']('cc-option'),(null==A?void 0: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 0:A['isFirstRecentlySelected'])?'1px\x20solid\x20#404040':'none','borderBottom':(null==A?void 0:A['isLastRecentlySelected'])?'1px\x20solid\x20#404040':'none','cursor':(null==A?void 0:A['isNotAvailable'])?'not-allowed':'pointer'}),B['append'](C),B['append'](D),(null==A?void 0:A['isNotAvailable'])||(B['onclick']=I=>this['handleCcOptionClick'](I,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 0===E?void 0: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 0===F?void 0: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\x20\x20\x20\x20',this['shadow']['append'](z),this['shadow']['append'](this['closedCaptionsMenu']),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']&&(0, 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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1d65:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['MomentModalTemplate']=void 0;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 0),p['seek'](null!==(u=q[0x0]['id'])&&void 0!==u?u:'');}['getService'](){return k['MomentService'];}['getErrorCode'](){return j['ErrorCode']['FailedLoadingMoments'];}}f['MomentModalTemplate']=m;},0x1d6e:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),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'};},0x1e19:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['HttpStatus']=void 0,f['HttpStatus']={'Ok':0xc8,'Created':0xc9,'NoContent':0xcc,'BadRequest':0x190,'Unauthorized':0x191,'Forbidden':0x193,'NotFound':0x194,'InternalServerError':0x1f4};},0x1e1c:function(d,f,g){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':true}),f['AppConfigurationService']=void 0;const j=g(0x11c1),k=g(0x1133),m=g(0x26ed),p=g(0x2432);class q extends(0, k['Singleton'])(){constructor(){super(),this['_refetchInterval']=null;}get['appConfigurations'](){return this['_appConfigurations'];}['init'](u){return h(this,void 0,void 0,function*(){var v,w,x,y,z;if(u['staticContent']||u['staticContentType'])return;let A=0x3,B=false;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 (0, 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 0,void 0,function*(){navigator['onLine']&&(yield this['init'](u));}),w);}['clearRefetchInterval'](){this['_refetchInterval']&&(clearInterval(this['_refetchInterval']),this['_refetchInterval']=null);}['destroy'](){this['clearRefetchInterval']();}}f['AppConfigurationService']=q['getInstance']();},0x1e68:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),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;};},0x1e6b:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1e70:(d,f)=>{var g;Object['defineProperty'](f,'__esModule',{'value':true}),f['PlayStatus']=void 0,function(h){h['Success']='SUCCESS',h['Failed']='FAILED';}(g||(f['PlayStatus']=g={}));},0x1ef4:function(f,g,j){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':true}),g['AnalyticsService']=void 0;const p=j(0x1c40),q=j(0x11c1),v=m(j(0x208a)),w=j(0x1133),x=j(0x1932),y=j(0x164),z=j(0x263);class A extends(0, w['Singleton'])(){constructor(){super(...arguments),this['events']=[],this['eventSessionCounter']=0x1;}['init'](){return k(this,void 0,void 0,function*(){const B=new p['UAParser'](navigator['userAgent']);this['uaParsed']=B['getResult'](),q['ConfigService']['sendAnalytics']&&setInterval(()=>{this['sendAnalyticsData']();},x['ONE_SECOND']);});}['sendAnalyticsData'](){return k(this,void 0,void 0,function*(){if(q['UserService']['userId']){if(q['UserService']['sessionId']&&this['events']['length'])try{const B=this['events']['map'](C=>{var D,E,F,G,H;return C['user']['generated_user_id']=q['ConfigService']['doNotTrack']?'do_not_track':q['UserService']['userId'],C['user']['external_user_id']=null!==(D=q['ConfigService']['externalUserId'])&&void 0x0!==D?D:'',C['user']['ab_test_id']=null!==(F=null===(E=q['UserService']['abTest'])||void 0x0===E?void 0x0:E['id'])&&void 0x0!==F?F:'',C['user']['ab_test_variant']=null!==(H=null===(G=q['UserService']['abTest'])||void 0x0===G?void 0x0:G['variant'])&&void 0x0!==H?H:'',C['session_id']=q['UserService']['sessionId'],C['widget']&&(C['widget']['page_view_id']=q['UserService']['sessionId']),C;});this['events']=[],yield this['bulkEvent'](B);}catch(C){}}else q['UserService']['assignUserId']();});}['bulkEvent'](B){return k(this,void 0,void 0,function*(){return B['forEach'](C=>{var D;let E=null!==(D=C['event_action'])&&void 0!==D?D:'Unknown\x20Action',F=false;['cta_click','audio','cc_off','cc_on','share_click','share_success','playback_pause','playback_play']['includes'](E)&&('moment'===C['event_category']&&C['moment']?(E='$'+E,F=true):'video'===C['event_category']&&C['video']&&(E='#'+E,F=true));const G=x['exposedFieldsByAction'][E];F&&(E=E['substring'](0x1));const H={},I=(0, y['flattenObject'])(C);if(G){for(const J of G)I['hasOwnProperty'](J)&&(H[J]=I[J]);}q['EventService']['dispatchAnaltyicsEvents'](E,H);}),q['ConfigService']['disableAnalytics']?Promise['resolve']():q['ApiService']['sendAnaltyicsEvents'](B);});}['pushStoryEvent'](B,C,D=void 0,E=void 0){this['events']['push'](this['setupEvent'](w['Category']['Story'],B['toString'](),C,D,E));}['pushMomentEvent'](B,C,D=void 0,E=void 0){this['events']['push'](this['setupEvent'](w['Category']['Moment'],B['toString'](),C,D,E));}['pushVideoEvent'](B,C,D=void 0,E=void 0){this['events']['push'](this['setupEvent'](w['Category']['Video'],B['toString'](),C,D,E));}['pushAdEvent'](B,C,D=void 0,E=void 0){this['events']['push'](this['setupEvent'](w['Category']['Ad'],B['toString'](),C,D,E));}['pushConsentEvent'](B,C){g['AnalyticsService']['events']['push'](g['AnalyticsService']['setupEvent'](w['Category']['Consent'],B['toString'](),C,void 0,void 0));}['pushImaAdEvent'](B,C,D=void 0,E=void 0){this['events']['push'](this['setupEvent'](w['Category']['Ad'],B['toString'](),C,D,E));}['pushInteractionEvent'](B,C,D=void 0,E=void 0){this['events']['push'](this['setupEvent'](w['Category']['Interaction'],B['toString'](),C,D,E));}['pushWidgetEvent'](B,C,D=void 0,E=void 0){this['events']['push'](this['setupEvent'](w['Category']['Widget'],B['toString'](),C,D,E));}['setupEvent'](B,D,F,G=void 0,H=void 0){var J,K,L,M,N,O,P,Q,R,U,V,W,X,Y;const Z=new w['AnalyticsEvent']();if(Z[B]=F,Z['api_scheme_version']='2',Z['sdk_event_session_counter']=this['eventSessionCounter']++,Z['sdk_event_id']=(0, z['v4'])(),Z['timestamp_utc']=(0, y['formatUTCDate'])(new Date()),Z['timestamp_user_tz']=(0, y['formatDate'])(new Date()),Z['sdk_type']='web',Z['sdk_version']=v['default']['version'],Z['sdk_id']='web',Z['event_action']=D,Z['user']['locale']=null===navigator||void 0===navigator?void 0:navigator['language'],Z['tech']['user_agent']=null===navigator||void 0===navigator?void 0:navigator['userAgent'],Z['session_id']=q['UserService']['sessionId'],Z['page']['page_url']=null===location||void 0===location?void 0:location['href'],this['uaParsed']){Z['tech']['browser']=null===(J=this['uaParsed']['browser'])||void 0===J?void 0:J['name'],Z['tech']['browser_version']=null===(K=this['uaParsed']['browser'])||void 0===K?void 0:K['version'],Z['tech']['os']=null===(L=this['uaParsed']['os'])||void 0===L?void 0:L['name'],Z['tech']['os_version']=null===(M=this['uaParsed']['os'])||void 0===M?void 0:M['version'],Z['tech']['device_model']=null===(N=this['uaParsed']['device'])||void 0===N?void 0:N['model'],Z['tech']['device_brand']=null===(O=this['uaParsed']['device'])||void 0===O?void 0:O['vendor'];const a2={'mobile':'Phone','tablet':'Tablet','undefined':'Desktop'}[null===(P=this['uaParsed']['device'])||void 0===P?void 0:P['type']]||(null===(Q=this['uaParsed']['device'])||void 0===Q?void 0:Q['type']);Z['tech']['device_type']=a2;}Z['tech']['screen_resolution']=(null===(R=null===window||void 0===window?void 0:window['screen'])||void 0===R?void 0:R['availWidth'])+'x'+(null===(U=null===window||void 0===window?void 0:window['screen'])||void 0===U?void 0:U['availHeight']),Z['tech']['screen_color']=null===(W=null===(V=null===window||void 0===window?void 0:window['screen'])||void 0===V?void 0:V['colorDepth'])||void 0===W?void 0:W['toString']();const a0=(null===window||void 0===window?void 0:window['innerWidth'])||document['documentElement']['clientWidth']||document['body']['clientWidth'],a1=(null===window||void 0===window?void 0:window['innerHeight'])||document['documentElement']['clientHeight']||document['body']['clientHeight'];if(Z['tech']['browser_size']=a0+'x'+a1,(null===(X=navigator['connection'])||void 0===X?void 0:X['effectiveType'])&&(Z['tech']['connection_type']=null===(Y=navigator['connection'])||void 0===Y?void 0:Y['effectiveType']),H&&(Z['referring']=H),G&&(Z['event_label']=G,Z['referring']['labels_expression']=G),Z['event_category']=B['toString'](),B==w['Category']['Widget']&&Z['widget']){Z['widget']['page_view_id']=q['UserService']['sessionId'],Z['widget']['page_size']=Z['tech']['browser_size'];const a3=null===window||void 0===window?void 0:window['location']['href']['indexOf']('#blaze'),a4=-1!==a3?null===window||void 0===window?void 0:window['location']['href']['slice'](0x0,a3):null===window||void 0===window?void 0:window['location']['href'];Z['widget']['page_type']=/^(https?:\/\/[^/]+\/?)$/i['test'](a4)?'Homepage':'Category/Article';}return Z;}}g['AnalyticsService']=A['getInstance']();},0x1f0f:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['contentAccessibilityManager']=f['ContentAccessibilityManager']=void 0;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 0:r['navigationType'])||'',v='Automatic'===u;if('Manual'===u){const w=m>((null==r?void 0: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',true);}['buildStoryNavigationAnnouncement'](m,p,q,r){const u=(null==r?void 0:r['navigationType'])||'',v='Automatic'===u;if('Manual'===u){const w=m>((null==r?void 0: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',true);}['buildMomentNavigationAnnouncement'](m,p,q,r){const u=(null==r?void 0:r['navigationType'])||'',v='Automatic'===u;if('Manual'===u){const w=m>((null==r?void 0: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',true);}['buildGenericNavigationAnnouncement'](m,p,q,r){const u=this['getContentTypeLabel'](q);return this['formatAnnouncementMessage'](u,r,m,p,u['toLowerCase'](),true);}['formatAnnouncementMessage'](m,p,q,r,u,v=false){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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['DEFAULT_CONTENT_ACCESSIBILITY_CONFIG']=f['DEFAULT_ACCESSIBILITY_CONFIG']=void 0,f['DEFAULT_ACCESSIBILITY_CONFIG']={'announcements':{'delay':0x320,'queueSize':0xa,'enableAutoRetry':true,'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'}}};},0x1f50:function(d,f){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':true}),f['fetchPosterWithHighPriority']=function(h){return g(this,arguments,void 0,function*(j,k=0x7d0){if(j)return new Promise(l=>{const m=new Image();let p=false;const q=()=>{p||(p=true,l());};m['onload']=()=>{q();},m['onerror']=()=>{q();},'fetchPriority'in m&&(m['fetchPriority']='high'),m['src']=j,setTimeout(()=>{q();},k);});});};},0x1f6e:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1f70:function(j,k,q){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':true}),k['BlazeWidgetMoment']=void 0;const x=q(0x23a6),z=q(0x1133),A=q(0x2432),B=q(0x1699),D=q(0x1932),F=q(0x26ed),G=q(0x22d9),H=q(0x636),I=q(0x11c1),J=q(0x132a),K=q(0x2432),L=q(0x164),M=q(0xb58),N=q(0x416),O=q(0x24a5),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 M['BlazeWidgetContent']{constructor(U){super(),this['playerStyle']=U,this['modal']={},this['seekBar']=G['WidgetsFactory']['create']('blaze-widget-moment-seek-bar'),this['data']={},this['contentType']='moment',this['momentIndex']=0x0,this['loopNumber']=0x0,this['isLiked']=false,this['actionHandlers']=[],this['topContainer']=G['WidgetsFactory']['create']('blaze-div'),this['bottomContainer']=G['WidgetsFactory']['create']('blaze-div'),this['bottomContentContainer']=G['WidgetsFactory']['create']('blaze-div'),this['buttonsContainer']=G['WidgetsFactory']['create']('blaze-div'),this['bottomContainerCtaAndContent']=G['WidgetsFactory']['create']('blaze-div'),this['bottomContainerCtaContentButtons']=G['WidgetsFactory']['create']('blaze-div'),this['shadowBottomElement']=G['WidgetsFactory']['create']('blaze-div'),this['shadowTopElement']=G['WidgetsFactory']['create']('blaze-div'),this['topButtonsContainer']=G['WidgetsFactory']['create']('blaze-div'),this['bottomButtonsContainer']=G['WidgetsFactory']['create']('blaze-div'),this['likeWrapperElement']=G['WidgetsFactory']['create']('blaze-div'),this['likeCountElement']=G['WidgetsFactory']['create']('blaze-div'),this['closeButtonElement']=G['WidgetsFactory']['create']('blaze-button'),this['muteButtonElement']=G['WidgetsFactory']['create']('blaze-button'),this['likeButtonElement']=G['WidgetsFactory']['create']('blaze-button'),this['shareButtonElement']=G['WidgetsFactory']['create']('blaze-button'),this['playPauseButtonElement']=G['WidgetsFactory']['create']('blaze-button'),this['closedCaptionButtonElement']=G['WidgetsFactory']['create']('blaze-button'),this['customActionButtonOneElement']=G['WidgetsFactory']['create']('blaze-button'),this['customActionButtonTwoElement']=G['WidgetsFactory']['create']('blaze-button'),this['headBodyContainer']=G['WidgetsFactory']['create']('blaze-div'),this['headElement']=G['WidgetsFactory']['create']('blaze-div'),this['bodyElement']=G['WidgetsFactory']['create']('blaze-div'),this['ctaButtonElement']=new B['BlazeCtaButton'](),this['isInit']=false,this['isActive']=false,this['isMomentPausedByPlayPauseButton']=false,this['shouldShowImaAdOnStart']=false,this['elementsToHideOnImaAds']=[],this['elementsToHideOnCustomAds']=[];}['setPlayerStyle'](U){this['playerStyle']=U;}['setActionHandlers'](U){this['actionHandlers']=U;}['connectedCallback'](){this['isInit']||(this['isInit']=true,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['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'](){(0, L['mergeStyles'])(this,{'display':'grid','width':'auto','height':'100%','aspectRatio':D['ASPECT_RATIO_9_16']['toString'](),'margin':'auto','maxHeight':'100%','background':J['Colors']['Black']}),(0, L['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':Y,'fontFamily':V['font'],'fontWeight':V['fontWeight'],'color':V['textColor']||X['textColor'],'textTransform':V['textTransform'],'lineHeight':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 0===U?void 0:U['buttons']['like_unlike']['desktop']['padding'],ah=null===(V=this['playerStyle'])||void 0===V?void 0:V['buttons']['like_unlike']['desktop']['borderRadius'],ai=null===(W=this['playerStyle'])||void 0===W?void 0:W['buttons']['like_unlike']['desktop']['backgroundColor'],aj=null===(X=this['playerStyle'])||void 0===X?void 0:X['likeText']['font'],ak=null===(Y=this['playerStyle'])||void 0===Y?void 0:Y['likeText']['textSizeDesktop'];break;case 'tablet':ag=null===(Z=this['playerStyle'])||void 0===Z?void 0:Z['buttons']['like_unlike']['tablet']['padding'],ah=null===(a0=this['playerStyle'])||void 0===a0?void 0:a0['buttons']['like_unlike']['tablet']['borderRadius'],ai=null===(a1=this['playerStyle'])||void 0===a1?void 0:a1['buttons']['like_unlike']['tablet']['backgroundColor'],aj=null===(a2=this['playerStyle'])||void 0===a2?void 0:a2['likeText']['font'],ak=null===(a3=this['playerStyle'])||void 0===a3?void 0:a3['likeText']['textSizeTablet'];break;case 'mobile':ag=null===(a4=this['playerStyle'])||void 0===a4?void 0:a4['buttons']['like_unlike']['mobile']['padding'],ah=null===(a5=this['playerStyle'])||void 0===a5?void 0:a5['buttons']['like_unlike']['mobile']['borderRadius'],ai=null===(a6=this['playerStyle'])||void 0===a6?void 0:a6['buttons']['like_unlike']['mobile']['backgroundColor'],aj=null===(a7=this['playerStyle'])||void 0===a7?void 0:a7['likeText']['font'],ak=null===(a8=this['playerStyle'])||void 0===a8?void 0:a8['likeText']['textSizeMobile'];break;default:ag=null===(a9=this['playerStyle'])||void 0===a9?void 0:a9['buttons']['like_unlike']['mobile']['padding'],ah=null===(aa=this['playerStyle'])||void 0===aa?void 0:aa['buttons']['like_unlike']['mobile']['borderRadius'],ai=null===(ab=this['playerStyle'])||void 0===ab?void 0:ab['buttons']['like_unlike']['mobile']['backgroundColor'],aj=null===(ac=this['playerStyle'])||void 0===ac?void 0:ac['likeText']['font'],ak=null===(ad=this['playerStyle'])||void 0===ad?void 0: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 0===ae?void 0:ae['likeText']['textColor'],am=null===(af=this['playerStyle'])||void 0===af?void 0:af['likeText']['fontWeight'];this['likeCountElement']['setStyle']({'fontSize':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 0===U?void 0:U['buttons']['share']['desktop']['padding'],a7=null===(V=this['playerStyle'])||void 0===V?void 0:V['buttons']['share']['desktop']['borderRadius'],a8=null===(W=this['playerStyle'])||void 0===W?void 0:W['buttons']['share']['desktop']['backgroundColor'],a9=null===(X=this['playerStyle'])||void 0===X?void 0:X['buttons']['share']['desktop']['color'];break;case 'tablet':a6=null===(Y=this['playerStyle'])||void 0===Y?void 0:Y['buttons']['share']['tablet']['padding'],a7=null===(Z=this['playerStyle'])||void 0===Z?void 0:Z['buttons']['share']['tablet']['borderRadius'],a8=null===(a0=this['playerStyle'])||void 0===a0?void 0:a0['buttons']['share']['tablet']['backgroundColor'],a9=null===(a1=this['playerStyle'])||void 0===a1?void 0:a1['buttons']['share']['tablet']['color'];break;case 'mobile':a6=null===(a2=this['playerStyle'])||void 0===a2?void 0:a2['buttons']['share']['mobile']['padding'],a7=null===(a3=this['playerStyle'])||void 0===a3?void 0:a3['buttons']['share']['mobile']['borderRadius'],a8=null===(a4=this['playerStyle'])||void 0===a4?void 0:a4['buttons']['share']['mobile']['backgroundColor'],a9=null===(a5=this['playerStyle'])||void 0===a5?void 0: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 0===U?void 0:U['ctaButton']))throw new Error('CTA\x20button\x20style\x20not\x20found');const {ctaButton:V,contentBoxHorizontalSpacing:W}=this['playerStyle'];if(false===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':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 0===V?void 0:V['contentBoxHorizontalSpacing'])}),this['ctaButtonElement']['style']['padding']='0px\x20'+(null===(W=this['playerStyle'])||void 0===W?void 0:W['contentBoxHorizontalSpacing'])):'CTA_BELLOW_BOTTOM_BUTTONS_BOX'===U['layoutPositioning']&&(this['bottomContentContainer']['style']['margin']='0px\x20'+(null===(X=this['playerStyle'])||void 0===X?void 0: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*(0, L['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']=G['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']||(I['VideoPlayerService']['isPlaying']=true,this['playPauseButtonElement']['setIconUrl'](''),this['resume']());},this['closedCaptionsModal']['onOpen']=()=>{I['VideoPlayerService']['isPlaying']&&(I['VideoPlayerService']['isPlaying']=false,this['playPauseButtonElement']['setIconUrl'](H['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 0,void 0,function*(){var U,V,W,X,Y;if(!(null===(U=this['playerStyle'])||void 0===U?void 0:U['buttons']))return;const Z=this['playerStyle']['buttons'],a0=this['playerStyle']['icons'],a1=null===(V=this['actionHandlers'])||void 0===V?void 0:V['filter'](ab=>ab['actionId']===F['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=I['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 0: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 I['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']),A['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']&&I['ConfigService']['shouldAllowClosedCaptions']){const ad=null===(W=this['data']['closedCaptions'])||void 0===W?void 0:W['find'](ae=>''+ae['language']===localStorage['getItem'](D['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']),A['AccessibilityUtils']['setElementAccessibilityHidden'](this['closedCaptionButtonElement']),(null===(X=this['data']['closedCaptions'])||void 0===X?void 0: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 0===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 0===U?void 0:U['find'](Z=>Z['actionId']===F['ActionHandlerId']['AddFollowButton']);if(!W)return;const X=W['options'],Y=(0, O['getFollowEntityByPriority'])(null===(V=this['playerStyle'])||void 0===V?void 0:V['followButton']['followEntityTypePriority'],this['data']['followEntities']);Y&&(this['followButtonElement']=new B['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 0===U?void 0: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 0===U?void 0:U['paused'];this['playPauseButtonElement']['setIconUrl'](V?'':H['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 0===V?void 0:V['find'](a0=>''+a0['language']===U['detail']['language']))?null===(W=this['playerStyle'])||void 0===W?void 0:W['icons']['closedCaptionsOn']:null===(X=this['playerStyle'])||void 0===X?void 0:X['icons']['closedCaptionsOff'];null===(Y=this['closedCaptionButtonElement'])||void 0===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 0===U?void 0:U['closest']('iframe'))||(this['playPauseButtonElement']['setIconUrl'](H['playResumeIconSvg']),this['video']['paused']||(this['resumeAfterfocus']=true,this['pause'](),I['VideoPlayerService']['isPlaying']=false,this['updatePlayerButtonIcons'](),this['event'](D['MomentAction']['MomentsPlaylistExit'],{}),this['event'](D['MomentAction']['MomentExit'],{}))));}['onFocus'](){var U;if(!this['isActive']||!this['isConnected']||!this['video'])return;const V='Ad'===(null===(U=this['video']['data'])||void 0===U?void 0:U['type']);if((this['video']['paused']||V)&&this['resumeAfterfocus']){this['resumeAfterfocus']=false;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'](H['playResumeIconSvg']);this['resume'](),I['VideoPlayerService']['isPlaying']=true,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']=I['VideoPlayerService']['isMuted']);}['updatePlayerButtonIcons'](){var U,V;this['video']&&this['playerStyle']&&(this['muteButtonElement']['setIconUrl'](I['VideoPlayerService']['isMuted']?null===(U=this['playerStyle'])||void 0===U?void 0:U['icons']['mute']:null===(V=this['playerStyle'])||void 0===V?void 0:V['icons']['unmute']),this['closeButtonElement']['setIconUrl'](this['playerStyle']['icons']['exit']));}['handleOnClosedCaptionClick'](){var U;null===(U=this['closedCaptionsModal'])||void 0===U||U['open']();}['toggleClosedCaptions'](U){const V=(0, K['convertCcLanguageToState'])(this['data']['closedCaptions'],U);this['event']('Off'!==V?D['MomentAction']['ClosedCaptionsOn']:D['MomentAction']['ClosedCaptionsOff'],{});}['handleOnShareClick'](){return w(this,void 0,void 0,function*(){var U;if(!this['isActive'])return;let V;this['event'](D['MomentAction']['ShareClick'],{}),this['pause'](),V=location['href']['includes']('blaze/moment')?null===window||void 0===window?void 0:window['location']['href']:location['href']['includes']('#')?location['href']+'&blaze/moment/'+this['data']['id']:location['href']+'#blaze/moment/'+this['data']['id'];const W='Mac\x20OS'===z['deviceDetector']['OS']&&'Chrome'===z['deviceDetector']['browser'];(null===navigator||void 0===navigator?void 0:navigator['share'])||W?null===(U=this['shareModal'])||void 0===U||U['open'](V):navigator['share']({'text':this['data']['title'],'url':V})['then'](()=>{this['event'](D['MomentAction']['ShareSuccess'],{});})['catch'](()=>{})['finally'](()=>{this['resume']();});});}['load'](){return w(this,arguments,void 0,function*(U='direct'){var V;yield null===(V=this['video'])||void 0===V?void 0:V['load'](U);});}['unload'](){return w(this,void 0,void 0,function*(){var U;yield null===(U=this['video'])||void 0===U?void 0:U['unload']();});}['playToggle'](){if(!this['isActive']||!this['video'])return;const U=!this['video']['paused'];this['event'](this['video']['paused']?D['MomentAction']['PlaybackPlay']:D['MomentAction']['PlaybackPause'],{'playback_action_method':'Click'}),this['video']['paused']?(this['resume'](),this['isPausedManually']=false):(this['pause'](),this['isPausedManually']=true,z['contentAccessibilityManager']['announceUserAction']('moment',U?'playing':'paused',{'trigger':'user','action':U?'playing':'paused'}));}['handleOnMuteUnmuteToggle'](){if(!this['isActive'])return;const U=!I['VideoPlayerService']['isMuted'];I['VideoPlayerService']['isMuted']=U,this['event'](D['MomentAction']['Audio'],{}),this['video']&&(this['video']['muted']=I['VideoPlayerService']['isMuted']),document['dispatchEvent'](new Event(x['MUTE_UNMUTE_EVENT'])),z['contentAccessibilityManager']['announceUserAction']('moment',I['VideoPlayerService']['isMuted']?'muted':'unmuted',{'trigger':'user','action':I['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 0:U['description'])||'','subtitle':(null==U?void 0:U['subtitle'])||''}),this['updateCta'](this['data']['cta']),this['updateLikeCount'](this['data']['likes']),this['momentIndex']=U['momentIndexInPlaylist'],this['originalVideoRef']||(this['originalVideoRef']=new N['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':false,'ignoreReadStatusForStory':false,'createTime':new Date()['toLocaleString']()},'Web'===(null===(V=this['data']['adInfo'])||void 0===V?void 0: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 0===W?void 0:W['seekBar'])||J['Presets']['DefaultMomentStyle']['seekBar']),this['bottomContainer']['prepend'](this['seekBar'])),this['seekBar']['onResume']=(0, z['debounce'])(()=>w(this,void 0,void 0,function*(){this['isMomentPausedByPlayPauseButton']&&this['event'](D['MomentAction']['PlaybackPlay'],{}),this['resume']();}),0x64),this['seekBar']['onPause']=(0, z['debounce'])(()=>w(this,void 0,void 0,function*(){this['pause']();}),0x64),this['adjustContentView'](),(null===(Y=null===(X=this['playerStyle'])||void 0===X?void 0:X['followButton'])||void 0===Y?void 0:Y['isVisible'])&&(this['followButtonElement']&&(this['followButtonElement']['remove'](),this['followButtonElement']=void 0),this['configureFollowButton']()),this['render'](),this['updateContentAccessibilityAfterDataChange'](),this['registerMomentAccessibility']());}['updateData'](U){return w(this,void 0,void 0,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 0===V?void 0:V['find'](ac=>''+ac['language']===localStorage['getItem'](D['LOCAL_STORAGE_KEY_LAST_SELECTED']));this['isLiked']=false,this['playerStyle']&&this['likeButtonElement']['setIconUrl'](null===(W=this['playerStyle'])||void 0===W?void 0:W['icons']['unlike']),null===(X=this['video'])||void 0===X||X['remove'](),this['setData'](a6),this['momentIndex']=aa,null===(Y=this['video'])||void 0===Y||Y['setAttribute']('is-captions-visible',ab?'true':'false'),null===(Z=this['closedCaptionsModal'])||void 0===Z||Z['reloadData'](a6['closedCaptions']),this['closedCaptionButtonElement']['setIconUrl']((ab?null===(a0=this['playerStyle'])||void 0===a0?void 0:a0['icons']['closedCaptionsOn']:null===(a1=this['playerStyle'])||void 0===a1?void 0:a1['icons']['closedCaptionsOff'])||''),this['closedCaptionButtonElement']['setAttribute']('disabled',(null===(a2=this['data']['closedCaptions'])||void 0===a2?void 0:a2['length'])?'false':'true'),this['data']=a6,this['shouldShowImaAdOnStart']=a7,this['adInfo']=a8,this['contentExtraInfo']=a9,null===(a3=this['video'])||void 0===a3||a3['setData'](a6),this['video']&&this['seekBar']['setVideo'](this['video']),this['pause'](),(null===(a5=null===(a4=this['playerStyle'])||void 0===a4?void 0:a4['followButton'])||void 0===a5?void 0:a5['isVisible'])&&(this['followButtonElement']&&(this['followButtonElement']['remove'](),this['followButtonElement']=void 0),this['configureFollowButton']()),this['registerMomentAccessibility']();});}['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 0,void 0,function*(){var V,W,X,Y;const {id:Z,likes:a0}=this['data'];this['isLiked']=yield I['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 0===V?void 0:V['icons']['like']:null===(W=this['playerStyle'])||void 0===W?void 0:W['icons']['unlike'],a3=null===(Y=null===(X=this['playerStyle'])||void 0===X?void 0:X['likeText'])||void 0===Y?void 0:Y['likeCountThreshold'],a4=0x0===a1||a3&&a1<a3?'hidden':'visible';a2&&this['likeButtonElement']['setIconUrl'](a2),this['likeCountElement']['innerText']=(0, L['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']({'color':U['textColor'],'background':U['backgroundColor']}),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'](D['MomentAction']['CtaClick'],{}),(null===(W=null===(V=this['refContentModal'])||void 0===V?void 0:V['parentWidget'])||void 0===W?void 0:W['id'])&&I['EventService']['dispatch'](null===(X=this['refContentModal'])||void 0===X?void 0:X['parentWidget'],F['Delegation']['onWidgetTriggerCTA'],{'widgetId':null===(Z=null===(Y=this['refContentModal'])||void 0===Y?void 0:Y['parentWidget'])||void 0===Z?void 0:Z['id'],'actionType':'URL','actionParam':this['ctaButtonElement']['getAttribute']('href')}),null===(a0=this['shareModal'])||void 0===a0||a0['close'](),this['exitTrigger']='CTA\x20Click',this['event'](D['MomentAction']['MomentExit'],{}),this['event'](D['MomentAction']['MomentsPlaylistExit'],{}),(null===(a1=this['video'])||void 0===a1?void 0:a1['paused'])||(this['resumeAfterfocus']=true,this['pause']()),true;}['play'](){var U,V,W;this['isConnected']&&(this['sessionId']=(0, L['getRandomId'])(),this['video']&&(this['video']['shouldShowImaAd']=this['shouldShowImaAdOnStart'],'Content'===(null===(U=this['video']['data'])||void 0===U?void 0:U['type'])&&(this['event'](D['MomentAction']['MomentStart'],{}),I['EventService']['dispatch'](this,F['Delegation']['onMomentStart'],{'momentIndex':this['momentIndex'],'totalMomentsCount':this['modal']['data']['length']}),this['video']['data']['adInfo']=this['adInfo']),this['event'](D['MomentAction']['PlaybackInitialStart'],{}),this['adjustContentView'](),this['updatePlayerButtonIcons'](),this['video']['muted']=I['VideoPlayerService']['isMuted'],this['video']['display'](()=>{this['modal']['handleClickNavigation']('NEXT');}),this['video']instanceof N['BlazeWidgetVideo']&&(null===(W=(V=this['video'])['tryToAddLoader'])||void 0===W||W['call'](V)),this['video']['play'](),I['VideoPlayerService']['isPlaying']=true,this['isActive']=true,this['seekBar']['setAttribute']('is-active','true'),this['seekBar']['onContentResumed'](true),I['MomentService']['updateMomentReadStatusById'](this['data']['id']),this['data']['hasViewed']=true,this['updateWidgetStatusReadUnread'](),this['updateButtonAccessibilityLabels']()));}['handleOnCustomActionButtonClick'](U,V){V['onClick'](U,this['data']['entities']),this['event'](D['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']?D['MomentAction']['Like']:D['MomentAction']['Unlike'],{}),I['LikeService']['updateMomentLike'](this['isLiked'],this['data']['id']);const W=this['isLiked']?null===(U=this['playerStyle'])||void 0===U?void 0:U['icons']['like']:null===(V=this['playerStyle'])||void 0===V?void 0: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=(0, O['generateFollowStateForAnalytics'])(null===(V=this['followButtonElement'])||void 0===V?void 0:V['entityId'],null===(W=this['followButtonElement'])||void 0===W?void 0:W['entityType'],z['FollowingsManager']),Y=U['newFollowingState']?D['MomentAction']['Follow']:D['MomentAction']['Unfollow'];this['event'](Y,{'follow_state':X});}['pause'](){var U;null===(U=this['video'])||void 0===U||U['pause'](),I['VideoPlayerService']['isPlaying']=false,this['updatePlayerButtonIcons'](),this['isActive']&&this['seekBar']['onContentPaused'](),this['updateButtonAccessibilityLabels']();}['resume'](){var U;this['video']&&('Content'!==this['data']['type']||(null===(U=this['video'])||void 0===U?void 0:U['paused']))&&(this['video']['play'](),I['VideoPlayerService']['isPlaying']=true,this['updatePlayerButtonIcons'](),this['removeResumeButtonFromScreen'](),this['seekBar']['onContentResumed'](false),this['updateButtonAccessibilityLabels']());}['removeResumeButtonFromScreen'](){this['playPauseButtonElement']['setIconUrl'](''),this['isMomentPausedByPlayPauseButton']=false;}['resetPosition'](){this['video']&&this['video']['currentTime']>=0.2&&(this['video']['currentTime']=0x0);}['restartVideo'](){this['video']&&(this['resetPosition'](),this['video']['muted']=I['VideoPlayerService']['isMuted'],I['VideoPlayerService']['isPlaying']&&this['video']['play'](),this['loopNumber']++);}['adjustContentView'](){var U,V,W,X,Y,Z,a0;return (null===(U=this['video'])||void 0===U?void 0:U['shouldShowImaAd'])?(this['elementsToHideOnImaAds']['forEach'](a1=>{a1&&(a1['style']['visibility']='hidden');}),null===(V=this['modal']['nextContentButtonElement'])||void 0===V||V['setAttribute']('disabled','true'),null===(W=this['modal']['prevContentButtonElement'])||void 0===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 0===X?void 0:X['data'])||void 0===Y?void 0:Y['type'])?(this['elementsToHideOnCustomAds']['forEach'](a1=>{a1&&(a1['style']['visibility']='hidden');}),'no-ad'===I['VideoPlayerService']['muteStateBeforeAd']&&(I['VideoPlayerService']['muteStateBeforeAd']=I['VideoPlayerService']['isMuted']?'mute':'unmute'),'unmute'===I['VideoPlayerService']['muteStateBeforeAd']&&(I['VideoPlayerService']['isMuted']=true,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 0===Z||Z['setAttribute']('disabled','false'),null===(a0=this['modal']['prevContentButtonElement'])||void 0===a0||a0['setAttribute']('disabled','false'),'no-ad'!==I['VideoPlayerService']['muteStateBeforeAd']&&(I['VideoPlayerService']['isMuted']='mute'===I['VideoPlayerService']['muteStateBeforeAd'],I['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 0,function*(W,X,Y=void 0){var Z,a0,a1,a2;try{const a3=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']=I['VideoPlayerService']['isMuted']?'Mute':'Unmute',X['cc_state']=(0x0,K['convertCcLanguageToState'])(this['data']['closedCaptions'],localStorage['getItem'](D['LOCAL_STORAGE_KEY_LAST_SELECTED'])),X['loop_number']=this['loopNumber']['toString'](),X['moments_session_id']=this['modal']['playlistSessionId'],X['follow_state']=(0x0,O['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=I['AppConfigurationService']['appConfigurations'])||void 0x0===a1?void 0x0:a1['configurations']['analyticsAddEntitiesInfo'])&&(X['content_extra_info']=JSON['stringify'](this['data']['extraInfo'])),W){case D['MomentAction']['MomentsPlaylistStart']:X['moment_start_trigger']=this['startTrigger'];break;case D['MomentAction']['MomentsPlaylistExit']:X['moment_exit_trigger']=this['exitTrigger'];break;case D['MomentAction']['MomentExit']:X['moment_navigation_type']=this['navigationType'],X['moment_navigation_direction']=this['navigationDirection'],X['moment_duration_viewed_percent']=Math['round'](0x2710*((null===(a2=this['video'])||void 0x0===a2?void 0x0:a2['progress'])||0x0))/0x64;}I['AnalyticsService']['pushMomentEvent'](W,X,Y,a3);}}catch(a4){}});}['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'],'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 0===U?void 0:U['muted'],'isLiked':this['isLiked'],'ctaText':null===(V=this['data']['cta'])||void 0===V?void 0:V['text'],'isFollowed':null!==(X=null===(W=this['followButtonElement'])||void 0===W?void 0:W['isFollowed'])&&void 0!==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 0===U?void 0:U['text'],'isPlaying':!!this['video']&&!this['video']['paused'],'isMuted':null!==(W=null===(V=this['video'])||void 0===V?void 0:V['muted'])&&void 0!==W&&W,'isLiked':this['isLiked'],'duration':null===(X=this['video'])||void 0===X?void 0:X['duration'],'isFollowed':null!==(Z=null===(Y=this['followButtonElement'])||void 0===Y?void 0:Y['isFollowed'])&&void 0!==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 0===U?void 0: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 0===U?void 0:U['muted'],'isLiked':this['isLiked']});}['enableAllButtons'](){const U=this['getAllFocusableButtons']();this['setButtonsAccessibilityState'](U,true);}['disableAllButtons'](){const U=this['getAllFocusableButtons']();this['setButtonsAccessibilityState'](U,false);}['setButtonsAccessibilityState'](U,V){V?(A['AccessibilityUtils']['setElementsAccessible'](U),this['enableAnchorElements']()):(A['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['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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1f9e:function(d,f,g){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':true}),f['ConfigService']=void 0;const j=g(0x11c1),k=g(0x614);class l extends(0, k['Singleton'])(){constructor(){super(),this['_sendAnalytics']=true,this['_disableAnalytics']=false,this['_doNotTrack']=false,this['_staticContent']=false,this['_runInShadowDom']=true,this['_shouldModifyUrlWithStoryId']=true,this['_shouldModifyUrlWithContentId']=true,this['_shouldDismissPlayer']=false,this['_shouldAutoAdvance']=false,this['_shouldCreateUser']=true,this['_shouldAllowHorizontalStories']=false,this['_appContext']={},this['_russiaRegionCDN']='https://blazesdk-prod-cdn-fd.clipro.tv',this['_urls']={'prod':'https://blazesdk-prod-cdn.clipro.tv','prod_RU':this['_russiaRegionCDN'],'prod_BY':this['_russiaRegionCDN'],'uat':'https://blazesdk-uat-cdn.clipro.tv','local':'https://localhost.clipro.tv:5001'},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['_globalStorageCDN']='https://sdk.mvp.fan',this['_russiaStorageCDN']='https://sdk-fd.mvp.fan',this['_sdkStorageCDNs']={'prod':this['_globalStorageCDN'],'prod_RU':this['_russiaStorageCDN'],'prod_BY':this['_russiaStorageCDN'],'uat':this['_globalStorageCDN'],'local':this['_globalStorageCDN']};}['init'](m){return h(this,void 0,void 0,function*(){const {apiKey:q,environment:w,sendAnalytics:x,disableAnalytics:z,previewMomentUrl:A,previewUrl:B,doNotTrack:D,externalUserId:F,geoLocation:G,staticContent:H,staticContentType:I,runInShadowDom:J,shouldModifyUrlWithStoryId:K,shouldModifyUrlWithContentId:L,shouldDismissPlayer:M,shouldCreateUser:N,prefetchingPolicy:O,shouldAllowHorizontalStories:P,shouldAutoAdvance:Q,autoAdvanceUrl:R,layoutDirection:U,shouldAllowClosedCaptions:V,disableAutoLoadingContent:W}=m;this['environment']=w||'prod',this['prefetchingPolicy']=O||'default',this['_apiKey']=q,this['_previewUrl']=B,this['_previewMomentUrl']=A,this['_externalUserId']=F||'',this['_geoLocation']=G||'',this['_prefetchingPolicy']=O,this['_autoAdvanceUrl']=R||'',this['_layoutDirection']=U,this['_shouldAllowClosedCaptions']=V,this['_disableAutoLoadingContent']=W,true===H&&(this['_staticContent']=true),I&&(this['_staticContentType']=I),true===D&&(this['_doNotTrack']=true),true===P&&(this['_shouldAllowHorizontalStories']=true),false===x&&(this['_sendAnalytics']=false),true===z&&(this['_disableAnalytics']=true),false===J&&(this['_runInShadowDom']=false),false===K&&(this['_shouldModifyUrlWithStoryId']=false),false===L&&(this['_shouldModifyUrlWithContentId']=false),true===M&&(this['_shouldDismissPlayer']=true),true===Q&&(this['_shouldAutoAdvance']=true),false===N&&(this['_shouldCreateUser']=false);});}['getEnvUrl'](m,p){var q;return null!==(q=m[p+'_'+j['UserCountryService']['userCountry']])&&void 0!==q?q:m[p];}['getServiceUrl'](m){return this['getEnvUrl'](this['_urls'],m);}['getAnalyticsUrl'](m){return this['getEnvUrl'](this['_analyticsUrls'],m);}['throwOrLog'](m){if('undefined'!=typeof window&&('localhost'===window['location']['hostname']||'127.0.0.1'===window['location']['hostname']||window['location']['hostname']['includes']('blob.core.windows.net')))throw new Error(m);}get['environment'](){if(!this['_environment'])throw new Error('Environment\x20not\x20set');return this['_environment'];}set['environment'](m){this['_environment']=m;const p=this['getServiceUrl'](m);this['_apiUrl']=p+'/api/blazesdk/v1.3',this['_analyticsApiUrl']=this['getAnalyticsUrl'](m),this['_sdkStorageCDN']=this['getEnvUrl'](this['_sdkStorageCDNs'],m);}get['sendAnalytics'](){return this['_sendAnalytics'];}get['disableAnalytics'](){return this['_disableAnalytics'];}set['disableAnalytics'](m){this['_disableAnalytics']=m;}get['shouldCreateUser'](){return this['_shouldCreateUser'];}get['analyticsApiUrl'](){return this['_analyticsUrls'][this['environment']];}get['loggerApiUrl'](){return this['_loggerUrls'][this['environment']];}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['apiUrl'](){if(!this['_apiUrl'])throw new Error('API\x20url\x20not\x20set');return this['_apiUrl'];}get['sdkStorageCDN'](){var m;return this['_sdkStorageCDN']||this['throwOrLog']('SDK\x20Storage\x20CDN\x20not\x20set'),null!==(m=this['_sdkStorageCDN'])&&void 0!==m?m:this['_globalStorageCDN'];}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;}}f['ConfigService']=l['getInstance']();},0x1fa7:(f,g,h)=>{Object['defineProperty'](g,'__esModule',{'value':true}),g['BlazeFollowButton']=void 0;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']=false,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'),(0, 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'](){(0, 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 0===x?void 0:x['followButton'])||void 0===y?void 0:y['avatar'];(0, m['mergeStyles'])(this['avatarEl'],{'width':'50px','height':'50px','borderRadius':'50%','backgroundSize':'cover','backgroundPosition':'center','flexShrink':'0','boxSizing':'border-box','border':((null==z?void 0:z['borderWidth'])||'3px')+'\x20solid\x20'+((this['_isFollowing']?null==z?void 0:z['followedBorderColor']:null==z?void 0: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 0===x?void 0:x['followButton'])||void 0===y?void 0:y['chip'],C=(this['_isFollowing']?null==B?void 0:B['followedBackgroundColor']:null==B?void 0:B['unfollowedBackgroundColor'])||p['Colors']['White'];(0, 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':'12px','background':C,'color':(null==B?void 0: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 0===z?void 0:z['followButton'])||void 0===A?void 0:A['variant'])||'text']['chip'][this['_isFollowing']?'followed':'unfollowed'])),(0, 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 0===x?void 0:x['followButton'])||void 0===y?void 0:y['chip'],A=(null==z?void 0:z['color'])||p['Colors']['Black'],B={'maskRepeat':'no-repeat','webkitMaskRepeat':'no-repeat','maskPosition':'center','webkitMaskPosition':'center','maskSize':'contain','webkitMaskSize':'contain'};(0, 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'})),(0, 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'})),(0, m['mergeStyles'])(this['textEl'],{'fontFamily':p['Presets']['playerFont'],'fontSize':'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 0===x?void 0:x['followButton'])||void 0===y?void 0: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 0===x?void 0:x['followButton'])||void 0===y?void 0:y['chip'],A=(null==z?void 0: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 0===x?void 0:x['followButton'])||void 0===y?void 0:y['chip'],E=null===(A=null===(z=this['playerStyle'])||void 0===z?void 0:z['followButton'])||void 0===A?void 0:A['avatar'],F=v[(null===(C=null===(B=this['playerStyle'])||void 0===B?void 0:B['followButton'])||void 0===C?void 0:C['variant'])||'text']['chip'];(0, m['mergeStyles'])(this['chipEl'],Object['assign']({'background':(this['_isFollowing']?null==D?void 0:D['followedBackgroundColor']:null==D?void 0:D['unfollowedBackgroundColor'])||p['Colors']['White']},F[this['_isFollowing']?'followed':'unfollowed'])),(0, m['mergeStyles'])(this['avatarEl'],{'border':((null==E?void 0:E['borderWidth'])||'3px')+'\x20solid\x20'+((this['_isFollowing']?null==E?void 0:E['followedBorderColor']:null==E?void 0: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)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x1fda:(d,f)=>{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 0:k['hasViewed'])?m['push']('viewed'):m['push']('new'),(null==l?void 0:l['isVisible'])&&l['text']&&m['push'](l['text']['toLowerCase']()),m['join'](',\x20');}Object['defineProperty'](f,'__esModule',{'value':true}),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=true){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(q,J,K){var X=this&&this['__awaiter']||function(aJ,aK,aL,aM){return new(aL||(aL=Promise))(function(aN,aO){function aP(aS){try{aR(aM['next'](aS));}catch(aT){aO(aT);}}function aQ(aS){try{aR(aM['throw'](aS));}catch(aT){aO(aT);}}function aR(aS){var aT;aS['done']?aN(aS['value']):(aT=aS['value'],aT instanceof aL?aT:new aL(function(aU){aU(aT);}))['then'](aP,aQ);}aR((aM=aM['apply'](aJ,aK||[]))['next']());});};Object['defineProperty'](J,'__esModule',{'value':true}),J['isInitialized']=J['pushConsentEvent']=J['Delegations']=void 0,J['setDoNotTrack']=ac,J['setGeoLocation']=ad,J['setExternalUserId']=ae,J['setOnItemClick']=af,J['Initialize']=ah,J['WidgetRowView']=ak,J['WidgetGridView']=al,J['WidgetEmbeddedStory']=am,J['WidgetEmbeddedVideo']=an,J['WidgetCustomView']=ao,J['Theme']=ap,J['addDelegateListener']=aq,J['LabelBuilder']=ar,J['DataSourceBuilder']=as,J['pauseCurrentPlayer']=au,J['resumeCurrentPlayer']=av,J['setGoogleCustomNativeAdsHandler']=aw,J['setImaHandler']=ax,J['playStory']=ay,J['playStories']=az,J['playContent']=aA,J['setAbTestParams']=aC,J['getAppContextManager']=aD,J['setBeforeContentPlayCallback']=aG,J['appendContentToPlayer']=aH,J['setDisableAnalytics']=aI;const a0=K(0x26ed),a1=K(0x2033),a2=K(0x11c1),a3=K(0x132a),a4=K(0x2432),a5=K(0x9c4),a6=K(0x23a6),a7=K(0x1133),a8=K(0x22d9),a9=K(0x1b0d),aa=K(0x1577);a8['WidgetsFactory']['define']('blaze-sdk',a6['BlazeWidgetSDK']);const ab={'environment':'prod','sendAnalytics':true,'disableAnalytics':false,'doNotTrack':false,'externalUserId':'','geoLocation':'','runInShadowDom':true,'shouldModifyUrlWithStoryId':true,'shouldModifyUrlWithContentId':true,'shouldDismissPlayer':false,'shouldCreateUser':true,'prefetchingPolicy':'default','shouldAllowHorizontalStories':false,'layoutDirection':'LTR','shouldAllowClosedCaptions':false};function ac(aJ){a2['ConfigService']['doNotTrack']=aJ;}function ad(aJ){a2['ConfigService']['geoLocation']=(0, a4['isValidCountryCode'])(aJ)?aJ:'';}function ae(aJ){return X(this,void 0,void 0,function*(){a2['ConfigService']['externalUserId']=aJ,yield a2['UserService']['refreshUserToken']();});}function af(aJ){a2['ConfigService']['onItemClick']=aJ;}let ag=false;function ah(aJ,aK={}){if(ag)return Promise['resolve']();ag=true;const aL=(0, a4['mergeDeep'])({},ab,aK,{'apiKey':aJ});return new Promise(aM=>{document['getElementsByTagName']('blaze-sdk')[0x0]?aM():a8['WidgetsFactory']['whenDefined']('blaze-sdk')['then'](()=>{const {environment:aN,sendAnalytics:aO,disableAnalytics:aP,previewMomentUrl:aQ,previewUrl:aR,doNotTrack:aS,externalUserId:aT,geoLocation:aU,runInShadowDom:aV,shouldModifyUrlWithStoryId:aW,shouldModifyUrlWithContentId:aX,shouldDismissPlayer:aY,playerStyleCustomization:aZ,shouldCreateUser:b0,prefetchingPolicy:b1,shouldAllowHorizontalStories:b2,shouldAutoAdvance:b3,layoutDirection:b4,shouldAllowClosedCaptions:b5,disableAutoLoadingContent:b6,staticContentType:b7,followedEntities:b8}=aL,b9=document['createElement']('blaze-sdk');b9['setAttribute']('api-key',aJ),b8&&aa['FollowingsManager']['initialize'](b8),b7&&b9['setAttribute']('static-content-type',b7),'boolean'==typeof b0&&b9['setAttribute']('should-create-user',b0['toString']()),'boolean'==typeof b5&&b9['setAttribute']('should-allow-closed-captions',b5['toString']()),'boolean'==typeof b6&&b9['setAttribute']('disable-auto-loading-content',b6['toString']()),b4&&b9['setAttribute']('layout-direction',b4),aN&&b9['setAttribute']('environment',aN),'boolean'==typeof aO&&b9['setAttribute']('send-analytics',aO['toString']()),'boolean'==typeof aP&&b9['setAttribute']('disable-analytics',aP['toString']()),'boolean'==typeof aV&&b9['setAttribute']('run-in-shadow-dom',aV['toString']()),'boolean'==typeof aW&&b9['setAttribute']('modifiy-url-with-story-id',aW['toString']()),'boolean'==typeof aX&&b9['setAttribute']('modifiy-url-with-content-id',aX['toString']()),aR&&b9['setAttribute']('preview-url',aR),aQ&&b9['setAttribute']('preview-moment-url',aQ),aS&&b9['setAttribute']('do-not-track',aS['toString']()),b2&&b9['setAttribute']('should-allow-horizontal-stories',b2['toString']()),aT&&b9['setAttribute']('external-user-id',aT),aU&&b9['setAttribute']('geo-location',(0, a4['isValidCountryCode'])(aU)?aU:''),aZ&&b9['setPlayerStyleCustomization'](aZ),aY&&b9['setAttribute']('should-dismiss-player',aY['toString']()),b3&&b9['setAttribute']('should-auto-advance',b3['toString']()),b1&&b9['setAttribute']('prefetching-policy',b1);const ba=document['querySelector']('body');ba?(ba['appendChild'](b9),aM()):document['addEventListener']('DOMContentLoaded',()=>{const bb=document['querySelector']('body');null==bb||bb['appendChild'](b9),aM();});});});}function ai(aJ,aK,aL,aM){const {orderType:aN,storyIds:aO,contentIds:aP,maxItemsCount:aQ,maxDisplayItemsCount:aR,labels:aS,theme:aT,delegates:aU,labelsPriority:aV,perItemStyleOverrides:aW,shouldOrderWidgetByReadStatus:aX,contentType:aY='story',dataSource:aZ,actionHandlers:b0}=aL;try{a7['BlazeDataSourceValidations']['validateDataSource'](aK,{'labels':aS,'storyIds':aO,'contentIds':aP},aZ,aY);const b1=document['createElement'](aJ);'function'==typeof b1['setId']?b1['setId'](aK):b1['id']='widget-layout-'+aK;const b2=(0x0,a4['validateContainer'])(aK,aJ);return aE(b1,{'delegates':aU,'contentType':aY,'theme':aT,'actionHandlers':b0},aM),aW&&b1['updateOverrideStyles'](aW),aF(b1,{'dataSource':aZ,'labels':aS,'storyIds':aO,'contentIds':aP,'maxItemsCount':aQ,'maxDisplayItemsCount':aR,'orderType':aN,'labelsPriority':aV,'shouldOrderWidgetByReadStatus':aX}),b2['appendChild'](b1),b1;}catch(b3){return document['createElement']('div');}}function aj(aJ,aK){switch(aJ){case 'video':return 'row'===aK?a3['ThemeFactory']['create']('row-rectangle-horizontal','video'):a3['ThemeFactory']['create']('grid-2-columns-horizontal','video');case 'moment':return 'row'===aK?a3['ThemeFactory']['create']('row-circle','moment'):a3['ThemeFactory']['create']('grid-2-columns','moment');default:return 'row'===aK?a3['ThemeFactory']['create']('row-circle','story'):a3['ThemeFactory']['create']('grid-2-columns','story');}}function ak(aJ,aK){return ai('blaze-widget-layout',aJ,aK,aj(aK['contentType']||'story','row'));}function al(aJ,aK){return ai('blaze-widget-layout',aJ,aK,aj(aK['contentType']||'story','grid'));}function am(aJ,aK){return ai('blaze-widget-embedded-story',aJ,aK,a3['ThemeFactory']['create']('grid-2-columns'));}function an(aJ,aK){return ai('blaze-widget-embedded-video',aJ,aK,a3['ThemeFactory']['create']('grid-2-columns','video'));}function ao(aJ,aK){const {customRenderer:aL,dataSource:aM,maxItemsCount:aN,maxDisplayItemsCount:aO,orderType:aP,labelsPriority:aQ,shouldOrderWidgetByReadStatus:aR,contentIds:aS,contentType:aT='story',theme:aU,delegates:aV,actionHandlers:aW}=aK;try{a7['BlazeDataSourceValidations']['validateDataSource'](aJ,{},aM,aT);const aX=(0x0,a4['validateContainer'])(aJ,'blaze-widget-custom-layout'),aY=new a6['BlazeWidgetCustomLayout'](aL);return 'function'==typeof aY['setId']?aY['setId'](aJ):aY['id']='widget-custom-layout-'+aJ,aE(aY,{'delegates':aV,'contentType':aT,'theme':aU,'actionHandlers':aW}),aF(aY,{'dataSource':aM,'maxItemsCount':aN,'maxDisplayItemsCount':aO,'orderType':aP,'labelsPriority':aQ,'shouldOrderWidgetByReadStatus':aR,'contentIds':aS}),aX['appendChild'](aY),aY['addEventListener'](a0['Delegation']['onWidgetPlayerDismissed'],()=>{aY['updateWidgetsData']();}),aY;}catch(aZ){return document['createElement']('div');}}function ap(aJ,aK='story'){if('video'===aK)return a3['ThemeFactory']['create'](aJ,'video');if('moment'===aK)return a3['ThemeFactory']['create'](aJ,'moment');if('story'!==aK&&aK)throw new Error('Invalid\x20content\x20type');return a3['ThemeFactory']['create'](aJ,'story');}function aq(aJ,aK,aL){document['addEventListener'](aJ,aK,aL);}function ar(){return {'singleLabel':aJ=>a7['BlazeWidgetLabel']['singleLabel'](aJ),'mustInclude':(...aJ)=>a7['BlazeWidgetLabel']['mustInclude'](...aJ),'atLeastOneOf':(...aJ)=>a7['BlazeWidgetLabel']['atLeastOneOf'](...aJ)};}function as(){return {'labels':aJ=>a7['BlazeDataSourceFactory']['createLabelsDataSource'](aJ),'ids':aJ=>a7['BlazeDataSourceFactory']['createIdsDataSource'](aJ),'recommendations':aJ=>a7['BlazeDataSourceFactory']['createRecommendationsDataSource'](aJ),'text':aJ=>a7['BlazeDataSourceFactory']['createTextDataSource'](aJ)};}function at(aJ){var aK;const aL=null===(aK=document['getElementsByTagName']('blaze-sdk'))||void 0===aK?void 0:aK[0x0];aL&&a2['VideoPlayerService']['isPlaying']===aJ&&aL instanceof a6['BlazeWidgetSDK']&&aL['modal']['playToggleCurrentStory']();}function au(){at(true);}function av(){at(false);}function aw(aJ){a2['ConfigService']['googleCustomNativeAdHandler']=aJ;}function ax(aJ){a2['ConfigService']['imaAdHandler']=aJ;}function ay(aJ,aK,aL){return X(this,void 0,void 0,function*(){yield aA('story',{'dataSource':as()['ids']({'ids':[aJ]}),'style':aK,'actionHandlers':aL});});}function az(aJ,aK,aL){return X(this,void 0,void 0,function*(){yield aA('story',{'dataSource':aJ,'style':aK,'actionHandlers':aL});});}function aA(aJ,aK){return X(this,void 0,void 0,function*(){var aL,aM;try{a7['BlazeDataSourceValidations']['validateFormat'](aK['dataSource']),'video'===a2['ConfigService']['staticContentType']&&(a2['VideoPlayerService']['playReference']='SingleContent'),yield a9['PlayerViewTemplate']['display'](aJ,aK['dataSource'],{'actionHandlers':aK['actionHandlers'],'style':null!==(aL=null==aK?void 0x0:aK['style'])&&void 0x0!==aL?aL:aB(aJ),'orderByReadStatus':null===(aM=null==aK?void 0x0:aK['shouldOrderContentByReadStatus'])||void 0x0===aM||aM});}catch(aN){}});}function aB(aJ){switch(aJ){case 'video':return a3['Presets']['DefaultVideoStyle'];case 'moment':return a3['Presets']['DefaultMomentStyle'];case 'story':return a3['Presets']['DefaultStoryStyle'];}}function aC(aJ){a2['UserService']['_abTest']=aJ;}function aD(){return a2['ConfigService']['appContext'];}function aE(aJ,aK,aL){const {delegates:aM,contentType:aN,theme:aO,actionHandlers:aP}=aK;aM&&aJ['setDelegations']&&aJ['setDelegations'](aM),aN&&aJ['setAttribute']('content-type',aN),aO?'string'==typeof aO&&aN?'video'===aN?aJ['setTheme'](a3['ThemeFactory']['create'](aO,'video')):'moment'===aN?aJ['setTheme'](a3['ThemeFactory']['create'](aO,'moment')):'story'===aN&&aJ['setTheme'](a3['ThemeFactory']['create'](aO,'story')):(0, a1['isWidgetTheme'])(aO)&&aJ['setTheme'](aO):aL&&aJ['setTheme'](aL),aP&&aJ['setActionHandlers']&&aJ['setActionHandlers'](aP);}function aF(aJ,aK){var aL;const {dataSource:aM,labels:aN,storyIds:aO,contentIds:aP,maxItemsCount:aQ,maxDisplayItemsCount:aR,orderType:aS,labelsPriority:aT,shouldOrderWidgetByReadStatus:aU}=aK;aQ&&aJ['setMaxItemsSize']?aJ['setMaxItemsSize'](aQ):(null==aM?void 0:aM['maxItems'])&&aJ['setMaxItemsSize']&&aJ['setMaxItemsSize'](aM['maxItems']),aR&&aJ['setMaxItemsDisplaySize']&&aJ['setMaxItemsDisplaySize'](aR),aS&&aJ['setAttribute']?aJ['setAttribute']('order-type',aS):(null==aM?void 0:aM['orderType'])&&aJ['setAttribute']&&aJ['setAttribute']('order-type',aM['orderType']),(null==aM?void 0:aM['advancedOrdering'])&&aJ['setAttribute']&&aJ['setAttribute']('advanced-ordering',aM['advancedOrdering']),(null==aM?void 0:aM['personalized'])&&aJ['setPersonalized']&&aJ['setPersonalized'](aM['personalized']),aT&&aJ['setLabelsPriority']?aJ['setLabelsPriority'](aT):(null==aM?void 0:aM['labelsPriority'])&&aJ['setLabelsPriority']&&aJ['setLabelsPriority'](aM['labelsPriority']),aN&&aJ['setLabels']?aJ['setLabels'](aN):'labels'===(null==aM?void 0:aM['sourceType'])&&(null==aM?void 0:aM['labels'])&&aJ['setLabels']&&aJ['setLabels'](aM['labels']),'text'!==(null==aM?void 0:aM['sourceType'])&&'labels'!==(null==aM?void 0:aM['sourceType'])||!(null==aM?void 0:aM['text'])||aJ['setAttribute']('text',aM['text']),'recommendations'===(null==aM?void 0:aM['sourceType'])&&(null==aM?void 0:aM['recommendations'])&&aJ['setAttribute']&&aJ['setAttribute']('recommendations',JSON['stringify'](aM['recommendations'])),(null==aO?void 0:aO['length'])&&aJ['setAttribute']?aJ['setAttribute']('story-ids',aO['join']()):(null==aP?void 0:aP['length'])&&aJ['setAttribute']?aJ['setAttribute']('content-ids',aP['join']()):'ids'===(null==aM?void 0:aM['sourceType'])&&(null===(aL=null==aM?void 0:aM['ids'])||void 0===aL?void 0:aL['length'])&&aJ['setAttribute']&&aJ['setAttribute']('content-ids',aM['ids']['join']());const aV=Boolean(null==aU||aU)['toString']();aJ['setAttribute']('should-order-widget-by-read-status',aV);}function aG(aJ){a2['ConfigService']['beforeContentPlayCallback']=aJ;}function aH(aJ,aK,aL){return X(this,void 0,void 0,function*(){const {shouldOrderContentByReadStatus:aM=true}=null!=aL?aL:{};try{if('moment'!==aJ)throw new Error('Currently\x20only\x20\x27moment\x27\x20content\x20type\x20is\x20supported\x20for\x20appendContentToPlayer');a7['BlazeDataSourceValidations']['validateFormat'](aK);const aN=(0x0,a5['findOpenMomentModal'])();if(!aN)throw new Error('No\x20moment\x20player\x20is\x20currently\x20open');const aO=yield a2['MomentService']['fetchContent'](aK);if(!aO['result']||0x0===aO['result']['length'])throw new Error('No\x20content\x20found\x20from\x20data\x20source');let aP=aO['result'];aM||(aP=yield a2['MomentService']['enrichContent'](aO['result'])),aN['appendContent'](aP,aO['defaultAdsInfo']);}catch(aQ){}});}function aI(aJ){a2['ConfigService']['disableAnalytics']=aJ;}J['Delegations']=a0['Delegation'],J['pushConsentEvent']=a2['AnalyticsService']['pushConsentEvent'],J['isInitialized']=()=>a6['BlazeWidgetSDK']['isSdkConnected'](),J['default']={'Initialize':ah,'WidgetGridView':al,'WidgetRowView':ak,'WidgetEmbeddedStory':am,'WidgetEmbeddedVideo':an,'WidgetCustomView':ao,'Theme':ap,'addDelegateListener':aq,'setDoNotTrack':ac,'setDisableAnalytics':aI,'setGeoLocation':ad,'setOnItemClick':af,'LabelBuilder':ar,'DataSourceBuilder':as,'Delegations':a0['Delegation'],'setGoogleCustomNativeAdsHandler':aw,'setImaHandler':ax,'pauseCurrentPlayer':au,'resumeCurrentPlayer':av,'setExternalUserId':ae,'playStory':ay,'playStories':az,'playContent':aA,'setAbTestParams':aC,'getAppContextManager':aD,'pushConsentEvent':J['pushConsentEvent'],'isInitialized':J['isInitialized'],'setBeforeContentPlayCallback':aG,'appendContentToPlayer':aH};},0x1ffb:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x2006:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x2016:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['isStory']=function(g){return 'story'===g['type']||void 0===g['type'];},f['isVideo']=function(g){return 'video'===g['type'];},f['isMoment']=function(g){return 'moment'===g['type'];};},0x2033:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0x430),f),j(g(0xefb),f),j(g(0xe32),f),j(g(0x2016),f);},0x203c:function(f,g,j){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':true}),g['BaseHLSStrategy']=g['HLS_CONFIGS']=void 0;const m=j(0x774),p=j(0x11c1),q=j(0x2045),u=j(0x3ee),v=j(0x1c1b),w={'fragLoadingMaxRetry':0x3,'fragLoadingRetryDelay':0x64},x={'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':true},w),x),'SHORT_FORM':Object['assign'](Object['assign']({'maxBufferLength':0x5,'maxMaxBufferLength':0x8,'maxBufferSize':0xf4240,'maxBufferHole':0.5,'autoStartLoad':false},w),x)};class y extends u['BasePlaybackStrategy']{constructor(z,A){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']=z,this['videoPlayerState']=A||p['VideoPlayerService'];}['setupEventListeners'](){this['video']['addEventListener'](q['EVENTS']['PLAYING'],this['boundOnPlaying']),this['video']['addEventListener'](q['EVENTS']['CAN_PLAY_THROUGH'],this['boundOnCanPlay']);}['loadSource'](z,A){return k(this,arguments,void 0,function*(B,C,D=0x0){this['initialBitrateBps']=0x3e8*C,this['lastTime']=D,this['isSlowConnection']()&&v['HLSQualityManager']['clear']();const E=this['video']['getAttribute']('data-original-src');if(this['hls']&&Hls['isSupported']()&&E&&E!==B){try{'function'==typeof this['hls']['destroy']&&this['hls']['destroy']();}catch(F){}this['hls']=void 0;}this['video']['setAttribute']('data-original-src',B),Hls['isSupported']()?this['setupHLSInstance'](B,D):this['video']['canPlayType']('application/vnd.apple.mpegurl')?this['setupNativeHLS'](B,D):this['video']['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['ERROR'],{'detail':'HLS\x20not\x20supported','bubbles':true,'composed':true}));});}['setupHLSInstance'](z,A,B=g['HLS_CONFIGS']['LONG_FORM']){let C=v['HLSQualityManager']['shouldUseMemory']()?v['HLSQualityManager']['recall']():-1;this['hls']=new Hls({'enableWorker':true,'enableSoftwareAES':true,'debug':false,'maxBufferLength':B['maxBufferLength'],'maxMaxBufferLength':B['maxMaxBufferLength'],'maxBufferSize':B['maxBufferSize'],'maxBufferHole':B['maxBufferHole'],'fragLoadingMaxRetry':B['fragLoadingMaxRetry'],'fragLoadingRetryDelay':B['fragLoadingRetryDelay'],'abrMaxWithRealBitrate':true,'abrEwmaFastLive':B['abrEwmaFastLive'],'abrEwmaSlowLive':B['abrEwmaSlowLive'],'abrEwmaFastVoD':B['abrEwmaFastVoD'],'abrEwmaSlowVoD':B['abrEwmaSlowVoD'],'abrBandWidthFactor':B['abrBandWidthFactor'],'abrBandWidthUpFactor':B['abrBandWidthUpFactor'],'capLevelToPlayerSize':false,'startPosition':A,'startLevel':C}),this['hls']['loadSource'](z),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'](z,A){this['video']['src']=z,this['video']['currentTime']=A,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 z,A,B,C,D,E,F,G,H,I,J,K;this['hls']&&'undefined'!=typeof Hls&&Hls['isSupported']()&&(null===(A=(z=this['hls'])['stopLoad'])||void 0===A||A['call'](z),null===(C=(B=this['hls'])['off'])||void 0===C||C['call'](B,Hls['Events']['BUFFER_APPENDED'],this['boundOnBufferAppended']),null===(E=(D=this['hls'])['off'])||void 0===E||E['call'](D,Hls['Events']['FRAG_PARSED'],this['boundOnFragParsed']),null===(G=(F=this['hls'])['off'])||void 0===G||G['call'](F,Hls['Events']['ERROR'],this['boundOnError']),null===(I=(H=this['hls'])['off'])||void 0===I||I['call'](H,Hls['Events']['LEVEL_SWITCHED'],this['boundOnLevelSwitched']),null===(K=(J=this['hls'])['destroy'])||void 0===K||K['call'](J),this['hls']=void 0),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 0,void 0,function*(){var z,A;this['playAttemptStartTime']=Date['now']();try{null===(A=null===(z=this['hls'])||void 0x0===z?void 0x0:z['startLoad'])||void 0x0===A||A['call'](z),this['startPlaybackWatchdog'](),yield this['waitForVideoCondition'](()=>this['video']['readyState']>=0x3,'canplay',0xbb8);const B=this['video']['play']();B&&'function'==typeof B['then']?yield B:yield this['waitForVideoCondition'](()=>!this['video']['paused'],'playing',0x7d0);const C={'status':m['PlayStatus']['Success']};return this['dispatchPlaybackEvent']('success',{'result':C,'timeToPlay':Date['now']()-this['playAttemptStartTime']}),C;}catch(D){const E={'status':m['PlayStatus']['Failed'],'error':D};return this['dispatchPlaybackEvent']('failed',{'result':E,'timeToFail':Date['now']()-this['playAttemptStartTime']}),E;}finally{this['hideLoader']();}});}['pause'](){var z,A;this['video']['pause'](),null===(A=null===(z=this['hls'])||void 0===z?void 0:z['stopLoad'])||void 0===A||A['call'](z),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'](z){if(z<0x0||z>0x1)return;if(!Number['isFinite'](this['video']['duration'])||this['video']['duration']<=0x0)return;const A=z*this['video']['duration'];Number['isFinite'](A)&&A>=0x0&&A<=this['video']['duration']&&(this['video']['currentTime']=A,this['hls']&&this['hls']['levels']&&this['hls']['levels']['length']>0x0&&this['hls']['currentLevel']>0x0&&void 0!==this['hls']['nextLoadLevel']&&(this['hls']['nextLoadLevel']=0x0),this['hls']&&!this['video']['paused']&&'function'==typeof this['hls']['startLoad']&&this['hls']['startLoad'](),this['video']['paused']||this['handleSeekRecovery'](A));}['setMuted'](z){const A=this['video']['muted'];this['video']['muted']=z,A!==z&&this['dispatchPlaybackEvent']('changed',{'previousState':{'muted':A},'newState':{'muted':z}});}['toggleMute'](){this['setMuted'](!this['video']['muted']);}['mute'](){this['setMuted'](true);}['unmute'](){this['setMuted'](false);}['toggleFullscreen'](){}['waitForVideoCondition'](z,A,B=0xbb8){return new Promise((C,D)=>{if(z())return void C();const E=setTimeout(()=>{H(),C();},B),F=I=>{H(),C(I);},G=I=>{H(),D(I);},H=()=>{clearTimeout(E),this['video']['removeEventListener'](A,F),this['video']['removeEventListener']('error',G);};this['video']['addEventListener'](A,F,{'once':true}),this['video']['addEventListener']('error',G,{'once':true});});}['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 z,A,B,C,D,E;'visible'!==document['visibilityState']||document['hidden']||'function'==typeof document['hasFocus']&&!document['hasFocus']()||(this['onLoadingState'](),this['hls']?this['video']['error']?null===(A=(z=this['hls'])['recoverMediaError'])||void 0===A||A['call'](z):(this['pause'](),null===(C=(B=this['hls'])['detachMedia'])||void 0===C||C['call'](B),null===(E=(D=this['hls'])['attachMedia'])||void 0===E||E['call'](D,this['video']),this['video']['play']()['catch'](F=>{this['reloadStream']();})):(this['pause'](),this['video']['load'](),this['video']['play']()['catch'](F=>{})));}['handleSeekRecovery'](z){clearTimeout(this['recoveryTimeout']),clearTimeout(this['loaderTimeout']),this['loaderTimeout']=setTimeout(()=>{navigator['onLine']&&this['onLoadingState']();},0x3e8),this['recoveryTimeout']=setTimeout(()=>{var A,B;this['video']['paused']&&(this['hls']&&(null===(B=(A=this['hls'])['recoverMediaError'])||void 0===B||B['call'](A)),this['video']['currentTime']=z,this['video']['play']()['catch'](()=>{this['reloadStream']();}));},0x1388),this['seekRecoveryListener']&&(this['video']['removeEventListener'](q['EVENTS']['PLAYING'],this['seekRecoveryListener']),this['seekRecoveryListener']=void 0),this['seekRecoveryListener']=()=>{clearTimeout(this['recoveryTimeout']),clearTimeout(this['loaderTimeout']),this['seekRecoveryListener']=void 0;},this['video']['addEventListener'](q['EVENTS']['PLAYING'],this['seekRecoveryListener'],{'once':true});}['isSlowConnection'](){const z=navigator['connection']||navigator['mozConnection']||navigator['webkitConnection'];if(z){const {effectiveType:A,downlink:B,rtt:C,saveData:D}=z;if(D)return true;if('2g'===A||'slow-2g'===A)return true;if('3g'===A&&(B&&B<1.5||C&&C>0x190))return true;}return false;}['handleBufferAppended'](){this['onBufferUpdate'](this['getBufferProgress']());}['handleFragParsed'](){this['onBufferUpdate'](this['getBufferProgress']());}['handleError'](z,A){if(this['onError'](z,A),A['fatal'])'networkError'===A['type']?this['handleNetworkError']():this['handleMediaError']();else switch(A['details']){case 'bufferNudgeOnStall':if(this['onLoadingState'](),this['isSlowConnection']())return;this['nudgePlayback']();break;case 'bufferStalledError':this['onLoadingState'](),this['isSlowConnection']();}}['handlePlaying'](){this['hideLoader']();}['handleLevelSwitched'](z,A){this['hls']&&this['hls']['levels']&&A['level']>=0x0&&this['hls']['levels'][A['level']]&&v['HLSQualityManager']['remember'](A['level']);}['handleNativeError'](z){this['handleNetworkError'](),this['video']['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['ERROR'],{'detail':z,'bubbles':true,'composed':true}));}['handleLoadedMetadata'](){this['hideLoader']();}['getBufferProgress'](){if(0x0===this['video']['duration'])return 0x0;const {buffered:z,currentTime:A,duration:B}=this['video'];for(let C=0x0;C<z['length'];C++)if(z['start'](C)<=A&&z['end'](C)>=A)return z['end'](C)/B*0x64;return 0x0;}['showLoader'](){this['video']['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['LOADER_DISPLAY'],{'bubbles':true,'composed':true}));}['hideLoader'](){this['video']['dispatchEvent'](new CustomEvent(q['VIDEO_EVENTS']['LOADER_HIDE'],{'bubbles':true,'composed':true}));}['nudgePlayback'](){var z;const A=this['video']['currentTime'];null===(z=this['hls'])||void 0===z||z['recoverMediaError'](),setTimeout(()=>{const B=A+0.1;this['video']['currentTime']=B,this['video']['play']()['catch'](C=>{});},0xfa);}['handleNetworkError'](){if(navigator['onLine']){if(this['retryCount']<this['maxRetries']){this['retryCount']++;const z=0x3e8*Math['pow'](0x2,this['retryCount']);setTimeout(()=>{this['hls']&&'function'==typeof this['hls']['startLoad']?this['hls']['startLoad']():this['recoverNativeHls']();},z);}else this['reloadStream'](),this['retryCount']=0x0;}else window['addEventListener']('online',this['handleOnlineNetworkRecovery'],{'once':true}),this['onLoadingState']();}['handleMediaError'](){var z,A;this['lastTime']=this['video']['currentTime'],'undefined'!=typeof Hls&&Hls['isSupported']()&&this['hls']?(null===(A=(z=this['hls'])['recoverMediaError'])||void 0===A||A['call'](z),setTimeout(()=>{this['video']['currentTime']=this['lastTime'],this['video']['play']()['catch'](B=>{this['reloadStream']();});},0x1f4)):this['video']['canPlayType']('application/vnd.apple.mpegurl')&&(this['reloadStream'](),setTimeout(()=>{this['video']['play']()['catch'](B=>{});},0x3e8));}['recoverNativeHls'](){const z=this['video']['getAttribute']('data-original-src')||this['video']['src'],A=this['video']['currentTime'];this['video']['pause'](),this['video']['removeAttribute']('src'),this['video']['load'](),setTimeout(()=>{this['video']['src']=z,this['video']['currentTime']=A,this['video']['load'](),this['video']['play']()['catch'](B=>{});},0x64);}['reloadStream'](){if(this['retryCount']=0x0,'undefined'!=typeof Hls&&Hls['isSupported']()&&this['hls']){const z=this['video']['getAttribute']('data-original-src')||this['video']['src'];this['hls']['detachMedia'](),this['hls']['attachMedia'](this['video']),this['hls']['loadSource'](z),this['hls']['startLoad']();}else {if(this['video']['canPlayType']('application/vnd.apple.mpegurl')){const A=this['video']['getAttribute']('data-original-src')||this['video']['src'],B=this['video']['currentTime'];this['video']['pause'](),this['video']['removeAttribute']('src'),this['video']['load'](),setTimeout(()=>{this['video']['src']=A,this['video']['currentTime']=B,this['video']['load']();},0x64);}}}['reloadWithNewSource'](z){return k(this,arguments,void 0,function*(A,B=0x0,C=0x0){var D,E,F,G,H,I;if(this['initialBitrateBps']=0x3e8*B,this['lastTime']=C,this['video']['setAttribute']('data-original-src',A),'undefined'!=typeof Hls&&Hls['isSupported']()&&this['hls'])null===(E=(D=this['hls'])['stopLoad'])||void 0===E||E['call'](D),null===(G=(F=this['hls'])['detachMedia'])||void 0===G||G['call'](F),this['hls']['loadSource'](A),null===(I=(H=this['hls'])['attachMedia'])||void 0===I||I['call'](H,this['video']),C>0x0&&(this['video']['currentTime']=C);else {if(!this['video']['canPlayType']('application/vnd.apple.mpegurl'))throw new Error('HLS\x20not\x20supported');this['video']['pause'](),this['video']['src']=A,this['video']['currentTime']=C,this['video']['load']();}});}}g['BaseHLSStrategy']=y;},0x2045:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['VIDEO_EVENTS']=f['EVENTS']=f['KEY_CODES']=void 0,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'};},0x2071:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['isValidCountryCode']=function(j){return h['CountryCodes']['includes'](j);};const h=g(0x1932);},0x208a:d=>{d['exports']=JSON['parse']('{\x22name\x22:\x22@wscsports/blaze-web-sdk\x22,\x22version\x22:\x220.30.0\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.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:pr\x22:\x22webpack\x20--config\x20webpack.config.prod-pr.js\x20&&\x20npm\x20run\x20build:types\x22,\x22build:dev\x22:\x22webpack\x20--config\x20webpack.config.dev-pr.js\x22,\x22build:prod\x22:\x22webpack\x20--config\x20webpack.config.prod.js\x20&&\x20npm\x20run\x20build:types\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,\x22version-download\x22:\x22node\x20./version-downloader.js\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: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},\x22devDependencies\x22:{\x22@playwright/test\x22:\x22^1.56.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/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,\x22media-captions\x22:\x22^0.0.18\x22,\x22npm-registry-fetch\x22:\x22^16.0.0\x22,\x22playwright-chromium\x22:\x22^1.56.0\x22,\x22playwright-webkit\x22:\x22^1.56.0\x22,\x22style-loader\x22:\x22^3.3.3\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){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':true}),f['BaseModalTemplate']=void 0;const j=g(0x26ed),k=g(0x11c1),l=g(0x2473);f['BaseModalTemplate']=class{['render'](m,p,q){return h(this,void 0,void 0,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=A['sort'](l['sortContentByViewedStatus'])),this['configureModal'](y,A),this['openModal'](y,v);}catch(B){(null==u?void 0:u['blazeSdk'])&&u['dataSourceStringRep']&&this['handleError'](B,u['blazeSdk'],u['dataSourceStringRep']);}});}['validateRequirements'](m){if(!m)return {'isValid':false,'blazeSdk':null,'dataSourceStringRep':void 0};const p=document['getElementsByTagName']('blaze-sdk')[0x0];if(!p)return {'isValid':false,'blazeSdk':null,'dataSourceStringRep':void 0};const q=(0, l['getDataSourceStringRep'])(m);return q?{'isValid':true,'blazeSdk':p,'dataSourceStringRep':q}:{'isValid':false,'blazeSdk':p,'dataSourceStringRep':void 0};}['filterContent'](m){var p;return (null===(p=k['ConfigService']['excludeContentId'])||void 0===p?void 0:p['length'])?m['filter'](q=>!k['ConfigService']['excludeContentId']['includes'](q['id'])):m;}['validateContentResponse'](m,p,q){var r;return !!(null===(r=null==m?void 0:m['result'])||void 0===r?void 0:r['length'])||(k['EventService']['dispatch'](p,j['Delegation']['onErrorThrown'],{'id':q,'errorCode':this['getErrorCode']()}),false);}['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 0,void 0,function*(){return this['getService']()['fetchContent'](m);});}};},0x20bd:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0xd06),f);},0x20ce:function(d,f,g){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':true}),f['FullscreenManager']=void 0;const j=g(0x1133),k=g(0x774);f['FullscreenManager']=class{constructor(l){this['isFullscreen']=false,this['isProgrammaticChange']=false,this['boundOnFullscreenChange']=this['handleFullscreenChange']['bind'](this),this['container']=l,j['deviceDetector']['isFullscreenSupported']&&this['attachEventListeners']();}['toggleFullscreen'](){return h(this,void 0,void 0,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']=false;}});}['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 0,void 0,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']=false;}});}['exitFullscreen'](){return h(this,void 0,void 0,function*(){try{document['exitFullscreen']?yield document['exitFullscreen']():document['webkitExitFullscreen']?yield document['webkitExitFullscreen']():document['msExitFullscreen']?yield document['msExitFullscreen']():this['isProgrammaticChange']=!0x1;}catch(l){this['isProgrammaticChange']=false;}});}['handleFullscreenChange'](){var l;const m=this['isFullscreen'];if(this['isFullscreen']=this['isFullscreenMode'](),this['isProgrammaticChange'])return void(this['isProgrammaticChange']=false);const p=document['fullscreenElement']||document['webkitFullscreenElement']||document['msFullscreenElement'];(p===this['container']||m&&!p)&&(null===(l=this['onFullscreenChangeByBrowser'])||void 0===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']);}};},0x210b:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x2120:function(f,g,j){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':true}),g['BlazeWidgetAd']=void 0;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']=false,this['isAdFailed']=false,this['isPlaying']=false,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':true,'cancelable':false}));}}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':[]};}['getAdIframeRef'](){var B;return document['querySelector']('iframe[id*=\x22'+(null===(B=this['data']['adInfo'])||void 0===B?void 0:B['path'])+'\x22]');}['changeAdMutedState'](B){if(!this['isCurrentlyDisplay'])return;if(!this['data'])return;const C=this['getAdIframeRef']();(null==C?void 0: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 0,void 0,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']=true,this['contentParent']['adjustContentView'](),this['failToLoadTimeout']=setTimeout(()=>{var C;this['isCurrentlyDisplay']&&(this['isAdFailed']=true,this['isPlaying']&&(null===(C=this['onFail'])||void 0===C||C['call'](this)));},q['FAIL_TO_LOAD_TIMEOUT_MS']),this['event'](q['AdAction']['Requested']),this['getGoogletag']()['cmd']['push'](()=>{var C,D;this['getGoogletag']()['destroySlots']();const E=B['path'],F=H=>{var I;if(H['slot']['getSlotElementId']()===this['adContainer']['id']){if(clearTimeout(this['failToLoadTimeout']),this['failToLoadTimeout']=void 0,H['isEmpty'])this['isCurrentlyDisplay']&&(this['isAdFailed']=true,this['isPlaying']&&(null===(I=this['onFail'])||void 0===I||I['call'](this)));else {this['placeholderContainer']['style']['display']='none',this['isAdFailed']=false,this['event'](q['AdAction']['View']);const J=this['getAdIframeRef'](),K=null==J?void 0:J['contentWindow'],L=null==K?void 0:K['document']['body'];L&&(L['style']['direction']=x['ConfigService']['layoutDirection']);}this['getGoogletag']()['pubads']()['removeEventListener']('slotRenderEnded',F);}};this['getGoogletag']()['pubads']()['addEventListener']('slotRenderEnded',F),this['getGoogletag']()['pubads']()['display'](E,['fluid',[0x1,0x1]],this['adContainer']['id']);const G=this['getGoogletag']()['pubads']()['getSlots']()['find'](H=>H['getSlotElementId']()===this['adContainer']['id']);if(G){const H=(null===(D=null===(C=x['ConfigService']['googleCustomNativeAdHandler'])||void 0===C?void 0:C['provideAdExtraParams'])||void 0===D?void 0:D['call'](C,{'path':E},this['contentParent']['contentExtraInfo']))||{};if(this['contentParent']instanceof m['BlazeWidgetStory']){const I=this['contentParent']['currentPageIndexWithoutCustomAds'];I&&(H['page_index']=I['toString']());}(0, z['addContextToCustomTargeting'])(B,H),Object['entries'](H)['forEach'](([J,K])=>{G['setTargeting'](J,K);});}this['getGoogletag']()['enableServices'](),this['getGoogletag']()['pubads']()['refresh']();})));});}['endExit'](){this['destroyAd']();}['getIframeVideoElement'](){const B=this['getAdIframeRef'](),C=null==B?void 0:B['contentWindow'],D=null==C?void 0:C['document']['body'],E=null==D?void 0:D['getElementsByTagName']('video');return null==E?void 0:E[0x0];}['play'](){var B;this['isPlaying']=true,this['isAdFailed']&&(null===(B=this['onFail'])||void 0===B||B['call'](this));try{const C=this['getIframeVideoElement']();C&&'function'==typeof C['play']&&C['getAttribute']('src')&&C['play']();}catch(D){}}get['paused'](){return false;}['pause'](){this['isCurrentlyDisplay']=false,this['isPlaying']=false;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'](true),this['style']['display']='none',this['isCurrentlyDisplay']=false;}['display'](B){return k(this,void 0,void 0,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 0===C?void 0:C['isConnected'])?B(true):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(true));}})['observe'](document['body'],{'childList':true,'subtree':true});});}['destroyAd'](){this['getGoogletag']()['cmd']['push'](()=>{const B=this['getGoogletag']()['pubads']()['getSlots']()['find'](C=>C['getSlotElementId']()===this['adContainer']['id']);B&&this['getGoogletag']()['destroySlots']([B]);}),window['removeEventListener']('message',this['boundMessageEvent']);}['handleCtaSwipeUp'](){const B=this['getAdIframeRef'](),C=null==B?void 0:B['contentWindow'],D=null==C?void 0:C['document']['body'],E=null==D?void 0:D['querySelectorAll']('a.cta'),F=null==E?void 0: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 0===D?void 0:D['configurations']['analyticsAddEntitiesInfo'])&&(H['content_extra_info']=JSON['stringify'](this['contentParent']['data']['extraInfo'])),H['backoffice_campaign_data']=(null===(E=this['data']['adInfo'])||void 0===E?void 0: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 0,G);}}g['BlazeWidgetAd']=A;},0x2151:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeWidgetBannerAd']=void 0;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']=false,this['parentContnet']=p;}get['googletag'](){return window['googletag']||{'cmd':[]};}['connectedCallback'](){this['setInitialStyles'](),this['setAdContainer']();}['disconnectedCallback'](){this['isActive']=false;}['show'](p,q=true){k['AdService']['canRunAds']&&p&&(this['bannerAdInfo']=p,this['googletag']['cmd']['push'](()=>{var u,v;this['isActive']=false;const w=this['googletag']['pubads']()['getSlots']()['find'](A=>A['getSlotElementId']()===this['adContainer']['id']);w&&this['googletag']['destroySlots']([w]);const x=p['adUnitId'];this['raiseAnalyticsEventToParent']({'type':h['AdAction']['BannerRequested'],'adUnitId':x});const y=A=>{A['slot']['getSlotElementId']()===this['adContainer']['id']&&(A['isEmpty']||(this['style']['display']='block',this['style']['visibility']='visible',this['isActive']=true,q&&(this['raiseAnalyticsEventToParent']({'type':h['AdAction']['BannerLoad'],'adUnitId':x}),this['raiseAnalyticsViewBannerAd']())),this['googletag']['pubads']()['removeEventListener']('slotRenderEnded',y));};this['googletag']['pubads']()['addEventListener']('slotRenderEnded',y);const z=(null===(v=null===(u=k['ConfigService']['googleCustomNativeAdHandler'])||void 0===u?void 0:u['provideAdExtraParams'])||void 0===v?void 0:v['call'](u,{'path':x},this['parentContnet']['contentExtraInfo']))||{};(0, l['addContextToCustomTargeting'])(p,z),Object['entries'](z)['forEach'](([A,B])=>{this['googletag']['pubads']()['setTargeting'](A,B);}),this['googletag']['pubads']()['setCentering'](true),this['googletag']['pubads']()['display'](x,[[0x140,0x32]],this['adContainer']['id']),this['googletag']['enableServices']();}));}['hide'](){this['style']['visibility']='hidden';}['unhide'](){this['style']['visibility']='visible';}['setInitialStyles'](){(0, 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':true,'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 0===p?void 0:p['adUnitId']});}}f['BlazeWidgetBannerAd']=m;},0x2152:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['WSC_PREFIX']=f['TRANSPARENT']=void 0,f['TRANSPARENT']='transparent',f['WSC_PREFIX']='wsc_';},0x215e:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x21b0:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['WidgetsFactory']=void 0,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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeChip']=void 0;const h=g(0x1133),j=g(0x132a);class k extends h['BaseWidget']{constructor(){super();}['connectedCallback'](){this['style']['position']='absolute',this['style']['backgroundColor']='',this['style']['justifySelf']='center',this['style']['borderColor']=j['Colors']['White'],this['style']['borderStyle']='solid',this['style']['lineHeight']='1',this['innerText']='';}}f['BlazeChip']=k;},0x21c3:(d,f)=>{function g(h){return 0x2*h['message']['length']+0x2*h['metadata']['length']+0x2*h['logIdentifier']['length']+0x64;}Object['defineProperty'](f,'__esModule',{'value':true}),f['estimateEntrySize']=g,f['calculateTotalMemoryUsage']=function(h){return h['reduce']((j,k)=>j+g(k),0x0);};},0x21e0:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeImage']=void 0;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;},0x2244:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['LongFormHlsStrategy']=void 0;const h=g(0x203c);class j extends h['BaseHLSStrategy']{['initialize'](k){this['videoOverlay']=null==k?void 0:k['overlay'],this['configureVideoElement'](),this['setupEventListeners']();}['configureVideoElement'](){this['video']['muted']=this['videoPlayerState']['isMuted'],this['video']['playsInline']=true,this['video']['controls']=false,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 0===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 0===m||m['showPlayerOverlay']();else switch(l['details']){case 'bufferNudgeOnStall':case 'bufferStalledError':null===(p=this['videoOverlay'])||void 0===p||p['showPlayerOverlay']();}}['toggleFullscreen'](){var k;null===(k=this['videoOverlay'])||void 0===k||k['setFullscreenState']();}}f['LongFormHlsStrategy']=j;},0x2251:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),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)=>{Object['defineProperty'](g,'__esModule',{'value':true}),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 0;var j=h(0x23cc);Object['defineProperty'](g,'LOG_LEVEL_VALUES',{'enumerable':true,'get':function(){return j['LOG_LEVEL_VALUES'];}}),Object['defineProperty'](g,'isLogLevelAllowed',{'enumerable':true,'get':function(){return j['isLogLevelAllowed'];}}),Object['defineProperty'](g,'calculateLogPriority',{'enumerable':true,'get':function(){return j['calculateLogPriority'];}});var k=h(0x29);Object['defineProperty'](g,'buildLogMetadata',{'enumerable':true,'get':function(){return k['buildLogMetadata'];}}),Object['defineProperty'](g,'MetadataKeys',{'enumerable':true,'get':function(){return k['MetadataKeys'];}});var m=h(0x2537);Object['defineProperty'](g,'compressPayload',{'enumerable':true,'get':function(){return m['compressPayload'];}});var p=h(0x21c3);Object['defineProperty'](g,'estimateEntrySize',{'enumerable':true,'get':function(){return p['estimateEntrySize'];}}),Object['defineProperty'](g,'calculateTotalMemoryUsage',{'enumerable':true,'get':function(){return p['calculateTotalMemoryUsage'];}});var q=h(0x253f);Object['defineProperty'](g,'validateLoggerConfigurationDetailed',{'enumerable':true,'get':function(){return q['validateLoggerConfigurationDetailed'];}}),Object['defineProperty'](g,'shouldIgnoreLog',{'enumerable':true,'get':function(){return q['shouldIgnoreLog'];}}),Object['defineProperty'](g,'sanitizeBatchSizeConfiguration',{'enumerable':true,'get':function(){return q['sanitizeBatchSizeConfiguration'];}});var u=h(0x55b);Object['defineProperty'](g,'extractEntryIds',{'enumerable':true,'get':function(){return u['extractEntryIds'];}});var v=h(0x1b21);Object['defineProperty'](g,'pruneOfflineQueue',{'enumerable':true,'get':function(){return v['pruneOfflineQueue'];}}),Object['defineProperty'](g,'addToOfflineQueueWithPruning',{'enumerable':true,'get':function(){return v['addToOfflineQueueWithPruning'];}});},0x227f:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeDataSourceValidations']=f['BlazeDataSourceFactory']=f['BlazeInternalError']=void 0;const h=g(0x1133),j=g(0x2033),k=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.','ForYouContentPreparationNotSupported':'preparing\x20is\x20not\x20supported\x20when\x20using\x20the\x20\x22Recommendations\x20-\x20For\x20You\x22\x20feature.\x20You\x20need\x20to\x20proceed\x20to\x20play\x20the\x20content\x20directly,\x20or\x20contact\x20support\x20to\x20discuss\x20upgrade\x20options.','TrendingContentPreparationNotSupported':'preparing\x20is\x20not\x20supported\x20when\x20using\x20the\x20\x22Recommendations\x20-\x20Trending\x22\x20feature.\x20You\x20need\x20to\x20proceed\x20to\x20play\x20the\x20content\x20directly,\x20or\x20contact\x20support\x20to\x20discuss\x20upgrade\x20options.'};class l{static['createLabelsDataSource'](p){const {labels:q,text:u,labelsPriority:v,orderType:w,maxItems:x,advancedOrdering:y,personalized:z}=p;try{m['validateFormat']({'sourceType':'labels','labels':q,'text':u,'labelsPriority':v,'orderType':w,'maxItems':x,'advancedOrdering':y,'personalized':z});}catch(A){}finally{return {'sourceType':'labels','labels':q,'text':u,'labelsPriority':l['setLabelsPriority'](v),'orderType':w,'maxItems':x,'advancedOrdering':y,'personalized':z};}}static['createIdsDataSource'](p){const {ids:q,orderType:u,advancedOrdering:v}=p;try{m['validateFormat']({'sourceType':'ids','ids':q,'orderType':u,'advancedOrdering':v});}catch(w){}finally{return {'sourceType':'ids','ids':q,'orderType':u,'advancedOrdering':v};}}static['createRecommendationsDataSource'](p){const {recommendations:q}=p;try{return m['validateFormat']({'sourceType':'recommendations','recommendations':q}),{'sourceType':'recommendations','recommendations':q};}catch(u){return {'sourceType':'recommendations'};}}static['createTextDataSource'](p){const {text:q,orderType:u,maxItems:v,advancedOrdering:w,personalized:x}=p;try{m['validateFormat']({'sourceType':'text','text':q,'orderType':u,'maxItems':v,'advancedOrdering':w,'personalized':x});}catch(y){}finally{return {'sourceType':'text','text':q,'orderType':u,'maxItems':v,'advancedOrdering':w,'personalized':x};}}static['setLabelsPriority'](p){return 'string'==typeof p?p['startsWith']('[')&&p['endsWith'](']')?p:'['+p+']':Array['isArray'](p)?p['every'](q=>q instanceof h['BlazeWidgetLabel'])?'['+p['map'](q=>q['toString']())['join']()+']':'['+p['join']()+']':'';}}f['BlazeDataSourceFactory']=l;class m{static['validateFormat'](p){var q,v,w,x;switch(p['sourceType']){case 'labels':if(!p['labels'])throw new Error(f['BlazeInternalError']['MissingLabelsProperty']);if(!(null===(q=p['labels'])||void 0===q?void 0:q['toString']()['trim']()['length']))throw new Error(f['BlazeInternalError']['LabelExpressionMustNotBeEmpty']);if(void 0!==p['maxItems']&&p['maxItems']<=0x0)throw new Error(f['BlazeInternalError']['InvalidNumberOfMaxItems']);break;case 'ids':if(!p['ids']||!p['ids']['length'])throw new Error(f['BlazeInternalError']['IdsMustNotBeEmpty']);if(p['ids']['some'](E=>/\s/['test'](E)))throw new Error(f['BlazeInternalError']['IdsMustNotHaveSpaces']);break;case 'text':if(!p['text']||!p['text']['trim']()['length'])throw new Error(f['BlazeInternalError']['SearchTextMustNotBeEmpty']);if(void 0!==p['maxItems']&&p['maxItems']<=0x0)throw new Error(f['BlazeInternalError']['InvalidNumberOfMaxItems']);break;case 'recommendations':const y=null===(v=p['recommendations'])||void 0===v?void 0:v['forYou'],z=null===(w=p['recommendations'])||void 0===w?void 0:w['trending'],{supportForYou:A,supportTrending:B,enableForYouContentPreparation:C,enableTrendingContentPreparation:D}=(null===(x=k['AppConfigurationService']['appConfigurations'])||void 0===x?void 0:x['recommendationsConfigurations'])||{};if(y&&!A)throw new Error(f['BlazeInternalError']['ForYouNotSupported']);if(z&&!B)throw new Error(f['BlazeInternalError']['TrendingNotSupported']);if(y&&!C)throw new Error(f['BlazeInternalError']['ForYouContentPreparationNotSupported']);if(z&&!D)throw new Error(f['BlazeInternalError']['TrendingContentPreparationNotSupported']);}}static['validateDataSource'](q,v,w,x){var y,z;const {labels:A,storyIds:B,contentIds:C}=v,D=(0, j['hasValidLabels'])(A,null==w?void 0:w['labels']),E=(0, j['hasValidIds'])(B,C,null==w?void 0:w['ids']),F='text'===(null==w?void 0:w['sourceType'])&&w['text']&&w['text']['trim']()['length']>0x0,G='recommendations'===(null==w?void 0:w['sourceType'])&&w['recommendations']&&'moment'===x,H=w&&(w['labels']||w['ids']||w['text']||(null===(y=w['recommendations'])||void 0===y?void 0:y['forYou'])||(null===(z=w['recommendations'])||void 0===z?void 0:z['trending']));if(null==w||w['sourceType'],!(D||E||H||G||F))throw new Error('valid\x20labels,\x20IDs,\x20text\x20search,\x20recommendations\x20or\x20dataSource\x20were\x20not\x20found\x20in\x20widget\x20options\x20-\x20'+q);}}f['BlazeDataSourceValidations']=m;},0x2280:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['MomentAccessibilityStrategy']=f['StoryAccessibilityStrategy']=void 0;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']);}};},0x22ae:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x22c1:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeShareButton']=void 0;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){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0x21b0),f);},0x22de:function(d,f,g){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':true}),f['PlayerViewTemplate']=void 0;const j=g(0x132a),k=g(0x2382),m=g(0x19b0),p=g(0x1d65);class q{static['display'](u,v,w){return h(this,void 0,void 0,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(!(0, j['isStoryPlayerStyle'])(v))return false;break;case 'video':if(!(0, j['isVideoPlayerStyle'])(v))return false;break;case 'moment':if(!(0, j['isMomentPlayerStyle'])(v))return false;}return true;}}f['PlayerViewTemplate']=q,q['templates']={'story':new k['StoryModalTemplate'](),'video':new m['VideoModalTemplate'](),'moment':new p['MomentModalTemplate']()};},0x2382:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['StoryModalTemplate']=void 0;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 0),p['player']['contentList']['forEach'](v=>{v['startTrigger']='UI\x20Button',v['resetStoryLocationIndexToLastUnseen']();}),p['seek'](null!==(u=q[0x0]['id'])&&void 0!==u?u:'');}['getService'](){return j['StoryService'];}['getErrorCode'](){return l['ErrorCode']['FailedLoadingStories'];}}f['StoryModalTemplate']=m;},0x238c:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['CcSupportedLanguages']=void 0,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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['BlazeWidgetItemSkeleton']=void 0;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 0===k?void 0: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){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),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(0x264),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);},0x23b6:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['FAIL_TO_LOAD_TIMEOUT_MS']=f['ONE_AND_HALF_SECOND']=f['ONE_SECOND']=void 0,f['ONE_SECOND']=0x3e8,f['ONE_AND_HALF_SECOND']=0x5dc,f['FAIL_TO_LOAD_TIMEOUT_MS']=0xbb8;},0x23cc:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['LOG_LEVEL_VALUES']=void 0,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};},0x23e7:function(f,g,j){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':true}),g['BlazeWidgetVideoPlayer']=void 0;const p=m(j(0xad8)),q=j(0x774),u=j(0x1133),v=j(0x1932),w=j(0x11c1),x=j(0x23a6);class y extends x['WidgetAbstractPlayer']{constructor(z='Full\x20Screen',A=w['VideoPlayerService']){super(),this['mode']=z,this['videoPlayerState']=A,this['boundOnNavigationPrev']=this['handlePrevDirection']['bind'](this),this['boundOnNavigationNext']=this['handleNextDirection']['bind'](this),this['boundOnResize']=this['calculateDesktopStyles']['bind'](this),this['boundOnScreenChangeByBrowser']=this['handleScreenChangeByBrowser']['bind'](this),this['boundOnKeyDown']=this['handleNavigationKeyPress']['bind'](this),this['boundOnReplayClick']=this['handleReplayClick']['bind'](this),this['visibilityManager']=new u['VisibilityManager'](this),this['fullscreenManager']=new u['FullscreenManager'](this),this['pseudoFullscreenManager']=new u['PseudoFullscreenManager'](this),this['resumeAfterFocus']=false,this['numberOfContentInList']=0x1;}['connectedCallback'](){this['append'](this['srcBackground']),this['append'](this['destBackground']),this['append'](this['container']),this['applyStyles'](),this['setupContainer'](),this['setupEventListeners']();}['disconnectedCallback'](){this['detachEventListeners']();}['destroy'](){this['visibilityManager']['detach'](),this['fullscreenManager']['destroy'](),this['pseudoFullscreenManager']['destroy']();}get['currentVideoItem'](){return this['playerContentList'][0x0];}['setupEventListeners'](){u['deviceDetector']['isDesktop']&&(window['addEventListener'](q['EVENTS']['KEYDOWN'],this['boundOnKeyDown']),window['addEventListener'](q['EVENTS']['RESIZE'],this['boundOnResize'])),this['addEventListener'](q['VIDEO_EVENTS']['NAVIGATION_PREV'],this['boundOnNavigationPrev']),this['addEventListener'](q['VIDEO_EVENTS']['NAVIGATION_NEXT'],this['boundOnNavigationNext']),this['addEventListener'](q['VIDEO_EVENTS']['REPLAY'],this['boundOnReplayClick']),this['fullscreenManager']['onFullscreenChangeByBrowser']=this['boundOnScreenChangeByBrowser'];}['detachEventListeners'](){u['deviceDetector']['isDesktop']&&(window['removeEventListener'](q['EVENTS']['KEYDOWN'],this['boundOnKeyDown']),window['removeEventListener'](q['EVENTS']['RESIZE'],this['boundOnResize'])),this['removeEventListener'](q['VIDEO_EVENTS']['NAVIGATION_PREV'],this['boundOnNavigationPrev']),this['removeEventListener'](q['VIDEO_EVENTS']['NAVIGATION_NEXT'],this['boundOnNavigationNext']);}['tryToCloseFullscreen'](){return k(this,void 0,void 0,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 z,A;const B=this['isCurrentlyInFullscreen']();this['videoPlayerState']['playerLayout']=B?'fullscreen':'normal',this['updateContainerStyles'](),null===(A=null===(z=this['currentVideoItem'])||void 0===z?void 0:z['videoOverlay'])||void 0===A||A['setFullscreenState'](B);}['toggleFullscreen'](){return k(this,void 0,void 0,function*(){var z,A;const B=this['isCurrentlyInFullscreen']();this['videoPlayerState']['playerLayout']=B?'normal':'fullscreen',this['updateContainerStyles'](),'Embedded'!==this['mode']||u['deviceDetector']['isFullscreenSupported']?yield this['fullscreenManager']['toggleFullscreen']():this['pseudoFullscreenManager']['toggle'](),null===(A=null===(z=this['currentVideoItem'])||void 0===z?void 0:z['widgetVastAd'])||void 0===A||A['handleFullscreenChange'](),this['updateFullscreenState']();});}['handleScreenChangeByBrowser'](){var z,A,B;this['isCurrentlyInFullscreen']()||null===(z=this['currentVideoItem'])||void 0===z||z['setPlayerLayoutToNormal'](),null===(B=null===(A=this['currentVideoItem'])||void 0===A?void 0:A['widgetVastAd'])||void 0===B||B['handleFullscreenChange'](),this['updateFullscreenState']();}['applyStyles'](){this['setStyle']({'display':'block','overflow':'hidden','height':'100%','width':'100%','minHeight':'100%','position':'relative'});}['setupContainer'](){return k(this,void 0,void 0,function*(){this['updateContainerStyles']();});}['updateContainerStyles'](){if(this['pseudoFullscreenManager']['isInPseudoFullscreen']())return;const z=this['calculateDesktopStyles']();this['container']['style']['cssText']='',Object['assign'](this['container']['style'],{'overflow':'hidden','position':'absolute','top':'50%','left':'50%','transform':'translate(-50%,\x20-50%)','display':'flex','justifyContent':'center','alignItems':'center'}),'fullscreen'===this['videoPlayerState']['playerLayout']?Object['assign'](this['container']['style'],{'width':'100%','height':'100%','top':'0','left':'0','transform':'none','borderRadius':'0'}):u['deviceDetector']['isMobile']||u['deviceDetector']['isTablet']?Object['assign'](this['container']['style'],{'width':'100%','height':'100%','borderRadius':'8px'}):Object['assign'](this['container']['style'],z),'Embedded'===this['mode']&&Object['assign'](this['container']['style'],{'width':'100%','height':'100%','borderRadius':'8px','background':'black'});}['calculateDesktopStyles'](){const z=0x10/0x9,A=0.9*window['innerWidth'],B=0.8*window['innerHeight'];let C=A,D=C/z;return D>B&&(D=B,C=D*z),{'width':C+'px','height':D+'px','objectFit':'contain','borderRadius':'24px'};}['handleDirection'](z){return k(this,void 0,void 0,function*(){var A,B,C,D;if(!navigator['onLine'])return;const E=this['contentList']['findIndex'](G=>G['data']['id']===this['currentVideoItem']['data']['id']),F=this['contentList']['Backwards'===z?E-0x1:E+0x1];if(!F)return this['currentVideoItem']['videoOverlay']['videoNavigationOverlay']['showReplayButton'](),void this['pause']();if(null===(A=this['onContentChange'])||void 0===A||A['call'](this,'Backwards'===z?'PREV':'NEXT'),this['currentVideoItem']['unload'](),w['ConfigService']['shouldAllowClosedCaptions']){const G=null===(B=F['data']['closedCaptions'])||void 0===B?void 0:B['find'](H=>''+H['language']===localStorage['getItem'](v['LOCAL_STORAGE_KEY_LAST_SELECTED']));this['currentVideoItem']['setClosedCaptions'](null!==(C=null==G?void 0:G['files'])&&void 0!==C?C:[]),null===(D=this['currentVideoItem']['closedCaptionsModal'])||void 0===D||D['reloadData'](F['data']['closedCaptions']),this['currentVideoItem']['videoOverlay']['updateClosedCaptionButtonIcon'](!!G);}yield this['currentVideoItem']['setData'](F['data']),F['widgetParentItem']&&this['currentVideoItem']['setWidgetItemParent'](F['widgetParentItem']),yield this['play']();});}['handlePrevDirection'](){this['handleDirection']('Backwards');}['handleNextDirection'](){this['handleDirection']('Forwards');}['setContent'](z){for(const A of this['playerContentList'])A['remove']();this['playerContentList']=[],this['contentList']=z;}['load'](){return k(this,void 0,void 0,function*(){yield this['currentVideoItem']['load']();});}['play'](){return k(this,void 0,void 0,function*(){this['updateOverlayNavigationButtons'](),yield this['load'](),yield this['currentVideoItem']['play'](),this['currentVideoItem']['event'](v['VideoAction']['VideoStart'],{}),this['currentVideoItem']['event'](v['VideoAction']['PlaybackInitialStart'],{}),this['videoPlayerState']['isPlaying']=true,this['updateOverlayNavigationPlayingState'](true);});}['resume'](){return k(this,void 0,void 0,function*(){yield this['currentVideoItem']['play'](),this['currentVideoItem']['event'](v['VideoAction']['VideoStart'],{}),this['videoPlayerState']['isPlaying']=true,this['updateOverlayNavigationPlayingState'](true);});}['pause'](){this['currentVideoItem']['pause'](),this['currentVideoItem']['event'](v['VideoAction']['VideoEnd'],{}),this['videoPlayerState']['isPlaying']=false,this['updateOverlayNavigationPlayingState'](false);}['restart'](){this['currentVideoItem']['video']['currentTime']=0x0,this['currentVideoItem']['videoOverlay']['videoTimer']['updateCurrentTime'](0x0);}['updateOverlayNavigationPlayingState'](z){this['currentVideoItem']['setIsPlaying'](z);}['updateOverlayNavigationButtons'](){const z=this['currentVideoItem']['data']['id'],A=this['contentList']['findIndex'](D=>D['data']['id']===z),B=A<this['contentList']['length']-0x1,C=A>0x0;this['currentVideoItem']['videoOverlay']['videoNavigationOverlay']['setAttribute']('has-next',B['toString']()),this['currentVideoItem']['videoOverlay']['videoNavigationOverlay']['setAttribute']('has-prev',C['toString']());}['handleNavigationKeyPress'](z){if(this['isNavigationBlocked']||this['currentVideoItem']['isPlayingAd']||'video'===w['ConfigService']['staticContentType'])return;let A=null;switch(z['code']){case q['KEY_CODES']['ARROW_LEFT']:A='Backwards';break;case q['KEY_CODES']['ARROW_RIGHT']:A='Forwards';}A&&this['handleDirection'](A);}['handleReplayClick'](z){this['restart'](),this['play']();}['createAnimation'](z,A,B){return p['default']['timeline']();}['handleAnimationStart'](z,A){}['handleAnimationCompletion'](z,A){return k(this,void 0,void 0,function*(){});}['loadAndPlayContent'](){return k(this,void 0,void 0,function*(){});}['preloadAdjacentContent'](z){return k(this,void 0,void 0,function*(){});}['prefetchPosters'](){return k(this,void 0,void 0,function*(){});}['onAnimationEnd'](){}['handleMoveSwipe'](z){}['handleEndSwipe'](z){}['resetStyles'](){}['render'](){this['setupContainer']();}}g['BlazeWidgetVideoPlayer']=y;},0x23f9:function(d,f,g){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':true}),f['BlazeWidgetCaptions']=void 0;const j=g(0x12b0),k=g(0x132a);class l 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 m=this['attachShadow']({'mode':'open'});this['container']['className']='captions-container',m['appendChild'](this['container']),this['boundTimeUpdate']=this['handleTimeUpdate']['bind'](this),this['boundSeekUpdate']=this['handleSeekUpdate']['bind'](this);}static get['observedAttributes'](){return ['is-visible','text-color'];}['connectedCallback'](){this['setupStyles']();}['disconnectedCallback'](){this['cleanup']();}['attributeChangedCallback'](m,p,q){if('is-visible'===m&&p!==q){const r='false'!==q;this['updateVisibility'](r);}else 'text-color'===m&&p!==q&&(this['container']['style']['color']=q);}['checkContainerContent'](){var m;const p=(null!==(m=this['container']['textContent'])&&void 0!==m?m:'')['trim']()['length']>0x0;this['container']['style']['display']=p?'block':'none';}['handleTimeUpdate'](m){this['video']&&this['updateCaptions'](this['video']['currentTime']-this['startTime']);}['handleSeekUpdate'](m){this['video']&&this['updateCaptions'](this['video']['currentTime']-this['startTime']);}['setupTimeUpdateHandling'](){var m,p;null===(m=this['video'])||void 0===m||m['addEventListener']('timeupdate',this['boundTimeUpdate']),null===(p=this['video'])||void 0===p||p['addEventListener']('seeked',this['boundSeekUpdate']);}['cleanup'](){var m,p;null===(m=this['video'])||void 0===m||m['removeEventListener']('timeupdate',this['boundTimeUpdate']),null===(p=this['video'])||void 0===p||p['removeEventListener']('seeked',this['boundSeekUpdate']),this['observer']['disconnect']();}['updateVisibility'](m){const p=null!=m?m:'false'!==this['getAttribute']('is-visible');this['style']['display']=p?'block':'none';}['setupStyles'](){var m,p;const q=document['createElement']('style');q['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!==(m=this['getAttribute']('text-color'))&&void 0!==m?m:k['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:\x2014px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20700;\x0a\x20\x20\x20\x20\x20\x20\x20\x20line-height:\x2022.4px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20left;\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20',null===(p=this['shadowRoot'])||void 0===p||p['appendChild'](q);}['initialize'](m,p){return h(this,void 0,void 0,function*(){this['video']=m,this['captions']=p,this['observer']['observe'](this['container'],{'childList':true,'subtree':true,'characterData':true}),yield this['setupCaptions']();});}['setupCaptions'](){return h(this,void 0,void 0,function*(){var m;if(this['video']&&(null===(m=this['captions'])||void 0===m?void 0:m['length']))try{const p=this['captions']['find'](u=>u['url']['endsWith']('.vtt'));if(!p)return;const q=yield fetch(p['url']);if(!q['ok'])throw new Error('HTTP\x20error!\x20status:\x20'+q['status']);const r=yield q['text']();this['cues']=[],this['parser']['oncue']=u=>{this['cues']['push'](new VTTCue(u['startTime']+this['startTime'],u['endTime']+this['startTime'],u['text']));},this['parser']['onflush']=()=>{this['updateCaptions'](0x0),this['setupTimeUpdateHandling']();},this['parser']['parse'](r),this['parser']['flush']();}catch(u){this['updateVisibility'](false);}});}['updateCaptions'](m){this['video']&&(this['container']['innerHTML']='',this['cues']['forEach'](p=>{p['startTime']<=m&&p['endTime']>=m&&(this['container']['innerHTML']=p['text']);}),this['checkContainerContent']());}['setAbsolutePosition'](m){const {top:p,left:q,right:r,bottom:u}=m;this['container']['style']['top']=null!=p?p:'unset',this['container']['style']['left']=null!=q?q:'unset',this['container']['style']['right']=null!=r?r:'unset',this['container']['style']['bottom']=null!=u?u:'unset';}}f['BlazeWidgetCaptions']=l;},0x2432:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0x1fda),f),j(g(0x2559),f),j(g(0x1cc6),f),j(g(0x106d),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);},0x244a:function(d,f,g){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':true}),f['BlazeWidgetEmbeddedVideo']=void 0;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']);}['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;if(!this['player']['currentVideoItem'])return;const u=this['player']['currentVideoItem']['isPlayingAd']||'Ad'===(null===(p=this['player']['currentVideoItem']['data'])||void 0===p?void 0:p['type']);this['player']['currentVideoItem']['isPlayingAd']&&(null===(q=this['player']['currentVideoItem']['widgetVastAd'])||void 0===q||q['pause']()),u||(this['stateManager']['isPlaying']=false,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 0===p?void 0:p['type']);this['player']['currentVideoItem']['isPlayingAd']&&(null===(q=this['player']['currentVideoItem']['widgetVastAd'])||void 0===q||q['resume']()),u||(this['stateManager']['isPlaying']=true,this['player']['resume']());}['loadContent'](){return h(this,void 0,void 0,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=yield j['VideoService']['fetchContent']({'sourceType':(null==u?void 0:u['length'])?'labels':(null==w?void 0:w['length'])?'ids':'labels','ids':null==w?void 0:w['split'](','),'labels':u,'orderType':v,'maxItems':q,'labelsPriority':x});this['defaultAdsInfo']=null==y?void 0:y['defaultAdsInfo'];let z=null!==(p=null==y?void 0:y['result'])&&void 0!==p?p:[];this['getAttribute']('should-order-widget-by-read-status')&&'Manual'!==v&&z['length']&&z['sort']((A,B)=>{const C=A['hasViewed']?0x1:0x2;return (B['hasViewed']?0x1:0x2)-C;}),z['length']&&(this['append'](this['player']),z['forEach']((A,B)=>{const C=new k['BlazeVideoElement'](this['stateManager']);C['setTheme'](this['theme']['playerStyle']),C['setData'](A),C['setEmbeddedRef'](this),C['startTrigger']='Embedded\x20Player\x20in\x20Viewport',this['contents']['push'](C);}),this['player']['setContent'](this['contents']),this['player']['seekContentById'](z[0x0]['id']),this['player']['play'](),this['stateManager']['isPlaying']=true),this['hideSkeleton']();});}['getAnimationTargetSelector'](){return 'blaze-video-element';}}f['BlazeWidgetEmbeddedVideo']=m;},0x2469:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x2473:function(d,f,g){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),j(g(0x116a),f),j(g(0x79c),f);},0x247c:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x2499:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x24a5:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['generateFollowStateForAnalytics']=f['getFollowEntityByPriority']=void 0,f['getFollowEntityByPriority']=(g,h)=>{if(!h||0x0===(null==h?void 0:h['length']))return null;if(!g||0x0===(null==g?void 0:g['length']))return h[0x0];for(const j of g){if('FirstAvailable'===j)return h[0x0];const k=null==h?void 0: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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['CountryCodes']=void 0,f['CountryCodes']=['AF','AX','AL','DZ','AS','AD','AO','AI','AQ','AG','AR','AM','AW','AU','AT','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','UG','UA','AE','GB','US','UM','UY','UZ','VU','VE','VN','VG','VI','WF','EH','YE','ZM','ZW'];},0x24f6:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['RegexVideoHash']=f['RegexMomentHash']=f['RegexStoryHash']=void 0,f['RegexStoryHash']=/\/?[&|?|#](blaze\/story\/[^?|&|#]*)/,f['RegexMomentHash']=/\/?[&|?|#](blaze\/moment\/[^?|&|#]*)/,f['RegexVideoHash']=/\/?[&|?|#](blaze\/video\/[^?|&|#]*)/;},0x2514:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x2537:function(d,f){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':true}),f['compressPayload']=function(h){return g(this,void 0,void 0,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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),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);});};},0x2559:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),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)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['LongPressHandler']=void 0,f['LongPressHandler']=class{constructor(g){this['options']=g,this['startPress']=()=>{this['pressTimer']=setTimeout(()=>{this['isDuringPress']=true,this['options']['onStart']();},0xc8);},this['endPress']=h=>{clearTimeout(this['pressTimer']),this['isDuringPress']&&(this['options']['onEnd'](),this['isDuringPress']=false,h['preventDefault']());},this['isDuringPress']=false,this['isAttached']=false;}['attach'](g){this['isAttached']||(g['addEventListener']('touchstart',this['startPress']),g['addEventListener']('touchend',this['endPress']),g['addEventListener']('touchcancel',this['endPress']),this['isAttached']=true);}['detach'](g){this['isAttached']&&(g['removeEventListener']('touchstart',this['startPress']),g['removeEventListener']('touchend',this['endPress']),g['removeEventListener']('touchcancel',this['endPress']),this['isAttached']=false);}};},0x2564:function(d,f,g){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':true}),f['UserCountryService']=void 0;const j=g(0x1133);class k extends(0, j['Singleton'])(){constructor(){super(...arguments),this['_userCountry']='';}['init'](){return h(this,void 0,void 0,function*(){this['_userCountry']=yield this['detectCountry']();});}get['userCountry'](){return this['_userCountry'];}['updateCountry'](){return h(this,void 0,void 0,function*(){this['_userCountry']=yield this['detectCountry']();});}['getCachedCountry'](){return localStorage['getItem'](k['USER_CACHE_KEY']);}['cacheCountry'](l){localStorage['setItem'](k['USER_CACHE_KEY'],l),localStorage['setItem'](k['USER_CACHE_LAST_UPDATE_KEY'],Date['now']()['toString']());}['getLastUpdate'](){const l=localStorage['getItem'](k['USER_CACHE_LAST_UPDATE_KEY']);return l?Number(l):0x0;}['detectCountry'](){return h(this,void 0,void 0,function*(){const l=this['getCachedCountry'](),m=this['getLastUpdate'](),p=Date['now']();if(l)return p-m>k['USER_CACHE_UPDATE_INTERVAL_MS']&&this['fetchAndUpdateCountry']()['catch'](()=>{}),l;return (yield this['fetchAndUpdateCountry']())||this['getCountryFromTimezone']();});}['fetchAndUpdateCountry'](){return h(this,void 0,void 0,function*(){const l=yield this['fetchCountryFromApi']();return l&&this['cacheCountry'](l),l;});}['fetchCountryFromApi'](){return h(this,void 0,void 0,function*(){const l=k['API_TIMEOUT_MS'];try{const m=new AbortController(),p=setTimeout(()=>m['abort'](),l),q=yield fetch('https://ipapi.co/country/',{'signal':m['signal']});if(clearTimeout(p),q['ok']){const r=(yield q['text']())['trim']()['toUpperCase']();if(0x2===r['length'])return r;}}catch(u){}return '';});}['getCountryFromTimezone'](){try{const l=Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];if(l&&k['timezoneCountryMap'][l])return k['timezoneCountryMap'][l];}catch(m){}return '';}}k['USER_CACHE_KEY']='userCountry',k['USER_CACHE_LAST_UPDATE_KEY']='userCountryLastUpdate',k['USER_CACHE_UPDATE_INTERVAL_MS']=0x36ee80,k['API_TIMEOUT_MS']=0x7d0,k['timezoneCountryMap']={'Europe/Kaliningrad':'RU','Europe/Moscow':'RU','Europe/Simferopol':'RU','Europe/Volgograd':'RU','Europe/Samara':'RU','Asia/Yekaterinburg':'RU','Asia/Omsk':'RU','Asia/Novosibirsk':'RU','Asia/Barnaul':'RU','Asia/Tomsk':'RU','Asia/Novokuznetsk':'RU','Asia/Krasnoyarsk':'RU','Asia/Irkutsk':'RU','Asia/Chita':'RU','Asia/Yakutsk':'RU','Asia/Khandyga':'RU','Asia/Vladivostok':'RU','Asia/Ust-Nera':'RU','Asia/Magadan':'RU','Asia/Sakhalin':'RU','Asia/Srednekolymsk':'RU','Asia/Kamchatka':'RU','Asia/Anadyr':'RU'},f['UserCountryService']=k['getInstance']();},0x257e:(d,f,g)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['VisibilityManager']=void 0;const h=g(0x1133),j=g(0x774);f['VisibilityManager']=class{constructor(k){this['controller']=k,this['boundHandleVisibilityChange']=this['handleVisibilityChange']['bind'](this),this['boundHandleFocus']=this['handleFocus']['bind'](this),this['BoundHandleBlur']=this['handleBlur']['bind'](this),this['attachEventListeners']();}['attachEventListeners'](){document['addEventListener'](j['EVENTS']['VISIBILITY_CHANGE'],this['boundHandleVisibilityChange']),window['addEventListener'](j['EVENTS']['BLUR'],this['BoundHandleBlur']),window['addEventListener'](j['EVENTS']['FOCUS'],this['boundHandleFocus']);}['handleVisibilityChange'](){this['controller']['isConnected']&&(document['hidden']?this['handleBlur']():this['handleFocus']());}['handleBlur'](){this['controller']['isConnected']&&(h['deviceDetector']['isDesktop']&&!document['hidden']&&'visible'===document['visibilityState']||(!h['deviceDetector']['isTablet']&&!h['deviceDetector']['isMobile']||'visible'!==document['visibilityState']||document['hidden'])&&(this['controller']['currentVideoItem']['video']['paused']||(this['controller']['resumeAfterFocus']=true,this['controller']['pause']())));}['handleFocus'](){if(this['controller']['isConnected']&&this['controller']['resumeAfterFocus']){this['controller']['resumeAfterFocus']=false;const k='iOS'===h['deviceDetector']['OS'],l='Mobile\x20Safari'===h['deviceDetector']['browser'],m='tablet'===h['deviceDetector']['platform']&&'Mac\x20OS'===h['deviceDetector']['OS'],p=k&&('Safari'===h['deviceDetector']['browser']||'Chrome'===h['deviceDetector']['browser']);if(k||l||p||m)return void this['controller']['pause']();this['controller']['resume']();}}['detach'](){document['removeEventListener'](j['EVENTS']['VISIBILITY_CHANGE'],this['boundHandleVisibilityChange']),window['removeEventListener'](j['EVENTS']['BLUR'],this['BoundHandleBlur']),window['removeEventListener'](j['EVENTS']['FOCUS'],this['boundHandleFocus']);}};},0x2585:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x25a9:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x25da:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x25e0:function(d,f,g){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':true}),f['BlazeDrawer']=void 0;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 0===u?void 0:u['height'])||(null===(v=this['drawerComponent'])||void 0===v?void 0: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 0,void 0,function*(){u?(this['backdropContainer']['setStyle']({'display':'block'}),this['drawerContainer']['setStyle']({'display':'block'}),yield this['animateDrawer'](true,this['drawerOptions'])):(yield this['animateDrawer'](false,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 0===u||u['call'](this);}['close'](){var u;this['setAttribute']('open','false'),null===(u=this['onClose'])||void 0===u||u['call'](this);}['animateDrawer'](u,v){return h(this,void 0,void 0,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']});}(0, k['default'])(y);}});});}}f['BlazeDrawer']=q;},0x25e1:(d,f,g)=>{var h,j=void 0!==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){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),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(0xab7),f),j(g(0x1b0),f),j(g(0x191a),f),j(g(0x1266),f),j(g(0x2585),f);},0x2631:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true});},0x2670:(d,f,g)=>{var h;h='undefined'!=typeof window?window:void 0!==g['g']?g['g']:'undefined'!=typeof self?self:{},d['exports']=h;},0x2673:(d,f)=>{Object['defineProperty'](f,'__esModule',{'value':true}),f['SharedEventTarget']=void 0,'undefined'!=typeof window&&((()=>{if(void 0===window['EventTarget'])return true;try{return new window['EventTarget'](),!0x1;}catch(g){return true;}})())&&(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 false;const h=this['_listeners'][g['type']];if(!h||0x0===h['length'])return true;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 true;}}),f['SharedEventTarget']=new EventTarget();},0x2686:(d,f)=>{var g;Object['defineProperty'](f,'__esModule',{'value':true}),f['ButtonState']=void 0,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={}));},0x26bd:function(f,g,h){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':true}),g['WidgetsService']=void 0;const k=h(0x1133),m=h(0x1699),p=h(0x22d9),q=h(0x774),u=h(0x23a6);class v extends(0, k['Singleton'])(){['init'](){return j(this,void 0,void 0,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-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){var h=this&&this['__createBinding']||(Object['create']?function(k,l,m,p){ void 0===p&&(p=m);var q=Object['getOwnPropertyDescriptor'](l,m);q&&!('get'in q?!l['__esModule']:q['writable']||q['configurable'])||(q={'enumerable':true,'get':function(){return l[m];}}),Object['defineProperty'](k,p,q);}:function(k,l,m,p){ void 0===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':true}),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){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':true}),f['VideoPlayerService']=void 0;const j=g(0x11c1),k=g(0x1133);class l extends(0, k['Singleton'])(){constructor(){super(),this['_isMuted']=true,this['_isPlaying']=true,this['_isNavigating']=false,this['_isModalOpen']=false,this['_isSeekBarDragging']=false,this['_currentPlayedContentId']='',this['_playerLayoutDisplay']='normal',this['muteStateBeforeAd']='no-ad',this['_playReference']='Widget',this['updateExcludeContentIdFromURL']();}['init'](){return h(this,void 0,void 0,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 0!==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':true,'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':true});},c(0x1fdc);})()));
26
- } (publish));
27
-
28
- var publishExports = publish.exports;
29
- const index = /*@__PURE__*/getDefaultExportFromCjs(publishExports);
30
-
31
- const BlazeSDK = /*#__PURE__*/_mergeNamespaces({
32
- __proto__: null,
33
- default: index
34
- }, [publishExports]);
35
-
36
- class BlazeSDKManager {
37
- _initializedKeys = /* @__PURE__ */ new Set();
38
- _pendingInitializations = /* @__PURE__ */ new Map();
39
- _sdkReady = false;
40
- _eventListeners = /* @__PURE__ */ new Map();
41
- _connectionListeners = [];
42
- /**
43
- * Initialize Blaze SDK for a specific API key
44
- */
45
- async initialize(apiKey, options = {}) {
46
- if (!apiKey) {
47
- throw new Error("API key is required");
48
- }
49
- if (this._initializedKeys?.has(apiKey)) {
50
- return Promise.resolve();
51
- }
52
- if (this._pendingInitializations.has(apiKey)) {
53
- return this._pendingInitializations?.get(apiKey);
54
- }
55
- const initPromise = this._performInitialization(apiKey, options);
56
- this._pendingInitializations.set(apiKey, initPromise);
57
- try {
58
- await initPromise;
59
- this._initializedKeys.add(apiKey);
60
- this._pendingInitializations.delete(apiKey);
61
- } catch (error) {
62
- this._pendingInitializations.delete(apiKey);
63
- throw error;
64
- }
65
- }
66
- /**
67
- * Perform actual SDK initialization
68
- */
69
- async _performInitialization(apiKey, options = {}) {
70
- return new Promise((resolve, reject) => {
71
- const timeout = setTimeout(() => {
72
- reject(new Error("SDK initialization timeout"));
73
- }, 1e4);
74
- const onConnect = () => {
75
- clearTimeout(timeout);
76
- this._sdkReady = true;
77
- document.removeEventListener("onBlazeSDKConnect", onConnect);
78
- resolve();
79
- };
80
- this._connectionListeners.push(onConnect);
81
- document.addEventListener("onBlazeSDKConnect", onConnect);
82
- if (!publishExports.isInitialized()) {
83
- publishExports.Initialize(apiKey, {
84
- geoLocation: options.geoLocation || "",
85
- doNotTrack: options.doNotTrack,
86
- externalUserId: options.externalUserId,
87
- layoutDirection: options.layoutDirection,
88
- ...options
89
- });
90
- } else {
91
- clearTimeout(timeout);
92
- resolve();
93
- }
94
- });
95
- }
96
- isReady() {
97
- return this._sdkReady;
98
- }
99
- getSDK() {
100
- if (!this.isReady()) {
101
- throw new Error("Blaze SDK not initialized");
102
- }
103
- return BlazeSDK;
104
- }
105
- cleanup() {
106
- this._connectionListeners.forEach((listener) => {
107
- document.removeEventListener("onBlazeSDKConnect", listener);
108
- });
109
- this._connectionListeners = [];
110
- this._eventListeners.clear();
111
- this._sdkReady = false;
112
- this._initializedKeys.clear();
113
- this._pendingInitializations.clear();
114
- }
115
- }
116
- const blazeSDKManager = new BlazeSDKManager();
117
-
118
- const LAYOUT_TO_FACTORY = Object.freeze({
119
- "row-circle": "WidgetRowView",
120
- "row-rectangle": "WidgetGridView",
121
- "grid-2-columns": "WidgetGridView",
122
- "grid-3-columns": "WidgetGridView",
123
- "row-rectangle-horizontal": "WidgetGridView",
124
- "grid-2-columns-horizontal": "WidgetGridView",
125
- "grid-3-columns-horizontal": "WidgetGridView",
126
- "embedded-story": "WidgetEmbeddedStory"
127
- });
128
- function mapSearchSortToBlazeOrder(sortByParam) {
129
- if (!sortByParam) return void 0;
130
- const mapping = {
131
- "-start_time": "RecentlyCreatedFirst",
132
- "start_time": "RecentlyCreatedLast"
133
- };
134
- return mapping[sortByParam] || null;
135
- }
136
- function sanitizeStyleIndicatorObject(obj) {
137
- const defaultStyle = {
138
- isVisible: false,
139
- text: ""
140
- };
141
- if (!obj) return defaultStyle;
142
- const cleaned = Object.fromEntries(
143
- Object.entries({ ...defaultStyle, ...obj }).filter(([, v]) => v !== void 0)
144
- );
145
- return cleaned;
146
- }
147
- function sanitizeLabelStyleObject(obj) {
148
- const defaultLabelStyle = {
149
- isVisible: true,
150
- gap: 8,
151
- width: "auto",
152
- padding: "0px",
153
- position: "outsideBottom",
154
- height: "20px",
155
- fontSize: "14px",
156
- fontWeight: "bold"
157
- };
158
- if (!obj) return defaultLabelStyle;
159
- return {
160
- ...defaultLabelStyle,
161
- ...obj,
162
- gap: obj.gap !== void 0 && !isNaN(Number(obj.gap)) ? Number(obj.gap) : defaultLabelStyle.gap
163
- };
164
- }
165
- function determineWidgetType(layout) {
166
- return LAYOUT_TO_FACTORY[layout] || "WidgetRowView";
167
- }
168
- function buildLabelExpressions(labelGroups, priorityGroups = []) {
169
- const sdk = blazeSDKManager.getSDK();
170
- if (!sdk) {
171
- throw new Error("Blaze SDK not initialized");
172
- }
173
- const groupExpressions = [];
174
- labelGroups.forEach((group) => {
175
- if (group.andLabels.length === 1) {
176
- groupExpressions.push(sdk.LabelBuilder().singleLabel(group.andLabels[0]));
177
- } else if (group.andLabels.length > 1) {
178
- const [firstLabel, ...otherLabels] = group.andLabels;
179
- const baseLabel = sdk.LabelBuilder().singleLabel(firstLabel);
180
- const otherLabelExpressions = otherLabels.map((label) => sdk.LabelBuilder().singleLabel(label));
181
- groupExpressions.push(sdk.LabelBuilder().mustInclude(baseLabel, ...otherLabelExpressions));
182
- }
183
- });
184
- const priorityExpressions = priorityGroups.filter((group) => group.andLabels.length > 0).map((group) => {
185
- if (group.andLabels.length === 1) {
186
- return sdk.LabelBuilder().singleLabel(group.andLabels[0]);
187
- }
188
- const [firstLabel, ...otherLabels] = group.andLabels;
189
- const baseLabel = sdk.LabelBuilder().singleLabel(firstLabel);
190
- const otherLabelExpressions = otherLabels.map((label) => sdk.LabelBuilder().singleLabel(label));
191
- return sdk.LabelBuilder().mustInclude(baseLabel, ...otherLabelExpressions);
192
- });
193
- return { groupExpressions, priorityExpressions };
194
- }
195
- function buildLabelsDataSource(labelGroups, priorityGroups, options = {}) {
196
- const sdk = blazeSDKManager.getSDK();
197
- if (!sdk) {
198
- throw new Error("Blaze SDK not initialized");
199
- }
200
- const { groupExpressions, priorityExpressions } = buildLabelExpressions(labelGroups, priorityGroups);
201
- if (groupExpressions.length === 0) {
202
- throw new Error("No valid label groups provided");
203
- }
204
- const finalLabelExpression = groupExpressions.length === 1 ? groupExpressions[0] : sdk.LabelBuilder().atLeastOneOf(...groupExpressions);
205
- return sdk.DataSourceBuilder().labels({
206
- labels: finalLabelExpression,
207
- ...options.text ? { text: options.text } : {},
208
- labelsPriority: priorityExpressions.length > 0 ? priorityExpressions : void 0,
209
- orderType: options.orderType,
210
- maxItems: options.maxItems
211
- });
212
- }
213
- function convertAPIResponseToConfig(apiResponse) {
214
- const settings = apiResponse.settings;
215
- const normalizedLayout = Object.keys(LAYOUT_TO_FACTORY).includes(settings.layout) ? settings.layout : "default";
216
- return {
217
- containerId: apiResponse.containerId || `blaze-widget-${crypto.randomUUID ? crypto.randomUUID() : Math.random().toString(36).substring(2, 15)}`,
218
- widgetType: apiResponse.type,
219
- apiKey: settings.apiToken,
220
- contentType: settings.contentType,
221
- layout: settings.layout,
222
- themeLayout: normalizedLayout,
223
- maxItems: settings.maxItems,
224
- maxDisplayItems: settings.maxDisplayItems,
225
- style: settings.style,
226
- selector: settings.selector,
227
- height: settings.height || "300px",
228
- width: settings.width || "100%",
229
- isGeoBased: settings.isGeoBased
230
- };
231
- }
232
- function applyStyleOrHide(layoutStyle, styleKey, styleConfig, sanitizer) {
233
- if (styleConfig?.[styleKey] && styleConfig[styleKey].isVisible) {
234
- layoutStyle[styleKey] = sanitizer(styleConfig[styleKey]);
235
- } else if (layoutStyle[styleKey]) {
236
- layoutStyle[styleKey].isVisible = false;
237
- }
238
- }
239
- function applyThemeConfiguration(theme, styleConfig) {
240
- const layoutStyle = theme.layoutStyle;
241
- if (!layoutStyle) return;
242
- if (!styleConfig || typeof styleConfig !== "object") return;
243
- const simpleProps = [
244
- "shouldAllowHorizontalStories",
245
- "horizontalItemsSpacing",
246
- "verticalItemsSpacing",
247
- "borderWidth",
248
- "borderRadius",
249
- "borderPadding",
250
- "badgePosition",
251
- "statusIndicatorPosition"
252
- ];
253
- simpleProps.forEach((prop) => {
254
- if (styleConfig[prop] !== void 0) {
255
- layoutStyle[prop] = styleConfig[prop];
256
- }
257
- });
258
- applyStyleOrHide(layoutStyle, "labelStyle", styleConfig, sanitizeLabelStyleObject);
259
- applyStyleOrHide(layoutStyle, "statusLiveStyle", styleConfig, sanitizeStyleIndicatorObject);
260
- applyStyleOrHide(layoutStyle, "statusLiveUnreadStyle", styleConfig, sanitizeStyleIndicatorObject);
261
- applyStyleOrHide(layoutStyle, "statusReadStyle", styleConfig, sanitizeStyleIndicatorObject);
262
- applyStyleOrHide(layoutStyle, "statusUnreadStyle", styleConfig, sanitizeStyleIndicatorObject);
263
- applyStyleOrHide(layoutStyle, "badgeIndicatorStyle", styleConfig, sanitizeStyleIndicatorObject);
264
- }
265
- function buildSDKConfig(config, options) {
266
- const sdk = blazeSDKManager.getSDK();
267
- if (!sdk) {
268
- throw new Error("Blaze SDK not initialized");
269
- }
270
- const effectiveOrderType = config.orderBy ? mapSearchSortToBlazeOrder(config.orderBy) : config.selector.sortBy;
271
- let dataSource;
272
- if (config.selector.source === "labels" && config.selector.labels) {
273
- const labelGroups = config.selector.labels.labelGroups || [];
274
- const priorityGroups = config.selector.labels.priorityGroups || [];
275
- dataSource = buildLabelsDataSource(labelGroups, priorityGroups, {
276
- text: config.searchText,
277
- orderType: effectiveOrderType,
278
- maxItems: config.maxItems
279
- });
280
- } else if (config.searchText) {
281
- dataSource = sdk.DataSourceBuilder().text({
282
- text: config.searchText,
283
- orderType: effectiveOrderType,
284
- maxItems: config.maxItems
285
- });
286
- } else if (config.selector.source === "content" && config.selector.content?.items?.length) {
287
- dataSource = sdk.DataSourceBuilder().ids({
288
- ids: config.selector.content.items,
289
- orderType: effectiveOrderType
290
- });
291
- } else {
292
- throw new Error("Invalid selector configuration: must provide either valid content items, label groups, or search text");
293
- }
294
- const normalizedLayout = config.themeLayout || "default";
295
- let theme;
296
- if (config.contentType === "moment") {
297
- theme = sdk.Theme(normalizedLayout, "moment");
298
- } else if (config.contentType === "video") {
299
- theme = sdk.Theme(normalizedLayout, "video");
300
- } else {
301
- theme = sdk.Theme(normalizedLayout, "story");
302
- }
303
- if (config.style) {
304
- applyThemeConfiguration(theme, config.style);
305
- }
306
- const defaultDelegates = {
307
- [sdk.Delegations.onWidgetDataLoadCompleted]: (e) => {
308
- if (options?.hideContainerWhenEmpty !== false && e.detail.contentCount === 0) {
309
- const container = typeof document !== "undefined" ? document.getElementById(config.containerId) : null;
310
- if (container) container.style.display = "none";
311
- }
312
- if (options?.eventHandlers?.onDataLoadCompleted) {
313
- options.eventHandlers.onDataLoadCompleted({
314
- contentCount: e.detail.contentCount,
315
- containerId: config.containerId,
316
- eventType: "data-load-completed-blaze"
317
- });
318
- }
319
- }
320
- };
321
- const delegates = { ...defaultDelegates, ...options?.delegates || {} };
322
- if (options?.eventHandlers?.onWidgetItemClick) {
323
- sdk.setOnItemClick((itemData) => {
324
- itemData.url = `/#blaze/${itemData.contentType}/${itemData.item.id}`;
325
- options.eventHandlers?.onWidgetItemClick?.(itemData);
326
- return { shouldPreventOpen: config.requireAuth || false };
327
- });
328
- }
329
- return {
330
- dataSource,
331
- theme,
332
- maxDisplayItemsCount: config.maxDisplayItems,
333
- contentType: config.contentType,
334
- shouldOrderWidgetByReadStatus: true,
335
- delegates
336
- };
337
- }
338
-
339
- class WidgetManager {
340
- widgets = /* @__PURE__ */ new Map();
341
- convertAPIResponseToConfig(apiResponse) {
342
- return convertAPIResponseToConfig(apiResponse);
343
- }
344
- prepareConfig(config) {
345
- const labels = config?.labels;
346
- const searchText = config?.searchText;
347
- const orderBy = config?.orderBy;
348
- let widgetConfig = "type" in config && config.type === "blaze" ? {
349
- ...config,
350
- ...this.convertAPIResponseToConfig(config)
351
- } : config;
352
- return this.applyLabels(widgetConfig, labels, searchText, orderBy);
353
- }
354
- applyLabels(widgetConfig, labelsProp, searchText, orderBy) {
355
- if (!widgetConfig) {
356
- return widgetConfig;
357
- }
358
- if (labelsProp) {
359
- try {
360
- const labelsData = JSON.parse(labelsProp);
361
- if (!labelsData || !Array.isArray(labelsData.labels) || labelsData.labels.length === 0) {
362
- return this.applySearchTextOnly(widgetConfig, searchText, orderBy);
363
- }
364
- const existingSelector = widgetConfig?.selector;
365
- let labelGroups;
366
- if (labelsData?.isAndGroup) {
367
- labelGroups = [{
368
- id: "dynamic-and-group",
369
- andLabels: labelsData.labels
370
- }];
371
- } else {
372
- labelGroups = labelsData.labels.map((label, index) => ({
373
- id: `dynamic-or-${index}`,
374
- andLabels: [label]
375
- }));
376
- }
377
- return {
378
- ...widgetConfig,
379
- ...searchText ? { searchText } : {},
380
- ...orderBy ? { orderBy } : {},
381
- selector: {
382
- source: "labels",
383
- sortBy: orderBy || existingSelector?.sortBy,
384
- labels: {
385
- labelGroups
386
- }
387
- }
388
- };
389
- } catch (error) {
390
- console.error("Error applying labels:", error);
391
- return this.applySearchTextOnly(widgetConfig, searchText, orderBy);
392
- }
393
- }
394
- return this.applySearchTextOnly(widgetConfig, searchText, orderBy);
395
- }
396
- applySearchTextOnly(widgetConfig, searchText, orderBy) {
397
- if (!searchText) {
398
- return widgetConfig;
399
- }
400
- const existingSelector = widgetConfig?.selector;
401
- return {
402
- ...widgetConfig,
403
- searchText,
404
- orderBy,
405
- selector: {
406
- source: "text",
407
- text: searchText,
408
- sortBy: orderBy || existingSelector?.sortBy
409
- }
410
- };
411
- }
412
- async createWidget(config) {
413
- const widgetConfig = this.prepareConfig(config);
414
- if (this.widgets.has(widgetConfig?.containerId)) {
415
- this.destroyWidget(widgetConfig.containerId);
416
- }
417
- if (!blazeSDKManager.isReady()) {
418
- const shouldSetGeo = Boolean(widgetConfig?.isGeoBased);
419
- const geoLocation = shouldSetGeo ? widgetConfig?.viewerCountry : void 0;
420
- const layoutDirection = widgetConfig?.style?.layoutDirection;
421
- await blazeSDKManager.initialize(widgetConfig.apiKey, {
422
- ...shouldSetGeo && geoLocation ? { geoLocation } : {},
423
- ...layoutDirection ? { layoutDirection } : {}
424
- });
425
- }
426
- const sdk = blazeSDKManager.getSDK();
427
- if (!sdk) {
428
- throw new Error("Blaze SDK not initialized");
429
- }
430
- const sdkConfig = buildSDKConfig(widgetConfig, {
431
- eventHandlers: widgetConfig.eventHandlers
432
- });
433
- const widgetType = determineWidgetType(widgetConfig.layout);
434
- let widget;
435
- switch (widgetType) {
436
- case "WidgetGridView":
437
- widget = sdk.WidgetGridView(widgetConfig.containerId, sdkConfig);
438
- break;
439
- case "WidgetRowView":
440
- widget = sdk.WidgetRowView(widgetConfig.containerId, sdkConfig);
441
- break;
442
- case "WidgetEmbeddedStory":
443
- widget = sdk.WidgetEmbeddedStory(widgetConfig.containerId, sdkConfig);
444
- break;
445
- default:
446
- throw new Error(`Unsupported widget type: ${widgetType}`);
447
- }
448
- this.widgets.set(widgetConfig.containerId, widget);
449
- return widget;
450
- }
451
- destroyWidget(containerId) {
452
- const widget = this.widgets.get(containerId);
453
- if (widget) {
454
- try {
455
- if (widget && typeof widget.remove === "function" && widget.parentElement) {
456
- widget.remove();
457
- }
458
- } finally {
459
- this.widgets.delete(containerId);
460
- }
461
- }
462
- }
463
- }
464
- const widgetManager = new WidgetManager();
465
-
466
- const {useEffect,useRef,useState,useCallback} = await importShared('react');
467
- const BlazeWidget = ({
468
- data,
469
- viewerCountry,
470
- requireAuth,
471
- eventHandlers,
472
- labels,
473
- searchText,
474
- orderBy
475
- }) => {
476
- const containerRef = useRef(null);
477
- const [error, setError] = useState(null);
478
- const [loading, setLoading] = useState(true);
479
- const widgetRef = useRef(null);
480
- const isInitialMount = useRef(true);
481
- const uniqueContainerId = useRef(
482
- `blaze-widget-${crypto.randomUUID ? crypto.randomUUID() : Math.random().toString(36).substring(2, 15)}`
483
- );
484
- const buildConfig = useCallback((widgetData, labelsProp) => {
485
- const isGeoBased = Boolean(widgetData?.settings?.isGeoBased || widgetData?.isGeoBased);
486
- let effectiveViewerCountry = viewerCountry || widgetData?.viewerCountry;
487
- if (isGeoBased && !effectiveViewerCountry && typeof navigator !== "undefined") {
488
- const lang = navigator?.language || (Array.isArray(navigator.languages) ? navigator.languages[0] : "");
489
- const region = lang && lang.includes("-") ? lang.split("-")[1] : "";
490
- if (region && region.length === 2) {
491
- effectiveViewerCountry = region.toUpperCase();
492
- }
493
- }
494
- return {
495
- ...widgetData,
496
- isGeoBased,
497
- viewerCountry: effectiveViewerCountry,
498
- containerId: uniqueContainerId.current,
499
- requireAuth,
500
- labels: labelsProp,
501
- searchText,
502
- orderBy,
503
- eventHandlers
504
- };
505
- }, [viewerCountry, requireAuth, searchText, orderBy, eventHandlers]);
506
- const initializeWidget = useCallback(async (widgetData, labelsProp) => {
507
- try {
508
- setError(null);
509
- setLoading(true);
510
- if (!containerRef?.current) {
511
- throw new Error("Container ref not available");
512
- }
513
- const width = widgetData?.settings?.width || "100%";
514
- const height = widgetData?.settings?.height || "300px";
515
- containerRef.current.style.setProperty("width", width);
516
- containerRef.current.style.setProperty("height", height);
517
- containerRef.current.style.setProperty("display", "block");
518
- containerRef.current.parentElement?.style.setProperty("overflow", "auto");
519
- const config = buildConfig(widgetData, labelsProp);
520
- const widgetInstance = await widgetManager.createWidget(config);
521
- widgetRef.current = widgetInstance;
522
- } catch (err) {
523
- const errorMessage = err instanceof Error ? err.message : "Unknown error";
524
- eventHandlers?.onError?.(errorMessage);
525
- setError(errorMessage);
526
- } finally {
527
- setLoading(false);
528
- }
529
- }, [buildConfig, eventHandlers]);
530
- const updateWidget = useCallback(async (widgetData, labelsProp) => {
531
- if (!widgetRef.current) {
532
- console.warn("Cannot update widget: widget not initialized");
533
- setLoading(false);
534
- return;
535
- }
536
- try {
537
- widgetManager.destroyWidget(uniqueContainerId.current);
538
- widgetRef.current = null;
539
- await initializeWidget(widgetData, labelsProp);
540
- } catch (err) {
541
- const errorMessage = err instanceof Error ? err.message : "Unknown error";
542
- eventHandlers?.onError?.(errorMessage);
543
- setError(errorMessage);
544
- }
545
- }, [initializeWidget, eventHandlers]);
546
- useEffect(() => {
547
- if (!data) return;
548
- if (isInitialMount.current) {
549
- isInitialMount.current = false;
550
- initializeWidget(data, labels);
551
- } else {
552
- setLoading(true);
553
- updateWidget(data, labels);
554
- }
555
- }, [data, labels, searchText, orderBy, initializeWidget, updateWidget]);
556
- useEffect(() => {
557
- const containerId = uniqueContainerId.current;
558
- return () => {
559
- if (widgetRef?.current) {
560
- widgetManager.destroyWidget(containerId);
561
- widgetRef.current = null;
562
- }
563
- };
564
- }, []);
565
- if (error) return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {});
566
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref: containerRef, children: [
567
- loading && /* @__PURE__ */ jsxRuntimeExports.jsx(Loader, {}),
568
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: uniqueContainerId.current, style: { width: "100%", height: "100%" } })
569
- ] });
570
- };
571
-
572
- export { BlazeWidget as default };
573
- //# sourceMappingURL=blaze-BRzy94bq.js.map